@openmfp/portal-ui-lib 0.191.4 → 0.192.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
|
@@ -89,6 +89,7 @@ interface LuigiCustomMessage extends Record<string, any> {
|
|
|
89
89
|
}
|
|
90
90
|
interface EntityDefinition {
|
|
91
91
|
id: string;
|
|
92
|
+
type?: string;
|
|
92
93
|
dynamicFetchId?: string;
|
|
93
94
|
contextKey?: string;
|
|
94
95
|
additionalContextKeys?: string[];
|
|
@@ -193,7 +194,7 @@ interface LuigiNode extends PortalLuigiNodeExtensions {
|
|
|
193
194
|
icon?: string;
|
|
194
195
|
link?: string;
|
|
195
196
|
urlSuffix?: string;
|
|
196
|
-
navHeader?:
|
|
197
|
+
navHeader?: NavHeader;
|
|
197
198
|
hideFromNav?: boolean;
|
|
198
199
|
hideSideNav?: boolean;
|
|
199
200
|
virtualTree?: boolean;
|
|
@@ -225,6 +226,15 @@ interface LuigiNode extends PortalLuigiNodeExtensions {
|
|
|
225
226
|
globalNav?: boolean;
|
|
226
227
|
parent?: LuigiNode;
|
|
227
228
|
}
|
|
229
|
+
interface NavHeader {
|
|
230
|
+
label: string;
|
|
231
|
+
type?: string;
|
|
232
|
+
icon?: string;
|
|
233
|
+
useTitleResolver?: boolean;
|
|
234
|
+
renderer?: Function;
|
|
235
|
+
context?: Record<string, any>;
|
|
236
|
+
showUpLink?: boolean;
|
|
237
|
+
}
|
|
228
238
|
interface IntentSpecification {
|
|
229
239
|
type: string;
|
|
230
240
|
inboundId: string;
|
|
@@ -960,6 +970,16 @@ interface CustomNodeProcessingService {
|
|
|
960
970
|
processNode(ctx: Context, node: LuigiNode): Promise<LuigiNode>;
|
|
961
971
|
}
|
|
962
972
|
|
|
973
|
+
declare class NavHeaderService {
|
|
974
|
+
private luigiCoreService;
|
|
975
|
+
setupNavigationHeader(entityNode: LuigiNode): void;
|
|
976
|
+
private setShowUpLink;
|
|
977
|
+
private getSideNavigationHeaderType;
|
|
978
|
+
private sanitizeString;
|
|
979
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavHeaderService, never>;
|
|
980
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NavHeaderService>;
|
|
981
|
+
}
|
|
982
|
+
|
|
963
983
|
declare class NodeUtilsService {
|
|
964
984
|
private luigiCoreService;
|
|
965
985
|
constructor(luigiCoreService: LuigiCoreService);
|
|
@@ -1070,5 +1090,5 @@ declare class CustomReuseStrategy implements RouteReuseStrategy {
|
|
|
1070
1090
|
* */
|
|
1071
1091
|
declare function matchesJMESPath(context: object, jmesPathExpression: string): boolean;
|
|
1072
1092
|
|
|
1073
|
-
export { AppSwitcherConfigServiceImpl, AuthConfigService, AuthEvent, AuthService, ConfigService, CustomMessageListenersService, CustomReuseStrategy, DefaultNavigationRedirectStrategy, DefaultUserProfileConfigService, ERROR_COMPONENT_CONFIG, EntityType, EnvConfigService, 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, NetworkVisibility, NodeContextProcessingServiceImpl, NodeUtilsService, PortalComponent, RequestHeadersService, RoutingConfigServiceImpl, SessionRefreshService, StaticSettingsConfigServiceImpl, THEMING_SERVICE, UserSettingsConfigService, featureToggleLocalStorage, localDevelopmentSettingsLocalStorage, matchesJMESPath, providePortal, userSettingsLocalStorage };
|
|
1074
|
-
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, NavigationRedirectStrategy, NodeChangeHookConfigService, NodeContext, NodeContextProcessingService, NodeItem, OpenNodeInModal, PortalConfig, PortalContext, PortalLuigiNodeExtensions, PortalOptions, RendererFn, RoutingConfigService, ServiceProvider, StaticSettingsConfigService, Theme, ThemingService, UserData, UserProfile, UserProfileConfigService, UserProfileItem, UserSettings, UserSettingsValues, UserTokenData, ViewGroup };
|
|
1093
|
+
export { AppSwitcherConfigServiceImpl, AuthConfigService, AuthEvent, AuthService, ConfigService, CustomMessageListenersService, CustomReuseStrategy, DefaultNavigationRedirectStrategy, DefaultUserProfileConfigService, ERROR_COMPONENT_CONFIG, EntityType, EnvConfigService, 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, RequestHeadersService, RoutingConfigServiceImpl, SessionRefreshService, StaticSettingsConfigServiceImpl, THEMING_SERVICE, UserSettingsConfigService, featureToggleLocalStorage, localDevelopmentSettingsLocalStorage, matchesJMESPath, providePortal, userSettingsLocalStorage };
|
|
1094
|
+
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 };
|