UNPKG

@talend/react-containers

Version:

Provide connected components aka containers for @talend/react-cmf based on @talend/react-components.

57 lines (56 loc) 1.83 kB
/** * Convert immutable object to js object */ export function toJS(immutableObject: any): any; /** * Insert titleMap name for corresponding value * Its key is prefixed by '$', this means that it's an internal property * @param schema The schema of the trigger input * @param properties All the form properties * @param value The input value */ export function resolveNameForTitleMap({ schema, properties, value }: { schema: any; properties: any; value: any; }): void; export const DEFAULT_STATE: any; export class TCompForm extends Component<any, any, any> { constructor(props: any); state: {}; onTrigger(event: any, payload: any): any; onChange(_: any, payload: any): void; onSubmit(_: any, properties: any): void; onReset(): void; getUISpec(): { properties: any; jsonSchema: any; uiSchema: any; }; setupTrigger(props: any): void; getMemoizedJsonSchema: import("memoize-one").MemoizedFn<typeof toJS>; getMemoizedUiSchema: import("memoize-one").MemoizedFn<typeof toJS>; getMemoizedInitialState: import("memoize-one").MemoizedFn<typeof toJS>; componentDidUpdate(prevProps: any): void; trigger: ((event: any, { trigger, schema, properties, errors }: { trigger: any; schema: any; properties: any; errors: any; }) => any) | undefined; render(): import("react/jsx-runtime").JSX.Element; } export namespace TCompForm { let ON_CHANGE: string; let ON_SUBMIT: string; let ON_SUBMIT_SUCCEED: string; let ON_SUBMIT_FAILED: string; let ON_TRIGGER_BEGIN: string; let ON_TRIGGER_END: string; let ON_DEFINITION_URL_CHANGED: string; let displayName: string; let propTypes: any; } declare const _default: any; export default _default; import { Component } from 'react';