3 export interface IConformanceLevelModalModelScope {
4 footerButtons:Array<any>;
5 modalInstance:ng.ui.bootstrap.IModalServiceInstance;
8 export class ConformanceLevelModalViewModel {
10 static '$inject' = ['$scope', '$uibModalInstance'];
12 constructor(private $scope:IConformanceLevelModalModelScope,
13 private $uibModalInstance:ng.ui.bootstrap.IModalServiceInstance) {
18 private initScope = ():void => {
20 this.$scope.modalInstance = this.$uibModalInstance;
22 this.$scope.footerButtons = [
23 {'name': 'Continue', 'css': 'grey', 'callback': this.$uibModalInstance.close},
24 {'name': 'Reject', 'css': 'blue', 'callback': this.$uibModalInstance.dismiss}