From e84b938a52222da29fbeb431f1fd50167547dbd9 Mon Sep 17 00:00:00 2001 From: Annika Nowak Date: Wed, 28 Feb 2024 13:48:49 +0100 Subject: [PATCH] fix: fix build issue --- libs/portal-integration-angular/src/index.ts | 2 +- .../data-layout-selection/data-layout-selection.component.ts | 2 +- .../data-view-controls/data-view-controls.component.ts | 2 +- .../src/lib/core/components/diagram/diagram.component.ts | 2 +- .../lib/core/components/page-header/page-header.component.ts | 2 +- .../lib/core/utils/{primeicon.utils.ts => prime-icon.utils.ts} | 0 libs/portal-integration-angular/src/lib/model/button-dialog.ts | 2 +- .../src/lib/services/portal-dialog.service.ts | 2 +- .../testing/data-layout-selection.harness.ts | 3 ++- 9 files changed, 9 insertions(+), 8 deletions(-) rename libs/portal-integration-angular/src/lib/core/utils/{primeicon.utils.ts => prime-icon.utils.ts} (100%) diff --git a/libs/portal-integration-angular/src/index.ts b/libs/portal-integration-angular/src/index.ts index c86f66f3..b731d3d1 100644 --- a/libs/portal-integration-angular/src/index.ts +++ b/libs/portal-integration-angular/src/index.ts @@ -127,4 +127,4 @@ 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/caching-translate-loader.utils' -export * from './lib/core/utils/primeicon.utils' +export * from './lib/core/utils/prime-icon.utils' diff --git a/libs/portal-integration-angular/src/lib/core/components/data-layout-selection/data-layout-selection.component.ts b/libs/portal-integration-angular/src/lib/core/components/data-layout-selection/data-layout-selection.component.ts index c706e006..7ddba7e5 100644 --- a/libs/portal-integration-angular/src/lib/core/components/data-layout-selection/data-layout-selection.component.ts +++ b/libs/portal-integration-angular/src/lib/core/components/data-layout-selection/data-layout-selection.component.ts @@ -1,6 +1,6 @@ import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core' import { PrimeIcons } from 'primeng/api' -import { PrimeIcon } from '../../utils/primeicon.utils' +import { PrimeIcon } from '../../utils/prime-icon.utils' interface ViewingLayouts { icon: PrimeIcon diff --git a/libs/portal-integration-angular/src/lib/core/components/data-view-controls/data-view-controls.component.ts b/libs/portal-integration-angular/src/lib/core/components/data-view-controls/data-view-controls.component.ts index 3ced3701..3a8202a3 100644 --- a/libs/portal-integration-angular/src/lib/core/components/data-view-controls/data-view-controls.component.ts +++ b/libs/portal-integration-angular/src/lib/core/components/data-view-controls/data-view-controls.component.ts @@ -6,7 +6,7 @@ import { ColumnViewTemplate } from '../../../model/column-view-template' import { ColumnTogglerComponent } from './column-toggler-component/column-toggler.component' import { ViewTemplatePickerComponent } from './view-template-picker/view-template-picker.component' import { PrimeIcons } from 'primeng/api' -import { PrimeIcon } from '../../utils/primeicon.utils' +import { PrimeIcon } from '../../utils/prime-icon.utils' interface ViewingModes { icon: PrimeIcon diff --git a/libs/portal-integration-angular/src/lib/core/components/diagram/diagram.component.ts b/libs/portal-integration-angular/src/lib/core/components/diagram/diagram.component.ts index f050e15c..dbabf63a 100644 --- a/libs/portal-integration-angular/src/lib/core/components/diagram/diagram.component.ts +++ b/libs/portal-integration-angular/src/lib/core/components/diagram/diagram.component.ts @@ -6,7 +6,7 @@ import { PrimeIcons } from 'primeng/api' import { DiagramData } from '../../../model/diagram-data' import { DiagramType } from '../../../model/diagram-type' import { ColorUtils } from '../../utils/colorutils' -import { PrimeIcon } from '../../utils/primeicon.utils' +import { PrimeIcon } from '../../utils/prime-icon.utils' export interface DiagramLayouts { icon: PrimeIcon diff --git a/libs/portal-integration-angular/src/lib/core/components/page-header/page-header.component.ts b/libs/portal-integration-angular/src/lib/core/components/page-header/page-header.component.ts index 859d5ca4..d820c461 100644 --- a/libs/portal-integration-angular/src/lib/core/components/page-header/page-header.component.ts +++ b/libs/portal-integration-angular/src/lib/core/components/page-header/page-header.component.ts @@ -17,7 +17,7 @@ import { BreadcrumbService } from '../../../services/breadcrumb.service' import { TranslateService } from '@ngx-translate/core' import { AppStateService } from '../../../services/app-state.service' import { UserService } from '../../../services/user.service' -import { PrimeIcon } from '../../utils/primeicon.utils' +import { PrimeIcon } from '../../utils/prime-icon.utils' /** * Action definition. diff --git a/libs/portal-integration-angular/src/lib/core/utils/primeicon.utils.ts b/libs/portal-integration-angular/src/lib/core/utils/prime-icon.utils.ts similarity index 100% rename from libs/portal-integration-angular/src/lib/core/utils/primeicon.utils.ts rename to libs/portal-integration-angular/src/lib/core/utils/prime-icon.utils.ts diff --git a/libs/portal-integration-angular/src/lib/model/button-dialog.ts b/libs/portal-integration-angular/src/lib/model/button-dialog.ts index 2e5edaae..90b8c33a 100644 --- a/libs/portal-integration-angular/src/lib/model/button-dialog.ts +++ b/libs/portal-integration-angular/src/lib/model/button-dialog.ts @@ -1,5 +1,5 @@ import { Type } from '@angular/core' -import { PrimeIcon } from '../core/utils/primeicon.utils' +import { PrimeIcon } from '../core/utils/prime-icon.utils' /** * Object describing details for button rendering containing key for translation, optional icon and optional parameters for translation 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 86c87b61..84316f79 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 @@ -6,7 +6,7 @@ import { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dy import { ButtonDialogComponent } from '../core/components/button-dialog/button-dialog.component' import { ButtonDialogButtonDetails, ButtonDialogData } from '../model/button-dialog' import { DialogMessageContentComponent } from '../core/components/button-dialog/dialog-message-content/dialog-message-content.component' -import { PrimeIcon } from '../core/utils/primeicon.utils' +import { PrimeIcon } from '../core/utils/prime-icon.utils' /** * Object containing key for translation with parameters object for translation diff --git a/libs/portal-integration-angular/testing/data-layout-selection.harness.ts b/libs/portal-integration-angular/testing/data-layout-selection.harness.ts index 61b6a224..46108a5a 100644 --- a/libs/portal-integration-angular/testing/data-layout-selection.harness.ts +++ b/libs/portal-integration-angular/testing/data-layout-selection.harness.ts @@ -1,7 +1,8 @@ import { ContentContainerComponentHarness, TestElement } from '@angular/cdk/testing' import { PSelectButtonHarness } from './primeng/p-selectButton.harness' import { PrimeIcons } from 'primeng/api' -import { PrimeIcon } from '../src/lib/core/utils/primeicon.utils'; + +type PrimeIcon = (typeof PrimeIcons)[keyof Omit] export class DataLayoutSelectionHarness extends ContentContainerComponentHarness { static hostSelector = 'ocx-data-layout-selection'