UNPKG

armisa-models

Version:
48 lines (47 loc) 2.06 kB
import { AxiosInstance } from "axios"; import { EnumValidateState } from "../enums"; import { ElementFactory } from "../Page/ElementsOfFormFactory/ElementFactory"; import { IMainStateFactory } from "../Types"; interface ISelectCustomr { type: 0 | 1; code: string; name: string; } export declare class SelectCustomersFactory extends ElementFactory { required: boolean; caption: string; showHasChangeFlag: boolean; axiosData: { axios: (controllerPath: string) => AxiosInstance; controllerPotentialPath: string; controllerActuallyPath: string; listPotentialViewActionPath?: string | undefined; listActuallyActionPath?: string | undefined; }; tabIndex?: number | undefined; payLoadKey?: string | undefined; private onChange?; items: ISelectCustomr[]; get any(): any; showPotentialListView?: () => void; showListView?: () => void; forceUpdate: () => void; constructor(_mainStateFactory: IMainStateFactory, _fieldName: string, _dispose: () => void, required: boolean, caption: string, showHasChangeFlag: boolean, axiosData: { axios: (controllerPath: string) => AxiosInstance; controllerPotentialPath: string; controllerActuallyPath: string; listPotentialViewActionPath?: string | undefined; listActuallyActionPath?: string | undefined; }, tabIndex?: number | undefined, payLoadKey?: string | undefined, responseKey?: string, defaultValue?: [], onChange?: ((e: SelectCustomersFactory) => void) | undefined); focusToElement: () => void; validate: () => true | [string, EnumValidateState]; private defaultValue; restartDefaultValue: () => void; refreshHasChange: () => void; _value: ISelectCustomr[] | undefined | null; get value(): ISelectCustomr[] | undefined | null; setValue(value: ISelectCustomr[] | undefined | null): void; deseriallize: (e?: ISelectCustomr[] | undefined | null) => void; clearData: () => void; } export {};