vant 2.12.48 → 2.12.49

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.
Files changed (61) hide show
  1. package/README.md +11 -11
  2. package/README.zh-CN.md +9 -9
  3. package/changelog.generated.md +24 -0
  4. package/es/button/index.less +1 -1
  5. package/es/calendar/index.js +2 -2
  6. package/es/collapse-item/index.less +1 -1
  7. package/es/count-down/index.js +1 -1
  8. package/es/datetime-picker/DatePicker.js +1 -1
  9. package/es/datetime-picker/TimePicker.js +1 -1
  10. package/es/datetime-picker/shared.js +1 -1
  11. package/es/field/index.js +3 -3
  12. package/es/grid-item/index.less +1 -1
  13. package/es/index.js +1 -1
  14. package/es/locale/lang/vi-VN.js +18 -18
  15. package/es/mixins/touch.js +1 -1
  16. package/es/nav-bar/index.js +1 -1
  17. package/es/notice-bar/index.js +1 -1
  18. package/es/number-keyboard/Key.js +1 -1
  19. package/es/picker/index.js +2 -2
  20. package/es/sidebar-item/index.less +1 -1
  21. package/es/stepper/index.js +1 -1
  22. package/es/swipe/index.less +1 -1
  23. package/es/switch/index.less +1 -1
  24. package/es/switch-cell/index.js +1 -1
  25. package/es/tabbar/index.js +1 -1
  26. package/es/tabs/index.js +1 -1
  27. package/es/toast/index.less +1 -1
  28. package/es/utils/dom/scroll.js +1 -1
  29. package/es/utils/index.js +1 -1
  30. package/lib/button/index.less +1 -1
  31. package/lib/calendar/index.js +2 -2
  32. package/lib/collapse-item/index.less +1 -1
  33. package/lib/count-down/index.js +1 -1
  34. package/lib/datetime-picker/DatePicker.js +1 -1
  35. package/lib/datetime-picker/TimePicker.js +1 -1
  36. package/lib/datetime-picker/shared.js +1 -1
  37. package/lib/field/index.js +3 -3
  38. package/lib/grid-item/index.less +1 -1
  39. package/lib/index.js +1 -1
  40. package/lib/locale/lang/vi-VN.js +18 -18
  41. package/lib/mixins/touch.js +1 -1
  42. package/lib/nav-bar/index.js +1 -1
  43. package/lib/notice-bar/index.js +1 -1
  44. package/lib/number-keyboard/Key.js +1 -1
  45. package/lib/picker/index.js +2 -2
  46. package/lib/sidebar-item/index.less +1 -1
  47. package/lib/stepper/index.js +1 -1
  48. package/lib/swipe/index.less +1 -1
  49. package/lib/switch/index.less +1 -1
  50. package/lib/switch-cell/index.js +1 -1
  51. package/lib/tabbar/index.js +1 -1
  52. package/lib/tabs/index.js +1 -1
  53. package/lib/toast/index.less +1 -1
  54. package/lib/utils/dom/scroll.js +1 -1
  55. package/lib/utils/index.js +1 -1
  56. package/lib/vant.js +21 -21
  57. package/lib/vant.min.js +2 -2
  58. package/package.json +3 -3
  59. package/vetur/attributes.json +426 -426
  60. package/vetur/tags.json +137 -137
  61. package/vetur/web-types.json +1074 -1074
package/vetur/tags.json CHANGED
@@ -20,6 +20,17 @@
20
20
  "get-container"
21
21
  ]
22
22
  },
23
+ "van-address-list": {
24
+ "attributes": [
25
+ "v-model",
26
+ "list",
27
+ "disabled-list",
28
+ "disabled-text",
29
+ "switchable",
30
+ "add-button-text",
31
+ "default-tag-text"
32
+ ]
33
+ },
23
34
  "van-address-edit": {
24
35
  "attributes": [
25
36
  "area-list",
@@ -63,15 +74,38 @@
63
74
  "is-oversea-code"
64
75
  ]
65
76
  },
66
- "van-address-list": {
77
+ "van-badge": {
67
78
  "attributes": [
68
- "v-model",
69
- "list",
70
- "disabled-list",
71
- "disabled-text",
72
- "switchable",
73
- "add-button-text",
74
- "default-tag-text"
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",
@@ -268,6 +268,14 @@
268
268
  "add-text"
269
269
  ]
270
270
  },
271
+ "van-contact-list": {
272
+ "attributes": [
273
+ "v-model",
274
+ "list",
275
+ "add-text",
276
+ "default-tag-text"
277
+ ]
278
+ },
271
279
  "van-contact-edit": {
272
280
  "attributes": [
273
281
  "contact-info",
@@ -279,14 +287,6 @@
279
287
  "set-default-label"
280
288
  ]
281
289
  },
282
- "van-contact-list": {
283
- "attributes": [
284
- "v-model",
285
- "list",
286
- "add-text",
287
- "default-tag-text"
288
- ]
289
- },
290
290
  "van-count-down": {
291
291
  "attributes": [
292
292
  "time",
@@ -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,26 +485,25 @@
506
485
  "replace"
507
486
  ]
508
487
  },
509
- "van-icon": {
488
+ "van-grid": {
510
489
  "attributes": [
511
- "name",
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",
512
501
  "dot",
513
502
  "badge",
514
503
  "info",
515
- "color",
516
- "size",
517
- "class-prefix",
518
- "tag"
519
- ]
520
- },
521
- "van-index-bar": {
522
- "attributes": [
523
- "index-list",
524
- "z-index",
525
- "sticky",
526
- "sticky-offset-top",
527
- "highlight-color",
528
- "index"
504
+ "url",
505
+ "to",
506
+ "replace"
529
507
  ]
530
508
  },
531
509
  "van-image": {
@@ -545,6 +523,18 @@
545
523
  "icon-prefix"
546
524
  ]
547
525
  },
526
+ "van-icon": {
527
+ "attributes": [
528
+ "name",
529
+ "dot",
530
+ "badge",
531
+ "info",
532
+ "color",
533
+ "size",
534
+ "class-prefix",
535
+ "tag"
536
+ ]
537
+ },
548
538
  "van-image-preview": {
549
539
  "attributes": [
550
540
  "images",
@@ -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",