import { ComponentFactory , ComponentFactoryResolver , NgModule , } from '@angular/core' ; import { CommonModule as NgCommonModule } from '@angular/common' ; import { CommonModule } from '../../../common/common.module' ; import { BoostModalComponent } from './boost-modal.component' ; import { LazyModule } from '../../../common/services/modal-lazy-load.service' ; import { BoostModalTabsComponent } from './tabs/boost-modal-tabs.component' ; import { BoostModalAmountInputComponent } from './inputs/amount-input/amount-input.component' ; import { FormsModule , ReactiveFormsModule } from '@angular/forms' ; import { BoostModalPaymentMethodSelectorComponent } from './inputs/payment-method-selector/payment-method-selector.component' ; import { BoostModalOfferTargetInputComponent } from './inputs/offer-target-input/offer-target-input.component' ; const COMPONENTS = [ BoostModalComponent , BoostModalTabsComponent , BoostModalAmountInputComponent , BoostModalPaymentMethodSelectorComponent , BoostModalOfferTargetInputComponent , ] ; const PROVIDERS = [ ] ; const MODULES = [ NgCommonModule , CommonModule , FormsModule , ReactiveFormsModule , ] ; /**
 * Lazy loaded module.
 */ @ NgModule ( { imports : [ ... MODULES ] , declarations : [ ... COMPONENTS ] , exports : [ ... COMPONENTS ] , providers : [ ... PROVIDERS ] , } ) export class BoostModalLazyModule implements LazyModule { constructor ( private componentFactoryResolver ) { } public resolveComponent ( ) { return this . componentFactoryResolver . resolveComponentFactory ( BoostModalComponent ) ; } }