import { ObservableSetManagementScreen } from '@ulangi/ulangi-observable' ; import { FetchSetDelegate } from '../../delegates/set/FetchSetDelegate' ; import { SetActionMenuDelegate } from '../../delegates/set/SetActionMenuDelegate' ; import { SetManagementScreenDelegate } from '../../delegates/set/SetManagementScreenDelegate' ; import { SecondaryScreenStyle } from '../../styles/SecondaryScreenStyle' ; import { ScreenFactory } from '../ScreenFactory' ; export class SetManagementScreenFactory extends ScreenFactory { public createScreenDelegate ( observableScreen ) { const setActionMenuDelegate = new SetActionMenuDelegate ( this . eventBus , this . props . observableLightBox , this . createNavigatorDelegate ( ) , SecondaryScreenStyle . LIGHT_BOX_SCREEN_STYLES ) ; const fetchSetDelegate = new FetchSetDelegate ( this . eventBus ) ; return new SetManagementScreenDelegate ( this . eventBus , this . props . observableConverter , observableScreen , fetchSetDelegate , setActionMenuDelegate ) ; } }