@openmfp/portal-ui-lib 0.197.15 → 0.198.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmfp/portal-ui-lib",
3
- "version": "0.197.15",
3
+ "version": "0.198.1",
4
4
  "repository": {
5
5
  "url": "git+https://github.com/openmfp/portal-ui-lib.git"
6
6
  },
@@ -5,6 +5,10 @@ import { ActivatedRoute, Router, RouteReuseStrategy, ActivatedRouteSnapshot, Det
5
5
  import { HttpHeaders, HttpClient } from '@angular/common/http';
6
6
  import { Observable } from 'rxjs';
7
7
 
8
+ interface AnalyticsTracker {
9
+ initialize(): Promise<void>;
10
+ }
11
+
8
12
  declare enum AuthEvent {
9
13
  AUTH_SUCCESSFUL = "AuthSuccessful",
10
14
  AUTH_ERROR = "AuthError",
@@ -1049,6 +1053,8 @@ interface PortalOptions {
1049
1053
  routingConfigService?: Type<RoutingConfigService>;
1050
1054
  /** Strategy for storing and reading redirect URL after login **/
1051
1055
  navigationRedirectStrategy?: Type<NavigationRedirectStrategy>;
1056
+ /** A set of classes implementing AnalyticsTracker to be initialized at app startup **/
1057
+ analyticsTrackers?: Type<AnalyticsTracker>[];
1052
1058
  }
1053
1059
  declare function providePortal(options?: PortalOptions): EnvironmentProviders;
1054
1060
 
@@ -1070,6 +1076,7 @@ declare const LUIGI_AUTH_EVENTS_CALLBACKS_SERVICE_INJECTION_TOKEN = "OPENMFP_LUI
1070
1076
  declare const HEADER_BAR_CONFIG_SERVICE_INJECTION_TOKEN = "OPENMFP_HEADER_BAR_CONFIG_SERVICE";
1071
1077
  declare const LUIGI_ROUTING_CONFIG_SERVICE_INJECTION_TOKEN = "OPENMFP_LUIGI_ROUTING_CONFIG_SERVICE";
1072
1078
  declare const NAVIGATION_REDIRECT_STRATEGY_INJECTION_TOKEN = "OPENMFP_NAVIGATION_REDIRECT_STRATEGY";
1079
+ declare const ANALYTICS_TRACKER_INJECTION_TOKEN = "OPENMFP_ANALYTICS_TRACKER";
1073
1080
 
1074
1081
  declare class PortalComponent {
1075
1082
  static ɵfac: i0.ɵɵFactoryDeclaration<PortalComponent, never>;
@@ -1116,5 +1123,5 @@ declare class PreserveQueryParamsUrlHandlingStrategy implements UrlHandlingStrat
1116
1123
  merge(newUrlPart: UrlTree, wholeUrl: UrlTree): UrlTree;
1117
1124
  }
1118
1125
 
1119
- 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 };
1120
- 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 };
1126
+ export { ANALYTICS_TRACKER_INJECTION_TOKEN, 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 };
1127
+ export type { AnalyticsTracker, 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 };