vant 3.4.8 → 3.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog.generated.md +31 -39
- package/es/empty/Empty.js +10 -13
- package/es/empty/Images.d.ts +4 -0
- package/es/empty/Images.js +271 -0
- package/es/field/Field.js +6 -3
- package/es/field/types.d.ts +1 -1
- package/es/form/Form.d.ts +13 -13
- package/es/form/Form.js +6 -3
- package/es/form/index.d.ts +9 -9
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/loading/Loading.js +3 -1
- package/es/uploader/Uploader.js +2 -2
- package/es/uploader/utils.d.ts +0 -1
- package/es/uploader/utils.js +2 -4
- package/es/utils/basic.d.ts +1 -0
- package/es/utils/basic.js +3 -1
- package/lib/empty/Empty.js +10 -13
- package/lib/empty/Images.d.ts +4 -0
- package/lib/empty/Images.js +290 -0
- package/lib/field/Field.js +5 -2
- package/lib/field/types.d.ts +1 -1
- package/lib/form/Form.d.ts +13 -13
- package/lib/form/Form.js +5 -2
- package/lib/form/index.d.ts +9 -9
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/loading/Loading.js +3 -1
- package/lib/uploader/Uploader.js +1 -1
- package/lib/uploader/utils.d.ts +0 -1
- package/lib/uploader/utils.js +2 -4
- package/lib/utils/basic.d.ts +1 -0
- package/lib/utils/basic.js +3 -1
- package/lib/vant.cjs.js +233 -49
- package/lib/vant.cjs.min.js +1 -1
- package/lib/vant.es.js +233 -49
- package/lib/vant.es.min.js +233 -49
- package/lib/vant.js +233 -49
- package/lib/vant.min.js +1 -1
- package/package.json +1 -1
- package/vetur/attributes.json +276 -276
- package/vetur/tags.json +90 -90
- package/vetur/web-types.json +1070 -1070
- package/es/empty/Network.d.ts +0 -1
- package/es/empty/Network.js +0 -89
- package/lib/empty/Network.d.ts +0 -1
- package/lib/empty/Network.js +0 -108
package/package.json
CHANGED
package/vetur/attributes.json
CHANGED
@@ -83,6 +83,94 @@
|
|
83
83
|
"type": "boolean",
|
84
84
|
"description": "If true, the navigation will not leave a history record, Default: `false`"
|
85
85
|
},
|
86
|
+
"van-address-edit/area-list": {
|
87
|
+
"type": "object",
|
88
|
+
"description": "Area List, Default: -"
|
89
|
+
},
|
90
|
+
"van-address-edit/area-columns-placeholder": {
|
91
|
+
"type": "string[]",
|
92
|
+
"description": "placeholder of area columns, Default: `[]`"
|
93
|
+
},
|
94
|
+
"van-address-edit/area-placeholder": {
|
95
|
+
"type": "string",
|
96
|
+
"description": "placeholder of area input field, Default: `Area`"
|
97
|
+
},
|
98
|
+
"van-address-edit/address-info": {
|
99
|
+
"type": "AddressEditInfo",
|
100
|
+
"description": "Address Info, Default: `{}`"
|
101
|
+
},
|
102
|
+
"van-address-edit/search-result": {
|
103
|
+
"type": "AddressEditSearchItem[]",
|
104
|
+
"description": "Address search result, Default: `[]`"
|
105
|
+
},
|
106
|
+
"van-address-edit/show-postal": {
|
107
|
+
"type": "boolean",
|
108
|
+
"description": "Whether to show postal field, Default: `false`"
|
109
|
+
},
|
110
|
+
"van-address-edit/show-delete": {
|
111
|
+
"type": "boolean",
|
112
|
+
"description": "Whether to show delete button, Default: `false`"
|
113
|
+
},
|
114
|
+
"van-address-edit/show-set-default": {
|
115
|
+
"type": "boolean",
|
116
|
+
"description": "Whether to show default address switch, Default: `false`"
|
117
|
+
},
|
118
|
+
"van-address-edit/show-search-result": {
|
119
|
+
"type": "boolean",
|
120
|
+
"description": "Whether to show address search result, Default: `false`"
|
121
|
+
},
|
122
|
+
"van-address-edit/show-area": {
|
123
|
+
"type": "boolean",
|
124
|
+
"description": "Whether to show area cell, Default: `true`"
|
125
|
+
},
|
126
|
+
"van-address-edit/show-detail": {
|
127
|
+
"type": "boolean",
|
128
|
+
"description": "Whether to show detail field, Default: `true`"
|
129
|
+
},
|
130
|
+
"van-address-edit/disable-area": {
|
131
|
+
"type": "boolean",
|
132
|
+
"description": "Whether to disable area select, Default: `false`"
|
133
|
+
},
|
134
|
+
"van-address-edit/save-button-text": {
|
135
|
+
"type": "string",
|
136
|
+
"description": "Save button text, Default: `Save`"
|
137
|
+
},
|
138
|
+
"van-address-edit/delete-button-text": {
|
139
|
+
"type": "string",
|
140
|
+
"description": "Delete button text, Default: `Delete`"
|
141
|
+
},
|
142
|
+
"van-address-edit/detail-rows": {
|
143
|
+
"type": "number | string",
|
144
|
+
"description": "Detail input rows, Default: `1`"
|
145
|
+
},
|
146
|
+
"van-address-edit/detail-maxlength": {
|
147
|
+
"type": "number | string",
|
148
|
+
"description": "Detail maxlength, Default: `200`"
|
149
|
+
},
|
150
|
+
"van-address-edit/is-saving": {
|
151
|
+
"type": "boolean",
|
152
|
+
"description": "Whether to show save button loading status, Default: `false`"
|
153
|
+
},
|
154
|
+
"van-address-edit/is-deleting": {
|
155
|
+
"type": "boolean",
|
156
|
+
"description": "Whether to show delete button loading status, Default: `false`"
|
157
|
+
},
|
158
|
+
"van-address-edit/tel-validator": {
|
159
|
+
"type": "(tel: string) => boolean",
|
160
|
+
"description": "The method to validate tel, Default: -"
|
161
|
+
},
|
162
|
+
"van-address-edit/tel-maxlength": {
|
163
|
+
"type": "number | string",
|
164
|
+
"description": "Tel maxlength, Default: -"
|
165
|
+
},
|
166
|
+
"van-address-edit/postal-validator": {
|
167
|
+
"type": "(tel: string) => boolean",
|
168
|
+
"description": "The method to validate postal, Default: -"
|
169
|
+
},
|
170
|
+
"van-address-edit/validator": {
|
171
|
+
"type": "(key, val) => string",
|
172
|
+
"description": "Custom validator, Default: -"
|
173
|
+
},
|
86
174
|
"van-action-sheet/v-model:show": {
|
87
175
|
"type": "boolean",
|
88
176
|
"description": "Whether to show ActionSheet, Default: `false`"
|
@@ -163,93 +251,33 @@
|
|
163
251
|
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
164
252
|
"description": "Callback function before close, Default: -"
|
165
253
|
},
|
166
|
-
"van-address-
|
167
|
-
"type": "object",
|
168
|
-
"description": "Area List, Default: -"
|
169
|
-
},
|
170
|
-
"van-address-edit/area-columns-placeholder": {
|
171
|
-
"type": "string[]",
|
172
|
-
"description": "placeholder of area columns, Default: `[]`"
|
173
|
-
},
|
174
|
-
"van-address-edit/area-placeholder": {
|
254
|
+
"van-address-list/v-model": {
|
175
255
|
"type": "string",
|
176
|
-
"description": "
|
177
|
-
},
|
178
|
-
"van-address-edit/address-info": {
|
179
|
-
"type": "AddressEditInfo",
|
180
|
-
"description": "Address Info, Default: `{}`"
|
181
|
-
},
|
182
|
-
"van-address-edit/search-result": {
|
183
|
-
"type": "AddressEditSearchItem[]",
|
184
|
-
"description": "Address search result, Default: `[]`"
|
185
|
-
},
|
186
|
-
"van-address-edit/show-postal": {
|
187
|
-
"type": "boolean",
|
188
|
-
"description": "Whether to show postal field, Default: `false`"
|
189
|
-
},
|
190
|
-
"van-address-edit/show-delete": {
|
191
|
-
"type": "boolean",
|
192
|
-
"description": "Whether to show delete button, Default: `false`"
|
193
|
-
},
|
194
|
-
"van-address-edit/show-set-default": {
|
195
|
-
"type": "boolean",
|
196
|
-
"description": "Whether to show default address switch, Default: `false`"
|
256
|
+
"description": "Id of chosen address, Default: -"
|
197
257
|
},
|
198
|
-
"van-address-
|
199
|
-
"type": "
|
200
|
-
"description": "
|
258
|
+
"van-address-list/list": {
|
259
|
+
"type": "Address[]",
|
260
|
+
"description": "Address list, Default: `[]`"
|
201
261
|
},
|
202
|
-
"van-address-
|
203
|
-
"type": "
|
204
|
-
"description": "
|
262
|
+
"van-address-list/disabled-list": {
|
263
|
+
"type": "Address[]",
|
264
|
+
"description": "Disabled address list, Default: `[]`"
|
205
265
|
},
|
206
|
-
"van-address-
|
207
|
-
"type": "
|
208
|
-
"description": "
|
266
|
+
"van-address-list/disabled-text": {
|
267
|
+
"type": "string",
|
268
|
+
"description": "Disabled text, Default: -"
|
209
269
|
},
|
210
|
-
"van-address-
|
270
|
+
"van-address-list/switchable": {
|
211
271
|
"type": "boolean",
|
212
|
-
"description": "Whether to
|
272
|
+
"description": "Whether to allow switch address, Default: `true`"
|
213
273
|
},
|
214
|
-
"van-address-
|
274
|
+
"van-address-list/add-button-text": {
|
215
275
|
"type": "string",
|
216
|
-
"description": "
|
276
|
+
"description": "Add button text, Default: `Add new address`"
|
217
277
|
},
|
218
|
-
"van-address-
|
278
|
+
"van-address-list/default-tag-text": {
|
219
279
|
"type": "string",
|
220
|
-
"description": "
|
221
|
-
},
|
222
|
-
"van-address-edit/detail-rows": {
|
223
|
-
"type": "number | string",
|
224
|
-
"description": "Detail input rows, Default: `1`"
|
225
|
-
},
|
226
|
-
"van-address-edit/detail-maxlength": {
|
227
|
-
"type": "number | string",
|
228
|
-
"description": "Detail maxlength, Default: `200`"
|
229
|
-
},
|
230
|
-
"van-address-edit/is-saving": {
|
231
|
-
"type": "boolean",
|
232
|
-
"description": "Whether to show save button loading status, Default: `false`"
|
233
|
-
},
|
234
|
-
"van-address-edit/is-deleting": {
|
235
|
-
"type": "boolean",
|
236
|
-
"description": "Whether to show delete button loading status, Default: `false`"
|
237
|
-
},
|
238
|
-
"van-address-edit/tel-validator": {
|
239
|
-
"type": "(tel: string) => boolean",
|
240
|
-
"description": "The method to validate tel, Default: -"
|
241
|
-
},
|
242
|
-
"van-address-edit/tel-maxlength": {
|
243
|
-
"type": "number | string",
|
244
|
-
"description": "Tel maxlength, Default: -"
|
245
|
-
},
|
246
|
-
"van-address-edit/postal-validator": {
|
247
|
-
"type": "(tel: string) => boolean",
|
248
|
-
"description": "The method to validate postal, Default: -"
|
249
|
-
},
|
250
|
-
"van-address-edit/validator": {
|
251
|
-
"type": "(key, val) => string",
|
252
|
-
"description": "Custom validator, Default: -"
|
280
|
+
"description": "Default tag text, Default: -"
|
253
281
|
},
|
254
282
|
"van-area/value": {
|
255
283
|
"type": "string",
|
@@ -331,34 +359,6 @@
|
|
331
359
|
"type": "string",
|
332
360
|
"description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`, Default: `top-right`"
|
333
361
|
},
|
334
|
-
"van-address-list/v-model": {
|
335
|
-
"type": "string",
|
336
|
-
"description": "Id of chosen address, Default: -"
|
337
|
-
},
|
338
|
-
"van-address-list/list": {
|
339
|
-
"type": "Address[]",
|
340
|
-
"description": "Address list, Default: `[]`"
|
341
|
-
},
|
342
|
-
"van-address-list/disabled-list": {
|
343
|
-
"type": "Address[]",
|
344
|
-
"description": "Disabled address list, Default: `[]`"
|
345
|
-
},
|
346
|
-
"van-address-list/disabled-text": {
|
347
|
-
"type": "string",
|
348
|
-
"description": "Disabled text, Default: -"
|
349
|
-
},
|
350
|
-
"van-address-list/switchable": {
|
351
|
-
"type": "boolean",
|
352
|
-
"description": "Whether to allow switch address, Default: `true`"
|
353
|
-
},
|
354
|
-
"van-address-list/add-button-text": {
|
355
|
-
"type": "string",
|
356
|
-
"description": "Add button text, Default: `Add new address`"
|
357
|
-
},
|
358
|
-
"van-address-list/default-tag-text": {
|
359
|
-
"type": "string",
|
360
|
-
"description": "Default tag text, Default: -"
|
361
|
-
},
|
362
362
|
"van-button/type": {
|
363
363
|
"type": "string",
|
364
364
|
"description": "Can be set to `primary` `success` `warning` `danger`, Default: `default`"
|
@@ -1291,18 +1291,6 @@
|
|
1291
1291
|
"type": "string | Element",
|
1292
1292
|
"description": "Specifies a target element where Dialog will be mounted, Default: -"
|
1293
1293
|
},
|
1294
|
-
"van-divider/dashed": {
|
1295
|
-
"type": "boolean",
|
1296
|
-
"description": "Whether to use dashed border, Default: `false`"
|
1297
|
-
},
|
1298
|
-
"van-divider/hairline": {
|
1299
|
-
"type": "boolean",
|
1300
|
-
"description": "Whether to use hairline, Default: `true`"
|
1301
|
-
},
|
1302
|
-
"van-divider/content-position": {
|
1303
|
-
"type": "string",
|
1304
|
-
"description": "Content position, can be set to `left` `right`, Default: `center`"
|
1305
|
-
},
|
1306
1294
|
"van-dropdown-menu/active-color": {
|
1307
1295
|
"type": "string",
|
1308
1296
|
"description": "Active color of title and option, Default: `#ee0a24`"
|
@@ -1359,6 +1347,18 @@
|
|
1359
1347
|
"type": "string | Element",
|
1360
1348
|
"description": "Specifies a target element where DropdownItem will be mounted, Default: -"
|
1361
1349
|
},
|
1350
|
+
"van-divider/dashed": {
|
1351
|
+
"type": "boolean",
|
1352
|
+
"description": "Whether to use dashed border, Default: `false`"
|
1353
|
+
},
|
1354
|
+
"van-divider/hairline": {
|
1355
|
+
"type": "boolean",
|
1356
|
+
"description": "Whether to use hairline, Default: `true`"
|
1357
|
+
},
|
1358
|
+
"van-divider/content-position": {
|
1359
|
+
"type": "string",
|
1360
|
+
"description": "Content position, can be set to `left` `right`, Default: `center`"
|
1361
|
+
},
|
1362
1362
|
"van-empty/image": {
|
1363
1363
|
"type": "string",
|
1364
1364
|
"description": "Image type, can be set to `error` `network` `search` or image URL, Default: `default`"
|
@@ -1540,8 +1540,8 @@
|
|
1540
1540
|
"description": "Error message align, can be set to `center` `right`, Default: `left`"
|
1541
1541
|
},
|
1542
1542
|
"van-form/validate-trigger": {
|
1543
|
-
"type": "string",
|
1544
|
-
"description": "When to validate the form, can be set to `onChange`、`onSubmit`, Default: `onBlur`"
|
1543
|
+
"type": "string | string[]",
|
1544
|
+
"description": "When to validate the form, can be set to `onChange`、`onSubmit`, supports using array to set multiple values, Default: `onBlur`"
|
1545
1545
|
},
|
1546
1546
|
"van-form/colon": {
|
1547
1547
|
"type": "boolean",
|
@@ -1683,77 +1683,17 @@
|
|
1683
1683
|
"type": "string",
|
1684
1684
|
"description": "HTML Tag of root element, Default: `i`"
|
1685
1685
|
},
|
1686
|
-
"van-image/
|
1687
|
-
"type": "
|
1688
|
-
"description": "
|
1686
|
+
"van-image-preview/v-model:show": {
|
1687
|
+
"type": "boolean",
|
1688
|
+
"description": "Whether to show ImagePreview, Default: `false`"
|
1689
1689
|
},
|
1690
|
-
"van-image/
|
1691
|
-
"type": "string",
|
1692
|
-
"description": "
|
1690
|
+
"van-image-preview/images": {
|
1691
|
+
"type": "string[]",
|
1692
|
+
"description": "Images URL list, Default: `[]`"
|
1693
1693
|
},
|
1694
|
-
"van-image/position": {
|
1695
|
-
"type": "string",
|
1696
|
-
"description": "
|
1697
|
-
},
|
1698
|
-
"van-image/alt": {
|
1699
|
-
"type": "string",
|
1700
|
-
"description": "Alt, Default: -"
|
1701
|
-
},
|
1702
|
-
"van-image/width": {
|
1703
|
-
"type": "number | string",
|
1704
|
-
"description": "Width, Default: -"
|
1705
|
-
},
|
1706
|
-
"van-image/height": {
|
1707
|
-
"type": "number | string",
|
1708
|
-
"description": "Height, Default: -"
|
1709
|
-
},
|
1710
|
-
"van-image/radius": {
|
1711
|
-
"type": "number | string",
|
1712
|
-
"description": "Border Radius, Default: `0`"
|
1713
|
-
},
|
1714
|
-
"van-image/round": {
|
1715
|
-
"type": "boolean",
|
1716
|
-
"description": "Whether to be round, Default: `false`"
|
1717
|
-
},
|
1718
|
-
"van-image/lazy-load": {
|
1719
|
-
"type": "boolean",
|
1720
|
-
"description": "Whether to enable lazy load, should register [Lazyload](#/en-US/lazyload) component, Default: `false`"
|
1721
|
-
},
|
1722
|
-
"van-image/show-error": {
|
1723
|
-
"type": "boolean",
|
1724
|
-
"description": "Whether to show error placeholder, Default: `true`"
|
1725
|
-
},
|
1726
|
-
"van-image/show-loading": {
|
1727
|
-
"type": "boolean",
|
1728
|
-
"description": "Whether to show loading placeholder, Default: `true`"
|
1729
|
-
},
|
1730
|
-
"van-image/error-icon": {
|
1731
|
-
"type": "string",
|
1732
|
-
"description": "Error icon, Default: `photo-fail`"
|
1733
|
-
},
|
1734
|
-
"van-image/loading-icon": {
|
1735
|
-
"type": "string",
|
1736
|
-
"description": "Loading icon, Default: `photo`"
|
1737
|
-
},
|
1738
|
-
"van-image/icon-size": {
|
1739
|
-
"type": "number | string",
|
1740
|
-
"description": "Icon size, Default: `32px`"
|
1741
|
-
},
|
1742
|
-
"van-image/icon-prefix": {
|
1743
|
-
"type": "string",
|
1744
|
-
"description": "Icon className prefix, Default: `van-icon`"
|
1745
|
-
},
|
1746
|
-
"van-image-preview/v-model:show": {
|
1747
|
-
"type": "boolean",
|
1748
|
-
"description": "Whether to show ImagePreview, Default: `false`"
|
1749
|
-
},
|
1750
|
-
"van-image-preview/images": {
|
1751
|
-
"type": "string[]",
|
1752
|
-
"description": "Images URL list, Default: `[]`"
|
1753
|
-
},
|
1754
|
-
"van-image-preview/start-position": {
|
1755
|
-
"type": "number | string",
|
1756
|
-
"description": "Start position, Default: `0`"
|
1694
|
+
"van-image-preview/start-position": {
|
1695
|
+
"type": "number | string",
|
1696
|
+
"description": "Start position, Default: `0`"
|
1757
1697
|
},
|
1758
1698
|
"van-image-preview/swipe-duration": {
|
1759
1699
|
"type": "number | string",
|
@@ -1819,6 +1759,66 @@
|
|
1819
1759
|
"type": "string | Element",
|
1820
1760
|
"description": "Specifies a target element where ImagePreview will be mounted, Default: -"
|
1821
1761
|
},
|
1762
|
+
"van-image/src": {
|
1763
|
+
"type": "string",
|
1764
|
+
"description": "Src, Default: -"
|
1765
|
+
},
|
1766
|
+
"van-image/fit": {
|
1767
|
+
"type": "string",
|
1768
|
+
"description": "Fit mode, same as [object-fit](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit), Default: `fill`"
|
1769
|
+
},
|
1770
|
+
"van-image/position": {
|
1771
|
+
"type": "string",
|
1772
|
+
"description": "Position, same as [object-position](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position), can be set to `top` `right` `bottom` `left` or `string`, Default: `center`"
|
1773
|
+
},
|
1774
|
+
"van-image/alt": {
|
1775
|
+
"type": "string",
|
1776
|
+
"description": "Alt, Default: -"
|
1777
|
+
},
|
1778
|
+
"van-image/width": {
|
1779
|
+
"type": "number | string",
|
1780
|
+
"description": "Width, Default: -"
|
1781
|
+
},
|
1782
|
+
"van-image/height": {
|
1783
|
+
"type": "number | string",
|
1784
|
+
"description": "Height, Default: -"
|
1785
|
+
},
|
1786
|
+
"van-image/radius": {
|
1787
|
+
"type": "number | string",
|
1788
|
+
"description": "Border Radius, Default: `0`"
|
1789
|
+
},
|
1790
|
+
"van-image/round": {
|
1791
|
+
"type": "boolean",
|
1792
|
+
"description": "Whether to be round, Default: `false`"
|
1793
|
+
},
|
1794
|
+
"van-image/lazy-load": {
|
1795
|
+
"type": "boolean",
|
1796
|
+
"description": "Whether to enable lazy load, should register [Lazyload](#/en-US/lazyload) component, Default: `false`"
|
1797
|
+
},
|
1798
|
+
"van-image/show-error": {
|
1799
|
+
"type": "boolean",
|
1800
|
+
"description": "Whether to show error placeholder, Default: `true`"
|
1801
|
+
},
|
1802
|
+
"van-image/show-loading": {
|
1803
|
+
"type": "boolean",
|
1804
|
+
"description": "Whether to show loading placeholder, Default: `true`"
|
1805
|
+
},
|
1806
|
+
"van-image/error-icon": {
|
1807
|
+
"type": "string",
|
1808
|
+
"description": "Error icon, Default: `photo-fail`"
|
1809
|
+
},
|
1810
|
+
"van-image/loading-icon": {
|
1811
|
+
"type": "string",
|
1812
|
+
"description": "Loading icon, Default: `photo`"
|
1813
|
+
},
|
1814
|
+
"van-image/icon-size": {
|
1815
|
+
"type": "number | string",
|
1816
|
+
"description": "Icon size, Default: `32px`"
|
1817
|
+
},
|
1818
|
+
"van-image/icon-prefix": {
|
1819
|
+
"type": "string",
|
1820
|
+
"description": "Icon className prefix, Default: `van-icon`"
|
1821
|
+
},
|
1822
1822
|
"van-index-bar/index-list": {
|
1823
1823
|
"type": "string[] | number[]",
|
1824
1824
|
"description": "Index List, Default: `A-Z`"
|
@@ -2191,70 +2191,6 @@
|
|
2191
2191
|
"type": "number | string",
|
2192
2192
|
"description": "Duration of the momentum animation, unit `ms`, Default: `1000`"
|
2193
2193
|
},
|
2194
|
-
"van-popover/v-model:show": {
|
2195
|
-
"type": "boolean",
|
2196
|
-
"description": "Whether to show Popover, Default: `false`"
|
2197
|
-
},
|
2198
|
-
"van-popover/actions": {
|
2199
|
-
"type": "PopoverAction[]",
|
2200
|
-
"description": "Actions, Default: `[]`"
|
2201
|
-
},
|
2202
|
-
"van-popover/placement": {
|
2203
|
-
"type": "PopoverPlacement",
|
2204
|
-
"description": "Placement, Default: `bottom`"
|
2205
|
-
},
|
2206
|
-
"van-popover/theme": {
|
2207
|
-
"type": "PopoverTheme",
|
2208
|
-
"description": "Theme, can be set to `dark`, Default: `light`"
|
2209
|
-
},
|
2210
|
-
"van-popover/trigger": {
|
2211
|
-
"type": "PopoverTrigger",
|
2212
|
-
"description": "Trigger mode, can be set to `manual`, Default: `click`"
|
2213
|
-
},
|
2214
|
-
"van-popover/duration": {
|
2215
|
-
"type": "number | string",
|
2216
|
-
"description": "Transition duration, unit second, Default: `0.3`"
|
2217
|
-
},
|
2218
|
-
"van-popover/offset": {
|
2219
|
-
"type": "[number, number]",
|
2220
|
-
"description": "Distance to reference, Default: `[0, 8]`"
|
2221
|
-
},
|
2222
|
-
"van-popover/overlay": {
|
2223
|
-
"type": "boolean",
|
2224
|
-
"description": "Whether to show overlay, Default: `false`"
|
2225
|
-
},
|
2226
|
-
"van-popover/overlay-class": {
|
2227
|
-
"type": "string | Array | object",
|
2228
|
-
"description": "Custom overlay class, Default: -"
|
2229
|
-
},
|
2230
|
-
"van-popover/overlay-style": {
|
2231
|
-
"type": "object",
|
2232
|
-
"description": "Custom overlay style, Default: -"
|
2233
|
-
},
|
2234
|
-
"van-popover/show-arrow": {
|
2235
|
-
"type": "boolean",
|
2236
|
-
"description": "Whether to show arrow, Default: `true`"
|
2237
|
-
},
|
2238
|
-
"van-popover/close-on-click-action": {
|
2239
|
-
"type": "boolean",
|
2240
|
-
"description": "Whether to close when clicking action, Default: `true`"
|
2241
|
-
},
|
2242
|
-
"van-popover/close-on-click-outside": {
|
2243
|
-
"type": "boolean",
|
2244
|
-
"description": "Whether to close when clicking outside, Default: `true`"
|
2245
|
-
},
|
2246
|
-
"van-popover/close-on-click-overlay": {
|
2247
|
-
"type": "boolean",
|
2248
|
-
"description": "Whether to close when clicking overlay, Default: `true`"
|
2249
|
-
},
|
2250
|
-
"van-popover/teleport": {
|
2251
|
-
"type": "string | Element",
|
2252
|
-
"description": "Specifies a target element where Popover will be mounted, Default: `body`"
|
2253
|
-
},
|
2254
|
-
"van-popover/icon-prefix": {
|
2255
|
-
"type": "string",
|
2256
|
-
"description": "Icon className prefix, Default: `van-icon`"
|
2257
|
-
},
|
2258
2194
|
"van-popup/v-model:show": {
|
2259
2195
|
"type": "boolean",
|
2260
2196
|
"description": "Whether to show popup, Default: `false`"
|
@@ -2339,41 +2275,69 @@
|
|
2339
2275
|
"type": "boolean",
|
2340
2276
|
"description": "Whether to enable bottom safe area adaptation, Default: `false`"
|
2341
2277
|
},
|
2342
|
-
"van-
|
2343
|
-
"type": "
|
2344
|
-
"description": "
|
2278
|
+
"van-popover/v-model:show": {
|
2279
|
+
"type": "boolean",
|
2280
|
+
"description": "Whether to show Popover, Default: `false`"
|
2345
2281
|
},
|
2346
|
-
"van-
|
2282
|
+
"van-popover/actions": {
|
2283
|
+
"type": "PopoverAction[]",
|
2284
|
+
"description": "Actions, Default: `[]`"
|
2285
|
+
},
|
2286
|
+
"van-popover/placement": {
|
2287
|
+
"type": "PopoverPlacement",
|
2288
|
+
"description": "Placement, Default: `bottom`"
|
2289
|
+
},
|
2290
|
+
"van-popover/theme": {
|
2291
|
+
"type": "PopoverTheme",
|
2292
|
+
"description": "Theme, can be set to `dark`, Default: `light`"
|
2293
|
+
},
|
2294
|
+
"van-popover/trigger": {
|
2295
|
+
"type": "PopoverTrigger",
|
2296
|
+
"description": "Trigger mode, can be set to `manual`, Default: `click`"
|
2297
|
+
},
|
2298
|
+
"van-popover/duration": {
|
2347
2299
|
"type": "number | string",
|
2348
|
-
"description": "
|
2300
|
+
"description": "Transition duration, unit second, Default: `0.3`"
|
2349
2301
|
},
|
2350
|
-
"van-
|
2351
|
-
"type": "
|
2352
|
-
"description": "
|
2302
|
+
"van-popover/offset": {
|
2303
|
+
"type": "[number, number]",
|
2304
|
+
"description": "Distance to reference, Default: `[0, 8]`"
|
2353
2305
|
},
|
2354
|
-
"van-
|
2355
|
-
"type": "
|
2356
|
-
"description": "
|
2306
|
+
"van-popover/overlay": {
|
2307
|
+
"type": "boolean",
|
2308
|
+
"description": "Whether to show overlay, Default: `false`"
|
2357
2309
|
},
|
2358
|
-
"van-
|
2359
|
-
"type": "string",
|
2360
|
-
"description": "
|
2310
|
+
"van-popover/overlay-class": {
|
2311
|
+
"type": "string | Array | object",
|
2312
|
+
"description": "Custom overlay class, Default: -"
|
2361
2313
|
},
|
2362
|
-
"van-
|
2363
|
-
"type": "
|
2364
|
-
"description": "
|
2314
|
+
"van-popover/overlay-style": {
|
2315
|
+
"type": "object",
|
2316
|
+
"description": "Custom overlay style, Default: -"
|
2365
2317
|
},
|
2366
|
-
"van-
|
2367
|
-
"type": "
|
2368
|
-
"description": "
|
2318
|
+
"van-popover/show-arrow": {
|
2319
|
+
"type": "boolean",
|
2320
|
+
"description": "Whether to show arrow, Default: `true`"
|
2369
2321
|
},
|
2370
|
-
"van-
|
2322
|
+
"van-popover/close-on-click-action": {
|
2371
2323
|
"type": "boolean",
|
2372
|
-
"description": "Whether to
|
2324
|
+
"description": "Whether to close when clicking action, Default: `true`"
|
2373
2325
|
},
|
2374
|
-
"van-
|
2326
|
+
"van-popover/close-on-click-outside": {
|
2375
2327
|
"type": "boolean",
|
2376
|
-
"description": "Whether to
|
2328
|
+
"description": "Whether to close when clicking outside, Default: `true`"
|
2329
|
+
},
|
2330
|
+
"van-popover/close-on-click-overlay": {
|
2331
|
+
"type": "boolean",
|
2332
|
+
"description": "Whether to close when clicking overlay, Default: `true`"
|
2333
|
+
},
|
2334
|
+
"van-popover/teleport": {
|
2335
|
+
"type": "string | Element",
|
2336
|
+
"description": "Specifies a target element where Popover will be mounted, Default: `body`"
|
2337
|
+
},
|
2338
|
+
"van-popover/icon-prefix": {
|
2339
|
+
"type": "string",
|
2340
|
+
"description": "Icon className prefix, Default: `van-icon`"
|
2377
2341
|
},
|
2378
2342
|
"van-pull-refresh/v-model": {
|
2379
2343
|
"type": "boolean",
|
@@ -2415,6 +2379,42 @@
|
|
2415
2379
|
"type": "boolean",
|
2416
2380
|
"description": "Whether to disable pull refresh, Default: `false`"
|
2417
2381
|
},
|
2382
|
+
"van-progress/percentage": {
|
2383
|
+
"type": "number | string",
|
2384
|
+
"description": "Percentage, Default: `0`"
|
2385
|
+
},
|
2386
|
+
"van-progress/stroke-width": {
|
2387
|
+
"type": "number | string",
|
2388
|
+
"description": "Stroke width, Default: `4px`"
|
2389
|
+
},
|
2390
|
+
"van-progress/color": {
|
2391
|
+
"type": "string",
|
2392
|
+
"description": "Color, Default: `#1989fa`"
|
2393
|
+
},
|
2394
|
+
"van-progress/track-color": {
|
2395
|
+
"type": "string",
|
2396
|
+
"description": "Track color, Default: `#e5e5e5`"
|
2397
|
+
},
|
2398
|
+
"van-progress/pivot-text": {
|
2399
|
+
"type": "string",
|
2400
|
+
"description": "Pivot text, Default: percentage"
|
2401
|
+
},
|
2402
|
+
"van-progress/pivot-color": {
|
2403
|
+
"type": "string",
|
2404
|
+
"description": "Pivot text background color, Default: inherit progress color"
|
2405
|
+
},
|
2406
|
+
"van-progress/text-color": {
|
2407
|
+
"type": "string",
|
2408
|
+
"description": "Pivot text color, Default: `white`"
|
2409
|
+
},
|
2410
|
+
"van-progress/inactive": {
|
2411
|
+
"type": "boolean",
|
2412
|
+
"description": "Whether to be gray, Default: `false`"
|
2413
|
+
},
|
2414
|
+
"van-progress/show-pivot": {
|
2415
|
+
"type": "boolean",
|
2416
|
+
"description": "Whether to show text, Default: `true`"
|
2417
|
+
},
|
2418
2418
|
"van-radio/name": {
|
2419
2419
|
"type": "any",
|
2420
2420
|
"description": "Radio name, Default: -"
|