UNPKG

armisa-models

Version:
42 lines (41 loc) 1.74 kB
import { AxiosInstance } from "axios"; import { EnumValidateState } from "../enums"; import { ElementFactory } from "../Page/ElementsOfFormFactory/ElementFactory"; import { IMainStateFactory } from "../Types"; interface ISelectPerson { id: number; name: string; } export declare class SelectPersonFactory extends ElementFactory { required: boolean; caption: string; showHasChangeFlag: boolean; axiosData: { axios: (controllerPath: string) => AxiosInstance; controllerPath: string; listViewActionPath?: string; }; tabIndex?: number | undefined; payLoadKey?: string | undefined; private onChange?; items: ISelectPerson[]; get any(): any; showListView?: () => void; forceUpdate: () => void; constructor(_mainStateFactory: IMainStateFactory, _fieldName: string, _dispose: () => void, required: boolean, caption: string, showHasChangeFlag: boolean, axiosData: { axios: (controllerPath: string) => AxiosInstance; controllerPath: string; listViewActionPath?: string; }, tabIndex?: number | undefined, payLoadKey?: string | undefined, responseKey?: string, defaultValue?: [], onChange?: ((e: SelectPersonFactory) => void) | undefined); focusToElement: () => void; validate: () => true | [string, EnumValidateState]; private defaultValue; restartDefaultValue: () => void; refreshHasChange: () => void; _value: ISelectPerson[] | undefined | null; get value(): ISelectPerson[] | undefined | null; setValue(value: ISelectPerson[] | undefined | null): void; deseriallize: (e?: ISelectPerson[] | undefined | null) => void; clearData: () => void; } export {};