import { ObservableFeatureManagementScreen } from '@ulangi/ulangi-observable' ; import { FeatureManagementScreenDelegate } from '../../delegates/learn/FeatureManagementScreenDelegate' ; import { FeatureSettingsDelegate } from '../../delegates/learn/FeatureSettingsDelegate' ; import { SecondaryScreenStyle } from '../../styles/SecondaryScreenStyle' ; import { ScreenFactory } from '../ScreenFactory' ; export class FeatureManagementScreenFactory extends ScreenFactory { public createFeatureSettingsDelegate ( ) { return new FeatureSettingsDelegate ( this . props . rootStore . setStore ) ; } public createScreenDelegate ( observableScreen ) { const dialogDelegate = this . createDialogDelegate ( SecondaryScreenStyle . LIGHT_BOX_SCREEN_STYLES ) ; return new FeatureManagementScreenDelegate ( this . eventBus , this . props . rootStore . setStore , observableScreen , dialogDelegate ) ; } }