armisa-models
Version:
models of armisa!
42 lines (41 loc) • 1.97 kB
TypeScript
/// <reference types="react" />
import { ChildOfSubMenuItemFactory } from "./4-MenuChilOfSubMenuItemFactory";
import { ITypeOfFormForRoute } from "./1-MenuFactory";
import { MenuItemFactory } from "./2-MenuItemFactory";
import { IParentFormManager } from "../../Page/ElementsOfFormFactory";
import { INaming } from "../../NamingCaption";
export declare class MenuSubItemFactory {
menuItemFactory: MenuItemFactory;
caption: string;
accounting: boolean;
purchase: boolean;
sale: boolean;
treasury: boolean;
warehouse: boolean;
produce: boolean;
pms: boolean;
costOfGoods: boolean;
payment: boolean;
asset: boolean;
warranty: boolean;
automation: boolean;
dailyDistribution: boolean;
preventindMaintainance: boolean;
workflow: boolean;
path?: string | undefined;
Page?: import("react").ComponentType<{
parentFormManager: IParentFormManager;
}> | undefined;
exact?: boolean | undefined;
onClick?: (() => void) | undefined;
typeOfForm?: ITypeOfFormForRoute | undefined;
visible: boolean;
keyOfSubItem: string;
constructor(menuItemFactory: MenuItemFactory, caption: string, accounting: boolean, purchase: boolean, sale: boolean, treasury: boolean, warehouse: boolean, produce: boolean, pms: boolean, costOfGoods: boolean, payment: boolean, asset: boolean, warranty: boolean, automation: boolean, dailyDistribution: boolean, preventindMaintainance: boolean, workflow: boolean, path?: string | undefined, Page?: import("react").ComponentType<{
parentFormManager: IParentFormManager;
}> | undefined, exact?: boolean | undefined, onClick?: (() => void) | undefined, typeOfForm?: ITypeOfFormForRoute | undefined);
childOfSubMenuItems: ChildOfSubMenuItemFactory[];
addNewSubMenuItem(caption: INaming | string): ChildOfSubMenuItemFactory;
get isAllSystems(): boolean;
get isSystemSelected(): boolean;
}