UNPKG

armisa-models

Version:
27 lines (26 loc) 1.15 kB
import { ElementFactory } from "../Page/ElementsOfFormFactory/ElementFactory"; import { IMainStateFactory } from "../Types"; export declare class SidbarFactory extends ElementFactory { #private; tabIndex?: number | undefined; restartDefaultValue: () => void; refreshHasChange: () => void; validate: () => void; deseriallize: (jsonValue: any) => void; clearData: () => void; isActiveItem: (slidItemFactory: SidItemFactory) => boolean; forceUpdate: () => void; items: SidItemFactory[]; addNewItem: (caption: string, value: number, icon?: string) => void; get value(): number | null; setValue: (value: SidItemFactory) => void; get defaultValue(): SidItemFactory | null; constructor(_mainStateFactory: IMainStateFactory, _fieldName: string, _dispose: () => void, tabIndex?: number | undefined, payLoadKey?: string); } export declare class SidItemFactory { SlidbarFactory: SidbarFactory; caption: string; value: number; icon?: string | undefined; constructor(SlidbarFactory: SidbarFactory, caption: string, value: number, icon?: string | undefined); }