import { OnDestroy } from '@angular/core' ; import { Store } from '@ngrx/store' ; import { ModalDialogParams } from "nativescript-angular" ; import { BehaviorSubject } from 'rxjs/BehaviorSubject' ; import 'rxjs/add/operator/take' ; import { LogService , BaseComponent } from '../../shared/core/index' ; @ BaseComponent ( { selector : 'integrations' , templateUrl : './components/search/integrations.component.html' } ) export class IntegrationsComponent { public choices : any ; constructor ( private logger , private params ) { } public close ( save ? ) { this . params . closeCallback ( save ? this . choices : null ) ; } ngOnInit ( ) { this . choices = { apple : false , google : false , soundcloud : false , groove : false , pandora : false , amazon : false , plug : false } ; } }