diff --git a/packages/client/src/components/schema-renderer/index.tsx b/packages/client/src/components/schema-renderer/index.tsx
index a1af135b3..27302294a 100644
--- a/packages/client/src/components/schema-renderer/index.tsx
+++ b/packages/client/src/components/schema-renderer/index.tsx
@@ -30,6 +30,7 @@ import { Space, Card, Modal, Spin } from 'antd';
import { ArrayTable } from '../../schemas/array-table';
import { Action } from '../../schemas/action';
import { AddNew } from '../../schemas/add-new';
+import { Calendar } from '../../schemas/calendar';
import { Cascader } from '../../schemas/cascader';
import { Checkbox } from '../../schemas/checkbox';
import { ColorSelect } from '../../schemas/color-select';
@@ -46,6 +47,7 @@ import { IconPicker } from '../../schemas/icon-picker';
import { Input } from '../../schemas/input';
import { InputNumber } from '../../schemas/input-number';
import { Markdown } from '../../schemas/markdown';
+import { Kanban } from '../../schemas/kanban';
import { Menu } from '../../schemas/menu';
import { Password } from '../../schemas/password';
import { Radio } from '../../schemas/radio';
@@ -170,6 +172,7 @@ export const SchemaField = createSchemaField({
Action,
AddNew,
+ Calendar,
Cascader,
Checkbox,
ColorSelect,
@@ -182,6 +185,7 @@ export const SchemaField = createSchemaField({
IconPicker,
Input,
InputNumber,
+ Kanban,
Markdown,
Menu,
Password,
diff --git a/packages/client/src/schemas/add-new/index.tsx b/packages/client/src/schemas/add-new/index.tsx
index dad87cac8..9551343ac 100644
--- a/packages/client/src/schemas/add-new/index.tsx
+++ b/packages/client/src/schemas/add-new/index.tsx
@@ -347,6 +347,123 @@ function generateCardItemSchema(component) {
},
},
},
+ Kanban: {
+ type: 'array',
+ name: 'kanban1',
+ 'x-decorator': 'CardItem',
+ 'x-decorator-props': {
+ style: {
+ background: 'none',
+ },
+ bodyStyle: {
+ padding: 0,
+ },
+ },
+ 'x-designable-bar': 'Kanban.DesignableBar',
+ 'x-component': 'Kanban',
+ default: [
+ {
+ id: '1',
+ type: 'A',
+ title: 'A1',
+ },
+ {
+ id: '2',
+ type: 'A',
+ title: 'A2',
+ },
+ {
+ id: '3',
+ type: 'A',
+ title: 'A3',
+ },
+ {
+ id: '4',
+ type: 'B',
+ title: 'B4',
+ },
+ {
+ id: '5',
+ type: 'B',
+ title: 'B5',
+ },
+ {
+ id: '6',
+ type: 'B',
+ title: 'B6',
+ },
+ {
+ id: '7',
+ type: 'C',
+ title: 'C7',
+ },
+ {
+ id: '8',
+ type: 'C',
+ title: 'C8',
+ },
+ {
+ id: '9',
+ type: 'C',
+ title: 'C9',
+ },
+ ],
+ properties: {
+ card1: {
+ type: 'void',
+ 'x-component': 'Kanban.Card',
+ properties: {
+ item1: {
+ type: 'void',
+ 'x-component': 'Kanban.Item',
+ properties: {
+ title: {
+ type: 'string',
+ // title: '标题',
+ 'x-read-pretty': true,
+ 'x-decorator': 'FormItem',
+ 'x-component': 'Input',
+ },
+ },
+ },
+ },
+ },
+ view1: {
+ type: 'void',
+ 'x-component': 'Kanban.Card.View',
+ properties: {
+ item1: {
+ type: 'void',
+ 'x-component': 'Kanban.Item',
+ properties: {
+ title: {
+ type: 'string',
+ title: '标题',
+ 'x-read-pretty': true,
+ 'x-decorator': 'FormItem',
+ 'x-component': 'Input',
+ },
+ },
+ },
+ },
+ },
+ },
+ },
+ Calendar: {
+ type: 'array',
+ name: 'calendar1',
+ 'x-component': 'Calendar',
+ 'x-designable-bar': 'Calendar.DesignableBar',
+ 'x-decorator': 'CardItem',
+ default: [],
+ properties: {
+ event: {
+ type: 'void',
+ 'x-component': 'Calendar.Event',
+ properties: {},
+ },
+ },
+ },
'Chart.Column': {
type: 'void',
'x-decorator': 'CardItem',
@@ -733,6 +850,12 @@ AddNew.CardItem = observer((props: any) => {
overlay={