vant 3.3.2 → 3.3.5
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/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/locale/lang/pt-BR.d.ts +73 -0
- package/es/locale/lang/pt-BR.js +72 -0
- package/es/swipe/index.css +1 -1
- package/es/swipe/index.less +2 -0
- package/es/uploader/Uploader.js +13 -2
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/lang/pt-BR.d.ts +73 -0
- package/lib/locale/lang/pt-BR.js +77 -0
- package/lib/ssr.js +7 -0
- package/lib/ssr.mjs +1 -0
- package/lib/swipe/index.css +1 -1
- package/lib/swipe/index.less +2 -0
- package/lib/uploader/Uploader.js +12 -1
- package/lib/vant.cjs.js +12 -2
- package/lib/vant.cjs.min.js +1 -1
- package/lib/vant.es.js +12 -2
- package/lib/vant.es.min.js +12 -2
- package/lib/vant.js +12 -2
- package/lib/vant.min.js +1 -1
- package/package.json +10 -4
- package/vetur/attributes.json +580 -580
- package/vetur/tags.json +207 -207
- package/vetur/web-types.json +1859 -1859
package/vetur/tags.json
CHANGED
@@ -1,4 +1,28 @@
|
|
1
1
|
{
|
2
|
+
"van-action-sheet": {
|
3
|
+
"attributes": [
|
4
|
+
"v-model:show",
|
5
|
+
"actions",
|
6
|
+
"title",
|
7
|
+
"cancel-text",
|
8
|
+
"description",
|
9
|
+
"closeable",
|
10
|
+
"close-icon",
|
11
|
+
"duration",
|
12
|
+
"round",
|
13
|
+
"overlay",
|
14
|
+
"overlay-class",
|
15
|
+
"overlay-style",
|
16
|
+
"lock-scroll",
|
17
|
+
"lazy-render",
|
18
|
+
"close-on-popstate",
|
19
|
+
"close-on-click-action",
|
20
|
+
"close-on-click-overlay",
|
21
|
+
"safe-area-inset-bottom",
|
22
|
+
"teleport",
|
23
|
+
"before-close"
|
24
|
+
]
|
25
|
+
},
|
2
26
|
"van-action-bar": {
|
3
27
|
"attributes": [
|
4
28
|
"safe-area-inset-bottom"
|
@@ -31,6 +55,17 @@
|
|
31
55
|
"replace"
|
32
56
|
]
|
33
57
|
},
|
58
|
+
"van-address-list": {
|
59
|
+
"attributes": [
|
60
|
+
"v-model",
|
61
|
+
"list",
|
62
|
+
"disabled-list",
|
63
|
+
"disabled-text",
|
64
|
+
"switchable",
|
65
|
+
"add-button-text",
|
66
|
+
"default-tag-text"
|
67
|
+
]
|
68
|
+
},
|
34
69
|
"van-address-edit": {
|
35
70
|
"attributes": [
|
36
71
|
"area-list",
|
@@ -57,17 +92,6 @@
|
|
57
92
|
"validator"
|
58
93
|
]
|
59
94
|
},
|
60
|
-
"van-address-list": {
|
61
|
-
"attributes": [
|
62
|
-
"v-model",
|
63
|
-
"list",
|
64
|
-
"disabled-list",
|
65
|
-
"disabled-text",
|
66
|
-
"switchable",
|
67
|
-
"add-button-text",
|
68
|
-
"default-tag-text"
|
69
|
-
]
|
70
|
-
},
|
71
95
|
"van-area": {
|
72
96
|
"attributes": [
|
73
97
|
"value",
|
@@ -85,30 +109,6 @@
|
|
85
109
|
"is-oversea-code"
|
86
110
|
]
|
87
111
|
},
|
88
|
-
"van-action-sheet": {
|
89
|
-
"attributes": [
|
90
|
-
"v-model:show",
|
91
|
-
"actions",
|
92
|
-
"title",
|
93
|
-
"cancel-text",
|
94
|
-
"description",
|
95
|
-
"closeable",
|
96
|
-
"close-icon",
|
97
|
-
"duration",
|
98
|
-
"round",
|
99
|
-
"overlay",
|
100
|
-
"overlay-class",
|
101
|
-
"overlay-style",
|
102
|
-
"lock-scroll",
|
103
|
-
"lazy-render",
|
104
|
-
"close-on-popstate",
|
105
|
-
"close-on-click-action",
|
106
|
-
"close-on-click-overlay",
|
107
|
-
"safe-area-inset-bottom",
|
108
|
-
"teleport",
|
109
|
-
"before-close"
|
110
|
-
]
|
111
|
-
},
|
112
112
|
"van-badge": {
|
113
113
|
"attributes": [
|
114
114
|
"content",
|
@@ -145,6 +145,21 @@
|
|
145
145
|
"replace"
|
146
146
|
]
|
147
147
|
},
|
148
|
+
"van-card": {
|
149
|
+
"attributes": [
|
150
|
+
"thumb",
|
151
|
+
"title",
|
152
|
+
"desc",
|
153
|
+
"tag",
|
154
|
+
"num",
|
155
|
+
"price",
|
156
|
+
"origin-price",
|
157
|
+
"centered",
|
158
|
+
"currency",
|
159
|
+
"thumb-link",
|
160
|
+
"lazy-load"
|
161
|
+
]
|
162
|
+
},
|
148
163
|
"van-calendar": {
|
149
164
|
"attributes": [
|
150
165
|
"type",
|
@@ -180,21 +195,6 @@
|
|
180
195
|
"range-prompt"
|
181
196
|
]
|
182
197
|
},
|
183
|
-
"van-card": {
|
184
|
-
"attributes": [
|
185
|
-
"thumb",
|
186
|
-
"title",
|
187
|
-
"desc",
|
188
|
-
"tag",
|
189
|
-
"num",
|
190
|
-
"price",
|
191
|
-
"origin-price",
|
192
|
-
"centered",
|
193
|
-
"currency",
|
194
|
-
"thumb-link",
|
195
|
-
"lazy-load"
|
196
|
-
]
|
197
|
-
},
|
198
198
|
"van-cascader": {
|
199
199
|
"attributes": [
|
200
200
|
"title",
|
@@ -238,29 +238,6 @@
|
|
238
238
|
"label-class"
|
239
239
|
]
|
240
240
|
},
|
241
|
-
"van-checkbox": {
|
242
|
-
"attributes": [
|
243
|
-
"v-model",
|
244
|
-
"name",
|
245
|
-
"shape",
|
246
|
-
"disabled",
|
247
|
-
"label-disabled",
|
248
|
-
"label-position",
|
249
|
-
"icon-size",
|
250
|
-
"checked-color",
|
251
|
-
"bind-group"
|
252
|
-
]
|
253
|
-
},
|
254
|
-
"van-checkbox-group": {
|
255
|
-
"attributes": [
|
256
|
-
"v-model",
|
257
|
-
"disabled",
|
258
|
-
"max",
|
259
|
-
"direction",
|
260
|
-
"icon-size",
|
261
|
-
"checked-color"
|
262
|
-
]
|
263
|
-
},
|
264
241
|
"van-circle": {
|
265
242
|
"attributes": [
|
266
243
|
"v-model:current-rate",
|
@@ -293,6 +270,29 @@
|
|
293
270
|
"tag"
|
294
271
|
]
|
295
272
|
},
|
273
|
+
"van-checkbox": {
|
274
|
+
"attributes": [
|
275
|
+
"v-model",
|
276
|
+
"name",
|
277
|
+
"shape",
|
278
|
+
"disabled",
|
279
|
+
"label-disabled",
|
280
|
+
"label-position",
|
281
|
+
"icon-size",
|
282
|
+
"checked-color",
|
283
|
+
"bind-group"
|
284
|
+
]
|
285
|
+
},
|
286
|
+
"van-checkbox-group": {
|
287
|
+
"attributes": [
|
288
|
+
"v-model",
|
289
|
+
"disabled",
|
290
|
+
"max",
|
291
|
+
"direction",
|
292
|
+
"icon-size",
|
293
|
+
"checked-color"
|
294
|
+
]
|
295
|
+
},
|
296
296
|
"van-collapse": {
|
297
297
|
"attributes": [
|
298
298
|
"v-model",
|
@@ -324,12 +324,12 @@
|
|
324
324
|
"icon-prefix"
|
325
325
|
]
|
326
326
|
},
|
327
|
-
"van-contact-
|
327
|
+
"van-contact-list": {
|
328
328
|
"attributes": [
|
329
|
-
"
|
330
|
-
"
|
331
|
-
"
|
332
|
-
"
|
329
|
+
"v-model",
|
330
|
+
"list",
|
331
|
+
"add-text",
|
332
|
+
"default-tag-text"
|
333
333
|
]
|
334
334
|
},
|
335
335
|
"van-contact-edit": {
|
@@ -343,12 +343,12 @@
|
|
343
343
|
"set-default-label"
|
344
344
|
]
|
345
345
|
},
|
346
|
-
"van-contact-
|
346
|
+
"van-contact-card": {
|
347
347
|
"attributes": [
|
348
|
-
"
|
349
|
-
"
|
350
|
-
"
|
351
|
-
"
|
348
|
+
"type",
|
349
|
+
"name",
|
350
|
+
"tel",
|
351
|
+
"add-text"
|
352
352
|
]
|
353
353
|
},
|
354
354
|
"van-count-down": {
|
@@ -422,33 +422,6 @@
|
|
422
422
|
"max-minute"
|
423
423
|
]
|
424
424
|
},
|
425
|
-
"van-dialog": {
|
426
|
-
"attributes": [
|
427
|
-
"v-model:show",
|
428
|
-
"title",
|
429
|
-
"width",
|
430
|
-
"message",
|
431
|
-
"message-align",
|
432
|
-
"theme",
|
433
|
-
"show-confirm-button",
|
434
|
-
"show-cancel-button",
|
435
|
-
"confirm-button-text",
|
436
|
-
"confirm-button-color",
|
437
|
-
"cancel-button-text",
|
438
|
-
"cancel-button-color",
|
439
|
-
"overlay",
|
440
|
-
"overlay-class",
|
441
|
-
"overlay-style",
|
442
|
-
"close-on-popstate",
|
443
|
-
"close-on-click-overlay",
|
444
|
-
"lazy-render",
|
445
|
-
"lock-scroll",
|
446
|
-
"allow-html",
|
447
|
-
"before-close",
|
448
|
-
"transition",
|
449
|
-
"teleport"
|
450
|
-
]
|
451
|
-
},
|
452
425
|
"van-divider": {
|
453
426
|
"attributes": [
|
454
427
|
"dashed",
|
@@ -478,6 +451,33 @@
|
|
478
451
|
"teleport"
|
479
452
|
]
|
480
453
|
},
|
454
|
+
"van-dialog": {
|
455
|
+
"attributes": [
|
456
|
+
"v-model:show",
|
457
|
+
"title",
|
458
|
+
"width",
|
459
|
+
"message",
|
460
|
+
"message-align",
|
461
|
+
"theme",
|
462
|
+
"show-confirm-button",
|
463
|
+
"show-cancel-button",
|
464
|
+
"confirm-button-text",
|
465
|
+
"confirm-button-color",
|
466
|
+
"cancel-button-text",
|
467
|
+
"cancel-button-color",
|
468
|
+
"overlay",
|
469
|
+
"overlay-class",
|
470
|
+
"overlay-style",
|
471
|
+
"close-on-popstate",
|
472
|
+
"close-on-click-overlay",
|
473
|
+
"lazy-render",
|
474
|
+
"lock-scroll",
|
475
|
+
"allow-html",
|
476
|
+
"before-close",
|
477
|
+
"transition",
|
478
|
+
"teleport"
|
479
|
+
]
|
480
|
+
},
|
481
481
|
"van-empty": {
|
482
482
|
"attributes": [
|
483
483
|
"image",
|
@@ -580,6 +580,21 @@
|
|
580
580
|
"tag"
|
581
581
|
]
|
582
582
|
},
|
583
|
+
"van-index-bar": {
|
584
|
+
"attributes": [
|
585
|
+
"index-list",
|
586
|
+
"z-index",
|
587
|
+
"sticky",
|
588
|
+
"sticky-offset-top",
|
589
|
+
"highlight-color",
|
590
|
+
"teleport"
|
591
|
+
]
|
592
|
+
},
|
593
|
+
"van-index-anchor": {
|
594
|
+
"attributes": [
|
595
|
+
"index"
|
596
|
+
]
|
597
|
+
},
|
583
598
|
"van-image": {
|
584
599
|
"attributes": [
|
585
600
|
"src",
|
@@ -620,21 +635,6 @@
|
|
620
635
|
"teleport"
|
621
636
|
]
|
622
637
|
},
|
623
|
-
"van-index-bar": {
|
624
|
-
"attributes": [
|
625
|
-
"index-list",
|
626
|
-
"z-index",
|
627
|
-
"sticky",
|
628
|
-
"sticky-offset-top",
|
629
|
-
"highlight-color",
|
630
|
-
"teleport"
|
631
|
-
]
|
632
|
-
},
|
633
|
-
"van-index-anchor": {
|
634
|
-
"attributes": [
|
635
|
-
"index"
|
636
|
-
]
|
637
|
-
},
|
638
638
|
"van-list": {
|
639
639
|
"attributes": [
|
640
640
|
"v-model:loading",
|
@@ -776,6 +776,19 @@
|
|
776
776
|
"icon-prefix"
|
777
777
|
]
|
778
778
|
},
|
779
|
+
"van-progress": {
|
780
|
+
"attributes": [
|
781
|
+
"percentage",
|
782
|
+
"stroke-width",
|
783
|
+
"color",
|
784
|
+
"track-color",
|
785
|
+
"pivot-text",
|
786
|
+
"pivot-color",
|
787
|
+
"text-color",
|
788
|
+
"inactive",
|
789
|
+
"show-pivot"
|
790
|
+
]
|
791
|
+
},
|
779
792
|
"van-popup": {
|
780
793
|
"attributes": [
|
781
794
|
"v-model:show",
|
@@ -800,19 +813,6 @@
|
|
800
813
|
"safe-area-inset-bottom"
|
801
814
|
]
|
802
815
|
},
|
803
|
-
"van-progress": {
|
804
|
-
"attributes": [
|
805
|
-
"percentage",
|
806
|
-
"stroke-width",
|
807
|
-
"color",
|
808
|
-
"track-color",
|
809
|
-
"pivot-text",
|
810
|
-
"pivot-color",
|
811
|
-
"text-color",
|
812
|
-
"inactive",
|
813
|
-
"show-pivot"
|
814
|
-
]
|
815
|
-
},
|
816
816
|
"van-pull-refresh": {
|
817
817
|
"attributes": [
|
818
818
|
"v-model",
|
@@ -847,22 +847,25 @@
|
|
847
847
|
"checked-color"
|
848
848
|
]
|
849
849
|
},
|
850
|
-
"van-
|
850
|
+
"van-share-sheet": {
|
851
851
|
"attributes": [
|
852
|
-
"v-model",
|
853
|
-
"
|
854
|
-
"
|
855
|
-
"
|
856
|
-
"
|
857
|
-
"
|
858
|
-
"
|
859
|
-
"
|
860
|
-
"
|
861
|
-
"
|
862
|
-
"
|
863
|
-
"
|
864
|
-
"
|
865
|
-
"
|
852
|
+
"v-model:show",
|
853
|
+
"options",
|
854
|
+
"title",
|
855
|
+
"cancel-text",
|
856
|
+
"description",
|
857
|
+
"duration",
|
858
|
+
"round",
|
859
|
+
"overlay",
|
860
|
+
"overlay-class",
|
861
|
+
"overlay-style",
|
862
|
+
"lock-scroll",
|
863
|
+
"lazy-render",
|
864
|
+
"close-on-popstate",
|
865
|
+
"close-on-click-overlay",
|
866
|
+
"safe-area-inset-bottom",
|
867
|
+
"teleport",
|
868
|
+
"before-close"
|
866
869
|
]
|
867
870
|
},
|
868
871
|
"van-search": {
|
@@ -893,25 +896,39 @@
|
|
893
896
|
"autocomplete"
|
894
897
|
]
|
895
898
|
},
|
896
|
-
"van-
|
899
|
+
"van-rate": {
|
897
900
|
"attributes": [
|
898
|
-
"v-model
|
899
|
-
"
|
900
|
-
"
|
901
|
-
"
|
902
|
-
"
|
903
|
-
"
|
904
|
-
"
|
905
|
-
"
|
906
|
-
"
|
907
|
-
"
|
908
|
-
"
|
909
|
-
"
|
910
|
-
"
|
911
|
-
"
|
912
|
-
|
913
|
-
|
914
|
-
|
901
|
+
"v-model",
|
902
|
+
"count",
|
903
|
+
"size",
|
904
|
+
"gutter",
|
905
|
+
"color",
|
906
|
+
"void-color",
|
907
|
+
"disabled-color",
|
908
|
+
"icon",
|
909
|
+
"void-icon",
|
910
|
+
"icon-prefix",
|
911
|
+
"allow-half",
|
912
|
+
"readonly",
|
913
|
+
"disabled",
|
914
|
+
"touchable"
|
915
|
+
]
|
916
|
+
},
|
917
|
+
"van-slider": {
|
918
|
+
"attributes": [
|
919
|
+
"v-model",
|
920
|
+
"max",
|
921
|
+
"min",
|
922
|
+
"step",
|
923
|
+
"bar-height",
|
924
|
+
"button-size",
|
925
|
+
"active-color",
|
926
|
+
"inactive-color",
|
927
|
+
"range",
|
928
|
+
"reverse",
|
929
|
+
"disabled",
|
930
|
+
"readonly",
|
931
|
+
"vertical"
|
915
932
|
]
|
916
933
|
},
|
917
934
|
"van-sidebar": {
|
@@ -944,23 +961,6 @@
|
|
944
961
|
"avatar-shape"
|
945
962
|
]
|
946
963
|
},
|
947
|
-
"van-slider": {
|
948
|
-
"attributes": [
|
949
|
-
"v-model",
|
950
|
-
"max",
|
951
|
-
"min",
|
952
|
-
"step",
|
953
|
-
"bar-height",
|
954
|
-
"button-size",
|
955
|
-
"active-color",
|
956
|
-
"inactive-color",
|
957
|
-
"range",
|
958
|
-
"reverse",
|
959
|
-
"disabled",
|
960
|
-
"readonly",
|
961
|
-
"vertical"
|
962
|
-
]
|
963
|
-
},
|
964
964
|
"van-stepper": {
|
965
965
|
"attributes": [
|
966
966
|
"v-model",
|
@@ -987,6 +987,15 @@
|
|
987
987
|
"allow-empty"
|
988
988
|
]
|
989
989
|
},
|
990
|
+
"van-sticky": {
|
991
|
+
"attributes": [
|
992
|
+
"position",
|
993
|
+
"offset-top",
|
994
|
+
"offset-bottom",
|
995
|
+
"z-index",
|
996
|
+
"container"
|
997
|
+
]
|
998
|
+
},
|
990
999
|
"van-steps": {
|
991
1000
|
"attributes": [
|
992
1001
|
"active",
|
@@ -1002,15 +1011,6 @@
|
|
1002
1011
|
"van-step": {
|
1003
1012
|
"attributes": []
|
1004
1013
|
},
|
1005
|
-
"van-sticky": {
|
1006
|
-
"attributes": [
|
1007
|
-
"position",
|
1008
|
-
"offset-top",
|
1009
|
-
"offset-bottom",
|
1010
|
-
"z-index",
|
1011
|
-
"container"
|
1012
|
-
]
|
1013
|
-
},
|
1014
1014
|
"van-submit-bar": {
|
1015
1015
|
"attributes": [
|
1016
1016
|
"price",
|
@@ -1029,6 +1029,16 @@
|
|
1029
1029
|
"safe-area-inset-bottom"
|
1030
1030
|
]
|
1031
1031
|
},
|
1032
|
+
"van-swipe-cell": {
|
1033
|
+
"attributes": [
|
1034
|
+
"name",
|
1035
|
+
"left-width",
|
1036
|
+
"right-width",
|
1037
|
+
"before-close",
|
1038
|
+
"disabled",
|
1039
|
+
"stop-propagation"
|
1040
|
+
]
|
1041
|
+
},
|
1032
1042
|
"van-swipe": {
|
1033
1043
|
"attributes": [
|
1034
1044
|
"autoplay",
|
@@ -1048,16 +1058,6 @@
|
|
1048
1058
|
"van-swipe-item": {
|
1049
1059
|
"attributes": []
|
1050
1060
|
},
|
1051
|
-
"van-swipe-cell": {
|
1052
|
-
"attributes": [
|
1053
|
-
"name",
|
1054
|
-
"left-width",
|
1055
|
-
"right-width",
|
1056
|
-
"before-close",
|
1057
|
-
"disabled",
|
1058
|
-
"stop-propagation"
|
1059
|
-
]
|
1060
|
-
},
|
1061
1061
|
"van-switch": {
|
1062
1062
|
"attributes": [
|
1063
1063
|
"v-model",
|