{"version":3,"file":"dashboardDirective.js","sourceRoot":"","sources":["../../../../src/modules/directives/applicationcore/dashboardDirective.ts"],"names":[],"mappings":"AAAA,IAAO,UAAU,CAoChB;AApCD,WAAO,UAAU;IACb,IAAc,eAAe,CAkC5B;IAlCD,WAAc,eAAe;QAMzB;YAMI,4BACY,QAA6B;gBADzC,iBAKC;gBAJW,aAAQ,GAAR,QAAQ,CAAqB;gBANzC,aAAQ,GAAG,EAAE,CAAC;gBACd,UAAK,GAAG;oBACJ,YAAY,EAAG,GAAG;iBACrB,CAAA;gBASD,SAAI,GAAG,UAAC,MAAuB,EAAE,QAA6B,EAAE,MAAM;oBAClE,IAAI,iBAAiB,GAAG,GAAG,GAAG,MAAM,CAAC,YAAY,GAAG,KAAK,GAAC,MAAM,CAAC,YAAY,GAAG,GAAG,CAAC;oBACpF,QAAQ,CAAC,MAAM,CAAC,KAAI,CAAC,QAAQ,CAAC,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;gBAC9D,CAAC,CAAA;YALD,CAAC;YAQM,0BAAO,GAAd;gBACI,IAAM,SAAS,GAAG,UAAC,QAAQ,IAAK,OAAA,IAAI,kBAAkB,CAAC,QAAQ,CAAC,EAAhC,CAAgC,CAAC;gBACjE,SAAS,CAAC,OAAO,GAAG,CAAC,UAAU,CAAC,CAAC;gBAEjC,OAAO,SAAS,CAAC;YACrB,CAAC;YACL,yBAAC;QAAD,CAAC,AAzBD,IAyBC;QAzBY,kCAAkB,qBAyB9B,CAAA;QAED,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,cAAc,EAAE,kBAAkB,CAAC,OAAO,EAAE,CAAC,CAAC;IAClF,CAAC,EAlCa,eAAe,GAAf,0BAAe,KAAf,0BAAe,QAkC5B;AACL,CAAC,EApCM,UAAU,KAAV,UAAU,QAoChB","sourcesContent":["module directives {\r\n export module applicationcore {\r\n\r\n interface IDashboardScope extends ng.IScope {\r\n gtsDirective : string\r\n }\r\n\r\n export class dashboardDirective implements ng.IDirective {\r\n template = ``;\r\n scope = {\r\n gtsDirective : \"=\"\r\n }\r\n\r\n constructor(\r\n private $compile : ng.ICompileService\r\n\r\n ) {\r\n \r\n }\r\n\r\n link = ($scope: IDashboardScope, $element: ng.IAugmentedJQuery, $state) => {\r\n var generatedTemplate = '<' + $scope.gtsDirective + '>';\r\n $element.append(this.$compile(generatedTemplate)($scope));\r\n }\r\n\r\n\r\n static factory(): ng.IDirectiveFactory {\r\n const directive = ($compile) => new dashboardDirective($compile);\r\n directive.$inject = [\"$compile\"];\r\n\r\n return directive;\r\n }\r\n }\r\n\r\n angular.module(\"app\").directive(\"gtsDashboard\", dashboardDirective.factory());\r\n }\r\n}"]}