2022-12-21 09:59:07 +08:00
|
|
|
|
# Schema component library
|
2022-10-31 11:52:17 +08:00
|
|
|
|
|
2022-12-21 09:59:07 +08:00
|
|
|
|
## Wrapper Components
|
2022-10-31 11:52:17 +08:00
|
|
|
|
|
|
|
|
|
- BlockItem
|
|
|
|
|
- FormItem
|
|
|
|
|
- CardItem
|
|
|
|
|
|
2022-12-21 09:59:07 +08:00
|
|
|
|
## Layout
|
2022-10-31 11:52:17 +08:00
|
|
|
|
|
|
|
|
|
- Page
|
|
|
|
|
- Grid
|
|
|
|
|
- Tabs
|
|
|
|
|
- Space
|
|
|
|
|
|
2022-12-21 09:59:07 +08:00
|
|
|
|
## Field components
|
2022-10-31 11:52:17 +08:00
|
|
|
|
|
2022-12-21 09:59:07 +08:00
|
|
|
|
The field components are generally not used alone, but in the data presentation component
|
2022-10-31 11:52:17 +08:00
|
|
|
|
|
2022-12-21 09:59:07 +08:00
|
|
|
|
- CollectionField: universal component
|
2022-10-31 11:52:17 +08:00
|
|
|
|
- Cascader
|
|
|
|
|
- Checkbox
|
|
|
|
|
- ColorSelect
|
|
|
|
|
- DatePicker
|
|
|
|
|
- Filter
|
|
|
|
|
- Formula
|
|
|
|
|
- IconPicker
|
|
|
|
|
- Input
|
|
|
|
|
- InputNumber
|
|
|
|
|
- Markdown
|
|
|
|
|
- Password
|
|
|
|
|
- Percent
|
|
|
|
|
- Radio
|
|
|
|
|
- RecordPicker
|
|
|
|
|
- RichText
|
|
|
|
|
- Select
|
|
|
|
|
- TimePicker
|
|
|
|
|
- TreeSelect
|
|
|
|
|
- Upload
|
|
|
|
|
|
2022-12-21 09:59:07 +08:00
|
|
|
|
## Data presentation component
|
2022-10-31 11:52:17 +08:00
|
|
|
|
|
2022-12-21 09:59:07 +08:00
|
|
|
|
Need to be used with the field component
|
2022-10-31 11:52:17 +08:00
|
|
|
|
|
|
|
|
|
- Calendar
|
|
|
|
|
- Form
|
|
|
|
|
- Kanban
|
|
|
|
|
- Table
|
|
|
|
|
- TableV2
|
|
|
|
|
|
2022-12-21 09:59:07 +08:00
|
|
|
|
## Action (onClick event-based component)
|
2022-10-31 11:52:17 +08:00
|
|
|
|
|
|
|
|
|
- Action
|
|
|
|
|
- Action.Drawer
|
|
|
|
|
- Action.Modal
|
2022-12-21 09:59:07 +08:00
|
|
|
|
- ActionBar:For action layout
|
2022-10-31 11:52:17 +08:00
|
|
|
|
- Menu
|
|
|
|
|
|
2022-12-21 09:59:07 +08:00
|
|
|
|
## Other
|
2022-10-31 11:52:17 +08:00
|
|
|
|
|
|
|
|
|
- G2plot
|
|
|
|
|
- Markdown.Void
|
|
|
|
|
|
2022-12-21 09:59:07 +08:00
|
|
|
|
## Usage scenarios for `x-designer` and `x-initializer`
|
2022-10-31 11:52:17 +08:00
|
|
|
|
|
2022-12-21 09:59:07 +08:00
|
|
|
|
`x-designer` takes effect when `x-decorator` or `x-component` is a component of
|
2022-10-31 11:52:17 +08:00
|
|
|
|
|
|
|
|
|
- BlockItem
|
|
|
|
|
- CardItem
|
|
|
|
|
- FormItem
|
|
|
|
|
- Table.Column
|
|
|
|
|
- Tabs.TabPane
|
|
|
|
|
|
2022-12-21 09:59:07 +08:00
|
|
|
|
`x-initializer` takes effect when `x-decorator` or `x-component` is a component of
|
2022-10-31 11:52:17 +08:00
|
|
|
|
|
|
|
|
|
- ActionBar
|
|
|
|
|
- BlockItem
|
|
|
|
|
- CardItem
|
|
|
|
|
- FormItem
|
|
|
|
|
- Grid
|
|
|
|
|
- Table
|
2022-12-21 09:59:07 +08:00
|
|
|
|
- Tabs
|