/**
 * 查询所关联表单数据的过滤条件
 */
export interface FilterListItem {
    /**
     * 本表单的字段编码
     */
    sourceAttrCode: string;
    /**
     * 所关联表单的字段编码
     */
    targetCompCode: string;
    /**
     * 本表单的字段编码对应的字段值
     */
    formData: string;
    /**
     * 本表单的字段数据和所关联表单的字段数据匹配规则
     */
    operator: string;
    /**
     * 每条过滤条件之间的关系 或：false 且：true
     */
    or: boolean;
}
/**
 * 查询所关联表单数据的接口参数
 */
export interface QueryBindFormDataParames {
    /**
     * 页码
     */
    pageNum: number;
    /**
     * 每页条数
     */
    pageSize: number;
    /**
     * 所关联表单appId
     */
    targetAppId: string;
    /**
     * 所关联表单的业务id
     */
    targetBusiObjectId: string;
    /**
     * 查询所关联表单数据的字段编码集合
     */
    showCompCodeList: string[];
    /**
     *  查询所关联表单数据的过滤条件集合
     */
    filterList: FilterListItem[];
}
/**
 * 关联查询表单显示字段
 */
export interface SelectAttrItem {
    value: any;
    busiObjectId: string;
    /**
     * 字段编码
     */
    attrCode: string;
    /**
     * 字段名称
     */
    attrName: string;
}
/**
 * 关联查询数据过滤条件
 */
export interface FilterAttrItem {
    /**
     * 所关联表单的字段编码
     */
    attrCode: string;
    /**
     * 本表单的字段数据和所关联表单的字段数据匹配规则
     */
    screenCondition: string;
    /**
     * 每条过滤条件之间的关系 或：or 且：and
     */
    screenConnection: 'or' | 'and';
    /**
     * 本表单的字段编码
     */
    screenInput: string;
}
/**
 * 所关联表单信息
 */
export interface BindFormInfo {
    /**
     * 应用ID
     */
    appId: string;
    /**
     * 表单目录id
     */
    catalogItemId: string;
    /**
     * 表单名称
     */
    catalogItemName: string;
    /**
     * 表单类型
     */
    catalogItemType: string;
}
/**
 * 关联查询配置态组件属性
 */
export interface DataQueryEDProps {
    selectAttr: SelectAttrItem[];
}
/**
 * 关联查询运行态组件数据
 */
export interface DataQueryProps {
    onChange: (value: string) => void;
    /**
     * 显示字段
     */
    selectAttr: SelectAttrItem[];
    /**
     * 数据过滤条件
     */
    filterAttr: FilterAttrItem[];
    /**
     * 所关联表单的信息
     */
    bindForm: BindFormInfo;
    /**
     * 上下文表单实例
     */
    form: any;
    getEngineApis: any;
    forwardedRef?: any;
}
