vant 3.2.7 → 3.2.8
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/cascader/Cascader.js +7 -3
- 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/index.d.ts +1 -1
- package/es/password-input/PasswordInput.d.ts +20 -0
- package/es/password-input/PasswordInput.js +10 -9
- package/es/password-input/index.d.ts +1 -0
- package/es/progress/Progress.js +2 -2
- package/es/submit-bar/SubmitBar.d.ts +4 -3
- package/es/submit-bar/index.d.ts +3 -2
- package/es/tabs/Tabs.js +7 -6
- package/lib/cascader/Cascader.js +7 -3
- 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/index.d.ts +1 -1
- package/lib/password-input/PasswordInput.d.ts +20 -0
- package/lib/password-input/PasswordInput.js +10 -9
- package/lib/password-input/index.d.ts +1 -0
- package/lib/progress/Progress.js +2 -2
- package/lib/submit-bar/SubmitBar.d.ts +4 -3
- package/lib/submit-bar/index.d.ts +3 -2
- package/lib/tabs/Tabs.js +7 -6
- package/lib/vant.es.js +234 -159
- package/lib/vant.es.min.js +234 -159
- package/lib/vant.js +234 -159
- package/lib/vant.min.js +1 -1
- package/package.json +7 -4
- package/vetur/attributes.json +344 -344
- package/vetur/tags.json +119 -119
- package/vetur/web-types.json +1149 -1145
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,41 +55,6 @@
|
|
31
55
|
"replace"
|
32
56
|
]
|
33
57
|
},
|
34
|
-
"van-action-sheet": {
|
35
|
-
"attributes": [
|
36
|
-
"v-model:show",
|
37
|
-
"actions",
|
38
|
-
"title",
|
39
|
-
"cancel-text",
|
40
|
-
"description",
|
41
|
-
"closeable",
|
42
|
-
"close-icon",
|
43
|
-
"duration",
|
44
|
-
"round",
|
45
|
-
"overlay",
|
46
|
-
"overlay-class",
|
47
|
-
"overlay-style",
|
48
|
-
"lock-scroll",
|
49
|
-
"lazy-render",
|
50
|
-
"close-on-popstate",
|
51
|
-
"close-on-click-action",
|
52
|
-
"close-on-click-overlay",
|
53
|
-
"safe-area-inset-bottom",
|
54
|
-
"teleport",
|
55
|
-
"before-close"
|
56
|
-
]
|
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
|
-
},
|
69
58
|
"van-address-edit": {
|
70
59
|
"attributes": [
|
71
60
|
"area-list",
|
@@ -92,6 +81,27 @@
|
|
92
81
|
"validator"
|
93
82
|
]
|
94
83
|
},
|
84
|
+
"van-badge": {
|
85
|
+
"attributes": [
|
86
|
+
"content",
|
87
|
+
"color",
|
88
|
+
"dot",
|
89
|
+
"max",
|
90
|
+
"offset",
|
91
|
+
"show-zero"
|
92
|
+
]
|
93
|
+
},
|
94
|
+
"van-address-list": {
|
95
|
+
"attributes": [
|
96
|
+
"v-model",
|
97
|
+
"list",
|
98
|
+
"disabled-list",
|
99
|
+
"disabled-text",
|
100
|
+
"switchable",
|
101
|
+
"add-button-text",
|
102
|
+
"default-tag-text"
|
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",
|
@@ -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",
|
@@ -526,23 +526,6 @@
|
|
526
526
|
"autocomplete"
|
527
527
|
]
|
528
528
|
},
|
529
|
-
"van-form": {
|
530
|
-
"attributes": [
|
531
|
-
"label-width",
|
532
|
-
"label-align",
|
533
|
-
"input-align",
|
534
|
-
"error-message-align",
|
535
|
-
"validate-trigger",
|
536
|
-
"colon",
|
537
|
-
"disabled",
|
538
|
-
"readonly",
|
539
|
-
"validate-first",
|
540
|
-
"scroll-to-error",
|
541
|
-
"show-error",
|
542
|
-
"show-error-message",
|
543
|
-
"submit-on-enter"
|
544
|
-
]
|
545
|
-
},
|
546
529
|
"van-grid": {
|
547
530
|
"attributes": [
|
548
531
|
"column-num",
|
@@ -580,22 +563,21 @@
|
|
580
563
|
"tag"
|
581
564
|
]
|
582
565
|
},
|
583
|
-
"van-
|
566
|
+
"van-form": {
|
584
567
|
"attributes": [
|
585
|
-
"
|
586
|
-
"
|
587
|
-
"
|
588
|
-
"
|
589
|
-
"
|
590
|
-
"
|
591
|
-
"
|
592
|
-
"
|
568
|
+
"label-width",
|
569
|
+
"label-align",
|
570
|
+
"input-align",
|
571
|
+
"error-message-align",
|
572
|
+
"validate-trigger",
|
573
|
+
"colon",
|
574
|
+
"disabled",
|
575
|
+
"readonly",
|
576
|
+
"validate-first",
|
577
|
+
"scroll-to-error",
|
593
578
|
"show-error",
|
594
|
-
"show-
|
595
|
-
"
|
596
|
-
"loading-icon",
|
597
|
-
"icon-size",
|
598
|
-
"icon-prefix"
|
579
|
+
"show-error-message",
|
580
|
+
"submit-on-enter"
|
599
581
|
]
|
600
582
|
},
|
601
583
|
"van-image-preview": {
|
@@ -635,6 +617,24 @@
|
|
635
617
|
"index"
|
636
618
|
]
|
637
619
|
},
|
620
|
+
"van-image": {
|
621
|
+
"attributes": [
|
622
|
+
"src",
|
623
|
+
"fit",
|
624
|
+
"alt",
|
625
|
+
"width",
|
626
|
+
"height",
|
627
|
+
"radius",
|
628
|
+
"round",
|
629
|
+
"lazy-load",
|
630
|
+
"show-error",
|
631
|
+
"show-loading",
|
632
|
+
"error-icon",
|
633
|
+
"loading-icon",
|
634
|
+
"icon-size",
|
635
|
+
"icon-prefix"
|
636
|
+
]
|
637
|
+
},
|
638
638
|
"van-list": {
|
639
639
|
"attributes": [
|
640
640
|
"v-model:loading",
|
@@ -648,16 +648,6 @@
|
|
648
648
|
"direction"
|
649
649
|
]
|
650
650
|
},
|
651
|
-
"van-loading": {
|
652
|
-
"attributes": [
|
653
|
-
"color",
|
654
|
-
"type",
|
655
|
-
"size",
|
656
|
-
"text-size",
|
657
|
-
"text-color",
|
658
|
-
"vertical"
|
659
|
-
]
|
660
|
-
},
|
661
651
|
"van-nav-bar": {
|
662
652
|
"attributes": [
|
663
653
|
"title",
|
@@ -671,6 +661,16 @@
|
|
671
661
|
"safe-area-inset-top"
|
672
662
|
]
|
673
663
|
},
|
664
|
+
"van-loading": {
|
665
|
+
"attributes": [
|
666
|
+
"color",
|
667
|
+
"type",
|
668
|
+
"size",
|
669
|
+
"text-size",
|
670
|
+
"text-color",
|
671
|
+
"vertical"
|
672
|
+
]
|
673
|
+
},
|
674
674
|
"van-notice-bar": {
|
675
675
|
"attributes": [
|
676
676
|
"mode",
|
@@ -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",
|