kui-vue 6.2.2 → 6.3.0

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 (132) hide show
  1. package/ai/kui-components.json +1011 -452
  2. package/dist/index.js +2 -2
  3. package/es/index.js +6207 -4904
  4. package/es/locale/de.js +6 -2
  5. package/es/locale/el.js +6 -2
  6. package/es/locale/en.js +6 -2
  7. package/es/locale/fr.js +6 -2
  8. package/es/locale/it.js +6 -2
  9. package/es/locale/ja.js +6 -2
  10. package/es/locale/ko.js +6 -2
  11. package/es/locale/ru.js +6 -2
  12. package/es/locale/th.js +6 -2
  13. package/es/locale/uk.js +6 -2
  14. package/es/locale/vi.js +6 -2
  15. package/es/locale/zh-CN.js +6 -2
  16. package/es/locale/zh-TW.js +6 -2
  17. package/lib/index.cjs +2 -2
  18. package/lib/locale/de.cjs +2 -2
  19. package/lib/locale/el.cjs +2 -2
  20. package/lib/locale/en.cjs +2 -2
  21. package/lib/locale/fr.cjs +2 -2
  22. package/lib/locale/it.cjs +2 -2
  23. package/lib/locale/ja.cjs +2 -2
  24. package/lib/locale/ko.cjs +2 -2
  25. package/lib/locale/ru.cjs +2 -2
  26. package/lib/locale/th.cjs +2 -2
  27. package/lib/locale/uk.cjs +2 -2
  28. package/lib/locale/vi.cjs +2 -2
  29. package/lib/locale/zh-CN.cjs +2 -2
  30. package/lib/locale/zh-TW.cjs +2 -2
  31. package/package.json +4 -3
  32. package/style/base.css +2 -2
  33. package/style/components.css +2 -2
  34. package/style/index.css +2 -2
  35. package/style/motion.css +1 -1
  36. package/style/theme.css +2 -2
  37. package/types/alert/index.d.ts +5 -5
  38. package/types/auto-complete/index.d.ts +52 -0
  39. package/types/badge/index.d.ts +7 -17
  40. package/types/button/button.d.ts +3 -4
  41. package/types/card/index.d.ts +5 -5
  42. package/types/cascader/index.d.ts +9 -0
  43. package/types/cascader/types.d.ts +5 -0
  44. package/types/check-card/check-card-group.d.ts +5 -9
  45. package/types/check-card/check-card.d.ts +5 -9
  46. package/types/check-card/context.d.ts +3 -3
  47. package/types/check-card/index.d.ts +1 -1
  48. package/types/check-card/types.d.ts +2 -3
  49. package/types/checkbox/checkbox-group.d.ts +5 -5
  50. package/types/checkbox/checkbox.d.ts +2 -2
  51. package/types/collapse/collapse.d.ts +5 -5
  52. package/types/color-picker/index.d.ts +27 -0
  53. package/types/components.d.ts +2 -2
  54. package/types/config/context.d.ts +102 -1
  55. package/types/const/types.d.ts +11 -1
  56. package/types/const/var.d.ts +6 -1
  57. package/types/date-picker/index.d.ts +18 -0
  58. package/types/drawer/index.d.ts +21 -8
  59. package/types/dropdown/dropdown-button.d.ts +23 -4
  60. package/types/dropdown/dropdown-context.d.ts +5 -0
  61. package/types/dropdown/dropdown.d.ts +16 -0
  62. package/types/dropdown/trigger.d.ts +3 -3
  63. package/types/feature-card/index.d.ts +5 -5
  64. package/types/feedback-panel/feedback-panel.d.ts +5 -5
  65. package/types/flame-wrap/engine.d.ts +18 -0
  66. package/types/form/context.d.ts +2 -0
  67. package/types/global.d.ts +256 -0
  68. package/types/image/image.d.ts +5 -5
  69. package/types/input/input-group.d.ts +2 -6
  70. package/types/input-number/index.d.ts +37 -7
  71. package/types/kanban/index.d.ts +5 -4
  72. package/types/list-panel/index.d.ts +5 -5
  73. package/types/locale/de.d.cts +4 -0
  74. package/types/locale/de.d.ts +4 -0
  75. package/types/locale/el.d.cts +4 -0
  76. package/types/locale/el.d.ts +4 -0
  77. package/types/locale/en.d.cts +4 -0
  78. package/types/locale/en.d.ts +4 -0
  79. package/types/locale/fr.d.cts +4 -0
  80. package/types/locale/fr.d.ts +4 -0
  81. package/types/locale/it.d.cts +4 -0
  82. package/types/locale/it.d.ts +4 -0
  83. package/types/locale/ja.d.cts +4 -0
  84. package/types/locale/ja.d.ts +4 -0
  85. package/types/locale/ko.d.cts +4 -0
  86. package/types/locale/ko.d.ts +4 -0
  87. package/types/locale/ru.d.cts +4 -0
  88. package/types/locale/ru.d.ts +4 -0
  89. package/types/locale/th.d.cts +4 -0
  90. package/types/locale/th.d.ts +4 -0
  91. package/types/locale/uk.d.cts +4 -0
  92. package/types/locale/uk.d.ts +4 -0
  93. package/types/locale/vi.d.cts +4 -0
  94. package/types/locale/vi.d.ts +4 -0
  95. package/types/locale/zh-CN.d.cts +4 -0
  96. package/types/locale/zh-CN.d.ts +4 -0
  97. package/types/locale/zh-TW.d.cts +4 -0
  98. package/types/locale/zh-TW.d.ts +4 -0
  99. package/types/mentions/index.d.ts +16 -0
  100. package/types/menu/menu-keyboard.d.ts +23 -0
  101. package/types/modal/index.d.ts +8 -2
  102. package/types/modal/modal.d.ts +27 -4
  103. package/types/modal/toast.d.ts +5 -5
  104. package/types/page/index.d.ts +5 -5
  105. package/types/popconfirm/index.d.ts +16 -0
  106. package/types/poptip/index.d.ts +16 -0
  107. package/types/popup/layers.d.ts +2 -0
  108. package/types/qrcode/index.d.ts +5 -5
  109. package/types/radio/radio-button.d.ts +4 -4
  110. package/types/radio/radio-group.d.ts +2 -2
  111. package/types/radio/radio.d.ts +5 -5
  112. package/types/ripple/engine.d.ts +18 -0
  113. package/types/select/select.d.ts +5 -0
  114. package/types/stat-card/stat-card.d.ts +24 -6
  115. package/types/stat-card/utils/countup.d.ts +3 -3
  116. package/types/stat-card/utils/stat-item-key.d.ts +11 -0
  117. package/types/table/index.d.ts +21 -5
  118. package/types/table/types.d.ts +17 -1
  119. package/types/table/utils.d.ts +76 -0
  120. package/types/tag/index.d.ts +5 -5
  121. package/types/tooltip/index.d.ts +16 -0
  122. package/types/transfer/index.d.ts +5 -4
  123. package/types/tree/index.d.ts +2 -2
  124. package/types/tree-select/index.d.ts +5 -0
  125. package/types/utils/color.d.ts +13 -0
  126. package/types/utils/overlay-order.d.ts +6 -0
  127. package/types/utils/overlay-stack.d.ts +13 -0
  128. package/types/utils/promise.d.ts +5 -0
  129. package/types/utils/vnode.d.ts +25 -0
  130. package/vetur/attributes.json +529 -225
  131. package/vetur/tags.json +76 -28
  132. package/vetur/web-types.json +668 -284
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "kui-vue",
4
- "version": "6.2.2",
4
+ "version": "6.3.0",
5
5
  "description-markup": "markdown",
6
6
  "js-types-syntax": "typescript",
7
7
  "contributions": {
@@ -577,7 +577,7 @@
577
577
  "attributes": [
578
578
  {
579
579
  "name": "type",
580
- "description": "按钮类型,可选值为 `success`、`info`、`warning`、`error` 或者不设置",
580
+ "description": "警告类型,可选值为 `success`、`info`、`warning`、`error`,不设置时是 `warning`",
581
581
  "value": {
582
582
  "type": "\"info\" | \"success\" | \"warning\" | \"error\"",
583
583
  "kind": "expression"
@@ -593,9 +593,9 @@
593
593
  },
594
594
  {
595
595
  "name": "theme",
596
- "description": "外观主题,可选 `default`、`fill`、`outline`、`plain`",
596
+ "description": "外观主题",
597
597
  "value": {
598
- "type": "ThemeType",
598
+ "type": "SurfaceThemeType",
599
599
  "kind": "expression"
600
600
  }
601
601
  },
@@ -669,7 +669,7 @@
669
669
  "attributes": [
670
670
  {
671
671
  "name": "type",
672
- "description": "按钮类型,可选值为 `success`、`info`、`warning`、`error` 或者不设置",
672
+ "description": "警告类型,可选值为 `success`、`info`、`warning`、`error`,不设置时是 `warning`",
673
673
  "value": {
674
674
  "type": "\"info\" | \"success\" | \"warning\" | \"error\"",
675
675
  "kind": "expression"
@@ -685,9 +685,9 @@
685
685
  },
686
686
  {
687
687
  "name": "theme",
688
- "description": "外观主题,可选 `default`、`fill`、`outline`、`plain`",
688
+ "description": "外观主题",
689
689
  "value": {
690
- "type": "ThemeType",
690
+ "type": "SurfaceThemeType",
691
691
  "kind": "expression"
692
692
  }
693
693
  },
@@ -767,9 +767,17 @@
767
767
  "kind": "expression"
768
768
  }
769
769
  },
770
+ {
771
+ "name": "destroyOnClose",
772
+ "description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
773
+ "value": {
774
+ "type": "boolean",
775
+ "kind": "expression"
776
+ }
777
+ },
770
778
  {
771
779
  "name": "theme",
772
- "description": "主题",
780
+ "description": "主题,画在内部输入框上,可用档位与 Input 一致",
773
781
  "value": {
774
782
  "type": "ThemeType",
775
783
  "kind": "expression"
@@ -871,6 +879,38 @@
871
879
  "kind": "expression"
872
880
  }
873
881
  },
882
+ {
883
+ "name": "addonBefore",
884
+ "description": "输入框外部前置附件,复杂内容可使用同名插槽",
885
+ "value": {
886
+ "type": "VNodeChild",
887
+ "kind": "expression"
888
+ }
889
+ },
890
+ {
891
+ "name": "addonAfter",
892
+ "description": "输入框外部后置附件,复杂内容可使用同名插槽",
893
+ "value": {
894
+ "type": "VNodeChild",
895
+ "kind": "expression"
896
+ }
897
+ },
898
+ {
899
+ "name": "prefix",
900
+ "description": "输入框内部前缀,复杂内容可使用同名插槽",
901
+ "value": {
902
+ "type": "VNodeChild",
903
+ "kind": "expression"
904
+ }
905
+ },
906
+ {
907
+ "name": "suffix",
908
+ "description": "输入框内部后缀,复杂内容可使用同名插槽",
909
+ "value": {
910
+ "type": "VNodeChild",
911
+ "kind": "expression"
912
+ }
913
+ },
874
914
  {
875
915
  "name": "size",
876
916
  "description": "尺寸",
@@ -919,9 +959,17 @@
919
959
  "kind": "expression"
920
960
  }
921
961
  },
962
+ {
963
+ "name": "destroyOnClose",
964
+ "description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
965
+ "value": {
966
+ "type": "boolean",
967
+ "kind": "expression"
968
+ }
969
+ },
922
970
  {
923
971
  "name": "theme",
924
- "description": "主题",
972
+ "description": "主题,画在内部输入框上,可用档位与 Input 一致",
925
973
  "value": {
926
974
  "type": "ThemeType",
927
975
  "kind": "expression"
@@ -1023,6 +1071,38 @@
1023
1071
  "kind": "expression"
1024
1072
  }
1025
1073
  },
1074
+ {
1075
+ "name": "addonBefore",
1076
+ "description": "输入框外部前置附件,复杂内容可使用同名插槽",
1077
+ "value": {
1078
+ "type": "VNodeChild",
1079
+ "kind": "expression"
1080
+ }
1081
+ },
1082
+ {
1083
+ "name": "addonAfter",
1084
+ "description": "输入框外部后置附件,复杂内容可使用同名插槽",
1085
+ "value": {
1086
+ "type": "VNodeChild",
1087
+ "kind": "expression"
1088
+ }
1089
+ },
1090
+ {
1091
+ "name": "prefix",
1092
+ "description": "输入框内部前缀,复杂内容可使用同名插槽",
1093
+ "value": {
1094
+ "type": "VNodeChild",
1095
+ "kind": "expression"
1096
+ }
1097
+ },
1098
+ {
1099
+ "name": "suffix",
1100
+ "description": "输入框内部后缀,复杂内容可使用同名插槽",
1101
+ "value": {
1102
+ "type": "VNodeChild",
1103
+ "kind": "expression"
1104
+ }
1105
+ },
1026
1106
  {
1027
1107
  "name": "size",
1028
1108
  "description": "尺寸",
@@ -1681,14 +1761,6 @@
1681
1761
  "kind": "expression"
1682
1762
  }
1683
1763
  },
1684
- {
1685
- "name": "status",
1686
- "description": "将徽章设置为状态点",
1687
- "value": {
1688
- "type": "BadgeStatusType",
1689
- "kind": "expression"
1690
- }
1691
- },
1692
1764
  {
1693
1765
  "name": "count",
1694
1766
  "description": "显示的文字",
@@ -1715,12 +1787,20 @@
1715
1787
  },
1716
1788
  {
1717
1789
  "name": "color",
1718
- "description": "徽标颜色",
1790
+ "description": "徽标颜色:预设色值名(与 `Tag` 同一套,如 `blue`)或任意可读色值",
1719
1791
  "value": {
1720
1792
  "type": "string | undefined",
1721
1793
  "kind": "expression"
1722
1794
  }
1723
1795
  },
1796
+ {
1797
+ "name": "status",
1798
+ "description": "将徽章设置为状态点",
1799
+ "value": {
1800
+ "type": "BadgeStatusType | undefined",
1801
+ "kind": "expression"
1802
+ }
1803
+ },
1724
1804
  {
1725
1805
  "name": "text",
1726
1806
  "description": "如果设置了状态,文本将设置状态点的显示文本",
@@ -1756,14 +1836,6 @@
1756
1836
  "kind": "expression"
1757
1837
  }
1758
1838
  },
1759
- {
1760
- "name": "status",
1761
- "description": "将徽章设置为状态点",
1762
- "value": {
1763
- "type": "BadgeStatusType",
1764
- "kind": "expression"
1765
- }
1766
- },
1767
1839
  {
1768
1840
  "name": "count",
1769
1841
  "description": "显示的文字",
@@ -1790,12 +1862,20 @@
1790
1862
  },
1791
1863
  {
1792
1864
  "name": "color",
1793
- "description": "徽标颜色",
1865
+ "description": "徽标颜色:预设色值名(与 `Tag` 同一套,如 `blue`)或任意可读色值",
1794
1866
  "value": {
1795
1867
  "type": "string | undefined",
1796
1868
  "kind": "expression"
1797
1869
  }
1798
1870
  },
1871
+ {
1872
+ "name": "status",
1873
+ "description": "将徽章设置为状态点",
1874
+ "value": {
1875
+ "type": "BadgeStatusType | undefined",
1876
+ "kind": "expression"
1877
+ }
1878
+ },
1799
1879
  {
1800
1880
  "name": "text",
1801
1881
  "description": "如果设置了状态,文本将设置状态点的显示文本",
@@ -1881,9 +1961,9 @@
1881
1961
  },
1882
1962
  {
1883
1963
  "name": "theme",
1884
- "description": "按钮主题",
1964
+ "description": "按钮主题,可用 `fill` / `outline` / `plain` / `solid` / `dashed`;不写 `theme` 就是按钮自身的外观,`underlined` 是给可输入的控件用的,按钮不会画下划线",
1885
1965
  "value": {
1886
- "type": "ThemeType | undefined",
1966
+ "type": "SurfaceThemeType | undefined",
1887
1967
  "kind": "expression"
1888
1968
  }
1889
1969
  },
@@ -1913,9 +1993,9 @@
1913
1993
  },
1914
1994
  {
1915
1995
  "name": "color",
1916
- "description": "预设语义颜色",
1996
+ "description": "按钮颜色:预设色值名(与 `Tag` / `Badge` 同一套,如 `blue`);写了 `theme` 就在这一档上上色,没写时它自带一张实心面;这套名字之外的颜色不改变按钮外观",
1917
1997
  "value": {
1918
- "type": "\"default\" | \"red\" | \"orange\" | \"yellow\" | \"olive\" | \"green\" | \"teal\" | \"blue\" | \"volcano\" | \"violet\" | \"cyan\" | \"gold\" | \"lime\" | \"magenta\" | \"purple\" | \"pink\" | \"brown\" | \"gray\" | undefined",
1998
+ "type": "string | undefined",
1919
1999
  "kind": "expression"
1920
2000
  }
1921
2001
  }
@@ -1988,9 +2068,9 @@
1988
2068
  },
1989
2069
  {
1990
2070
  "name": "theme",
1991
- "description": "按钮主题",
2071
+ "description": "按钮主题,可用 `fill` / `outline` / `plain` / `solid` / `dashed`;不写 `theme` 就是按钮自身的外观,`underlined` 是给可输入的控件用的,按钮不会画下划线",
1992
2072
  "value": {
1993
- "type": "ThemeType | undefined",
2073
+ "type": "SurfaceThemeType | undefined",
1994
2074
  "kind": "expression"
1995
2075
  }
1996
2076
  },
@@ -2020,9 +2100,9 @@
2020
2100
  },
2021
2101
  {
2022
2102
  "name": "color",
2023
- "description": "预设语义颜色",
2103
+ "description": "按钮颜色:预设色值名(与 `Tag` / `Badge` 同一套,如 `blue`);写了 `theme` 就在这一档上上色,没写时它自带一张实心面;这套名字之外的颜色不改变按钮外观",
2024
2104
  "value": {
2025
- "type": "\"default\" | \"red\" | \"orange\" | \"yellow\" | \"olive\" | \"green\" | \"teal\" | \"blue\" | \"volcano\" | \"violet\" | \"cyan\" | \"gold\" | \"lime\" | \"magenta\" | \"purple\" | \"pink\" | \"brown\" | \"gray\" | undefined",
2105
+ "type": "string | undefined",
2026
2106
  "kind": "expression"
2027
2107
  }
2028
2108
  }
@@ -2107,6 +2187,14 @@
2107
2187
  "kind": "expression"
2108
2188
  }
2109
2189
  },
2190
+ {
2191
+ "name": "destroyOnClose",
2192
+ "description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
2193
+ "value": {
2194
+ "type": "boolean",
2195
+ "kind": "expression"
2196
+ }
2197
+ },
2110
2198
  {
2111
2199
  "name": "bordered",
2112
2200
  "description": "是否显示边框",
@@ -2278,6 +2366,14 @@
2278
2366
  "kind": "expression"
2279
2367
  }
2280
2368
  },
2369
+ {
2370
+ "name": "destroyOnClose",
2371
+ "description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
2372
+ "value": {
2373
+ "type": "boolean",
2374
+ "kind": "expression"
2375
+ }
2376
+ },
2281
2377
  {
2282
2378
  "name": "bordered",
2283
2379
  "description": "是否显示边框",
@@ -2445,7 +2541,7 @@
2445
2541
  "name": "theme",
2446
2542
  "description": "外观主题",
2447
2543
  "value": {
2448
- "type": "ThemeType",
2544
+ "type": "SurfaceThemeType",
2449
2545
  "kind": "expression"
2450
2546
  }
2451
2547
  },
@@ -2512,7 +2608,7 @@
2512
2608
  "name": "theme",
2513
2609
  "description": "外观主题",
2514
2610
  "value": {
2515
- "type": "ThemeType",
2611
+ "type": "SurfaceThemeType",
2516
2612
  "kind": "expression"
2517
2613
  }
2518
2614
  },
@@ -2825,7 +2921,7 @@
2825
2921
  "name": "theme",
2826
2922
  "description": "外观主题",
2827
2923
  "value": {
2828
- "type": "ThemeType",
2924
+ "type": "SurfaceThemeType",
2829
2925
  "kind": "expression"
2830
2926
  }
2831
2927
  },
@@ -2903,7 +2999,7 @@
2903
2999
  },
2904
3000
  {
2905
3001
  "name": "iconBackground",
2906
- "description": "图标容器背景;未设置时根据 `color` 自动生成",
3002
+ "description": "图标容器背景;未设置时由 `color` 淡化生成,`color` 无法解析(如 `currentColor`、CSS 变量)时改用主题主色淡化",
2907
3003
  "value": {
2908
3004
  "type": "string | undefined",
2909
3005
  "kind": "expression"
@@ -2937,7 +3033,7 @@
2937
3033
  "name": "theme",
2938
3034
  "description": "外观主题",
2939
3035
  "value": {
2940
- "type": "ThemeType",
3036
+ "type": "SurfaceThemeType",
2941
3037
  "kind": "expression"
2942
3038
  }
2943
3039
  },
@@ -3015,7 +3111,7 @@
3015
3111
  },
3016
3112
  {
3017
3113
  "name": "iconBackground",
3018
- "description": "图标容器背景;未设置时根据 `color` 自动生成",
3114
+ "description": "图标容器背景;未设置时由 `color` 淡化生成,`color` 无法解析(如 `currentColor`、CSS 变量)时改用主题主色淡化",
3019
3115
  "value": {
3020
3116
  "type": "string | undefined",
3021
3117
  "kind": "expression"
@@ -3389,9 +3485,9 @@
3389
3485
  },
3390
3486
  {
3391
3487
  "name": "theme",
3392
- "description": "面板外观",
3488
+ "description": "外观主题",
3393
3489
  "value": {
3394
- "type": "\"fill\" | \"outline\" | \"plain\"",
3490
+ "type": "SurfaceThemeType",
3395
3491
  "kind": "expression"
3396
3492
  }
3397
3493
  },
@@ -3448,9 +3544,9 @@
3448
3544
  },
3449
3545
  {
3450
3546
  "name": "theme",
3451
- "description": "面板外观",
3547
+ "description": "外观主题",
3452
3548
  "value": {
3453
- "type": "\"fill\" | \"outline\" | \"plain\"",
3549
+ "type": "SurfaceThemeType",
3454
3550
  "kind": "expression"
3455
3551
  }
3456
3552
  },
@@ -3697,7 +3793,7 @@
3697
3793
  "name": "theme",
3698
3794
  "description": "组件呈现主题",
3699
3795
  "value": {
3700
- "type": "ThemeType",
3796
+ "type": "MarkThemeType",
3701
3797
  "kind": "expression"
3702
3798
  }
3703
3799
  },
@@ -3793,7 +3889,7 @@
3793
3889
  "name": "theme",
3794
3890
  "description": "组件呈现主题",
3795
3891
  "value": {
3796
- "type": "ThemeType",
3892
+ "type": "MarkThemeType",
3797
3893
  "kind": "expression"
3798
3894
  }
3799
3895
  },
@@ -3889,7 +3985,7 @@
3889
3985
  "name": "theme",
3890
3986
  "description": "组件呈现主题",
3891
3987
  "value": {
3892
- "type": "ThemeType",
3988
+ "type": "MarkThemeType",
3893
3989
  "kind": "expression"
3894
3990
  }
3895
3991
  },
@@ -3969,7 +4065,7 @@
3969
4065
  "name": "theme",
3970
4066
  "description": "组件呈现主题",
3971
4067
  "value": {
3972
- "type": "ThemeType",
4068
+ "type": "MarkThemeType",
3973
4069
  "kind": "expression"
3974
4070
  }
3975
4071
  },
@@ -4045,14 +4141,6 @@
4045
4141
  "description": "Kui Vue component: CheckCard",
4046
4142
  "doc-url": "https://k-ui.cn/components/check-card",
4047
4143
  "attributes": [
4048
- {
4049
- "name": "theme",
4050
- "description": "外观主题",
4051
- "value": {
4052
- "type": "CheckCardTheme",
4053
- "kind": "expression"
4054
- }
4055
- },
4056
4144
  {
4057
4145
  "name": "shape",
4058
4146
  "description": "形状",
@@ -4117,6 +4205,14 @@
4117
4205
  "kind": "expression"
4118
4206
  }
4119
4207
  },
4208
+ {
4209
+ "name": "theme",
4210
+ "description": "外观主题",
4211
+ "value": {
4212
+ "type": "SurfaceThemeType | undefined",
4213
+ "kind": "expression"
4214
+ }
4215
+ },
4120
4216
  {
4121
4217
  "name": "modelValue",
4122
4218
  "description": "独立使用时的选中状态,可用 `v-model`",
@@ -4165,14 +4261,6 @@
4165
4261
  "description": "Kui Vue component: CheckCard",
4166
4262
  "doc-url": "https://k-ui.cn/components/check-card",
4167
4263
  "attributes": [
4168
- {
4169
- "name": "theme",
4170
- "description": "外观主题",
4171
- "value": {
4172
- "type": "CheckCardTheme",
4173
- "kind": "expression"
4174
- }
4175
- },
4176
4264
  {
4177
4265
  "name": "shape",
4178
4266
  "description": "形状",
@@ -4237,6 +4325,14 @@
4237
4325
  "kind": "expression"
4238
4326
  }
4239
4327
  },
4328
+ {
4329
+ "name": "theme",
4330
+ "description": "外观主题",
4331
+ "value": {
4332
+ "type": "SurfaceThemeType | undefined",
4333
+ "kind": "expression"
4334
+ }
4335
+ },
4240
4336
  {
4241
4337
  "name": "modelValue",
4242
4338
  "description": "独立使用时的选中状态,可用 `v-model`",
@@ -4285,14 +4381,6 @@
4285
4381
  "description": "Kui Vue component: CheckCardGroup",
4286
4382
  "doc-url": "https://k-ui.cn/components/check-card-group",
4287
4383
  "attributes": [
4288
- {
4289
- "name": "theme",
4290
- "description": "卡片主题",
4291
- "value": {
4292
- "type": "CheckCardTheme",
4293
- "kind": "expression"
4294
- }
4295
- },
4296
4384
  {
4297
4385
  "name": "shape",
4298
4386
  "description": "卡片形状",
@@ -4325,6 +4413,14 @@
4325
4413
  "kind": "expression"
4326
4414
  }
4327
4415
  },
4416
+ {
4417
+ "name": "theme",
4418
+ "description": "卡片主题",
4419
+ "value": {
4420
+ "type": "SurfaceThemeType | undefined",
4421
+ "kind": "expression"
4422
+ }
4423
+ },
4328
4424
  {
4329
4425
  "name": "modelValue",
4330
4426
  "description": "当前选项值,可用 `v-model`",
@@ -4373,14 +4469,6 @@
4373
4469
  "description": "Kui Vue component: CheckCardGroup",
4374
4470
  "doc-url": "https://k-ui.cn/components/check-card-group",
4375
4471
  "attributes": [
4376
- {
4377
- "name": "theme",
4378
- "description": "卡片主题",
4379
- "value": {
4380
- "type": "CheckCardTheme",
4381
- "kind": "expression"
4382
- }
4383
- },
4384
4472
  {
4385
4473
  "name": "shape",
4386
4474
  "description": "卡片形状",
@@ -4413,6 +4501,14 @@
4413
4501
  "kind": "expression"
4414
4502
  }
4415
4503
  },
4504
+ {
4505
+ "name": "theme",
4506
+ "description": "卡片主题",
4507
+ "value": {
4508
+ "type": "SurfaceThemeType | undefined",
4509
+ "kind": "expression"
4510
+ }
4511
+ },
4416
4512
  {
4417
4513
  "name": "modelValue",
4418
4514
  "description": "当前选项值,可用 `v-model`",
@@ -4465,7 +4561,7 @@
4465
4561
  "name": "theme",
4466
4562
  "description": "外观主题",
4467
4563
  "value": {
4468
- "type": "ThemeType",
4564
+ "type": "SurfaceThemeType",
4469
4565
  "kind": "expression"
4470
4566
  }
4471
4567
  },
@@ -4521,7 +4617,7 @@
4521
4617
  "name": "theme",
4522
4618
  "description": "外观主题",
4523
4619
  "value": {
4524
- "type": "ThemeType",
4620
+ "type": "SurfaceThemeType",
4525
4621
  "kind": "expression"
4526
4622
  }
4527
4623
  },
@@ -4673,6 +4769,14 @@
4673
4769
  "kind": "expression"
4674
4770
  }
4675
4771
  },
4772
+ {
4773
+ "name": "destroyOnClose",
4774
+ "description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
4775
+ "value": {
4776
+ "type": "boolean",
4777
+ "kind": "expression"
4778
+ }
4779
+ },
4676
4780
  {
4677
4781
  "name": "mode",
4678
4782
  "description": "颜色展示类型,提供 3 种模式(`hex` 、 `rgb` 、`hsl`)",
@@ -4683,7 +4787,7 @@
4683
4787
  },
4684
4788
  {
4685
4789
  "name": "theme",
4686
- "description": "外观主题,支持 `outline`、`fill`、`plain`,未设置时可继承 Form",
4790
+ "description": "主题,未设置时可继承 Form 或 ConfigProvider",
4687
4791
  "value": {
4688
4792
  "type": "ThemeType",
4689
4793
  "kind": "expression"
@@ -4813,6 +4917,14 @@
4813
4917
  "kind": "expression"
4814
4918
  }
4815
4919
  },
4920
+ {
4921
+ "name": "destroyOnClose",
4922
+ "description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
4923
+ "value": {
4924
+ "type": "boolean",
4925
+ "kind": "expression"
4926
+ }
4927
+ },
4816
4928
  {
4817
4929
  "name": "mode",
4818
4930
  "description": "颜色展示类型,提供 3 种模式(`hex` 、 `rgb` 、`hsl`)",
@@ -4823,7 +4935,7 @@
4823
4935
  },
4824
4936
  {
4825
4937
  "name": "theme",
4826
- "description": "外观主题,支持 `outline`、`fill`、`plain`,未设置时可继承 Form",
4938
+ "description": "主题,未设置时可继承 Form 或 ConfigProvider",
4827
4939
  "value": {
4828
4940
  "type": "ThemeType",
4829
4941
  "kind": "expression"
@@ -4965,6 +5077,14 @@
4965
5077
  "kind": "expression"
4966
5078
  }
4967
5079
  },
5080
+ {
5081
+ "name": "destroyOnClose",
5082
+ "description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
5083
+ "value": {
5084
+ "type": "boolean",
5085
+ "kind": "expression"
5086
+ }
5087
+ },
4968
5088
  {
4969
5089
  "name": "mode",
4970
5090
  "description": "使用 `mode` 属性,可以自定义日期显示类型,提供 `year`、`month`、`date`、`time`、`dateTime`、`dateRange`、`dateTimeRange`",
@@ -4983,7 +5103,7 @@
4983
5103
  },
4984
5104
  {
4985
5105
  "name": "theme",
4986
- "description": "theme='fill' 时呈现浅色主题",
5106
+ "description": "主题",
4987
5107
  "value": {
4988
5108
  "type": "ThemeType",
4989
5109
  "kind": "expression"
@@ -5047,7 +5167,7 @@
5047
5167
  },
5048
5168
  {
5049
5169
  "name": "format",
5050
- "description": "设置日期格式,为数组时支持多格式匹配,展示以第一个为准。配置参考 [dayjs](http://day.js.org/)",
5170
+ "description": "设置日期格式,只接受单个格式(解析和展示都用它),不支持数组多格式匹配。配置参考 [dayjs](http://day.js.org/)",
5051
5171
  "value": {
5052
5172
  "type": "string",
5053
5173
  "kind": "expression"
@@ -5119,7 +5239,7 @@
5119
5239
  },
5120
5240
  {
5121
5241
  "name": "opened",
5122
- "description": "默认是否展示下拉框",
5242
+ "description": "下拉框是否展示,支持 `v-model:opened`",
5123
5243
  "value": {
5124
5244
  "type": "boolean | undefined",
5125
5245
  "kind": "expression"
@@ -5173,6 +5293,14 @@
5173
5293
  "kind": "expression"
5174
5294
  }
5175
5295
  },
5296
+ {
5297
+ "name": "destroyOnClose",
5298
+ "description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
5299
+ "value": {
5300
+ "type": "boolean",
5301
+ "kind": "expression"
5302
+ }
5303
+ },
5176
5304
  {
5177
5305
  "name": "mode",
5178
5306
  "description": "使用 `mode` 属性,可以自定义日期显示类型,提供 `year`、`month`、`date`、`time`、`dateTime`、`dateRange`、`dateTimeRange`",
@@ -5191,7 +5319,7 @@
5191
5319
  },
5192
5320
  {
5193
5321
  "name": "theme",
5194
- "description": "theme='fill' 时呈现浅色主题",
5322
+ "description": "主题",
5195
5323
  "value": {
5196
5324
  "type": "ThemeType",
5197
5325
  "kind": "expression"
@@ -5255,7 +5383,7 @@
5255
5383
  },
5256
5384
  {
5257
5385
  "name": "format",
5258
- "description": "设置日期格式,为数组时支持多格式匹配,展示以第一个为准。配置参考 [dayjs](http://day.js.org/)",
5386
+ "description": "设置日期格式,只接受单个格式(解析和展示都用它),不支持数组多格式匹配。配置参考 [dayjs](http://day.js.org/)",
5259
5387
  "value": {
5260
5388
  "type": "string",
5261
5389
  "kind": "expression"
@@ -5327,7 +5455,7 @@
5327
5455
  },
5328
5456
  {
5329
5457
  "name": "opened",
5330
- "description": "默认是否展示下拉框",
5458
+ "description": "下拉框是否展示,支持 `v-model:opened`",
5331
5459
  "value": {
5332
5460
  "type": "boolean | undefined",
5333
5461
  "kind": "expression"
@@ -5570,18 +5698,18 @@
5570
5698
  }
5571
5699
  },
5572
5700
  {
5573
- "name": "footer",
5574
- "description": "是否显示页脚,也可通过同名插槽自定义页脚内容",
5701
+ "name": "destroyOnClose",
5702
+ "description": "关闭后是否销毁抽屉内容。默认销毁(重开时重新挂载);设为 false 可保留抽屉内已填写的表单状态,代价是打开过的抽屉留一份隐藏 DOM",
5575
5703
  "value": {
5576
5704
  "type": "boolean",
5577
5705
  "kind": "expression"
5578
5706
  }
5579
5707
  },
5580
5708
  {
5581
- "name": "title",
5582
- "description": "抽屉标题",
5709
+ "name": "footer",
5710
+ "description": "是否显示页脚,也可通过同名插槽自定义页脚内容",
5583
5711
  "value": {
5584
- "type": "string",
5712
+ "type": "boolean",
5585
5713
  "kind": "expression"
5586
5714
  }
5587
5715
  },
@@ -5627,7 +5755,7 @@
5627
5755
  },
5628
5756
  {
5629
5757
  "name": "maskClosable",
5630
- "description": "点击蒙层是否允许关闭",
5758
+ "description": "是否点击遮罩关闭抽屉(只管遮罩,Esc 由 `escKey` 控制)",
5631
5759
  "value": {
5632
5760
  "type": "boolean",
5633
5761
  "kind": "expression"
@@ -5657,6 +5785,14 @@
5657
5785
  "kind": "expression"
5658
5786
  }
5659
5787
  },
5788
+ {
5789
+ "name": "title",
5790
+ "description": "抽屉标题,字符串之外可给 VNode;富内容也可以走 `title` 插槽。没有标题文本时标题栏仍在(右上角关闭按钮住在里面),`closable: false` 且没有标题才整条不收",
5791
+ "value": {
5792
+ "type": "VNodeChild",
5793
+ "kind": "expression"
5794
+ }
5795
+ },
5660
5796
  {
5661
5797
  "name": "modelValue",
5662
5798
  "description": "对话框是否显示,可使用 v-model 双向绑定数据。",
@@ -5685,7 +5821,7 @@
5685
5821
  "js/events": [
5686
5822
  {
5687
5823
  "name": "openChange",
5688
- "description": "打开或抽屉关闭的回调"
5824
+ "description": "抽屉关闭时的回调;打开由 `v-model` 决定,不会回写一次"
5689
5825
  },
5690
5826
  {
5691
5827
  "name": "ok",
@@ -5718,18 +5854,18 @@
5718
5854
  }
5719
5855
  },
5720
5856
  {
5721
- "name": "footer",
5722
- "description": "是否显示页脚,也可通过同名插槽自定义页脚内容",
5857
+ "name": "destroyOnClose",
5858
+ "description": "关闭后是否销毁抽屉内容。默认销毁(重开时重新挂载);设为 false 可保留抽屉内已填写的表单状态,代价是打开过的抽屉留一份隐藏 DOM",
5723
5859
  "value": {
5724
5860
  "type": "boolean",
5725
5861
  "kind": "expression"
5726
5862
  }
5727
5863
  },
5728
5864
  {
5729
- "name": "title",
5730
- "description": "抽屉标题",
5865
+ "name": "footer",
5866
+ "description": "是否显示页脚,也可通过同名插槽自定义页脚内容",
5731
5867
  "value": {
5732
- "type": "string",
5868
+ "type": "boolean",
5733
5869
  "kind": "expression"
5734
5870
  }
5735
5871
  },
@@ -5775,7 +5911,7 @@
5775
5911
  },
5776
5912
  {
5777
5913
  "name": "maskClosable",
5778
- "description": "点击蒙层是否允许关闭",
5914
+ "description": "是否点击遮罩关闭抽屉(只管遮罩,Esc 由 `escKey` 控制)",
5779
5915
  "value": {
5780
5916
  "type": "boolean",
5781
5917
  "kind": "expression"
@@ -5805,6 +5941,14 @@
5805
5941
  "kind": "expression"
5806
5942
  }
5807
5943
  },
5944
+ {
5945
+ "name": "title",
5946
+ "description": "抽屉标题,字符串之外可给 VNode;富内容也可以走 `title` 插槽。没有标题文本时标题栏仍在(右上角关闭按钮住在里面),`closable: false` 且没有标题才整条不收",
5947
+ "value": {
5948
+ "type": "VNodeChild",
5949
+ "kind": "expression"
5950
+ }
5951
+ },
5808
5952
  {
5809
5953
  "name": "modelValue",
5810
5954
  "description": "对话框是否显示,可使用 v-model 双向绑定数据。",
@@ -5833,7 +5977,7 @@
5833
5977
  "js/events": [
5834
5978
  {
5835
5979
  "name": "openChange",
5836
- "description": "打开或抽屉关闭的回调"
5980
+ "description": "抽屉关闭时的回调;打开由 `v-model` 决定,不会回写一次"
5837
5981
  },
5838
5982
  {
5839
5983
  "name": "ok",
@@ -5881,6 +6025,14 @@
5881
6025
  "kind": "expression"
5882
6026
  }
5883
6027
  },
6028
+ {
6029
+ "name": "destroyOnClose",
6030
+ "description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
6031
+ "value": {
6032
+ "type": "boolean",
6033
+ "kind": "expression"
6034
+ }
6035
+ },
5884
6036
  {
5885
6037
  "name": "target",
5886
6038
  "description": "外部触发元素或组件的引用",
@@ -5945,6 +6097,14 @@
5945
6097
  "kind": "expression"
5946
6098
  }
5947
6099
  },
6100
+ {
6101
+ "name": "destroyOnClose",
6102
+ "description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
6103
+ "value": {
6104
+ "type": "boolean",
6105
+ "kind": "expression"
6106
+ }
6107
+ },
5948
6108
  {
5949
6109
  "name": "target",
5950
6110
  "description": "外部触发元素或组件的引用",
@@ -5993,6 +6153,14 @@
5993
6153
  "kind": "expression"
5994
6154
  }
5995
6155
  },
6156
+ {
6157
+ "name": "destroyOnClose",
6158
+ "description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
6159
+ "value": {
6160
+ "type": "boolean",
6161
+ "kind": "expression"
6162
+ }
6163
+ },
5996
6164
  {
5997
6165
  "name": "disabled",
5998
6166
  "description": "是否禁用",
@@ -6001,6 +6169,14 @@
6001
6169
  "kind": "expression"
6002
6170
  }
6003
6171
  },
6172
+ {
6173
+ "name": "trigger",
6174
+ "description": "触发方式",
6175
+ "value": {
6176
+ "type": "TriggerType | undefined",
6177
+ "kind": "expression"
6178
+ }
6179
+ },
6004
6180
  {
6005
6181
  "name": "arrow",
6006
6182
  "description": "是否显示下拉箭头",
@@ -6019,9 +6195,9 @@
6019
6195
  },
6020
6196
  {
6021
6197
  "name": "theme",
6022
- "description": "按钮主题",
6198
+ "description": "按钮主题,可用 `fill` / `outline` / `plain` / `solid` / `dashed`;不写 `theme` 就是按钮自身的外观,`underlined` 是给可输入的控件用的,按钮不会画下划线",
6023
6199
  "value": {
6024
- "type": "ThemeType | undefined",
6200
+ "type": "SurfaceThemeType | undefined",
6025
6201
  "kind": "expression"
6026
6202
  }
6027
6203
  },
@@ -6065,6 +6241,14 @@
6065
6241
  "kind": "expression"
6066
6242
  }
6067
6243
  },
6244
+ {
6245
+ "name": "destroyOnClose",
6246
+ "description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
6247
+ "value": {
6248
+ "type": "boolean",
6249
+ "kind": "expression"
6250
+ }
6251
+ },
6068
6252
  {
6069
6253
  "name": "disabled",
6070
6254
  "description": "是否禁用",
@@ -6073,6 +6257,14 @@
6073
6257
  "kind": "expression"
6074
6258
  }
6075
6259
  },
6260
+ {
6261
+ "name": "trigger",
6262
+ "description": "触发方式",
6263
+ "value": {
6264
+ "type": "TriggerType | undefined",
6265
+ "kind": "expression"
6266
+ }
6267
+ },
6076
6268
  {
6077
6269
  "name": "arrow",
6078
6270
  "description": "是否显示下拉箭头",
@@ -6091,9 +6283,9 @@
6091
6283
  },
6092
6284
  {
6093
6285
  "name": "theme",
6094
- "description": "按钮主题",
6286
+ "description": "按钮主题,可用 `fill` / `outline` / `plain` / `solid` / `dashed`;不写 `theme` 就是按钮自身的外观,`underlined` 是给可输入的控件用的,按钮不会画下划线",
6095
6287
  "value": {
6096
- "type": "ThemeType | undefined",
6288
+ "type": "SurfaceThemeType | undefined",
6097
6289
  "kind": "expression"
6098
6290
  }
6099
6291
  },
@@ -6319,7 +6511,7 @@
6319
6511
  },
6320
6512
  {
6321
6513
  "name": "theme",
6322
- "description": "组件呈现主题",
6514
+ "description": "子控件主题",
6323
6515
  "value": {
6324
6516
  "type": "ThemeType | undefined",
6325
6517
  "kind": "expression"
@@ -6327,7 +6519,7 @@
6327
6519
  },
6328
6520
  {
6329
6521
  "name": "shape",
6330
- "description": "子组件的形状",
6522
+ "description": "子控件形状",
6331
6523
  "value": {
6332
6524
  "type": "ShapeType | undefined",
6333
6525
  "kind": "expression"
@@ -6343,7 +6535,7 @@
6343
6535
  },
6344
6536
  {
6345
6537
  "name": "size",
6346
- "description": "子组件的尺寸",
6538
+ "description": "子控件尺寸",
6347
6539
  "value": {
6348
6540
  "type": "SizeType | undefined",
6349
6541
  "kind": "expression"
@@ -6439,7 +6631,7 @@
6439
6631
  },
6440
6632
  {
6441
6633
  "name": "theme",
6442
- "description": "组件呈现主题",
6634
+ "description": "子控件主题",
6443
6635
  "value": {
6444
6636
  "type": "ThemeType | undefined",
6445
6637
  "kind": "expression"
@@ -6447,7 +6639,7 @@
6447
6639
  },
6448
6640
  {
6449
6641
  "name": "shape",
6450
- "description": "子组件的形状",
6642
+ "description": "子控件形状",
6451
6643
  "value": {
6452
6644
  "type": "ShapeType | undefined",
6453
6645
  "kind": "expression"
@@ -6463,7 +6655,7 @@
6463
6655
  },
6464
6656
  {
6465
6657
  "name": "size",
6466
- "description": "子组件的尺寸",
6658
+ "description": "子控件尺寸",
6467
6659
  "value": {
6468
6660
  "type": "SizeType | undefined",
6469
6661
  "kind": "expression"
@@ -6936,18 +7128,18 @@
6936
7128
  }
6937
7129
  },
6938
7130
  {
6939
- "name": "rowSpan",
6940
- "description": "占据的行数。配合 `autoRows` 可实现非对称布局",
7131
+ "name": "suffix",
7132
+ "description": "将该项放到当前显式网格的末尾",
6941
7133
  "value": {
6942
- "type": "GridResponsive<number> | undefined",
7134
+ "type": "boolean | undefined",
6943
7135
  "kind": "expression"
6944
7136
  }
6945
7137
  },
6946
7138
  {
6947
- "name": "suffix",
6948
- "description": "将该项放到当前显式网格的末尾",
7139
+ "name": "rowSpan",
7140
+ "description": "占据的行数。配合 `autoRows` 可实现非对称布局",
6949
7141
  "value": {
6950
- "type": "boolean | undefined",
7142
+ "type": "GridResponsive<number> | undefined",
6951
7143
  "kind": "expression"
6952
7144
  }
6953
7145
  },
@@ -6987,18 +7179,18 @@
6987
7179
  }
6988
7180
  },
6989
7181
  {
6990
- "name": "rowSpan",
6991
- "description": "占据的行数。配合 `autoRows` 可实现非对称布局",
7182
+ "name": "suffix",
7183
+ "description": "将该项放到当前显式网格的末尾",
6992
7184
  "value": {
6993
- "type": "GridResponsive<number> | undefined",
7185
+ "type": "boolean | undefined",
6994
7186
  "kind": "expression"
6995
7187
  }
6996
7188
  },
6997
7189
  {
6998
- "name": "suffix",
6999
- "description": "将该项放到当前显式网格的末尾",
7190
+ "name": "rowSpan",
7191
+ "description": "占据的行数。配合 `autoRows` 可实现非对称布局",
7000
7192
  "value": {
7001
- "type": "boolean | undefined",
7193
+ "type": "GridResponsive<number> | undefined",
7002
7194
  "kind": "expression"
7003
7195
  }
7004
7196
  },
@@ -7033,7 +7225,7 @@
7033
7225
  "name": "theme",
7034
7226
  "description": "外观主题",
7035
7227
  "value": {
7036
- "type": "ThemeType",
7228
+ "type": "SurfaceThemeType",
7037
7229
  "kind": "expression"
7038
7230
  }
7039
7231
  },
@@ -7199,6 +7391,14 @@
7199
7391
  "kind": "expression"
7200
7392
  }
7201
7393
  },
7394
+ {
7395
+ "name": "role",
7396
+ "description": "无障碍角色",
7397
+ "value": {
7398
+ "type": "string | undefined",
7399
+ "kind": "expression"
7400
+ }
7401
+ },
7202
7402
  {
7203
7403
  "name": "size",
7204
7404
  "description": "图标的大小,单位是 px",
@@ -7223,14 +7423,6 @@
7223
7423
  "kind": "expression"
7224
7424
  }
7225
7425
  },
7226
- {
7227
- "name": "role",
7228
- "description": "无障碍角色",
7229
- "value": {
7230
- "type": "string | undefined",
7231
- "kind": "expression"
7232
- }
7233
- },
7234
7426
  {
7235
7427
  "name": "aria-label",
7236
7428
  "description": "无障碍标签",
@@ -7299,6 +7491,14 @@
7299
7491
  "kind": "expression"
7300
7492
  }
7301
7493
  },
7494
+ {
7495
+ "name": "role",
7496
+ "description": "无障碍角色",
7497
+ "value": {
7498
+ "type": "string | undefined",
7499
+ "kind": "expression"
7500
+ }
7501
+ },
7302
7502
  {
7303
7503
  "name": "size",
7304
7504
  "description": "图标的大小,单位是 px",
@@ -7323,14 +7523,6 @@
7323
7523
  "kind": "expression"
7324
7524
  }
7325
7525
  },
7326
- {
7327
- "name": "role",
7328
- "description": "无障碍角色",
7329
- "value": {
7330
- "type": "string | undefined",
7331
- "kind": "expression"
7332
- }
7333
- },
7334
7526
  {
7335
7527
  "name": "aria-label",
7336
7528
  "description": "无障碍标签",
@@ -7464,42 +7656,42 @@
7464
7656
  }
7465
7657
  },
7466
7658
  {
7467
- "name": "size",
7468
- "description": "子组件的间距,可选值 `small`、`large`,默认不选",
7659
+ "name": "addonBefore",
7660
+ "description": "输入框外部前置附件,复杂内容可使用同名插槽",
7469
7661
  "value": {
7470
- "type": "\"small\" | \"medium\" | \"large\" | undefined",
7662
+ "type": "VNodeChild",
7471
7663
  "kind": "expression"
7472
7664
  }
7473
7665
  },
7474
7666
  {
7475
- "name": "prefix",
7476
- "description": "输入框内部前缀,复杂内容可使用同名插槽",
7667
+ "name": "addonAfter",
7668
+ "description": "输入框外部后置附件,复杂内容可使用同名插槽",
7477
7669
  "value": {
7478
7670
  "type": "VNodeChild",
7479
7671
  "kind": "expression"
7480
7672
  }
7481
7673
  },
7482
7674
  {
7483
- "name": "suffix",
7484
- "description": "输入框内部后缀,复杂内容可使用同名插槽",
7675
+ "name": "prefix",
7676
+ "description": "输入框内部前缀,复杂内容可使用同名插槽",
7485
7677
  "value": {
7486
7678
  "type": "VNodeChild",
7487
7679
  "kind": "expression"
7488
7680
  }
7489
7681
  },
7490
7682
  {
7491
- "name": "addonBefore",
7492
- "description": "输入框外部前置附件,复杂内容可使用同名插槽",
7683
+ "name": "suffix",
7684
+ "description": "输入框内部后缀,复杂内容可使用同名插槽",
7493
7685
  "value": {
7494
7686
  "type": "VNodeChild",
7495
7687
  "kind": "expression"
7496
7688
  }
7497
7689
  },
7498
7690
  {
7499
- "name": "addonAfter",
7500
- "description": "输入框外部后置附件,复杂内容可使用同名插槽",
7691
+ "name": "size",
7692
+ "description": "子组件的间距,可选值 `small`、`large`,默认不选",
7501
7693
  "value": {
7502
- "type": "VNodeChild",
7694
+ "type": "\"small\" | \"medium\" | \"large\" | undefined",
7503
7695
  "kind": "expression"
7504
7696
  }
7505
7697
  }
@@ -7624,42 +7816,42 @@
7624
7816
  }
7625
7817
  },
7626
7818
  {
7627
- "name": "size",
7628
- "description": "子组件的间距,可选值 `small`、`large`,默认不选",
7819
+ "name": "addonBefore",
7820
+ "description": "输入框外部前置附件,复杂内容可使用同名插槽",
7629
7821
  "value": {
7630
- "type": "\"small\" | \"medium\" | \"large\" | undefined",
7822
+ "type": "VNodeChild",
7631
7823
  "kind": "expression"
7632
7824
  }
7633
7825
  },
7634
7826
  {
7635
- "name": "prefix",
7636
- "description": "输入框内部前缀,复杂内容可使用同名插槽",
7827
+ "name": "addonAfter",
7828
+ "description": "输入框外部后置附件,复杂内容可使用同名插槽",
7637
7829
  "value": {
7638
7830
  "type": "VNodeChild",
7639
7831
  "kind": "expression"
7640
7832
  }
7641
7833
  },
7642
7834
  {
7643
- "name": "suffix",
7644
- "description": "输入框内部后缀,复杂内容可使用同名插槽",
7835
+ "name": "prefix",
7836
+ "description": "输入框内部前缀,复杂内容可使用同名插槽",
7645
7837
  "value": {
7646
7838
  "type": "VNodeChild",
7647
7839
  "kind": "expression"
7648
7840
  }
7649
7841
  },
7650
7842
  {
7651
- "name": "addonBefore",
7652
- "description": "输入框外部前置附件,复杂内容可使用同名插槽",
7843
+ "name": "suffix",
7844
+ "description": "输入框内部后缀,复杂内容可使用同名插槽",
7653
7845
  "value": {
7654
7846
  "type": "VNodeChild",
7655
7847
  "kind": "expression"
7656
7848
  }
7657
7849
  },
7658
7850
  {
7659
- "name": "addonAfter",
7660
- "description": "输入框外部后置附件,复杂内容可使用同名插槽",
7851
+ "name": "size",
7852
+ "description": "子组件的间距,可选值 `small`、`large`,默认不选",
7661
7853
  "value": {
7662
- "type": "VNodeChild",
7854
+ "type": "\"small\" | \"medium\" | \"large\" | undefined",
7663
7855
  "kind": "expression"
7664
7856
  }
7665
7857
  }
@@ -7703,14 +7895,6 @@
7703
7895
  "description": "Kui Vue component: InputGroup",
7704
7896
  "doc-url": "https://k-ui.cn/components/input-group",
7705
7897
  "attributes": [
7706
- {
7707
- "name": "theme",
7708
- "description": "文本域主题",
7709
- "value": {
7710
- "type": "ThemeType",
7711
- "kind": "expression"
7712
- }
7713
- },
7714
7898
  {
7715
7899
  "name": "block",
7716
7900
  "description": "是否继承父集宽度",
@@ -7727,6 +7911,14 @@
7727
7911
  "kind": "expression"
7728
7912
  }
7729
7913
  },
7914
+ {
7915
+ "name": "theme",
7916
+ "description": "文本域主题",
7917
+ "value": {
7918
+ "type": "ThemeType | undefined",
7919
+ "kind": "expression"
7920
+ }
7921
+ },
7730
7922
  {
7731
7923
  "name": "size",
7732
7924
  "description": "子组件的间距,可选值 `small`、`large`,默认不选",
@@ -7746,14 +7938,6 @@
7746
7938
  "description": "Kui Vue component: InputGroup",
7747
7939
  "doc-url": "https://k-ui.cn/components/input-group",
7748
7940
  "attributes": [
7749
- {
7750
- "name": "theme",
7751
- "description": "文本域主题",
7752
- "value": {
7753
- "type": "ThemeType",
7754
- "kind": "expression"
7755
- }
7756
- },
7757
7941
  {
7758
7942
  "name": "block",
7759
7943
  "description": "是否继承父集宽度",
@@ -7770,6 +7954,14 @@
7770
7954
  "kind": "expression"
7771
7955
  }
7772
7956
  },
7957
+ {
7958
+ "name": "theme",
7959
+ "description": "文本域主题",
7960
+ "value": {
7961
+ "type": "ThemeType | undefined",
7962
+ "kind": "expression"
7963
+ }
7964
+ },
7773
7965
  {
7774
7966
  "name": "size",
7775
7967
  "description": "子组件的间距,可选值 `small`、`large`,默认不选",
@@ -8630,10 +8822,18 @@
8630
8822
  }
8631
8823
  },
8632
8824
  {
8633
- "name": "size",
8634
- "description": "输入框大小",
8825
+ "name": "addonBefore",
8826
+ "description": "输入框外部前置附件,复杂内容可使用同名插槽",
8635
8827
  "value": {
8636
- "type": "SizeType | undefined",
8828
+ "type": "VNodeChild",
8829
+ "kind": "expression"
8830
+ }
8831
+ },
8832
+ {
8833
+ "name": "addonAfter",
8834
+ "description": "输入框外部后置附件,复杂内容可使用同名插槽",
8835
+ "value": {
8836
+ "type": "VNodeChild",
8637
8837
  "kind": "expression"
8638
8838
  }
8639
8839
  },
@@ -8641,15 +8841,23 @@
8641
8841
  "name": "prefix",
8642
8842
  "description": "前缀内容",
8643
8843
  "value": {
8644
- "type": "string | undefined",
8844
+ "type": "VNodeChild",
8845
+ "kind": "expression"
8846
+ }
8847
+ },
8848
+ {
8849
+ "name": "suffix",
8850
+ "description": "自定义后缀",
8851
+ "value": {
8852
+ "type": "VNodeChild",
8645
8853
  "kind": "expression"
8646
8854
  }
8647
8855
  },
8648
8856
  {
8649
- "name": "suffix",
8650
- "description": "自定义后缀",
8857
+ "name": "size",
8858
+ "description": "输入框大小",
8651
8859
  "value": {
8652
- "type": "string | undefined",
8860
+ "type": "SizeType | undefined",
8653
8861
  "kind": "expression"
8654
8862
  }
8655
8863
  },
@@ -8806,10 +9014,18 @@
8806
9014
  }
8807
9015
  },
8808
9016
  {
8809
- "name": "size",
8810
- "description": "输入框大小",
9017
+ "name": "addonBefore",
9018
+ "description": "输入框外部前置附件,复杂内容可使用同名插槽",
8811
9019
  "value": {
8812
- "type": "SizeType | undefined",
9020
+ "type": "VNodeChild",
9021
+ "kind": "expression"
9022
+ }
9023
+ },
9024
+ {
9025
+ "name": "addonAfter",
9026
+ "description": "输入框外部后置附件,复杂内容可使用同名插槽",
9027
+ "value": {
9028
+ "type": "VNodeChild",
8813
9029
  "kind": "expression"
8814
9030
  }
8815
9031
  },
@@ -8817,7 +9033,7 @@
8817
9033
  "name": "prefix",
8818
9034
  "description": "前缀内容",
8819
9035
  "value": {
8820
- "type": "string | undefined",
9036
+ "type": "VNodeChild",
8821
9037
  "kind": "expression"
8822
9038
  }
8823
9039
  },
@@ -8825,7 +9041,15 @@
8825
9041
  "name": "suffix",
8826
9042
  "description": "自定义后缀",
8827
9043
  "value": {
8828
- "type": "string | undefined",
9044
+ "type": "VNodeChild",
9045
+ "kind": "expression"
9046
+ }
9047
+ },
9048
+ {
9049
+ "name": "size",
9050
+ "description": "输入框大小",
9051
+ "value": {
9052
+ "type": "SizeType | undefined",
8829
9053
  "kind": "expression"
8830
9054
  }
8831
9055
  },
@@ -9501,9 +9725,17 @@
9501
9725
  "kind": "expression"
9502
9726
  }
9503
9727
  },
9728
+ {
9729
+ "name": "destroyOnClose",
9730
+ "description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
9731
+ "value": {
9732
+ "type": "boolean",
9733
+ "kind": "expression"
9734
+ }
9735
+ },
9504
9736
  {
9505
9737
  "name": "theme",
9506
- "description": "主题",
9738
+ "description": "主题,画在内部文本域上,可用档位与 TextArea 一致",
9507
9739
  "value": {
9508
9740
  "type": "ThemeType",
9509
9741
  "kind": "expression"
@@ -9665,9 +9897,17 @@
9665
9897
  "kind": "expression"
9666
9898
  }
9667
9899
  },
9900
+ {
9901
+ "name": "destroyOnClose",
9902
+ "description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
9903
+ "value": {
9904
+ "type": "boolean",
9905
+ "kind": "expression"
9906
+ }
9907
+ },
9668
9908
  {
9669
9909
  "name": "theme",
9670
- "description": "主题",
9910
+ "description": "主题,画在内部文本域上,可用档位与 TextArea 一致",
9671
9911
  "value": {
9672
9912
  "type": "ThemeType",
9673
9913
  "kind": "expression"
@@ -9881,6 +10121,14 @@
9881
10121
  "kind": "expression"
9882
10122
  }
9883
10123
  },
10124
+ {
10125
+ "name": "destroyOnClose",
10126
+ "description": "关闭后是否销毁窗口内容。默认销毁(重开时重新挂载);设为 false 可保留窗口内已填写的表单状态,代价是打开过的窗口留一份隐藏 DOM",
10127
+ "value": {
10128
+ "type": "boolean",
10129
+ "kind": "expression"
10130
+ }
10131
+ },
9884
10132
  {
9885
10133
  "name": "footer",
9886
10134
  "description": "当`footer=false`时不展示底部按钮",
@@ -9899,7 +10147,7 @@
9899
10147
  },
9900
10148
  {
9901
10149
  "name": "maskClosable",
9902
- "description": "是否点击遮罩关闭弹窗, 为否时 Esc 键将失效",
10150
+ "description": "是否点击遮罩关闭弹窗(只管遮罩,Esc 由 `escKey` 控制)",
9903
10151
  "value": {
9904
10152
  "type": "boolean",
9905
10153
  "kind": "expression"
@@ -9939,9 +10187,9 @@
9939
10187
  },
9940
10188
  {
9941
10189
  "name": "title",
9942
- "description": "对话框标题",
10190
+ "description": "对话框标题,字符串之外可给 VNode",
9943
10191
  "value": {
9944
- "type": "string | undefined",
10192
+ "type": "VNodeChild",
9945
10193
  "kind": "expression"
9946
10194
  }
9947
10195
  },
@@ -10013,11 +10261,11 @@
10013
10261
  "js/events": [
10014
10262
  {
10015
10263
  "name": "openChange",
10016
- "description": "打开或者窗口关闭的回调"
10264
+ "description": "窗口关闭时的回调;打开由 `v-model` 决定,不会回写一次"
10017
10265
  },
10018
10266
  {
10019
10267
  "name": "ok",
10020
- "description": "点击确定的回调"
10268
+ "description": "点击确定的回调;返回 Promise 时关闭时机交给组件:resolve 后关窗,reject 只停 loading 并保持窗口打开"
10021
10269
  },
10022
10270
  {
10023
10271
  "name": "cancel",
@@ -10045,6 +10293,14 @@
10045
10293
  "kind": "expression"
10046
10294
  }
10047
10295
  },
10296
+ {
10297
+ "name": "destroyOnClose",
10298
+ "description": "关闭后是否销毁窗口内容。默认销毁(重开时重新挂载);设为 false 可保留窗口内已填写的表单状态,代价是打开过的窗口留一份隐藏 DOM",
10299
+ "value": {
10300
+ "type": "boolean",
10301
+ "kind": "expression"
10302
+ }
10303
+ },
10048
10304
  {
10049
10305
  "name": "footer",
10050
10306
  "description": "当`footer=false`时不展示底部按钮",
@@ -10063,7 +10319,7 @@
10063
10319
  },
10064
10320
  {
10065
10321
  "name": "maskClosable",
10066
- "description": "是否点击遮罩关闭弹窗, 为否时 Esc 键将失效",
10322
+ "description": "是否点击遮罩关闭弹窗(只管遮罩,Esc 由 `escKey` 控制)",
10067
10323
  "value": {
10068
10324
  "type": "boolean",
10069
10325
  "kind": "expression"
@@ -10103,9 +10359,9 @@
10103
10359
  },
10104
10360
  {
10105
10361
  "name": "title",
10106
- "description": "对话框标题",
10362
+ "description": "对话框标题,字符串之外可给 VNode",
10107
10363
  "value": {
10108
- "type": "string | undefined",
10364
+ "type": "VNodeChild",
10109
10365
  "kind": "expression"
10110
10366
  }
10111
10367
  },
@@ -10177,11 +10433,11 @@
10177
10433
  "js/events": [
10178
10434
  {
10179
10435
  "name": "openChange",
10180
- "description": "打开或者窗口关闭的回调"
10436
+ "description": "窗口关闭时的回调;打开由 `v-model` 决定,不会回写一次"
10181
10437
  },
10182
10438
  {
10183
10439
  "name": "ok",
10184
- "description": "点击确定的回调"
10440
+ "description": "点击确定的回调;返回 Promise 时关闭时机交给组件:resolve 后关窗,reject 只停 loading 并保持窗口打开"
10185
10441
  },
10186
10442
  {
10187
10443
  "name": "cancel",
@@ -10203,9 +10459,9 @@
10203
10459
  "attributes": [
10204
10460
  {
10205
10461
  "name": "theme",
10206
- "description": "主题",
10462
+ "description": "外观主题",
10207
10463
  "value": {
10208
- "type": "ThemeType",
10464
+ "type": "SurfaceThemeType",
10209
10465
  "kind": "expression"
10210
10466
  }
10211
10467
  },
@@ -10323,9 +10579,9 @@
10323
10579
  "attributes": [
10324
10580
  {
10325
10581
  "name": "theme",
10326
- "description": "主题",
10582
+ "description": "外观主题",
10327
10583
  "value": {
10328
- "type": "ThemeType",
10584
+ "type": "SurfaceThemeType",
10329
10585
  "kind": "expression"
10330
10586
  }
10331
10587
  },
@@ -10531,6 +10787,14 @@
10531
10787
  "kind": "expression"
10532
10788
  }
10533
10789
  },
10790
+ {
10791
+ "name": "destroyOnClose",
10792
+ "description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
10793
+ "value": {
10794
+ "type": "boolean",
10795
+ "kind": "expression"
10796
+ }
10797
+ },
10534
10798
  {
10535
10799
  "name": "show",
10536
10800
  "description": "默认是否展示",
@@ -10611,6 +10875,14 @@
10611
10875
  "kind": "expression"
10612
10876
  }
10613
10877
  },
10878
+ {
10879
+ "name": "destroyOnClose",
10880
+ "description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
10881
+ "value": {
10882
+ "type": "boolean",
10883
+ "kind": "expression"
10884
+ }
10885
+ },
10614
10886
  {
10615
10887
  "name": "show",
10616
10888
  "description": "默认是否展示",
@@ -10703,6 +10975,14 @@
10703
10975
  "kind": "expression"
10704
10976
  }
10705
10977
  },
10978
+ {
10979
+ "name": "destroyOnClose",
10980
+ "description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
10981
+ "value": {
10982
+ "type": "boolean",
10983
+ "kind": "expression"
10984
+ }
10985
+ },
10706
10986
  {
10707
10987
  "name": "panelOnly",
10708
10988
  "description": "仅渲染确认面板,不需要触发元素",
@@ -10787,6 +11067,14 @@
10787
11067
  "kind": "expression"
10788
11068
  }
10789
11069
  },
11070
+ {
11071
+ "name": "destroyOnClose",
11072
+ "description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
11073
+ "value": {
11074
+ "type": "boolean",
11075
+ "kind": "expression"
11076
+ }
11077
+ },
10790
11078
  {
10791
11079
  "name": "panelOnly",
10792
11080
  "description": "仅渲染确认面板,不需要触发元素",
@@ -11261,7 +11549,7 @@
11261
11549
  "attributes": [
11262
11550
  {
11263
11551
  "name": "bordered",
11264
- "description": "是否保留外边框和内边距容器。",
11552
+ "description": "是否保留外边框和它托住的 12px 内边距。只想去掉表面(不留底色、边框透明)请写 `theme=\"plain\"`,内边距会保留。",
11265
11553
  "value": {
11266
11554
  "type": "boolean",
11267
11555
  "kind": "expression"
@@ -11269,9 +11557,9 @@
11269
11557
  },
11270
11558
  {
11271
11559
  "name": "theme",
11272
- "description": "二维码外观",
11560
+ "description": "外观主题",
11273
11561
  "value": {
11274
- "type": "ThemeType",
11562
+ "type": "SurfaceThemeType",
11275
11563
  "kind": "expression"
11276
11564
  }
11277
11565
  },
@@ -11389,7 +11677,7 @@
11389
11677
  "attributes": [
11390
11678
  {
11391
11679
  "name": "bordered",
11392
- "description": "是否保留外边框和内边距容器。",
11680
+ "description": "是否保留外边框和它托住的 12px 内边距。只想去掉表面(不留底色、边框透明)请写 `theme=\"plain\"`,内边距会保留。",
11393
11681
  "value": {
11394
11682
  "type": "boolean",
11395
11683
  "kind": "expression"
@@ -11397,9 +11685,9 @@
11397
11685
  },
11398
11686
  {
11399
11687
  "name": "theme",
11400
- "description": "二维码外观",
11688
+ "description": "外观主题",
11401
11689
  "value": {
11402
- "type": "ThemeType",
11690
+ "type": "SurfaceThemeType",
11403
11691
  "kind": "expression"
11404
11692
  }
11405
11693
  },
@@ -11517,9 +11805,9 @@
11517
11805
  "attributes": [
11518
11806
  {
11519
11807
  "name": "theme",
11520
- "description": "`button` 的主题",
11808
+ "description": "组件呈现主题",
11521
11809
  "value": {
11522
- "type": "ThemeType",
11810
+ "type": "MarkThemeType",
11523
11811
  "kind": "expression"
11524
11812
  }
11525
11813
  },
@@ -11605,9 +11893,9 @@
11605
11893
  "attributes": [
11606
11894
  {
11607
11895
  "name": "theme",
11608
- "description": "`button` 的主题",
11896
+ "description": "组件呈现主题",
11609
11897
  "value": {
11610
- "type": "ThemeType",
11898
+ "type": "MarkThemeType",
11611
11899
  "kind": "expression"
11612
11900
  }
11613
11901
  },
@@ -11717,15 +12005,15 @@
11717
12005
  },
11718
12006
  {
11719
12007
  "name": "theme",
11720
- "description": "`button` 的主题",
12008
+ "description": "按钮外观",
11721
12009
  "value": {
11722
- "type": "ThemeType | undefined",
12010
+ "type": "SurfaceThemeType | undefined",
11723
12011
  "kind": "expression"
11724
12012
  }
11725
12013
  },
11726
12014
  {
11727
12015
  "name": "shape",
11728
- "description": "`button` 的形状",
12016
+ "description": "按钮形状",
11729
12017
  "value": {
11730
12018
  "type": "ShapeType | undefined",
11731
12019
  "kind": "expression"
@@ -11813,15 +12101,15 @@
11813
12101
  },
11814
12102
  {
11815
12103
  "name": "theme",
11816
- "description": "`button` 的主题",
12104
+ "description": "按钮外观",
11817
12105
  "value": {
11818
- "type": "ThemeType | undefined",
12106
+ "type": "SurfaceThemeType | undefined",
11819
12107
  "kind": "expression"
11820
12108
  }
11821
12109
  },
11822
12110
  {
11823
12111
  "name": "shape",
11824
- "description": "`button` 的形状",
12112
+ "description": "按钮形状",
11825
12113
  "value": {
11826
12114
  "type": "ShapeType | undefined",
11827
12115
  "kind": "expression"
@@ -11909,9 +12197,9 @@
11909
12197
  },
11910
12198
  {
11911
12199
  "name": "theme",
11912
- "description": "`button` 的主题",
12200
+ "description": "单选项外观,`type=\"button\"` 时为按钮主题",
11913
12201
  "value": {
11914
- "type": "ThemeType | undefined",
12202
+ "type": "SurfaceThemeType | undefined",
11915
12203
  "kind": "expression"
11916
12204
  }
11917
12205
  },
@@ -12005,9 +12293,9 @@
12005
12293
  },
12006
12294
  {
12007
12295
  "name": "theme",
12008
- "description": "`button` 的主题",
12296
+ "description": "单选项外观,`type=\"button\"` 时为按钮主题",
12009
12297
  "value": {
12010
- "type": "ThemeType | undefined",
12298
+ "type": "SurfaceThemeType | undefined",
12011
12299
  "kind": "expression"
12012
12300
  }
12013
12301
  },
@@ -12613,7 +12901,7 @@
12613
12901
  "name": "theme",
12614
12902
  "description": "外观主题",
12615
12903
  "value": {
12616
- "type": "ThemeType",
12904
+ "type": "SurfaceThemeType",
12617
12905
  "kind": "expression"
12618
12906
  }
12619
12907
  },
@@ -12680,7 +12968,7 @@
12680
12968
  "name": "theme",
12681
12969
  "description": "外观主题",
12682
12970
  "value": {
12683
- "type": "ThemeType",
12971
+ "type": "SurfaceThemeType",
12684
12972
  "kind": "expression"
12685
12973
  }
12686
12974
  },
@@ -12895,6 +13183,14 @@
12895
13183
  "kind": "expression"
12896
13184
  }
12897
13185
  },
13186
+ {
13187
+ "name": "destroyOnClose",
13188
+ "description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
13189
+ "value": {
13190
+ "type": "boolean",
13191
+ "kind": "expression"
13192
+ }
13193
+ },
12898
13194
  {
12899
13195
  "name": "bordered",
12900
13196
  "description": "是否显示边框",
@@ -13143,6 +13439,14 @@
13143
13439
  "kind": "expression"
13144
13440
  }
13145
13441
  },
13442
+ {
13443
+ "name": "destroyOnClose",
13444
+ "description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
13445
+ "value": {
13446
+ "type": "boolean",
13447
+ "kind": "expression"
13448
+ }
13449
+ },
13146
13450
  {
13147
13451
  "name": "bordered",
13148
13452
  "description": "是否显示边框",
@@ -14087,7 +14391,7 @@
14087
14391
  "name": "theme",
14088
14392
  "description": "外观主题",
14089
14393
  "value": {
14090
- "type": "\"fill\" | \"outline\" | \"plain\"",
14394
+ "type": "SurfaceThemeType",
14091
14395
  "kind": "expression"
14092
14396
  }
14093
14397
  },
@@ -14133,7 +14437,23 @@
14133
14437
  },
14134
14438
  {
14135
14439
  "name": "title",
14136
- "description": "卡片标题,也可通过同名插槽自定义",
14440
+ "description": "卡片标题,不传时可用同名插槽;`false`、空字符串等空内容不渲染标题行",
14441
+ "value": {
14442
+ "type": "VNodeChild",
14443
+ "kind": "expression"
14444
+ }
14445
+ },
14446
+ {
14447
+ "name": "prefix",
14448
+ "description": "数值的前置内容",
14449
+ "value": {
14450
+ "type": "VNodeChild",
14451
+ "kind": "expression"
14452
+ }
14453
+ },
14454
+ {
14455
+ "name": "suffix",
14456
+ "description": "数值的后置内容",
14137
14457
  "value": {
14138
14458
  "type": "VNodeChild",
14139
14459
  "kind": "expression"
@@ -14178,7 +14498,7 @@
14178
14498
  "name": "theme",
14179
14499
  "description": "外观主题",
14180
14500
  "value": {
14181
- "type": "\"fill\" | \"outline\" | \"plain\"",
14501
+ "type": "SurfaceThemeType",
14182
14502
  "kind": "expression"
14183
14503
  }
14184
14504
  },
@@ -14224,7 +14544,23 @@
14224
14544
  },
14225
14545
  {
14226
14546
  "name": "title",
14227
- "description": "卡片标题,也可通过同名插槽自定义",
14547
+ "description": "卡片标题,不传时可用同名插槽;`false`、空字符串等空内容不渲染标题行",
14548
+ "value": {
14549
+ "type": "VNodeChild",
14550
+ "kind": "expression"
14551
+ }
14552
+ },
14553
+ {
14554
+ "name": "prefix",
14555
+ "description": "数值的前置内容",
14556
+ "value": {
14557
+ "type": "VNodeChild",
14558
+ "kind": "expression"
14559
+ }
14560
+ },
14561
+ {
14562
+ "name": "suffix",
14563
+ "description": "数值的后置内容",
14228
14564
  "value": {
14229
14565
  "type": "VNodeChild",
14230
14566
  "kind": "expression"
@@ -14314,24 +14650,24 @@
14314
14650
  }
14315
14651
  },
14316
14652
  {
14317
- "name": "separator",
14318
- "description": "分隔符",
14653
+ "name": "prefix",
14654
+ "description": "数值的前置内容",
14319
14655
  "value": {
14320
14656
  "type": "string | undefined",
14321
14657
  "kind": "expression"
14322
14658
  }
14323
14659
  },
14324
14660
  {
14325
- "name": "prefix",
14326
- "description": "自定义前置内容,例如图标。",
14661
+ "name": "suffix",
14662
+ "description": "数值的后置内容",
14327
14663
  "value": {
14328
14664
  "type": "string | undefined",
14329
14665
  "kind": "expression"
14330
14666
  }
14331
14667
  },
14332
14668
  {
14333
- "name": "suffix",
14334
- "description": "自定义后置内容,例如单位。",
14669
+ "name": "separator",
14670
+ "description": "分隔符",
14335
14671
  "value": {
14336
14672
  "type": "string | undefined",
14337
14673
  "kind": "expression"
@@ -14405,24 +14741,24 @@
14405
14741
  }
14406
14742
  },
14407
14743
  {
14408
- "name": "separator",
14409
- "description": "分隔符",
14744
+ "name": "prefix",
14745
+ "description": "数值的前置内容",
14410
14746
  "value": {
14411
14747
  "type": "string | undefined",
14412
14748
  "kind": "expression"
14413
14749
  }
14414
14750
  },
14415
14751
  {
14416
- "name": "prefix",
14417
- "description": "自定义前置内容,例如图标。",
14752
+ "name": "suffix",
14753
+ "description": "数值的后置内容",
14418
14754
  "value": {
14419
14755
  "type": "string | undefined",
14420
14756
  "kind": "expression"
14421
14757
  }
14422
14758
  },
14423
14759
  {
14424
- "name": "suffix",
14425
- "description": "自定义后置内容,例如单位。",
14760
+ "name": "separator",
14761
+ "description": "分隔符",
14426
14762
  "value": {
14427
14763
  "type": "string | undefined",
14428
14764
  "kind": "expression"
@@ -15475,9 +15811,9 @@
15475
15811
  },
15476
15812
  {
15477
15813
  "name": "rowKey",
15478
- "description": "勾选时的依据",
15814
+ "description": "行的唯一标识,勾选与展开都以它为准;可传字段名,或传函数从记录中取值",
15479
15815
  "value": {
15480
- "type": "string",
15816
+ "type": "string | ((record: TableRecord) => TableKey)",
15481
15817
  "kind": "expression"
15482
15818
  }
15483
15819
  },
@@ -15499,7 +15835,7 @@
15499
15835
  },
15500
15836
  {
15501
15837
  "name": "scroll",
15502
- "description": "滚动配置;`x` 为内容最小宽度,`y` 为纵向区域高度",
15838
+ "description": "滚动配置;`x` 为内容最小宽度,`y` 为表体的纵向滚动区域高度",
15503
15839
  "value": {
15504
15840
  "type": "{ x?: number | string; y?: number | string; }",
15505
15841
  "kind": "expression"
@@ -15537,6 +15873,14 @@
15537
15873
  "kind": "expression"
15538
15874
  }
15539
15875
  },
15876
+ {
15877
+ "name": "ellipsis",
15878
+ "description": "一次给所有列打开省略号,省得一列列写 `ellipsis`;`true` 单行,数字或 `rows` 是多行,`tooltip` 定制悬停提示。某一列想显示完整内容,就在那列写 `ellipsis: false` 单独关掉。",
15879
+ "value": {
15880
+ "type": "number | boolean | TableEllipsisOptions | undefined",
15881
+ "kind": "expression"
15882
+ }
15883
+ },
15540
15884
  {
15541
15885
  "name": "expandedKeys",
15542
15886
  "description": "展开行 key 集合,支持 `v-model:expanded-keys`",
@@ -15547,7 +15891,7 @@
15547
15891
  },
15548
15892
  {
15549
15893
  "name": "expandAllRows",
15550
- "description": "初始化及属性变化时展开所有树节点(expandedKeys 优先)",
15894
+ "description": "初始化时展开所有树节点;`data` 后续变化时只补新增的父行,用户手动展开或折叠过的行保持不变(expandedKeys 优先)",
15551
15895
  "value": {
15552
15896
  "type": "boolean | undefined",
15553
15897
  "kind": "expression"
@@ -15687,9 +16031,9 @@
15687
16031
  },
15688
16032
  {
15689
16033
  "name": "rowKey",
15690
- "description": "勾选时的依据",
16034
+ "description": "行的唯一标识,勾选与展开都以它为准;可传字段名,或传函数从记录中取值",
15691
16035
  "value": {
15692
- "type": "string",
16036
+ "type": "string | ((record: TableRecord) => TableKey)",
15693
16037
  "kind": "expression"
15694
16038
  }
15695
16039
  },
@@ -15711,7 +16055,7 @@
15711
16055
  },
15712
16056
  {
15713
16057
  "name": "scroll",
15714
- "description": "滚动配置;`x` 为内容最小宽度,`y` 为纵向区域高度",
16058
+ "description": "滚动配置;`x` 为内容最小宽度,`y` 为表体的纵向滚动区域高度",
15715
16059
  "value": {
15716
16060
  "type": "{ x?: number | string; y?: number | string; }",
15717
16061
  "kind": "expression"
@@ -15749,6 +16093,14 @@
15749
16093
  "kind": "expression"
15750
16094
  }
15751
16095
  },
16096
+ {
16097
+ "name": "ellipsis",
16098
+ "description": "一次给所有列打开省略号,省得一列列写 `ellipsis`;`true` 单行,数字或 `rows` 是多行,`tooltip` 定制悬停提示。某一列想显示完整内容,就在那列写 `ellipsis: false` 单独关掉。",
16099
+ "value": {
16100
+ "type": "number | boolean | TableEllipsisOptions | undefined",
16101
+ "kind": "expression"
16102
+ }
16103
+ },
15752
16104
  {
15753
16105
  "name": "expandedKeys",
15754
16106
  "description": "展开行 key 集合,支持 `v-model:expanded-keys`",
@@ -15759,7 +16111,7 @@
15759
16111
  },
15760
16112
  {
15761
16113
  "name": "expandAllRows",
15762
- "description": "初始化及属性变化时展开所有树节点(expandedKeys 优先)",
16114
+ "description": "初始化时展开所有树节点;`data` 后续变化时只补新增的父行,用户手动展开或折叠过的行保持不变(expandedKeys 优先)",
15763
16115
  "value": {
15764
16116
  "type": "boolean | undefined",
15765
16117
  "kind": "expression"
@@ -15979,9 +16331,9 @@
15979
16331
  },
15980
16332
  {
15981
16333
  "name": "theme",
15982
- "description": "看板列外观",
16334
+ "description": "外观主题",
15983
16335
  "value": {
15984
- "type": "\"fill\" | \"outline\"",
16336
+ "type": "SurfaceThemeType",
15985
16337
  "kind": "expression"
15986
16338
  }
15987
16339
  },
@@ -16089,6 +16441,14 @@
16089
16441
  "kind": "expression"
16090
16442
  }
16091
16443
  },
16444
+ {
16445
+ "name": "destroyOnClose",
16446
+ "description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
16447
+ "value": {
16448
+ "type": "boolean",
16449
+ "kind": "expression"
16450
+ }
16451
+ },
16092
16452
  {
16093
16453
  "name": "disabled",
16094
16454
  "description": "禁用状态",
@@ -16164,6 +16524,14 @@
16164
16524
  "kind": "expression"
16165
16525
  }
16166
16526
  },
16527
+ {
16528
+ "name": "destroyOnClose",
16529
+ "description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
16530
+ "value": {
16531
+ "type": "boolean",
16532
+ "kind": "expression"
16533
+ }
16534
+ },
16167
16535
  {
16168
16536
  "name": "disabled",
16169
16537
  "description": "禁用状态",
@@ -16411,7 +16779,7 @@
16411
16779
  "name": "theme",
16412
16780
  "description": "外观主题",
16413
16781
  "value": {
16414
- "type": "\"fill\" | \"outline\"",
16782
+ "type": "SurfaceThemeType",
16415
16783
  "kind": "expression"
16416
16784
  }
16417
16785
  },
@@ -16523,7 +16891,7 @@
16523
16891
  "name": "theme",
16524
16892
  "description": "外观主题",
16525
16893
  "value": {
16526
- "type": "\"fill\" | \"outline\"",
16894
+ "type": "SurfaceThemeType",
16527
16895
  "kind": "expression"
16528
16896
  }
16529
16897
  },
@@ -16663,6 +17031,14 @@
16663
17031
  "kind": "expression"
16664
17032
  }
16665
17033
  },
17034
+ {
17035
+ "name": "ellipsis",
17036
+ "description": "文本省略、提示和展开配置",
17037
+ "value": {
17038
+ "type": "number | boolean | TypographyEllipsisOptions",
17039
+ "kind": "expression"
17040
+ }
17041
+ },
16666
17042
  {
16667
17043
  "name": "italic",
16668
17044
  "description": "斜体",
@@ -16695,14 +17071,6 @@
16695
17071
  "kind": "expression"
16696
17072
  }
16697
17073
  },
16698
- {
16699
- "name": "ellipsis",
16700
- "description": "文本省略、提示和展开配置",
16701
- "value": {
16702
- "type": "number | boolean | TypographyEllipsisOptions",
16703
- "kind": "expression"
16704
- }
16705
- },
16706
17074
  {
16707
17075
  "name": "type",
16708
17076
  "description": "语义颜色",
@@ -16795,6 +17163,14 @@
16795
17163
  "kind": "expression"
16796
17164
  }
16797
17165
  },
17166
+ {
17167
+ "name": "ellipsis",
17168
+ "description": "文本省略、提示和展开配置",
17169
+ "value": {
17170
+ "type": "number | boolean | TypographyEllipsisOptions",
17171
+ "kind": "expression"
17172
+ }
17173
+ },
16798
17174
  {
16799
17175
  "name": "italic",
16800
17176
  "description": "斜体",
@@ -16827,14 +17203,6 @@
16827
17203
  "kind": "expression"
16828
17204
  }
16829
17205
  },
16830
- {
16831
- "name": "ellipsis",
16832
- "description": "文本省略、提示和展开配置",
16833
- "value": {
16834
- "type": "number | boolean | TypographyEllipsisOptions",
16835
- "kind": "expression"
16836
- }
16837
- },
16838
17206
  {
16839
17207
  "name": "type",
16840
17208
  "description": "语义颜色",
@@ -17741,6 +18109,14 @@
17741
18109
  "kind": "expression"
17742
18110
  }
17743
18111
  },
18112
+ {
18113
+ "name": "destroyOnClose",
18114
+ "description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
18115
+ "value": {
18116
+ "type": "boolean",
18117
+ "kind": "expression"
18118
+ }
18119
+ },
17744
18120
  {
17745
18121
  "name": "bordered",
17746
18122
  "description": "是否显示边框",
@@ -18033,6 +18409,14 @@
18033
18409
  "kind": "expression"
18034
18410
  }
18035
18411
  },
18412
+ {
18413
+ "name": "destroyOnClose",
18414
+ "description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
18415
+ "value": {
18416
+ "type": "boolean",
18417
+ "kind": "expression"
18418
+ }
18419
+ },
18036
18420
  {
18037
18421
  "name": "bordered",
18038
18422
  "description": "是否显示边框",
@@ -18321,13 +18705,13 @@
18321
18705
  "name": "theme",
18322
18706
  "description": "组件呈现主题",
18323
18707
  "value": {
18324
- "type": "ThemeType",
18708
+ "type": "SurfaceThemeType",
18325
18709
  "kind": "expression"
18326
18710
  }
18327
18711
  },
18328
18712
  {
18329
18713
  "name": "size",
18330
- "description": "按钮尺寸,可选值 `small`、`large`,默认不选",
18714
+ "description": "标签尺寸,可选值 `small`、`medium`、`large`",
18331
18715
  "value": {
18332
18716
  "type": "SizeType",
18333
18717
  "kind": "expression"
@@ -18351,7 +18735,7 @@
18351
18735
  },
18352
18736
  {
18353
18737
  "name": "color",
18354
- "description": "标签的颜色",
18738
+ "description": "标签颜色:预设色值名(与 `Badge` 同一套,如 `blue`)或任意可读色值",
18355
18739
  "value": {
18356
18740
  "type": "string | undefined",
18357
18741
  "kind": "expression"
@@ -18397,13 +18781,13 @@
18397
18781
  "name": "theme",
18398
18782
  "description": "组件呈现主题",
18399
18783
  "value": {
18400
- "type": "ThemeType",
18784
+ "type": "SurfaceThemeType",
18401
18785
  "kind": "expression"
18402
18786
  }
18403
18787
  },
18404
18788
  {
18405
18789
  "name": "size",
18406
- "description": "按钮尺寸,可选值 `small`、`large`,默认不选",
18790
+ "description": "标签尺寸,可选值 `small`、`medium`、`large`",
18407
18791
  "value": {
18408
18792
  "type": "SizeType",
18409
18793
  "kind": "expression"
@@ -18427,7 +18811,7 @@
18427
18811
  },
18428
18812
  {
18429
18813
  "name": "color",
18430
- "description": "标签的颜色",
18814
+ "description": "标签颜色:预设色值名(与 `Badge` 同一套,如 `blue`)或任意可读色值",
18431
18815
  "value": {
18432
18816
  "type": "string | undefined",
18433
18817
  "kind": "expression"