Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
ui-component-library / dist / typings / src / forms / form / typings.d.ts
Size: Mime:
/// <reference types="react" />
import { Serializable } from 'exotic';
import { InputType } from '../input/typings.inputs';
import { InputStateType } from '../input/typings';
export interface InputStateOptions {
}
export interface InputStateFromArgs {
    inputsList: Array<InputStateOptions>;
}
/**
 * === typescript types
 */
export interface KeyValueSpreadType {
    key: string;
    value: any;
}
export interface GetInputValueType {
    (input: InputType): Serializable;
}
export declare type ClassNameArg = string | Serializable | Array<string>;
export interface ObserverFormClassListType {
    form: ClassNameArg;
    submitButton: ClassNameArg;
    cancelButton: ClassNameArg;
    buttonGroup: ClassNameArg;
}
export interface FormStateType {
    name: string;
    hasAllValidInputs: boolean;
    inputsList: Array<InputStateType>;
    form: HTMLFormElement;
}
export interface ObserverFormType {
    state: FormStateType;
    classList?: ObserverFormClassListType;
    wording?: Object;
    Wrap: React.ClassicComponentClass;
    Input: React.ClassicComponentClass;
    onPrefil(inputState: InputStateType): InputStateType;
    /**
     * @private
     */
    _onPrefil(inputState: InputStateType): InputStateType;
    renderInput(inputState: InputStateType): HTMLInputElement;
    renderInputList(): Array<HTMLInputElement>;
    validateForm(): never;
}
export { ObserverFormType as ObserverFormProps };