a6eebb940f
* feat: improve code * feat: update docs * feat: update docs * Update index.md * Update features.md * Update when.md * Update contributing.md * Update translations.md * feat: clean up * Add files via upload * Update the-first-app.md * Update plugins.md * Update a-b-c.md * Update blocks.md * feat: update docs * Add files via upload * Update charts.md * feat: update navs * Update index.md * Update index.md * Update features.md * Update index.md * Update docker-compose.md * Update create-nocobase-app.md * Update git-clone.md * Update contributing.md * Update translations.md * Update plugins.md * Update the-first-app.md * Add files via upload * Update charts.md * Update charts.md * Update a-b-c.md * Update collections.md * Update menus.md * Update menus.md Co-authored-by: Zhou <zhou.working@gmail.com>
82 lines
1.0 KiB
Markdown
82 lines
1.0 KiB
Markdown
# Schema 组件库
|
||
|
||
## 包装器组件
|
||
|
||
- BlockItem
|
||
- FormItem
|
||
- CardItem
|
||
|
||
## 布局
|
||
|
||
- Page
|
||
- Grid
|
||
- Tabs
|
||
- Space
|
||
|
||
## 字段组件
|
||
|
||
字段组件一般不单独使用,而是用在数据展示组件当中
|
||
|
||
- CollectionField:万能组件
|
||
- Cascader
|
||
- Checkbox
|
||
- ColorSelect
|
||
- DatePicker
|
||
- Filter
|
||
- Formula
|
||
- IconPicker
|
||
- Input
|
||
- InputNumber
|
||
- Markdown
|
||
- Password
|
||
- Percent
|
||
- Radio
|
||
- RecordPicker
|
||
- RichText
|
||
- Select
|
||
- TimePicker
|
||
- TreeSelect
|
||
- Upload
|
||
|
||
## 数据展示组件
|
||
|
||
需要与字段组件搭配使用
|
||
|
||
- Calendar
|
||
- Form
|
||
- Kanban
|
||
- Table
|
||
- TableV2
|
||
|
||
## 操作(onClick 事件型组件)
|
||
|
||
- Action
|
||
- Action.Drawer
|
||
- Action.Modal
|
||
- ActionBar:用于操作布局
|
||
- Menu
|
||
|
||
## 其他
|
||
|
||
- G2plot
|
||
- Markdown.Void
|
||
|
||
## `x-designer` 和 `x-initializer` 的使用场景
|
||
|
||
`x-decorator` 或 `x-component` 是以下组件时,`x-designer` 生效:
|
||
|
||
- BlockItem
|
||
- CardItem
|
||
- FormItem
|
||
- Table.Column
|
||
- Tabs.TabPane
|
||
|
||
`x-decorator` 或 `x-component` 是以下组件时,`x-initializer` 生效:
|
||
|
||
- ActionBar
|
||
- BlockItem
|
||
- CardItem
|
||
- FormItem
|
||
- Grid
|
||
- Table
|
||
- Tabs |