vant 3.5.0 → 3.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +10 -0
- package/README.md +13 -13
- package/changelog.generated.md +67 -0
- package/es/action-bar/ActionBar.d.ts +4 -0
- package/es/action-bar/ActionBar.mjs +13 -2
- package/es/action-bar/index.d.ts +3 -0
- package/es/button/index.less +1 -1
- package/es/calendar/Calendar.mjs +6 -1
- package/es/calendar/types.d.ts +1 -0
- package/es/cell/Cell.d.ts +1 -1
- package/es/cell/index.d.ts +1 -1
- package/es/collapse/Collapse.d.ts +8 -1
- package/es/collapse/Collapse.mjs +28 -1
- package/es/collapse/index.d.ts +1 -1
- package/es/collapse-item/CollapseItem.d.ts +1 -1
- package/es/collapse-item/CollapseItem.mjs +3 -1
- package/es/collapse-item/index.d.ts +1 -1
- package/es/collapse-item/index.less +1 -1
- package/es/composables/use-height.d.ts +1 -1
- package/es/composables/use-height.mjs +6 -2
- package/es/composables/use-placeholder.mjs +1 -1
- package/es/dialog/Dialog.d.ts +1 -1
- package/es/field/Field.d.ts +4 -2
- package/es/field/Field.mjs +7 -1
- package/es/field/index.d.ts +4 -2
- package/es/field/index.less +1 -1
- package/es/grid-item/index.less +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/locale/index.d.ts +1 -1
- package/es/popover/Popover.mjs +17 -18
- package/es/popup/Popup.mjs +1 -1
- package/es/pull-refresh/PullRefresh.d.ts +2 -1
- package/es/pull-refresh/PullRefresh.mjs +5 -1
- package/es/pull-refresh/index.d.ts +2 -1
- package/es/sidebar-item/index.less +1 -1
- package/es/submit-bar/SubmitBar.d.ts +4 -0
- package/es/submit-bar/SubmitBar.mjs +13 -2
- package/es/submit-bar/index.d.ts +3 -0
- package/es/swipe/index.less +1 -1
- package/es/switch/index.less +1 -1
- package/es/toast/function-call.d.ts +5 -6
- package/es/toast/index.less +1 -1
- package/es/toast/types.d.ts +10 -1
- package/es/uploader/Uploader.d.ts +3 -3
- package/es/uploader/Uploader.mjs +1 -1
- package/es/uploader/index.d.ts +2 -2
- package/es/utils/basic.d.ts +3 -3
- package/es/utils/create.d.ts +1 -1
- package/lib/.DS_Store +0 -0
- package/lib/action-bar/.DS_Store +0 -0
- package/lib/action-bar/ActionBar.d.ts +4 -0
- package/lib/action-bar/ActionBar.js +12 -1
- package/lib/action-bar/index.d.ts +3 -0
- package/lib/action-bar-button/.DS_Store +0 -0
- package/lib/action-bar-icon/.DS_Store +0 -0
- package/lib/action-sheet/.DS_Store +0 -0
- package/lib/address-edit/.DS_Store +0 -0
- package/lib/address-list/.DS_Store +0 -0
- package/lib/area/.DS_Store +0 -0
- package/lib/badge/.DS_Store +0 -0
- package/lib/button/.DS_Store +0 -0
- package/lib/button/index.less +1 -1
- package/lib/calendar/.DS_Store +0 -0
- package/lib/calendar/Calendar.js +6 -1
- package/lib/calendar/types.d.ts +1 -0
- package/lib/card/.DS_Store +0 -0
- package/lib/cascader/.DS_Store +0 -0
- package/lib/cell/.DS_Store +0 -0
- package/lib/cell/Cell.d.ts +1 -1
- package/lib/cell/index.d.ts +1 -1
- package/lib/cell-group/.DS_Store +0 -0
- package/lib/checkbox/.DS_Store +0 -0
- package/lib/checkbox-group/.DS_Store +0 -0
- package/lib/circle/.DS_Store +0 -0
- package/lib/col/.DS_Store +0 -0
- package/lib/collapse/.DS_Store +0 -0
- package/lib/collapse/Collapse.d.ts +8 -1
- package/lib/collapse/Collapse.js +28 -1
- package/lib/collapse/index.d.ts +1 -1
- package/lib/collapse-item/.DS_Store +0 -0
- package/lib/collapse-item/CollapseItem.d.ts +1 -1
- package/lib/collapse-item/CollapseItem.js +3 -1
- package/lib/collapse-item/index.d.ts +1 -1
- package/lib/collapse-item/index.less +1 -1
- package/lib/composables/use-height.d.ts +1 -1
- package/lib/composables/use-height.js +6 -2
- package/lib/composables/use-placeholder.js +1 -1
- package/lib/config-provider/.DS_Store +0 -0
- package/lib/contact-card/.DS_Store +0 -0
- package/lib/contact-edit/.DS_Store +0 -0
- package/lib/contact-list/.DS_Store +0 -0
- package/lib/count-down/.DS_Store +0 -0
- package/lib/coupon/.DS_Store +0 -0
- package/lib/coupon-cell/.DS_Store +0 -0
- package/lib/coupon-list/.DS_Store +0 -0
- package/lib/datetime-picker/.DS_Store +0 -0
- package/lib/dialog/.DS_Store +0 -0
- package/lib/dialog/Dialog.d.ts +1 -1
- package/lib/divider/.DS_Store +0 -0
- package/lib/dropdown-item/.DS_Store +0 -0
- package/lib/dropdown-menu/.DS_Store +0 -0
- package/lib/empty/.DS_Store +0 -0
- package/lib/field/.DS_Store +0 -0
- package/lib/field/Field.d.ts +4 -2
- package/lib/field/Field.js +7 -1
- package/lib/field/index.d.ts +4 -2
- package/lib/field/index.less +1 -1
- package/lib/form/.DS_Store +0 -0
- package/lib/grid/.DS_Store +0 -0
- package/lib/grid-item/.DS_Store +0 -0
- package/lib/grid-item/index.less +1 -1
- package/lib/icon/.DS_Store +0 -0
- package/lib/image/.DS_Store +0 -0
- package/lib/image-preview/.DS_Store +0 -0
- package/lib/index-anchor/.DS_Store +0 -0
- package/lib/index-bar/.DS_Store +0 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/lazyload/.DS_Store +0 -0
- package/lib/list/.DS_Store +0 -0
- package/lib/loading/.DS_Store +0 -0
- package/lib/locale/.DS_Store +0 -0
- package/lib/locale/index.d.ts +1 -1
- package/lib/nav-bar/.DS_Store +0 -0
- package/lib/notice-bar/.DS_Store +0 -0
- package/lib/notify/.DS_Store +0 -0
- package/lib/number-keyboard/.DS_Store +0 -0
- package/lib/overlay/.DS_Store +0 -0
- package/lib/pagination/.DS_Store +0 -0
- package/lib/password-input/.DS_Store +0 -0
- package/lib/picker/.DS_Store +0 -0
- package/lib/popover/.DS_Store +0 -0
- package/lib/popover/Popover.js +17 -18
- package/lib/popup/.DS_Store +0 -0
- package/lib/popup/Popup.js +1 -1
- package/lib/progress/.DS_Store +0 -0
- package/lib/pull-refresh/.DS_Store +0 -0
- package/lib/pull-refresh/PullRefresh.d.ts +2 -1
- package/lib/pull-refresh/PullRefresh.js +5 -1
- package/lib/pull-refresh/index.d.ts +2 -1
- package/lib/radio/.DS_Store +0 -0
- package/lib/radio-group/.DS_Store +0 -0
- package/lib/rate/.DS_Store +0 -0
- package/lib/row/.DS_Store +0 -0
- package/lib/search/.DS_Store +0 -0
- package/lib/share-sheet/.DS_Store +0 -0
- package/lib/sidebar/.DS_Store +0 -0
- package/lib/sidebar-item/.DS_Store +0 -0
- package/lib/sidebar-item/index.less +1 -1
- package/lib/skeleton/.DS_Store +0 -0
- package/lib/slider/.DS_Store +0 -0
- package/lib/step/.DS_Store +0 -0
- package/lib/stepper/.DS_Store +0 -0
- package/lib/steps/.DS_Store +0 -0
- package/lib/sticky/.DS_Store +0 -0
- package/lib/submit-bar/.DS_Store +0 -0
- package/lib/submit-bar/SubmitBar.d.ts +4 -0
- package/lib/submit-bar/SubmitBar.js +12 -1
- package/lib/submit-bar/index.d.ts +3 -0
- package/lib/swipe/.DS_Store +0 -0
- package/lib/swipe/index.less +1 -1
- package/lib/swipe-cell/.DS_Store +0 -0
- package/lib/swipe-item/.DS_Store +0 -0
- package/lib/switch/.DS_Store +0 -0
- package/lib/switch/index.less +1 -1
- package/lib/tab/.DS_Store +0 -0
- package/lib/tabbar/.DS_Store +0 -0
- package/lib/tabbar-item/.DS_Store +0 -0
- package/lib/tabs/.DS_Store +0 -0
- package/lib/tag/.DS_Store +0 -0
- package/lib/toast/.DS_Store +0 -0
- package/lib/toast/function-call.d.ts +5 -6
- package/lib/toast/index.less +1 -1
- package/lib/toast/types.d.ts +10 -1
- package/lib/tree-select/.DS_Store +0 -0
- package/lib/uploader/.DS_Store +0 -0
- package/lib/uploader/Uploader.d.ts +3 -3
- package/lib/uploader/Uploader.js +1 -1
- package/lib/uploader/index.d.ts +2 -2
- package/lib/utils/basic.d.ts +3 -3
- package/lib/utils/create.d.ts +1 -1
- package/lib/vant.cjs.js +191 -52
- package/lib/vant.es.js +280 -51
- package/lib/vant.js +189 -50
- package/lib/vant.min.js +1 -1
- package/{vetur → lib}/web-types.json +1652 -1609
- package/package.json +9 -14
- package/lib/ssr.js +0 -7
- package/lib/ssr.mjs +0 -1
- package/lib/vant.cjs.min.js +0 -1
- package/lib/vant.es.min.js +0 -14660
- package/vetur/attributes.json +0 -3474
- package/vetur/tags.json +0 -1202
@@ -2,257 +2,12 @@
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
3
3
|
"framework": "vue",
|
4
4
|
"name": "vant",
|
5
|
-
"version": "3.5.
|
5
|
+
"version": "3.5.3",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
8
8
|
"tags": [
|
9
9
|
{
|
10
|
-
"name": "
|
11
|
-
"slots": [],
|
12
|
-
"events": [],
|
13
|
-
"attributes": [
|
14
|
-
{
|
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
|
-
}
|
23
|
-
}
|
24
|
-
]
|
25
|
-
},
|
26
|
-
{
|
27
|
-
"name": "van-action-bar-icon",
|
28
|
-
"slots": [
|
29
|
-
{
|
30
|
-
"name": "default",
|
31
|
-
"description": "Text"
|
32
|
-
},
|
33
|
-
{
|
34
|
-
"name": "icon",
|
35
|
-
"description": "Custom icon"
|
36
|
-
}
|
37
|
-
],
|
38
|
-
"events": [],
|
39
|
-
"attributes": [
|
40
|
-
{
|
41
|
-
"name": "text",
|
42
|
-
"default": "-",
|
43
|
-
"description": "Button text",
|
44
|
-
"options": [],
|
45
|
-
"value": {
|
46
|
-
"type": "string",
|
47
|
-
"kind": "expression"
|
48
|
-
}
|
49
|
-
},
|
50
|
-
{
|
51
|
-
"name": "icon",
|
52
|
-
"default": "-",
|
53
|
-
"description": "Icon",
|
54
|
-
"options": [],
|
55
|
-
"value": {
|
56
|
-
"type": "string",
|
57
|
-
"kind": "expression"
|
58
|
-
}
|
59
|
-
},
|
60
|
-
{
|
61
|
-
"name": "color",
|
62
|
-
"default": "`#323233`",
|
63
|
-
"description": "Icon color",
|
64
|
-
"options": [],
|
65
|
-
"value": {
|
66
|
-
"type": "string",
|
67
|
-
"kind": "expression"
|
68
|
-
}
|
69
|
-
},
|
70
|
-
{
|
71
|
-
"name": "icon-class",
|
72
|
-
"default": "`''`",
|
73
|
-
"description": "Icon class name",
|
74
|
-
"options": [],
|
75
|
-
"value": {
|
76
|
-
"type": "string | Array | object",
|
77
|
-
"kind": "expression"
|
78
|
-
}
|
79
|
-
},
|
80
|
-
{
|
81
|
-
"name": "icon-prefix",
|
82
|
-
"default": "`van-icon`",
|
83
|
-
"description": "Icon className prefix",
|
84
|
-
"options": [],
|
85
|
-
"value": {
|
86
|
-
"type": "string",
|
87
|
-
"kind": "expression"
|
88
|
-
}
|
89
|
-
},
|
90
|
-
{
|
91
|
-
"name": "dot",
|
92
|
-
"default": "-",
|
93
|
-
"description": "Whether to show red dot",
|
94
|
-
"options": [],
|
95
|
-
"value": {
|
96
|
-
"type": "boolean",
|
97
|
-
"kind": "expression"
|
98
|
-
}
|
99
|
-
},
|
100
|
-
{
|
101
|
-
"name": "badge",
|
102
|
-
"default": "-",
|
103
|
-
"description": "Content of the badge",
|
104
|
-
"options": [],
|
105
|
-
"value": {
|
106
|
-
"type": "number | string",
|
107
|
-
"kind": "expression"
|
108
|
-
}
|
109
|
-
},
|
110
|
-
{
|
111
|
-
"name": "badge-props",
|
112
|
-
"default": "-",
|
113
|
-
"description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
|
114
|
-
"options": [],
|
115
|
-
"value": {
|
116
|
-
"type": "BadgeProps",
|
117
|
-
"kind": "expression"
|
118
|
-
}
|
119
|
-
},
|
120
|
-
{
|
121
|
-
"name": "url",
|
122
|
-
"default": "-",
|
123
|
-
"description": "Link URL",
|
124
|
-
"options": [],
|
125
|
-
"value": {
|
126
|
-
"type": "string",
|
127
|
-
"kind": "expression"
|
128
|
-
}
|
129
|
-
},
|
130
|
-
{
|
131
|
-
"name": "to",
|
132
|
-
"default": "-",
|
133
|
-
"description": "Target route of the link, same as to of vue-router",
|
134
|
-
"options": [],
|
135
|
-
"value": {
|
136
|
-
"type": "string | object",
|
137
|
-
"kind": "expression"
|
138
|
-
}
|
139
|
-
},
|
140
|
-
{
|
141
|
-
"name": "replace",
|
142
|
-
"default": "`false`",
|
143
|
-
"description": "If true, the navigation will not leave a history record",
|
144
|
-
"options": [],
|
145
|
-
"value": {
|
146
|
-
"type": "boolean",
|
147
|
-
"kind": "expression"
|
148
|
-
}
|
149
|
-
}
|
150
|
-
]
|
151
|
-
},
|
152
|
-
{
|
153
|
-
"name": "van-action-bar-button",
|
154
|
-
"slots": [
|
155
|
-
{
|
156
|
-
"name": "default",
|
157
|
-
"description": "Button content"
|
158
|
-
}
|
159
|
-
],
|
160
|
-
"events": [],
|
161
|
-
"attributes": [
|
162
|
-
{
|
163
|
-
"name": "text",
|
164
|
-
"default": "-",
|
165
|
-
"description": "Button text",
|
166
|
-
"options": [],
|
167
|
-
"value": {
|
168
|
-
"type": "string",
|
169
|
-
"kind": "expression"
|
170
|
-
}
|
171
|
-
},
|
172
|
-
{
|
173
|
-
"name": "type",
|
174
|
-
"default": "`default`",
|
175
|
-
"description": "Button type, Can be set to `primary` `info` `warning` `danger`",
|
176
|
-
"options": [],
|
177
|
-
"value": {
|
178
|
-
"type": "string",
|
179
|
-
"kind": "expression"
|
180
|
-
}
|
181
|
-
},
|
182
|
-
{
|
183
|
-
"name": "color",
|
184
|
-
"default": "-",
|
185
|
-
"description": "Button color, support linear-gradient",
|
186
|
-
"options": [],
|
187
|
-
"value": {
|
188
|
-
"type": "string",
|
189
|
-
"kind": "expression"
|
190
|
-
}
|
191
|
-
},
|
192
|
-
{
|
193
|
-
"name": "icon",
|
194
|
-
"default": "-",
|
195
|
-
"description": "Left Icon",
|
196
|
-
"options": [],
|
197
|
-
"value": {
|
198
|
-
"type": "string",
|
199
|
-
"kind": "expression"
|
200
|
-
}
|
201
|
-
},
|
202
|
-
{
|
203
|
-
"name": "disabled",
|
204
|
-
"default": "`false`",
|
205
|
-
"description": "Whether to disable button",
|
206
|
-
"options": [],
|
207
|
-
"value": {
|
208
|
-
"type": "boolean",
|
209
|
-
"kind": "expression"
|
210
|
-
}
|
211
|
-
},
|
212
|
-
{
|
213
|
-
"name": "loading",
|
214
|
-
"default": "`false`",
|
215
|
-
"description": "Whether to show loading status",
|
216
|
-
"options": [],
|
217
|
-
"value": {
|
218
|
-
"type": "boolean",
|
219
|
-
"kind": "expression"
|
220
|
-
}
|
221
|
-
},
|
222
|
-
{
|
223
|
-
"name": "url",
|
224
|
-
"default": "-",
|
225
|
-
"description": "Link",
|
226
|
-
"options": [],
|
227
|
-
"value": {
|
228
|
-
"type": "string",
|
229
|
-
"kind": "expression"
|
230
|
-
}
|
231
|
-
},
|
232
|
-
{
|
233
|
-
"name": "to",
|
234
|
-
"default": "-",
|
235
|
-
"description": "Target route of the link, same as to of vue-router",
|
236
|
-
"options": [],
|
237
|
-
"value": {
|
238
|
-
"type": "string | object",
|
239
|
-
"kind": "expression"
|
240
|
-
}
|
241
|
-
},
|
242
|
-
{
|
243
|
-
"name": "replace",
|
244
|
-
"default": "`false`",
|
245
|
-
"description": "If true, the navigation will not leave a history record",
|
246
|
-
"options": [],
|
247
|
-
"value": {
|
248
|
-
"type": "boolean",
|
249
|
-
"kind": "expression"
|
250
|
-
}
|
251
|
-
}
|
252
|
-
]
|
253
|
-
},
|
254
|
-
{
|
255
|
-
"name": "van-address-edit",
|
10
|
+
"name": "address-edit",
|
256
11
|
"slots": [
|
257
12
|
{
|
258
13
|
"name": "default",
|
@@ -560,33 +315,38 @@
|
|
560
315
|
]
|
561
316
|
},
|
562
317
|
{
|
563
|
-
"name": "
|
318
|
+
"name": "address-list",
|
564
319
|
"slots": [
|
565
320
|
{
|
566
321
|
"name": "default",
|
567
|
-
"description": "Custom content"
|
322
|
+
"description": "Custom content after list"
|
568
323
|
},
|
569
324
|
{
|
570
|
-
"name": "
|
571
|
-
"description": "Custom
|
325
|
+
"name": "top",
|
326
|
+
"description": "Custom content before list"
|
572
327
|
},
|
573
328
|
{
|
574
|
-
"name": "
|
575
|
-
"description": "Custom
|
329
|
+
"name": "item-bottom",
|
330
|
+
"description": "Custom content after list item"
|
576
331
|
},
|
577
332
|
{
|
578
|
-
"name": "
|
579
|
-
"description": "Custom
|
333
|
+
"name": "tag",
|
334
|
+
"description": "Custom tag of list item"
|
580
335
|
}
|
581
336
|
],
|
582
337
|
"events": [
|
583
338
|
{
|
584
|
-
"name": "
|
585
|
-
"description": "Emitted when
|
339
|
+
"name": "add",
|
340
|
+
"description": "Emitted when the add button is clicked",
|
341
|
+
"arguments": []
|
342
|
+
},
|
343
|
+
{
|
344
|
+
"name": "edit",
|
345
|
+
"description": "Emitted when the edit icon of address is clicked",
|
586
346
|
"arguments": [
|
587
347
|
{
|
588
|
-
"name": "
|
589
|
-
"type": "
|
348
|
+
"name": "item",
|
349
|
+
"type": "Address"
|
590
350
|
},
|
591
351
|
{
|
592
352
|
"name": "index",
|
@@ -595,86 +355,97 @@
|
|
595
355
|
]
|
596
356
|
},
|
597
357
|
{
|
598
|
-
"name": "
|
599
|
-
"description": "Emitted when
|
600
|
-
"arguments": [
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
"arguments": []
|
358
|
+
"name": "select",
|
359
|
+
"description": "Emitted when an address is selected",
|
360
|
+
"arguments": [
|
361
|
+
{
|
362
|
+
"name": "item",
|
363
|
+
"type": "Address"
|
364
|
+
},
|
365
|
+
{
|
366
|
+
"name": "index",
|
367
|
+
"type": "number"
|
368
|
+
}
|
369
|
+
]
|
611
370
|
},
|
612
371
|
{
|
613
|
-
"name": "
|
614
|
-
"description": "Emitted when
|
615
|
-
"arguments": [
|
372
|
+
"name": "edit-disabled",
|
373
|
+
"description": "Emitted when the edit icon of disabled address is clicked",
|
374
|
+
"arguments": [
|
375
|
+
{
|
376
|
+
"name": "item",
|
377
|
+
"type": "Address"
|
378
|
+
},
|
379
|
+
{
|
380
|
+
"name": "index",
|
381
|
+
"type": "number"
|
382
|
+
}
|
383
|
+
]
|
616
384
|
},
|
617
385
|
{
|
618
|
-
"name": "
|
619
|
-
"description": "Emitted when
|
620
|
-
"arguments": [
|
386
|
+
"name": "select-disabled",
|
387
|
+
"description": "Emitted when a disabled address is selected",
|
388
|
+
"arguments": [
|
389
|
+
{
|
390
|
+
"name": "item",
|
391
|
+
"type": "Address"
|
392
|
+
},
|
393
|
+
{
|
394
|
+
"name": "index",
|
395
|
+
"type": "number"
|
396
|
+
}
|
397
|
+
]
|
621
398
|
},
|
622
399
|
{
|
623
|
-
"name": "click-
|
624
|
-
"description": "Emitted when
|
400
|
+
"name": "click-item",
|
401
|
+
"description": "Emitted when an address item is clicked",
|
625
402
|
"arguments": [
|
626
403
|
{
|
627
|
-
"name": "
|
628
|
-
"type": "
|
404
|
+
"name": "item",
|
405
|
+
"type": "Address"
|
406
|
+
},
|
407
|
+
{
|
408
|
+
"name": "index",
|
409
|
+
"type": "number"
|
629
410
|
}
|
630
411
|
]
|
631
412
|
}
|
632
413
|
],
|
633
414
|
"attributes": [
|
634
415
|
{
|
635
|
-
"name": "v-model
|
636
|
-
"default": "
|
637
|
-
"description": "
|
416
|
+
"name": "v-model",
|
417
|
+
"default": "-",
|
418
|
+
"description": "Id of chosen address",
|
638
419
|
"options": [],
|
639
420
|
"value": {
|
640
|
-
"type": "
|
421
|
+
"type": "string",
|
641
422
|
"kind": "expression"
|
642
423
|
}
|
643
424
|
},
|
644
425
|
{
|
645
|
-
"name": "
|
426
|
+
"name": "list",
|
646
427
|
"default": "`[]`",
|
647
|
-
"description": "
|
648
|
-
"options": [],
|
649
|
-
"value": {
|
650
|
-
"type": "ActionSheetAction[]",
|
651
|
-
"kind": "expression"
|
652
|
-
}
|
653
|
-
},
|
654
|
-
{
|
655
|
-
"name": "title",
|
656
|
-
"default": "-",
|
657
|
-
"description": "Title",
|
428
|
+
"description": "Address list",
|
658
429
|
"options": [],
|
659
430
|
"value": {
|
660
|
-
"type": "
|
431
|
+
"type": "Address[]",
|
661
432
|
"kind": "expression"
|
662
433
|
}
|
663
434
|
},
|
664
435
|
{
|
665
|
-
"name": "
|
666
|
-
"default": "
|
667
|
-
"description": "
|
436
|
+
"name": "disabled-list",
|
437
|
+
"default": "`[]`",
|
438
|
+
"description": "Disabled address list",
|
668
439
|
"options": [],
|
669
440
|
"value": {
|
670
|
-
"type": "
|
441
|
+
"type": "Address[]",
|
671
442
|
"kind": "expression"
|
672
443
|
}
|
673
444
|
},
|
674
445
|
{
|
675
|
-
"name": "
|
446
|
+
"name": "disabled-text",
|
676
447
|
"default": "-",
|
677
|
-
"description": "
|
448
|
+
"description": "Disabled text",
|
678
449
|
"options": [],
|
679
450
|
"value": {
|
680
451
|
"type": "string",
|
@@ -682,9 +453,9 @@
|
|
682
453
|
}
|
683
454
|
},
|
684
455
|
{
|
685
|
-
"name": "
|
456
|
+
"name": "switchable",
|
686
457
|
"default": "`true`",
|
687
|
-
"description": "Whether to
|
458
|
+
"description": "Whether to allow switch address",
|
688
459
|
"options": [],
|
689
460
|
"value": {
|
690
461
|
"type": "boolean",
|
@@ -692,9 +463,9 @@
|
|
692
463
|
}
|
693
464
|
},
|
694
465
|
{
|
695
|
-
"name": "
|
696
|
-
"default": "`
|
697
|
-
"description": "
|
466
|
+
"name": "add-button-text",
|
467
|
+
"default": "`Add new address`",
|
468
|
+
"description": "Add button text",
|
698
469
|
"options": [],
|
699
470
|
"value": {
|
700
471
|
"type": "string",
|
@@ -702,139 +473,19 @@
|
|
702
473
|
}
|
703
474
|
},
|
704
475
|
{
|
705
|
-
"name": "
|
706
|
-
"default": "`0.3`",
|
707
|
-
"description": "Transition duration, unit second",
|
708
|
-
"options": [],
|
709
|
-
"value": {
|
710
|
-
"type": "number | string",
|
711
|
-
"kind": "expression"
|
712
|
-
}
|
713
|
-
},
|
714
|
-
{
|
715
|
-
"name": "round",
|
716
|
-
"default": "`true`",
|
717
|
-
"description": "Whether to show round corner",
|
718
|
-
"options": [],
|
719
|
-
"value": {
|
720
|
-
"type": "boolean",
|
721
|
-
"kind": "expression"
|
722
|
-
}
|
723
|
-
},
|
724
|
-
{
|
725
|
-
"name": "overlay",
|
726
|
-
"default": "`true`",
|
727
|
-
"description": "Whether to show overlay",
|
728
|
-
"options": [],
|
729
|
-
"value": {
|
730
|
-
"type": "boolean",
|
731
|
-
"kind": "expression"
|
732
|
-
}
|
733
|
-
},
|
734
|
-
{
|
735
|
-
"name": "overlay-class",
|
736
|
-
"default": "-",
|
737
|
-
"description": "Custom overlay class",
|
738
|
-
"options": [],
|
739
|
-
"value": {
|
740
|
-
"type": "string | Array | object",
|
741
|
-
"kind": "expression"
|
742
|
-
}
|
743
|
-
},
|
744
|
-
{
|
745
|
-
"name": "overlay-style",
|
746
|
-
"default": "-",
|
747
|
-
"description": "Custom overlay style",
|
748
|
-
"options": [],
|
749
|
-
"value": {
|
750
|
-
"type": "object",
|
751
|
-
"kind": "expression"
|
752
|
-
}
|
753
|
-
},
|
754
|
-
{
|
755
|
-
"name": "lock-scroll",
|
756
|
-
"default": "`true`",
|
757
|
-
"description": "Whether to lock background scroll",
|
758
|
-
"options": [],
|
759
|
-
"value": {
|
760
|
-
"type": "boolean",
|
761
|
-
"kind": "expression"
|
762
|
-
}
|
763
|
-
},
|
764
|
-
{
|
765
|
-
"name": "lazy-render",
|
766
|
-
"default": "`true`",
|
767
|
-
"description": "Whether to lazy render util appeared",
|
768
|
-
"options": [],
|
769
|
-
"value": {
|
770
|
-
"type": "boolean",
|
771
|
-
"kind": "expression"
|
772
|
-
}
|
773
|
-
},
|
774
|
-
{
|
775
|
-
"name": "close-on-popstate",
|
776
|
-
"default": "`true`",
|
777
|
-
"description": "Whether to close when popstate",
|
778
|
-
"options": [],
|
779
|
-
"value": {
|
780
|
-
"type": "boolean",
|
781
|
-
"kind": "expression"
|
782
|
-
}
|
783
|
-
},
|
784
|
-
{
|
785
|
-
"name": "close-on-click-action",
|
786
|
-
"default": "`false`",
|
787
|
-
"description": "Whether to close when an action is clicked",
|
788
|
-
"options": [],
|
789
|
-
"value": {
|
790
|
-
"type": "boolean",
|
791
|
-
"kind": "expression"
|
792
|
-
}
|
793
|
-
},
|
794
|
-
{
|
795
|
-
"name": "close-on-click-overlay",
|
796
|
-
"default": "`true`",
|
797
|
-
"description": "Whether to close when overlay is clicked",
|
798
|
-
"options": [],
|
799
|
-
"value": {
|
800
|
-
"type": "boolean",
|
801
|
-
"kind": "expression"
|
802
|
-
}
|
803
|
-
},
|
804
|
-
{
|
805
|
-
"name": "safe-area-inset-bottom",
|
806
|
-
"default": "`true`",
|
807
|
-
"description": "Whether to enable bottom safe area adaptation",
|
808
|
-
"options": [],
|
809
|
-
"value": {
|
810
|
-
"type": "boolean",
|
811
|
-
"kind": "expression"
|
812
|
-
}
|
813
|
-
},
|
814
|
-
{
|
815
|
-
"name": "teleport",
|
816
|
-
"default": "-",
|
817
|
-
"description": "Specifies a target element where ActionSheet will be mounted",
|
818
|
-
"options": [],
|
819
|
-
"value": {
|
820
|
-
"type": "string | Element",
|
821
|
-
"kind": "expression"
|
822
|
-
}
|
823
|
-
},
|
824
|
-
{
|
825
|
-
"name": "before-close",
|
476
|
+
"name": "default-tag-text",
|
826
477
|
"default": "-",
|
827
|
-
"description": "
|
478
|
+
"description": "Default tag text",
|
828
479
|
"options": [],
|
829
480
|
"value": {
|
830
|
-
"type": "
|
481
|
+
"type": "string",
|
831
482
|
"kind": "expression"
|
832
483
|
}
|
833
484
|
}
|
834
485
|
]
|
835
486
|
},
|
836
487
|
{
|
837
|
-
"name": "
|
488
|
+
"name": "area",
|
838
489
|
"slots": [
|
839
490
|
{
|
840
491
|
"name": "toolbar",
|
@@ -1026,181 +677,11 @@
|
|
1026
677
|
]
|
1027
678
|
},
|
1028
679
|
{
|
1029
|
-
"name": "
|
680
|
+
"name": "badge",
|
1030
681
|
"slots": [
|
1031
682
|
{
|
1032
683
|
"name": "default",
|
1033
|
-
"description": "
|
1034
|
-
},
|
1035
|
-
{
|
1036
|
-
"name": "top",
|
1037
|
-
"description": "Custom content before list"
|
1038
|
-
},
|
1039
|
-
{
|
1040
|
-
"name": "item-bottom",
|
1041
|
-
"description": "Custom content after list item"
|
1042
|
-
},
|
1043
|
-
{
|
1044
|
-
"name": "tag",
|
1045
|
-
"description": "Custom tag of list item"
|
1046
|
-
}
|
1047
|
-
],
|
1048
|
-
"events": [
|
1049
|
-
{
|
1050
|
-
"name": "add",
|
1051
|
-
"description": "Emitted when the add button is clicked",
|
1052
|
-
"arguments": []
|
1053
|
-
},
|
1054
|
-
{
|
1055
|
-
"name": "edit",
|
1056
|
-
"description": "Emitted when the edit icon of address is clicked",
|
1057
|
-
"arguments": [
|
1058
|
-
{
|
1059
|
-
"name": "item",
|
1060
|
-
"type": "Address"
|
1061
|
-
},
|
1062
|
-
{
|
1063
|
-
"name": "index",
|
1064
|
-
"type": "number"
|
1065
|
-
}
|
1066
|
-
]
|
1067
|
-
},
|
1068
|
-
{
|
1069
|
-
"name": "select",
|
1070
|
-
"description": "Emitted when an address is selected",
|
1071
|
-
"arguments": [
|
1072
|
-
{
|
1073
|
-
"name": "item",
|
1074
|
-
"type": "Address"
|
1075
|
-
},
|
1076
|
-
{
|
1077
|
-
"name": "index",
|
1078
|
-
"type": "number"
|
1079
|
-
}
|
1080
|
-
]
|
1081
|
-
},
|
1082
|
-
{
|
1083
|
-
"name": "edit-disabled",
|
1084
|
-
"description": "Emitted when the edit icon of disabled address is clicked",
|
1085
|
-
"arguments": [
|
1086
|
-
{
|
1087
|
-
"name": "item",
|
1088
|
-
"type": "Address"
|
1089
|
-
},
|
1090
|
-
{
|
1091
|
-
"name": "index",
|
1092
|
-
"type": "number"
|
1093
|
-
}
|
1094
|
-
]
|
1095
|
-
},
|
1096
|
-
{
|
1097
|
-
"name": "select-disabled",
|
1098
|
-
"description": "Emitted when a disabled address is selected",
|
1099
|
-
"arguments": [
|
1100
|
-
{
|
1101
|
-
"name": "item",
|
1102
|
-
"type": "Address"
|
1103
|
-
},
|
1104
|
-
{
|
1105
|
-
"name": "index",
|
1106
|
-
"type": "number"
|
1107
|
-
}
|
1108
|
-
]
|
1109
|
-
},
|
1110
|
-
{
|
1111
|
-
"name": "click-item",
|
1112
|
-
"description": "Emitted when an address item is clicked",
|
1113
|
-
"arguments": [
|
1114
|
-
{
|
1115
|
-
"name": "item",
|
1116
|
-
"type": "Address"
|
1117
|
-
},
|
1118
|
-
{
|
1119
|
-
"name": "index",
|
1120
|
-
"type": "number"
|
1121
|
-
}
|
1122
|
-
]
|
1123
|
-
}
|
1124
|
-
],
|
1125
|
-
"attributes": [
|
1126
|
-
{
|
1127
|
-
"name": "v-model",
|
1128
|
-
"default": "-",
|
1129
|
-
"description": "Id of chosen address",
|
1130
|
-
"options": [],
|
1131
|
-
"value": {
|
1132
|
-
"type": "string",
|
1133
|
-
"kind": "expression"
|
1134
|
-
}
|
1135
|
-
},
|
1136
|
-
{
|
1137
|
-
"name": "list",
|
1138
|
-
"default": "`[]`",
|
1139
|
-
"description": "Address list",
|
1140
|
-
"options": [],
|
1141
|
-
"value": {
|
1142
|
-
"type": "Address[]",
|
1143
|
-
"kind": "expression"
|
1144
|
-
}
|
1145
|
-
},
|
1146
|
-
{
|
1147
|
-
"name": "disabled-list",
|
1148
|
-
"default": "`[]`",
|
1149
|
-
"description": "Disabled address list",
|
1150
|
-
"options": [],
|
1151
|
-
"value": {
|
1152
|
-
"type": "Address[]",
|
1153
|
-
"kind": "expression"
|
1154
|
-
}
|
1155
|
-
},
|
1156
|
-
{
|
1157
|
-
"name": "disabled-text",
|
1158
|
-
"default": "-",
|
1159
|
-
"description": "Disabled text",
|
1160
|
-
"options": [],
|
1161
|
-
"value": {
|
1162
|
-
"type": "string",
|
1163
|
-
"kind": "expression"
|
1164
|
-
}
|
1165
|
-
},
|
1166
|
-
{
|
1167
|
-
"name": "switchable",
|
1168
|
-
"default": "`true`",
|
1169
|
-
"description": "Whether to allow switch address",
|
1170
|
-
"options": [],
|
1171
|
-
"value": {
|
1172
|
-
"type": "boolean",
|
1173
|
-
"kind": "expression"
|
1174
|
-
}
|
1175
|
-
},
|
1176
|
-
{
|
1177
|
-
"name": "add-button-text",
|
1178
|
-
"default": "`Add new address`",
|
1179
|
-
"description": "Add button text",
|
1180
|
-
"options": [],
|
1181
|
-
"value": {
|
1182
|
-
"type": "string",
|
1183
|
-
"kind": "expression"
|
1184
|
-
}
|
1185
|
-
},
|
1186
|
-
{
|
1187
|
-
"name": "default-tag-text",
|
1188
|
-
"default": "-",
|
1189
|
-
"description": "Default tag text",
|
1190
|
-
"options": [],
|
1191
|
-
"value": {
|
1192
|
-
"type": "string",
|
1193
|
-
"kind": "expression"
|
1194
|
-
}
|
1195
|
-
}
|
1196
|
-
]
|
1197
|
-
},
|
1198
|
-
{
|
1199
|
-
"name": "van-badge",
|
1200
|
-
"slots": [
|
1201
|
-
{
|
1202
|
-
"name": "default",
|
1203
|
-
"description": "Default slot"
|
684
|
+
"description": "Default slot"
|
1204
685
|
},
|
1205
686
|
{
|
1206
687
|
"name": "content",
|
@@ -1282,7 +763,7 @@
|
|
1282
763
|
]
|
1283
764
|
},
|
1284
765
|
{
|
1285
|
-
"name": "
|
766
|
+
"name": "button",
|
1286
767
|
"slots": [
|
1287
768
|
{
|
1288
769
|
"name": "default",
|
@@ -1533,102 +1014,68 @@
|
|
1533
1014
|
]
|
1534
1015
|
},
|
1535
1016
|
{
|
1536
|
-
"name": "
|
1017
|
+
"name": "action-sheet",
|
1537
1018
|
"slots": [
|
1538
1019
|
{
|
1539
|
-
"name": "
|
1540
|
-
"description": "Custom
|
1541
|
-
},
|
1542
|
-
{
|
1543
|
-
"name": "subtitle",
|
1544
|
-
"description": "Custom subtitle"
|
1545
|
-
},
|
1546
|
-
{
|
1547
|
-
"name": "footer",
|
1548
|
-
"description": "Custom footer"
|
1020
|
+
"name": "default",
|
1021
|
+
"description": "Custom content"
|
1549
1022
|
},
|
1550
1023
|
{
|
1551
|
-
"name": "
|
1552
|
-
"description": "Custom
|
1024
|
+
"name": "description",
|
1025
|
+
"description": "Custom description above the options"
|
1553
1026
|
},
|
1554
1027
|
{
|
1555
|
-
"name": "
|
1556
|
-
"description": "Custom
|
1028
|
+
"name": "cancel",
|
1029
|
+
"description": "Custom the content of cancel button"
|
1557
1030
|
},
|
1558
1031
|
{
|
1559
|
-
"name": "
|
1560
|
-
"description": "Custom
|
1032
|
+
"name": "action",
|
1033
|
+
"description": "Custom the content of action"
|
1561
1034
|
}
|
1562
1035
|
],
|
1563
1036
|
"events": [
|
1564
1037
|
{
|
1565
1038
|
"name": "select",
|
1566
|
-
"description": "Emitted when
|
1039
|
+
"description": "Emitted when an option is clicked",
|
1567
1040
|
"arguments": [
|
1568
1041
|
{
|
1569
|
-
"name": "
|
1570
|
-
"type": "
|
1042
|
+
"name": "action",
|
1043
|
+
"type": "ActionSheetAction"
|
1044
|
+
},
|
1045
|
+
{
|
1046
|
+
"name": "index",
|
1047
|
+
"type": "number"
|
1571
1048
|
}
|
1572
1049
|
]
|
1573
1050
|
},
|
1574
1051
|
{
|
1575
|
-
"name": "
|
1576
|
-
"description": "Emitted
|
1577
|
-
"arguments": [
|
1578
|
-
{
|
1579
|
-
"name": "value",
|
1580
|
-
"type": "Date | Date[]"
|
1581
|
-
}
|
1582
|
-
]
|
1052
|
+
"name": "cancel",
|
1053
|
+
"description": "Emitted when the cancel button is clicked",
|
1054
|
+
"arguments": []
|
1583
1055
|
},
|
1584
1056
|
{
|
1585
1057
|
"name": "open",
|
1586
|
-
"description": "Emitted when opening
|
1058
|
+
"description": "Emitted when opening ActionSheet",
|
1587
1059
|
"arguments": []
|
1588
1060
|
},
|
1589
1061
|
{
|
1590
1062
|
"name": "close",
|
1591
|
-
"description": "Emitted when closing
|
1063
|
+
"description": "Emitted when closing ActionSheet",
|
1592
1064
|
"arguments": []
|
1593
1065
|
},
|
1594
1066
|
{
|
1595
1067
|
"name": "opened",
|
1596
|
-
"description": "Emitted when
|
1068
|
+
"description": "Emitted when ActionSheet is opened",
|
1597
1069
|
"arguments": []
|
1598
1070
|
},
|
1599
1071
|
{
|
1600
1072
|
"name": "closed",
|
1601
|
-
"description": "Emitted when
|
1602
|
-
"arguments": []
|
1603
|
-
},
|
1604
|
-
{
|
1605
|
-
"name": "unselect",
|
1606
|
-
"description": "Emitted when unselect date when type is multiple",
|
1607
|
-
"arguments": [
|
1608
|
-
{
|
1609
|
-
"name": "value",
|
1610
|
-
"type": "Date"
|
1611
|
-
}
|
1612
|
-
]
|
1613
|
-
},
|
1614
|
-
{
|
1615
|
-
"name": "month-show",
|
1616
|
-
"description": "Emitted when a month enters the visible area",
|
1617
|
-
"arguments": [
|
1618
|
-
{
|
1619
|
-
"name": "value",
|
1620
|
-
"type": "{ date: Date, title: string }"
|
1621
|
-
}
|
1622
|
-
]
|
1623
|
-
},
|
1624
|
-
{
|
1625
|
-
"name": "over-range",
|
1626
|
-
"description": "Emitted when exceeded max range",
|
1073
|
+
"description": "Emitted when ActionSheet is closed",
|
1627
1074
|
"arguments": []
|
1628
1075
|
},
|
1629
1076
|
{
|
1630
|
-
"name": "click-
|
1631
|
-
"description": "Emitted when
|
1077
|
+
"name": "click-overlay",
|
1078
|
+
"description": "Emitted when overlay is clicked",
|
1632
1079
|
"arguments": [
|
1633
1080
|
{
|
1634
1081
|
"name": "event",
|
@@ -1639,19 +1086,29 @@
|
|
1639
1086
|
],
|
1640
1087
|
"attributes": [
|
1641
1088
|
{
|
1642
|
-
"name": "
|
1643
|
-
"default": "`
|
1644
|
-
"description": "
|
1089
|
+
"name": "v-model:show",
|
1090
|
+
"default": "`false`",
|
1091
|
+
"description": "Whether to show ActionSheet",
|
1645
1092
|
"options": [],
|
1646
1093
|
"value": {
|
1647
|
-
"type": "
|
1094
|
+
"type": "boolean",
|
1095
|
+
"kind": "expression"
|
1096
|
+
}
|
1097
|
+
},
|
1098
|
+
{
|
1099
|
+
"name": "actions",
|
1100
|
+
"default": "`[]`",
|
1101
|
+
"description": "Options",
|
1102
|
+
"options": [],
|
1103
|
+
"value": {
|
1104
|
+
"type": "ActionSheetAction[]",
|
1648
1105
|
"kind": "expression"
|
1649
1106
|
}
|
1650
1107
|
},
|
1651
1108
|
{
|
1652
1109
|
"name": "title",
|
1653
|
-
"default": "
|
1654
|
-
"description": "Title
|
1110
|
+
"default": "-",
|
1111
|
+
"description": "Title",
|
1655
1112
|
"options": [],
|
1656
1113
|
"value": {
|
1657
1114
|
"type": "string",
|
@@ -1659,9 +1116,9 @@
|
|
1659
1116
|
}
|
1660
1117
|
},
|
1661
1118
|
{
|
1662
|
-
"name": "
|
1663
|
-
"default": "
|
1664
|
-
"description": "
|
1119
|
+
"name": "cancel-text",
|
1120
|
+
"default": "-",
|
1121
|
+
"description": "Text of cancel button",
|
1665
1122
|
"options": [],
|
1666
1123
|
"value": {
|
1667
1124
|
"type": "string",
|
@@ -1669,39 +1126,39 @@
|
|
1669
1126
|
}
|
1670
1127
|
},
|
1671
1128
|
{
|
1672
|
-
"name": "
|
1673
|
-
"default": "
|
1674
|
-
"description": "
|
1129
|
+
"name": "description",
|
1130
|
+
"default": "-",
|
1131
|
+
"description": "Description above the options",
|
1675
1132
|
"options": [],
|
1676
1133
|
"value": {
|
1677
|
-
"type": "
|
1134
|
+
"type": "string",
|
1678
1135
|
"kind": "expression"
|
1679
1136
|
}
|
1680
1137
|
},
|
1681
1138
|
{
|
1682
|
-
"name": "
|
1683
|
-
"default": "
|
1684
|
-
"description": "
|
1139
|
+
"name": "closeable",
|
1140
|
+
"default": "`true`",
|
1141
|
+
"description": "Whether to show close icon",
|
1685
1142
|
"options": [],
|
1686
1143
|
"value": {
|
1687
|
-
"type": "
|
1144
|
+
"type": "boolean",
|
1688
1145
|
"kind": "expression"
|
1689
1146
|
}
|
1690
1147
|
},
|
1691
1148
|
{
|
1692
|
-
"name": "
|
1693
|
-
"default": "
|
1694
|
-
"description": "
|
1149
|
+
"name": "close-icon",
|
1150
|
+
"default": "`cross`",
|
1151
|
+
"description": "Close icon name",
|
1695
1152
|
"options": [],
|
1696
1153
|
"value": {
|
1697
|
-
"type": "
|
1154
|
+
"type": "string",
|
1698
1155
|
"kind": "expression"
|
1699
1156
|
}
|
1700
1157
|
},
|
1701
1158
|
{
|
1702
|
-
"name": "
|
1703
|
-
"default": "`
|
1704
|
-
"description": "
|
1159
|
+
"name": "duration",
|
1160
|
+
"default": "`0.3`",
|
1161
|
+
"description": "Transition duration, unit second",
|
1705
1162
|
"options": [],
|
1706
1163
|
"value": {
|
1707
1164
|
"type": "number | string",
|
@@ -1709,19 +1166,19 @@
|
|
1709
1166
|
}
|
1710
1167
|
},
|
1711
1168
|
{
|
1712
|
-
"name": "
|
1713
|
-
"default": "
|
1714
|
-
"description": "
|
1169
|
+
"name": "round",
|
1170
|
+
"default": "`true`",
|
1171
|
+
"description": "Whether to show round corner",
|
1715
1172
|
"options": [],
|
1716
1173
|
"value": {
|
1717
|
-
"type": "
|
1174
|
+
"type": "boolean",
|
1718
1175
|
"kind": "expression"
|
1719
1176
|
}
|
1720
1177
|
},
|
1721
1178
|
{
|
1722
|
-
"name": "
|
1179
|
+
"name": "overlay",
|
1723
1180
|
"default": "`true`",
|
1724
|
-
"description": "Whether to show
|
1181
|
+
"description": "Whether to show overlay",
|
1725
1182
|
"options": [],
|
1726
1183
|
"value": {
|
1727
1184
|
"type": "boolean",
|
@@ -1729,29 +1186,29 @@
|
|
1729
1186
|
}
|
1730
1187
|
},
|
1731
1188
|
{
|
1732
|
-
"name": "
|
1733
|
-
"default": "
|
1734
|
-
"description": "
|
1189
|
+
"name": "overlay-class",
|
1190
|
+
"default": "-",
|
1191
|
+
"description": "Custom overlay class",
|
1735
1192
|
"options": [],
|
1736
1193
|
"value": {
|
1737
|
-
"type": "
|
1194
|
+
"type": "string | Array | object",
|
1738
1195
|
"kind": "expression"
|
1739
1196
|
}
|
1740
1197
|
},
|
1741
1198
|
{
|
1742
|
-
"name": "
|
1743
|
-
"default": "
|
1744
|
-
"description": "
|
1199
|
+
"name": "overlay-style",
|
1200
|
+
"default": "-",
|
1201
|
+
"description": "Custom overlay style",
|
1745
1202
|
"options": [],
|
1746
1203
|
"value": {
|
1747
|
-
"type": "
|
1204
|
+
"type": "object",
|
1748
1205
|
"kind": "expression"
|
1749
1206
|
}
|
1750
1207
|
},
|
1751
1208
|
{
|
1752
|
-
"name": "
|
1209
|
+
"name": "lock-scroll",
|
1753
1210
|
"default": "`true`",
|
1754
|
-
"description": "Whether to
|
1211
|
+
"description": "Whether to lock background scroll",
|
1755
1212
|
"options": [],
|
1756
1213
|
"value": {
|
1757
1214
|
"type": "boolean",
|
@@ -1759,9 +1216,9 @@
|
|
1759
1216
|
}
|
1760
1217
|
},
|
1761
1218
|
{
|
1762
|
-
"name": "
|
1219
|
+
"name": "lazy-render",
|
1763
1220
|
"default": "`true`",
|
1764
|
-
"description": "Whether to
|
1221
|
+
"description": "Whether to lazy render util appeared",
|
1765
1222
|
"options": [],
|
1766
1223
|
"value": {
|
1767
1224
|
"type": "boolean",
|
@@ -1769,9 +1226,9 @@
|
|
1769
1226
|
}
|
1770
1227
|
},
|
1771
1228
|
{
|
1772
|
-
"name": "
|
1229
|
+
"name": "close-on-popstate",
|
1773
1230
|
"default": "`true`",
|
1774
|
-
"description": "Whether to
|
1231
|
+
"description": "Whether to close when popstate",
|
1775
1232
|
"options": [],
|
1776
1233
|
"value": {
|
1777
1234
|
"type": "boolean",
|
@@ -1779,9 +1236,9 @@
|
|
1779
1236
|
}
|
1780
1237
|
},
|
1781
1238
|
{
|
1782
|
-
"name": "
|
1239
|
+
"name": "close-on-click-action",
|
1783
1240
|
"default": "`false`",
|
1784
|
-
"description": "Whether to
|
1241
|
+
"description": "Whether to close when an action is clicked",
|
1785
1242
|
"options": [],
|
1786
1243
|
"value": {
|
1787
1244
|
"type": "boolean",
|
@@ -1789,186 +1246,739 @@
|
|
1789
1246
|
}
|
1790
1247
|
},
|
1791
1248
|
{
|
1792
|
-
"name": "
|
1793
|
-
"default": "`
|
1794
|
-
"description": "
|
1249
|
+
"name": "close-on-click-overlay",
|
1250
|
+
"default": "`true`",
|
1251
|
+
"description": "Whether to close when overlay is clicked",
|
1795
1252
|
"options": [],
|
1796
1253
|
"value": {
|
1797
|
-
"type": "
|
1254
|
+
"type": "boolean",
|
1798
1255
|
"kind": "expression"
|
1799
1256
|
}
|
1800
1257
|
},
|
1801
1258
|
{
|
1802
|
-
"name": "
|
1803
|
-
"default": "`
|
1804
|
-
"description": "
|
1259
|
+
"name": "safe-area-inset-bottom",
|
1260
|
+
"default": "`true`",
|
1261
|
+
"description": "Whether to enable bottom safe area adaptation",
|
1805
1262
|
"options": [],
|
1806
1263
|
"value": {
|
1807
|
-
"type": "
|
1264
|
+
"type": "boolean",
|
1808
1265
|
"kind": "expression"
|
1809
1266
|
}
|
1810
1267
|
},
|
1811
1268
|
{
|
1812
|
-
"name": "
|
1813
|
-
"default": "
|
1814
|
-
"description": "
|
1269
|
+
"name": "teleport",
|
1270
|
+
"default": "-",
|
1271
|
+
"description": "Specifies a target element where ActionSheet will be mounted",
|
1815
1272
|
"options": [],
|
1816
1273
|
"value": {
|
1817
|
-
"type": "
|
1274
|
+
"type": "string | Element",
|
1818
1275
|
"kind": "expression"
|
1819
1276
|
}
|
1820
1277
|
},
|
1821
1278
|
{
|
1822
|
-
"name": "
|
1823
|
-
"default": "
|
1824
|
-
"description": "
|
1279
|
+
"name": "before-close",
|
1280
|
+
"default": "-",
|
1281
|
+
"description": "Callback function before close",
|
1825
1282
|
"options": [],
|
1826
1283
|
"value": {
|
1827
|
-
"type": "boolean",
|
1284
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
1828
1285
|
"kind": "expression"
|
1829
1286
|
}
|
1830
|
-
}
|
1287
|
+
}
|
1288
|
+
]
|
1289
|
+
},
|
1290
|
+
{
|
1291
|
+
"name": "action-bar",
|
1292
|
+
"slots": [],
|
1293
|
+
"events": [],
|
1294
|
+
"attributes": [
|
1831
1295
|
{
|
1832
|
-
"name": "
|
1833
|
-
"default": "`
|
1834
|
-
"description": "
|
1296
|
+
"name": "safe-area-inset-bottom",
|
1297
|
+
"default": "`true`",
|
1298
|
+
"description": "Whether to enable bottom safe area adaptation",
|
1835
1299
|
"options": [],
|
1836
1300
|
"value": {
|
1837
|
-
"type": "
|
1301
|
+
"type": "boolean",
|
1838
1302
|
"kind": "expression"
|
1839
1303
|
}
|
1840
1304
|
},
|
1841
1305
|
{
|
1842
|
-
"name": "
|
1843
|
-
"default": "`
|
1844
|
-
"description": "Whether to
|
1306
|
+
"name": "placeholder",
|
1307
|
+
"default": "`false`",
|
1308
|
+
"description": "Whether to generate a placeholder element",
|
1845
1309
|
"options": [],
|
1846
1310
|
"value": {
|
1847
1311
|
"type": "boolean",
|
1848
1312
|
"kind": "expression"
|
1849
1313
|
}
|
1314
|
+
}
|
1315
|
+
]
|
1316
|
+
},
|
1317
|
+
{
|
1318
|
+
"name": "action-bar-icon",
|
1319
|
+
"slots": [
|
1320
|
+
{
|
1321
|
+
"name": "default",
|
1322
|
+
"description": "Text"
|
1850
1323
|
},
|
1851
1324
|
{
|
1852
|
-
"name": "
|
1853
|
-
"
|
1854
|
-
|
1325
|
+
"name": "icon",
|
1326
|
+
"description": "Custom icon"
|
1327
|
+
}
|
1328
|
+
],
|
1329
|
+
"events": [],
|
1330
|
+
"attributes": [
|
1331
|
+
{
|
1332
|
+
"name": "text",
|
1333
|
+
"default": "-",
|
1334
|
+
"description": "Button text",
|
1855
1335
|
"options": [],
|
1856
1336
|
"value": {
|
1857
|
-
"type": "
|
1337
|
+
"type": "string",
|
1858
1338
|
"kind": "expression"
|
1859
1339
|
}
|
1860
1340
|
},
|
1861
1341
|
{
|
1862
|
-
"name": "
|
1863
|
-
"default": "
|
1864
|
-
"description": "
|
1342
|
+
"name": "icon",
|
1343
|
+
"default": "-",
|
1344
|
+
"description": "Icon",
|
1865
1345
|
"options": [],
|
1866
1346
|
"value": {
|
1867
|
-
"type": "
|
1347
|
+
"type": "string",
|
1868
1348
|
"kind": "expression"
|
1869
1349
|
}
|
1870
1350
|
},
|
1871
1351
|
{
|
1872
|
-
"name": "
|
1873
|
-
"default": "`
|
1874
|
-
"description": "
|
1352
|
+
"name": "color",
|
1353
|
+
"default": "`#323233`",
|
1354
|
+
"description": "Icon color",
|
1875
1355
|
"options": [],
|
1876
1356
|
"value": {
|
1877
|
-
"type": "
|
1357
|
+
"type": "string",
|
1878
1358
|
"kind": "expression"
|
1879
1359
|
}
|
1880
1360
|
},
|
1881
1361
|
{
|
1882
|
-
"name": "
|
1883
|
-
"default": "`
|
1884
|
-
"description": "
|
1362
|
+
"name": "icon-class",
|
1363
|
+
"default": "`''`",
|
1364
|
+
"description": "Icon class name",
|
1885
1365
|
"options": [],
|
1886
1366
|
"value": {
|
1887
|
-
"type": "
|
1367
|
+
"type": "string | Array | object",
|
1888
1368
|
"kind": "expression"
|
1889
1369
|
}
|
1890
1370
|
},
|
1891
1371
|
{
|
1892
|
-
"name": "
|
1893
|
-
"default": "-",
|
1894
|
-
"description": "
|
1372
|
+
"name": "icon-prefix",
|
1373
|
+
"default": "`van-icon`",
|
1374
|
+
"description": "Icon className prefix",
|
1895
1375
|
"options": [],
|
1896
1376
|
"value": {
|
1897
|
-
"type": "string
|
1377
|
+
"type": "string",
|
1898
1378
|
"kind": "expression"
|
1899
1379
|
}
|
1900
1380
|
},
|
1901
1381
|
{
|
1902
|
-
"name": "
|
1903
|
-
"default": "
|
1904
|
-
"description": "
|
1382
|
+
"name": "dot",
|
1383
|
+
"default": "-",
|
1384
|
+
"description": "Whether to show red dot",
|
1905
1385
|
"options": [],
|
1906
1386
|
"value": {
|
1907
|
-
"type": "
|
1387
|
+
"type": "boolean",
|
1908
1388
|
"kind": "expression"
|
1909
1389
|
}
|
1910
1390
|
},
|
1911
1391
|
{
|
1912
|
-
"name": "
|
1913
|
-
"default": "
|
1914
|
-
"description": "
|
1392
|
+
"name": "badge",
|
1393
|
+
"default": "-",
|
1394
|
+
"description": "Content of the badge",
|
1915
1395
|
"options": [],
|
1916
1396
|
"value": {
|
1917
|
-
"type": "string",
|
1397
|
+
"type": "number | string",
|
1918
1398
|
"kind": "expression"
|
1919
1399
|
}
|
1920
1400
|
},
|
1921
1401
|
{
|
1922
|
-
"name": "
|
1923
|
-
"default": "
|
1924
|
-
"description": "
|
1402
|
+
"name": "badge-props",
|
1403
|
+
"default": "-",
|
1404
|
+
"description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
|
1925
1405
|
"options": [],
|
1926
1406
|
"value": {
|
1927
|
-
"type": "
|
1407
|
+
"type": "BadgeProps",
|
1928
1408
|
"kind": "expression"
|
1929
1409
|
}
|
1930
1410
|
},
|
1931
1411
|
{
|
1932
|
-
"name": "
|
1933
|
-
"default": "
|
1934
|
-
"description": "
|
1412
|
+
"name": "url",
|
1413
|
+
"default": "-",
|
1414
|
+
"description": "Link URL",
|
1935
1415
|
"options": [],
|
1936
1416
|
"value": {
|
1937
|
-
"type": "
|
1417
|
+
"type": "string",
|
1938
1418
|
"kind": "expression"
|
1939
1419
|
}
|
1940
1420
|
},
|
1941
1421
|
{
|
1942
|
-
"name": "
|
1943
|
-
"default": "
|
1944
|
-
"description": "
|
1422
|
+
"name": "to",
|
1423
|
+
"default": "-",
|
1424
|
+
"description": "Target route of the link, same as to of vue-router",
|
1945
1425
|
"options": [],
|
1946
1426
|
"value": {
|
1947
|
-
"type": "
|
1427
|
+
"type": "string | object",
|
1948
1428
|
"kind": "expression"
|
1949
1429
|
}
|
1950
1430
|
},
|
1951
1431
|
{
|
1952
|
-
"name": "
|
1953
|
-
"default": "`
|
1954
|
-
"description": "
|
1432
|
+
"name": "replace",
|
1433
|
+
"default": "`false`",
|
1434
|
+
"description": "If true, the navigation will not leave a history record",
|
1955
1435
|
"options": [],
|
1956
1436
|
"value": {
|
1957
|
-
"type": "
|
1437
|
+
"type": "boolean",
|
1958
1438
|
"kind": "expression"
|
1959
1439
|
}
|
1960
1440
|
}
|
1961
1441
|
]
|
1962
1442
|
},
|
1963
1443
|
{
|
1964
|
-
"name": "
|
1444
|
+
"name": "action-bar-button",
|
1965
1445
|
"slots": [
|
1966
1446
|
{
|
1967
|
-
"name": "
|
1968
|
-
"description": "
|
1969
|
-
}
|
1970
|
-
|
1971
|
-
|
1447
|
+
"name": "default",
|
1448
|
+
"description": "Button content"
|
1449
|
+
}
|
1450
|
+
],
|
1451
|
+
"events": [],
|
1452
|
+
"attributes": [
|
1453
|
+
{
|
1454
|
+
"name": "text",
|
1455
|
+
"default": "-",
|
1456
|
+
"description": "Button text",
|
1457
|
+
"options": [],
|
1458
|
+
"value": {
|
1459
|
+
"type": "string",
|
1460
|
+
"kind": "expression"
|
1461
|
+
}
|
1462
|
+
},
|
1463
|
+
{
|
1464
|
+
"name": "type",
|
1465
|
+
"default": "`default`",
|
1466
|
+
"description": "Button type, Can be set to `primary` `info` `warning` `danger`",
|
1467
|
+
"options": [],
|
1468
|
+
"value": {
|
1469
|
+
"type": "string",
|
1470
|
+
"kind": "expression"
|
1471
|
+
}
|
1472
|
+
},
|
1473
|
+
{
|
1474
|
+
"name": "color",
|
1475
|
+
"default": "-",
|
1476
|
+
"description": "Button color, support linear-gradient",
|
1477
|
+
"options": [],
|
1478
|
+
"value": {
|
1479
|
+
"type": "string",
|
1480
|
+
"kind": "expression"
|
1481
|
+
}
|
1482
|
+
},
|
1483
|
+
{
|
1484
|
+
"name": "icon",
|
1485
|
+
"default": "-",
|
1486
|
+
"description": "Left Icon",
|
1487
|
+
"options": [],
|
1488
|
+
"value": {
|
1489
|
+
"type": "string",
|
1490
|
+
"kind": "expression"
|
1491
|
+
}
|
1492
|
+
},
|
1493
|
+
{
|
1494
|
+
"name": "disabled",
|
1495
|
+
"default": "`false`",
|
1496
|
+
"description": "Whether to disable button",
|
1497
|
+
"options": [],
|
1498
|
+
"value": {
|
1499
|
+
"type": "boolean",
|
1500
|
+
"kind": "expression"
|
1501
|
+
}
|
1502
|
+
},
|
1503
|
+
{
|
1504
|
+
"name": "loading",
|
1505
|
+
"default": "`false`",
|
1506
|
+
"description": "Whether to show loading status",
|
1507
|
+
"options": [],
|
1508
|
+
"value": {
|
1509
|
+
"type": "boolean",
|
1510
|
+
"kind": "expression"
|
1511
|
+
}
|
1512
|
+
},
|
1513
|
+
{
|
1514
|
+
"name": "url",
|
1515
|
+
"default": "-",
|
1516
|
+
"description": "Link",
|
1517
|
+
"options": [],
|
1518
|
+
"value": {
|
1519
|
+
"type": "string",
|
1520
|
+
"kind": "expression"
|
1521
|
+
}
|
1522
|
+
},
|
1523
|
+
{
|
1524
|
+
"name": "to",
|
1525
|
+
"default": "-",
|
1526
|
+
"description": "Target route of the link, same as to of vue-router",
|
1527
|
+
"options": [],
|
1528
|
+
"value": {
|
1529
|
+
"type": "string | object",
|
1530
|
+
"kind": "expression"
|
1531
|
+
}
|
1532
|
+
},
|
1533
|
+
{
|
1534
|
+
"name": "replace",
|
1535
|
+
"default": "`false`",
|
1536
|
+
"description": "If true, the navigation will not leave a history record",
|
1537
|
+
"options": [],
|
1538
|
+
"value": {
|
1539
|
+
"type": "boolean",
|
1540
|
+
"kind": "expression"
|
1541
|
+
}
|
1542
|
+
}
|
1543
|
+
]
|
1544
|
+
},
|
1545
|
+
{
|
1546
|
+
"name": "calendar",
|
1547
|
+
"slots": [
|
1548
|
+
{
|
1549
|
+
"name": "title",
|
1550
|
+
"description": "Custom title"
|
1551
|
+
},
|
1552
|
+
{
|
1553
|
+
"name": "subtitle",
|
1554
|
+
"description": "Custom subtitle"
|
1555
|
+
},
|
1556
|
+
{
|
1557
|
+
"name": "footer",
|
1558
|
+
"description": "Custom footer"
|
1559
|
+
},
|
1560
|
+
{
|
1561
|
+
"name": "confirm-text",
|
1562
|
+
"description": "Custom confirm text"
|
1563
|
+
},
|
1564
|
+
{
|
1565
|
+
"name": "top-info",
|
1566
|
+
"description": "Custom top info of day"
|
1567
|
+
},
|
1568
|
+
{
|
1569
|
+
"name": "bottom-info",
|
1570
|
+
"description": "Custom bottom info of day"
|
1571
|
+
}
|
1572
|
+
],
|
1573
|
+
"events": [
|
1574
|
+
{
|
1575
|
+
"name": "select",
|
1576
|
+
"description": "Emitted when date is selected",
|
1577
|
+
"arguments": [
|
1578
|
+
{
|
1579
|
+
"name": "value",
|
1580
|
+
"type": "Date | Date[]"
|
1581
|
+
}
|
1582
|
+
]
|
1583
|
+
},
|
1584
|
+
{
|
1585
|
+
"name": "confirm",
|
1586
|
+
"description": "Emitted after date selection is complete, if `show-confirm` is `true`, it is Emitted after clicking the confirm button",
|
1587
|
+
"arguments": [
|
1588
|
+
{
|
1589
|
+
"name": "value",
|
1590
|
+
"type": "Date | Date[]"
|
1591
|
+
}
|
1592
|
+
]
|
1593
|
+
},
|
1594
|
+
{
|
1595
|
+
"name": "open",
|
1596
|
+
"description": "Emitted when opening Popup",
|
1597
|
+
"arguments": []
|
1598
|
+
},
|
1599
|
+
{
|
1600
|
+
"name": "close",
|
1601
|
+
"description": "Emitted when closing Popup",
|
1602
|
+
"arguments": []
|
1603
|
+
},
|
1604
|
+
{
|
1605
|
+
"name": "opened",
|
1606
|
+
"description": "Emitted when Popup is opened",
|
1607
|
+
"arguments": []
|
1608
|
+
},
|
1609
|
+
{
|
1610
|
+
"name": "closed",
|
1611
|
+
"description": "Emitted when Popup is closed",
|
1612
|
+
"arguments": []
|
1613
|
+
},
|
1614
|
+
{
|
1615
|
+
"name": "unselect",
|
1616
|
+
"description": "Emitted when unselect date when type is multiple",
|
1617
|
+
"arguments": [
|
1618
|
+
{
|
1619
|
+
"name": "value",
|
1620
|
+
"type": "Date"
|
1621
|
+
}
|
1622
|
+
]
|
1623
|
+
},
|
1624
|
+
{
|
1625
|
+
"name": "month-show",
|
1626
|
+
"description": "Emitted when a month enters the visible area",
|
1627
|
+
"arguments": [
|
1628
|
+
{
|
1629
|
+
"name": "value",
|
1630
|
+
"type": "{ date: Date, title: string }"
|
1631
|
+
}
|
1632
|
+
]
|
1633
|
+
},
|
1634
|
+
{
|
1635
|
+
"name": "over-range",
|
1636
|
+
"description": "Emitted when exceeded max range",
|
1637
|
+
"arguments": []
|
1638
|
+
},
|
1639
|
+
{
|
1640
|
+
"name": "click-subtitle",
|
1641
|
+
"description": "Emitted when clicking the subtitle",
|
1642
|
+
"arguments": [
|
1643
|
+
{
|
1644
|
+
"name": "event",
|
1645
|
+
"type": "MouseEvent"
|
1646
|
+
}
|
1647
|
+
]
|
1648
|
+
}
|
1649
|
+
],
|
1650
|
+
"attributes": [
|
1651
|
+
{
|
1652
|
+
"name": "type",
|
1653
|
+
"default": "`single`",
|
1654
|
+
"description": "Type, can be set to `range` `multiple`",
|
1655
|
+
"options": [],
|
1656
|
+
"value": {
|
1657
|
+
"type": "string",
|
1658
|
+
"kind": "expression"
|
1659
|
+
}
|
1660
|
+
},
|
1661
|
+
{
|
1662
|
+
"name": "title",
|
1663
|
+
"default": "`Calendar`",
|
1664
|
+
"description": "Title of calendar",
|
1665
|
+
"options": [],
|
1666
|
+
"value": {
|
1667
|
+
"type": "string",
|
1668
|
+
"kind": "expression"
|
1669
|
+
}
|
1670
|
+
},
|
1671
|
+
{
|
1672
|
+
"name": "color",
|
1673
|
+
"default": "`#ee0a24`",
|
1674
|
+
"description": "Color for the bottom button and selected date",
|
1675
|
+
"options": [],
|
1676
|
+
"value": {
|
1677
|
+
"type": "string",
|
1678
|
+
"kind": "expression"
|
1679
|
+
}
|
1680
|
+
},
|
1681
|
+
{
|
1682
|
+
"name": "min-date",
|
1683
|
+
"default": "Today",
|
1684
|
+
"description": "Min date",
|
1685
|
+
"options": [],
|
1686
|
+
"value": {
|
1687
|
+
"type": "Date",
|
1688
|
+
"kind": "expression"
|
1689
|
+
}
|
1690
|
+
},
|
1691
|
+
{
|
1692
|
+
"name": "max-date",
|
1693
|
+
"default": "Six months after the today",
|
1694
|
+
"description": "Max date",
|
1695
|
+
"options": [],
|
1696
|
+
"value": {
|
1697
|
+
"type": "Date",
|
1698
|
+
"kind": "expression"
|
1699
|
+
}
|
1700
|
+
},
|
1701
|
+
{
|
1702
|
+
"name": "default-date",
|
1703
|
+
"default": "Today",
|
1704
|
+
"description": "Default selected date",
|
1705
|
+
"options": [],
|
1706
|
+
"value": {
|
1707
|
+
"type": "Date | Date[] | null",
|
1708
|
+
"kind": "expression"
|
1709
|
+
}
|
1710
|
+
},
|
1711
|
+
{
|
1712
|
+
"name": "row-height",
|
1713
|
+
"default": "`64`",
|
1714
|
+
"description": "Row height",
|
1715
|
+
"options": [],
|
1716
|
+
"value": {
|
1717
|
+
"type": "number | string",
|
1718
|
+
"kind": "expression"
|
1719
|
+
}
|
1720
|
+
},
|
1721
|
+
{
|
1722
|
+
"name": "formatter",
|
1723
|
+
"default": "-",
|
1724
|
+
"description": "Day formatter",
|
1725
|
+
"options": [],
|
1726
|
+
"value": {
|
1727
|
+
"type": "(day: Day) => Day",
|
1728
|
+
"kind": "expression"
|
1729
|
+
}
|
1730
|
+
},
|
1731
|
+
{
|
1732
|
+
"name": "poppable",
|
1733
|
+
"default": "`true`",
|
1734
|
+
"description": "Whether to show the calendar inside a popup",
|
1735
|
+
"options": [],
|
1736
|
+
"value": {
|
1737
|
+
"type": "boolean",
|
1738
|
+
"kind": "expression"
|
1739
|
+
}
|
1740
|
+
},
|
1741
|
+
{
|
1742
|
+
"name": "lazy-render",
|
1743
|
+
"default": "`true`",
|
1744
|
+
"description": "Whether to enable lazy render",
|
1745
|
+
"options": [],
|
1746
|
+
"value": {
|
1747
|
+
"type": "boolean",
|
1748
|
+
"kind": "expression"
|
1749
|
+
}
|
1750
|
+
},
|
1751
|
+
{
|
1752
|
+
"name": "show-mark",
|
1753
|
+
"default": "`true`",
|
1754
|
+
"description": "Whether to show background month mark",
|
1755
|
+
"options": [],
|
1756
|
+
"value": {
|
1757
|
+
"type": "boolean",
|
1758
|
+
"kind": "expression"
|
1759
|
+
}
|
1760
|
+
},
|
1761
|
+
{
|
1762
|
+
"name": "show-title",
|
1763
|
+
"default": "`true`",
|
1764
|
+
"description": "Whether to show title",
|
1765
|
+
"options": [],
|
1766
|
+
"value": {
|
1767
|
+
"type": "boolean",
|
1768
|
+
"kind": "expression"
|
1769
|
+
}
|
1770
|
+
},
|
1771
|
+
{
|
1772
|
+
"name": "show-subtitle",
|
1773
|
+
"default": "`true`",
|
1774
|
+
"description": "Whether to show subtitle",
|
1775
|
+
"options": [],
|
1776
|
+
"value": {
|
1777
|
+
"type": "boolean",
|
1778
|
+
"kind": "expression"
|
1779
|
+
}
|
1780
|
+
},
|
1781
|
+
{
|
1782
|
+
"name": "show-confirm",
|
1783
|
+
"default": "`true`",
|
1784
|
+
"description": "Whether to show confirm button",
|
1785
|
+
"options": [],
|
1786
|
+
"value": {
|
1787
|
+
"type": "boolean",
|
1788
|
+
"kind": "expression"
|
1789
|
+
}
|
1790
|
+
},
|
1791
|
+
{
|
1792
|
+
"name": "readonly",
|
1793
|
+
"default": "`false`",
|
1794
|
+
"description": "Whether to be readonly",
|
1795
|
+
"options": [],
|
1796
|
+
"value": {
|
1797
|
+
"type": "boolean",
|
1798
|
+
"kind": "expression"
|
1799
|
+
}
|
1800
|
+
},
|
1801
|
+
{
|
1802
|
+
"name": "confirm-text",
|
1803
|
+
"default": "`Confirm`",
|
1804
|
+
"description": "Confirm button text",
|
1805
|
+
"options": [],
|
1806
|
+
"value": {
|
1807
|
+
"type": "string",
|
1808
|
+
"kind": "expression"
|
1809
|
+
}
|
1810
|
+
},
|
1811
|
+
{
|
1812
|
+
"name": "confirm-disabled-text",
|
1813
|
+
"default": "`Confirm`",
|
1814
|
+
"description": "Confirm button text when disabled",
|
1815
|
+
"options": [],
|
1816
|
+
"value": {
|
1817
|
+
"type": "string",
|
1818
|
+
"kind": "expression"
|
1819
|
+
}
|
1820
|
+
},
|
1821
|
+
{
|
1822
|
+
"name": "first-day-of-week",
|
1823
|
+
"default": "`0`",
|
1824
|
+
"description": "Set the start day of week",
|
1825
|
+
"options": [],
|
1826
|
+
"value": {
|
1827
|
+
"type": "0-6",
|
1828
|
+
"kind": "expression"
|
1829
|
+
}
|
1830
|
+
},
|
1831
|
+
{
|
1832
|
+
"name": "v-model:show",
|
1833
|
+
"default": "`false`",
|
1834
|
+
"description": "Whether to show calendar",
|
1835
|
+
"options": [],
|
1836
|
+
"value": {
|
1837
|
+
"type": "boolean",
|
1838
|
+
"kind": "expression"
|
1839
|
+
}
|
1840
|
+
},
|
1841
|
+
{
|
1842
|
+
"name": "position",
|
1843
|
+
"default": "`bottom`",
|
1844
|
+
"description": "Popup position, can be set to `top` `right` `left`",
|
1845
|
+
"options": [],
|
1846
|
+
"value": {
|
1847
|
+
"type": "string",
|
1848
|
+
"kind": "expression"
|
1849
|
+
}
|
1850
|
+
},
|
1851
|
+
{
|
1852
|
+
"name": "round",
|
1853
|
+
"default": "`true`",
|
1854
|
+
"description": "Whether to show round corner",
|
1855
|
+
"options": [],
|
1856
|
+
"value": {
|
1857
|
+
"type": "boolean",
|
1858
|
+
"kind": "expression"
|
1859
|
+
}
|
1860
|
+
},
|
1861
|
+
{
|
1862
|
+
"name": "close-on-popstate",
|
1863
|
+
"default": "`true`",
|
1864
|
+
"description": "Whether to close when popstate",
|
1865
|
+
"options": [],
|
1866
|
+
"value": {
|
1867
|
+
"type": "boolean",
|
1868
|
+
"kind": "expression"
|
1869
|
+
}
|
1870
|
+
},
|
1871
|
+
{
|
1872
|
+
"name": "close-on-click-overlay",
|
1873
|
+
"default": "`true`",
|
1874
|
+
"description": "Whether to close when overlay is clicked",
|
1875
|
+
"options": [],
|
1876
|
+
"value": {
|
1877
|
+
"type": "boolean",
|
1878
|
+
"kind": "expression"
|
1879
|
+
}
|
1880
|
+
},
|
1881
|
+
{
|
1882
|
+
"name": "safe-area-inset-top",
|
1883
|
+
"default": "`false`",
|
1884
|
+
"description": "Whether to enable top safe area adaptation",
|
1885
|
+
"options": [],
|
1886
|
+
"value": {
|
1887
|
+
"type": "boolean",
|
1888
|
+
"kind": "expression"
|
1889
|
+
}
|
1890
|
+
},
|
1891
|
+
{
|
1892
|
+
"name": "safe-area-inset-bottom",
|
1893
|
+
"default": "`true`",
|
1894
|
+
"description": "Whether to enable bottom safe area adaptation",
|
1895
|
+
"options": [],
|
1896
|
+
"value": {
|
1897
|
+
"type": "boolean",
|
1898
|
+
"kind": "expression"
|
1899
|
+
}
|
1900
|
+
},
|
1901
|
+
{
|
1902
|
+
"name": "teleport",
|
1903
|
+
"default": "-",
|
1904
|
+
"description": "Specifies a target element where Calendar will be mounted",
|
1905
|
+
"options": [],
|
1906
|
+
"value": {
|
1907
|
+
"type": "string | Element",
|
1908
|
+
"kind": "expression"
|
1909
|
+
}
|
1910
|
+
},
|
1911
|
+
{
|
1912
|
+
"name": "max-range",
|
1913
|
+
"default": "Unlimited",
|
1914
|
+
"description": "Number of selectable days",
|
1915
|
+
"options": [],
|
1916
|
+
"value": {
|
1917
|
+
"type": "number | string",
|
1918
|
+
"kind": "expression"
|
1919
|
+
}
|
1920
|
+
},
|
1921
|
+
{
|
1922
|
+
"name": "range-prompt",
|
1923
|
+
"default": "`Choose no more than xx days`",
|
1924
|
+
"description": "Error message when exceeded max range",
|
1925
|
+
"options": [],
|
1926
|
+
"value": {
|
1927
|
+
"type": "string",
|
1928
|
+
"kind": "expression"
|
1929
|
+
}
|
1930
|
+
},
|
1931
|
+
{
|
1932
|
+
"name": "show-range-prompt",
|
1933
|
+
"default": "`true`",
|
1934
|
+
"description": "Whether prompt error message when exceeded max range",
|
1935
|
+
"options": [],
|
1936
|
+
"value": {
|
1937
|
+
"type": "boolean",
|
1938
|
+
"kind": "expression"
|
1939
|
+
}
|
1940
|
+
},
|
1941
|
+
{
|
1942
|
+
"name": "allow-same-day",
|
1943
|
+
"default": "`false`",
|
1944
|
+
"description": "Whether the start and end time of the range is allowed on the same day",
|
1945
|
+
"options": [],
|
1946
|
+
"value": {
|
1947
|
+
"type": "boolean",
|
1948
|
+
"kind": "expression"
|
1949
|
+
}
|
1950
|
+
},
|
1951
|
+
{
|
1952
|
+
"name": "max-range",
|
1953
|
+
"default": "Unlimited",
|
1954
|
+
"description": "Max count of selectable days",
|
1955
|
+
"options": [],
|
1956
|
+
"value": {
|
1957
|
+
"type": "number | string",
|
1958
|
+
"kind": "expression"
|
1959
|
+
}
|
1960
|
+
},
|
1961
|
+
{
|
1962
|
+
"name": "range-prompt",
|
1963
|
+
"default": "`Choose no more than xx days`",
|
1964
|
+
"description": "Error message when exceeded max count",
|
1965
|
+
"options": [],
|
1966
|
+
"value": {
|
1967
|
+
"type": "string",
|
1968
|
+
"kind": "expression"
|
1969
|
+
}
|
1970
|
+
}
|
1971
|
+
]
|
1972
|
+
},
|
1973
|
+
{
|
1974
|
+
"name": "card",
|
1975
|
+
"slots": [
|
1976
|
+
{
|
1977
|
+
"name": "title",
|
1978
|
+
"description": "Custom title"
|
1979
|
+
},
|
1980
|
+
{
|
1981
|
+
"name": "desc",
|
1972
1982
|
"description": "Custom description"
|
1973
1983
|
},
|
1974
1984
|
{
|
@@ -2144,7 +2154,7 @@
|
|
2144
2154
|
]
|
2145
2155
|
},
|
2146
2156
|
{
|
2147
|
-
"name": "
|
2157
|
+
"name": "cascader",
|
2148
2158
|
"slots": [
|
2149
2159
|
{
|
2150
2160
|
"name": "title",
|
@@ -2306,7 +2316,7 @@
|
|
2306
2316
|
]
|
2307
2317
|
},
|
2308
2318
|
{
|
2309
|
-
"name": "
|
2319
|
+
"name": "cell-group",
|
2310
2320
|
"slots": [
|
2311
2321
|
{
|
2312
2322
|
"name": "default",
|
@@ -2352,7 +2362,7 @@
|
|
2352
2362
|
]
|
2353
2363
|
},
|
2354
2364
|
{
|
2355
|
-
"name": "
|
2365
|
+
"name": "cell",
|
2356
2366
|
"slots": [
|
2357
2367
|
{
|
2358
2368
|
"name": "title",
|
@@ -2585,7 +2595,7 @@
|
|
2585
2595
|
]
|
2586
2596
|
},
|
2587
2597
|
{
|
2588
|
-
"name": "
|
2598
|
+
"name": "checkbox",
|
2589
2599
|
"slots": [
|
2590
2600
|
{
|
2591
2601
|
"name": "default",
|
@@ -2632,7 +2642,7 @@
|
|
2632
2642
|
{
|
2633
2643
|
"name": "name",
|
2634
2644
|
"default": "-",
|
2635
|
-
"description": "Checkbox name",
|
2645
|
+
"description": "Checkbox name, usually a unique string or number",
|
2636
2646
|
"options": [],
|
2637
2647
|
"value": {
|
2638
2648
|
"type": "any",
|
@@ -2712,7 +2722,7 @@
|
|
2712
2722
|
]
|
2713
2723
|
},
|
2714
2724
|
{
|
2715
|
-
"name": "
|
2725
|
+
"name": "checkbox-group",
|
2716
2726
|
"slots": [],
|
2717
2727
|
"events": [
|
2718
2728
|
{
|
@@ -2790,7 +2800,7 @@
|
|
2790
2800
|
]
|
2791
2801
|
},
|
2792
2802
|
{
|
2793
|
-
"name": "
|
2803
|
+
"name": "circle",
|
2794
2804
|
"slots": [
|
2795
2805
|
{
|
2796
2806
|
"name": "default",
|
@@ -2922,7 +2932,7 @@
|
|
2922
2932
|
]
|
2923
2933
|
},
|
2924
2934
|
{
|
2925
|
-
"name": "
|
2935
|
+
"name": "row",
|
2926
2936
|
"slots": [],
|
2927
2937
|
"events": [
|
2928
2938
|
{
|
@@ -2990,7 +3000,7 @@
|
|
2990
3000
|
]
|
2991
3001
|
},
|
2992
3002
|
{
|
2993
|
-
"name": "
|
3003
|
+
"name": "col",
|
2994
3004
|
"slots": [],
|
2995
3005
|
"events": [
|
2996
3006
|
{
|
@@ -3038,7 +3048,7 @@
|
|
3038
3048
|
]
|
3039
3049
|
},
|
3040
3050
|
{
|
3041
|
-
"name": "
|
3051
|
+
"name": "collapse",
|
3042
3052
|
"slots": [],
|
3043
3053
|
"events": [
|
3044
3054
|
{
|
@@ -3086,7 +3096,7 @@
|
|
3086
3096
|
]
|
3087
3097
|
},
|
3088
3098
|
{
|
3089
|
-
"name": "
|
3099
|
+
"name": "collapse-item",
|
3090
3100
|
"slots": [
|
3091
3101
|
{
|
3092
3102
|
"name": "default",
|
@@ -3258,7 +3268,7 @@
|
|
3258
3268
|
]
|
3259
3269
|
},
|
3260
3270
|
{
|
3261
|
-
"name": "
|
3271
|
+
"name": "config-provider",
|
3262
3272
|
"slots": [],
|
3263
3273
|
"events": [],
|
3264
3274
|
"attributes": [
|
@@ -3295,7 +3305,7 @@
|
|
3295
3305
|
]
|
3296
3306
|
},
|
3297
3307
|
{
|
3298
|
-
"name": "
|
3308
|
+
"name": "contact-card",
|
3299
3309
|
"slots": [],
|
3300
3310
|
"events": [
|
3301
3311
|
{
|
@@ -3363,7 +3373,7 @@
|
|
3363
3373
|
]
|
3364
3374
|
},
|
3365
3375
|
{
|
3366
|
-
"name": "
|
3376
|
+
"name": "contact-edit",
|
3367
3377
|
"slots": [],
|
3368
3378
|
"events": [
|
3369
3379
|
{
|
@@ -3461,7 +3471,7 @@
|
|
3461
3471
|
]
|
3462
3472
|
},
|
3463
3473
|
{
|
3464
|
-
"name": "
|
3474
|
+
"name": "contact-list",
|
3465
3475
|
"slots": [],
|
3466
3476
|
"events": [
|
3467
3477
|
{
|
@@ -3542,7 +3552,7 @@
|
|
3542
3552
|
]
|
3543
3553
|
},
|
3544
3554
|
{
|
3545
|
-
"name": "
|
3555
|
+
"name": "count-down",
|
3546
3556
|
"slots": [
|
3547
3557
|
{
|
3548
3558
|
"name": "default",
|
@@ -3610,7 +3620,7 @@
|
|
3610
3620
|
]
|
3611
3621
|
},
|
3612
3622
|
{
|
3613
|
-
"name": "
|
3623
|
+
"name": "coupon-cell",
|
3614
3624
|
"slots": [],
|
3615
3625
|
"events": [],
|
3616
3626
|
"attributes": [
|
@@ -3677,7 +3687,7 @@
|
|
3677
3687
|
]
|
3678
3688
|
},
|
3679
3689
|
{
|
3680
|
-
"name": "
|
3690
|
+
"name": "coupon-list",
|
3681
3691
|
"slots": [
|
3682
3692
|
{
|
3683
3693
|
"name": "list-footer",
|
@@ -3874,7 +3884,7 @@
|
|
3874
3884
|
]
|
3875
3885
|
},
|
3876
3886
|
{
|
3877
|
-
"name": "
|
3887
|
+
"name": "datetime-picker",
|
3878
3888
|
"slots": [
|
3879
3889
|
{
|
3880
3890
|
"name": "default",
|
@@ -4066,7 +4076,7 @@
|
|
4066
4076
|
]
|
4067
4077
|
},
|
4068
4078
|
{
|
4069
|
-
"name": "
|
4079
|
+
"name": "date-picker",
|
4070
4080
|
"slots": [],
|
4071
4081
|
"events": [],
|
4072
4082
|
"attributes": [
|
@@ -4093,7 +4103,7 @@
|
|
4093
4103
|
]
|
4094
4104
|
},
|
4095
4105
|
{
|
4096
|
-
"name": "
|
4106
|
+
"name": "time-picker",
|
4097
4107
|
"slots": [],
|
4098
4108
|
"events": [],
|
4099
4109
|
"attributes": [
|
@@ -4140,7 +4150,7 @@
|
|
4140
4150
|
]
|
4141
4151
|
},
|
4142
4152
|
{
|
4143
|
-
"name": "
|
4153
|
+
"name": "dialog",
|
4144
4154
|
"slots": [
|
4145
4155
|
{
|
4146
4156
|
"name": "default",
|
@@ -4368,276 +4378,40 @@
|
|
4368
4378
|
"kind": "expression"
|
4369
4379
|
}
|
4370
4380
|
},
|
4371
|
-
{
|
4372
|
-
"name": "close-on-click-overlay",
|
4373
|
-
"default": "`false`",
|
4374
|
-
"description": "Whether to close when overlay is clicked",
|
4375
|
-
"options": [],
|
4376
|
-
"value": {
|
4377
|
-
"type": "boolean",
|
4378
|
-
"kind": "expression"
|
4379
|
-
}
|
4380
|
-
},
|
4381
|
-
{
|
4382
|
-
"name": "lazy-render",
|
4383
|
-
"default": "`true`",
|
4384
|
-
"description": "Whether to lazy render util appeared",
|
4385
|
-
"options": [],
|
4386
|
-
"value": {
|
4387
|
-
"type": "boolean",
|
4388
|
-
"kind": "expression"
|
4389
|
-
}
|
4390
|
-
},
|
4391
|
-
{
|
4392
|
-
"name": "lock-scroll",
|
4393
|
-
"default": "`true`",
|
4394
|
-
"description": "Whether to lock background scroll",
|
4395
|
-
"options": [],
|
4396
|
-
"value": {
|
4397
|
-
"type": "boolean",
|
4398
|
-
"kind": "expression"
|
4399
|
-
}
|
4400
|
-
},
|
4401
|
-
{
|
4402
|
-
"name": "allow-html",
|
4403
|
-
"default": "`false`",
|
4404
|
-
"description": "Whether to allow HTML rendering in message",
|
4405
|
-
"options": [],
|
4406
|
-
"value": {
|
4407
|
-
"type": "boolean",
|
4408
|
-
"kind": "expression"
|
4409
|
-
}
|
4410
|
-
},
|
4411
|
-
{
|
4412
|
-
"name": "before-close",
|
4413
|
-
"default": "-",
|
4414
|
-
"description": "Callback function before close",
|
4415
|
-
"options": [],
|
4416
|
-
"value": {
|
4417
|
-
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
4418
|
-
"kind": "expression"
|
4419
|
-
}
|
4420
|
-
},
|
4421
|
-
{
|
4422
|
-
"name": "transition",
|
4423
|
-
"default": "-",
|
4424
|
-
"description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition)",
|
4425
|
-
"options": [],
|
4426
|
-
"value": {
|
4427
|
-
"type": "string",
|
4428
|
-
"kind": "expression"
|
4429
|
-
}
|
4430
|
-
},
|
4431
|
-
{
|
4432
|
-
"name": "teleport",
|
4433
|
-
"default": "-",
|
4434
|
-
"description": "Specifies a target element where Dialog will be mounted",
|
4435
|
-
"options": [],
|
4436
|
-
"value": {
|
4437
|
-
"type": "string | Element",
|
4438
|
-
"kind": "expression"
|
4439
|
-
}
|
4440
|
-
}
|
4441
|
-
]
|
4442
|
-
},
|
4443
|
-
{
|
4444
|
-
"name": "van-divider",
|
4445
|
-
"slots": [
|
4446
|
-
{
|
4447
|
-
"name": "default",
|
4448
|
-
"description": "content"
|
4449
|
-
}
|
4450
|
-
],
|
4451
|
-
"events": [],
|
4452
|
-
"attributes": [
|
4453
|
-
{
|
4454
|
-
"name": "dashed",
|
4455
|
-
"default": "`false`",
|
4456
|
-
"description": "Whether to use dashed border",
|
4457
|
-
"options": [],
|
4458
|
-
"value": {
|
4459
|
-
"type": "boolean",
|
4460
|
-
"kind": "expression"
|
4461
|
-
}
|
4462
|
-
},
|
4463
|
-
{
|
4464
|
-
"name": "hairline",
|
4465
|
-
"default": "`true`",
|
4466
|
-
"description": "Whether to use hairline",
|
4467
|
-
"options": [],
|
4468
|
-
"value": {
|
4469
|
-
"type": "boolean",
|
4470
|
-
"kind": "expression"
|
4471
|
-
}
|
4472
|
-
},
|
4473
|
-
{
|
4474
|
-
"name": "content-position",
|
4475
|
-
"default": "`center`",
|
4476
|
-
"description": "Content position, can be set to `left` `right`",
|
4477
|
-
"options": [],
|
4478
|
-
"value": {
|
4479
|
-
"type": "string",
|
4480
|
-
"kind": "expression"
|
4481
|
-
}
|
4482
|
-
}
|
4483
|
-
]
|
4484
|
-
},
|
4485
|
-
{
|
4486
|
-
"name": "van-dropdown-menu",
|
4487
|
-
"slots": [],
|
4488
|
-
"events": [],
|
4489
|
-
"attributes": [
|
4490
|
-
{
|
4491
|
-
"name": "active-color",
|
4492
|
-
"default": "`#ee0a24`",
|
4493
|
-
"description": "Active color of title and option",
|
4494
|
-
"options": [],
|
4495
|
-
"value": {
|
4496
|
-
"type": "string",
|
4497
|
-
"kind": "expression"
|
4498
|
-
}
|
4499
|
-
},
|
4500
|
-
{
|
4501
|
-
"name": "direction",
|
4502
|
-
"default": "`down`",
|
4503
|
-
"description": "Expand direction, can be set to `up`",
|
4504
|
-
"options": [],
|
4505
|
-
"value": {
|
4506
|
-
"type": "string",
|
4507
|
-
"kind": "expression"
|
4508
|
-
}
|
4509
|
-
},
|
4510
|
-
{
|
4511
|
-
"name": "z-index",
|
4512
|
-
"default": "`10`",
|
4513
|
-
"description": "z-index of menu item",
|
4514
|
-
"options": [],
|
4515
|
-
"value": {
|
4516
|
-
"type": "number | string",
|
4517
|
-
"kind": "expression"
|
4518
|
-
}
|
4519
|
-
},
|
4520
|
-
{
|
4521
|
-
"name": "duration",
|
4522
|
-
"default": "`0.2`",
|
4523
|
-
"description": "Transition duration, unit second",
|
4524
|
-
"options": [],
|
4525
|
-
"value": {
|
4526
|
-
"type": "number | string",
|
4527
|
-
"kind": "expression"
|
4528
|
-
}
|
4529
|
-
},
|
4530
|
-
{
|
4531
|
-
"name": "overlay",
|
4532
|
-
"default": "`true`",
|
4533
|
-
"description": "Whether to show overlay",
|
4534
|
-
"options": [],
|
4535
|
-
"value": {
|
4536
|
-
"type": "boolean",
|
4537
|
-
"kind": "expression"
|
4538
|
-
}
|
4539
|
-
},
|
4540
|
-
{
|
4541
|
-
"name": "close-on-click-overlay",
|
4542
|
-
"default": "`true`",
|
4543
|
-
"description": "Whether to close when overlay is clicked",
|
4544
|
-
"options": [],
|
4545
|
-
"value": {
|
4546
|
-
"type": "boolean",
|
4547
|
-
"kind": "expression"
|
4548
|
-
}
|
4549
|
-
},
|
4550
|
-
{
|
4551
|
-
"name": "close-on-click-outside",
|
4552
|
-
"default": "`true`",
|
4553
|
-
"description": "Whether to close when outside is clicked",
|
4554
|
-
"options": [],
|
4555
|
-
"value": {
|
4556
|
-
"type": "boolean",
|
4557
|
-
"kind": "expression"
|
4558
|
-
}
|
4559
|
-
}
|
4560
|
-
]
|
4561
|
-
},
|
4562
|
-
{
|
4563
|
-
"name": "van-dropdown-item",
|
4564
|
-
"slots": [
|
4565
|
-
{
|
4566
|
-
"name": "default",
|
4567
|
-
"description": "Content"
|
4568
|
-
},
|
4569
|
-
{
|
4570
|
-
"name": "title",
|
4571
|
-
"description": "Custom title"
|
4572
|
-
}
|
4573
|
-
],
|
4574
|
-
"events": [
|
4575
|
-
{
|
4576
|
-
"name": "change",
|
4577
|
-
"description": "Emitted select option and value changed",
|
4578
|
-
"arguments": [
|
4579
|
-
{
|
4580
|
-
"name": "value",
|
4581
|
-
"type": "number | string"
|
4582
|
-
}
|
4583
|
-
]
|
4584
|
-
},
|
4585
|
-
{
|
4586
|
-
"name": "open",
|
4587
|
-
"description": "Emitted when opening menu",
|
4588
|
-
"arguments": []
|
4589
|
-
},
|
4590
|
-
{
|
4591
|
-
"name": "close",
|
4592
|
-
"description": "Emitted when closing menu",
|
4593
|
-
"arguments": []
|
4594
|
-
},
|
4595
|
-
{
|
4596
|
-
"name": "opened",
|
4597
|
-
"description": "Emitted when menu is opened",
|
4598
|
-
"arguments": []
|
4599
|
-
},
|
4600
|
-
{
|
4601
|
-
"name": "closed",
|
4602
|
-
"description": "Emitted when menu is closed",
|
4603
|
-
"arguments": []
|
4604
|
-
}
|
4605
|
-
],
|
4606
|
-
"attributes": [
|
4607
|
-
{
|
4608
|
-
"name": "v-model",
|
4609
|
-
"default": "-",
|
4610
|
-
"description": "Value of current option",
|
4381
|
+
{
|
4382
|
+
"name": "close-on-click-overlay",
|
4383
|
+
"default": "`false`",
|
4384
|
+
"description": "Whether to close when overlay is clicked",
|
4611
4385
|
"options": [],
|
4612
4386
|
"value": {
|
4613
|
-
"type": "
|
4387
|
+
"type": "boolean",
|
4614
4388
|
"kind": "expression"
|
4615
4389
|
}
|
4616
4390
|
},
|
4617
4391
|
{
|
4618
|
-
"name": "
|
4619
|
-
"default": "
|
4620
|
-
"description": "
|
4392
|
+
"name": "lazy-render",
|
4393
|
+
"default": "`true`",
|
4394
|
+
"description": "Whether to lazy render util appeared",
|
4621
4395
|
"options": [],
|
4622
4396
|
"value": {
|
4623
|
-
"type": "
|
4397
|
+
"type": "boolean",
|
4624
4398
|
"kind": "expression"
|
4625
4399
|
}
|
4626
4400
|
},
|
4627
4401
|
{
|
4628
|
-
"name": "
|
4629
|
-
"default": "`
|
4630
|
-
"description": "
|
4402
|
+
"name": "lock-scroll",
|
4403
|
+
"default": "`true`",
|
4404
|
+
"description": "Whether to lock background scroll",
|
4631
4405
|
"options": [],
|
4632
4406
|
"value": {
|
4633
|
-
"type": "
|
4407
|
+
"type": "boolean",
|
4634
4408
|
"kind": "expression"
|
4635
4409
|
}
|
4636
4410
|
},
|
4637
4411
|
{
|
4638
|
-
"name": "
|
4412
|
+
"name": "allow-html",
|
4639
4413
|
"default": "`false`",
|
4640
|
-
"description": "Whether to
|
4414
|
+
"description": "Whether to allow HTML rendering in message",
|
4641
4415
|
"options": [],
|
4642
4416
|
"value": {
|
4643
4417
|
"type": "boolean",
|
@@ -4645,29 +4419,29 @@
|
|
4645
4419
|
}
|
4646
4420
|
},
|
4647
4421
|
{
|
4648
|
-
"name": "
|
4649
|
-
"default": "
|
4650
|
-
"description": "
|
4422
|
+
"name": "before-close",
|
4423
|
+
"default": "-",
|
4424
|
+
"description": "Callback function before close",
|
4651
4425
|
"options": [],
|
4652
4426
|
"value": {
|
4653
|
-
"type": "boolean",
|
4427
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
4654
4428
|
"kind": "expression"
|
4655
4429
|
}
|
4656
4430
|
},
|
4657
4431
|
{
|
4658
|
-
"name": "
|
4432
|
+
"name": "transition",
|
4659
4433
|
"default": "-",
|
4660
|
-
"description": "
|
4434
|
+
"description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition)",
|
4661
4435
|
"options": [],
|
4662
4436
|
"value": {
|
4663
|
-
"type": "string
|
4437
|
+
"type": "string",
|
4664
4438
|
"kind": "expression"
|
4665
4439
|
}
|
4666
4440
|
},
|
4667
4441
|
{
|
4668
4442
|
"name": "teleport",
|
4669
4443
|
"default": "-",
|
4670
|
-
"description": "Specifies a target element where
|
4444
|
+
"description": "Specifies a target element where Dialog will be mounted",
|
4671
4445
|
"options": [],
|
4672
4446
|
"value": {
|
4673
4447
|
"type": "string | Element",
|
@@ -4677,47 +4451,39 @@
|
|
4677
4451
|
]
|
4678
4452
|
},
|
4679
4453
|
{
|
4680
|
-
"name": "
|
4454
|
+
"name": "divider",
|
4681
4455
|
"slots": [
|
4682
4456
|
{
|
4683
4457
|
"name": "default",
|
4684
|
-
"description": "
|
4685
|
-
},
|
4686
|
-
{
|
4687
|
-
"name": "image",
|
4688
|
-
"description": "Custom image"
|
4689
|
-
},
|
4690
|
-
{
|
4691
|
-
"name": "description",
|
4692
|
-
"description": "Custom description"
|
4458
|
+
"description": "content"
|
4693
4459
|
}
|
4694
4460
|
],
|
4695
4461
|
"events": [],
|
4696
4462
|
"attributes": [
|
4697
4463
|
{
|
4698
|
-
"name": "
|
4699
|
-
"default": "`
|
4700
|
-
"description": "
|
4464
|
+
"name": "dashed",
|
4465
|
+
"default": "`false`",
|
4466
|
+
"description": "Whether to use dashed border",
|
4701
4467
|
"options": [],
|
4702
4468
|
"value": {
|
4703
|
-
"type": "
|
4469
|
+
"type": "boolean",
|
4704
4470
|
"kind": "expression"
|
4705
4471
|
}
|
4706
4472
|
},
|
4707
4473
|
{
|
4708
|
-
"name": "
|
4709
|
-
"default": "
|
4710
|
-
"description": "
|
4474
|
+
"name": "hairline",
|
4475
|
+
"default": "`true`",
|
4476
|
+
"description": "Whether to use hairline",
|
4711
4477
|
"options": [],
|
4712
4478
|
"value": {
|
4713
|
-
"type": "
|
4479
|
+
"type": "boolean",
|
4714
4480
|
"kind": "expression"
|
4715
4481
|
}
|
4716
4482
|
},
|
4717
4483
|
{
|
4718
|
-
"name": "
|
4719
|
-
"default": "
|
4720
|
-
"description": "
|
4484
|
+
"name": "content-position",
|
4485
|
+
"default": "`center`",
|
4486
|
+
"description": "Content position, can be set to `left` `right`",
|
4721
4487
|
"options": [],
|
4722
4488
|
"value": {
|
4723
4489
|
"type": "string",
|
@@ -4727,7 +4493,7 @@
|
|
4727
4493
|
]
|
4728
4494
|
},
|
4729
4495
|
{
|
4730
|
-
"name": "
|
4496
|
+
"name": "field",
|
4731
4497
|
"slots": [
|
4732
4498
|
{
|
4733
4499
|
"name": "label",
|
@@ -4838,6 +4604,20 @@
|
|
4838
4604
|
"type": "MouseEvent"
|
4839
4605
|
}
|
4840
4606
|
]
|
4607
|
+
},
|
4608
|
+
{
|
4609
|
+
"name": "start-validate",
|
4610
|
+
"description": "Emitted when start validation",
|
4611
|
+
"arguments": []
|
4612
|
+
},
|
4613
|
+
{
|
4614
|
+
"name": "end-validate",
|
4615
|
+
"description": "Emitted when end validation",
|
4616
|
+
"arguments": [
|
4617
|
+
{
|
4618
|
+
"name": "{ status: string }"
|
4619
|
+
}
|
4620
|
+
]
|
4841
4621
|
}
|
4842
4622
|
],
|
4843
4623
|
"attributes": [
|
@@ -5077,54 +4857,278 @@
|
|
5077
4857
|
"description": "Error message align, can be set to `center` `right`",
|
5078
4858
|
"options": [],
|
5079
4859
|
"value": {
|
5080
|
-
"type": "FieldTextAlign",
|
4860
|
+
"type": "FieldTextAlign",
|
4861
|
+
"kind": "expression"
|
4862
|
+
}
|
4863
|
+
},
|
4864
|
+
{
|
4865
|
+
"name": "formatter",
|
4866
|
+
"default": "-",
|
4867
|
+
"description": "Input value formatter",
|
4868
|
+
"options": [],
|
4869
|
+
"value": {
|
4870
|
+
"type": "(val: string) => string",
|
4871
|
+
"kind": "expression"
|
4872
|
+
}
|
4873
|
+
},
|
4874
|
+
{
|
4875
|
+
"name": "format-trigger",
|
4876
|
+
"default": "`onChange`",
|
4877
|
+
"description": "When to format value, can be set to `onBlur`",
|
4878
|
+
"options": [],
|
4879
|
+
"value": {
|
4880
|
+
"type": "FieldFormatTrigger",
|
4881
|
+
"kind": "expression"
|
4882
|
+
}
|
4883
|
+
},
|
4884
|
+
{
|
4885
|
+
"name": "arrow-direction",
|
4886
|
+
"default": "`right`",
|
4887
|
+
"description": "Can be set to `left` `up` `down`",
|
4888
|
+
"options": [],
|
4889
|
+
"value": {
|
4890
|
+
"type": "string",
|
4891
|
+
"kind": "expression"
|
4892
|
+
}
|
4893
|
+
},
|
4894
|
+
{
|
4895
|
+
"name": "label-class",
|
4896
|
+
"default": "-",
|
4897
|
+
"description": "Label className",
|
4898
|
+
"options": [],
|
4899
|
+
"value": {
|
4900
|
+
"type": "string | Array | object",
|
4901
|
+
"kind": "expression"
|
4902
|
+
}
|
4903
|
+
},
|
4904
|
+
{
|
4905
|
+
"name": "label-width",
|
4906
|
+
"default": "`6.2em`",
|
4907
|
+
"description": "Label width",
|
4908
|
+
"options": [],
|
4909
|
+
"value": {
|
4910
|
+
"type": "number | string",
|
4911
|
+
"kind": "expression"
|
4912
|
+
}
|
4913
|
+
},
|
4914
|
+
{
|
4915
|
+
"name": "label-align",
|
4916
|
+
"default": "`left`",
|
4917
|
+
"description": "Label align, can be set to `center` `right`",
|
4918
|
+
"options": [],
|
4919
|
+
"value": {
|
4920
|
+
"type": "FieldTextAlign",
|
4921
|
+
"kind": "expression"
|
4922
|
+
}
|
4923
|
+
},
|
4924
|
+
{
|
4925
|
+
"name": "input-align",
|
4926
|
+
"default": "`left`",
|
4927
|
+
"description": "Input align, can be set to `center` `right`",
|
4928
|
+
"options": [],
|
4929
|
+
"value": {
|
4930
|
+
"type": "FieldTextAlign",
|
4931
|
+
"kind": "expression"
|
4932
|
+
}
|
4933
|
+
},
|
4934
|
+
{
|
4935
|
+
"name": "autosize",
|
4936
|
+
"default": "`false`",
|
4937
|
+
"description": "Textarea auto resize, can accept an object,<br>e.g. { maxHeight: 100, minHeight: 50 }",
|
4938
|
+
"options": [],
|
4939
|
+
"value": {
|
4940
|
+
"type": "boolean | FieldAutosizeConfig",
|
4941
|
+
"kind": "expression"
|
4942
|
+
}
|
4943
|
+
},
|
4944
|
+
{
|
4945
|
+
"name": "left-icon",
|
4946
|
+
"default": "-",
|
4947
|
+
"description": "Left side icon name",
|
4948
|
+
"options": [],
|
4949
|
+
"value": {
|
4950
|
+
"type": "string",
|
4951
|
+
"kind": "expression"
|
4952
|
+
}
|
4953
|
+
},
|
4954
|
+
{
|
4955
|
+
"name": "right-icon",
|
4956
|
+
"default": "-",
|
4957
|
+
"description": "Right side icon name",
|
4958
|
+
"options": [],
|
4959
|
+
"value": {
|
4960
|
+
"type": "string",
|
4961
|
+
"kind": "expression"
|
4962
|
+
}
|
4963
|
+
},
|
4964
|
+
{
|
4965
|
+
"name": "icon-prefix",
|
4966
|
+
"default": "`van-icon`",
|
4967
|
+
"description": "Icon className prefix",
|
4968
|
+
"options": [],
|
4969
|
+
"value": {
|
4970
|
+
"type": "string",
|
4971
|
+
"kind": "expression"
|
4972
|
+
}
|
4973
|
+
},
|
4974
|
+
{
|
4975
|
+
"name": "rules",
|
4976
|
+
"default": "-",
|
4977
|
+
"description": "Form validation rules",
|
4978
|
+
"options": [],
|
4979
|
+
"value": {
|
4980
|
+
"type": "FieldRule[]",
|
4981
|
+
"kind": "expression"
|
4982
|
+
}
|
4983
|
+
},
|
4984
|
+
{
|
4985
|
+
"name": "autocomplete",
|
4986
|
+
"default": "-",
|
4987
|
+
"description": "HTML native attribute, see [MDN - autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)",
|
4988
|
+
"options": [],
|
4989
|
+
"value": {
|
4990
|
+
"type": "string",
|
4991
|
+
"kind": "expression"
|
4992
|
+
}
|
4993
|
+
},
|
4994
|
+
{
|
4995
|
+
"name": "enterkeyhint",
|
4996
|
+
"default": "-",
|
4997
|
+
"description": "HTML native attribute, see [MDN - enterkeyhint](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint)<br>",
|
4998
|
+
"options": [],
|
4999
|
+
"value": {
|
5000
|
+
"type": "string",
|
5001
|
+
"kind": "expression"
|
5002
|
+
}
|
5003
|
+
}
|
5004
|
+
]
|
5005
|
+
},
|
5006
|
+
{
|
5007
|
+
"name": "dropdown-menu",
|
5008
|
+
"slots": [],
|
5009
|
+
"events": [],
|
5010
|
+
"attributes": [
|
5011
|
+
{
|
5012
|
+
"name": "active-color",
|
5013
|
+
"default": "`#ee0a24`",
|
5014
|
+
"description": "Active color of title and option",
|
5015
|
+
"options": [],
|
5016
|
+
"value": {
|
5017
|
+
"type": "string",
|
5018
|
+
"kind": "expression"
|
5019
|
+
}
|
5020
|
+
},
|
5021
|
+
{
|
5022
|
+
"name": "direction",
|
5023
|
+
"default": "`down`",
|
5024
|
+
"description": "Expand direction, can be set to `up`",
|
5025
|
+
"options": [],
|
5026
|
+
"value": {
|
5027
|
+
"type": "string",
|
5028
|
+
"kind": "expression"
|
5029
|
+
}
|
5030
|
+
},
|
5031
|
+
{
|
5032
|
+
"name": "z-index",
|
5033
|
+
"default": "`10`",
|
5034
|
+
"description": "z-index of menu item",
|
5035
|
+
"options": [],
|
5036
|
+
"value": {
|
5037
|
+
"type": "number | string",
|
5081
5038
|
"kind": "expression"
|
5082
5039
|
}
|
5083
5040
|
},
|
5084
5041
|
{
|
5085
|
-
"name": "
|
5086
|
-
"default": "
|
5087
|
-
"description": "
|
5042
|
+
"name": "duration",
|
5043
|
+
"default": "`0.2`",
|
5044
|
+
"description": "Transition duration, unit second",
|
5088
5045
|
"options": [],
|
5089
5046
|
"value": {
|
5090
|
-
"type": "
|
5047
|
+
"type": "number | string",
|
5091
5048
|
"kind": "expression"
|
5092
5049
|
}
|
5093
5050
|
},
|
5094
5051
|
{
|
5095
|
-
"name": "
|
5096
|
-
"default": "`
|
5097
|
-
"description": "
|
5052
|
+
"name": "overlay",
|
5053
|
+
"default": "`true`",
|
5054
|
+
"description": "Whether to show overlay",
|
5098
5055
|
"options": [],
|
5099
5056
|
"value": {
|
5100
|
-
"type": "
|
5057
|
+
"type": "boolean",
|
5101
5058
|
"kind": "expression"
|
5102
5059
|
}
|
5103
5060
|
},
|
5104
5061
|
{
|
5105
|
-
"name": "
|
5106
|
-
"default": "`
|
5107
|
-
"description": "
|
5062
|
+
"name": "close-on-click-overlay",
|
5063
|
+
"default": "`true`",
|
5064
|
+
"description": "Whether to close when overlay is clicked",
|
5108
5065
|
"options": [],
|
5109
5066
|
"value": {
|
5110
|
-
"type": "
|
5067
|
+
"type": "boolean",
|
5111
5068
|
"kind": "expression"
|
5112
5069
|
}
|
5113
5070
|
},
|
5114
5071
|
{
|
5115
|
-
"name": "
|
5116
|
-
"default": "
|
5117
|
-
"description": "
|
5072
|
+
"name": "close-on-click-outside",
|
5073
|
+
"default": "`true`",
|
5074
|
+
"description": "Whether to close when outside is clicked",
|
5118
5075
|
"options": [],
|
5119
5076
|
"value": {
|
5120
|
-
"type": "
|
5077
|
+
"type": "boolean",
|
5121
5078
|
"kind": "expression"
|
5122
5079
|
}
|
5080
|
+
}
|
5081
|
+
]
|
5082
|
+
},
|
5083
|
+
{
|
5084
|
+
"name": "dropdown-item",
|
5085
|
+
"slots": [
|
5086
|
+
{
|
5087
|
+
"name": "default",
|
5088
|
+
"description": "Content"
|
5123
5089
|
},
|
5124
5090
|
{
|
5125
|
-
"name": "
|
5126
|
-
"
|
5127
|
-
|
5091
|
+
"name": "title",
|
5092
|
+
"description": "Custom title"
|
5093
|
+
}
|
5094
|
+
],
|
5095
|
+
"events": [
|
5096
|
+
{
|
5097
|
+
"name": "change",
|
5098
|
+
"description": "Emitted select option and value changed",
|
5099
|
+
"arguments": [
|
5100
|
+
{
|
5101
|
+
"name": "value",
|
5102
|
+
"type": "number | string"
|
5103
|
+
}
|
5104
|
+
]
|
5105
|
+
},
|
5106
|
+
{
|
5107
|
+
"name": "open",
|
5108
|
+
"description": "Emitted when opening menu",
|
5109
|
+
"arguments": []
|
5110
|
+
},
|
5111
|
+
{
|
5112
|
+
"name": "close",
|
5113
|
+
"description": "Emitted when closing menu",
|
5114
|
+
"arguments": []
|
5115
|
+
},
|
5116
|
+
{
|
5117
|
+
"name": "opened",
|
5118
|
+
"description": "Emitted when menu is opened",
|
5119
|
+
"arguments": []
|
5120
|
+
},
|
5121
|
+
{
|
5122
|
+
"name": "closed",
|
5123
|
+
"description": "Emitted when menu is closed",
|
5124
|
+
"arguments": []
|
5125
|
+
}
|
5126
|
+
],
|
5127
|
+
"attributes": [
|
5128
|
+
{
|
5129
|
+
"name": "v-model",
|
5130
|
+
"default": "-",
|
5131
|
+
"description": "Value of current option",
|
5128
5132
|
"options": [],
|
5129
5133
|
"value": {
|
5130
5134
|
"type": "number | string",
|
@@ -5132,89 +5136,109 @@
|
|
5132
5136
|
}
|
5133
5137
|
},
|
5134
5138
|
{
|
5135
|
-
"name": "
|
5136
|
-
"default": "
|
5137
|
-
"description": "
|
5139
|
+
"name": "title",
|
5140
|
+
"default": "Text of selected option",
|
5141
|
+
"description": "Item title",
|
5138
5142
|
"options": [],
|
5139
5143
|
"value": {
|
5140
|
-
"type": "
|
5144
|
+
"type": "string",
|
5141
5145
|
"kind": "expression"
|
5142
5146
|
}
|
5143
5147
|
},
|
5144
5148
|
{
|
5145
|
-
"name": "
|
5146
|
-
"default": "`
|
5147
|
-
"description": "
|
5149
|
+
"name": "options",
|
5150
|
+
"default": "`[]`",
|
5151
|
+
"description": "Options",
|
5148
5152
|
"options": [],
|
5149
5153
|
"value": {
|
5150
|
-
"type": "
|
5154
|
+
"type": "Option[]",
|
5151
5155
|
"kind": "expression"
|
5152
5156
|
}
|
5153
5157
|
},
|
5154
5158
|
{
|
5155
|
-
"name": "
|
5159
|
+
"name": "disabled",
|
5156
5160
|
"default": "`false`",
|
5157
|
-
"description": "
|
5161
|
+
"description": "Whether to disable dropdown item",
|
5158
5162
|
"options": [],
|
5159
5163
|
"value": {
|
5160
|
-
"type": "boolean
|
5164
|
+
"type": "boolean",
|
5161
5165
|
"kind": "expression"
|
5162
5166
|
}
|
5163
5167
|
},
|
5164
5168
|
{
|
5165
|
-
"name": "
|
5166
|
-
"default": "
|
5167
|
-
"description": "
|
5169
|
+
"name": "lazy-render",
|
5170
|
+
"default": "`true`",
|
5171
|
+
"description": "Whether to lazy render util opened",
|
5168
5172
|
"options": [],
|
5169
5173
|
"value": {
|
5170
|
-
"type": "
|
5174
|
+
"type": "boolean",
|
5171
5175
|
"kind": "expression"
|
5172
5176
|
}
|
5173
5177
|
},
|
5174
5178
|
{
|
5175
|
-
"name": "
|
5179
|
+
"name": "title-class",
|
5176
5180
|
"default": "-",
|
5177
|
-
"description": "
|
5181
|
+
"description": "Title class",
|
5178
5182
|
"options": [],
|
5179
5183
|
"value": {
|
5180
|
-
"type": "string",
|
5184
|
+
"type": "string | Array | object",
|
5181
5185
|
"kind": "expression"
|
5182
5186
|
}
|
5183
5187
|
},
|
5184
5188
|
{
|
5185
|
-
"name": "
|
5186
|
-
"default": "
|
5187
|
-
"description": "
|
5189
|
+
"name": "teleport",
|
5190
|
+
"default": "-",
|
5191
|
+
"description": "Specifies a target element where DropdownItem will be mounted",
|
5188
5192
|
"options": [],
|
5189
5193
|
"value": {
|
5190
|
-
"type": "string",
|
5194
|
+
"type": "string | Element",
|
5191
5195
|
"kind": "expression"
|
5192
5196
|
}
|
5197
|
+
}
|
5198
|
+
]
|
5199
|
+
},
|
5200
|
+
{
|
5201
|
+
"name": "empty",
|
5202
|
+
"slots": [
|
5203
|
+
{
|
5204
|
+
"name": "default",
|
5205
|
+
"description": "Custom bottom content"
|
5193
5206
|
},
|
5194
5207
|
{
|
5195
|
-
"name": "
|
5196
|
-
"
|
5197
|
-
|
5208
|
+
"name": "image",
|
5209
|
+
"description": "Custom image"
|
5210
|
+
},
|
5211
|
+
{
|
5212
|
+
"name": "description",
|
5213
|
+
"description": "Custom description"
|
5214
|
+
}
|
5215
|
+
],
|
5216
|
+
"events": [],
|
5217
|
+
"attributes": [
|
5218
|
+
{
|
5219
|
+
"name": "image",
|
5220
|
+
"default": "`default`",
|
5221
|
+
"description": "Image type, can be set to `error` `network` `search` or image URL",
|
5198
5222
|
"options": [],
|
5199
5223
|
"value": {
|
5200
|
-
"type": "
|
5224
|
+
"type": "string",
|
5201
5225
|
"kind": "expression"
|
5202
5226
|
}
|
5203
5227
|
},
|
5204
5228
|
{
|
5205
|
-
"name": "
|
5229
|
+
"name": "image-size",
|
5206
5230
|
"default": "-",
|
5207
|
-
"description": "
|
5231
|
+
"description": "Image size",
|
5208
5232
|
"options": [],
|
5209
5233
|
"value": {
|
5210
|
-
"type": "string",
|
5234
|
+
"type": "number | string | Array",
|
5211
5235
|
"kind": "expression"
|
5212
5236
|
}
|
5213
5237
|
},
|
5214
5238
|
{
|
5215
|
-
"name": "
|
5239
|
+
"name": "description",
|
5216
5240
|
"default": "-",
|
5217
|
-
"description": "
|
5241
|
+
"description": "Description",
|
5218
5242
|
"options": [],
|
5219
5243
|
"value": {
|
5220
5244
|
"type": "string",
|
@@ -5224,7 +5248,7 @@
|
|
5224
5248
|
]
|
5225
5249
|
},
|
5226
5250
|
{
|
5227
|
-
"name": "
|
5251
|
+
"name": "form",
|
5228
5252
|
"slots": [
|
5229
5253
|
{
|
5230
5254
|
"name": "default",
|
@@ -5387,7 +5411,7 @@
|
|
5387
5411
|
]
|
5388
5412
|
},
|
5389
5413
|
{
|
5390
|
-
"name": "
|
5414
|
+
"name": "grid",
|
5391
5415
|
"slots": [],
|
5392
5416
|
"events": [],
|
5393
5417
|
"attributes": [
|
@@ -5484,7 +5508,7 @@
|
|
5484
5508
|
]
|
5485
5509
|
},
|
5486
5510
|
{
|
5487
|
-
"name": "
|
5511
|
+
"name": "grid-item",
|
5488
5512
|
"slots": [
|
5489
5513
|
{
|
5490
5514
|
"name": "default",
|
@@ -5615,7 +5639,7 @@
|
|
5615
5639
|
]
|
5616
5640
|
},
|
5617
5641
|
{
|
5618
|
-
"name": "
|
5642
|
+
"name": "icon",
|
5619
5643
|
"slots": [],
|
5620
5644
|
"events": [
|
5621
5645
|
{
|
@@ -5713,7 +5737,7 @@
|
|
5713
5737
|
]
|
5714
5738
|
},
|
5715
5739
|
{
|
5716
|
-
"name": "
|
5740
|
+
"name": "image",
|
5717
5741
|
"slots": [
|
5718
5742
|
{
|
5719
5743
|
"name": "default",
|
@@ -5904,7 +5928,7 @@
|
|
5904
5928
|
]
|
5905
5929
|
},
|
5906
5930
|
{
|
5907
|
-
"name": "
|
5931
|
+
"name": "image-preview",
|
5908
5932
|
"slots": [
|
5909
5933
|
{
|
5910
5934
|
"name": "index",
|
@@ -6156,7 +6180,7 @@
|
|
6156
6180
|
]
|
6157
6181
|
},
|
6158
6182
|
{
|
6159
|
-
"name": "
|
6183
|
+
"name": "index-bar",
|
6160
6184
|
"slots": [],
|
6161
6185
|
"events": [
|
6162
6186
|
{
|
@@ -6244,7 +6268,7 @@
|
|
6244
6268
|
]
|
6245
6269
|
},
|
6246
6270
|
{
|
6247
|
-
"name": "
|
6271
|
+
"name": "index-anchor",
|
6248
6272
|
"slots": [
|
6249
6273
|
{
|
6250
6274
|
"name": "default",
|
@@ -6266,7 +6290,7 @@
|
|
6266
6290
|
]
|
6267
6291
|
},
|
6268
6292
|
{
|
6269
|
-
"name": "
|
6293
|
+
"name": "list",
|
6270
6294
|
"slots": [
|
6271
6295
|
{
|
6272
6296
|
"name": "default",
|
@@ -6386,7 +6410,7 @@
|
|
6386
6410
|
]
|
6387
6411
|
},
|
6388
6412
|
{
|
6389
|
-
"name": "
|
6413
|
+
"name": "loading",
|
6390
6414
|
"slots": [
|
6391
6415
|
{
|
6392
6416
|
"name": "default",
|
@@ -6458,7 +6482,7 @@
|
|
6458
6482
|
]
|
6459
6483
|
},
|
6460
6484
|
{
|
6461
|
-
"name": "
|
6485
|
+
"name": "nav-bar",
|
6462
6486
|
"slots": [
|
6463
6487
|
{
|
6464
6488
|
"name": "title",
|
@@ -6589,7 +6613,7 @@
|
|
6589
6613
|
]
|
6590
6614
|
},
|
6591
6615
|
{
|
6592
|
-
"name": "
|
6616
|
+
"name": "notice-bar",
|
6593
6617
|
"slots": [
|
6594
6618
|
{
|
6595
6619
|
"name": "default",
|
@@ -6725,7 +6749,7 @@
|
|
6725
6749
|
]
|
6726
6750
|
},
|
6727
6751
|
{
|
6728
|
-
"name": "
|
6752
|
+
"name": "number-keyboard",
|
6729
6753
|
"slots": [
|
6730
6754
|
{
|
6731
6755
|
"name": "delete",
|
@@ -6879,9 +6903,102 @@
|
|
6879
6903
|
}
|
6880
6904
|
},
|
6881
6905
|
{
|
6882
|
-
"name": "close-button-loading",
|
6906
|
+
"name": "close-button-loading",
|
6907
|
+
"default": "`false`",
|
6908
|
+
"description": "Whether to show loading close button in custom theme",
|
6909
|
+
"options": [],
|
6910
|
+
"value": {
|
6911
|
+
"type": "boolean",
|
6912
|
+
"kind": "expression"
|
6913
|
+
}
|
6914
|
+
},
|
6915
|
+
{
|
6916
|
+
"name": "show-delete-key",
|
6917
|
+
"default": "`true`",
|
6918
|
+
"description": "Whether to show delete button",
|
6919
|
+
"options": [],
|
6920
|
+
"value": {
|
6921
|
+
"type": "boolean",
|
6922
|
+
"kind": "expression"
|
6923
|
+
}
|
6924
|
+
},
|
6925
|
+
{
|
6926
|
+
"name": "blur-on-close",
|
6927
|
+
"default": "`true`",
|
6928
|
+
"description": "Whether to emit blur event when clicking close button",
|
6929
|
+
"options": [],
|
6930
|
+
"value": {
|
6931
|
+
"type": "boolean",
|
6932
|
+
"kind": "expression"
|
6933
|
+
}
|
6934
|
+
},
|
6935
|
+
{
|
6936
|
+
"name": "hide-on-click-outside",
|
6937
|
+
"default": "`true`",
|
6938
|
+
"description": "Whether to hide keyboard when outside is clicked",
|
6939
|
+
"options": [],
|
6940
|
+
"value": {
|
6941
|
+
"type": "boolean",
|
6942
|
+
"kind": "expression"
|
6943
|
+
}
|
6944
|
+
},
|
6945
|
+
{
|
6946
|
+
"name": "teleport",
|
6947
|
+
"default": "-",
|
6948
|
+
"description": "Specifies a target element where NumberKeyboard will be mounted",
|
6949
|
+
"options": [],
|
6950
|
+
"value": {
|
6951
|
+
"type": "string | Element",
|
6952
|
+
"kind": "expression"
|
6953
|
+
}
|
6954
|
+
},
|
6955
|
+
{
|
6956
|
+
"name": "safe-area-inset-bottom",
|
6957
|
+
"default": "`true`",
|
6958
|
+
"description": "Whether to enable bottom safe area adaptation",
|
6959
|
+
"options": [],
|
6960
|
+
"value": {
|
6961
|
+
"type": "boolean",
|
6962
|
+
"kind": "expression"
|
6963
|
+
}
|
6964
|
+
},
|
6965
|
+
{
|
6966
|
+
"name": "random-key-order",
|
6967
|
+
"default": "`false`",
|
6968
|
+
"description": "Whether to shuffle the order of keys",
|
6969
|
+
"options": [],
|
6970
|
+
"value": {
|
6971
|
+
"type": "boolean",
|
6972
|
+
"kind": "expression"
|
6973
|
+
}
|
6974
|
+
}
|
6975
|
+
]
|
6976
|
+
},
|
6977
|
+
{
|
6978
|
+
"name": "overlay",
|
6979
|
+
"slots": [
|
6980
|
+
{
|
6981
|
+
"name": "default",
|
6982
|
+
"description": "Default slot"
|
6983
|
+
}
|
6984
|
+
],
|
6985
|
+
"events": [
|
6986
|
+
{
|
6987
|
+
"name": "click",
|
6988
|
+
"description": "Emitted when component is clicked",
|
6989
|
+
"arguments": [
|
6990
|
+
{
|
6991
|
+
"name": "event",
|
6992
|
+
"type": "MouseEvent"
|
6993
|
+
}
|
6994
|
+
]
|
6995
|
+
}
|
6996
|
+
],
|
6997
|
+
"attributes": [
|
6998
|
+
{
|
6999
|
+
"name": "show",
|
6883
7000
|
"default": "`false`",
|
6884
|
-
"description": "Whether to show
|
7001
|
+
"description": "Whether to show overlay",
|
6885
7002
|
"options": [],
|
6886
7003
|
"value": {
|
6887
7004
|
"type": "boolean",
|
@@ -6889,49 +7006,49 @@
|
|
6889
7006
|
}
|
6890
7007
|
},
|
6891
7008
|
{
|
6892
|
-
"name": "
|
6893
|
-
"default": "`
|
6894
|
-
"description": "
|
7009
|
+
"name": "z-index",
|
7010
|
+
"default": "`1`",
|
7011
|
+
"description": "z-index",
|
6895
7012
|
"options": [],
|
6896
7013
|
"value": {
|
6897
|
-
"type": "
|
7014
|
+
"type": "number | string",
|
6898
7015
|
"kind": "expression"
|
6899
7016
|
}
|
6900
7017
|
},
|
6901
7018
|
{
|
6902
|
-
"name": "
|
6903
|
-
"default": "`
|
6904
|
-
"description": "
|
7019
|
+
"name": "duration",
|
7020
|
+
"default": "`0.3`",
|
7021
|
+
"description": "Animation duration",
|
6905
7022
|
"options": [],
|
6906
7023
|
"value": {
|
6907
|
-
"type": "
|
7024
|
+
"type": "number | string",
|
6908
7025
|
"kind": "expression"
|
6909
7026
|
}
|
6910
7027
|
},
|
6911
7028
|
{
|
6912
|
-
"name": "
|
6913
|
-
"default": "
|
6914
|
-
"description": "
|
7029
|
+
"name": "class-name",
|
7030
|
+
"default": "-",
|
7031
|
+
"description": "ClassName",
|
6915
7032
|
"options": [],
|
6916
7033
|
"value": {
|
6917
|
-
"type": "
|
7034
|
+
"type": "string",
|
6918
7035
|
"kind": "expression"
|
6919
7036
|
}
|
6920
7037
|
},
|
6921
7038
|
{
|
6922
|
-
"name": "
|
7039
|
+
"name": "custom-class",
|
6923
7040
|
"default": "-",
|
6924
|
-
"description": "
|
7041
|
+
"description": "Custom style",
|
6925
7042
|
"options": [],
|
6926
7043
|
"value": {
|
6927
|
-
"type": "
|
7044
|
+
"type": "object",
|
6928
7045
|
"kind": "expression"
|
6929
7046
|
}
|
6930
7047
|
},
|
6931
7048
|
{
|
6932
|
-
"name": "
|
7049
|
+
"name": "lock-scroll",
|
6933
7050
|
"default": "`true`",
|
6934
|
-
"description": "Whether to
|
7051
|
+
"description": "Whether to lock background scroll",
|
6935
7052
|
"options": [],
|
6936
7053
|
"value": {
|
6937
7054
|
"type": "boolean",
|
@@ -6939,9 +7056,9 @@
|
|
6939
7056
|
}
|
6940
7057
|
},
|
6941
7058
|
{
|
6942
|
-
"name": "
|
6943
|
-
"default": "`
|
6944
|
-
"description": "Whether to
|
7059
|
+
"name": "lazy-render",
|
7060
|
+
"default": "`true`",
|
7061
|
+
"description": "Whether to lazy render util appeared",
|
6945
7062
|
"options": [],
|
6946
7063
|
"value": {
|
6947
7064
|
"type": "boolean",
|
@@ -6951,7 +7068,7 @@
|
|
6951
7068
|
]
|
6952
7069
|
},
|
6953
7070
|
{
|
6954
|
-
"name": "
|
7071
|
+
"name": "pagination",
|
6955
7072
|
"slots": [
|
6956
7073
|
{
|
6957
7074
|
"name": "page",
|
@@ -7067,100 +7184,7 @@
|
|
7067
7184
|
]
|
7068
7185
|
},
|
7069
7186
|
{
|
7070
|
-
"name": "
|
7071
|
-
"slots": [
|
7072
|
-
{
|
7073
|
-
"name": "default",
|
7074
|
-
"description": "Default slot"
|
7075
|
-
}
|
7076
|
-
],
|
7077
|
-
"events": [
|
7078
|
-
{
|
7079
|
-
"name": "click",
|
7080
|
-
"description": "Emitted when component is clicked",
|
7081
|
-
"arguments": [
|
7082
|
-
{
|
7083
|
-
"name": "event",
|
7084
|
-
"type": "MouseEvent"
|
7085
|
-
}
|
7086
|
-
]
|
7087
|
-
}
|
7088
|
-
],
|
7089
|
-
"attributes": [
|
7090
|
-
{
|
7091
|
-
"name": "show",
|
7092
|
-
"default": "`false`",
|
7093
|
-
"description": "Whether to show overlay",
|
7094
|
-
"options": [],
|
7095
|
-
"value": {
|
7096
|
-
"type": "boolean",
|
7097
|
-
"kind": "expression"
|
7098
|
-
}
|
7099
|
-
},
|
7100
|
-
{
|
7101
|
-
"name": "z-index",
|
7102
|
-
"default": "`1`",
|
7103
|
-
"description": "z-index",
|
7104
|
-
"options": [],
|
7105
|
-
"value": {
|
7106
|
-
"type": "number | string",
|
7107
|
-
"kind": "expression"
|
7108
|
-
}
|
7109
|
-
},
|
7110
|
-
{
|
7111
|
-
"name": "duration",
|
7112
|
-
"default": "`0.3`",
|
7113
|
-
"description": "Animation duration",
|
7114
|
-
"options": [],
|
7115
|
-
"value": {
|
7116
|
-
"type": "number | string",
|
7117
|
-
"kind": "expression"
|
7118
|
-
}
|
7119
|
-
},
|
7120
|
-
{
|
7121
|
-
"name": "class-name",
|
7122
|
-
"default": "-",
|
7123
|
-
"description": "ClassName",
|
7124
|
-
"options": [],
|
7125
|
-
"value": {
|
7126
|
-
"type": "string",
|
7127
|
-
"kind": "expression"
|
7128
|
-
}
|
7129
|
-
},
|
7130
|
-
{
|
7131
|
-
"name": "custom-class",
|
7132
|
-
"default": "-",
|
7133
|
-
"description": "Custom style",
|
7134
|
-
"options": [],
|
7135
|
-
"value": {
|
7136
|
-
"type": "object",
|
7137
|
-
"kind": "expression"
|
7138
|
-
}
|
7139
|
-
},
|
7140
|
-
{
|
7141
|
-
"name": "lock-scroll",
|
7142
|
-
"default": "`true`",
|
7143
|
-
"description": "Whether to lock background scroll",
|
7144
|
-
"options": [],
|
7145
|
-
"value": {
|
7146
|
-
"type": "boolean",
|
7147
|
-
"kind": "expression"
|
7148
|
-
}
|
7149
|
-
},
|
7150
|
-
{
|
7151
|
-
"name": "lazy-render",
|
7152
|
-
"default": "`true`",
|
7153
|
-
"description": "Whether to lazy render util appeared",
|
7154
|
-
"options": [],
|
7155
|
-
"value": {
|
7156
|
-
"type": "boolean",
|
7157
|
-
"kind": "expression"
|
7158
|
-
}
|
7159
|
-
}
|
7160
|
-
]
|
7161
|
-
},
|
7162
|
-
{
|
7163
|
-
"name": "van-password-input",
|
7187
|
+
"name": "password-input",
|
7164
7188
|
"slots": [],
|
7165
7189
|
"events": [
|
7166
7190
|
{
|
@@ -7243,7 +7267,7 @@
|
|
7243
7267
|
]
|
7244
7268
|
},
|
7245
7269
|
{
|
7246
|
-
"name": "
|
7270
|
+
"name": "picker",
|
7247
7271
|
"slots": [
|
7248
7272
|
{
|
7249
7273
|
"name": "toolbar",
|
@@ -7452,7 +7476,7 @@
|
|
7452
7476
|
]
|
7453
7477
|
},
|
7454
7478
|
{
|
7455
|
-
"name": "
|
7479
|
+
"name": "popover",
|
7456
7480
|
"slots": [
|
7457
7481
|
{
|
7458
7482
|
"name": "default",
|
@@ -7677,7 +7701,7 @@
|
|
7677
7701
|
]
|
7678
7702
|
},
|
7679
7703
|
{
|
7680
|
-
"name": "
|
7704
|
+
"name": "popup",
|
7681
7705
|
"slots": [
|
7682
7706
|
{
|
7683
7707
|
"name": "default",
|
@@ -7954,7 +7978,7 @@
|
|
7954
7978
|
]
|
7955
7979
|
},
|
7956
7980
|
{
|
7957
|
-
"name": "
|
7981
|
+
"name": "progress",
|
7958
7982
|
"slots": [],
|
7959
7983
|
"events": [],
|
7960
7984
|
"attributes": [
|
@@ -8051,7 +8075,7 @@
|
|
8051
8075
|
]
|
8052
8076
|
},
|
8053
8077
|
{
|
8054
|
-
"name": "
|
8078
|
+
"name": "pull-refresh",
|
8055
8079
|
"slots": [
|
8056
8080
|
{
|
8057
8081
|
"name": "default",
|
@@ -8083,6 +8107,15 @@
|
|
8083
8107
|
"name": "refresh",
|
8084
8108
|
"description": "Emitted after pulling refresh",
|
8085
8109
|
"arguments": []
|
8110
|
+
},
|
8111
|
+
{
|
8112
|
+
"name": "change",
|
8113
|
+
"description": "Emitted when draging or status changed",
|
8114
|
+
"arguments": [
|
8115
|
+
{
|
8116
|
+
"name": "{ status: string, distance: number }"
|
8117
|
+
}
|
8118
|
+
]
|
8086
8119
|
}
|
8087
8120
|
],
|
8088
8121
|
"attributes": [
|
@@ -8189,7 +8222,7 @@
|
|
8189
8222
|
]
|
8190
8223
|
},
|
8191
8224
|
{
|
8192
|
-
"name": "
|
8225
|
+
"name": "radio",
|
8193
8226
|
"slots": [
|
8194
8227
|
{
|
8195
8228
|
"name": "default",
|
@@ -8216,7 +8249,7 @@
|
|
8216
8249
|
{
|
8217
8250
|
"name": "name",
|
8218
8251
|
"default": "-",
|
8219
|
-
"description": "Radio name",
|
8252
|
+
"description": "Radio name, usually a unique string or number",
|
8220
8253
|
"options": [],
|
8221
8254
|
"value": {
|
8222
8255
|
"type": "any",
|
@@ -8286,7 +8319,7 @@
|
|
8286
8319
|
]
|
8287
8320
|
},
|
8288
8321
|
{
|
8289
|
-
"name": "
|
8322
|
+
"name": "radio-group",
|
8290
8323
|
"slots": [],
|
8291
8324
|
"events": [
|
8292
8325
|
{
|
@@ -8354,7 +8387,7 @@
|
|
8354
8387
|
]
|
8355
8388
|
},
|
8356
8389
|
{
|
8357
|
-
"name": "
|
8390
|
+
"name": "rate",
|
8358
8391
|
"slots": [],
|
8359
8392
|
"events": [
|
8360
8393
|
{
|
@@ -8512,7 +8545,7 @@
|
|
8512
8545
|
]
|
8513
8546
|
},
|
8514
8547
|
{
|
8515
|
-
"name": "
|
8548
|
+
"name": "search",
|
8516
8549
|
"slots": [
|
8517
8550
|
{
|
8518
8551
|
"name": "left",
|
@@ -8866,7 +8899,7 @@
|
|
8866
8899
|
]
|
8867
8900
|
},
|
8868
8901
|
{
|
8869
|
-
"name": "
|
8902
|
+
"name": "share-sheet",
|
8870
8903
|
"slots": [
|
8871
8904
|
{
|
8872
8905
|
"name": "title",
|
@@ -9106,7 +9139,7 @@
|
|
9106
9139
|
]
|
9107
9140
|
},
|
9108
9141
|
{
|
9109
|
-
"name": "
|
9142
|
+
"name": "sidebar",
|
9110
9143
|
"slots": [],
|
9111
9144
|
"events": [
|
9112
9145
|
{
|
@@ -9134,7 +9167,7 @@
|
|
9134
9167
|
]
|
9135
9168
|
},
|
9136
9169
|
{
|
9137
|
-
"name": "
|
9170
|
+
"name": "sidebar-item",
|
9138
9171
|
"slots": [
|
9139
9172
|
{
|
9140
9173
|
"name": "title",
|
@@ -9237,7 +9270,7 @@
|
|
9237
9270
|
]
|
9238
9271
|
},
|
9239
9272
|
{
|
9240
|
-
"name": "
|
9273
|
+
"name": "skeleton",
|
9241
9274
|
"slots": [],
|
9242
9275
|
"events": [],
|
9243
9276
|
"attributes": [
|
@@ -9344,7 +9377,7 @@
|
|
9344
9377
|
]
|
9345
9378
|
},
|
9346
9379
|
{
|
9347
|
-
"name": "
|
9380
|
+
"name": "slider",
|
9348
9381
|
"slots": [
|
9349
9382
|
{
|
9350
9383
|
"name": "button",
|
@@ -9534,7 +9567,7 @@
|
|
9534
9567
|
]
|
9535
9568
|
},
|
9536
9569
|
{
|
9537
|
-
"name": "
|
9570
|
+
"name": "stepper",
|
9538
9571
|
"slots": [],
|
9539
9572
|
"events": [
|
9540
9573
|
{
|
@@ -9641,7 +9674,7 @@
|
|
9641
9674
|
{
|
9642
9675
|
"name": "name",
|
9643
9676
|
"default": "-",
|
9644
|
-
"description": "Stepper name",
|
9677
|
+
"description": "Stepper name, usually a unique string or number",
|
9645
9678
|
"options": [],
|
9646
9679
|
"value": {
|
9647
9680
|
"type": "number | string",
|
@@ -9811,7 +9844,7 @@
|
|
9811
9844
|
]
|
9812
9845
|
},
|
9813
9846
|
{
|
9814
|
-
"name": "
|
9847
|
+
"name": "steps",
|
9815
9848
|
"slots": [],
|
9816
9849
|
"events": [
|
9817
9850
|
{
|
@@ -9909,7 +9942,7 @@
|
|
9909
9942
|
]
|
9910
9943
|
},
|
9911
9944
|
{
|
9912
|
-
"name": "
|
9945
|
+
"name": "step",
|
9913
9946
|
"slots": [
|
9914
9947
|
{
|
9915
9948
|
"name": "default",
|
@@ -9932,7 +9965,7 @@
|
|
9932
9965
|
"attributes": []
|
9933
9966
|
},
|
9934
9967
|
{
|
9935
|
-
"name": "
|
9968
|
+
"name": "sticky",
|
9936
9969
|
"slots": [],
|
9937
9970
|
"events": [
|
9938
9971
|
{
|
@@ -10009,7 +10042,7 @@
|
|
10009
10042
|
]
|
10010
10043
|
},
|
10011
10044
|
{
|
10012
|
-
"name": "
|
10045
|
+
"name": "submit-bar",
|
10013
10046
|
"slots": [
|
10014
10047
|
{
|
10015
10048
|
"name": "default",
|
@@ -10175,11 +10208,21 @@
|
|
10175
10208
|
"type": "boolean",
|
10176
10209
|
"kind": "expression"
|
10177
10210
|
}
|
10211
|
+
},
|
10212
|
+
{
|
10213
|
+
"name": "placeholder",
|
10214
|
+
"default": "`false`",
|
10215
|
+
"description": "Whether to generate a placeholder element",
|
10216
|
+
"options": [],
|
10217
|
+
"value": {
|
10218
|
+
"type": "boolean",
|
10219
|
+
"kind": "expression"
|
10220
|
+
}
|
10178
10221
|
}
|
10179
10222
|
]
|
10180
10223
|
},
|
10181
10224
|
{
|
10182
|
-
"name": "
|
10225
|
+
"name": "swipe",
|
10183
10226
|
"slots": [
|
10184
10227
|
{
|
10185
10228
|
"name": "default",
|
@@ -10326,7 +10369,7 @@
|
|
10326
10369
|
]
|
10327
10370
|
},
|
10328
10371
|
{
|
10329
|
-
"name": "
|
10372
|
+
"name": "swipe-item",
|
10330
10373
|
"slots": [],
|
10331
10374
|
"events": [
|
10332
10375
|
{
|
@@ -10343,7 +10386,7 @@
|
|
10343
10386
|
"attributes": []
|
10344
10387
|
},
|
10345
10388
|
{
|
10346
|
-
"name": "
|
10389
|
+
"name": "swipe-cell",
|
10347
10390
|
"slots": [
|
10348
10391
|
{
|
10349
10392
|
"name": "default",
|
@@ -10394,7 +10437,7 @@
|
|
10394
10437
|
{
|
10395
10438
|
"name": "name",
|
10396
10439
|
"default": "-",
|
10397
|
-
"description": "Identifier of SwipeCell",
|
10440
|
+
"description": "Identifier of SwipeCell, usually a unique string or number",
|
10398
10441
|
"options": [],
|
10399
10442
|
"value": {
|
10400
10443
|
"type": "number | string",
|
@@ -10454,74 +10497,25 @@
|
|
10454
10497
|
]
|
10455
10498
|
},
|
10456
10499
|
{
|
10457
|
-
"name": "
|
10458
|
-
"slots": [
|
10459
|
-
{
|
10460
|
-
"name": "nav-left",
|
10461
|
-
"description": "Custom nav left content"
|
10462
|
-
},
|
10463
|
-
{
|
10464
|
-
"name": "nav-right",
|
10465
|
-
"description": "Custom nav right content"
|
10466
|
-
},
|
10467
|
-
{
|
10468
|
-
"name": "nav-bottom",
|
10469
|
-
"description": "Custom nav bottom content"
|
10470
|
-
}
|
10471
|
-
],
|
10500
|
+
"name": "tabbar",
|
10501
|
+
"slots": [],
|
10472
10502
|
"events": [
|
10473
|
-
{
|
10474
|
-
"name": "click-tab",
|
10475
|
-
"description": "Emitted when a tab is clicked",
|
10476
|
-
"arguments": [
|
10477
|
-
{
|
10478
|
-
"name": "{ name: string | number, title: string, event: MouseEvent, disabled: boolean }"
|
10479
|
-
}
|
10480
|
-
]
|
10481
|
-
},
|
10482
10503
|
{
|
10483
10504
|
"name": "change",
|
10484
|
-
"description": "Emitted when active tab
|
10485
|
-
"arguments": [
|
10486
|
-
{
|
10487
|
-
"name": "name",
|
10488
|
-
"type": "string | number"
|
10489
|
-
},
|
10490
|
-
{
|
10491
|
-
"name": "title",
|
10492
|
-
"type": "string"
|
10493
|
-
}
|
10494
|
-
]
|
10495
|
-
},
|
10496
|
-
{
|
10497
|
-
"name": "rendered",
|
10498
|
-
"description": "Emitted when content first rendered in lazy-render mode",
|
10499
|
-
"arguments": [
|
10500
|
-
{
|
10501
|
-
"name": "name",
|
10502
|
-
"type": "string | number"
|
10503
|
-
},
|
10504
|
-
{
|
10505
|
-
"name": "title",
|
10506
|
-
"type": "string"
|
10507
|
-
}
|
10508
|
-
]
|
10509
|
-
},
|
10510
|
-
{
|
10511
|
-
"name": "scroll",
|
10512
|
-
"description": "Emitted when tab scrolling in sticky mode",
|
10505
|
+
"description": "Emitted when changing active tab",
|
10513
10506
|
"arguments": [
|
10514
10507
|
{
|
10515
|
-
"name": "
|
10508
|
+
"name": "active",
|
10509
|
+
"type": "number | string"
|
10516
10510
|
}
|
10517
10511
|
]
|
10518
10512
|
}
|
10519
10513
|
],
|
10520
10514
|
"attributes": [
|
10521
10515
|
{
|
10522
|
-
"name": "v-model
|
10516
|
+
"name": "v-model",
|
10523
10517
|
"default": "`0`",
|
10524
|
-
"description": "
|
10518
|
+
"description": "Identifier of current tab",
|
10525
10519
|
"options": [],
|
10526
10520
|
"value": {
|
10527
10521
|
"type": "number | string",
|
@@ -10529,39 +10523,29 @@
|
|
10529
10523
|
}
|
10530
10524
|
},
|
10531
10525
|
{
|
10532
|
-
"name": "
|
10533
|
-
"default": "`
|
10534
|
-
"description": "
|
10535
|
-
"options": [],
|
10536
|
-
"value": {
|
10537
|
-
"type": "string",
|
10538
|
-
"kind": "expression"
|
10539
|
-
}
|
10540
|
-
},
|
10541
|
-
{
|
10542
|
-
"name": "color",
|
10543
|
-
"default": "`#ee0a24`",
|
10544
|
-
"description": "Tab color",
|
10526
|
+
"name": "fixed",
|
10527
|
+
"default": "`true`",
|
10528
|
+
"description": "Whether to fixed bottom",
|
10545
10529
|
"options": [],
|
10546
10530
|
"value": {
|
10547
|
-
"type": "
|
10531
|
+
"type": "boolean",
|
10548
10532
|
"kind": "expression"
|
10549
10533
|
}
|
10550
10534
|
},
|
10551
10535
|
{
|
10552
|
-
"name": "
|
10553
|
-
"default": "`
|
10554
|
-
"description": "
|
10536
|
+
"name": "border",
|
10537
|
+
"default": "`true`",
|
10538
|
+
"description": "Whether to show border",
|
10555
10539
|
"options": [],
|
10556
10540
|
"value": {
|
10557
|
-
"type": "
|
10541
|
+
"type": "boolean",
|
10558
10542
|
"kind": "expression"
|
10559
10543
|
}
|
10560
10544
|
},
|
10561
10545
|
{
|
10562
|
-
"name": "
|
10563
|
-
"default": "`
|
10564
|
-
"description": "
|
10546
|
+
"name": "z-index",
|
10547
|
+
"default": "`1`",
|
10548
|
+
"description": "Z-index",
|
10565
10549
|
"options": [],
|
10566
10550
|
"value": {
|
10567
10551
|
"type": "number | string",
|
@@ -10569,29 +10553,29 @@
|
|
10569
10553
|
}
|
10570
10554
|
},
|
10571
10555
|
{
|
10572
|
-
"name": "
|
10573
|
-
"default": "`
|
10574
|
-
"description": "
|
10556
|
+
"name": "active-color",
|
10557
|
+
"default": "`#1989fa`",
|
10558
|
+
"description": "Color of active tab item",
|
10575
10559
|
"options": [],
|
10576
10560
|
"value": {
|
10577
|
-
"type": "
|
10561
|
+
"type": "string",
|
10578
10562
|
"kind": "expression"
|
10579
10563
|
}
|
10580
10564
|
},
|
10581
10565
|
{
|
10582
|
-
"name": "
|
10583
|
-
"default": "`
|
10584
|
-
"description": "
|
10566
|
+
"name": "inactive-color",
|
10567
|
+
"default": "`#7d7e80`",
|
10568
|
+
"description": "Color of inactive tab item",
|
10585
10569
|
"options": [],
|
10586
10570
|
"value": {
|
10587
|
-
"type": "
|
10571
|
+
"type": "string",
|
10588
10572
|
"kind": "expression"
|
10589
10573
|
}
|
10590
10574
|
},
|
10591
10575
|
{
|
10592
|
-
"name": "
|
10576
|
+
"name": "route",
|
10593
10577
|
"default": "`false`",
|
10594
|
-
"description": "Whether to
|
10578
|
+
"description": "Whether to enable route mode",
|
10595
10579
|
"options": [],
|
10596
10580
|
"value": {
|
10597
10581
|
"type": "boolean",
|
@@ -10599,9 +10583,9 @@
|
|
10599
10583
|
}
|
10600
10584
|
},
|
10601
10585
|
{
|
10602
|
-
"name": "
|
10586
|
+
"name": "placeholder",
|
10603
10587
|
"default": "`false`",
|
10604
|
-
"description": "Whether to
|
10588
|
+
"description": "Whether to generate a placeholder element when fixed",
|
10605
10589
|
"options": [],
|
10606
10590
|
"value": {
|
10607
10591
|
"type": "boolean",
|
@@ -10609,9 +10593,9 @@
|
|
10609
10593
|
}
|
10610
10594
|
},
|
10611
10595
|
{
|
10612
|
-
"name": "
|
10613
|
-
"default": "`
|
10614
|
-
"description": "Whether to
|
10596
|
+
"name": "safe-area-inset-bottom",
|
10597
|
+
"default": "`false`",
|
10598
|
+
"description": "Whether to enable bottom safe area adaptation",
|
10615
10599
|
"options": [],
|
10616
10600
|
"value": {
|
10617
10601
|
"type": "boolean",
|
@@ -10619,49 +10603,61 @@
|
|
10619
10603
|
}
|
10620
10604
|
},
|
10621
10605
|
{
|
10622
|
-
"name": "
|
10623
|
-
"default": "
|
10624
|
-
"description": "
|
10606
|
+
"name": "before-change",
|
10607
|
+
"default": "-",
|
10608
|
+
"description": "Callback function before changing tab, return `false` to prevent change, support return Promise",
|
10625
10609
|
"options": [],
|
10626
10610
|
"value": {
|
10627
|
-
"type": "boolean",
|
10611
|
+
"type": "(name: number | string) => boolean | Promise\\<boolean\\>",
|
10628
10612
|
"kind": "expression"
|
10629
10613
|
}
|
10630
|
-
}
|
10614
|
+
}
|
10615
|
+
]
|
10616
|
+
},
|
10617
|
+
{
|
10618
|
+
"name": "tabbar-item",
|
10619
|
+
"slots": [
|
10631
10620
|
{
|
10632
|
-
"name": "
|
10633
|
-
"
|
10634
|
-
|
10621
|
+
"name": "icon",
|
10622
|
+
"description": "Custom icon"
|
10623
|
+
}
|
10624
|
+
],
|
10625
|
+
"events": [],
|
10626
|
+
"attributes": [
|
10627
|
+
{
|
10628
|
+
"name": "name",
|
10629
|
+
"default": "Item index",
|
10630
|
+
"description": "Identifier",
|
10635
10631
|
"options": [],
|
10636
10632
|
"value": {
|
10637
|
-
"type": "
|
10633
|
+
"type": "number | string",
|
10638
10634
|
"kind": "expression"
|
10639
10635
|
}
|
10640
10636
|
},
|
10641
10637
|
{
|
10642
|
-
"name": "
|
10643
|
-
"default": "
|
10644
|
-
"description": "
|
10638
|
+
"name": "icon",
|
10639
|
+
"default": "-",
|
10640
|
+
"description": "Icon name",
|
10645
10641
|
"options": [],
|
10646
10642
|
"value": {
|
10647
|
-
"type": "
|
10643
|
+
"type": "string",
|
10648
10644
|
"kind": "expression"
|
10649
10645
|
}
|
10650
10646
|
},
|
10651
10647
|
{
|
10652
|
-
"name": "
|
10653
|
-
"default": "`
|
10654
|
-
"description": "
|
10648
|
+
"name": "icon-prefix",
|
10649
|
+
"default": "`van-icon`",
|
10650
|
+
"description": "Icon className prefix",
|
10655
10651
|
"options": [],
|
10656
10652
|
"value": {
|
10657
|
-
"type": "
|
10653
|
+
"type": "string",
|
10658
10654
|
"kind": "expression"
|
10659
10655
|
}
|
10660
10656
|
},
|
10661
10657
|
{
|
10662
|
-
"name": "
|
10663
|
-
"default": "
|
10664
|
-
"description": "Whether to
|
10658
|
+
"name": "dot",
|
10659
|
+
"default": "-",
|
10660
|
+
"description": "Whether to show red dot",
|
10665
10661
|
"options": [],
|
10666
10662
|
"value": {
|
10667
10663
|
"type": "boolean",
|
@@ -10669,9 +10665,9 @@
|
|
10669
10665
|
}
|
10670
10666
|
},
|
10671
10667
|
{
|
10672
|
-
"name": "
|
10673
|
-
"default": "`
|
10674
|
-
"description": "
|
10668
|
+
"name": "badge",
|
10669
|
+
"default": "`''`",
|
10670
|
+
"description": "Content of the badge",
|
10675
10671
|
"options": [],
|
10676
10672
|
"value": {
|
10677
10673
|
"type": "number | string",
|
@@ -10679,19 +10675,19 @@
|
|
10679
10675
|
}
|
10680
10676
|
},
|
10681
10677
|
{
|
10682
|
-
"name": "
|
10683
|
-
"default": "
|
10684
|
-
"description": "
|
10678
|
+
"name": "badge-props",
|
10679
|
+
"default": "-",
|
10680
|
+
"description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
|
10685
10681
|
"options": [],
|
10686
10682
|
"value": {
|
10687
|
-
"type": "
|
10683
|
+
"type": "BadgeProps",
|
10688
10684
|
"kind": "expression"
|
10689
10685
|
}
|
10690
10686
|
},
|
10691
10687
|
{
|
10692
|
-
"name": "
|
10688
|
+
"name": "url",
|
10693
10689
|
"default": "-",
|
10694
|
-
"description": "
|
10690
|
+
"description": "Link",
|
10695
10691
|
"options": [],
|
10696
10692
|
"value": {
|
10697
10693
|
"type": "string",
|
@@ -10699,55 +10695,76 @@
|
|
10699
10695
|
}
|
10700
10696
|
},
|
10701
10697
|
{
|
10702
|
-
"name": "
|
10698
|
+
"name": "to",
|
10703
10699
|
"default": "-",
|
10704
|
-
"description": "
|
10700
|
+
"description": "Target route of the link, same as to of vue-router",
|
10705
10701
|
"options": [],
|
10706
10702
|
"value": {
|
10707
|
-
"type": "string",
|
10703
|
+
"type": "string | object",
|
10708
10704
|
"kind": "expression"
|
10709
10705
|
}
|
10710
10706
|
},
|
10711
10707
|
{
|
10712
|
-
"name": "
|
10713
|
-
"default": "
|
10714
|
-
"description": "
|
10708
|
+
"name": "replace",
|
10709
|
+
"default": "`false`",
|
10710
|
+
"description": "If true, the navigation will not leave a history record",
|
10715
10711
|
"options": [],
|
10716
10712
|
"value": {
|
10717
|
-
"type": "
|
10713
|
+
"type": "boolean",
|
10718
10714
|
"kind": "expression"
|
10719
10715
|
}
|
10720
10716
|
}
|
10721
10717
|
]
|
10722
10718
|
},
|
10723
10719
|
{
|
10724
|
-
"name": "
|
10720
|
+
"name": "switch",
|
10725
10721
|
"slots": [
|
10726
10722
|
{
|
10727
|
-
"name": "
|
10728
|
-
"description": "
|
10723
|
+
"name": "node",
|
10724
|
+
"description": "Custom the content of node"
|
10729
10725
|
},
|
10730
10726
|
{
|
10731
|
-
"name": "
|
10732
|
-
"description": "Custom
|
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
|
+
]
|
10741
|
+
},
|
10742
|
+
{
|
10743
|
+
"name": "click",
|
10744
|
+
"description": "Emitted when component is clicked",
|
10745
|
+
"arguments": [
|
10746
|
+
{
|
10747
|
+
"name": "event",
|
10748
|
+
"type": "MouseEvent"
|
10749
|
+
}
|
10750
|
+
]
|
10733
10751
|
}
|
10734
10752
|
],
|
10735
|
-
"events": [],
|
10736
10753
|
"attributes": [
|
10737
10754
|
{
|
10738
|
-
"name": "
|
10739
|
-
"default": "
|
10740
|
-
"description": "
|
10755
|
+
"name": "v-model",
|
10756
|
+
"default": "`false`",
|
10757
|
+
"description": "Check status of Switch",
|
10741
10758
|
"options": [],
|
10742
10759
|
"value": {
|
10743
|
-
"type": "
|
10760
|
+
"type": "ActiveValue | InactiveValue",
|
10744
10761
|
"kind": "expression"
|
10745
10762
|
}
|
10746
10763
|
},
|
10747
10764
|
{
|
10748
|
-
"name": "
|
10765
|
+
"name": "loading",
|
10749
10766
|
"default": "`false`",
|
10750
|
-
"description": "Whether to
|
10767
|
+
"description": "Whether to show loading icon",
|
10751
10768
|
"options": [],
|
10752
10769
|
"value": {
|
10753
10770
|
"type": "boolean",
|
@@ -10755,9 +10772,9 @@
|
|
10755
10772
|
}
|
10756
10773
|
},
|
10757
10774
|
{
|
10758
|
-
"name": "
|
10775
|
+
"name": "disabled",
|
10759
10776
|
"default": "`false`",
|
10760
|
-
"description": "Whether to
|
10777
|
+
"description": "Whether to disable switch",
|
10761
10778
|
"options": [],
|
10762
10779
|
"value": {
|
10763
10780
|
"type": "boolean",
|
@@ -10765,9 +10782,9 @@
|
|
10765
10782
|
}
|
10766
10783
|
},
|
10767
10784
|
{
|
10768
|
-
"name": "
|
10769
|
-
"default": "
|
10770
|
-
"description": "
|
10785
|
+
"name": "size",
|
10786
|
+
"default": "`30px`",
|
10787
|
+
"description": "Size of switch",
|
10771
10788
|
"options": [],
|
10772
10789
|
"value": {
|
10773
10790
|
"type": "number | string",
|
@@ -10775,19 +10792,19 @@
|
|
10775
10792
|
}
|
10776
10793
|
},
|
10777
10794
|
{
|
10778
|
-
"name": "
|
10779
|
-
"default": "
|
10780
|
-
"description": "
|
10795
|
+
"name": "active-color",
|
10796
|
+
"default": "`#1989fa`",
|
10797
|
+
"description": "Background color when active",
|
10781
10798
|
"options": [],
|
10782
10799
|
"value": {
|
10783
|
-
"type": "
|
10800
|
+
"type": "string",
|
10784
10801
|
"kind": "expression"
|
10785
10802
|
}
|
10786
10803
|
},
|
10787
10804
|
{
|
10788
|
-
"name": "
|
10789
|
-
"default": "
|
10790
|
-
"description": "
|
10805
|
+
"name": "inactive-color",
|
10806
|
+
"default": "`white`",
|
10807
|
+
"description": "Background color when inactive",
|
10791
10808
|
"options": [],
|
10792
10809
|
"value": {
|
10793
10810
|
"type": "string",
|
@@ -10795,204 +10812,186 @@
|
|
10795
10812
|
}
|
10796
10813
|
},
|
10797
10814
|
{
|
10798
|
-
"name": "
|
10799
|
-
"default": "
|
10800
|
-
"description": "
|
10815
|
+
"name": "active-value",
|
10816
|
+
"default": "`true`",
|
10817
|
+
"description": "Value when active",
|
10801
10818
|
"options": [],
|
10802
10819
|
"value": {
|
10803
|
-
"type": "
|
10820
|
+
"type": "any",
|
10804
10821
|
"kind": "expression"
|
10805
10822
|
}
|
10806
10823
|
},
|
10807
10824
|
{
|
10808
|
-
"name": "
|
10825
|
+
"name": "inactive-value",
|
10809
10826
|
"default": "`false`",
|
10810
|
-
"description": "
|
10811
|
-
"options": [],
|
10812
|
-
"value": {
|
10813
|
-
"type": "boolean",
|
10814
|
-
"kind": "expression"
|
10815
|
-
}
|
10816
|
-
},
|
10817
|
-
{
|
10818
|
-
"name": "title-style",
|
10819
|
-
"default": "-",
|
10820
|
-
"description": "Custom title style",
|
10821
|
-
"options": [],
|
10822
|
-
"value": {
|
10823
|
-
"type": "string | Array | object",
|
10824
|
-
"kind": "expression"
|
10825
|
-
}
|
10826
|
-
},
|
10827
|
-
{
|
10828
|
-
"name": "title-class",
|
10829
|
-
"default": "-",
|
10830
|
-
"description": "Custom title class name",
|
10831
|
-
"options": [],
|
10832
|
-
"value": {
|
10833
|
-
"type": "string | Array | object",
|
10834
|
-
"kind": "expression"
|
10835
|
-
}
|
10836
|
-
},
|
10837
|
-
{
|
10838
|
-
"name": "show-zero-badge",
|
10839
|
-
"default": "`true`",
|
10840
|
-
"description": "Whether to show badge when the value is zero",
|
10827
|
+
"description": "Value when inactive",
|
10841
10828
|
"options": [],
|
10842
10829
|
"value": {
|
10843
|
-
"type": "
|
10830
|
+
"type": "any",
|
10844
10831
|
"kind": "expression"
|
10845
10832
|
}
|
10846
10833
|
}
|
10847
10834
|
]
|
10848
10835
|
},
|
10849
10836
|
{
|
10850
|
-
"name": "
|
10837
|
+
"name": "tabs",
|
10851
10838
|
"slots": [
|
10852
10839
|
{
|
10853
|
-
"name": "
|
10854
|
-
"description": "Custom
|
10840
|
+
"name": "nav-left",
|
10841
|
+
"description": "Custom nav left content"
|
10855
10842
|
},
|
10856
10843
|
{
|
10857
|
-
"name": "
|
10858
|
-
"description": "Custom
|
10844
|
+
"name": "nav-right",
|
10845
|
+
"description": "Custom nav right content"
|
10846
|
+
},
|
10847
|
+
{
|
10848
|
+
"name": "nav-bottom",
|
10849
|
+
"description": "Custom nav bottom content"
|
10859
10850
|
}
|
10860
10851
|
],
|
10861
10852
|
"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
10862
|
{
|
10863
10863
|
"name": "change",
|
10864
|
-
"description": "Emitted when
|
10864
|
+
"description": "Emitted when active tab changed",
|
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",
|
10865
10879
|
"arguments": [
|
10866
10880
|
{
|
10867
|
-
"name": "
|
10868
|
-
"type": "
|
10881
|
+
"name": "name",
|
10882
|
+
"type": "string | number"
|
10883
|
+
},
|
10884
|
+
{
|
10885
|
+
"name": "title",
|
10886
|
+
"type": "string"
|
10869
10887
|
}
|
10870
10888
|
]
|
10871
10889
|
},
|
10872
10890
|
{
|
10873
|
-
"name": "
|
10874
|
-
"description": "Emitted when
|
10891
|
+
"name": "scroll",
|
10892
|
+
"description": "Emitted when tab scrolling in sticky mode",
|
10875
10893
|
"arguments": [
|
10876
10894
|
{
|
10877
|
-
"name": "
|
10878
|
-
"type": "MouseEvent"
|
10895
|
+
"name": "{ scrollTop: number, isFixed: boolean }"
|
10879
10896
|
}
|
10880
10897
|
]
|
10881
10898
|
}
|
10882
10899
|
],
|
10883
10900
|
"attributes": [
|
10884
10901
|
{
|
10885
|
-
"name": "v-model",
|
10886
|
-
"default": "`
|
10887
|
-
"description": "
|
10902
|
+
"name": "v-model:active",
|
10903
|
+
"default": "`0`",
|
10904
|
+
"description": "Index of active tab",
|
10888
10905
|
"options": [],
|
10889
10906
|
"value": {
|
10890
|
-
"type": "
|
10907
|
+
"type": "number | string",
|
10891
10908
|
"kind": "expression"
|
10892
10909
|
}
|
10893
10910
|
},
|
10894
10911
|
{
|
10895
|
-
"name": "
|
10896
|
-
"default": "`
|
10897
|
-
"description": "
|
10912
|
+
"name": "type",
|
10913
|
+
"default": "`line`",
|
10914
|
+
"description": "Can be set to `line` `card`",
|
10898
10915
|
"options": [],
|
10899
10916
|
"value": {
|
10900
|
-
"type": "
|
10917
|
+
"type": "string",
|
10901
10918
|
"kind": "expression"
|
10902
10919
|
}
|
10903
10920
|
},
|
10904
10921
|
{
|
10905
|
-
"name": "
|
10906
|
-
"default": "`
|
10907
|
-
"description": "
|
10922
|
+
"name": "color",
|
10923
|
+
"default": "`#ee0a24`",
|
10924
|
+
"description": "Tab color",
|
10908
10925
|
"options": [],
|
10909
10926
|
"value": {
|
10910
|
-
"type": "
|
10927
|
+
"type": "string",
|
10911
10928
|
"kind": "expression"
|
10912
10929
|
}
|
10913
10930
|
},
|
10914
10931
|
{
|
10915
|
-
"name": "
|
10916
|
-
"default": "`
|
10917
|
-
"description": "
|
10932
|
+
"name": "background",
|
10933
|
+
"default": "`white`",
|
10934
|
+
"description": "Background color",
|
10918
10935
|
"options": [],
|
10919
10936
|
"value": {
|
10920
|
-
"type": "
|
10937
|
+
"type": "string",
|
10921
10938
|
"kind": "expression"
|
10922
10939
|
}
|
10923
10940
|
},
|
10924
10941
|
{
|
10925
|
-
"name": "
|
10926
|
-
"default": "
|
10927
|
-
"description": "
|
10942
|
+
"name": "duration",
|
10943
|
+
"default": "`0.3`",
|
10944
|
+
"description": "Toggle tab's animation time",
|
10928
10945
|
"options": [],
|
10929
10946
|
"value": {
|
10930
|
-
"type": "string",
|
10947
|
+
"type": "number | string",
|
10931
10948
|
"kind": "expression"
|
10932
10949
|
}
|
10933
10950
|
},
|
10934
10951
|
{
|
10935
|
-
"name": "
|
10936
|
-
"default": "`
|
10937
|
-
"description": "
|
10952
|
+
"name": "line-width",
|
10953
|
+
"default": "`40px`",
|
10954
|
+
"description": "Width of tab line",
|
10938
10955
|
"options": [],
|
10939
10956
|
"value": {
|
10940
|
-
"type": "string",
|
10957
|
+
"type": "number | string",
|
10941
10958
|
"kind": "expression"
|
10942
10959
|
}
|
10943
10960
|
},
|
10944
10961
|
{
|
10945
|
-
"name": "
|
10946
|
-
"default": "`
|
10947
|
-
"description": "
|
10962
|
+
"name": "line-height",
|
10963
|
+
"default": "`3px`",
|
10964
|
+
"description": "Height of tab line",
|
10948
10965
|
"options": [],
|
10949
10966
|
"value": {
|
10950
|
-
"type": "
|
10967
|
+
"type": "number | string",
|
10951
10968
|
"kind": "expression"
|
10952
10969
|
}
|
10953
10970
|
},
|
10954
10971
|
{
|
10955
|
-
"name": "
|
10972
|
+
"name": "animated",
|
10956
10973
|
"default": "`false`",
|
10957
|
-
"description": "
|
10974
|
+
"description": "Whether to change tabs with animation",
|
10958
10975
|
"options": [],
|
10959
10976
|
"value": {
|
10960
|
-
"type": "
|
10977
|
+
"type": "boolean",
|
10961
10978
|
"kind": "expression"
|
10962
10979
|
}
|
10963
|
-
}
|
10964
|
-
]
|
10965
|
-
},
|
10966
|
-
{
|
10967
|
-
"name": "van-tabbar",
|
10968
|
-
"slots": [],
|
10969
|
-
"events": [
|
10970
|
-
{
|
10971
|
-
"name": "change",
|
10972
|
-
"description": "Emitted when changing active tab",
|
10973
|
-
"arguments": [
|
10974
|
-
{
|
10975
|
-
"name": "active",
|
10976
|
-
"type": "number | string"
|
10977
|
-
}
|
10978
|
-
]
|
10979
|
-
}
|
10980
|
-
],
|
10981
|
-
"attributes": [
|
10980
|
+
},
|
10982
10981
|
{
|
10983
|
-
"name": "
|
10984
|
-
"default": "`
|
10985
|
-
"description": "
|
10982
|
+
"name": "border",
|
10983
|
+
"default": "`false`",
|
10984
|
+
"description": "Whether to show border when `type=\"line\"`",
|
10986
10985
|
"options": [],
|
10987
10986
|
"value": {
|
10988
|
-
"type": "
|
10987
|
+
"type": "boolean",
|
10989
10988
|
"kind": "expression"
|
10990
10989
|
}
|
10991
10990
|
},
|
10992
10991
|
{
|
10993
|
-
"name": "
|
10992
|
+
"name": "ellipsis",
|
10994
10993
|
"default": "`true`",
|
10995
|
-
"description": "Whether to
|
10994
|
+
"description": "Whether to ellipsis too long title",
|
10996
10995
|
"options": [],
|
10997
10996
|
"value": {
|
10998
10997
|
"type": "boolean",
|
@@ -11000,9 +10999,9 @@
|
|
11000
10999
|
}
|
11001
11000
|
},
|
11002
11001
|
{
|
11003
|
-
"name": "
|
11004
|
-
"default": "`
|
11005
|
-
"description": "Whether to
|
11002
|
+
"name": "sticky",
|
11003
|
+
"default": "`false`",
|
11004
|
+
"description": "Whether to use sticky mode",
|
11006
11005
|
"options": [],
|
11007
11006
|
"value": {
|
11008
11007
|
"type": "boolean",
|
@@ -11010,39 +11009,39 @@
|
|
11010
11009
|
}
|
11011
11010
|
},
|
11012
11011
|
{
|
11013
|
-
"name": "
|
11014
|
-
"default": "`
|
11015
|
-
"description": "
|
11012
|
+
"name": "shrink",
|
11013
|
+
"default": "`false`",
|
11014
|
+
"description": "Whether to shrink the the tabs to the left",
|
11016
11015
|
"options": [],
|
11017
11016
|
"value": {
|
11018
|
-
"type": "
|
11017
|
+
"type": "boolean",
|
11019
11018
|
"kind": "expression"
|
11020
11019
|
}
|
11021
11020
|
},
|
11022
11021
|
{
|
11023
|
-
"name": "
|
11024
|
-
"default": "
|
11025
|
-
"description": "
|
11022
|
+
"name": "swipeable",
|
11023
|
+
"default": "`false`",
|
11024
|
+
"description": "Whether to enable gestures to slide left and right",
|
11026
11025
|
"options": [],
|
11027
11026
|
"value": {
|
11028
|
-
"type": "
|
11027
|
+
"type": "boolean",
|
11029
11028
|
"kind": "expression"
|
11030
11029
|
}
|
11031
11030
|
},
|
11032
11031
|
{
|
11033
|
-
"name": "
|
11034
|
-
"default": "
|
11035
|
-
"description": "
|
11032
|
+
"name": "lazy-render",
|
11033
|
+
"default": "`true`",
|
11034
|
+
"description": "Whether to enable tab content lazy render",
|
11036
11035
|
"options": [],
|
11037
11036
|
"value": {
|
11038
|
-
"type": "
|
11037
|
+
"type": "boolean",
|
11039
11038
|
"kind": "expression"
|
11040
11039
|
}
|
11041
11040
|
},
|
11042
11041
|
{
|
11043
|
-
"name": "
|
11042
|
+
"name": "scrollspy",
|
11044
11043
|
"default": "`false`",
|
11045
|
-
"description": "Whether to
|
11044
|
+
"description": "Whether to use scrollspy mode",
|
11046
11045
|
"options": [],
|
11047
11046
|
"value": {
|
11048
11047
|
"type": "boolean",
|
@@ -11050,29 +11049,49 @@
|
|
11050
11049
|
}
|
11051
11050
|
},
|
11052
11051
|
{
|
11053
|
-
"name": "
|
11054
|
-
"default": "`
|
11055
|
-
"description": "
|
11052
|
+
"name": "offset-top",
|
11053
|
+
"default": "`0`",
|
11054
|
+
"description": "Sticky offset top , supports `px` `vw` `vh` `rem` unit, default `px`",
|
11056
11055
|
"options": [],
|
11057
11056
|
"value": {
|
11058
|
-
"type": "
|
11057
|
+
"type": "number | string",
|
11059
11058
|
"kind": "expression"
|
11060
11059
|
}
|
11061
11060
|
},
|
11062
11061
|
{
|
11063
|
-
"name": "
|
11064
|
-
"default": "`
|
11065
|
-
"description": "
|
11062
|
+
"name": "swipe-threshold",
|
11063
|
+
"default": "`5`",
|
11064
|
+
"description": "Set swipe tabs threshold",
|
11066
11065
|
"options": [],
|
11067
11066
|
"value": {
|
11068
|
-
"type": "
|
11067
|
+
"type": "number | string",
|
11068
|
+
"kind": "expression"
|
11069
|
+
}
|
11070
|
+
},
|
11071
|
+
{
|
11072
|
+
"name": "title-active-color",
|
11073
|
+
"default": "-",
|
11074
|
+
"description": "Title active color",
|
11075
|
+
"options": [],
|
11076
|
+
"value": {
|
11077
|
+
"type": "string",
|
11078
|
+
"kind": "expression"
|
11079
|
+
}
|
11080
|
+
},
|
11081
|
+
{
|
11082
|
+
"name": "title-inactive-color",
|
11083
|
+
"default": "-",
|
11084
|
+
"description": "Title inactive color",
|
11085
|
+
"options": [],
|
11086
|
+
"value": {
|
11087
|
+
"type": "string",
|
11069
11088
|
"kind": "expression"
|
11070
11089
|
}
|
11071
11090
|
},
|
11072
11091
|
{
|
11073
11092
|
"name": "before-change",
|
11074
11093
|
"default": "-",
|
11075
|
-
"description": "Callback function before changing
|
11094
|
+
"description": "Callback function before changing tabs, return `false` to prevent change, support return Promise",
|
11076
11095
|
"options": [],
|
11077
11096
|
"value": {
|
11078
11097
|
"type": "(name: number | string) => boolean | Promise\\<boolean\\>",
|
@@ -11082,29 +11101,23 @@
|
|
11082
11101
|
]
|
11083
11102
|
},
|
11084
11103
|
{
|
11085
|
-
"name": "
|
11104
|
+
"name": "tab",
|
11086
11105
|
"slots": [
|
11087
11106
|
{
|
11088
|
-
"name": "
|
11089
|
-
"description": "
|
11107
|
+
"name": "default",
|
11108
|
+
"description": "Content of tab"
|
11109
|
+
},
|
11110
|
+
{
|
11111
|
+
"name": "title",
|
11112
|
+
"description": "Custom tab title"
|
11090
11113
|
}
|
11091
11114
|
],
|
11092
11115
|
"events": [],
|
11093
11116
|
"attributes": [
|
11094
11117
|
{
|
11095
|
-
"name": "
|
11096
|
-
"default": "Item index",
|
11097
|
-
"description": "Identifier",
|
11098
|
-
"options": [],
|
11099
|
-
"value": {
|
11100
|
-
"type": "number | string",
|
11101
|
-
"kind": "expression"
|
11102
|
-
}
|
11103
|
-
},
|
11104
|
-
{
|
11105
|
-
"name": "icon",
|
11118
|
+
"name": "title",
|
11106
11119
|
"default": "-",
|
11107
|
-
"description": "
|
11120
|
+
"description": "Title",
|
11108
11121
|
"options": [],
|
11109
11122
|
"value": {
|
11110
11123
|
"type": "string",
|
@@ -11112,19 +11125,19 @@
|
|
11112
11125
|
}
|
11113
11126
|
},
|
11114
11127
|
{
|
11115
|
-
"name": "
|
11116
|
-
"default": "`
|
11117
|
-
"description": "
|
11128
|
+
"name": "disabled",
|
11129
|
+
"default": "`false`",
|
11130
|
+
"description": "Whether to disable tab",
|
11118
11131
|
"options": [],
|
11119
11132
|
"value": {
|
11120
|
-
"type": "
|
11133
|
+
"type": "boolean",
|
11121
11134
|
"kind": "expression"
|
11122
11135
|
}
|
11123
11136
|
},
|
11124
11137
|
{
|
11125
11138
|
"name": "dot",
|
11126
|
-
"default": "
|
11127
|
-
"description": "Whether to show red dot",
|
11139
|
+
"default": "`false`",
|
11140
|
+
"description": "Whether to show red dot on the title",
|
11128
11141
|
"options": [],
|
11129
11142
|
"value": {
|
11130
11143
|
"type": "boolean",
|
@@ -11133,8 +11146,8 @@
|
|
11133
11146
|
},
|
11134
11147
|
{
|
11135
11148
|
"name": "badge",
|
11136
|
-
"default": "
|
11137
|
-
"description": "Content of the badge",
|
11149
|
+
"default": "-",
|
11150
|
+
"description": "Content of the badge on the title",
|
11138
11151
|
"options": [],
|
11139
11152
|
"value": {
|
11140
11153
|
"type": "number | string",
|
@@ -11142,12 +11155,12 @@
|
|
11142
11155
|
}
|
11143
11156
|
},
|
11144
11157
|
{
|
11145
|
-
"name": "
|
11146
|
-
"default": "
|
11147
|
-
"description": "
|
11158
|
+
"name": "name",
|
11159
|
+
"default": "Index of tab",
|
11160
|
+
"description": "Identifier",
|
11148
11161
|
"options": [],
|
11149
11162
|
"value": {
|
11150
|
-
"type": "
|
11163
|
+
"type": "number | string",
|
11151
11164
|
"kind": "expression"
|
11152
11165
|
}
|
11153
11166
|
},
|
@@ -11180,11 +11193,41 @@
|
|
11180
11193
|
"type": "boolean",
|
11181
11194
|
"kind": "expression"
|
11182
11195
|
}
|
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
|
+
}
|
11183
11226
|
}
|
11184
11227
|
]
|
11185
11228
|
},
|
11186
11229
|
{
|
11187
|
-
"name": "
|
11230
|
+
"name": "tag",
|
11188
11231
|
"slots": [
|
11189
11232
|
{
|
11190
11233
|
"name": "default",
|
@@ -11307,7 +11350,7 @@
|
|
11307
11350
|
]
|
11308
11351
|
},
|
11309
11352
|
{
|
11310
|
-
"name": "
|
11353
|
+
"name": "tree-select",
|
11311
11354
|
"slots": [
|
11312
11355
|
{
|
11313
11356
|
"name": "content",
|
@@ -11400,7 +11443,7 @@
|
|
11400
11443
|
]
|
11401
11444
|
},
|
11402
11445
|
{
|
11403
|
-
"name": "
|
11446
|
+
"name": "uploader",
|
11404
11447
|
"slots": [
|
11405
11448
|
{
|
11406
11449
|
"name": "default",
|
@@ -11495,7 +11538,7 @@
|
|
11495
11538
|
{
|
11496
11539
|
"name": "name",
|
11497
11540
|
"default": "-",
|
11498
|
-
"description": "Input name",
|
11541
|
+
"description": "Input name, usually a unique string or number",
|
11499
11542
|
"options": [],
|
11500
11543
|
"value": {
|
11501
11544
|
"type": "number | string",
|