UNPKG

armisa-models

Version:
34 lines (33 loc) 1.39 kB
import { AxiosInstance } from "axios"; import { ElementFactory } from "../Page/ElementsOfFormFactory/ElementFactory"; import { IMainStateFactory } from "../Types"; export declare class PercentBoxFactory extends ElementFactory { #private; caption: string; disabled: boolean; readonly: boolean; required: boolean; showHasChangeFlag: boolean; 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, showHasChangeFlag: boolean, 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; isValueEmpty: () => boolean; isValueNotEmpty: () => boolean; }