vant 3.5.1 → 3.5.2
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/LICENSE +10 -0
- package/es/action-bar/ActionBar.d.ts +4 -0
- package/es/action-bar/ActionBar.mjs +13 -2
- package/es/action-bar/index.d.ts +3 -0
- package/es/field/Field.d.ts +3 -1
- package/es/field/Field.mjs +7 -1
- package/es/field/index.d.ts +3 -1
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/submit-bar/SubmitBar.d.ts +4 -0
- package/es/submit-bar/SubmitBar.mjs +13 -2
- package/es/submit-bar/index.d.ts +3 -0
- package/lib/action-bar/ActionBar.d.ts +4 -0
- package/lib/action-bar/ActionBar.js +12 -1
- package/lib/action-bar/index.d.ts +3 -0
- package/lib/field/Field.d.ts +3 -1
- package/lib/field/Field.js +7 -1
- package/lib/field/index.d.ts +3 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/submit-bar/SubmitBar.d.ts +4 -0
- package/lib/submit-bar/SubmitBar.js +12 -1
- package/lib/submit-bar/index.d.ts +3 -0
- package/lib/vant.cjs.js +50 -24
- package/lib/vant.es.js +51 -25
- package/lib/vant.js +51 -25
- package/lib/vant.min.js +1 -1
- package/package.json +1 -1
- package/vetur/attributes.json +365 -357
- package/vetur/tags.json +130 -128
- package/vetur/web-types.json +1205 -1171
- package/lib/ssr.js +0 -7
- package/lib/ssr.mjs +0 -1
- package/lib/vant.cjs.min.js +0 -1
- package/lib/vant.es.min.js +0 -14667
package/vetur/tags.json
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
{
|
2
2
|
"van-action-bar": {
|
3
3
|
"attributes": [
|
4
|
-
"safe-area-inset-bottom"
|
4
|
+
"safe-area-inset-bottom",
|
5
|
+
"placeholder"
|
5
6
|
]
|
6
7
|
},
|
7
8
|
"van-action-bar-icon": {
|
@@ -82,17 +83,6 @@
|
|
82
83
|
"validator"
|
83
84
|
]
|
84
85
|
},
|
85
|
-
"van-badge": {
|
86
|
-
"attributes": [
|
87
|
-
"content",
|
88
|
-
"color",
|
89
|
-
"dot",
|
90
|
-
"max",
|
91
|
-
"offset",
|
92
|
-
"show-zero",
|
93
|
-
"position"
|
94
|
-
]
|
95
|
-
},
|
96
86
|
"van-address-list": {
|
97
87
|
"attributes": [
|
98
88
|
"v-model",
|
@@ -121,6 +111,17 @@
|
|
121
111
|
"is-oversea-code"
|
122
112
|
]
|
123
113
|
},
|
114
|
+
"van-badge": {
|
115
|
+
"attributes": [
|
116
|
+
"content",
|
117
|
+
"color",
|
118
|
+
"dot",
|
119
|
+
"max",
|
120
|
+
"offset",
|
121
|
+
"show-zero",
|
122
|
+
"position"
|
123
|
+
]
|
124
|
+
},
|
124
125
|
"van-button": {
|
125
126
|
"attributes": [
|
126
127
|
"type",
|
@@ -280,6 +281,22 @@
|
|
280
281
|
"start-position"
|
281
282
|
]
|
282
283
|
},
|
284
|
+
"van-row": {
|
285
|
+
"attributes": [
|
286
|
+
"gutter",
|
287
|
+
"tag",
|
288
|
+
"justify",
|
289
|
+
"align",
|
290
|
+
"wrap"
|
291
|
+
]
|
292
|
+
},
|
293
|
+
"van-col": {
|
294
|
+
"attributes": [
|
295
|
+
"span",
|
296
|
+
"offset",
|
297
|
+
"tag"
|
298
|
+
]
|
299
|
+
},
|
283
300
|
"van-collapse": {
|
284
301
|
"attributes": [
|
285
302
|
"v-model",
|
@@ -305,22 +322,6 @@
|
|
305
322
|
"label-class"
|
306
323
|
]
|
307
324
|
},
|
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
325
|
"van-config-provider": {
|
325
326
|
"attributes": [
|
326
327
|
"theme-vars",
|
@@ -348,6 +349,14 @@
|
|
348
349
|
"set-default-label"
|
349
350
|
]
|
350
351
|
},
|
352
|
+
"van-count-down": {
|
353
|
+
"attributes": [
|
354
|
+
"time",
|
355
|
+
"format",
|
356
|
+
"auto-start",
|
357
|
+
"millisecond"
|
358
|
+
]
|
359
|
+
},
|
351
360
|
"van-contact-list": {
|
352
361
|
"attributes": [
|
353
362
|
"v-model",
|
@@ -356,12 +365,34 @@
|
|
356
365
|
"default-tag-text"
|
357
366
|
]
|
358
367
|
},
|
359
|
-
"van-
|
368
|
+
"van-coupon-cell": {
|
360
369
|
"attributes": [
|
361
|
-
"
|
362
|
-
"
|
363
|
-
"
|
364
|
-
"
|
370
|
+
"title",
|
371
|
+
"chosen-coupon",
|
372
|
+
"coupons",
|
373
|
+
"editable",
|
374
|
+
"border",
|
375
|
+
"currency"
|
376
|
+
]
|
377
|
+
},
|
378
|
+
"van-coupon-list": {
|
379
|
+
"attributes": [
|
380
|
+
"v-model",
|
381
|
+
"chosen-coupon",
|
382
|
+
"coupons",
|
383
|
+
"disabled-coupons",
|
384
|
+
"enabled-title",
|
385
|
+
"disabled-title",
|
386
|
+
"exchange-button-text",
|
387
|
+
"exchange-button-loading",
|
388
|
+
"exchange-button-disabled",
|
389
|
+
"exchange-min-length",
|
390
|
+
"displayed-coupon-index",
|
391
|
+
"close-button-text",
|
392
|
+
"input-placeholder",
|
393
|
+
"currency",
|
394
|
+
"empty-image",
|
395
|
+
"show-count"
|
365
396
|
]
|
366
397
|
},
|
367
398
|
"van-datetime-picker": {
|
@@ -395,36 +426,6 @@
|
|
395
426
|
"max-minute"
|
396
427
|
]
|
397
428
|
},
|
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
429
|
"van-dialog": {
|
429
430
|
"attributes": [
|
430
431
|
"v-model:show",
|
@@ -532,6 +533,23 @@
|
|
532
533
|
"enterkeyhint"
|
533
534
|
]
|
534
535
|
},
|
536
|
+
"van-form": {
|
537
|
+
"attributes": [
|
538
|
+
"label-width",
|
539
|
+
"label-align",
|
540
|
+
"input-align",
|
541
|
+
"error-message-align",
|
542
|
+
"validate-trigger",
|
543
|
+
"colon",
|
544
|
+
"disabled",
|
545
|
+
"readonly",
|
546
|
+
"validate-first",
|
547
|
+
"scroll-to-error",
|
548
|
+
"show-error",
|
549
|
+
"show-error-message",
|
550
|
+
"submit-on-enter"
|
551
|
+
]
|
552
|
+
},
|
535
553
|
"van-grid": {
|
536
554
|
"attributes": [
|
537
555
|
"column-num",
|
@@ -559,23 +577,6 @@
|
|
559
577
|
"replace"
|
560
578
|
]
|
561
579
|
},
|
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
580
|
"van-icon": {
|
580
581
|
"attributes": [
|
581
582
|
"name",
|
@@ -787,6 +788,44 @@
|
|
787
788
|
"icon-prefix"
|
788
789
|
]
|
789
790
|
},
|
791
|
+
"van-popup": {
|
792
|
+
"attributes": [
|
793
|
+
"v-model:show",
|
794
|
+
"overlay",
|
795
|
+
"position",
|
796
|
+
"overlay-class",
|
797
|
+
"overlay-style",
|
798
|
+
"duration",
|
799
|
+
"round",
|
800
|
+
"lock-scroll",
|
801
|
+
"lazy-render",
|
802
|
+
"close-on-popstate",
|
803
|
+
"close-on-click-overlay",
|
804
|
+
"closeable",
|
805
|
+
"close-icon",
|
806
|
+
"close-icon-position",
|
807
|
+
"before-close",
|
808
|
+
"icon-prefix",
|
809
|
+
"transition",
|
810
|
+
"transition-appear",
|
811
|
+
"teleport",
|
812
|
+
"safe-area-inset-top",
|
813
|
+
"safe-area-inset-bottom"
|
814
|
+
]
|
815
|
+
},
|
816
|
+
"van-progress": {
|
817
|
+
"attributes": [
|
818
|
+
"percentage",
|
819
|
+
"stroke-width",
|
820
|
+
"color",
|
821
|
+
"track-color",
|
822
|
+
"pivot-text",
|
823
|
+
"pivot-color",
|
824
|
+
"text-color",
|
825
|
+
"inactive",
|
826
|
+
"show-pivot"
|
827
|
+
]
|
828
|
+
},
|
790
829
|
"van-pull-refresh": {
|
791
830
|
"attributes": [
|
792
831
|
"v-model",
|
@@ -821,44 +860,6 @@
|
|
821
860
|
"checked-color"
|
822
861
|
]
|
823
862
|
},
|
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
863
|
"van-rate": {
|
863
864
|
"attributes": [
|
864
865
|
"v-model",
|
@@ -974,15 +975,6 @@
|
|
974
975
|
"vertical"
|
975
976
|
]
|
976
977
|
},
|
977
|
-
"van-sticky": {
|
978
|
-
"attributes": [
|
979
|
-
"position",
|
980
|
-
"offset-top",
|
981
|
-
"offset-bottom",
|
982
|
-
"z-index",
|
983
|
-
"container"
|
984
|
-
]
|
985
|
-
},
|
986
978
|
"van-stepper": {
|
987
979
|
"attributes": [
|
988
980
|
"v-model",
|
@@ -1024,6 +1016,15 @@
|
|
1024
1016
|
"van-step": {
|
1025
1017
|
"attributes": []
|
1026
1018
|
},
|
1019
|
+
"van-sticky": {
|
1020
|
+
"attributes": [
|
1021
|
+
"position",
|
1022
|
+
"offset-top",
|
1023
|
+
"offset-bottom",
|
1024
|
+
"z-index",
|
1025
|
+
"container"
|
1026
|
+
]
|
1027
|
+
},
|
1027
1028
|
"van-submit-bar": {
|
1028
1029
|
"attributes": [
|
1029
1030
|
"price",
|
@@ -1039,7 +1040,8 @@
|
|
1039
1040
|
"currency",
|
1040
1041
|
"disabled",
|
1041
1042
|
"loading",
|
1042
|
-
"safe-area-inset-bottom"
|
1043
|
+
"safe-area-inset-bottom",
|
1044
|
+
"placeholder"
|
1043
1045
|
]
|
1044
1046
|
},
|
1045
1047
|
"van-swipe": {
|