{ "version": 3, "sources": ["src/app/main/components/base/base.component.ts"], "sourcesContent": ["import { Component, OnDestroy } from '@angular/core';\r\nimport { Subscription } from 'rxjs';\r\n\r\n@Component({template: ''})\r\nexport class BaseComponent implements OnDestroy {\r\n subscriptions = new Array();\r\n\r\n ngOnDestroy() {\r\n for (const subscription of this.subscriptions) {\r\n subscription.unsubscribe();\r\n }\r\n }\r\n\r\n print() {\r\n window.print();\r\n return false;\r\n }\r\n}\r\n"], "mappings": "yCAIA,IAAaA,GAAa,IAAA,CAApB,IAAOA,EAAP,MAAOA,CAAa,CAD1BC,aAAA,CAEI,KAAAC,cAAgB,IAAIC,MAEpBC,aAAW,CACP,QAAWC,KAAgB,KAAKH,cAC5BG,EAAaC,YAAW,CAEhC,CAEAC,OAAK,CACDC,cAAOD,MAAK,EACL,EACX,yCAZSP,EAAa,sBAAbA,EAAaS,UAAA,CAAA,CAAA,cAAA,CAAA,EAAAC,MAAA,EAAAC,KAAA,EAAAC,SAAA,SAAAC,EAAAC,EAAA,CAAA,EAAAC,cAAA,CAAA,CAAA,EAApB,IAAOf,EAAPgB,SAAOhB,CAAa,GAAA", "names": ["BaseComponent", "constructor", "subscriptions", "Array", "ngOnDestroy", "subscription", "unsubscribe", "print", "window", "selectors", "decls", "vars", "template", "rf", "ctx", "encapsulation", "_BaseComponent"] }