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/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vant",
|
3
|
-
"version": "3.4.
|
3
|
+
"version": "3.4.6",
|
4
4
|
"description": "Mobile UI Components built on Vue",
|
5
5
|
"main": "lib/vant.cjs.js",
|
6
6
|
"module": "es/index.js",
|
@@ -63,7 +63,7 @@
|
|
63
63
|
"dependencies": {
|
64
64
|
"@vant/icons": "^1.7.1",
|
65
65
|
"@vant/popperjs": "^1.1.0",
|
66
|
-
"@vant/use": "^1.3.
|
66
|
+
"@vant/use": "^1.3.6"
|
67
67
|
},
|
68
68
|
"peerDependencies": {
|
69
69
|
"vue": "^3.0.0"
|
package/vetur/attributes.json
CHANGED
@@ -1,4 +1,92 @@
|
|
1
1
|
{
|
2
|
+
"van-address-edit/area-list": {
|
3
|
+
"type": "object",
|
4
|
+
"description": "Area List, Default: -"
|
5
|
+
},
|
6
|
+
"van-address-edit/area-columns-placeholder": {
|
7
|
+
"type": "string[]",
|
8
|
+
"description": "placeholder of area columns, Default: `[]`"
|
9
|
+
},
|
10
|
+
"van-address-edit/area-placeholder": {
|
11
|
+
"type": "string",
|
12
|
+
"description": "placeholder of area input field, Default: `Area`"
|
13
|
+
},
|
14
|
+
"van-address-edit/address-info": {
|
15
|
+
"type": "AddressEditInfo",
|
16
|
+
"description": "Address Info, Default: `{}`"
|
17
|
+
},
|
18
|
+
"van-address-edit/search-result": {
|
19
|
+
"type": "AddressEditSearchItem[]",
|
20
|
+
"description": "Address search result, Default: `[]`"
|
21
|
+
},
|
22
|
+
"van-address-edit/show-postal": {
|
23
|
+
"type": "boolean",
|
24
|
+
"description": "Whether to show postal field, Default: `false`"
|
25
|
+
},
|
26
|
+
"van-address-edit/show-delete": {
|
27
|
+
"type": "boolean",
|
28
|
+
"description": "Whether to show delete button, Default: `false`"
|
29
|
+
},
|
30
|
+
"van-address-edit/show-set-default": {
|
31
|
+
"type": "boolean",
|
32
|
+
"description": "Whether to show default address switch, Default: `false`"
|
33
|
+
},
|
34
|
+
"van-address-edit/show-search-result": {
|
35
|
+
"type": "boolean",
|
36
|
+
"description": "Whether to show address search result, Default: `false`"
|
37
|
+
},
|
38
|
+
"van-address-edit/show-area": {
|
39
|
+
"type": "boolean",
|
40
|
+
"description": "Whether to show area cell, Default: `true`"
|
41
|
+
},
|
42
|
+
"van-address-edit/show-detail": {
|
43
|
+
"type": "boolean",
|
44
|
+
"description": "Whether to show detail field, Default: `true`"
|
45
|
+
},
|
46
|
+
"van-address-edit/disable-area": {
|
47
|
+
"type": "boolean",
|
48
|
+
"description": "Whether to disable area select, Default: `false`"
|
49
|
+
},
|
50
|
+
"van-address-edit/save-button-text": {
|
51
|
+
"type": "string",
|
52
|
+
"description": "Save button text, Default: `Save`"
|
53
|
+
},
|
54
|
+
"van-address-edit/delete-button-text": {
|
55
|
+
"type": "string",
|
56
|
+
"description": "Delete button text, Default: `Delete`"
|
57
|
+
},
|
58
|
+
"van-address-edit/detail-rows": {
|
59
|
+
"type": "number | string",
|
60
|
+
"description": "Detail input rows, Default: `1`"
|
61
|
+
},
|
62
|
+
"van-address-edit/detail-maxlength": {
|
63
|
+
"type": "number | string",
|
64
|
+
"description": "Detail maxlength, Default: `200`"
|
65
|
+
},
|
66
|
+
"van-address-edit/is-saving": {
|
67
|
+
"type": "boolean",
|
68
|
+
"description": "Whether to show save button loading status, Default: `false`"
|
69
|
+
},
|
70
|
+
"van-address-edit/is-deleting": {
|
71
|
+
"type": "boolean",
|
72
|
+
"description": "Whether to show delete button loading status, Default: `false`"
|
73
|
+
},
|
74
|
+
"van-address-edit/tel-validator": {
|
75
|
+
"type": "(tel: string) => boolean",
|
76
|
+
"description": "The method to validate tel, Default: -"
|
77
|
+
},
|
78
|
+
"van-address-edit/tel-maxlength": {
|
79
|
+
"type": "number | string",
|
80
|
+
"description": "Tel maxlength, Default: -"
|
81
|
+
},
|
82
|
+
"van-address-edit/postal-validator": {
|
83
|
+
"type": "(tel: string) => boolean",
|
84
|
+
"description": "The method to validate postal, Default: -"
|
85
|
+
},
|
86
|
+
"van-address-edit/validator": {
|
87
|
+
"type": "(key, val) => string",
|
88
|
+
"description": "Custom validator, Default: -"
|
89
|
+
},
|
2
90
|
"van-action-bar/safe-area-inset-bottom": {
|
3
91
|
"type": "boolean",
|
4
92
|
"description": "Whether to enable bottom safe area adaptation, Default: `true`"
|
@@ -86,6 +174,58 @@
|
|
86
174
|
"type": "boolean",
|
87
175
|
"description": "If true, the navigation will not leave a history record, Default: `false`"
|
88
176
|
},
|
177
|
+
"van-area/value": {
|
178
|
+
"type": "string",
|
179
|
+
"description": "the `code` of selected area, Default: -"
|
180
|
+
},
|
181
|
+
"van-area/title": {
|
182
|
+
"type": "string",
|
183
|
+
"description": "Toolbar title, Default: -"
|
184
|
+
},
|
185
|
+
"van-area/confirm-button-text": {
|
186
|
+
"type": "string",
|
187
|
+
"description": "Text of confirm button, Default: `Confirm`"
|
188
|
+
},
|
189
|
+
"van-area/cancel-button-text": {
|
190
|
+
"type": "string",
|
191
|
+
"description": "Text of cancel button, Default: `Cancel`"
|
192
|
+
},
|
193
|
+
"van-area/area-list": {
|
194
|
+
"type": "object",
|
195
|
+
"description": "Area list data, Default: -"
|
196
|
+
},
|
197
|
+
"van-area/columns-placeholder": {
|
198
|
+
"type": "string[]",
|
199
|
+
"description": "Placeholder of columns, Default: `[]`"
|
200
|
+
},
|
201
|
+
"van-area/loading": {
|
202
|
+
"type": "boolean",
|
203
|
+
"description": "Whether to show loading prompt, Default: `false`"
|
204
|
+
},
|
205
|
+
"van-area/readonly": {
|
206
|
+
"type": "boolean",
|
207
|
+
"description": "Whether to be readonly, Default: `false`"
|
208
|
+
},
|
209
|
+
"van-area/item-height": {
|
210
|
+
"type": "number | string",
|
211
|
+
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`, Default: `44`"
|
212
|
+
},
|
213
|
+
"van-area/columns-num": {
|
214
|
+
"type": "number | string",
|
215
|
+
"description": "Level of picker, Default: `3`"
|
216
|
+
},
|
217
|
+
"van-area/visible-item-count": {
|
218
|
+
"type": "number | string",
|
219
|
+
"description": "Count of visible columns, Default: `6`"
|
220
|
+
},
|
221
|
+
"van-area/swipe-duration": {
|
222
|
+
"type": "number | string",
|
223
|
+
"description": "Duration of the momentum animation,unit `ms`, Default: `1000`"
|
224
|
+
},
|
225
|
+
"van-area/is-oversea-code": {
|
226
|
+
"type": "() => boolean",
|
227
|
+
"description": "The method to validate oversea code, Default: -"
|
228
|
+
},
|
89
229
|
"van-action-sheet/v-model:show": {
|
90
230
|
"type": "boolean",
|
91
231
|
"description": "Whether to show ActionSheet, Default: `false`"
|
@@ -141,201 +281,33 @@
|
|
141
281
|
"type": "boolean",
|
142
282
|
"description": "Whether to lock background scroll, Default: `true`"
|
143
283
|
},
|
144
|
-
"van-action-sheet/lazy-render": {
|
145
|
-
"type": "boolean",
|
146
|
-
"description": "Whether to lazy render util appeared, Default: `true`"
|
147
|
-
},
|
148
|
-
"van-action-sheet/close-on-popstate": {
|
149
|
-
"type": "boolean",
|
150
|
-
"description": "Whether to close when popstate, Default: `true`"
|
151
|
-
},
|
152
|
-
"van-action-sheet/close-on-click-action": {
|
153
|
-
"type": "boolean",
|
154
|
-
"description": "Whether to close when an action is clicked, Default: `false`"
|
155
|
-
},
|
156
|
-
"van-action-sheet/close-on-click-overlay": {
|
157
|
-
"type": "boolean",
|
158
|
-
"description": "Whether to close when overlay is clicked, Default: `true`"
|
159
|
-
},
|
160
|
-
"van-action-sheet/safe-area-inset-bottom": {
|
161
|
-
"type": "boolean",
|
162
|
-
"description": "Whether to enable bottom safe area adaptation, Default: `true`"
|
163
|
-
},
|
164
|
-
"van-action-sheet/teleport": {
|
165
|
-
"type": "string | Element",
|
166
|
-
"description": "Specifies a target element where ActionSheet will be mounted, Default: -"
|
167
|
-
},
|
168
|
-
"van-action-sheet/before-close": {
|
169
|
-
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
170
|
-
"description": "Callback function before close, Default: -"
|
171
|
-
},
|
172
|
-
"van-address-edit/area-list": {
|
173
|
-
"type": "object",
|
174
|
-
"description": "Area List, Default: -"
|
175
|
-
},
|
176
|
-
"van-address-edit/area-columns-placeholder": {
|
177
|
-
"type": "string[]",
|
178
|
-
"description": "placeholder of area columns, Default: `[]`"
|
179
|
-
},
|
180
|
-
"van-address-edit/area-placeholder": {
|
181
|
-
"type": "string",
|
182
|
-
"description": "placeholder of area input field, Default: `Area`"
|
183
|
-
},
|
184
|
-
"van-address-edit/address-info": {
|
185
|
-
"type": "AddressEditInfo",
|
186
|
-
"description": "Address Info, Default: `{}`"
|
187
|
-
},
|
188
|
-
"van-address-edit/search-result": {
|
189
|
-
"type": "AddressEditSearchItem[]",
|
190
|
-
"description": "Address search result, Default: `[]`"
|
191
|
-
},
|
192
|
-
"van-address-edit/show-postal": {
|
193
|
-
"type": "boolean",
|
194
|
-
"description": "Whether to show postal field, Default: `false`"
|
195
|
-
},
|
196
|
-
"van-address-edit/show-delete": {
|
197
|
-
"type": "boolean",
|
198
|
-
"description": "Whether to show delete button, Default: `false`"
|
199
|
-
},
|
200
|
-
"van-address-edit/show-set-default": {
|
201
|
-
"type": "boolean",
|
202
|
-
"description": "Whether to show default address switch, Default: `false`"
|
203
|
-
},
|
204
|
-
"van-address-edit/show-search-result": {
|
205
|
-
"type": "boolean",
|
206
|
-
"description": "Whether to show address search result, Default: `false`"
|
207
|
-
},
|
208
|
-
"van-address-edit/show-area": {
|
209
|
-
"type": "boolean",
|
210
|
-
"description": "Whether to show area cell, Default: `true`"
|
211
|
-
},
|
212
|
-
"van-address-edit/show-detail": {
|
213
|
-
"type": "boolean",
|
214
|
-
"description": "Whether to show detail field, Default: `true`"
|
215
|
-
},
|
216
|
-
"van-address-edit/disable-area": {
|
217
|
-
"type": "boolean",
|
218
|
-
"description": "Whether to disable area select, Default: `false`"
|
219
|
-
},
|
220
|
-
"van-address-edit/save-button-text": {
|
221
|
-
"type": "string",
|
222
|
-
"description": "Save button text, Default: `Save`"
|
223
|
-
},
|
224
|
-
"van-address-edit/delete-button-text": {
|
225
|
-
"type": "string",
|
226
|
-
"description": "Delete button text, Default: `Delete`"
|
227
|
-
},
|
228
|
-
"van-address-edit/detail-rows": {
|
229
|
-
"type": "number | string",
|
230
|
-
"description": "Detail input rows, Default: `1`"
|
231
|
-
},
|
232
|
-
"van-address-edit/detail-maxlength": {
|
233
|
-
"type": "number | string",
|
234
|
-
"description": "Detail maxlength, Default: `200`"
|
235
|
-
},
|
236
|
-
"van-address-edit/is-saving": {
|
237
|
-
"type": "boolean",
|
238
|
-
"description": "Whether to show save button loading status, Default: `false`"
|
239
|
-
},
|
240
|
-
"van-address-edit/is-deleting": {
|
241
|
-
"type": "boolean",
|
242
|
-
"description": "Whether to show delete button loading status, Default: `false`"
|
243
|
-
},
|
244
|
-
"van-address-edit/tel-validator": {
|
245
|
-
"type": "(tel: string) => boolean",
|
246
|
-
"description": "The method to validate tel, Default: -"
|
247
|
-
},
|
248
|
-
"van-address-edit/tel-maxlength": {
|
249
|
-
"type": "number | string",
|
250
|
-
"description": "Tel maxlength, Default: -"
|
251
|
-
},
|
252
|
-
"van-address-edit/postal-validator": {
|
253
|
-
"type": "(tel: string) => boolean",
|
254
|
-
"description": "The method to validate postal, Default: -"
|
255
|
-
},
|
256
|
-
"van-address-edit/validator": {
|
257
|
-
"type": "(key, val) => string",
|
258
|
-
"description": "Custom validator, Default: -"
|
259
|
-
},
|
260
|
-
"van-area/value": {
|
261
|
-
"type": "string",
|
262
|
-
"description": "the `code` of selected area, Default: -"
|
263
|
-
},
|
264
|
-
"van-area/title": {
|
265
|
-
"type": "string",
|
266
|
-
"description": "Toolbar title, Default: -"
|
267
|
-
},
|
268
|
-
"van-area/confirm-button-text": {
|
269
|
-
"type": "string",
|
270
|
-
"description": "Text of confirm button, Default: `Confirm`"
|
271
|
-
},
|
272
|
-
"van-area/cancel-button-text": {
|
273
|
-
"type": "string",
|
274
|
-
"description": "Text of cancel button, Default: `Cancel`"
|
275
|
-
},
|
276
|
-
"van-area/area-list": {
|
277
|
-
"type": "object",
|
278
|
-
"description": "Area list data, Default: -"
|
279
|
-
},
|
280
|
-
"van-area/columns-placeholder": {
|
281
|
-
"type": "string[]",
|
282
|
-
"description": "Placeholder of columns, Default: `[]`"
|
283
|
-
},
|
284
|
-
"van-area/loading": {
|
285
|
-
"type": "boolean",
|
286
|
-
"description": "Whether to show loading prompt, Default: `false`"
|
287
|
-
},
|
288
|
-
"van-area/readonly": {
|
289
|
-
"type": "boolean",
|
290
|
-
"description": "Whether to be readonly, Default: `false`"
|
291
|
-
},
|
292
|
-
"van-area/item-height": {
|
293
|
-
"type": "number | string",
|
294
|
-
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`, Default: `44`"
|
295
|
-
},
|
296
|
-
"van-area/columns-num": {
|
297
|
-
"type": "number | string",
|
298
|
-
"description": "Level of picker, Default: `3`"
|
299
|
-
},
|
300
|
-
"van-area/visible-item-count": {
|
301
|
-
"type": "number | string",
|
302
|
-
"description": "Count of visible columns, Default: `6`"
|
303
|
-
},
|
304
|
-
"van-area/swipe-duration": {
|
305
|
-
"type": "number | string",
|
306
|
-
"description": "Duration of the momentum animation,unit `ms`, Default: `1000`"
|
307
|
-
},
|
308
|
-
"van-area/is-oversea-code": {
|
309
|
-
"type": "() => boolean",
|
310
|
-
"description": "The method to validate oversea code, Default: -"
|
311
|
-
},
|
312
|
-
"van-address-list/v-model": {
|
313
|
-
"type": "string",
|
314
|
-
"description": "Id of chosen address, Default: -"
|
284
|
+
"van-action-sheet/lazy-render": {
|
285
|
+
"type": "boolean",
|
286
|
+
"description": "Whether to lazy render util appeared, Default: `true`"
|
315
287
|
},
|
316
|
-
"van-
|
317
|
-
"type": "
|
318
|
-
"description": "
|
288
|
+
"van-action-sheet/close-on-popstate": {
|
289
|
+
"type": "boolean",
|
290
|
+
"description": "Whether to close when popstate, Default: `true`"
|
319
291
|
},
|
320
|
-
"van-
|
321
|
-
"type": "
|
322
|
-
"description": "
|
292
|
+
"van-action-sheet/close-on-click-action": {
|
293
|
+
"type": "boolean",
|
294
|
+
"description": "Whether to close when an action is clicked, Default: `false`"
|
323
295
|
},
|
324
|
-
"van-
|
325
|
-
"type": "
|
326
|
-
"description": "
|
296
|
+
"van-action-sheet/close-on-click-overlay": {
|
297
|
+
"type": "boolean",
|
298
|
+
"description": "Whether to close when overlay is clicked, Default: `true`"
|
327
299
|
},
|
328
|
-
"van-
|
300
|
+
"van-action-sheet/safe-area-inset-bottom": {
|
329
301
|
"type": "boolean",
|
330
|
-
"description": "Whether to
|
302
|
+
"description": "Whether to enable bottom safe area adaptation, Default: `true`"
|
331
303
|
},
|
332
|
-
"van-
|
333
|
-
"type": "string",
|
334
|
-
"description": "
|
304
|
+
"van-action-sheet/teleport": {
|
305
|
+
"type": "string | Element",
|
306
|
+
"description": "Specifies a target element where ActionSheet will be mounted, Default: -"
|
335
307
|
},
|
336
|
-
"van-
|
337
|
-
"type": "string",
|
338
|
-
"description": "
|
308
|
+
"van-action-sheet/before-close": {
|
309
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
310
|
+
"description": "Callback function before close, Default: -"
|
339
311
|
},
|
340
312
|
"van-badge/content": {
|
341
313
|
"type": "number | string",
|
@@ -452,6 +424,34 @@
|
|
452
424
|
"type": "boolean",
|
453
425
|
"description": "If true, the navigation will not leave a history record, Default: `false`"
|
454
426
|
},
|
427
|
+
"van-address-list/v-model": {
|
428
|
+
"type": "string",
|
429
|
+
"description": "Id of chosen address, Default: -"
|
430
|
+
},
|
431
|
+
"van-address-list/list": {
|
432
|
+
"type": "Address[]",
|
433
|
+
"description": "Address list, Default: `[]`"
|
434
|
+
},
|
435
|
+
"van-address-list/disabled-list": {
|
436
|
+
"type": "Address[]",
|
437
|
+
"description": "Disabled address list, Default: `[]`"
|
438
|
+
},
|
439
|
+
"van-address-list/disabled-text": {
|
440
|
+
"type": "string",
|
441
|
+
"description": "Disabled text, Default: -"
|
442
|
+
},
|
443
|
+
"van-address-list/switchable": {
|
444
|
+
"type": "boolean",
|
445
|
+
"description": "Whether to allow switch address, Default: `true`"
|
446
|
+
},
|
447
|
+
"van-address-list/add-button-text": {
|
448
|
+
"type": "string",
|
449
|
+
"description": "Add button text, Default: `Add new address`"
|
450
|
+
},
|
451
|
+
"van-address-list/default-tag-text": {
|
452
|
+
"type": "string",
|
453
|
+
"description": "Default tag text, Default: -"
|
454
|
+
},
|
455
455
|
"van-calendar/type": {
|
456
456
|
"type": "string",
|
457
457
|
"description": "Type,can be set to `range` `multiple`, Default: `single`"
|
@@ -547,6 +547,10 @@
|
|
547
547
|
"type": "boolean",
|
548
548
|
"description": "Whether to close when overlay is clicked, Default: `true`"
|
549
549
|
},
|
550
|
+
"van-calendar/safe-area-inset-top": {
|
551
|
+
"type": "boolean",
|
552
|
+
"description": "Whether to enable top safe area adaptation, Default: `false`"
|
553
|
+
},
|
550
554
|
"van-calendar/safe-area-inset-bottom": {
|
551
555
|
"type": "boolean",
|
552
556
|
"description": "Whether to enable bottom safe area adaptation, Default: `true`"
|
@@ -895,18 +899,6 @@
|
|
895
899
|
"type": "string",
|
896
900
|
"description": "Custom element tag, Default: `div`"
|
897
901
|
},
|
898
|
-
"van-config-provider/theme-vars": {
|
899
|
-
"type": "object",
|
900
|
-
"description": "Theme variables, Default: -"
|
901
|
-
},
|
902
|
-
"van-config-provider/tag": {
|
903
|
-
"type": "string",
|
904
|
-
"description": "HTML Tag of root element, Default: `div`"
|
905
|
-
},
|
906
|
-
"van-config-provider/icon-prefix": {
|
907
|
-
"type": "string",
|
908
|
-
"description": "Icon className prefix, Default: `van-icon`"
|
909
|
-
},
|
910
902
|
"van-collapse/v-model": {
|
911
903
|
"type": "accordion mode: _number | string_<br>non-accordion mode:_(number \\",
|
912
904
|
"description": "Names of current active panels, Default: string)[]_",
|
@@ -978,6 +970,18 @@
|
|
978
970
|
"type": "string",
|
979
971
|
"description": "Label className, Default: -"
|
980
972
|
},
|
973
|
+
"van-config-provider/theme-vars": {
|
974
|
+
"type": "object",
|
975
|
+
"description": "Theme variables, Default: -"
|
976
|
+
},
|
977
|
+
"van-config-provider/tag": {
|
978
|
+
"type": "string",
|
979
|
+
"description": "HTML Tag of root element, Default: `div`"
|
980
|
+
},
|
981
|
+
"van-config-provider/icon-prefix": {
|
982
|
+
"type": "string",
|
983
|
+
"description": "Icon className prefix, Default: `van-icon`"
|
984
|
+
},
|
981
985
|
"van-contact-card/type": {
|
982
986
|
"type": "string",
|
983
987
|
"description": "Can be set to `edit`, Default: `add`"
|
@@ -1544,6 +1548,58 @@
|
|
1544
1548
|
"type": "string",
|
1545
1549
|
"description": "[autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) attribute of native input element, Default: -"
|
1546
1550
|
},
|
1551
|
+
"van-form/label-width": {
|
1552
|
+
"type": "number | string",
|
1553
|
+
"description": "Field label width, Default: `6.2em`"
|
1554
|
+
},
|
1555
|
+
"van-form/label-align": {
|
1556
|
+
"type": "string",
|
1557
|
+
"description": "Field label align, can be set to `center` `right`, Default: `left`"
|
1558
|
+
},
|
1559
|
+
"van-form/input-align": {
|
1560
|
+
"type": "string",
|
1561
|
+
"description": "Field input align, can be set to `center` `right`, Default: `left`"
|
1562
|
+
},
|
1563
|
+
"van-form/error-message-align": {
|
1564
|
+
"type": "string",
|
1565
|
+
"description": "Error message align, can be set to `center` `right`, Default: `left`"
|
1566
|
+
},
|
1567
|
+
"van-form/validate-trigger": {
|
1568
|
+
"type": "string",
|
1569
|
+
"description": "When to validate the form,can be set to `onChange`、`onSubmit`, Default: `onBlur`"
|
1570
|
+
},
|
1571
|
+
"van-form/colon": {
|
1572
|
+
"type": "boolean",
|
1573
|
+
"description": "Whether to display colon after label, Default: `false`"
|
1574
|
+
},
|
1575
|
+
"van-form/disabled": {
|
1576
|
+
"type": "boolean",
|
1577
|
+
"description": "Whether to disable form, Default: `false`"
|
1578
|
+
},
|
1579
|
+
"van-form/readonly": {
|
1580
|
+
"type": "boolean",
|
1581
|
+
"description": "Whether to be readonly, Default: `false`"
|
1582
|
+
},
|
1583
|
+
"van-form/validate-first": {
|
1584
|
+
"type": "boolean",
|
1585
|
+
"description": "Whether to stop the validation when a rule fails, Default: `false`"
|
1586
|
+
},
|
1587
|
+
"van-form/scroll-to-error": {
|
1588
|
+
"type": "boolean",
|
1589
|
+
"description": "Whether to scroll to the error field when validation failed, Default: `false`"
|
1590
|
+
},
|
1591
|
+
"van-form/show-error": {
|
1592
|
+
"type": "boolean",
|
1593
|
+
"description": "Whether to highlight input when validation failed, Default: `false`"
|
1594
|
+
},
|
1595
|
+
"van-form/show-error-message": {
|
1596
|
+
"type": "boolean",
|
1597
|
+
"description": "Whether to show error message when validation failed, Default: `true`"
|
1598
|
+
},
|
1599
|
+
"van-form/submit-on-enter": {
|
1600
|
+
"type": "boolean",
|
1601
|
+
"description": "Whether to submit form on enter, Default: `true`"
|
1602
|
+
},
|
1547
1603
|
"van-grid/column-num": {
|
1548
1604
|
"type": "number | string",
|
1549
1605
|
"description": "Column Num, Default: `4`"
|
@@ -1794,58 +1850,6 @@
|
|
1794
1850
|
"type": "string | Element",
|
1795
1851
|
"description": "Specifies a target element where ImagePreview will be mounted, Default: -"
|
1796
1852
|
},
|
1797
|
-
"van-form/label-width": {
|
1798
|
-
"type": "number | string",
|
1799
|
-
"description": "Field label width, Default: `6.2em`"
|
1800
|
-
},
|
1801
|
-
"van-form/label-align": {
|
1802
|
-
"type": "string",
|
1803
|
-
"description": "Field label align, can be set to `center` `right`, Default: `left`"
|
1804
|
-
},
|
1805
|
-
"van-form/input-align": {
|
1806
|
-
"type": "string",
|
1807
|
-
"description": "Field input align, can be set to `center` `right`, Default: `left`"
|
1808
|
-
},
|
1809
|
-
"van-form/error-message-align": {
|
1810
|
-
"type": "string",
|
1811
|
-
"description": "Error message align, can be set to `center` `right`, Default: `left`"
|
1812
|
-
},
|
1813
|
-
"van-form/validate-trigger": {
|
1814
|
-
"type": "string",
|
1815
|
-
"description": "When to validate the form,can be set to `onChange`、`onSubmit`, Default: `onBlur`"
|
1816
|
-
},
|
1817
|
-
"van-form/colon": {
|
1818
|
-
"type": "boolean",
|
1819
|
-
"description": "Whether to display colon after label, Default: `false`"
|
1820
|
-
},
|
1821
|
-
"van-form/disabled": {
|
1822
|
-
"type": "boolean",
|
1823
|
-
"description": "Whether to disable form, Default: `false`"
|
1824
|
-
},
|
1825
|
-
"van-form/readonly": {
|
1826
|
-
"type": "boolean",
|
1827
|
-
"description": "Whether to be readonly, Default: `false`"
|
1828
|
-
},
|
1829
|
-
"van-form/validate-first": {
|
1830
|
-
"type": "boolean",
|
1831
|
-
"description": "Whether to stop the validation when a rule fails, Default: `false`"
|
1832
|
-
},
|
1833
|
-
"van-form/scroll-to-error": {
|
1834
|
-
"type": "boolean",
|
1835
|
-
"description": "Whether to scroll to the error field when validation failed, Default: `false`"
|
1836
|
-
},
|
1837
|
-
"van-form/show-error": {
|
1838
|
-
"type": "boolean",
|
1839
|
-
"description": "Whether to highlight input when validation failed, Default: `false`"
|
1840
|
-
},
|
1841
|
-
"van-form/show-error-message": {
|
1842
|
-
"type": "boolean",
|
1843
|
-
"description": "Whether to show error message when validation failed, Default: `true`"
|
1844
|
-
},
|
1845
|
-
"van-form/submit-on-enter": {
|
1846
|
-
"type": "boolean",
|
1847
|
-
"description": "Whether to submit form on enter, Default: `true`"
|
1848
|
-
},
|
1849
1853
|
"van-index-bar/index-list": {
|
1850
1854
|
"type": "string[] | number[]",
|
1851
1855
|
"description": "Index List, Default: `A-Z`"
|
@@ -2364,6 +2368,10 @@
|
|
2364
2368
|
"type": "string | Element",
|
2365
2369
|
"description": "Specifies a target element where Popup will be mounted, Default: -"
|
2366
2370
|
},
|
2371
|
+
"van-popup/safe-area-inset-top": {
|
2372
|
+
"type": "boolean",
|
2373
|
+
"description": "Whether to enable top safe area adaptation, Default: `false`"
|
2374
|
+
},
|
2367
2375
|
"van-popup/safe-area-inset-bottom": {
|
2368
2376
|
"type": "boolean",
|
2369
2377
|
"description": "Whether to enable bottom safe area adaptation, Default: `false`"
|
@@ -3397,6 +3405,33 @@
|
|
3397
3405
|
"type": "boolean",
|
3398
3406
|
"description": "Whether to be closeable, Default: `false`"
|
3399
3407
|
},
|
3408
|
+
"van-tree-select/items": {
|
3409
|
+
"type": "TreeSelectItem[]",
|
3410
|
+
"description": "Required datasets for the component, Default: `[]`"
|
3411
|
+
},
|
3412
|
+
"van-tree-select/height": {
|
3413
|
+
"type": "number | string",
|
3414
|
+
"description": "Height, Default: `300`"
|
3415
|
+
},
|
3416
|
+
"van-tree-select/main-active-index": {
|
3417
|
+
"type": "number | string",
|
3418
|
+
"description": "The index of selected parent node, Default: `0`"
|
3419
|
+
},
|
3420
|
+
"van-tree-select/active-id": {
|
3421
|
+
"type": "number | string \\",
|
3422
|
+
"description": "Id of selected item, Default: <br>(number \\",
|
3423
|
+
"options": [
|
3424
|
+
"string)[]_"
|
3425
|
+
]
|
3426
|
+
},
|
3427
|
+
"van-tree-select/max": {
|
3428
|
+
"type": "number | string",
|
3429
|
+
"description": "Maximum number of selected items, Default: `Infinity`"
|
3430
|
+
},
|
3431
|
+
"van-tree-select/selected-icon": {
|
3432
|
+
"type": "string",
|
3433
|
+
"description": "Selected icon, Default: `success`"
|
3434
|
+
},
|
3400
3435
|
"van-uploader/v-model": {
|
3401
3436
|
"type": "FileListItem[]",
|
3402
3437
|
"description": "List of uploaded files, Default: -"
|
@@ -3491,32 +3526,5 @@
|
|
3491
3526
|
"van-uploader/upload-icon": {
|
3492
3527
|
"type": "string",
|
3493
3528
|
"description": "Upload icon, Default: `photograph`"
|
3494
|
-
},
|
3495
|
-
"van-tree-select/items": {
|
3496
|
-
"type": "TreeSelectItem[]",
|
3497
|
-
"description": "Required datasets for the component, Default: `[]`"
|
3498
|
-
},
|
3499
|
-
"van-tree-select/height": {
|
3500
|
-
"type": "number | string",
|
3501
|
-
"description": "Height, Default: `300`"
|
3502
|
-
},
|
3503
|
-
"van-tree-select/main-active-index": {
|
3504
|
-
"type": "number | string",
|
3505
|
-
"description": "The index of selected parent node, Default: `0`"
|
3506
|
-
},
|
3507
|
-
"van-tree-select/active-id": {
|
3508
|
-
"type": "number | string \\",
|
3509
|
-
"description": "Id of selected item, Default: <br>(number \\",
|
3510
|
-
"options": [
|
3511
|
-
"string)[]_"
|
3512
|
-
]
|
3513
|
-
},
|
3514
|
-
"van-tree-select/max": {
|
3515
|
-
"type": "number | string",
|
3516
|
-
"description": "Maximum number of selected items, Default: `Infinity`"
|
3517
|
-
},
|
3518
|
-
"van-tree-select/selected-icon": {
|
3519
|
-
"type": "string",
|
3520
|
-
"description": "Selected icon, Default: `success`"
|
3521
3529
|
}
|
3522
3530
|
}
|