tachybase_todo/docs/en-US/development/client/ui-schema-designer/component-library.md

83 lines
1.1 KiB
Markdown
Raw Normal View History

2022-12-21 09:59:07 +08:00
# Schema component library
2022-12-21 09:59:07 +08:00
## Wrapper Components
- BlockItem
- FormItem
- CardItem
2022-12-21 09:59:07 +08:00
## Layout
- Page
- Grid
- Tabs
- Space
2022-12-21 09:59:07 +08:00
## Field components
2022-12-21 09:59:07 +08:00
The field components are generally not used alone, but in the data presentation component
2022-12-21 09:59:07 +08:00
- CollectionField: universal component
- 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-12-21 09:59:07 +08:00
Need to be used with the field component
- Calendar
- Form
- Kanban
- Table
- TableV2
2022-12-21 09:59:07 +08:00
## Action (onClick event-based component)
- Action
- Action.Drawer
- Action.Modal
2022-12-21 09:59:07 +08:00
- ActionBarFor action layout
- Menu
2022-12-21 09:59:07 +08:00
## Other
- G2plot
- Markdown.Void
2022-12-21 09:59:07 +08:00
## Usage scenarios for `x-designer` and `x-initializer`
2022-12-21 09:59:07 +08:00
`x-designer` takes effect when `x-decorator` or `x-component` is a component of
- 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
- ActionBar
- BlockItem
- CardItem
- FormItem
- Grid
- Table
2022-12-21 09:59:07 +08:00
- Tabs