vant 2.12.39 → 2.12.43
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 +3 -3
- package/README.zh-CN.md +4 -4
- package/es/cascader/index.js +20 -13
- package/es/collapse-item/index.js +5 -1
- package/es/icon/index.css +1 -1
- package/es/icon/index.less +1 -0
- package/es/index.js +1 -1
- package/lib/cascader/index.js +20 -13
- package/lib/collapse-item/index.js +5 -1
- package/lib/icon/index.css +1 -1
- package/lib/icon/index.less +1 -0
- package/lib/index.css +1 -1
- package/lib/index.js +1 -1
- package/lib/vant.js +27 -16
- package/lib/vant.min.js +1 -1
- package/package.json +6 -3
- package/vetur/attributes.json +322 -314
- package/vetur/tags.json +98 -96
- package/vetur/web-types.json +905 -887
package/vetur/tags.json
CHANGED
@@ -1,4 +1,25 @@
|
|
1
1
|
{
|
2
|
+
"van-action-sheet": {
|
3
|
+
"attributes": [
|
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"
|
21
|
+
]
|
22
|
+
},
|
2
23
|
"van-address-edit": {
|
3
24
|
"attributes": [
|
4
25
|
"area-list",
|
@@ -25,17 +46,6 @@
|
|
25
46
|
"validator"
|
26
47
|
]
|
27
48
|
},
|
28
|
-
"van-address-list": {
|
29
|
-
"attributes": [
|
30
|
-
"v-model",
|
31
|
-
"list",
|
32
|
-
"disabled-list",
|
33
|
-
"disabled-text",
|
34
|
-
"switchable",
|
35
|
-
"add-button-text",
|
36
|
-
"default-tag-text"
|
37
|
-
]
|
38
|
-
},
|
39
49
|
"van-badge": {
|
40
50
|
"attributes": [
|
41
51
|
"content",
|
@@ -44,23 +54,6 @@
|
|
44
54
|
"max"
|
45
55
|
]
|
46
56
|
},
|
47
|
-
"van-area": {
|
48
|
-
"attributes": [
|
49
|
-
"value",
|
50
|
-
"title",
|
51
|
-
"confirm-button-text",
|
52
|
-
"cancel-button-text",
|
53
|
-
"area-list",
|
54
|
-
"columns-placeholder",
|
55
|
-
"loading",
|
56
|
-
"readonly",
|
57
|
-
"item-height",
|
58
|
-
"columns-num",
|
59
|
-
"visible-item-count",
|
60
|
-
"swipe-duration",
|
61
|
-
"is-oversea-code"
|
62
|
-
]
|
63
|
-
},
|
64
57
|
"van-button": {
|
65
58
|
"attributes": [
|
66
59
|
"type",
|
@@ -87,6 +80,23 @@
|
|
87
80
|
"replace"
|
88
81
|
]
|
89
82
|
},
|
83
|
+
"van-area": {
|
84
|
+
"attributes": [
|
85
|
+
"value",
|
86
|
+
"title",
|
87
|
+
"confirm-button-text",
|
88
|
+
"cancel-button-text",
|
89
|
+
"area-list",
|
90
|
+
"columns-placeholder",
|
91
|
+
"loading",
|
92
|
+
"readonly",
|
93
|
+
"item-height",
|
94
|
+
"columns-num",
|
95
|
+
"visible-item-count",
|
96
|
+
"swipe-duration",
|
97
|
+
"is-oversea-code"
|
98
|
+
]
|
99
|
+
},
|
90
100
|
"van-calendar": {
|
91
101
|
"attributes": [
|
92
102
|
"type",
|
@@ -133,17 +143,6 @@
|
|
133
143
|
"range-prompt"
|
134
144
|
]
|
135
145
|
},
|
136
|
-
"van-cascader": {
|
137
|
-
"attributes": [
|
138
|
-
"title",
|
139
|
-
"value",
|
140
|
-
"options",
|
141
|
-
"placeholder",
|
142
|
-
"active-color",
|
143
|
-
"closeable",
|
144
|
-
"field-names"
|
145
|
-
]
|
146
|
-
},
|
147
146
|
"van-card": {
|
148
147
|
"attributes": [
|
149
148
|
"thumb",
|
@@ -159,6 +158,18 @@
|
|
159
158
|
"lazy-load"
|
160
159
|
]
|
161
160
|
},
|
161
|
+
"van-cascader": {
|
162
|
+
"attributes": [
|
163
|
+
"title",
|
164
|
+
"value",
|
165
|
+
"options",
|
166
|
+
"placeholder",
|
167
|
+
"active-color",
|
168
|
+
"closeable",
|
169
|
+
"show-header",
|
170
|
+
"field-names"
|
171
|
+
]
|
172
|
+
},
|
162
173
|
"van-cell-group": {
|
163
174
|
"attributes": [
|
164
175
|
"title",
|
@@ -188,25 +199,15 @@
|
|
188
199
|
"label-class"
|
189
200
|
]
|
190
201
|
},
|
191
|
-
"van-
|
202
|
+
"van-address-list": {
|
192
203
|
"attributes": [
|
193
|
-
"v-model
|
194
|
-
"
|
195
|
-
"
|
196
|
-
"
|
197
|
-
"
|
198
|
-
"
|
199
|
-
"
|
200
|
-
"duration",
|
201
|
-
"round",
|
202
|
-
"overlay",
|
203
|
-
"lock-scroll",
|
204
|
-
"lazy-render",
|
205
|
-
"close-on-popstate",
|
206
|
-
"close-on-click-action",
|
207
|
-
"close-on-click-overlay",
|
208
|
-
"safe-area-inset-bottom",
|
209
|
-
"get-container"
|
204
|
+
"v-model",
|
205
|
+
"list",
|
206
|
+
"disabled-list",
|
207
|
+
"disabled-text",
|
208
|
+
"switchable",
|
209
|
+
"add-button-text",
|
210
|
+
"default-tag-text"
|
210
211
|
]
|
211
212
|
},
|
212
213
|
"van-checkbox": {
|
@@ -281,6 +282,7 @@
|
|
281
282
|
"border",
|
282
283
|
"is-link",
|
283
284
|
"disabled",
|
285
|
+
"lazy-render",
|
284
286
|
"title-class",
|
285
287
|
"value-class",
|
286
288
|
"label-class"
|
@@ -447,45 +449,6 @@
|
|
447
449
|
"description"
|
448
450
|
]
|
449
451
|
},
|
450
|
-
"van-field": {
|
451
|
-
"attributes": [
|
452
|
-
"v-model (value)",
|
453
|
-
"label",
|
454
|
-
"name",
|
455
|
-
"type",
|
456
|
-
"size",
|
457
|
-
"maxlength",
|
458
|
-
"placeholder",
|
459
|
-
"border",
|
460
|
-
"disabled",
|
461
|
-
"readonly",
|
462
|
-
"colon",
|
463
|
-
"required",
|
464
|
-
"center",
|
465
|
-
"clearable",
|
466
|
-
"clear-trigger",
|
467
|
-
"clickable",
|
468
|
-
"is-link",
|
469
|
-
"autofocus",
|
470
|
-
"show-word-limit",
|
471
|
-
"error",
|
472
|
-
"error-message",
|
473
|
-
"formatter",
|
474
|
-
"format-trigger",
|
475
|
-
"arrow-direction",
|
476
|
-
"label-class",
|
477
|
-
"label-width",
|
478
|
-
"label-align",
|
479
|
-
"input-align",
|
480
|
-
"error-message-align",
|
481
|
-
"autosize",
|
482
|
-
"left-icon",
|
483
|
-
"right-icon",
|
484
|
-
"icon-prefix",
|
485
|
-
"rules",
|
486
|
-
"autocomplete"
|
487
|
-
]
|
488
|
-
},
|
489
452
|
"van-form": {
|
490
453
|
"attributes": [
|
491
454
|
"label-width",
|
@@ -535,6 +498,45 @@
|
|
535
498
|
"replace"
|
536
499
|
]
|
537
500
|
},
|
501
|
+
"van-field": {
|
502
|
+
"attributes": [
|
503
|
+
"v-model (value)",
|
504
|
+
"label",
|
505
|
+
"name",
|
506
|
+
"type",
|
507
|
+
"size",
|
508
|
+
"maxlength",
|
509
|
+
"placeholder",
|
510
|
+
"border",
|
511
|
+
"disabled",
|
512
|
+
"readonly",
|
513
|
+
"colon",
|
514
|
+
"required",
|
515
|
+
"center",
|
516
|
+
"clearable",
|
517
|
+
"clear-trigger",
|
518
|
+
"clickable",
|
519
|
+
"is-link",
|
520
|
+
"autofocus",
|
521
|
+
"show-word-limit",
|
522
|
+
"error",
|
523
|
+
"error-message",
|
524
|
+
"formatter",
|
525
|
+
"format-trigger",
|
526
|
+
"arrow-direction",
|
527
|
+
"label-class",
|
528
|
+
"label-width",
|
529
|
+
"label-align",
|
530
|
+
"input-align",
|
531
|
+
"error-message-align",
|
532
|
+
"autosize",
|
533
|
+
"left-icon",
|
534
|
+
"right-icon",
|
535
|
+
"icon-prefix",
|
536
|
+
"rules",
|
537
|
+
"autocomplete"
|
538
|
+
]
|
539
|
+
},
|
538
540
|
"van-grid": {
|
539
541
|
"attributes": [
|
540
542
|
"column-num",
|