@alfresco/adf-core 8.1.0-16346981764 → 8.1.0-16472253724

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.
Files changed (62) hide show
  1. package/bundles/assets/adf-core/i18n/pl.json +1 -1
  2. package/esm2022/lib/app-config/app-config.module.mjs +1 -1
  3. package/esm2022/lib/app-config/provide-app-config.mjs +44 -0
  4. package/esm2022/lib/app-config/public-api.mjs +2 -1
  5. package/esm2022/lib/auth/basic-auth/basic-alfresco-auth.service.mjs +14 -1
  6. package/esm2022/lib/auth/guard/auth-guard-bpm.service.mjs +2 -2
  7. package/esm2022/lib/auth/interfaces/authentication-service.interface.mjs +1 -1
  8. package/esm2022/lib/auth/oidc/oidc-authentication.service.mjs +16 -14
  9. package/esm2022/lib/auth/services/authentication.service.mjs +17 -17
  10. package/esm2022/lib/auth/services/base-authentication.service.mjs +1 -5
  11. package/esm2022/lib/core.module.mjs +146 -164
  12. package/esm2022/lib/form/components/form-renderer.component.mjs +3 -3
  13. package/esm2022/lib/form/components/widgets/amount/amount.widget.mjs +3 -3
  14. package/esm2022/lib/form/components/widgets/base-viewer/base-viewer.widget.mjs +1 -1
  15. package/esm2022/lib/form/components/widgets/text/text-mask.component.mjs +8 -2
  16. package/esm2022/lib/form/form-base.module.mjs +3 -18
  17. package/esm2022/lib/landing-page/index.mjs +18 -0
  18. package/esm2022/lib/landing-page/provider.mjs +30 -0
  19. package/esm2022/lib/landing-page/public-api.mjs +18 -0
  20. package/esm2022/lib/testing/core.testing.module.mjs +2 -1
  21. package/esm2022/lib/testing/noop-translate.module.mjs +22 -8
  22. package/esm2022/lib/testing/unit-testing-utils.mjs +4 -1
  23. package/esm2022/lib/translation/provide-i18n.mjs +48 -0
  24. package/esm2022/lib/translation/public-api.mjs +2 -1
  25. package/esm2022/lib/translation/translate-loader.service.mjs +7 -2
  26. package/esm2022/lib/viewer/components/viewer.component.mjs +8 -8
  27. package/esm2022/public-api.mjs +2 -1
  28. package/esm2022/shell/index.mjs +2 -1
  29. package/esm2022/shell/lib/shell.module.mjs +8 -12
  30. package/esm2022/shell/lib/shell.routes.mjs +26 -1
  31. package/fesm2022/adf-core.mjs +323 -162
  32. package/fesm2022/adf-core.mjs.map +1 -1
  33. package/fesm2022/alfresco-adf-core-shell.mjs +32 -11
  34. package/fesm2022/alfresco-adf-core-shell.mjs.map +1 -1
  35. package/lib/app-config/app-config.module.d.ts +1 -0
  36. package/lib/app-config/provide-app-config.d.ts +23 -0
  37. package/lib/app-config/public-api.d.ts +1 -0
  38. package/lib/auth/basic-auth/basic-alfresco-auth.service.d.ts +13 -0
  39. package/lib/auth/interfaces/authentication-service.interface.d.ts +9 -4
  40. package/lib/auth/oidc/oidc-authentication.service.d.ts +15 -5
  41. package/lib/auth/services/authentication.service.d.ts +12 -2
  42. package/lib/auth/services/base-authentication.service.d.ts +5 -1
  43. package/lib/core.module.d.ts +124 -128
  44. package/lib/form/components/form-renderer.component.scss +4 -5
  45. package/lib/form/components/widgets/amount/amount.widget.scss +0 -8
  46. package/lib/form/components/widgets/text/text-mask.component.d.ts +1 -0
  47. package/lib/form/form-base.module.d.ts +1 -0
  48. package/lib/landing-page/index.d.ts +17 -0
  49. package/lib/landing-page/provider.d.ts +24 -0
  50. package/lib/landing-page/public-api.d.ts +17 -0
  51. package/lib/testing/core.testing.module.d.ts +1 -0
  52. package/lib/testing/noop-translate.module.d.ts +1 -2
  53. package/lib/testing/unit-testing-utils.d.ts +1 -0
  54. package/lib/translation/provide-i18n.d.ts +39 -0
  55. package/lib/translation/public-api.d.ts +1 -0
  56. package/lib/viewer/components/viewer.component.d.ts +3 -3
  57. package/package.json +3 -3
  58. package/public-api.d.ts +1 -0
  59. package/shell/README.md +10 -6
  60. package/shell/index.d.ts +1 -0
  61. package/shell/lib/shell.module.d.ts +4 -7
  62. package/shell/lib/shell.routes.d.ts +13 -1
@@ -1,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { InjectionToken, inject, DestroyRef, Component, ViewEncapsulation, Inject, Optional, ViewChild, NgModule } from '@angular/core';
3
3
  import * as i1 from '@angular/router';
4
- import { NavigationEnd, RouterModule, provideRoutes } from '@angular/router';
4
+ import { NavigationEnd, RouterModule, provideRouter } from '@angular/router';
5
5
  import * as i2 from '@alfresco/adf-core';
6
6
  import { SidenavLayoutModule } from '@alfresco/adf-core';
7
7
  import { DynamicExtensionComponent } from '@alfresco/adf-extensions';
@@ -162,6 +162,30 @@ const SHELL_LAYOUT_ROUTE = {
162
162
  canActivate: [SHELL_AUTH_TOKEN],
163
163
  children: []
164
164
  };
165
+ /**
166
+ * Provides shell routes for the application.
167
+ *
168
+ * @param routes The routes configuration for the shell.
169
+ * @returns An array of providers for the shell routes.
170
+ */
171
+ function provideShellRoutes(routes) {
172
+ const shellLayoutRoute = SHELL_LAYOUT_ROUTE;
173
+ if (Array.isArray(routes)) {
174
+ shellLayoutRoute.children.push(...routes);
175
+ return [provideRouter([shellLayoutRoute])];
176
+ }
177
+ const shellChildrenRoutes = routes.shellChildren || [];
178
+ if (shellChildrenRoutes.length > 0) {
179
+ shellLayoutRoute.children.push(...shellChildrenRoutes);
180
+ }
181
+ const shellParentRoute = routes.shellParentRoute;
182
+ const rootRoute = shellParentRoute || shellLayoutRoute;
183
+ if (routes.shellParentRoute) {
184
+ rootRoute.children = rootRoute.children || [];
185
+ rootRoute.children.push(shellLayoutRoute);
186
+ }
187
+ return [provideRouter([rootRoute])];
188
+ }
165
189
 
166
190
  /*!
167
191
  * @license
@@ -179,6 +203,7 @@ const SHELL_LAYOUT_ROUTE = {
179
203
  * See the License for the specific language governing permissions and
180
204
  * limitations under the License.
181
205
  */
206
+ /** @deprecated use `provideShellRoutes` instead */
182
207
  class ShellModule {
183
208
  static withRoutes(routes) {
184
209
  if (Array.isArray(routes)) {
@@ -187,15 +212,11 @@ class ShellModule {
187
212
  return getModuleForRouteConfig(routes);
188
213
  }
189
214
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ShellModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
190
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: ShellModule, imports: [ShellLayoutComponent], exports: [ShellLayoutComponent] }); }
191
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ShellModule, imports: [ShellLayoutComponent] }); }
215
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: ShellModule }); }
216
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ShellModule }); }
192
217
  }
193
218
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ShellModule, decorators: [{
194
- type: NgModule,
195
- args: [{
196
- imports: [ShellLayoutComponent],
197
- exports: [ShellLayoutComponent]
198
- }]
219
+ type: NgModule
199
220
  }] });
200
221
  /**
201
222
  * Resolve module for routes
@@ -210,7 +231,7 @@ function getModuleForRoutes(routes) {
210
231
  });
211
232
  return {
212
233
  ngModule: ShellModule,
213
- providers: provideRoutes([shellLayoutRoute])
234
+ providers: [provideRouter([shellLayoutRoute])]
214
235
  };
215
236
  }
216
237
  /**
@@ -233,7 +254,7 @@ function getModuleForRouteConfig(config) {
233
254
  }
234
255
  return {
235
256
  ngModule: ShellModule,
236
- providers: provideRoutes([rootRoute])
257
+ providers: [provideRouter([rootRoute])]
237
258
  };
238
259
  }
239
260
 
@@ -258,5 +279,5 @@ function getModuleForRouteConfig(config) {
258
279
  * Generated bundle index. Do not edit.
259
280
  */
260
281
 
261
- export { SHELL_APP_SERVICE, SHELL_AUTH_TOKEN, SHELL_NAVBAR_MAX_WIDTH, SHELL_NAVBAR_MIN_WIDTH, ShellLayoutComponent, ShellModule };
282
+ export { SHELL_APP_SERVICE, SHELL_AUTH_TOKEN, SHELL_LAYOUT_ROUTE, SHELL_NAVBAR_MAX_WIDTH, SHELL_NAVBAR_MIN_WIDTH, ShellLayoutComponent, ShellModule, provideShellRoutes };
262
283
  //# sourceMappingURL=alfresco-adf-core-shell.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"alfresco-adf-core-shell.mjs","sources":["../../../../lib/core/shell/src/lib/services/shell-app.service.ts","../../../../lib/core/shell/src/lib/components/shell/shell.component.ts","../../../../lib/core/shell/src/lib/components/shell/shell.component.html","../../../../lib/core/shell/src/lib/shell.routes.ts","../../../../lib/core/shell/src/lib/shell.module.ts","../../../../lib/core/shell/src/index.ts","../../../../lib/core/shell/src/alfresco-adf-core-shell.ts"],"sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { InjectionToken } from '@angular/core';\nimport { CanActivateFn, CanActivateChildFn } from '@angular/router';\nimport { Observable } from 'rxjs';\n\nexport interface ShellPreferencesService {\n set(preferenceKey: string, value: any): void;\n get(preferenceKey: string, defaultValue: string): string;\n}\n\nexport interface ShellAppService {\n pageHeading$: Observable<string>;\n hideSidenavConditions: string[];\n minimizeSidenavConditions: string[];\n preferencesService: ShellPreferencesService;\n}\n\nexport const SHELL_APP_SERVICE = new InjectionToken<ShellAppService>('SHELL_APP_SERVICE');\n\nexport const SHELL_AUTH_TOKEN = new InjectionToken<CanActivateFn | CanActivateChildFn>('SHELL_AUTH_TOKEN');\nexport const SHELL_NAVBAR_MIN_WIDTH = new InjectionToken<number>('SHELL_NAVBAR_MIN_WIDTH');\nexport const SHELL_NAVBAR_MAX_WIDTH = new InjectionToken<number>('SHELL_NAVBAR_MAX_WIDTH');\n","/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { AppConfigService, SidenavLayoutComponent, SidenavLayoutModule } from '@alfresco/adf-core';\nimport { DynamicExtensionComponent } from '@alfresco/adf-extensions';\nimport { Component, DestroyRef, inject, Inject, OnInit, Optional, ViewChild, ViewEncapsulation } from '@angular/core';\nimport { NavigationEnd, Router, RouterModule } from '@angular/router';\nimport { Observable } from 'rxjs';\nimport { filter, map, withLatestFrom } from 'rxjs/operators';\nimport { BreakpointObserver } from '@angular/cdk/layout';\nimport { Directionality } from '@angular/cdk/bidi';\nimport {\n SHELL_APP_SERVICE,\n SHELL_NAVBAR_MAX_WIDTH,\n SHELL_NAVBAR_MIN_WIDTH,\n ShellAppService\n} from '../../services/shell-app.service';\nimport { CommonModule } from '@angular/common';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\n\n@Component({\n selector: 'app-shell',\n standalone: true,\n imports: [CommonModule, SidenavLayoutModule, RouterModule, DynamicExtensionComponent],\n templateUrl: './shell.component.html',\n styleUrls: ['./shell.component.scss'],\n encapsulation: ViewEncapsulation.None,\n host: { class: 'app-shell' }\n})\nexport class ShellLayoutComponent implements OnInit {\n @ViewChild('layout', { static: true })\n layout: SidenavLayoutComponent;\n\n isSmallScreen$: Observable<boolean>;\n\n expandedSidenav: boolean;\n minimizeSidenav = false;\n hideSidenav = false;\n sidenavMin: number;\n sidenavMax: number;\n direction: Directionality;\n\n private readonly destroyRef = inject(DestroyRef);\n\n constructor(\n private router: Router,\n private appConfigService: AppConfigService,\n private breakpointObserver: BreakpointObserver,\n @Inject(SHELL_APP_SERVICE) private shellService: ShellAppService,\n @Optional() @Inject(SHELL_NAVBAR_MIN_WIDTH) navBarMinWidth: number,\n @Optional() @Inject(SHELL_NAVBAR_MAX_WIDTH) navbarMaxWidth: number\n ) {\n this.sidenavMin = navBarMinWidth ?? 70;\n this.sidenavMax = navbarMaxWidth ?? 320;\n }\n\n ngOnInit() {\n this.isSmallScreen$ = this.breakpointObserver.observe(['(max-width: 600px)']).pipe(map((result) => result.matches));\n\n this.hideSidenav = this.shellService.hideSidenavConditions.some((el) => this.router.routerState.snapshot.url.includes(el));\n this.minimizeSidenav = this.shellService.minimizeSidenavConditions.some((el) => this.router.routerState.snapshot.url.includes(el));\n\n if (!this.minimizeSidenav) {\n this.expandedSidenav = this.getSidenavState();\n } else {\n this.expandedSidenav = false;\n }\n\n this.router.events\n .pipe(\n withLatestFrom(this.isSmallScreen$),\n filter(([event, isSmallScreen]) => isSmallScreen && event instanceof NavigationEnd),\n takeUntilDestroyed(this.destroyRef)\n )\n .subscribe(() => {\n this.layout.container.sidenav.close();\n });\n\n this.router.events\n .pipe(\n filter((event) => event instanceof NavigationEnd),\n takeUntilDestroyed(this.destroyRef)\n )\n .subscribe((event: NavigationEnd) => {\n this.minimizeSidenav = this.shellService.minimizeSidenavConditions.some((el) => event.urlAfterRedirects.includes(el));\n this.hideSidenav = this.shellService.hideSidenavConditions.some((el) => event.urlAfterRedirects.includes(el));\n\n this.updateState();\n });\n }\n hideMenu(event: Event) {\n if (this.layout.container.isMobileScreenSize) {\n event.preventDefault();\n this.layout.container.toggleMenu();\n }\n }\n\n private updateState() {\n if (this.minimizeSidenav && !this.layout.isMenuMinimized) {\n this.layout.isMenuMinimized = true;\n if (!this.layout.container.isMobileScreenSize) {\n this.layout.container.toggleMenu();\n }\n }\n\n if (!this.minimizeSidenav) {\n if (this.getSidenavState() && this.layout.isMenuMinimized) {\n this.layout.isMenuMinimized = false;\n this.layout.container.toggleMenu();\n }\n }\n }\n\n onExpanded(state: boolean) {\n if (!this.minimizeSidenav && this.appConfigService.get('sideNav.preserveState')) {\n this.shellService.preferencesService.set('expandedSidenav', state);\n }\n }\n\n private getSidenavState(): boolean {\n const expand = this.appConfigService.get<boolean>('sideNav.expandedSidenav', true);\n const preserveState = this.appConfigService.get<boolean>('sideNav.preserveState', true);\n\n if (preserveState) {\n return this.shellService.preferencesService.get('expandedSidenav', expand.toString()) === 'true';\n }\n\n return expand;\n }\n}\n","<adf-sidenav-layout\n #layout\n [sidenavMin]=\"sidenavMin\"\n [sidenavMax]=\"sidenavMax\"\n [stepOver]=\"600\"\n [hideSidenav]=\"hideSidenav\"\n [expandedSidenav]=\"expandedSidenav\"\n (expanded)=\"onExpanded($event)\"\n>\n <adf-sidenav-layout-header>\n <ng-template let-isMenuMinimized=\"isMenuMinimized\">\n <div\n role=\"heading\"\n aria-level=\"1\"\n *ngIf=\"!hideSidenav\"\n >\n <adf-dynamic-component id=\"app.layout.header\" [data]=\"{ layout }\" />\n </div>\n </ng-template>\n </adf-sidenav-layout-header>\n\n <adf-sidenav-layout-navigation>\n <ng-template let-isMenuMinimized=\"isMenuMinimized\">\n <div\n (swipeleft)=\"hideMenu($event)\"\n [attr.data-automation-id]=\"isMenuMinimized() ? 'collapsed' : 'expanded'\"\n >\n <adf-dynamic-component\n id=\"app.layout.sidenav\"\n [data]=\"{ layout, mode: layout.isMenuMinimized ? 'collapsed' : 'expanded'}\"\n />\n </div>\n </ng-template>\n </adf-sidenav-layout-navigation>\n\n <adf-sidenav-layout-content>\n <ng-template>\n <router-outlet />\n </ng-template>\n </adf-sidenav-layout-content>\n</adf-sidenav-layout>\n\n<adf-dynamic-component id=\"app.shell.sibling\" />\n\n<router-outlet name=\"viewer\" />\n","/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Route } from '@angular/router';\nimport { ShellLayoutComponent } from './components/shell/shell.component';\nimport { SHELL_AUTH_TOKEN } from './services/shell-app.service';\n\nexport const SHELL_LAYOUT_ROUTE: Route = {\n path: '',\n component: ShellLayoutComponent,\n canActivate: [SHELL_AUTH_TOKEN],\n children: []\n};\n","/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { ModuleWithProviders, NgModule } from '@angular/core';\nimport { Routes, provideRoutes, Route } from '@angular/router';\nimport { SHELL_LAYOUT_ROUTE } from './shell.routes';\nimport { ShellLayoutComponent } from './components/shell/shell.component';\n\nexport interface AppShellRoutesConfig {\n shellParentRoute?: Route;\n shellChildren: Routes;\n}\n\n@NgModule({\n imports: [ShellLayoutComponent],\n exports: [ShellLayoutComponent]\n})\nexport class ShellModule {\n static withRoutes(routes: Routes | AppShellRoutesConfig): ModuleWithProviders<ShellModule> {\n if (Array.isArray(routes)) {\n return getModuleForRoutes(routes);\n }\n\n return getModuleForRouteConfig(routes);\n }\n}\n\n/**\n * Resolve module for routes\n *\n * @param routes route configuration\n * @returns module with providers\n */\nfunction getModuleForRoutes(routes: Routes): ModuleWithProviders<ShellModule> {\n const shellLayoutRoute = SHELL_LAYOUT_ROUTE;\n\n routes.forEach((childRoute) => {\n shellLayoutRoute.children.push(childRoute);\n });\n\n return {\n ngModule: ShellModule,\n providers: provideRoutes([shellLayoutRoute])\n };\n}\n\n/**\n * Resolve a module for the route configuration\n *\n * @param config route configuration\n * @returns module with providers\n */\nfunction getModuleForRouteConfig(config: AppShellRoutesConfig): ModuleWithProviders<ShellModule> {\n const shellLayoutRoute = SHELL_LAYOUT_ROUTE;\n\n const shellParentRoute = config.shellParentRoute;\n const shellChildrenRoutes = config.shellChildren;\n\n shellLayoutRoute.children.push(...shellChildrenRoutes);\n\n const rootRoute = shellParentRoute ? shellParentRoute : shellLayoutRoute;\n\n if (config.shellParentRoute) {\n if (rootRoute.children === undefined) {\n rootRoute.children = [];\n }\n\n rootRoute.children.push(shellLayoutRoute);\n }\n\n return {\n ngModule: ShellModule,\n providers: provideRoutes([rootRoute])\n };\n}\n","/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './lib/shell.module';\nexport * from './lib/services/shell-app.service';\nexport * from './lib/components/shell/shell.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;AAeG;MAkBU,iBAAiB,GAAG,IAAI,cAAc,CAAkB,mBAAmB,EAAE;MAE7E,gBAAgB,GAAG,IAAI,cAAc,CAAqC,kBAAkB,EAAE;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B,QAAA,SAAS,EAAE,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC;KACxC,CAAC;AACN;;ACxFA;;;;;;;;;;;;;;;AAeG;;ACfH;;AAEG;;;;"}
1
+ {"version":3,"file":"alfresco-adf-core-shell.mjs","sources":["../../../../lib/core/shell/src/lib/services/shell-app.service.ts","../../../../lib/core/shell/src/lib/components/shell/shell.component.ts","../../../../lib/core/shell/src/lib/components/shell/shell.component.html","../../../../lib/core/shell/src/lib/shell.routes.ts","../../../../lib/core/shell/src/lib/shell.module.ts","../../../../lib/core/shell/src/index.ts","../../../../lib/core/shell/src/alfresco-adf-core-shell.ts"],"sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { InjectionToken } from '@angular/core';\nimport { CanActivateFn, CanActivateChildFn } from '@angular/router';\nimport { Observable } from 'rxjs';\n\nexport interface ShellPreferencesService {\n set(preferenceKey: string, value: any): void;\n get(preferenceKey: string, defaultValue: string): string;\n}\n\nexport interface ShellAppService {\n pageHeading$: Observable<string>;\n hideSidenavConditions: string[];\n minimizeSidenavConditions: string[];\n preferencesService: ShellPreferencesService;\n}\n\nexport const SHELL_APP_SERVICE = new InjectionToken<ShellAppService>('SHELL_APP_SERVICE');\n\nexport const SHELL_AUTH_TOKEN = new InjectionToken<CanActivateFn | CanActivateChildFn>('SHELL_AUTH_TOKEN');\nexport const SHELL_NAVBAR_MIN_WIDTH = new InjectionToken<number>('SHELL_NAVBAR_MIN_WIDTH');\nexport const SHELL_NAVBAR_MAX_WIDTH = new InjectionToken<number>('SHELL_NAVBAR_MAX_WIDTH');\n","/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { AppConfigService, SidenavLayoutComponent, SidenavLayoutModule } from '@alfresco/adf-core';\nimport { DynamicExtensionComponent } from '@alfresco/adf-extensions';\nimport { Component, DestroyRef, inject, Inject, OnInit, Optional, ViewChild, ViewEncapsulation } from '@angular/core';\nimport { NavigationEnd, Router, RouterModule } from '@angular/router';\nimport { Observable } from 'rxjs';\nimport { filter, map, withLatestFrom } from 'rxjs/operators';\nimport { BreakpointObserver } from '@angular/cdk/layout';\nimport { Directionality } from '@angular/cdk/bidi';\nimport {\n SHELL_APP_SERVICE,\n SHELL_NAVBAR_MAX_WIDTH,\n SHELL_NAVBAR_MIN_WIDTH,\n ShellAppService\n} from '../../services/shell-app.service';\nimport { CommonModule } from '@angular/common';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\n\n@Component({\n selector: 'app-shell',\n standalone: true,\n imports: [CommonModule, SidenavLayoutModule, RouterModule, DynamicExtensionComponent],\n templateUrl: './shell.component.html',\n styleUrls: ['./shell.component.scss'],\n encapsulation: ViewEncapsulation.None,\n host: { class: 'app-shell' }\n})\nexport class ShellLayoutComponent implements OnInit {\n @ViewChild('layout', { static: true })\n layout: SidenavLayoutComponent;\n\n isSmallScreen$: Observable<boolean>;\n\n expandedSidenav: boolean;\n minimizeSidenav = false;\n hideSidenav = false;\n sidenavMin: number;\n sidenavMax: number;\n direction: Directionality;\n\n private readonly destroyRef = inject(DestroyRef);\n\n constructor(\n private router: Router,\n private appConfigService: AppConfigService,\n private breakpointObserver: BreakpointObserver,\n @Inject(SHELL_APP_SERVICE) private shellService: ShellAppService,\n @Optional() @Inject(SHELL_NAVBAR_MIN_WIDTH) navBarMinWidth: number,\n @Optional() @Inject(SHELL_NAVBAR_MAX_WIDTH) navbarMaxWidth: number\n ) {\n this.sidenavMin = navBarMinWidth ?? 70;\n this.sidenavMax = navbarMaxWidth ?? 320;\n }\n\n ngOnInit() {\n this.isSmallScreen$ = this.breakpointObserver.observe(['(max-width: 600px)']).pipe(map((result) => result.matches));\n\n this.hideSidenav = this.shellService.hideSidenavConditions.some((el) => this.router.routerState.snapshot.url.includes(el));\n this.minimizeSidenav = this.shellService.minimizeSidenavConditions.some((el) => this.router.routerState.snapshot.url.includes(el));\n\n if (!this.minimizeSidenav) {\n this.expandedSidenav = this.getSidenavState();\n } else {\n this.expandedSidenav = false;\n }\n\n this.router.events\n .pipe(\n withLatestFrom(this.isSmallScreen$),\n filter(([event, isSmallScreen]) => isSmallScreen && event instanceof NavigationEnd),\n takeUntilDestroyed(this.destroyRef)\n )\n .subscribe(() => {\n this.layout.container.sidenav.close();\n });\n\n this.router.events\n .pipe(\n filter((event) => event instanceof NavigationEnd),\n takeUntilDestroyed(this.destroyRef)\n )\n .subscribe((event: NavigationEnd) => {\n this.minimizeSidenav = this.shellService.minimizeSidenavConditions.some((el) => event.urlAfterRedirects.includes(el));\n this.hideSidenav = this.shellService.hideSidenavConditions.some((el) => event.urlAfterRedirects.includes(el));\n\n this.updateState();\n });\n }\n hideMenu(event: Event) {\n if (this.layout.container.isMobileScreenSize) {\n event.preventDefault();\n this.layout.container.toggleMenu();\n }\n }\n\n private updateState() {\n if (this.minimizeSidenav && !this.layout.isMenuMinimized) {\n this.layout.isMenuMinimized = true;\n if (!this.layout.container.isMobileScreenSize) {\n this.layout.container.toggleMenu();\n }\n }\n\n if (!this.minimizeSidenav) {\n if (this.getSidenavState() && this.layout.isMenuMinimized) {\n this.layout.isMenuMinimized = false;\n this.layout.container.toggleMenu();\n }\n }\n }\n\n onExpanded(state: boolean) {\n if (!this.minimizeSidenav && this.appConfigService.get('sideNav.preserveState')) {\n this.shellService.preferencesService.set('expandedSidenav', state);\n }\n }\n\n private getSidenavState(): boolean {\n const expand = this.appConfigService.get<boolean>('sideNav.expandedSidenav', true);\n const preserveState = this.appConfigService.get<boolean>('sideNav.preserveState', true);\n\n if (preserveState) {\n return this.shellService.preferencesService.get('expandedSidenav', expand.toString()) === 'true';\n }\n\n return expand;\n }\n}\n","<adf-sidenav-layout\n #layout\n [sidenavMin]=\"sidenavMin\"\n [sidenavMax]=\"sidenavMax\"\n [stepOver]=\"600\"\n [hideSidenav]=\"hideSidenav\"\n [expandedSidenav]=\"expandedSidenav\"\n (expanded)=\"onExpanded($event)\"\n>\n <adf-sidenav-layout-header>\n <ng-template let-isMenuMinimized=\"isMenuMinimized\">\n <div\n role=\"heading\"\n aria-level=\"1\"\n *ngIf=\"!hideSidenav\"\n >\n <adf-dynamic-component id=\"app.layout.header\" [data]=\"{ layout }\" />\n </div>\n </ng-template>\n </adf-sidenav-layout-header>\n\n <adf-sidenav-layout-navigation>\n <ng-template let-isMenuMinimized=\"isMenuMinimized\">\n <div\n (swipeleft)=\"hideMenu($event)\"\n [attr.data-automation-id]=\"isMenuMinimized() ? 'collapsed' : 'expanded'\"\n >\n <adf-dynamic-component\n id=\"app.layout.sidenav\"\n [data]=\"{ layout, mode: layout.isMenuMinimized ? 'collapsed' : 'expanded'}\"\n />\n </div>\n </ng-template>\n </adf-sidenav-layout-navigation>\n\n <adf-sidenav-layout-content>\n <ng-template>\n <router-outlet />\n </ng-template>\n </adf-sidenav-layout-content>\n</adf-sidenav-layout>\n\n<adf-dynamic-component id=\"app.shell.sibling\" />\n\n<router-outlet name=\"viewer\" />\n","/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { provideRouter, Route, Routes } from '@angular/router';\nimport { ShellLayoutComponent } from './components/shell/shell.component';\nimport { SHELL_AUTH_TOKEN } from './services/shell-app.service';\nimport { EnvironmentProviders } from '@angular/core';\n\nexport const SHELL_LAYOUT_ROUTE: Route = {\n path: '',\n component: ShellLayoutComponent,\n canActivate: [SHELL_AUTH_TOKEN],\n children: []\n};\n\nexport interface AppShellRoutesConfig {\n shellParentRoute?: Route;\n shellChildren: Routes;\n}\n\n/**\n * Provides shell routes for the application.\n *\n * @param routes The routes configuration for the shell.\n * @returns An array of providers for the shell routes.\n */\nexport function provideShellRoutes(routes: Routes | AppShellRoutesConfig): EnvironmentProviders[] {\n const shellLayoutRoute = SHELL_LAYOUT_ROUTE;\n\n if (Array.isArray(routes)) {\n shellLayoutRoute.children.push(...routes);\n return [provideRouter([shellLayoutRoute])];\n }\n\n const shellChildrenRoutes = routes.shellChildren || [];\n if (shellChildrenRoutes.length > 0) {\n shellLayoutRoute.children.push(...shellChildrenRoutes);\n }\n\n const shellParentRoute = routes.shellParentRoute;\n const rootRoute = shellParentRoute || shellLayoutRoute;\n\n if (routes.shellParentRoute) {\n rootRoute.children = rootRoute.children || [];\n rootRoute.children.push(shellLayoutRoute);\n }\n\n return [provideRouter([rootRoute])];\n}\n","/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { ModuleWithProviders, NgModule } from '@angular/core';\nimport { Routes, provideRouter } from '@angular/router';\nimport { AppShellRoutesConfig, SHELL_LAYOUT_ROUTE } from './shell.routes';\n\n/** @deprecated use `provideShellRoutes` instead */\n@NgModule()\nexport class ShellModule {\n static withRoutes(routes: Routes | AppShellRoutesConfig): ModuleWithProviders<ShellModule> {\n if (Array.isArray(routes)) {\n return getModuleForRoutes(routes);\n }\n\n return getModuleForRouteConfig(routes);\n }\n}\n\n/**\n * Resolve module for routes\n *\n * @param routes route configuration\n * @returns module with providers\n */\nfunction getModuleForRoutes(routes: Routes): ModuleWithProviders<ShellModule> {\n const shellLayoutRoute = SHELL_LAYOUT_ROUTE;\n\n routes.forEach((childRoute) => {\n shellLayoutRoute.children.push(childRoute);\n });\n\n return {\n ngModule: ShellModule,\n providers: [provideRouter([shellLayoutRoute])]\n };\n}\n\n/**\n * Resolve a module for the route configuration\n *\n * @param config route configuration\n * @returns module with providers\n */\nfunction getModuleForRouteConfig(config: AppShellRoutesConfig): ModuleWithProviders<ShellModule> {\n const shellLayoutRoute = SHELL_LAYOUT_ROUTE;\n\n const shellParentRoute = config.shellParentRoute;\n const shellChildrenRoutes = config.shellChildren;\n\n shellLayoutRoute.children.push(...shellChildrenRoutes);\n\n const rootRoute = shellParentRoute ? shellParentRoute : shellLayoutRoute;\n\n if (config.shellParentRoute) {\n if (rootRoute.children === undefined) {\n rootRoute.children = [];\n }\n\n rootRoute.children.push(shellLayoutRoute);\n }\n\n return {\n ngModule: ShellModule,\n providers: [provideRouter([rootRoute])]\n };\n}\n","/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './lib/shell.module';\nexport * from './lib/services/shell-app.service';\nexport * from './lib/components/shell/shell.component';\nexport * from './lib/shell.routes';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;AAeG;MAkBU,iBAAiB,GAAG,IAAI,cAAc,CAAkB,mBAAmB,EAAE;MAE7E,gBAAgB,GAAG,IAAI,cAAc,CAAqC,kBAAkB,EAAE;MAC9F,sBAAsB,GAAG,IAAI,cAAc,CAAS,wBAAwB,EAAE;MAC9E,sBAAsB,GAAG,IAAI,cAAc,CAAS,wBAAwB;;ACrCzF;;;;;;;;;;;;;;;AAeG;MA4BU,oBAAoB,CAAA;IAe7B,WACY,CAAA,MAAc,EACd,gBAAkC,EAClC,kBAAsC,EACX,YAA6B,EACpB,cAAsB,EACtB,cAAsB,EAAA;QAL1D,IAAM,CAAA,MAAA,GAAN,MAAM,CAAQ;QACd,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAAkB;QAClC,IAAkB,CAAA,kBAAA,GAAlB,kBAAkB,CAAoB;QACX,IAAY,CAAA,YAAA,GAAZ,YAAY,CAAiB;QAZpE,IAAe,CAAA,eAAA,GAAG,KAAK,CAAC;QACxB,IAAW,CAAA,WAAA,GAAG,KAAK,CAAC;AAKH,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC;AAU7C,QAAA,IAAI,CAAC,UAAU,GAAG,cAAc,IAAI,EAAE,CAAC;AACvC,QAAA,IAAI,CAAC,UAAU,GAAG,cAAc,IAAI,GAAG,CAAC;KAC3C;IAED,QAAQ,GAAA;AACJ,QAAA,IAAI,CAAC,cAAc,GAAG,IAAI,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C,MAAc,EAAA;IACtC,MAAM,gBAAgB,GAAG,kBAAkB,CAAC;AAE5C,IAAA,MAAM,CAAC,OAAO,CAAC,CAAC,UAAU,KAAI;AAC1B,QAAA,gBAAgB,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;AAC/C,KAAC,CAAC,CAAC;IAEH,OAAO;AACH,QAAA,QAAQ,EAAE,WAAW;QACrB,SAAS,EAAE,CAAC,aAAa,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC;KACjD,CAAC;AACN,CAAC;AAED;;;;;AAKG;AACH,SAAS,uBAAuB,CAAC,MAA4B,EAAA;IACzD,MAAM,gBAAgB,GAAG,kBAAkB,CAAC;AAE5C,IAAA,MAAM,gBAAgB,GAAG,MAAM,CAAC,gBAAgB,CAAC;AACjD,IAAA,MAAM,mBAAmB,GAAG,MAAM,CAAC,aAAa,CAAC;IAEjD,gBAAgB,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,mBAAmB,CAAC,CAAC;IAEvD,MAAM,SAAS,GAAG,gBAAgB,GAAG,gBAAgB,GAAG,gBAAgB,CAAC;AAEzE,IAAA,IAAI,MAAM,CAAC,gBAAgB,EAAE;AACzB,QAAA,IAAI,SAAS,CAAC,QAAQ,KAAK,SAAS,EAAE;AAClC,YAAA,SAAS,CAAC,QAAQ,GAAG,EAAE,CAAC;SAC3B;AAED,QAAA,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;KAC7C;IAED,OAAO;AACH,QAAA,QAAQ,EAAE,WAAW;QACrB,SAAS,EAAE,CAAC,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;KAC1C,CAAC;AACN;;AChFA;;;;;;;;;;;;;;;AAeG;;ACfH;;AAEG;;;;"}
@@ -1,5 +1,6 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./app-config.pipe";
3
+ /** @deprecated This module is deprecated, consider importing AppConfigPipe directly */
3
4
  export declare class AppConfigModule {
4
5
  static ɵfac: i0.ɵɵFactoryDeclaration<AppConfigModule, never>;
5
6
  static ɵmod: i0.ɵɵNgModuleDeclaration<AppConfigModule, never, [typeof i1.AppConfigPipe], [typeof i1.AppConfigPipe]>;
@@ -0,0 +1,23 @@
1
+ /*!
2
+ * @license
3
+ * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ import { Provider } from '@angular/core';
18
+ /**
19
+ * Provides the application configuration for the application.
20
+ *
21
+ * @returns An array of providers to initialize the application configuration.
22
+ */
23
+ export declare function provideAppConfig(): Provider[];
@@ -19,3 +19,4 @@ export * from './debug-app-config.service';
19
19
  export * from './app-config.pipe';
20
20
  export * from './app-config-storage-prefix.factory';
21
21
  export * from './app-config.module';
22
+ export * from './provide-app-config';
@@ -79,8 +79,21 @@ export declare class BasicAlfrescoAuthService extends BaseAuthenticationService
79
79
  setRedirect(url?: RedirectionModel): void;
80
80
  private hasValidRedirection;
81
81
  private hasSelectedProviderAll;
82
+ /**
83
+ * @deprecated use `getUsername()` instead
84
+ * @returns the username of the authenticated user
85
+ */
82
86
  getBpmUsername(): string;
87
+ /**
88
+ * @deprecated use `getUsername()` instead
89
+ * @returns the username of the authenticated user
90
+ */
83
91
  getEcmUsername(): string;
92
+ /**
93
+ * Gets the username of the authenticated user.
94
+ *
95
+ * @returns the username of the authenticated user
96
+ */
84
97
  getUsername(): string;
85
98
  /**
86
99
  * Does kerberos enabled?
@@ -29,14 +29,19 @@ export interface AuthenticationServiceInterface {
29
29
  isLoggedIn(): boolean;
30
30
  isOauth(): boolean;
31
31
  logout(): any;
32
- isEcmLoggedIn(): boolean;
33
- isBpmLoggedIn(): boolean;
34
32
  isECMProvider(): boolean;
35
33
  isBPMProvider(): boolean;
36
34
  isALLProvider(): boolean;
37
- getEcmUsername(): string;
38
- getBpmUsername(): string;
35
+ getUsername(): string;
39
36
  getAuthHeaders(requestUrl: string, header: HttpHeaders): HttpHeaders;
40
37
  addTokenToHeader(requestUrl: string, headersArg?: HttpHeaders): Observable<HttpHeaders>;
41
38
  reset(): void;
39
+ /** @deprecated use `isLoggedIn` instead, use `isECMProvider` if you need to know the auth type */
40
+ isEcmLoggedIn(): boolean;
41
+ /** @deprecated use `isLoggedIn` instead, use `isBPMProvider` if you need to know the auth type */
42
+ isBpmLoggedIn(): boolean;
43
+ /** @deprecated use `getUsername` instead */
44
+ getEcmUsername(): string;
45
+ /** @deprecated use `getUsername` instead */
46
+ getBpmUsername(): string;
42
47
  }
@@ -23,13 +23,19 @@ export declare class OidcAuthenticationService extends BaseAuthenticationService
23
23
  * and the discovery document is loaded, otherwise it emits `false`.
24
24
  */
25
25
  shouldPerformSsoLogin$: Observable<boolean>;
26
+ /**
27
+ * @deprecated use `isLoggedIn` instead
28
+ * @returns true if the ECM provider is logged in
29
+ */
26
30
  isEcmLoggedIn(): boolean;
31
+ /**
32
+ * @deprecated use `isLoggedIn` instead
33
+ * @returns true if the BPM provider is logged in
34
+ */
27
35
  isBpmLoggedIn(): boolean;
28
36
  isLoggedIn(): boolean;
29
37
  hasValidAccessToken(): boolean;
30
38
  hasValidIdToken(): boolean;
31
- isImplicitFlow(): boolean;
32
- isAuthCodeFlow(): boolean;
33
39
  login(username: string, password: string): Observable<{
34
40
  type: string;
35
41
  ticket: any;
@@ -38,19 +44,23 @@ export declare class OidcAuthenticationService extends BaseAuthenticationService
38
44
  type: string;
39
45
  ticket: any;
40
46
  }>;
47
+ /**
48
+ * Gets the username of the authenticated user.
49
+ *
50
+ * @returns the logged username
51
+ */
41
52
  getUsername(): string;
42
53
  /**
43
- * @deprecated
54
+ * @deprecated use `getUsername` instead
44
55
  * @returns the logged username
45
56
  */
46
57
  getEcmUsername(): string;
47
58
  /**
48
- * @deprecated
59
+ * @deprecated use `getUsername` instead
49
60
  * @returns the logged username
50
61
  */
51
62
  getBpmUsername(): string;
52
63
  ssoLogin(redirectUrl?: string): void;
53
- ssoCodeFlowLogin(): void;
54
64
  isRememberMeSet(): boolean;
55
65
  logout(): Observable<never>;
56
66
  getToken(): string;
@@ -42,7 +42,15 @@ export declare class AuthenticationService implements AuthenticationServiceInter
42
42
  getToken(): string;
43
43
  isLoggedIn(): boolean;
44
44
  logout(): Observable<any>;
45
+ /**
46
+ * @deprecated use `isLoggedIn` instead
47
+ * @returns true if the ECM provider is logged in
48
+ */
45
49
  isEcmLoggedIn(): boolean;
50
+ /**
51
+ * @deprecated use `isLoggedIn` instead
52
+ * @returns true if the BPM provider is logged in
53
+ */
46
54
  isBpmLoggedIn(): boolean;
47
55
  reset(): void;
48
56
  login(username: string, password: string, rememberMe?: boolean): Observable<{
@@ -50,16 +58,18 @@ export declare class AuthenticationService implements AuthenticationServiceInter
50
58
  ticket: any;
51
59
  }>;
52
60
  /**
61
+ * Gets the username of the authenticated user.
62
+ *
53
63
  * @returns the username of the authenticated user
54
64
  */
55
65
  getUsername(): string;
56
66
  /**
57
- * @deprecated
67
+ * @deprecated use `getUsername` instead
58
68
  * @returns the logged username
59
69
  */
60
70
  getEcmUsername(): string;
61
71
  /**
62
- * @deprecated
72
+ * @deprecated use `getUsername` instead
63
73
  * @returns the logged username
64
74
  */
65
75
  getBpmUsername(): string;
@@ -37,10 +37,15 @@ export declare abstract class BaseAuthenticationService implements Authenticatio
37
37
  abstract getToken(): string;
38
38
  abstract isLoggedIn(): boolean;
39
39
  abstract logout(): any;
40
+ /** @deprecated use `isLoggedIn` instead */
40
41
  abstract isEcmLoggedIn(): boolean;
42
+ /** @deprecated use `isLoggedIn` instead */
41
43
  abstract isBpmLoggedIn(): boolean;
42
44
  abstract reset(): void;
45
+ abstract getUsername(): string;
46
+ /** @deprecated use `getUsername` instead */
43
47
  abstract getEcmUsername(): string;
48
+ /** @deprecated use `getUsername` instead */
44
49
  abstract getBpmUsername(): string;
45
50
  /**
46
51
  * Adds the auth token to an HTTP header using the 'bearer' scheme.
@@ -63,7 +68,6 @@ export declare abstract class BaseAuthenticationService implements Authenticatio
63
68
  * @returns True if both are supported, false otherwise
64
69
  */
65
70
  isALLProvider(): boolean;
66
- isOauthConfiguration(): boolean;
67
71
  /**
68
72
  * Prints an error message in the console browser
69
73
  *