import { ExpressionEditorComponent, ExpressionEditorParam } from '@farris/designer-devkit'; import { IDesignerHost } from '@farris/designer-element'; import { FormExpression, StateMachineService } from '@farris/designer-services'; import { ElementPropertyConfig } from '@farris/ide-property-panel'; import { NoCodeInputProps } from '../../common/property/nocode-input-property-config'; export declare class ImageUploadProp extends NoCodeInputProps { private serviceHost1; stateMachineService: StateMachineService; propertyConfig: ElementPropertyConfig[]; constructor(serviceHost1: IDesignerHost, viewModelId: string, componentId: string); getPropConfig(propertyData: any): ElementPropertyConfig[]; private getBehaviorPropConfig; private getServerPropConfig; private getImageEventPropConfig; /** * table单元格编辑器属性 * @param tdData 单元格数据 * @param viewModelId viewModelId * @returns 属性配置 */ getTableTdEdtiorPropConfig(tdData: any, viewModelId: string): ElementPropertyConfig[]; getPrivateBehaviorPropConfig(propertyData: any, viewModelId: string): ({ propertyID: string; propertyName: string; propertyType: string; description: string; editorParams: { constType: string; editorOptions: { types: string[]; enums: { key: boolean; value: string; }[]; expressionConfig: { editor: typeof ExpressionEditorComponent; beforeOpenModal: () => { editorParams: ExpressionEditorParam; value: any; }; exprValue: { type: string; value: { value: any; parameters: any; type: string; }; }; }; variables?: undefined; getVariables?: undefined; newVariableType?: undefined; newVariablePrefix?: undefined; stateMachine?: undefined; }; controlName?: undefined; }; } | { propertyID: string; propertyName: string; propertyType: string; description: string; editorParams: { controlName: string; constType: string; editorOptions: { types: string[]; enums: { key: boolean; value: string; }[]; variables: any[]; getVariables: () => any[]; newVariableType: string; newVariablePrefix: string; expressionConfig: { editor: typeof ExpressionEditorComponent; beforeOpenModal: () => { editorParams: ExpressionEditorParam; value: any; }; exprValue: { type: string; value: { value: any; parameters: any; type: string; }; }; }; stateMachine: any; }; }; })[]; /** * 获取表达式编辑需要的参数:在属性面板弹出表达式窗口时调用 */ getPrivateExpressionEditorParams(propertyData: any, modalTitle: string, expressionType: string): { editorParams: ExpressionEditorParam; value: any; }; /** * 获取属性编辑器需要的初始绑定值 * @param expField 表达式配置字段 * @param propertyValue 属性值 */ getPrivateExprValue(expField: FormExpression, propertyValue: any): { type: string; value: { value: any; parameters: any; type: string; }; }; }