@varlet/ui 2.1.0 → 2.2.0-alpha.1667670228109

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 (51) hide show
  1. package/CHANGELOG.md +1885 -1885
  2. package/es/checkbox/checkbox.css +1 -1
  3. package/es/counter/Counter.js +5 -5
  4. package/es/counter/counter.css +1 -1
  5. package/es/form/index.js +4 -0
  6. package/es/form-details/FormDetails.js +39 -8
  7. package/es/form-details/formDetails.css +1 -1
  8. package/es/form-details/props.js +1 -1
  9. package/es/index.d.ts +1 -1
  10. package/es/input/Input.js +3 -3
  11. package/es/input/input.css +1 -1
  12. package/es/locale/en-US.d.ts +5 -5
  13. package/es/locale/zh-CN.d.ts +5 -5
  14. package/es/radio/radio.css +1 -1
  15. package/es/select/select.css +1 -1
  16. package/es/style.css +1 -1
  17. package/es/themes/dark/index.d.ts +5 -5
  18. package/es/uploader/Uploader.js +2 -2
  19. package/es/varlet.esm.js +1971 -1933
  20. package/highlight/attributes.json +820 -0
  21. package/highlight/tags.json +265 -30
  22. package/highlight/web-types.json +3344 -1050
  23. package/json/area.json +10706 -10706
  24. package/lib/checkbox/checkbox.css +1 -1
  25. package/lib/counter/Counter.js +5 -5
  26. package/lib/counter/counter.css +1 -1
  27. package/lib/date-picker/src/day-picker-panel.js +13 -13
  28. package/lib/date-picker/src/month-picker-panel.js +11 -11
  29. package/lib/date-picker/src/year-picker-panel.js +3 -3
  30. package/lib/form/index.js +6 -0
  31. package/lib/form-details/FormDetails.js +38 -7
  32. package/lib/form-details/formDetails.css +1 -1
  33. package/lib/form-details/props.js +1 -1
  34. package/lib/index.d.ts +1 -1
  35. package/lib/input/Input.js +3 -3
  36. package/lib/input/input.css +1 -1
  37. package/lib/locale/en-US.d.ts +5 -5
  38. package/lib/locale/zh-CN.d.ts +5 -5
  39. package/lib/radio/radio.css +1 -1
  40. package/lib/select/select.css +1 -1
  41. package/lib/style.css +1 -1
  42. package/lib/themes/dark/index.d.ts +5 -5
  43. package/lib/uploader/Uploader.js +2 -2
  44. package/package.json +5 -5
  45. package/types/form.d.ts +28 -1
  46. package/types/formDetails.d.ts +12 -0
  47. package/types/index.d.ts +2 -0
  48. package/types/lazy.d.ts +5 -5
  49. package/types/ripple.d.ts +5 -5
  50. package/types/varDirective.d.ts +12 -12
  51. package/umd/varlet.js +7 -7
@@ -1,4 +1,112 @@
1
1
  {
2
+ "var-action-sheet/v-model:show": {
3
+ "type": "boolean",
4
+ "description": "是否显示动作面板 默认值:false"
5
+ },
6
+ "var-action-sheet/actions": {
7
+ "type": "Actions",
8
+ "description": "选项列表 默认值:[]"
9
+ },
10
+ "var-action-sheet/title": {
11
+ "type": "string",
12
+ "description": "动作面板标题 默认值:请选择"
13
+ },
14
+ "var-action-sheet/overlay": {
15
+ "type": "boolean",
16
+ "description": "是否显示遮罩层 默认值:true"
17
+ },
18
+ "var-action-sheet/overlay-class": {
19
+ "type": "string",
20
+ "description": "自定义遮罩层的 class 默认值:-"
21
+ },
22
+ "var-action-sheet/overlay-style": {
23
+ "type": "object",
24
+ "description": "自定义遮罩层的 style 默认值:-"
25
+ },
26
+ "var-action-sheet/lock-scroll": {
27
+ "type": "boolean",
28
+ "description": "是否禁止滚动穿透,禁止时滚动弹出层不会引发 body 的滚动 默认值:true"
29
+ },
30
+ "var-action-sheet/close-on-click-action": {
31
+ "type": "boolean",
32
+ "description": "是否点击选项时关闭动作面板 默认值:true"
33
+ },
34
+ "var-action-sheet/close-on-click-overlay": {
35
+ "type": "boolean",
36
+ "description": "是否点击遮罩层关闭动作面板 默认值:true"
37
+ },
38
+ "var-action-sheet/teleport": {
39
+ "type": "TeleportProps['to']",
40
+ "description": "动作面板挂载的位置 默认值:-"
41
+ },
42
+ "var-app-bar/color": {
43
+ "type": "string",
44
+ "description": "背景颜色 默认值:-"
45
+ },
46
+ "var-app-bar/text-color": {
47
+ "type": "string",
48
+ "description": "文字颜色 默认值:-"
49
+ },
50
+ "var-app-bar/title": {
51
+ "type": "string",
52
+ "description": "标题 默认值:-"
53
+ },
54
+ "var-app-bar/title-position": {
55
+ "type": "string",
56
+ "description": "标题位置,可选值为 `left` `center` `right` 默认值:left"
57
+ },
58
+ "var-app-bar/elevation": {
59
+ "type": "boolean",
60
+ "description": "是否给导航栏设置海拔 默认值:true"
61
+ },
62
+ "var-back-top/target": {
63
+ "type": "string | HTMLElement",
64
+ "description": "触发滚动的对象,如果为 undefined 会监听距离最近的一个可滚动的祖先节点 默认值:-"
65
+ },
66
+ "var-back-top/visibility-height": {
67
+ "type": "string | number",
68
+ "description": "滚动高度达到此参数值才出现 默认值:200"
69
+ },
70
+ "var-back-top/bottom": {
71
+ "type": "string | number",
72
+ "description": "`BackTop` 距离页面底部的距离 默认值:40"
73
+ },
74
+ "var-back-top/right": {
75
+ "type": "string | number",
76
+ "description": "`BackTop` 距离页面右侧的距离 默认值:40"
77
+ },
78
+ "var-back-top/duration": {
79
+ "type": "number",
80
+ "description": "回到顶部所需时间(ms) 默认值:300"
81
+ },
82
+ "var-badge/type": {
83
+ "type": "string",
84
+ "description": "类型,可选值为 `default` `primary` `info` `success` `warning` `danger` 默认值:default"
85
+ },
86
+ "var-badge/dot": {
87
+ "type": "boolean",
88
+ "description": "徽标是否为小圆点 默认值:false"
89
+ },
90
+ "var-badge/value": {
91
+ "type": "string | number",
92
+ "description": "徽标中显示的值(当 `dot` 为 `false` 时生效) 默认值:0"
93
+ },
94
+ "var-badge/max-value": {
95
+ "type": "number",
96
+ "description": "徽标中显示的最大值,当 `value` 大于 `max-value` 时会显示 `max-value+` (当 `value` 与 `max-value` 都存在时生效) 默认值:-"
97
+ },
98
+ "var-badge/position": {
99
+ "type": "string",
100
+ "description": "徽标标签中有其他标签时定义徽标在其他标签上的位置,可选值 `right-top` `right-bottom` `left-top` `left-bottom` 默认值:right-top"
101
+ },
102
+ "var-badge/color": {
103
+ "type": "string",
104
+ "description": "自定义徽标颜色 默认值:-"
105
+ },
106
+ "var-badge/icon": {
107
+ "type": "string",
108
+ "description": "自定义徽标中图标的内容(优先级高于 `value`) 默认值:-"
109
+ },
2
110
  "var-bottom-navigation/v-model:active": {
3
111
  "type": "number | string",
4
112
  "description": "选中标签的名称或者索引值 默认值:0"
@@ -31,6 +139,26 @@
31
139
  "type": "ButtonProps",
32
140
  "description": "悬浮按钮属性 默认值:{type: \"primary\"}"
33
141
  },
142
+ "var-bottom-navigation-item/name": {
143
+ "type": "string",
144
+ "description": "标签名称,作为匹配的标识符 默认值:-"
145
+ },
146
+ "var-bottom-navigation-item/icon": {
147
+ "type": "string",
148
+ "description": "图标名称,等同于 Icon 组件的 [name 属性](/#/zh-CN/icon) 默认值:-"
149
+ },
150
+ "var-bottom-navigation-item/label": {
151
+ "type": "string",
152
+ "description": "标签文字内容 默认值:-"
153
+ },
154
+ "var-bottom-navigation-item/namespace": {
155
+ "type": "string",
156
+ "description": "图标的命名空间, 可扩展自定义图标库,等同于 Icon 组件的 [namespace 属性](/#/zh-CN/icon) 默认值:var-icon"
157
+ },
158
+ "var-bottom-navigation-item/badge": {
159
+ "type": "boolean | BadgeProps",
160
+ "description": "图标右上角徽标 默认值:false"
161
+ },
34
162
  "var-button/type": {
35
163
  "type": "string",
36
164
  "description": "类型,可选值为 `default` `primary` `info` `success` `warning` `danger` 默认值:default"
@@ -179,6 +307,98 @@
179
307
  "type": "string",
180
308
  "description": "右侧内容额外类名 默认值:-"
181
309
  },
310
+ "var-checkbox/v-model": {
311
+ "type": "any",
312
+ "description": "绑定的值 默认值:false"
313
+ },
314
+ "var-checkbox/checked-value": {
315
+ "type": "any",
316
+ "description": "选中状态的值 默认值:true"
317
+ },
318
+ "var-checkbox/unchecked-value": {
319
+ "type": "any",
320
+ "description": "未选中状态的值 默认值:false"
321
+ },
322
+ "var-checkbox/checked-color": {
323
+ "type": "any",
324
+ "description": "选中状态的颜色 默认值:-"
325
+ },
326
+ "var-checkbox/unchecked-color": {
327
+ "type": "any",
328
+ "description": "未选中状态的颜色 默认值:-"
329
+ },
330
+ "var-checkbox/icon-size": {
331
+ "type": "string | number",
332
+ "description": "图标尺寸 默认值:-"
333
+ },
334
+ "var-checkbox/disabled": {
335
+ "type": "boolean",
336
+ "description": "是否禁用 默认值:false"
337
+ },
338
+ "var-checkbox/readonly": {
339
+ "type": "boolean",
340
+ "description": "是否只读 默认值:false"
341
+ },
342
+ "var-checkbox/ripple": {
343
+ "type": "boolean",
344
+ "description": "是否开启水波纹 默认值:true"
345
+ },
346
+ "var-checkbox/rules": {
347
+ "type": "Array<(value: any) => any>",
348
+ "description": "验证规则,返回 `true` 表示验证通过,其余的值则转换为文本作为用户提示 默认值:-"
349
+ },
350
+ "var-checkbox-group/v-model": {
351
+ "type": "any[]",
352
+ "description": "绑定的值 默认值:[]"
353
+ },
354
+ "var-checkbox-group/max": {
355
+ "type": "string | number",
356
+ "description": "最大选择的数量 默认值:-"
357
+ },
358
+ "var-checkbox-group/direction": {
359
+ "type": "string | number",
360
+ "description": "布局方向,可选值为 `horizontal` `vertical` 默认值:horizontal"
361
+ },
362
+ "var-checkbox-group/rules": {
363
+ "type": "Array<(value: any[]) => any>",
364
+ "description": "验证规则,返回 `true` 表示验证通过,其余的值则转换为文本作为用户提示 默认值:horizontal"
365
+ },
366
+ "var-chip/type": {
367
+ "type": "string",
368
+ "description": "类型,可选值为 `default` `primary` `info` `success` `warning` `danger` 默认值:default"
369
+ },
370
+ "var-chip/size": {
371
+ "type": "string",
372
+ "description": "尺寸,可选值为 `normal` `mini` `small` `large` 默认值:normal"
373
+ },
374
+ "var-chip/plain": {
375
+ "type": "boolean",
376
+ "description": "是否为空心样式 默认值:false"
377
+ },
378
+ "var-chip/round": {
379
+ "type": "boolean",
380
+ "description": "是否为圆角样式 默认值:true"
381
+ },
382
+ "var-chip/block": {
383
+ "type": "boolean",
384
+ "description": "是否为块级样式 默认值:false"
385
+ },
386
+ "var-chip/closeable": {
387
+ "type": "boolean",
388
+ "description": "是否为可关闭纸片 默认值:false"
389
+ },
390
+ "var-chip/close-name": {
391
+ "type": "string",
392
+ "description": "自定义可关闭纸片的图标,必须在 `closeable` 为 `true` 的条件下才能用 默认值:-"
393
+ },
394
+ "var-chip/color": {
395
+ "type": "string",
396
+ "description": "纸片颜色 默认值:_"
397
+ },
398
+ "var-chip/text-color": {
399
+ "type": "string",
400
+ "description": "文本颜色,优先级高于 `color` 属性 默认值:-"
401
+ },
182
402
  "var-col/span": {
183
403
  "type": "number | string",
184
404
  "description": "列占据的栅格数 默认值:24"
@@ -223,6 +443,114 @@
223
443
  "type": "boolean",
224
444
  "description": "是否显示边距 默认值:true"
225
445
  },
446
+ "var-collapse-item/name": {
447
+ "type": "number | string",
448
+ "description": "唯一标识符,默认为索引值 默认值:index"
449
+ },
450
+ "var-collapse-item/title": {
451
+ "type": "number | string",
452
+ "description": "面板标题 默认值:-"
453
+ },
454
+ "var-collapse-item/icon": {
455
+ "type": "string",
456
+ "description": "icon的名称 默认值:chevron-down"
457
+ },
458
+ "var-collapse-item/disabled": {
459
+ "type": "boolean",
460
+ "description": "是否禁用面板 默认值:false"
461
+ },
462
+ "var-countdown/time": {
463
+ "type": "string | number",
464
+ "description": "倒计时时长(ms) 默认值:0"
465
+ },
466
+ "var-countdown/format": {
467
+ "type": "string",
468
+ "description": "时间格式 默认值:HH : mm : ss"
469
+ },
470
+ "var-countdown/auto-start": {
471
+ "type": "boolean",
472
+ "description": "是否自动开始倒计时 默认值:true"
473
+ },
474
+ "var-counter/v-model": {
475
+ "type": "string | number",
476
+ "description": "绑定的值 默认值:0"
477
+ },
478
+ "var-counter/min": {
479
+ "type": "string | number",
480
+ "description": "最小值 默认值:-"
481
+ },
482
+ "var-counter/max": {
483
+ "type": "string | number",
484
+ "description": "最大值 默认值:-"
485
+ },
486
+ "var-counter/step": {
487
+ "type": "string | number",
488
+ "description": "步长 默认值:-"
489
+ },
490
+ "var-counter/decimal-length": {
491
+ "type": "string | number",
492
+ "description": "保留小数位数 默认值:-"
493
+ },
494
+ "var-counter/color": {
495
+ "type": "string",
496
+ "description": "背景颜色 默认值:-"
497
+ },
498
+ "var-counter/input-width": {
499
+ "type": "string | number",
500
+ "description": "输入框的宽度 默认值:-"
501
+ },
502
+ "var-counter/input-text-size": {
503
+ "type": "string | number",
504
+ "description": "输入框的文字大小 默认值:-"
505
+ },
506
+ "var-counter/button-size": {
507
+ "type": "string",
508
+ "description": "按钮大小 默认值:true"
509
+ },
510
+ "var-counter/readonly": {
511
+ "type": "boolean",
512
+ "description": "是否只读 默认值:false"
513
+ },
514
+ "var-counter/disabled": {
515
+ "type": "boolean",
516
+ "description": "是否禁用 默认值:false"
517
+ },
518
+ "var-counter/disable-increment": {
519
+ "type": "boolean",
520
+ "description": "是否禁用增加 默认值:false"
521
+ },
522
+ "var-counter/disable-decrement": {
523
+ "type": "boolean",
524
+ "description": "是否禁用减少 默认值:false"
525
+ },
526
+ "var-counter/disable-input": {
527
+ "type": "boolean",
528
+ "description": "是否禁用输入 默认值:false"
529
+ },
530
+ "var-counter/increment-button": {
531
+ "type": "boolean",
532
+ "description": "是否显示增加按钮 默认值:true"
533
+ },
534
+ "var-counter/decrement-button": {
535
+ "type": "boolean",
536
+ "description": "是否显示减少按钮 默认值:true"
537
+ },
538
+ "var-counter/press": {
539
+ "type": "boolean",
540
+ "description": "是否开启按钮长按 默认值:true"
541
+ },
542
+ "var-counter/ripple": {
543
+ "type": "boolean",
544
+ "description": "是否开启水波纹 默认值:true"
545
+ },
546
+ "var-counter/validate-trigger": {
547
+ "type": "ValidateTriggers[]",
548
+ "description": "触发验证的时机,可选值为 `onInputChange` `onLazyChange` `onIncrement` `onDecrement` 默认值:['onIncrement', 'onDecrement', 'onInputChange', 'onLazyChange']"
549
+ },
550
+ "var-counter/rules": {
551
+ "type": "Array<(value: number) => any>",
552
+ "description": "验证规则,返回 `true` 表示验证通过,其余的值则转换为文本作为用户提示 默认值:-"
553
+ },
226
554
  "var-date-picker/v-model": {
227
555
  "type": "string[] | string",
228
556
  "description": "被选择的日期(ISO 8601 格式,`YYYY-MM-DD` 或 `YYYY-MM`) 默认值:undefined"
@@ -383,6 +711,34 @@
383
711
  "type": "string",
384
712
  "description": "设置分割线样式的 `margin` 属性 默认值:-"
385
713
  },
714
+ "var-form/readonly": {
715
+ "type": "boolean",
716
+ "description": "是否只读 默认值:false"
717
+ },
718
+ "var-form/disabled": {
719
+ "type": "boolean",
720
+ "description": "是否禁用 默认值:false"
721
+ },
722
+ "var-icon/name": {
723
+ "type": "string",
724
+ "description": "图标名称 默认值:-"
725
+ },
726
+ "var-icon/size": {
727
+ "type": "string | number",
728
+ "description": "尺寸 默认值:-"
729
+ },
730
+ "var-icon/color": {
731
+ "type": "string",
732
+ "description": "图标颜色, 只适用于字体图标 默认值:-"
733
+ },
734
+ "var-icon/namespace": {
735
+ "type": "string",
736
+ "description": "图标的命名空间, 可扩展自定义图标库 默认值:var-icon"
737
+ },
738
+ "var-icon/transition": {
739
+ "type": "string | number",
740
+ "description": "过渡动画时间(ms) 默认值:0"
741
+ },
386
742
  "var-image/src": {
387
743
  "type": "string",
388
744
  "description": "图片地址 默认值:-"
@@ -431,6 +787,46 @@
431
787
  "type": "boolean",
432
788
  "description": "是否是块级元素 默认值:true"
433
789
  },
790
+ "var-image-preview/show": {
791
+ "type": "boolean",
792
+ "description": "是否显示 默认值:false"
793
+ },
794
+ "var-image-preview/images": {
795
+ "type": "string[]",
796
+ "description": "需要预览的图片 URL 数组 默认值:[]"
797
+ },
798
+ "var-image-preview/current": {
799
+ "type": "string",
800
+ "description": "图片预览起始的 URL 默认值:-"
801
+ },
802
+ "var-image-preview/zoom": {
803
+ "type": "string | number",
804
+ "description": "双击放大倍数 默认值:2"
805
+ },
806
+ "var-image-preview/closeable": {
807
+ "type": "boolean",
808
+ "description": "是否显示关闭按钮 默认值:false"
809
+ },
810
+ "var-image-preview/loop": {
811
+ "type": "boolean",
812
+ "description": "是否开启循环播放 默认值:true"
813
+ },
814
+ "var-image-preview/indicator": {
815
+ "type": "boolean",
816
+ "description": "是否显示分页 默认值:true"
817
+ },
818
+ "var-image-preview/lock-scroll": {
819
+ "type": "boolean",
820
+ "description": "锁定滚动 默认值:true"
821
+ },
822
+ "var-image-preview/teleport": {
823
+ "type": "TeleportProps['to']",
824
+ "description": "弹出层挂载的位置 默认值:-"
825
+ },
826
+ "var-index-anchor/index": {
827
+ "type": "number | string",
828
+ "description": "索引字符 默认值:-"
829
+ },
434
830
  "var-index-bar/sticky": {
435
831
  "type": "boolean",
436
832
  "description": "是否开启锚点吸顶 默认值:true"
@@ -531,6 +927,38 @@
531
927
  "type": "Array<(v: string) => any>",
532
928
  "description": "验证规则,返回 `true` 表示验证通过,其余的值则转换为文本作为用户提示 默认值:-"
533
929
  },
930
+ "var-list/v-model:loading": {
931
+ "type": "boolean",
932
+ "description": "加载状态 默认值:false"
933
+ },
934
+ "var-list/v-model:error": {
935
+ "type": "boolean",
936
+ "description": "错误状态 默认值:false"
937
+ },
938
+ "var-list/immediate-check": {
939
+ "type": "boolean",
940
+ "description": "是否在组件初始化时立刻检测位置 默认值:true"
941
+ },
942
+ "var-list/finished": {
943
+ "type": "boolean",
944
+ "description": "是否加载完毕 默认值:false"
945
+ },
946
+ "var-list/offset": {
947
+ "type": "string | number",
948
+ "description": "距离底部的触发距离 默认值:0"
949
+ },
950
+ "var-list/loading-text": {
951
+ "type": "string",
952
+ "description": "加载状态文字 默认值:加载中"
953
+ },
954
+ "var-list/finished-text": {
955
+ "type": "string",
956
+ "description": "加载完毕文字 默认值:没有更多了"
957
+ },
958
+ "var-list/error-text": {
959
+ "type": "string",
960
+ "description": "加载失败文字 默认值:加载失败"
961
+ },
534
962
  "var-loading/color": {
535
963
  "type": "string",
536
964
  "description": "loading 的颜色 默认值:-"
@@ -587,6 +1015,14 @@
587
1015
  "type": "boolean",
588
1016
  "description": "是否启用默认样式 默认值:true"
589
1017
  },
1018
+ "var-option/label": {
1019
+ "type": "any",
1020
+ "description": "选项显示的文本 默认值:-"
1021
+ },
1022
+ "var-option/value": {
1023
+ "type": "any",
1024
+ "description": "选项绑定的值 默认值:-"
1025
+ },
590
1026
  "var-pagination/v-model: current": {
591
1027
  "type": "string | number",
592
1028
  "description": "当前页数 默认值:1"
@@ -627,6 +1063,94 @@
627
1063
  "type": "function(total, range)",
628
1064
  "description": "用于显示数据总量和当前数据顺序 默认值:-"
629
1065
  },
1066
+ "var-picker/columns": {
1067
+ "type": "NormalColumn[] | CascadeColumn[] | Texts",
1068
+ "description": "列内容 默认值:[]"
1069
+ },
1070
+ "var-picker/title": {
1071
+ "type": "string",
1072
+ "description": "标题 默认值:提示"
1073
+ },
1074
+ "var-picker/text-key": {
1075
+ "type": "string",
1076
+ "description": "文本的属性 key 默认值:text"
1077
+ },
1078
+ "var-picker/toolbar": {
1079
+ "type": "string",
1080
+ "description": "是否显示上方工具栏 默认值:true"
1081
+ },
1082
+ "var-picker/cascade": {
1083
+ "type": "boolean",
1084
+ "description": "是否开启级联模式 默认值:true"
1085
+ },
1086
+ "var-picker/cascade-initial-indexes": {
1087
+ "type": "number[]",
1088
+ "description": "级联模式的初始化索引列表 默认值:-"
1089
+ },
1090
+ "var-picker/text-formatter": {
1091
+ "type": "(text: any, columnIndex: number) => any",
1092
+ "description": "文本格式化 默认值:text => text"
1093
+ },
1094
+ "var-picker/option-height": {
1095
+ "type": "string | number",
1096
+ "description": "选项的高度(px rem) 默认值:44"
1097
+ },
1098
+ "var-picker/option-count": {
1099
+ "type": "string | number",
1100
+ "description": "可见的选项个数 默认值:6"
1101
+ },
1102
+ "var-picker/confirm-button-text": {
1103
+ "type": "string",
1104
+ "description": "确认按钮文字 默认值:确认"
1105
+ },
1106
+ "var-picker/cancel-button-text": {
1107
+ "type": "string",
1108
+ "description": "取消按钮文字 默认值:取消"
1109
+ },
1110
+ "var-picker/confirm-button-text-color": {
1111
+ "type": "string",
1112
+ "description": "确认按钮文字颜色 默认值:-"
1113
+ },
1114
+ "var-picker/cancel-button-text-color": {
1115
+ "type": "string",
1116
+ "description": "取消按钮文字颜色 默认值:-"
1117
+ },
1118
+ "var-popup/v-model:show": {
1119
+ "type": "boolean",
1120
+ "description": "是否显示弹出层 默认值:false"
1121
+ },
1122
+ "var-popup/position": {
1123
+ "type": "string",
1124
+ "description": "弹出位置,可选值为 `top` `bottom` `right` `left` `center` 默认值:center"
1125
+ },
1126
+ "var-popup/overlay": {
1127
+ "type": "boolean",
1128
+ "description": "是否显示遮罩层 默认值:true"
1129
+ },
1130
+ "var-popup/overlay-class": {
1131
+ "type": "string",
1132
+ "description": "自定义遮罩层的 class 默认值:-"
1133
+ },
1134
+ "var-popup/overlay-style": {
1135
+ "type": "object",
1136
+ "description": "自定义遮罩层的 style 默认值:-"
1137
+ },
1138
+ "var-popup/transition": {
1139
+ "type": "string",
1140
+ "description": "过度动画的名称 默认值:-"
1141
+ },
1142
+ "var-popup/lock-scroll": {
1143
+ "type": "boolean",
1144
+ "description": "是否禁止滚动穿透,禁止时滚动弹出层不会引发 body 的滚动 默认值:true"
1145
+ },
1146
+ "var-popup/close-on-click-overlay": {
1147
+ "type": "boolean",
1148
+ "description": "是否点击遮罩层关闭弹出层 默认值:true"
1149
+ },
1150
+ "var-popup/teleport": {
1151
+ "type": "TeleportProps['to']",
1152
+ "description": "弹出层挂载的位置 默认值:-"
1153
+ },
630
1154
  "var-progress/mode": {
631
1155
  "type": "string",
632
1156
  "description": "`progress` 的模式,可选值为 `linear, circle` 默认值:linear"
@@ -671,6 +1195,90 @@
671
1195
  "type": "number",
672
1196
  "description": "`progress` 的原点(仅支持环形进度条) 默认值:0"
673
1197
  },
1198
+ "var-pull-refresh/v-model": {
1199
+ "type": "boolean",
1200
+ "description": "是否处于加载中状态 默认值:-"
1201
+ },
1202
+ "var-pull-refresh/disabled": {
1203
+ "type": "boolean",
1204
+ "description": "是否禁用下拉刷新 默认值:false"
1205
+ },
1206
+ "var-pull-refresh/animation-duration": {
1207
+ "type": "string | number",
1208
+ "description": "加载结束后回到初始位置的动画时长(ms) 默认值:300"
1209
+ },
1210
+ "var-pull-refresh/success-duration": {
1211
+ "type": "string | number",
1212
+ "description": "成功提示展示时长(ms) 默认值:2000"
1213
+ },
1214
+ "var-pull-refresh/bg-color": {
1215
+ "type": "string",
1216
+ "description": "control 的背景颜色 默认值:#005CAF"
1217
+ },
1218
+ "var-pull-refresh/color": {
1219
+ "type": "string",
1220
+ "description": "control 的颜色 默认值:#ffffff"
1221
+ },
1222
+ "var-pull-refresh/success-bg-color": {
1223
+ "type": "string",
1224
+ "description": "成功状态下 control 的背景颜色 默认值:#4CAF50"
1225
+ },
1226
+ "var-pull-refresh/success-color": {
1227
+ "type": "string",
1228
+ "description": "成功状态下 control 的颜色 默认值:ffffff"
1229
+ },
1230
+ "var-radio/v-model": {
1231
+ "type": "any",
1232
+ "description": "绑定的值 默认值:false"
1233
+ },
1234
+ "var-radio/checked-value": {
1235
+ "type": "any",
1236
+ "description": "选中状态的值 默认值:true"
1237
+ },
1238
+ "var-radio/unchecked-value": {
1239
+ "type": "any",
1240
+ "description": "未选中状态的值 默认值:false"
1241
+ },
1242
+ "var-radio/checked-color": {
1243
+ "type": "any",
1244
+ "description": "选中状态的颜色 默认值:-"
1245
+ },
1246
+ "var-radio/unchecked-color": {
1247
+ "type": "any",
1248
+ "description": "未选中状态的颜色 默认值:-"
1249
+ },
1250
+ "var-radio/icon-size": {
1251
+ "type": "string",
1252
+ "description": "图标尺寸 默认值:\\ number_"
1253
+ },
1254
+ "var-radio/disabled": {
1255
+ "type": "boolean",
1256
+ "description": "是否禁用 默认值:false"
1257
+ },
1258
+ "var-radio/readonly": {
1259
+ "type": "boolean",
1260
+ "description": "是否只读 默认值:false"
1261
+ },
1262
+ "var-radio/ripple": {
1263
+ "type": "boolean",
1264
+ "description": "是否开启水波纹 默认值:true"
1265
+ },
1266
+ "var-radio/rules": {
1267
+ "type": "Array<(value: any) => any>",
1268
+ "description": "验证规则,返回 `true` 表示验证通过,其余的值则转换为文本作为用户提示 默认值:-"
1269
+ },
1270
+ "var-radio-group/v-model": {
1271
+ "type": "any",
1272
+ "description": "绑定的值 默认值:-"
1273
+ },
1274
+ "var-radio-group/direction": {
1275
+ "type": "string",
1276
+ "description": "布局方向,可选值为 `horizontal` `vertical` 默认值:horizontal"
1277
+ },
1278
+ "var-radio-group/rules": {
1279
+ "type": "Array<(value: any) => any>",
1280
+ "description": "验证规则,返回 `true` 表示验证通过,其余的值则转换为文本作为用户提示 默认值:-"
1281
+ },
674
1282
  "var-rate/v-model": {
675
1283
  "type": "number | string",
676
1284
  "description": "当前分数 默认值:0"
@@ -807,6 +1415,50 @@
807
1415
  "type": "Array<(v: any | any[]) => any>",
808
1416
  "description": "验证规则,返回 `true` 表示验证通过,其余的值则转换为文本作为用户提示 默认值:-"
809
1417
  },
1418
+ "var-skeleton/loading": {
1419
+ "type": "boolean",
1420
+ "description": "加载状态,设置为 `true` 开启骨架屏 默认值:true"
1421
+ },
1422
+ "var-skeleton/title": {
1423
+ "type": "boolean",
1424
+ "description": "是否显示标题 默认值:false"
1425
+ },
1426
+ "var-skeleton/card": {
1427
+ "type": "boolean",
1428
+ "description": "是否显示卡片 默认值:false"
1429
+ },
1430
+ "var-skeleton/avatar": {
1431
+ "type": "boolean",
1432
+ "description": "是否显示头像 默认值:false"
1433
+ },
1434
+ "var-skeleton/fullscreen": {
1435
+ "type": "boolean",
1436
+ "description": "是否开启全屏模式 默认值:false"
1437
+ },
1438
+ "var-skeleton/fullscreen-z-index": {
1439
+ "type": "string | number",
1440
+ "description": "全屏模式的层级 默认值:100"
1441
+ },
1442
+ "var-skeleton/title-width": {
1443
+ "type": "string | number",
1444
+ "description": "标题宽度 默认值:50%"
1445
+ },
1446
+ "var-skeleton/card-height": {
1447
+ "type": "string | number",
1448
+ "description": "卡片高度 默认值:160px"
1449
+ },
1450
+ "var-skeleton/avatar-size": {
1451
+ "type": "string | number",
1452
+ "description": "头像尺寸 默认值:34px"
1453
+ },
1454
+ "var-skeleton/rows": {
1455
+ "type": "string | number",
1456
+ "description": "段落行数 默认值:3"
1457
+ },
1458
+ "var-skeleton/rows-width": {
1459
+ "type": "number[] | string[]",
1460
+ "description": "段落每一行的宽度 默认值:['12px', '12px', '12px']"
1461
+ },
810
1462
  "var-slider/v-model": {
811
1463
  "type": "number | [number, number]",
812
1464
  "description": "当前进度值 默认值:0"
@@ -927,6 +1579,42 @@
927
1579
  "type": "TeleportProps['to']",
928
1580
  "description": "弹出层挂载的位置 默认值:body"
929
1581
  },
1582
+ "var-space/align": {
1583
+ "type": "string",
1584
+ "description": "垂直排列方式 可选值为 `stretch` `center` `start` `end` `baseline` 默认值:-"
1585
+ },
1586
+ "var-space/justify": {
1587
+ "type": "string",
1588
+ "description": "水平排列方式 可选值为 `start` `end` `center` `space-around` `space-between` 默认值:start"
1589
+ },
1590
+ "var-space/size": {
1591
+ "type": "string | number | [string | number, string | number]",
1592
+ "description": "间距,可选值为 `mini` `small` `normal` `large` 或 `[垂直间距, 水平间距]` (支持长度单位) 默认值:normal"
1593
+ },
1594
+ "var-space/wrap": {
1595
+ "type": "boolean",
1596
+ "description": "是否超出换行 默认值:true"
1597
+ },
1598
+ "var-space/direction": {
1599
+ "type": "string",
1600
+ "description": "布局方向 可选值为 `row` `column` 默认值:row"
1601
+ },
1602
+ "var-space/inline": {
1603
+ "type": "boolean",
1604
+ "description": "是否为行内元素 默认值:false"
1605
+ },
1606
+ "var-step/active-icon": {
1607
+ "type": "string",
1608
+ "description": "激活状态图标 默认值:check"
1609
+ },
1610
+ "var-step/current-icon": {
1611
+ "type": "string",
1612
+ "description": "当前步骤时的图标 默认值:-"
1613
+ },
1614
+ "var-step/inactive-icon": {
1615
+ "type": "string",
1616
+ "description": "未激活状态图标 默认值:-"
1617
+ },
930
1618
  "var-steps/active": {
931
1619
  "type": "string | number",
932
1620
  "description": "当前步骤 默认值:0"
@@ -943,6 +1631,22 @@
943
1631
  "type": "string",
944
1632
  "description": "未激活状态颜色 默认值:#9e9e9e"
945
1633
  },
1634
+ "var-sticky/offset-top": {
1635
+ "type": "string | number",
1636
+ "description": "吸顶距离 默认值:0"
1637
+ },
1638
+ "var-sticky/z-index": {
1639
+ "type": "string | number",
1640
+ "description": "吸顶时的层级 默认值:0"
1641
+ },
1642
+ "var-sticky/css-mode": {
1643
+ "type": "boolean",
1644
+ "description": "开启原生 `css sticky` 模式 默认值:false"
1645
+ },
1646
+ "var-sticky/disabled": {
1647
+ "type": "boolean",
1648
+ "description": "禁用吸顶, 设置为 `true` 时, 元素会回到文档流中 默认值:false"
1649
+ },
946
1650
  "var-style-provider/style-vars": {
947
1651
  "type": "Record<string, string>",
948
1652
  "description": "CSS 变量 默认值:{}"
@@ -983,10 +1687,70 @@
983
1687
  "type": "boolean",
984
1688
  "description": "是否可以拖动 默认值:true"
985
1689
  },
1690
+ "var-switch/v-model": {
1691
+ "type": "any",
1692
+ "description": "开关选中状态 默认值:false"
1693
+ },
1694
+ "var-switch/active-value": {
1695
+ "type": "any",
1696
+ "description": "开关打开时的值 默认值:true"
1697
+ },
1698
+ "var-switch/inactive-value": {
1699
+ "type": "any",
1700
+ "description": "开关关闭时的值 默认值:false"
1701
+ },
1702
+ "var-switch/disabled": {
1703
+ "type": "boolean",
1704
+ "description": "是否禁用 默认值:false"
1705
+ },
1706
+ "var-switch/readonly": {
1707
+ "type": "boolean",
1708
+ "description": "是否只读 默认值:false"
1709
+ },
1710
+ "var-switch/loading": {
1711
+ "type": "boolean",
1712
+ "description": "是否为加载状态 默认值:false"
1713
+ },
1714
+ "var-switch/ripple": {
1715
+ "type": "boolean",
1716
+ "description": "是否启用水波纹 默认值:true"
1717
+ },
1718
+ "var-switch/color": {
1719
+ "type": "string",
1720
+ "description": "打开状态下的颜色 默认值:#2979ff"
1721
+ },
1722
+ "var-switch/loading-color": {
1723
+ "type": "string",
1724
+ "description": "加载图标的颜色 默认值:#fff"
1725
+ },
1726
+ "var-switch/close-color": {
1727
+ "type": "string",
1728
+ "description": "关闭状态下的颜色 默认值:#fff"
1729
+ },
1730
+ "var-switch/size": {
1731
+ "type": "string | number",
1732
+ "description": "switch 的大小 默认值:-"
1733
+ },
1734
+ "var-switch/rules": {
1735
+ "type": "array",
1736
+ "description": "校验规则 默认值:-"
1737
+ },
1738
+ "var-tab/name": {
1739
+ "type": "string | number",
1740
+ "description": "选项卡的名字 默认值:index"
1741
+ },
1742
+ "var-tab/disabled": {
1743
+ "type": "boolean",
1744
+ "description": "是否禁用选项卡 默认值:false"
1745
+ },
986
1746
  "var-tab-item/name": {
987
1747
  "type": "string \\",
988
1748
  "description": "视图的名字 默认值:number_"
989
1749
  },
1750
+ "var-table/full-width": {
1751
+ "type": "string | number",
1752
+ "description": "`table` 的宽度(包含可滚动部分) 默认值:100%"
1753
+ },
990
1754
  "var-tabs/v-model:active": {
991
1755
  "type": "string",
992
1756
  "description": "激活的选项卡标识, 优先匹配 name,其次是 index 默认值:default"
@@ -1094,5 +1858,61 @@
1094
1858
  "var-time-picker/use-seconds": {
1095
1859
  "type": "boolean",
1096
1860
  "description": "是否显示秒 默认值:false"
1861
+ },
1862
+ "var-uploader/v-model": {
1863
+ "type": "VarFile[]",
1864
+ "description": "文件列表 默认值:[]"
1865
+ },
1866
+ "var-uploader/accept": {
1867
+ "type": "string",
1868
+ "description": "接受的文件类型,与原生属性一致 默认值:image/*"
1869
+ },
1870
+ "var-uploader/capture": {
1871
+ "type": "string",
1872
+ "description": "获取文件方式,与原生属性一致 默认值:-"
1873
+ },
1874
+ "var-uploader/multiple": {
1875
+ "type": "boolean",
1876
+ "description": "是否多选文件 默认值:false"
1877
+ },
1878
+ "var-uploader/readonly": {
1879
+ "type": "boolean",
1880
+ "description": "是否只读 默认值:false"
1881
+ },
1882
+ "var-uploader/disabled": {
1883
+ "type": "boolean",
1884
+ "description": "是否禁用 默认值:false"
1885
+ },
1886
+ "var-uploader/removable": {
1887
+ "type": "boolean",
1888
+ "description": "是否可以删除 默认值:true"
1889
+ },
1890
+ "var-uploader/maxlength": {
1891
+ "type": "string | number",
1892
+ "description": "最大文件个数 默认值:-"
1893
+ },
1894
+ "var-uploader/maxsize": {
1895
+ "type": "string | number",
1896
+ "description": "最大文件大小 默认值:-"
1897
+ },
1898
+ "var-uploader/previewed": {
1899
+ "type": "boolean",
1900
+ "description": "是否允许预览 默认值:true"
1901
+ },
1902
+ "var-uploader/ripple": {
1903
+ "type": "boolean",
1904
+ "description": "是否开启水波纹 默认值:true"
1905
+ },
1906
+ "var-uploader/hide-list": {
1907
+ "type": "boolean",
1908
+ "description": "是否隐藏文件列表 默认值:false"
1909
+ },
1910
+ "var-uploader/validate-trigger": {
1911
+ "type": "ValidateTriggers[]",
1912
+ "description": "触发验证的时机, 可选值为 `onChange` `onRemove` 默认值:['onChange', 'onRemove']"
1913
+ },
1914
+ "var-uploader/rules": {
1915
+ "type": "Array<(v: VarFile, u: VarFileUtils) => any>",
1916
+ "description": "验证规则,返回 `true` 表示验证通过,其余的值则转换为文本作为用户提示 默认值:-"
1097
1917
  }
1098
1918
  }