UNPKG

@wufengteam/inputs

Version:

平台提供的右侧属性编辑器,需要在主工程中注册

102 lines (101 loc) 1.83 kB
export interface FiledInfo { /** * 表单字段所使用组件类型 */ compType: string; /** * 表单字段name */ attrCode: string; /** * 表单字段label */ attrName: string; } interface InitialValue { /** * 填充字段name */ fieldInfo: { name: string; compType: string; attrName: string; attrId: string; busiObjectId: string; catalogItemId: string; }; /** * 被填充字段name */ fillFieldInfo: { name: string; compType: string; }; } export interface InnerDataLinkageRuleProps { /** * 表单项提交函数 */ onChange?: (value?: any) => void; /** * dsl实例 */ DSLCore?: any; /** * 控件初始值 */ initialValue?: InitialValue[]; } export interface RuleSetModalProps { /** * 表单项提交函数 */ onChange?: (value?: InitialValue[]) => void; /** * 关联表单的字段列表 */ fieldList?: FiledInfo[]; /** * 本地表单的字段列表 */ localFieldList?: FiledInfo[]; /** * 弹窗显隐 */ visible: boolean; /** * 关闭弹窗回调 */ onCancel: () => void; /** * 控件初始值 */ initialValue?: InitialValue[]; /** * 表单目录id */ catalogItemId: string; } export interface RuleSetProps { /** * 表单项值 */ value?: InitialValue; /** * 表单项提交函数 */ onChange?: (value?: InitialValue) => void; /** * 关联表单字段 */ fieldList?: FiledInfo[]; /** * 本地表单字段 */ localFieldList?: FiledInfo[]; /** * 表单目录id */ catalogItemId: string; } export {};