///
///
import * as React from "react";
import { PropertyViewModel } from "./UpForm/UpSchemaFormComponentSelector";
declare type ShouldApplyUpdateRulePolicy = (trackedFieldValue: any) => any;
interface UpdateRule {
trackedField: string;
targetField: string;
policyName: string;
}
export interface UpSchemaFormProps {
initValue?: any;
value?: any;
schema: string | JsonSchema;
onFormChange: (data: any, hasError: boolean) => void;
showError: boolean;
ignoredProperties?: string[];
wrapperClassName?: string;
viewModels?: PropertyViewModel[];
translate?: (text: string) => any;
updateRulePolicies?: ShouldApplyUpdateRulePolicy[];
updateRules?: UpdateRule[];
onSearchButtonClick: (text: string) => any;
}
export default class UpSchemaForm extends React.Component {
static defaultProps: {
showError: boolean;
initValue: {};
};
private errorMemory;
constructor(p: any, c: any);
componentWillReceiveProps(newProps: UpSchemaFormProps): void;
private getSchema;
render(): JSX.Element;
onChange: (e: React.ChangeEvent, newValue: any, hasError: boolean, node: string) => void;
updateState(node: string): void;
private newObject;
private inQueue;
private assingDataOrder;
private AssignValue;
addToQueue: (obj: any, nodes: any, value: any, node: any) => void;
private checkQueue;
}
export {};