From 7e315db6c883cd045abd51a730a5d9ea39620859 Mon Sep 17 00:00:00 2001 From: markuczy Date: Tue, 7 May 2024 10:54:00 +0200 Subject: [PATCH] refactor: moved to portal-dialog.service --- libs/portal-integration-angular/src/index.ts | 1 - .../lib/core/utils/provide-portal-dialog-service.utils.ts | 6 ------ .../src/lib/services/portal-dialog.service.ts | 4 ++++ 3 files changed, 4 insertions(+), 7 deletions(-) delete mode 100644 libs/portal-integration-angular/src/lib/core/utils/provide-portal-dialog-service.utils.ts diff --git a/libs/portal-integration-angular/src/index.ts b/libs/portal-integration-angular/src/index.ts index 3758df44..c53b80bb 100644 --- a/libs/portal-integration-angular/src/index.ts +++ b/libs/portal-integration-angular/src/index.ts @@ -80,7 +80,6 @@ export * from './lib/core/utils/image-logo-url.utils' export * from './lib/core/utils/add-initialize-module-guard.utils' export * from './lib/core/utils/translate-service-initializer.utils' export * from './lib/core/utils/portal-api-configuration.utils' -export * from './lib/core/utils/provide-portal-dialog-service.utils' export * from '@onecx/angular-accelerator' export * from '@onecx/angular-integration-interface' diff --git a/libs/portal-integration-angular/src/lib/core/utils/provide-portal-dialog-service.utils.ts b/libs/portal-integration-angular/src/lib/core/utils/provide-portal-dialog-service.utils.ts deleted file mode 100644 index d0bf2cf0..00000000 --- a/libs/portal-integration-angular/src/lib/core/utils/provide-portal-dialog-service.utils.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { DialogService } from 'primeng/dynamicdialog' -import { PortalDialogService } from '../../services/portal-dialog.service' - -export function providePortalDialogService() { - return [DialogService, PortalDialogService] -} diff --git a/libs/portal-integration-angular/src/lib/services/portal-dialog.service.ts b/libs/portal-integration-angular/src/lib/services/portal-dialog.service.ts index 1dd97dc4..9ccd0ba7 100644 --- a/libs/portal-integration-angular/src/lib/services/portal-dialog.service.ts +++ b/libs/portal-integration-angular/src/lib/services/portal-dialog.service.ts @@ -460,3 +460,7 @@ export class PortalDialogService { return obj instanceof Type } } + +export function providePortalDialogService() { + return [DialogService, PortalDialogService] +}