import {Component, Input,Output, EventEmitter, ViewChild} from '@angular/core'; import {Observable} from 'rxjs/Observable'; import { Router} from '@angular/router'; import {ContextsService} from './service/contexts.service'; import {ClaimContext} from './claimEntities.class'; import { StaticAutoCompleteComponent } from '../../utils/staticAutoComplete/staticAutoComplete.component'; declare var UIkit:any; import {Session} from '../../login/utils/helper.class'; import {ErrorCodes} from '../../login/utils/guardHelper.class'; import{EnvProperties} from '../../utils/properties/env-properties'; @Component({ // moduleId: module.id, selector: 'claim-contexts-search-form', template: `