{"version":3,"file":"statusDirective.js","sourceRoot":"","sources":["../../../../src/modules/directives/master/statusDirective.ts"],"names":[],"mappings":"AAAA,IAAO,UAAU,CAmChB;AAnCD,WAAO,UAAU;IACb,IAAc,MAAM,CAiCnB;IAjCD,WAAc,MAAM;QAKhB;YAYI,yBAAoB,aAA+C;gBAA/C,kBAAa,GAAb,aAAa,CAAkC;gBAXnE,aAAQ,GAAG,GAAG,CAAC;gBACf,eAAU,GAAG,mBAAmB,CAAC;gBACjC,iBAAY,GAAG,mBAAmB,CAAC;gBACnC,gBAAW,GAAG,iEAAiE,CAAC;gBAChF,UAAK,GAAG;oBACJ,UAAU,EAAE,GAAG;oBACf,YAAY,EAAE,GAAG;oBACjB,IAAI,EAAE,GAAG;oBACT,UAAU,EAAE,GAAG;iBAClB,CAAA;gBAKD,SAAI,GAAG,UAAC,MAA2B,EAAE,QAA6B;gBAGlE,CAAC,CAAA;YALD,CAAC;YAOM,uBAAO,GAAd;gBACI,IAAM,SAAS,GAAG,UAAC,aAAa,IAAK,OAAA,IAAI,eAAe,CAAC,aAAa,CAAC,EAAlC,CAAkC,CAAC;gBACxE,SAAS,CAAC,OAAO,GAAG,CAAC,eAAe,CAAC,CAAC;gBAEtC,OAAO,SAAS,CAAC;YACrB,CAAC;YACL,sBAAC;QAAD,CAAC,AA1BD,IA0BC;QA1BY,sBAAe,kBA0B3B,CAAA;QACD,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,kBAAkB,EAAE,eAAe,CAAC,OAAO,EAAE,CAAC,CAAC;IACnF,CAAC,EAjCa,MAAM,GAAN,iBAAM,KAAN,iBAAM,QAiCnB;AACL,CAAC,EAnCM,UAAU,KAAV,UAAU,QAmChB","sourcesContent":["module directives {\r\n export module master {\r\n interface IStatusControlScope extends ng.IScope {\r\n ngDisabled: boolean;\r\n }\r\n\r\n export class statusDirective implements ng.IDirective {\r\n restrict = 'E';\r\n controller = 'statusControlCtrl';\r\n controllerAs = 'statusControlCtrl';\r\n templateUrl = 'templates/modules/applicationmain/master/statusControlView.html';\r\n scope = {\r\n statusData: '=',\r\n statusUpdate: '&',\r\n form: \"=\",\r\n ngDisabled: \"=\"\r\n }\r\n\r\n constructor(private statusService: interfaces.master.IStatusService) {\r\n }\r\n\r\n link = ($scope: IStatusControlScope, $element: ng.IAugmentedJQuery) => {\r\n \r\n\r\n }\r\n\r\n static factory(): ng.IDirectiveFactory {\r\n const directive = (statusService) => new statusDirective(statusService);\r\n directive.$inject = ['statusService'];\r\n\r\n return directive;\r\n }\r\n }\r\n angular.module(\"app\").directive(\"gtsStatusControl\", statusDirective.factory());\r\n }\r\n}"]}