@openmfp/portal-ui-lib 0.183.0 → 0.183.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -216,7 +216,7 @@ interface LuigiNode extends PortalLuigiNodeExtensions {
216
216
  compound?: any;
217
217
  badgeCounter?: LuigiBadgeCounter;
218
218
  category?: LuigiNodeCategory | string;
219
- context?: NodeContext;
219
+ context: NodeContext;
220
220
  visibleForFeatureToggles?: string[];
221
221
  statusBadge?: LuigiStatusBadge;
222
222
  onNodeActivation?: (node: LuigiNode) => boolean;
@@ -491,7 +491,7 @@ interface TransformResult {
491
491
  declare class LocalNodesService {
492
492
  private http;
493
493
  private luigiCoreService;
494
- getLuigiNodesFromConfigurations(contentConfigurations: ContentConfiguration[]): Promise<TransformResult>;
494
+ getLuigiNodesFromConfigurations(contentConfigurations: ContentConfiguration[]): Promise<TransformResult | null>;
495
495
  static ɵfac: i0.ɵɵFactoryDeclaration<LocalNodesService, never>;
496
496
  static ɵprov: i0.ɵɵInjectableDeclaration<LocalNodesService>;
497
497
  }
@@ -551,7 +551,7 @@ declare class I18nService {
551
551
  * @example
552
552
  * findInterpolations('Environment {num}', {num: 1})
553
553
  */
554
- findInterpolations(value: string, interpolations: Record<string, string>): string;
554
+ findInterpolations(value: string, interpolations: Record<string, string>): string | undefined;
555
555
  /**
556
556
  * wraps fetched translation table to a specific locale
557
557
  *
@@ -607,8 +607,8 @@ interface UserSettings {
607
607
  }
608
608
  interface UserSettingsValues {
609
609
  frame_userAccount?: {
610
- name: string;
611
- email: string;
610
+ name?: string;
611
+ email?: string;
612
612
  language: string;
613
613
  };
614
614
  frame_appearance?: {
@@ -675,7 +675,7 @@ declare enum LocalStorageKeys {
675
675
  DEVELOPMENT_MODE_CONFIG = "dev-mode-settings"
676
676
  }
677
677
  declare const localDevelopmentSettingsLocalStorage: {
678
- read: (localStorageKey?: string) => LocalDevelopmentSettings;
678
+ read: (localStorageKey?: string) => LocalDevelopmentSettings | null;
679
679
  store: (localDevelopmentSetting: LocalDevelopmentSettings) => void;
680
680
  };
681
681
  declare const userSettingsLocalStorage: {
@@ -834,6 +834,7 @@ declare class IframeService {
834
834
  private isIFrameSandboxPermissionAllowed;
835
835
  iFrameCreationInterceptor(): (iframe: any, viewGroup: string, navigationNode: any, microFrontendType: any) => void;
836
836
  private applyIframePermissions;
837
+ private getIframeSrc;
837
838
  static ɵfac: i0.ɵɵFactoryDeclaration<IframeService, never>;
838
839
  static ɵprov: i0.ɵɵInjectableDeclaration<IframeService>;
839
840
  }
@@ -912,7 +913,7 @@ declare class AuthConfigService {
912
913
  onAuthExpireSoon: (settings: any) => void;
913
914
  onAuthConfigError: (settings: any, err: any) => void;
914
915
  };
915
- }>;
916
+ } | undefined>;
916
917
  static ɵfac: i0.ɵɵFactoryDeclaration<AuthConfigService, never>;
917
918
  static ɵprov: i0.ɵɵInjectableDeclaration<AuthConfigService>;
918
919
  }
@@ -941,6 +942,7 @@ declare class LocalConfigurationServiceImpl {
941
942
  declare class LuigiNodesService {
942
943
  private i18nService;
943
944
  private configService;
945
+ private luigiCoreService;
944
946
  private localConfigurationService;
945
947
  private errorComponentConfig;
946
948
  private getChildrenByEntity;
@@ -975,7 +977,7 @@ declare class NodeUtilsService {
975
977
  }
976
978
 
977
979
  interface NodeContextProcessingService {
978
- processNodeContext(entityId: string, entityNode: LuigiNode, ctx: NodeContext): Promise<void>;
980
+ processNodeContext(entityId: string | undefined, entityNode: LuigiNode, ctx: NodeContext): Promise<void>;
979
981
  }
980
982
 
981
983
  interface RoutingConfigService {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmfp/portal-ui-lib",
3
- "version": "0.183.0",
3
+ "version": "0.183.1",
4
4
  "repository": {
5
5
  "url": "git+https://github.com/openmfp/portal-ui-lib.git"
6
6
  },