@wufengteam/inputs
Version:
平台提供的右侧属性编辑器,需要在主工程中注册
74 lines (73 loc) • 1.28 kB
TypeScript
export interface FiledInfo {
/**
* 表单字段所使用组件类型
*/
compType: string;
/**
* 表单字段name
*/
attrCode: string;
/**
* 表单字段label
*/
attrName: string;
}
interface InitialValue {
/**
* 表单字段所使用组件类型
*/
compType: string;
/**
* 表单字段name
*/
attrCode: string;
/**
* 表单字段label
*/
attrName: string;
}
export interface InnerDataLinkageRuleProps {
/**
* 表单项提交函数
*/
onChange?: (value?: any) => void;
/**
* dsl实例
*/
DSLCore?: any;
/**
* 控件初始值
*/
initialValue?: InitialValue[];
/**
* 控件提示语
*/
tooltipText?: string;
}
export interface FieldsSetModalProps {
/**
* 表单项提交函数
*/
onChange?: (value?: InitialValue[]) => void;
/**
* 选数据时显示字段
*/
selectFields?: FiledInfo[];
/**
* 弹窗显隐
*/
visible: boolean;
/**
* 关闭弹窗回调
*/
onCancel: () => void;
/**
* 控件初始值
*/
initialValue?: InitialValue[];
/**
* 表单目录id
*/
catalogItemId: string;
}
export {};