Button
Field Definitions
| Field | Type | Description |
|---|---|---|
| id | String | ID |
| name | String | Name |
| remark | String | Remark |
| controlType | String | Type |
| actionSetting | Map<String, Object> | Action setting |
| action | String | Execute action |
| isDirectory | boolean | Whether it is a directory |
| children | List<Button> | Child control list |
| visibleRoleList | List<String> | Visible application role list |
| hideExpression | String | Hide when expression condition is met |
| disableExpression | String | Disable when expression condition is met |
| buttonSetting | ButtonSetting | Button setting |
| cardSetting | CardSetting | Card setting |
| labelSetting | LabelSetting | Label setting |
| selectSetting | SelectSetting | Select setting |
| inputSetting | InputSetting | Input setting |
| switchSetting | SwitchSetting | Switch setting |
| componentSetting | ComponentDetailSetting | Custom component setting |
| richtextSetting | RichtextSetting | Rich text setting |
| floatDialogSetting | FloatDialogSetting | Float dialog setting |
Inner Class Definitions
ButtonSetting
| Field | Type | Description |
|---|---|---|
| icon | String | Icon |
| type | String | Type |
| hideName | boolean | Whether to hide name |
| round | boolean | Whether to use rounded style |
| tipsExpression | String | Hover tooltip |
| badgeExpression | String | Badge expression |
| badgeType | String | Badge type, default danger |
| hotkey | String | Hotkey |
| enableConfirm | boolean | Whether user confirmation is required |
| confirmMessageExpression | String | User confirmation prompt message |
| completeExpression | String | Prompt message after user action completes |
| nameExpression | String | Use expression as name |
| plain | boolean | Whether to use light border style, default false |
| color | String | Text color |
| size | String | Button size |
CardSetting
| Field | Type | Description |
|---|---|---|
| titleExpression | String | Title |
| subTitleExpression | String | Subtitle |
| titleFontSize | String | Title font size |
| titleFontWeight | String | Title font weight |
| titleColor | String | Title color |
| titleTextAlign | String | Title text alignment |
| subTitleFontSize | String | Subtitle font size |
| subTitleFontWeight | String | Subtitle font weight |
| subTitleColor | String | Subtitle color |
| subTtitleTextAlign | String | Subtitle text alignment |
| icon | String | Icon |
| iconColor | String | Icon color |
| iconSize | String | Icon size |
| iconRectBgColor | String | Icon area background color |
| iconRectSize | String | Icon area size |
| iconRectBorderRadius | String | Icon area border radius |
| width | String | Card width |
| height | String | Card height |
| bgColor | String | Card background color |
| borderRadius | String | Card border radius |
| borderWidth | String | Border width |
| borderStyle | String | Border style |
| borderColor | String | Border color |
| flexDirection | String | Flex layout direction, default row |
| flexGap | Integer | Flex layout gap |
| alignItems | String | Align items, default flex-start |
| alignContent | String | Align content |
| justifyContent | String | Justify content, default flex-start |
| padding | Integer | Padding |
LabelSetting
| Field | Type | Description |
|---|---|---|
| text | String | Content |
| color | String | Color |
| bgColor | String | Background color |
| fontSize | int | Font size, default 13 |
| bold | boolean | Bold |
SelectSetting
| Field | Type | Description |
|---|---|---|
| width | int | Width, default 200 |
| placeholder | String | Placeholder |
| multiple | boolean | Whether multiple selection |
| optionList | List<SelectSettingOption> | Option values |
| value | String | Select value |
SelectSettingOption
| Field | Type | Description |
|---|---|---|
| id | String | Option identifier |
| name | String | Option name |
InputSetting
| Field | Type | Description |
|---|---|---|
| width | int | Width, default 200 |
| placeholder | String | Placeholder |
| value | String | Input value |
SwitchSetting
| Field | Type | Description |
|---|---|---|
| value | String | Switch value |
| type | String | Type, default primary |
| activeValue | String | Value when active |
| inactiveValue | String | Value when inactive |
| activeColor | String | Background color when active |
| inactiveColor | String | Background color when inactive |
| activeText | String | Text when active |
| inactiveText | String | Text when inactive |
RichtextSetting
| Field | Type | Description |
|---|---|---|
| content | String | Content |
FloatDialogSetting
| Field | Type | Description |
|---|---|---|
| minimizeAfterInit | boolean | Minimize after initialization, default false |

