import { Ref } from 'vue'; import { FieldInfo, SelectOption } from 'star-horse-lowcode'; export declare const urlReturnDataHelpMsg: any; /** * 验证接口 * @param formProps * @param dataSourceRef * @param recall * @param validForm * @param formData */ export declare function validInterface(formProps: any, dataSourceRef: any, recall: Function, validForm?: boolean, formData?: any, onlyUrl?: boolean): Promise; /** * 创建数据 * @param dataSourceRef * @param dataList * @param needDynamicData */ export declare function createData(dataSourceRef: any, dataList: any, needDynamicData?: boolean): { reDataList: SelectOption[]; errorMsg: string; }; /** * 获取URL配置字段列表 * @param interfaceUtils 接口工具对象,包含interfaceDatas, methodList, interfaceList, fieldList, disableUrl等 * @param options 配置选项 * @returns URL配置字段列表 */ export declare function getUrlFieldConfig(interfaceUtils: any, options?: any): any; export declare const validOperation: (val: any, dataSourceRef: Ref, fieldList: Ref, disableUrl: Ref, validForm?: boolean, formData?: any, onlyUrl?: boolean) => Promise; /** * 数据源属性配置 */ export declare function dataSourceFields(dataSourceRef: Ref, envList: Array, _recall: Function): void; /** * 组件参数属性配置 * @param fieldName * @param item */ export declare function urlFields(): any[]; /** * 获取接口相关的工具函数和响应式数据 */ export declare function getInterfaceUtils(): { interfaceDatas: Ref; methodList: Ref<{ name?: string; value?: string | number; disabled?: string; helpMsg?: string; children?: /*elided*/ any[]; }[], SelectOption[] | { name?: string; value?: string | number; disabled?: string; helpMsg?: string; children?: /*elided*/ any[]; }[]>; interfaceList: Ref<{ name?: string; value?: string | number; disabled?: string; helpMsg?: string; children?: /*elided*/ any[]; }[], SelectOption[] | { name?: string; value?: string | number; disabled?: string; helpMsg?: string; children?: /*elided*/ any[]; }[]>; fieldList: Ref<{ name?: string; value?: string | number; disabled?: string; helpMsg?: string; children?: /*elided*/ any[]; }[], SelectOption[] | { name?: string; value?: string | number; disabled?: string; helpMsg?: string; children?: /*elided*/ any[]; }[]>; disableUrl: Ref; loadInterface: (serviceName: string) => void; loadMethods: (interName: string) => void; }; /** * 组件参数属性配置 * @param fieldName * @param item */ export declare function paramsFields(paramsConfigRef: Ref, fieldName: string, item: any, returnField?: boolean): any; export declare function buttonClickDataField(): { fieldList?: FieldInfo[] | any; containerFields?: { containerType?: string; title?: string; subTablePrimaryKey?: string; subFormFlag?: string; primaryKey?: string | Array; disabled?: boolean; preps?: Record; formVisible?: boolean; subTableName?: string; headerFieldList?: { label?: string; fieldName: string; hideFieldName?: string; aliasName?: string; helpMsg?: string; id?: string; type?: string; listPrototypeDisplay?: boolean; required?: boolean; formVisible?: boolean; listVisible?: boolean; viewVisible?: boolean; visiblePlatform?: string; minWidth?: number; disabled?: boolean; editDisabled?: boolean; containerType?: string; containerFields?: /*elided*/ any[]; defaultValue?: any; actions?: Function | Record; precision?: number; preps?: Record; prefix?: string; matchType?: string; displayStyle?: string; brotherNodes?: /*elided*/ any[]; priority?: number; searchVisible?: boolean; rules?: import('star-horse-lowcode').RuleType[] | any; addActions?: Function | string; editActions?: Function | string; removeActions?: Function | string; children?: /*elided*/ any[]; staticData?: boolean; }[]; fieldList: { label?: string; fieldName: string; hideFieldName?: string; aliasName?: string; helpMsg?: string; id?: string; type?: string; listPrototypeDisplay?: boolean; required?: boolean; formVisible?: boolean; listVisible?: boolean; viewVisible?: boolean; visiblePlatform?: string; minWidth?: number; disabled?: boolean; editDisabled?: boolean; containerType?: string; containerFields?: /*elided*/ any[]; defaultValue?: any; actions?: Function | Record; precision?: number; preps?: Record; prefix?: string; matchType?: string; displayStyle?: string; brotherNodes?: /*elided*/ any[]; priority?: number; searchVisible?: boolean; rules?: import('star-horse-lowcode').RuleType[] | any; addActions?: Function | string; editActions?: Function | string; removeActions?: Function | string; children?: /*elided*/ any[]; staticData?: boolean; }[]; containerFields?: /*elided*/ any[]; tableFlag?: string; mapping?: "1" | "n"; }[]; userTableFuncs?: { authority?: string; funcName?: string | Function; btnName?: string; icon?: string; priority?: number; helpMsg?: string; disabled?: string; position?: "table" | "toolbar"; override?: boolean; children?: /*elided*/ any[]; }[]; stopAutoLoad?: boolean; cellEditable?: boolean; orderBy?: { fieldName: string; orderBy: string; }[]; conditions?: { propertyName?: string; operation?: string | null; value?: any; orOperList?: /*elided*/ any[]; }[]; subTableName?: string; sameTable?: boolean; primaryKey?: string | Array; priority?: number; }; export declare const linkPolicyTypeEvent: SelectOption[]; /** * 关联 * @param preps 当前组件参数 * @param model 模式 */ export declare function relationDataField(preps: any, model: string): any; /** * 给组件添加placeholder属性 * @param item * @param itemType */ export declare function fieldPlaceholder(item: any, compInfo?: any): void; /** * 定义所有组件的公共属性 */ export declare function compCommonFields(customerValid: Function, isNumber: boolean): FieldInfo[];