mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-03-05 17:57:13 +00:00
feat: 补充物料规范已经定义的部分
This commit is contained in:
parent
c04ec1255d
commit
43a2a2ffbd
@ -13,5 +13,5 @@ export interface SettingEntry extends SettingTarget {
|
|||||||
// 父级
|
// 父级
|
||||||
readonly parent: SettingEntry;
|
readonly parent: SettingEntry;
|
||||||
|
|
||||||
get(propName: string | number): SettingEntry | null;
|
get: (propName: string | number) => SettingEntry | null;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -52,6 +52,10 @@ export interface FieldExtraProps {
|
|||||||
display?: 'accordion' | 'inline' | 'block' | 'plain' | 'popup' | 'entry';
|
display?: 'accordion' | 'inline' | 'block' | 'plain' | 'popup' | 'entry';
|
||||||
// todo 这个 omit 是否合理?
|
// todo 这个 omit 是否合理?
|
||||||
liveTextEditing?: Omit<LiveTextEditingConfig, 'propTarget'>;
|
liveTextEditing?: Omit<LiveTextEditingConfig, 'propTarget'>;
|
||||||
|
/**
|
||||||
|
* 待文档定义
|
||||||
|
*/
|
||||||
|
onChange?: (value: any, field: SettingTarget) => void;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface FieldConfig extends FieldExtraProps {
|
export interface FieldConfig extends FieldExtraProps {
|
||||||
@ -77,4 +81,12 @@ export interface FieldConfig extends FieldExtraProps {
|
|||||||
* extra props for field
|
* extra props for field
|
||||||
*/
|
*/
|
||||||
extraProps?: FieldExtraProps;
|
extraProps?: FieldExtraProps;
|
||||||
|
/**
|
||||||
|
* 待文档定义
|
||||||
|
*/
|
||||||
|
description?: TitleContent;
|
||||||
|
/**
|
||||||
|
* 待文档定义
|
||||||
|
*/
|
||||||
|
isExtends?: boolean;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user