@openmfp/portal-ui-lib 0.195.17 → 0.196.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmfp/portal-ui-lib",
3
- "version": "0.195.17",
3
+ "version": "0.196.0",
4
4
  "repository": {
5
5
  "url": "git+https://github.com/openmfp/portal-ui-lib.git"
6
6
  },
@@ -311,6 +311,7 @@ interface ClientEnvironment extends Record<string, any> {
311
311
  isLocal: boolean;
312
312
  developmentInstance: boolean;
313
313
  validWebcomponentUrls?: string;
314
+ vpnCheckUrl?: string;
314
315
  authData?: AuthTokenData;
315
316
  uiOptions?: string[];
316
317
  }
@@ -987,6 +988,20 @@ declare class NodeContextProcessingServiceImpl implements NodeContextProcessingS
987
988
  static ɵprov: i0.ɵɵInjectableDeclaration<NodeContextProcessingServiceImpl>;
988
989
  }
989
990
 
991
+ declare class VPNService {
992
+ private envConfigService;
993
+ private i18nService;
994
+ private inVPN;
995
+ private readonly ready;
996
+ whenReady(): Promise<void>;
997
+ setVPN(inVPN: boolean): void;
998
+ applyNetworkVisibility(node: LuigiNode): LuigiNode;
999
+ private init;
1000
+ private convertToNoVPNHandlingNode;
1001
+ static ɵfac: i0.ɵɵFactoryDeclaration<VPNService, never>;
1002
+ static ɵprov: i0.ɵɵInjectableDeclaration<VPNService>;
1003
+ }
1004
+
990
1005
  interface RoutingConfigService {
991
1006
  getInitialRoutingConfig?(): object;
992
1007
  getRoutingConfig?(): object;
@@ -1092,11 +1107,13 @@ declare class CustomReuseStrategy implements RouteReuseStrategy {
1092
1107
  declare function transformLegacyBacktickLiterals(expression: string): string;
1093
1108
  declare function matchesJMESPath(context: object, jmesPathExpression: string): boolean;
1094
1109
 
1110
+ declare function potentialVPNResourceLoadable(url?: string): Promise<boolean>;
1111
+
1095
1112
  declare class PreserveQueryParamsUrlHandlingStrategy implements UrlHandlingStrategy {
1096
1113
  shouldProcessUrl(url: UrlTree): boolean;
1097
1114
  extract(url: UrlTree): UrlTree;
1098
1115
  merge(newUrlPart: UrlTree, wholeUrl: UrlTree): UrlTree;
1099
1116
  }
1100
1117
 
1101
- export { AppSwitcherConfigServiceImpl, AuthConfigService, AuthEvent, AuthService, ConfigService, CustomMessageListenersService, CustomReuseStrategy, DefaultNavigationRedirectStrategy, DefaultUserProfileConfigService, ERROR_COMPONENT_CONFIG, EntityType, EnvConfigService, ErrorScreenComponent, GlobalContextConfigService, HEADER_BAR_CONFIG_SERVICE_INJECTION_TOKEN, HeaderBarService, I18nService, IframeService, LOCAL_CONFIGURATION_SERVICE_INJECTION_TOKEN, LUIGI_APP_SWITCHER_CONFIG_SERVICE_INJECTION_TOKEN, LUIGI_AUTH_EVENTS_CALLBACKS_SERVICE_INJECTION_TOKEN, LUIGI_BREADCRUMB_CONFIG_SERVICE_INJECTION_TOKEN, LUIGI_CUSTOM_MESSAGE_LISTENERS_INJECTION_TOKEN, LUIGI_CUSTOM_NODE_CONTEXT_PROCESSING_SERVICE_INJECTION_TOKEN, LUIGI_CUSTOM_NODE_PROCESSING_SERVICE_INJECTION_TOKEN, LUIGI_EXTENDED_GLOBAL_CONTEXT_CONFIG_SERVICE_INJECTION_TOKEN, LUIGI_GLOBAL_SEARCH_CONFIG_SERVICE_INJECTION_TOKEN, LUIGI_NODES_CUSTOM_GLOBAL_SERVICE_INJECTION_TOKEN, LUIGI_NODE_CHANGE_HOOK_SERVICE_INJECTION_TOKEN, LUIGI_ROUTING_CONFIG_SERVICE_INJECTION_TOKEN, LUIGI_STATIC_SETTINGS_CONFIG_SERVICE_INJECTION_TOKEN, LUIGI_USER_PROFILE_CONFIG_SERVICE_INJECTION_TOKEN, LocalConfigurationServiceImpl, LocalNodesService, LocalStorageKeys, LoginEventService, LoginEventType, LuigiCoreService, LuigiNodesService, NAVIGATION_REDIRECT_STRATEGY_INJECTION_TOKEN, NavHeaderService, NetworkVisibility, NodeContextProcessingServiceImpl, NodeUtilsService, PortalComponent, PreserveQueryParamsUrlHandlingStrategy, RequestHeadersService, RoutingConfigServiceImpl, SessionRefreshService, StaticSettingsConfigServiceImpl, THEMING_SERVICE, UserSettingsConfigService, featureToggleLocalStorage, localDevelopmentSettingsLocalStorage, matchesJMESPath, providePortal, transformLegacyBacktickLiterals, userSettingsLocalStorage };
1118
+ export { AppSwitcherConfigServiceImpl, AuthConfigService, AuthEvent, AuthService, ConfigService, CustomMessageListenersService, CustomReuseStrategy, DefaultNavigationRedirectStrategy, DefaultUserProfileConfigService, ERROR_COMPONENT_CONFIG, EntityType, EnvConfigService, ErrorScreenComponent, GlobalContextConfigService, HEADER_BAR_CONFIG_SERVICE_INJECTION_TOKEN, HeaderBarService, I18nService, IframeService, LOCAL_CONFIGURATION_SERVICE_INJECTION_TOKEN, LUIGI_APP_SWITCHER_CONFIG_SERVICE_INJECTION_TOKEN, LUIGI_AUTH_EVENTS_CALLBACKS_SERVICE_INJECTION_TOKEN, LUIGI_BREADCRUMB_CONFIG_SERVICE_INJECTION_TOKEN, LUIGI_CUSTOM_MESSAGE_LISTENERS_INJECTION_TOKEN, LUIGI_CUSTOM_NODE_CONTEXT_PROCESSING_SERVICE_INJECTION_TOKEN, LUIGI_CUSTOM_NODE_PROCESSING_SERVICE_INJECTION_TOKEN, LUIGI_EXTENDED_GLOBAL_CONTEXT_CONFIG_SERVICE_INJECTION_TOKEN, LUIGI_GLOBAL_SEARCH_CONFIG_SERVICE_INJECTION_TOKEN, LUIGI_NODES_CUSTOM_GLOBAL_SERVICE_INJECTION_TOKEN, LUIGI_NODE_CHANGE_HOOK_SERVICE_INJECTION_TOKEN, LUIGI_ROUTING_CONFIG_SERVICE_INJECTION_TOKEN, LUIGI_STATIC_SETTINGS_CONFIG_SERVICE_INJECTION_TOKEN, LUIGI_USER_PROFILE_CONFIG_SERVICE_INJECTION_TOKEN, LocalConfigurationServiceImpl, LocalNodesService, LocalStorageKeys, LoginEventService, LoginEventType, LuigiCoreService, LuigiNodesService, NAVIGATION_REDIRECT_STRATEGY_INJECTION_TOKEN, NavHeaderService, NetworkVisibility, NodeContextProcessingServiceImpl, NodeUtilsService, PortalComponent, PreserveQueryParamsUrlHandlingStrategy, RequestHeadersService, RoutingConfigServiceImpl, SessionRefreshService, StaticSettingsConfigServiceImpl, THEMING_SERVICE, UserSettingsConfigService, VPNService, featureToggleLocalStorage, localDevelopmentSettingsLocalStorage, matchesJMESPath, potentialVPNResourceLoadable, providePortal, transformLegacyBacktickLiterals, userSettingsLocalStorage };
1102
1119
  export type { AppSwitcherConfigService, AuthData, AuthTokenData, BreadcrumbBadge, BreadcrumbBadgeColorSchema, ClientEnvironment, Config, ContentConfiguration, CustomGlobalNodesService, CustomMessageListener, CustomNodeProcessingService, Dictionary, EntityConfig, EntityContext, EntityDefinition, ErrorComponentConfig, ExternalLink, GlobalSearchConfigService, HeaderBarConfig, HeaderBarConfigService, HelpContext, IntentSpecification, LocalConfigurationService, LocalDevelopmentSettings, LoginEvent, LuigiAppConfig, LuigiAuthEventsCallbacksService, LuigiBadgeCounter, LuigiBreadcrumb, LuigiConfig, LuigiConfigData, LuigiConfigFragment, LuigiCustomMessage, LuigiExtendedGlobalContextConfigService, LuigiGlobalContext, LuigiIntent, LuigiNavigationConfig, LuigiNode, LuigiNodeCategory, LuigiNodeDefaults, LuigiNodeIFramePermissions, LuigiStaticSettings, LuigiStatusBadge, LuigiUserSetting, LuigiUserSettings, LuigiUserSettingsGroup, MessageListener, MessageListeners, NavHeader, NavigationRedirectStrategy, NodeChangeHookConfigService, NodeContext, NodeContextProcessingService, NodeItem, OpenNodeInModal, PortalConfig, PortalContext, PortalLuigiNodeExtensions, PortalOptions, RendererFn, RoutingConfigService, ServiceProvider, StaticSettingsConfigService, Theme, ThemingService, UserData, UserProfile, UserProfileConfigService, UserProfileItem, UserSettings, UserSettingsValues, UserTokenData, ViewGroup };