import { Component } from '@angular/core' ; import { LanguageService } from '../language.service' ; /**
 * NO-OP
 */ const noOp = ( ) => { } ; /**
 * Language selection modal component
 */ @ Component ( { selector : 'm-languageModal' , templateUrl : 'language-modal.component.html' , } ) export class LanguageModalComponent { /**
     *
     */ onSaveIntent : ( any : any ) => void = noOp ; /**
     *
     */ onDismissIntent : ( ) => void = noOp ; param service constructor ( public service ) { } param onSave set opts ( { onSave } ) { this . onSaveIntent = onSave || noOp ; } param language onSave ( language ) { this . onSaveIntent ( language ) ; } /**
     * Calls DismissIntent.
     */ onDismiss ( ) { this . onDismissIntent ( ) ; } }