vant 3.5.3 → 3.5.4
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/changelog.generated.md +12 -25
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/vant.cjs.js +1 -1
- package/lib/vant.es.js +1 -1
- package/lib/vant.js +1 -74
- package/lib/vant.min.js +1 -1
- package/lib/web-types.json +1510 -1510
- package/package.json +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/calendar/.DS_Store +0 -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-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-item/.DS_Store +0 -0
- 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/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/form/.DS_Store +0 -0
- package/lib/grid/.DS_Store +0 -0
- package/lib/grid-item/.DS_Store +0 -0
- 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/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/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/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/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-cell/.DS_Store +0 -0
- package/lib/swipe-item/.DS_Store +0 -0
- package/lib/switch/.DS_Store +0 -0
- 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/tree-select/.DS_Store +0 -0
- package/lib/uploader/.DS_Store +0 -0
package/lib/web-types.json
CHANGED
@@ -2,120 +2,65 @@
|
|
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.4",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
8
8
|
"tags": [
|
9
9
|
{
|
10
|
-
"name": "
|
11
|
-
"slots": [
|
12
|
-
|
13
|
-
|
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
|
-
]
|
27
|
-
},
|
28
|
-
{
|
29
|
-
"name": "focus",
|
30
|
-
"description": "Emitted when field is focused",
|
31
|
-
"arguments": [
|
32
|
-
{
|
33
|
-
"name": "key",
|
34
|
-
"type": "field name"
|
35
|
-
}
|
36
|
-
]
|
37
|
-
},
|
38
|
-
{
|
39
|
-
"name": "delete",
|
40
|
-
"description": "Emitted when confirming delete",
|
41
|
-
"arguments": [
|
42
|
-
{
|
43
|
-
"name": "content",
|
44
|
-
"type": "form content"
|
45
|
-
}
|
46
|
-
]
|
47
|
-
},
|
48
|
-
{
|
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
|
-
},
|
10
|
+
"name": "action-bar",
|
11
|
+
"slots": [],
|
12
|
+
"events": [],
|
13
|
+
"attributes": [
|
58
14
|
{
|
59
|
-
"name": "
|
60
|
-
"
|
61
|
-
"
|
15
|
+
"name": "safe-area-inset-bottom",
|
16
|
+
"default": "`true`",
|
17
|
+
"description": "Whether to enable bottom safe area adaptation",
|
18
|
+
"options": [],
|
19
|
+
"value": {
|
20
|
+
"type": "boolean",
|
21
|
+
"kind": "expression"
|
22
|
+
}
|
62
23
|
},
|
63
24
|
{
|
64
|
-
"name": "
|
65
|
-
"
|
66
|
-
"
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
}
|
25
|
+
"name": "placeholder",
|
26
|
+
"default": "`false`",
|
27
|
+
"description": "Whether to generate a placeholder element",
|
28
|
+
"options": [],
|
29
|
+
"value": {
|
30
|
+
"type": "boolean",
|
31
|
+
"kind": "expression"
|
32
|
+
}
|
33
|
+
}
|
34
|
+
]
|
35
|
+
},
|
36
|
+
{
|
37
|
+
"name": "action-bar-icon",
|
38
|
+
"slots": [
|
73
39
|
{
|
74
|
-
"name": "
|
75
|
-
"description": "
|
76
|
-
"arguments": [
|
77
|
-
{
|
78
|
-
"name": "value",
|
79
|
-
"type": "address detail"
|
80
|
-
}
|
81
|
-
]
|
40
|
+
"name": "default",
|
41
|
+
"description": "Text"
|
82
42
|
},
|
83
43
|
{
|
84
|
-
"name": "
|
85
|
-
"description": "
|
86
|
-
"arguments": [
|
87
|
-
{
|
88
|
-
"name": "value",
|
89
|
-
"type": "checked"
|
90
|
-
}
|
91
|
-
]
|
44
|
+
"name": "icon",
|
45
|
+
"description": "Custom icon"
|
92
46
|
}
|
93
47
|
],
|
48
|
+
"events": [],
|
94
49
|
"attributes": [
|
95
50
|
{
|
96
|
-
"name": "
|
51
|
+
"name": "text",
|
97
52
|
"default": "-",
|
98
|
-
"description": "
|
99
|
-
"options": [],
|
100
|
-
"value": {
|
101
|
-
"type": "object",
|
102
|
-
"kind": "expression"
|
103
|
-
}
|
104
|
-
},
|
105
|
-
{
|
106
|
-
"name": "area-columns-placeholder",
|
107
|
-
"default": "`[]`",
|
108
|
-
"description": "placeholder of area columns",
|
53
|
+
"description": "Button text",
|
109
54
|
"options": [],
|
110
55
|
"value": {
|
111
|
-
"type": "string
|
56
|
+
"type": "string",
|
112
57
|
"kind": "expression"
|
113
58
|
}
|
114
59
|
},
|
115
60
|
{
|
116
|
-
"name": "
|
117
|
-
"default": "
|
118
|
-
"description": "
|
61
|
+
"name": "icon",
|
62
|
+
"default": "-",
|
63
|
+
"description": "Icon",
|
119
64
|
"options": [],
|
120
65
|
"value": {
|
121
66
|
"type": "string",
|
@@ -123,39 +68,39 @@
|
|
123
68
|
}
|
124
69
|
},
|
125
70
|
{
|
126
|
-
"name": "
|
127
|
-
"default": "`
|
128
|
-
"description": "
|
71
|
+
"name": "color",
|
72
|
+
"default": "`#323233`",
|
73
|
+
"description": "Icon color",
|
129
74
|
"options": [],
|
130
75
|
"value": {
|
131
|
-
"type": "
|
76
|
+
"type": "string",
|
132
77
|
"kind": "expression"
|
133
78
|
}
|
134
79
|
},
|
135
80
|
{
|
136
|
-
"name": "
|
137
|
-
"default": "`
|
138
|
-
"description": "
|
81
|
+
"name": "icon-class",
|
82
|
+
"default": "`''`",
|
83
|
+
"description": "Icon class name",
|
139
84
|
"options": [],
|
140
85
|
"value": {
|
141
|
-
"type": "
|
86
|
+
"type": "string | Array | object",
|
142
87
|
"kind": "expression"
|
143
88
|
}
|
144
89
|
},
|
145
90
|
{
|
146
|
-
"name": "
|
147
|
-
"default": "`
|
148
|
-
"description": "
|
91
|
+
"name": "icon-prefix",
|
92
|
+
"default": "`van-icon`",
|
93
|
+
"description": "Icon className prefix",
|
149
94
|
"options": [],
|
150
95
|
"value": {
|
151
|
-
"type": "
|
96
|
+
"type": "string",
|
152
97
|
"kind": "expression"
|
153
98
|
}
|
154
99
|
},
|
155
100
|
{
|
156
|
-
"name": "
|
157
|
-
"default": "
|
158
|
-
"description": "Whether to show
|
101
|
+
"name": "dot",
|
102
|
+
"default": "-",
|
103
|
+
"description": "Whether to show red dot",
|
159
104
|
"options": [],
|
160
105
|
"value": {
|
161
106
|
"type": "boolean",
|
@@ -163,59 +108,71 @@
|
|
163
108
|
}
|
164
109
|
},
|
165
110
|
{
|
166
|
-
"name": "
|
167
|
-
"default": "
|
168
|
-
"description": "
|
111
|
+
"name": "badge",
|
112
|
+
"default": "-",
|
113
|
+
"description": "Content of the badge",
|
169
114
|
"options": [],
|
170
115
|
"value": {
|
171
|
-
"type": "
|
116
|
+
"type": "number | string",
|
172
117
|
"kind": "expression"
|
173
118
|
}
|
174
119
|
},
|
175
120
|
{
|
176
|
-
"name": "
|
177
|
-
"default": "
|
178
|
-
"description": "
|
121
|
+
"name": "badge-props",
|
122
|
+
"default": "-",
|
123
|
+
"description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
|
179
124
|
"options": [],
|
180
125
|
"value": {
|
181
|
-
"type": "
|
126
|
+
"type": "BadgeProps",
|
182
127
|
"kind": "expression"
|
183
128
|
}
|
184
129
|
},
|
185
130
|
{
|
186
|
-
"name": "
|
187
|
-
"default": "
|
188
|
-
"description": "
|
131
|
+
"name": "url",
|
132
|
+
"default": "-",
|
133
|
+
"description": "Link URL",
|
189
134
|
"options": [],
|
190
135
|
"value": {
|
191
|
-
"type": "
|
136
|
+
"type": "string",
|
192
137
|
"kind": "expression"
|
193
138
|
}
|
194
139
|
},
|
195
140
|
{
|
196
|
-
"name": "
|
197
|
-
"default": "
|
198
|
-
"description": "
|
141
|
+
"name": "to",
|
142
|
+
"default": "-",
|
143
|
+
"description": "Target route of the link, same as to of vue-router",
|
199
144
|
"options": [],
|
200
145
|
"value": {
|
201
|
-
"type": "
|
146
|
+
"type": "string | object",
|
202
147
|
"kind": "expression"
|
203
148
|
}
|
204
149
|
},
|
205
150
|
{
|
206
|
-
"name": "
|
151
|
+
"name": "replace",
|
207
152
|
"default": "`false`",
|
208
|
-
"description": "
|
153
|
+
"description": "If true, the navigation will not leave a history record",
|
209
154
|
"options": [],
|
210
155
|
"value": {
|
211
156
|
"type": "boolean",
|
212
157
|
"kind": "expression"
|
213
158
|
}
|
214
|
-
}
|
159
|
+
}
|
160
|
+
]
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"name": "action-bar-button",
|
164
|
+
"slots": [
|
215
165
|
{
|
216
|
-
"name": "
|
217
|
-
"
|
218
|
-
|
166
|
+
"name": "default",
|
167
|
+
"description": "Button content"
|
168
|
+
}
|
169
|
+
],
|
170
|
+
"events": [],
|
171
|
+
"attributes": [
|
172
|
+
{
|
173
|
+
"name": "text",
|
174
|
+
"default": "-",
|
175
|
+
"description": "Button text",
|
219
176
|
"options": [],
|
220
177
|
"value": {
|
221
178
|
"type": "string",
|
@@ -223,9 +180,9 @@
|
|
223
180
|
}
|
224
181
|
},
|
225
182
|
{
|
226
|
-
"name": "
|
227
|
-
"default": "`
|
228
|
-
"description": "
|
183
|
+
"name": "type",
|
184
|
+
"default": "`default`",
|
185
|
+
"description": "Button type, Can be set to `primary` `info` `warning` `danger`",
|
229
186
|
"options": [],
|
230
187
|
"value": {
|
231
188
|
"type": "string",
|
@@ -233,29 +190,29 @@
|
|
233
190
|
}
|
234
191
|
},
|
235
192
|
{
|
236
|
-
"name": "
|
237
|
-
"default": "
|
238
|
-
"description": "
|
193
|
+
"name": "color",
|
194
|
+
"default": "-",
|
195
|
+
"description": "Button color, support linear-gradient",
|
239
196
|
"options": [],
|
240
197
|
"value": {
|
241
|
-
"type": "
|
198
|
+
"type": "string",
|
242
199
|
"kind": "expression"
|
243
200
|
}
|
244
201
|
},
|
245
202
|
{
|
246
|
-
"name": "
|
247
|
-
"default": "
|
248
|
-
"description": "
|
203
|
+
"name": "icon",
|
204
|
+
"default": "-",
|
205
|
+
"description": "Left Icon",
|
249
206
|
"options": [],
|
250
207
|
"value": {
|
251
|
-
"type": "
|
208
|
+
"type": "string",
|
252
209
|
"kind": "expression"
|
253
210
|
}
|
254
211
|
},
|
255
212
|
{
|
256
|
-
"name": "
|
213
|
+
"name": "disabled",
|
257
214
|
"default": "`false`",
|
258
|
-
"description": "Whether to
|
215
|
+
"description": "Whether to disable button",
|
259
216
|
"options": [],
|
260
217
|
"value": {
|
261
218
|
"type": "boolean",
|
@@ -263,9 +220,9 @@
|
|
263
220
|
}
|
264
221
|
},
|
265
222
|
{
|
266
|
-
"name": "
|
223
|
+
"name": "loading",
|
267
224
|
"default": "`false`",
|
268
|
-
"description": "Whether to show
|
225
|
+
"description": "Whether to show loading status",
|
269
226
|
"options": [],
|
270
227
|
"value": {
|
271
228
|
"type": "boolean",
|
@@ -273,80 +230,65 @@
|
|
273
230
|
}
|
274
231
|
},
|
275
232
|
{
|
276
|
-
"name": "
|
233
|
+
"name": "url",
|
277
234
|
"default": "-",
|
278
|
-
"description": "
|
235
|
+
"description": "Link",
|
279
236
|
"options": [],
|
280
237
|
"value": {
|
281
|
-
"type": "
|
238
|
+
"type": "string",
|
282
239
|
"kind": "expression"
|
283
240
|
}
|
284
241
|
},
|
285
242
|
{
|
286
|
-
"name": "
|
243
|
+
"name": "to",
|
287
244
|
"default": "-",
|
288
|
-
"description": "
|
245
|
+
"description": "Target route of the link, same as to of vue-router",
|
289
246
|
"options": [],
|
290
247
|
"value": {
|
291
|
-
"type": "
|
292
|
-
"kind": "expression"
|
293
|
-
}
|
294
|
-
},
|
295
|
-
{
|
296
|
-
"name": "postal-validator",
|
297
|
-
"default": "-",
|
298
|
-
"description": "The method to validate postal",
|
299
|
-
"options": [],
|
300
|
-
"value": {
|
301
|
-
"type": "(tel: string) => boolean",
|
248
|
+
"type": "string | object",
|
302
249
|
"kind": "expression"
|
303
250
|
}
|
304
251
|
},
|
305
252
|
{
|
306
|
-
"name": "
|
307
|
-
"default": "
|
308
|
-
"description": "
|
253
|
+
"name": "replace",
|
254
|
+
"default": "`false`",
|
255
|
+
"description": "If true, the navigation will not leave a history record",
|
309
256
|
"options": [],
|
310
257
|
"value": {
|
311
|
-
"type": "
|
258
|
+
"type": "boolean",
|
312
259
|
"kind": "expression"
|
313
260
|
}
|
314
261
|
}
|
315
262
|
]
|
316
263
|
},
|
317
264
|
{
|
318
|
-
"name": "
|
265
|
+
"name": "action-sheet",
|
319
266
|
"slots": [
|
320
267
|
{
|
321
268
|
"name": "default",
|
322
|
-
"description": "Custom content
|
269
|
+
"description": "Custom content"
|
323
270
|
},
|
324
271
|
{
|
325
|
-
"name": "
|
326
|
-
"description": "Custom
|
272
|
+
"name": "description",
|
273
|
+
"description": "Custom description above the options"
|
327
274
|
},
|
328
275
|
{
|
329
|
-
"name": "
|
330
|
-
"description": "Custom content
|
276
|
+
"name": "cancel",
|
277
|
+
"description": "Custom the content of cancel button"
|
331
278
|
},
|
332
279
|
{
|
333
|
-
"name": "
|
334
|
-
"description": "Custom
|
280
|
+
"name": "action",
|
281
|
+
"description": "Custom the content of action"
|
335
282
|
}
|
336
283
|
],
|
337
284
|
"events": [
|
338
285
|
{
|
339
|
-
"name": "
|
340
|
-
"description": "Emitted when
|
341
|
-
"arguments": []
|
342
|
-
},
|
343
|
-
{
|
344
|
-
"name": "edit",
|
345
|
-
"description": "Emitted when the edit icon of address is clicked",
|
286
|
+
"name": "select",
|
287
|
+
"description": "Emitted when an option is clicked",
|
346
288
|
"arguments": [
|
347
289
|
{
|
348
|
-
"name": "
|
349
|
-
"type": "
|
290
|
+
"name": "action",
|
291
|
+
"type": "ActionSheetAction"
|
350
292
|
},
|
351
293
|
{
|
352
294
|
"name": "index",
|
@@ -355,97 +297,76 @@
|
|
355
297
|
]
|
356
298
|
},
|
357
299
|
{
|
358
|
-
"name": "
|
359
|
-
"description": "Emitted when
|
360
|
-
"arguments": [
|
361
|
-
{
|
362
|
-
"name": "item",
|
363
|
-
"type": "Address"
|
364
|
-
},
|
365
|
-
{
|
366
|
-
"name": "index",
|
367
|
-
"type": "number"
|
368
|
-
}
|
369
|
-
]
|
300
|
+
"name": "cancel",
|
301
|
+
"description": "Emitted when the cancel button is clicked",
|
302
|
+
"arguments": []
|
370
303
|
},
|
371
304
|
{
|
372
|
-
"name": "
|
373
|
-
"description": "Emitted when
|
374
|
-
"arguments": [
|
375
|
-
{
|
376
|
-
"name": "item",
|
377
|
-
"type": "Address"
|
378
|
-
},
|
379
|
-
{
|
380
|
-
"name": "index",
|
381
|
-
"type": "number"
|
382
|
-
}
|
383
|
-
]
|
305
|
+
"name": "open",
|
306
|
+
"description": "Emitted when opening ActionSheet",
|
307
|
+
"arguments": []
|
384
308
|
},
|
385
309
|
{
|
386
|
-
"name": "
|
387
|
-
"description": "Emitted when
|
388
|
-
"arguments": [
|
389
|
-
{
|
390
|
-
"name": "item",
|
391
|
-
"type": "Address"
|
392
|
-
},
|
393
|
-
{
|
394
|
-
"name": "index",
|
395
|
-
"type": "number"
|
396
|
-
}
|
397
|
-
]
|
310
|
+
"name": "close",
|
311
|
+
"description": "Emitted when closing ActionSheet",
|
312
|
+
"arguments": []
|
398
313
|
},
|
399
314
|
{
|
400
|
-
"name": "
|
401
|
-
"description": "Emitted when
|
315
|
+
"name": "opened",
|
316
|
+
"description": "Emitted when ActionSheet is opened",
|
317
|
+
"arguments": []
|
318
|
+
},
|
319
|
+
{
|
320
|
+
"name": "closed",
|
321
|
+
"description": "Emitted when ActionSheet is closed",
|
322
|
+
"arguments": []
|
323
|
+
},
|
324
|
+
{
|
325
|
+
"name": "click-overlay",
|
326
|
+
"description": "Emitted when overlay is clicked",
|
402
327
|
"arguments": [
|
403
328
|
{
|
404
|
-
"name": "
|
405
|
-
"type": "
|
406
|
-
},
|
407
|
-
{
|
408
|
-
"name": "index",
|
409
|
-
"type": "number"
|
329
|
+
"name": "event",
|
330
|
+
"type": "MouseEvent"
|
410
331
|
}
|
411
332
|
]
|
412
333
|
}
|
413
334
|
],
|
414
335
|
"attributes": [
|
415
336
|
{
|
416
|
-
"name": "v-model",
|
417
|
-
"default": "
|
418
|
-
"description": "
|
337
|
+
"name": "v-model:show",
|
338
|
+
"default": "`false`",
|
339
|
+
"description": "Whether to show ActionSheet",
|
419
340
|
"options": [],
|
420
341
|
"value": {
|
421
|
-
"type": "
|
342
|
+
"type": "boolean",
|
422
343
|
"kind": "expression"
|
423
344
|
}
|
424
345
|
},
|
425
346
|
{
|
426
|
-
"name": "
|
347
|
+
"name": "actions",
|
427
348
|
"default": "`[]`",
|
428
|
-
"description": "
|
349
|
+
"description": "Options",
|
429
350
|
"options": [],
|
430
351
|
"value": {
|
431
|
-
"type": "
|
352
|
+
"type": "ActionSheetAction[]",
|
432
353
|
"kind": "expression"
|
433
354
|
}
|
434
355
|
},
|
435
356
|
{
|
436
|
-
"name": "
|
437
|
-
"default": "
|
438
|
-
"description": "
|
357
|
+
"name": "title",
|
358
|
+
"default": "-",
|
359
|
+
"description": "Title",
|
439
360
|
"options": [],
|
440
361
|
"value": {
|
441
|
-
"type": "
|
362
|
+
"type": "string",
|
442
363
|
"kind": "expression"
|
443
364
|
}
|
444
365
|
},
|
445
366
|
{
|
446
|
-
"name": "
|
367
|
+
"name": "cancel-text",
|
447
368
|
"default": "-",
|
448
|
-
"description": "
|
369
|
+
"description": "Text of cancel button",
|
449
370
|
"options": [],
|
450
371
|
"value": {
|
451
372
|
"type": "string",
|
@@ -453,141 +374,79 @@
|
|
453
374
|
}
|
454
375
|
},
|
455
376
|
{
|
456
|
-
"name": "
|
457
|
-
"default": "
|
458
|
-
"description": "
|
377
|
+
"name": "description",
|
378
|
+
"default": "-",
|
379
|
+
"description": "Description above the options",
|
459
380
|
"options": [],
|
460
381
|
"value": {
|
461
|
-
"type": "
|
382
|
+
"type": "string",
|
462
383
|
"kind": "expression"
|
463
384
|
}
|
464
385
|
},
|
465
386
|
{
|
466
|
-
"name": "
|
467
|
-
"default": "`
|
468
|
-
"description": "
|
387
|
+
"name": "closeable",
|
388
|
+
"default": "`true`",
|
389
|
+
"description": "Whether to show close icon",
|
469
390
|
"options": [],
|
470
391
|
"value": {
|
471
|
-
"type": "
|
392
|
+
"type": "boolean",
|
472
393
|
"kind": "expression"
|
473
394
|
}
|
474
395
|
},
|
475
396
|
{
|
476
|
-
"name": "
|
477
|
-
"default": "
|
478
|
-
"description": "
|
397
|
+
"name": "close-icon",
|
398
|
+
"default": "`cross`",
|
399
|
+
"description": "Close icon name",
|
479
400
|
"options": [],
|
480
401
|
"value": {
|
481
402
|
"type": "string",
|
482
403
|
"kind": "expression"
|
483
404
|
}
|
484
|
-
}
|
485
|
-
]
|
486
|
-
},
|
487
|
-
{
|
488
|
-
"name": "area",
|
489
|
-
"slots": [
|
490
|
-
{
|
491
|
-
"name": "toolbar",
|
492
|
-
"description": "Custom toolbar content"
|
493
|
-
},
|
494
|
-
{
|
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
405
|
},
|
531
406
|
{
|
532
|
-
"name": "
|
533
|
-
"
|
534
|
-
"
|
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",
|
407
|
+
"name": "duration",
|
408
|
+
"default": "`0.3`",
|
409
|
+
"description": "Transition duration, unit second",
|
551
410
|
"options": [],
|
552
411
|
"value": {
|
553
|
-
"type": "string",
|
412
|
+
"type": "number | string",
|
554
413
|
"kind": "expression"
|
555
414
|
}
|
556
415
|
},
|
557
416
|
{
|
558
|
-
"name": "
|
559
|
-
"default": "
|
560
|
-
"description": "
|
417
|
+
"name": "round",
|
418
|
+
"default": "`true`",
|
419
|
+
"description": "Whether to show round corner",
|
561
420
|
"options": [],
|
562
421
|
"value": {
|
563
|
-
"type": "
|
422
|
+
"type": "boolean",
|
564
423
|
"kind": "expression"
|
565
424
|
}
|
566
425
|
},
|
567
426
|
{
|
568
|
-
"name": "
|
569
|
-
"default": "`
|
570
|
-
"description": "
|
427
|
+
"name": "overlay",
|
428
|
+
"default": "`true`",
|
429
|
+
"description": "Whether to show overlay",
|
571
430
|
"options": [],
|
572
431
|
"value": {
|
573
|
-
"type": "
|
432
|
+
"type": "boolean",
|
574
433
|
"kind": "expression"
|
575
434
|
}
|
576
435
|
},
|
577
436
|
{
|
578
|
-
"name": "
|
579
|
-
"default": "
|
580
|
-
"description": "
|
437
|
+
"name": "overlay-class",
|
438
|
+
"default": "-",
|
439
|
+
"description": "Custom overlay class",
|
581
440
|
"options": [],
|
582
441
|
"value": {
|
583
|
-
"type": "string",
|
442
|
+
"type": "string | Array | object",
|
584
443
|
"kind": "expression"
|
585
444
|
}
|
586
445
|
},
|
587
446
|
{
|
588
|
-
"name": "
|
447
|
+
"name": "overlay-style",
|
589
448
|
"default": "-",
|
590
|
-
"description": "
|
449
|
+
"description": "Custom overlay style",
|
591
450
|
"options": [],
|
592
451
|
"value": {
|
593
452
|
"type": "object",
|
@@ -595,19 +454,19 @@
|
|
595
454
|
}
|
596
455
|
},
|
597
456
|
{
|
598
|
-
"name": "
|
599
|
-
"default": "`
|
600
|
-
"description": "
|
457
|
+
"name": "lock-scroll",
|
458
|
+
"default": "`true`",
|
459
|
+
"description": "Whether to lock background scroll",
|
601
460
|
"options": [],
|
602
461
|
"value": {
|
603
|
-
"type": "
|
462
|
+
"type": "boolean",
|
604
463
|
"kind": "expression"
|
605
464
|
}
|
606
465
|
},
|
607
466
|
{
|
608
|
-
"name": "
|
609
|
-
"default": "`
|
610
|
-
"description": "Whether to
|
467
|
+
"name": "lazy-render",
|
468
|
+
"default": "`true`",
|
469
|
+
"description": "Whether to lazy render util appeared",
|
611
470
|
"options": [],
|
612
471
|
"value": {
|
613
472
|
"type": "boolean",
|
@@ -615,9 +474,9 @@
|
|
615
474
|
}
|
616
475
|
},
|
617
476
|
{
|
618
|
-
"name": "
|
619
|
-
"default": "`
|
620
|
-
"description": "Whether to
|
477
|
+
"name": "close-on-popstate",
|
478
|
+
"default": "`true`",
|
479
|
+
"description": "Whether to close when popstate",
|
621
480
|
"options": [],
|
622
481
|
"value": {
|
623
482
|
"type": "boolean",
|
@@ -625,206 +484,167 @@
|
|
625
484
|
}
|
626
485
|
},
|
627
486
|
{
|
628
|
-
"name": "
|
629
|
-
"default": "`
|
630
|
-
"description": "
|
487
|
+
"name": "close-on-click-action",
|
488
|
+
"default": "`false`",
|
489
|
+
"description": "Whether to close when an action is clicked",
|
631
490
|
"options": [],
|
632
491
|
"value": {
|
633
|
-
"type": "
|
492
|
+
"type": "boolean",
|
634
493
|
"kind": "expression"
|
635
494
|
}
|
636
495
|
},
|
637
496
|
{
|
638
|
-
"name": "
|
639
|
-
"default": "`
|
640
|
-
"description": "
|
497
|
+
"name": "close-on-click-overlay",
|
498
|
+
"default": "`true`",
|
499
|
+
"description": "Whether to close when overlay is clicked",
|
641
500
|
"options": [],
|
642
501
|
"value": {
|
643
|
-
"type": "
|
502
|
+
"type": "boolean",
|
644
503
|
"kind": "expression"
|
645
504
|
}
|
646
505
|
},
|
647
506
|
{
|
648
|
-
"name": "
|
649
|
-
"default": "`
|
650
|
-
"description": "
|
507
|
+
"name": "safe-area-inset-bottom",
|
508
|
+
"default": "`true`",
|
509
|
+
"description": "Whether to enable bottom safe area adaptation",
|
651
510
|
"options": [],
|
652
511
|
"value": {
|
653
|
-
"type": "
|
512
|
+
"type": "boolean",
|
654
513
|
"kind": "expression"
|
655
514
|
}
|
656
515
|
},
|
657
516
|
{
|
658
|
-
"name": "
|
659
|
-
"default": "
|
660
|
-
"description": "
|
517
|
+
"name": "teleport",
|
518
|
+
"default": "-",
|
519
|
+
"description": "Specifies a target element where ActionSheet will be mounted",
|
661
520
|
"options": [],
|
662
521
|
"value": {
|
663
|
-
"type": "
|
522
|
+
"type": "string | Element",
|
664
523
|
"kind": "expression"
|
665
524
|
}
|
666
525
|
},
|
667
526
|
{
|
668
|
-
"name": "
|
527
|
+
"name": "before-close",
|
669
528
|
"default": "-",
|
670
|
-
"description": "
|
529
|
+
"description": "Callback function before close",
|
671
530
|
"options": [],
|
672
531
|
"value": {
|
673
|
-
"type": "() => boolean",
|
532
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
674
533
|
"kind": "expression"
|
675
534
|
}
|
676
535
|
}
|
677
536
|
]
|
678
537
|
},
|
679
538
|
{
|
680
|
-
"name": "
|
539
|
+
"name": "address-edit",
|
681
540
|
"slots": [
|
682
541
|
{
|
683
542
|
"name": "default",
|
684
|
-
"description": "
|
685
|
-
},
|
686
|
-
{
|
687
|
-
"name": "content",
|
688
|
-
"description": "Custom badge content"
|
543
|
+
"description": "Custom content below postal"
|
689
544
|
}
|
690
545
|
],
|
691
|
-
"events": [
|
692
|
-
"attributes": [
|
693
|
-
{
|
694
|
-
"name": "content",
|
695
|
-
"default": "-",
|
696
|
-
"description": "Badge content",
|
697
|
-
"options": [],
|
698
|
-
"value": {
|
699
|
-
"type": "number | string",
|
700
|
-
"kind": "expression"
|
701
|
-
}
|
702
|
-
},
|
703
|
-
{
|
704
|
-
"name": "color",
|
705
|
-
"default": "`#ee0a24`",
|
706
|
-
"description": "Background color",
|
707
|
-
"options": [],
|
708
|
-
"value": {
|
709
|
-
"type": "string",
|
710
|
-
"kind": "expression"
|
711
|
-
}
|
712
|
-
},
|
546
|
+
"events": [
|
713
547
|
{
|
714
|
-
"name": "
|
715
|
-
"
|
716
|
-
"
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
548
|
+
"name": "save",
|
549
|
+
"description": "Emitted when the save button is clicked",
|
550
|
+
"arguments": [
|
551
|
+
{
|
552
|
+
"name": "content",
|
553
|
+
"type": "form content"
|
554
|
+
}
|
555
|
+
]
|
722
556
|
},
|
723
557
|
{
|
724
|
-
"name": "
|
725
|
-
"
|
726
|
-
"
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
558
|
+
"name": "focus",
|
559
|
+
"description": "Emitted when field is focused",
|
560
|
+
"arguments": [
|
561
|
+
{
|
562
|
+
"name": "key",
|
563
|
+
"type": "field name"
|
564
|
+
}
|
565
|
+
]
|
732
566
|
},
|
733
567
|
{
|
734
|
-
"name": "
|
735
|
-
"
|
736
|
-
"
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
568
|
+
"name": "delete",
|
569
|
+
"description": "Emitted when confirming delete",
|
570
|
+
"arguments": [
|
571
|
+
{
|
572
|
+
"name": "content",
|
573
|
+
"type": "form content"
|
574
|
+
}
|
575
|
+
]
|
742
576
|
},
|
743
577
|
{
|
744
|
-
"name": "
|
745
|
-
"
|
746
|
-
"
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
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
|
+
]
|
752
586
|
},
|
753
587
|
{
|
754
|
-
"name": "
|
755
|
-
"
|
756
|
-
"
|
757
|
-
"options": [],
|
758
|
-
"value": {
|
759
|
-
"type": "string",
|
760
|
-
"kind": "expression"
|
761
|
-
}
|
762
|
-
}
|
763
|
-
]
|
764
|
-
},
|
765
|
-
{
|
766
|
-
"name": "button",
|
767
|
-
"slots": [
|
768
|
-
{
|
769
|
-
"name": "default",
|
770
|
-
"description": "Default slot"
|
588
|
+
"name": "click-area",
|
589
|
+
"description": "Emitted when the area field is clicked",
|
590
|
+
"arguments": []
|
771
591
|
},
|
772
592
|
{
|
773
|
-
"name": "
|
774
|
-
"description": "
|
593
|
+
"name": "change-area",
|
594
|
+
"description": "Emitted when area changed",
|
595
|
+
"arguments": [
|
596
|
+
{
|
597
|
+
"name": "values",
|
598
|
+
"type": "area values"
|
599
|
+
}
|
600
|
+
]
|
775
601
|
},
|
776
602
|
{
|
777
|
-
"name": "
|
778
|
-
"description": "
|
779
|
-
}
|
780
|
-
],
|
781
|
-
"events": [
|
782
|
-
{
|
783
|
-
"name": "click",
|
784
|
-
"description": "Emitted when button is clicked and not disabled or loading",
|
603
|
+
"name": "change-detail",
|
604
|
+
"description": "Emitted when address detail changed",
|
785
605
|
"arguments": [
|
786
606
|
{
|
787
|
-
"name": "
|
788
|
-
"type": "
|
607
|
+
"name": "value",
|
608
|
+
"type": "address detail"
|
789
609
|
}
|
790
610
|
]
|
791
611
|
},
|
792
612
|
{
|
793
|
-
"name": "
|
794
|
-
"description": "Emitted when
|
613
|
+
"name": "change-default",
|
614
|
+
"description": "Emitted when switching default address",
|
795
615
|
"arguments": [
|
796
616
|
{
|
797
|
-
"name": "
|
798
|
-
"type": "
|
617
|
+
"name": "value",
|
618
|
+
"type": "checked"
|
799
619
|
}
|
800
620
|
]
|
801
621
|
}
|
802
622
|
],
|
803
623
|
"attributes": [
|
804
624
|
{
|
805
|
-
"name": "
|
806
|
-
"default": "
|
807
|
-
"description": "
|
625
|
+
"name": "area-list",
|
626
|
+
"default": "-",
|
627
|
+
"description": "Area List",
|
808
628
|
"options": [],
|
809
629
|
"value": {
|
810
|
-
"type": "
|
630
|
+
"type": "object",
|
811
631
|
"kind": "expression"
|
812
632
|
}
|
813
633
|
},
|
814
634
|
{
|
815
|
-
"name": "
|
816
|
-
"default": "`
|
817
|
-
"description": "
|
635
|
+
"name": "area-columns-placeholder",
|
636
|
+
"default": "`[]`",
|
637
|
+
"description": "placeholder of area columns",
|
818
638
|
"options": [],
|
819
639
|
"value": {
|
820
|
-
"type": "string",
|
640
|
+
"type": "string[]",
|
821
641
|
"kind": "expression"
|
822
642
|
}
|
823
643
|
},
|
824
644
|
{
|
825
|
-
"name": "
|
826
|
-
"default": "
|
827
|
-
"description": "
|
645
|
+
"name": "area-placeholder",
|
646
|
+
"default": "`Area`",
|
647
|
+
"description": "placeholder of area input field",
|
828
648
|
"options": [],
|
829
649
|
"value": {
|
830
650
|
"type": "string",
|
@@ -832,69 +652,69 @@
|
|
832
652
|
}
|
833
653
|
},
|
834
654
|
{
|
835
|
-
"name": "
|
836
|
-
"default": "
|
837
|
-
"description": "
|
655
|
+
"name": "address-info",
|
656
|
+
"default": "`{}`",
|
657
|
+
"description": "Address Info",
|
838
658
|
"options": [],
|
839
659
|
"value": {
|
840
|
-
"type": "
|
660
|
+
"type": "AddressEditInfo",
|
841
661
|
"kind": "expression"
|
842
662
|
}
|
843
663
|
},
|
844
664
|
{
|
845
|
-
"name": "
|
846
|
-
"default": "
|
847
|
-
"description": "
|
665
|
+
"name": "search-result",
|
666
|
+
"default": "`[]`",
|
667
|
+
"description": "Address search result",
|
848
668
|
"options": [],
|
849
669
|
"value": {
|
850
|
-
"type": "
|
670
|
+
"type": "AddressEditSearchItem[]",
|
851
671
|
"kind": "expression"
|
852
672
|
}
|
853
673
|
},
|
854
674
|
{
|
855
|
-
"name": "
|
856
|
-
"default": "`
|
857
|
-
"description": "
|
675
|
+
"name": "show-postal",
|
676
|
+
"default": "`false`",
|
677
|
+
"description": "Whether to show postal field",
|
858
678
|
"options": [],
|
859
679
|
"value": {
|
860
|
-
"type": "
|
680
|
+
"type": "boolean",
|
861
681
|
"kind": "expression"
|
862
682
|
}
|
863
683
|
},
|
864
684
|
{
|
865
|
-
"name": "
|
866
|
-
"default": "`
|
867
|
-
"description": "
|
685
|
+
"name": "show-delete",
|
686
|
+
"default": "`false`",
|
687
|
+
"description": "Whether to show delete button",
|
868
688
|
"options": [],
|
869
689
|
"value": {
|
870
|
-
"type": "
|
690
|
+
"type": "boolean",
|
871
691
|
"kind": "expression"
|
872
692
|
}
|
873
693
|
},
|
874
694
|
{
|
875
|
-
"name": "
|
876
|
-
"default": "`
|
877
|
-
"description": "
|
695
|
+
"name": "show-set-default",
|
696
|
+
"default": "`false`",
|
697
|
+
"description": "Whether to show default address switch",
|
878
698
|
"options": [],
|
879
699
|
"value": {
|
880
|
-
"type": "
|
700
|
+
"type": "boolean",
|
881
701
|
"kind": "expression"
|
882
702
|
}
|
883
703
|
},
|
884
704
|
{
|
885
|
-
"name": "
|
886
|
-
"default": "`
|
887
|
-
"description": "
|
705
|
+
"name": "show-search-result",
|
706
|
+
"default": "`false`",
|
707
|
+
"description": "Whether to show address search result",
|
888
708
|
"options": [],
|
889
709
|
"value": {
|
890
|
-
"type": "
|
710
|
+
"type": "boolean",
|
891
711
|
"kind": "expression"
|
892
712
|
}
|
893
713
|
},
|
894
714
|
{
|
895
|
-
"name": "
|
896
|
-
"default": "`
|
897
|
-
"description": "Whether to
|
715
|
+
"name": "show-area",
|
716
|
+
"default": "`true`",
|
717
|
+
"description": "Whether to show area cell",
|
898
718
|
"options": [],
|
899
719
|
"value": {
|
900
720
|
"type": "boolean",
|
@@ -902,9 +722,9 @@
|
|
902
722
|
}
|
903
723
|
},
|
904
724
|
{
|
905
|
-
"name": "
|
906
|
-
"default": "`
|
907
|
-
"description": "Whether to
|
725
|
+
"name": "show-detail",
|
726
|
+
"default": "`true`",
|
727
|
+
"description": "Whether to show detail field",
|
908
728
|
"options": [],
|
909
729
|
"value": {
|
910
730
|
"type": "boolean",
|
@@ -912,9 +732,9 @@
|
|
912
732
|
}
|
913
733
|
},
|
914
734
|
{
|
915
|
-
"name": "
|
735
|
+
"name": "disable-area",
|
916
736
|
"default": "`false`",
|
917
|
-
"description": "Whether to
|
737
|
+
"description": "Whether to disable area select",
|
918
738
|
"options": [],
|
919
739
|
"value": {
|
920
740
|
"type": "boolean",
|
@@ -922,125 +742,140 @@
|
|
922
742
|
}
|
923
743
|
},
|
924
744
|
{
|
925
|
-
"name": "
|
926
|
-
"default": "`
|
927
|
-
"description": "
|
745
|
+
"name": "save-button-text",
|
746
|
+
"default": "`Save`",
|
747
|
+
"description": "Save button text",
|
928
748
|
"options": [],
|
929
749
|
"value": {
|
930
|
-
"type": "
|
750
|
+
"type": "string",
|
931
751
|
"kind": "expression"
|
932
752
|
}
|
933
753
|
},
|
934
754
|
{
|
935
|
-
"name": "
|
936
|
-
"default": "`
|
937
|
-
"description": "
|
755
|
+
"name": "delete-button-text",
|
756
|
+
"default": "`Delete`",
|
757
|
+
"description": "Delete button text",
|
938
758
|
"options": [],
|
939
759
|
"value": {
|
940
|
-
"type": "
|
760
|
+
"type": "string",
|
941
761
|
"kind": "expression"
|
942
762
|
}
|
943
763
|
},
|
944
764
|
{
|
945
|
-
"name": "
|
946
|
-
"default": "`
|
947
|
-
"description": "
|
765
|
+
"name": "detail-rows",
|
766
|
+
"default": "`1`",
|
767
|
+
"description": "Detail input rows",
|
948
768
|
"options": [],
|
949
769
|
"value": {
|
950
|
-
"type": "
|
770
|
+
"type": "number | string",
|
951
771
|
"kind": "expression"
|
952
772
|
}
|
953
773
|
},
|
954
774
|
{
|
955
|
-
"name": "
|
956
|
-
"default": "
|
957
|
-
"description": "
|
775
|
+
"name": "detail-maxlength",
|
776
|
+
"default": "`200`",
|
777
|
+
"description": "Detail maxlength",
|
958
778
|
"options": [],
|
959
779
|
"value": {
|
960
|
-
"type": "string",
|
780
|
+
"type": "number | string",
|
961
781
|
"kind": "expression"
|
962
782
|
}
|
963
783
|
},
|
964
784
|
{
|
965
|
-
"name": "
|
966
|
-
"default": "`
|
967
|
-
"description": "
|
785
|
+
"name": "is-saving",
|
786
|
+
"default": "`false`",
|
787
|
+
"description": "Whether to show save button loading status",
|
968
788
|
"options": [],
|
969
789
|
"value": {
|
970
|
-
"type": "
|
790
|
+
"type": "boolean",
|
971
791
|
"kind": "expression"
|
972
792
|
}
|
973
793
|
},
|
974
794
|
{
|
975
|
-
"name": "
|
976
|
-
"default": "`
|
977
|
-
"description": "
|
795
|
+
"name": "is-deleting",
|
796
|
+
"default": "`false`",
|
797
|
+
"description": "Whether to show delete button loading status",
|
978
798
|
"options": [],
|
979
799
|
"value": {
|
980
|
-
"type": "
|
800
|
+
"type": "boolean",
|
981
801
|
"kind": "expression"
|
982
802
|
}
|
983
803
|
},
|
984
804
|
{
|
985
|
-
"name": "
|
805
|
+
"name": "tel-validator",
|
986
806
|
"default": "-",
|
987
|
-
"description": "
|
807
|
+
"description": "The method to validate tel",
|
988
808
|
"options": [],
|
989
809
|
"value": {
|
990
|
-
"type": "string",
|
810
|
+
"type": "(tel: string) => boolean",
|
991
811
|
"kind": "expression"
|
992
812
|
}
|
993
813
|
},
|
994
814
|
{
|
995
|
-
"name": "
|
815
|
+
"name": "tel-maxlength",
|
996
816
|
"default": "-",
|
997
|
-
"description": "
|
817
|
+
"description": "Tel maxlength",
|
998
818
|
"options": [],
|
999
819
|
"value": {
|
1000
|
-
"type": "
|
820
|
+
"type": "number | string",
|
1001
821
|
"kind": "expression"
|
1002
822
|
}
|
1003
823
|
},
|
1004
824
|
{
|
1005
|
-
"name": "
|
1006
|
-
"default": "
|
1007
|
-
"description": "
|
825
|
+
"name": "postal-validator",
|
826
|
+
"default": "-",
|
827
|
+
"description": "The method to validate postal",
|
1008
828
|
"options": [],
|
1009
829
|
"value": {
|
1010
|
-
"type": "boolean",
|
830
|
+
"type": "(tel: string) => boolean",
|
831
|
+
"kind": "expression"
|
832
|
+
}
|
833
|
+
},
|
834
|
+
{
|
835
|
+
"name": "validator",
|
836
|
+
"default": "-",
|
837
|
+
"description": "Custom validator",
|
838
|
+
"options": [],
|
839
|
+
"value": {
|
840
|
+
"type": "(key, val) => string",
|
1011
841
|
"kind": "expression"
|
1012
842
|
}
|
1013
843
|
}
|
1014
844
|
]
|
1015
845
|
},
|
1016
846
|
{
|
1017
|
-
"name": "
|
847
|
+
"name": "address-list",
|
1018
848
|
"slots": [
|
1019
849
|
{
|
1020
850
|
"name": "default",
|
1021
|
-
"description": "Custom content"
|
851
|
+
"description": "Custom content after list"
|
1022
852
|
},
|
1023
853
|
{
|
1024
|
-
"name": "
|
1025
|
-
"description": "Custom
|
854
|
+
"name": "top",
|
855
|
+
"description": "Custom content before list"
|
1026
856
|
},
|
1027
857
|
{
|
1028
|
-
"name": "
|
1029
|
-
"description": "Custom
|
858
|
+
"name": "item-bottom",
|
859
|
+
"description": "Custom content after list item"
|
1030
860
|
},
|
1031
861
|
{
|
1032
|
-
"name": "
|
1033
|
-
"description": "Custom
|
862
|
+
"name": "tag",
|
863
|
+
"description": "Custom tag of list item"
|
1034
864
|
}
|
1035
865
|
],
|
1036
866
|
"events": [
|
1037
867
|
{
|
1038
|
-
"name": "
|
1039
|
-
"description": "Emitted when
|
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",
|
1040
875
|
"arguments": [
|
1041
876
|
{
|
1042
|
-
"name": "
|
1043
|
-
"type": "
|
877
|
+
"name": "item",
|
878
|
+
"type": "Address"
|
1044
879
|
},
|
1045
880
|
{
|
1046
881
|
"name": "index",
|
@@ -1049,76 +884,97 @@
|
|
1049
884
|
]
|
1050
885
|
},
|
1051
886
|
{
|
1052
|
-
"name": "
|
1053
|
-
"description": "Emitted when
|
1054
|
-
"arguments": [
|
1055
|
-
|
1056
|
-
|
1057
|
-
|
1058
|
-
|
1059
|
-
|
1060
|
-
|
1061
|
-
|
1062
|
-
|
1063
|
-
|
1064
|
-
"arguments": []
|
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
|
+
]
|
1065
899
|
},
|
1066
900
|
{
|
1067
|
-
"name": "
|
1068
|
-
"description": "Emitted when
|
1069
|
-
"arguments": [
|
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
|
+
]
|
1070
913
|
},
|
1071
914
|
{
|
1072
|
-
"name": "
|
1073
|
-
"description": "Emitted when
|
1074
|
-
"arguments": [
|
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
|
+
]
|
1075
927
|
},
|
1076
928
|
{
|
1077
|
-
"name": "click-
|
1078
|
-
"description": "Emitted when
|
929
|
+
"name": "click-item",
|
930
|
+
"description": "Emitted when an address item is clicked",
|
1079
931
|
"arguments": [
|
1080
932
|
{
|
1081
|
-
"name": "
|
1082
|
-
"type": "
|
933
|
+
"name": "item",
|
934
|
+
"type": "Address"
|
935
|
+
},
|
936
|
+
{
|
937
|
+
"name": "index",
|
938
|
+
"type": "number"
|
1083
939
|
}
|
1084
940
|
]
|
1085
941
|
}
|
1086
942
|
],
|
1087
943
|
"attributes": [
|
1088
944
|
{
|
1089
|
-
"name": "v-model
|
1090
|
-
"default": "
|
1091
|
-
"description": "
|
945
|
+
"name": "v-model",
|
946
|
+
"default": "-",
|
947
|
+
"description": "Id of chosen address",
|
1092
948
|
"options": [],
|
1093
949
|
"value": {
|
1094
|
-
"type": "
|
950
|
+
"type": "string",
|
1095
951
|
"kind": "expression"
|
1096
952
|
}
|
1097
953
|
},
|
1098
954
|
{
|
1099
|
-
"name": "
|
955
|
+
"name": "list",
|
1100
956
|
"default": "`[]`",
|
1101
|
-
"description": "
|
957
|
+
"description": "Address list",
|
1102
958
|
"options": [],
|
1103
959
|
"value": {
|
1104
|
-
"type": "
|
960
|
+
"type": "Address[]",
|
1105
961
|
"kind": "expression"
|
1106
962
|
}
|
1107
963
|
},
|
1108
964
|
{
|
1109
|
-
"name": "
|
1110
|
-
"default": "
|
1111
|
-
"description": "
|
965
|
+
"name": "disabled-list",
|
966
|
+
"default": "`[]`",
|
967
|
+
"description": "Disabled address list",
|
1112
968
|
"options": [],
|
1113
969
|
"value": {
|
1114
|
-
"type": "
|
970
|
+
"type": "Address[]",
|
1115
971
|
"kind": "expression"
|
1116
972
|
}
|
1117
973
|
},
|
1118
974
|
{
|
1119
|
-
"name": "
|
975
|
+
"name": "disabled-text",
|
1120
976
|
"default": "-",
|
1121
|
-
"description": "
|
977
|
+
"description": "Disabled text",
|
1122
978
|
"options": [],
|
1123
979
|
"value": {
|
1124
980
|
"type": "string",
|
@@ -1126,119 +982,161 @@
|
|
1126
982
|
}
|
1127
983
|
},
|
1128
984
|
{
|
1129
|
-
"name": "
|
1130
|
-
"default": "
|
1131
|
-
"description": "
|
985
|
+
"name": "switchable",
|
986
|
+
"default": "`true`",
|
987
|
+
"description": "Whether to allow switch address",
|
1132
988
|
"options": [],
|
1133
989
|
"value": {
|
1134
|
-
"type": "
|
990
|
+
"type": "boolean",
|
1135
991
|
"kind": "expression"
|
1136
992
|
}
|
1137
993
|
},
|
1138
994
|
{
|
1139
|
-
"name": "
|
1140
|
-
"default": "`
|
1141
|
-
"description": "
|
995
|
+
"name": "add-button-text",
|
996
|
+
"default": "`Add new address`",
|
997
|
+
"description": "Add button text",
|
1142
998
|
"options": [],
|
1143
999
|
"value": {
|
1144
|
-
"type": "
|
1000
|
+
"type": "string",
|
1145
1001
|
"kind": "expression"
|
1146
1002
|
}
|
1147
1003
|
},
|
1148
1004
|
{
|
1149
|
-
"name": "
|
1150
|
-
"default": "
|
1151
|
-
"description": "
|
1005
|
+
"name": "default-tag-text",
|
1006
|
+
"default": "-",
|
1007
|
+
"description": "Default tag text",
|
1152
1008
|
"options": [],
|
1153
1009
|
"value": {
|
1154
1010
|
"type": "string",
|
1155
1011
|
"kind": "expression"
|
1156
1012
|
}
|
1013
|
+
}
|
1014
|
+
]
|
1015
|
+
},
|
1016
|
+
{
|
1017
|
+
"name": "area",
|
1018
|
+
"slots": [
|
1019
|
+
{
|
1020
|
+
"name": "toolbar",
|
1021
|
+
"description": "Custom toolbar content"
|
1157
1022
|
},
|
1158
1023
|
{
|
1159
|
-
"name": "
|
1160
|
-
"
|
1161
|
-
"description": "Transition duration, unit second",
|
1162
|
-
"options": [],
|
1163
|
-
"value": {
|
1164
|
-
"type": "number | string",
|
1165
|
-
"kind": "expression"
|
1166
|
-
}
|
1024
|
+
"name": "title",
|
1025
|
+
"description": "Custom title"
|
1167
1026
|
},
|
1168
1027
|
{
|
1169
|
-
"name": "
|
1170
|
-
"
|
1171
|
-
"description": "Whether to show round corner",
|
1172
|
-
"options": [],
|
1173
|
-
"value": {
|
1174
|
-
"type": "boolean",
|
1175
|
-
"kind": "expression"
|
1176
|
-
}
|
1028
|
+
"name": "confirm",
|
1029
|
+
"description": "Custom confirm button text"
|
1177
1030
|
},
|
1178
1031
|
{
|
1179
|
-
"name": "
|
1180
|
-
"
|
1181
|
-
|
1032
|
+
"name": "cancel",
|
1033
|
+
"description": "Custom cancel button text"
|
1034
|
+
},
|
1035
|
+
{
|
1036
|
+
"name": "columns-top",
|
1037
|
+
"description": "Custom content above columns"
|
1038
|
+
},
|
1039
|
+
{
|
1040
|
+
"name": "columns-bottom",
|
1041
|
+
"description": "Custom content below columns"
|
1042
|
+
}
|
1043
|
+
],
|
1044
|
+
"events": [
|
1045
|
+
{
|
1046
|
+
"name": "confirm",
|
1047
|
+
"description": "Emitted when the confirm button is clicked",
|
1048
|
+
"arguments": [
|
1049
|
+
{
|
1050
|
+
"name": "result",
|
1051
|
+
"type": "ConfirmResult"
|
1052
|
+
}
|
1053
|
+
]
|
1054
|
+
},
|
1055
|
+
{
|
1056
|
+
"name": "cancel",
|
1057
|
+
"description": "Emitted when the cancel button is clicked",
|
1058
|
+
"arguments": []
|
1059
|
+
},
|
1060
|
+
{
|
1061
|
+
"name": "change",
|
1062
|
+
"description": "Emitted when current option changed",
|
1063
|
+
"arguments": [
|
1064
|
+
{
|
1065
|
+
"name": "current",
|
1066
|
+
"type": "values"
|
1067
|
+
},
|
1068
|
+
{
|
1069
|
+
"name": "column",
|
1070
|
+
"type": "index"
|
1071
|
+
}
|
1072
|
+
]
|
1073
|
+
}
|
1074
|
+
],
|
1075
|
+
"attributes": [
|
1076
|
+
{
|
1077
|
+
"name": "value",
|
1078
|
+
"default": "-",
|
1079
|
+
"description": "the `code` of selected area",
|
1182
1080
|
"options": [],
|
1183
1081
|
"value": {
|
1184
|
-
"type": "
|
1082
|
+
"type": "string",
|
1185
1083
|
"kind": "expression"
|
1186
1084
|
}
|
1187
1085
|
},
|
1188
1086
|
{
|
1189
|
-
"name": "
|
1087
|
+
"name": "title",
|
1190
1088
|
"default": "-",
|
1191
|
-
"description": "
|
1089
|
+
"description": "Toolbar title",
|
1192
1090
|
"options": [],
|
1193
1091
|
"value": {
|
1194
|
-
"type": "string
|
1092
|
+
"type": "string",
|
1195
1093
|
"kind": "expression"
|
1196
1094
|
}
|
1197
1095
|
},
|
1198
1096
|
{
|
1199
|
-
"name": "
|
1200
|
-
"default": "
|
1201
|
-
"description": "
|
1097
|
+
"name": "confirm-button-text",
|
1098
|
+
"default": "`Confirm`",
|
1099
|
+
"description": "Text of confirm button",
|
1202
1100
|
"options": [],
|
1203
1101
|
"value": {
|
1204
|
-
"type": "
|
1102
|
+
"type": "string",
|
1205
1103
|
"kind": "expression"
|
1206
1104
|
}
|
1207
1105
|
},
|
1208
1106
|
{
|
1209
|
-
"name": "
|
1210
|
-
"default": "`
|
1211
|
-
"description": "
|
1107
|
+
"name": "cancel-button-text",
|
1108
|
+
"default": "`Cancel`",
|
1109
|
+
"description": "Text of cancel button",
|
1212
1110
|
"options": [],
|
1213
1111
|
"value": {
|
1214
|
-
"type": "
|
1112
|
+
"type": "string",
|
1215
1113
|
"kind": "expression"
|
1216
1114
|
}
|
1217
1115
|
},
|
1218
1116
|
{
|
1219
|
-
"name": "
|
1220
|
-
"default": "
|
1221
|
-
"description": "
|
1117
|
+
"name": "area-list",
|
1118
|
+
"default": "-",
|
1119
|
+
"description": "Area list data",
|
1222
1120
|
"options": [],
|
1223
1121
|
"value": {
|
1224
|
-
"type": "
|
1122
|
+
"type": "object",
|
1225
1123
|
"kind": "expression"
|
1226
1124
|
}
|
1227
1125
|
},
|
1228
1126
|
{
|
1229
|
-
"name": "
|
1230
|
-
"default": "`
|
1231
|
-
"description": "
|
1127
|
+
"name": "columns-placeholder",
|
1128
|
+
"default": "`[]`",
|
1129
|
+
"description": "Placeholder of columns",
|
1232
1130
|
"options": [],
|
1233
1131
|
"value": {
|
1234
|
-
"type": "
|
1132
|
+
"type": "string[]",
|
1235
1133
|
"kind": "expression"
|
1236
1134
|
}
|
1237
1135
|
},
|
1238
1136
|
{
|
1239
|
-
"name": "
|
1137
|
+
"name": "loading",
|
1240
1138
|
"default": "`false`",
|
1241
|
-
"description": "Whether to
|
1139
|
+
"description": "Whether to show loading prompt",
|
1242
1140
|
"options": [],
|
1243
1141
|
"value": {
|
1244
1142
|
"type": "boolean",
|
@@ -1246,9 +1144,9 @@
|
|
1246
1144
|
}
|
1247
1145
|
},
|
1248
1146
|
{
|
1249
|
-
"name": "
|
1250
|
-
"default": "`
|
1251
|
-
"description": "Whether to
|
1147
|
+
"name": "readonly",
|
1148
|
+
"default": "`false`",
|
1149
|
+
"description": "Whether to be readonly",
|
1252
1150
|
"options": [],
|
1253
1151
|
"value": {
|
1254
1152
|
"type": "boolean",
|
@@ -1256,92 +1154,85 @@
|
|
1256
1154
|
}
|
1257
1155
|
},
|
1258
1156
|
{
|
1259
|
-
"name": "
|
1260
|
-
"default": "`
|
1261
|
-
"description": "
|
1157
|
+
"name": "item-height",
|
1158
|
+
"default": "`44`",
|
1159
|
+
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
|
1262
1160
|
"options": [],
|
1263
1161
|
"value": {
|
1264
|
-
"type": "
|
1162
|
+
"type": "number | string",
|
1265
1163
|
"kind": "expression"
|
1266
1164
|
}
|
1267
1165
|
},
|
1268
1166
|
{
|
1269
|
-
"name": "
|
1270
|
-
"default": "
|
1271
|
-
"description": "
|
1167
|
+
"name": "columns-num",
|
1168
|
+
"default": "`3`",
|
1169
|
+
"description": "Level of picker",
|
1272
1170
|
"options": [],
|
1273
1171
|
"value": {
|
1274
|
-
"type": "
|
1172
|
+
"type": "number | string",
|
1275
1173
|
"kind": "expression"
|
1276
1174
|
}
|
1277
1175
|
},
|
1278
1176
|
{
|
1279
|
-
"name": "
|
1280
|
-
"default": "
|
1281
|
-
"description": "
|
1177
|
+
"name": "visible-item-count",
|
1178
|
+
"default": "`6`",
|
1179
|
+
"description": "Count of visible columns",
|
1282
1180
|
"options": [],
|
1283
1181
|
"value": {
|
1284
|
-
"type": "
|
1182
|
+
"type": "number | string",
|
1285
1183
|
"kind": "expression"
|
1286
1184
|
}
|
1287
|
-
}
|
1288
|
-
]
|
1289
|
-
},
|
1290
|
-
{
|
1291
|
-
"name": "action-bar",
|
1292
|
-
"slots": [],
|
1293
|
-
"events": [],
|
1294
|
-
"attributes": [
|
1185
|
+
},
|
1295
1186
|
{
|
1296
|
-
"name": "
|
1297
|
-
"default": "`
|
1298
|
-
"description": "
|
1187
|
+
"name": "swipe-duration",
|
1188
|
+
"default": "`1000`",
|
1189
|
+
"description": "Duration of the momentum animation, unit `ms`",
|
1299
1190
|
"options": [],
|
1300
1191
|
"value": {
|
1301
|
-
"type": "
|
1192
|
+
"type": "number | string",
|
1302
1193
|
"kind": "expression"
|
1303
1194
|
}
|
1304
1195
|
},
|
1305
1196
|
{
|
1306
|
-
"name": "
|
1307
|
-
"default": "
|
1308
|
-
"description": "
|
1197
|
+
"name": "is-oversea-code",
|
1198
|
+
"default": "-",
|
1199
|
+
"description": "The method to validate oversea code",
|
1309
1200
|
"options": [],
|
1310
1201
|
"value": {
|
1311
|
-
"type": "boolean",
|
1202
|
+
"type": "() => boolean",
|
1312
1203
|
"kind": "expression"
|
1313
1204
|
}
|
1314
1205
|
}
|
1315
1206
|
]
|
1316
1207
|
},
|
1317
1208
|
{
|
1318
|
-
"name": "
|
1209
|
+
"name": "badge",
|
1319
1210
|
"slots": [
|
1320
1211
|
{
|
1321
1212
|
"name": "default",
|
1322
|
-
"description": "
|
1213
|
+
"description": "Default slot"
|
1323
1214
|
},
|
1324
1215
|
{
|
1325
|
-
"name": "
|
1326
|
-
"description": "Custom
|
1216
|
+
"name": "content",
|
1217
|
+
"description": "Custom badge content"
|
1327
1218
|
}
|
1328
1219
|
],
|
1329
1220
|
"events": [],
|
1330
1221
|
"attributes": [
|
1331
1222
|
{
|
1332
|
-
"name": "
|
1223
|
+
"name": "content",
|
1333
1224
|
"default": "-",
|
1334
|
-
"description": "
|
1225
|
+
"description": "Badge content",
|
1335
1226
|
"options": [],
|
1336
1227
|
"value": {
|
1337
|
-
"type": "string",
|
1228
|
+
"type": "number | string",
|
1338
1229
|
"kind": "expression"
|
1339
1230
|
}
|
1340
1231
|
},
|
1341
1232
|
{
|
1342
|
-
"name": "
|
1343
|
-
"default": "
|
1344
|
-
"description": "
|
1233
|
+
"name": "color",
|
1234
|
+
"default": "`#ee0a24`",
|
1235
|
+
"description": "Background color",
|
1345
1236
|
"options": [],
|
1346
1237
|
"value": {
|
1347
1238
|
"type": "string",
|
@@ -1349,39 +1240,39 @@
|
|
1349
1240
|
}
|
1350
1241
|
},
|
1351
1242
|
{
|
1352
|
-
"name": "
|
1353
|
-
"default": "
|
1354
|
-
"description": "
|
1243
|
+
"name": "dot",
|
1244
|
+
"default": "`false`",
|
1245
|
+
"description": "Whether to show dot",
|
1355
1246
|
"options": [],
|
1356
1247
|
"value": {
|
1357
|
-
"type": "
|
1248
|
+
"type": "boolean",
|
1358
1249
|
"kind": "expression"
|
1359
1250
|
}
|
1360
1251
|
},
|
1361
1252
|
{
|
1362
|
-
"name": "
|
1363
|
-
"default": "
|
1364
|
-
"description": "
|
1253
|
+
"name": "max",
|
1254
|
+
"default": "-",
|
1255
|
+
"description": "Max value, show `{max}+` when exceed, only works when content is number",
|
1365
1256
|
"options": [],
|
1366
1257
|
"value": {
|
1367
|
-
"type": "
|
1258
|
+
"type": "number | string",
|
1368
1259
|
"kind": "expression"
|
1369
1260
|
}
|
1370
1261
|
},
|
1371
1262
|
{
|
1372
|
-
"name": "
|
1373
|
-
"default": "
|
1374
|
-
"description": "
|
1263
|
+
"name": "offset",
|
1264
|
+
"default": "-",
|
1265
|
+
"description": "Offset of badge dot",
|
1375
1266
|
"options": [],
|
1376
1267
|
"value": {
|
1377
|
-
"type": "string",
|
1268
|
+
"type": "[number | string, number | string]",
|
1378
1269
|
"kind": "expression"
|
1379
1270
|
}
|
1380
1271
|
},
|
1381
1272
|
{
|
1382
|
-
"name": "
|
1383
|
-
"default": "
|
1384
|
-
"description": "Whether to show
|
1273
|
+
"name": "show-zero",
|
1274
|
+
"default": "`true`",
|
1275
|
+
"description": "Whether to show badge when content is zero",
|
1385
1276
|
"options": [],
|
1386
1277
|
"value": {
|
1387
1278
|
"type": "boolean",
|
@@ -1389,29 +1280,70 @@
|
|
1389
1280
|
}
|
1390
1281
|
},
|
1391
1282
|
{
|
1392
|
-
"name": "
|
1393
|
-
"default": "-",
|
1394
|
-
"description": "
|
1283
|
+
"name": "position",
|
1284
|
+
"default": "`top-right`",
|
1285
|
+
"description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`",
|
1395
1286
|
"options": [],
|
1396
1287
|
"value": {
|
1397
|
-
"type": "
|
1288
|
+
"type": "string",
|
1398
1289
|
"kind": "expression"
|
1399
1290
|
}
|
1291
|
+
}
|
1292
|
+
]
|
1293
|
+
},
|
1294
|
+
{
|
1295
|
+
"name": "button",
|
1296
|
+
"slots": [
|
1297
|
+
{
|
1298
|
+
"name": "default",
|
1299
|
+
"description": "Default slot"
|
1400
1300
|
},
|
1401
1301
|
{
|
1402
|
-
"name": "
|
1403
|
-
"
|
1404
|
-
|
1405
|
-
|
1302
|
+
"name": "icon",
|
1303
|
+
"description": "Custom icon"
|
1304
|
+
},
|
1305
|
+
{
|
1306
|
+
"name": "loading",
|
1307
|
+
"description": "Custom loading icon"
|
1308
|
+
}
|
1309
|
+
],
|
1310
|
+
"events": [
|
1311
|
+
{
|
1312
|
+
"name": "click",
|
1313
|
+
"description": "Emitted when button is clicked and not disabled or loading",
|
1314
|
+
"arguments": [
|
1315
|
+
{
|
1316
|
+
"name": "event",
|
1317
|
+
"type": "MouseEvent"
|
1318
|
+
}
|
1319
|
+
]
|
1320
|
+
},
|
1321
|
+
{
|
1322
|
+
"name": "touchstart",
|
1323
|
+
"description": "Emitted when button is touched",
|
1324
|
+
"arguments": [
|
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`",
|
1337
|
+
"options": [],
|
1406
1338
|
"value": {
|
1407
|
-
"type": "
|
1339
|
+
"type": "string",
|
1408
1340
|
"kind": "expression"
|
1409
1341
|
}
|
1410
1342
|
},
|
1411
1343
|
{
|
1412
|
-
"name": "
|
1413
|
-
"default": "
|
1414
|
-
"description": "
|
1344
|
+
"name": "size",
|
1345
|
+
"default": "`normal`",
|
1346
|
+
"description": "Can be set to `large` `small` `mini`",
|
1415
1347
|
"options": [],
|
1416
1348
|
"value": {
|
1417
1349
|
"type": "string",
|
@@ -1419,41 +1351,29 @@
|
|
1419
1351
|
}
|
1420
1352
|
},
|
1421
1353
|
{
|
1422
|
-
"name": "
|
1354
|
+
"name": "text",
|
1423
1355
|
"default": "-",
|
1424
|
-
"description": "
|
1356
|
+
"description": "Text",
|
1425
1357
|
"options": [],
|
1426
1358
|
"value": {
|
1427
|
-
"type": "string
|
1359
|
+
"type": "string",
|
1428
1360
|
"kind": "expression"
|
1429
1361
|
}
|
1430
1362
|
},
|
1431
1363
|
{
|
1432
|
-
"name": "
|
1433
|
-
"default": "
|
1434
|
-
"description": "
|
1364
|
+
"name": "color",
|
1365
|
+
"default": "-",
|
1366
|
+
"description": "Color, support linear-gradient",
|
1435
1367
|
"options": [],
|
1436
1368
|
"value": {
|
1437
|
-
"type": "
|
1369
|
+
"type": "string",
|
1438
1370
|
"kind": "expression"
|
1439
1371
|
}
|
1440
|
-
}
|
1441
|
-
]
|
1442
|
-
},
|
1443
|
-
{
|
1444
|
-
"name": "action-bar-button",
|
1445
|
-
"slots": [
|
1446
|
-
{
|
1447
|
-
"name": "default",
|
1448
|
-
"description": "Button content"
|
1449
|
-
}
|
1450
|
-
],
|
1451
|
-
"events": [],
|
1452
|
-
"attributes": [
|
1372
|
+
},
|
1453
1373
|
{
|
1454
|
-
"name": "
|
1374
|
+
"name": "icon",
|
1455
1375
|
"default": "-",
|
1456
|
-
"description": "
|
1376
|
+
"description": "Left Icon",
|
1457
1377
|
"options": [],
|
1458
1378
|
"value": {
|
1459
1379
|
"type": "string",
|
@@ -1461,9 +1381,9 @@
|
|
1461
1381
|
}
|
1462
1382
|
},
|
1463
1383
|
{
|
1464
|
-
"name": "
|
1465
|
-
"default": "`
|
1466
|
-
"description": "
|
1384
|
+
"name": "icon-prefix",
|
1385
|
+
"default": "`van-icon`",
|
1386
|
+
"description": "Icon className prefix",
|
1467
1387
|
"options": [],
|
1468
1388
|
"value": {
|
1469
1389
|
"type": "string",
|
@@ -1471,9 +1391,9 @@
|
|
1471
1391
|
}
|
1472
1392
|
},
|
1473
1393
|
{
|
1474
|
-
"name": "
|
1475
|
-
"default": "
|
1476
|
-
"description": "
|
1394
|
+
"name": "icon-position",
|
1395
|
+
"default": "`left`",
|
1396
|
+
"description": "Icon position, can be set to `right`",
|
1477
1397
|
"options": [],
|
1478
1398
|
"value": {
|
1479
1399
|
"type": "string",
|
@@ -1481,15 +1401,65 @@
|
|
1481
1401
|
}
|
1482
1402
|
},
|
1483
1403
|
{
|
1484
|
-
"name": "
|
1485
|
-
"default": "
|
1486
|
-
"description": "
|
1404
|
+
"name": "tag",
|
1405
|
+
"default": "`button`",
|
1406
|
+
"description": "HTML Tag",
|
1407
|
+
"options": [],
|
1408
|
+
"value": {
|
1409
|
+
"type": "string",
|
1410
|
+
"kind": "expression"
|
1411
|
+
}
|
1412
|
+
},
|
1413
|
+
{
|
1414
|
+
"name": "native-type",
|
1415
|
+
"default": "`button`",
|
1416
|
+
"description": "Native Type Attribute",
|
1487
1417
|
"options": [],
|
1488
1418
|
"value": {
|
1489
1419
|
"type": "string",
|
1490
1420
|
"kind": "expression"
|
1491
1421
|
}
|
1492
1422
|
},
|
1423
|
+
{
|
1424
|
+
"name": "plain",
|
1425
|
+
"default": "`false`",
|
1426
|
+
"description": "Whether to be plain button",
|
1427
|
+
"options": [],
|
1428
|
+
"value": {
|
1429
|
+
"type": "boolean",
|
1430
|
+
"kind": "expression"
|
1431
|
+
}
|
1432
|
+
},
|
1433
|
+
{
|
1434
|
+
"name": "block",
|
1435
|
+
"default": "`false`",
|
1436
|
+
"description": "Whether to set display block",
|
1437
|
+
"options": [],
|
1438
|
+
"value": {
|
1439
|
+
"type": "boolean",
|
1440
|
+
"kind": "expression"
|
1441
|
+
}
|
1442
|
+
},
|
1443
|
+
{
|
1444
|
+
"name": "round",
|
1445
|
+
"default": "`false`",
|
1446
|
+
"description": "Whether to be round button",
|
1447
|
+
"options": [],
|
1448
|
+
"value": {
|
1449
|
+
"type": "boolean",
|
1450
|
+
"kind": "expression"
|
1451
|
+
}
|
1452
|
+
},
|
1453
|
+
{
|
1454
|
+
"name": "square",
|
1455
|
+
"default": "`false`",
|
1456
|
+
"description": "Whether to be square button",
|
1457
|
+
"options": [],
|
1458
|
+
"value": {
|
1459
|
+
"type": "boolean",
|
1460
|
+
"kind": "expression"
|
1461
|
+
}
|
1462
|
+
},
|
1493
1463
|
{
|
1494
1464
|
"name": "disabled",
|
1495
1465
|
"default": "`false`",
|
@@ -1510,10 +1480,40 @@
|
|
1510
1480
|
"kind": "expression"
|
1511
1481
|
}
|
1512
1482
|
},
|
1483
|
+
{
|
1484
|
+
"name": "loading-text",
|
1485
|
+
"default": "-",
|
1486
|
+
"description": "Loading text",
|
1487
|
+
"options": [],
|
1488
|
+
"value": {
|
1489
|
+
"type": "string",
|
1490
|
+
"kind": "expression"
|
1491
|
+
}
|
1492
|
+
},
|
1493
|
+
{
|
1494
|
+
"name": "loading-type",
|
1495
|
+
"default": "`circular`",
|
1496
|
+
"description": "Loading type, can be set to `spinner`",
|
1497
|
+
"options": [],
|
1498
|
+
"value": {
|
1499
|
+
"type": "string",
|
1500
|
+
"kind": "expression"
|
1501
|
+
}
|
1502
|
+
},
|
1503
|
+
{
|
1504
|
+
"name": "loading-size",
|
1505
|
+
"default": "`20px`",
|
1506
|
+
"description": "Loading icon size",
|
1507
|
+
"options": [],
|
1508
|
+
"value": {
|
1509
|
+
"type": "number | string",
|
1510
|
+
"kind": "expression"
|
1511
|
+
}
|
1512
|
+
},
|
1513
1513
|
{
|
1514
1514
|
"name": "url",
|
1515
1515
|
"default": "-",
|
1516
|
-
"description": "Link",
|
1516
|
+
"description": "Link URL",
|
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 using vue-router",
|
1527
1527
|
"options": [],
|
1528
1528
|
"value": {
|
1529
1529
|
"type": "string | object",
|
@@ -4493,138 +4493,131 @@
|
|
4493
4493
|
]
|
4494
4494
|
},
|
4495
4495
|
{
|
4496
|
-
"name": "
|
4497
|
-
"slots": [
|
4496
|
+
"name": "dropdown-menu",
|
4497
|
+
"slots": [],
|
4498
|
+
"events": [],
|
4499
|
+
"attributes": [
|
4498
4500
|
{
|
4499
|
-
"name": "
|
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
|
+
}
|
4501
4509
|
},
|
4502
4510
|
{
|
4503
|
-
"name": "
|
4504
|
-
"
|
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
|
+
}
|
4505
4519
|
},
|
4506
4520
|
{
|
4507
|
-
"name": "
|
4508
|
-
"
|
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
|
+
}
|
4509
4529
|
},
|
4510
4530
|
{
|
4511
|
-
"name": "
|
4512
|
-
"
|
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
|
+
}
|
4513
4539
|
},
|
4514
4540
|
{
|
4515
|
-
"name": "
|
4516
|
-
"
|
4541
|
+
"name": "overlay",
|
4542
|
+
"default": "`true`",
|
4543
|
+
"description": "Whether to show overlay",
|
4544
|
+
"options": [],
|
4545
|
+
"value": {
|
4546
|
+
"type": "boolean",
|
4547
|
+
"kind": "expression"
|
4548
|
+
}
|
4517
4549
|
},
|
4518
4550
|
{
|
4519
|
-
"name": "
|
4520
|
-
"
|
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
|
+
}
|
4521
4559
|
},
|
4522
4560
|
{
|
4523
|
-
"name": "
|
4524
|
-
"
|
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
|
+
}
|
4525
4569
|
}
|
4526
|
-
]
|
4527
|
-
|
4528
|
-
|
4529
|
-
|
4530
|
-
|
4531
|
-
"arguments": [
|
4532
|
-
{
|
4533
|
-
"name": "value",
|
4534
|
-
"type": "string"
|
4535
|
-
}
|
4536
|
-
]
|
4537
|
-
},
|
4538
|
-
{
|
4539
|
-
"name": "focus",
|
4540
|
-
"description": "Emitted when input is focused",
|
4541
|
-
"arguments": [
|
4542
|
-
{
|
4543
|
-
"name": "event",
|
4544
|
-
"type": "Event"
|
4545
|
-
}
|
4546
|
-
]
|
4547
|
-
},
|
4548
|
-
{
|
4549
|
-
"name": "blur",
|
4550
|
-
"description": "Emitted when input is blurred",
|
4551
|
-
"arguments": [
|
4552
|
-
{
|
4553
|
-
"name": "event",
|
4554
|
-
"type": "Event"
|
4555
|
-
}
|
4556
|
-
]
|
4557
|
-
},
|
4570
|
+
]
|
4571
|
+
},
|
4572
|
+
{
|
4573
|
+
"name": "dropdown-item",
|
4574
|
+
"slots": [
|
4558
4575
|
{
|
4559
|
-
"name": "
|
4560
|
-
"description": "
|
4561
|
-
"arguments": [
|
4562
|
-
{
|
4563
|
-
"name": "event",
|
4564
|
-
"type": "MouseEvent"
|
4565
|
-
}
|
4566
|
-
]
|
4576
|
+
"name": "default",
|
4577
|
+
"description": "Content"
|
4567
4578
|
},
|
4568
4579
|
{
|
4569
|
-
"name": "
|
4570
|
-
"description": "
|
4571
|
-
|
4572
|
-
|
4573
|
-
|
4574
|
-
"type": "MouseEvent"
|
4575
|
-
}
|
4576
|
-
]
|
4577
|
-
},
|
4580
|
+
"name": "title",
|
4581
|
+
"description": "Custom title"
|
4582
|
+
}
|
4583
|
+
],
|
4584
|
+
"events": [
|
4578
4585
|
{
|
4579
|
-
"name": "
|
4580
|
-
"description": "Emitted
|
4586
|
+
"name": "change",
|
4587
|
+
"description": "Emitted select option and value changed",
|
4581
4588
|
"arguments": [
|
4582
4589
|
{
|
4583
|
-
"name": "
|
4584
|
-
"type": "
|
4590
|
+
"name": "value",
|
4591
|
+
"type": "number | string"
|
4585
4592
|
}
|
4586
4593
|
]
|
4587
4594
|
},
|
4588
4595
|
{
|
4589
|
-
"name": "
|
4590
|
-
"description": "Emitted when
|
4591
|
-
"arguments": [
|
4592
|
-
{
|
4593
|
-
"name": "event",
|
4594
|
-
"type": "MouseEvent"
|
4595
|
-
}
|
4596
|
-
]
|
4596
|
+
"name": "open",
|
4597
|
+
"description": "Emitted when opening menu",
|
4598
|
+
"arguments": []
|
4597
4599
|
},
|
4598
4600
|
{
|
4599
|
-
"name": "
|
4600
|
-
"description": "Emitted when
|
4601
|
-
"arguments": [
|
4602
|
-
{
|
4603
|
-
"name": "event",
|
4604
|
-
"type": "MouseEvent"
|
4605
|
-
}
|
4606
|
-
]
|
4601
|
+
"name": "close",
|
4602
|
+
"description": "Emitted when closing menu",
|
4603
|
+
"arguments": []
|
4607
4604
|
},
|
4608
4605
|
{
|
4609
|
-
"name": "
|
4610
|
-
"description": "Emitted when
|
4606
|
+
"name": "opened",
|
4607
|
+
"description": "Emitted when menu is opened",
|
4611
4608
|
"arguments": []
|
4612
4609
|
},
|
4613
4610
|
{
|
4614
|
-
"name": "
|
4615
|
-
"description": "Emitted when
|
4616
|
-
"arguments": [
|
4617
|
-
{
|
4618
|
-
"name": "{ status: string }"
|
4619
|
-
}
|
4620
|
-
]
|
4611
|
+
"name": "closed",
|
4612
|
+
"description": "Emitted when menu is closed",
|
4613
|
+
"arguments": []
|
4621
4614
|
}
|
4622
4615
|
],
|
4623
4616
|
"attributes": [
|
4624
4617
|
{
|
4625
4618
|
"name": "v-model",
|
4626
4619
|
"default": "-",
|
4627
|
-
"description": "
|
4620
|
+
"description": "Value of current option",
|
4628
4621
|
"options": [],
|
4629
4622
|
"value": {
|
4630
4623
|
"type": "number | string",
|
@@ -4632,9 +4625,9 @@
|
|
4632
4625
|
}
|
4633
4626
|
},
|
4634
4627
|
{
|
4635
|
-
"name": "
|
4636
|
-
"default": "
|
4637
|
-
"description": "
|
4628
|
+
"name": "title",
|
4629
|
+
"default": "Text of selected option",
|
4630
|
+
"description": "Item title",
|
4638
4631
|
"options": [],
|
4639
4632
|
"value": {
|
4640
4633
|
"type": "string",
|
@@ -4642,139 +4635,172 @@
|
|
4642
4635
|
}
|
4643
4636
|
},
|
4644
4637
|
{
|
4645
|
-
"name": "
|
4646
|
-
"default": "
|
4647
|
-
"description": "
|
4638
|
+
"name": "options",
|
4639
|
+
"default": "`[]`",
|
4640
|
+
"description": "Options",
|
4648
4641
|
"options": [],
|
4649
4642
|
"value": {
|
4650
|
-
"type": "
|
4643
|
+
"type": "Option[]",
|
4651
4644
|
"kind": "expression"
|
4652
4645
|
}
|
4653
4646
|
},
|
4654
4647
|
{
|
4655
|
-
"name": "
|
4656
|
-
"default": "`
|
4657
|
-
"description": "
|
4648
|
+
"name": "disabled",
|
4649
|
+
"default": "`false`",
|
4650
|
+
"description": "Whether to disable dropdown item",
|
4658
4651
|
"options": [],
|
4659
4652
|
"value": {
|
4660
|
-
"type": "
|
4653
|
+
"type": "boolean",
|
4661
4654
|
"kind": "expression"
|
4662
4655
|
}
|
4663
4656
|
},
|
4664
4657
|
{
|
4665
|
-
"name": "
|
4666
|
-
"default": "`
|
4667
|
-
"description": "
|
4658
|
+
"name": "lazy-render",
|
4659
|
+
"default": "`true`",
|
4660
|
+
"description": "Whether to lazy render util opened",
|
4668
4661
|
"options": [],
|
4669
4662
|
"value": {
|
4670
|
-
"type": "
|
4663
|
+
"type": "boolean",
|
4671
4664
|
"kind": "expression"
|
4672
4665
|
}
|
4673
4666
|
},
|
4674
4667
|
{
|
4675
|
-
"name": "
|
4668
|
+
"name": "title-class",
|
4676
4669
|
"default": "-",
|
4677
|
-
"description": "
|
4670
|
+
"description": "Title class",
|
4678
4671
|
"options": [],
|
4679
4672
|
"value": {
|
4680
|
-
"type": "string",
|
4673
|
+
"type": "string | Array | object",
|
4681
4674
|
"kind": "expression"
|
4682
4675
|
}
|
4683
4676
|
},
|
4684
4677
|
{
|
4685
|
-
"name": "
|
4678
|
+
"name": "teleport",
|
4686
4679
|
"default": "-",
|
4687
|
-
"description": "
|
4680
|
+
"description": "Specifies a target element where DropdownItem will be mounted",
|
4688
4681
|
"options": [],
|
4689
4682
|
"value": {
|
4690
|
-
"type": "
|
4683
|
+
"type": "string | Element",
|
4691
4684
|
"kind": "expression"
|
4692
4685
|
}
|
4693
|
-
}
|
4686
|
+
}
|
4687
|
+
]
|
4688
|
+
},
|
4689
|
+
{
|
4690
|
+
"name": "empty",
|
4691
|
+
"slots": [
|
4694
4692
|
{
|
4695
|
-
"name": "
|
4696
|
-
"
|
4697
|
-
"description": "Input placeholder",
|
4698
|
-
"options": [],
|
4699
|
-
"value": {
|
4700
|
-
"type": "string",
|
4701
|
-
"kind": "expression"
|
4702
|
-
}
|
4693
|
+
"name": "default",
|
4694
|
+
"description": "Custom bottom content"
|
4703
4695
|
},
|
4704
4696
|
{
|
4705
|
-
"name": "
|
4706
|
-
"
|
4707
|
-
"description": "Whether to show inner border",
|
4708
|
-
"options": [],
|
4709
|
-
"value": {
|
4710
|
-
"type": "boolean",
|
4711
|
-
"kind": "expression"
|
4712
|
-
}
|
4697
|
+
"name": "image",
|
4698
|
+
"description": "Custom image"
|
4713
4699
|
},
|
4714
4700
|
{
|
4715
|
-
"name": "
|
4716
|
-
"
|
4717
|
-
|
4701
|
+
"name": "description",
|
4702
|
+
"description": "Custom description"
|
4703
|
+
}
|
4704
|
+
],
|
4705
|
+
"events": [],
|
4706
|
+
"attributes": [
|
4707
|
+
{
|
4708
|
+
"name": "image",
|
4709
|
+
"default": "`default`",
|
4710
|
+
"description": "Image type, can be set to `error` `network` `search` or image URL",
|
4718
4711
|
"options": [],
|
4719
4712
|
"value": {
|
4720
|
-
"type": "
|
4713
|
+
"type": "string",
|
4721
4714
|
"kind": "expression"
|
4722
4715
|
}
|
4723
4716
|
},
|
4724
4717
|
{
|
4725
|
-
"name": "
|
4726
|
-
"default": "
|
4727
|
-
"description": "
|
4718
|
+
"name": "image-size",
|
4719
|
+
"default": "-",
|
4720
|
+
"description": "Image size",
|
4728
4721
|
"options": [],
|
4729
4722
|
"value": {
|
4730
|
-
"type": "
|
4723
|
+
"type": "number | string | Array",
|
4731
4724
|
"kind": "expression"
|
4732
4725
|
}
|
4733
4726
|
},
|
4734
4727
|
{
|
4735
|
-
"name": "
|
4736
|
-
"default": "
|
4737
|
-
"description": "
|
4728
|
+
"name": "description",
|
4729
|
+
"default": "-",
|
4730
|
+
"description": "Description",
|
4738
4731
|
"options": [],
|
4739
4732
|
"value": {
|
4740
|
-
"type": "
|
4733
|
+
"type": "string",
|
4741
4734
|
"kind": "expression"
|
4742
4735
|
}
|
4736
|
+
}
|
4737
|
+
]
|
4738
|
+
},
|
4739
|
+
{
|
4740
|
+
"name": "form",
|
4741
|
+
"slots": [
|
4742
|
+
{
|
4743
|
+
"name": "default",
|
4744
|
+
"description": "Form content"
|
4745
|
+
}
|
4746
|
+
],
|
4747
|
+
"events": [
|
4748
|
+
{
|
4749
|
+
"name": "submit",
|
4750
|
+
"description": "Emitted after submitting the form and validation passed",
|
4751
|
+
"arguments": [
|
4752
|
+
{
|
4753
|
+
"name": "values",
|
4754
|
+
"type": "object"
|
4755
|
+
}
|
4756
|
+
]
|
4743
4757
|
},
|
4744
4758
|
{
|
4745
|
-
"name": "
|
4746
|
-
"
|
4747
|
-
"
|
4759
|
+
"name": "failed",
|
4760
|
+
"description": "Emitted after submitting the form and validation failed",
|
4761
|
+
"arguments": [
|
4762
|
+
{
|
4763
|
+
"name": "errorInfo",
|
4764
|
+
"type": "{ values: object, errors: object[] }"
|
4765
|
+
}
|
4766
|
+
]
|
4767
|
+
}
|
4768
|
+
],
|
4769
|
+
"attributes": [
|
4770
|
+
{
|
4771
|
+
"name": "label-width",
|
4772
|
+
"default": "`6.2em`",
|
4773
|
+
"description": "Field label width",
|
4748
4774
|
"options": [],
|
4749
4775
|
"value": {
|
4750
|
-
"type": "
|
4776
|
+
"type": "number | string",
|
4751
4777
|
"kind": "expression"
|
4752
4778
|
}
|
4753
4779
|
},
|
4754
4780
|
{
|
4755
|
-
"name": "
|
4756
|
-
"default": "`
|
4757
|
-
"description": "
|
4781
|
+
"name": "label-align",
|
4782
|
+
"default": "`left`",
|
4783
|
+
"description": "Field label align, can be set to `center` `right`",
|
4758
4784
|
"options": [],
|
4759
4785
|
"value": {
|
4760
|
-
"type": "
|
4786
|
+
"type": "string",
|
4761
4787
|
"kind": "expression"
|
4762
4788
|
}
|
4763
4789
|
},
|
4764
4790
|
{
|
4765
|
-
"name": "
|
4766
|
-
"default": "`
|
4767
|
-
"description": "
|
4791
|
+
"name": "input-align",
|
4792
|
+
"default": "`left`",
|
4793
|
+
"description": "Field input align, can be set to `center` `right`",
|
4768
4794
|
"options": [],
|
4769
4795
|
"value": {
|
4770
|
-
"type": "
|
4796
|
+
"type": "string",
|
4771
4797
|
"kind": "expression"
|
4772
4798
|
}
|
4773
4799
|
},
|
4774
4800
|
{
|
4775
|
-
"name": "
|
4776
|
-
"default": "`
|
4777
|
-
"description": "
|
4801
|
+
"name": "error-message-align",
|
4802
|
+
"default": "`left`",
|
4803
|
+
"description": "Error message align, can be set to `center` `right`",
|
4778
4804
|
"options": [],
|
4779
4805
|
"value": {
|
4780
4806
|
"type": "string",
|
@@ -4782,19 +4808,19 @@
|
|
4782
4808
|
}
|
4783
4809
|
},
|
4784
4810
|
{
|
4785
|
-
"name": "
|
4786
|
-
"default": "`
|
4787
|
-
"description": "When to
|
4811
|
+
"name": "validate-trigger",
|
4812
|
+
"default": "`onBlur`",
|
4813
|
+
"description": "When to validate the form, can be set to `onChange`、`onSubmit`, supports using array to set multiple values",
|
4788
4814
|
"options": [],
|
4789
4815
|
"value": {
|
4790
|
-
"type": "
|
4816
|
+
"type": "string | string[]",
|
4791
4817
|
"kind": "expression"
|
4792
4818
|
}
|
4793
4819
|
},
|
4794
4820
|
{
|
4795
|
-
"name": "
|
4821
|
+
"name": "colon",
|
4796
4822
|
"default": "`false`",
|
4797
|
-
"description": "Whether to
|
4823
|
+
"description": "Whether to display colon after label",
|
4798
4824
|
"options": [],
|
4799
4825
|
"value": {
|
4800
4826
|
"type": "boolean",
|
@@ -4802,9 +4828,9 @@
|
|
4802
4828
|
}
|
4803
4829
|
},
|
4804
4830
|
{
|
4805
|
-
"name": "
|
4831
|
+
"name": "disabled",
|
4806
4832
|
"default": "`false`",
|
4807
|
-
"description": "Whether to
|
4833
|
+
"description": "Whether to disable form",
|
4808
4834
|
"options": [],
|
4809
4835
|
"value": {
|
4810
4836
|
"type": "boolean",
|
@@ -4812,9 +4838,9 @@
|
|
4812
4838
|
}
|
4813
4839
|
},
|
4814
4840
|
{
|
4815
|
-
"name": "
|
4841
|
+
"name": "readonly",
|
4816
4842
|
"default": "`false`",
|
4817
|
-
"description": "Whether to
|
4843
|
+
"description": "Whether to be readonly",
|
4818
4844
|
"options": [],
|
4819
4845
|
"value": {
|
4820
4846
|
"type": "boolean",
|
@@ -4822,9 +4848,9 @@
|
|
4822
4848
|
}
|
4823
4849
|
},
|
4824
4850
|
{
|
4825
|
-
"name": "
|
4851
|
+
"name": "validate-first",
|
4826
4852
|
"default": "`false`",
|
4827
|
-
"description": "Whether to
|
4853
|
+
"description": "Whether to stop the validation when a rule fails",
|
4828
4854
|
"options": [],
|
4829
4855
|
"value": {
|
4830
4856
|
"type": "boolean",
|
@@ -4832,9 +4858,9 @@
|
|
4832
4858
|
}
|
4833
4859
|
},
|
4834
4860
|
{
|
4835
|
-
"name": "error",
|
4861
|
+
"name": "scroll-to-error",
|
4836
4862
|
"default": "`false`",
|
4837
|
-
"description": "Whether to
|
4863
|
+
"description": "Whether to scroll to the error field when validation failed",
|
4838
4864
|
"options": [],
|
4839
4865
|
"value": {
|
4840
4866
|
"type": "boolean",
|
@@ -4842,109 +4868,180 @@
|
|
4842
4868
|
}
|
4843
4869
|
},
|
4844
4870
|
{
|
4845
|
-
"name": "error
|
4846
|
-
"default": "
|
4847
|
-
"description": "
|
4871
|
+
"name": "show-error",
|
4872
|
+
"default": "`false`",
|
4873
|
+
"description": "Whether to highlight input when validation failed",
|
4848
4874
|
"options": [],
|
4849
4875
|
"value": {
|
4850
|
-
"type": "
|
4876
|
+
"type": "boolean",
|
4851
4877
|
"kind": "expression"
|
4852
4878
|
}
|
4853
4879
|
},
|
4854
4880
|
{
|
4855
|
-
"name": "error-message
|
4856
|
-
"default": "`
|
4857
|
-
"description": "
|
4881
|
+
"name": "show-error-message",
|
4882
|
+
"default": "`true`",
|
4883
|
+
"description": "Whether to show error message when validation failed",
|
4858
4884
|
"options": [],
|
4859
4885
|
"value": {
|
4860
|
-
"type": "
|
4886
|
+
"type": "boolean",
|
4861
4887
|
"kind": "expression"
|
4862
4888
|
}
|
4863
4889
|
},
|
4864
4890
|
{
|
4865
|
-
"name": "
|
4866
|
-
"default": "
|
4867
|
-
"description": "
|
4891
|
+
"name": "submit-on-enter",
|
4892
|
+
"default": "`true`",
|
4893
|
+
"description": "Whether to submit form on enter",
|
4868
4894
|
"options": [],
|
4869
4895
|
"value": {
|
4870
|
-
"type": "
|
4896
|
+
"type": "boolean",
|
4871
4897
|
"kind": "expression"
|
4872
4898
|
}
|
4899
|
+
}
|
4900
|
+
]
|
4901
|
+
},
|
4902
|
+
{
|
4903
|
+
"name": "field",
|
4904
|
+
"slots": [
|
4905
|
+
{
|
4906
|
+
"name": "label",
|
4907
|
+
"description": "Custom label"
|
4873
4908
|
},
|
4874
4909
|
{
|
4875
|
-
"name": "
|
4876
|
-
"
|
4877
|
-
"description": "When to format value, can be set to `onBlur`",
|
4878
|
-
"options": [],
|
4879
|
-
"value": {
|
4880
|
-
"type": "FieldFormatTrigger",
|
4881
|
-
"kind": "expression"
|
4882
|
-
}
|
4910
|
+
"name": "input",
|
4911
|
+
"description": "Custom input"
|
4883
4912
|
},
|
4884
4913
|
{
|
4885
|
-
"name": "
|
4886
|
-
"
|
4887
|
-
"description": "Can be set to `left` `up` `down`",
|
4888
|
-
"options": [],
|
4889
|
-
"value": {
|
4890
|
-
"type": "string",
|
4891
|
-
"kind": "expression"
|
4892
|
-
}
|
4914
|
+
"name": "left-icon",
|
4915
|
+
"description": "Custom left icon"
|
4893
4916
|
},
|
4894
4917
|
{
|
4895
|
-
"name": "
|
4896
|
-
"
|
4897
|
-
"description": "Label className",
|
4898
|
-
"options": [],
|
4899
|
-
"value": {
|
4900
|
-
"type": "string | Array | object",
|
4901
|
-
"kind": "expression"
|
4902
|
-
}
|
4918
|
+
"name": "right-icon",
|
4919
|
+
"description": "Custom right icon"
|
4903
4920
|
},
|
4904
4921
|
{
|
4905
|
-
"name": "
|
4906
|
-
"
|
4907
|
-
"description": "Label width",
|
4908
|
-
"options": [],
|
4909
|
-
"value": {
|
4910
|
-
"type": "number | string",
|
4911
|
-
"kind": "expression"
|
4912
|
-
}
|
4922
|
+
"name": "button",
|
4923
|
+
"description": "Insert button"
|
4913
4924
|
},
|
4914
4925
|
{
|
4915
|
-
"name": "
|
4916
|
-
"
|
4917
|
-
|
4918
|
-
|
4919
|
-
"
|
4920
|
-
|
4921
|
-
|
4922
|
-
|
4926
|
+
"name": "error-message",
|
4927
|
+
"description": "Custom error message"
|
4928
|
+
},
|
4929
|
+
{
|
4930
|
+
"name": "extra",
|
4931
|
+
"description": "Custom content on the right"
|
4932
|
+
}
|
4933
|
+
],
|
4934
|
+
"events": [
|
4935
|
+
{
|
4936
|
+
"name": "update:model-value",
|
4937
|
+
"description": "Emitted when input value changed",
|
4938
|
+
"arguments": [
|
4939
|
+
{
|
4940
|
+
"name": "value",
|
4941
|
+
"type": "string"
|
4942
|
+
}
|
4943
|
+
]
|
4944
|
+
},
|
4945
|
+
{
|
4946
|
+
"name": "focus",
|
4947
|
+
"description": "Emitted when input is focused",
|
4948
|
+
"arguments": [
|
4949
|
+
{
|
4950
|
+
"name": "event",
|
4951
|
+
"type": "Event"
|
4952
|
+
}
|
4953
|
+
]
|
4954
|
+
},
|
4955
|
+
{
|
4956
|
+
"name": "blur",
|
4957
|
+
"description": "Emitted when input is blurred",
|
4958
|
+
"arguments": [
|
4959
|
+
{
|
4960
|
+
"name": "event",
|
4961
|
+
"type": "Event"
|
4962
|
+
}
|
4963
|
+
]
|
4964
|
+
},
|
4965
|
+
{
|
4966
|
+
"name": "clear",
|
4967
|
+
"description": "Emitted when the clear icon is clicked",
|
4968
|
+
"arguments": [
|
4969
|
+
{
|
4970
|
+
"name": "event",
|
4971
|
+
"type": "MouseEvent"
|
4972
|
+
}
|
4973
|
+
]
|
4974
|
+
},
|
4975
|
+
{
|
4976
|
+
"name": "click",
|
4977
|
+
"description": "Emitted when component is clicked",
|
4978
|
+
"arguments": [
|
4979
|
+
{
|
4980
|
+
"name": "event",
|
4981
|
+
"type": "MouseEvent"
|
4982
|
+
}
|
4983
|
+
]
|
4984
|
+
},
|
4985
|
+
{
|
4986
|
+
"name": "click-input",
|
4987
|
+
"description": "Emitted when the input is clicked",
|
4988
|
+
"arguments": [
|
4989
|
+
{
|
4990
|
+
"name": "event",
|
4991
|
+
"type": "MouseEvent"
|
4992
|
+
}
|
4993
|
+
]
|
4994
|
+
},
|
4995
|
+
{
|
4996
|
+
"name": "click-left-icon",
|
4997
|
+
"description": "Emitted when the left icon is clicked",
|
4998
|
+
"arguments": [
|
4999
|
+
{
|
5000
|
+
"name": "event",
|
5001
|
+
"type": "MouseEvent"
|
5002
|
+
}
|
5003
|
+
]
|
5004
|
+
},
|
5005
|
+
{
|
5006
|
+
"name": "click-right-icon",
|
5007
|
+
"description": "Emitted when the right icon is clicked",
|
5008
|
+
"arguments": [
|
5009
|
+
{
|
5010
|
+
"name": "event",
|
5011
|
+
"type": "MouseEvent"
|
5012
|
+
}
|
5013
|
+
]
|
4923
5014
|
},
|
4924
5015
|
{
|
4925
|
-
"name": "
|
4926
|
-
"
|
4927
|
-
"
|
4928
|
-
"options": [],
|
4929
|
-
"value": {
|
4930
|
-
"type": "FieldTextAlign",
|
4931
|
-
"kind": "expression"
|
4932
|
-
}
|
5016
|
+
"name": "start-validate",
|
5017
|
+
"description": "Emitted when start validation",
|
5018
|
+
"arguments": []
|
4933
5019
|
},
|
4934
5020
|
{
|
4935
|
-
"name": "
|
4936
|
-
"
|
4937
|
-
"
|
5021
|
+
"name": "end-validate",
|
5022
|
+
"description": "Emitted when end validation",
|
5023
|
+
"arguments": [
|
5024
|
+
{
|
5025
|
+
"name": "{ status: string }"
|
5026
|
+
}
|
5027
|
+
]
|
5028
|
+
}
|
5029
|
+
],
|
5030
|
+
"attributes": [
|
5031
|
+
{
|
5032
|
+
"name": "v-model",
|
5033
|
+
"default": "-",
|
5034
|
+
"description": "Input value",
|
4938
5035
|
"options": [],
|
4939
5036
|
"value": {
|
4940
|
-
"type": "
|
5037
|
+
"type": "number | string",
|
4941
5038
|
"kind": "expression"
|
4942
5039
|
}
|
4943
5040
|
},
|
4944
5041
|
{
|
4945
|
-
"name": "
|
5042
|
+
"name": "label",
|
4946
5043
|
"default": "-",
|
4947
|
-
"description": "Left side
|
5044
|
+
"description": "Left side label",
|
4948
5045
|
"options": [],
|
4949
5046
|
"value": {
|
4950
5047
|
"type": "string",
|
@@ -4952,9 +5049,9 @@
|
|
4952
5049
|
}
|
4953
5050
|
},
|
4954
5051
|
{
|
4955
|
-
"name": "
|
5052
|
+
"name": "name",
|
4956
5053
|
"default": "-",
|
4957
|
-
"description": "
|
5054
|
+
"description": "As the identifier when submitting the form",
|
4958
5055
|
"options": [],
|
4959
5056
|
"value": {
|
4960
5057
|
"type": "string",
|
@@ -4962,9 +5059,9 @@
|
|
4962
5059
|
}
|
4963
5060
|
},
|
4964
5061
|
{
|
4965
|
-
"name": "
|
4966
|
-
"default": "`van-
|
4967
|
-
"description": "
|
5062
|
+
"name": "id",
|
5063
|
+
"default": "`van-field-n-input`",
|
5064
|
+
"description": "Input id, the for attribute of the label also will be set",
|
4968
5065
|
"options": [],
|
4969
5066
|
"value": {
|
4970
5067
|
"type": "string",
|
@@ -4972,19 +5069,19 @@
|
|
4972
5069
|
}
|
4973
5070
|
},
|
4974
5071
|
{
|
4975
|
-
"name": "
|
4976
|
-
"default": "
|
4977
|
-
"description": "
|
5072
|
+
"name": "type",
|
5073
|
+
"default": "`text`",
|
5074
|
+
"description": "Input type, support all [native types](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types) and `digit` type",
|
4978
5075
|
"options": [],
|
4979
5076
|
"value": {
|
4980
|
-
"type": "
|
5077
|
+
"type": "FieldType",
|
4981
5078
|
"kind": "expression"
|
4982
5079
|
}
|
4983
5080
|
},
|
4984
5081
|
{
|
4985
|
-
"name": "
|
5082
|
+
"name": "size",
|
4986
5083
|
"default": "-",
|
4987
|
-
"description": "
|
5084
|
+
"description": "Size, can be set to `large`",
|
4988
5085
|
"options": [],
|
4989
5086
|
"value": {
|
4990
5087
|
"type": "string",
|
@@ -4992,26 +5089,19 @@
|
|
4992
5089
|
}
|
4993
5090
|
},
|
4994
5091
|
{
|
4995
|
-
"name": "
|
5092
|
+
"name": "maxlength",
|
4996
5093
|
"default": "-",
|
4997
|
-
"description": "
|
5094
|
+
"description": "Max length of value",
|
4998
5095
|
"options": [],
|
4999
5096
|
"value": {
|
5000
|
-
"type": "string",
|
5097
|
+
"type": "number | string",
|
5001
5098
|
"kind": "expression"
|
5002
5099
|
}
|
5003
|
-
}
|
5004
|
-
]
|
5005
|
-
},
|
5006
|
-
{
|
5007
|
-
"name": "dropdown-menu",
|
5008
|
-
"slots": [],
|
5009
|
-
"events": [],
|
5010
|
-
"attributes": [
|
5100
|
+
},
|
5011
5101
|
{
|
5012
|
-
"name": "
|
5013
|
-
"default": "
|
5014
|
-
"description": "
|
5102
|
+
"name": "placeholder",
|
5103
|
+
"default": "-",
|
5104
|
+
"description": "Input placeholder",
|
5015
5105
|
"options": [],
|
5016
5106
|
"value": {
|
5017
5107
|
"type": "string",
|
@@ -5019,39 +5109,39 @@
|
|
5019
5109
|
}
|
5020
5110
|
},
|
5021
5111
|
{
|
5022
|
-
"name": "
|
5023
|
-
"default": "`
|
5024
|
-
"description": "
|
5112
|
+
"name": "border",
|
5113
|
+
"default": "`true`",
|
5114
|
+
"description": "Whether to show inner border",
|
5025
5115
|
"options": [],
|
5026
5116
|
"value": {
|
5027
|
-
"type": "
|
5117
|
+
"type": "boolean",
|
5028
5118
|
"kind": "expression"
|
5029
5119
|
}
|
5030
5120
|
},
|
5031
5121
|
{
|
5032
|
-
"name": "
|
5033
|
-
"default": "`
|
5034
|
-
"description": "
|
5122
|
+
"name": "disabled",
|
5123
|
+
"default": "`false`",
|
5124
|
+
"description": "Whether to disable field",
|
5035
5125
|
"options": [],
|
5036
5126
|
"value": {
|
5037
|
-
"type": "
|
5127
|
+
"type": "boolean",
|
5038
5128
|
"kind": "expression"
|
5039
5129
|
}
|
5040
5130
|
},
|
5041
5131
|
{
|
5042
|
-
"name": "
|
5043
|
-
"default": "`
|
5044
|
-
"description": "
|
5132
|
+
"name": "readonly",
|
5133
|
+
"default": "`false`",
|
5134
|
+
"description": "Whether to be readonly",
|
5045
5135
|
"options": [],
|
5046
5136
|
"value": {
|
5047
|
-
"type": "
|
5137
|
+
"type": "boolean",
|
5048
5138
|
"kind": "expression"
|
5049
5139
|
}
|
5050
5140
|
},
|
5051
5141
|
{
|
5052
|
-
"name": "
|
5053
|
-
"default": "`
|
5054
|
-
"description": "Whether to
|
5142
|
+
"name": "colon",
|
5143
|
+
"default": "`false`",
|
5144
|
+
"description": "Whether to display colon after label",
|
5055
5145
|
"options": [],
|
5056
5146
|
"value": {
|
5057
5147
|
"type": "boolean",
|
@@ -5059,9 +5149,9 @@
|
|
5059
5149
|
}
|
5060
5150
|
},
|
5061
5151
|
{
|
5062
|
-
"name": "
|
5063
|
-
"default": "`
|
5064
|
-
"description": "Whether to
|
5152
|
+
"name": "required",
|
5153
|
+
"default": "`false`",
|
5154
|
+
"description": "Whether to show required mark",
|
5065
5155
|
"options": [],
|
5066
5156
|
"value": {
|
5067
5157
|
"type": "boolean",
|
@@ -5069,76 +5159,29 @@
|
|
5069
5159
|
}
|
5070
5160
|
},
|
5071
5161
|
{
|
5072
|
-
"name": "
|
5162
|
+
"name": "center",
|
5073
5163
|
"default": "`true`",
|
5074
|
-
"description": "Whether to
|
5164
|
+
"description": "Whether to center content vertically",
|
5075
5165
|
"options": [],
|
5076
5166
|
"value": {
|
5077
5167
|
"type": "boolean",
|
5078
5168
|
"kind": "expression"
|
5079
5169
|
}
|
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
5170
|
},
|
5121
5171
|
{
|
5122
|
-
"name": "
|
5123
|
-
"
|
5124
|
-
"
|
5125
|
-
}
|
5126
|
-
],
|
5127
|
-
"attributes": [
|
5128
|
-
{
|
5129
|
-
"name": "v-model",
|
5130
|
-
"default": "-",
|
5131
|
-
"description": "Value of current option",
|
5172
|
+
"name": "clearable",
|
5173
|
+
"default": "`false`",
|
5174
|
+
"description": "Whether to be clearable",
|
5132
5175
|
"options": [],
|
5133
5176
|
"value": {
|
5134
|
-
"type": "
|
5177
|
+
"type": "boolean",
|
5135
5178
|
"kind": "expression"
|
5136
5179
|
}
|
5137
5180
|
},
|
5138
5181
|
{
|
5139
|
-
"name": "
|
5140
|
-
"default": "
|
5141
|
-
"description": "
|
5182
|
+
"name": "clear-icon",
|
5183
|
+
"default": "`clear`",
|
5184
|
+
"description": "Clear icon name",
|
5142
5185
|
"options": [],
|
5143
5186
|
"value": {
|
5144
5187
|
"type": "string",
|
@@ -5146,19 +5189,19 @@
|
|
5146
5189
|
}
|
5147
5190
|
},
|
5148
5191
|
{
|
5149
|
-
"name": "
|
5150
|
-
"default": "`
|
5151
|
-
"description": "
|
5192
|
+
"name": "clear-trigger",
|
5193
|
+
"default": "`focus`",
|
5194
|
+
"description": "When to display the clear icon, `always` means to display the icon when value is not empty, `focus` means to display the icon when input is focused",
|
5152
5195
|
"options": [],
|
5153
5196
|
"value": {
|
5154
|
-
"type": "
|
5197
|
+
"type": "FieldClearTrigger",
|
5155
5198
|
"kind": "expression"
|
5156
5199
|
}
|
5157
5200
|
},
|
5158
5201
|
{
|
5159
|
-
"name": "
|
5202
|
+
"name": "clickable",
|
5160
5203
|
"default": "`false`",
|
5161
|
-
"description": "Whether to
|
5204
|
+
"description": "Whether to show click feedback when clicked",
|
5162
5205
|
"options": [],
|
5163
5206
|
"value": {
|
5164
5207
|
"type": "boolean",
|
@@ -5166,9 +5209,9 @@
|
|
5166
5209
|
}
|
5167
5210
|
},
|
5168
5211
|
{
|
5169
|
-
"name": "
|
5170
|
-
"default": "`
|
5171
|
-
"description": "Whether to
|
5212
|
+
"name": "is-link",
|
5213
|
+
"default": "`false`",
|
5214
|
+
"description": "Whether to show link icon",
|
5172
5215
|
"options": [],
|
5173
5216
|
"value": {
|
5174
5217
|
"type": "boolean",
|
@@ -5176,122 +5219,79 @@
|
|
5176
5219
|
}
|
5177
5220
|
},
|
5178
5221
|
{
|
5179
|
-
"name": "
|
5180
|
-
"default": "
|
5181
|
-
"description": "
|
5222
|
+
"name": "autofocus",
|
5223
|
+
"default": "`false`",
|
5224
|
+
"description": "Whether to auto focus, unsupported in iOS",
|
5182
5225
|
"options": [],
|
5183
5226
|
"value": {
|
5184
|
-
"type": "
|
5227
|
+
"type": "boolean",
|
5185
5228
|
"kind": "expression"
|
5186
5229
|
}
|
5187
5230
|
},
|
5188
5231
|
{
|
5189
|
-
"name": "
|
5190
|
-
"default": "
|
5191
|
-
"description": "
|
5232
|
+
"name": "show-word-limit",
|
5233
|
+
"default": "`false`",
|
5234
|
+
"description": "Whether to show word limit, need to set the `maxlength` prop",
|
5192
5235
|
"options": [],
|
5193
5236
|
"value": {
|
5194
|
-
"type": "
|
5237
|
+
"type": "boolean",
|
5195
5238
|
"kind": "expression"
|
5196
5239
|
}
|
5197
|
-
}
|
5198
|
-
]
|
5199
|
-
},
|
5200
|
-
{
|
5201
|
-
"name": "empty",
|
5202
|
-
"slots": [
|
5203
|
-
{
|
5204
|
-
"name": "default",
|
5205
|
-
"description": "Custom bottom content"
|
5206
|
-
},
|
5207
|
-
{
|
5208
|
-
"name": "image",
|
5209
|
-
"description": "Custom image"
|
5210
5240
|
},
|
5211
5241
|
{
|
5212
|
-
"name": "
|
5213
|
-
"
|
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",
|
5242
|
+
"name": "error",
|
5243
|
+
"default": "`false`",
|
5244
|
+
"description": "Whether to mark the input content in red",
|
5222
5245
|
"options": [],
|
5223
5246
|
"value": {
|
5224
|
-
"type": "
|
5247
|
+
"type": "boolean",
|
5225
5248
|
"kind": "expression"
|
5226
5249
|
}
|
5227
5250
|
},
|
5228
5251
|
{
|
5229
|
-
"name": "
|
5252
|
+
"name": "error-message",
|
5230
5253
|
"default": "-",
|
5231
|
-
"description": "
|
5254
|
+
"description": "Error message",
|
5255
|
+
"options": [],
|
5256
|
+
"value": {
|
5257
|
+
"type": "string",
|
5258
|
+
"kind": "expression"
|
5259
|
+
}
|
5260
|
+
},
|
5261
|
+
{
|
5262
|
+
"name": "error-message-align",
|
5263
|
+
"default": "`left`",
|
5264
|
+
"description": "Error message align, can be set to `center` `right`",
|
5232
5265
|
"options": [],
|
5233
5266
|
"value": {
|
5234
|
-
"type": "
|
5267
|
+
"type": "FieldTextAlign",
|
5235
5268
|
"kind": "expression"
|
5236
5269
|
}
|
5237
5270
|
},
|
5238
5271
|
{
|
5239
|
-
"name": "
|
5272
|
+
"name": "formatter",
|
5240
5273
|
"default": "-",
|
5241
|
-
"description": "
|
5274
|
+
"description": "Input value formatter",
|
5242
5275
|
"options": [],
|
5243
5276
|
"value": {
|
5244
|
-
"type": "string",
|
5277
|
+
"type": "(val: string) => string",
|
5245
5278
|
"kind": "expression"
|
5246
5279
|
}
|
5247
|
-
}
|
5248
|
-
]
|
5249
|
-
},
|
5250
|
-
{
|
5251
|
-
"name": "form",
|
5252
|
-
"slots": [
|
5253
|
-
{
|
5254
|
-
"name": "default",
|
5255
|
-
"description": "Form content"
|
5256
|
-
}
|
5257
|
-
],
|
5258
|
-
"events": [
|
5259
|
-
{
|
5260
|
-
"name": "submit",
|
5261
|
-
"description": "Emitted after submitting the form and validation passed",
|
5262
|
-
"arguments": [
|
5263
|
-
{
|
5264
|
-
"name": "values",
|
5265
|
-
"type": "object"
|
5266
|
-
}
|
5267
|
-
]
|
5268
5280
|
},
|
5269
5281
|
{
|
5270
|
-
"name": "
|
5271
|
-
"
|
5272
|
-
"
|
5273
|
-
{
|
5274
|
-
"name": "errorInfo",
|
5275
|
-
"type": "{ values: object, errors: object[] }"
|
5276
|
-
}
|
5277
|
-
]
|
5278
|
-
}
|
5279
|
-
],
|
5280
|
-
"attributes": [
|
5281
|
-
{
|
5282
|
-
"name": "label-width",
|
5283
|
-
"default": "`6.2em`",
|
5284
|
-
"description": "Field label width",
|
5282
|
+
"name": "format-trigger",
|
5283
|
+
"default": "`onChange`",
|
5284
|
+
"description": "When to format value, can be set to `onBlur`",
|
5285
5285
|
"options": [],
|
5286
5286
|
"value": {
|
5287
|
-
"type": "
|
5287
|
+
"type": "FieldFormatTrigger",
|
5288
5288
|
"kind": "expression"
|
5289
5289
|
}
|
5290
5290
|
},
|
5291
5291
|
{
|
5292
|
-
"name": "
|
5293
|
-
"default": "`
|
5294
|
-
"description": "
|
5292
|
+
"name": "arrow-direction",
|
5293
|
+
"default": "`right`",
|
5294
|
+
"description": "Can be set to `left` `up` `down`",
|
5295
5295
|
"options": [],
|
5296
5296
|
"value": {
|
5297
5297
|
"type": "string",
|
@@ -5299,112 +5299,112 @@
|
|
5299
5299
|
}
|
5300
5300
|
},
|
5301
5301
|
{
|
5302
|
-
"name": "
|
5303
|
-
"default": "
|
5304
|
-
"description": "
|
5302
|
+
"name": "label-class",
|
5303
|
+
"default": "-",
|
5304
|
+
"description": "Label className",
|
5305
5305
|
"options": [],
|
5306
5306
|
"value": {
|
5307
|
-
"type": "string",
|
5307
|
+
"type": "string | Array | object",
|
5308
5308
|
"kind": "expression"
|
5309
5309
|
}
|
5310
5310
|
},
|
5311
5311
|
{
|
5312
|
-
"name": "
|
5313
|
-
"default": "`
|
5314
|
-
"description": "
|
5312
|
+
"name": "label-width",
|
5313
|
+
"default": "`6.2em`",
|
5314
|
+
"description": "Label width",
|
5315
5315
|
"options": [],
|
5316
5316
|
"value": {
|
5317
|
-
"type": "string",
|
5317
|
+
"type": "number | string",
|
5318
5318
|
"kind": "expression"
|
5319
5319
|
}
|
5320
5320
|
},
|
5321
5321
|
{
|
5322
|
-
"name": "
|
5323
|
-
"default": "`
|
5324
|
-
"description": "
|
5322
|
+
"name": "label-align",
|
5323
|
+
"default": "`left`",
|
5324
|
+
"description": "Label align, can be set to `center` `right`",
|
5325
5325
|
"options": [],
|
5326
5326
|
"value": {
|
5327
|
-
"type": "
|
5327
|
+
"type": "FieldTextAlign",
|
5328
5328
|
"kind": "expression"
|
5329
5329
|
}
|
5330
5330
|
},
|
5331
5331
|
{
|
5332
|
-
"name": "
|
5333
|
-
"default": "`
|
5334
|
-
"description": "
|
5332
|
+
"name": "input-align",
|
5333
|
+
"default": "`left`",
|
5334
|
+
"description": "Input align, can be set to `center` `right`",
|
5335
5335
|
"options": [],
|
5336
5336
|
"value": {
|
5337
|
-
"type": "
|
5337
|
+
"type": "FieldTextAlign",
|
5338
5338
|
"kind": "expression"
|
5339
5339
|
}
|
5340
5340
|
},
|
5341
5341
|
{
|
5342
|
-
"name": "
|
5342
|
+
"name": "autosize",
|
5343
5343
|
"default": "`false`",
|
5344
|
-
"description": "
|
5344
|
+
"description": "Textarea auto resize, can accept an object,<br>e.g. { maxHeight: 100, minHeight: 50 }",
|
5345
5345
|
"options": [],
|
5346
5346
|
"value": {
|
5347
|
-
"type": "boolean",
|
5347
|
+
"type": "boolean | FieldAutosizeConfig",
|
5348
5348
|
"kind": "expression"
|
5349
5349
|
}
|
5350
5350
|
},
|
5351
5351
|
{
|
5352
|
-
"name": "
|
5353
|
-
"default": "
|
5354
|
-
"description": "
|
5352
|
+
"name": "left-icon",
|
5353
|
+
"default": "-",
|
5354
|
+
"description": "Left side icon name",
|
5355
5355
|
"options": [],
|
5356
5356
|
"value": {
|
5357
|
-
"type": "
|
5357
|
+
"type": "string",
|
5358
5358
|
"kind": "expression"
|
5359
5359
|
}
|
5360
5360
|
},
|
5361
5361
|
{
|
5362
|
-
"name": "
|
5363
|
-
"default": "
|
5364
|
-
"description": "
|
5362
|
+
"name": "right-icon",
|
5363
|
+
"default": "-",
|
5364
|
+
"description": "Right side icon name",
|
5365
5365
|
"options": [],
|
5366
5366
|
"value": {
|
5367
|
-
"type": "
|
5367
|
+
"type": "string",
|
5368
5368
|
"kind": "expression"
|
5369
5369
|
}
|
5370
5370
|
},
|
5371
5371
|
{
|
5372
|
-
"name": "
|
5373
|
-
"default": "`
|
5374
|
-
"description": "
|
5372
|
+
"name": "icon-prefix",
|
5373
|
+
"default": "`van-icon`",
|
5374
|
+
"description": "Icon className prefix",
|
5375
5375
|
"options": [],
|
5376
5376
|
"value": {
|
5377
|
-
"type": "
|
5377
|
+
"type": "string",
|
5378
5378
|
"kind": "expression"
|
5379
5379
|
}
|
5380
5380
|
},
|
5381
5381
|
{
|
5382
|
-
"name": "
|
5383
|
-
"default": "
|
5384
|
-
"description": "
|
5382
|
+
"name": "rules",
|
5383
|
+
"default": "-",
|
5384
|
+
"description": "Form validation rules",
|
5385
5385
|
"options": [],
|
5386
5386
|
"value": {
|
5387
|
-
"type": "
|
5387
|
+
"type": "FieldRule[]",
|
5388
5388
|
"kind": "expression"
|
5389
5389
|
}
|
5390
5390
|
},
|
5391
5391
|
{
|
5392
|
-
"name": "
|
5393
|
-
"default": "
|
5394
|
-
"description": "
|
5392
|
+
"name": "autocomplete",
|
5393
|
+
"default": "-",
|
5394
|
+
"description": "HTML native attribute, see [MDN - autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)",
|
5395
5395
|
"options": [],
|
5396
5396
|
"value": {
|
5397
|
-
"type": "
|
5397
|
+
"type": "string",
|
5398
5398
|
"kind": "expression"
|
5399
5399
|
}
|
5400
5400
|
},
|
5401
5401
|
{
|
5402
|
-
"name": "
|
5403
|
-
"default": "
|
5404
|
-
"description": "
|
5402
|
+
"name": "enterkeyhint",
|
5403
|
+
"default": "-",
|
5404
|
+
"description": "HTML native attribute, see [MDN - enterkeyhint](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint)<br>",
|
5405
5405
|
"options": [],
|
5406
5406
|
"value": {
|
5407
|
-
"type": "
|
5407
|
+
"type": "string",
|
5408
5408
|
"kind": "expression"
|
5409
5409
|
}
|
5410
5410
|
}
|
@@ -10497,25 +10497,74 @@
|
|
10497
10497
|
]
|
10498
10498
|
},
|
10499
10499
|
{
|
10500
|
-
"name": "
|
10501
|
-
"slots": [
|
10500
|
+
"name": "tabs",
|
10501
|
+
"slots": [
|
10502
|
+
{
|
10503
|
+
"name": "nav-left",
|
10504
|
+
"description": "Custom nav left content"
|
10505
|
+
},
|
10506
|
+
{
|
10507
|
+
"name": "nav-right",
|
10508
|
+
"description": "Custom nav right content"
|
10509
|
+
},
|
10510
|
+
{
|
10511
|
+
"name": "nav-bottom",
|
10512
|
+
"description": "Custom nav bottom content"
|
10513
|
+
}
|
10514
|
+
],
|
10502
10515
|
"events": [
|
10516
|
+
{
|
10517
|
+
"name": "click-tab",
|
10518
|
+
"description": "Emitted when a tab is clicked",
|
10519
|
+
"arguments": [
|
10520
|
+
{
|
10521
|
+
"name": "{ name: string | number, title: string, event: MouseEvent, disabled: boolean }"
|
10522
|
+
}
|
10523
|
+
]
|
10524
|
+
},
|
10503
10525
|
{
|
10504
10526
|
"name": "change",
|
10505
|
-
"description": "Emitted when
|
10527
|
+
"description": "Emitted when active tab changed",
|
10506
10528
|
"arguments": [
|
10507
10529
|
{
|
10508
|
-
"name": "
|
10509
|
-
"type": "
|
10530
|
+
"name": "name",
|
10531
|
+
"type": "string | number"
|
10532
|
+
},
|
10533
|
+
{
|
10534
|
+
"name": "title",
|
10535
|
+
"type": "string"
|
10536
|
+
}
|
10537
|
+
]
|
10538
|
+
},
|
10539
|
+
{
|
10540
|
+
"name": "rendered",
|
10541
|
+
"description": "Emitted when content first rendered in lazy-render mode",
|
10542
|
+
"arguments": [
|
10543
|
+
{
|
10544
|
+
"name": "name",
|
10545
|
+
"type": "string | number"
|
10546
|
+
},
|
10547
|
+
{
|
10548
|
+
"name": "title",
|
10549
|
+
"type": "string"
|
10550
|
+
}
|
10551
|
+
]
|
10552
|
+
},
|
10553
|
+
{
|
10554
|
+
"name": "scroll",
|
10555
|
+
"description": "Emitted when tab scrolling in sticky mode",
|
10556
|
+
"arguments": [
|
10557
|
+
{
|
10558
|
+
"name": "{ scrollTop: number, isFixed: boolean }"
|
10510
10559
|
}
|
10511
10560
|
]
|
10512
10561
|
}
|
10513
10562
|
],
|
10514
10563
|
"attributes": [
|
10515
10564
|
{
|
10516
|
-
"name": "v-model",
|
10565
|
+
"name": "v-model:active",
|
10517
10566
|
"default": "`0`",
|
10518
|
-
"description": "
|
10567
|
+
"description": "Index of active tab",
|
10519
10568
|
"options": [],
|
10520
10569
|
"value": {
|
10521
10570
|
"type": "number | string",
|
@@ -10523,29 +10572,39 @@
|
|
10523
10572
|
}
|
10524
10573
|
},
|
10525
10574
|
{
|
10526
|
-
"name": "
|
10527
|
-
"default": "`
|
10528
|
-
"description": "
|
10575
|
+
"name": "type",
|
10576
|
+
"default": "`line`",
|
10577
|
+
"description": "Can be set to `line` `card`",
|
10529
10578
|
"options": [],
|
10530
10579
|
"value": {
|
10531
|
-
"type": "
|
10580
|
+
"type": "string",
|
10532
10581
|
"kind": "expression"
|
10533
10582
|
}
|
10534
10583
|
},
|
10535
10584
|
{
|
10536
|
-
"name": "
|
10537
|
-
"default": "`
|
10538
|
-
"description": "
|
10585
|
+
"name": "color",
|
10586
|
+
"default": "`#ee0a24`",
|
10587
|
+
"description": "Tab color",
|
10539
10588
|
"options": [],
|
10540
10589
|
"value": {
|
10541
|
-
"type": "
|
10590
|
+
"type": "string",
|
10542
10591
|
"kind": "expression"
|
10543
10592
|
}
|
10544
10593
|
},
|
10545
10594
|
{
|
10546
|
-
"name": "
|
10547
|
-
"default": "`
|
10548
|
-
"description": "
|
10595
|
+
"name": "background",
|
10596
|
+
"default": "`white`",
|
10597
|
+
"description": "Background color",
|
10598
|
+
"options": [],
|
10599
|
+
"value": {
|
10600
|
+
"type": "string",
|
10601
|
+
"kind": "expression"
|
10602
|
+
}
|
10603
|
+
},
|
10604
|
+
{
|
10605
|
+
"name": "duration",
|
10606
|
+
"default": "`0.3`",
|
10607
|
+
"description": "Toggle tab's animation time",
|
10549
10608
|
"options": [],
|
10550
10609
|
"value": {
|
10551
10610
|
"type": "number | string",
|
@@ -10553,29 +10612,29 @@
|
|
10553
10612
|
}
|
10554
10613
|
},
|
10555
10614
|
{
|
10556
|
-
"name": "
|
10557
|
-
"default": "
|
10558
|
-
"description": "
|
10615
|
+
"name": "line-width",
|
10616
|
+
"default": "`40px`",
|
10617
|
+
"description": "Width of tab line",
|
10559
10618
|
"options": [],
|
10560
10619
|
"value": {
|
10561
|
-
"type": "string",
|
10620
|
+
"type": "number | string",
|
10562
10621
|
"kind": "expression"
|
10563
10622
|
}
|
10564
10623
|
},
|
10565
10624
|
{
|
10566
|
-
"name": "
|
10567
|
-
"default": "
|
10568
|
-
"description": "
|
10625
|
+
"name": "line-height",
|
10626
|
+
"default": "`3px`",
|
10627
|
+
"description": "Height of tab line",
|
10569
10628
|
"options": [],
|
10570
10629
|
"value": {
|
10571
|
-
"type": "string",
|
10630
|
+
"type": "number | string",
|
10572
10631
|
"kind": "expression"
|
10573
10632
|
}
|
10574
10633
|
},
|
10575
10634
|
{
|
10576
|
-
"name": "
|
10635
|
+
"name": "animated",
|
10577
10636
|
"default": "`false`",
|
10578
|
-
"description": "Whether to
|
10637
|
+
"description": "Whether to change tabs with animation",
|
10579
10638
|
"options": [],
|
10580
10639
|
"value": {
|
10581
10640
|
"type": "boolean",
|
@@ -10583,9 +10642,9 @@
|
|
10583
10642
|
}
|
10584
10643
|
},
|
10585
10644
|
{
|
10586
|
-
"name": "
|
10645
|
+
"name": "border",
|
10587
10646
|
"default": "`false`",
|
10588
|
-
"description": "Whether to
|
10647
|
+
"description": "Whether to show border when `type=\"line\"`",
|
10589
10648
|
"options": [],
|
10590
10649
|
"value": {
|
10591
10650
|
"type": "boolean",
|
@@ -10593,9 +10652,9 @@
|
|
10593
10652
|
}
|
10594
10653
|
},
|
10595
10654
|
{
|
10596
|
-
"name": "
|
10597
|
-
"default": "`
|
10598
|
-
"description": "Whether to
|
10655
|
+
"name": "ellipsis",
|
10656
|
+
"default": "`true`",
|
10657
|
+
"description": "Whether to ellipsis too long title",
|
10599
10658
|
"options": [],
|
10600
10659
|
"value": {
|
10601
10660
|
"type": "boolean",
|
@@ -10603,61 +10662,49 @@
|
|
10603
10662
|
}
|
10604
10663
|
},
|
10605
10664
|
{
|
10606
|
-
"name": "
|
10607
|
-
"default": "
|
10608
|
-
"description": "
|
10665
|
+
"name": "sticky",
|
10666
|
+
"default": "`false`",
|
10667
|
+
"description": "Whether to use sticky mode",
|
10609
10668
|
"options": [],
|
10610
10669
|
"value": {
|
10611
|
-
"type": "
|
10670
|
+
"type": "boolean",
|
10612
10671
|
"kind": "expression"
|
10613
10672
|
}
|
10614
|
-
}
|
10615
|
-
]
|
10616
|
-
},
|
10617
|
-
{
|
10618
|
-
"name": "tabbar-item",
|
10619
|
-
"slots": [
|
10620
|
-
{
|
10621
|
-
"name": "icon",
|
10622
|
-
"description": "Custom icon"
|
10623
|
-
}
|
10624
|
-
],
|
10625
|
-
"events": [],
|
10626
|
-
"attributes": [
|
10673
|
+
},
|
10627
10674
|
{
|
10628
|
-
"name": "
|
10629
|
-
"default": "
|
10630
|
-
"description": "
|
10675
|
+
"name": "shrink",
|
10676
|
+
"default": "`false`",
|
10677
|
+
"description": "Whether to shrink the the tabs to the left",
|
10631
10678
|
"options": [],
|
10632
10679
|
"value": {
|
10633
|
-
"type": "
|
10680
|
+
"type": "boolean",
|
10634
10681
|
"kind": "expression"
|
10635
10682
|
}
|
10636
10683
|
},
|
10637
10684
|
{
|
10638
|
-
"name": "
|
10639
|
-
"default": "
|
10640
|
-
"description": "
|
10685
|
+
"name": "swipeable",
|
10686
|
+
"default": "`false`",
|
10687
|
+
"description": "Whether to enable gestures to slide left and right",
|
10641
10688
|
"options": [],
|
10642
10689
|
"value": {
|
10643
|
-
"type": "
|
10690
|
+
"type": "boolean",
|
10644
10691
|
"kind": "expression"
|
10645
10692
|
}
|
10646
10693
|
},
|
10647
10694
|
{
|
10648
|
-
"name": "
|
10649
|
-
"default": "`
|
10650
|
-
"description": "
|
10695
|
+
"name": "lazy-render",
|
10696
|
+
"default": "`true`",
|
10697
|
+
"description": "Whether to enable tab content lazy render",
|
10651
10698
|
"options": [],
|
10652
10699
|
"value": {
|
10653
|
-
"type": "
|
10700
|
+
"type": "boolean",
|
10654
10701
|
"kind": "expression"
|
10655
10702
|
}
|
10656
10703
|
},
|
10657
10704
|
{
|
10658
|
-
"name": "
|
10659
|
-
"default": "
|
10660
|
-
"description": "Whether to
|
10705
|
+
"name": "scrollspy",
|
10706
|
+
"default": "`false`",
|
10707
|
+
"description": "Whether to use scrollspy mode",
|
10661
10708
|
"options": [],
|
10662
10709
|
"value": {
|
10663
10710
|
"type": "boolean",
|
@@ -10665,9 +10712,9 @@
|
|
10665
10712
|
}
|
10666
10713
|
},
|
10667
10714
|
{
|
10668
|
-
"name": "
|
10669
|
-
"default": "`
|
10670
|
-
"description": "
|
10715
|
+
"name": "offset-top",
|
10716
|
+
"default": "`0`",
|
10717
|
+
"description": "Sticky offset top , supports `px` `vw` `vh` `rem` unit, default `px`",
|
10671
10718
|
"options": [],
|
10672
10719
|
"value": {
|
10673
10720
|
"type": "number | string",
|
@@ -10675,19 +10722,19 @@
|
|
10675
10722
|
}
|
10676
10723
|
},
|
10677
10724
|
{
|
10678
|
-
"name": "
|
10679
|
-
"default": "
|
10680
|
-
"description": "
|
10725
|
+
"name": "swipe-threshold",
|
10726
|
+
"default": "`5`",
|
10727
|
+
"description": "Set swipe tabs threshold",
|
10681
10728
|
"options": [],
|
10682
10729
|
"value": {
|
10683
|
-
"type": "
|
10730
|
+
"type": "number | string",
|
10684
10731
|
"kind": "expression"
|
10685
10732
|
}
|
10686
10733
|
},
|
10687
10734
|
{
|
10688
|
-
"name": "
|
10735
|
+
"name": "title-active-color",
|
10689
10736
|
"default": "-",
|
10690
|
-
"description": "
|
10737
|
+
"description": "Title active color",
|
10691
10738
|
"options": [],
|
10692
10739
|
"value": {
|
10693
10740
|
"type": "string",
|
@@ -10695,76 +10742,55 @@
|
|
10695
10742
|
}
|
10696
10743
|
},
|
10697
10744
|
{
|
10698
|
-
"name": "
|
10745
|
+
"name": "title-inactive-color",
|
10699
10746
|
"default": "-",
|
10700
|
-
"description": "
|
10747
|
+
"description": "Title inactive color",
|
10701
10748
|
"options": [],
|
10702
10749
|
"value": {
|
10703
|
-
"type": "string
|
10750
|
+
"type": "string",
|
10704
10751
|
"kind": "expression"
|
10705
10752
|
}
|
10706
10753
|
},
|
10707
10754
|
{
|
10708
|
-
"name": "
|
10709
|
-
"default": "
|
10710
|
-
"description": "
|
10755
|
+
"name": "before-change",
|
10756
|
+
"default": "-",
|
10757
|
+
"description": "Callback function before changing tabs, return `false` to prevent change, support return Promise",
|
10711
10758
|
"options": [],
|
10712
10759
|
"value": {
|
10713
|
-
"type": "boolean",
|
10760
|
+
"type": "(name: number | string) => boolean | Promise\\<boolean\\>",
|
10714
10761
|
"kind": "expression"
|
10715
10762
|
}
|
10716
10763
|
}
|
10717
10764
|
]
|
10718
10765
|
},
|
10719
10766
|
{
|
10720
|
-
"name": "
|
10767
|
+
"name": "tab",
|
10721
10768
|
"slots": [
|
10722
10769
|
{
|
10723
|
-
"name": "
|
10724
|
-
"description": "
|
10725
|
-
},
|
10726
|
-
{
|
10727
|
-
"name": "background",
|
10728
|
-
"description": "Custom the background of switch"
|
10729
|
-
}
|
10730
|
-
],
|
10731
|
-
"events": [
|
10732
|
-
{
|
10733
|
-
"name": "change",
|
10734
|
-
"description": "Emitted when check status changed",
|
10735
|
-
"arguments": [
|
10736
|
-
{
|
10737
|
-
"name": "value",
|
10738
|
-
"type": "any"
|
10739
|
-
}
|
10740
|
-
]
|
10770
|
+
"name": "default",
|
10771
|
+
"description": "Content of tab"
|
10741
10772
|
},
|
10742
10773
|
{
|
10743
|
-
"name": "
|
10744
|
-
"description": "
|
10745
|
-
"arguments": [
|
10746
|
-
{
|
10747
|
-
"name": "event",
|
10748
|
-
"type": "MouseEvent"
|
10749
|
-
}
|
10750
|
-
]
|
10774
|
+
"name": "title",
|
10775
|
+
"description": "Custom tab title"
|
10751
10776
|
}
|
10752
10777
|
],
|
10778
|
+
"events": [],
|
10753
10779
|
"attributes": [
|
10754
10780
|
{
|
10755
|
-
"name": "
|
10756
|
-
"default": "
|
10757
|
-
"description": "
|
10781
|
+
"name": "title",
|
10782
|
+
"default": "-",
|
10783
|
+
"description": "Title",
|
10758
10784
|
"options": [],
|
10759
10785
|
"value": {
|
10760
|
-
"type": "
|
10786
|
+
"type": "string",
|
10761
10787
|
"kind": "expression"
|
10762
10788
|
}
|
10763
10789
|
},
|
10764
10790
|
{
|
10765
|
-
"name": "
|
10791
|
+
"name": "disabled",
|
10766
10792
|
"default": "`false`",
|
10767
|
-
"description": "Whether to
|
10793
|
+
"description": "Whether to disable tab",
|
10768
10794
|
"options": [],
|
10769
10795
|
"value": {
|
10770
10796
|
"type": "boolean",
|
@@ -10772,9 +10798,9 @@
|
|
10772
10798
|
}
|
10773
10799
|
},
|
10774
10800
|
{
|
10775
|
-
"name": "
|
10801
|
+
"name": "dot",
|
10776
10802
|
"default": "`false`",
|
10777
|
-
"description": "Whether to
|
10803
|
+
"description": "Whether to show red dot on the title",
|
10778
10804
|
"options": [],
|
10779
10805
|
"value": {
|
10780
10806
|
"type": "boolean",
|
@@ -10782,9 +10808,9 @@
|
|
10782
10808
|
}
|
10783
10809
|
},
|
10784
10810
|
{
|
10785
|
-
"name": "
|
10786
|
-
"default": "
|
10787
|
-
"description": "
|
10811
|
+
"name": "badge",
|
10812
|
+
"default": "-",
|
10813
|
+
"description": "Content of the badge on the title",
|
10788
10814
|
"options": [],
|
10789
10815
|
"value": {
|
10790
10816
|
"type": "number | string",
|
@@ -10792,19 +10818,19 @@
|
|
10792
10818
|
}
|
10793
10819
|
},
|
10794
10820
|
{
|
10795
|
-
"name": "
|
10796
|
-
"default": "
|
10797
|
-
"description": "
|
10821
|
+
"name": "name",
|
10822
|
+
"default": "Index of tab",
|
10823
|
+
"description": "Identifier",
|
10798
10824
|
"options": [],
|
10799
10825
|
"value": {
|
10800
|
-
"type": "string",
|
10826
|
+
"type": "number | string",
|
10801
10827
|
"kind": "expression"
|
10802
10828
|
}
|
10803
10829
|
},
|
10804
10830
|
{
|
10805
|
-
"name": "
|
10806
|
-
"default": "
|
10807
|
-
"description": "
|
10831
|
+
"name": "url",
|
10832
|
+
"default": "-",
|
10833
|
+
"description": "Link",
|
10808
10834
|
"options": [],
|
10809
10835
|
"value": {
|
10810
10836
|
"type": "string",
|
@@ -10812,186 +10838,204 @@
|
|
10812
10838
|
}
|
10813
10839
|
},
|
10814
10840
|
{
|
10815
|
-
"name": "
|
10816
|
-
"default": "
|
10817
|
-
"description": "
|
10841
|
+
"name": "to",
|
10842
|
+
"default": "-",
|
10843
|
+
"description": "Target route of the link, same as to of vue-router",
|
10818
10844
|
"options": [],
|
10819
10845
|
"value": {
|
10820
|
-
"type": "
|
10846
|
+
"type": "string | object",
|
10821
10847
|
"kind": "expression"
|
10822
10848
|
}
|
10823
10849
|
},
|
10824
10850
|
{
|
10825
|
-
"name": "
|
10851
|
+
"name": "replace",
|
10826
10852
|
"default": "`false`",
|
10827
|
-
"description": "
|
10853
|
+
"description": "If true, the navigation will not leave a history record",
|
10828
10854
|
"options": [],
|
10829
10855
|
"value": {
|
10830
|
-
"type": "
|
10856
|
+
"type": "boolean",
|
10857
|
+
"kind": "expression"
|
10858
|
+
}
|
10859
|
+
},
|
10860
|
+
{
|
10861
|
+
"name": "title-style",
|
10862
|
+
"default": "-",
|
10863
|
+
"description": "Custom title style",
|
10864
|
+
"options": [],
|
10865
|
+
"value": {
|
10866
|
+
"type": "string | Array | object",
|
10867
|
+
"kind": "expression"
|
10868
|
+
}
|
10869
|
+
},
|
10870
|
+
{
|
10871
|
+
"name": "title-class",
|
10872
|
+
"default": "-",
|
10873
|
+
"description": "Custom title class name",
|
10874
|
+
"options": [],
|
10875
|
+
"value": {
|
10876
|
+
"type": "string | Array | object",
|
10877
|
+
"kind": "expression"
|
10878
|
+
}
|
10879
|
+
},
|
10880
|
+
{
|
10881
|
+
"name": "show-zero-badge",
|
10882
|
+
"default": "`true`",
|
10883
|
+
"description": "Whether to show badge when the value is zero",
|
10884
|
+
"options": [],
|
10885
|
+
"value": {
|
10886
|
+
"type": "boolean",
|
10831
10887
|
"kind": "expression"
|
10832
10888
|
}
|
10833
10889
|
}
|
10834
10890
|
]
|
10835
10891
|
},
|
10836
10892
|
{
|
10837
|
-
"name": "
|
10893
|
+
"name": "switch",
|
10838
10894
|
"slots": [
|
10839
10895
|
{
|
10840
|
-
"name": "
|
10841
|
-
"description": "Custom
|
10842
|
-
},
|
10843
|
-
{
|
10844
|
-
"name": "nav-right",
|
10845
|
-
"description": "Custom nav right content"
|
10896
|
+
"name": "node",
|
10897
|
+
"description": "Custom the content of node"
|
10846
10898
|
},
|
10847
10899
|
{
|
10848
|
-
"name": "
|
10849
|
-
"description": "Custom
|
10900
|
+
"name": "background",
|
10901
|
+
"description": "Custom the background of switch"
|
10850
10902
|
}
|
10851
10903
|
],
|
10852
10904
|
"events": [
|
10853
|
-
{
|
10854
|
-
"name": "click-tab",
|
10855
|
-
"description": "Emitted when a tab is clicked",
|
10856
|
-
"arguments": [
|
10857
|
-
{
|
10858
|
-
"name": "{ name: string | number, title: string, event: MouseEvent, disabled: boolean }"
|
10859
|
-
}
|
10860
|
-
]
|
10861
|
-
},
|
10862
10905
|
{
|
10863
10906
|
"name": "change",
|
10864
|
-
"description": "Emitted when
|
10865
|
-
"arguments": [
|
10866
|
-
{
|
10867
|
-
"name": "name",
|
10868
|
-
"type": "string | number"
|
10869
|
-
},
|
10870
|
-
{
|
10871
|
-
"name": "title",
|
10872
|
-
"type": "string"
|
10873
|
-
}
|
10874
|
-
]
|
10875
|
-
},
|
10876
|
-
{
|
10877
|
-
"name": "rendered",
|
10878
|
-
"description": "Emitted when content first rendered in lazy-render mode",
|
10879
|
-
"arguments": [
|
10880
|
-
{
|
10881
|
-
"name": "name",
|
10882
|
-
"type": "string | number"
|
10883
|
-
},
|
10907
|
+
"description": "Emitted when check status changed",
|
10908
|
+
"arguments": [
|
10884
10909
|
{
|
10885
|
-
"name": "
|
10886
|
-
"type": "
|
10910
|
+
"name": "value",
|
10911
|
+
"type": "any"
|
10887
10912
|
}
|
10888
10913
|
]
|
10889
10914
|
},
|
10890
10915
|
{
|
10891
|
-
"name": "
|
10892
|
-
"description": "Emitted when
|
10916
|
+
"name": "click",
|
10917
|
+
"description": "Emitted when component is clicked",
|
10893
10918
|
"arguments": [
|
10894
10919
|
{
|
10895
|
-
"name": "
|
10920
|
+
"name": "event",
|
10921
|
+
"type": "MouseEvent"
|
10896
10922
|
}
|
10897
10923
|
]
|
10898
10924
|
}
|
10899
10925
|
],
|
10900
10926
|
"attributes": [
|
10901
10927
|
{
|
10902
|
-
"name": "v-model
|
10903
|
-
"default": "`
|
10904
|
-
"description": "
|
10928
|
+
"name": "v-model",
|
10929
|
+
"default": "`false`",
|
10930
|
+
"description": "Check status of Switch",
|
10905
10931
|
"options": [],
|
10906
10932
|
"value": {
|
10907
|
-
"type": "
|
10933
|
+
"type": "ActiveValue | InactiveValue",
|
10908
10934
|
"kind": "expression"
|
10909
10935
|
}
|
10910
10936
|
},
|
10911
10937
|
{
|
10912
|
-
"name": "
|
10913
|
-
"default": "`
|
10914
|
-
"description": "
|
10938
|
+
"name": "loading",
|
10939
|
+
"default": "`false`",
|
10940
|
+
"description": "Whether to show loading icon",
|
10915
10941
|
"options": [],
|
10916
10942
|
"value": {
|
10917
|
-
"type": "
|
10943
|
+
"type": "boolean",
|
10918
10944
|
"kind": "expression"
|
10919
10945
|
}
|
10920
10946
|
},
|
10921
10947
|
{
|
10922
|
-
"name": "
|
10923
|
-
"default": "
|
10924
|
-
"description": "
|
10948
|
+
"name": "disabled",
|
10949
|
+
"default": "`false`",
|
10950
|
+
"description": "Whether to disable switch",
|
10925
10951
|
"options": [],
|
10926
10952
|
"value": {
|
10927
|
-
"type": "
|
10953
|
+
"type": "boolean",
|
10928
10954
|
"kind": "expression"
|
10929
10955
|
}
|
10930
10956
|
},
|
10931
10957
|
{
|
10932
|
-
"name": "
|
10933
|
-
"default": "`
|
10934
|
-
"description": "
|
10958
|
+
"name": "size",
|
10959
|
+
"default": "`30px`",
|
10960
|
+
"description": "Size of switch",
|
10935
10961
|
"options": [],
|
10936
10962
|
"value": {
|
10937
|
-
"type": "string",
|
10963
|
+
"type": "number | string",
|
10938
10964
|
"kind": "expression"
|
10939
10965
|
}
|
10940
10966
|
},
|
10941
10967
|
{
|
10942
|
-
"name": "
|
10943
|
-
"default": "`
|
10944
|
-
"description": "
|
10968
|
+
"name": "active-color",
|
10969
|
+
"default": "`#1989fa`",
|
10970
|
+
"description": "Background color when active",
|
10945
10971
|
"options": [],
|
10946
10972
|
"value": {
|
10947
|
-
"type": "
|
10973
|
+
"type": "string",
|
10948
10974
|
"kind": "expression"
|
10949
10975
|
}
|
10950
10976
|
},
|
10951
10977
|
{
|
10952
|
-
"name": "
|
10953
|
-
"default": "`
|
10954
|
-
"description": "
|
10978
|
+
"name": "inactive-color",
|
10979
|
+
"default": "`white`",
|
10980
|
+
"description": "Background color when inactive",
|
10955
10981
|
"options": [],
|
10956
10982
|
"value": {
|
10957
|
-
"type": "
|
10983
|
+
"type": "string",
|
10958
10984
|
"kind": "expression"
|
10959
10985
|
}
|
10960
10986
|
},
|
10961
10987
|
{
|
10962
|
-
"name": "
|
10963
|
-
"default": "`
|
10964
|
-
"description": "
|
10988
|
+
"name": "active-value",
|
10989
|
+
"default": "`true`",
|
10990
|
+
"description": "Value when active",
|
10965
10991
|
"options": [],
|
10966
10992
|
"value": {
|
10967
|
-
"type": "
|
10993
|
+
"type": "any",
|
10968
10994
|
"kind": "expression"
|
10969
10995
|
}
|
10970
10996
|
},
|
10971
10997
|
{
|
10972
|
-
"name": "
|
10998
|
+
"name": "inactive-value",
|
10973
10999
|
"default": "`false`",
|
10974
|
-
"description": "
|
11000
|
+
"description": "Value when inactive",
|
10975
11001
|
"options": [],
|
10976
11002
|
"value": {
|
10977
|
-
"type": "
|
11003
|
+
"type": "any",
|
10978
11004
|
"kind": "expression"
|
10979
11005
|
}
|
10980
|
-
}
|
11006
|
+
}
|
11007
|
+
]
|
11008
|
+
},
|
11009
|
+
{
|
11010
|
+
"name": "tabbar",
|
11011
|
+
"slots": [],
|
11012
|
+
"events": [
|
10981
11013
|
{
|
10982
|
-
"name": "
|
10983
|
-
"
|
10984
|
-
"
|
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",
|
10985
11029
|
"options": [],
|
10986
11030
|
"value": {
|
10987
|
-
"type": "
|
11031
|
+
"type": "number | string",
|
10988
11032
|
"kind": "expression"
|
10989
11033
|
}
|
10990
11034
|
},
|
10991
11035
|
{
|
10992
|
-
"name": "
|
11036
|
+
"name": "fixed",
|
10993
11037
|
"default": "`true`",
|
10994
|
-
"description": "Whether to
|
11038
|
+
"description": "Whether to fixed bottom",
|
10995
11039
|
"options": [],
|
10996
11040
|
"value": {
|
10997
11041
|
"type": "boolean",
|
@@ -10999,9 +11043,9 @@
|
|
10999
11043
|
}
|
11000
11044
|
},
|
11001
11045
|
{
|
11002
|
-
"name": "
|
11003
|
-
"default": "`
|
11004
|
-
"description": "Whether to
|
11046
|
+
"name": "border",
|
11047
|
+
"default": "`true`",
|
11048
|
+
"description": "Whether to show border",
|
11005
11049
|
"options": [],
|
11006
11050
|
"value": {
|
11007
11051
|
"type": "boolean",
|
@@ -11009,39 +11053,39 @@
|
|
11009
11053
|
}
|
11010
11054
|
},
|
11011
11055
|
{
|
11012
|
-
"name": "
|
11013
|
-
"default": "`
|
11014
|
-
"description": "
|
11056
|
+
"name": "z-index",
|
11057
|
+
"default": "`1`",
|
11058
|
+
"description": "Z-index",
|
11015
11059
|
"options": [],
|
11016
11060
|
"value": {
|
11017
|
-
"type": "
|
11061
|
+
"type": "number | string",
|
11018
11062
|
"kind": "expression"
|
11019
11063
|
}
|
11020
11064
|
},
|
11021
11065
|
{
|
11022
|
-
"name": "
|
11023
|
-
"default": "`
|
11024
|
-
"description": "
|
11066
|
+
"name": "active-color",
|
11067
|
+
"default": "`#1989fa`",
|
11068
|
+
"description": "Color of active tab item",
|
11025
11069
|
"options": [],
|
11026
11070
|
"value": {
|
11027
|
-
"type": "
|
11071
|
+
"type": "string",
|
11028
11072
|
"kind": "expression"
|
11029
11073
|
}
|
11030
11074
|
},
|
11031
11075
|
{
|
11032
|
-
"name": "
|
11033
|
-
"default": "`
|
11034
|
-
"description": "
|
11076
|
+
"name": "inactive-color",
|
11077
|
+
"default": "`#7d7e80`",
|
11078
|
+
"description": "Color of inactive tab item",
|
11035
11079
|
"options": [],
|
11036
11080
|
"value": {
|
11037
|
-
"type": "
|
11081
|
+
"type": "string",
|
11038
11082
|
"kind": "expression"
|
11039
11083
|
}
|
11040
11084
|
},
|
11041
11085
|
{
|
11042
|
-
"name": "
|
11086
|
+
"name": "route",
|
11043
11087
|
"default": "`false`",
|
11044
|
-
"description": "Whether to
|
11088
|
+
"description": "Whether to enable route mode",
|
11045
11089
|
"options": [],
|
11046
11090
|
"value": {
|
11047
11091
|
"type": "boolean",
|
@@ -11049,49 +11093,29 @@
|
|
11049
11093
|
}
|
11050
11094
|
},
|
11051
11095
|
{
|
11052
|
-
"name": "
|
11053
|
-
"default": "`
|
11054
|
-
"description": "
|
11055
|
-
"options": [],
|
11056
|
-
"value": {
|
11057
|
-
"type": "number | string",
|
11058
|
-
"kind": "expression"
|
11059
|
-
}
|
11060
|
-
},
|
11061
|
-
{
|
11062
|
-
"name": "swipe-threshold",
|
11063
|
-
"default": "`5`",
|
11064
|
-
"description": "Set swipe tabs threshold",
|
11065
|
-
"options": [],
|
11066
|
-
"value": {
|
11067
|
-
"type": "number | string",
|
11068
|
-
"kind": "expression"
|
11069
|
-
}
|
11070
|
-
},
|
11071
|
-
{
|
11072
|
-
"name": "title-active-color",
|
11073
|
-
"default": "-",
|
11074
|
-
"description": "Title active color",
|
11096
|
+
"name": "placeholder",
|
11097
|
+
"default": "`false`",
|
11098
|
+
"description": "Whether to generate a placeholder element when fixed",
|
11075
11099
|
"options": [],
|
11076
11100
|
"value": {
|
11077
|
-
"type": "
|
11101
|
+
"type": "boolean",
|
11078
11102
|
"kind": "expression"
|
11079
11103
|
}
|
11080
11104
|
},
|
11081
11105
|
{
|
11082
|
-
"name": "
|
11083
|
-
"default": "
|
11084
|
-
"description": "
|
11106
|
+
"name": "safe-area-inset-bottom",
|
11107
|
+
"default": "`false`",
|
11108
|
+
"description": "Whether to enable bottom safe area adaptation",
|
11085
11109
|
"options": [],
|
11086
11110
|
"value": {
|
11087
|
-
"type": "
|
11111
|
+
"type": "boolean",
|
11088
11112
|
"kind": "expression"
|
11089
11113
|
}
|
11090
11114
|
},
|
11091
11115
|
{
|
11092
11116
|
"name": "before-change",
|
11093
11117
|
"default": "-",
|
11094
|
-
"description": "Callback function before changing
|
11118
|
+
"description": "Callback function before changing tab, return `false` to prevent change, support return Promise",
|
11095
11119
|
"options": [],
|
11096
11120
|
"value": {
|
11097
11121
|
"type": "(name: number | string) => boolean | Promise\\<boolean\\>",
|
@@ -11101,23 +11125,29 @@
|
|
11101
11125
|
]
|
11102
11126
|
},
|
11103
11127
|
{
|
11104
|
-
"name": "
|
11128
|
+
"name": "tabbar-item",
|
11105
11129
|
"slots": [
|
11106
11130
|
{
|
11107
|
-
"name": "
|
11108
|
-
"description": "
|
11109
|
-
},
|
11110
|
-
{
|
11111
|
-
"name": "title",
|
11112
|
-
"description": "Custom tab title"
|
11131
|
+
"name": "icon",
|
11132
|
+
"description": "Custom icon"
|
11113
11133
|
}
|
11114
11134
|
],
|
11115
11135
|
"events": [],
|
11116
11136
|
"attributes": [
|
11117
11137
|
{
|
11118
|
-
"name": "
|
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",
|
11119
11149
|
"default": "-",
|
11120
|
-
"description": "
|
11150
|
+
"description": "Icon name",
|
11121
11151
|
"options": [],
|
11122
11152
|
"value": {
|
11123
11153
|
"type": "string",
|
@@ -11125,19 +11155,19 @@
|
|
11125
11155
|
}
|
11126
11156
|
},
|
11127
11157
|
{
|
11128
|
-
"name": "
|
11129
|
-
"default": "`
|
11130
|
-
"description": "
|
11158
|
+
"name": "icon-prefix",
|
11159
|
+
"default": "`van-icon`",
|
11160
|
+
"description": "Icon className prefix",
|
11131
11161
|
"options": [],
|
11132
11162
|
"value": {
|
11133
|
-
"type": "
|
11163
|
+
"type": "string",
|
11134
11164
|
"kind": "expression"
|
11135
11165
|
}
|
11136
11166
|
},
|
11137
11167
|
{
|
11138
11168
|
"name": "dot",
|
11139
|
-
"default": "
|
11140
|
-
"description": "Whether to show red dot
|
11169
|
+
"default": "-",
|
11170
|
+
"description": "Whether to show red dot",
|
11141
11171
|
"options": [],
|
11142
11172
|
"value": {
|
11143
11173
|
"type": "boolean",
|
@@ -11146,8 +11176,8 @@
|
|
11146
11176
|
},
|
11147
11177
|
{
|
11148
11178
|
"name": "badge",
|
11149
|
-
"default": "
|
11150
|
-
"description": "Content of the badge
|
11179
|
+
"default": "`''`",
|
11180
|
+
"description": "Content of the badge",
|
11151
11181
|
"options": [],
|
11152
11182
|
"value": {
|
11153
11183
|
"type": "number | string",
|
@@ -11155,12 +11185,12 @@
|
|
11155
11185
|
}
|
11156
11186
|
},
|
11157
11187
|
{
|
11158
|
-
"name": "
|
11159
|
-
"default": "
|
11160
|
-
"description": "
|
11188
|
+
"name": "badge-props",
|
11189
|
+
"default": "-",
|
11190
|
+
"description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
|
11161
11191
|
"options": [],
|
11162
11192
|
"value": {
|
11163
|
-
"type": "
|
11193
|
+
"type": "BadgeProps",
|
11164
11194
|
"kind": "expression"
|
11165
11195
|
}
|
11166
11196
|
},
|
@@ -11193,36 +11223,6 @@
|
|
11193
11223
|
"type": "boolean",
|
11194
11224
|
"kind": "expression"
|
11195
11225
|
}
|
11196
|
-
},
|
11197
|
-
{
|
11198
|
-
"name": "title-style",
|
11199
|
-
"default": "-",
|
11200
|
-
"description": "Custom title style",
|
11201
|
-
"options": [],
|
11202
|
-
"value": {
|
11203
|
-
"type": "string | Array | object",
|
11204
|
-
"kind": "expression"
|
11205
|
-
}
|
11206
|
-
},
|
11207
|
-
{
|
11208
|
-
"name": "title-class",
|
11209
|
-
"default": "-",
|
11210
|
-
"description": "Custom title class name",
|
11211
|
-
"options": [],
|
11212
|
-
"value": {
|
11213
|
-
"type": "string | Array | object",
|
11214
|
-
"kind": "expression"
|
11215
|
-
}
|
11216
|
-
},
|
11217
|
-
{
|
11218
|
-
"name": "show-zero-badge",
|
11219
|
-
"default": "`true`",
|
11220
|
-
"description": "Whether to show badge when the value is zero",
|
11221
|
-
"options": [],
|
11222
|
-
"value": {
|
11223
|
-
"type": "boolean",
|
11224
|
-
"kind": "expression"
|
11225
|
-
}
|
11226
11226
|
}
|
11227
11227
|
]
|
11228
11228
|
},
|