vant 2.13.7 → 2.13.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/changelog.generated.md +4 -14
- package/es/index.js +1 -1
- package/es/sku/Sku.js +4 -3
- package/lib/index.js +1 -1
- package/lib/sku/Sku.js +4 -3
- package/lib/vant.js +5 -4
- package/lib/vant.min.js +1 -1
- package/package.json +1 -1
- package/vetur/attributes.json +551 -547
- package/vetur/tags.json +195 -194
- package/vetur/web-types.json +1437 -1428
package/vetur/tags.json
CHANGED
@@ -1,13 +1,23 @@
|
|
1
1
|
{
|
2
|
-
"van-
|
2
|
+
"van-action-sheet": {
|
3
3
|
"attributes": [
|
4
|
-
"v-model",
|
5
|
-
"
|
6
|
-
"
|
7
|
-
"
|
8
|
-
"
|
9
|
-
"
|
10
|
-
"
|
4
|
+
"v-model (value)",
|
5
|
+
"actions",
|
6
|
+
"title",
|
7
|
+
"cancel-text",
|
8
|
+
"description",
|
9
|
+
"closeable",
|
10
|
+
"close-icon",
|
11
|
+
"duration",
|
12
|
+
"round",
|
13
|
+
"overlay",
|
14
|
+
"lock-scroll",
|
15
|
+
"lazy-render",
|
16
|
+
"close-on-popstate",
|
17
|
+
"close-on-click-action",
|
18
|
+
"close-on-click-overlay",
|
19
|
+
"safe-area-inset-bottom",
|
20
|
+
"get-container"
|
11
21
|
]
|
12
22
|
},
|
13
23
|
"van-address-edit": {
|
@@ -36,6 +46,17 @@
|
|
36
46
|
"validator"
|
37
47
|
]
|
38
48
|
},
|
49
|
+
"van-address-list": {
|
50
|
+
"attributes": [
|
51
|
+
"v-model",
|
52
|
+
"list",
|
53
|
+
"disabled-list",
|
54
|
+
"disabled-text",
|
55
|
+
"switchable",
|
56
|
+
"add-button-text",
|
57
|
+
"default-tag-text"
|
58
|
+
]
|
59
|
+
},
|
39
60
|
"van-area": {
|
40
61
|
"attributes": [
|
41
62
|
"value",
|
@@ -53,27 +74,6 @@
|
|
53
74
|
"is-oversea-code"
|
54
75
|
]
|
55
76
|
},
|
56
|
-
"van-action-sheet": {
|
57
|
-
"attributes": [
|
58
|
-
"v-model (value)",
|
59
|
-
"actions",
|
60
|
-
"title",
|
61
|
-
"cancel-text",
|
62
|
-
"description",
|
63
|
-
"closeable",
|
64
|
-
"close-icon",
|
65
|
-
"duration",
|
66
|
-
"round",
|
67
|
-
"overlay",
|
68
|
-
"lock-scroll",
|
69
|
-
"lazy-render",
|
70
|
-
"close-on-popstate",
|
71
|
-
"close-on-click-action",
|
72
|
-
"close-on-click-overlay",
|
73
|
-
"safe-area-inset-bottom",
|
74
|
-
"get-container"
|
75
|
-
]
|
76
|
-
},
|
77
77
|
"van-badge": {
|
78
78
|
"attributes": [
|
79
79
|
"content",
|
@@ -154,33 +154,6 @@
|
|
154
154
|
"range-prompt"
|
155
155
|
]
|
156
156
|
},
|
157
|
-
"van-card": {
|
158
|
-
"attributes": [
|
159
|
-
"thumb",
|
160
|
-
"title",
|
161
|
-
"desc",
|
162
|
-
"tag",
|
163
|
-
"num",
|
164
|
-
"price",
|
165
|
-
"origin-price",
|
166
|
-
"centered",
|
167
|
-
"currency",
|
168
|
-
"thumb-link",
|
169
|
-
"lazy-load"
|
170
|
-
]
|
171
|
-
},
|
172
|
-
"van-cascader": {
|
173
|
-
"attributes": [
|
174
|
-
"title",
|
175
|
-
"value",
|
176
|
-
"options",
|
177
|
-
"placeholder",
|
178
|
-
"active-color",
|
179
|
-
"closeable",
|
180
|
-
"show-header",
|
181
|
-
"field-names"
|
182
|
-
]
|
183
|
-
},
|
184
157
|
"van-cell-group": {
|
185
158
|
"attributes": [
|
186
159
|
"title",
|
@@ -210,6 +183,33 @@
|
|
210
183
|
"label-class"
|
211
184
|
]
|
212
185
|
},
|
186
|
+
"van-cascader": {
|
187
|
+
"attributes": [
|
188
|
+
"title",
|
189
|
+
"value",
|
190
|
+
"options",
|
191
|
+
"placeholder",
|
192
|
+
"active-color",
|
193
|
+
"closeable",
|
194
|
+
"show-header",
|
195
|
+
"field-names"
|
196
|
+
]
|
197
|
+
},
|
198
|
+
"van-card": {
|
199
|
+
"attributes": [
|
200
|
+
"thumb",
|
201
|
+
"title",
|
202
|
+
"desc",
|
203
|
+
"tag",
|
204
|
+
"num",
|
205
|
+
"price",
|
206
|
+
"origin-price",
|
207
|
+
"centered",
|
208
|
+
"currency",
|
209
|
+
"thumb-link",
|
210
|
+
"lazy-load"
|
211
|
+
]
|
212
|
+
},
|
213
213
|
"van-checkbox": {
|
214
214
|
"attributes": [
|
215
215
|
"v-model (value)",
|
@@ -288,12 +288,12 @@
|
|
288
288
|
"label-class"
|
289
289
|
]
|
290
290
|
},
|
291
|
-
"van-contact-
|
291
|
+
"van-contact-list": {
|
292
292
|
"attributes": [
|
293
|
-
"
|
294
|
-
"
|
295
|
-
"
|
296
|
-
"
|
293
|
+
"v-model",
|
294
|
+
"list",
|
295
|
+
"add-text",
|
296
|
+
"default-tag-text"
|
297
297
|
]
|
298
298
|
},
|
299
299
|
"van-contact-edit": {
|
@@ -307,12 +307,12 @@
|
|
307
307
|
"set-default-label"
|
308
308
|
]
|
309
309
|
},
|
310
|
-
"van-contact-
|
310
|
+
"van-contact-card": {
|
311
311
|
"attributes": [
|
312
|
-
"
|
313
|
-
"
|
314
|
-
"
|
315
|
-
"
|
312
|
+
"type",
|
313
|
+
"name",
|
314
|
+
"tel",
|
315
|
+
"add-text"
|
316
316
|
]
|
317
317
|
},
|
318
318
|
"van-count-down": {
|
@@ -420,13 +420,6 @@
|
|
420
420
|
"get-container"
|
421
421
|
]
|
422
422
|
},
|
423
|
-
"van-empty": {
|
424
|
-
"attributes": [
|
425
|
-
"image",
|
426
|
-
"image-size",
|
427
|
-
"description"
|
428
|
-
]
|
429
|
-
},
|
430
423
|
"van-dropdown-menu": {
|
431
424
|
"attributes": [
|
432
425
|
"active-color",
|
@@ -449,6 +442,13 @@
|
|
449
442
|
"get-container"
|
450
443
|
]
|
451
444
|
},
|
445
|
+
"van-empty": {
|
446
|
+
"attributes": [
|
447
|
+
"image",
|
448
|
+
"image-size",
|
449
|
+
"description"
|
450
|
+
]
|
451
|
+
},
|
452
452
|
"van-field": {
|
453
453
|
"attributes": [
|
454
454
|
"v-model (value)",
|
@@ -488,23 +488,6 @@
|
|
488
488
|
"autocomplete"
|
489
489
|
]
|
490
490
|
},
|
491
|
-
"van-form": {
|
492
|
-
"attributes": [
|
493
|
-
"label-width",
|
494
|
-
"label-align",
|
495
|
-
"input-align",
|
496
|
-
"error-message-align",
|
497
|
-
"validate-trigger",
|
498
|
-
"colon",
|
499
|
-
"disabled",
|
500
|
-
"readonly",
|
501
|
-
"validate-first",
|
502
|
-
"scroll-to-error",
|
503
|
-
"show-error",
|
504
|
-
"show-error-message",
|
505
|
-
"submit-on-enter"
|
506
|
-
]
|
507
|
-
},
|
508
491
|
"van-goods-action": {
|
509
492
|
"attributes": [
|
510
493
|
"safe-area-inset-bottom"
|
@@ -537,6 +520,35 @@
|
|
537
520
|
"replace"
|
538
521
|
]
|
539
522
|
},
|
523
|
+
"van-form": {
|
524
|
+
"attributes": [
|
525
|
+
"label-width",
|
526
|
+
"label-align",
|
527
|
+
"input-align",
|
528
|
+
"error-message-align",
|
529
|
+
"validate-trigger",
|
530
|
+
"colon",
|
531
|
+
"disabled",
|
532
|
+
"readonly",
|
533
|
+
"validate-first",
|
534
|
+
"scroll-to-error",
|
535
|
+
"show-error",
|
536
|
+
"show-error-message",
|
537
|
+
"submit-on-enter"
|
538
|
+
]
|
539
|
+
},
|
540
|
+
"van-icon": {
|
541
|
+
"attributes": [
|
542
|
+
"name",
|
543
|
+
"dot",
|
544
|
+
"badge",
|
545
|
+
"info",
|
546
|
+
"color",
|
547
|
+
"size",
|
548
|
+
"class-prefix",
|
549
|
+
"tag"
|
550
|
+
]
|
551
|
+
},
|
540
552
|
"van-grid": {
|
541
553
|
"attributes": [
|
542
554
|
"column-num",
|
@@ -562,18 +574,6 @@
|
|
562
574
|
"replace"
|
563
575
|
]
|
564
576
|
},
|
565
|
-
"van-icon": {
|
566
|
-
"attributes": [
|
567
|
-
"name",
|
568
|
-
"dot",
|
569
|
-
"badge",
|
570
|
-
"info",
|
571
|
-
"color",
|
572
|
-
"size",
|
573
|
-
"class-prefix",
|
574
|
-
"tag"
|
575
|
-
]
|
576
|
-
},
|
577
577
|
"van-image": {
|
578
578
|
"attributes": [
|
579
579
|
"src",
|
@@ -591,6 +591,20 @@
|
|
591
591
|
"icon-prefix"
|
592
592
|
]
|
593
593
|
},
|
594
|
+
"van-index-bar": {
|
595
|
+
"attributes": [
|
596
|
+
"index-list",
|
597
|
+
"z-index",
|
598
|
+
"sticky",
|
599
|
+
"sticky-offset-top",
|
600
|
+
"highlight-color"
|
601
|
+
]
|
602
|
+
},
|
603
|
+
"van-index-anchor": {
|
604
|
+
"attributes": [
|
605
|
+
"index"
|
606
|
+
]
|
607
|
+
},
|
594
608
|
"van-image-preview": {
|
595
609
|
"attributes": [
|
596
610
|
"images",
|
@@ -612,20 +626,6 @@
|
|
612
626
|
"get-container"
|
613
627
|
]
|
614
628
|
},
|
615
|
-
"van-index-bar": {
|
616
|
-
"attributes": [
|
617
|
-
"index-list",
|
618
|
-
"z-index",
|
619
|
-
"sticky",
|
620
|
-
"sticky-offset-top",
|
621
|
-
"highlight-color"
|
622
|
-
]
|
623
|
-
},
|
624
|
-
"van-index-anchor": {
|
625
|
-
"attributes": [
|
626
|
-
"index"
|
627
|
-
]
|
628
|
-
},
|
629
629
|
"van-list": {
|
630
630
|
"attributes": [
|
631
631
|
"v-model",
|
@@ -695,16 +695,6 @@
|
|
695
695
|
"random-key-order"
|
696
696
|
]
|
697
697
|
},
|
698
|
-
"van-overlay": {
|
699
|
-
"attributes": [
|
700
|
-
"show",
|
701
|
-
"z-index",
|
702
|
-
"duration",
|
703
|
-
"class-name",
|
704
|
-
"custom-style",
|
705
|
-
"lock-scroll"
|
706
|
-
]
|
707
|
-
},
|
708
698
|
"van-pagination": {
|
709
699
|
"attributes": [
|
710
700
|
"v-model",
|
@@ -718,12 +708,14 @@
|
|
718
708
|
"force-ellipses"
|
719
709
|
]
|
720
710
|
},
|
721
|
-
"van-
|
711
|
+
"van-overlay": {
|
722
712
|
"attributes": [
|
723
|
-
"
|
724
|
-
"
|
725
|
-
"
|
726
|
-
"
|
713
|
+
"show",
|
714
|
+
"z-index",
|
715
|
+
"duration",
|
716
|
+
"class-name",
|
717
|
+
"custom-style",
|
718
|
+
"lock-scroll"
|
727
719
|
]
|
728
720
|
},
|
729
721
|
"van-password-input": {
|
@@ -737,6 +729,27 @@
|
|
737
729
|
"focused"
|
738
730
|
]
|
739
731
|
},
|
732
|
+
"van-panel": {
|
733
|
+
"attributes": [
|
734
|
+
"title",
|
735
|
+
"desc",
|
736
|
+
"status",
|
737
|
+
"icon"
|
738
|
+
]
|
739
|
+
},
|
740
|
+
"van-progress": {
|
741
|
+
"attributes": [
|
742
|
+
"percentage",
|
743
|
+
"stroke-width",
|
744
|
+
"color",
|
745
|
+
"track-color",
|
746
|
+
"pivot-text",
|
747
|
+
"pivot-color",
|
748
|
+
"text-color",
|
749
|
+
"inactive",
|
750
|
+
"show-pivot"
|
751
|
+
]
|
752
|
+
},
|
740
753
|
"van-picker": {
|
741
754
|
"attributes": [
|
742
755
|
"columns",
|
@@ -755,33 +768,6 @@
|
|
755
768
|
"swipe-duration"
|
756
769
|
]
|
757
770
|
},
|
758
|
-
"van-popover": {
|
759
|
-
"attributes": [
|
760
|
-
"v-model",
|
761
|
-
"actions",
|
762
|
-
"placement",
|
763
|
-
"theme",
|
764
|
-
"trigger",
|
765
|
-
"offset",
|
766
|
-
"overlay",
|
767
|
-
"close-on-click-action",
|
768
|
-
"close-on-click-outside",
|
769
|
-
"get-container"
|
770
|
-
]
|
771
|
-
},
|
772
|
-
"van-progress": {
|
773
|
-
"attributes": [
|
774
|
-
"percentage",
|
775
|
-
"stroke-width",
|
776
|
-
"color",
|
777
|
-
"track-color",
|
778
|
-
"pivot-text",
|
779
|
-
"pivot-color",
|
780
|
-
"text-color",
|
781
|
-
"inactive",
|
782
|
-
"show-pivot"
|
783
|
-
]
|
784
|
-
},
|
785
771
|
"van-popup": {
|
786
772
|
"attributes": [
|
787
773
|
"v-model (value)",
|
@@ -804,18 +790,18 @@
|
|
804
790
|
"safe-area-inset-bottom"
|
805
791
|
]
|
806
792
|
},
|
807
|
-
"van-
|
793
|
+
"van-popover": {
|
808
794
|
"attributes": [
|
809
795
|
"v-model",
|
810
|
-
"
|
811
|
-
"
|
812
|
-
"
|
813
|
-
"
|
814
|
-
"
|
815
|
-
"
|
816
|
-
"
|
817
|
-
"
|
818
|
-
"
|
796
|
+
"actions",
|
797
|
+
"placement",
|
798
|
+
"theme",
|
799
|
+
"trigger",
|
800
|
+
"offset",
|
801
|
+
"overlay",
|
802
|
+
"close-on-click-action",
|
803
|
+
"close-on-click-outside",
|
804
|
+
"get-container"
|
819
805
|
]
|
820
806
|
},
|
821
807
|
"van-radio": {
|
@@ -838,6 +824,20 @@
|
|
838
824
|
"checked-color"
|
839
825
|
]
|
840
826
|
},
|
827
|
+
"van-pull-refresh": {
|
828
|
+
"attributes": [
|
829
|
+
"v-model",
|
830
|
+
"pulling-text",
|
831
|
+
"loosing-text",
|
832
|
+
"loading-text",
|
833
|
+
"success-text",
|
834
|
+
"success-duration",
|
835
|
+
"animation-duration",
|
836
|
+
"head-height",
|
837
|
+
"pull-distance",
|
838
|
+
"disabled"
|
839
|
+
]
|
840
|
+
},
|
841
841
|
"van-rate": {
|
842
842
|
"attributes": [
|
843
843
|
"v-model",
|
@@ -892,6 +892,20 @@
|
|
892
892
|
"get-container"
|
893
893
|
]
|
894
894
|
},
|
895
|
+
"van-skeleton": {
|
896
|
+
"attributes": [
|
897
|
+
"row",
|
898
|
+
"row-width",
|
899
|
+
"title",
|
900
|
+
"avatar",
|
901
|
+
"loading",
|
902
|
+
"animate",
|
903
|
+
"round",
|
904
|
+
"title-width",
|
905
|
+
"avatar-size",
|
906
|
+
"avatar-shape"
|
907
|
+
]
|
908
|
+
},
|
895
909
|
"van-sidebar": {
|
896
910
|
"attributes": [
|
897
911
|
"v-model"
|
@@ -909,20 +923,6 @@
|
|
909
923
|
"replace"
|
910
924
|
]
|
911
925
|
},
|
912
|
-
"van-skeleton": {
|
913
|
-
"attributes": [
|
914
|
-
"row",
|
915
|
-
"row-width",
|
916
|
-
"title",
|
917
|
-
"avatar",
|
918
|
-
"loading",
|
919
|
-
"animate",
|
920
|
-
"round",
|
921
|
-
"title-width",
|
922
|
-
"avatar-size",
|
923
|
-
"avatar-shape"
|
924
|
-
]
|
925
|
-
},
|
926
926
|
"van-slider": {
|
927
927
|
"attributes": [
|
928
928
|
"value",
|
@@ -968,6 +968,7 @@
|
|
968
968
|
"safe-area-inset-bottom",
|
969
969
|
"start-sale-num",
|
970
970
|
"properties",
|
971
|
+
"skuProperties",
|
971
972
|
"preview-on-click-image",
|
972
973
|
"show-header-image",
|
973
974
|
"lazy-load"
|
@@ -1134,6 +1135,18 @@
|
|
1134
1135
|
"title-class"
|
1135
1136
|
]
|
1136
1137
|
},
|
1138
|
+
"van-tag": {
|
1139
|
+
"attributes": [
|
1140
|
+
"type",
|
1141
|
+
"size",
|
1142
|
+
"color",
|
1143
|
+
"plain",
|
1144
|
+
"round",
|
1145
|
+
"mark",
|
1146
|
+
"text-color",
|
1147
|
+
"closeable"
|
1148
|
+
]
|
1149
|
+
},
|
1137
1150
|
"van-tabbar": {
|
1138
1151
|
"attributes": [
|
1139
1152
|
"v-model",
|
@@ -1161,18 +1174,6 @@
|
|
1161
1174
|
"replace"
|
1162
1175
|
]
|
1163
1176
|
},
|
1164
|
-
"van-tag": {
|
1165
|
-
"attributes": [
|
1166
|
-
"type",
|
1167
|
-
"size",
|
1168
|
-
"color",
|
1169
|
-
"plain",
|
1170
|
-
"round",
|
1171
|
-
"mark",
|
1172
|
-
"text-color",
|
1173
|
-
"closeable"
|
1174
|
-
]
|
1175
|
-
},
|
1176
1177
|
"van-tree-select": {
|
1177
1178
|
"attributes": [
|
1178
1179
|
"items",
|