vant 3.5.1 → 3.5.4

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