vant 2.12.48 → 2.12.50
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/README.md +11 -11
- package/README.zh-CN.md +9 -9
- package/changelog.generated.md +15 -0
- package/es/button/index.less +1 -1
- package/es/calendar/index.js +2 -2
- package/es/collapse-item/index.less +1 -1
- package/es/count-down/index.js +1 -1
- package/es/datetime-picker/DatePicker.js +1 -1
- package/es/datetime-picker/TimePicker.js +1 -1
- package/es/datetime-picker/shared.js +1 -1
- package/es/field/index.js +3 -3
- package/es/grid-item/index.less +1 -1
- package/es/index.js +1 -1
- package/es/locale/lang/vi-VN.js +18 -18
- package/es/mixins/touch.js +1 -1
- package/es/nav-bar/index.js +1 -1
- package/es/notice-bar/index.js +1 -1
- package/es/number-keyboard/Key.js +1 -1
- package/es/picker/index.js +2 -2
- package/es/sidebar-item/index.less +1 -1
- package/es/stepper/index.js +1 -1
- package/es/swipe/index.less +1 -1
- package/es/switch/index.less +1 -1
- package/es/switch-cell/index.js +1 -1
- package/es/tabbar/index.js +1 -1
- package/es/tabs/index.js +1 -1
- package/es/toast/index.less +1 -1
- package/es/uploader/index.js +1 -1
- package/es/utils/dom/scroll.js +1 -1
- package/es/utils/index.js +1 -1
- package/lib/button/index.less +1 -1
- package/lib/calendar/index.js +2 -2
- package/lib/collapse-item/index.less +1 -1
- package/lib/count-down/index.js +1 -1
- package/lib/datetime-picker/DatePicker.js +1 -1
- package/lib/datetime-picker/TimePicker.js +1 -1
- package/lib/datetime-picker/shared.js +1 -1
- package/lib/field/index.js +3 -3
- package/lib/grid-item/index.less +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/lang/vi-VN.js +18 -18
- package/lib/mixins/touch.js +1 -1
- package/lib/nav-bar/index.js +1 -1
- package/lib/notice-bar/index.js +1 -1
- package/lib/number-keyboard/Key.js +1 -1
- package/lib/picker/index.js +2 -2
- package/lib/sidebar-item/index.less +1 -1
- package/lib/stepper/index.js +1 -1
- package/lib/swipe/index.less +1 -1
- package/lib/switch/index.less +1 -1
- package/lib/switch-cell/index.js +1 -1
- package/lib/tabbar/index.js +1 -1
- package/lib/tabs/index.js +1 -1
- package/lib/toast/index.less +1 -1
- package/lib/uploader/index.js +1 -1
- package/lib/utils/dom/scroll.js +1 -1
- package/lib/utils/index.js +1 -1
- package/lib/vant.js +22 -22
- package/lib/vant.min.js +2 -2
- package/package.json +3 -3
- package/types/image-preview.d.ts +1 -0
- package/vetur/attributes.json +336 -336
- package/vetur/tags.json +123 -123
- package/vetur/web-types.json +1056 -1056
package/vetur/tags.json
CHANGED
@@ -46,6 +46,17 @@
|
|
46
46
|
"validator"
|
47
47
|
]
|
48
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
|
+
},
|
49
60
|
"van-area": {
|
50
61
|
"attributes": [
|
51
62
|
"value",
|
@@ -63,15 +74,38 @@
|
|
63
74
|
"is-oversea-code"
|
64
75
|
]
|
65
76
|
},
|
66
|
-
"van-
|
77
|
+
"van-badge": {
|
67
78
|
"attributes": [
|
68
|
-
"
|
69
|
-
"
|
70
|
-
"
|
71
|
-
"
|
72
|
-
|
73
|
-
|
74
|
-
|
79
|
+
"content",
|
80
|
+
"color",
|
81
|
+
"dot",
|
82
|
+
"max"
|
83
|
+
]
|
84
|
+
},
|
85
|
+
"van-button": {
|
86
|
+
"attributes": [
|
87
|
+
"type",
|
88
|
+
"size",
|
89
|
+
"text",
|
90
|
+
"color",
|
91
|
+
"icon",
|
92
|
+
"icon-prefix",
|
93
|
+
"icon-position",
|
94
|
+
"tag",
|
95
|
+
"native-type",
|
96
|
+
"block",
|
97
|
+
"plain",
|
98
|
+
"square",
|
99
|
+
"round",
|
100
|
+
"disabled",
|
101
|
+
"hairline",
|
102
|
+
"loading",
|
103
|
+
"loading-text",
|
104
|
+
"loading-type",
|
105
|
+
"loading-size",
|
106
|
+
"url",
|
107
|
+
"to",
|
108
|
+
"replace"
|
75
109
|
]
|
76
110
|
},
|
77
111
|
"van-calendar": {
|
@@ -135,40 +169,6 @@
|
|
135
169
|
"field-names"
|
136
170
|
]
|
137
171
|
},
|
138
|
-
"van-badge": {
|
139
|
-
"attributes": [
|
140
|
-
"content",
|
141
|
-
"color",
|
142
|
-
"dot",
|
143
|
-
"max"
|
144
|
-
]
|
145
|
-
},
|
146
|
-
"van-button": {
|
147
|
-
"attributes": [
|
148
|
-
"type",
|
149
|
-
"size",
|
150
|
-
"text",
|
151
|
-
"color",
|
152
|
-
"icon",
|
153
|
-
"icon-prefix",
|
154
|
-
"icon-position",
|
155
|
-
"tag",
|
156
|
-
"native-type",
|
157
|
-
"block",
|
158
|
-
"plain",
|
159
|
-
"square",
|
160
|
-
"round",
|
161
|
-
"disabled",
|
162
|
-
"hairline",
|
163
|
-
"loading",
|
164
|
-
"loading-text",
|
165
|
-
"loading-type",
|
166
|
-
"loading-size",
|
167
|
-
"url",
|
168
|
-
"to",
|
169
|
-
"replace"
|
170
|
-
]
|
171
|
-
},
|
172
172
|
"van-cell": {
|
173
173
|
"attributes": [
|
174
174
|
"title",
|
@@ -194,38 +194,6 @@
|
|
194
194
|
"label-class"
|
195
195
|
]
|
196
196
|
},
|
197
|
-
"van-layout": {
|
198
|
-
"attributes": [
|
199
|
-
"type",
|
200
|
-
"gutter",
|
201
|
-
"tag",
|
202
|
-
"justify",
|
203
|
-
"align",
|
204
|
-
"span",
|
205
|
-
"offset",
|
206
|
-
"tag"
|
207
|
-
]
|
208
|
-
},
|
209
|
-
"van-collapse": {
|
210
|
-
"attributes": [
|
211
|
-
"v-model",
|
212
|
-
"accordion",
|
213
|
-
"border",
|
214
|
-
"name",
|
215
|
-
"icon",
|
216
|
-
"size",
|
217
|
-
"title",
|
218
|
-
"value",
|
219
|
-
"label",
|
220
|
-
"border",
|
221
|
-
"is-link",
|
222
|
-
"disabled",
|
223
|
-
"lazy-render",
|
224
|
-
"title-class",
|
225
|
-
"value-class",
|
226
|
-
"label-class"
|
227
|
-
]
|
228
|
-
},
|
229
197
|
"van-checkbox": {
|
230
198
|
"attributes": [
|
231
199
|
"v-model (value)",
|
@@ -260,6 +228,38 @@
|
|
260
228
|
"clockwise"
|
261
229
|
]
|
262
230
|
},
|
231
|
+
"van-layout": {
|
232
|
+
"attributes": [
|
233
|
+
"type",
|
234
|
+
"gutter",
|
235
|
+
"tag",
|
236
|
+
"justify",
|
237
|
+
"align",
|
238
|
+
"span",
|
239
|
+
"offset",
|
240
|
+
"tag"
|
241
|
+
]
|
242
|
+
},
|
243
|
+
"van-collapse": {
|
244
|
+
"attributes": [
|
245
|
+
"v-model",
|
246
|
+
"accordion",
|
247
|
+
"border",
|
248
|
+
"name",
|
249
|
+
"icon",
|
250
|
+
"size",
|
251
|
+
"title",
|
252
|
+
"value",
|
253
|
+
"label",
|
254
|
+
"border",
|
255
|
+
"is-link",
|
256
|
+
"disabled",
|
257
|
+
"lazy-render",
|
258
|
+
"title-class",
|
259
|
+
"value-class",
|
260
|
+
"label-class"
|
261
|
+
]
|
262
|
+
},
|
263
263
|
"van-contact-card": {
|
264
264
|
"attributes": [
|
265
265
|
"type",
|
@@ -346,13 +346,6 @@
|
|
346
346
|
"max-minute"
|
347
347
|
]
|
348
348
|
},
|
349
|
-
"van-divider": {
|
350
|
-
"attributes": [
|
351
|
-
"dashed",
|
352
|
-
"hairline",
|
353
|
-
"content-position"
|
354
|
-
]
|
355
|
-
},
|
356
349
|
"van-dialog": {
|
357
350
|
"attributes": [
|
358
351
|
"v-model",
|
@@ -380,6 +373,13 @@
|
|
380
373
|
"get-container"
|
381
374
|
]
|
382
375
|
},
|
376
|
+
"van-divider": {
|
377
|
+
"attributes": [
|
378
|
+
"dashed",
|
379
|
+
"hairline",
|
380
|
+
"content-position"
|
381
|
+
]
|
382
|
+
},
|
383
383
|
"van-dropdown-menu": {
|
384
384
|
"attributes": [
|
385
385
|
"active-color",
|
@@ -461,27 +461,6 @@
|
|
461
461
|
"submit-on-enter"
|
462
462
|
]
|
463
463
|
},
|
464
|
-
"van-grid": {
|
465
|
-
"attributes": [
|
466
|
-
"column-num",
|
467
|
-
"icon-size",
|
468
|
-
"gutter",
|
469
|
-
"border",
|
470
|
-
"center",
|
471
|
-
"square",
|
472
|
-
"clickable",
|
473
|
-
"direction",
|
474
|
-
"text",
|
475
|
-
"icon",
|
476
|
-
"icon-prefix",
|
477
|
-
"dot",
|
478
|
-
"badge",
|
479
|
-
"info",
|
480
|
-
"url",
|
481
|
-
"to",
|
482
|
-
"replace"
|
483
|
-
]
|
484
|
-
},
|
485
464
|
"van-goods-action": {
|
486
465
|
"attributes": [
|
487
466
|
"safe-area-inset-bottom",
|
@@ -506,6 +485,27 @@
|
|
506
485
|
"replace"
|
507
486
|
]
|
508
487
|
},
|
488
|
+
"van-grid": {
|
489
|
+
"attributes": [
|
490
|
+
"column-num",
|
491
|
+
"icon-size",
|
492
|
+
"gutter",
|
493
|
+
"border",
|
494
|
+
"center",
|
495
|
+
"square",
|
496
|
+
"clickable",
|
497
|
+
"direction",
|
498
|
+
"text",
|
499
|
+
"icon",
|
500
|
+
"icon-prefix",
|
501
|
+
"dot",
|
502
|
+
"badge",
|
503
|
+
"info",
|
504
|
+
"url",
|
505
|
+
"to",
|
506
|
+
"replace"
|
507
|
+
]
|
508
|
+
},
|
509
509
|
"van-icon": {
|
510
510
|
"attributes": [
|
511
511
|
"name",
|
@@ -518,16 +518,6 @@
|
|
518
518
|
"tag"
|
519
519
|
]
|
520
520
|
},
|
521
|
-
"van-index-bar": {
|
522
|
-
"attributes": [
|
523
|
-
"index-list",
|
524
|
-
"z-index",
|
525
|
-
"sticky",
|
526
|
-
"sticky-offset-top",
|
527
|
-
"highlight-color",
|
528
|
-
"index"
|
529
|
-
]
|
530
|
-
},
|
531
521
|
"van-image": {
|
532
522
|
"attributes": [
|
533
523
|
"src",
|
@@ -566,6 +556,16 @@
|
|
566
556
|
"get-container"
|
567
557
|
]
|
568
558
|
},
|
559
|
+
"van-index-bar": {
|
560
|
+
"attributes": [
|
561
|
+
"index-list",
|
562
|
+
"z-index",
|
563
|
+
"sticky",
|
564
|
+
"sticky-offset-top",
|
565
|
+
"highlight-color",
|
566
|
+
"index"
|
567
|
+
]
|
568
|
+
},
|
569
569
|
"van-lazyload": {
|
570
570
|
"attributes": []
|
571
571
|
},
|
@@ -675,6 +675,17 @@
|
|
675
675
|
"icon"
|
676
676
|
]
|
677
677
|
},
|
678
|
+
"van-password-input": {
|
679
|
+
"attributes": [
|
680
|
+
"value",
|
681
|
+
"info",
|
682
|
+
"error-info",
|
683
|
+
"length",
|
684
|
+
"gutter",
|
685
|
+
"mask",
|
686
|
+
"focused"
|
687
|
+
]
|
688
|
+
},
|
678
689
|
"van-picker": {
|
679
690
|
"attributes": [
|
680
691
|
"columns",
|
@@ -693,17 +704,6 @@
|
|
693
704
|
"swipe-duration"
|
694
705
|
]
|
695
706
|
},
|
696
|
-
"van-password-input": {
|
697
|
-
"attributes": [
|
698
|
-
"value",
|
699
|
-
"info",
|
700
|
-
"error-info",
|
701
|
-
"length",
|
702
|
-
"gutter",
|
703
|
-
"mask",
|
704
|
-
"focused"
|
705
|
-
]
|
706
|
-
},
|
707
707
|
"van-popover": {
|
708
708
|
"attributes": [
|
709
709
|
"v-model",
|