import {LayoutSection} from "./LayoutSection"; import {ReportItemBase} from "../ReportItemBase"; import {observable} from "mobx"; export abstract class Layout { @observable private _sections:Array = []; protected get sections() { if (! this._sections) { this._sections = []; } return this._sections; } getSections(item: ReportItemBase): Array { return this.sections; } }