@open-rlb/ng-app 3.1.21 → 3.1.22
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
|
@@ -39,6 +39,7 @@ interface AppInfo<T extends AppInfoData = any> {
|
|
|
39
39
|
viewMode?: AppViewMode;
|
|
40
40
|
routes?: string[];
|
|
41
41
|
domains?: string[];
|
|
42
|
+
actions?: string[];
|
|
42
43
|
navigationUrl?: string;
|
|
43
44
|
data?: T;
|
|
44
45
|
autoRedirectOnRootEnabled?: boolean;
|
|
@@ -206,10 +207,12 @@ declare const AppContextActions: {
|
|
|
206
207
|
finalizeApp: _ngrx_store.ActionCreator<"[AppContext/API] finalizeApp", (props: {
|
|
207
208
|
appType: string;
|
|
208
209
|
appId: string;
|
|
210
|
+
actions: string[];
|
|
209
211
|
data?: any;
|
|
210
212
|
}) => {
|
|
211
213
|
appType: string;
|
|
212
214
|
appId: string;
|
|
215
|
+
actions: string[];
|
|
213
216
|
data?: any;
|
|
214
217
|
} & _ngrx_store.Action<"[AppContext/API] finalizeApp">>;
|
|
215
218
|
};
|
|
@@ -391,8 +394,10 @@ declare class AppsService {
|
|
|
391
394
|
private activatedRoute;
|
|
392
395
|
private router;
|
|
393
396
|
private loggerService;
|
|
397
|
+
readonly confAuth: AuthConfiguration | undefined;
|
|
398
|
+
private readonly confAcl;
|
|
394
399
|
private logger;
|
|
395
|
-
constructor(store: Store<BaseState>, activatedRoute: ActivatedRoute, router: Router, loggerService: AppLoggerService, confAuth: AuthConfiguration | undefined);
|
|
400
|
+
constructor(store: Store<BaseState>, activatedRoute: ActivatedRoute, router: Router, loggerService: AppLoggerService, confAuth: AuthConfiguration | undefined, confAcl: AclConfiguration | undefined);
|
|
396
401
|
get currentDomain(): string;
|
|
397
402
|
get apps(): AppInfo<any>[];
|
|
398
403
|
get currentApp(): AppInfo<any> | null;
|
|
@@ -407,7 +412,7 @@ declare class AppsService {
|
|
|
407
412
|
private isDefaultRoute;
|
|
408
413
|
private getConfigPath;
|
|
409
414
|
private getActualPath;
|
|
410
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppsService, [null, null, null, null, { optional: true; }]>;
|
|
415
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppsService, [null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
411
416
|
static ɵprov: i0.ɵɵInjectableDeclaration<AppsService>;
|
|
412
417
|
}
|
|
413
418
|
|
|
@@ -450,6 +455,11 @@ declare class AppBreadcrumbService {
|
|
|
450
455
|
static ɵprov: i0.ɵɵInjectableDeclaration<AppBreadcrumbService>;
|
|
451
456
|
}
|
|
452
457
|
|
|
458
|
+
declare const RLB_INIT_PROVIDER: InjectionToken<RlbInitProvider>;
|
|
459
|
+
interface RlbInitProvider {
|
|
460
|
+
finalizeApps(store: Store<BaseState>, acl: AclConfiguration, appConfig: AppInfo): Promise<void>;
|
|
461
|
+
}
|
|
462
|
+
|
|
453
463
|
interface CacheItem<T> {
|
|
454
464
|
data: T;
|
|
455
465
|
expire: number;
|
|
@@ -659,6 +669,8 @@ interface AclConfiguration {
|
|
|
659
669
|
endpointKey: string;
|
|
660
670
|
path: string;
|
|
661
671
|
interceptorMapping?: InterceptorMapping;
|
|
672
|
+
businessIdKey: string;
|
|
673
|
+
resourceIdKey: string;
|
|
662
674
|
}
|
|
663
675
|
interface ProviderConfiguration extends OpenIdConfiguration {
|
|
664
676
|
configId: string;
|
|
@@ -1225,5 +1237,5 @@ declare function provideRlbConfig<T = {
|
|
|
1225
1237
|
}>(env: ProjectConfiguration<T>): (EnvironmentProviders | Provider)[];
|
|
1226
1238
|
declare function provideApp(app: AppDescriber): (EnvironmentProviders | Provider)[];
|
|
1227
1239
|
|
|
1228
|
-
export { AbstractMdService, AbstractSupportService, AclActions, AppBreadcrumbService, AppContainerComponent, AppContextActions, AppContextActionsInternal, AppLoggerService, AppStorageService, AppTemplateComponent, AppsService, AsMultiPipe, AsSinglePipe, AuthActions, AuthActionsInternal, AuthFeatureService, AuthenticationService, AutolinkPipe, BaseComponent, CmsComponent, CmsPipe, ContentComponent, CookiesService, ErrorManagementService, ErrorModalComponent, KeycloakProfileService, LanguageService, LeftComponentPipe, LocalCacheService, ModalAppsComponent, NavbarActions, NavbarActionsInternal, OauthPasswordService, ParseJwtService, PwaUpdaterService, RLB_APPS, RLB_APP_NAVCOMP, RLB_CFG, RLB_CFG_ACL, RLB_CFG_AUTH, RLB_CFG_CMS, RLB_CFG_ENV, RLB_CFG_I18N, RLB_CFG_PAGES, RightComponentPipe, RlbAppModule, RlbRole, SidebarActions, SidebarActionsInternal, StrapiService, ToastComponent, TokenOauthInterceptor, TranslateBrowserLoader, TruncatePipe, UtilsService, aclFeatureKey, appContextFeatureKey, authsFeatureKey, getDefaultRoutes, initialAclState, initialAppContextState, initialAuthState, initialNavbarState, initialSidebarState, navbarsFeatureKey, oauthGuard, oauthPasswordGuard, permissionGuard, provideApp, provideRlbCodeBrowserOAuth, provideRlbConfig, provideRlbI18n, sidebarsFeatureKey, translateBrowserLoaderFactory, verifyDeactivate };
|
|
1229
|
-
export type { Acl, AclConfiguration, AclState, AppContext, AppDescriber, AppDetails, AppInfo, AppInfoData, AppState, AppTheme, AppViewMode, Auth, AuthConfiguration, AuthState, BaseState, CacheItem, CmsConfiguration, Endpoint, EnvironmentConfiguration, ErrorOutput, Faq, FaqGroup, Home, IConfiguration, InterceptorMapping, InternationalizationConfiguration, JwtUser, KeycloakClient, KeycloakCredential, KeycloakDevice, KeycloakSession, KeycloakUser, KeycloakUserCredentialMetadata, LogLevel, LoggerContext, MenuItem, Navbar, NavbarComponents, NavbarState, Page, PageTemplate, PagesConfiguration, ProjectConfiguration, ProviderConfiguration, Resource, Sidebar, SidebarState, Step, Tab, Token, Topic, UserClaims, UserResource, VerifyDeactivate, _KeycloakCredential };
|
|
1240
|
+
export { AbstractMdService, AbstractSupportService, AclActions, AppBreadcrumbService, AppContainerComponent, AppContextActions, AppContextActionsInternal, AppLoggerService, AppStorageService, AppTemplateComponent, AppsService, AsMultiPipe, AsSinglePipe, AuthActions, AuthActionsInternal, AuthFeatureService, AuthenticationService, AutolinkPipe, BaseComponent, CmsComponent, CmsPipe, ContentComponent, CookiesService, ErrorManagementService, ErrorModalComponent, KeycloakProfileService, LanguageService, LeftComponentPipe, LocalCacheService, ModalAppsComponent, NavbarActions, NavbarActionsInternal, OauthPasswordService, ParseJwtService, PwaUpdaterService, RLB_APPS, RLB_APP_NAVCOMP, RLB_CFG, RLB_CFG_ACL, RLB_CFG_AUTH, RLB_CFG_CMS, RLB_CFG_ENV, RLB_CFG_I18N, RLB_CFG_PAGES, RLB_INIT_PROVIDER, RightComponentPipe, RlbAppModule, RlbRole, SidebarActions, SidebarActionsInternal, StrapiService, ToastComponent, TokenOauthInterceptor, TranslateBrowserLoader, TruncatePipe, UtilsService, aclFeatureKey, appContextFeatureKey, authsFeatureKey, getDefaultRoutes, initialAclState, initialAppContextState, initialAuthState, initialNavbarState, initialSidebarState, navbarsFeatureKey, oauthGuard, oauthPasswordGuard, permissionGuard, provideApp, provideRlbCodeBrowserOAuth, provideRlbConfig, provideRlbI18n, sidebarsFeatureKey, translateBrowserLoaderFactory, verifyDeactivate };
|
|
1241
|
+
export type { Acl, AclConfiguration, AclState, AppContext, AppDescriber, AppDetails, AppInfo, AppInfoData, AppState, AppTheme, AppViewMode, Auth, AuthConfiguration, AuthState, BaseState, CacheItem, CmsConfiguration, Endpoint, EnvironmentConfiguration, ErrorOutput, Faq, FaqGroup, Home, IConfiguration, InterceptorMapping, InternationalizationConfiguration, JwtUser, KeycloakClient, KeycloakCredential, KeycloakDevice, KeycloakSession, KeycloakUser, KeycloakUserCredentialMetadata, LogLevel, LoggerContext, MenuItem, Navbar, NavbarComponents, NavbarState, Page, PageTemplate, PagesConfiguration, ProjectConfiguration, ProviderConfiguration, Resource, RlbInitProvider, Sidebar, SidebarState, Step, Tab, Token, Topic, UserClaims, UserResource, VerifyDeactivate, _KeycloakCredential };
|