{"ast":null,"code":"import { __decorate } from \"tslib\";\nimport { Component, Input } from '@angular/core';\nexport let BodyComponent = class BodyComponent {\n  constructor() {\n    this.collapsed = false;\n    this.screenWidth = 0;\n    this.footerscreen = this.screenWidth;\n    this.isSideNavCollapsed = this.collapsed;\n  }\n  getBodyClass() {\n    let styleClass = '';\n    if (this.collapsed && this.screenWidth > 768) {\n      styleClass = 'body-trimmed';\n    } else if (this.collapsed && this.screenWidth <= 768 && this.screenWidth > 0) {\n      styleClass = 'body-md-screen';\n    }\n    return styleClass;\n  }\n};\n__decorate([Input()], BodyComponent.prototype, \"collapsed\", void 0);\n__decorate([Input()], BodyComponent.prototype, \"screenWidth\", void 0);\nBodyComponent = __decorate([Component({\n  selector: 'layout-body',\n  templateUrl: './body.component.html',\n  styleUrls: ['./body.component.scss']\n})], BodyComponent);","map":{"version":3,"names":["Component","Input","BodyComponent","constructor","collapsed","screenWidth","footerscreen","isSideNavCollapsed","getBodyClass","styleClass","__decorate","selector","templateUrl","styleUrls"],"sources":["D:\\web\\EMS_Base\\kot\\src\\app\\layout\\components\\body\\body.component.ts"],"sourcesContent":["import { Component, Input, Output } from '@angular/core';\n\n@Component({\n  selector: 'layout-body',\n  templateUrl: './body.component.html',\n  styleUrls: ['./body.component.scss']\n})\nexport class BodyComponent {\n\n  @Input() collapsed = false;\n  @Input() screenWidth = 0;\n\n\n  footerscreen: number = this.screenWidth;\n  isSideNavCollapsed: boolean = this.collapsed\n\n  getBodyClass(): string {\n    let styleClass = '';\n    if(this.collapsed && this.screenWidth > 768) {\n      styleClass = 'body-trimmed';\n    } else if(this.collapsed && this.screenWidth <= 768 && this.screenWidth > 0) {\n      styleClass = 'body-md-screen'\n    }\n    return styleClass;\n  }\n}\n"],"mappings":";AAAA,SAASA,SAAS,EAAEC,KAAK,QAAgB,eAAe;AAOjD,WAAMC,aAAa,GAAnB,MAAMA,aAAa;EAAnBC,YAAA;IAEI,KAAAC,SAAS,GAAG,KAAK;IACjB,KAAAC,WAAW,GAAG,CAAC;IAGxB,KAAAC,YAAY,GAAW,IAAI,CAACD,WAAW;IACvC,KAAAE,kBAAkB,GAAY,IAAI,CAACH,SAAS;EAW9C;EATEI,YAAYA,CAAA;IACV,IAAIC,UAAU,GAAG,EAAE;IACnB,IAAG,IAAI,CAACL,SAAS,IAAI,IAAI,CAACC,WAAW,GAAG,GAAG,EAAE;MAC3CI,UAAU,GAAG,cAAc;KAC5B,MAAM,IAAG,IAAI,CAACL,SAAS,IAAI,IAAI,CAACC,WAAW,IAAI,GAAG,IAAI,IAAI,CAACA,WAAW,GAAG,CAAC,EAAE;MAC3EI,UAAU,GAAG,gBAAgB;;IAE/B,OAAOA,UAAU;EACnB;CACD;AAhBUC,UAAA,EAART,KAAK,EAAE,C,+CAAmB;AAClBS,UAAA,EAART,KAAK,EAAE,C,iDAAiB;AAHdC,aAAa,GAAAQ,UAAA,EALzBV,SAAS,CAAC;EACTW,QAAQ,EAAE,aAAa;EACvBC,WAAW,EAAE,uBAAuB;EACpCC,SAAS,EAAE,CAAC,uBAAuB;CACpC,CAAC,C,EACWX,aAAa,CAkBzB","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}