Some contents...
-Some contents...
-Some contents...
-
+
diff --git a/packages/client/src/index.md b/packages/client/src/index.md
index 75384bf31..e9f1065f6 100644
--- a/packages/client/src/index.md
+++ b/packages/client/src/index.md
@@ -1,14 +1,14 @@
---
-title: 全站演示
+title: 介绍
nav:
title: 组件
path: /client
toc: menu
group:
order: 0
- title: 全站演示
+ title: 概念
path: /client
---
-
+# 介绍
diff --git a/packages/client/src/schemas/DesignableSchemaField/index.tsx b/packages/client/src/schemas/DesignableSchemaField/index.tsx
index 0236d9c11..c8daa40d9 100644
--- a/packages/client/src/schemas/DesignableSchemaField/index.tsx
+++ b/packages/client/src/schemas/DesignableSchemaField/index.tsx
@@ -23,7 +23,7 @@ import { uid, clone } from '@formily/shared';
import { ArrayCollapse, ArrayTable, FormLayout } from '@formily/antd';
import { Space, Card, Modal, Spin } from 'antd';
-import { Action, useLogin, useRegister, useSubmit } from '../action';
+import { Action, useLogin, useRegister, useSubmit, useDesignableValues } from '../action';
import { AddNew } from '../add-new';
import { Cascader } from '../cascader';
import { Checkbox } from '../checkbox';
@@ -73,6 +73,7 @@ export const scope = {
useTableFilterAction,
useTableRow,
useTableUpdateAction,
+ useDesignableValues,
};
export const components = {
@@ -363,8 +364,8 @@ export const createDesignableSchemaField = (options) => {
}}
>
// 简单场景,只支持上下拖拽布局
@@ -24,7 +24,7 @@ group:
// 栅格布局,支持行列等复杂的拖拽操作
-
+
// 常规区块
@@ -35,7 +35,11 @@ group:
-## 代码演示
+## Designable Bar
+
+暂无
+
+## Examples
### AddNew.BlockItem
diff --git a/packages/client/src/schemas/block-item/index.md b/packages/client/src/schemas/block-item/index.md
new file mode 100644
index 000000000..02850fad0
--- /dev/null
+++ b/packages/client/src/schemas/block-item/index.md
@@ -0,0 +1,26 @@
+---
+title: BlockItem - 区块项
+nav:
+ title: 组件
+ path: /client
+group:
+ order: 1
+ title: Schemas
+ path: /client/schemas
+---
+
+# BlockItem - 区块项
+
+## Node Tree
+
+通常 BlockItem 并不单独占用一个节点,而是节点的 x-decorator
+
+
+
diff --git a/packages/client/src/schemas/tabs/index.md b/packages/client/src/schemas/tabs/index.md
index 634bc8387..92dbfc4c2 100644
--- a/packages/client/src/schemas/tabs/index.md
+++ b/packages/client/src/schemas/tabs/index.md
@@ -11,7 +11,7 @@ group:
# Tabs - 标签页
-## 组件节点树
+## Node
@@ -24,7 +24,11 @@ group:
-## 代码演示
+## Designable Bar
+
+- Tabs.DesignableBar
+
+## Examples
### 基本使用
diff --git a/packages/client/src/schemas/time-picker/index.md b/packages/client/src/schemas/time-picker/index.md
index f1afef98c..1ce1439a1 100644
--- a/packages/client/src/schemas/time-picker/index.md
+++ b/packages/client/src/schemas/time-picker/index.md
@@ -11,13 +11,17 @@ group:
# TimePicker - 时间选择器
-## 节点树
+## Node Tree
-## 代码演示
+## Designable Bar
+
+- TimePicker.DesignableBar
+
+## Examples
### 日期选择器
diff --git a/packages/client/src/schemas/upload/index.md b/packages/client/src/schemas/upload/index.md
index 7b62a9c5b..697b5dc6c 100644
--- a/packages/client/src/schemas/upload/index.md
+++ b/packages/client/src/schemas/upload/index.md
@@ -11,13 +11,17 @@ group:
# Upload - 上传
-## 节点树
+## Node Tree
-## 代码演示
+## Designable Bar
+
+- Upload.DesignableBar
+
+## Examples
### 上传
diff --git a/packages/client/src/templates/admin-layout/index.md b/packages/client/src/templates/admin-layout/index.md
deleted file mode 100644
index 276c9f236..000000000
--- a/packages/client/src/templates/admin-layout/index.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: AdminLayout - 后台布局
-nav:
- title: 组件
- path: /client
-group:
- order: 2
- title: Templates
- path: /client/templates
----
-
-# AdminLayout - 后台布局
-
-内置的后台布局模板,提供了基础的菜单和路由切换。
diff --git a/packages/client/src/templates/admin-layout/index.tsx b/packages/client/src/templates/admin-layout/index.tsx
deleted file mode 100644
index a3602ed02..000000000
--- a/packages/client/src/templates/admin-layout/index.tsx
+++ /dev/null
@@ -1,229 +0,0 @@
-import React, { useContext, useEffect, useRef, useState } from 'react';
-import {
- Button,
- Spin,
- Layout,
- PageHeader,
- Modal,
- Menu,
- Collapse,
- Dropdown,
-} from 'antd';
-import isEmpty from 'lodash/isEmpty';
-import {
- Link,
- useLocation,
- useRouteMatch,
- useHistory,
- Redirect,
-} from 'react-router-dom';
-import {
- useGlobalAction,
- refreshGlobalAction,
- RouteComponentContext,
-} from '../../';
-import { SchemaRenderer } from '../../schemas';
-import { useRequest } from 'ahooks';
-import {
- DatabaseOutlined,
- PlusOutlined,
- DownOutlined,
-} from '@ant-design/icons';
-import { Tabs } from 'antd';
-import '@formily/antd/esm/array-collapse/style';
-import './style.less';
-import { MenuContainerContext } from '../../schemas/menu';
-
-function LogoutButton() {
- const history = useHistory();
- return (
-