UNPKG

armisa-models

Version:
21 lines (20 loc) 744 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ChildOfSubMenuItemFactory = void 0; class ChildOfSubMenuItemFactory { constructor(subMenuItemFactory, caption, path, Page, exact, onClick) { this.subMenuItemFactory = subMenuItemFactory; this.caption = caption; this.path = path; this.Page = Page; this.exact = exact; this.onClick = onClick; this.visible = true; this.systems = []; this.keyOfChildSubItem = this.subMenuItemFactory.childOfSubMenuItems.length + 'childOfSubMenuItems'; } isSystemSelected() { return this.visible; } } exports.ChildOfSubMenuItemFactory = ChildOfSubMenuItemFactory;