kui-vue 6.2.1 → 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.
- package/ai/kui-components.json +1011 -452
- package/dist/index.js +2 -2
- package/es/index.js +6216 -4912
- package/es/locale/de.js +6 -2
- package/es/locale/el.js +6 -2
- package/es/locale/en.js +6 -2
- package/es/locale/fr.js +6 -2
- package/es/locale/it.js +6 -2
- package/es/locale/ja.js +6 -2
- package/es/locale/ko.js +6 -2
- package/es/locale/ru.js +6 -2
- package/es/locale/th.js +6 -2
- package/es/locale/uk.js +6 -2
- package/es/locale/vi.js +6 -2
- package/es/locale/zh-CN.js +6 -2
- package/es/locale/zh-TW.js +6 -2
- package/lib/index.cjs +2 -2
- package/lib/locale/de.cjs +2 -2
- package/lib/locale/el.cjs +2 -2
- package/lib/locale/en.cjs +2 -2
- package/lib/locale/fr.cjs +2 -2
- package/lib/locale/it.cjs +2 -2
- package/lib/locale/ja.cjs +2 -2
- package/lib/locale/ko.cjs +2 -2
- package/lib/locale/ru.cjs +2 -2
- package/lib/locale/th.cjs +2 -2
- package/lib/locale/uk.cjs +2 -2
- package/lib/locale/vi.cjs +2 -2
- package/lib/locale/zh-CN.cjs +2 -2
- package/lib/locale/zh-TW.cjs +2 -2
- package/package.json +4 -3
- package/style/base.css +2 -2
- package/style/components.css +2 -2
- package/style/index.css +2 -2
- package/style/motion.css +1 -1
- package/style/theme.css +2 -2
- package/types/alert/index.d.ts +5 -5
- package/types/auto-complete/index.d.ts +52 -0
- package/types/badge/index.d.ts +7 -17
- package/types/button/button.d.ts +3 -4
- package/types/card/index.d.ts +5 -5
- package/types/cascader/index.d.ts +9 -0
- package/types/cascader/types.d.ts +5 -0
- package/types/check-card/check-card-group.d.ts +5 -9
- package/types/check-card/check-card.d.ts +5 -9
- package/types/check-card/context.d.ts +3 -3
- package/types/check-card/index.d.ts +1 -1
- package/types/check-card/types.d.ts +2 -3
- package/types/checkbox/checkbox-group.d.ts +5 -5
- package/types/checkbox/checkbox.d.ts +2 -2
- package/types/collapse/collapse.d.ts +5 -5
- package/types/color-picker/index.d.ts +27 -0
- package/types/components.d.ts +2 -2
- package/types/config/context.d.ts +102 -1
- package/types/const/types.d.ts +11 -1
- package/types/const/var.d.ts +6 -1
- package/types/date-picker/index.d.ts +18 -0
- package/types/drawer/index.d.ts +21 -8
- package/types/dropdown/dropdown-button.d.ts +23 -4
- package/types/dropdown/dropdown-context.d.ts +5 -0
- package/types/dropdown/dropdown.d.ts +16 -0
- package/types/dropdown/trigger.d.ts +3 -3
- package/types/feature-card/index.d.ts +5 -5
- package/types/feedback-panel/feedback-panel.d.ts +5 -5
- package/types/flame-wrap/engine.d.ts +18 -0
- package/types/form/context.d.ts +2 -0
- package/types/global.d.ts +256 -0
- package/types/image/image.d.ts +5 -5
- package/types/input/input-group.d.ts +2 -6
- package/types/input-number/index.d.ts +37 -7
- package/types/kanban/index.d.ts +5 -4
- package/types/list-panel/index.d.ts +5 -5
- package/types/locale/de.d.cts +4 -0
- package/types/locale/de.d.ts +4 -0
- package/types/locale/el.d.cts +4 -0
- package/types/locale/el.d.ts +4 -0
- package/types/locale/en.d.cts +4 -0
- package/types/locale/en.d.ts +4 -0
- package/types/locale/fr.d.cts +4 -0
- package/types/locale/fr.d.ts +4 -0
- package/types/locale/it.d.cts +4 -0
- package/types/locale/it.d.ts +4 -0
- package/types/locale/ja.d.cts +4 -0
- package/types/locale/ja.d.ts +4 -0
- package/types/locale/ko.d.cts +4 -0
- package/types/locale/ko.d.ts +4 -0
- package/types/locale/ru.d.cts +4 -0
- package/types/locale/ru.d.ts +4 -0
- package/types/locale/th.d.cts +4 -0
- package/types/locale/th.d.ts +4 -0
- package/types/locale/uk.d.cts +4 -0
- package/types/locale/uk.d.ts +4 -0
- package/types/locale/vi.d.cts +4 -0
- package/types/locale/vi.d.ts +4 -0
- package/types/locale/zh-CN.d.cts +4 -0
- package/types/locale/zh-CN.d.ts +4 -0
- package/types/locale/zh-TW.d.cts +4 -0
- package/types/locale/zh-TW.d.ts +4 -0
- package/types/mentions/index.d.ts +16 -0
- package/types/menu/menu-keyboard.d.ts +23 -0
- package/types/modal/index.d.ts +8 -2
- package/types/modal/modal.d.ts +27 -4
- package/types/modal/toast.d.ts +5 -5
- package/types/page/index.d.ts +5 -5
- package/types/popconfirm/index.d.ts +16 -0
- package/types/poptip/index.d.ts +16 -0
- package/types/popup/layers.d.ts +2 -0
- package/types/qrcode/index.d.ts +5 -5
- package/types/radio/radio-button.d.ts +4 -4
- package/types/radio/radio-group.d.ts +2 -2
- package/types/radio/radio.d.ts +5 -5
- package/types/ripple/engine.d.ts +18 -0
- package/types/select/select.d.ts +5 -0
- package/types/stat-card/stat-card.d.ts +24 -6
- package/types/stat-card/utils/countup.d.ts +3 -3
- package/types/stat-card/utils/stat-item-key.d.ts +11 -0
- package/types/table/index.d.ts +21 -5
- package/types/table/types.d.ts +17 -1
- package/types/table/utils.d.ts +76 -0
- package/types/tag/index.d.ts +5 -5
- package/types/tooltip/index.d.ts +16 -0
- package/types/transfer/index.d.ts +5 -4
- package/types/tree/index.d.ts +2 -2
- package/types/tree-select/index.d.ts +5 -0
- package/types/utils/color.d.ts +13 -0
- package/types/utils/overlay-order.d.ts +6 -0
- package/types/utils/overlay-stack.d.ts +13 -0
- package/types/utils/promise.d.ts +5 -0
- package/types/utils/vnode.d.ts +25 -0
- package/vetur/attributes.json +529 -225
- package/vetur/tags.json +76 -28
- package/vetur/web-types.json +668 -284
package/vetur/attributes.json
CHANGED
|
@@ -368,7 +368,7 @@
|
|
|
368
368
|
"type": "(() => void) | undefined"
|
|
369
369
|
},
|
|
370
370
|
"alert/type": {
|
|
371
|
-
"description": "
|
|
371
|
+
"description": "警告类型,可选值为 `success`、`info`、`warning`、`error`,不设置时是 `warning`",
|
|
372
372
|
"type": "\"info\" | \"success\" | \"warning\" | \"error\""
|
|
373
373
|
},
|
|
374
374
|
"alert/showIcon": {
|
|
@@ -380,8 +380,8 @@
|
|
|
380
380
|
]
|
|
381
381
|
},
|
|
382
382
|
"alert/theme": {
|
|
383
|
-
"description": "
|
|
384
|
-
"type": "
|
|
383
|
+
"description": "外观主题",
|
|
384
|
+
"type": "SurfaceThemeType"
|
|
385
385
|
},
|
|
386
386
|
"alert/shape": {
|
|
387
387
|
"description": "形状,可选 `round`、`circle`、`square`",
|
|
@@ -424,7 +424,7 @@
|
|
|
424
424
|
"type": "() => void"
|
|
425
425
|
},
|
|
426
426
|
"k-alert/type": {
|
|
427
|
-
"description": "
|
|
427
|
+
"description": "警告类型,可选值为 `success`、`info`、`warning`、`error`,不设置时是 `warning`",
|
|
428
428
|
"type": "\"info\" | \"success\" | \"warning\" | \"error\""
|
|
429
429
|
},
|
|
430
430
|
"k-alert/showIcon": {
|
|
@@ -436,8 +436,8 @@
|
|
|
436
436
|
]
|
|
437
437
|
},
|
|
438
438
|
"k-alert/theme": {
|
|
439
|
-
"description": "
|
|
440
|
-
"type": "
|
|
439
|
+
"description": "外观主题",
|
|
440
|
+
"type": "SurfaceThemeType"
|
|
441
441
|
},
|
|
442
442
|
"k-alert/shape": {
|
|
443
443
|
"description": "形状,可选 `round`、`circle`、`square`",
|
|
@@ -487,8 +487,16 @@
|
|
|
487
487
|
"false"
|
|
488
488
|
]
|
|
489
489
|
},
|
|
490
|
+
"auto-complete/destroyOnClose": {
|
|
491
|
+
"description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
|
|
492
|
+
"type": "boolean",
|
|
493
|
+
"options": [
|
|
494
|
+
"true",
|
|
495
|
+
"false"
|
|
496
|
+
]
|
|
497
|
+
},
|
|
490
498
|
"auto-complete/theme": {
|
|
491
|
-
"description": "
|
|
499
|
+
"description": "主题,画在内部输入框上,可用档位与 Input 一致",
|
|
492
500
|
"type": "ThemeType"
|
|
493
501
|
},
|
|
494
502
|
"auto-complete/value": {
|
|
@@ -559,6 +567,22 @@
|
|
|
559
567
|
"description": "占位文本",
|
|
560
568
|
"type": "string | undefined"
|
|
561
569
|
},
|
|
570
|
+
"auto-complete/addonBefore": {
|
|
571
|
+
"description": "输入框外部前置附件,复杂内容可使用同名插槽",
|
|
572
|
+
"type": "VNodeChild"
|
|
573
|
+
},
|
|
574
|
+
"auto-complete/addonAfter": {
|
|
575
|
+
"description": "输入框外部后置附件,复杂内容可使用同名插槽",
|
|
576
|
+
"type": "VNodeChild"
|
|
577
|
+
},
|
|
578
|
+
"auto-complete/prefix": {
|
|
579
|
+
"description": "输入框内部前缀,复杂内容可使用同名插槽",
|
|
580
|
+
"type": "VNodeChild"
|
|
581
|
+
},
|
|
582
|
+
"auto-complete/suffix": {
|
|
583
|
+
"description": "输入框内部后缀,复杂内容可使用同名插槽",
|
|
584
|
+
"type": "VNodeChild"
|
|
585
|
+
},
|
|
562
586
|
"auto-complete/size": {
|
|
563
587
|
"description": "尺寸",
|
|
564
588
|
"type": "SizeType | undefined"
|
|
@@ -591,8 +615,16 @@
|
|
|
591
615
|
"false"
|
|
592
616
|
]
|
|
593
617
|
},
|
|
618
|
+
"k-auto-complete/destroyOnClose": {
|
|
619
|
+
"description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
|
|
620
|
+
"type": "boolean",
|
|
621
|
+
"options": [
|
|
622
|
+
"true",
|
|
623
|
+
"false"
|
|
624
|
+
]
|
|
625
|
+
},
|
|
594
626
|
"k-auto-complete/theme": {
|
|
595
|
-
"description": "
|
|
627
|
+
"description": "主题,画在内部输入框上,可用档位与 Input 一致",
|
|
596
628
|
"type": "ThemeType"
|
|
597
629
|
},
|
|
598
630
|
"k-auto-complete/value": {
|
|
@@ -663,6 +695,22 @@
|
|
|
663
695
|
"description": "占位文本",
|
|
664
696
|
"type": "string | undefined"
|
|
665
697
|
},
|
|
698
|
+
"k-auto-complete/addonBefore": {
|
|
699
|
+
"description": "输入框外部前置附件,复杂内容可使用同名插槽",
|
|
700
|
+
"type": "VNodeChild"
|
|
701
|
+
},
|
|
702
|
+
"k-auto-complete/addonAfter": {
|
|
703
|
+
"description": "输入框外部后置附件,复杂内容可使用同名插槽",
|
|
704
|
+
"type": "VNodeChild"
|
|
705
|
+
},
|
|
706
|
+
"k-auto-complete/prefix": {
|
|
707
|
+
"description": "输入框内部前缀,复杂内容可使用同名插槽",
|
|
708
|
+
"type": "VNodeChild"
|
|
709
|
+
},
|
|
710
|
+
"k-auto-complete/suffix": {
|
|
711
|
+
"description": "输入框内部后缀,复杂内容可使用同名插槽",
|
|
712
|
+
"type": "VNodeChild"
|
|
713
|
+
},
|
|
666
714
|
"k-auto-complete/size": {
|
|
667
715
|
"description": "尺寸",
|
|
668
716
|
"type": "SizeType | undefined"
|
|
@@ -947,10 +995,6 @@
|
|
|
947
995
|
"description": "展示封顶的数字值,高于的部分会以+号显示",
|
|
948
996
|
"type": "number"
|
|
949
997
|
},
|
|
950
|
-
"badge/status": {
|
|
951
|
-
"description": "将徽章设置为状态点",
|
|
952
|
-
"type": "BadgeStatusType"
|
|
953
|
-
},
|
|
954
998
|
"badge/count": {
|
|
955
999
|
"description": "显示的文字",
|
|
956
1000
|
"type": "string | number | undefined"
|
|
@@ -972,9 +1016,13 @@
|
|
|
972
1016
|
]
|
|
973
1017
|
},
|
|
974
1018
|
"badge/color": {
|
|
975
|
-
"description": "
|
|
1019
|
+
"description": "徽标颜色:预设色值名(与 `Tag` 同一套,如 `blue`)或任意可读色值",
|
|
976
1020
|
"type": "string | undefined"
|
|
977
1021
|
},
|
|
1022
|
+
"badge/status": {
|
|
1023
|
+
"description": "将徽章设置为状态点",
|
|
1024
|
+
"type": "BadgeStatusType | undefined"
|
|
1025
|
+
},
|
|
978
1026
|
"badge/text": {
|
|
979
1027
|
"description": "如果设置了状态,文本将设置状态点的显示文本",
|
|
980
1028
|
"type": "string | VNode<RendererNode, RendererElement, { [key: string]: any; }> | undefined"
|
|
@@ -991,10 +1039,6 @@
|
|
|
991
1039
|
"description": "展示封顶的数字值,高于的部分会以+号显示",
|
|
992
1040
|
"type": "number"
|
|
993
1041
|
},
|
|
994
|
-
"k-badge/status": {
|
|
995
|
-
"description": "将徽章设置为状态点",
|
|
996
|
-
"type": "BadgeStatusType"
|
|
997
|
-
},
|
|
998
1042
|
"k-badge/count": {
|
|
999
1043
|
"description": "显示的文字",
|
|
1000
1044
|
"type": "string | number | undefined"
|
|
@@ -1016,9 +1060,13 @@
|
|
|
1016
1060
|
]
|
|
1017
1061
|
},
|
|
1018
1062
|
"k-badge/color": {
|
|
1019
|
-
"description": "
|
|
1063
|
+
"description": "徽标颜色:预设色值名(与 `Tag` 同一套,如 `blue`)或任意可读色值",
|
|
1020
1064
|
"type": "string | undefined"
|
|
1021
1065
|
},
|
|
1066
|
+
"k-badge/status": {
|
|
1067
|
+
"description": "将徽章设置为状态点",
|
|
1068
|
+
"type": "BadgeStatusType | undefined"
|
|
1069
|
+
},
|
|
1022
1070
|
"k-badge/text": {
|
|
1023
1071
|
"description": "如果设置了状态,文本将设置状态点的显示文本",
|
|
1024
1072
|
"type": "string | VNode<RendererNode, RendererElement, { [key: string]: any; }> | undefined"
|
|
@@ -1072,8 +1120,8 @@
|
|
|
1072
1120
|
"type": "IconType[] | undefined"
|
|
1073
1121
|
},
|
|
1074
1122
|
"button/theme": {
|
|
1075
|
-
"description": "
|
|
1076
|
-
"type": "
|
|
1123
|
+
"description": "按钮主题,可用 `fill` / `outline` / `plain` / `solid` / `dashed`;不写 `theme` 就是按钮自身的外观,`underlined` 是给可输入的控件用的,按钮不会画下划线",
|
|
1124
|
+
"type": "SurfaceThemeType | undefined"
|
|
1077
1125
|
},
|
|
1078
1126
|
"button/shape": {
|
|
1079
1127
|
"description": "按钮的外观",
|
|
@@ -1088,8 +1136,8 @@
|
|
|
1088
1136
|
"type": "string | undefined"
|
|
1089
1137
|
},
|
|
1090
1138
|
"button/color": {
|
|
1091
|
-
"description": "
|
|
1092
|
-
"type": "
|
|
1139
|
+
"description": "按钮颜色:预设色值名(与 `Tag` / `Badge` 同一套,如 `blue`);写了 `theme` 就在这一档上上色,没写时它自带一张实心面;这套名字之外的颜色不改变按钮外观",
|
|
1140
|
+
"type": "string | undefined"
|
|
1093
1141
|
},
|
|
1094
1142
|
"k-button/type": {
|
|
1095
1143
|
"description": "设置按钮类型",
|
|
@@ -1132,8 +1180,8 @@
|
|
|
1132
1180
|
"type": "IconType[] | undefined"
|
|
1133
1181
|
},
|
|
1134
1182
|
"k-button/theme": {
|
|
1135
|
-
"description": "
|
|
1136
|
-
"type": "
|
|
1183
|
+
"description": "按钮主题,可用 `fill` / `outline` / `plain` / `solid` / `dashed`;不写 `theme` 就是按钮自身的外观,`underlined` 是给可输入的控件用的,按钮不会画下划线",
|
|
1184
|
+
"type": "SurfaceThemeType | undefined"
|
|
1137
1185
|
},
|
|
1138
1186
|
"k-button/shape": {
|
|
1139
1187
|
"description": "按钮的外观",
|
|
@@ -1148,8 +1196,8 @@
|
|
|
1148
1196
|
"type": "string | undefined"
|
|
1149
1197
|
},
|
|
1150
1198
|
"k-button/color": {
|
|
1151
|
-
"description": "
|
|
1152
|
-
"type": "
|
|
1199
|
+
"description": "按钮颜色:预设色值名(与 `Tag` / `Badge` 同一套,如 `blue`);写了 `theme` 就在这一档上上色,没写时它自带一张实心面;这套名字之外的颜色不改变按钮外观",
|
|
1200
|
+
"type": "string | undefined"
|
|
1153
1201
|
},
|
|
1154
1202
|
"button-group/shape": {
|
|
1155
1203
|
"description": "按钮的外观",
|
|
@@ -1179,6 +1227,14 @@
|
|
|
1179
1227
|
"description": "下拉展示的方位",
|
|
1180
1228
|
"type": "DropPlacementsType"
|
|
1181
1229
|
},
|
|
1230
|
+
"cascader/destroyOnClose": {
|
|
1231
|
+
"description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
|
|
1232
|
+
"type": "boolean",
|
|
1233
|
+
"options": [
|
|
1234
|
+
"true",
|
|
1235
|
+
"false"
|
|
1236
|
+
]
|
|
1237
|
+
},
|
|
1182
1238
|
"cascader/bordered": {
|
|
1183
1239
|
"description": "是否显示边框",
|
|
1184
1240
|
"type": "boolean",
|
|
@@ -1283,6 +1339,14 @@
|
|
|
1283
1339
|
"description": "下拉展示的方位",
|
|
1284
1340
|
"type": "DropPlacementsType"
|
|
1285
1341
|
},
|
|
1342
|
+
"k-cascader/destroyOnClose": {
|
|
1343
|
+
"description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
|
|
1344
|
+
"type": "boolean",
|
|
1345
|
+
"options": [
|
|
1346
|
+
"true",
|
|
1347
|
+
"false"
|
|
1348
|
+
]
|
|
1349
|
+
},
|
|
1286
1350
|
"k-cascader/bordered": {
|
|
1287
1351
|
"description": "是否显示边框",
|
|
1288
1352
|
"type": "boolean",
|
|
@@ -1385,7 +1449,7 @@
|
|
|
1385
1449
|
},
|
|
1386
1450
|
"card/theme": {
|
|
1387
1451
|
"description": "外观主题",
|
|
1388
|
-
"type": "
|
|
1452
|
+
"type": "SurfaceThemeType"
|
|
1389
1453
|
},
|
|
1390
1454
|
"card/shape": {
|
|
1391
1455
|
"description": "外框形状",
|
|
@@ -1417,7 +1481,7 @@
|
|
|
1417
1481
|
},
|
|
1418
1482
|
"k-card/theme": {
|
|
1419
1483
|
"description": "外观主题",
|
|
1420
|
-
"type": "
|
|
1484
|
+
"type": "SurfaceThemeType"
|
|
1421
1485
|
},
|
|
1422
1486
|
"k-card/shape": {
|
|
1423
1487
|
"description": "外框形状",
|
|
@@ -1569,7 +1633,7 @@
|
|
|
1569
1633
|
},
|
|
1570
1634
|
"feature-card/theme": {
|
|
1571
1635
|
"description": "外观主题",
|
|
1572
|
-
"type": "
|
|
1636
|
+
"type": "SurfaceThemeType"
|
|
1573
1637
|
},
|
|
1574
1638
|
"feature-card/shape": {
|
|
1575
1639
|
"description": "卡片形状",
|
|
@@ -1616,7 +1680,7 @@
|
|
|
1616
1680
|
]
|
|
1617
1681
|
},
|
|
1618
1682
|
"feature-card/iconBackground": {
|
|
1619
|
-
"description": "
|
|
1683
|
+
"description": "图标容器背景;未设置时由 `color` 淡化生成,`color` 无法解析(如 `currentColor`、CSS 变量)时改用主题主色淡化",
|
|
1620
1684
|
"type": "string | undefined"
|
|
1621
1685
|
},
|
|
1622
1686
|
"feature-card/click": {
|
|
@@ -1633,7 +1697,7 @@
|
|
|
1633
1697
|
},
|
|
1634
1698
|
"k-feature-card/theme": {
|
|
1635
1699
|
"description": "外观主题",
|
|
1636
|
-
"type": "
|
|
1700
|
+
"type": "SurfaceThemeType"
|
|
1637
1701
|
},
|
|
1638
1702
|
"k-feature-card/shape": {
|
|
1639
1703
|
"description": "卡片形状",
|
|
@@ -1680,7 +1744,7 @@
|
|
|
1680
1744
|
]
|
|
1681
1745
|
},
|
|
1682
1746
|
"k-feature-card/iconBackground": {
|
|
1683
|
-
"description": "
|
|
1747
|
+
"description": "图标容器背景;未设置时由 `color` 淡化生成,`color` 无法解析(如 `currentColor`、CSS 变量)时改用主题主色淡化",
|
|
1684
1748
|
"type": "string | undefined"
|
|
1685
1749
|
},
|
|
1686
1750
|
"k-feature-card/click": {
|
|
@@ -1856,8 +1920,8 @@
|
|
|
1856
1920
|
]
|
|
1857
1921
|
},
|
|
1858
1922
|
"list-panel/theme": {
|
|
1859
|
-
"description": "
|
|
1860
|
-
"type": "
|
|
1923
|
+
"description": "外观主题",
|
|
1924
|
+
"type": "SurfaceThemeType"
|
|
1861
1925
|
},
|
|
1862
1926
|
"list-panel/shape": {
|
|
1863
1927
|
"description": "面板形状",
|
|
@@ -1884,8 +1948,8 @@
|
|
|
1884
1948
|
]
|
|
1885
1949
|
},
|
|
1886
1950
|
"k-list-panel/theme": {
|
|
1887
|
-
"description": "
|
|
1888
|
-
"type": "
|
|
1951
|
+
"description": "外观主题",
|
|
1952
|
+
"type": "SurfaceThemeType"
|
|
1889
1953
|
},
|
|
1890
1954
|
"k-list-panel/shape": {
|
|
1891
1955
|
"description": "面板形状",
|
|
@@ -2025,7 +2089,7 @@
|
|
|
2025
2089
|
},
|
|
2026
2090
|
"checkbox/theme": {
|
|
2027
2091
|
"description": "组件呈现主题",
|
|
2028
|
-
"type": "
|
|
2092
|
+
"type": "MarkThemeType"
|
|
2029
2093
|
},
|
|
2030
2094
|
"checkbox/checked": {
|
|
2031
2095
|
"description": "是否选中,可使用 `v-model:checked` 双向绑定",
|
|
@@ -2085,7 +2149,7 @@
|
|
|
2085
2149
|
},
|
|
2086
2150
|
"k-checkbox/theme": {
|
|
2087
2151
|
"description": "组件呈现主题",
|
|
2088
|
-
"type": "
|
|
2152
|
+
"type": "MarkThemeType"
|
|
2089
2153
|
},
|
|
2090
2154
|
"k-checkbox/checked": {
|
|
2091
2155
|
"description": "是否选中,可使用 `v-model:checked` 双向绑定",
|
|
@@ -2145,7 +2209,7 @@
|
|
|
2145
2209
|
},
|
|
2146
2210
|
"checkbox-group/theme": {
|
|
2147
2211
|
"description": "组件呈现主题",
|
|
2148
|
-
"type": "
|
|
2212
|
+
"type": "MarkThemeType"
|
|
2149
2213
|
},
|
|
2150
2214
|
"checkbox-group/value": {
|
|
2151
2215
|
"description": "初始值,仅初始化时读取;后续更新使用 modelValue,同时传入时 modelValue 优先。",
|
|
@@ -2189,7 +2253,7 @@
|
|
|
2189
2253
|
},
|
|
2190
2254
|
"k-checkbox-group/theme": {
|
|
2191
2255
|
"description": "组件呈现主题",
|
|
2192
|
-
"type": "
|
|
2256
|
+
"type": "MarkThemeType"
|
|
2193
2257
|
},
|
|
2194
2258
|
"k-checkbox-group/value": {
|
|
2195
2259
|
"description": "初始值,仅初始化时读取;后续更新使用 modelValue,同时传入时 modelValue 优先。",
|
|
@@ -2231,10 +2295,6 @@
|
|
|
2231
2295
|
"description": "在选项状态发生改变时触发,返回当前选中的项和状态",
|
|
2232
2296
|
"type": "(value: CheckboxValue[]) => void"
|
|
2233
2297
|
},
|
|
2234
|
-
"check-card/theme": {
|
|
2235
|
-
"description": "外观主题",
|
|
2236
|
-
"type": "CheckCardTheme"
|
|
2237
|
-
},
|
|
2238
2298
|
"check-card/shape": {
|
|
2239
2299
|
"description": "形状",
|
|
2240
2300
|
"type": "ShapeType"
|
|
@@ -2279,6 +2339,10 @@
|
|
|
2279
2339
|
"description": "描述,也可通过同名插槽自定义",
|
|
2280
2340
|
"type": "string | undefined"
|
|
2281
2341
|
},
|
|
2342
|
+
"check-card/theme": {
|
|
2343
|
+
"description": "外观主题",
|
|
2344
|
+
"type": "SurfaceThemeType | undefined"
|
|
2345
|
+
},
|
|
2282
2346
|
"check-card/modelValue": {
|
|
2283
2347
|
"description": "独立使用时的选中状态,可用 `v-model`",
|
|
2284
2348
|
"type": "boolean | undefined",
|
|
@@ -2307,10 +2371,6 @@
|
|
|
2307
2371
|
"description": "选择状态变化时触发",
|
|
2308
2372
|
"type": "(event: CheckCardChangeEvent) => void"
|
|
2309
2373
|
},
|
|
2310
|
-
"k-check-card/theme": {
|
|
2311
|
-
"description": "外观主题",
|
|
2312
|
-
"type": "CheckCardTheme"
|
|
2313
|
-
},
|
|
2314
2374
|
"k-check-card/shape": {
|
|
2315
2375
|
"description": "形状",
|
|
2316
2376
|
"type": "ShapeType"
|
|
@@ -2355,6 +2415,10 @@
|
|
|
2355
2415
|
"description": "描述,也可通过同名插槽自定义",
|
|
2356
2416
|
"type": "string | undefined"
|
|
2357
2417
|
},
|
|
2418
|
+
"k-check-card/theme": {
|
|
2419
|
+
"description": "外观主题",
|
|
2420
|
+
"type": "SurfaceThemeType | undefined"
|
|
2421
|
+
},
|
|
2358
2422
|
"k-check-card/modelValue": {
|
|
2359
2423
|
"description": "独立使用时的选中状态,可用 `v-model`",
|
|
2360
2424
|
"type": "boolean | undefined",
|
|
@@ -2383,10 +2447,6 @@
|
|
|
2383
2447
|
"description": "选择状态变化时触发",
|
|
2384
2448
|
"type": "(event: CheckCardChangeEvent) => void"
|
|
2385
2449
|
},
|
|
2386
|
-
"check-card-group/theme": {
|
|
2387
|
-
"description": "卡片主题",
|
|
2388
|
-
"type": "CheckCardTheme"
|
|
2389
|
-
},
|
|
2390
2450
|
"check-card-group/shape": {
|
|
2391
2451
|
"description": "卡片形状",
|
|
2392
2452
|
"type": "ShapeType"
|
|
@@ -2407,6 +2467,10 @@
|
|
|
2407
2467
|
"false"
|
|
2408
2468
|
]
|
|
2409
2469
|
},
|
|
2470
|
+
"check-card-group/theme": {
|
|
2471
|
+
"description": "卡片主题",
|
|
2472
|
+
"type": "SurfaceThemeType | undefined"
|
|
2473
|
+
},
|
|
2410
2474
|
"check-card-group/modelValue": {
|
|
2411
2475
|
"description": "当前选项值,可用 `v-model`",
|
|
2412
2476
|
"type": "CheckCardValue | undefined"
|
|
@@ -2431,10 +2495,6 @@
|
|
|
2431
2495
|
"description": "当前选择变化时触发",
|
|
2432
2496
|
"type": "(value: CheckCardValue) => void"
|
|
2433
2497
|
},
|
|
2434
|
-
"k-check-card-group/theme": {
|
|
2435
|
-
"description": "卡片主题",
|
|
2436
|
-
"type": "CheckCardTheme"
|
|
2437
|
-
},
|
|
2438
2498
|
"k-check-card-group/shape": {
|
|
2439
2499
|
"description": "卡片形状",
|
|
2440
2500
|
"type": "ShapeType"
|
|
@@ -2455,6 +2515,10 @@
|
|
|
2455
2515
|
"false"
|
|
2456
2516
|
]
|
|
2457
2517
|
},
|
|
2518
|
+
"k-check-card-group/theme": {
|
|
2519
|
+
"description": "卡片主题",
|
|
2520
|
+
"type": "SurfaceThemeType | undefined"
|
|
2521
|
+
},
|
|
2458
2522
|
"k-check-card-group/modelValue": {
|
|
2459
2523
|
"description": "当前选项值,可用 `v-model`",
|
|
2460
2524
|
"type": "CheckCardValue | undefined"
|
|
@@ -2481,7 +2545,7 @@
|
|
|
2481
2545
|
},
|
|
2482
2546
|
"collapse/theme": {
|
|
2483
2547
|
"description": "外观主题",
|
|
2484
|
-
"type": "
|
|
2548
|
+
"type": "SurfaceThemeType"
|
|
2485
2549
|
},
|
|
2486
2550
|
"collapse/shape": {
|
|
2487
2551
|
"description": "面板形状",
|
|
@@ -2513,7 +2577,7 @@
|
|
|
2513
2577
|
},
|
|
2514
2578
|
"k-collapse/theme": {
|
|
2515
2579
|
"description": "外观主题",
|
|
2516
|
-
"type": "
|
|
2580
|
+
"type": "SurfaceThemeType"
|
|
2517
2581
|
},
|
|
2518
2582
|
"k-collapse/shape": {
|
|
2519
2583
|
"description": "面板形状",
|
|
@@ -2583,12 +2647,20 @@
|
|
|
2583
2647
|
"description": "下拉触发形式",
|
|
2584
2648
|
"type": "\"hover\" | \"click\""
|
|
2585
2649
|
},
|
|
2650
|
+
"color-picker/destroyOnClose": {
|
|
2651
|
+
"description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
|
|
2652
|
+
"type": "boolean",
|
|
2653
|
+
"options": [
|
|
2654
|
+
"true",
|
|
2655
|
+
"false"
|
|
2656
|
+
]
|
|
2657
|
+
},
|
|
2586
2658
|
"color-picker/mode": {
|
|
2587
2659
|
"description": "颜色展示类型,提供 3 种模式(`hex` 、 `rgb` 、`hsl`)",
|
|
2588
2660
|
"type": "ColorMode"
|
|
2589
2661
|
},
|
|
2590
2662
|
"color-picker/theme": {
|
|
2591
|
-
"description": "
|
|
2663
|
+
"description": "主题,未设置时可继承 Form 或 ConfigProvider",
|
|
2592
2664
|
"type": "ThemeType"
|
|
2593
2665
|
},
|
|
2594
2666
|
"color-picker/disabled": {
|
|
@@ -2675,12 +2747,20 @@
|
|
|
2675
2747
|
"description": "下拉触发形式",
|
|
2676
2748
|
"type": "\"hover\" | \"click\""
|
|
2677
2749
|
},
|
|
2750
|
+
"k-color-picker/destroyOnClose": {
|
|
2751
|
+
"description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
|
|
2752
|
+
"type": "boolean",
|
|
2753
|
+
"options": [
|
|
2754
|
+
"true",
|
|
2755
|
+
"false"
|
|
2756
|
+
]
|
|
2757
|
+
},
|
|
2678
2758
|
"k-color-picker/mode": {
|
|
2679
2759
|
"description": "颜色展示类型,提供 3 种模式(`hex` 、 `rgb` 、`hsl`)",
|
|
2680
2760
|
"type": "ColorMode"
|
|
2681
2761
|
},
|
|
2682
2762
|
"k-color-picker/theme": {
|
|
2683
|
-
"description": "
|
|
2763
|
+
"description": "主题,未设置时可继承 Form 或 ConfigProvider",
|
|
2684
2764
|
"type": "ThemeType"
|
|
2685
2765
|
},
|
|
2686
2766
|
"k-color-picker/disabled": {
|
|
@@ -2763,6 +2843,14 @@
|
|
|
2763
2843
|
"description": "下拉展示的方位",
|
|
2764
2844
|
"type": "DropPlacementsType"
|
|
2765
2845
|
},
|
|
2846
|
+
"date-picker/destroyOnClose": {
|
|
2847
|
+
"description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
|
|
2848
|
+
"type": "boolean",
|
|
2849
|
+
"options": [
|
|
2850
|
+
"true",
|
|
2851
|
+
"false"
|
|
2852
|
+
]
|
|
2853
|
+
},
|
|
2766
2854
|
"date-picker/mode": {
|
|
2767
2855
|
"description": "使用 `mode` 属性,可以自定义日期显示类型,提供 `year`、`month`、`date`、`time`、`dateTime`、`dateRange`、`dateTimeRange`",
|
|
2768
2856
|
"type": "DatePickerModeType"
|
|
@@ -2776,7 +2864,7 @@
|
|
|
2776
2864
|
]
|
|
2777
2865
|
},
|
|
2778
2866
|
"date-picker/theme": {
|
|
2779
|
-
"description": "
|
|
2867
|
+
"description": "主题",
|
|
2780
2868
|
"type": "ThemeType"
|
|
2781
2869
|
},
|
|
2782
2870
|
"date-picker/value": {
|
|
@@ -2816,7 +2904,7 @@
|
|
|
2816
2904
|
]
|
|
2817
2905
|
},
|
|
2818
2906
|
"date-picker/format": {
|
|
2819
|
-
"description": "
|
|
2907
|
+
"description": "设置日期格式,只接受单个格式(解析和展示都用它),不支持数组多格式匹配。配置参考 [dayjs](http://day.js.org/)",
|
|
2820
2908
|
"type": "string"
|
|
2821
2909
|
},
|
|
2822
2910
|
"date-picker/disabledDate": {
|
|
@@ -2864,7 +2952,7 @@
|
|
|
2864
2952
|
"type": "SizeType | undefined"
|
|
2865
2953
|
},
|
|
2866
2954
|
"date-picker/opened": {
|
|
2867
|
-
"description": "
|
|
2955
|
+
"description": "下拉框是否展示,支持 `v-model:opened`",
|
|
2868
2956
|
"type": "boolean | undefined",
|
|
2869
2957
|
"options": [
|
|
2870
2958
|
"true",
|
|
@@ -2895,6 +2983,14 @@
|
|
|
2895
2983
|
"description": "下拉展示的方位",
|
|
2896
2984
|
"type": "DropPlacementsType"
|
|
2897
2985
|
},
|
|
2986
|
+
"k-date-picker/destroyOnClose": {
|
|
2987
|
+
"description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
|
|
2988
|
+
"type": "boolean",
|
|
2989
|
+
"options": [
|
|
2990
|
+
"true",
|
|
2991
|
+
"false"
|
|
2992
|
+
]
|
|
2993
|
+
},
|
|
2898
2994
|
"k-date-picker/mode": {
|
|
2899
2995
|
"description": "使用 `mode` 属性,可以自定义日期显示类型,提供 `year`、`month`、`date`、`time`、`dateTime`、`dateRange`、`dateTimeRange`",
|
|
2900
2996
|
"type": "DatePickerModeType"
|
|
@@ -2908,7 +3004,7 @@
|
|
|
2908
3004
|
]
|
|
2909
3005
|
},
|
|
2910
3006
|
"k-date-picker/theme": {
|
|
2911
|
-
"description": "
|
|
3007
|
+
"description": "主题",
|
|
2912
3008
|
"type": "ThemeType"
|
|
2913
3009
|
},
|
|
2914
3010
|
"k-date-picker/value": {
|
|
@@ -2948,7 +3044,7 @@
|
|
|
2948
3044
|
]
|
|
2949
3045
|
},
|
|
2950
3046
|
"k-date-picker/format": {
|
|
2951
|
-
"description": "
|
|
3047
|
+
"description": "设置日期格式,只接受单个格式(解析和展示都用它),不支持数组多格式匹配。配置参考 [dayjs](http://day.js.org/)",
|
|
2952
3048
|
"type": "string"
|
|
2953
3049
|
},
|
|
2954
3050
|
"k-date-picker/disabledDate": {
|
|
@@ -2996,7 +3092,7 @@
|
|
|
2996
3092
|
"type": "SizeType | undefined"
|
|
2997
3093
|
},
|
|
2998
3094
|
"k-date-picker/opened": {
|
|
2999
|
-
"description": "
|
|
3095
|
+
"description": "下拉框是否展示,支持 `v-model:opened`",
|
|
3000
3096
|
"type": "boolean | undefined",
|
|
3001
3097
|
"options": [
|
|
3002
3098
|
"true",
|
|
@@ -3107,6 +3203,14 @@
|
|
|
3107
3203
|
"description": "抽屉显示方向,提供 `left`、`top`、`right`、`bottom` 4种展示方式",
|
|
3108
3204
|
"type": "DrawerPlacementsType"
|
|
3109
3205
|
},
|
|
3206
|
+
"drawer/destroyOnClose": {
|
|
3207
|
+
"description": "关闭后是否销毁抽屉内容。默认销毁(重开时重新挂载);设为 false 可保留抽屉内已填写的表单状态,代价是打开过的抽屉留一份隐藏 DOM",
|
|
3208
|
+
"type": "boolean",
|
|
3209
|
+
"options": [
|
|
3210
|
+
"true",
|
|
3211
|
+
"false"
|
|
3212
|
+
]
|
|
3213
|
+
},
|
|
3110
3214
|
"drawer/footer": {
|
|
3111
3215
|
"description": "是否显示页脚,也可通过同名插槽自定义页脚内容",
|
|
3112
3216
|
"type": "boolean",
|
|
@@ -3115,10 +3219,6 @@
|
|
|
3115
3219
|
"false"
|
|
3116
3220
|
]
|
|
3117
3221
|
},
|
|
3118
|
-
"drawer/title": {
|
|
3119
|
-
"description": "抽屉标题",
|
|
3120
|
-
"type": "string"
|
|
3121
|
-
},
|
|
3122
3222
|
"drawer/closable": {
|
|
3123
3223
|
"description": "是否显示关闭按钮",
|
|
3124
3224
|
"type": "boolean",
|
|
@@ -3152,7 +3252,7 @@
|
|
|
3152
3252
|
"type": "string | number"
|
|
3153
3253
|
},
|
|
3154
3254
|
"drawer/maskClosable": {
|
|
3155
|
-
"description": "
|
|
3255
|
+
"description": "是否点击遮罩关闭抽屉(只管遮罩,Esc 由 `escKey` 控制)",
|
|
3156
3256
|
"type": "boolean",
|
|
3157
3257
|
"options": [
|
|
3158
3258
|
"true",
|
|
@@ -3179,6 +3279,10 @@
|
|
|
3179
3279
|
"description": "展示的父元素,支持原生元素或组件引用",
|
|
3180
3280
|
"type": "(() => HTMLElement | ComponentPublicInstance | null | undefined) | undefined"
|
|
3181
3281
|
},
|
|
3282
|
+
"drawer/title": {
|
|
3283
|
+
"description": "抽屉标题,字符串之外可给 VNode;富内容也可以走 `title` 插槽。没有标题文本时标题栏仍在(右上角关闭按钮住在里面),`closable: false` 且没有标题才整条不收",
|
|
3284
|
+
"type": "VNodeChild"
|
|
3285
|
+
},
|
|
3182
3286
|
"drawer/modelValue": {
|
|
3183
3287
|
"description": "对话框是否显示,可使用 v-model 双向绑定数据。",
|
|
3184
3288
|
"type": "boolean | undefined",
|
|
@@ -3196,7 +3300,7 @@
|
|
|
3196
3300
|
"type": "string | undefined"
|
|
3197
3301
|
},
|
|
3198
3302
|
"drawer/openChange": {
|
|
3199
|
-
"description": "
|
|
3303
|
+
"description": "抽屉关闭时的回调;打开由 `v-model` 决定,不会回写一次",
|
|
3200
3304
|
"type": "(visible: boolean) => void"
|
|
3201
3305
|
},
|
|
3202
3306
|
"drawer/ok": {
|
|
@@ -3215,6 +3319,14 @@
|
|
|
3215
3319
|
"description": "抽屉显示方向,提供 `left`、`top`、`right`、`bottom` 4种展示方式",
|
|
3216
3320
|
"type": "DrawerPlacementsType"
|
|
3217
3321
|
},
|
|
3322
|
+
"k-drawer/destroyOnClose": {
|
|
3323
|
+
"description": "关闭后是否销毁抽屉内容。默认销毁(重开时重新挂载);设为 false 可保留抽屉内已填写的表单状态,代价是打开过的抽屉留一份隐藏 DOM",
|
|
3324
|
+
"type": "boolean",
|
|
3325
|
+
"options": [
|
|
3326
|
+
"true",
|
|
3327
|
+
"false"
|
|
3328
|
+
]
|
|
3329
|
+
},
|
|
3218
3330
|
"k-drawer/footer": {
|
|
3219
3331
|
"description": "是否显示页脚,也可通过同名插槽自定义页脚内容",
|
|
3220
3332
|
"type": "boolean",
|
|
@@ -3223,10 +3335,6 @@
|
|
|
3223
3335
|
"false"
|
|
3224
3336
|
]
|
|
3225
3337
|
},
|
|
3226
|
-
"k-drawer/title": {
|
|
3227
|
-
"description": "抽屉标题",
|
|
3228
|
-
"type": "string"
|
|
3229
|
-
},
|
|
3230
3338
|
"k-drawer/closable": {
|
|
3231
3339
|
"description": "是否显示关闭按钮",
|
|
3232
3340
|
"type": "boolean",
|
|
@@ -3260,7 +3368,7 @@
|
|
|
3260
3368
|
"type": "string | number"
|
|
3261
3369
|
},
|
|
3262
3370
|
"k-drawer/maskClosable": {
|
|
3263
|
-
"description": "
|
|
3371
|
+
"description": "是否点击遮罩关闭抽屉(只管遮罩,Esc 由 `escKey` 控制)",
|
|
3264
3372
|
"type": "boolean",
|
|
3265
3373
|
"options": [
|
|
3266
3374
|
"true",
|
|
@@ -3287,6 +3395,10 @@
|
|
|
3287
3395
|
"description": "展示的父元素,支持原生元素或组件引用",
|
|
3288
3396
|
"type": "(() => HTMLElement | ComponentPublicInstance | null | undefined) | undefined"
|
|
3289
3397
|
},
|
|
3398
|
+
"k-drawer/title": {
|
|
3399
|
+
"description": "抽屉标题,字符串之外可给 VNode;富内容也可以走 `title` 插槽。没有标题文本时标题栏仍在(右上角关闭按钮住在里面),`closable: false` 且没有标题才整条不收",
|
|
3400
|
+
"type": "VNodeChild"
|
|
3401
|
+
},
|
|
3290
3402
|
"k-drawer/modelValue": {
|
|
3291
3403
|
"description": "对话框是否显示,可使用 v-model 双向绑定数据。",
|
|
3292
3404
|
"type": "boolean | undefined",
|
|
@@ -3304,7 +3416,7 @@
|
|
|
3304
3416
|
"type": "string | undefined"
|
|
3305
3417
|
},
|
|
3306
3418
|
"k-drawer/openChange": {
|
|
3307
|
-
"description": "
|
|
3419
|
+
"description": "抽屉关闭时的回调;打开由 `v-model` 决定,不会回写一次",
|
|
3308
3420
|
"type": "(visible: boolean) => void"
|
|
3309
3421
|
},
|
|
3310
3422
|
"k-drawer/ok": {
|
|
@@ -3335,6 +3447,14 @@
|
|
|
3335
3447
|
"false"
|
|
3336
3448
|
]
|
|
3337
3449
|
},
|
|
3450
|
+
"dropdown/destroyOnClose": {
|
|
3451
|
+
"description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
|
|
3452
|
+
"type": "boolean",
|
|
3453
|
+
"options": [
|
|
3454
|
+
"true",
|
|
3455
|
+
"false"
|
|
3456
|
+
]
|
|
3457
|
+
},
|
|
3338
3458
|
"dropdown/target": {
|
|
3339
3459
|
"description": "外部触发元素或组件的引用",
|
|
3340
3460
|
"type": "Ref<HTMLElement | ComponentPublicInstance | null, HTMLElement | ComponentPublicInstance | null> | undefined"
|
|
@@ -3375,6 +3495,14 @@
|
|
|
3375
3495
|
"false"
|
|
3376
3496
|
]
|
|
3377
3497
|
},
|
|
3498
|
+
"k-dropdown/destroyOnClose": {
|
|
3499
|
+
"description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
|
|
3500
|
+
"type": "boolean",
|
|
3501
|
+
"options": [
|
|
3502
|
+
"true",
|
|
3503
|
+
"false"
|
|
3504
|
+
]
|
|
3505
|
+
},
|
|
3378
3506
|
"k-dropdown/target": {
|
|
3379
3507
|
"description": "外部触发元素或组件的引用",
|
|
3380
3508
|
"type": "Ref<HTMLElement | ComponentPublicInstance | null, HTMLElement | ComponentPublicInstance | null> | undefined"
|
|
@@ -3403,6 +3531,14 @@
|
|
|
3403
3531
|
"description": "下拉层位置",
|
|
3404
3532
|
"type": "DropPlacementsType"
|
|
3405
3533
|
},
|
|
3534
|
+
"dropdown-button/destroyOnClose": {
|
|
3535
|
+
"description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
|
|
3536
|
+
"type": "boolean",
|
|
3537
|
+
"options": [
|
|
3538
|
+
"true",
|
|
3539
|
+
"false"
|
|
3540
|
+
]
|
|
3541
|
+
},
|
|
3406
3542
|
"dropdown-button/disabled": {
|
|
3407
3543
|
"description": "是否禁用",
|
|
3408
3544
|
"type": "boolean | undefined",
|
|
@@ -3411,6 +3547,10 @@
|
|
|
3411
3547
|
"false"
|
|
3412
3548
|
]
|
|
3413
3549
|
},
|
|
3550
|
+
"dropdown-button/trigger": {
|
|
3551
|
+
"description": "触发方式",
|
|
3552
|
+
"type": "TriggerType | undefined"
|
|
3553
|
+
},
|
|
3414
3554
|
"dropdown-button/arrow": {
|
|
3415
3555
|
"description": "是否显示下拉箭头",
|
|
3416
3556
|
"type": "boolean | undefined",
|
|
@@ -3424,8 +3564,8 @@
|
|
|
3424
3564
|
"type": "IconType[] | undefined"
|
|
3425
3565
|
},
|
|
3426
3566
|
"dropdown-button/theme": {
|
|
3427
|
-
"description": "
|
|
3428
|
-
"type": "
|
|
3567
|
+
"description": "按钮主题,可用 `fill` / `outline` / `plain` / `solid` / `dashed`;不写 `theme` 就是按钮自身的外观,`underlined` 是给可输入的控件用的,按钮不会画下划线",
|
|
3568
|
+
"type": "SurfaceThemeType | undefined"
|
|
3429
3569
|
},
|
|
3430
3570
|
"dropdown-button/shape": {
|
|
3431
3571
|
"description": "按钮形状",
|
|
@@ -3443,6 +3583,14 @@
|
|
|
3443
3583
|
"description": "下拉层位置",
|
|
3444
3584
|
"type": "DropPlacementsType"
|
|
3445
3585
|
},
|
|
3586
|
+
"k-dropdown-button/destroyOnClose": {
|
|
3587
|
+
"description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
|
|
3588
|
+
"type": "boolean",
|
|
3589
|
+
"options": [
|
|
3590
|
+
"true",
|
|
3591
|
+
"false"
|
|
3592
|
+
]
|
|
3593
|
+
},
|
|
3446
3594
|
"k-dropdown-button/disabled": {
|
|
3447
3595
|
"description": "是否禁用",
|
|
3448
3596
|
"type": "boolean | undefined",
|
|
@@ -3451,6 +3599,10 @@
|
|
|
3451
3599
|
"false"
|
|
3452
3600
|
]
|
|
3453
3601
|
},
|
|
3602
|
+
"k-dropdown-button/trigger": {
|
|
3603
|
+
"description": "触发方式",
|
|
3604
|
+
"type": "TriggerType | undefined"
|
|
3605
|
+
},
|
|
3454
3606
|
"k-dropdown-button/arrow": {
|
|
3455
3607
|
"description": "是否显示下拉箭头",
|
|
3456
3608
|
"type": "boolean | undefined",
|
|
@@ -3464,8 +3616,8 @@
|
|
|
3464
3616
|
"type": "IconType[] | undefined"
|
|
3465
3617
|
},
|
|
3466
3618
|
"k-dropdown-button/theme": {
|
|
3467
|
-
"description": "
|
|
3468
|
-
"type": "
|
|
3619
|
+
"description": "按钮主题,可用 `fill` / `outline` / `plain` / `solid` / `dashed`;不写 `theme` 就是按钮自身的外观,`underlined` 是给可输入的控件用的,按钮不会画下划线",
|
|
3620
|
+
"type": "SurfaceThemeType | undefined"
|
|
3469
3621
|
},
|
|
3470
3622
|
"k-dropdown-button/shape": {
|
|
3471
3623
|
"description": "按钮形状",
|
|
@@ -3568,11 +3720,11 @@
|
|
|
3568
3720
|
]
|
|
3569
3721
|
},
|
|
3570
3722
|
"form/theme": {
|
|
3571
|
-
"description": "
|
|
3723
|
+
"description": "子控件主题",
|
|
3572
3724
|
"type": "ThemeType | undefined"
|
|
3573
3725
|
},
|
|
3574
3726
|
"form/shape": {
|
|
3575
|
-
"description": "
|
|
3727
|
+
"description": "子控件形状",
|
|
3576
3728
|
"type": "ShapeType | undefined"
|
|
3577
3729
|
},
|
|
3578
3730
|
"form/readonly": {
|
|
@@ -3584,7 +3736,7 @@
|
|
|
3584
3736
|
]
|
|
3585
3737
|
},
|
|
3586
3738
|
"form/size": {
|
|
3587
|
-
"description": "
|
|
3739
|
+
"description": "子控件尺寸",
|
|
3588
3740
|
"type": "SizeType | undefined"
|
|
3589
3741
|
},
|
|
3590
3742
|
"form/model": {
|
|
@@ -3640,11 +3792,11 @@
|
|
|
3640
3792
|
]
|
|
3641
3793
|
},
|
|
3642
3794
|
"k-form/theme": {
|
|
3643
|
-
"description": "
|
|
3795
|
+
"description": "子控件主题",
|
|
3644
3796
|
"type": "ThemeType | undefined"
|
|
3645
3797
|
},
|
|
3646
3798
|
"k-form/shape": {
|
|
3647
|
-
"description": "
|
|
3799
|
+
"description": "子控件形状",
|
|
3648
3800
|
"type": "ShapeType | undefined"
|
|
3649
3801
|
},
|
|
3650
3802
|
"k-form/readonly": {
|
|
@@ -3656,7 +3808,7 @@
|
|
|
3656
3808
|
]
|
|
3657
3809
|
},
|
|
3658
3810
|
"k-form/size": {
|
|
3659
|
-
"description": "
|
|
3811
|
+
"description": "子控件尺寸",
|
|
3660
3812
|
"type": "SizeType | undefined"
|
|
3661
3813
|
},
|
|
3662
3814
|
"k-form/model": {
|
|
@@ -3891,10 +4043,6 @@
|
|
|
3891
4043
|
"description": "占据的列数。设为 0 时会在该断点下隐藏",
|
|
3892
4044
|
"type": "GridResponsive<number> | undefined"
|
|
3893
4045
|
},
|
|
3894
|
-
"grid-item/rowSpan": {
|
|
3895
|
-
"description": "占据的行数。配合 `autoRows` 可实现非对称布局",
|
|
3896
|
-
"type": "GridResponsive<number> | undefined"
|
|
3897
|
-
},
|
|
3898
4046
|
"grid-item/suffix": {
|
|
3899
4047
|
"description": "将该项放到当前显式网格的末尾",
|
|
3900
4048
|
"type": "boolean | undefined",
|
|
@@ -3903,6 +4051,10 @@
|
|
|
3903
4051
|
"false"
|
|
3904
4052
|
]
|
|
3905
4053
|
},
|
|
4054
|
+
"grid-item/rowSpan": {
|
|
4055
|
+
"description": "占据的行数。配合 `autoRows` 可实现非对称布局",
|
|
4056
|
+
"type": "GridResponsive<number> | undefined"
|
|
4057
|
+
},
|
|
3906
4058
|
"grid-item/columnStart": {
|
|
3907
4059
|
"description": "明确指定开始列线",
|
|
3908
4060
|
"type": "GridResponsive<number> | undefined"
|
|
@@ -3915,10 +4067,6 @@
|
|
|
3915
4067
|
"description": "占据的列数。设为 0 时会在该断点下隐藏",
|
|
3916
4068
|
"type": "GridResponsive<number> | undefined"
|
|
3917
4069
|
},
|
|
3918
|
-
"k-grid-item/rowSpan": {
|
|
3919
|
-
"description": "占据的行数。配合 `autoRows` 可实现非对称布局",
|
|
3920
|
-
"type": "GridResponsive<number> | undefined"
|
|
3921
|
-
},
|
|
3922
4070
|
"k-grid-item/suffix": {
|
|
3923
4071
|
"description": "将该项放到当前显式网格的末尾",
|
|
3924
4072
|
"type": "boolean | undefined",
|
|
@@ -3927,6 +4075,10 @@
|
|
|
3927
4075
|
"false"
|
|
3928
4076
|
]
|
|
3929
4077
|
},
|
|
4078
|
+
"k-grid-item/rowSpan": {
|
|
4079
|
+
"description": "占据的行数。配合 `autoRows` 可实现非对称布局",
|
|
4080
|
+
"type": "GridResponsive<number> | undefined"
|
|
4081
|
+
},
|
|
3930
4082
|
"k-grid-item/columnStart": {
|
|
3931
4083
|
"description": "明确指定开始列线",
|
|
3932
4084
|
"type": "GridResponsive<number> | undefined"
|
|
@@ -3937,7 +4089,7 @@
|
|
|
3937
4089
|
},
|
|
3938
4090
|
"Image/theme": {
|
|
3939
4091
|
"description": "外观主题",
|
|
3940
|
-
"type": "
|
|
4092
|
+
"type": "SurfaceThemeType"
|
|
3941
4093
|
},
|
|
3942
4094
|
"Image/shape": {
|
|
3943
4095
|
"description": "图片形状",
|
|
@@ -4011,6 +4163,10 @@
|
|
|
4011
4163
|
"description": "图标类型。遵循图标的命名规范",
|
|
4012
4164
|
"type": "IconType[] | undefined"
|
|
4013
4165
|
},
|
|
4166
|
+
"icon/role": {
|
|
4167
|
+
"description": "无障碍角色",
|
|
4168
|
+
"type": "string | undefined"
|
|
4169
|
+
},
|
|
4014
4170
|
"icon/keydown": {
|
|
4015
4171
|
"description": "键盘按下时触发",
|
|
4016
4172
|
"type": "((event: KeyboardEvent) => void) | undefined"
|
|
@@ -4035,10 +4191,6 @@
|
|
|
4035
4191
|
"description": "键盘聚焦顺序",
|
|
4036
4192
|
"type": "number | undefined"
|
|
4037
4193
|
},
|
|
4038
|
-
"icon/role": {
|
|
4039
|
-
"description": "无障碍角色",
|
|
4040
|
-
"type": "string | undefined"
|
|
4041
|
-
},
|
|
4042
4194
|
"icon/aria-label": {
|
|
4043
4195
|
"description": "无障碍标签",
|
|
4044
4196
|
"type": "string | undefined"
|
|
@@ -4071,6 +4223,10 @@
|
|
|
4071
4223
|
"description": "图标类型。遵循图标的命名规范",
|
|
4072
4224
|
"type": "IconType[] | undefined"
|
|
4073
4225
|
},
|
|
4226
|
+
"k-icon/role": {
|
|
4227
|
+
"description": "无障碍角色",
|
|
4228
|
+
"type": "string | undefined"
|
|
4229
|
+
},
|
|
4074
4230
|
"k-icon/keydown": {
|
|
4075
4231
|
"description": "键盘按下时触发",
|
|
4076
4232
|
"type": "((event: KeyboardEvent) => void) | undefined"
|
|
@@ -4095,10 +4251,6 @@
|
|
|
4095
4251
|
"description": "键盘聚焦顺序",
|
|
4096
4252
|
"type": "number | undefined"
|
|
4097
4253
|
},
|
|
4098
|
-
"k-icon/role": {
|
|
4099
|
-
"description": "无障碍角色",
|
|
4100
|
-
"type": "string | undefined"
|
|
4101
|
-
},
|
|
4102
4254
|
"k-icon/aria-label": {
|
|
4103
4255
|
"description": "无障碍标签",
|
|
4104
4256
|
"type": "string | undefined"
|
|
@@ -4179,9 +4331,13 @@
|
|
|
4179
4331
|
"false"
|
|
4180
4332
|
]
|
|
4181
4333
|
},
|
|
4182
|
-
"input/
|
|
4183
|
-
"description": "
|
|
4184
|
-
"type": "
|
|
4334
|
+
"input/addonBefore": {
|
|
4335
|
+
"description": "输入框外部前置附件,复杂内容可使用同名插槽",
|
|
4336
|
+
"type": "VNodeChild"
|
|
4337
|
+
},
|
|
4338
|
+
"input/addonAfter": {
|
|
4339
|
+
"description": "输入框外部后置附件,复杂内容可使用同名插槽",
|
|
4340
|
+
"type": "VNodeChild"
|
|
4185
4341
|
},
|
|
4186
4342
|
"input/prefix": {
|
|
4187
4343
|
"description": "输入框内部前缀,复杂内容可使用同名插槽",
|
|
@@ -4191,13 +4347,9 @@
|
|
|
4191
4347
|
"description": "输入框内部后缀,复杂内容可使用同名插槽",
|
|
4192
4348
|
"type": "VNodeChild"
|
|
4193
4349
|
},
|
|
4194
|
-
"input/
|
|
4195
|
-
"description": "
|
|
4196
|
-
"type": "
|
|
4197
|
-
},
|
|
4198
|
-
"input/addonAfter": {
|
|
4199
|
-
"description": "输入框外部后置附件,复杂内容可使用同名插槽",
|
|
4200
|
-
"type": "VNodeChild"
|
|
4350
|
+
"input/size": {
|
|
4351
|
+
"description": "子组件的间距,可选值 `small`、`large`,默认不选",
|
|
4352
|
+
"type": "\"small\" | \"medium\" | \"large\" | undefined"
|
|
4201
4353
|
},
|
|
4202
4354
|
"input/update:modelValue": {
|
|
4203
4355
|
"description": "Props for onUpdate:modelValue",
|
|
@@ -4283,9 +4435,13 @@
|
|
|
4283
4435
|
"false"
|
|
4284
4436
|
]
|
|
4285
4437
|
},
|
|
4286
|
-
"k-input/
|
|
4287
|
-
"description": "
|
|
4288
|
-
"type": "
|
|
4438
|
+
"k-input/addonBefore": {
|
|
4439
|
+
"description": "输入框外部前置附件,复杂内容可使用同名插槽",
|
|
4440
|
+
"type": "VNodeChild"
|
|
4441
|
+
},
|
|
4442
|
+
"k-input/addonAfter": {
|
|
4443
|
+
"description": "输入框外部后置附件,复杂内容可使用同名插槽",
|
|
4444
|
+
"type": "VNodeChild"
|
|
4289
4445
|
},
|
|
4290
4446
|
"k-input/prefix": {
|
|
4291
4447
|
"description": "输入框内部前缀,复杂内容可使用同名插槽",
|
|
@@ -4295,13 +4451,9 @@
|
|
|
4295
4451
|
"description": "输入框内部后缀,复杂内容可使用同名插槽",
|
|
4296
4452
|
"type": "VNodeChild"
|
|
4297
4453
|
},
|
|
4298
|
-
"k-input/
|
|
4299
|
-
"description": "
|
|
4300
|
-
"type": "
|
|
4301
|
-
},
|
|
4302
|
-
"k-input/addonAfter": {
|
|
4303
|
-
"description": "输入框外部后置附件,复杂内容可使用同名插槽",
|
|
4304
|
-
"type": "VNodeChild"
|
|
4454
|
+
"k-input/size": {
|
|
4455
|
+
"description": "子组件的间距,可选值 `small`、`large`,默认不选",
|
|
4456
|
+
"type": "\"small\" | \"medium\" | \"large\" | undefined"
|
|
4305
4457
|
},
|
|
4306
4458
|
"k-input/update:modelValue": {
|
|
4307
4459
|
"description": "Props for onUpdate:modelValue",
|
|
@@ -4331,10 +4483,6 @@
|
|
|
4331
4483
|
"description": "Props for onBlur",
|
|
4332
4484
|
"type": "((event: FocusEvent) => void) | undefined"
|
|
4333
4485
|
},
|
|
4334
|
-
"input-group/theme": {
|
|
4335
|
-
"description": "文本域主题",
|
|
4336
|
-
"type": "ThemeType"
|
|
4337
|
-
},
|
|
4338
4486
|
"input-group/block": {
|
|
4339
4487
|
"description": "是否继承父集宽度",
|
|
4340
4488
|
"type": "boolean",
|
|
@@ -4351,14 +4499,14 @@
|
|
|
4351
4499
|
"false"
|
|
4352
4500
|
]
|
|
4353
4501
|
},
|
|
4502
|
+
"input-group/theme": {
|
|
4503
|
+
"description": "文本域主题",
|
|
4504
|
+
"type": "ThemeType | undefined"
|
|
4505
|
+
},
|
|
4354
4506
|
"input-group/size": {
|
|
4355
4507
|
"description": "子组件的间距,可选值 `small`、`large`,默认不选",
|
|
4356
4508
|
"type": "number | SizeType | number[] | undefined"
|
|
4357
4509
|
},
|
|
4358
|
-
"k-input-group/theme": {
|
|
4359
|
-
"description": "文本域主题",
|
|
4360
|
-
"type": "ThemeType"
|
|
4361
|
-
},
|
|
4362
4510
|
"k-input-group/block": {
|
|
4363
4511
|
"description": "是否继承父集宽度",
|
|
4364
4512
|
"type": "boolean",
|
|
@@ -4375,6 +4523,10 @@
|
|
|
4375
4523
|
"false"
|
|
4376
4524
|
]
|
|
4377
4525
|
},
|
|
4526
|
+
"k-input-group/theme": {
|
|
4527
|
+
"description": "文本域主题",
|
|
4528
|
+
"type": "ThemeType | undefined"
|
|
4529
|
+
},
|
|
4378
4530
|
"k-input-group/size": {
|
|
4379
4531
|
"description": "子组件的间距,可选值 `small`、`large`,默认不选",
|
|
4380
4532
|
"type": "number | SizeType | number[] | undefined"
|
|
@@ -4911,17 +5063,25 @@
|
|
|
4911
5063
|
"description": "输入框占位提示",
|
|
4912
5064
|
"type": "string | undefined"
|
|
4913
5065
|
},
|
|
4914
|
-
"input-number/
|
|
4915
|
-
"description": "
|
|
4916
|
-
"type": "
|
|
5066
|
+
"input-number/addonBefore": {
|
|
5067
|
+
"description": "输入框外部前置附件,复杂内容可使用同名插槽",
|
|
5068
|
+
"type": "VNodeChild"
|
|
5069
|
+
},
|
|
5070
|
+
"input-number/addonAfter": {
|
|
5071
|
+
"description": "输入框外部后置附件,复杂内容可使用同名插槽",
|
|
5072
|
+
"type": "VNodeChild"
|
|
4917
5073
|
},
|
|
4918
5074
|
"input-number/prefix": {
|
|
4919
5075
|
"description": "前缀内容",
|
|
4920
|
-
"type": "
|
|
5076
|
+
"type": "VNodeChild"
|
|
4921
5077
|
},
|
|
4922
5078
|
"input-number/suffix": {
|
|
4923
5079
|
"description": "自定义后缀",
|
|
4924
|
-
"type": "
|
|
5080
|
+
"type": "VNodeChild"
|
|
5081
|
+
},
|
|
5082
|
+
"input-number/size": {
|
|
5083
|
+
"description": "输入框大小",
|
|
5084
|
+
"type": "SizeType | undefined"
|
|
4925
5085
|
},
|
|
4926
5086
|
"input-number/precision": {
|
|
4927
5087
|
"description": "数值精度",
|
|
@@ -5015,17 +5175,25 @@
|
|
|
5015
5175
|
"description": "输入框占位提示",
|
|
5016
5176
|
"type": "string | undefined"
|
|
5017
5177
|
},
|
|
5018
|
-
"k-input-number/
|
|
5019
|
-
"description": "
|
|
5020
|
-
"type": "
|
|
5178
|
+
"k-input-number/addonBefore": {
|
|
5179
|
+
"description": "输入框外部前置附件,复杂内容可使用同名插槽",
|
|
5180
|
+
"type": "VNodeChild"
|
|
5181
|
+
},
|
|
5182
|
+
"k-input-number/addonAfter": {
|
|
5183
|
+
"description": "输入框外部后置附件,复杂内容可使用同名插槽",
|
|
5184
|
+
"type": "VNodeChild"
|
|
5021
5185
|
},
|
|
5022
5186
|
"k-input-number/prefix": {
|
|
5023
5187
|
"description": "前缀内容",
|
|
5024
|
-
"type": "
|
|
5188
|
+
"type": "VNodeChild"
|
|
5025
5189
|
},
|
|
5026
5190
|
"k-input-number/suffix": {
|
|
5027
5191
|
"description": "自定义后缀",
|
|
5028
|
-
"type": "
|
|
5192
|
+
"type": "VNodeChild"
|
|
5193
|
+
},
|
|
5194
|
+
"k-input-number/size": {
|
|
5195
|
+
"description": "输入框大小",
|
|
5196
|
+
"type": "SizeType | undefined"
|
|
5029
5197
|
},
|
|
5030
5198
|
"k-input-number/precision": {
|
|
5031
5199
|
"description": "数值精度",
|
|
@@ -5335,8 +5503,16 @@
|
|
|
5335
5503
|
"description": "下拉菜单优先位置",
|
|
5336
5504
|
"type": "DropPlacementsType"
|
|
5337
5505
|
},
|
|
5506
|
+
"mentions/destroyOnClose": {
|
|
5507
|
+
"description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
|
|
5508
|
+
"type": "boolean",
|
|
5509
|
+
"options": [
|
|
5510
|
+
"true",
|
|
5511
|
+
"false"
|
|
5512
|
+
]
|
|
5513
|
+
},
|
|
5338
5514
|
"mentions/theme": {
|
|
5339
|
-
"description": "
|
|
5515
|
+
"description": "主题,画在内部文本域上,可用档位与 TextArea 一致",
|
|
5340
5516
|
"type": "ThemeType"
|
|
5341
5517
|
},
|
|
5342
5518
|
"mentions/value": {
|
|
@@ -5435,8 +5611,16 @@
|
|
|
5435
5611
|
"description": "下拉菜单优先位置",
|
|
5436
5612
|
"type": "DropPlacementsType"
|
|
5437
5613
|
},
|
|
5614
|
+
"k-mentions/destroyOnClose": {
|
|
5615
|
+
"description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
|
|
5616
|
+
"type": "boolean",
|
|
5617
|
+
"options": [
|
|
5618
|
+
"true",
|
|
5619
|
+
"false"
|
|
5620
|
+
]
|
|
5621
|
+
},
|
|
5438
5622
|
"k-mentions/theme": {
|
|
5439
|
-
"description": "
|
|
5623
|
+
"description": "主题,画在内部文本域上,可用档位与 TextArea 一致",
|
|
5440
5624
|
"type": "ThemeType"
|
|
5441
5625
|
},
|
|
5442
5626
|
"k-mentions/value": {
|
|
@@ -5527,6 +5711,14 @@
|
|
|
5527
5711
|
"description": "窗口距离顶部的距离",
|
|
5528
5712
|
"type": "number"
|
|
5529
5713
|
},
|
|
5714
|
+
"modal/destroyOnClose": {
|
|
5715
|
+
"description": "关闭后是否销毁窗口内容。默认销毁(重开时重新挂载);设为 false 可保留窗口内已填写的表单状态,代价是打开过的窗口留一份隐藏 DOM",
|
|
5716
|
+
"type": "boolean",
|
|
5717
|
+
"options": [
|
|
5718
|
+
"true",
|
|
5719
|
+
"false"
|
|
5720
|
+
]
|
|
5721
|
+
},
|
|
5530
5722
|
"modal/footer": {
|
|
5531
5723
|
"description": "当`footer=false`时不展示底部按钮",
|
|
5532
5724
|
"type": "boolean",
|
|
@@ -5540,7 +5732,7 @@
|
|
|
5540
5732
|
"type": "string | number"
|
|
5541
5733
|
},
|
|
5542
5734
|
"modal/maskClosable": {
|
|
5543
|
-
"description": "
|
|
5735
|
+
"description": "是否点击遮罩关闭弹窗(只管遮罩,Esc 由 `escKey` 控制)",
|
|
5544
5736
|
"type": "boolean",
|
|
5545
5737
|
"options": [
|
|
5546
5738
|
"true",
|
|
@@ -5580,8 +5772,8 @@
|
|
|
5580
5772
|
]
|
|
5581
5773
|
},
|
|
5582
5774
|
"modal/title": {
|
|
5583
|
-
"description": "
|
|
5584
|
-
"type": "
|
|
5775
|
+
"description": "对话框标题,字符串之外可给 VNode",
|
|
5776
|
+
"type": "VNodeChild"
|
|
5585
5777
|
},
|
|
5586
5778
|
"modal/modelValue": {
|
|
5587
5779
|
"description": "对话框是否显示,可使用 v-model 双向绑定数据。",
|
|
@@ -5640,11 +5832,11 @@
|
|
|
5640
5832
|
]
|
|
5641
5833
|
},
|
|
5642
5834
|
"modal/openChange": {
|
|
5643
|
-
"description": "
|
|
5835
|
+
"description": "窗口关闭时的回调;打开由 `v-model` 决定,不会回写一次",
|
|
5644
5836
|
"type": "(visible: boolean) => void"
|
|
5645
5837
|
},
|
|
5646
5838
|
"modal/ok": {
|
|
5647
|
-
"description": "
|
|
5839
|
+
"description": "点击确定的回调;返回 Promise 时关闭时机交给组件:resolve 后关窗,reject 只停 loading 并保持窗口打开",
|
|
5648
5840
|
"type": "() => void"
|
|
5649
5841
|
},
|
|
5650
5842
|
"modal/cancel": {
|
|
@@ -5659,6 +5851,14 @@
|
|
|
5659
5851
|
"description": "窗口距离顶部的距离",
|
|
5660
5852
|
"type": "number"
|
|
5661
5853
|
},
|
|
5854
|
+
"k-modal/destroyOnClose": {
|
|
5855
|
+
"description": "关闭后是否销毁窗口内容。默认销毁(重开时重新挂载);设为 false 可保留窗口内已填写的表单状态,代价是打开过的窗口留一份隐藏 DOM",
|
|
5856
|
+
"type": "boolean",
|
|
5857
|
+
"options": [
|
|
5858
|
+
"true",
|
|
5859
|
+
"false"
|
|
5860
|
+
]
|
|
5861
|
+
},
|
|
5662
5862
|
"k-modal/footer": {
|
|
5663
5863
|
"description": "当`footer=false`时不展示底部按钮",
|
|
5664
5864
|
"type": "boolean",
|
|
@@ -5672,7 +5872,7 @@
|
|
|
5672
5872
|
"type": "string | number"
|
|
5673
5873
|
},
|
|
5674
5874
|
"k-modal/maskClosable": {
|
|
5675
|
-
"description": "
|
|
5875
|
+
"description": "是否点击遮罩关闭弹窗(只管遮罩,Esc 由 `escKey` 控制)",
|
|
5676
5876
|
"type": "boolean",
|
|
5677
5877
|
"options": [
|
|
5678
5878
|
"true",
|
|
@@ -5712,8 +5912,8 @@
|
|
|
5712
5912
|
]
|
|
5713
5913
|
},
|
|
5714
5914
|
"k-modal/title": {
|
|
5715
|
-
"description": "
|
|
5716
|
-
"type": "
|
|
5915
|
+
"description": "对话框标题,字符串之外可给 VNode",
|
|
5916
|
+
"type": "VNodeChild"
|
|
5717
5917
|
},
|
|
5718
5918
|
"k-modal/modelValue": {
|
|
5719
5919
|
"description": "对话框是否显示,可使用 v-model 双向绑定数据。",
|
|
@@ -5772,11 +5972,11 @@
|
|
|
5772
5972
|
]
|
|
5773
5973
|
},
|
|
5774
5974
|
"k-modal/openChange": {
|
|
5775
|
-
"description": "
|
|
5975
|
+
"description": "窗口关闭时的回调;打开由 `v-model` 决定,不会回写一次",
|
|
5776
5976
|
"type": "(visible: boolean) => void"
|
|
5777
5977
|
},
|
|
5778
5978
|
"k-modal/ok": {
|
|
5779
|
-
"description": "
|
|
5979
|
+
"description": "点击确定的回调;返回 Promise 时关闭时机交给组件:resolve 后关窗,reject 只停 loading 并保持窗口打开",
|
|
5780
5980
|
"type": "() => void"
|
|
5781
5981
|
},
|
|
5782
5982
|
"k-modal/cancel": {
|
|
@@ -5788,8 +5988,8 @@
|
|
|
5788
5988
|
"type": "() => void"
|
|
5789
5989
|
},
|
|
5790
5990
|
"page/theme": {
|
|
5791
|
-
"description": "
|
|
5792
|
-
"type": "
|
|
5991
|
+
"description": "外观主题",
|
|
5992
|
+
"type": "SurfaceThemeType"
|
|
5793
5993
|
},
|
|
5794
5994
|
"page/shape": {
|
|
5795
5995
|
"description": "分页项形状",
|
|
@@ -5868,8 +6068,8 @@
|
|
|
5868
6068
|
"type": "(page: number, pageSize: number) => void"
|
|
5869
6069
|
},
|
|
5870
6070
|
"k-page/theme": {
|
|
5871
|
-
"description": "
|
|
5872
|
-
"type": "
|
|
6071
|
+
"description": "外观主题",
|
|
6072
|
+
"type": "SurfaceThemeType"
|
|
5873
6073
|
},
|
|
5874
6074
|
"k-page/shape": {
|
|
5875
6075
|
"description": "分页项形状",
|
|
@@ -5971,6 +6171,14 @@
|
|
|
5971
6171
|
"description": "触发方式,可选值为 `hover`(悬停)、`click`(点击)、`focus`(聚焦)",
|
|
5972
6172
|
"type": "\"hover\" | \"click\" | \"focus\""
|
|
5973
6173
|
},
|
|
6174
|
+
"poptip/destroyOnClose": {
|
|
6175
|
+
"description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
|
|
6176
|
+
"type": "boolean",
|
|
6177
|
+
"options": [
|
|
6178
|
+
"true",
|
|
6179
|
+
"false"
|
|
6180
|
+
]
|
|
6181
|
+
},
|
|
5974
6182
|
"poptip/show": {
|
|
5975
6183
|
"description": "默认是否展示",
|
|
5976
6184
|
"type": "boolean",
|
|
@@ -6019,6 +6227,14 @@
|
|
|
6019
6227
|
"description": "触发方式,可选值为 `hover`(悬停)、`click`(点击)、`focus`(聚焦)",
|
|
6020
6228
|
"type": "\"hover\" | \"click\" | \"focus\""
|
|
6021
6229
|
},
|
|
6230
|
+
"k-poptip/destroyOnClose": {
|
|
6231
|
+
"description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
|
|
6232
|
+
"type": "boolean",
|
|
6233
|
+
"options": [
|
|
6234
|
+
"true",
|
|
6235
|
+
"false"
|
|
6236
|
+
]
|
|
6237
|
+
},
|
|
6022
6238
|
"k-poptip/show": {
|
|
6023
6239
|
"description": "默认是否展示",
|
|
6024
6240
|
"type": "boolean",
|
|
@@ -6063,6 +6279,14 @@
|
|
|
6063
6279
|
"description": "提示框出现的位置,可选值为`top`、`top-left`、`top-right`、`bottom`、`bottom-left`、`bottom-right`、`left`、`left-top`、`left-bottom`、`right`、`right-top`、`right-bottom`",
|
|
6064
6280
|
"type": "PlacementsType"
|
|
6065
6281
|
},
|
|
6282
|
+
"popconfirm/destroyOnClose": {
|
|
6283
|
+
"description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
|
|
6284
|
+
"type": "boolean",
|
|
6285
|
+
"options": [
|
|
6286
|
+
"true",
|
|
6287
|
+
"false"
|
|
6288
|
+
]
|
|
6289
|
+
},
|
|
6066
6290
|
"popconfirm/panelOnly": {
|
|
6067
6291
|
"description": "仅渲染确认面板,不需要触发元素",
|
|
6068
6292
|
"type": "boolean | undefined",
|
|
@@ -6115,6 +6339,14 @@
|
|
|
6115
6339
|
"description": "提示框出现的位置,可选值为`top`、`top-left`、`top-right`、`bottom`、`bottom-left`、`bottom-right`、`left`、`left-top`、`left-bottom`、`right`、`right-top`、`right-bottom`",
|
|
6116
6340
|
"type": "PlacementsType"
|
|
6117
6341
|
},
|
|
6342
|
+
"k-popconfirm/destroyOnClose": {
|
|
6343
|
+
"description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
|
|
6344
|
+
"type": "boolean",
|
|
6345
|
+
"options": [
|
|
6346
|
+
"true",
|
|
6347
|
+
"false"
|
|
6348
|
+
]
|
|
6349
|
+
},
|
|
6118
6350
|
"k-popconfirm/panelOnly": {
|
|
6119
6351
|
"description": "仅渲染确认面板,不需要触发元素",
|
|
6120
6352
|
"type": "boolean | undefined",
|
|
@@ -6348,7 +6580,7 @@
|
|
|
6348
6580
|
"type": "number | undefined"
|
|
6349
6581
|
},
|
|
6350
6582
|
"qr-code/bordered": {
|
|
6351
|
-
"description": "
|
|
6583
|
+
"description": "是否保留外边框和它托住的 12px 内边距。只想去掉表面(不留底色、边框透明)请写 `theme=\"plain\"`,内边距会保留。",
|
|
6352
6584
|
"type": "boolean",
|
|
6353
6585
|
"options": [
|
|
6354
6586
|
"true",
|
|
@@ -6356,8 +6588,8 @@
|
|
|
6356
6588
|
]
|
|
6357
6589
|
},
|
|
6358
6590
|
"qr-code/theme": {
|
|
6359
|
-
"description": "
|
|
6360
|
-
"type": "
|
|
6591
|
+
"description": "外观主题",
|
|
6592
|
+
"type": "SurfaceThemeType"
|
|
6361
6593
|
},
|
|
6362
6594
|
"qr-code/shape": {
|
|
6363
6595
|
"description": "二维码形状",
|
|
@@ -6416,7 +6648,7 @@
|
|
|
6416
6648
|
"type": "() => void"
|
|
6417
6649
|
},
|
|
6418
6650
|
"k-qr-code/bordered": {
|
|
6419
|
-
"description": "
|
|
6651
|
+
"description": "是否保留外边框和它托住的 12px 内边距。只想去掉表面(不留底色、边框透明)请写 `theme=\"plain\"`,内边距会保留。",
|
|
6420
6652
|
"type": "boolean",
|
|
6421
6653
|
"options": [
|
|
6422
6654
|
"true",
|
|
@@ -6424,8 +6656,8 @@
|
|
|
6424
6656
|
]
|
|
6425
6657
|
},
|
|
6426
6658
|
"k-qr-code/theme": {
|
|
6427
|
-
"description": "
|
|
6428
|
-
"type": "
|
|
6659
|
+
"description": "外观主题",
|
|
6660
|
+
"type": "SurfaceThemeType"
|
|
6429
6661
|
},
|
|
6430
6662
|
"k-qr-code/shape": {
|
|
6431
6663
|
"description": "二维码形状",
|
|
@@ -6484,8 +6716,8 @@
|
|
|
6484
6716
|
"type": "() => void"
|
|
6485
6717
|
},
|
|
6486
6718
|
"radio/theme": {
|
|
6487
|
-
"description": "
|
|
6488
|
-
"type": "
|
|
6719
|
+
"description": "组件呈现主题",
|
|
6720
|
+
"type": "MarkThemeType"
|
|
6489
6721
|
},
|
|
6490
6722
|
"radio/name": {
|
|
6491
6723
|
"description": "原生 radio 的分组名称",
|
|
@@ -6540,8 +6772,8 @@
|
|
|
6540
6772
|
"type": "(event: ChangeEvent) => void"
|
|
6541
6773
|
},
|
|
6542
6774
|
"k-radio/theme": {
|
|
6543
|
-
"description": "
|
|
6544
|
-
"type": "
|
|
6775
|
+
"description": "组件呈现主题",
|
|
6776
|
+
"type": "MarkThemeType"
|
|
6545
6777
|
},
|
|
6546
6778
|
"k-radio/name": {
|
|
6547
6779
|
"description": "原生 radio 的分组名称",
|
|
@@ -6612,11 +6844,11 @@
|
|
|
6612
6844
|
"type": "IconType[] | undefined"
|
|
6613
6845
|
},
|
|
6614
6846
|
"radio-button/theme": {
|
|
6615
|
-
"description": "
|
|
6616
|
-
"type": "
|
|
6847
|
+
"description": "按钮外观",
|
|
6848
|
+
"type": "SurfaceThemeType | undefined"
|
|
6617
6849
|
},
|
|
6618
6850
|
"radio-button/shape": {
|
|
6619
|
-
"description": "
|
|
6851
|
+
"description": "按钮形状",
|
|
6620
6852
|
"type": "ShapeType | undefined"
|
|
6621
6853
|
},
|
|
6622
6854
|
"radio-button/modelValue": {
|
|
@@ -6672,11 +6904,11 @@
|
|
|
6672
6904
|
"type": "IconType[] | undefined"
|
|
6673
6905
|
},
|
|
6674
6906
|
"k-radio-button/theme": {
|
|
6675
|
-
"description": "
|
|
6676
|
-
"type": "
|
|
6907
|
+
"description": "按钮外观",
|
|
6908
|
+
"type": "SurfaceThemeType | undefined"
|
|
6677
6909
|
},
|
|
6678
6910
|
"k-radio-button/shape": {
|
|
6679
|
-
"description": "
|
|
6911
|
+
"description": "按钮形状",
|
|
6680
6912
|
"type": "ShapeType | undefined"
|
|
6681
6913
|
},
|
|
6682
6914
|
"k-radio-button/modelValue": {
|
|
@@ -6732,8 +6964,8 @@
|
|
|
6732
6964
|
]
|
|
6733
6965
|
},
|
|
6734
6966
|
"radio-group/theme": {
|
|
6735
|
-
"description": "
|
|
6736
|
-
"type": "
|
|
6967
|
+
"description": "单选项外观,`type=\"button\"` 时为按钮主题",
|
|
6968
|
+
"type": "SurfaceThemeType | undefined"
|
|
6737
6969
|
},
|
|
6738
6970
|
"radio-group/shape": {
|
|
6739
6971
|
"description": "`button` 的形状",
|
|
@@ -6784,8 +7016,8 @@
|
|
|
6784
7016
|
]
|
|
6785
7017
|
},
|
|
6786
7018
|
"k-radio-group/theme": {
|
|
6787
|
-
"description": "
|
|
6788
|
-
"type": "
|
|
7019
|
+
"description": "单选项外观,`type=\"button\"` 时为按钮主题",
|
|
7020
|
+
"type": "SurfaceThemeType | undefined"
|
|
6789
7021
|
},
|
|
6790
7022
|
"k-radio-group/shape": {
|
|
6791
7023
|
"description": "`button` 的形状",
|
|
@@ -7133,7 +7365,7 @@
|
|
|
7133
7365
|
},
|
|
7134
7366
|
"feedback-panel/theme": {
|
|
7135
7367
|
"description": "外观主题",
|
|
7136
|
-
"type": "
|
|
7368
|
+
"type": "SurfaceThemeType"
|
|
7137
7369
|
},
|
|
7138
7370
|
"feedback-panel/shape": {
|
|
7139
7371
|
"description": "面板形状",
|
|
@@ -7165,7 +7397,7 @@
|
|
|
7165
7397
|
},
|
|
7166
7398
|
"k-feedback-panel/theme": {
|
|
7167
7399
|
"description": "外观主题",
|
|
7168
|
-
"type": "
|
|
7400
|
+
"type": "SurfaceThemeType"
|
|
7169
7401
|
},
|
|
7170
7402
|
"k-feedback-panel/shape": {
|
|
7171
7403
|
"description": "面板形状",
|
|
@@ -7303,6 +7535,14 @@
|
|
|
7303
7535
|
"description": "下拉菜单弹出位置",
|
|
7304
7536
|
"type": "DropPlacementsType"
|
|
7305
7537
|
},
|
|
7538
|
+
"select/destroyOnClose": {
|
|
7539
|
+
"description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
|
|
7540
|
+
"type": "boolean",
|
|
7541
|
+
"options": [
|
|
7542
|
+
"true",
|
|
7543
|
+
"false"
|
|
7544
|
+
]
|
|
7545
|
+
},
|
|
7306
7546
|
"select/bordered": {
|
|
7307
7547
|
"description": "是否显示边框",
|
|
7308
7548
|
"type": "boolean",
|
|
@@ -7475,6 +7715,14 @@
|
|
|
7475
7715
|
"description": "下拉菜单弹出位置",
|
|
7476
7716
|
"type": "DropPlacementsType"
|
|
7477
7717
|
},
|
|
7718
|
+
"k-select/destroyOnClose": {
|
|
7719
|
+
"description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
|
|
7720
|
+
"type": "boolean",
|
|
7721
|
+
"options": [
|
|
7722
|
+
"true",
|
|
7723
|
+
"false"
|
|
7724
|
+
]
|
|
7725
|
+
},
|
|
7478
7726
|
"k-select/bordered": {
|
|
7479
7727
|
"description": "是否显示边框",
|
|
7480
7728
|
"type": "boolean",
|
|
@@ -8021,7 +8269,7 @@
|
|
|
8021
8269
|
},
|
|
8022
8270
|
"stat-card/theme": {
|
|
8023
8271
|
"description": "外观主题",
|
|
8024
|
-
"type": "
|
|
8272
|
+
"type": "SurfaceThemeType"
|
|
8025
8273
|
},
|
|
8026
8274
|
"stat-card/shape": {
|
|
8027
8275
|
"description": "卡片形状",
|
|
@@ -8048,7 +8296,15 @@
|
|
|
8048
8296
|
]
|
|
8049
8297
|
},
|
|
8050
8298
|
"stat-card/title": {
|
|
8051
|
-
"description": "
|
|
8299
|
+
"description": "卡片标题,不传时可用同名插槽;`false`、空字符串等空内容不渲染标题行",
|
|
8300
|
+
"type": "VNodeChild"
|
|
8301
|
+
},
|
|
8302
|
+
"stat-card/prefix": {
|
|
8303
|
+
"description": "数值的前置内容",
|
|
8304
|
+
"type": "VNodeChild"
|
|
8305
|
+
},
|
|
8306
|
+
"stat-card/suffix": {
|
|
8307
|
+
"description": "数值的后置内容",
|
|
8052
8308
|
"type": "VNodeChild"
|
|
8053
8309
|
},
|
|
8054
8310
|
"stat-card/separator": {
|
|
@@ -8069,7 +8325,7 @@
|
|
|
8069
8325
|
},
|
|
8070
8326
|
"k-stat-card/theme": {
|
|
8071
8327
|
"description": "外观主题",
|
|
8072
|
-
"type": "
|
|
8328
|
+
"type": "SurfaceThemeType"
|
|
8073
8329
|
},
|
|
8074
8330
|
"k-stat-card/shape": {
|
|
8075
8331
|
"description": "卡片形状",
|
|
@@ -8096,7 +8352,15 @@
|
|
|
8096
8352
|
]
|
|
8097
8353
|
},
|
|
8098
8354
|
"k-stat-card/title": {
|
|
8099
|
-
"description": "
|
|
8355
|
+
"description": "卡片标题,不传时可用同名插槽;`false`、空字符串等空内容不渲染标题行",
|
|
8356
|
+
"type": "VNodeChild"
|
|
8357
|
+
},
|
|
8358
|
+
"k-stat-card/prefix": {
|
|
8359
|
+
"description": "数值的前置内容",
|
|
8360
|
+
"type": "VNodeChild"
|
|
8361
|
+
},
|
|
8362
|
+
"k-stat-card/suffix": {
|
|
8363
|
+
"description": "数值的后置内容",
|
|
8100
8364
|
"type": "VNodeChild"
|
|
8101
8365
|
},
|
|
8102
8366
|
"k-stat-card/separator": {
|
|
@@ -8143,16 +8407,16 @@
|
|
|
8143
8407
|
"description": "数值",
|
|
8144
8408
|
"type": "number | undefined"
|
|
8145
8409
|
},
|
|
8146
|
-
"stat-number/separator": {
|
|
8147
|
-
"description": "分隔符",
|
|
8148
|
-
"type": "string | undefined"
|
|
8149
|
-
},
|
|
8150
8410
|
"stat-number/prefix": {
|
|
8151
|
-
"description": "
|
|
8411
|
+
"description": "数值的前置内容",
|
|
8152
8412
|
"type": "string | undefined"
|
|
8153
8413
|
},
|
|
8154
8414
|
"stat-number/suffix": {
|
|
8155
|
-
"description": "
|
|
8415
|
+
"description": "数值的后置内容",
|
|
8416
|
+
"type": "string | undefined"
|
|
8417
|
+
},
|
|
8418
|
+
"stat-number/separator": {
|
|
8419
|
+
"description": "分隔符",
|
|
8156
8420
|
"type": "string | undefined"
|
|
8157
8421
|
},
|
|
8158
8422
|
"k-stat-number/type": {
|
|
@@ -8191,16 +8455,16 @@
|
|
|
8191
8455
|
"description": "数值",
|
|
8192
8456
|
"type": "number | undefined"
|
|
8193
8457
|
},
|
|
8194
|
-
"k-stat-number/separator": {
|
|
8195
|
-
"description": "分隔符",
|
|
8196
|
-
"type": "string | undefined"
|
|
8197
|
-
},
|
|
8198
8458
|
"k-stat-number/prefix": {
|
|
8199
|
-
"description": "
|
|
8459
|
+
"description": "数值的前置内容",
|
|
8200
8460
|
"type": "string | undefined"
|
|
8201
8461
|
},
|
|
8202
8462
|
"k-stat-number/suffix": {
|
|
8203
|
-
"description": "
|
|
8463
|
+
"description": "数值的后置内容",
|
|
8464
|
+
"type": "string | undefined"
|
|
8465
|
+
},
|
|
8466
|
+
"k-stat-number/separator": {
|
|
8467
|
+
"description": "分隔符",
|
|
8204
8468
|
"type": "string | undefined"
|
|
8205
8469
|
},
|
|
8206
8470
|
"slider/value": {
|
|
@@ -8792,8 +9056,8 @@
|
|
|
8792
9056
|
"type": "TableKey[]"
|
|
8793
9057
|
},
|
|
8794
9058
|
"table/rowKey": {
|
|
8795
|
-
"description": "
|
|
8796
|
-
"type": "string"
|
|
9059
|
+
"description": "行的唯一标识,勾选与展开都以它为准;可传字段名,或传函数从记录中取值",
|
|
9060
|
+
"type": "string | ((record: TableRecord) => TableKey)"
|
|
8797
9061
|
},
|
|
8798
9062
|
"table/childrenColumnName": {
|
|
8799
9063
|
"description": "子节点字段名",
|
|
@@ -8804,7 +9068,7 @@
|
|
|
8804
9068
|
"type": "number"
|
|
8805
9069
|
},
|
|
8806
9070
|
"table/scroll": {
|
|
8807
|
-
"description": "滚动配置;`x` 为内容最小宽度,`y`
|
|
9071
|
+
"description": "滚动配置;`x` 为内容最小宽度,`y` 为表体的纵向滚动区域高度",
|
|
8808
9072
|
"type": "{ x?: number | string; y?: number | string; }"
|
|
8809
9073
|
},
|
|
8810
9074
|
"table/loading": {
|
|
@@ -8831,12 +9095,16 @@
|
|
|
8831
9095
|
"false"
|
|
8832
9096
|
]
|
|
8833
9097
|
},
|
|
9098
|
+
"table/ellipsis": {
|
|
9099
|
+
"description": "一次给所有列打开省略号,省得一列列写 `ellipsis`;`true` 单行,数字或 `rows` 是多行,`tooltip` 定制悬停提示。某一列想显示完整内容,就在那列写 `ellipsis: false` 单独关掉。",
|
|
9100
|
+
"type": "number | boolean | TableEllipsisOptions | undefined"
|
|
9101
|
+
},
|
|
8834
9102
|
"table/expandedKeys": {
|
|
8835
9103
|
"description": "展开行 key 集合,支持 `v-model:expanded-keys`",
|
|
8836
9104
|
"type": "TableKey[] | undefined"
|
|
8837
9105
|
},
|
|
8838
9106
|
"table/expandAllRows": {
|
|
8839
|
-
"description": "
|
|
9107
|
+
"description": "初始化时展开所有树节点;`data` 后续变化时只补新增的父行,用户手动展开或折叠过的行保持不变(expandedKeys 优先)",
|
|
8840
9108
|
"type": "boolean | undefined",
|
|
8841
9109
|
"options": [
|
|
8842
9110
|
"true",
|
|
@@ -8932,8 +9200,8 @@
|
|
|
8932
9200
|
"type": "TableKey[]"
|
|
8933
9201
|
},
|
|
8934
9202
|
"k-table/rowKey": {
|
|
8935
|
-
"description": "
|
|
8936
|
-
"type": "string"
|
|
9203
|
+
"description": "行的唯一标识,勾选与展开都以它为准;可传字段名,或传函数从记录中取值",
|
|
9204
|
+
"type": "string | ((record: TableRecord) => TableKey)"
|
|
8937
9205
|
},
|
|
8938
9206
|
"k-table/childrenColumnName": {
|
|
8939
9207
|
"description": "子节点字段名",
|
|
@@ -8944,7 +9212,7 @@
|
|
|
8944
9212
|
"type": "number"
|
|
8945
9213
|
},
|
|
8946
9214
|
"k-table/scroll": {
|
|
8947
|
-
"description": "滚动配置;`x` 为内容最小宽度,`y`
|
|
9215
|
+
"description": "滚动配置;`x` 为内容最小宽度,`y` 为表体的纵向滚动区域高度",
|
|
8948
9216
|
"type": "{ x?: number | string; y?: number | string; }"
|
|
8949
9217
|
},
|
|
8950
9218
|
"k-table/loading": {
|
|
@@ -8971,12 +9239,16 @@
|
|
|
8971
9239
|
"false"
|
|
8972
9240
|
]
|
|
8973
9241
|
},
|
|
9242
|
+
"k-table/ellipsis": {
|
|
9243
|
+
"description": "一次给所有列打开省略号,省得一列列写 `ellipsis`;`true` 单行,数字或 `rows` 是多行,`tooltip` 定制悬停提示。某一列想显示完整内容,就在那列写 `ellipsis: false` 单独关掉。",
|
|
9244
|
+
"type": "number | boolean | TableEllipsisOptions | undefined"
|
|
9245
|
+
},
|
|
8974
9246
|
"k-table/expandedKeys": {
|
|
8975
9247
|
"description": "展开行 key 集合,支持 `v-model:expanded-keys`",
|
|
8976
9248
|
"type": "TableKey[] | undefined"
|
|
8977
9249
|
},
|
|
8978
9250
|
"k-table/expandAllRows": {
|
|
8979
|
-
"description": "
|
|
9251
|
+
"description": "初始化时展开所有树节点;`data` 后续变化时只补新增的父行,用户手动展开或折叠过的行保持不变(expandedKeys 优先)",
|
|
8980
9252
|
"type": "boolean | undefined",
|
|
8981
9253
|
"options": [
|
|
8982
9254
|
"true",
|
|
@@ -9108,8 +9380,8 @@
|
|
|
9108
9380
|
"type": "KanbanItemData[]"
|
|
9109
9381
|
},
|
|
9110
9382
|
"kanban/theme": {
|
|
9111
|
-
"description": "
|
|
9112
|
-
"type": "
|
|
9383
|
+
"description": "外观主题",
|
|
9384
|
+
"type": "SurfaceThemeType"
|
|
9113
9385
|
},
|
|
9114
9386
|
"kanban/draggable": {
|
|
9115
9387
|
"description": "是否允许拖拽",
|
|
@@ -9155,6 +9427,14 @@
|
|
|
9155
9427
|
"description": "自动悬停触发或手动控制显隐",
|
|
9156
9428
|
"type": "\"hover\" | \"manual\""
|
|
9157
9429
|
},
|
|
9430
|
+
"tooltip/destroyOnClose": {
|
|
9431
|
+
"description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
|
|
9432
|
+
"type": "boolean",
|
|
9433
|
+
"options": [
|
|
9434
|
+
"true",
|
|
9435
|
+
"false"
|
|
9436
|
+
]
|
|
9437
|
+
},
|
|
9158
9438
|
"tooltip/disabled": {
|
|
9159
9439
|
"description": "禁用状态",
|
|
9160
9440
|
"type": "boolean | undefined",
|
|
@@ -9199,6 +9479,14 @@
|
|
|
9199
9479
|
"description": "自动悬停触发或手动控制显隐",
|
|
9200
9480
|
"type": "\"hover\" | \"manual\""
|
|
9201
9481
|
},
|
|
9482
|
+
"k-tooltip/destroyOnClose": {
|
|
9483
|
+
"description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
|
|
9484
|
+
"type": "boolean",
|
|
9485
|
+
"options": [
|
|
9486
|
+
"true",
|
|
9487
|
+
"false"
|
|
9488
|
+
]
|
|
9489
|
+
},
|
|
9202
9490
|
"k-tooltip/disabled": {
|
|
9203
9491
|
"description": "禁用状态",
|
|
9204
9492
|
"type": "boolean | undefined",
|
|
@@ -9381,7 +9669,7 @@
|
|
|
9381
9669
|
},
|
|
9382
9670
|
"transfer/theme": {
|
|
9383
9671
|
"description": "外观主题",
|
|
9384
|
-
"type": "
|
|
9672
|
+
"type": "SurfaceThemeType"
|
|
9385
9673
|
},
|
|
9386
9674
|
"transfer/value": {
|
|
9387
9675
|
"description": "初始值,仅初始化时读取;后续更新使用 modelValue,同时传入时 modelValue 优先。",
|
|
@@ -9449,7 +9737,7 @@
|
|
|
9449
9737
|
},
|
|
9450
9738
|
"k-transfer/theme": {
|
|
9451
9739
|
"description": "外观主题",
|
|
9452
|
-
"type": "
|
|
9740
|
+
"type": "SurfaceThemeType"
|
|
9453
9741
|
},
|
|
9454
9742
|
"k-transfer/value": {
|
|
9455
9743
|
"description": "初始值,仅初始化时读取;后续更新使用 modelValue,同时传入时 modelValue 优先。",
|
|
@@ -9543,6 +9831,10 @@
|
|
|
9543
9831
|
"description": "允许编辑及配置操作提示",
|
|
9544
9832
|
"type": "boolean | TypographyEditableOptions"
|
|
9545
9833
|
},
|
|
9834
|
+
"typography/ellipsis": {
|
|
9835
|
+
"description": "文本省略、提示和展开配置",
|
|
9836
|
+
"type": "number | boolean | TypographyEllipsisOptions"
|
|
9837
|
+
},
|
|
9546
9838
|
"typography/italic": {
|
|
9547
9839
|
"description": "斜体",
|
|
9548
9840
|
"type": "boolean",
|
|
@@ -9571,10 +9863,6 @@
|
|
|
9571
9863
|
"description": "允许复制及配置操作提示",
|
|
9572
9864
|
"type": "boolean | TypographyCopyableOptions"
|
|
9573
9865
|
},
|
|
9574
|
-
"typography/ellipsis": {
|
|
9575
|
-
"description": "文本省略、提示和展开配置",
|
|
9576
|
-
"type": "number | boolean | TypographyEllipsisOptions"
|
|
9577
|
-
},
|
|
9578
9866
|
"typography/type": {
|
|
9579
9867
|
"description": "语义颜色",
|
|
9580
9868
|
"type": "TypographyType | undefined"
|
|
@@ -9635,6 +9923,10 @@
|
|
|
9635
9923
|
"description": "允许编辑及配置操作提示",
|
|
9636
9924
|
"type": "boolean | TypographyEditableOptions"
|
|
9637
9925
|
},
|
|
9926
|
+
"k-typography/ellipsis": {
|
|
9927
|
+
"description": "文本省略、提示和展开配置",
|
|
9928
|
+
"type": "number | boolean | TypographyEllipsisOptions"
|
|
9929
|
+
},
|
|
9638
9930
|
"k-typography/italic": {
|
|
9639
9931
|
"description": "斜体",
|
|
9640
9932
|
"type": "boolean",
|
|
@@ -9663,10 +9955,6 @@
|
|
|
9663
9955
|
"description": "允许复制及配置操作提示",
|
|
9664
9956
|
"type": "boolean | TypographyCopyableOptions"
|
|
9665
9957
|
},
|
|
9666
|
-
"k-typography/ellipsis": {
|
|
9667
|
-
"description": "文本省略、提示和展开配置",
|
|
9668
|
-
"type": "number | boolean | TypographyEllipsisOptions"
|
|
9669
|
-
},
|
|
9670
9958
|
"k-typography/type": {
|
|
9671
9959
|
"description": "语义颜色",
|
|
9672
9960
|
"type": "TypographyType | undefined"
|
|
@@ -10025,7 +10313,7 @@
|
|
|
10025
10313
|
},
|
|
10026
10314
|
"tree/select": {
|
|
10027
10315
|
"description": "点击树节点时触发",
|
|
10028
|
-
"type": "(node: TreeNode) => void"
|
|
10316
|
+
"type": "(node: TreeNode, keys: string[]) => void"
|
|
10029
10317
|
},
|
|
10030
10318
|
"tree/dragstart": {
|
|
10031
10319
|
"description": "开始拖拽时调用",
|
|
@@ -10185,7 +10473,7 @@
|
|
|
10185
10473
|
},
|
|
10186
10474
|
"k-tree/select": {
|
|
10187
10475
|
"description": "点击树节点时触发",
|
|
10188
|
-
"type": "(node: TreeNode) => void"
|
|
10476
|
+
"type": "(node: TreeNode, keys: string[]) => void"
|
|
10189
10477
|
},
|
|
10190
10478
|
"k-tree/dragstart": {
|
|
10191
10479
|
"description": "开始拖拽时调用",
|
|
@@ -10215,6 +10503,14 @@
|
|
|
10215
10503
|
"description": "下拉菜单弹出位置",
|
|
10216
10504
|
"type": "DropPlacementsType"
|
|
10217
10505
|
},
|
|
10506
|
+
"tree-select/destroyOnClose": {
|
|
10507
|
+
"description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
|
|
10508
|
+
"type": "boolean",
|
|
10509
|
+
"options": [
|
|
10510
|
+
"true",
|
|
10511
|
+
"false"
|
|
10512
|
+
]
|
|
10513
|
+
},
|
|
10218
10514
|
"tree-select/bordered": {
|
|
10219
10515
|
"description": "是否显示边框",
|
|
10220
10516
|
"type": "boolean",
|
|
@@ -10423,6 +10719,14 @@
|
|
|
10423
10719
|
"description": "下拉菜单弹出位置",
|
|
10424
10720
|
"type": "DropPlacementsType"
|
|
10425
10721
|
},
|
|
10722
|
+
"k-tree-select/destroyOnClose": {
|
|
10723
|
+
"description": "关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内已填写的表单状态,代价是每个打开过的实例留一份隐藏 DOM",
|
|
10724
|
+
"type": "boolean",
|
|
10725
|
+
"options": [
|
|
10726
|
+
"true",
|
|
10727
|
+
"false"
|
|
10728
|
+
]
|
|
10729
|
+
},
|
|
10426
10730
|
"k-tree-select/bordered": {
|
|
10427
10731
|
"description": "是否显示边框",
|
|
10428
10732
|
"type": "boolean",
|
|
@@ -10629,10 +10933,10 @@
|
|
|
10629
10933
|
},
|
|
10630
10934
|
"tag/theme": {
|
|
10631
10935
|
"description": "组件呈现主题",
|
|
10632
|
-
"type": "
|
|
10936
|
+
"type": "SurfaceThemeType"
|
|
10633
10937
|
},
|
|
10634
10938
|
"tag/size": {
|
|
10635
|
-
"description": "
|
|
10939
|
+
"description": "标签尺寸,可选值 `small`、`medium`、`large`",
|
|
10636
10940
|
"type": "SizeType"
|
|
10637
10941
|
},
|
|
10638
10942
|
"tag/icon": {
|
|
@@ -10644,7 +10948,7 @@
|
|
|
10644
10948
|
"type": "ShapeType | undefined"
|
|
10645
10949
|
},
|
|
10646
10950
|
"tag/color": {
|
|
10647
|
-
"description": "
|
|
10951
|
+
"description": "标签颜色:预设色值名(与 `Badge` 同一套,如 `blue`)或任意可读色值",
|
|
10648
10952
|
"type": "string | undefined"
|
|
10649
10953
|
},
|
|
10650
10954
|
"tag/compact": {
|
|
@@ -10673,10 +10977,10 @@
|
|
|
10673
10977
|
},
|
|
10674
10978
|
"k-tag/theme": {
|
|
10675
10979
|
"description": "组件呈现主题",
|
|
10676
|
-
"type": "
|
|
10980
|
+
"type": "SurfaceThemeType"
|
|
10677
10981
|
},
|
|
10678
10982
|
"k-tag/size": {
|
|
10679
|
-
"description": "
|
|
10983
|
+
"description": "标签尺寸,可选值 `small`、`medium`、`large`",
|
|
10680
10984
|
"type": "SizeType"
|
|
10681
10985
|
},
|
|
10682
10986
|
"k-tag/icon": {
|
|
@@ -10688,7 +10992,7 @@
|
|
|
10688
10992
|
"type": "ShapeType | undefined"
|
|
10689
10993
|
},
|
|
10690
10994
|
"k-tag/color": {
|
|
10691
|
-
"description": "
|
|
10995
|
+
"description": "标签颜色:预设色值名(与 `Badge` 同一套,如 `blue`)或任意可读色值",
|
|
10692
10996
|
"type": "string | undefined"
|
|
10693
10997
|
},
|
|
10694
10998
|
"k-tag/compact": {
|