vant 3.3.1 → 3.3.4
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/calendar/Calendar.js +8 -14
- package/es/calendar/CalendarMonth.js +11 -10
- package/es/calendar/types.d.ts +1 -1
- 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/Swipe.js +8 -2
- package/es/swipe/index.css +1 -1
- package/es/swipe/index.less +2 -0
- package/es/tab/Tab.js +1 -1
- package/es/tabbar-item/TabbarItem.js +5 -3
- package/es/uploader/Uploader.js +13 -2
- package/lib/calendar/Calendar.js +8 -14
- package/lib/calendar/CalendarMonth.js +11 -10
- package/lib/calendar/types.d.ts +1 -1
- 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/Swipe.js +8 -2
- package/lib/swipe/index.css +1 -1
- package/lib/swipe/index.less +2 -0
- package/lib/tab/Tab.js +1 -1
- package/lib/tabbar-item/TabbarItem.js +5 -3
- package/lib/uploader/Uploader.js +12 -1
- package/lib/vant.cjs.js +14417 -0
- package/lib/vant.cjs.min.js +1 -0
- package/lib/vant.es.js +173 -1241
- package/lib/vant.es.min.js +173 -1241
- package/lib/vant.js +38 -25
- package/lib/vant.min.js +1 -1
- package/package.json +23 -8
- package/vetur/attributes.json +277 -277
- package/vetur/tags.json +96 -96
- package/vetur/web-types.json +882 -882
package/vetur/tags.json
CHANGED
@@ -31,32 +31,6 @@
|
|
31
31
|
"replace"
|
32
32
|
]
|
33
33
|
},
|
34
|
-
"van-address-edit": {
|
35
|
-
"attributes": [
|
36
|
-
"area-list",
|
37
|
-
"area-columns-placeholder",
|
38
|
-
"area-placeholder",
|
39
|
-
"address-info",
|
40
|
-
"search-result",
|
41
|
-
"show-postal",
|
42
|
-
"show-delete",
|
43
|
-
"show-set-default",
|
44
|
-
"show-search-result",
|
45
|
-
"show-area",
|
46
|
-
"show-detail",
|
47
|
-
"disable-area",
|
48
|
-
"save-button-text",
|
49
|
-
"delete-button-text",
|
50
|
-
"detail-rows",
|
51
|
-
"detail-maxlength",
|
52
|
-
"is-saving",
|
53
|
-
"is-deleting",
|
54
|
-
"tel-validator",
|
55
|
-
"tel-maxlength",
|
56
|
-
"postal-validator",
|
57
|
-
"validator"
|
58
|
-
]
|
59
|
-
},
|
60
34
|
"van-action-sheet": {
|
61
35
|
"attributes": [
|
62
36
|
"v-model:show",
|
@@ -92,6 +66,42 @@
|
|
92
66
|
"default-tag-text"
|
93
67
|
]
|
94
68
|
},
|
69
|
+
"van-address-edit": {
|
70
|
+
"attributes": [
|
71
|
+
"area-list",
|
72
|
+
"area-columns-placeholder",
|
73
|
+
"area-placeholder",
|
74
|
+
"address-info",
|
75
|
+
"search-result",
|
76
|
+
"show-postal",
|
77
|
+
"show-delete",
|
78
|
+
"show-set-default",
|
79
|
+
"show-search-result",
|
80
|
+
"show-area",
|
81
|
+
"show-detail",
|
82
|
+
"disable-area",
|
83
|
+
"save-button-text",
|
84
|
+
"delete-button-text",
|
85
|
+
"detail-rows",
|
86
|
+
"detail-maxlength",
|
87
|
+
"is-saving",
|
88
|
+
"is-deleting",
|
89
|
+
"tel-validator",
|
90
|
+
"tel-maxlength",
|
91
|
+
"postal-validator",
|
92
|
+
"validator"
|
93
|
+
]
|
94
|
+
},
|
95
|
+
"van-badge": {
|
96
|
+
"attributes": [
|
97
|
+
"content",
|
98
|
+
"color",
|
99
|
+
"dot",
|
100
|
+
"max",
|
101
|
+
"offset",
|
102
|
+
"show-zero"
|
103
|
+
]
|
104
|
+
},
|
95
105
|
"van-area": {
|
96
106
|
"attributes": [
|
97
107
|
"value",
|
@@ -109,16 +119,6 @@
|
|
109
119
|
"is-oversea-code"
|
110
120
|
]
|
111
121
|
},
|
112
|
-
"van-badge": {
|
113
|
-
"attributes": [
|
114
|
-
"content",
|
115
|
-
"color",
|
116
|
-
"dot",
|
117
|
-
"max",
|
118
|
-
"offset",
|
119
|
-
"show-zero"
|
120
|
-
]
|
121
|
-
},
|
122
122
|
"van-button": {
|
123
123
|
"attributes": [
|
124
124
|
"type",
|
@@ -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",
|
@@ -543,6 +543,17 @@
|
|
543
543
|
"submit-on-enter"
|
544
544
|
]
|
545
545
|
},
|
546
|
+
"van-icon": {
|
547
|
+
"attributes": [
|
548
|
+
"name",
|
549
|
+
"dot",
|
550
|
+
"badge",
|
551
|
+
"color",
|
552
|
+
"size",
|
553
|
+
"class-prefix",
|
554
|
+
"tag"
|
555
|
+
]
|
556
|
+
},
|
546
557
|
"van-grid": {
|
547
558
|
"attributes": [
|
548
559
|
"column-num",
|
@@ -569,15 +580,19 @@
|
|
569
580
|
"replace"
|
570
581
|
]
|
571
582
|
},
|
572
|
-
"van-
|
583
|
+
"van-index-bar": {
|
573
584
|
"attributes": [
|
574
|
-
"
|
575
|
-
"
|
576
|
-
"
|
577
|
-
"
|
578
|
-
"
|
579
|
-
"
|
580
|
-
|
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"
|
581
596
|
]
|
582
597
|
},
|
583
598
|
"van-image": {
|
@@ -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",
|
@@ -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",
|