@rxap/layout 18.1.0-dev.0 → 18.1.0-dev.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.
Files changed (92) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +1 -1
  3. package/compodoc/changelog.html +5 -0
  4. package/compodoc/components/AppsButtonComponent.html +18 -6
  5. package/compodoc/dependencies.html +2 -2
  6. package/compodoc/index.html +1 -1
  7. package/compodoc/injectables/ExternalAppsService.html +77 -40
  8. package/compodoc/interfaces/ReleaseInfoModule.html +1 -1
  9. package/compodoc/interfaces/SettingsMenuItem.html +1 -1
  10. package/compodoc/js/search/search_index.js +2 -2
  11. package/compodoc/miscellaneous/functions.html +60 -0
  12. package/compodoc/miscellaneous/typealiases.html +3 -3
  13. package/compodoc/miscellaneous/variables.html +24 -1
  14. package/compodoc/properties.html +1 -1
  15. package/docs/assets/navigation.js +1 -1
  16. package/docs/assets/search.js +1 -1
  17. package/docs/classes/AppsButtonComponent.html +3 -3
  18. package/docs/classes/BaseLayoutComponent.html +1 -1
  19. package/docs/classes/DefaultHeaderComponent.html +2 -2
  20. package/docs/classes/ExternalAppsService.html +3 -2
  21. package/docs/classes/FooterComponent.html +2 -2
  22. package/docs/classes/FooterDirective.html +2 -2
  23. package/docs/classes/FooterService.html +6 -6
  24. package/docs/classes/HeaderComponent.html +2 -2
  25. package/docs/classes/HeaderDirective.html +2 -2
  26. package/docs/classes/HeaderService.html +6 -6
  27. package/docs/classes/LayoutComponent.html +2 -2
  28. package/docs/classes/LayoutService.html +2 -2
  29. package/docs/classes/LogoService.html +2 -2
  30. package/docs/classes/MinimalLayoutComponent.html +1 -1
  31. package/docs/classes/NavigationComponent.html +2 -2
  32. package/docs/classes/NavigationItemComponent.html +2 -2
  33. package/docs/classes/NavigationProgressBarComponent.html +2 -2
  34. package/docs/classes/NavigationService.html +3 -3
  35. package/docs/classes/ReleaseInfoComponent.html +2 -2
  36. package/docs/classes/SettingsButtonComponent.html +2 -2
  37. package/docs/classes/SidenavComponent.html +2 -2
  38. package/docs/classes/SidenavFooterDirective.html +2 -2
  39. package/docs/classes/SidenavHeaderDirective.html +2 -2
  40. package/docs/classes/SidenavToggleButtonComponent.html +2 -2
  41. package/docs/classes/UserProfileIconComponent.html +2 -2
  42. package/docs/documentation.json +1018 -859
  43. package/docs/functions/IsNavigationDividerItem.html +1 -1
  44. package/docs/functions/IsNavigationInsertItem.html +1 -1
  45. package/docs/functions/IsNavigationItem.html +1 -1
  46. package/docs/functions/provideLayout.html +1 -1
  47. package/docs/functions/widthDefaultHeaderComponent.html +1 -1
  48. package/docs/functions/withExternalApps.html +1 -0
  49. package/docs/functions/withFooterComponents.html +1 -1
  50. package/docs/functions/withHeaderComponents.html +1 -1
  51. package/docs/functions/withNavigationConfig.html +1 -1
  52. package/docs/functions/withNavigationInserts.html +1 -1
  53. package/docs/functions/withReleaseInfoModules.html +1 -1
  54. package/docs/functions/withSettingsMenuItems.html +1 -1
  55. package/docs/index.html +1 -1
  56. package/docs/interfaces/NavigationDividerItem.html +2 -2
  57. package/docs/interfaces/NavigationInsertItem.html +2 -2
  58. package/docs/interfaces/NavigationItem.html +2 -2
  59. package/docs/interfaces/NavigationStatus.html +2 -2
  60. package/docs/interfaces/ReleaseInfoModule.html +2 -2
  61. package/docs/interfaces/SettingsMenuItem.html +2 -2
  62. package/docs/modules.html +3 -1
  63. package/docs/types/ExternalApp.html +1 -0
  64. package/docs/types/ExtractUsernameFromProfileFn.html +1 -1
  65. package/docs/types/Navigation.html +1 -1
  66. package/docs/types/NavigationWithInserts.html +1 -1
  67. package/docs/types/SettingsMenuItemComponent.html +1 -1
  68. package/docs/variables/EXTRACT_USERNAME_FROM_PROFILE.html +1 -1
  69. package/docs/variables/RXAP_EXTERNAL_APP.html +1 -0
  70. package/docs/variables/RXAP_EXTERNAL_APP_FILTER.html +1 -1
  71. package/docs/variables/RXAP_FOOTER_COMPONENT.html +1 -1
  72. package/docs/variables/RXAP_HEADER_COMPONENT.html +1 -1
  73. package/docs/variables/RXAP_LAYOUT_APPS_GRID.html +1 -1
  74. package/docs/variables/RXAP_LOGO_CONFIG.html +1 -1
  75. package/docs/variables/RXAP_NAVIGATION_CONFIG.html +1 -1
  76. package/docs/variables/RXAP_NAVIGATION_CONFIG_INSERTS.html +1 -1
  77. package/docs/variables/RXAP_RELEASE_INFO_MODULE.html +1 -1
  78. package/docs/variables/RXAP_SETTINGS_MENU_ITEM.html +1 -1
  79. package/docs/variables/RXAP_SETTINGS_MENU_ITEM_COMPONENT.html +1 -1
  80. package/esm2022/lib/default-header/apps-button/apps-button.component.mjs +5 -3
  81. package/esm2022/lib/external-apps.service.mjs +7 -5
  82. package/esm2022/lib/provide.mjs +9 -2
  83. package/esm2022/lib/tokens.mjs +2 -1
  84. package/esm2022/lib/types.mjs +1 -1
  85. package/fesm2022/rxap-layout.mjs +17 -6
  86. package/fesm2022/rxap-layout.mjs.map +1 -1
  87. package/lib/external-apps.service.d.ts +5 -4
  88. package/lib/provide.d.ts +2 -1
  89. package/lib/tokens.d.ts +1 -0
  90. package/lib/types.d.ts +1 -1
  91. package/package.json +7 -7
  92. package/docs/types/ExternalApps.html +0 -1
@@ -1,24 +1,25 @@
1
1
  import { ConfigService } from '@rxap/config';
2
- import { ExternalApps } from './types';
2
+ import { ExternalApp } from './types';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class ExternalAppsService {
5
5
  protected readonly appFilterList: import("dist/packages/pattern/src").MethodWithParameters<import("@rxap/config").AppsNavigationConfig[], import("@rxap/config").AppsNavigationConfig[]>[];
6
6
  protected readonly config: ConfigService<any>;
7
7
  protected readonly localeId: string;
8
8
  protected readonly environment: import("@rxap/environment").Environment;
9
- protected readonly apps: Array<ExternalApps>;
9
+ protected readonly apps: Array<ExternalApp>;
10
+ protected readonly externalApps: import("@rxap/config").AppsNavigationConfig[];
10
11
  /**
11
12
  * The list of active apps that is processed by the getAppList method
12
13
  */
13
14
  readonly activeAppList: import("@angular/core").WritableSignal<import("@rxap/config").AppsNavigationConfig[]>;
14
15
  hasApp(appId: string): boolean;
15
- getApp(appId: string): ExternalApps | null;
16
+ getApp(appId: string): ExternalApp | null;
16
17
  getAppUrl(appId: string, path: string, infix?: string | null): string | null;
17
18
  getAppRouterLink(appId: string, path: string): string[] | null;
18
19
  getAppUrlOrThrow(appId: string, path: string): string;
19
20
  getAppRouterLinkOrThrow(appId: string, path: string): string[];
20
21
  navigate(appId: string, path: string): void;
21
- getAppList(): Promise<Array<ExternalApps>>;
22
+ getAppList(): Promise<Array<ExternalApp>>;
22
23
  protected getPathPrefix(): string;
23
24
  static ɵfac: i0.ɵɵFactoryDeclaration<ExternalAppsService, never>;
24
25
  static ɵprov: i0.ɵɵInjectableDeclaration<ExternalAppsService>;
package/lib/provide.d.ts CHANGED
@@ -1,9 +1,10 @@
1
1
  import { ComponentType } from '@angular/cdk/portal';
2
2
  import { Provider } from '@angular/core';
3
3
  import { NavigationWithInserts } from './navigation/navigation-item';
4
- import { ReleaseInfoModule, SettingsMenuItem, SettingsMenuItemComponent } from './types';
4
+ import { ExternalApp, ReleaseInfoModule, SettingsMenuItem, SettingsMenuItemComponent } from './types';
5
5
  export declare function provideLayout(...additionalProviders: Provider[]): Provider[];
6
6
  export declare function withNavigationConfig(config: NavigationWithInserts | (() => NavigationWithInserts)): Provider[];
7
+ export declare function withExternalApps(...apps: ExternalApp[]): Provider[];
7
8
  export declare function withNavigationInserts(inserts: Record<string, NavigationWithInserts>): Provider[];
8
9
  export declare function withSettingsMenuItems(...items: Array<SettingsMenuItemComponent | SettingsMenuItem>): Provider[];
9
10
  export declare function withReleaseInfoModules(...module: ReleaseInfoModule[]): Provider[];
package/lib/tokens.d.ts CHANGED
@@ -12,6 +12,7 @@ export declare const RXAP_LOGO_CONFIG: InjectionToken<LogoConfig>;
12
12
  export declare const RXAP_LAYOUT_APPS_GRID: InjectionToken<unknown>;
13
13
  export declare const RXAP_EXTERNAL_APP_FILTER: InjectionToken<MethodWithParameters<import("@rxap/config").AppsNavigationConfig[], import("@rxap/config").AppsNavigationConfig[]>>;
14
14
  export declare const EXTRACT_USERNAME_FROM_PROFILE: InjectionToken<ExtractUsernameFromProfileFn>;
15
+ export declare const RXAP_EXTERNAL_APP: InjectionToken<import("@rxap/config").AppsNavigationConfig>;
15
16
  export declare const RXAP_RELEASE_INFO_MODULE: InjectionToken<ReleaseInfoModule>;
16
17
  export declare const RXAP_SETTINGS_MENU_ITEM_COMPONENT: InjectionToken<SettingsMenuItemComponent>;
17
18
  export declare const RXAP_SETTINGS_MENU_ITEM: InjectionToken<SettingsMenuItem>;
package/lib/types.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { ComponentType } from '@angular/cdk/portal';
2
2
  import { AppsNavigationConfig } from '@rxap/config';
3
3
  import { IconConfig } from '@rxap/utilities';
4
- export type ExternalApps = AppsNavigationConfig;
4
+ export type ExternalApp = AppsNavigationConfig;
5
5
  export type ExtractUsernameFromProfileFn<T = unknown> = (profile: T) => string | null;
6
6
  export interface ReleaseInfoModule {
7
7
  name: string;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "18.1.0-dev.0",
2
+ "version": "18.1.0-dev.1",
3
3
  "name": "@rxap/layout",
4
4
  "license": "GPL-3.0-or-later",
5
5
  "dependencies": {
@@ -14,8 +14,8 @@
14
14
  "@angular/material": "^18.0.0",
15
15
  "@angular/router": "^18.0.1",
16
16
  "@rxap/browser-utilities": "^1.1.4-dev.1",
17
- "@rxap/config": "^18.1.1-dev.1",
18
- "@rxap/environment": "^18.0.3-dev.1",
17
+ "@rxap/config": "^18.1.1-dev.2",
18
+ "@rxap/environment": "^18.0.3-dev.2",
19
19
  "@rxap/material-directives": "^18.0.3-dev.1",
20
20
  "@rxap/ngx-pub-sub": "^18.0.3-dev.1",
21
21
  "@rxap/ngx-theme": "^18.0.3-dev.1",
@@ -87,11 +87,11 @@
87
87
  },
88
88
  {
89
89
  "package": "@rxap/config",
90
- "version": "18.1.1-dev.1"
90
+ "version": "18.1.1-dev.2"
91
91
  },
92
92
  {
93
93
  "package": "@rxap/data-source",
94
- "version": "18.1.1-dev.1"
94
+ "version": "18.1.1-dev.2"
95
95
  },
96
96
  {
97
97
  "package": "@rxap/data-structure-tree",
@@ -103,7 +103,7 @@
103
103
  },
104
104
  {
105
105
  "package": "@rxap/environment",
106
- "version": "18.0.3-dev.1"
106
+ "version": "18.0.3-dev.2"
107
107
  },
108
108
  {
109
109
  "package": "@rxap/material-directives",
@@ -165,7 +165,7 @@
165
165
  "directory": "packages/angular/layout"
166
166
  },
167
167
  "sideEffects": false,
168
- "gitHead": "8be6a1bf2ae72d3895b7dee630eef2de4e5ee7ba",
168
+ "gitHead": "14fbce47d37ec82f9e608848cba8a194a6829775",
169
169
  "module": "fesm2022/rxap-layout.mjs",
170
170
  "typings": "index.d.ts",
171
171
  "exports": {
@@ -1 +0,0 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ExternalApps | @rxap/layout</title><meta name="description" content="Documentation for @rxap/layout"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@rxap/layout</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@rxap/layout</a></li><li><a href="ExternalApps.html">ExternalApps</a></li></ul><h1>Type alias ExternalApps</h1></div><div class="tsd-signature"><span class="tsd-kind-type-alias">External<wbr/>Apps</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">AppsNavigationConfig</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/8be6a1bf2ae72d3895b7dee630eef2de4e5ee7ba/packages/angular/layout/src/lib/types.ts#L7">lib/types.ts:7</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@rxap/layout</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>