vant 3.4.5 → 3.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog.generated.md +92 -0
- package/es/calendar/Calendar.d.ts +4 -0
- package/es/calendar/Calendar.js +2 -0
- package/es/calendar/index.d.ts +3 -0
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/nav-bar/NavBar.d.ts +1 -1
- package/es/nav-bar/NavBar.js +3 -3
- package/es/nav-bar/index.d.ts +1 -1
- package/es/popup/Popup.d.ts +4 -0
- package/es/popup/Popup.js +3 -0
- package/es/popup/index.d.ts +3 -0
- package/es/skeleton/Skeleton.js +6 -4
- package/es/style/base.css +1 -1
- package/es/style/base.less +5 -0
- package/es/swipe-cell/SwipeCell.js +1 -1
- package/es/toast/Toast.js +1 -0
- package/lib/calendar/Calendar.d.ts +4 -0
- package/lib/calendar/Calendar.js +2 -0
- package/lib/calendar/index.d.ts +3 -0
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/nav-bar/NavBar.d.ts +1 -1
- package/lib/nav-bar/NavBar.js +3 -3
- package/lib/nav-bar/index.d.ts +1 -1
- package/lib/popup/Popup.d.ts +4 -0
- package/lib/popup/Popup.js +3 -0
- package/lib/popup/index.d.ts +3 -0
- package/lib/skeleton/Skeleton.js +5 -3
- package/lib/style/base.css +1 -1
- package/lib/style/base.less +5 -0
- package/lib/swipe-cell/SwipeCell.js +1 -1
- package/lib/toast/Toast.js +1 -0
- package/lib/vant.cjs.js +16 -8
- package/lib/vant.cjs.min.js +1 -1
- package/lib/vant.es.js +16 -8
- package/lib/vant.es.min.js +16 -8
- package/lib/vant.js +16 -8
- package/lib/vant.min.js +1 -1
- package/package.json +2 -2
- package/vetur/attributes.json +287 -279
- package/vetur/tags.json +90 -88
- package/vetur/web-types.json +937 -917
package/vetur/web-types.json
CHANGED
@@ -2,229 +2,77 @@
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
3
3
|
"framework": "vue",
|
4
4
|
"name": "vant",
|
5
|
-
"version": "3.4.
|
5
|
+
"version": "3.4.6",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
8
8
|
"tags": [
|
9
9
|
{
|
10
|
-
"name": "van-
|
11
|
-
"slots": [],
|
12
|
-
"events": [],
|
13
|
-
"attributes": [
|
14
|
-
{
|
15
|
-
"name": "safe-area-inset-bottom",
|
16
|
-
"default": "`true`",
|
17
|
-
"description": "Whether to enable bottom safe area adaptation",
|
18
|
-
"options": [],
|
19
|
-
"value": {
|
20
|
-
"type": "boolean",
|
21
|
-
"kind": "expression"
|
22
|
-
}
|
23
|
-
}
|
24
|
-
]
|
25
|
-
},
|
26
|
-
{
|
27
|
-
"name": "van-action-bar-icon",
|
10
|
+
"name": "van-address-edit",
|
28
11
|
"slots": [
|
29
12
|
{
|
30
13
|
"name": "default",
|
31
|
-
"description": "
|
32
|
-
},
|
33
|
-
{
|
34
|
-
"name": "icon",
|
35
|
-
"description": "Custom icon"
|
14
|
+
"description": "Custom content below postal"
|
36
15
|
}
|
37
16
|
],
|
38
|
-
"events": [
|
39
|
-
"attributes": [
|
40
|
-
{
|
41
|
-
"name": "text",
|
42
|
-
"default": "-",
|
43
|
-
"description": "Button text",
|
44
|
-
"options": [],
|
45
|
-
"value": {
|
46
|
-
"type": "string",
|
47
|
-
"kind": "expression"
|
48
|
-
}
|
49
|
-
},
|
50
|
-
{
|
51
|
-
"name": "icon",
|
52
|
-
"default": "-",
|
53
|
-
"description": "Icon",
|
54
|
-
"options": [],
|
55
|
-
"value": {
|
56
|
-
"type": "string",
|
57
|
-
"kind": "expression"
|
58
|
-
}
|
59
|
-
},
|
60
|
-
{
|
61
|
-
"name": "color",
|
62
|
-
"default": "`#323233`",
|
63
|
-
"description": "Icon color",
|
64
|
-
"options": [],
|
65
|
-
"value": {
|
66
|
-
"type": "string",
|
67
|
-
"kind": "expression"
|
68
|
-
}
|
69
|
-
},
|
17
|
+
"events": [
|
70
18
|
{
|
71
|
-
"name": "
|
72
|
-
"
|
73
|
-
"description": "Icon class name",
|
74
|
-
"options": [
|
75
|
-
"''"
|
76
|
-
],
|
77
|
-
"value": {
|
78
|
-
"type": "string | Array \\",
|
79
|
-
"kind": "expression"
|
80
|
-
}
|
19
|
+
"name": "save",
|
20
|
+
"description": "Emitted when the save button is clicked"
|
81
21
|
},
|
82
22
|
{
|
83
|
-
"name": "
|
84
|
-
"
|
85
|
-
"description": "Icon className prefix",
|
86
|
-
"options": [],
|
87
|
-
"value": {
|
88
|
-
"type": "string",
|
89
|
-
"kind": "expression"
|
90
|
-
}
|
23
|
+
"name": "focus",
|
24
|
+
"description": "Emitted when field is focused"
|
91
25
|
},
|
92
26
|
{
|
93
|
-
"name": "
|
94
|
-
"
|
95
|
-
"description": "Whether to show red dot",
|
96
|
-
"options": [],
|
97
|
-
"value": {
|
98
|
-
"type": "boolean",
|
99
|
-
"kind": "expression"
|
100
|
-
}
|
27
|
+
"name": "delete",
|
28
|
+
"description": "Emitted when confirming delete"
|
101
29
|
},
|
102
30
|
{
|
103
|
-
"name": "
|
104
|
-
"
|
105
|
-
"description": "Content of the badge",
|
106
|
-
"options": [],
|
107
|
-
"value": {
|
108
|
-
"type": "number | string",
|
109
|
-
"kind": "expression"
|
110
|
-
}
|
31
|
+
"name": "select-search",
|
32
|
+
"description": "Emitted when a search result is selected"
|
111
33
|
},
|
112
34
|
{
|
113
|
-
"name": "
|
114
|
-
"
|
115
|
-
"description": "Props of Badge,see [Badge - props](#/en-US/badge#props)",
|
116
|
-
"options": [],
|
117
|
-
"value": {
|
118
|
-
"type": "BadgeProps",
|
119
|
-
"kind": "expression"
|
120
|
-
}
|
35
|
+
"name": "click-area",
|
36
|
+
"description": "Emitted when the area field is clicked"
|
121
37
|
},
|
122
38
|
{
|
123
|
-
"name": "
|
124
|
-
"
|
125
|
-
"description": "Link URL",
|
126
|
-
"options": [],
|
127
|
-
"value": {
|
128
|
-
"type": "string",
|
129
|
-
"kind": "expression"
|
130
|
-
}
|
39
|
+
"name": "change-area",
|
40
|
+
"description": "Emitted when area changed"
|
131
41
|
},
|
132
42
|
{
|
133
|
-
"name": "
|
134
|
-
"
|
135
|
-
"description": "Target route of the link, same as to of vue-router",
|
136
|
-
"options": [],
|
137
|
-
"value": {
|
138
|
-
"type": "string | object",
|
139
|
-
"kind": "expression"
|
140
|
-
}
|
43
|
+
"name": "change-detail",
|
44
|
+
"description": "Emitted when address detail changed"
|
141
45
|
},
|
142
46
|
{
|
143
|
-
"name": "
|
144
|
-
"
|
145
|
-
"description": "If true, the navigation will not leave a history record",
|
146
|
-
"options": [],
|
147
|
-
"value": {
|
148
|
-
"type": "boolean",
|
149
|
-
"kind": "expression"
|
150
|
-
}
|
151
|
-
}
|
152
|
-
]
|
153
|
-
},
|
154
|
-
{
|
155
|
-
"name": "van-action-bar-button",
|
156
|
-
"slots": [
|
157
|
-
{
|
158
|
-
"name": "default",
|
159
|
-
"description": "Button content"
|
47
|
+
"name": "change-default",
|
48
|
+
"description": "Emitted when switching default address"
|
160
49
|
}
|
161
50
|
],
|
162
|
-
"events": [],
|
163
51
|
"attributes": [
|
164
52
|
{
|
165
|
-
"name": "
|
166
|
-
"default": "-",
|
167
|
-
"description": "Button text",
|
168
|
-
"options": [],
|
169
|
-
"value": {
|
170
|
-
"type": "string",
|
171
|
-
"kind": "expression"
|
172
|
-
}
|
173
|
-
},
|
174
|
-
{
|
175
|
-
"name": "type",
|
176
|
-
"default": "`default`",
|
177
|
-
"description": "Button type, Can be set to `primary` `info` `warning` `danger`",
|
178
|
-
"options": [],
|
179
|
-
"value": {
|
180
|
-
"type": "string",
|
181
|
-
"kind": "expression"
|
182
|
-
}
|
183
|
-
},
|
184
|
-
{
|
185
|
-
"name": "color",
|
186
|
-
"default": "-",
|
187
|
-
"description": "Button color, support linear-gradient",
|
188
|
-
"options": [],
|
189
|
-
"value": {
|
190
|
-
"type": "string",
|
191
|
-
"kind": "expression"
|
192
|
-
}
|
193
|
-
},
|
194
|
-
{
|
195
|
-
"name": "icon",
|
53
|
+
"name": "area-list",
|
196
54
|
"default": "-",
|
197
|
-
"description": "
|
198
|
-
"options": [],
|
199
|
-
"value": {
|
200
|
-
"type": "string",
|
201
|
-
"kind": "expression"
|
202
|
-
}
|
203
|
-
},
|
204
|
-
{
|
205
|
-
"name": "disabled",
|
206
|
-
"default": "`false`",
|
207
|
-
"description": "Whether to disable button",
|
55
|
+
"description": "Area List",
|
208
56
|
"options": [],
|
209
57
|
"value": {
|
210
|
-
"type": "
|
58
|
+
"type": "object",
|
211
59
|
"kind": "expression"
|
212
60
|
}
|
213
61
|
},
|
214
62
|
{
|
215
|
-
"name": "
|
216
|
-
"default": "`
|
217
|
-
"description": "
|
63
|
+
"name": "area-columns-placeholder",
|
64
|
+
"default": "`[]`",
|
65
|
+
"description": "placeholder of area columns",
|
218
66
|
"options": [],
|
219
67
|
"value": {
|
220
|
-
"type": "
|
68
|
+
"type": "string[]",
|
221
69
|
"kind": "expression"
|
222
70
|
}
|
223
71
|
},
|
224
72
|
{
|
225
|
-
"name": "
|
226
|
-
"default": "
|
227
|
-
"description": "
|
73
|
+
"name": "area-placeholder",
|
74
|
+
"default": "`Area`",
|
75
|
+
"description": "placeholder of area input field",
|
228
76
|
"options": [],
|
229
77
|
"value": {
|
230
78
|
"type": "string",
|
@@ -232,82 +80,29 @@
|
|
232
80
|
}
|
233
81
|
},
|
234
82
|
{
|
235
|
-
"name": "
|
236
|
-
"default": "
|
237
|
-
"description": "
|
83
|
+
"name": "address-info",
|
84
|
+
"default": "`{}`",
|
85
|
+
"description": "Address Info",
|
238
86
|
"options": [],
|
239
87
|
"value": {
|
240
|
-
"type": "
|
88
|
+
"type": "AddressEditInfo",
|
241
89
|
"kind": "expression"
|
242
90
|
}
|
243
91
|
},
|
244
92
|
{
|
245
|
-
"name": "
|
246
|
-
"default": "`
|
247
|
-
"description": "
|
93
|
+
"name": "search-result",
|
94
|
+
"default": "`[]`",
|
95
|
+
"description": "Address search result",
|
248
96
|
"options": [],
|
249
97
|
"value": {
|
250
|
-
"type": "
|
98
|
+
"type": "AddressEditSearchItem[]",
|
251
99
|
"kind": "expression"
|
252
100
|
}
|
253
|
-
}
|
254
|
-
]
|
255
|
-
},
|
256
|
-
{
|
257
|
-
"name": "van-action-sheet",
|
258
|
-
"slots": [
|
259
|
-
{
|
260
|
-
"name": "default",
|
261
|
-
"description": "Custom content"
|
262
|
-
},
|
263
|
-
{
|
264
|
-
"name": "description",
|
265
|
-
"description": "Custom description above the options"
|
266
|
-
},
|
267
|
-
{
|
268
|
-
"name": "cancel",
|
269
|
-
"description": "Custom the content of cancel button"
|
270
|
-
},
|
271
|
-
{
|
272
|
-
"name": "action",
|
273
|
-
"description": "Custom the content of action"
|
274
|
-
}
|
275
|
-
],
|
276
|
-
"events": [
|
277
|
-
{
|
278
|
-
"name": "select",
|
279
|
-
"description": "Emitted when an option is clicked"
|
280
|
-
},
|
281
|
-
{
|
282
|
-
"name": "cancel",
|
283
|
-
"description": "Emitted when the cancel button is clicked"
|
284
101
|
},
|
285
102
|
{
|
286
|
-
"name": "
|
287
|
-
"description": "Emitted when opening ActionSheet"
|
288
|
-
},
|
289
|
-
{
|
290
|
-
"name": "close",
|
291
|
-
"description": "Emitted when closing ActionSheet"
|
292
|
-
},
|
293
|
-
{
|
294
|
-
"name": "opened",
|
295
|
-
"description": "Emitted when ActionSheet is opened"
|
296
|
-
},
|
297
|
-
{
|
298
|
-
"name": "closed",
|
299
|
-
"description": "Emitted when ActionSheet is closed"
|
300
|
-
},
|
301
|
-
{
|
302
|
-
"name": "click-overlay",
|
303
|
-
"description": "Emitted when overlay is clicked"
|
304
|
-
}
|
305
|
-
],
|
306
|
-
"attributes": [
|
307
|
-
{
|
308
|
-
"name": "v-model:show",
|
103
|
+
"name": "show-postal",
|
309
104
|
"default": "`false`",
|
310
|
-
"description": "Whether to show
|
105
|
+
"description": "Whether to show postal field",
|
311
106
|
"options": [],
|
312
107
|
"value": {
|
313
108
|
"type": "boolean",
|
@@ -315,49 +110,19 @@
|
|
315
110
|
}
|
316
111
|
},
|
317
112
|
{
|
318
|
-
"name": "
|
319
|
-
"default": "`
|
320
|
-
"description": "
|
321
|
-
"options": [],
|
322
|
-
"value": {
|
323
|
-
"type": "ActionSheetAction[]",
|
324
|
-
"kind": "expression"
|
325
|
-
}
|
326
|
-
},
|
327
|
-
{
|
328
|
-
"name": "title",
|
329
|
-
"default": "-",
|
330
|
-
"description": "Title",
|
331
|
-
"options": [],
|
332
|
-
"value": {
|
333
|
-
"type": "string",
|
334
|
-
"kind": "expression"
|
335
|
-
}
|
336
|
-
},
|
337
|
-
{
|
338
|
-
"name": "cancel-text",
|
339
|
-
"default": "-",
|
340
|
-
"description": "Text of cancel button",
|
341
|
-
"options": [],
|
342
|
-
"value": {
|
343
|
-
"type": "string",
|
344
|
-
"kind": "expression"
|
345
|
-
}
|
346
|
-
},
|
347
|
-
{
|
348
|
-
"name": "description",
|
349
|
-
"default": "-",
|
350
|
-
"description": "Description above the options",
|
113
|
+
"name": "show-delete",
|
114
|
+
"default": "`false`",
|
115
|
+
"description": "Whether to show delete button",
|
351
116
|
"options": [],
|
352
117
|
"value": {
|
353
|
-
"type": "
|
118
|
+
"type": "boolean",
|
354
119
|
"kind": "expression"
|
355
120
|
}
|
356
121
|
},
|
357
122
|
{
|
358
|
-
"name": "
|
359
|
-
"default": "`
|
360
|
-
"description": "Whether to show
|
123
|
+
"name": "show-set-default",
|
124
|
+
"default": "`false`",
|
125
|
+
"description": "Whether to show default address switch",
|
361
126
|
"options": [],
|
362
127
|
"value": {
|
363
128
|
"type": "boolean",
|
@@ -365,29 +130,29 @@
|
|
365
130
|
}
|
366
131
|
},
|
367
132
|
{
|
368
|
-
"name": "
|
369
|
-
"default": "`
|
370
|
-
"description": "
|
133
|
+
"name": "show-search-result",
|
134
|
+
"default": "`false`",
|
135
|
+
"description": "Whether to show address search result",
|
371
136
|
"options": [],
|
372
137
|
"value": {
|
373
|
-
"type": "
|
138
|
+
"type": "boolean",
|
374
139
|
"kind": "expression"
|
375
140
|
}
|
376
141
|
},
|
377
142
|
{
|
378
|
-
"name": "
|
379
|
-
"default": "`
|
380
|
-
"description": "
|
143
|
+
"name": "show-area",
|
144
|
+
"default": "`true`",
|
145
|
+
"description": "Whether to show area cell",
|
381
146
|
"options": [],
|
382
147
|
"value": {
|
383
|
-
"type": "
|
148
|
+
"type": "boolean",
|
384
149
|
"kind": "expression"
|
385
150
|
}
|
386
151
|
},
|
387
152
|
{
|
388
|
-
"name": "
|
153
|
+
"name": "show-detail",
|
389
154
|
"default": "`true`",
|
390
|
-
"description": "Whether to show
|
155
|
+
"description": "Whether to show detail field",
|
391
156
|
"options": [],
|
392
157
|
"value": {
|
393
158
|
"type": "boolean",
|
@@ -395,9 +160,9 @@
|
|
395
160
|
}
|
396
161
|
},
|
397
162
|
{
|
398
|
-
"name": "
|
399
|
-
"default": "`
|
400
|
-
"description": "Whether to
|
163
|
+
"name": "disable-area",
|
164
|
+
"default": "`false`",
|
165
|
+
"description": "Whether to disable area select",
|
401
166
|
"options": [],
|
402
167
|
"value": {
|
403
168
|
"type": "boolean",
|
@@ -405,51 +170,49 @@
|
|
405
170
|
}
|
406
171
|
},
|
407
172
|
{
|
408
|
-
"name": "
|
409
|
-
"default": "
|
410
|
-
"description": "
|
411
|
-
"options": [
|
412
|
-
"-"
|
413
|
-
],
|
173
|
+
"name": "save-button-text",
|
174
|
+
"default": "`Save`",
|
175
|
+
"description": "Save button text",
|
176
|
+
"options": [],
|
414
177
|
"value": {
|
415
|
-
"type": "string
|
178
|
+
"type": "string",
|
416
179
|
"kind": "expression"
|
417
180
|
}
|
418
181
|
},
|
419
182
|
{
|
420
|
-
"name": "
|
421
|
-
"default": "
|
422
|
-
"description": "
|
183
|
+
"name": "delete-button-text",
|
184
|
+
"default": "`Delete`",
|
185
|
+
"description": "Delete button text",
|
423
186
|
"options": [],
|
424
187
|
"value": {
|
425
|
-
"type": "
|
188
|
+
"type": "string",
|
426
189
|
"kind": "expression"
|
427
190
|
}
|
428
191
|
},
|
429
192
|
{
|
430
|
-
"name": "
|
431
|
-
"default": "`
|
432
|
-
"description": "
|
193
|
+
"name": "detail-rows",
|
194
|
+
"default": "`1`",
|
195
|
+
"description": "Detail input rows",
|
433
196
|
"options": [],
|
434
197
|
"value": {
|
435
|
-
"type": "
|
198
|
+
"type": "number | string",
|
436
199
|
"kind": "expression"
|
437
200
|
}
|
438
201
|
},
|
439
202
|
{
|
440
|
-
"name": "
|
441
|
-
"default": "`
|
442
|
-
"description": "
|
203
|
+
"name": "detail-maxlength",
|
204
|
+
"default": "`200`",
|
205
|
+
"description": "Detail maxlength",
|
443
206
|
"options": [],
|
444
207
|
"value": {
|
445
|
-
"type": "
|
208
|
+
"type": "number | string",
|
446
209
|
"kind": "expression"
|
447
210
|
}
|
448
211
|
},
|
449
212
|
{
|
450
|
-
"name": "
|
451
|
-
"default": "`
|
452
|
-
"description": "Whether to
|
213
|
+
"name": "is-saving",
|
214
|
+
"default": "`false`",
|
215
|
+
"description": "Whether to show save button loading status",
|
453
216
|
"options": [],
|
454
217
|
"value": {
|
455
218
|
"type": "boolean",
|
@@ -457,9 +220,9 @@
|
|
457
220
|
}
|
458
221
|
},
|
459
222
|
{
|
460
|
-
"name": "
|
223
|
+
"name": "is-deleting",
|
461
224
|
"default": "`false`",
|
462
|
-
"description": "Whether to
|
225
|
+
"description": "Whether to show delete button loading status",
|
463
226
|
"options": [],
|
464
227
|
"value": {
|
465
228
|
"type": "boolean",
|
@@ -467,114 +230,92 @@
|
|
467
230
|
}
|
468
231
|
},
|
469
232
|
{
|
470
|
-
"name": "
|
471
|
-
"default": "
|
472
|
-
"description": "
|
233
|
+
"name": "tel-validator",
|
234
|
+
"default": "-",
|
235
|
+
"description": "The method to validate tel",
|
473
236
|
"options": [],
|
474
237
|
"value": {
|
475
|
-
"type": "boolean",
|
238
|
+
"type": "(tel: string) => boolean",
|
476
239
|
"kind": "expression"
|
477
240
|
}
|
478
241
|
},
|
479
242
|
{
|
480
|
-
"name": "
|
481
|
-
"default": "
|
482
|
-
"description": "
|
243
|
+
"name": "tel-maxlength",
|
244
|
+
"default": "-",
|
245
|
+
"description": "Tel maxlength",
|
483
246
|
"options": [],
|
484
247
|
"value": {
|
485
|
-
"type": "
|
248
|
+
"type": "number | string",
|
486
249
|
"kind": "expression"
|
487
250
|
}
|
488
251
|
},
|
489
252
|
{
|
490
|
-
"name": "
|
253
|
+
"name": "postal-validator",
|
491
254
|
"default": "-",
|
492
|
-
"description": "
|
255
|
+
"description": "The method to validate postal",
|
493
256
|
"options": [],
|
494
257
|
"value": {
|
495
|
-
"type": "string
|
258
|
+
"type": "(tel: string) => boolean",
|
496
259
|
"kind": "expression"
|
497
260
|
}
|
498
261
|
},
|
499
262
|
{
|
500
|
-
"name": "
|
263
|
+
"name": "validator",
|
501
264
|
"default": "-",
|
502
|
-
"description": "
|
265
|
+
"description": "Custom validator",
|
503
266
|
"options": [],
|
504
267
|
"value": {
|
505
|
-
"type": "(
|
268
|
+
"type": "(key, val) => string",
|
506
269
|
"kind": "expression"
|
507
270
|
}
|
508
271
|
}
|
509
272
|
]
|
510
273
|
},
|
511
274
|
{
|
512
|
-
"name": "van-
|
513
|
-
"slots": [
|
275
|
+
"name": "van-action-bar",
|
276
|
+
"slots": [],
|
277
|
+
"events": [],
|
278
|
+
"attributes": [
|
514
279
|
{
|
515
|
-
"name": "
|
516
|
-
"
|
280
|
+
"name": "safe-area-inset-bottom",
|
281
|
+
"default": "`true`",
|
282
|
+
"description": "Whether to enable bottom safe area adaptation",
|
283
|
+
"options": [],
|
284
|
+
"value": {
|
285
|
+
"type": "boolean",
|
286
|
+
"kind": "expression"
|
287
|
+
}
|
517
288
|
}
|
518
|
-
]
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
},
|
524
|
-
{
|
525
|
-
"name": "focus",
|
526
|
-
"description": "Emitted when field is focused"
|
527
|
-
},
|
528
|
-
{
|
529
|
-
"name": "delete",
|
530
|
-
"description": "Emitted when confirming delete"
|
531
|
-
},
|
532
|
-
{
|
533
|
-
"name": "select-search",
|
534
|
-
"description": "Emitted when a search result is selected"
|
535
|
-
},
|
536
|
-
{
|
537
|
-
"name": "click-area",
|
538
|
-
"description": "Emitted when the area field is clicked"
|
539
|
-
},
|
540
|
-
{
|
541
|
-
"name": "change-area",
|
542
|
-
"description": "Emitted when area changed"
|
543
|
-
},
|
289
|
+
]
|
290
|
+
},
|
291
|
+
{
|
292
|
+
"name": "van-action-bar-icon",
|
293
|
+
"slots": [
|
544
294
|
{
|
545
|
-
"name": "
|
546
|
-
"description": "
|
295
|
+
"name": "default",
|
296
|
+
"description": "Text"
|
547
297
|
},
|
548
298
|
{
|
549
|
-
"name": "
|
550
|
-
"description": "
|
299
|
+
"name": "icon",
|
300
|
+
"description": "Custom icon"
|
551
301
|
}
|
552
302
|
],
|
303
|
+
"events": [],
|
553
304
|
"attributes": [
|
554
305
|
{
|
555
|
-
"name": "
|
306
|
+
"name": "text",
|
556
307
|
"default": "-",
|
557
|
-
"description": "
|
558
|
-
"options": [],
|
559
|
-
"value": {
|
560
|
-
"type": "object",
|
561
|
-
"kind": "expression"
|
562
|
-
}
|
563
|
-
},
|
564
|
-
{
|
565
|
-
"name": "area-columns-placeholder",
|
566
|
-
"default": "`[]`",
|
567
|
-
"description": "placeholder of area columns",
|
308
|
+
"description": "Button text",
|
568
309
|
"options": [],
|
569
310
|
"value": {
|
570
|
-
"type": "string
|
311
|
+
"type": "string",
|
571
312
|
"kind": "expression"
|
572
313
|
}
|
573
314
|
},
|
574
315
|
{
|
575
|
-
"name": "
|
576
|
-
"default": "
|
577
|
-
"description": "
|
316
|
+
"name": "icon",
|
317
|
+
"default": "-",
|
318
|
+
"description": "Icon",
|
578
319
|
"options": [],
|
579
320
|
"value": {
|
580
321
|
"type": "string",
|
@@ -582,39 +323,41 @@
|
|
582
323
|
}
|
583
324
|
},
|
584
325
|
{
|
585
|
-
"name": "
|
586
|
-
"default": "`
|
587
|
-
"description": "
|
326
|
+
"name": "color",
|
327
|
+
"default": "`#323233`",
|
328
|
+
"description": "Icon color",
|
588
329
|
"options": [],
|
589
330
|
"value": {
|
590
|
-
"type": "
|
331
|
+
"type": "string",
|
591
332
|
"kind": "expression"
|
592
333
|
}
|
593
334
|
},
|
594
335
|
{
|
595
|
-
"name": "
|
596
|
-
"default": "
|
597
|
-
"description": "
|
598
|
-
"options": [
|
336
|
+
"name": "icon-class",
|
337
|
+
"default": "object_",
|
338
|
+
"description": "Icon class name",
|
339
|
+
"options": [
|
340
|
+
"''"
|
341
|
+
],
|
599
342
|
"value": {
|
600
|
-
"type": "
|
343
|
+
"type": "string | Array \\",
|
601
344
|
"kind": "expression"
|
602
345
|
}
|
603
346
|
},
|
604
347
|
{
|
605
|
-
"name": "
|
606
|
-
"default": "`
|
607
|
-
"description": "
|
348
|
+
"name": "icon-prefix",
|
349
|
+
"default": "`van-icon`",
|
350
|
+
"description": "Icon className prefix",
|
608
351
|
"options": [],
|
609
352
|
"value": {
|
610
|
-
"type": "
|
353
|
+
"type": "string",
|
611
354
|
"kind": "expression"
|
612
355
|
}
|
613
356
|
},
|
614
357
|
{
|
615
|
-
"name": "
|
616
|
-
"default": "
|
617
|
-
"description": "Whether to show
|
358
|
+
"name": "dot",
|
359
|
+
"default": "-",
|
360
|
+
"description": "Whether to show red dot",
|
618
361
|
"options": [],
|
619
362
|
"value": {
|
620
363
|
"type": "boolean",
|
@@ -622,59 +365,71 @@
|
|
622
365
|
}
|
623
366
|
},
|
624
367
|
{
|
625
|
-
"name": "
|
626
|
-
"default": "
|
627
|
-
"description": "
|
368
|
+
"name": "badge",
|
369
|
+
"default": "-",
|
370
|
+
"description": "Content of the badge",
|
628
371
|
"options": [],
|
629
372
|
"value": {
|
630
|
-
"type": "
|
373
|
+
"type": "number | string",
|
631
374
|
"kind": "expression"
|
632
375
|
}
|
633
376
|
},
|
634
377
|
{
|
635
|
-
"name": "
|
636
|
-
"default": "
|
637
|
-
"description": "
|
378
|
+
"name": "badge-props",
|
379
|
+
"default": "-",
|
380
|
+
"description": "Props of Badge,see [Badge - props](#/en-US/badge#props)",
|
638
381
|
"options": [],
|
639
382
|
"value": {
|
640
|
-
"type": "
|
383
|
+
"type": "BadgeProps",
|
641
384
|
"kind": "expression"
|
642
385
|
}
|
643
386
|
},
|
644
387
|
{
|
645
|
-
"name": "
|
646
|
-
"default": "
|
647
|
-
"description": "
|
388
|
+
"name": "url",
|
389
|
+
"default": "-",
|
390
|
+
"description": "Link URL",
|
648
391
|
"options": [],
|
649
392
|
"value": {
|
650
|
-
"type": "
|
393
|
+
"type": "string",
|
651
394
|
"kind": "expression"
|
652
395
|
}
|
653
396
|
},
|
654
397
|
{
|
655
|
-
"name": "
|
656
|
-
"default": "
|
657
|
-
"description": "
|
398
|
+
"name": "to",
|
399
|
+
"default": "-",
|
400
|
+
"description": "Target route of the link, same as to of vue-router",
|
658
401
|
"options": [],
|
659
402
|
"value": {
|
660
|
-
"type": "
|
403
|
+
"type": "string | object",
|
661
404
|
"kind": "expression"
|
662
405
|
}
|
663
406
|
},
|
664
407
|
{
|
665
|
-
"name": "
|
408
|
+
"name": "replace",
|
666
409
|
"default": "`false`",
|
667
|
-
"description": "
|
410
|
+
"description": "If true, the navigation will not leave a history record",
|
668
411
|
"options": [],
|
669
412
|
"value": {
|
670
413
|
"type": "boolean",
|
671
414
|
"kind": "expression"
|
672
415
|
}
|
673
|
-
}
|
416
|
+
}
|
417
|
+
]
|
418
|
+
},
|
419
|
+
{
|
420
|
+
"name": "van-action-bar-button",
|
421
|
+
"slots": [
|
674
422
|
{
|
675
|
-
"name": "
|
676
|
-
"
|
677
|
-
|
423
|
+
"name": "default",
|
424
|
+
"description": "Button content"
|
425
|
+
}
|
426
|
+
],
|
427
|
+
"events": [],
|
428
|
+
"attributes": [
|
429
|
+
{
|
430
|
+
"name": "text",
|
431
|
+
"default": "-",
|
432
|
+
"description": "Button text",
|
678
433
|
"options": [],
|
679
434
|
"value": {
|
680
435
|
"type": "string",
|
@@ -682,9 +437,9 @@
|
|
682
437
|
}
|
683
438
|
},
|
684
439
|
{
|
685
|
-
"name": "
|
686
|
-
"default": "`
|
687
|
-
"description": "
|
440
|
+
"name": "type",
|
441
|
+
"default": "`default`",
|
442
|
+
"description": "Button type, Can be set to `primary` `info` `warning` `danger`",
|
688
443
|
"options": [],
|
689
444
|
"value": {
|
690
445
|
"type": "string",
|
@@ -692,29 +447,29 @@
|
|
692
447
|
}
|
693
448
|
},
|
694
449
|
{
|
695
|
-
"name": "
|
696
|
-
"default": "
|
697
|
-
"description": "
|
450
|
+
"name": "color",
|
451
|
+
"default": "-",
|
452
|
+
"description": "Button color, support linear-gradient",
|
698
453
|
"options": [],
|
699
454
|
"value": {
|
700
|
-
"type": "
|
455
|
+
"type": "string",
|
701
456
|
"kind": "expression"
|
702
457
|
}
|
703
458
|
},
|
704
459
|
{
|
705
|
-
"name": "
|
706
|
-
"default": "
|
707
|
-
"description": "
|
460
|
+
"name": "icon",
|
461
|
+
"default": "-",
|
462
|
+
"description": "Left Icon",
|
708
463
|
"options": [],
|
709
464
|
"value": {
|
710
|
-
"type": "
|
465
|
+
"type": "string",
|
711
466
|
"kind": "expression"
|
712
467
|
}
|
713
468
|
},
|
714
469
|
{
|
715
|
-
"name": "
|
470
|
+
"name": "disabled",
|
716
471
|
"default": "`false`",
|
717
|
-
"description": "Whether to
|
472
|
+
"description": "Whether to disable button",
|
718
473
|
"options": [],
|
719
474
|
"value": {
|
720
475
|
"type": "boolean",
|
@@ -722,9 +477,9 @@
|
|
722
477
|
}
|
723
478
|
},
|
724
479
|
{
|
725
|
-
"name": "
|
480
|
+
"name": "loading",
|
726
481
|
"default": "`false`",
|
727
|
-
"description": "Whether to show
|
482
|
+
"description": "Whether to show loading status",
|
728
483
|
"options": [],
|
729
484
|
"value": {
|
730
485
|
"type": "boolean",
|
@@ -732,42 +487,32 @@
|
|
732
487
|
}
|
733
488
|
},
|
734
489
|
{
|
735
|
-
"name": "
|
736
|
-
"default": "-",
|
737
|
-
"description": "The method to validate tel",
|
738
|
-
"options": [],
|
739
|
-
"value": {
|
740
|
-
"type": "(tel: string) => boolean",
|
741
|
-
"kind": "expression"
|
742
|
-
}
|
743
|
-
},
|
744
|
-
{
|
745
|
-
"name": "tel-maxlength",
|
490
|
+
"name": "url",
|
746
491
|
"default": "-",
|
747
|
-
"description": "
|
492
|
+
"description": "Link",
|
748
493
|
"options": [],
|
749
494
|
"value": {
|
750
|
-
"type": "
|
495
|
+
"type": "string",
|
751
496
|
"kind": "expression"
|
752
497
|
}
|
753
498
|
},
|
754
499
|
{
|
755
|
-
"name": "
|
500
|
+
"name": "to",
|
756
501
|
"default": "-",
|
757
|
-
"description": "
|
502
|
+
"description": "Target route of the link, same as to of vue-router",
|
758
503
|
"options": [],
|
759
504
|
"value": {
|
760
|
-
"type": "
|
505
|
+
"type": "string | object",
|
761
506
|
"kind": "expression"
|
762
507
|
}
|
763
508
|
},
|
764
509
|
{
|
765
|
-
"name": "
|
766
|
-
"default": "
|
767
|
-
"description": "
|
510
|
+
"name": "replace",
|
511
|
+
"default": "`false`",
|
512
|
+
"description": "If true, the navigation will not leave a history record",
|
768
513
|
"options": [],
|
769
514
|
"value": {
|
770
|
-
"type": "
|
515
|
+
"type": "boolean",
|
771
516
|
"kind": "expression"
|
772
517
|
}
|
773
518
|
}
|
@@ -907,138 +652,274 @@
|
|
907
652
|
}
|
908
653
|
},
|
909
654
|
{
|
910
|
-
"name": "columns-num",
|
911
|
-
"default": "`3`",
|
912
|
-
"description": "Level of picker",
|
655
|
+
"name": "columns-num",
|
656
|
+
"default": "`3`",
|
657
|
+
"description": "Level of picker",
|
658
|
+
"options": [],
|
659
|
+
"value": {
|
660
|
+
"type": "number | string",
|
661
|
+
"kind": "expression"
|
662
|
+
}
|
663
|
+
},
|
664
|
+
{
|
665
|
+
"name": "visible-item-count",
|
666
|
+
"default": "`6`",
|
667
|
+
"description": "Count of visible columns",
|
668
|
+
"options": [],
|
669
|
+
"value": {
|
670
|
+
"type": "number | string",
|
671
|
+
"kind": "expression"
|
672
|
+
}
|
673
|
+
},
|
674
|
+
{
|
675
|
+
"name": "swipe-duration",
|
676
|
+
"default": "`1000`",
|
677
|
+
"description": "Duration of the momentum animation,unit `ms`",
|
678
|
+
"options": [],
|
679
|
+
"value": {
|
680
|
+
"type": "number | string",
|
681
|
+
"kind": "expression"
|
682
|
+
}
|
683
|
+
},
|
684
|
+
{
|
685
|
+
"name": "is-oversea-code",
|
686
|
+
"default": "-",
|
687
|
+
"description": "The method to validate oversea code",
|
688
|
+
"options": [],
|
689
|
+
"value": {
|
690
|
+
"type": "() => boolean",
|
691
|
+
"kind": "expression"
|
692
|
+
}
|
693
|
+
}
|
694
|
+
]
|
695
|
+
},
|
696
|
+
{
|
697
|
+
"name": "van-action-sheet",
|
698
|
+
"slots": [
|
699
|
+
{
|
700
|
+
"name": "default",
|
701
|
+
"description": "Custom content"
|
702
|
+
},
|
703
|
+
{
|
704
|
+
"name": "description",
|
705
|
+
"description": "Custom description above the options"
|
706
|
+
},
|
707
|
+
{
|
708
|
+
"name": "cancel",
|
709
|
+
"description": "Custom the content of cancel button"
|
710
|
+
},
|
711
|
+
{
|
712
|
+
"name": "action",
|
713
|
+
"description": "Custom the content of action"
|
714
|
+
}
|
715
|
+
],
|
716
|
+
"events": [
|
717
|
+
{
|
718
|
+
"name": "select",
|
719
|
+
"description": "Emitted when an option is clicked"
|
720
|
+
},
|
721
|
+
{
|
722
|
+
"name": "cancel",
|
723
|
+
"description": "Emitted when the cancel button is clicked"
|
724
|
+
},
|
725
|
+
{
|
726
|
+
"name": "open",
|
727
|
+
"description": "Emitted when opening ActionSheet"
|
728
|
+
},
|
729
|
+
{
|
730
|
+
"name": "close",
|
731
|
+
"description": "Emitted when closing ActionSheet"
|
732
|
+
},
|
733
|
+
{
|
734
|
+
"name": "opened",
|
735
|
+
"description": "Emitted when ActionSheet is opened"
|
736
|
+
},
|
737
|
+
{
|
738
|
+
"name": "closed",
|
739
|
+
"description": "Emitted when ActionSheet is closed"
|
740
|
+
},
|
741
|
+
{
|
742
|
+
"name": "click-overlay",
|
743
|
+
"description": "Emitted when overlay is clicked"
|
744
|
+
}
|
745
|
+
],
|
746
|
+
"attributes": [
|
747
|
+
{
|
748
|
+
"name": "v-model:show",
|
749
|
+
"default": "`false`",
|
750
|
+
"description": "Whether to show ActionSheet",
|
751
|
+
"options": [],
|
752
|
+
"value": {
|
753
|
+
"type": "boolean",
|
754
|
+
"kind": "expression"
|
755
|
+
}
|
756
|
+
},
|
757
|
+
{
|
758
|
+
"name": "actions",
|
759
|
+
"default": "`[]`",
|
760
|
+
"description": "Options",
|
761
|
+
"options": [],
|
762
|
+
"value": {
|
763
|
+
"type": "ActionSheetAction[]",
|
764
|
+
"kind": "expression"
|
765
|
+
}
|
766
|
+
},
|
767
|
+
{
|
768
|
+
"name": "title",
|
769
|
+
"default": "-",
|
770
|
+
"description": "Title",
|
771
|
+
"options": [],
|
772
|
+
"value": {
|
773
|
+
"type": "string",
|
774
|
+
"kind": "expression"
|
775
|
+
}
|
776
|
+
},
|
777
|
+
{
|
778
|
+
"name": "cancel-text",
|
779
|
+
"default": "-",
|
780
|
+
"description": "Text of cancel button",
|
781
|
+
"options": [],
|
782
|
+
"value": {
|
783
|
+
"type": "string",
|
784
|
+
"kind": "expression"
|
785
|
+
}
|
786
|
+
},
|
787
|
+
{
|
788
|
+
"name": "description",
|
789
|
+
"default": "-",
|
790
|
+
"description": "Description above the options",
|
791
|
+
"options": [],
|
792
|
+
"value": {
|
793
|
+
"type": "string",
|
794
|
+
"kind": "expression"
|
795
|
+
}
|
796
|
+
},
|
797
|
+
{
|
798
|
+
"name": "closeable",
|
799
|
+
"default": "`true`",
|
800
|
+
"description": "Whether to show close icon",
|
801
|
+
"options": [],
|
802
|
+
"value": {
|
803
|
+
"type": "boolean",
|
804
|
+
"kind": "expression"
|
805
|
+
}
|
806
|
+
},
|
807
|
+
{
|
808
|
+
"name": "close-icon",
|
809
|
+
"default": "`cross`",
|
810
|
+
"description": "Close icon name",
|
811
|
+
"options": [],
|
812
|
+
"value": {
|
813
|
+
"type": "string",
|
814
|
+
"kind": "expression"
|
815
|
+
}
|
816
|
+
},
|
817
|
+
{
|
818
|
+
"name": "duration",
|
819
|
+
"default": "`0.3`",
|
820
|
+
"description": "Transition duration, unit second",
|
821
|
+
"options": [],
|
822
|
+
"value": {
|
823
|
+
"type": "number | string",
|
824
|
+
"kind": "expression"
|
825
|
+
}
|
826
|
+
},
|
827
|
+
{
|
828
|
+
"name": "round",
|
829
|
+
"default": "`true`",
|
830
|
+
"description": "Whether to show round corner",
|
913
831
|
"options": [],
|
914
832
|
"value": {
|
915
|
-
"type": "
|
833
|
+
"type": "boolean",
|
916
834
|
"kind": "expression"
|
917
835
|
}
|
918
836
|
},
|
919
837
|
{
|
920
|
-
"name": "
|
921
|
-
"default": "`
|
922
|
-
"description": "
|
838
|
+
"name": "overlay",
|
839
|
+
"default": "`true`",
|
840
|
+
"description": "Whether to show overlay",
|
923
841
|
"options": [],
|
924
842
|
"value": {
|
925
|
-
"type": "
|
843
|
+
"type": "boolean",
|
926
844
|
"kind": "expression"
|
927
845
|
}
|
928
846
|
},
|
929
847
|
{
|
930
|
-
"name": "
|
931
|
-
"default": "
|
932
|
-
"description": "
|
933
|
-
"options": [
|
848
|
+
"name": "overlay-class",
|
849
|
+
"default": "object_",
|
850
|
+
"description": "Custom overlay class",
|
851
|
+
"options": [
|
852
|
+
"-"
|
853
|
+
],
|
934
854
|
"value": {
|
935
|
-
"type": "
|
855
|
+
"type": "string | Array \\",
|
936
856
|
"kind": "expression"
|
937
857
|
}
|
938
858
|
},
|
939
859
|
{
|
940
|
-
"name": "
|
860
|
+
"name": "overlay-style",
|
941
861
|
"default": "-",
|
942
|
-
"description": "
|
862
|
+
"description": "Custom overlay style",
|
943
863
|
"options": [],
|
944
864
|
"value": {
|
945
|
-
"type": "
|
865
|
+
"type": "object",
|
946
866
|
"kind": "expression"
|
947
867
|
}
|
948
|
-
}
|
949
|
-
]
|
950
|
-
},
|
951
|
-
{
|
952
|
-
"name": "van-address-list",
|
953
|
-
"slots": [
|
954
|
-
{
|
955
|
-
"name": "default",
|
956
|
-
"description": "Custom content after list"
|
957
|
-
},
|
958
|
-
{
|
959
|
-
"name": "top",
|
960
|
-
"description": "Custom content before list"
|
961
|
-
},
|
962
|
-
{
|
963
|
-
"name": "item-bottom",
|
964
|
-
"description": "Custom content after list item"
|
965
|
-
},
|
966
|
-
{
|
967
|
-
"name": "tag",
|
968
|
-
"description": "Custom tag of list item"
|
969
|
-
}
|
970
|
-
],
|
971
|
-
"events": [
|
972
|
-
{
|
973
|
-
"name": "add",
|
974
|
-
"description": "Emitted when the add button is clicked"
|
975
|
-
},
|
976
|
-
{
|
977
|
-
"name": "edit",
|
978
|
-
"description": "Emitted when the edit icon of address is clicked"
|
979
|
-
},
|
980
|
-
{
|
981
|
-
"name": "select",
|
982
|
-
"description": "Emitted when an address is selected"
|
983
|
-
},
|
984
|
-
{
|
985
|
-
"name": "edit-disabled",
|
986
|
-
"description": "Emitted when the edit icon of disabled address is clicked"
|
987
868
|
},
|
988
869
|
{
|
989
|
-
"name": "
|
990
|
-
"
|
870
|
+
"name": "lock-scroll",
|
871
|
+
"default": "`true`",
|
872
|
+
"description": "Whether to lock background scroll",
|
873
|
+
"options": [],
|
874
|
+
"value": {
|
875
|
+
"type": "boolean",
|
876
|
+
"kind": "expression"
|
877
|
+
}
|
991
878
|
},
|
992
879
|
{
|
993
|
-
"name": "
|
994
|
-
"
|
995
|
-
|
996
|
-
],
|
997
|
-
"attributes": [
|
998
|
-
{
|
999
|
-
"name": "v-model",
|
1000
|
-
"default": "-",
|
1001
|
-
"description": "Id of chosen address",
|
880
|
+
"name": "lazy-render",
|
881
|
+
"default": "`true`",
|
882
|
+
"description": "Whether to lazy render util appeared",
|
1002
883
|
"options": [],
|
1003
884
|
"value": {
|
1004
|
-
"type": "
|
885
|
+
"type": "boolean",
|
1005
886
|
"kind": "expression"
|
1006
887
|
}
|
1007
888
|
},
|
1008
889
|
{
|
1009
|
-
"name": "
|
1010
|
-
"default": "`
|
1011
|
-
"description": "
|
890
|
+
"name": "close-on-popstate",
|
891
|
+
"default": "`true`",
|
892
|
+
"description": "Whether to close when popstate",
|
1012
893
|
"options": [],
|
1013
894
|
"value": {
|
1014
|
-
"type": "
|
895
|
+
"type": "boolean",
|
1015
896
|
"kind": "expression"
|
1016
897
|
}
|
1017
898
|
},
|
1018
899
|
{
|
1019
|
-
"name": "
|
1020
|
-
"default": "`
|
1021
|
-
"description": "
|
900
|
+
"name": "close-on-click-action",
|
901
|
+
"default": "`false`",
|
902
|
+
"description": "Whether to close when an action is clicked",
|
1022
903
|
"options": [],
|
1023
904
|
"value": {
|
1024
|
-
"type": "
|
905
|
+
"type": "boolean",
|
1025
906
|
"kind": "expression"
|
1026
907
|
}
|
1027
908
|
},
|
1028
909
|
{
|
1029
|
-
"name": "
|
1030
|
-
"default": "
|
1031
|
-
"description": "
|
910
|
+
"name": "close-on-click-overlay",
|
911
|
+
"default": "`true`",
|
912
|
+
"description": "Whether to close when overlay is clicked",
|
1032
913
|
"options": [],
|
1033
914
|
"value": {
|
1034
|
-
"type": "
|
915
|
+
"type": "boolean",
|
1035
916
|
"kind": "expression"
|
1036
917
|
}
|
1037
918
|
},
|
1038
919
|
{
|
1039
|
-
"name": "
|
920
|
+
"name": "safe-area-inset-bottom",
|
1040
921
|
"default": "`true`",
|
1041
|
-
"description": "Whether to
|
922
|
+
"description": "Whether to enable bottom safe area adaptation",
|
1042
923
|
"options": [],
|
1043
924
|
"value": {
|
1044
925
|
"type": "boolean",
|
@@ -1046,22 +927,22 @@
|
|
1046
927
|
}
|
1047
928
|
},
|
1048
929
|
{
|
1049
|
-
"name": "
|
1050
|
-
"default": "
|
1051
|
-
"description": "
|
930
|
+
"name": "teleport",
|
931
|
+
"default": "-",
|
932
|
+
"description": "Specifies a target element where ActionSheet will be mounted",
|
1052
933
|
"options": [],
|
1053
934
|
"value": {
|
1054
|
-
"type": "string",
|
935
|
+
"type": "string | Element",
|
1055
936
|
"kind": "expression"
|
1056
937
|
}
|
1057
938
|
},
|
1058
939
|
{
|
1059
|
-
"name": "
|
940
|
+
"name": "before-close",
|
1060
941
|
"default": "-",
|
1061
|
-
"description": "
|
942
|
+
"description": "Callback function before close",
|
1062
943
|
"options": [],
|
1063
944
|
"value": {
|
1064
|
-
"type": "string",
|
945
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
1065
946
|
"kind": "expression"
|
1066
947
|
}
|
1067
948
|
}
|
@@ -1368,27 +1249,146 @@
|
|
1368
1249
|
"description": "Link URL",
|
1369
1250
|
"options": [],
|
1370
1251
|
"value": {
|
1371
|
-
"type": "string",
|
1252
|
+
"type": "string",
|
1253
|
+
"kind": "expression"
|
1254
|
+
}
|
1255
|
+
},
|
1256
|
+
{
|
1257
|
+
"name": "to",
|
1258
|
+
"default": "-",
|
1259
|
+
"description": "Target route of the link, same as using vue-router",
|
1260
|
+
"options": [],
|
1261
|
+
"value": {
|
1262
|
+
"type": "string | object",
|
1263
|
+
"kind": "expression"
|
1264
|
+
}
|
1265
|
+
},
|
1266
|
+
{
|
1267
|
+
"name": "replace",
|
1268
|
+
"default": "`false`",
|
1269
|
+
"description": "If true, the navigation will not leave a history record",
|
1270
|
+
"options": [],
|
1271
|
+
"value": {
|
1272
|
+
"type": "boolean",
|
1273
|
+
"kind": "expression"
|
1274
|
+
}
|
1275
|
+
}
|
1276
|
+
]
|
1277
|
+
},
|
1278
|
+
{
|
1279
|
+
"name": "van-address-list",
|
1280
|
+
"slots": [
|
1281
|
+
{
|
1282
|
+
"name": "default",
|
1283
|
+
"description": "Custom content after list"
|
1284
|
+
},
|
1285
|
+
{
|
1286
|
+
"name": "top",
|
1287
|
+
"description": "Custom content before list"
|
1288
|
+
},
|
1289
|
+
{
|
1290
|
+
"name": "item-bottom",
|
1291
|
+
"description": "Custom content after list item"
|
1292
|
+
},
|
1293
|
+
{
|
1294
|
+
"name": "tag",
|
1295
|
+
"description": "Custom tag of list item"
|
1296
|
+
}
|
1297
|
+
],
|
1298
|
+
"events": [
|
1299
|
+
{
|
1300
|
+
"name": "add",
|
1301
|
+
"description": "Emitted when the add button is clicked"
|
1302
|
+
},
|
1303
|
+
{
|
1304
|
+
"name": "edit",
|
1305
|
+
"description": "Emitted when the edit icon of address is clicked"
|
1306
|
+
},
|
1307
|
+
{
|
1308
|
+
"name": "select",
|
1309
|
+
"description": "Emitted when an address is selected"
|
1310
|
+
},
|
1311
|
+
{
|
1312
|
+
"name": "edit-disabled",
|
1313
|
+
"description": "Emitted when the edit icon of disabled address is clicked"
|
1314
|
+
},
|
1315
|
+
{
|
1316
|
+
"name": "select-disabled",
|
1317
|
+
"description": "Emitted when a disabled address is selected"
|
1318
|
+
},
|
1319
|
+
{
|
1320
|
+
"name": "click-item",
|
1321
|
+
"description": "Emitted when an address item is clicked"
|
1322
|
+
}
|
1323
|
+
],
|
1324
|
+
"attributes": [
|
1325
|
+
{
|
1326
|
+
"name": "v-model",
|
1327
|
+
"default": "-",
|
1328
|
+
"description": "Id of chosen address",
|
1329
|
+
"options": [],
|
1330
|
+
"value": {
|
1331
|
+
"type": "string",
|
1332
|
+
"kind": "expression"
|
1333
|
+
}
|
1334
|
+
},
|
1335
|
+
{
|
1336
|
+
"name": "list",
|
1337
|
+
"default": "`[]`",
|
1338
|
+
"description": "Address list",
|
1339
|
+
"options": [],
|
1340
|
+
"value": {
|
1341
|
+
"type": "Address[]",
|
1342
|
+
"kind": "expression"
|
1343
|
+
}
|
1344
|
+
},
|
1345
|
+
{
|
1346
|
+
"name": "disabled-list",
|
1347
|
+
"default": "`[]`",
|
1348
|
+
"description": "Disabled address list",
|
1349
|
+
"options": [],
|
1350
|
+
"value": {
|
1351
|
+
"type": "Address[]",
|
1352
|
+
"kind": "expression"
|
1353
|
+
}
|
1354
|
+
},
|
1355
|
+
{
|
1356
|
+
"name": "disabled-text",
|
1357
|
+
"default": "-",
|
1358
|
+
"description": "Disabled text",
|
1359
|
+
"options": [],
|
1360
|
+
"value": {
|
1361
|
+
"type": "string",
|
1362
|
+
"kind": "expression"
|
1363
|
+
}
|
1364
|
+
},
|
1365
|
+
{
|
1366
|
+
"name": "switchable",
|
1367
|
+
"default": "`true`",
|
1368
|
+
"description": "Whether to allow switch address",
|
1369
|
+
"options": [],
|
1370
|
+
"value": {
|
1371
|
+
"type": "boolean",
|
1372
1372
|
"kind": "expression"
|
1373
1373
|
}
|
1374
1374
|
},
|
1375
1375
|
{
|
1376
|
-
"name": "
|
1377
|
-
"default": "
|
1378
|
-
"description": "
|
1376
|
+
"name": "add-button-text",
|
1377
|
+
"default": "`Add new address`",
|
1378
|
+
"description": "Add button text",
|
1379
1379
|
"options": [],
|
1380
1380
|
"value": {
|
1381
|
-
"type": "string
|
1381
|
+
"type": "string",
|
1382
1382
|
"kind": "expression"
|
1383
1383
|
}
|
1384
1384
|
},
|
1385
1385
|
{
|
1386
|
-
"name": "
|
1387
|
-
"default": "
|
1388
|
-
"description": "
|
1386
|
+
"name": "default-tag-text",
|
1387
|
+
"default": "-",
|
1388
|
+
"description": "Default tag text",
|
1389
1389
|
"options": [],
|
1390
1390
|
"value": {
|
1391
|
-
"type": "
|
1391
|
+
"type": "string",
|
1392
1392
|
"kind": "expression"
|
1393
1393
|
}
|
1394
1394
|
}
|
@@ -1697,6 +1697,16 @@
|
|
1697
1697
|
"kind": "expression"
|
1698
1698
|
}
|
1699
1699
|
},
|
1700
|
+
{
|
1701
|
+
"name": "safe-area-inset-top",
|
1702
|
+
"default": "`false`",
|
1703
|
+
"description": "Whether to enable top safe area adaptation",
|
1704
|
+
"options": [],
|
1705
|
+
"value": {
|
1706
|
+
"type": "boolean",
|
1707
|
+
"kind": "expression"
|
1708
|
+
}
|
1709
|
+
},
|
1700
1710
|
{
|
1701
1711
|
"name": "safe-area-inset-bottom",
|
1702
1712
|
"default": "`true`",
|
@@ -2795,43 +2805,6 @@
|
|
2795
2805
|
}
|
2796
2806
|
]
|
2797
2807
|
},
|
2798
|
-
{
|
2799
|
-
"name": "van-config-provider",
|
2800
|
-
"slots": [],
|
2801
|
-
"events": [],
|
2802
|
-
"attributes": [
|
2803
|
-
{
|
2804
|
-
"name": "theme-vars",
|
2805
|
-
"default": "-",
|
2806
|
-
"description": "Theme variables",
|
2807
|
-
"options": [],
|
2808
|
-
"value": {
|
2809
|
-
"type": "object",
|
2810
|
-
"kind": "expression"
|
2811
|
-
}
|
2812
|
-
},
|
2813
|
-
{
|
2814
|
-
"name": "tag",
|
2815
|
-
"default": "`div`",
|
2816
|
-
"description": "HTML Tag of root element",
|
2817
|
-
"options": [],
|
2818
|
-
"value": {
|
2819
|
-
"type": "string",
|
2820
|
-
"kind": "expression"
|
2821
|
-
}
|
2822
|
-
},
|
2823
|
-
{
|
2824
|
-
"name": "icon-prefix",
|
2825
|
-
"default": "`van-icon`",
|
2826
|
-
"description": "Icon className prefix",
|
2827
|
-
"options": [],
|
2828
|
-
"value": {
|
2829
|
-
"type": "string",
|
2830
|
-
"kind": "expression"
|
2831
|
-
}
|
2832
|
-
}
|
2833
|
-
]
|
2834
|
-
},
|
2835
2808
|
{
|
2836
2809
|
"name": "van-collapse",
|
2837
2810
|
"slots": [],
|
@@ -3048,6 +3021,43 @@
|
|
3048
3021
|
}
|
3049
3022
|
]
|
3050
3023
|
},
|
3024
|
+
{
|
3025
|
+
"name": "van-config-provider",
|
3026
|
+
"slots": [],
|
3027
|
+
"events": [],
|
3028
|
+
"attributes": [
|
3029
|
+
{
|
3030
|
+
"name": "theme-vars",
|
3031
|
+
"default": "-",
|
3032
|
+
"description": "Theme variables",
|
3033
|
+
"options": [],
|
3034
|
+
"value": {
|
3035
|
+
"type": "object",
|
3036
|
+
"kind": "expression"
|
3037
|
+
}
|
3038
|
+
},
|
3039
|
+
{
|
3040
|
+
"name": "tag",
|
3041
|
+
"default": "`div`",
|
3042
|
+
"description": "HTML Tag of root element",
|
3043
|
+
"options": [],
|
3044
|
+
"value": {
|
3045
|
+
"type": "string",
|
3046
|
+
"kind": "expression"
|
3047
|
+
}
|
3048
|
+
},
|
3049
|
+
{
|
3050
|
+
"name": "icon-prefix",
|
3051
|
+
"default": "`van-icon`",
|
3052
|
+
"description": "Icon className prefix",
|
3053
|
+
"options": [],
|
3054
|
+
"value": {
|
3055
|
+
"type": "string",
|
3056
|
+
"kind": "expression"
|
3057
|
+
}
|
3058
|
+
}
|
3059
|
+
]
|
3060
|
+
},
|
3051
3061
|
{
|
3052
3062
|
"name": "van-contact-card",
|
3053
3063
|
"slots": [],
|
@@ -4683,19 +4693,172 @@
|
|
4683
4693
|
}
|
4684
4694
|
},
|
4685
4695
|
{
|
4686
|
-
"name": "format-trigger",
|
4687
|
-
"default": "`onChange`",
|
4688
|
-
"description": "When to format value,can be set to `onBlur`",
|
4696
|
+
"name": "format-trigger",
|
4697
|
+
"default": "`onChange`",
|
4698
|
+
"description": "When to format value,can be set to `onBlur`",
|
4699
|
+
"options": [],
|
4700
|
+
"value": {
|
4701
|
+
"type": "FieldFormatTrigger",
|
4702
|
+
"kind": "expression"
|
4703
|
+
}
|
4704
|
+
},
|
4705
|
+
{
|
4706
|
+
"name": "arrow-direction",
|
4707
|
+
"default": "`right`",
|
4708
|
+
"description": "Can be set to `left` `up` `down`",
|
4709
|
+
"options": [],
|
4710
|
+
"value": {
|
4711
|
+
"type": "string",
|
4712
|
+
"kind": "expression"
|
4713
|
+
}
|
4714
|
+
},
|
4715
|
+
{
|
4716
|
+
"name": "label-class",
|
4717
|
+
"default": "object_",
|
4718
|
+
"description": "Label className",
|
4719
|
+
"options": [
|
4720
|
+
"-"
|
4721
|
+
],
|
4722
|
+
"value": {
|
4723
|
+
"type": "string | Array \\",
|
4724
|
+
"kind": "expression"
|
4725
|
+
}
|
4726
|
+
},
|
4727
|
+
{
|
4728
|
+
"name": "label-width",
|
4729
|
+
"default": "`6.2em`",
|
4730
|
+
"description": "Label width",
|
4731
|
+
"options": [],
|
4732
|
+
"value": {
|
4733
|
+
"type": "number | string",
|
4734
|
+
"kind": "expression"
|
4735
|
+
}
|
4736
|
+
},
|
4737
|
+
{
|
4738
|
+
"name": "label-align",
|
4739
|
+
"default": "`left`",
|
4740
|
+
"description": "Label align, can be set to `center` `right`",
|
4741
|
+
"options": [],
|
4742
|
+
"value": {
|
4743
|
+
"type": "FieldTextAlign",
|
4744
|
+
"kind": "expression"
|
4745
|
+
}
|
4746
|
+
},
|
4747
|
+
{
|
4748
|
+
"name": "input-align",
|
4749
|
+
"default": "`left`",
|
4750
|
+
"description": "Input align, can be set to `center` `right`",
|
4751
|
+
"options": [],
|
4752
|
+
"value": {
|
4753
|
+
"type": "FieldTextAlign",
|
4754
|
+
"kind": "expression"
|
4755
|
+
}
|
4756
|
+
},
|
4757
|
+
{
|
4758
|
+
"name": "autosize",
|
4759
|
+
"default": "`false`",
|
4760
|
+
"description": "Textarea auto resize,can accept an object,<br>e.g. { maxHeight: 100, minHeight: 50 }",
|
4761
|
+
"options": [],
|
4762
|
+
"value": {
|
4763
|
+
"type": "boolean | FieldAutosizeConfig",
|
4764
|
+
"kind": "expression"
|
4765
|
+
}
|
4766
|
+
},
|
4767
|
+
{
|
4768
|
+
"name": "left-icon",
|
4769
|
+
"default": "-",
|
4770
|
+
"description": "Left side icon name",
|
4771
|
+
"options": [],
|
4772
|
+
"value": {
|
4773
|
+
"type": "string",
|
4774
|
+
"kind": "expression"
|
4775
|
+
}
|
4776
|
+
},
|
4777
|
+
{
|
4778
|
+
"name": "right-icon",
|
4779
|
+
"default": "-",
|
4780
|
+
"description": "Right side icon name",
|
4781
|
+
"options": [],
|
4782
|
+
"value": {
|
4783
|
+
"type": "string",
|
4784
|
+
"kind": "expression"
|
4785
|
+
}
|
4786
|
+
},
|
4787
|
+
{
|
4788
|
+
"name": "icon-prefix",
|
4789
|
+
"default": "`van-icon`",
|
4790
|
+
"description": "Icon className prefix",
|
4791
|
+
"options": [],
|
4792
|
+
"value": {
|
4793
|
+
"type": "string",
|
4794
|
+
"kind": "expression"
|
4795
|
+
}
|
4796
|
+
},
|
4797
|
+
{
|
4798
|
+
"name": "rules",
|
4799
|
+
"default": "-",
|
4800
|
+
"description": "Form validation rules",
|
4801
|
+
"options": [],
|
4802
|
+
"value": {
|
4803
|
+
"type": "FieldRule[]",
|
4804
|
+
"kind": "expression"
|
4805
|
+
}
|
4806
|
+
},
|
4807
|
+
{
|
4808
|
+
"name": "autocomplete",
|
4809
|
+
"default": "-",
|
4810
|
+
"description": "[autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) attribute of native input element",
|
4811
|
+
"options": [],
|
4812
|
+
"value": {
|
4813
|
+
"type": "string",
|
4814
|
+
"kind": "expression"
|
4815
|
+
}
|
4816
|
+
}
|
4817
|
+
]
|
4818
|
+
},
|
4819
|
+
{
|
4820
|
+
"name": "van-form",
|
4821
|
+
"slots": [
|
4822
|
+
{
|
4823
|
+
"name": "default",
|
4824
|
+
"description": "Form content"
|
4825
|
+
}
|
4826
|
+
],
|
4827
|
+
"events": [
|
4828
|
+
{
|
4829
|
+
"name": "submit",
|
4830
|
+
"description": "Emitted after submitting the form and validation passed"
|
4831
|
+
},
|
4832
|
+
{
|
4833
|
+
"name": "failed",
|
4834
|
+
"description": "Emitted after submitting the form and validation failed"
|
4835
|
+
}
|
4836
|
+
],
|
4837
|
+
"attributes": [
|
4838
|
+
{
|
4839
|
+
"name": "label-width",
|
4840
|
+
"default": "`6.2em`",
|
4841
|
+
"description": "Field label width",
|
4842
|
+
"options": [],
|
4843
|
+
"value": {
|
4844
|
+
"type": "number | string",
|
4845
|
+
"kind": "expression"
|
4846
|
+
}
|
4847
|
+
},
|
4848
|
+
{
|
4849
|
+
"name": "label-align",
|
4850
|
+
"default": "`left`",
|
4851
|
+
"description": "Field label align, can be set to `center` `right`",
|
4689
4852
|
"options": [],
|
4690
4853
|
"value": {
|
4691
|
-
"type": "
|
4854
|
+
"type": "string",
|
4692
4855
|
"kind": "expression"
|
4693
4856
|
}
|
4694
4857
|
},
|
4695
4858
|
{
|
4696
|
-
"name": "
|
4697
|
-
"default": "`
|
4698
|
-
"description": "
|
4859
|
+
"name": "input-align",
|
4860
|
+
"default": "`left`",
|
4861
|
+
"description": "Field input align, can be set to `center` `right`",
|
4699
4862
|
"options": [],
|
4700
4863
|
"value": {
|
4701
4864
|
"type": "string",
|
@@ -4703,104 +4866,102 @@
|
|
4703
4866
|
}
|
4704
4867
|
},
|
4705
4868
|
{
|
4706
|
-
"name": "
|
4707
|
-
"default": "
|
4708
|
-
"description": "
|
4709
|
-
"options": [
|
4710
|
-
"-"
|
4711
|
-
],
|
4869
|
+
"name": "error-message-align",
|
4870
|
+
"default": "`left`",
|
4871
|
+
"description": "Error message align, can be set to `center` `right`",
|
4872
|
+
"options": [],
|
4712
4873
|
"value": {
|
4713
|
-
"type": "string
|
4874
|
+
"type": "string",
|
4714
4875
|
"kind": "expression"
|
4715
4876
|
}
|
4716
4877
|
},
|
4717
4878
|
{
|
4718
|
-
"name": "
|
4719
|
-
"default": "`
|
4720
|
-
"description": "
|
4879
|
+
"name": "validate-trigger",
|
4880
|
+
"default": "`onBlur`",
|
4881
|
+
"description": "When to validate the form,can be set to `onChange`、`onSubmit`",
|
4721
4882
|
"options": [],
|
4722
4883
|
"value": {
|
4723
|
-
"type": "
|
4884
|
+
"type": "string",
|
4724
4885
|
"kind": "expression"
|
4725
4886
|
}
|
4726
4887
|
},
|
4727
4888
|
{
|
4728
|
-
"name": "
|
4729
|
-
"default": "`
|
4730
|
-
"description": "
|
4889
|
+
"name": "colon",
|
4890
|
+
"default": "`false`",
|
4891
|
+
"description": "Whether to display colon after label",
|
4731
4892
|
"options": [],
|
4732
4893
|
"value": {
|
4733
|
-
"type": "
|
4894
|
+
"type": "boolean",
|
4734
4895
|
"kind": "expression"
|
4735
4896
|
}
|
4736
4897
|
},
|
4737
4898
|
{
|
4738
|
-
"name": "
|
4739
|
-
"default": "`
|
4740
|
-
"description": "
|
4899
|
+
"name": "disabled",
|
4900
|
+
"default": "`false`",
|
4901
|
+
"description": "Whether to disable form",
|
4741
4902
|
"options": [],
|
4742
4903
|
"value": {
|
4743
|
-
"type": "
|
4904
|
+
"type": "boolean",
|
4744
4905
|
"kind": "expression"
|
4745
4906
|
}
|
4746
4907
|
},
|
4747
4908
|
{
|
4748
|
-
"name": "
|
4909
|
+
"name": "readonly",
|
4749
4910
|
"default": "`false`",
|
4750
|
-
"description": "
|
4911
|
+
"description": "Whether to be readonly",
|
4751
4912
|
"options": [],
|
4752
4913
|
"value": {
|
4753
|
-
"type": "boolean
|
4914
|
+
"type": "boolean",
|
4754
4915
|
"kind": "expression"
|
4755
4916
|
}
|
4756
4917
|
},
|
4757
4918
|
{
|
4758
|
-
"name": "
|
4759
|
-
"default": "
|
4760
|
-
"description": "
|
4919
|
+
"name": "validate-first",
|
4920
|
+
"default": "`false`",
|
4921
|
+
"description": "Whether to stop the validation when a rule fails",
|
4761
4922
|
"options": [],
|
4762
4923
|
"value": {
|
4763
|
-
"type": "
|
4924
|
+
"type": "boolean",
|
4764
4925
|
"kind": "expression"
|
4765
4926
|
}
|
4766
4927
|
},
|
4767
4928
|
{
|
4768
|
-
"name": "
|
4769
|
-
"default": "
|
4770
|
-
"description": "
|
4929
|
+
"name": "scroll-to-error",
|
4930
|
+
"default": "`false`",
|
4931
|
+
"description": "Whether to scroll to the error field when validation failed",
|
4771
4932
|
"options": [],
|
4772
4933
|
"value": {
|
4773
|
-
"type": "
|
4934
|
+
"type": "boolean",
|
4774
4935
|
"kind": "expression"
|
4775
4936
|
}
|
4776
4937
|
},
|
4777
4938
|
{
|
4778
|
-
"name": "
|
4779
|
-
"default": "`
|
4780
|
-
"description": "
|
4939
|
+
"name": "show-error",
|
4940
|
+
"default": "`false`",
|
4941
|
+
"description": "Whether to highlight input when validation failed",
|
4781
4942
|
"options": [],
|
4782
4943
|
"value": {
|
4783
|
-
"type": "
|
4944
|
+
"type": "boolean",
|
4784
4945
|
"kind": "expression"
|
4785
4946
|
}
|
4786
4947
|
},
|
4787
4948
|
{
|
4788
|
-
"name": "
|
4789
|
-
"default": "
|
4790
|
-
"description": "
|
4949
|
+
"name": "show-error-message",
|
4950
|
+
"default": "`true`",
|
4951
|
+
"description": "Whether to show error message when validation failed",
|
4791
4952
|
"options": [],
|
4792
4953
|
"value": {
|
4793
|
-
"type": "
|
4954
|
+
"type": "boolean",
|
4794
4955
|
"kind": "expression"
|
4795
4956
|
}
|
4796
4957
|
},
|
4797
4958
|
{
|
4798
|
-
"name": "
|
4799
|
-
"default": "
|
4800
|
-
"description": "
|
4959
|
+
"name": "submit-on-enter",
|
4960
|
+
"default": "`true`",
|
4961
|
+
"description": "Whether to submit form on enter",
|
4801
4962
|
"options": [],
|
4802
4963
|
"value": {
|
4803
|
-
"type": "
|
4964
|
+
"type": "boolean",
|
4804
4965
|
"kind": "expression"
|
4805
4966
|
}
|
4806
4967
|
}
|
@@ -5425,194 +5586,41 @@
|
|
5425
5586
|
}
|
5426
5587
|
},
|
5427
5588
|
{
|
5428
|
-
"name": "class-name",
|
5429
|
-
"default": "object_",
|
5430
|
-
"description": "Custom className",
|
5431
|
-
"options": [
|
5432
|
-
"-"
|
5433
|
-
],
|
5434
|
-
"value": {
|
5435
|
-
"type": "string | Array \\",
|
5436
|
-
"kind": "expression"
|
5437
|
-
}
|
5438
|
-
},
|
5439
|
-
{
|
5440
|
-
"name": "max-zoom",
|
5441
|
-
"default": "`3`",
|
5442
|
-
"description": "Max zoom",
|
5443
|
-
"options": [],
|
5444
|
-
"value": {
|
5445
|
-
"type": "number | string",
|
5446
|
-
"kind": "expression"
|
5447
|
-
}
|
5448
|
-
},
|
5449
|
-
{
|
5450
|
-
"name": "min-zoom",
|
5451
|
-
"default": "`1/3`",
|
5452
|
-
"description": "Min zoom",
|
5453
|
-
"options": [],
|
5454
|
-
"value": {
|
5455
|
-
"type": "number | string",
|
5456
|
-
"kind": "expression"
|
5457
|
-
}
|
5458
|
-
},
|
5459
|
-
{
|
5460
|
-
"name": "closeable",
|
5461
|
-
"default": "`false`",
|
5462
|
-
"description": "Whether to show close icon",
|
5463
|
-
"options": [],
|
5464
|
-
"value": {
|
5465
|
-
"type": "boolean",
|
5466
|
-
"kind": "expression"
|
5467
|
-
}
|
5468
|
-
},
|
5469
|
-
{
|
5470
|
-
"name": "close-icon",
|
5471
|
-
"default": "`clear`",
|
5472
|
-
"description": "Close icon name",
|
5473
|
-
"options": [],
|
5474
|
-
"value": {
|
5475
|
-
"type": "string",
|
5476
|
-
"kind": "expression"
|
5477
|
-
}
|
5478
|
-
},
|
5479
|
-
{
|
5480
|
-
"name": "close-icon-position",
|
5481
|
-
"default": "`top-right`",
|
5482
|
-
"description": "Close icon position,can be set to `top-left` `bottom-left` `bottom-right`",
|
5483
|
-
"options": [],
|
5484
|
-
"value": {
|
5485
|
-
"type": "string",
|
5486
|
-
"kind": "expression"
|
5487
|
-
}
|
5488
|
-
},
|
5489
|
-
{
|
5490
|
-
"name": "transition",
|
5491
|
-
"default": "`van-fade`",
|
5492
|
-
"description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition)",
|
5493
|
-
"options": [],
|
5494
|
-
"value": {
|
5495
|
-
"type": "string",
|
5496
|
-
"kind": "expression"
|
5497
|
-
}
|
5498
|
-
},
|
5499
|
-
{
|
5500
|
-
"name": "overlay-class",
|
5501
|
-
"default": "object_",
|
5502
|
-
"description": "Custom overlay class",
|
5503
|
-
"options": [
|
5504
|
-
"-"
|
5505
|
-
],
|
5506
|
-
"value": {
|
5507
|
-
"type": "string | Array \\",
|
5508
|
-
"kind": "expression"
|
5509
|
-
}
|
5510
|
-
},
|
5511
|
-
{
|
5512
|
-
"name": "overlay-style",
|
5513
|
-
"default": "-",
|
5514
|
-
"description": "Custom overlay style",
|
5515
|
-
"options": [],
|
5516
|
-
"value": {
|
5517
|
-
"type": "object",
|
5518
|
-
"kind": "expression"
|
5519
|
-
}
|
5520
|
-
},
|
5521
|
-
{
|
5522
|
-
"name": "teleport",
|
5523
|
-
"default": "-",
|
5524
|
-
"description": "Specifies a target element where ImagePreview will be mounted",
|
5525
|
-
"options": [],
|
5526
|
-
"value": {
|
5527
|
-
"type": "string | Element",
|
5528
|
-
"kind": "expression"
|
5529
|
-
}
|
5530
|
-
}
|
5531
|
-
]
|
5532
|
-
},
|
5533
|
-
{
|
5534
|
-
"name": "van-form",
|
5535
|
-
"slots": [
|
5536
|
-
{
|
5537
|
-
"name": "default",
|
5538
|
-
"description": "Form content"
|
5539
|
-
}
|
5540
|
-
],
|
5541
|
-
"events": [
|
5542
|
-
{
|
5543
|
-
"name": "submit",
|
5544
|
-
"description": "Emitted after submitting the form and validation passed"
|
5545
|
-
},
|
5546
|
-
{
|
5547
|
-
"name": "failed",
|
5548
|
-
"description": "Emitted after submitting the form and validation failed"
|
5549
|
-
}
|
5550
|
-
],
|
5551
|
-
"attributes": [
|
5552
|
-
{
|
5553
|
-
"name": "label-width",
|
5554
|
-
"default": "`6.2em`",
|
5555
|
-
"description": "Field label width",
|
5556
|
-
"options": [],
|
5557
|
-
"value": {
|
5558
|
-
"type": "number | string",
|
5559
|
-
"kind": "expression"
|
5560
|
-
}
|
5561
|
-
},
|
5562
|
-
{
|
5563
|
-
"name": "label-align",
|
5564
|
-
"default": "`left`",
|
5565
|
-
"description": "Field label align, can be set to `center` `right`",
|
5566
|
-
"options": [],
|
5567
|
-
"value": {
|
5568
|
-
"type": "string",
|
5569
|
-
"kind": "expression"
|
5570
|
-
}
|
5571
|
-
},
|
5572
|
-
{
|
5573
|
-
"name": "input-align",
|
5574
|
-
"default": "`left`",
|
5575
|
-
"description": "Field input align, can be set to `center` `right`",
|
5576
|
-
"options": [],
|
5577
|
-
"value": {
|
5578
|
-
"type": "string",
|
5579
|
-
"kind": "expression"
|
5580
|
-
}
|
5581
|
-
},
|
5582
|
-
{
|
5583
|
-
"name": "error-message-align",
|
5584
|
-
"default": "`left`",
|
5585
|
-
"description": "Error message align, can be set to `center` `right`",
|
5586
|
-
"options": [],
|
5589
|
+
"name": "class-name",
|
5590
|
+
"default": "object_",
|
5591
|
+
"description": "Custom className",
|
5592
|
+
"options": [
|
5593
|
+
"-"
|
5594
|
+
],
|
5587
5595
|
"value": {
|
5588
|
-
"type": "string",
|
5596
|
+
"type": "string | Array \\",
|
5589
5597
|
"kind": "expression"
|
5590
5598
|
}
|
5591
5599
|
},
|
5592
5600
|
{
|
5593
|
-
"name": "
|
5594
|
-
"default": "`
|
5595
|
-
"description": "
|
5601
|
+
"name": "max-zoom",
|
5602
|
+
"default": "`3`",
|
5603
|
+
"description": "Max zoom",
|
5596
5604
|
"options": [],
|
5597
5605
|
"value": {
|
5598
|
-
"type": "string",
|
5606
|
+
"type": "number | string",
|
5599
5607
|
"kind": "expression"
|
5600
5608
|
}
|
5601
5609
|
},
|
5602
5610
|
{
|
5603
|
-
"name": "
|
5604
|
-
"default": "`
|
5605
|
-
"description": "
|
5611
|
+
"name": "min-zoom",
|
5612
|
+
"default": "`1/3`",
|
5613
|
+
"description": "Min zoom",
|
5606
5614
|
"options": [],
|
5607
5615
|
"value": {
|
5608
|
-
"type": "
|
5616
|
+
"type": "number | string",
|
5609
5617
|
"kind": "expression"
|
5610
5618
|
}
|
5611
5619
|
},
|
5612
5620
|
{
|
5613
|
-
"name": "
|
5621
|
+
"name": "closeable",
|
5614
5622
|
"default": "`false`",
|
5615
|
-
"description": "Whether to
|
5623
|
+
"description": "Whether to show close icon",
|
5616
5624
|
"options": [],
|
5617
5625
|
"value": {
|
5618
5626
|
"type": "boolean",
|
@@ -5620,62 +5628,64 @@
|
|
5620
5628
|
}
|
5621
5629
|
},
|
5622
5630
|
{
|
5623
|
-
"name": "
|
5624
|
-
"default": "`
|
5625
|
-
"description": "
|
5631
|
+
"name": "close-icon",
|
5632
|
+
"default": "`clear`",
|
5633
|
+
"description": "Close icon name",
|
5626
5634
|
"options": [],
|
5627
5635
|
"value": {
|
5628
|
-
"type": "
|
5636
|
+
"type": "string",
|
5629
5637
|
"kind": "expression"
|
5630
5638
|
}
|
5631
5639
|
},
|
5632
5640
|
{
|
5633
|
-
"name": "
|
5634
|
-
"default": "`
|
5635
|
-
"description": "
|
5641
|
+
"name": "close-icon-position",
|
5642
|
+
"default": "`top-right`",
|
5643
|
+
"description": "Close icon position,can be set to `top-left` `bottom-left` `bottom-right`",
|
5636
5644
|
"options": [],
|
5637
5645
|
"value": {
|
5638
|
-
"type": "
|
5646
|
+
"type": "string",
|
5639
5647
|
"kind": "expression"
|
5640
5648
|
}
|
5641
5649
|
},
|
5642
5650
|
{
|
5643
|
-
"name": "
|
5644
|
-
"default": "`
|
5645
|
-
"description": "
|
5651
|
+
"name": "transition",
|
5652
|
+
"default": "`van-fade`",
|
5653
|
+
"description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition)",
|
5646
5654
|
"options": [],
|
5647
5655
|
"value": {
|
5648
|
-
"type": "
|
5656
|
+
"type": "string",
|
5649
5657
|
"kind": "expression"
|
5650
5658
|
}
|
5651
5659
|
},
|
5652
5660
|
{
|
5653
|
-
"name": "
|
5654
|
-
"default": "
|
5655
|
-
"description": "
|
5656
|
-
"options": [
|
5661
|
+
"name": "overlay-class",
|
5662
|
+
"default": "object_",
|
5663
|
+
"description": "Custom overlay class",
|
5664
|
+
"options": [
|
5665
|
+
"-"
|
5666
|
+
],
|
5657
5667
|
"value": {
|
5658
|
-
"type": "
|
5668
|
+
"type": "string | Array \\",
|
5659
5669
|
"kind": "expression"
|
5660
5670
|
}
|
5661
5671
|
},
|
5662
5672
|
{
|
5663
|
-
"name": "
|
5664
|
-
"default": "
|
5665
|
-
"description": "
|
5673
|
+
"name": "overlay-style",
|
5674
|
+
"default": "-",
|
5675
|
+
"description": "Custom overlay style",
|
5666
5676
|
"options": [],
|
5667
5677
|
"value": {
|
5668
|
-
"type": "
|
5678
|
+
"type": "object",
|
5669
5679
|
"kind": "expression"
|
5670
5680
|
}
|
5671
5681
|
},
|
5672
5682
|
{
|
5673
|
-
"name": "
|
5674
|
-
"default": "
|
5675
|
-
"description": "
|
5683
|
+
"name": "teleport",
|
5684
|
+
"default": "-",
|
5685
|
+
"description": "Specifies a target element where ImagePreview will be mounted",
|
5676
5686
|
"options": [],
|
5677
5687
|
"value": {
|
5678
|
-
"type": "
|
5688
|
+
"type": "string | Element",
|
5679
5689
|
"kind": "expression"
|
5680
5690
|
}
|
5681
5691
|
}
|
@@ -7332,6 +7342,16 @@
|
|
7332
7342
|
"kind": "expression"
|
7333
7343
|
}
|
7334
7344
|
},
|
7345
|
+
{
|
7346
|
+
"name": "safe-area-inset-top",
|
7347
|
+
"default": "`false`",
|
7348
|
+
"description": "Whether to enable top safe area adaptation",
|
7349
|
+
"options": [],
|
7350
|
+
"value": {
|
7351
|
+
"type": "boolean",
|
7352
|
+
"kind": "expression"
|
7353
|
+
}
|
7354
|
+
},
|
7335
7355
|
{
|
7336
7356
|
"name": "safe-area-inset-bottom",
|
7337
7357
|
"default": "`false`",
|
@@ -10444,6 +10464,89 @@
|
|
10444
10464
|
}
|
10445
10465
|
]
|
10446
10466
|
},
|
10467
|
+
{
|
10468
|
+
"name": "van-tree-select",
|
10469
|
+
"slots": [
|
10470
|
+
{
|
10471
|
+
"name": "content",
|
10472
|
+
"description": "Custom right content"
|
10473
|
+
}
|
10474
|
+
],
|
10475
|
+
"events": [
|
10476
|
+
{
|
10477
|
+
"name": "click-nav",
|
10478
|
+
"description": "Emitted when parent node is selected"
|
10479
|
+
},
|
10480
|
+
{
|
10481
|
+
"name": "click-item",
|
10482
|
+
"description": "Emitted when item is selected"
|
10483
|
+
}
|
10484
|
+
],
|
10485
|
+
"attributes": [
|
10486
|
+
{
|
10487
|
+
"name": "items",
|
10488
|
+
"default": "`[]`",
|
10489
|
+
"description": "Required datasets for the component",
|
10490
|
+
"options": [],
|
10491
|
+
"value": {
|
10492
|
+
"type": "TreeSelectItem[]",
|
10493
|
+
"kind": "expression"
|
10494
|
+
}
|
10495
|
+
},
|
10496
|
+
{
|
10497
|
+
"name": "height",
|
10498
|
+
"default": "`300`",
|
10499
|
+
"description": "Height",
|
10500
|
+
"options": [],
|
10501
|
+
"value": {
|
10502
|
+
"type": "number | string",
|
10503
|
+
"kind": "expression"
|
10504
|
+
}
|
10505
|
+
},
|
10506
|
+
{
|
10507
|
+
"name": "main-active-index",
|
10508
|
+
"default": "`0`",
|
10509
|
+
"description": "The index of selected parent node",
|
10510
|
+
"options": [],
|
10511
|
+
"value": {
|
10512
|
+
"type": "number | string",
|
10513
|
+
"kind": "expression"
|
10514
|
+
}
|
10515
|
+
},
|
10516
|
+
{
|
10517
|
+
"name": "active-id",
|
10518
|
+
"default": "<br>(number \\",
|
10519
|
+
"description": "Id of selected item",
|
10520
|
+
"options": [
|
10521
|
+
"string)[]_"
|
10522
|
+
],
|
10523
|
+
"value": {
|
10524
|
+
"type": "number | string \\",
|
10525
|
+
"kind": "expression"
|
10526
|
+
}
|
10527
|
+
},
|
10528
|
+
{
|
10529
|
+
"name": "max",
|
10530
|
+
"default": "`Infinity`",
|
10531
|
+
"description": "Maximum number of selected items",
|
10532
|
+
"options": [],
|
10533
|
+
"value": {
|
10534
|
+
"type": "number | string",
|
10535
|
+
"kind": "expression"
|
10536
|
+
}
|
10537
|
+
},
|
10538
|
+
{
|
10539
|
+
"name": "selected-icon",
|
10540
|
+
"default": "`success`",
|
10541
|
+
"description": "Selected icon",
|
10542
|
+
"options": [],
|
10543
|
+
"value": {
|
10544
|
+
"type": "string",
|
10545
|
+
"kind": "expression"
|
10546
|
+
}
|
10547
|
+
}
|
10548
|
+
]
|
10549
|
+
},
|
10447
10550
|
{
|
10448
10551
|
"name": "van-uploader",
|
10449
10552
|
"slots": [
|
@@ -10712,89 +10815,6 @@
|
|
10712
10815
|
}
|
10713
10816
|
}
|
10714
10817
|
]
|
10715
|
-
},
|
10716
|
-
{
|
10717
|
-
"name": "van-tree-select",
|
10718
|
-
"slots": [
|
10719
|
-
{
|
10720
|
-
"name": "content",
|
10721
|
-
"description": "Custom right content"
|
10722
|
-
}
|
10723
|
-
],
|
10724
|
-
"events": [
|
10725
|
-
{
|
10726
|
-
"name": "click-nav",
|
10727
|
-
"description": "Emitted when parent node is selected"
|
10728
|
-
},
|
10729
|
-
{
|
10730
|
-
"name": "click-item",
|
10731
|
-
"description": "Emitted when item is selected"
|
10732
|
-
}
|
10733
|
-
],
|
10734
|
-
"attributes": [
|
10735
|
-
{
|
10736
|
-
"name": "items",
|
10737
|
-
"default": "`[]`",
|
10738
|
-
"description": "Required datasets for the component",
|
10739
|
-
"options": [],
|
10740
|
-
"value": {
|
10741
|
-
"type": "TreeSelectItem[]",
|
10742
|
-
"kind": "expression"
|
10743
|
-
}
|
10744
|
-
},
|
10745
|
-
{
|
10746
|
-
"name": "height",
|
10747
|
-
"default": "`300`",
|
10748
|
-
"description": "Height",
|
10749
|
-
"options": [],
|
10750
|
-
"value": {
|
10751
|
-
"type": "number | string",
|
10752
|
-
"kind": "expression"
|
10753
|
-
}
|
10754
|
-
},
|
10755
|
-
{
|
10756
|
-
"name": "main-active-index",
|
10757
|
-
"default": "`0`",
|
10758
|
-
"description": "The index of selected parent node",
|
10759
|
-
"options": [],
|
10760
|
-
"value": {
|
10761
|
-
"type": "number | string",
|
10762
|
-
"kind": "expression"
|
10763
|
-
}
|
10764
|
-
},
|
10765
|
-
{
|
10766
|
-
"name": "active-id",
|
10767
|
-
"default": "<br>(number \\",
|
10768
|
-
"description": "Id of selected item",
|
10769
|
-
"options": [
|
10770
|
-
"string)[]_"
|
10771
|
-
],
|
10772
|
-
"value": {
|
10773
|
-
"type": "number | string \\",
|
10774
|
-
"kind": "expression"
|
10775
|
-
}
|
10776
|
-
},
|
10777
|
-
{
|
10778
|
-
"name": "max",
|
10779
|
-
"default": "`Infinity`",
|
10780
|
-
"description": "Maximum number of selected items",
|
10781
|
-
"options": [],
|
10782
|
-
"value": {
|
10783
|
-
"type": "number | string",
|
10784
|
-
"kind": "expression"
|
10785
|
-
}
|
10786
|
-
},
|
10787
|
-
{
|
10788
|
-
"name": "selected-icon",
|
10789
|
-
"default": "`success`",
|
10790
|
-
"description": "Selected icon",
|
10791
|
-
"options": [],
|
10792
|
-
"value": {
|
10793
|
-
"type": "string",
|
10794
|
-
"kind": "expression"
|
10795
|
-
}
|
10796
|
-
}
|
10797
|
-
]
|
10798
10818
|
}
|
10799
10819
|
],
|
10800
10820
|
"attributes": [],
|