UNPKG

armisa-models

Version:
40 lines (39 loc) 1.69 kB
import { AxiosInstance } from "axios"; import { ElementFactory } from "../Page/ElementsOfFormFactory/ElementFactory"; import { IMainStateFactory } from "../Types"; export declare class QTYBoxFactory extends ElementFactory { #private; caption: string; disabled: boolean; readonly: boolean; required: boolean; minLength: number | null; maxLength: number | null; showHasChangeFlag: boolean; dirLeftToRight: boolean; placeHolder?: string | undefined; tabIndex?: number | undefined; forceUpdate: () => void; get value(): number | null; get text(): string; setValue: (value: string | null) => void; deseriallize: (e?: number | null) => void; clearData: () => void; get defaultValue(): number | null; focusToElement: () => void; constructor(_mainStateFactory: IMainStateFactory, _fieldName: string, _dispose: () => void, caption: string, disabled: boolean, readonly: boolean, required: boolean, minLength: number | null, maxLength: number | null, showHasChangeFlag: boolean, dirLeftToRight: boolean, placeHolder?: string | undefined, tabIndex?: number | undefined, initialValue?: number, payLoadKey?: string, responseKey?: string, history?: { key: string; axios: (controllerPath: string) => AxiosInstance; controllerPath: string; actionPath?: string; }); restartDefaultValue: () => void; refreshHasChange: () => void; validate: () => void; private validateNormal; private validateRequired; private validateMinLength; private validateMaxLength; isValueEmpty: () => boolean; isValueNotEmpty: () => boolean; }