[{"__symbolic":"module","version":3,"metadata":{"PatchesConsoleTabComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../../abstract-subscriber","name":"AbstractSubscriberComponent"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"patches-console-tab","styles":[".list-group-item:hover { background-color: #faebcc; } .list-group-item:hover > .title { text-decoration: underline; } .list-group-item:hover.nested { background-color: #e2dcd1; } .list-group-item .title { cursor: pointer; color: #0074D9; } ",".fa-bolt { color: #e67e22; } .icon-padding-left { padding-left: 8px; } .header-container { padding: 8px; } .header-container > button { margin-right: 4px; margin-left: 4px; } "],"template":"<ng-template tabHeading> <i class=\"fa fa-bolt\"></i> Conflicts <span class=\"badge\">{{patches.length}}</span> </ng-template> <div *ngIf=\"patches && patches.length > 0\" class=\"header-container\"> <ng-template [ngTemplateOutlet]=\"customHeaderTemplate\"></ng-template> <button class=\"btn btn-success\" (click)=\"acceptAll()\">Accept All<i class=\"fa fa-check icon-padding-left\"></i></button> <button class=\"btn btn-danger\" (click)=\"rejectAll()\">Reject All<i class=\"fa fa-times icon-padding-left\"></i></button> </div> <ul class=\"list-group\"> <li *ngFor=\"let path of patchesByPath | keys | sortAlphabetically\" class=\"list-group-item\"> <span *ngIf=\"patchesByPath[path].length === 1\" (click)=\"focusPatch(patchesByPath[path][0])\" role=\"button\" class=\"title\"> <i class=\"fa fa-bolt\"></i> {{patchesByPath[path][0].path}} - {{patchesByPath[path][0].op}} </span> <ng-container *ngIf=\"patchesByPath[path].length > 1\"> <span class=\"title\" role=\"button\" [attr.aria-controls]=\"path + '-collapse'\" (click)=\"collapse.toggle()\"> <i class=\"fa fa-expand\"></i> {{path}} ({{patchesByPath[path].length}}) </span> <ul class=\"list-group\" #collapse=\"bs-collapse\" [collapse]=\"true\" [attr.id]=\"path + '-collapse'\"> <li *ngFor=\"let patch of patchesByPath[path]\" class=\"list-group-item nested\"> <span class=\"title\" (click)=\"focusPatch(patch)\" role=\"button\"> <i class=\"fa fa-bolt\"></i> {{patch.path}} - {{patch.op}} </span> </li> </ul> </ng-container> </li> </ul> ","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy"},"member":"OnPush"}}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../../shared/services","name":"DomUtilService"},{"__symbolic":"reference","module":"../../shared/services","name":"AppGlobalsService"},{"__symbolic":"reference","module":"../../shared/services","name":"JsonStoreService"},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"}]}],"ngOnInit":[{"__symbolic":"method"}],"focusPatch":[{"__symbolic":"method"}],"acceptAll":[{"__symbolic":"method"}],"rejectAll":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"PatchesConsoleTabComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../../abstract-subscriber","name":"AbstractSubscriberComponent"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"patches-console-tab","styles":[".list-group-item:hover { background-color: #faebcc; } .list-group-item:hover > .title { text-decoration: underline; } .list-group-item:hover.nested { background-color: #e2dcd1; } .list-group-item .title { cursor: pointer; color: #0074D9; } ",".fa-bolt { color: #e67e22; } .icon-padding-left { padding-left: 8px; } .header-container { padding: 8px; } .header-container > button { margin-right: 4px; margin-left: 4px; } "],"template":"<ng-template tabHeading> <i class=\"fa fa-bolt\"></i> Conflicts <span class=\"badge\">{{patches.length}}</span> </ng-template> <div *ngIf=\"patches && patches.length > 0\" class=\"header-container\"> <ng-template [ngTemplateOutlet]=\"customHeaderTemplate\"></ng-template> <button class=\"btn btn-success\" (click)=\"acceptAll()\">Accept All<i class=\"fa fa-check icon-padding-left\"></i></button> <button class=\"btn btn-danger\" (click)=\"rejectAll()\">Reject All<i class=\"fa fa-times icon-padding-left\"></i></button> </div> <ul class=\"list-group\"> <li *ngFor=\"let path of patchesByPath | keys | sortAlphabetically\" class=\"list-group-item\"> <span *ngIf=\"patchesByPath[path].length === 1\" (click)=\"focusPatch(patchesByPath[path][0])\" role=\"button\" class=\"title\"> <i class=\"fa fa-bolt\"></i> {{patchesByPath[path][0].path}} - {{patchesByPath[path][0].op}} </span> <ng-container *ngIf=\"patchesByPath[path].length > 1\"> <span class=\"title\" role=\"button\" [attr.aria-controls]=\"path + '-collapse'\" (click)=\"collapse.toggle()\"> <i class=\"fa fa-expand\"></i> {{path}} ({{patchesByPath[path].length}}) </span> <ul class=\"list-group\" #collapse=\"bs-collapse\" [collapse]=\"true\" [attr.id]=\"path + '-collapse'\"> <li *ngFor=\"let patch of patchesByPath[path]\" class=\"list-group-item nested\"> <span class=\"title\" (click)=\"focusPatch(patch)\" role=\"button\"> <i class=\"fa fa-bolt\"></i> {{patch.path}} - {{patch.op}} </span> </li> </ul> </ng-container> </li> </ul> ","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy"},"member":"OnPush"}}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../../shared/services","name":"DomUtilService"},{"__symbolic":"reference","module":"../../shared/services","name":"AppGlobalsService"},{"__symbolic":"reference","module":"../../shared/services","name":"JsonStoreService"},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"}]}],"ngOnInit":[{"__symbolic":"method"}],"focusPatch":[{"__symbolic":"method"}],"acceptAll":[{"__symbolic":"method"}],"rejectAll":[{"__symbolic":"method"}]}}}}]