@@ -40,99 +40,99 @@ CommonUI API 是一个专为低代码引擎设计的组件 UI 库,使用它开 |
40 | 40 |
|
41 | 41 | | 参数 | 说明 | 类型 | 默认值 | |
42 | 42 | |------------|--------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------|----------------------------------------| |
43 | | -| name | 动作的唯一标识符<br>Unique identifier for the action | string | | |
44 | | -| title | 显示的标题,可以是字符串或国际化数据<br>Display title, can be a string or internationalized data | string \| IPublicTypeI18nData (optional) | | |
45 | | -| type | 菜单项类型<br>Menu item type | IPublicEnumContextMenuType (optional) | IPublicEnumPContextMenuType.MENU_ITEM | |
46 | | -| action | 点击时执行的动作,可选<br>Action to execute on click, optional | (nodes: IPublicModelNode[]) => void (optional) | | |
47 | | -| items | 子菜单项或生成子节点的函数,可选,仅支持两级<br>Sub-menu items or function to generate child node, optional | Omit<IPublicTypeContextMenuAction, 'items'>[] \| ((nodes: IPublicModelNode[]) => Omit<IPublicTypeContextMenuAction, 'items'>[]) (optional) | | |
48 | | -| condition | 显示条件函数<br>Function to determine display condition | (nodes: IPublicModelNode[]) => boolean (optional) | | |
49 | | -| disabled | 禁用条件函数,可选<br>Function to determine disabled condition, optional | (nodes: IPublicModelNode[]) => boolean (optional) | | |
| 43 | +| name | 动作的唯一标识符<br/>Unique identifier for the action | string | | |
| 44 | +| title | 显示的标题,可以是字符串或国际化数据<br/>Display title, can be a string or internationalized data | string \| IPublicTypeI18nData (optional) | | |
| 45 | +| type | 菜单项类型<br/>Menu item type | IPublicEnumContextMenuType (optional) | IPublicEnumPContextMenuType.MENU_ITEM | |
| 46 | +| action | 点击时执行的动作,可选<br/>Action to execute on click, optional | (nodes: IPublicModelNode[]) => void (optional) | | |
| 47 | +| items | 子菜单项或生成子节点的函数,可选,仅支持两级<br/>Sub-menu items or function to generate child node, optional | Omit<IPublicTypeContextMenuAction, 'items'>[] \| ((nodes: IPublicModelNode[]) => Omit<IPublicTypeContextMenuAction, 'items'>[]) (optional) | | |
| 48 | +| condition | 显示条件函数<br/>Function to determine display condition | (nodes: IPublicModelNode[]) => boolean (optional) | | |
| 49 | +| disabled | 禁用条件函数,可选<br/>Function to determine disabled condition, optional | (nodes: IPublicModelNode[]) => boolean (optional) | | |
50 | 50 |
|
51 | 51 |
|
52 | 52 | ### Balloon |
53 | | -详细文档: [Balloon Documentation](https://fusion.design/pc/component/balloon) |
| 53 | +详细文档: [Balloon Documentation](https://fusion.design/pc/component/balloon) |
54 | 54 |
|
55 | 55 | ### Breadcrumb |
56 | | -详细文档: [Breadcrumb Documentation](https://fusion.design/pc/component/breadcrumb) |
| 56 | +详细文档: [Breadcrumb Documentation](https://fusion.design/pc/component/breadcrumb) |
57 | 57 |
|
58 | 58 | ### Button |
59 | | -详细文档: [Button Documentation](https://fusion.design/pc/component/button) |
| 59 | +详细文档: [Button Documentation](https://fusion.design/pc/component/button) |
60 | 60 |
|
61 | 61 | ### Card |
62 | | -详细文档: [Card Documentation](https://fusion.design/pc/component/card) |
| 62 | +详细文档:[Card Documentation](https://fusion.design/pc/component/card) |
63 | 63 |
|
64 | 64 | ### Checkbox |
65 | | -详细文档: [Checkbox Documentation](https://fusion.design/pc/component/checkbox) |
| 65 | +详细文档:[Checkbox Documentation](https://fusion.design/pc/component/checkbox) |
66 | 66 |
|
67 | 67 | ### DatePicker |
68 | | -详细文档: [DatePicker Documentation](https://fusion.design/pc/component/datepicker) |
| 68 | +详细文档:[DatePicker Documentation](https://fusion.design/pc/component/datepicker) |
69 | 69 |
|
70 | 70 | ### Dialog |
71 | | -详细文档: [Dialog Documentation](https://fusion.design/pc/component/dialog) |
| 71 | +详细文档:[Dialog Documentation](https://fusion.design/pc/component/dialog) |
72 | 72 |
|
73 | 73 | ### Dropdown |
74 | | -详细文档: [Dropdown Documentation](https://fusion.design/pc/component/dropdown) |
| 74 | +详细文档:[Dropdown Documentation](https://fusion.design/pc/component/dropdown) |
75 | 75 |
|
76 | 76 | ### Form |
77 | | -详细文档: [Form Documentation](https://fusion.design/pc/component/form) |
| 77 | +详细文档:[Form Documentation](https://fusion.design/pc/component/form) |
78 | 78 |
|
79 | 79 | ### Icon |
80 | | -详细文档: [Icon Documentation](https://fusion.design/pc/component/icon) |
| 80 | +详细文档:[Icon Documentation](https://fusion.design/pc/component/icon) |
81 | 81 |
|
82 | 82 | 引擎默认主题支持的 icon 列表:https://fusion.design/64063/component/icon?themeid=20133 |
83 | 83 |
|
84 | 84 |
|
85 | 85 | ### Input |
86 | | -详细文档: [Input Documentation](https://fusion.design/pc/component/input) |
| 86 | +详细文档:[Input Documentation](https://fusion.design/pc/component/input) |
87 | 87 |
|
88 | 88 | ### Loading |
89 | | -详细文档: [Loading Documentation](https://fusion.design/pc/component/loading) |
| 89 | +详细文档:[Loading Documentation](https://fusion.design/pc/component/loading) |
90 | 90 |
|
91 | 91 | ### Message |
92 | | -详细文档: [Message Documentation](https://fusion.design/pc/component/message) |
| 92 | +详细文档:[Message Documentation](https://fusion.design/pc/component/message) |
93 | 93 |
|
94 | 94 | ### Overlay |
95 | | -详细文档: [Overlay Documentation](https://fusion.design/pc/component/overlay) |
| 95 | +详细文档:[Overlay Documentation](https://fusion.design/pc/component/overlay) |
96 | 96 |
|
97 | 97 | ### Pagination |
98 | | -详细文档: [Pagination Documentation](https://fusion.design/pc/component/pagination) |
| 98 | +详细文档:[Pagination Documentation](https://fusion.design/pc/component/pagination) |
99 | 99 |
|
100 | 100 | ### Radio |
101 | | -详细文档: [Radio Documentation](https://fusion.design/pc/component/radio) |
| 101 | +详细文档:[Radio Documentation](https://fusion.design/pc/component/radio) |
102 | 102 |
|
103 | 103 | ### Search |
104 | | -详细文档: [Search Documentation](https://fusion.design/pc/component/search) |
| 104 | +详细文档:[Search Documentation](https://fusion.design/pc/component/search) |
105 | 105 |
|
106 | 106 | ### Select |
107 | | -详细文档: [Select Documentation](https://fusion.design/pc/component/select) |
| 107 | +详细文档:[Select Documentation](https://fusion.design/pc/component/select) |
108 | 108 |
|
109 | 109 | ### SplitButton |
110 | | -详细文档: [SplitButton Documentation](https://fusion.design/pc/component/splitbutton) |
| 110 | +详细文档:[SplitButton Documentation](https://fusion.design/pc/component/splitbutton) |
111 | 111 |
|
112 | 112 | ### Step |
113 | | -详细文档: [Step Documentation](https://fusion.design/pc/component/step) |
| 113 | +详细文档:[Step Documentation](https://fusion.design/pc/component/step) |
114 | 114 |
|
115 | 115 | ### Switch |
116 | | -详细文档: [Switch Documentation](https://fusion.design/pc/component/switch) |
| 116 | +详细文档:[Switch Documentation](https://fusion.design/pc/component/switch) |
117 | 117 |
|
118 | 118 | ### Tab |
119 | | -详细文档: [Tab Documentation](https://fusion.design/pc/component/tab) |
| 119 | +详细文档:[Tab Documentation](https://fusion.design/pc/component/tab) |
120 | 120 |
|
121 | 121 | ### Table |
122 | | -详细文档: [Table Documentation](https://fusion.design/pc/component/table) |
| 122 | +详细文档:[Table Documentation](https://fusion.design/pc/component/table) |
123 | 123 |
|
124 | 124 | ### Tree |
125 | | -详细文档: [Tree Documentation](https://fusion.design/pc/component/tree) |
| 125 | +详细文档:[Tree Documentation](https://fusion.design/pc/component/tree) |
126 | 126 |
|
127 | 127 | ### TreeSelect |
128 | | -详细文档: [TreeSelect Documentation](https://fusion.design/pc/component/treeselect) |
| 128 | +详细文档:[TreeSelect Documentation](https://fusion.design/pc/component/treeselect) |
129 | 129 |
|
130 | 130 | ### Upload |
131 | | -详细文档: [Upload Documentation](https://fusion.design/pc/component/upload) |
| 131 | +详细文档:[Upload Documentation](https://fusion.design/pc/component/upload) |
132 | 132 |
|
133 | 133 | ### Divider |
134 | | -详细文档: [Divider Documentation](https://fusion.design/pc/component/divider) |
| 134 | +详细文档:[Divider Documentation](https://fusion.design/pc/component/divider) |
135 | 135 |
|
136 | 136 | ## 说明 |
137 | 137 |
|
138 | | -如果需要其他组件,可以提issue给我们 |
| 138 | +如果需要其他组件,可以提 issue 给我们。 |