|
|
@ -28,6 +28,7 @@ import { |
|
|
CustomDialogContainerComponent, |
|
|
CustomDialogContainerComponent, |
|
|
CustomDialogContainerData |
|
|
CustomDialogContainerData |
|
|
} from '@home/components/widget/dialog/custom-dialog-container.component'; |
|
|
} from '@home/components/widget/dialog/custom-dialog-container.component'; |
|
|
|
|
|
import { SharedHomeComponentsModule } from '@home/components/shared-home-components.module'; |
|
|
|
|
|
|
|
|
@Injectable() |
|
|
@Injectable() |
|
|
export class CustomDialogService { |
|
|
export class CustomDialogService { |
|
|
@ -44,7 +45,7 @@ export class CustomDialogService { |
|
|
return this.dynamicComponentFactoryService.createDynamicComponentFactory( |
|
|
return this.dynamicComponentFactoryService.createDynamicComponentFactory( |
|
|
class CustomDialogComponentInstance extends CustomDialogComponent {}, |
|
|
class CustomDialogComponentInstance extends CustomDialogComponent {}, |
|
|
template, |
|
|
template, |
|
|
[SharedModule, CustomDialogModule]).pipe( |
|
|
[SharedModule, CustomDialogModule, SharedHomeComponentsModule]).pipe( |
|
|
mergeMap((factory) => { |
|
|
mergeMap((factory) => { |
|
|
const dialogData: CustomDialogContainerData = { |
|
|
const dialogData: CustomDialogContainerData = { |
|
|
controller, |
|
|
controller, |
|
|
|