vant 4.0.0-beta.0 → 4.0.0-beta.1

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.
Files changed (131) hide show
  1. package/README.md +13 -9
  2. package/changelog.generated.md +191 -150
  3. package/es/badge/Badge.mjs +1 -1
  4. package/es/calendar/Calendar.mjs +3 -4
  5. package/es/collapse/Collapse.d.ts +8 -1
  6. package/es/collapse/Collapse.mjs +28 -1
  7. package/es/collapse/index.d.ts +1 -1
  8. package/es/collapse-item/CollapseItem.mjs +3 -1
  9. package/es/composables/use-global-z-index.d.ts +4 -0
  10. package/es/composables/use-global-z-index.mjs +9 -0
  11. package/es/composables/use-height.d.ts +1 -1
  12. package/es/composables/use-height.mjs +8 -2
  13. package/es/composables/use-lock-scroll.mjs +3 -1
  14. package/es/composables/use-placeholder.mjs +1 -1
  15. package/es/config-provider/ConfigProvider.d.ts +13 -3
  16. package/es/config-provider/ConfigProvider.mjs +25 -9
  17. package/es/config-provider/index.d.ts +8 -2
  18. package/es/dialog/index.css +1 -1
  19. package/es/dropdown-menu/DropdownMenu.mjs +2 -1
  20. package/es/empty/Empty.d.ts +1 -1
  21. package/es/empty/Empty.mjs +281 -16
  22. package/es/field/Field.mjs +4 -1
  23. package/es/field/types.d.ts +1 -0
  24. package/es/field/utils.d.ts +1 -0
  25. package/es/field/utils.mjs +8 -2
  26. package/es/image-preview/ImagePreviewItem.mjs +1 -1
  27. package/es/image-preview/index.css +1 -1
  28. package/es/index-bar/IndexBar.mjs +3 -2
  29. package/es/index.d.ts +2 -1
  30. package/es/index.mjs +4 -1
  31. package/es/list/List.mjs +2 -1
  32. package/es/number-keyboard/NumberKeyboard.mjs +1 -2
  33. package/es/number-keyboard/NumberKeyboardKey.mjs +2 -2
  34. package/es/password-input/PasswordInput.mjs +1 -1
  35. package/es/picker/Picker.d.ts +2 -1
  36. package/es/picker/Picker.mjs +9 -2
  37. package/es/picker/PickerColumn.d.ts +2 -1
  38. package/es/picker/PickerColumn.mjs +5 -4
  39. package/es/picker/index.d.ts +2 -1
  40. package/es/popover/Popover.mjs +28 -27
  41. package/es/popup/Popup.mjs +6 -5
  42. package/es/popup/index.css +1 -1
  43. package/es/pull-refresh/PullRefresh.mjs +7 -3
  44. package/es/rate/Rate.mjs +1 -1
  45. package/es/search/index.css +1 -1
  46. package/es/slider/Slider.mjs +1 -1
  47. package/es/space/Space.d.ts +48 -0
  48. package/es/space/Space.mjs +87 -0
  49. package/es/space/index.css +1 -0
  50. package/es/space/index.d.ts +37 -0
  51. package/es/space/index.mjs +8 -0
  52. package/es/space/style/index.d.ts +1 -0
  53. package/es/space/style/index.mjs +2 -0
  54. package/es/stepper/Stepper.mjs +1 -1
  55. package/es/sticky/Sticky.mjs +2 -1
  56. package/es/swipe/Swipe.mjs +1 -1
  57. package/es/swipe-cell/SwipeCell.mjs +1 -1
  58. package/es/tabs/Tabs.mjs +12 -2
  59. package/es/tabs/TabsContent.mjs +4 -0
  60. package/es/vue-tsx-shim.d.ts +7 -0
  61. package/lib/badge/Badge.js +1 -1
  62. package/lib/calendar/Calendar.js +3 -4
  63. package/lib/collapse/Collapse.d.ts +8 -1
  64. package/lib/collapse/Collapse.js +28 -1
  65. package/lib/collapse/index.d.ts +1 -1
  66. package/lib/collapse-item/CollapseItem.js +3 -1
  67. package/lib/composables/use-global-z-index.d.ts +4 -0
  68. package/lib/composables/use-global-z-index.js +28 -0
  69. package/lib/composables/use-height.d.ts +1 -1
  70. package/lib/composables/use-height.js +8 -2
  71. package/lib/composables/use-lock-scroll.js +3 -1
  72. package/lib/composables/use-placeholder.js +1 -1
  73. package/lib/config-provider/ConfigProvider.d.ts +13 -3
  74. package/lib/config-provider/ConfigProvider.js +23 -7
  75. package/lib/config-provider/index.d.ts +8 -2
  76. package/lib/dialog/index.css +1 -1
  77. package/lib/dropdown-menu/DropdownMenu.js +2 -1
  78. package/lib/empty/Empty.d.ts +1 -1
  79. package/lib/empty/Empty.js +281 -16
  80. package/lib/field/Field.js +3 -0
  81. package/lib/field/types.d.ts +1 -0
  82. package/lib/field/utils.d.ts +1 -0
  83. package/lib/field/utils.js +8 -2
  84. package/lib/image-preview/ImagePreviewItem.js +1 -1
  85. package/lib/image-preview/index.css +1 -1
  86. package/lib/index-bar/IndexBar.js +3 -2
  87. package/lib/index.css +1 -1
  88. package/lib/index.d.ts +2 -1
  89. package/lib/index.js +4 -1
  90. package/lib/list/List.js +2 -1
  91. package/lib/number-keyboard/NumberKeyboard.js +1 -2
  92. package/lib/number-keyboard/NumberKeyboardKey.js +2 -2
  93. package/lib/password-input/PasswordInput.js +1 -1
  94. package/lib/picker/Picker.d.ts +2 -1
  95. package/lib/picker/Picker.js +9 -2
  96. package/lib/picker/PickerColumn.d.ts +2 -1
  97. package/lib/picker/PickerColumn.js +5 -4
  98. package/lib/picker/index.d.ts +2 -1
  99. package/lib/popover/Popover.js +27 -26
  100. package/lib/popup/Popup.js +6 -5
  101. package/lib/popup/index.css +1 -1
  102. package/lib/pull-refresh/PullRefresh.js +6 -2
  103. package/lib/rate/Rate.js +1 -1
  104. package/lib/search/index.css +1 -1
  105. package/lib/slider/Slider.js +1 -1
  106. package/lib/space/Space.d.ts +48 -0
  107. package/lib/space/Space.js +106 -0
  108. package/lib/space/index.css +1 -0
  109. package/lib/space/index.d.ts +37 -0
  110. package/lib/space/index.js +30 -0
  111. package/lib/space/style/index.d.ts +1 -0
  112. package/lib/space/style/index.js +2 -0
  113. package/lib/stepper/Stepper.js +1 -1
  114. package/lib/sticky/Sticky.js +2 -1
  115. package/lib/swipe/Swipe.js +1 -1
  116. package/lib/swipe-cell/SwipeCell.js +1 -1
  117. package/lib/tabs/Tabs.js +12 -2
  118. package/lib/tabs/TabsContent.js +4 -0
  119. package/lib/vant.cjs.js +1332 -1101
  120. package/lib/vant.es.js +1440 -1100
  121. package/lib/vant.js +1285 -1102
  122. package/lib/vant.min.js +1 -1
  123. package/lib/vue-tsx-shim.d.ts +7 -0
  124. package/{vetur → lib}/web-types.json +2304 -2203
  125. package/package.json +6 -11
  126. package/es/empty/Images.d.ts +0 -4
  127. package/es/empty/Images.mjs +0 -271
  128. package/lib/empty/Images.d.ts +0 -4
  129. package/lib/empty/Images.js +0 -290
  130. package/vetur/attributes.json +0 -3530
  131. package/vetur/tags.json +0 -1212
package/vetur/tags.json DELETED
@@ -1,1212 +0,0 @@
1
- {
2
- "van-action-bar": {
3
- "attributes": [
4
- "safe-area-inset-bottom",
5
- "placeholder"
6
- ]
7
- },
8
- "van-action-bar-icon": {
9
- "attributes": [
10
- "text",
11
- "icon",
12
- "color",
13
- "icon-class",
14
- "icon-prefix",
15
- "dot",
16
- "badge",
17
- "badge-props",
18
- "url",
19
- "to",
20
- "replace"
21
- ]
22
- },
23
- "van-action-bar-button": {
24
- "attributes": [
25
- "text",
26
- "type",
27
- "color",
28
- "icon",
29
- "disabled",
30
- "loading",
31
- "url",
32
- "to",
33
- "replace"
34
- ]
35
- },
36
- "van-address-list": {
37
- "attributes": [
38
- "v-model",
39
- "list",
40
- "disabled-list",
41
- "disabled-text",
42
- "switchable",
43
- "add-button-text",
44
- "default-tag-text"
45
- ]
46
- },
47
- "van-area": {
48
- "attributes": [
49
- "v-model",
50
- "title",
51
- "confirm-button-text",
52
- "cancel-button-text",
53
- "area-list",
54
- "columns-placeholder",
55
- "loading",
56
- "readonly",
57
- "option-height",
58
- "columns-num",
59
- "visible-option-num",
60
- "swipe-duration"
61
- ]
62
- },
63
- "van-address-edit": {
64
- "attributes": [
65
- "area-list",
66
- "area-columns-placeholder",
67
- "area-placeholder",
68
- "address-info",
69
- "search-result",
70
- "show-delete",
71
- "show-set-default",
72
- "show-search-result",
73
- "show-area",
74
- "show-detail",
75
- "disable-area",
76
- "save-button-text",
77
- "delete-button-text",
78
- "detail-rows",
79
- "detail-maxlength",
80
- "is-saving",
81
- "is-deleting",
82
- "tel-validator",
83
- "tel-maxlength",
84
- "validator"
85
- ]
86
- },
87
- "van-badge": {
88
- "attributes": [
89
- "content",
90
- "color",
91
- "dot",
92
- "max",
93
- "offset",
94
- "show-zero",
95
- "position"
96
- ]
97
- },
98
- "van-button": {
99
- "attributes": [
100
- "type",
101
- "size",
102
- "text",
103
- "color",
104
- "icon",
105
- "icon-prefix",
106
- "icon-position",
107
- "tag",
108
- "native-type",
109
- "plain",
110
- "block",
111
- "round",
112
- "square",
113
- "disabled",
114
- "loading",
115
- "loading-text",
116
- "loading-type",
117
- "loading-size",
118
- "url",
119
- "to",
120
- "replace"
121
- ]
122
- },
123
- "van-action-sheet": {
124
- "attributes": [
125
- "v-model:show",
126
- "actions",
127
- "title",
128
- "cancel-text",
129
- "description",
130
- "closeable",
131
- "close-icon",
132
- "duration",
133
- "round",
134
- "overlay",
135
- "overlay-class",
136
- "overlay-style",
137
- "lock-scroll",
138
- "lazy-render",
139
- "close-on-popstate",
140
- "close-on-click-action",
141
- "close-on-click-overlay",
142
- "safe-area-inset-bottom",
143
- "teleport",
144
- "before-close"
145
- ]
146
- },
147
- "van-calendar": {
148
- "attributes": [
149
- "type",
150
- "title",
151
- "color",
152
- "min-date",
153
- "max-date",
154
- "default-date",
155
- "row-height",
156
- "formatter",
157
- "poppable",
158
- "lazy-render",
159
- "show-mark",
160
- "show-title",
161
- "show-subtitle",
162
- "show-confirm",
163
- "readonly",
164
- "confirm-text",
165
- "confirm-disabled-text",
166
- "first-day-of-week",
167
- "v-model:show",
168
- "position",
169
- "round",
170
- "close-on-popstate",
171
- "close-on-click-overlay",
172
- "safe-area-inset-top",
173
- "safe-area-inset-bottom",
174
- "teleport",
175
- "max-range",
176
- "range-prompt",
177
- "show-range-prompt",
178
- "allow-same-day",
179
- "max-range",
180
- "range-prompt"
181
- ]
182
- },
183
- "van-card": {
184
- "attributes": [
185
- "thumb",
186
- "title",
187
- "desc",
188
- "tag",
189
- "num",
190
- "price",
191
- "origin-price",
192
- "centered",
193
- "currency",
194
- "thumb-link",
195
- "lazy-load"
196
- ]
197
- },
198
- "van-cascader": {
199
- "attributes": [
200
- "title",
201
- "value",
202
- "options",
203
- "placeholder",
204
- "active-color",
205
- "swipeable",
206
- "closeable",
207
- "show-header",
208
- "close-icon",
209
- "field-names"
210
- ]
211
- },
212
- "van-cell-group": {
213
- "attributes": [
214
- "title",
215
- "inset",
216
- "border"
217
- ]
218
- },
219
- "van-cell": {
220
- "attributes": [
221
- "title",
222
- "value",
223
- "label",
224
- "size",
225
- "icon",
226
- "icon-prefix",
227
- "border",
228
- "center",
229
- "url",
230
- "to",
231
- "replace",
232
- "clickable",
233
- "is-link",
234
- "required",
235
- "arrow-direction",
236
- "title-style",
237
- "title-class",
238
- "value-class",
239
- "label-class"
240
- ]
241
- },
242
- "van-checkbox": {
243
- "attributes": [
244
- "v-model",
245
- "name",
246
- "shape",
247
- "disabled",
248
- "label-disabled",
249
- "label-position",
250
- "icon-size",
251
- "checked-color",
252
- "bind-group"
253
- ]
254
- },
255
- "van-checkbox-group": {
256
- "attributes": [
257
- "v-model",
258
- "disabled",
259
- "max",
260
- "direction",
261
- "icon-size",
262
- "checked-color"
263
- ]
264
- },
265
- "van-circle": {
266
- "attributes": [
267
- "v-model:current-rate",
268
- "rate",
269
- "size",
270
- "color",
271
- "layer-color",
272
- "fill",
273
- "speed",
274
- "text",
275
- "stroke-width",
276
- "stroke-linecap",
277
- "clockwise",
278
- "start-position"
279
- ]
280
- },
281
- "van-row": {
282
- "attributes": [
283
- "gutter",
284
- "tag",
285
- "justify",
286
- "align",
287
- "wrap"
288
- ]
289
- },
290
- "van-col": {
291
- "attributes": [
292
- "span",
293
- "offset",
294
- "tag"
295
- ]
296
- },
297
- "van-collapse": {
298
- "attributes": [
299
- "v-model",
300
- "accordion",
301
- "border"
302
- ]
303
- },
304
- "van-collapse-item": {
305
- "attributes": [
306
- "name",
307
- "icon",
308
- "size",
309
- "title",
310
- "value",
311
- "label",
312
- "border",
313
- "disabled",
314
- "readonly",
315
- "is-link",
316
- "lazy-render",
317
- "title-class",
318
- "value-class",
319
- "label-class"
320
- ]
321
- },
322
- "van-config-provider": {
323
- "attributes": [
324
- "theme",
325
- "theme-vars",
326
- "tag",
327
- "icon-prefix"
328
- ]
329
- },
330
- "van-contact-card": {
331
- "attributes": [
332
- "type",
333
- "name",
334
- "tel",
335
- "add-text",
336
- "editable"
337
- ]
338
- },
339
- "van-contact-edit": {
340
- "attributes": [
341
- "contact-info",
342
- "is-edit",
343
- "is-saving",
344
- "is-deleting",
345
- "tel-validator",
346
- "show-set-default",
347
- "set-default-label"
348
- ]
349
- },
350
- "van-contact-list": {
351
- "attributes": [
352
- "v-model",
353
- "list",
354
- "add-text",
355
- "default-tag-text"
356
- ]
357
- },
358
- "van-count-down": {
359
- "attributes": [
360
- "time",
361
- "format",
362
- "auto-start",
363
- "millisecond"
364
- ]
365
- },
366
- "van-coupon-cell": {
367
- "attributes": [
368
- "title",
369
- "chosen-coupon",
370
- "coupons",
371
- "editable",
372
- "border",
373
- "currency"
374
- ]
375
- },
376
- "van-coupon-list": {
377
- "attributes": [
378
- "v-model",
379
- "chosen-coupon",
380
- "coupons",
381
- "disabled-coupons",
382
- "enabled-title",
383
- "disabled-title",
384
- "exchange-button-text",
385
- "exchange-button-loading",
386
- "exchange-button-disabled",
387
- "exchange-min-length",
388
- "displayed-coupon-index",
389
- "close-button-text",
390
- "input-placeholder",
391
- "currency",
392
- "empty-image",
393
- "show-count"
394
- ]
395
- },
396
- "van-date-picker": {
397
- "attributes": [
398
- "v-model",
399
- "columns-type",
400
- "min-date",
401
- "max-date",
402
- "title",
403
- "confirm-button-text",
404
- "cancel-button-text",
405
- "show-toolbar",
406
- "loading",
407
- "readonly",
408
- "filter",
409
- "formatter",
410
- "option-height",
411
- "visible-option-num",
412
- "swipe-duration"
413
- ]
414
- },
415
- "van-dialog": {
416
- "attributes": [
417
- "v-model:show",
418
- "title",
419
- "width",
420
- "message",
421
- "message-align",
422
- "theme",
423
- "show-confirm-button",
424
- "show-cancel-button",
425
- "cancel-button-text",
426
- "cancel-button-color",
427
- "cancel-button-disabled",
428
- "confirm-button-text",
429
- "confirm-button-color",
430
- "confirm-button-disabled",
431
- "overlay",
432
- "overlay-class",
433
- "overlay-style",
434
- "close-on-popstate",
435
- "close-on-click-overlay",
436
- "lazy-render",
437
- "lock-scroll",
438
- "allow-html",
439
- "before-close",
440
- "transition",
441
- "teleport"
442
- ]
443
- },
444
- "van-divider": {
445
- "attributes": [
446
- "dashed",
447
- "hairline",
448
- "content-position"
449
- ]
450
- },
451
- "van-dropdown-menu": {
452
- "attributes": [
453
- "active-color",
454
- "direction",
455
- "z-index",
456
- "duration",
457
- "overlay",
458
- "close-on-click-overlay",
459
- "close-on-click-outside"
460
- ]
461
- },
462
- "van-dropdown-item": {
463
- "attributes": [
464
- "v-model",
465
- "title",
466
- "options",
467
- "disabled",
468
- "lazy-render",
469
- "title-class",
470
- "teleport"
471
- ]
472
- },
473
- "van-empty": {
474
- "attributes": [
475
- "image",
476
- "image-size",
477
- "description"
478
- ]
479
- },
480
- "van-field": {
481
- "attributes": [
482
- "v-model",
483
- "label",
484
- "name",
485
- "id",
486
- "type",
487
- "size",
488
- "maxlength",
489
- "placeholder",
490
- "border",
491
- "disabled",
492
- "readonly",
493
- "colon",
494
- "required",
495
- "center",
496
- "clearable",
497
- "clear-icon",
498
- "clear-trigger",
499
- "clickable",
500
- "is-link",
501
- "autofocus",
502
- "show-word-limit",
503
- "error",
504
- "error-message",
505
- "error-message-align",
506
- "formatter",
507
- "format-trigger",
508
- "arrow-direction",
509
- "label-class",
510
- "label-width",
511
- "label-align",
512
- "input-align",
513
- "autosize",
514
- "left-icon",
515
- "right-icon",
516
- "icon-prefix",
517
- "rules",
518
- "autocomplete",
519
- "enterkeyhint"
520
- ]
521
- },
522
- "van-form": {
523
- "attributes": [
524
- "label-width",
525
- "label-align",
526
- "input-align",
527
- "error-message-align",
528
- "validate-trigger",
529
- "colon",
530
- "disabled",
531
- "readonly",
532
- "validate-first",
533
- "scroll-to-error",
534
- "show-error",
535
- "show-error-message",
536
- "submit-on-enter"
537
- ]
538
- },
539
- "van-grid": {
540
- "attributes": [
541
- "column-num",
542
- "icon-size",
543
- "gutter",
544
- "border",
545
- "center",
546
- "square",
547
- "clickable",
548
- "direction",
549
- "reverse"
550
- ]
551
- },
552
- "van-grid-item": {
553
- "attributes": [
554
- "text",
555
- "icon",
556
- "icon-prefix",
557
- "icon-color",
558
- "dot",
559
- "badge",
560
- "badge-props",
561
- "url",
562
- "to",
563
- "replace"
564
- ]
565
- },
566
- "van-icon": {
567
- "attributes": [
568
- "name",
569
- "dot",
570
- "badge",
571
- "badge-props",
572
- "color",
573
- "size",
574
- "class-prefix",
575
- "tag"
576
- ]
577
- },
578
- "van-image": {
579
- "attributes": [
580
- "src",
581
- "fit",
582
- "position",
583
- "alt",
584
- "width",
585
- "height",
586
- "radius",
587
- "round",
588
- "lazy-load",
589
- "show-error",
590
- "show-loading",
591
- "error-icon",
592
- "loading-icon",
593
- "icon-size",
594
- "icon-prefix"
595
- ]
596
- },
597
- "van-image-preview": {
598
- "attributes": [
599
- "v-model:show",
600
- "images",
601
- "start-position",
602
- "swipe-duration",
603
- "show-index",
604
- "show-indicators",
605
- "loop",
606
- "before-close",
607
- "close-on-popstate",
608
- "class-name",
609
- "max-zoom",
610
- "min-zoom",
611
- "closeable",
612
- "close-icon",
613
- "close-icon-position",
614
- "transition",
615
- "overlay-class",
616
- "overlay-style",
617
- "teleport"
618
- ]
619
- },
620
- "van-index-bar": {
621
- "attributes": [
622
- "index-list",
623
- "z-index",
624
- "sticky",
625
- "sticky-offset-top",
626
- "highlight-color",
627
- "teleport"
628
- ]
629
- },
630
- "van-index-anchor": {
631
- "attributes": [
632
- "index"
633
- ]
634
- },
635
- "van-list": {
636
- "attributes": [
637
- "v-model:loading",
638
- "v-model:error",
639
- "finished",
640
- "offset",
641
- "loading-text",
642
- "finished-text",
643
- "error-text",
644
- "immediate-check",
645
- "direction"
646
- ]
647
- },
648
- "van-loading": {
649
- "attributes": [
650
- "color",
651
- "type",
652
- "size",
653
- "text-size",
654
- "text-color",
655
- "vertical"
656
- ]
657
- },
658
- "van-nav-bar": {
659
- "attributes": [
660
- "title",
661
- "left-text",
662
- "right-text",
663
- "left-arrow",
664
- "border",
665
- "fixed",
666
- "placeholder",
667
- "z-index",
668
- "safe-area-inset-top"
669
- ]
670
- },
671
- "van-notice-bar": {
672
- "attributes": [
673
- "mode",
674
- "text",
675
- "color",
676
- "background",
677
- "left-icon",
678
- "delay",
679
- "speed",
680
- "scrollable",
681
- "wrapable"
682
- ]
683
- },
684
- "van-number-keyboard": {
685
- "attributes": [
686
- "v-model",
687
- "show",
688
- "title",
689
- "theme",
690
- "maxlength",
691
- "transition",
692
- "z-index",
693
- "extra-key",
694
- "close-button-text",
695
- "delete-button-text",
696
- "close-button-loading",
697
- "show-delete-key",
698
- "blur-on-close",
699
- "hide-on-click-outside",
700
- "teleport",
701
- "safe-area-inset-bottom",
702
- "random-key-order"
703
- ]
704
- },
705
- "van-overlay": {
706
- "attributes": [
707
- "show",
708
- "z-index",
709
- "duration",
710
- "class-name",
711
- "custom-class",
712
- "lock-scroll",
713
- "lazy-render"
714
- ]
715
- },
716
- "van-pagination": {
717
- "attributes": [
718
- "v-model",
719
- "mode",
720
- "prev-text",
721
- "next-text",
722
- "total-items",
723
- "items-per-page",
724
- "page-count",
725
- "show-page-size",
726
- "force-ellipses"
727
- ]
728
- },
729
- "van-password-input": {
730
- "attributes": [
731
- "value",
732
- "info",
733
- "error-info",
734
- "length",
735
- "gutter",
736
- "mask",
737
- "focused"
738
- ]
739
- },
740
- "van-picker": {
741
- "attributes": [
742
- "columns",
743
- "columns-field-names",
744
- "title",
745
- "confirm-button-text",
746
- "cancel-button-text",
747
- "toolbar-position",
748
- "loading",
749
- "show-toolbar",
750
- "allow-html",
751
- "option-height",
752
- "visible-option-num",
753
- "swipe-duration"
754
- ]
755
- },
756
- "van-popover": {
757
- "attributes": [
758
- "v-model:show",
759
- "actions",
760
- "placement",
761
- "theme",
762
- "trigger",
763
- "duration",
764
- "offset",
765
- "overlay",
766
- "overlay-class",
767
- "overlay-style",
768
- "show-arrow",
769
- "close-on-click-action",
770
- "close-on-click-outside",
771
- "close-on-click-overlay",
772
- "teleport",
773
- "icon-prefix"
774
- ]
775
- },
776
- "van-popup": {
777
- "attributes": [
778
- "v-model:show",
779
- "overlay",
780
- "position",
781
- "overlay-class",
782
- "overlay-style",
783
- "duration",
784
- "round",
785
- "lock-scroll",
786
- "lazy-render",
787
- "close-on-popstate",
788
- "close-on-click-overlay",
789
- "closeable",
790
- "close-icon",
791
- "close-icon-position",
792
- "before-close",
793
- "icon-prefix",
794
- "transition",
795
- "transition-appear",
796
- "teleport",
797
- "safe-area-inset-top",
798
- "safe-area-inset-bottom"
799
- ]
800
- },
801
- "van-progress": {
802
- "attributes": [
803
- "percentage",
804
- "stroke-width",
805
- "color",
806
- "track-color",
807
- "pivot-text",
808
- "pivot-color",
809
- "text-color",
810
- "inactive",
811
- "show-pivot"
812
- ]
813
- },
814
- "van-pull-refresh": {
815
- "attributes": [
816
- "v-model",
817
- "pulling-text",
818
- "loosing-text",
819
- "loading-text",
820
- "success-text",
821
- "success-duration",
822
- "animation-duration",
823
- "head-height",
824
- "pull-distance",
825
- "disabled"
826
- ]
827
- },
828
- "van-radio": {
829
- "attributes": [
830
- "name",
831
- "shape",
832
- "disabled",
833
- "label-disabled",
834
- "label-position",
835
- "icon-size",
836
- "checked-color"
837
- ]
838
- },
839
- "van-radio-group": {
840
- "attributes": [
841
- "v-model",
842
- "disabled",
843
- "direction",
844
- "icon-size",
845
- "checked-color"
846
- ]
847
- },
848
- "van-rate": {
849
- "attributes": [
850
- "v-model",
851
- "count",
852
- "size",
853
- "gutter",
854
- "color",
855
- "void-color",
856
- "disabled-color",
857
- "icon",
858
- "void-icon",
859
- "icon-prefix",
860
- "allow-half",
861
- "readonly",
862
- "disabled",
863
- "touchable"
864
- ]
865
- },
866
- "van-search": {
867
- "attributes": [
868
- "v-model",
869
- "label",
870
- "name",
871
- "shape",
872
- "id",
873
- "background",
874
- "maxlength",
875
- "placeholder",
876
- "clearable",
877
- "clear-icon",
878
- "clear-trigger",
879
- "autofocus",
880
- "show-action",
881
- "action-text",
882
- "disabled",
883
- "readonly",
884
- "error",
885
- "error-message",
886
- "formatter",
887
- "format-trigger",
888
- "input-align",
889
- "left-icon",
890
- "right-icon",
891
- "autocomplete"
892
- ]
893
- },
894
- "van-share-sheet": {
895
- "attributes": [
896
- "v-model:show",
897
- "options",
898
- "title",
899
- "cancel-text",
900
- "description",
901
- "duration",
902
- "round",
903
- "overlay",
904
- "overlay-class",
905
- "overlay-style",
906
- "lock-scroll",
907
- "lazy-render",
908
- "close-on-popstate",
909
- "close-on-click-overlay",
910
- "safe-area-inset-bottom",
911
- "teleport",
912
- "before-close"
913
- ]
914
- },
915
- "van-sidebar": {
916
- "attributes": [
917
- "v-model"
918
- ]
919
- },
920
- "van-sidebar-item": {
921
- "attributes": [
922
- "title",
923
- "dot",
924
- "badge",
925
- "badge-props",
926
- "disabled",
927
- "url",
928
- "to",
929
- "replace"
930
- ]
931
- },
932
- "van-skeleton": {
933
- "attributes": [
934
- "row",
935
- "row-width",
936
- "title",
937
- "avatar",
938
- "loading",
939
- "animate",
940
- "round",
941
- "title-width",
942
- "avatar-size",
943
- "avatar-shape"
944
- ]
945
- },
946
- "van-slider": {
947
- "attributes": [
948
- "v-model",
949
- "max",
950
- "min",
951
- "step",
952
- "bar-height",
953
- "button-size",
954
- "active-color",
955
- "inactive-color",
956
- "range",
957
- "reverse",
958
- "disabled",
959
- "readonly",
960
- "vertical"
961
- ]
962
- },
963
- "van-stepper": {
964
- "attributes": [
965
- "v-model",
966
- "min",
967
- "max",
968
- "default-value",
969
- "step",
970
- "name",
971
- "input-width",
972
- "button-size",
973
- "decimal-length",
974
- "theme",
975
- "placeholder",
976
- "integer",
977
- "disabled",
978
- "disable-plus",
979
- "disable-minus",
980
- "disable-input",
981
- "before-change",
982
- "show-plus",
983
- "show-minus",
984
- "show-input",
985
- "long-press",
986
- "allow-empty"
987
- ]
988
- },
989
- "van-steps": {
990
- "attributes": [
991
- "active",
992
- "direction",
993
- "active-color",
994
- "inactive-color",
995
- "active-icon",
996
- "inactive-icon",
997
- "finish-icon",
998
- "icon-prefix"
999
- ]
1000
- },
1001
- "van-step": {
1002
- "attributes": []
1003
- },
1004
- "van-sticky": {
1005
- "attributes": [
1006
- "position",
1007
- "offset-top",
1008
- "offset-bottom",
1009
- "z-index",
1010
- "container"
1011
- ]
1012
- },
1013
- "van-submit-bar": {
1014
- "attributes": [
1015
- "price",
1016
- "decimal-length",
1017
- "label",
1018
- "suffix-label",
1019
- "text-align",
1020
- "button-text",
1021
- "button-type",
1022
- "button-color",
1023
- "tip",
1024
- "tip-icon",
1025
- "currency",
1026
- "disabled",
1027
- "loading",
1028
- "safe-area-inset-bottom",
1029
- "placeholder"
1030
- ]
1031
- },
1032
- "van-swipe": {
1033
- "attributes": [
1034
- "autoplay",
1035
- "duration",
1036
- "initial-swipe",
1037
- "width",
1038
- "height",
1039
- "loop",
1040
- "show-indicators",
1041
- "vertical",
1042
- "touchable",
1043
- "stop-propagation",
1044
- "lazy-render",
1045
- "indicator-color"
1046
- ]
1047
- },
1048
- "van-swipe-item": {
1049
- "attributes": []
1050
- },
1051
- "van-swipe-cell": {
1052
- "attributes": [
1053
- "name",
1054
- "left-width",
1055
- "right-width",
1056
- "before-close",
1057
- "disabled",
1058
- "stop-propagation"
1059
- ]
1060
- },
1061
- "van-switch": {
1062
- "attributes": [
1063
- "v-model",
1064
- "loading",
1065
- "disabled",
1066
- "size",
1067
- "active-color",
1068
- "inactive-color",
1069
- "active-value",
1070
- "inactive-value"
1071
- ]
1072
- },
1073
- "van-tabs": {
1074
- "attributes": [
1075
- "v-model:active",
1076
- "type",
1077
- "color",
1078
- "background",
1079
- "duration",
1080
- "line-width",
1081
- "line-height",
1082
- "animated",
1083
- "border",
1084
- "ellipsis",
1085
- "sticky",
1086
- "shrink",
1087
- "swipeable",
1088
- "lazy-render",
1089
- "scrollspy",
1090
- "offset-top",
1091
- "swipe-threshold",
1092
- "title-active-color",
1093
- "title-inactive-color",
1094
- "before-change"
1095
- ]
1096
- },
1097
- "van-tab": {
1098
- "attributes": [
1099
- "title",
1100
- "disabled",
1101
- "dot",
1102
- "badge",
1103
- "name",
1104
- "url",
1105
- "to",
1106
- "replace",
1107
- "title-style",
1108
- "title-class",
1109
- "show-zero-badge"
1110
- ]
1111
- },
1112
- "van-tabbar": {
1113
- "attributes": [
1114
- "v-model",
1115
- "fixed",
1116
- "border",
1117
- "z-index",
1118
- "active-color",
1119
- "inactive-color",
1120
- "route",
1121
- "placeholder",
1122
- "safe-area-inset-bottom",
1123
- "before-change"
1124
- ]
1125
- },
1126
- "van-tabbar-item": {
1127
- "attributes": [
1128
- "name",
1129
- "icon",
1130
- "icon-prefix",
1131
- "dot",
1132
- "badge",
1133
- "badge-props",
1134
- "url",
1135
- "to",
1136
- "replace"
1137
- ]
1138
- },
1139
- "van-tag": {
1140
- "attributes": [
1141
- "type",
1142
- "size",
1143
- "color",
1144
- "show",
1145
- "plain",
1146
- "round",
1147
- "mark",
1148
- "text-color",
1149
- "closeable"
1150
- ]
1151
- },
1152
- "van-time-picker": {
1153
- "attributes": [
1154
- "v-model",
1155
- "columns-type",
1156
- "min-hour",
1157
- "max-hour",
1158
- "min-minute",
1159
- "max-minute",
1160
- "min-second",
1161
- "max-second",
1162
- "title",
1163
- "confirm-button-text",
1164
- "cancel-button-text",
1165
- "show-toolbar",
1166
- "loading",
1167
- "readonly",
1168
- "filter",
1169
- "formatter",
1170
- "option-height",
1171
- "visible-option-num",
1172
- "swipe-duration"
1173
- ]
1174
- },
1175
- "van-tree-select": {
1176
- "attributes": [
1177
- "items",
1178
- "height",
1179
- "main-active-index",
1180
- "active-id",
1181
- "max",
1182
- "selected-icon"
1183
- ]
1184
- },
1185
- "van-uploader": {
1186
- "attributes": [
1187
- "v-model",
1188
- "accept",
1189
- "name",
1190
- "preview-size",
1191
- "preview-image",
1192
- "preview-full-image",
1193
- "preview-options",
1194
- "multiple",
1195
- "disabled",
1196
- "readonly",
1197
- "deletable",
1198
- "show-upload",
1199
- "lazy-load",
1200
- "capture",
1201
- "after-read",
1202
- "before-read",
1203
- "before-delete",
1204
- "max-size",
1205
- "max-count",
1206
- "result-type",
1207
- "upload-text",
1208
- "image-fit",
1209
- "upload-icon"
1210
- ]
1211
- }
1212
- }