vant 3.5.2 → 3.5.3
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 +13 -13
- package/changelog.generated.md +67 -0
- package/es/button/index.less +1 -1
- package/es/calendar/Calendar.mjs +3 -1
- package/es/calendar/types.d.ts +1 -0
- package/es/cell/Cell.d.ts +1 -1
- package/es/cell/index.d.ts +1 -1
- package/es/collapse/Collapse.d.ts +8 -1
- package/es/collapse/Collapse.mjs +28 -1
- package/es/collapse/index.d.ts +1 -1
- package/es/collapse-item/CollapseItem.d.ts +1 -1
- package/es/collapse-item/CollapseItem.mjs +3 -1
- package/es/collapse-item/index.d.ts +1 -1
- package/es/collapse-item/index.less +1 -1
- package/es/composables/use-height.d.ts +1 -1
- package/es/composables/use-height.mjs +6 -2
- package/es/composables/use-placeholder.mjs +1 -1
- package/es/dialog/Dialog.d.ts +1 -1
- package/es/field/Field.d.ts +1 -1
- package/es/field/index.d.ts +1 -1
- package/es/field/index.less +1 -1
- package/es/grid-item/index.less +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/locale/index.d.ts +1 -1
- package/es/popover/Popover.mjs +17 -18
- package/es/sidebar-item/index.less +1 -1
- package/es/swipe/index.less +1 -1
- package/es/switch/index.less +1 -1
- package/es/toast/index.less +1 -1
- package/es/uploader/Uploader.mjs +1 -1
- package/es/utils/basic.d.ts +3 -3
- package/es/utils/create.d.ts +1 -1
- package/lib/.DS_Store +0 -0
- package/lib/action-bar/.DS_Store +0 -0
- package/lib/action-bar-button/.DS_Store +0 -0
- package/lib/action-bar-icon/.DS_Store +0 -0
- package/lib/action-sheet/.DS_Store +0 -0
- package/lib/address-edit/.DS_Store +0 -0
- package/lib/address-list/.DS_Store +0 -0
- package/lib/area/.DS_Store +0 -0
- package/lib/badge/.DS_Store +0 -0
- package/lib/button/.DS_Store +0 -0
- package/lib/button/index.less +1 -1
- package/lib/calendar/.DS_Store +0 -0
- package/lib/calendar/Calendar.js +3 -1
- package/lib/calendar/types.d.ts +1 -0
- package/lib/card/.DS_Store +0 -0
- package/lib/cascader/.DS_Store +0 -0
- package/lib/cell/.DS_Store +0 -0
- package/lib/cell/Cell.d.ts +1 -1
- package/lib/cell/index.d.ts +1 -1
- package/lib/cell-group/.DS_Store +0 -0
- package/lib/checkbox/.DS_Store +0 -0
- package/lib/checkbox-group/.DS_Store +0 -0
- package/lib/circle/.DS_Store +0 -0
- package/lib/col/.DS_Store +0 -0
- package/lib/collapse/.DS_Store +0 -0
- package/lib/collapse/Collapse.d.ts +8 -1
- package/lib/collapse/Collapse.js +28 -1
- package/lib/collapse/index.d.ts +1 -1
- package/lib/collapse-item/.DS_Store +0 -0
- package/lib/collapse-item/CollapseItem.d.ts +1 -1
- package/lib/collapse-item/CollapseItem.js +3 -1
- package/lib/collapse-item/index.d.ts +1 -1
- package/lib/collapse-item/index.less +1 -1
- package/lib/composables/use-height.d.ts +1 -1
- package/lib/composables/use-height.js +6 -2
- package/lib/composables/use-placeholder.js +1 -1
- package/lib/config-provider/.DS_Store +0 -0
- package/lib/contact-card/.DS_Store +0 -0
- package/lib/contact-edit/.DS_Store +0 -0
- package/lib/contact-list/.DS_Store +0 -0
- package/lib/count-down/.DS_Store +0 -0
- package/lib/coupon/.DS_Store +0 -0
- package/lib/coupon-cell/.DS_Store +0 -0
- package/lib/coupon-list/.DS_Store +0 -0
- package/lib/datetime-picker/.DS_Store +0 -0
- package/lib/dialog/.DS_Store +0 -0
- package/lib/dialog/Dialog.d.ts +1 -1
- package/lib/divider/.DS_Store +0 -0
- package/lib/dropdown-item/.DS_Store +0 -0
- package/lib/dropdown-menu/.DS_Store +0 -0
- package/lib/empty/.DS_Store +0 -0
- package/lib/field/.DS_Store +0 -0
- package/lib/field/Field.d.ts +1 -1
- package/lib/field/index.d.ts +1 -1
- package/lib/field/index.less +1 -1
- package/lib/form/.DS_Store +0 -0
- package/lib/grid/.DS_Store +0 -0
- package/lib/grid-item/.DS_Store +0 -0
- package/lib/grid-item/index.less +1 -1
- package/lib/icon/.DS_Store +0 -0
- package/lib/image/.DS_Store +0 -0
- package/lib/image-preview/.DS_Store +0 -0
- package/lib/index-anchor/.DS_Store +0 -0
- package/lib/index-bar/.DS_Store +0 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/lazyload/.DS_Store +0 -0
- package/lib/list/.DS_Store +0 -0
- package/lib/loading/.DS_Store +0 -0
- package/lib/locale/.DS_Store +0 -0
- package/lib/locale/index.d.ts +1 -1
- package/lib/nav-bar/.DS_Store +0 -0
- package/lib/notice-bar/.DS_Store +0 -0
- package/lib/notify/.DS_Store +0 -0
- package/lib/number-keyboard/.DS_Store +0 -0
- package/lib/overlay/.DS_Store +0 -0
- package/lib/pagination/.DS_Store +0 -0
- package/lib/password-input/.DS_Store +0 -0
- package/lib/picker/.DS_Store +0 -0
- package/lib/popover/.DS_Store +0 -0
- package/lib/popover/Popover.js +17 -18
- package/lib/popup/.DS_Store +0 -0
- package/lib/progress/.DS_Store +0 -0
- package/lib/pull-refresh/.DS_Store +0 -0
- package/lib/radio/.DS_Store +0 -0
- package/lib/radio-group/.DS_Store +0 -0
- package/lib/rate/.DS_Store +0 -0
- package/lib/row/.DS_Store +0 -0
- package/lib/search/.DS_Store +0 -0
- package/lib/share-sheet/.DS_Store +0 -0
- package/lib/sidebar/.DS_Store +0 -0
- package/lib/sidebar-item/.DS_Store +0 -0
- package/lib/sidebar-item/index.less +1 -1
- package/lib/skeleton/.DS_Store +0 -0
- package/lib/slider/.DS_Store +0 -0
- package/lib/step/.DS_Store +0 -0
- package/lib/stepper/.DS_Store +0 -0
- package/lib/steps/.DS_Store +0 -0
- package/lib/sticky/.DS_Store +0 -0
- package/lib/submit-bar/.DS_Store +0 -0
- package/lib/swipe/.DS_Store +0 -0
- package/lib/swipe/index.less +1 -1
- package/lib/swipe-cell/.DS_Store +0 -0
- package/lib/swipe-item/.DS_Store +0 -0
- package/lib/switch/.DS_Store +0 -0
- package/lib/switch/index.less +1 -1
- package/lib/tab/.DS_Store +0 -0
- package/lib/tabbar/.DS_Store +0 -0
- package/lib/tabbar-item/.DS_Store +0 -0
- package/lib/tabs/.DS_Store +0 -0
- package/lib/tag/.DS_Store +0 -0
- package/lib/toast/.DS_Store +0 -0
- package/lib/toast/index.less +1 -1
- package/lib/tree-select/.DS_Store +0 -0
- package/lib/uploader/.DS_Store +0 -0
- package/lib/uploader/Uploader.js +1 -1
- package/lib/utils/basic.d.ts +3 -3
- package/lib/utils/create.d.ts +1 -1
- package/lib/vant.cjs.js +136 -30
- package/lib/vant.es.js +224 -28
- package/lib/vant.js +133 -27
- package/lib/vant.min.js +1 -1
- package/{vetur → lib}/web-types.json +1369 -1369
- package/package.json +9 -14
- package/vetur/attributes.json +0 -3482
- package/vetur/tags.json +0 -1204
@@ -2,75 +2,120 @@
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
3
3
|
"framework": "vue",
|
4
4
|
"name": "vant",
|
5
|
-
"version": "3.5.
|
5
|
+
"version": "3.5.3",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
8
8
|
"tags": [
|
9
9
|
{
|
10
|
-
"name": "
|
11
|
-
"slots": [
|
12
|
-
"events": [],
|
13
|
-
"attributes": [
|
10
|
+
"name": "address-edit",
|
11
|
+
"slots": [
|
14
12
|
{
|
15
|
-
"name": "
|
16
|
-
"
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
13
|
+
"name": "default",
|
14
|
+
"description": "Custom content below postal"
|
15
|
+
}
|
16
|
+
],
|
17
|
+
"events": [
|
18
|
+
{
|
19
|
+
"name": "save",
|
20
|
+
"description": "Emitted when the save button is clicked",
|
21
|
+
"arguments": [
|
22
|
+
{
|
23
|
+
"name": "content",
|
24
|
+
"type": "form content"
|
25
|
+
}
|
26
|
+
]
|
23
27
|
},
|
24
28
|
{
|
25
|
-
"name": "
|
26
|
-
"
|
27
|
-
"
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
}
|
34
|
-
]
|
35
|
-
},
|
36
|
-
{
|
37
|
-
"name": "van-action-bar-icon",
|
38
|
-
"slots": [
|
29
|
+
"name": "focus",
|
30
|
+
"description": "Emitted when field is focused",
|
31
|
+
"arguments": [
|
32
|
+
{
|
33
|
+
"name": "key",
|
34
|
+
"type": "field name"
|
35
|
+
}
|
36
|
+
]
|
37
|
+
},
|
39
38
|
{
|
40
|
-
"name": "
|
41
|
-
"description": "
|
39
|
+
"name": "delete",
|
40
|
+
"description": "Emitted when confirming delete",
|
41
|
+
"arguments": [
|
42
|
+
{
|
43
|
+
"name": "content",
|
44
|
+
"type": "form content"
|
45
|
+
}
|
46
|
+
]
|
42
47
|
},
|
43
48
|
{
|
44
|
-
"name": "
|
45
|
-
"description": "
|
49
|
+
"name": "select-search",
|
50
|
+
"description": "Emitted when a search result is selected",
|
51
|
+
"arguments": [
|
52
|
+
{
|
53
|
+
"name": "value",
|
54
|
+
"type": "search content"
|
55
|
+
}
|
56
|
+
]
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"name": "click-area",
|
60
|
+
"description": "Emitted when the area field is clicked",
|
61
|
+
"arguments": []
|
62
|
+
},
|
63
|
+
{
|
64
|
+
"name": "change-area",
|
65
|
+
"description": "Emitted when area changed",
|
66
|
+
"arguments": [
|
67
|
+
{
|
68
|
+
"name": "values",
|
69
|
+
"type": "area values"
|
70
|
+
}
|
71
|
+
]
|
72
|
+
},
|
73
|
+
{
|
74
|
+
"name": "change-detail",
|
75
|
+
"description": "Emitted when address detail changed",
|
76
|
+
"arguments": [
|
77
|
+
{
|
78
|
+
"name": "value",
|
79
|
+
"type": "address detail"
|
80
|
+
}
|
81
|
+
]
|
82
|
+
},
|
83
|
+
{
|
84
|
+
"name": "change-default",
|
85
|
+
"description": "Emitted when switching default address",
|
86
|
+
"arguments": [
|
87
|
+
{
|
88
|
+
"name": "value",
|
89
|
+
"type": "checked"
|
90
|
+
}
|
91
|
+
]
|
46
92
|
}
|
47
93
|
],
|
48
|
-
"events": [],
|
49
94
|
"attributes": [
|
50
95
|
{
|
51
|
-
"name": "
|
96
|
+
"name": "area-list",
|
52
97
|
"default": "-",
|
53
|
-
"description": "
|
98
|
+
"description": "Area List",
|
54
99
|
"options": [],
|
55
100
|
"value": {
|
56
|
-
"type": "
|
101
|
+
"type": "object",
|
57
102
|
"kind": "expression"
|
58
103
|
}
|
59
104
|
},
|
60
105
|
{
|
61
|
-
"name": "
|
62
|
-
"default": "
|
63
|
-
"description": "
|
106
|
+
"name": "area-columns-placeholder",
|
107
|
+
"default": "`[]`",
|
108
|
+
"description": "placeholder of area columns",
|
64
109
|
"options": [],
|
65
110
|
"value": {
|
66
|
-
"type": "string",
|
111
|
+
"type": "string[]",
|
67
112
|
"kind": "expression"
|
68
113
|
}
|
69
114
|
},
|
70
115
|
{
|
71
|
-
"name": "
|
72
|
-
"default": "
|
73
|
-
"description": "
|
116
|
+
"name": "area-placeholder",
|
117
|
+
"default": "`Area`",
|
118
|
+
"description": "placeholder of area input field",
|
74
119
|
"options": [],
|
75
120
|
"value": {
|
76
121
|
"type": "string",
|
@@ -78,29 +123,29 @@
|
|
78
123
|
}
|
79
124
|
},
|
80
125
|
{
|
81
|
-
"name": "
|
82
|
-
"default": "`
|
83
|
-
"description": "
|
126
|
+
"name": "address-info",
|
127
|
+
"default": "`{}`",
|
128
|
+
"description": "Address Info",
|
84
129
|
"options": [],
|
85
130
|
"value": {
|
86
|
-
"type": "
|
131
|
+
"type": "AddressEditInfo",
|
87
132
|
"kind": "expression"
|
88
133
|
}
|
89
134
|
},
|
90
135
|
{
|
91
|
-
"name": "
|
92
|
-
"default": "`
|
93
|
-
"description": "
|
136
|
+
"name": "search-result",
|
137
|
+
"default": "`[]`",
|
138
|
+
"description": "Address search result",
|
94
139
|
"options": [],
|
95
140
|
"value": {
|
96
|
-
"type": "
|
141
|
+
"type": "AddressEditSearchItem[]",
|
97
142
|
"kind": "expression"
|
98
143
|
}
|
99
144
|
},
|
100
145
|
{
|
101
|
-
"name": "
|
102
|
-
"default": "
|
103
|
-
"description": "Whether to show
|
146
|
+
"name": "show-postal",
|
147
|
+
"default": "`false`",
|
148
|
+
"description": "Whether to show postal field",
|
104
149
|
"options": [],
|
105
150
|
"value": {
|
106
151
|
"type": "boolean",
|
@@ -108,71 +153,69 @@
|
|
108
153
|
}
|
109
154
|
},
|
110
155
|
{
|
111
|
-
"name": "
|
112
|
-
"default": "
|
113
|
-
"description": "
|
156
|
+
"name": "show-delete",
|
157
|
+
"default": "`false`",
|
158
|
+
"description": "Whether to show delete button",
|
114
159
|
"options": [],
|
115
160
|
"value": {
|
116
|
-
"type": "
|
161
|
+
"type": "boolean",
|
117
162
|
"kind": "expression"
|
118
163
|
}
|
119
164
|
},
|
120
165
|
{
|
121
|
-
"name": "
|
122
|
-
"default": "
|
123
|
-
"description": "
|
166
|
+
"name": "show-set-default",
|
167
|
+
"default": "`false`",
|
168
|
+
"description": "Whether to show default address switch",
|
124
169
|
"options": [],
|
125
170
|
"value": {
|
126
|
-
"type": "
|
171
|
+
"type": "boolean",
|
127
172
|
"kind": "expression"
|
128
173
|
}
|
129
174
|
},
|
130
175
|
{
|
131
|
-
"name": "
|
132
|
-
"default": "
|
133
|
-
"description": "
|
176
|
+
"name": "show-search-result",
|
177
|
+
"default": "`false`",
|
178
|
+
"description": "Whether to show address search result",
|
134
179
|
"options": [],
|
135
180
|
"value": {
|
136
|
-
"type": "
|
181
|
+
"type": "boolean",
|
137
182
|
"kind": "expression"
|
138
183
|
}
|
139
184
|
},
|
140
185
|
{
|
141
|
-
"name": "
|
142
|
-
"default": "
|
143
|
-
"description": "
|
186
|
+
"name": "show-area",
|
187
|
+
"default": "`true`",
|
188
|
+
"description": "Whether to show area cell",
|
144
189
|
"options": [],
|
145
190
|
"value": {
|
146
|
-
"type": "
|
191
|
+
"type": "boolean",
|
147
192
|
"kind": "expression"
|
148
193
|
}
|
149
194
|
},
|
150
195
|
{
|
151
|
-
"name": "
|
152
|
-
"default": "`
|
153
|
-
"description": "
|
196
|
+
"name": "show-detail",
|
197
|
+
"default": "`true`",
|
198
|
+
"description": "Whether to show detail field",
|
154
199
|
"options": [],
|
155
200
|
"value": {
|
156
201
|
"type": "boolean",
|
157
202
|
"kind": "expression"
|
158
203
|
}
|
159
|
-
}
|
160
|
-
]
|
161
|
-
},
|
162
|
-
{
|
163
|
-
"name": "van-action-bar-button",
|
164
|
-
"slots": [
|
204
|
+
},
|
165
205
|
{
|
166
|
-
"name": "
|
167
|
-
"
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
206
|
+
"name": "disable-area",
|
207
|
+
"default": "`false`",
|
208
|
+
"description": "Whether to disable area select",
|
209
|
+
"options": [],
|
210
|
+
"value": {
|
211
|
+
"type": "boolean",
|
212
|
+
"kind": "expression"
|
213
|
+
}
|
214
|
+
},
|
172
215
|
{
|
173
|
-
"name": "text",
|
174
|
-
"default": "
|
175
|
-
"description": "
|
216
|
+
"name": "save-button-text",
|
217
|
+
"default": "`Save`",
|
218
|
+
"description": "Save button text",
|
176
219
|
"options": [],
|
177
220
|
"value": {
|
178
221
|
"type": "string",
|
@@ -180,9 +223,9 @@
|
|
180
223
|
}
|
181
224
|
},
|
182
225
|
{
|
183
|
-
"name": "
|
184
|
-
"default": "`
|
185
|
-
"description": "
|
226
|
+
"name": "delete-button-text",
|
227
|
+
"default": "`Delete`",
|
228
|
+
"description": "Delete button text",
|
186
229
|
"options": [],
|
187
230
|
"value": {
|
188
231
|
"type": "string",
|
@@ -190,29 +233,29 @@
|
|
190
233
|
}
|
191
234
|
},
|
192
235
|
{
|
193
|
-
"name": "
|
194
|
-
"default": "
|
195
|
-
"description": "
|
236
|
+
"name": "detail-rows",
|
237
|
+
"default": "`1`",
|
238
|
+
"description": "Detail input rows",
|
196
239
|
"options": [],
|
197
240
|
"value": {
|
198
|
-
"type": "string",
|
241
|
+
"type": "number | string",
|
199
242
|
"kind": "expression"
|
200
243
|
}
|
201
244
|
},
|
202
245
|
{
|
203
|
-
"name": "
|
204
|
-
"default": "
|
205
|
-
"description": "
|
246
|
+
"name": "detail-maxlength",
|
247
|
+
"default": "`200`",
|
248
|
+
"description": "Detail maxlength",
|
206
249
|
"options": [],
|
207
250
|
"value": {
|
208
|
-
"type": "string",
|
251
|
+
"type": "number | string",
|
209
252
|
"kind": "expression"
|
210
253
|
}
|
211
254
|
},
|
212
255
|
{
|
213
|
-
"name": "
|
256
|
+
"name": "is-saving",
|
214
257
|
"default": "`false`",
|
215
|
-
"description": "Whether to
|
258
|
+
"description": "Whether to show save button loading status",
|
216
259
|
"options": [],
|
217
260
|
"value": {
|
218
261
|
"type": "boolean",
|
@@ -220,9 +263,9 @@
|
|
220
263
|
}
|
221
264
|
},
|
222
265
|
{
|
223
|
-
"name": "
|
266
|
+
"name": "is-deleting",
|
224
267
|
"default": "`false`",
|
225
|
-
"description": "Whether to show loading status",
|
268
|
+
"description": "Whether to show delete button loading status",
|
226
269
|
"options": [],
|
227
270
|
"value": {
|
228
271
|
"type": "boolean",
|
@@ -230,65 +273,80 @@
|
|
230
273
|
}
|
231
274
|
},
|
232
275
|
{
|
233
|
-
"name": "
|
276
|
+
"name": "tel-validator",
|
234
277
|
"default": "-",
|
235
|
-
"description": "
|
278
|
+
"description": "The method to validate tel",
|
236
279
|
"options": [],
|
237
280
|
"value": {
|
238
|
-
"type": "string",
|
281
|
+
"type": "(tel: string) => boolean",
|
239
282
|
"kind": "expression"
|
240
283
|
}
|
241
284
|
},
|
242
285
|
{
|
243
|
-
"name": "
|
286
|
+
"name": "tel-maxlength",
|
244
287
|
"default": "-",
|
245
|
-
"description": "
|
288
|
+
"description": "Tel maxlength",
|
246
289
|
"options": [],
|
247
290
|
"value": {
|
248
|
-
"type": "
|
291
|
+
"type": "number | string",
|
249
292
|
"kind": "expression"
|
250
293
|
}
|
251
294
|
},
|
252
295
|
{
|
253
|
-
"name": "
|
254
|
-
"default": "
|
255
|
-
"description": "
|
296
|
+
"name": "postal-validator",
|
297
|
+
"default": "-",
|
298
|
+
"description": "The method to validate postal",
|
256
299
|
"options": [],
|
257
300
|
"value": {
|
258
|
-
"type": "boolean",
|
301
|
+
"type": "(tel: string) => boolean",
|
302
|
+
"kind": "expression"
|
303
|
+
}
|
304
|
+
},
|
305
|
+
{
|
306
|
+
"name": "validator",
|
307
|
+
"default": "-",
|
308
|
+
"description": "Custom validator",
|
309
|
+
"options": [],
|
310
|
+
"value": {
|
311
|
+
"type": "(key, val) => string",
|
259
312
|
"kind": "expression"
|
260
313
|
}
|
261
314
|
}
|
262
315
|
]
|
263
316
|
},
|
264
317
|
{
|
265
|
-
"name": "
|
318
|
+
"name": "address-list",
|
266
319
|
"slots": [
|
267
320
|
{
|
268
321
|
"name": "default",
|
269
|
-
"description": "Custom content"
|
322
|
+
"description": "Custom content after list"
|
270
323
|
},
|
271
324
|
{
|
272
|
-
"name": "
|
273
|
-
"description": "Custom
|
325
|
+
"name": "top",
|
326
|
+
"description": "Custom content before list"
|
274
327
|
},
|
275
328
|
{
|
276
|
-
"name": "
|
277
|
-
"description": "Custom
|
329
|
+
"name": "item-bottom",
|
330
|
+
"description": "Custom content after list item"
|
278
331
|
},
|
279
332
|
{
|
280
|
-
"name": "
|
281
|
-
"description": "Custom
|
333
|
+
"name": "tag",
|
334
|
+
"description": "Custom tag of list item"
|
282
335
|
}
|
283
336
|
],
|
284
337
|
"events": [
|
285
338
|
{
|
286
|
-
"name": "
|
287
|
-
"description": "Emitted when
|
339
|
+
"name": "add",
|
340
|
+
"description": "Emitted when the add button is clicked",
|
341
|
+
"arguments": []
|
342
|
+
},
|
343
|
+
{
|
344
|
+
"name": "edit",
|
345
|
+
"description": "Emitted when the edit icon of address is clicked",
|
288
346
|
"arguments": [
|
289
347
|
{
|
290
|
-
"name": "
|
291
|
-
"type": "
|
348
|
+
"name": "item",
|
349
|
+
"type": "Address"
|
292
350
|
},
|
293
351
|
{
|
294
352
|
"name": "index",
|
@@ -297,76 +355,97 @@
|
|
297
355
|
]
|
298
356
|
},
|
299
357
|
{
|
300
|
-
"name": "
|
301
|
-
"description": "Emitted when
|
302
|
-
"arguments": [
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
"arguments": []
|
358
|
+
"name": "select",
|
359
|
+
"description": "Emitted when an address is selected",
|
360
|
+
"arguments": [
|
361
|
+
{
|
362
|
+
"name": "item",
|
363
|
+
"type": "Address"
|
364
|
+
},
|
365
|
+
{
|
366
|
+
"name": "index",
|
367
|
+
"type": "number"
|
368
|
+
}
|
369
|
+
]
|
313
370
|
},
|
314
371
|
{
|
315
|
-
"name": "
|
316
|
-
"description": "Emitted when
|
317
|
-
"arguments": [
|
372
|
+
"name": "edit-disabled",
|
373
|
+
"description": "Emitted when the edit icon of disabled address is clicked",
|
374
|
+
"arguments": [
|
375
|
+
{
|
376
|
+
"name": "item",
|
377
|
+
"type": "Address"
|
378
|
+
},
|
379
|
+
{
|
380
|
+
"name": "index",
|
381
|
+
"type": "number"
|
382
|
+
}
|
383
|
+
]
|
318
384
|
},
|
319
385
|
{
|
320
|
-
"name": "
|
321
|
-
"description": "Emitted when
|
322
|
-
"arguments": [
|
386
|
+
"name": "select-disabled",
|
387
|
+
"description": "Emitted when a disabled address is selected",
|
388
|
+
"arguments": [
|
389
|
+
{
|
390
|
+
"name": "item",
|
391
|
+
"type": "Address"
|
392
|
+
},
|
393
|
+
{
|
394
|
+
"name": "index",
|
395
|
+
"type": "number"
|
396
|
+
}
|
397
|
+
]
|
323
398
|
},
|
324
399
|
{
|
325
|
-
"name": "click-
|
326
|
-
"description": "Emitted when
|
400
|
+
"name": "click-item",
|
401
|
+
"description": "Emitted when an address item is clicked",
|
327
402
|
"arguments": [
|
328
403
|
{
|
329
|
-
"name": "
|
330
|
-
"type": "
|
404
|
+
"name": "item",
|
405
|
+
"type": "Address"
|
406
|
+
},
|
407
|
+
{
|
408
|
+
"name": "index",
|
409
|
+
"type": "number"
|
331
410
|
}
|
332
411
|
]
|
333
412
|
}
|
334
413
|
],
|
335
414
|
"attributes": [
|
336
415
|
{
|
337
|
-
"name": "v-model
|
338
|
-
"default": "
|
339
|
-
"description": "
|
416
|
+
"name": "v-model",
|
417
|
+
"default": "-",
|
418
|
+
"description": "Id of chosen address",
|
340
419
|
"options": [],
|
341
420
|
"value": {
|
342
|
-
"type": "
|
421
|
+
"type": "string",
|
343
422
|
"kind": "expression"
|
344
423
|
}
|
345
424
|
},
|
346
425
|
{
|
347
|
-
"name": "
|
426
|
+
"name": "list",
|
348
427
|
"default": "`[]`",
|
349
|
-
"description": "
|
428
|
+
"description": "Address list",
|
350
429
|
"options": [],
|
351
430
|
"value": {
|
352
|
-
"type": "
|
431
|
+
"type": "Address[]",
|
353
432
|
"kind": "expression"
|
354
433
|
}
|
355
434
|
},
|
356
435
|
{
|
357
|
-
"name": "
|
358
|
-
"default": "
|
359
|
-
"description": "
|
436
|
+
"name": "disabled-list",
|
437
|
+
"default": "`[]`",
|
438
|
+
"description": "Disabled address list",
|
360
439
|
"options": [],
|
361
440
|
"value": {
|
362
|
-
"type": "
|
441
|
+
"type": "Address[]",
|
363
442
|
"kind": "expression"
|
364
443
|
}
|
365
444
|
},
|
366
445
|
{
|
367
|
-
"name": "
|
446
|
+
"name": "disabled-text",
|
368
447
|
"default": "-",
|
369
|
-
"description": "
|
448
|
+
"description": "Disabled text",
|
370
449
|
"options": [],
|
371
450
|
"value": {
|
372
451
|
"type": "string",
|
@@ -374,79 +453,141 @@
|
|
374
453
|
}
|
375
454
|
},
|
376
455
|
{
|
377
|
-
"name": "
|
378
|
-
"default": "
|
379
|
-
"description": "
|
456
|
+
"name": "switchable",
|
457
|
+
"default": "`true`",
|
458
|
+
"description": "Whether to allow switch address",
|
380
459
|
"options": [],
|
381
460
|
"value": {
|
382
|
-
"type": "
|
461
|
+
"type": "boolean",
|
383
462
|
"kind": "expression"
|
384
463
|
}
|
385
464
|
},
|
386
465
|
{
|
387
|
-
"name": "
|
388
|
-
"default": "`
|
389
|
-
"description": "
|
466
|
+
"name": "add-button-text",
|
467
|
+
"default": "`Add new address`",
|
468
|
+
"description": "Add button text",
|
390
469
|
"options": [],
|
391
470
|
"value": {
|
392
|
-
"type": "
|
471
|
+
"type": "string",
|
393
472
|
"kind": "expression"
|
394
473
|
}
|
395
474
|
},
|
396
475
|
{
|
397
|
-
"name": "
|
398
|
-
"default": "
|
399
|
-
"description": "
|
476
|
+
"name": "default-tag-text",
|
477
|
+
"default": "-",
|
478
|
+
"description": "Default tag text",
|
400
479
|
"options": [],
|
401
480
|
"value": {
|
402
481
|
"type": "string",
|
403
482
|
"kind": "expression"
|
404
483
|
}
|
484
|
+
}
|
485
|
+
]
|
486
|
+
},
|
487
|
+
{
|
488
|
+
"name": "area",
|
489
|
+
"slots": [
|
490
|
+
{
|
491
|
+
"name": "toolbar",
|
492
|
+
"description": "Custom toolbar content"
|
405
493
|
},
|
406
494
|
{
|
407
|
-
"name": "
|
408
|
-
"
|
409
|
-
|
495
|
+
"name": "title",
|
496
|
+
"description": "Custom title"
|
497
|
+
},
|
498
|
+
{
|
499
|
+
"name": "confirm",
|
500
|
+
"description": "Custom confirm button text"
|
501
|
+
},
|
502
|
+
{
|
503
|
+
"name": "cancel",
|
504
|
+
"description": "Custom cancel button text"
|
505
|
+
},
|
506
|
+
{
|
507
|
+
"name": "columns-top",
|
508
|
+
"description": "Custom content above columns"
|
509
|
+
},
|
510
|
+
{
|
511
|
+
"name": "columns-bottom",
|
512
|
+
"description": "Custom content below columns"
|
513
|
+
}
|
514
|
+
],
|
515
|
+
"events": [
|
516
|
+
{
|
517
|
+
"name": "confirm",
|
518
|
+
"description": "Emitted when the confirm button is clicked",
|
519
|
+
"arguments": [
|
520
|
+
{
|
521
|
+
"name": "result",
|
522
|
+
"type": "ConfirmResult"
|
523
|
+
}
|
524
|
+
]
|
525
|
+
},
|
526
|
+
{
|
527
|
+
"name": "cancel",
|
528
|
+
"description": "Emitted when the cancel button is clicked",
|
529
|
+
"arguments": []
|
530
|
+
},
|
531
|
+
{
|
532
|
+
"name": "change",
|
533
|
+
"description": "Emitted when current option changed",
|
534
|
+
"arguments": [
|
535
|
+
{
|
536
|
+
"name": "current",
|
537
|
+
"type": "values"
|
538
|
+
},
|
539
|
+
{
|
540
|
+
"name": "column",
|
541
|
+
"type": "index"
|
542
|
+
}
|
543
|
+
]
|
544
|
+
}
|
545
|
+
],
|
546
|
+
"attributes": [
|
547
|
+
{
|
548
|
+
"name": "value",
|
549
|
+
"default": "-",
|
550
|
+
"description": "the `code` of selected area",
|
410
551
|
"options": [],
|
411
552
|
"value": {
|
412
|
-
"type": "
|
553
|
+
"type": "string",
|
413
554
|
"kind": "expression"
|
414
555
|
}
|
415
556
|
},
|
416
557
|
{
|
417
|
-
"name": "
|
418
|
-
"default": "
|
419
|
-
"description": "
|
558
|
+
"name": "title",
|
559
|
+
"default": "-",
|
560
|
+
"description": "Toolbar title",
|
420
561
|
"options": [],
|
421
562
|
"value": {
|
422
|
-
"type": "
|
563
|
+
"type": "string",
|
423
564
|
"kind": "expression"
|
424
565
|
}
|
425
566
|
},
|
426
567
|
{
|
427
|
-
"name": "
|
428
|
-
"default": "`
|
429
|
-
"description": "
|
568
|
+
"name": "confirm-button-text",
|
569
|
+
"default": "`Confirm`",
|
570
|
+
"description": "Text of confirm button",
|
430
571
|
"options": [],
|
431
572
|
"value": {
|
432
|
-
"type": "
|
573
|
+
"type": "string",
|
433
574
|
"kind": "expression"
|
434
575
|
}
|
435
576
|
},
|
436
577
|
{
|
437
|
-
"name": "
|
438
|
-
"default": "
|
439
|
-
"description": "
|
578
|
+
"name": "cancel-button-text",
|
579
|
+
"default": "`Cancel`",
|
580
|
+
"description": "Text of cancel button",
|
440
581
|
"options": [],
|
441
582
|
"value": {
|
442
|
-
"type": "string
|
583
|
+
"type": "string",
|
443
584
|
"kind": "expression"
|
444
585
|
}
|
445
586
|
},
|
446
587
|
{
|
447
|
-
"name": "
|
588
|
+
"name": "area-list",
|
448
589
|
"default": "-",
|
449
|
-
"description": "
|
590
|
+
"description": "Area list data",
|
450
591
|
"options": [],
|
451
592
|
"value": {
|
452
593
|
"type": "object",
|
@@ -454,19 +595,19 @@
|
|
454
595
|
}
|
455
596
|
},
|
456
597
|
{
|
457
|
-
"name": "
|
458
|
-
"default": "`
|
459
|
-
"description": "
|
598
|
+
"name": "columns-placeholder",
|
599
|
+
"default": "`[]`",
|
600
|
+
"description": "Placeholder of columns",
|
460
601
|
"options": [],
|
461
602
|
"value": {
|
462
|
-
"type": "
|
603
|
+
"type": "string[]",
|
463
604
|
"kind": "expression"
|
464
605
|
}
|
465
606
|
},
|
466
607
|
{
|
467
|
-
"name": "
|
468
|
-
"default": "`
|
469
|
-
"description": "Whether to
|
608
|
+
"name": "loading",
|
609
|
+
"default": "`false`",
|
610
|
+
"description": "Whether to show loading prompt",
|
470
611
|
"options": [],
|
471
612
|
"value": {
|
472
613
|
"type": "boolean",
|
@@ -474,9 +615,9 @@
|
|
474
615
|
}
|
475
616
|
},
|
476
617
|
{
|
477
|
-
"name": "
|
478
|
-
"default": "`
|
479
|
-
"description": "Whether to
|
618
|
+
"name": "readonly",
|
619
|
+
"default": "`false`",
|
620
|
+
"description": "Whether to be readonly",
|
480
621
|
"options": [],
|
481
622
|
"value": {
|
482
623
|
"type": "boolean",
|
@@ -484,197 +625,125 @@
|
|
484
625
|
}
|
485
626
|
},
|
486
627
|
{
|
487
|
-
"name": "
|
488
|
-
"default": "`
|
489
|
-
"description": "
|
628
|
+
"name": "item-height",
|
629
|
+
"default": "`44`",
|
630
|
+
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
|
490
631
|
"options": [],
|
491
632
|
"value": {
|
492
|
-
"type": "
|
633
|
+
"type": "number | string",
|
493
634
|
"kind": "expression"
|
494
635
|
}
|
495
636
|
},
|
496
637
|
{
|
497
|
-
"name": "
|
498
|
-
"default": "`
|
499
|
-
"description": "
|
638
|
+
"name": "columns-num",
|
639
|
+
"default": "`3`",
|
640
|
+
"description": "Level of picker",
|
500
641
|
"options": [],
|
501
642
|
"value": {
|
502
|
-
"type": "
|
643
|
+
"type": "number | string",
|
503
644
|
"kind": "expression"
|
504
645
|
}
|
505
646
|
},
|
506
647
|
{
|
507
|
-
"name": "
|
508
|
-
"default": "`
|
509
|
-
"description": "
|
648
|
+
"name": "visible-item-count",
|
649
|
+
"default": "`6`",
|
650
|
+
"description": "Count of visible columns",
|
510
651
|
"options": [],
|
511
652
|
"value": {
|
512
|
-
"type": "
|
653
|
+
"type": "number | string",
|
513
654
|
"kind": "expression"
|
514
655
|
}
|
515
656
|
},
|
516
657
|
{
|
517
|
-
"name": "
|
518
|
-
"default": "
|
519
|
-
"description": "
|
658
|
+
"name": "swipe-duration",
|
659
|
+
"default": "`1000`",
|
660
|
+
"description": "Duration of the momentum animation, unit `ms`",
|
520
661
|
"options": [],
|
521
662
|
"value": {
|
522
|
-
"type": "
|
663
|
+
"type": "number | string",
|
523
664
|
"kind": "expression"
|
524
665
|
}
|
525
666
|
},
|
526
667
|
{
|
527
|
-
"name": "
|
668
|
+
"name": "is-oversea-code",
|
528
669
|
"default": "-",
|
529
|
-
"description": "
|
670
|
+
"description": "The method to validate oversea code",
|
530
671
|
"options": [],
|
531
672
|
"value": {
|
532
|
-
"type": "(
|
673
|
+
"type": "() => boolean",
|
533
674
|
"kind": "expression"
|
534
675
|
}
|
535
676
|
}
|
536
677
|
]
|
537
678
|
},
|
538
679
|
{
|
539
|
-
"name": "
|
680
|
+
"name": "badge",
|
540
681
|
"slots": [
|
541
682
|
{
|
542
683
|
"name": "default",
|
543
|
-
"description": "
|
544
|
-
}
|
545
|
-
],
|
546
|
-
"events": [
|
547
|
-
{
|
548
|
-
"name": "save",
|
549
|
-
"description": "Emitted when the save button is clicked",
|
550
|
-
"arguments": [
|
551
|
-
{
|
552
|
-
"name": "content",
|
553
|
-
"type": "form content"
|
554
|
-
}
|
555
|
-
]
|
556
|
-
},
|
557
|
-
{
|
558
|
-
"name": "focus",
|
559
|
-
"description": "Emitted when field is focused",
|
560
|
-
"arguments": [
|
561
|
-
{
|
562
|
-
"name": "key",
|
563
|
-
"type": "field name"
|
564
|
-
}
|
565
|
-
]
|
566
|
-
},
|
567
|
-
{
|
568
|
-
"name": "delete",
|
569
|
-
"description": "Emitted when confirming delete",
|
570
|
-
"arguments": [
|
571
|
-
{
|
572
|
-
"name": "content",
|
573
|
-
"type": "form content"
|
574
|
-
}
|
575
|
-
]
|
576
|
-
},
|
577
|
-
{
|
578
|
-
"name": "select-search",
|
579
|
-
"description": "Emitted when a search result is selected",
|
580
|
-
"arguments": [
|
581
|
-
{
|
582
|
-
"name": "value",
|
583
|
-
"type": "search content"
|
584
|
-
}
|
585
|
-
]
|
586
|
-
},
|
587
|
-
{
|
588
|
-
"name": "click-area",
|
589
|
-
"description": "Emitted when the area field is clicked",
|
590
|
-
"arguments": []
|
591
|
-
},
|
592
|
-
{
|
593
|
-
"name": "change-area",
|
594
|
-
"description": "Emitted when area changed",
|
595
|
-
"arguments": [
|
596
|
-
{
|
597
|
-
"name": "values",
|
598
|
-
"type": "area values"
|
599
|
-
}
|
600
|
-
]
|
601
|
-
},
|
602
|
-
{
|
603
|
-
"name": "change-detail",
|
604
|
-
"description": "Emitted when address detail changed",
|
605
|
-
"arguments": [
|
606
|
-
{
|
607
|
-
"name": "value",
|
608
|
-
"type": "address detail"
|
609
|
-
}
|
610
|
-
]
|
684
|
+
"description": "Default slot"
|
611
685
|
},
|
612
686
|
{
|
613
|
-
"name": "
|
614
|
-
"description": "
|
615
|
-
"arguments": [
|
616
|
-
{
|
617
|
-
"name": "value",
|
618
|
-
"type": "checked"
|
619
|
-
}
|
620
|
-
]
|
687
|
+
"name": "content",
|
688
|
+
"description": "Custom badge content"
|
621
689
|
}
|
622
690
|
],
|
691
|
+
"events": [],
|
623
692
|
"attributes": [
|
624
693
|
{
|
625
|
-
"name": "
|
694
|
+
"name": "content",
|
626
695
|
"default": "-",
|
627
|
-
"description": "
|
696
|
+
"description": "Badge content",
|
628
697
|
"options": [],
|
629
698
|
"value": {
|
630
|
-
"type": "
|
699
|
+
"type": "number | string",
|
631
700
|
"kind": "expression"
|
632
701
|
}
|
633
702
|
},
|
634
703
|
{
|
635
|
-
"name": "
|
636
|
-
"default": "`
|
637
|
-
"description": "
|
704
|
+
"name": "color",
|
705
|
+
"default": "`#ee0a24`",
|
706
|
+
"description": "Background color",
|
638
707
|
"options": [],
|
639
708
|
"value": {
|
640
|
-
"type": "string
|
709
|
+
"type": "string",
|
641
710
|
"kind": "expression"
|
642
711
|
}
|
643
712
|
},
|
644
713
|
{
|
645
|
-
"name": "
|
646
|
-
"default": "`
|
647
|
-
"description": "
|
714
|
+
"name": "dot",
|
715
|
+
"default": "`false`",
|
716
|
+
"description": "Whether to show dot",
|
648
717
|
"options": [],
|
649
718
|
"value": {
|
650
|
-
"type": "
|
719
|
+
"type": "boolean",
|
651
720
|
"kind": "expression"
|
652
721
|
}
|
653
722
|
},
|
654
723
|
{
|
655
|
-
"name": "
|
656
|
-
"default": "
|
657
|
-
"description": "
|
724
|
+
"name": "max",
|
725
|
+
"default": "-",
|
726
|
+
"description": "Max value, show `{max}+` when exceed, only works when content is number",
|
658
727
|
"options": [],
|
659
728
|
"value": {
|
660
|
-
"type": "
|
729
|
+
"type": "number | string",
|
661
730
|
"kind": "expression"
|
662
731
|
}
|
663
732
|
},
|
664
733
|
{
|
665
|
-
"name": "
|
666
|
-
"default": "
|
667
|
-
"description": "
|
734
|
+
"name": "offset",
|
735
|
+
"default": "-",
|
736
|
+
"description": "Offset of badge dot",
|
668
737
|
"options": [],
|
669
738
|
"value": {
|
670
|
-
"type": "
|
739
|
+
"type": "[number | string, number | string]",
|
671
740
|
"kind": "expression"
|
672
741
|
}
|
673
742
|
},
|
674
743
|
{
|
675
|
-
"name": "show-
|
676
|
-
"default": "`
|
677
|
-
"description": "Whether to show
|
744
|
+
"name": "show-zero",
|
745
|
+
"default": "`true`",
|
746
|
+
"description": "Whether to show badge when content is zero",
|
678
747
|
"options": [],
|
679
748
|
"value": {
|
680
749
|
"type": "boolean",
|
@@ -682,69 +751,110 @@
|
|
682
751
|
}
|
683
752
|
},
|
684
753
|
{
|
685
|
-
"name": "
|
686
|
-
"default": "`
|
687
|
-
"description": "
|
754
|
+
"name": "position",
|
755
|
+
"default": "`top-right`",
|
756
|
+
"description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`",
|
688
757
|
"options": [],
|
689
758
|
"value": {
|
690
|
-
"type": "
|
759
|
+
"type": "string",
|
691
760
|
"kind": "expression"
|
692
761
|
}
|
762
|
+
}
|
763
|
+
]
|
764
|
+
},
|
765
|
+
{
|
766
|
+
"name": "button",
|
767
|
+
"slots": [
|
768
|
+
{
|
769
|
+
"name": "default",
|
770
|
+
"description": "Default slot"
|
693
771
|
},
|
694
772
|
{
|
695
|
-
"name": "
|
696
|
-
"
|
697
|
-
|
773
|
+
"name": "icon",
|
774
|
+
"description": "Custom icon"
|
775
|
+
},
|
776
|
+
{
|
777
|
+
"name": "loading",
|
778
|
+
"description": "Custom loading icon"
|
779
|
+
}
|
780
|
+
],
|
781
|
+
"events": [
|
782
|
+
{
|
783
|
+
"name": "click",
|
784
|
+
"description": "Emitted when button is clicked and not disabled or loading",
|
785
|
+
"arguments": [
|
786
|
+
{
|
787
|
+
"name": "event",
|
788
|
+
"type": "MouseEvent"
|
789
|
+
}
|
790
|
+
]
|
791
|
+
},
|
792
|
+
{
|
793
|
+
"name": "touchstart",
|
794
|
+
"description": "Emitted when button is touched",
|
795
|
+
"arguments": [
|
796
|
+
{
|
797
|
+
"name": "event",
|
798
|
+
"type": "TouchEvent"
|
799
|
+
}
|
800
|
+
]
|
801
|
+
}
|
802
|
+
],
|
803
|
+
"attributes": [
|
804
|
+
{
|
805
|
+
"name": "type",
|
806
|
+
"default": "`default`",
|
807
|
+
"description": "Can be set to `primary` `success` `warning` `danger`",
|
698
808
|
"options": [],
|
699
809
|
"value": {
|
700
|
-
"type": "
|
810
|
+
"type": "string",
|
701
811
|
"kind": "expression"
|
702
812
|
}
|
703
813
|
},
|
704
814
|
{
|
705
|
-
"name": "
|
706
|
-
"default": "`
|
707
|
-
"description": "
|
815
|
+
"name": "size",
|
816
|
+
"default": "`normal`",
|
817
|
+
"description": "Can be set to `large` `small` `mini`",
|
708
818
|
"options": [],
|
709
819
|
"value": {
|
710
|
-
"type": "
|
820
|
+
"type": "string",
|
711
821
|
"kind": "expression"
|
712
822
|
}
|
713
823
|
},
|
714
824
|
{
|
715
|
-
"name": "
|
716
|
-
"default": "
|
717
|
-
"description": "
|
825
|
+
"name": "text",
|
826
|
+
"default": "-",
|
827
|
+
"description": "Text",
|
718
828
|
"options": [],
|
719
829
|
"value": {
|
720
|
-
"type": "
|
830
|
+
"type": "string",
|
721
831
|
"kind": "expression"
|
722
832
|
}
|
723
833
|
},
|
724
834
|
{
|
725
|
-
"name": "
|
726
|
-
"default": "
|
727
|
-
"description": "
|
835
|
+
"name": "color",
|
836
|
+
"default": "-",
|
837
|
+
"description": "Color, support linear-gradient",
|
728
838
|
"options": [],
|
729
839
|
"value": {
|
730
|
-
"type": "
|
840
|
+
"type": "string",
|
731
841
|
"kind": "expression"
|
732
842
|
}
|
733
843
|
},
|
734
844
|
{
|
735
|
-
"name": "
|
736
|
-
"default": "
|
737
|
-
"description": "
|
845
|
+
"name": "icon",
|
846
|
+
"default": "-",
|
847
|
+
"description": "Left Icon",
|
738
848
|
"options": [],
|
739
849
|
"value": {
|
740
|
-
"type": "
|
850
|
+
"type": "string",
|
741
851
|
"kind": "expression"
|
742
852
|
}
|
743
853
|
},
|
744
854
|
{
|
745
|
-
"name": "
|
746
|
-
"default": "`
|
747
|
-
"description": "
|
855
|
+
"name": "icon-prefix",
|
856
|
+
"default": "`van-icon`",
|
857
|
+
"description": "Icon className prefix",
|
748
858
|
"options": [],
|
749
859
|
"value": {
|
750
860
|
"type": "string",
|
@@ -752,9 +862,9 @@
|
|
752
862
|
}
|
753
863
|
},
|
754
864
|
{
|
755
|
-
"name": "
|
756
|
-
"default": "`
|
757
|
-
"description": "
|
865
|
+
"name": "icon-position",
|
866
|
+
"default": "`left`",
|
867
|
+
"description": "Icon position, can be set to `right`",
|
758
868
|
"options": [],
|
759
869
|
"value": {
|
760
870
|
"type": "string",
|
@@ -762,29 +872,29 @@
|
|
762
872
|
}
|
763
873
|
},
|
764
874
|
{
|
765
|
-
"name": "
|
766
|
-
"default": "`
|
767
|
-
"description": "
|
875
|
+
"name": "tag",
|
876
|
+
"default": "`button`",
|
877
|
+
"description": "HTML Tag",
|
768
878
|
"options": [],
|
769
879
|
"value": {
|
770
|
-
"type": "
|
880
|
+
"type": "string",
|
771
881
|
"kind": "expression"
|
772
882
|
}
|
773
883
|
},
|
774
884
|
{
|
775
|
-
"name": "
|
776
|
-
"default": "`
|
777
|
-
"description": "
|
885
|
+
"name": "native-type",
|
886
|
+
"default": "`button`",
|
887
|
+
"description": "Native Type Attribute",
|
778
888
|
"options": [],
|
779
889
|
"value": {
|
780
|
-
"type": "
|
890
|
+
"type": "string",
|
781
891
|
"kind": "expression"
|
782
892
|
}
|
783
893
|
},
|
784
894
|
{
|
785
|
-
"name": "
|
895
|
+
"name": "plain",
|
786
896
|
"default": "`false`",
|
787
|
-
"description": "Whether to
|
897
|
+
"description": "Whether to be plain button",
|
788
898
|
"options": [],
|
789
899
|
"value": {
|
790
900
|
"type": "boolean",
|
@@ -792,9 +902,9 @@
|
|
792
902
|
}
|
793
903
|
},
|
794
904
|
{
|
795
|
-
"name": "
|
905
|
+
"name": "block",
|
796
906
|
"default": "`false`",
|
797
|
-
"description": "Whether to
|
907
|
+
"description": "Whether to set display block",
|
798
908
|
"options": [],
|
799
909
|
"value": {
|
800
910
|
"type": "boolean",
|
@@ -802,149 +912,49 @@
|
|
802
912
|
}
|
803
913
|
},
|
804
914
|
{
|
805
|
-
"name": "
|
806
|
-
"default": "
|
807
|
-
"description": "
|
915
|
+
"name": "round",
|
916
|
+
"default": "`false`",
|
917
|
+
"description": "Whether to be round button",
|
808
918
|
"options": [],
|
809
919
|
"value": {
|
810
|
-
"type": "
|
920
|
+
"type": "boolean",
|
811
921
|
"kind": "expression"
|
812
922
|
}
|
813
923
|
},
|
814
924
|
{
|
815
|
-
"name": "
|
816
|
-
"default": "
|
817
|
-
"description": "
|
925
|
+
"name": "square",
|
926
|
+
"default": "`false`",
|
927
|
+
"description": "Whether to be square button",
|
818
928
|
"options": [],
|
819
929
|
"value": {
|
820
|
-
"type": "
|
930
|
+
"type": "boolean",
|
821
931
|
"kind": "expression"
|
822
932
|
}
|
823
933
|
},
|
824
934
|
{
|
825
|
-
"name": "
|
826
|
-
"default": "
|
827
|
-
"description": "
|
935
|
+
"name": "disabled",
|
936
|
+
"default": "`false`",
|
937
|
+
"description": "Whether to disable button",
|
828
938
|
"options": [],
|
829
939
|
"value": {
|
830
|
-
"type": "
|
940
|
+
"type": "boolean",
|
831
941
|
"kind": "expression"
|
832
942
|
}
|
833
943
|
},
|
834
944
|
{
|
835
|
-
"name": "
|
836
|
-
"default": "
|
837
|
-
"description": "
|
945
|
+
"name": "loading",
|
946
|
+
"default": "`false`",
|
947
|
+
"description": "Whether to show loading status",
|
838
948
|
"options": [],
|
839
949
|
"value": {
|
840
|
-
"type": "
|
950
|
+
"type": "boolean",
|
841
951
|
"kind": "expression"
|
842
952
|
}
|
843
|
-
}
|
844
|
-
]
|
845
|
-
},
|
846
|
-
{
|
847
|
-
"name": "van-address-list",
|
848
|
-
"slots": [
|
849
|
-
{
|
850
|
-
"name": "default",
|
851
|
-
"description": "Custom content after list"
|
852
|
-
},
|
853
|
-
{
|
854
|
-
"name": "top",
|
855
|
-
"description": "Custom content before list"
|
856
|
-
},
|
857
|
-
{
|
858
|
-
"name": "item-bottom",
|
859
|
-
"description": "Custom content after list item"
|
860
|
-
},
|
861
|
-
{
|
862
|
-
"name": "tag",
|
863
|
-
"description": "Custom tag of list item"
|
864
|
-
}
|
865
|
-
],
|
866
|
-
"events": [
|
867
|
-
{
|
868
|
-
"name": "add",
|
869
|
-
"description": "Emitted when the add button is clicked",
|
870
|
-
"arguments": []
|
871
|
-
},
|
872
|
-
{
|
873
|
-
"name": "edit",
|
874
|
-
"description": "Emitted when the edit icon of address is clicked",
|
875
|
-
"arguments": [
|
876
|
-
{
|
877
|
-
"name": "item",
|
878
|
-
"type": "Address"
|
879
|
-
},
|
880
|
-
{
|
881
|
-
"name": "index",
|
882
|
-
"type": "number"
|
883
|
-
}
|
884
|
-
]
|
885
|
-
},
|
886
|
-
{
|
887
|
-
"name": "select",
|
888
|
-
"description": "Emitted when an address is selected",
|
889
|
-
"arguments": [
|
890
|
-
{
|
891
|
-
"name": "item",
|
892
|
-
"type": "Address"
|
893
|
-
},
|
894
|
-
{
|
895
|
-
"name": "index",
|
896
|
-
"type": "number"
|
897
|
-
}
|
898
|
-
]
|
899
|
-
},
|
900
|
-
{
|
901
|
-
"name": "edit-disabled",
|
902
|
-
"description": "Emitted when the edit icon of disabled address is clicked",
|
903
|
-
"arguments": [
|
904
|
-
{
|
905
|
-
"name": "item",
|
906
|
-
"type": "Address"
|
907
|
-
},
|
908
|
-
{
|
909
|
-
"name": "index",
|
910
|
-
"type": "number"
|
911
|
-
}
|
912
|
-
]
|
913
|
-
},
|
914
|
-
{
|
915
|
-
"name": "select-disabled",
|
916
|
-
"description": "Emitted when a disabled address is selected",
|
917
|
-
"arguments": [
|
918
|
-
{
|
919
|
-
"name": "item",
|
920
|
-
"type": "Address"
|
921
|
-
},
|
922
|
-
{
|
923
|
-
"name": "index",
|
924
|
-
"type": "number"
|
925
|
-
}
|
926
|
-
]
|
927
953
|
},
|
928
954
|
{
|
929
|
-
"name": "
|
930
|
-
"description": "Emitted when an address item is clicked",
|
931
|
-
"arguments": [
|
932
|
-
{
|
933
|
-
"name": "item",
|
934
|
-
"type": "Address"
|
935
|
-
},
|
936
|
-
{
|
937
|
-
"name": "index",
|
938
|
-
"type": "number"
|
939
|
-
}
|
940
|
-
]
|
941
|
-
}
|
942
|
-
],
|
943
|
-
"attributes": [
|
944
|
-
{
|
945
|
-
"name": "v-model",
|
955
|
+
"name": "loading-text",
|
946
956
|
"default": "-",
|
947
|
-
"description": "
|
957
|
+
"description": "Loading text",
|
948
958
|
"options": [],
|
949
959
|
"value": {
|
950
960
|
"type": "string",
|
@@ -952,29 +962,29 @@
|
|
952
962
|
}
|
953
963
|
},
|
954
964
|
{
|
955
|
-
"name": "
|
956
|
-
"default": "`
|
957
|
-
"description": "
|
965
|
+
"name": "loading-type",
|
966
|
+
"default": "`circular`",
|
967
|
+
"description": "Loading type, can be set to `spinner`",
|
958
968
|
"options": [],
|
959
969
|
"value": {
|
960
|
-
"type": "
|
970
|
+
"type": "string",
|
961
971
|
"kind": "expression"
|
962
972
|
}
|
963
973
|
},
|
964
974
|
{
|
965
|
-
"name": "
|
966
|
-
"default": "`
|
967
|
-
"description": "
|
975
|
+
"name": "loading-size",
|
976
|
+
"default": "`20px`",
|
977
|
+
"description": "Loading icon size",
|
968
978
|
"options": [],
|
969
979
|
"value": {
|
970
|
-
"type": "
|
980
|
+
"type": "number | string",
|
971
981
|
"kind": "expression"
|
972
982
|
}
|
973
983
|
},
|
974
984
|
{
|
975
|
-
"name": "
|
985
|
+
"name": "url",
|
976
986
|
"default": "-",
|
977
|
-
"description": "
|
987
|
+
"description": "Link URL",
|
978
988
|
"options": [],
|
979
989
|
"value": {
|
980
990
|
"type": "string",
|
@@ -982,73 +992,59 @@
|
|
982
992
|
}
|
983
993
|
},
|
984
994
|
{
|
985
|
-
"name": "
|
986
|
-
"default": "
|
987
|
-
"description": "
|
988
|
-
"options": [],
|
989
|
-
"value": {
|
990
|
-
"type": "boolean",
|
991
|
-
"kind": "expression"
|
992
|
-
}
|
993
|
-
},
|
994
|
-
{
|
995
|
-
"name": "add-button-text",
|
996
|
-
"default": "`Add new address`",
|
997
|
-
"description": "Add button text",
|
995
|
+
"name": "to",
|
996
|
+
"default": "-",
|
997
|
+
"description": "Target route of the link, same as using vue-router",
|
998
998
|
"options": [],
|
999
999
|
"value": {
|
1000
|
-
"type": "string",
|
1000
|
+
"type": "string | object",
|
1001
1001
|
"kind": "expression"
|
1002
1002
|
}
|
1003
1003
|
},
|
1004
1004
|
{
|
1005
|
-
"name": "
|
1006
|
-
"default": "
|
1007
|
-
"description": "
|
1005
|
+
"name": "replace",
|
1006
|
+
"default": "`false`",
|
1007
|
+
"description": "If true, the navigation will not leave a history record",
|
1008
1008
|
"options": [],
|
1009
1009
|
"value": {
|
1010
|
-
"type": "
|
1010
|
+
"type": "boolean",
|
1011
1011
|
"kind": "expression"
|
1012
1012
|
}
|
1013
1013
|
}
|
1014
1014
|
]
|
1015
1015
|
},
|
1016
1016
|
{
|
1017
|
-
"name": "
|
1017
|
+
"name": "action-sheet",
|
1018
1018
|
"slots": [
|
1019
1019
|
{
|
1020
|
-
"name": "
|
1021
|
-
"description": "Custom
|
1022
|
-
},
|
1023
|
-
{
|
1024
|
-
"name": "title",
|
1025
|
-
"description": "Custom title"
|
1020
|
+
"name": "default",
|
1021
|
+
"description": "Custom content"
|
1026
1022
|
},
|
1027
1023
|
{
|
1028
|
-
"name": "
|
1029
|
-
"description": "Custom
|
1024
|
+
"name": "description",
|
1025
|
+
"description": "Custom description above the options"
|
1030
1026
|
},
|
1031
1027
|
{
|
1032
1028
|
"name": "cancel",
|
1033
|
-
"description": "Custom cancel button
|
1034
|
-
},
|
1035
|
-
{
|
1036
|
-
"name": "columns-top",
|
1037
|
-
"description": "Custom content above columns"
|
1029
|
+
"description": "Custom the content of cancel button"
|
1038
1030
|
},
|
1039
1031
|
{
|
1040
|
-
"name": "
|
1041
|
-
"description": "Custom content
|
1032
|
+
"name": "action",
|
1033
|
+
"description": "Custom the content of action"
|
1042
1034
|
}
|
1043
1035
|
],
|
1044
1036
|
"events": [
|
1045
1037
|
{
|
1046
|
-
"name": "
|
1047
|
-
"description": "Emitted when
|
1038
|
+
"name": "select",
|
1039
|
+
"description": "Emitted when an option is clicked",
|
1048
1040
|
"arguments": [
|
1049
1041
|
{
|
1050
|
-
"name": "
|
1051
|
-
"type": "
|
1042
|
+
"name": "action",
|
1043
|
+
"type": "ActionSheetAction"
|
1044
|
+
},
|
1045
|
+
{
|
1046
|
+
"name": "index",
|
1047
|
+
"type": "number"
|
1052
1048
|
}
|
1053
1049
|
]
|
1054
1050
|
},
|
@@ -1058,45 +1054,61 @@
|
|
1058
1054
|
"arguments": []
|
1059
1055
|
},
|
1060
1056
|
{
|
1061
|
-
"name": "
|
1062
|
-
"description": "Emitted when
|
1057
|
+
"name": "open",
|
1058
|
+
"description": "Emitted when opening ActionSheet",
|
1059
|
+
"arguments": []
|
1060
|
+
},
|
1061
|
+
{
|
1062
|
+
"name": "close",
|
1063
|
+
"description": "Emitted when closing ActionSheet",
|
1064
|
+
"arguments": []
|
1065
|
+
},
|
1066
|
+
{
|
1067
|
+
"name": "opened",
|
1068
|
+
"description": "Emitted when ActionSheet is opened",
|
1069
|
+
"arguments": []
|
1070
|
+
},
|
1071
|
+
{
|
1072
|
+
"name": "closed",
|
1073
|
+
"description": "Emitted when ActionSheet is closed",
|
1074
|
+
"arguments": []
|
1075
|
+
},
|
1076
|
+
{
|
1077
|
+
"name": "click-overlay",
|
1078
|
+
"description": "Emitted when overlay is clicked",
|
1063
1079
|
"arguments": [
|
1064
1080
|
{
|
1065
|
-
"name": "
|
1066
|
-
"type": "
|
1067
|
-
},
|
1068
|
-
{
|
1069
|
-
"name": "column",
|
1070
|
-
"type": "index"
|
1081
|
+
"name": "event",
|
1082
|
+
"type": "MouseEvent"
|
1071
1083
|
}
|
1072
1084
|
]
|
1073
1085
|
}
|
1074
1086
|
],
|
1075
1087
|
"attributes": [
|
1076
1088
|
{
|
1077
|
-
"name": "
|
1078
|
-
"default": "
|
1079
|
-
"description": "
|
1089
|
+
"name": "v-model:show",
|
1090
|
+
"default": "`false`",
|
1091
|
+
"description": "Whether to show ActionSheet",
|
1080
1092
|
"options": [],
|
1081
1093
|
"value": {
|
1082
|
-
"type": "
|
1094
|
+
"type": "boolean",
|
1083
1095
|
"kind": "expression"
|
1084
1096
|
}
|
1085
1097
|
},
|
1086
1098
|
{
|
1087
|
-
"name": "
|
1088
|
-
"default": "
|
1089
|
-
"description": "
|
1099
|
+
"name": "actions",
|
1100
|
+
"default": "`[]`",
|
1101
|
+
"description": "Options",
|
1090
1102
|
"options": [],
|
1091
1103
|
"value": {
|
1092
|
-
"type": "
|
1104
|
+
"type": "ActionSheetAction[]",
|
1093
1105
|
"kind": "expression"
|
1094
1106
|
}
|
1095
1107
|
},
|
1096
1108
|
{
|
1097
|
-
"name": "
|
1098
|
-
"default": "
|
1099
|
-
"description": "
|
1109
|
+
"name": "title",
|
1110
|
+
"default": "-",
|
1111
|
+
"description": "Title",
|
1100
1112
|
"options": [],
|
1101
1113
|
"value": {
|
1102
1114
|
"type": "string",
|
@@ -1104,8 +1116,8 @@
|
|
1104
1116
|
}
|
1105
1117
|
},
|
1106
1118
|
{
|
1107
|
-
"name": "cancel-
|
1108
|
-
"default": "
|
1119
|
+
"name": "cancel-text",
|
1120
|
+
"default": "-",
|
1109
1121
|
"description": "Text of cancel button",
|
1110
1122
|
"options": [],
|
1111
1123
|
"value": {
|
@@ -1114,135 +1126,119 @@
|
|
1114
1126
|
}
|
1115
1127
|
},
|
1116
1128
|
{
|
1117
|
-
"name": "
|
1129
|
+
"name": "description",
|
1118
1130
|
"default": "-",
|
1119
|
-
"description": "
|
1131
|
+
"description": "Description above the options",
|
1120
1132
|
"options": [],
|
1121
1133
|
"value": {
|
1122
|
-
"type": "
|
1134
|
+
"type": "string",
|
1123
1135
|
"kind": "expression"
|
1124
1136
|
}
|
1125
1137
|
},
|
1126
1138
|
{
|
1127
|
-
"name": "
|
1128
|
-
"default": "`
|
1129
|
-
"description": "
|
1139
|
+
"name": "closeable",
|
1140
|
+
"default": "`true`",
|
1141
|
+
"description": "Whether to show close icon",
|
1130
1142
|
"options": [],
|
1131
1143
|
"value": {
|
1132
|
-
"type": "
|
1144
|
+
"type": "boolean",
|
1133
1145
|
"kind": "expression"
|
1134
1146
|
}
|
1135
1147
|
},
|
1136
1148
|
{
|
1137
|
-
"name": "
|
1138
|
-
"default": "`
|
1139
|
-
"description": "
|
1149
|
+
"name": "close-icon",
|
1150
|
+
"default": "`cross`",
|
1151
|
+
"description": "Close icon name",
|
1140
1152
|
"options": [],
|
1141
1153
|
"value": {
|
1142
|
-
"type": "
|
1154
|
+
"type": "string",
|
1143
1155
|
"kind": "expression"
|
1144
1156
|
}
|
1145
1157
|
},
|
1146
1158
|
{
|
1147
|
-
"name": "
|
1148
|
-
"default": "`
|
1149
|
-
"description": "
|
1159
|
+
"name": "duration",
|
1160
|
+
"default": "`0.3`",
|
1161
|
+
"description": "Transition duration, unit second",
|
1150
1162
|
"options": [],
|
1151
1163
|
"value": {
|
1152
|
-
"type": "
|
1164
|
+
"type": "number | string",
|
1153
1165
|
"kind": "expression"
|
1154
1166
|
}
|
1155
1167
|
},
|
1156
1168
|
{
|
1157
|
-
"name": "
|
1158
|
-
"default": "`
|
1159
|
-
"description": "
|
1169
|
+
"name": "round",
|
1170
|
+
"default": "`true`",
|
1171
|
+
"description": "Whether to show round corner",
|
1160
1172
|
"options": [],
|
1161
1173
|
"value": {
|
1162
|
-
"type": "
|
1174
|
+
"type": "boolean",
|
1163
1175
|
"kind": "expression"
|
1164
1176
|
}
|
1165
1177
|
},
|
1166
1178
|
{
|
1167
|
-
"name": "
|
1168
|
-
"default": "`
|
1169
|
-
"description": "
|
1179
|
+
"name": "overlay",
|
1180
|
+
"default": "`true`",
|
1181
|
+
"description": "Whether to show overlay",
|
1170
1182
|
"options": [],
|
1171
1183
|
"value": {
|
1172
|
-
"type": "
|
1184
|
+
"type": "boolean",
|
1173
1185
|
"kind": "expression"
|
1174
1186
|
}
|
1175
1187
|
},
|
1176
1188
|
{
|
1177
|
-
"name": "
|
1178
|
-
"default": "
|
1179
|
-
"description": "
|
1189
|
+
"name": "overlay-class",
|
1190
|
+
"default": "-",
|
1191
|
+
"description": "Custom overlay class",
|
1180
1192
|
"options": [],
|
1181
1193
|
"value": {
|
1182
|
-
"type": "
|
1194
|
+
"type": "string | Array | object",
|
1183
1195
|
"kind": "expression"
|
1184
1196
|
}
|
1185
1197
|
},
|
1186
1198
|
{
|
1187
|
-
"name": "
|
1188
|
-
"default": "
|
1189
|
-
"description": "
|
1199
|
+
"name": "overlay-style",
|
1200
|
+
"default": "-",
|
1201
|
+
"description": "Custom overlay style",
|
1190
1202
|
"options": [],
|
1191
1203
|
"value": {
|
1192
|
-
"type": "
|
1204
|
+
"type": "object",
|
1193
1205
|
"kind": "expression"
|
1194
1206
|
}
|
1195
1207
|
},
|
1196
1208
|
{
|
1197
|
-
"name": "
|
1198
|
-
"default": "
|
1199
|
-
"description": "
|
1209
|
+
"name": "lock-scroll",
|
1210
|
+
"default": "`true`",
|
1211
|
+
"description": "Whether to lock background scroll",
|
1200
1212
|
"options": [],
|
1201
1213
|
"value": {
|
1202
|
-
"type": "
|
1214
|
+
"type": "boolean",
|
1203
1215
|
"kind": "expression"
|
1204
1216
|
}
|
1205
|
-
}
|
1206
|
-
]
|
1207
|
-
},
|
1208
|
-
{
|
1209
|
-
"name": "van-badge",
|
1210
|
-
"slots": [
|
1211
|
-
{
|
1212
|
-
"name": "default",
|
1213
|
-
"description": "Default slot"
|
1214
1217
|
},
|
1215
1218
|
{
|
1216
|
-
"name": "
|
1217
|
-
"
|
1218
|
-
|
1219
|
-
],
|
1220
|
-
"events": [],
|
1221
|
-
"attributes": [
|
1222
|
-
{
|
1223
|
-
"name": "content",
|
1224
|
-
"default": "-",
|
1225
|
-
"description": "Badge content",
|
1219
|
+
"name": "lazy-render",
|
1220
|
+
"default": "`true`",
|
1221
|
+
"description": "Whether to lazy render util appeared",
|
1226
1222
|
"options": [],
|
1227
1223
|
"value": {
|
1228
|
-
"type": "
|
1224
|
+
"type": "boolean",
|
1229
1225
|
"kind": "expression"
|
1230
1226
|
}
|
1231
1227
|
},
|
1232
1228
|
{
|
1233
|
-
"name": "
|
1234
|
-
"default": "
|
1235
|
-
"description": "
|
1229
|
+
"name": "close-on-popstate",
|
1230
|
+
"default": "`true`",
|
1231
|
+
"description": "Whether to close when popstate",
|
1236
1232
|
"options": [],
|
1237
1233
|
"value": {
|
1238
|
-
"type": "
|
1234
|
+
"type": "boolean",
|
1239
1235
|
"kind": "expression"
|
1240
1236
|
}
|
1241
1237
|
},
|
1242
1238
|
{
|
1243
|
-
"name": "
|
1239
|
+
"name": "close-on-click-action",
|
1244
1240
|
"default": "`false`",
|
1245
|
-
"description": "Whether to
|
1241
|
+
"description": "Whether to close when an action is clicked",
|
1246
1242
|
"options": [],
|
1247
1243
|
"value": {
|
1248
1244
|
"type": "boolean",
|
@@ -1250,100 +1246,92 @@
|
|
1250
1246
|
}
|
1251
1247
|
},
|
1252
1248
|
{
|
1253
|
-
"name": "
|
1254
|
-
"default": "
|
1255
|
-
"description": "
|
1249
|
+
"name": "close-on-click-overlay",
|
1250
|
+
"default": "`true`",
|
1251
|
+
"description": "Whether to close when overlay is clicked",
|
1256
1252
|
"options": [],
|
1257
1253
|
"value": {
|
1258
|
-
"type": "
|
1254
|
+
"type": "boolean",
|
1259
1255
|
"kind": "expression"
|
1260
1256
|
}
|
1261
1257
|
},
|
1262
1258
|
{
|
1263
|
-
"name": "
|
1264
|
-
"default": "
|
1265
|
-
"description": "
|
1259
|
+
"name": "safe-area-inset-bottom",
|
1260
|
+
"default": "`true`",
|
1261
|
+
"description": "Whether to enable bottom safe area adaptation",
|
1266
1262
|
"options": [],
|
1267
1263
|
"value": {
|
1268
|
-
"type": "
|
1264
|
+
"type": "boolean",
|
1269
1265
|
"kind": "expression"
|
1270
1266
|
}
|
1271
1267
|
},
|
1272
1268
|
{
|
1273
|
-
"name": "
|
1274
|
-
"default": "
|
1275
|
-
"description": "
|
1269
|
+
"name": "teleport",
|
1270
|
+
"default": "-",
|
1271
|
+
"description": "Specifies a target element where ActionSheet will be mounted",
|
1276
1272
|
"options": [],
|
1277
1273
|
"value": {
|
1278
|
-
"type": "
|
1274
|
+
"type": "string | Element",
|
1279
1275
|
"kind": "expression"
|
1280
1276
|
}
|
1281
1277
|
},
|
1282
1278
|
{
|
1283
|
-
"name": "
|
1284
|
-
"default": "
|
1285
|
-
"description": "
|
1279
|
+
"name": "before-close",
|
1280
|
+
"default": "-",
|
1281
|
+
"description": "Callback function before close",
|
1286
1282
|
"options": [],
|
1287
1283
|
"value": {
|
1288
|
-
"type": "string",
|
1284
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
1289
1285
|
"kind": "expression"
|
1290
1286
|
}
|
1291
1287
|
}
|
1292
1288
|
]
|
1293
1289
|
},
|
1294
1290
|
{
|
1295
|
-
"name": "
|
1296
|
-
"slots": [
|
1297
|
-
|
1298
|
-
|
1299
|
-
"description": "Default slot"
|
1300
|
-
},
|
1301
|
-
{
|
1302
|
-
"name": "icon",
|
1303
|
-
"description": "Custom icon"
|
1304
|
-
},
|
1305
|
-
{
|
1306
|
-
"name": "loading",
|
1307
|
-
"description": "Custom loading icon"
|
1308
|
-
}
|
1309
|
-
],
|
1310
|
-
"events": [
|
1291
|
+
"name": "action-bar",
|
1292
|
+
"slots": [],
|
1293
|
+
"events": [],
|
1294
|
+
"attributes": [
|
1311
1295
|
{
|
1312
|
-
"name": "
|
1313
|
-
"
|
1314
|
-
"
|
1315
|
-
|
1316
|
-
|
1317
|
-
|
1318
|
-
|
1319
|
-
|
1296
|
+
"name": "safe-area-inset-bottom",
|
1297
|
+
"default": "`true`",
|
1298
|
+
"description": "Whether to enable bottom safe area adaptation",
|
1299
|
+
"options": [],
|
1300
|
+
"value": {
|
1301
|
+
"type": "boolean",
|
1302
|
+
"kind": "expression"
|
1303
|
+
}
|
1320
1304
|
},
|
1321
1305
|
{
|
1322
|
-
"name": "
|
1323
|
-
"
|
1324
|
-
"
|
1325
|
-
{
|
1326
|
-
"name": "event",
|
1327
|
-
"type": "TouchEvent"
|
1328
|
-
}
|
1329
|
-
]
|
1330
|
-
}
|
1331
|
-
],
|
1332
|
-
"attributes": [
|
1333
|
-
{
|
1334
|
-
"name": "type",
|
1335
|
-
"default": "`default`",
|
1336
|
-
"description": "Can be set to `primary` `success` `warning` `danger`",
|
1306
|
+
"name": "placeholder",
|
1307
|
+
"default": "`false`",
|
1308
|
+
"description": "Whether to generate a placeholder element",
|
1337
1309
|
"options": [],
|
1338
1310
|
"value": {
|
1339
|
-
"type": "
|
1311
|
+
"type": "boolean",
|
1340
1312
|
"kind": "expression"
|
1341
1313
|
}
|
1314
|
+
}
|
1315
|
+
]
|
1316
|
+
},
|
1317
|
+
{
|
1318
|
+
"name": "action-bar-icon",
|
1319
|
+
"slots": [
|
1320
|
+
{
|
1321
|
+
"name": "default",
|
1322
|
+
"description": "Text"
|
1342
1323
|
},
|
1343
1324
|
{
|
1344
|
-
"name": "
|
1345
|
-
"
|
1346
|
-
|
1325
|
+
"name": "icon",
|
1326
|
+
"description": "Custom icon"
|
1327
|
+
}
|
1328
|
+
],
|
1329
|
+
"events": [],
|
1330
|
+
"attributes": [
|
1331
|
+
{
|
1332
|
+
"name": "text",
|
1333
|
+
"default": "-",
|
1334
|
+
"description": "Button text",
|
1347
1335
|
"options": [],
|
1348
1336
|
"value": {
|
1349
1337
|
"type": "string",
|
@@ -1351,9 +1339,9 @@
|
|
1351
1339
|
}
|
1352
1340
|
},
|
1353
1341
|
{
|
1354
|
-
"name": "
|
1342
|
+
"name": "icon",
|
1355
1343
|
"default": "-",
|
1356
|
-
"description": "
|
1344
|
+
"description": "Icon",
|
1357
1345
|
"options": [],
|
1358
1346
|
"value": {
|
1359
1347
|
"type": "string",
|
@@ -1362,8 +1350,8 @@
|
|
1362
1350
|
},
|
1363
1351
|
{
|
1364
1352
|
"name": "color",
|
1365
|
-
"default": "
|
1366
|
-
"description": "
|
1353
|
+
"default": "`#323233`",
|
1354
|
+
"description": "Icon color",
|
1367
1355
|
"options": [],
|
1368
1356
|
"value": {
|
1369
1357
|
"type": "string",
|
@@ -1371,12 +1359,12 @@
|
|
1371
1359
|
}
|
1372
1360
|
},
|
1373
1361
|
{
|
1374
|
-
"name": "icon",
|
1375
|
-
"default": "
|
1376
|
-
"description": "
|
1362
|
+
"name": "icon-class",
|
1363
|
+
"default": "`''`",
|
1364
|
+
"description": "Icon class name",
|
1377
1365
|
"options": [],
|
1378
1366
|
"value": {
|
1379
|
-
"type": "string",
|
1367
|
+
"type": "string | Array | object",
|
1380
1368
|
"kind": "expression"
|
1381
1369
|
}
|
1382
1370
|
},
|
@@ -1391,99 +1379,111 @@
|
|
1391
1379
|
}
|
1392
1380
|
},
|
1393
1381
|
{
|
1394
|
-
"name": "
|
1395
|
-
"default": "
|
1396
|
-
"description": "
|
1382
|
+
"name": "dot",
|
1383
|
+
"default": "-",
|
1384
|
+
"description": "Whether to show red dot",
|
1397
1385
|
"options": [],
|
1398
1386
|
"value": {
|
1399
|
-
"type": "
|
1387
|
+
"type": "boolean",
|
1400
1388
|
"kind": "expression"
|
1401
1389
|
}
|
1402
1390
|
},
|
1403
1391
|
{
|
1404
|
-
"name": "
|
1405
|
-
"default": "
|
1406
|
-
"description": "
|
1392
|
+
"name": "badge",
|
1393
|
+
"default": "-",
|
1394
|
+
"description": "Content of the badge",
|
1407
1395
|
"options": [],
|
1408
1396
|
"value": {
|
1409
|
-
"type": "string",
|
1397
|
+
"type": "number | string",
|
1410
1398
|
"kind": "expression"
|
1411
1399
|
}
|
1412
1400
|
},
|
1413
1401
|
{
|
1414
|
-
"name": "
|
1415
|
-
"default": "
|
1416
|
-
"description": "
|
1402
|
+
"name": "badge-props",
|
1403
|
+
"default": "-",
|
1404
|
+
"description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
|
1417
1405
|
"options": [],
|
1418
1406
|
"value": {
|
1419
|
-
"type": "
|
1407
|
+
"type": "BadgeProps",
|
1420
1408
|
"kind": "expression"
|
1421
1409
|
}
|
1422
1410
|
},
|
1423
1411
|
{
|
1424
|
-
"name": "
|
1425
|
-
"default": "
|
1426
|
-
"description": "
|
1412
|
+
"name": "url",
|
1413
|
+
"default": "-",
|
1414
|
+
"description": "Link URL",
|
1427
1415
|
"options": [],
|
1428
1416
|
"value": {
|
1429
|
-
"type": "
|
1417
|
+
"type": "string",
|
1430
1418
|
"kind": "expression"
|
1431
1419
|
}
|
1432
1420
|
},
|
1433
1421
|
{
|
1434
|
-
"name": "
|
1435
|
-
"default": "
|
1436
|
-
"description": "
|
1422
|
+
"name": "to",
|
1423
|
+
"default": "-",
|
1424
|
+
"description": "Target route of the link, same as to of vue-router",
|
1437
1425
|
"options": [],
|
1438
1426
|
"value": {
|
1439
|
-
"type": "
|
1427
|
+
"type": "string | object",
|
1440
1428
|
"kind": "expression"
|
1441
1429
|
}
|
1442
1430
|
},
|
1443
1431
|
{
|
1444
|
-
"name": "
|
1432
|
+
"name": "replace",
|
1445
1433
|
"default": "`false`",
|
1446
|
-
"description": "
|
1434
|
+
"description": "If true, the navigation will not leave a history record",
|
1447
1435
|
"options": [],
|
1448
1436
|
"value": {
|
1449
1437
|
"type": "boolean",
|
1450
1438
|
"kind": "expression"
|
1451
1439
|
}
|
1452
|
-
}
|
1440
|
+
}
|
1441
|
+
]
|
1442
|
+
},
|
1443
|
+
{
|
1444
|
+
"name": "action-bar-button",
|
1445
|
+
"slots": [
|
1453
1446
|
{
|
1454
|
-
"name": "
|
1455
|
-
"
|
1456
|
-
|
1447
|
+
"name": "default",
|
1448
|
+
"description": "Button content"
|
1449
|
+
}
|
1450
|
+
],
|
1451
|
+
"events": [],
|
1452
|
+
"attributes": [
|
1453
|
+
{
|
1454
|
+
"name": "text",
|
1455
|
+
"default": "-",
|
1456
|
+
"description": "Button text",
|
1457
1457
|
"options": [],
|
1458
1458
|
"value": {
|
1459
|
-
"type": "
|
1459
|
+
"type": "string",
|
1460
1460
|
"kind": "expression"
|
1461
1461
|
}
|
1462
1462
|
},
|
1463
1463
|
{
|
1464
|
-
"name": "
|
1465
|
-
"default": "`
|
1466
|
-
"description": "
|
1464
|
+
"name": "type",
|
1465
|
+
"default": "`default`",
|
1466
|
+
"description": "Button type, Can be set to `primary` `info` `warning` `danger`",
|
1467
1467
|
"options": [],
|
1468
1468
|
"value": {
|
1469
|
-
"type": "
|
1469
|
+
"type": "string",
|
1470
1470
|
"kind": "expression"
|
1471
1471
|
}
|
1472
1472
|
},
|
1473
1473
|
{
|
1474
|
-
"name": "
|
1475
|
-
"default": "
|
1476
|
-
"description": "
|
1474
|
+
"name": "color",
|
1475
|
+
"default": "-",
|
1476
|
+
"description": "Button color, support linear-gradient",
|
1477
1477
|
"options": [],
|
1478
1478
|
"value": {
|
1479
|
-
"type": "
|
1479
|
+
"type": "string",
|
1480
1480
|
"kind": "expression"
|
1481
1481
|
}
|
1482
1482
|
},
|
1483
1483
|
{
|
1484
|
-
"name": "
|
1484
|
+
"name": "icon",
|
1485
1485
|
"default": "-",
|
1486
|
-
"description": "
|
1486
|
+
"description": "Left Icon",
|
1487
1487
|
"options": [],
|
1488
1488
|
"value": {
|
1489
1489
|
"type": "string",
|
@@ -1491,29 +1491,29 @@
|
|
1491
1491
|
}
|
1492
1492
|
},
|
1493
1493
|
{
|
1494
|
-
"name": "
|
1495
|
-
"default": "`
|
1496
|
-
"description": "
|
1494
|
+
"name": "disabled",
|
1495
|
+
"default": "`false`",
|
1496
|
+
"description": "Whether to disable button",
|
1497
1497
|
"options": [],
|
1498
1498
|
"value": {
|
1499
|
-
"type": "
|
1499
|
+
"type": "boolean",
|
1500
1500
|
"kind": "expression"
|
1501
1501
|
}
|
1502
1502
|
},
|
1503
1503
|
{
|
1504
|
-
"name": "loading
|
1505
|
-
"default": "`
|
1506
|
-
"description": "
|
1504
|
+
"name": "loading",
|
1505
|
+
"default": "`false`",
|
1506
|
+
"description": "Whether to show loading status",
|
1507
1507
|
"options": [],
|
1508
1508
|
"value": {
|
1509
|
-
"type": "
|
1509
|
+
"type": "boolean",
|
1510
1510
|
"kind": "expression"
|
1511
1511
|
}
|
1512
1512
|
},
|
1513
1513
|
{
|
1514
1514
|
"name": "url",
|
1515
1515
|
"default": "-",
|
1516
|
-
"description": "Link
|
1516
|
+
"description": "Link",
|
1517
1517
|
"options": [],
|
1518
1518
|
"value": {
|
1519
1519
|
"type": "string",
|
@@ -1523,7 +1523,7 @@
|
|
1523
1523
|
{
|
1524
1524
|
"name": "to",
|
1525
1525
|
"default": "-",
|
1526
|
-
"description": "Target route of the link, same as
|
1526
|
+
"description": "Target route of the link, same as to of vue-router",
|
1527
1527
|
"options": [],
|
1528
1528
|
"value": {
|
1529
1529
|
"type": "string | object",
|
@@ -1543,7 +1543,7 @@
|
|
1543
1543
|
]
|
1544
1544
|
},
|
1545
1545
|
{
|
1546
|
-
"name": "
|
1546
|
+
"name": "calendar",
|
1547
1547
|
"slots": [
|
1548
1548
|
{
|
1549
1549
|
"name": "title",
|
@@ -1971,7 +1971,7 @@
|
|
1971
1971
|
]
|
1972
1972
|
},
|
1973
1973
|
{
|
1974
|
-
"name": "
|
1974
|
+
"name": "card",
|
1975
1975
|
"slots": [
|
1976
1976
|
{
|
1977
1977
|
"name": "title",
|
@@ -2154,7 +2154,7 @@
|
|
2154
2154
|
]
|
2155
2155
|
},
|
2156
2156
|
{
|
2157
|
-
"name": "
|
2157
|
+
"name": "cascader",
|
2158
2158
|
"slots": [
|
2159
2159
|
{
|
2160
2160
|
"name": "title",
|
@@ -2316,7 +2316,7 @@
|
|
2316
2316
|
]
|
2317
2317
|
},
|
2318
2318
|
{
|
2319
|
-
"name": "
|
2319
|
+
"name": "cell-group",
|
2320
2320
|
"slots": [
|
2321
2321
|
{
|
2322
2322
|
"name": "default",
|
@@ -2362,7 +2362,7 @@
|
|
2362
2362
|
]
|
2363
2363
|
},
|
2364
2364
|
{
|
2365
|
-
"name": "
|
2365
|
+
"name": "cell",
|
2366
2366
|
"slots": [
|
2367
2367
|
{
|
2368
2368
|
"name": "title",
|
@@ -2595,7 +2595,7 @@
|
|
2595
2595
|
]
|
2596
2596
|
},
|
2597
2597
|
{
|
2598
|
-
"name": "
|
2598
|
+
"name": "checkbox",
|
2599
2599
|
"slots": [
|
2600
2600
|
{
|
2601
2601
|
"name": "default",
|
@@ -2642,7 +2642,7 @@
|
|
2642
2642
|
{
|
2643
2643
|
"name": "name",
|
2644
2644
|
"default": "-",
|
2645
|
-
"description": "Checkbox name",
|
2645
|
+
"description": "Checkbox name, usually a unique string or number",
|
2646
2646
|
"options": [],
|
2647
2647
|
"value": {
|
2648
2648
|
"type": "any",
|
@@ -2722,7 +2722,7 @@
|
|
2722
2722
|
]
|
2723
2723
|
},
|
2724
2724
|
{
|
2725
|
-
"name": "
|
2725
|
+
"name": "checkbox-group",
|
2726
2726
|
"slots": [],
|
2727
2727
|
"events": [
|
2728
2728
|
{
|
@@ -2800,7 +2800,7 @@
|
|
2800
2800
|
]
|
2801
2801
|
},
|
2802
2802
|
{
|
2803
|
-
"name": "
|
2803
|
+
"name": "circle",
|
2804
2804
|
"slots": [
|
2805
2805
|
{
|
2806
2806
|
"name": "default",
|
@@ -2932,7 +2932,7 @@
|
|
2932
2932
|
]
|
2933
2933
|
},
|
2934
2934
|
{
|
2935
|
-
"name": "
|
2935
|
+
"name": "row",
|
2936
2936
|
"slots": [],
|
2937
2937
|
"events": [
|
2938
2938
|
{
|
@@ -3000,7 +3000,7 @@
|
|
3000
3000
|
]
|
3001
3001
|
},
|
3002
3002
|
{
|
3003
|
-
"name": "
|
3003
|
+
"name": "col",
|
3004
3004
|
"slots": [],
|
3005
3005
|
"events": [
|
3006
3006
|
{
|
@@ -3048,7 +3048,7 @@
|
|
3048
3048
|
]
|
3049
3049
|
},
|
3050
3050
|
{
|
3051
|
-
"name": "
|
3051
|
+
"name": "collapse",
|
3052
3052
|
"slots": [],
|
3053
3053
|
"events": [
|
3054
3054
|
{
|
@@ -3096,7 +3096,7 @@
|
|
3096
3096
|
]
|
3097
3097
|
},
|
3098
3098
|
{
|
3099
|
-
"name": "
|
3099
|
+
"name": "collapse-item",
|
3100
3100
|
"slots": [
|
3101
3101
|
{
|
3102
3102
|
"name": "default",
|
@@ -3268,7 +3268,7 @@
|
|
3268
3268
|
]
|
3269
3269
|
},
|
3270
3270
|
{
|
3271
|
-
"name": "
|
3271
|
+
"name": "config-provider",
|
3272
3272
|
"slots": [],
|
3273
3273
|
"events": [],
|
3274
3274
|
"attributes": [
|
@@ -3305,7 +3305,7 @@
|
|
3305
3305
|
]
|
3306
3306
|
},
|
3307
3307
|
{
|
3308
|
-
"name": "
|
3308
|
+
"name": "contact-card",
|
3309
3309
|
"slots": [],
|
3310
3310
|
"events": [
|
3311
3311
|
{
|
@@ -3373,7 +3373,7 @@
|
|
3373
3373
|
]
|
3374
3374
|
},
|
3375
3375
|
{
|
3376
|
-
"name": "
|
3376
|
+
"name": "contact-edit",
|
3377
3377
|
"slots": [],
|
3378
3378
|
"events": [
|
3379
3379
|
{
|
@@ -3471,35 +3471,48 @@
|
|
3471
3471
|
]
|
3472
3472
|
},
|
3473
3473
|
{
|
3474
|
-
"name": "
|
3475
|
-
"slots": [
|
3476
|
-
{
|
3477
|
-
"name": "default",
|
3478
|
-
"description": "Custom Content"
|
3479
|
-
}
|
3480
|
-
],
|
3474
|
+
"name": "contact-list",
|
3475
|
+
"slots": [],
|
3481
3476
|
"events": [
|
3482
3477
|
{
|
3483
|
-
"name": "
|
3484
|
-
"description": "Emitted when
|
3478
|
+
"name": "add",
|
3479
|
+
"description": "Emitted when the add button is clicked",
|
3485
3480
|
"arguments": []
|
3486
3481
|
},
|
3487
3482
|
{
|
3488
|
-
"name": "
|
3489
|
-
"description": "Emitted when
|
3483
|
+
"name": "edit",
|
3484
|
+
"description": "Emitted when the edit button is clicked",
|
3490
3485
|
"arguments": [
|
3491
3486
|
{
|
3492
|
-
"name": "
|
3493
|
-
"type": "
|
3487
|
+
"name": "contact",
|
3488
|
+
"type": "Contact"
|
3489
|
+
},
|
3490
|
+
{
|
3491
|
+
"name": "index",
|
3492
|
+
"type": "number"
|
3493
|
+
}
|
3494
|
+
]
|
3495
|
+
},
|
3496
|
+
{
|
3497
|
+
"name": "select",
|
3498
|
+
"description": "Emitted when a contact is selected",
|
3499
|
+
"arguments": [
|
3500
|
+
{
|
3501
|
+
"name": "contact",
|
3502
|
+
"type": "Contact"
|
3503
|
+
},
|
3504
|
+
{
|
3505
|
+
"name": "index",
|
3506
|
+
"type": "number"
|
3494
3507
|
}
|
3495
3508
|
]
|
3496
3509
|
}
|
3497
3510
|
],
|
3498
3511
|
"attributes": [
|
3499
3512
|
{
|
3500
|
-
"name": "
|
3501
|
-
"default": "
|
3502
|
-
"description": "
|
3513
|
+
"name": "v-model",
|
3514
|
+
"default": "-",
|
3515
|
+
"description": "Id of chosen contact",
|
3503
3516
|
"options": [],
|
3504
3517
|
"value": {
|
3505
3518
|
"type": "number | string",
|
@@ -3507,120 +3520,107 @@
|
|
3507
3520
|
}
|
3508
3521
|
},
|
3509
3522
|
{
|
3510
|
-
"name": "
|
3511
|
-
"default": "`
|
3512
|
-
"description": "
|
3523
|
+
"name": "list",
|
3524
|
+
"default": "`[]`",
|
3525
|
+
"description": "Contact list",
|
3513
3526
|
"options": [],
|
3514
3527
|
"value": {
|
3515
|
-
"type": "
|
3528
|
+
"type": "Contact[]",
|
3516
3529
|
"kind": "expression"
|
3517
3530
|
}
|
3518
3531
|
},
|
3519
3532
|
{
|
3520
|
-
"name": "
|
3521
|
-
"default": "`
|
3522
|
-
"description": "
|
3533
|
+
"name": "add-text",
|
3534
|
+
"default": "`Add new contact`",
|
3535
|
+
"description": "Add button text",
|
3523
3536
|
"options": [],
|
3524
3537
|
"value": {
|
3525
|
-
"type": "
|
3538
|
+
"type": "string",
|
3526
3539
|
"kind": "expression"
|
3527
3540
|
}
|
3528
3541
|
},
|
3529
3542
|
{
|
3530
|
-
"name": "
|
3531
|
-
"default": "
|
3532
|
-
"description": "
|
3543
|
+
"name": "default-tag-text",
|
3544
|
+
"default": "-",
|
3545
|
+
"description": "Default tag text",
|
3533
3546
|
"options": [],
|
3534
3547
|
"value": {
|
3535
|
-
"type": "
|
3548
|
+
"type": "string",
|
3536
3549
|
"kind": "expression"
|
3537
3550
|
}
|
3538
3551
|
}
|
3539
3552
|
]
|
3540
3553
|
},
|
3541
3554
|
{
|
3542
|
-
"name": "
|
3543
|
-
"slots": [
|
3555
|
+
"name": "count-down",
|
3556
|
+
"slots": [
|
3557
|
+
{
|
3558
|
+
"name": "default",
|
3559
|
+
"description": "Custom Content"
|
3560
|
+
}
|
3561
|
+
],
|
3544
3562
|
"events": [
|
3545
3563
|
{
|
3546
|
-
"name": "
|
3547
|
-
"description": "Emitted when
|
3564
|
+
"name": "finish",
|
3565
|
+
"description": "Emitted when count down finished",
|
3548
3566
|
"arguments": []
|
3549
3567
|
},
|
3550
3568
|
{
|
3551
|
-
"name": "
|
3552
|
-
"description": "Emitted when
|
3553
|
-
"arguments": [
|
3554
|
-
{
|
3555
|
-
"name": "contact",
|
3556
|
-
"type": "Contact"
|
3557
|
-
},
|
3558
|
-
{
|
3559
|
-
"name": "index",
|
3560
|
-
"type": "number"
|
3561
|
-
}
|
3562
|
-
]
|
3563
|
-
},
|
3564
|
-
{
|
3565
|
-
"name": "select",
|
3566
|
-
"description": "Emitted when a contact is selected",
|
3569
|
+
"name": "change",
|
3570
|
+
"description": "Emitted when count down changed",
|
3567
3571
|
"arguments": [
|
3568
3572
|
{
|
3569
|
-
"name": "
|
3570
|
-
"type": "
|
3571
|
-
},
|
3572
|
-
{
|
3573
|
-
"name": "index",
|
3574
|
-
"type": "number"
|
3573
|
+
"name": "currentTime",
|
3574
|
+
"type": "CurrentTime"
|
3575
3575
|
}
|
3576
3576
|
]
|
3577
3577
|
}
|
3578
3578
|
],
|
3579
3579
|
"attributes": [
|
3580
3580
|
{
|
3581
|
-
"name": "
|
3582
|
-
"default": "
|
3583
|
-
"description": "
|
3581
|
+
"name": "time",
|
3582
|
+
"default": "`0`",
|
3583
|
+
"description": "Total time, unit milliseconds",
|
3584
3584
|
"options": [],
|
3585
3585
|
"value": {
|
3586
3586
|
"type": "number | string",
|
3587
3587
|
"kind": "expression"
|
3588
3588
|
}
|
3589
3589
|
},
|
3590
|
-
{
|
3591
|
-
"name": "
|
3592
|
-
"default": "`
|
3593
|
-
"description": "
|
3590
|
+
{
|
3591
|
+
"name": "format",
|
3592
|
+
"default": "`HH:mm:ss`",
|
3593
|
+
"description": "Time format",
|
3594
3594
|
"options": [],
|
3595
3595
|
"value": {
|
3596
|
-
"type": "
|
3596
|
+
"type": "string",
|
3597
3597
|
"kind": "expression"
|
3598
3598
|
}
|
3599
3599
|
},
|
3600
3600
|
{
|
3601
|
-
"name": "
|
3602
|
-
"default": "`
|
3603
|
-
"description": "
|
3601
|
+
"name": "auto-start",
|
3602
|
+
"default": "`true`",
|
3603
|
+
"description": "Whether to auto start count down",
|
3604
3604
|
"options": [],
|
3605
3605
|
"value": {
|
3606
|
-
"type": "
|
3606
|
+
"type": "boolean",
|
3607
3607
|
"kind": "expression"
|
3608
3608
|
}
|
3609
3609
|
},
|
3610
3610
|
{
|
3611
|
-
"name": "
|
3612
|
-
"default": "
|
3613
|
-
"description": "
|
3611
|
+
"name": "millisecond",
|
3612
|
+
"default": "`false`",
|
3613
|
+
"description": "Whether to enable millisecond render",
|
3614
3614
|
"options": [],
|
3615
3615
|
"value": {
|
3616
|
-
"type": "
|
3616
|
+
"type": "boolean",
|
3617
3617
|
"kind": "expression"
|
3618
3618
|
}
|
3619
3619
|
}
|
3620
3620
|
]
|
3621
3621
|
},
|
3622
3622
|
{
|
3623
|
-
"name": "
|
3623
|
+
"name": "coupon-cell",
|
3624
3624
|
"slots": [],
|
3625
3625
|
"events": [],
|
3626
3626
|
"attributes": [
|
@@ -3687,7 +3687,7 @@
|
|
3687
3687
|
]
|
3688
3688
|
},
|
3689
3689
|
{
|
3690
|
-
"name": "
|
3690
|
+
"name": "coupon-list",
|
3691
3691
|
"slots": [
|
3692
3692
|
{
|
3693
3693
|
"name": "list-footer",
|
@@ -3884,7 +3884,7 @@
|
|
3884
3884
|
]
|
3885
3885
|
},
|
3886
3886
|
{
|
3887
|
-
"name": "
|
3887
|
+
"name": "datetime-picker",
|
3888
3888
|
"slots": [
|
3889
3889
|
{
|
3890
3890
|
"name": "default",
|
@@ -4076,7 +4076,7 @@
|
|
4076
4076
|
]
|
4077
4077
|
},
|
4078
4078
|
{
|
4079
|
-
"name": "
|
4079
|
+
"name": "date-picker",
|
4080
4080
|
"slots": [],
|
4081
4081
|
"events": [],
|
4082
4082
|
"attributes": [
|
@@ -4103,7 +4103,7 @@
|
|
4103
4103
|
]
|
4104
4104
|
},
|
4105
4105
|
{
|
4106
|
-
"name": "
|
4106
|
+
"name": "time-picker",
|
4107
4107
|
"slots": [],
|
4108
4108
|
"events": [],
|
4109
4109
|
"attributes": [
|
@@ -4150,7 +4150,7 @@
|
|
4150
4150
|
]
|
4151
4151
|
},
|
4152
4152
|
{
|
4153
|
-
"name": "
|
4153
|
+
"name": "dialog",
|
4154
4154
|
"slots": [
|
4155
4155
|
{
|
4156
4156
|
"name": "default",
|
@@ -4434,250 +4434,14 @@
|
|
4434
4434
|
"description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition)",
|
4435
4435
|
"options": [],
|
4436
4436
|
"value": {
|
4437
|
-
"type": "string",
|
4438
|
-
"kind": "expression"
|
4439
|
-
}
|
4440
|
-
},
|
4441
|
-
{
|
4442
|
-
"name": "teleport",
|
4443
|
-
"default": "-",
|
4444
|
-
"description": "Specifies a target element where Dialog will be mounted",
|
4445
|
-
"options": [],
|
4446
|
-
"value": {
|
4447
|
-
"type": "string | Element",
|
4448
|
-
"kind": "expression"
|
4449
|
-
}
|
4450
|
-
}
|
4451
|
-
]
|
4452
|
-
},
|
4453
|
-
{
|
4454
|
-
"name": "van-divider",
|
4455
|
-
"slots": [
|
4456
|
-
{
|
4457
|
-
"name": "default",
|
4458
|
-
"description": "content"
|
4459
|
-
}
|
4460
|
-
],
|
4461
|
-
"events": [],
|
4462
|
-
"attributes": [
|
4463
|
-
{
|
4464
|
-
"name": "dashed",
|
4465
|
-
"default": "`false`",
|
4466
|
-
"description": "Whether to use dashed border",
|
4467
|
-
"options": [],
|
4468
|
-
"value": {
|
4469
|
-
"type": "boolean",
|
4470
|
-
"kind": "expression"
|
4471
|
-
}
|
4472
|
-
},
|
4473
|
-
{
|
4474
|
-
"name": "hairline",
|
4475
|
-
"default": "`true`",
|
4476
|
-
"description": "Whether to use hairline",
|
4477
|
-
"options": [],
|
4478
|
-
"value": {
|
4479
|
-
"type": "boolean",
|
4480
|
-
"kind": "expression"
|
4481
|
-
}
|
4482
|
-
},
|
4483
|
-
{
|
4484
|
-
"name": "content-position",
|
4485
|
-
"default": "`center`",
|
4486
|
-
"description": "Content position, can be set to `left` `right`",
|
4487
|
-
"options": [],
|
4488
|
-
"value": {
|
4489
|
-
"type": "string",
|
4490
|
-
"kind": "expression"
|
4491
|
-
}
|
4492
|
-
}
|
4493
|
-
]
|
4494
|
-
},
|
4495
|
-
{
|
4496
|
-
"name": "van-dropdown-menu",
|
4497
|
-
"slots": [],
|
4498
|
-
"events": [],
|
4499
|
-
"attributes": [
|
4500
|
-
{
|
4501
|
-
"name": "active-color",
|
4502
|
-
"default": "`#ee0a24`",
|
4503
|
-
"description": "Active color of title and option",
|
4504
|
-
"options": [],
|
4505
|
-
"value": {
|
4506
|
-
"type": "string",
|
4507
|
-
"kind": "expression"
|
4508
|
-
}
|
4509
|
-
},
|
4510
|
-
{
|
4511
|
-
"name": "direction",
|
4512
|
-
"default": "`down`",
|
4513
|
-
"description": "Expand direction, can be set to `up`",
|
4514
|
-
"options": [],
|
4515
|
-
"value": {
|
4516
|
-
"type": "string",
|
4517
|
-
"kind": "expression"
|
4518
|
-
}
|
4519
|
-
},
|
4520
|
-
{
|
4521
|
-
"name": "z-index",
|
4522
|
-
"default": "`10`",
|
4523
|
-
"description": "z-index of menu item",
|
4524
|
-
"options": [],
|
4525
|
-
"value": {
|
4526
|
-
"type": "number | string",
|
4527
|
-
"kind": "expression"
|
4528
|
-
}
|
4529
|
-
},
|
4530
|
-
{
|
4531
|
-
"name": "duration",
|
4532
|
-
"default": "`0.2`",
|
4533
|
-
"description": "Transition duration, unit second",
|
4534
|
-
"options": [],
|
4535
|
-
"value": {
|
4536
|
-
"type": "number | string",
|
4537
|
-
"kind": "expression"
|
4538
|
-
}
|
4539
|
-
},
|
4540
|
-
{
|
4541
|
-
"name": "overlay",
|
4542
|
-
"default": "`true`",
|
4543
|
-
"description": "Whether to show overlay",
|
4544
|
-
"options": [],
|
4545
|
-
"value": {
|
4546
|
-
"type": "boolean",
|
4547
|
-
"kind": "expression"
|
4548
|
-
}
|
4549
|
-
},
|
4550
|
-
{
|
4551
|
-
"name": "close-on-click-overlay",
|
4552
|
-
"default": "`true`",
|
4553
|
-
"description": "Whether to close when overlay is clicked",
|
4554
|
-
"options": [],
|
4555
|
-
"value": {
|
4556
|
-
"type": "boolean",
|
4557
|
-
"kind": "expression"
|
4558
|
-
}
|
4559
|
-
},
|
4560
|
-
{
|
4561
|
-
"name": "close-on-click-outside",
|
4562
|
-
"default": "`true`",
|
4563
|
-
"description": "Whether to close when outside is clicked",
|
4564
|
-
"options": [],
|
4565
|
-
"value": {
|
4566
|
-
"type": "boolean",
|
4567
|
-
"kind": "expression"
|
4568
|
-
}
|
4569
|
-
}
|
4570
|
-
]
|
4571
|
-
},
|
4572
|
-
{
|
4573
|
-
"name": "van-dropdown-item",
|
4574
|
-
"slots": [
|
4575
|
-
{
|
4576
|
-
"name": "default",
|
4577
|
-
"description": "Content"
|
4578
|
-
},
|
4579
|
-
{
|
4580
|
-
"name": "title",
|
4581
|
-
"description": "Custom title"
|
4582
|
-
}
|
4583
|
-
],
|
4584
|
-
"events": [
|
4585
|
-
{
|
4586
|
-
"name": "change",
|
4587
|
-
"description": "Emitted select option and value changed",
|
4588
|
-
"arguments": [
|
4589
|
-
{
|
4590
|
-
"name": "value",
|
4591
|
-
"type": "number | string"
|
4592
|
-
}
|
4593
|
-
]
|
4594
|
-
},
|
4595
|
-
{
|
4596
|
-
"name": "open",
|
4597
|
-
"description": "Emitted when opening menu",
|
4598
|
-
"arguments": []
|
4599
|
-
},
|
4600
|
-
{
|
4601
|
-
"name": "close",
|
4602
|
-
"description": "Emitted when closing menu",
|
4603
|
-
"arguments": []
|
4604
|
-
},
|
4605
|
-
{
|
4606
|
-
"name": "opened",
|
4607
|
-
"description": "Emitted when menu is opened",
|
4608
|
-
"arguments": []
|
4609
|
-
},
|
4610
|
-
{
|
4611
|
-
"name": "closed",
|
4612
|
-
"description": "Emitted when menu is closed",
|
4613
|
-
"arguments": []
|
4614
|
-
}
|
4615
|
-
],
|
4616
|
-
"attributes": [
|
4617
|
-
{
|
4618
|
-
"name": "v-model",
|
4619
|
-
"default": "-",
|
4620
|
-
"description": "Value of current option",
|
4621
|
-
"options": [],
|
4622
|
-
"value": {
|
4623
|
-
"type": "number | string",
|
4624
|
-
"kind": "expression"
|
4625
|
-
}
|
4626
|
-
},
|
4627
|
-
{
|
4628
|
-
"name": "title",
|
4629
|
-
"default": "Text of selected option",
|
4630
|
-
"description": "Item title",
|
4631
|
-
"options": [],
|
4632
|
-
"value": {
|
4633
|
-
"type": "string",
|
4634
|
-
"kind": "expression"
|
4635
|
-
}
|
4636
|
-
},
|
4637
|
-
{
|
4638
|
-
"name": "options",
|
4639
|
-
"default": "`[]`",
|
4640
|
-
"description": "Options",
|
4641
|
-
"options": [],
|
4642
|
-
"value": {
|
4643
|
-
"type": "Option[]",
|
4644
|
-
"kind": "expression"
|
4645
|
-
}
|
4646
|
-
},
|
4647
|
-
{
|
4648
|
-
"name": "disabled",
|
4649
|
-
"default": "`false`",
|
4650
|
-
"description": "Whether to disable dropdown item",
|
4651
|
-
"options": [],
|
4652
|
-
"value": {
|
4653
|
-
"type": "boolean",
|
4654
|
-
"kind": "expression"
|
4655
|
-
}
|
4656
|
-
},
|
4657
|
-
{
|
4658
|
-
"name": "lazy-render",
|
4659
|
-
"default": "`true`",
|
4660
|
-
"description": "Whether to lazy render util opened",
|
4661
|
-
"options": [],
|
4662
|
-
"value": {
|
4663
|
-
"type": "boolean",
|
4664
|
-
"kind": "expression"
|
4665
|
-
}
|
4666
|
-
},
|
4667
|
-
{
|
4668
|
-
"name": "title-class",
|
4669
|
-
"default": "-",
|
4670
|
-
"description": "Title class",
|
4671
|
-
"options": [],
|
4672
|
-
"value": {
|
4673
|
-
"type": "string | Array | object",
|
4437
|
+
"type": "string",
|
4674
4438
|
"kind": "expression"
|
4675
4439
|
}
|
4676
4440
|
},
|
4677
4441
|
{
|
4678
4442
|
"name": "teleport",
|
4679
4443
|
"default": "-",
|
4680
|
-
"description": "Specifies a target element where
|
4444
|
+
"description": "Specifies a target element where Dialog will be mounted",
|
4681
4445
|
"options": [],
|
4682
4446
|
"value": {
|
4683
4447
|
"type": "string | Element",
|
@@ -4687,47 +4451,39 @@
|
|
4687
4451
|
]
|
4688
4452
|
},
|
4689
4453
|
{
|
4690
|
-
"name": "
|
4454
|
+
"name": "divider",
|
4691
4455
|
"slots": [
|
4692
4456
|
{
|
4693
4457
|
"name": "default",
|
4694
|
-
"description": "
|
4695
|
-
},
|
4696
|
-
{
|
4697
|
-
"name": "image",
|
4698
|
-
"description": "Custom image"
|
4699
|
-
},
|
4700
|
-
{
|
4701
|
-
"name": "description",
|
4702
|
-
"description": "Custom description"
|
4458
|
+
"description": "content"
|
4703
4459
|
}
|
4704
4460
|
],
|
4705
4461
|
"events": [],
|
4706
4462
|
"attributes": [
|
4707
4463
|
{
|
4708
|
-
"name": "
|
4709
|
-
"default": "`
|
4710
|
-
"description": "
|
4464
|
+
"name": "dashed",
|
4465
|
+
"default": "`false`",
|
4466
|
+
"description": "Whether to use dashed border",
|
4711
4467
|
"options": [],
|
4712
4468
|
"value": {
|
4713
|
-
"type": "
|
4469
|
+
"type": "boolean",
|
4714
4470
|
"kind": "expression"
|
4715
4471
|
}
|
4716
4472
|
},
|
4717
4473
|
{
|
4718
|
-
"name": "
|
4719
|
-
"default": "
|
4720
|
-
"description": "
|
4474
|
+
"name": "hairline",
|
4475
|
+
"default": "`true`",
|
4476
|
+
"description": "Whether to use hairline",
|
4721
4477
|
"options": [],
|
4722
4478
|
"value": {
|
4723
|
-
"type": "
|
4479
|
+
"type": "boolean",
|
4724
4480
|
"kind": "expression"
|
4725
4481
|
}
|
4726
4482
|
},
|
4727
4483
|
{
|
4728
|
-
"name": "
|
4729
|
-
"default": "
|
4730
|
-
"description": "
|
4484
|
+
"name": "content-position",
|
4485
|
+
"default": "`center`",
|
4486
|
+
"description": "Content position, can be set to `left` `right`",
|
4731
4487
|
"options": [],
|
4732
4488
|
"value": {
|
4733
4489
|
"type": "string",
|
@@ -4737,7 +4493,7 @@
|
|
4737
4493
|
]
|
4738
4494
|
},
|
4739
4495
|
{
|
4740
|
-
"name": "
|
4496
|
+
"name": "field",
|
4741
4497
|
"slots": [
|
4742
4498
|
{
|
4743
4499
|
"name": "label",
|
@@ -5211,34 +4967,278 @@
|
|
5211
4967
|
"description": "Icon className prefix",
|
5212
4968
|
"options": [],
|
5213
4969
|
"value": {
|
5214
|
-
"type": "string",
|
4970
|
+
"type": "string",
|
4971
|
+
"kind": "expression"
|
4972
|
+
}
|
4973
|
+
},
|
4974
|
+
{
|
4975
|
+
"name": "rules",
|
4976
|
+
"default": "-",
|
4977
|
+
"description": "Form validation rules",
|
4978
|
+
"options": [],
|
4979
|
+
"value": {
|
4980
|
+
"type": "FieldRule[]",
|
4981
|
+
"kind": "expression"
|
4982
|
+
}
|
4983
|
+
},
|
4984
|
+
{
|
4985
|
+
"name": "autocomplete",
|
4986
|
+
"default": "-",
|
4987
|
+
"description": "HTML native attribute, see [MDN - autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)",
|
4988
|
+
"options": [],
|
4989
|
+
"value": {
|
4990
|
+
"type": "string",
|
4991
|
+
"kind": "expression"
|
4992
|
+
}
|
4993
|
+
},
|
4994
|
+
{
|
4995
|
+
"name": "enterkeyhint",
|
4996
|
+
"default": "-",
|
4997
|
+
"description": "HTML native attribute, see [MDN - enterkeyhint](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint)<br>",
|
4998
|
+
"options": [],
|
4999
|
+
"value": {
|
5000
|
+
"type": "string",
|
5001
|
+
"kind": "expression"
|
5002
|
+
}
|
5003
|
+
}
|
5004
|
+
]
|
5005
|
+
},
|
5006
|
+
{
|
5007
|
+
"name": "dropdown-menu",
|
5008
|
+
"slots": [],
|
5009
|
+
"events": [],
|
5010
|
+
"attributes": [
|
5011
|
+
{
|
5012
|
+
"name": "active-color",
|
5013
|
+
"default": "`#ee0a24`",
|
5014
|
+
"description": "Active color of title and option",
|
5015
|
+
"options": [],
|
5016
|
+
"value": {
|
5017
|
+
"type": "string",
|
5018
|
+
"kind": "expression"
|
5019
|
+
}
|
5020
|
+
},
|
5021
|
+
{
|
5022
|
+
"name": "direction",
|
5023
|
+
"default": "`down`",
|
5024
|
+
"description": "Expand direction, can be set to `up`",
|
5025
|
+
"options": [],
|
5026
|
+
"value": {
|
5027
|
+
"type": "string",
|
5028
|
+
"kind": "expression"
|
5029
|
+
}
|
5030
|
+
},
|
5031
|
+
{
|
5032
|
+
"name": "z-index",
|
5033
|
+
"default": "`10`",
|
5034
|
+
"description": "z-index of menu item",
|
5035
|
+
"options": [],
|
5036
|
+
"value": {
|
5037
|
+
"type": "number | string",
|
5038
|
+
"kind": "expression"
|
5039
|
+
}
|
5040
|
+
},
|
5041
|
+
{
|
5042
|
+
"name": "duration",
|
5043
|
+
"default": "`0.2`",
|
5044
|
+
"description": "Transition duration, unit second",
|
5045
|
+
"options": [],
|
5046
|
+
"value": {
|
5047
|
+
"type": "number | string",
|
5048
|
+
"kind": "expression"
|
5049
|
+
}
|
5050
|
+
},
|
5051
|
+
{
|
5052
|
+
"name": "overlay",
|
5053
|
+
"default": "`true`",
|
5054
|
+
"description": "Whether to show overlay",
|
5055
|
+
"options": [],
|
5056
|
+
"value": {
|
5057
|
+
"type": "boolean",
|
5058
|
+
"kind": "expression"
|
5059
|
+
}
|
5060
|
+
},
|
5061
|
+
{
|
5062
|
+
"name": "close-on-click-overlay",
|
5063
|
+
"default": "`true`",
|
5064
|
+
"description": "Whether to close when overlay is clicked",
|
5065
|
+
"options": [],
|
5066
|
+
"value": {
|
5067
|
+
"type": "boolean",
|
5068
|
+
"kind": "expression"
|
5069
|
+
}
|
5070
|
+
},
|
5071
|
+
{
|
5072
|
+
"name": "close-on-click-outside",
|
5073
|
+
"default": "`true`",
|
5074
|
+
"description": "Whether to close when outside is clicked",
|
5075
|
+
"options": [],
|
5076
|
+
"value": {
|
5077
|
+
"type": "boolean",
|
5078
|
+
"kind": "expression"
|
5079
|
+
}
|
5080
|
+
}
|
5081
|
+
]
|
5082
|
+
},
|
5083
|
+
{
|
5084
|
+
"name": "dropdown-item",
|
5085
|
+
"slots": [
|
5086
|
+
{
|
5087
|
+
"name": "default",
|
5088
|
+
"description": "Content"
|
5089
|
+
},
|
5090
|
+
{
|
5091
|
+
"name": "title",
|
5092
|
+
"description": "Custom title"
|
5093
|
+
}
|
5094
|
+
],
|
5095
|
+
"events": [
|
5096
|
+
{
|
5097
|
+
"name": "change",
|
5098
|
+
"description": "Emitted select option and value changed",
|
5099
|
+
"arguments": [
|
5100
|
+
{
|
5101
|
+
"name": "value",
|
5102
|
+
"type": "number | string"
|
5103
|
+
}
|
5104
|
+
]
|
5105
|
+
},
|
5106
|
+
{
|
5107
|
+
"name": "open",
|
5108
|
+
"description": "Emitted when opening menu",
|
5109
|
+
"arguments": []
|
5110
|
+
},
|
5111
|
+
{
|
5112
|
+
"name": "close",
|
5113
|
+
"description": "Emitted when closing menu",
|
5114
|
+
"arguments": []
|
5115
|
+
},
|
5116
|
+
{
|
5117
|
+
"name": "opened",
|
5118
|
+
"description": "Emitted when menu is opened",
|
5119
|
+
"arguments": []
|
5120
|
+
},
|
5121
|
+
{
|
5122
|
+
"name": "closed",
|
5123
|
+
"description": "Emitted when menu is closed",
|
5124
|
+
"arguments": []
|
5125
|
+
}
|
5126
|
+
],
|
5127
|
+
"attributes": [
|
5128
|
+
{
|
5129
|
+
"name": "v-model",
|
5130
|
+
"default": "-",
|
5131
|
+
"description": "Value of current option",
|
5132
|
+
"options": [],
|
5133
|
+
"value": {
|
5134
|
+
"type": "number | string",
|
5135
|
+
"kind": "expression"
|
5136
|
+
}
|
5137
|
+
},
|
5138
|
+
{
|
5139
|
+
"name": "title",
|
5140
|
+
"default": "Text of selected option",
|
5141
|
+
"description": "Item title",
|
5142
|
+
"options": [],
|
5143
|
+
"value": {
|
5144
|
+
"type": "string",
|
5145
|
+
"kind": "expression"
|
5146
|
+
}
|
5147
|
+
},
|
5148
|
+
{
|
5149
|
+
"name": "options",
|
5150
|
+
"default": "`[]`",
|
5151
|
+
"description": "Options",
|
5152
|
+
"options": [],
|
5153
|
+
"value": {
|
5154
|
+
"type": "Option[]",
|
5155
|
+
"kind": "expression"
|
5156
|
+
}
|
5157
|
+
},
|
5158
|
+
{
|
5159
|
+
"name": "disabled",
|
5160
|
+
"default": "`false`",
|
5161
|
+
"description": "Whether to disable dropdown item",
|
5162
|
+
"options": [],
|
5163
|
+
"value": {
|
5164
|
+
"type": "boolean",
|
5165
|
+
"kind": "expression"
|
5166
|
+
}
|
5167
|
+
},
|
5168
|
+
{
|
5169
|
+
"name": "lazy-render",
|
5170
|
+
"default": "`true`",
|
5171
|
+
"description": "Whether to lazy render util opened",
|
5172
|
+
"options": [],
|
5173
|
+
"value": {
|
5174
|
+
"type": "boolean",
|
5175
|
+
"kind": "expression"
|
5176
|
+
}
|
5177
|
+
},
|
5178
|
+
{
|
5179
|
+
"name": "title-class",
|
5180
|
+
"default": "-",
|
5181
|
+
"description": "Title class",
|
5182
|
+
"options": [],
|
5183
|
+
"value": {
|
5184
|
+
"type": "string | Array | object",
|
5185
|
+
"kind": "expression"
|
5186
|
+
}
|
5187
|
+
},
|
5188
|
+
{
|
5189
|
+
"name": "teleport",
|
5190
|
+
"default": "-",
|
5191
|
+
"description": "Specifies a target element where DropdownItem will be mounted",
|
5192
|
+
"options": [],
|
5193
|
+
"value": {
|
5194
|
+
"type": "string | Element",
|
5215
5195
|
"kind": "expression"
|
5216
5196
|
}
|
5197
|
+
}
|
5198
|
+
]
|
5199
|
+
},
|
5200
|
+
{
|
5201
|
+
"name": "empty",
|
5202
|
+
"slots": [
|
5203
|
+
{
|
5204
|
+
"name": "default",
|
5205
|
+
"description": "Custom bottom content"
|
5217
5206
|
},
|
5218
5207
|
{
|
5219
|
-
"name": "
|
5220
|
-
"
|
5221
|
-
|
5208
|
+
"name": "image",
|
5209
|
+
"description": "Custom image"
|
5210
|
+
},
|
5211
|
+
{
|
5212
|
+
"name": "description",
|
5213
|
+
"description": "Custom description"
|
5214
|
+
}
|
5215
|
+
],
|
5216
|
+
"events": [],
|
5217
|
+
"attributes": [
|
5218
|
+
{
|
5219
|
+
"name": "image",
|
5220
|
+
"default": "`default`",
|
5221
|
+
"description": "Image type, can be set to `error` `network` `search` or image URL",
|
5222
5222
|
"options": [],
|
5223
5223
|
"value": {
|
5224
|
-
"type": "
|
5224
|
+
"type": "string",
|
5225
5225
|
"kind": "expression"
|
5226
5226
|
}
|
5227
5227
|
},
|
5228
5228
|
{
|
5229
|
-
"name": "
|
5229
|
+
"name": "image-size",
|
5230
5230
|
"default": "-",
|
5231
|
-
"description": "
|
5231
|
+
"description": "Image size",
|
5232
5232
|
"options": [],
|
5233
5233
|
"value": {
|
5234
|
-
"type": "string",
|
5234
|
+
"type": "number | string | Array",
|
5235
5235
|
"kind": "expression"
|
5236
5236
|
}
|
5237
5237
|
},
|
5238
5238
|
{
|
5239
|
-
"name": "
|
5239
|
+
"name": "description",
|
5240
5240
|
"default": "-",
|
5241
|
-
"description": "
|
5241
|
+
"description": "Description",
|
5242
5242
|
"options": [],
|
5243
5243
|
"value": {
|
5244
5244
|
"type": "string",
|
@@ -5248,7 +5248,7 @@
|
|
5248
5248
|
]
|
5249
5249
|
},
|
5250
5250
|
{
|
5251
|
-
"name": "
|
5251
|
+
"name": "form",
|
5252
5252
|
"slots": [
|
5253
5253
|
{
|
5254
5254
|
"name": "default",
|
@@ -5411,7 +5411,7 @@
|
|
5411
5411
|
]
|
5412
5412
|
},
|
5413
5413
|
{
|
5414
|
-
"name": "
|
5414
|
+
"name": "grid",
|
5415
5415
|
"slots": [],
|
5416
5416
|
"events": [],
|
5417
5417
|
"attributes": [
|
@@ -5508,7 +5508,7 @@
|
|
5508
5508
|
]
|
5509
5509
|
},
|
5510
5510
|
{
|
5511
|
-
"name": "
|
5511
|
+
"name": "grid-item",
|
5512
5512
|
"slots": [
|
5513
5513
|
{
|
5514
5514
|
"name": "default",
|
@@ -5639,7 +5639,7 @@
|
|
5639
5639
|
]
|
5640
5640
|
},
|
5641
5641
|
{
|
5642
|
-
"name": "
|
5642
|
+
"name": "icon",
|
5643
5643
|
"slots": [],
|
5644
5644
|
"events": [
|
5645
5645
|
{
|
@@ -5737,7 +5737,7 @@
|
|
5737
5737
|
]
|
5738
5738
|
},
|
5739
5739
|
{
|
5740
|
-
"name": "
|
5740
|
+
"name": "image",
|
5741
5741
|
"slots": [
|
5742
5742
|
{
|
5743
5743
|
"name": "default",
|
@@ -5928,7 +5928,7 @@
|
|
5928
5928
|
]
|
5929
5929
|
},
|
5930
5930
|
{
|
5931
|
-
"name": "
|
5931
|
+
"name": "image-preview",
|
5932
5932
|
"slots": [
|
5933
5933
|
{
|
5934
5934
|
"name": "index",
|
@@ -6180,7 +6180,7 @@
|
|
6180
6180
|
]
|
6181
6181
|
},
|
6182
6182
|
{
|
6183
|
-
"name": "
|
6183
|
+
"name": "index-bar",
|
6184
6184
|
"slots": [],
|
6185
6185
|
"events": [
|
6186
6186
|
{
|
@@ -6268,7 +6268,7 @@
|
|
6268
6268
|
]
|
6269
6269
|
},
|
6270
6270
|
{
|
6271
|
-
"name": "
|
6271
|
+
"name": "index-anchor",
|
6272
6272
|
"slots": [
|
6273
6273
|
{
|
6274
6274
|
"name": "default",
|
@@ -6290,7 +6290,7 @@
|
|
6290
6290
|
]
|
6291
6291
|
},
|
6292
6292
|
{
|
6293
|
-
"name": "
|
6293
|
+
"name": "list",
|
6294
6294
|
"slots": [
|
6295
6295
|
{
|
6296
6296
|
"name": "default",
|
@@ -6410,7 +6410,7 @@
|
|
6410
6410
|
]
|
6411
6411
|
},
|
6412
6412
|
{
|
6413
|
-
"name": "
|
6413
|
+
"name": "loading",
|
6414
6414
|
"slots": [
|
6415
6415
|
{
|
6416
6416
|
"name": "default",
|
@@ -6482,7 +6482,7 @@
|
|
6482
6482
|
]
|
6483
6483
|
},
|
6484
6484
|
{
|
6485
|
-
"name": "
|
6485
|
+
"name": "nav-bar",
|
6486
6486
|
"slots": [
|
6487
6487
|
{
|
6488
6488
|
"name": "title",
|
@@ -6613,7 +6613,7 @@
|
|
6613
6613
|
]
|
6614
6614
|
},
|
6615
6615
|
{
|
6616
|
-
"name": "
|
6616
|
+
"name": "notice-bar",
|
6617
6617
|
"slots": [
|
6618
6618
|
{
|
6619
6619
|
"name": "default",
|
@@ -6749,7 +6749,7 @@
|
|
6749
6749
|
]
|
6750
6750
|
},
|
6751
6751
|
{
|
6752
|
-
"name": "
|
6752
|
+
"name": "number-keyboard",
|
6753
6753
|
"slots": [
|
6754
6754
|
{
|
6755
6755
|
"name": "delete",
|
@@ -6975,7 +6975,7 @@
|
|
6975
6975
|
]
|
6976
6976
|
},
|
6977
6977
|
{
|
6978
|
-
"name": "
|
6978
|
+
"name": "overlay",
|
6979
6979
|
"slots": [
|
6980
6980
|
{
|
6981
6981
|
"name": "default",
|
@@ -7068,7 +7068,7 @@
|
|
7068
7068
|
]
|
7069
7069
|
},
|
7070
7070
|
{
|
7071
|
-
"name": "
|
7071
|
+
"name": "pagination",
|
7072
7072
|
"slots": [
|
7073
7073
|
{
|
7074
7074
|
"name": "page",
|
@@ -7184,7 +7184,7 @@
|
|
7184
7184
|
]
|
7185
7185
|
},
|
7186
7186
|
{
|
7187
|
-
"name": "
|
7187
|
+
"name": "password-input",
|
7188
7188
|
"slots": [],
|
7189
7189
|
"events": [
|
7190
7190
|
{
|
@@ -7267,7 +7267,7 @@
|
|
7267
7267
|
]
|
7268
7268
|
},
|
7269
7269
|
{
|
7270
|
-
"name": "
|
7270
|
+
"name": "picker",
|
7271
7271
|
"slots": [
|
7272
7272
|
{
|
7273
7273
|
"name": "toolbar",
|
@@ -7476,7 +7476,7 @@
|
|
7476
7476
|
]
|
7477
7477
|
},
|
7478
7478
|
{
|
7479
|
-
"name": "
|
7479
|
+
"name": "popover",
|
7480
7480
|
"slots": [
|
7481
7481
|
{
|
7482
7482
|
"name": "default",
|
@@ -7701,7 +7701,7 @@
|
|
7701
7701
|
]
|
7702
7702
|
},
|
7703
7703
|
{
|
7704
|
-
"name": "
|
7704
|
+
"name": "popup",
|
7705
7705
|
"slots": [
|
7706
7706
|
{
|
7707
7707
|
"name": "default",
|
@@ -7978,7 +7978,7 @@
|
|
7978
7978
|
]
|
7979
7979
|
},
|
7980
7980
|
{
|
7981
|
-
"name": "
|
7981
|
+
"name": "progress",
|
7982
7982
|
"slots": [],
|
7983
7983
|
"events": [],
|
7984
7984
|
"attributes": [
|
@@ -8075,7 +8075,7 @@
|
|
8075
8075
|
]
|
8076
8076
|
},
|
8077
8077
|
{
|
8078
|
-
"name": "
|
8078
|
+
"name": "pull-refresh",
|
8079
8079
|
"slots": [
|
8080
8080
|
{
|
8081
8081
|
"name": "default",
|
@@ -8222,7 +8222,7 @@
|
|
8222
8222
|
]
|
8223
8223
|
},
|
8224
8224
|
{
|
8225
|
-
"name": "
|
8225
|
+
"name": "radio",
|
8226
8226
|
"slots": [
|
8227
8227
|
{
|
8228
8228
|
"name": "default",
|
@@ -8249,7 +8249,7 @@
|
|
8249
8249
|
{
|
8250
8250
|
"name": "name",
|
8251
8251
|
"default": "-",
|
8252
|
-
"description": "Radio name",
|
8252
|
+
"description": "Radio name, usually a unique string or number",
|
8253
8253
|
"options": [],
|
8254
8254
|
"value": {
|
8255
8255
|
"type": "any",
|
@@ -8319,7 +8319,7 @@
|
|
8319
8319
|
]
|
8320
8320
|
},
|
8321
8321
|
{
|
8322
|
-
"name": "
|
8322
|
+
"name": "radio-group",
|
8323
8323
|
"slots": [],
|
8324
8324
|
"events": [
|
8325
8325
|
{
|
@@ -8387,7 +8387,7 @@
|
|
8387
8387
|
]
|
8388
8388
|
},
|
8389
8389
|
{
|
8390
|
-
"name": "
|
8390
|
+
"name": "rate",
|
8391
8391
|
"slots": [],
|
8392
8392
|
"events": [
|
8393
8393
|
{
|
@@ -8545,7 +8545,7 @@
|
|
8545
8545
|
]
|
8546
8546
|
},
|
8547
8547
|
{
|
8548
|
-
"name": "
|
8548
|
+
"name": "search",
|
8549
8549
|
"slots": [
|
8550
8550
|
{
|
8551
8551
|
"name": "left",
|
@@ -8899,7 +8899,7 @@
|
|
8899
8899
|
]
|
8900
8900
|
},
|
8901
8901
|
{
|
8902
|
-
"name": "
|
8902
|
+
"name": "share-sheet",
|
8903
8903
|
"slots": [
|
8904
8904
|
{
|
8905
8905
|
"name": "title",
|
@@ -9139,7 +9139,7 @@
|
|
9139
9139
|
]
|
9140
9140
|
},
|
9141
9141
|
{
|
9142
|
-
"name": "
|
9142
|
+
"name": "sidebar",
|
9143
9143
|
"slots": [],
|
9144
9144
|
"events": [
|
9145
9145
|
{
|
@@ -9167,7 +9167,7 @@
|
|
9167
9167
|
]
|
9168
9168
|
},
|
9169
9169
|
{
|
9170
|
-
"name": "
|
9170
|
+
"name": "sidebar-item",
|
9171
9171
|
"slots": [
|
9172
9172
|
{
|
9173
9173
|
"name": "title",
|
@@ -9270,7 +9270,7 @@
|
|
9270
9270
|
]
|
9271
9271
|
},
|
9272
9272
|
{
|
9273
|
-
"name": "
|
9273
|
+
"name": "skeleton",
|
9274
9274
|
"slots": [],
|
9275
9275
|
"events": [],
|
9276
9276
|
"attributes": [
|
@@ -9377,7 +9377,7 @@
|
|
9377
9377
|
]
|
9378
9378
|
},
|
9379
9379
|
{
|
9380
|
-
"name": "
|
9380
|
+
"name": "slider",
|
9381
9381
|
"slots": [
|
9382
9382
|
{
|
9383
9383
|
"name": "button",
|
@@ -9567,7 +9567,7 @@
|
|
9567
9567
|
]
|
9568
9568
|
},
|
9569
9569
|
{
|
9570
|
-
"name": "
|
9570
|
+
"name": "stepper",
|
9571
9571
|
"slots": [],
|
9572
9572
|
"events": [
|
9573
9573
|
{
|
@@ -9674,7 +9674,7 @@
|
|
9674
9674
|
{
|
9675
9675
|
"name": "name",
|
9676
9676
|
"default": "-",
|
9677
|
-
"description": "Stepper name",
|
9677
|
+
"description": "Stepper name, usually a unique string or number",
|
9678
9678
|
"options": [],
|
9679
9679
|
"value": {
|
9680
9680
|
"type": "number | string",
|
@@ -9844,7 +9844,7 @@
|
|
9844
9844
|
]
|
9845
9845
|
},
|
9846
9846
|
{
|
9847
|
-
"name": "
|
9847
|
+
"name": "steps",
|
9848
9848
|
"slots": [],
|
9849
9849
|
"events": [
|
9850
9850
|
{
|
@@ -9942,7 +9942,7 @@
|
|
9942
9942
|
]
|
9943
9943
|
},
|
9944
9944
|
{
|
9945
|
-
"name": "
|
9945
|
+
"name": "step",
|
9946
9946
|
"slots": [
|
9947
9947
|
{
|
9948
9948
|
"name": "default",
|
@@ -9965,7 +9965,7 @@
|
|
9965
9965
|
"attributes": []
|
9966
9966
|
},
|
9967
9967
|
{
|
9968
|
-
"name": "
|
9968
|
+
"name": "sticky",
|
9969
9969
|
"slots": [],
|
9970
9970
|
"events": [
|
9971
9971
|
{
|
@@ -10042,7 +10042,7 @@
|
|
10042
10042
|
]
|
10043
10043
|
},
|
10044
10044
|
{
|
10045
|
-
"name": "
|
10045
|
+
"name": "submit-bar",
|
10046
10046
|
"slots": [
|
10047
10047
|
{
|
10048
10048
|
"name": "default",
|
@@ -10222,7 +10222,7 @@
|
|
10222
10222
|
]
|
10223
10223
|
},
|
10224
10224
|
{
|
10225
|
-
"name": "
|
10225
|
+
"name": "swipe",
|
10226
10226
|
"slots": [
|
10227
10227
|
{
|
10228
10228
|
"name": "default",
|
@@ -10369,7 +10369,7 @@
|
|
10369
10369
|
]
|
10370
10370
|
},
|
10371
10371
|
{
|
10372
|
-
"name": "
|
10372
|
+
"name": "swipe-item",
|
10373
10373
|
"slots": [],
|
10374
10374
|
"events": [
|
10375
10375
|
{
|
@@ -10386,7 +10386,7 @@
|
|
10386
10386
|
"attributes": []
|
10387
10387
|
},
|
10388
10388
|
{
|
10389
|
-
"name": "
|
10389
|
+
"name": "swipe-cell",
|
10390
10390
|
"slots": [
|
10391
10391
|
{
|
10392
10392
|
"name": "default",
|
@@ -10435,19 +10435,239 @@
|
|
10435
10435
|
],
|
10436
10436
|
"attributes": [
|
10437
10437
|
{
|
10438
|
-
"name": "name",
|
10438
|
+
"name": "name",
|
10439
|
+
"default": "-",
|
10440
|
+
"description": "Identifier of SwipeCell, usually a unique string or number",
|
10441
|
+
"options": [],
|
10442
|
+
"value": {
|
10443
|
+
"type": "number | string",
|
10444
|
+
"kind": "expression"
|
10445
|
+
}
|
10446
|
+
},
|
10447
|
+
{
|
10448
|
+
"name": "left-width",
|
10449
|
+
"default": "`auto`",
|
10450
|
+
"description": "Width of the left swipe area",
|
10451
|
+
"options": [],
|
10452
|
+
"value": {
|
10453
|
+
"type": "number | string",
|
10454
|
+
"kind": "expression"
|
10455
|
+
}
|
10456
|
+
},
|
10457
|
+
{
|
10458
|
+
"name": "right-width",
|
10459
|
+
"default": "`auto`",
|
10460
|
+
"description": "Width of the right swipe area",
|
10461
|
+
"options": [],
|
10462
|
+
"value": {
|
10463
|
+
"type": "number | string",
|
10464
|
+
"kind": "expression"
|
10465
|
+
}
|
10466
|
+
},
|
10467
|
+
{
|
10468
|
+
"name": "before-close",
|
10469
|
+
"default": "-",
|
10470
|
+
"description": "Callback function before close",
|
10471
|
+
"options": [],
|
10472
|
+
"value": {
|
10473
|
+
"type": "(args) => boolean | Promise\\<boolean\\>",
|
10474
|
+
"kind": "expression"
|
10475
|
+
}
|
10476
|
+
},
|
10477
|
+
{
|
10478
|
+
"name": "disabled",
|
10479
|
+
"default": "`false`",
|
10480
|
+
"description": "Whether to disabled swipe",
|
10481
|
+
"options": [],
|
10482
|
+
"value": {
|
10483
|
+
"type": "boolean",
|
10484
|
+
"kind": "expression"
|
10485
|
+
}
|
10486
|
+
},
|
10487
|
+
{
|
10488
|
+
"name": "stop-propagation",
|
10489
|
+
"default": "`false`",
|
10490
|
+
"description": "Whether to stop touchmove event propagation",
|
10491
|
+
"options": [],
|
10492
|
+
"value": {
|
10493
|
+
"type": "boolean",
|
10494
|
+
"kind": "expression"
|
10495
|
+
}
|
10496
|
+
}
|
10497
|
+
]
|
10498
|
+
},
|
10499
|
+
{
|
10500
|
+
"name": "tabbar",
|
10501
|
+
"slots": [],
|
10502
|
+
"events": [
|
10503
|
+
{
|
10504
|
+
"name": "change",
|
10505
|
+
"description": "Emitted when changing active tab",
|
10506
|
+
"arguments": [
|
10507
|
+
{
|
10508
|
+
"name": "active",
|
10509
|
+
"type": "number | string"
|
10510
|
+
}
|
10511
|
+
]
|
10512
|
+
}
|
10513
|
+
],
|
10514
|
+
"attributes": [
|
10515
|
+
{
|
10516
|
+
"name": "v-model",
|
10517
|
+
"default": "`0`",
|
10518
|
+
"description": "Identifier of current tab",
|
10519
|
+
"options": [],
|
10520
|
+
"value": {
|
10521
|
+
"type": "number | string",
|
10522
|
+
"kind": "expression"
|
10523
|
+
}
|
10524
|
+
},
|
10525
|
+
{
|
10526
|
+
"name": "fixed",
|
10527
|
+
"default": "`true`",
|
10528
|
+
"description": "Whether to fixed bottom",
|
10529
|
+
"options": [],
|
10530
|
+
"value": {
|
10531
|
+
"type": "boolean",
|
10532
|
+
"kind": "expression"
|
10533
|
+
}
|
10534
|
+
},
|
10535
|
+
{
|
10536
|
+
"name": "border",
|
10537
|
+
"default": "`true`",
|
10538
|
+
"description": "Whether to show border",
|
10539
|
+
"options": [],
|
10540
|
+
"value": {
|
10541
|
+
"type": "boolean",
|
10542
|
+
"kind": "expression"
|
10543
|
+
}
|
10544
|
+
},
|
10545
|
+
{
|
10546
|
+
"name": "z-index",
|
10547
|
+
"default": "`1`",
|
10548
|
+
"description": "Z-index",
|
10549
|
+
"options": [],
|
10550
|
+
"value": {
|
10551
|
+
"type": "number | string",
|
10552
|
+
"kind": "expression"
|
10553
|
+
}
|
10554
|
+
},
|
10555
|
+
{
|
10556
|
+
"name": "active-color",
|
10557
|
+
"default": "`#1989fa`",
|
10558
|
+
"description": "Color of active tab item",
|
10559
|
+
"options": [],
|
10560
|
+
"value": {
|
10561
|
+
"type": "string",
|
10562
|
+
"kind": "expression"
|
10563
|
+
}
|
10564
|
+
},
|
10565
|
+
{
|
10566
|
+
"name": "inactive-color",
|
10567
|
+
"default": "`#7d7e80`",
|
10568
|
+
"description": "Color of inactive tab item",
|
10569
|
+
"options": [],
|
10570
|
+
"value": {
|
10571
|
+
"type": "string",
|
10572
|
+
"kind": "expression"
|
10573
|
+
}
|
10574
|
+
},
|
10575
|
+
{
|
10576
|
+
"name": "route",
|
10577
|
+
"default": "`false`",
|
10578
|
+
"description": "Whether to enable route mode",
|
10579
|
+
"options": [],
|
10580
|
+
"value": {
|
10581
|
+
"type": "boolean",
|
10582
|
+
"kind": "expression"
|
10583
|
+
}
|
10584
|
+
},
|
10585
|
+
{
|
10586
|
+
"name": "placeholder",
|
10587
|
+
"default": "`false`",
|
10588
|
+
"description": "Whether to generate a placeholder element when fixed",
|
10589
|
+
"options": [],
|
10590
|
+
"value": {
|
10591
|
+
"type": "boolean",
|
10592
|
+
"kind": "expression"
|
10593
|
+
}
|
10594
|
+
},
|
10595
|
+
{
|
10596
|
+
"name": "safe-area-inset-bottom",
|
10597
|
+
"default": "`false`",
|
10598
|
+
"description": "Whether to enable bottom safe area adaptation",
|
10599
|
+
"options": [],
|
10600
|
+
"value": {
|
10601
|
+
"type": "boolean",
|
10602
|
+
"kind": "expression"
|
10603
|
+
}
|
10604
|
+
},
|
10605
|
+
{
|
10606
|
+
"name": "before-change",
|
10607
|
+
"default": "-",
|
10608
|
+
"description": "Callback function before changing tab, return `false` to prevent change, support return Promise",
|
10609
|
+
"options": [],
|
10610
|
+
"value": {
|
10611
|
+
"type": "(name: number | string) => boolean | Promise\\<boolean\\>",
|
10612
|
+
"kind": "expression"
|
10613
|
+
}
|
10614
|
+
}
|
10615
|
+
]
|
10616
|
+
},
|
10617
|
+
{
|
10618
|
+
"name": "tabbar-item",
|
10619
|
+
"slots": [
|
10620
|
+
{
|
10621
|
+
"name": "icon",
|
10622
|
+
"description": "Custom icon"
|
10623
|
+
}
|
10624
|
+
],
|
10625
|
+
"events": [],
|
10626
|
+
"attributes": [
|
10627
|
+
{
|
10628
|
+
"name": "name",
|
10629
|
+
"default": "Item index",
|
10630
|
+
"description": "Identifier",
|
10631
|
+
"options": [],
|
10632
|
+
"value": {
|
10633
|
+
"type": "number | string",
|
10634
|
+
"kind": "expression"
|
10635
|
+
}
|
10636
|
+
},
|
10637
|
+
{
|
10638
|
+
"name": "icon",
|
10639
|
+
"default": "-",
|
10640
|
+
"description": "Icon name",
|
10641
|
+
"options": [],
|
10642
|
+
"value": {
|
10643
|
+
"type": "string",
|
10644
|
+
"kind": "expression"
|
10645
|
+
}
|
10646
|
+
},
|
10647
|
+
{
|
10648
|
+
"name": "icon-prefix",
|
10649
|
+
"default": "`van-icon`",
|
10650
|
+
"description": "Icon className prefix",
|
10651
|
+
"options": [],
|
10652
|
+
"value": {
|
10653
|
+
"type": "string",
|
10654
|
+
"kind": "expression"
|
10655
|
+
}
|
10656
|
+
},
|
10657
|
+
{
|
10658
|
+
"name": "dot",
|
10439
10659
|
"default": "-",
|
10440
|
-
"description": "
|
10660
|
+
"description": "Whether to show red dot",
|
10441
10661
|
"options": [],
|
10442
10662
|
"value": {
|
10443
|
-
"type": "
|
10663
|
+
"type": "boolean",
|
10444
10664
|
"kind": "expression"
|
10445
10665
|
}
|
10446
10666
|
},
|
10447
10667
|
{
|
10448
|
-
"name": "
|
10449
|
-
"default": "`
|
10450
|
-
"description": "
|
10668
|
+
"name": "badge",
|
10669
|
+
"default": "`''`",
|
10670
|
+
"description": "Content of the badge",
|
10451
10671
|
"options": [],
|
10452
10672
|
"value": {
|
10453
10673
|
"type": "number | string",
|
@@ -10455,39 +10675,39 @@
|
|
10455
10675
|
}
|
10456
10676
|
},
|
10457
10677
|
{
|
10458
|
-
"name": "
|
10459
|
-
"default": "
|
10460
|
-
"description": "
|
10678
|
+
"name": "badge-props",
|
10679
|
+
"default": "-",
|
10680
|
+
"description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
|
10461
10681
|
"options": [],
|
10462
10682
|
"value": {
|
10463
|
-
"type": "
|
10683
|
+
"type": "BadgeProps",
|
10464
10684
|
"kind": "expression"
|
10465
10685
|
}
|
10466
10686
|
},
|
10467
10687
|
{
|
10468
|
-
"name": "
|
10688
|
+
"name": "url",
|
10469
10689
|
"default": "-",
|
10470
|
-
"description": "
|
10690
|
+
"description": "Link",
|
10471
10691
|
"options": [],
|
10472
10692
|
"value": {
|
10473
|
-
"type": "
|
10693
|
+
"type": "string",
|
10474
10694
|
"kind": "expression"
|
10475
10695
|
}
|
10476
10696
|
},
|
10477
10697
|
{
|
10478
|
-
"name": "
|
10479
|
-
"default": "
|
10480
|
-
"description": "
|
10698
|
+
"name": "to",
|
10699
|
+
"default": "-",
|
10700
|
+
"description": "Target route of the link, same as to of vue-router",
|
10481
10701
|
"options": [],
|
10482
10702
|
"value": {
|
10483
|
-
"type": "
|
10703
|
+
"type": "string | object",
|
10484
10704
|
"kind": "expression"
|
10485
10705
|
}
|
10486
10706
|
},
|
10487
10707
|
{
|
10488
|
-
"name": "
|
10708
|
+
"name": "replace",
|
10489
10709
|
"default": "`false`",
|
10490
|
-
"description": "
|
10710
|
+
"description": "If true, the navigation will not leave a history record",
|
10491
10711
|
"options": [],
|
10492
10712
|
"value": {
|
10493
10713
|
"type": "boolean",
|
@@ -10497,7 +10717,7 @@
|
|
10497
10717
|
]
|
10498
10718
|
},
|
10499
10719
|
{
|
10500
|
-
"name": "
|
10720
|
+
"name": "switch",
|
10501
10721
|
"slots": [
|
10502
10722
|
{
|
10503
10723
|
"name": "node",
|
@@ -10614,7 +10834,7 @@
|
|
10614
10834
|
]
|
10615
10835
|
},
|
10616
10836
|
{
|
10617
|
-
"name": "
|
10837
|
+
"name": "tabs",
|
10618
10838
|
"slots": [
|
10619
10839
|
{
|
10620
10840
|
"name": "nav-left",
|
@@ -10881,7 +11101,7 @@
|
|
10881
11101
|
]
|
10882
11102
|
},
|
10883
11103
|
{
|
10884
|
-
"name": "
|
11104
|
+
"name": "tab",
|
10885
11105
|
"slots": [
|
10886
11106
|
{
|
10887
11107
|
"name": "default",
|
@@ -11007,227 +11227,7 @@
|
|
11007
11227
|
]
|
11008
11228
|
},
|
11009
11229
|
{
|
11010
|
-
"name": "
|
11011
|
-
"slots": [],
|
11012
|
-
"events": [
|
11013
|
-
{
|
11014
|
-
"name": "change",
|
11015
|
-
"description": "Emitted when changing active tab",
|
11016
|
-
"arguments": [
|
11017
|
-
{
|
11018
|
-
"name": "active",
|
11019
|
-
"type": "number | string"
|
11020
|
-
}
|
11021
|
-
]
|
11022
|
-
}
|
11023
|
-
],
|
11024
|
-
"attributes": [
|
11025
|
-
{
|
11026
|
-
"name": "v-model",
|
11027
|
-
"default": "`0`",
|
11028
|
-
"description": "Identifier of current tab",
|
11029
|
-
"options": [],
|
11030
|
-
"value": {
|
11031
|
-
"type": "number | string",
|
11032
|
-
"kind": "expression"
|
11033
|
-
}
|
11034
|
-
},
|
11035
|
-
{
|
11036
|
-
"name": "fixed",
|
11037
|
-
"default": "`true`",
|
11038
|
-
"description": "Whether to fixed bottom",
|
11039
|
-
"options": [],
|
11040
|
-
"value": {
|
11041
|
-
"type": "boolean",
|
11042
|
-
"kind": "expression"
|
11043
|
-
}
|
11044
|
-
},
|
11045
|
-
{
|
11046
|
-
"name": "border",
|
11047
|
-
"default": "`true`",
|
11048
|
-
"description": "Whether to show border",
|
11049
|
-
"options": [],
|
11050
|
-
"value": {
|
11051
|
-
"type": "boolean",
|
11052
|
-
"kind": "expression"
|
11053
|
-
}
|
11054
|
-
},
|
11055
|
-
{
|
11056
|
-
"name": "z-index",
|
11057
|
-
"default": "`1`",
|
11058
|
-
"description": "Z-index",
|
11059
|
-
"options": [],
|
11060
|
-
"value": {
|
11061
|
-
"type": "number | string",
|
11062
|
-
"kind": "expression"
|
11063
|
-
}
|
11064
|
-
},
|
11065
|
-
{
|
11066
|
-
"name": "active-color",
|
11067
|
-
"default": "`#1989fa`",
|
11068
|
-
"description": "Color of active tab item",
|
11069
|
-
"options": [],
|
11070
|
-
"value": {
|
11071
|
-
"type": "string",
|
11072
|
-
"kind": "expression"
|
11073
|
-
}
|
11074
|
-
},
|
11075
|
-
{
|
11076
|
-
"name": "inactive-color",
|
11077
|
-
"default": "`#7d7e80`",
|
11078
|
-
"description": "Color of inactive tab item",
|
11079
|
-
"options": [],
|
11080
|
-
"value": {
|
11081
|
-
"type": "string",
|
11082
|
-
"kind": "expression"
|
11083
|
-
}
|
11084
|
-
},
|
11085
|
-
{
|
11086
|
-
"name": "route",
|
11087
|
-
"default": "`false`",
|
11088
|
-
"description": "Whether to enable route mode",
|
11089
|
-
"options": [],
|
11090
|
-
"value": {
|
11091
|
-
"type": "boolean",
|
11092
|
-
"kind": "expression"
|
11093
|
-
}
|
11094
|
-
},
|
11095
|
-
{
|
11096
|
-
"name": "placeholder",
|
11097
|
-
"default": "`false`",
|
11098
|
-
"description": "Whether to generate a placeholder element when fixed",
|
11099
|
-
"options": [],
|
11100
|
-
"value": {
|
11101
|
-
"type": "boolean",
|
11102
|
-
"kind": "expression"
|
11103
|
-
}
|
11104
|
-
},
|
11105
|
-
{
|
11106
|
-
"name": "safe-area-inset-bottom",
|
11107
|
-
"default": "`false`",
|
11108
|
-
"description": "Whether to enable bottom safe area adaptation",
|
11109
|
-
"options": [],
|
11110
|
-
"value": {
|
11111
|
-
"type": "boolean",
|
11112
|
-
"kind": "expression"
|
11113
|
-
}
|
11114
|
-
},
|
11115
|
-
{
|
11116
|
-
"name": "before-change",
|
11117
|
-
"default": "-",
|
11118
|
-
"description": "Callback function before changing tab, return `false` to prevent change, support return Promise",
|
11119
|
-
"options": [],
|
11120
|
-
"value": {
|
11121
|
-
"type": "(name: number | string) => boolean | Promise\\<boolean\\>",
|
11122
|
-
"kind": "expression"
|
11123
|
-
}
|
11124
|
-
}
|
11125
|
-
]
|
11126
|
-
},
|
11127
|
-
{
|
11128
|
-
"name": "van-tabbar-item",
|
11129
|
-
"slots": [
|
11130
|
-
{
|
11131
|
-
"name": "icon",
|
11132
|
-
"description": "Custom icon"
|
11133
|
-
}
|
11134
|
-
],
|
11135
|
-
"events": [],
|
11136
|
-
"attributes": [
|
11137
|
-
{
|
11138
|
-
"name": "name",
|
11139
|
-
"default": "Item index",
|
11140
|
-
"description": "Identifier",
|
11141
|
-
"options": [],
|
11142
|
-
"value": {
|
11143
|
-
"type": "number | string",
|
11144
|
-
"kind": "expression"
|
11145
|
-
}
|
11146
|
-
},
|
11147
|
-
{
|
11148
|
-
"name": "icon",
|
11149
|
-
"default": "-",
|
11150
|
-
"description": "Icon name",
|
11151
|
-
"options": [],
|
11152
|
-
"value": {
|
11153
|
-
"type": "string",
|
11154
|
-
"kind": "expression"
|
11155
|
-
}
|
11156
|
-
},
|
11157
|
-
{
|
11158
|
-
"name": "icon-prefix",
|
11159
|
-
"default": "`van-icon`",
|
11160
|
-
"description": "Icon className prefix",
|
11161
|
-
"options": [],
|
11162
|
-
"value": {
|
11163
|
-
"type": "string",
|
11164
|
-
"kind": "expression"
|
11165
|
-
}
|
11166
|
-
},
|
11167
|
-
{
|
11168
|
-
"name": "dot",
|
11169
|
-
"default": "-",
|
11170
|
-
"description": "Whether to show red dot",
|
11171
|
-
"options": [],
|
11172
|
-
"value": {
|
11173
|
-
"type": "boolean",
|
11174
|
-
"kind": "expression"
|
11175
|
-
}
|
11176
|
-
},
|
11177
|
-
{
|
11178
|
-
"name": "badge",
|
11179
|
-
"default": "`''`",
|
11180
|
-
"description": "Content of the badge",
|
11181
|
-
"options": [],
|
11182
|
-
"value": {
|
11183
|
-
"type": "number | string",
|
11184
|
-
"kind": "expression"
|
11185
|
-
}
|
11186
|
-
},
|
11187
|
-
{
|
11188
|
-
"name": "badge-props",
|
11189
|
-
"default": "-",
|
11190
|
-
"description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
|
11191
|
-
"options": [],
|
11192
|
-
"value": {
|
11193
|
-
"type": "BadgeProps",
|
11194
|
-
"kind": "expression"
|
11195
|
-
}
|
11196
|
-
},
|
11197
|
-
{
|
11198
|
-
"name": "url",
|
11199
|
-
"default": "-",
|
11200
|
-
"description": "Link",
|
11201
|
-
"options": [],
|
11202
|
-
"value": {
|
11203
|
-
"type": "string",
|
11204
|
-
"kind": "expression"
|
11205
|
-
}
|
11206
|
-
},
|
11207
|
-
{
|
11208
|
-
"name": "to",
|
11209
|
-
"default": "-",
|
11210
|
-
"description": "Target route of the link, same as to of vue-router",
|
11211
|
-
"options": [],
|
11212
|
-
"value": {
|
11213
|
-
"type": "string | object",
|
11214
|
-
"kind": "expression"
|
11215
|
-
}
|
11216
|
-
},
|
11217
|
-
{
|
11218
|
-
"name": "replace",
|
11219
|
-
"default": "`false`",
|
11220
|
-
"description": "If true, the navigation will not leave a history record",
|
11221
|
-
"options": [],
|
11222
|
-
"value": {
|
11223
|
-
"type": "boolean",
|
11224
|
-
"kind": "expression"
|
11225
|
-
}
|
11226
|
-
}
|
11227
|
-
]
|
11228
|
-
},
|
11229
|
-
{
|
11230
|
-
"name": "van-tag",
|
11230
|
+
"name": "tag",
|
11231
11231
|
"slots": [
|
11232
11232
|
{
|
11233
11233
|
"name": "default",
|
@@ -11350,7 +11350,7 @@
|
|
11350
11350
|
]
|
11351
11351
|
},
|
11352
11352
|
{
|
11353
|
-
"name": "
|
11353
|
+
"name": "tree-select",
|
11354
11354
|
"slots": [
|
11355
11355
|
{
|
11356
11356
|
"name": "content",
|
@@ -11443,7 +11443,7 @@
|
|
11443
11443
|
]
|
11444
11444
|
},
|
11445
11445
|
{
|
11446
|
-
"name": "
|
11446
|
+
"name": "uploader",
|
11447
11447
|
"slots": [
|
11448
11448
|
{
|
11449
11449
|
"name": "default",
|
@@ -11538,7 +11538,7 @@
|
|
11538
11538
|
{
|
11539
11539
|
"name": "name",
|
11540
11540
|
"default": "-",
|
11541
|
-
"description": "Input name",
|
11541
|
+
"description": "Input name, usually a unique string or number",
|
11542
11542
|
"options": [],
|
11543
11543
|
"value": {
|
11544
11544
|
"type": "number | string",
|