vant 3.5.0 → 3.5.1
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.mjs +3 -0
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/popup/Popup.mjs +1 -1
- package/es/pull-refresh/PullRefresh.d.ts +2 -1
- package/es/pull-refresh/PullRefresh.mjs +5 -1
- package/es/pull-refresh/index.d.ts +2 -1
- package/es/toast/function-call.d.ts +5 -6
- package/es/toast/types.d.ts +10 -1
- package/es/uploader/Uploader.d.ts +3 -3
- package/es/uploader/index.d.ts +2 -2
- package/lib/calendar/Calendar.js +3 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/popup/Popup.js +1 -1
- package/lib/pull-refresh/PullRefresh.d.ts +2 -1
- package/lib/pull-refresh/PullRefresh.js +5 -1
- package/lib/pull-refresh/index.d.ts +2 -1
- package/lib/toast/function-call.d.ts +5 -6
- package/lib/toast/types.d.ts +10 -1
- package/lib/uploader/Uploader.d.ts +3 -3
- package/lib/uploader/index.d.ts +2 -2
- package/lib/vant.cjs.js +10 -3
- package/lib/vant.cjs.min.js +1 -1
- package/lib/vant.es.js +10 -3
- package/lib/vant.es.min.js +10 -3
- package/lib/vant.js +10 -3
- package/lib/vant.min.js +1 -1
- package/package.json +1 -1
- package/vetur/attributes.json +526 -526
- package/vetur/tags.json +176 -176
- package/vetur/web-types.json +1581 -1572
package/vetur/tags.json
CHANGED
@@ -32,6 +32,30 @@
|
|
32
32
|
"replace"
|
33
33
|
]
|
34
34
|
},
|
35
|
+
"van-action-sheet": {
|
36
|
+
"attributes": [
|
37
|
+
"v-model:show",
|
38
|
+
"actions",
|
39
|
+
"title",
|
40
|
+
"cancel-text",
|
41
|
+
"description",
|
42
|
+
"closeable",
|
43
|
+
"close-icon",
|
44
|
+
"duration",
|
45
|
+
"round",
|
46
|
+
"overlay",
|
47
|
+
"overlay-class",
|
48
|
+
"overlay-style",
|
49
|
+
"lock-scroll",
|
50
|
+
"lazy-render",
|
51
|
+
"close-on-popstate",
|
52
|
+
"close-on-click-action",
|
53
|
+
"close-on-click-overlay",
|
54
|
+
"safe-area-inset-bottom",
|
55
|
+
"teleport",
|
56
|
+
"before-close"
|
57
|
+
]
|
58
|
+
},
|
35
59
|
"van-address-edit": {
|
36
60
|
"attributes": [
|
37
61
|
"area-list",
|
@@ -58,28 +82,26 @@
|
|
58
82
|
"validator"
|
59
83
|
]
|
60
84
|
},
|
61
|
-
"van-
|
85
|
+
"van-badge": {
|
62
86
|
"attributes": [
|
63
|
-
"
|
64
|
-
"
|
65
|
-
"
|
66
|
-
"
|
67
|
-
"
|
68
|
-
"
|
69
|
-
"
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
"
|
75
|
-
"
|
76
|
-
"
|
77
|
-
"
|
78
|
-
"
|
79
|
-
"
|
80
|
-
"
|
81
|
-
"teleport",
|
82
|
-
"before-close"
|
87
|
+
"content",
|
88
|
+
"color",
|
89
|
+
"dot",
|
90
|
+
"max",
|
91
|
+
"offset",
|
92
|
+
"show-zero",
|
93
|
+
"position"
|
94
|
+
]
|
95
|
+
},
|
96
|
+
"van-address-list": {
|
97
|
+
"attributes": [
|
98
|
+
"v-model",
|
99
|
+
"list",
|
100
|
+
"disabled-list",
|
101
|
+
"disabled-text",
|
102
|
+
"switchable",
|
103
|
+
"add-button-text",
|
104
|
+
"default-tag-text"
|
83
105
|
]
|
84
106
|
},
|
85
107
|
"van-area": {
|
@@ -99,28 +121,6 @@
|
|
99
121
|
"is-oversea-code"
|
100
122
|
]
|
101
123
|
},
|
102
|
-
"van-address-list": {
|
103
|
-
"attributes": [
|
104
|
-
"v-model",
|
105
|
-
"list",
|
106
|
-
"disabled-list",
|
107
|
-
"disabled-text",
|
108
|
-
"switchable",
|
109
|
-
"add-button-text",
|
110
|
-
"default-tag-text"
|
111
|
-
]
|
112
|
-
},
|
113
|
-
"van-badge": {
|
114
|
-
"attributes": [
|
115
|
-
"content",
|
116
|
-
"color",
|
117
|
-
"dot",
|
118
|
-
"max",
|
119
|
-
"offset",
|
120
|
-
"show-zero",
|
121
|
-
"position"
|
122
|
-
]
|
123
|
-
},
|
124
124
|
"van-button": {
|
125
125
|
"attributes": [
|
126
126
|
"type",
|
@@ -280,22 +280,6 @@
|
|
280
280
|
"start-position"
|
281
281
|
]
|
282
282
|
},
|
283
|
-
"van-row": {
|
284
|
-
"attributes": [
|
285
|
-
"gutter",
|
286
|
-
"tag",
|
287
|
-
"justify",
|
288
|
-
"align",
|
289
|
-
"wrap"
|
290
|
-
]
|
291
|
-
},
|
292
|
-
"van-col": {
|
293
|
-
"attributes": [
|
294
|
-
"span",
|
295
|
-
"offset",
|
296
|
-
"tag"
|
297
|
-
]
|
298
|
-
},
|
299
283
|
"van-collapse": {
|
300
284
|
"attributes": [
|
301
285
|
"v-model",
|
@@ -321,6 +305,22 @@
|
|
321
305
|
"label-class"
|
322
306
|
]
|
323
307
|
},
|
308
|
+
"van-row": {
|
309
|
+
"attributes": [
|
310
|
+
"gutter",
|
311
|
+
"tag",
|
312
|
+
"justify",
|
313
|
+
"align",
|
314
|
+
"wrap"
|
315
|
+
]
|
316
|
+
},
|
317
|
+
"van-col": {
|
318
|
+
"attributes": [
|
319
|
+
"span",
|
320
|
+
"offset",
|
321
|
+
"tag"
|
322
|
+
]
|
323
|
+
},
|
324
324
|
"van-config-provider": {
|
325
325
|
"attributes": [
|
326
326
|
"theme-vars",
|
@@ -364,36 +364,6 @@
|
|
364
364
|
"millisecond"
|
365
365
|
]
|
366
366
|
},
|
367
|
-
"van-coupon-cell": {
|
368
|
-
"attributes": [
|
369
|
-
"title",
|
370
|
-
"chosen-coupon",
|
371
|
-
"coupons",
|
372
|
-
"editable",
|
373
|
-
"border",
|
374
|
-
"currency"
|
375
|
-
]
|
376
|
-
},
|
377
|
-
"van-coupon-list": {
|
378
|
-
"attributes": [
|
379
|
-
"v-model",
|
380
|
-
"chosen-coupon",
|
381
|
-
"coupons",
|
382
|
-
"disabled-coupons",
|
383
|
-
"enabled-title",
|
384
|
-
"disabled-title",
|
385
|
-
"exchange-button-text",
|
386
|
-
"exchange-button-loading",
|
387
|
-
"exchange-button-disabled",
|
388
|
-
"exchange-min-length",
|
389
|
-
"displayed-coupon-index",
|
390
|
-
"close-button-text",
|
391
|
-
"input-placeholder",
|
392
|
-
"currency",
|
393
|
-
"empty-image",
|
394
|
-
"show-count"
|
395
|
-
]
|
396
|
-
},
|
397
367
|
"van-datetime-picker": {
|
398
368
|
"attributes": [
|
399
369
|
"type",
|
@@ -425,6 +395,36 @@
|
|
425
395
|
"max-minute"
|
426
396
|
]
|
427
397
|
},
|
398
|
+
"van-coupon-cell": {
|
399
|
+
"attributes": [
|
400
|
+
"title",
|
401
|
+
"chosen-coupon",
|
402
|
+
"coupons",
|
403
|
+
"editable",
|
404
|
+
"border",
|
405
|
+
"currency"
|
406
|
+
]
|
407
|
+
},
|
408
|
+
"van-coupon-list": {
|
409
|
+
"attributes": [
|
410
|
+
"v-model",
|
411
|
+
"chosen-coupon",
|
412
|
+
"coupons",
|
413
|
+
"disabled-coupons",
|
414
|
+
"enabled-title",
|
415
|
+
"disabled-title",
|
416
|
+
"exchange-button-text",
|
417
|
+
"exchange-button-loading",
|
418
|
+
"exchange-button-disabled",
|
419
|
+
"exchange-min-length",
|
420
|
+
"displayed-coupon-index",
|
421
|
+
"close-button-text",
|
422
|
+
"input-placeholder",
|
423
|
+
"currency",
|
424
|
+
"empty-image",
|
425
|
+
"show-count"
|
426
|
+
]
|
427
|
+
},
|
428
428
|
"van-dialog": {
|
429
429
|
"attributes": [
|
430
430
|
"v-model:show",
|
@@ -532,23 +532,6 @@
|
|
532
532
|
"enterkeyhint"
|
533
533
|
]
|
534
534
|
},
|
535
|
-
"van-form": {
|
536
|
-
"attributes": [
|
537
|
-
"label-width",
|
538
|
-
"label-align",
|
539
|
-
"input-align",
|
540
|
-
"error-message-align",
|
541
|
-
"validate-trigger",
|
542
|
-
"colon",
|
543
|
-
"disabled",
|
544
|
-
"readonly",
|
545
|
-
"validate-first",
|
546
|
-
"scroll-to-error",
|
547
|
-
"show-error",
|
548
|
-
"show-error-message",
|
549
|
-
"submit-on-enter"
|
550
|
-
]
|
551
|
-
},
|
552
535
|
"van-grid": {
|
553
536
|
"attributes": [
|
554
537
|
"column-num",
|
@@ -576,6 +559,23 @@
|
|
576
559
|
"replace"
|
577
560
|
]
|
578
561
|
},
|
562
|
+
"van-form": {
|
563
|
+
"attributes": [
|
564
|
+
"label-width",
|
565
|
+
"label-align",
|
566
|
+
"input-align",
|
567
|
+
"error-message-align",
|
568
|
+
"validate-trigger",
|
569
|
+
"colon",
|
570
|
+
"disabled",
|
571
|
+
"readonly",
|
572
|
+
"validate-first",
|
573
|
+
"scroll-to-error",
|
574
|
+
"show-error",
|
575
|
+
"show-error-message",
|
576
|
+
"submit-on-enter"
|
577
|
+
]
|
578
|
+
},
|
579
579
|
"van-icon": {
|
580
580
|
"attributes": [
|
581
581
|
"name",
|
@@ -715,6 +715,17 @@
|
|
715
715
|
"random-key-order"
|
716
716
|
]
|
717
717
|
},
|
718
|
+
"van-overlay": {
|
719
|
+
"attributes": [
|
720
|
+
"show",
|
721
|
+
"z-index",
|
722
|
+
"duration",
|
723
|
+
"class-name",
|
724
|
+
"custom-class",
|
725
|
+
"lock-scroll",
|
726
|
+
"lazy-render"
|
727
|
+
]
|
728
|
+
},
|
718
729
|
"van-pagination": {
|
719
730
|
"attributes": [
|
720
731
|
"v-model",
|
@@ -728,17 +739,6 @@
|
|
728
739
|
"force-ellipses"
|
729
740
|
]
|
730
741
|
},
|
731
|
-
"van-overlay": {
|
732
|
-
"attributes": [
|
733
|
-
"show",
|
734
|
-
"z-index",
|
735
|
-
"duration",
|
736
|
-
"class-name",
|
737
|
-
"custom-class",
|
738
|
-
"lock-scroll",
|
739
|
-
"lazy-render"
|
740
|
-
]
|
741
|
-
},
|
742
742
|
"van-password-input": {
|
743
743
|
"attributes": [
|
744
744
|
"value",
|
@@ -787,44 +787,6 @@
|
|
787
787
|
"icon-prefix"
|
788
788
|
]
|
789
789
|
},
|
790
|
-
"van-popup": {
|
791
|
-
"attributes": [
|
792
|
-
"v-model:show",
|
793
|
-
"overlay",
|
794
|
-
"position",
|
795
|
-
"overlay-class",
|
796
|
-
"overlay-style",
|
797
|
-
"duration",
|
798
|
-
"round",
|
799
|
-
"lock-scroll",
|
800
|
-
"lazy-render",
|
801
|
-
"close-on-popstate",
|
802
|
-
"close-on-click-overlay",
|
803
|
-
"closeable",
|
804
|
-
"close-icon",
|
805
|
-
"close-icon-position",
|
806
|
-
"before-close",
|
807
|
-
"icon-prefix",
|
808
|
-
"transition",
|
809
|
-
"transition-appear",
|
810
|
-
"teleport",
|
811
|
-
"safe-area-inset-top",
|
812
|
-
"safe-area-inset-bottom"
|
813
|
-
]
|
814
|
-
},
|
815
|
-
"van-progress": {
|
816
|
-
"attributes": [
|
817
|
-
"percentage",
|
818
|
-
"stroke-width",
|
819
|
-
"color",
|
820
|
-
"track-color",
|
821
|
-
"pivot-text",
|
822
|
-
"pivot-color",
|
823
|
-
"text-color",
|
824
|
-
"inactive",
|
825
|
-
"show-pivot"
|
826
|
-
]
|
827
|
-
},
|
828
790
|
"van-pull-refresh": {
|
829
791
|
"attributes": [
|
830
792
|
"v-model",
|
@@ -859,6 +821,44 @@
|
|
859
821
|
"checked-color"
|
860
822
|
]
|
861
823
|
},
|
824
|
+
"van-progress": {
|
825
|
+
"attributes": [
|
826
|
+
"percentage",
|
827
|
+
"stroke-width",
|
828
|
+
"color",
|
829
|
+
"track-color",
|
830
|
+
"pivot-text",
|
831
|
+
"pivot-color",
|
832
|
+
"text-color",
|
833
|
+
"inactive",
|
834
|
+
"show-pivot"
|
835
|
+
]
|
836
|
+
},
|
837
|
+
"van-popup": {
|
838
|
+
"attributes": [
|
839
|
+
"v-model:show",
|
840
|
+
"overlay",
|
841
|
+
"position",
|
842
|
+
"overlay-class",
|
843
|
+
"overlay-style",
|
844
|
+
"duration",
|
845
|
+
"round",
|
846
|
+
"lock-scroll",
|
847
|
+
"lazy-render",
|
848
|
+
"close-on-popstate",
|
849
|
+
"close-on-click-overlay",
|
850
|
+
"closeable",
|
851
|
+
"close-icon",
|
852
|
+
"close-icon-position",
|
853
|
+
"before-close",
|
854
|
+
"icon-prefix",
|
855
|
+
"transition",
|
856
|
+
"transition-appear",
|
857
|
+
"teleport",
|
858
|
+
"safe-area-inset-top",
|
859
|
+
"safe-area-inset-bottom"
|
860
|
+
]
|
861
|
+
},
|
862
862
|
"van-rate": {
|
863
863
|
"attributes": [
|
864
864
|
"v-model",
|
@@ -974,6 +974,15 @@
|
|
974
974
|
"vertical"
|
975
975
|
]
|
976
976
|
},
|
977
|
+
"van-sticky": {
|
978
|
+
"attributes": [
|
979
|
+
"position",
|
980
|
+
"offset-top",
|
981
|
+
"offset-bottom",
|
982
|
+
"z-index",
|
983
|
+
"container"
|
984
|
+
]
|
985
|
+
},
|
977
986
|
"van-stepper": {
|
978
987
|
"attributes": [
|
979
988
|
"v-model",
|
@@ -1015,15 +1024,6 @@
|
|
1015
1024
|
"van-step": {
|
1016
1025
|
"attributes": []
|
1017
1026
|
},
|
1018
|
-
"van-sticky": {
|
1019
|
-
"attributes": [
|
1020
|
-
"position",
|
1021
|
-
"offset-top",
|
1022
|
-
"offset-bottom",
|
1023
|
-
"z-index",
|
1024
|
-
"container"
|
1025
|
-
]
|
1026
|
-
},
|
1027
1027
|
"van-submit-bar": {
|
1028
1028
|
"attributes": [
|
1029
1029
|
"price",
|
@@ -1071,6 +1071,18 @@
|
|
1071
1071
|
"stop-propagation"
|
1072
1072
|
]
|
1073
1073
|
},
|
1074
|
+
"van-switch": {
|
1075
|
+
"attributes": [
|
1076
|
+
"v-model",
|
1077
|
+
"loading",
|
1078
|
+
"disabled",
|
1079
|
+
"size",
|
1080
|
+
"active-color",
|
1081
|
+
"inactive-color",
|
1082
|
+
"active-value",
|
1083
|
+
"inactive-value"
|
1084
|
+
]
|
1085
|
+
},
|
1074
1086
|
"van-tabs": {
|
1075
1087
|
"attributes": [
|
1076
1088
|
"v-model:active",
|
@@ -1110,18 +1122,6 @@
|
|
1110
1122
|
"show-zero-badge"
|
1111
1123
|
]
|
1112
1124
|
},
|
1113
|
-
"van-switch": {
|
1114
|
-
"attributes": [
|
1115
|
-
"v-model",
|
1116
|
-
"loading",
|
1117
|
-
"disabled",
|
1118
|
-
"size",
|
1119
|
-
"active-color",
|
1120
|
-
"inactive-color",
|
1121
|
-
"active-value",
|
1122
|
-
"inactive-value"
|
1123
|
-
]
|
1124
|
-
},
|
1125
1125
|
"van-tabbar": {
|
1126
1126
|
"attributes": [
|
1127
1127
|
"v-model",
|