|
@@ -33,37 +33,37 @@ export const createComponentSchema = (component: ISchema, decorator: ISchema) =>
|
|
|
properties: {
|
|
|
'x-decorator-props': decorator
|
|
|
}
|
|
|
- },
|
|
|
- 'component-style-group': {
|
|
|
- type: 'void',
|
|
|
- 'x-component': 'CollapseItem',
|
|
|
- 'x-component-props': { defaultExpand: false },
|
|
|
- 'x-reactions': {
|
|
|
- fulfill: {
|
|
|
- state: {
|
|
|
- visible: '{{!!$form.values["x-component"]}}'
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- properties: {
|
|
|
- 'x-component-props.style': AllSchemas.CSSStyle
|
|
|
- }
|
|
|
- },
|
|
|
- 'decorator-style-group': {
|
|
|
- type: 'void',
|
|
|
- 'x-component': 'CollapseItem',
|
|
|
- 'x-component-props': { defaultExpand: false },
|
|
|
- 'x-reactions': {
|
|
|
- fulfill: {
|
|
|
- state: {
|
|
|
- visible: '{{!!$form.values["x-decorator"]}}'
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- properties: {
|
|
|
- 'x-decorator-props.style': AllSchemas.CSSStyle
|
|
|
- }
|
|
|
}
|
|
|
+ // 'component-style-group': {
|
|
|
+ // type: 'void',
|
|
|
+ // 'x-component': 'CollapseItem',
|
|
|
+ // 'x-component-props': { defaultExpand: false },
|
|
|
+ // 'x-reactions': {
|
|
|
+ // fulfill: {
|
|
|
+ // state: {
|
|
|
+ // visible: '{{!!$form.values["x-component"]}}'
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // properties: {
|
|
|
+ // 'x-component-props.style': AllSchemas.CSSStyle
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // 'decorator-style-group': {
|
|
|
+ // type: 'void',
|
|
|
+ // 'x-component': 'CollapseItem',
|
|
|
+ // 'x-component-props': { defaultExpand: false },
|
|
|
+ // 'x-reactions': {
|
|
|
+ // fulfill: {
|
|
|
+ // state: {
|
|
|
+ // visible: '{{!!$form.values["x-decorator"]}}'
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // properties: {
|
|
|
+ // 'x-decorator-props.style': AllSchemas.CSSStyle
|
|
|
+ // }
|
|
|
+ // }
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -78,11 +78,11 @@ export const createFieldSchema = (
|
|
|
type: 'void',
|
|
|
'x-component': 'CollapseItem',
|
|
|
properties: {
|
|
|
- name: {
|
|
|
- type: 'string',
|
|
|
- 'x-decorator': 'FormItem',
|
|
|
- 'x-component': 'Input'
|
|
|
- },
|
|
|
+ // name: {
|
|
|
+ // type: 'string',
|
|
|
+ // 'x-decorator': 'FormItem',
|
|
|
+ // 'x-component': 'Input'
|
|
|
+ // },
|
|
|
title: {
|
|
|
type: 'string',
|
|
|
'x-decorator': 'FormItem',
|