import { AuthDelegate } from '../../delegates/auth/AuthDelegate' ; import { WelcomeScreenDelegate } from '../../delegates/welcome/WelcomeScreenDelegate' ; import { SingleScreenStyle } from '../../styles/SingleScreenStyle' ; import { ScreenFactory } from '../ScreenFactory' ; export class WelcomeScreenFactory extends ScreenFactory { public createScreenDelegate ( ) { const navigatorDelegate = this . createNavigatorDelegate ( ) ; const dialogDelegate = this . createDialogDelegate ( SingleScreenStyle . LIGHT_BOX_SCREEN_STYLES ) ; const authDelegate = new AuthDelegate ( this . eventBus ) ; return new WelcomeScreenDelegate ( authDelegate , navigatorDelegate , dialogDelegate ) ; } }