mirror of
https://github.com/nocobase/nocobase
synced 2024-11-16 01:33:15 +00:00
796e73ae5a
* refactor(doc): change to new structure * docs: add database docs * docs: add collection docs * docs: add db field examples * docs(api): fix filename and menu path * docs: add database docs * docs: add db operators doc * docs: add resourcer menu * docs: add resourcer docs * docs: fix api docs * docs: refactor api menu structure * feat: update docs (#830) * feat: updates * feat: update docs * chore: ignore docs from ci Co-authored-by: Junyi <mytharcher@users.noreply.github.com> Co-authored-by: mytharcher <mytharcher@gmail.com> * docs: add database methods docs * docs: add missed api * docs: fix api docs * feat: update development docs (#833) * feat: update development docs * feat: update docs * feat: update docs * docs: add first plugin example (#834) * feat: update docs * feat: update docs * docs: fix typo Co-authored-by: chenos <chenlinxh@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 |