@rxap/layout 16.0.0-dev.1 → 16.0.0-dev.3
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/CHANGELOG.md +334 -0
- package/README.md +7 -22
- package/esm2022/index.mjs +1 -15
- package/esm2022/lib/footer/footer.component.mjs +13 -42
- package/esm2022/lib/footer.directive.mjs +21 -35
- package/esm2022/lib/header/apps-button/apps-button.component.mjs +37 -79
- package/esm2022/lib/header/header.component.mjs +66 -103
- package/esm2022/lib/header/language-selector/language-selector.component.mjs +37 -56
- package/esm2022/lib/header/navigation-progress-bar/navigation-progress-bar.component.mjs +18 -26
- package/esm2022/lib/header/reset-button/reset-button.component.mjs +16 -21
- package/esm2022/lib/header/sidenav-toggle-button/sidenav-toggle-button.component.mjs +16 -36
- package/esm2022/lib/header/sign-out/sign-out.component.mjs +17 -22
- package/esm2022/lib/header/user-profile-icon/user-profile-icon.component.mjs +29 -99
- package/esm2022/lib/layout/layout.component.mjs +33 -70
- package/esm2022/lib/layout/layout.component.module.mjs +18 -58
- package/esm2022/lib/layout/layout.component.service.mjs +21 -22
- package/esm2022/lib/navigation/navigation-item/navigation-item.component.mjs +111 -178
- package/esm2022/lib/navigation/navigation-item.mjs +4 -4
- package/esm2022/lib/navigation/navigation.component.mjs +43 -86
- package/esm2022/lib/navigation/navigation.service.mjs +28 -27
- package/esm2022/lib/navigation/replace-router-paths.service.mjs +9 -10
- package/esm2022/lib/sidenav/sidenav-footer.directive.mjs +15 -15
- package/esm2022/lib/sidenav/sidenav-header.directive.mjs +15 -15
- package/esm2022/lib/sidenav/sidenav.component.mjs +40 -112
- package/esm2022/lib/sidenav/sidenav.component.service.mjs +8 -9
- package/esm2022/lib/sidenav/version/version.component.mjs +17 -44
- package/esm2022/lib/sidenav-content/sidenav-content.component.mjs +13 -32
- package/esm2022/lib/sidenav-content/sidenav-content.component.service.mjs +19 -20
- package/esm2022/lib/toggle-window-sidenav-button/toggle-window-sidenav-button.component.mjs +19 -40
- package/esm2022/lib/tokens.mjs +1 -1
- package/esm2022/lib/types.mjs +1 -1
- package/esm2022/lib/window-container-sidenav/window-container-sidenav.component.mjs +18 -36
- package/esm2022/rxap-layout.mjs +1 -1
- package/fesm2022/rxap-layout.mjs +608 -1662
- package/fesm2022/rxap-layout.mjs.map +1 -1
- package/index.d.ts +0 -14
- package/lib/footer/footer.component.d.ts +1 -1
- package/lib/footer.directive.d.ts +2 -7
- package/lib/header/apps-button/apps-button.component.d.ts +1 -1
- package/lib/header/header.component.d.ts +4 -4
- package/lib/header/language-selector/language-selector.component.d.ts +1 -1
- package/lib/header/navigation-progress-bar/navigation-progress-bar.component.d.ts +1 -1
- package/lib/header/reset-button/reset-button.component.d.ts +1 -1
- package/lib/header/sidenav-toggle-button/sidenav-toggle-button.component.d.ts +1 -1
- package/lib/header/sign-out/sign-out.component.d.ts +1 -1
- package/lib/header/user-profile-icon/user-profile-icon.component.d.ts +1 -1
- package/lib/layout/layout.component.d.ts +1 -1
- package/lib/layout/layout.component.module.d.ts +1 -11
- package/lib/navigation/navigation-item/navigation-item.component.d.ts +4 -4
- package/lib/navigation/navigation-item.d.ts +1 -1
- package/lib/navigation/navigation.component.d.ts +3 -3
- package/lib/navigation/navigation.service.d.ts +1 -1
- package/lib/sidenav/sidenav-footer.directive.d.ts +1 -1
- package/lib/sidenav/sidenav-header.directive.d.ts +1 -1
- package/lib/sidenav/sidenav.component.d.ts +1 -1
- package/lib/sidenav/version/version.component.d.ts +3 -3
- package/lib/sidenav-content/sidenav-content.component.d.ts +2 -4
- package/lib/sidenav-content/sidenav-content.component.service.d.ts +1 -1
- package/lib/toggle-window-sidenav-button/toggle-window-sidenav-button.component.d.ts +3 -5
- package/lib/window-container-sidenav/window-container-sidenav.component.d.ts +2 -2
- package/package.json +73 -66
- package/src/lib/header/apps-button/_apps-button.component.theme.scss +45 -0
- package/src/lib/navigation/_navigation.component.theme.scss +33 -0
- package/src/lib/navigation/navigation-item/_navigation-item.component.theme.scss +45 -0
- package/src/lib/sidenav/_sidenav.component.theme.scss +65 -0
- package/src/lib/toggle-window-sidenav-button/_toggle-window-sidenav-button.component.theme.scss +15 -0
- package/LICENSE +0 -21
- package/collection.json +0 -10
- package/esm2022/lib/footer/footer.component.module.mjs +0 -30
- package/esm2022/lib/header/apps-button/apps-button.component.module.mjs +0 -46
- package/esm2022/lib/header/header.component.module.mjs +0 -70
- package/esm2022/lib/header/language-selector/language-selector.component.module.mjs +0 -30
- package/esm2022/lib/header/navigation-progress-bar/navigation-progress-bar.component.module.mjs +0 -26
- package/esm2022/lib/header/reset-button/reset-button.component.module.mjs +0 -26
- package/esm2022/lib/header/sidenav-toggle-button/sidenav-toggle-button.component.module.mjs +0 -30
- package/esm2022/lib/header/sign-out/sign-out.component.module.mjs +0 -30
- package/esm2022/lib/header/user-profile-icon/user-profile-icon.component.module.mjs +0 -38
- package/esm2022/lib/navigation/navigation.component.module.mjs +0 -71
- package/esm2022/lib/navigation/replace-router-paths.pipe.mjs +0 -36
- package/esm2022/lib/sidenav/sidenav.component.module.mjs +0 -44
- package/esm2022/lib/sidenav/version/version.component.module.mjs +0 -26
- package/esm2022/lib/sidenav-content/sidenav-content.component.module.mjs +0 -26
- package/esm2022/lib/toggle-window-sidenav-button/toggle-window-sidenav-button.component.module.mjs +0 -30
- package/esm2022/lib/window-container-sidenav/window-container-sidenav.component.module.mjs +0 -30
- package/lib/footer/footer.component.module.d.ts +0 -10
- package/lib/header/apps-button/apps-button.component.module.d.ts +0 -14
- package/lib/header/header.component.module.d.ts +0 -20
- package/lib/header/language-selector/language-selector.component.module.d.ts +0 -10
- package/lib/header/navigation-progress-bar/navigation-progress-bar.component.module.d.ts +0 -9
- package/lib/header/reset-button/reset-button.component.module.d.ts +0 -9
- package/lib/header/sidenav-toggle-button/sidenav-toggle-button.component.module.d.ts +0 -10
- package/lib/header/sign-out/sign-out.component.module.d.ts +0 -10
- package/lib/header/user-profile-icon/user-profile-icon.component.module.d.ts +0 -12
- package/lib/navigation/navigation.component.module.d.ts +0 -19
- package/lib/navigation/replace-router-paths.pipe.d.ts +0 -16
- package/lib/sidenav/sidenav.component.module.d.ts +0 -15
- package/lib/sidenav/version/version.component.module.d.ts +0 -9
- package/lib/sidenav-content/sidenav-content.component.module.d.ts +0 -9
- package/lib/toggle-window-sidenav-button/toggle-window-sidenav-button.component.module.d.ts +0 -10
- package/lib/window-container-sidenav/window-container-sidenav.component.module.d.ts +0 -10
- package/migration.json +0 -4
- package/src/schematics/ng-add/index.d.ts +0 -2
- package/src/schematics/ng-add/index.js +0 -8
- package/src/schematics/ng-add/index.js.map +0 -1
- package/src/schematics/ng-add/schema.json +0 -7
package/index.d.ts
CHANGED
|
@@ -1,19 +1,11 @@
|
|
|
1
1
|
export * from './lib/tokens';
|
|
2
|
-
export * from './lib/footer/footer.component.module';
|
|
3
2
|
export * from './lib/footer/footer.component';
|
|
4
|
-
export * from './lib/header/header.component.module';
|
|
5
3
|
export * from './lib/header/header.component';
|
|
6
4
|
export * from './lib/header/sign-out/sign-out.component';
|
|
7
|
-
export * from './lib/header/sign-out/sign-out.component.module';
|
|
8
5
|
export * from './lib/header/user-profile-icon/user-profile-icon.component';
|
|
9
|
-
export * from './lib/header/user-profile-icon/user-profile-icon.component.module';
|
|
10
6
|
export * from './lib/header/reset-button/reset-button.component';
|
|
11
|
-
export * from './lib/header/reset-button/reset-button.component.module';
|
|
12
7
|
export * from './lib/header/sidenav-toggle-button/sidenav-toggle-button.component';
|
|
13
|
-
export * from './lib/header/sidenav-toggle-button/sidenav-toggle-button.component.module';
|
|
14
8
|
export * from './lib/header/navigation-progress-bar/navigation-progress-bar.component';
|
|
15
|
-
export * from './lib/header/navigation-progress-bar/navigation-progress-bar.component.module';
|
|
16
|
-
export * from './lib/header/apps-button/apps-button.component.module';
|
|
17
9
|
export * from './lib/header/apps-button/apps-button.component';
|
|
18
10
|
export * from './lib/layout/layout.component.module';
|
|
19
11
|
export * from './lib/layout/layout.component';
|
|
@@ -21,22 +13,16 @@ export * from './lib/layout/layout.component.service';
|
|
|
21
13
|
export * from './lib/navigation/navigation-item';
|
|
22
14
|
export * from './lib/navigation/replace-router-paths.service';
|
|
23
15
|
export * from './lib/navigation/navigation.service';
|
|
24
|
-
export * from './lib/navigation/navigation.component.module';
|
|
25
16
|
export * from './lib/navigation/navigation.component';
|
|
26
17
|
export * from './lib/navigation/navigation-item/navigation-item.component';
|
|
27
|
-
export * from './lib/sidenav/sidenav.component.module';
|
|
28
18
|
export * from './lib/sidenav/sidenav.component';
|
|
29
19
|
export * from './lib/sidenav/sidenav-header.directive';
|
|
30
20
|
export * from './lib/sidenav/sidenav-footer.directive';
|
|
31
21
|
export * from './lib/sidenav/sidenav.component.service';
|
|
32
22
|
export * from './lib/sidenav/version/version.component';
|
|
33
|
-
export * from './lib/sidenav/version/version.component.module';
|
|
34
23
|
export * from './lib/sidenav-content/sidenav-content.component.service';
|
|
35
|
-
export * from './lib/sidenav-content/sidenav-content.component.module';
|
|
36
24
|
export * from './lib/sidenav-content/sidenav-content.component';
|
|
37
|
-
export * from './lib/toggle-window-sidenav-button/toggle-window-sidenav-button.component.module';
|
|
38
25
|
export * from './lib/toggle-window-sidenav-button/toggle-window-sidenav-button.component';
|
|
39
26
|
export * from './lib/window-container-sidenav/window-container-sidenav.component';
|
|
40
|
-
export * from './lib/window-container-sidenav/window-container-sidenav.component.module';
|
|
41
27
|
export * from './lib/footer.directive';
|
|
42
28
|
export * from './lib/types';
|
|
@@ -4,5 +4,5 @@ export declare class FooterComponent {
|
|
|
4
4
|
readonly footerService: FooterService;
|
|
5
5
|
constructor(footerService: FooterService);
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<FooterComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "rxap-footer", never, {}, {}, never, never,
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "rxap-footer", never, {}, {}, never, never, true, never>;
|
|
8
8
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnDestroy, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { FooterService } from '@rxap/services';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class FooterDirective implements OnInit, OnDestroy {
|
|
@@ -10,10 +10,5 @@ export declare class FooterDirective implements OnInit, OnDestroy {
|
|
|
10
10
|
ngOnInit(): void;
|
|
11
11
|
ngOnDestroy(): void;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<FooterDirective, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FooterDirective, "[rxapFooter]", never, {}, {}, never, never,
|
|
14
|
-
}
|
|
15
|
-
export declare class FooterDirectiveModule {
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FooterDirectiveModule, never>;
|
|
17
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FooterDirectiveModule, [typeof FooterDirective], never, [typeof FooterDirective]>;
|
|
18
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FooterDirectiveModule>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FooterDirective, "[rxapFooter]", never, {}, {}, never, never, true, never>;
|
|
19
14
|
}
|
|
@@ -20,5 +20,5 @@ export declare class AppsButtonComponent {
|
|
|
20
20
|
grid: Array<AppsButtonGridItem>;
|
|
21
21
|
constructor(grid: any, config: ConfigService);
|
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppsButtonComponent, [{ optional: true; }, null]>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AppsButtonComponent, "rxap-apps-button", never, {}, {}, never, never,
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppsButtonComponent, "rxap-apps-button", never, {}, {}, never, never, true, never>;
|
|
24
24
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { Constructor } from '@rxap/utilities';
|
|
3
|
-
import {
|
|
3
|
+
import { Observable, Subscription } from 'rxjs';
|
|
4
4
|
import { MatSidenav } from '@angular/material/sidenav';
|
|
5
5
|
import { UserService } from '@rxap/authentication';
|
|
6
6
|
import { HeaderService } from '@rxap/services';
|
|
7
|
-
import {
|
|
7
|
+
import { MatMenuPanel } from '@angular/material/menu';
|
|
8
8
|
import { ThemePalette } from '@angular/material/core';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class HeaderComponent implements OnInit, OnDestroy {
|
|
@@ -22,5 +22,5 @@ export declare class HeaderComponent implements OnInit, OnDestroy {
|
|
|
22
22
|
updateComponents(): void;
|
|
23
23
|
ngOnDestroy(): void;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, [null, null, { optional: true; }]>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "rxap-header", never, { "sidenav": { "alias": "sidenav"; "required": false; }; "color": { "alias": "color"; "required": false; }; "settingsMenuPanel": { "alias": "settingsMenuPanel"; "required": false; }; }, {}, never, ["*"],
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "rxap-header", never, { "sidenav": { "alias": "sidenav"; "required": false; }; "color": { "alias": "color"; "required": false; }; "settingsMenuPanel": { "alias": "settingsMenuPanel"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
26
26
|
}
|
|
@@ -19,5 +19,5 @@ export declare class LanguageSelectorComponent {
|
|
|
19
19
|
readonly language: LanguageSelectorService;
|
|
20
20
|
constructor(language: LanguageSelectorService);
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<LanguageSelectorComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LanguageSelectorComponent, "rxap-language-selector", never, {}, {}, never, never,
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LanguageSelectorComponent, "rxap-language-selector", never, {}, {}, never, never, true, never>;
|
|
23
23
|
}
|
|
@@ -6,5 +6,5 @@ export declare class NavigationProgressBarComponent {
|
|
|
6
6
|
navigating$: Observable<boolean>;
|
|
7
7
|
constructor(router: Router);
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationProgressBarComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NavigationProgressBarComponent, "rxap-navigation-progress-bar", never, {}, {}, never, never,
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavigationProgressBarComponent, "rxap-navigation-progress-bar", never, {}, {}, never, never, true, never>;
|
|
10
10
|
}
|
|
@@ -4,5 +4,5 @@ export declare class ResetButtonComponent {
|
|
|
4
4
|
readonly resetService: ResetService;
|
|
5
5
|
constructor(resetService: ResetService);
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResetButtonComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ResetButtonComponent, "rxap-reset-button", never, {}, {}, never, never,
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResetButtonComponent, "rxap-reset-button", never, {}, {}, never, never, true, never>;
|
|
8
8
|
}
|
|
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class SidenavToggleButtonComponent {
|
|
4
4
|
sidenav: MatSidenav;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<SidenavToggleButtonComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SidenavToggleButtonComponent, "rxap-sidenav-toggle-button", never, { "sidenav": { "alias": "sidenav"; "required": false; }; }, {}, never, never,
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidenavToggleButtonComponent, "rxap-sidenav-toggle-button", never, { "sidenav": { "alias": "sidenav"; "required": false; }; }, {}, never, never, true, never>;
|
|
7
7
|
}
|
|
@@ -5,5 +5,5 @@ export declare class SignOutComponent {
|
|
|
5
5
|
constructor(router: Router);
|
|
6
6
|
redirectToRoot(): void;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<SignOutComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SignOutComponent, "rxap-sign-out", never, {}, {}, never, never,
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SignOutComponent, "rxap-sign-out", never, {}, {}, never, never, true, never>;
|
|
9
9
|
}
|
|
@@ -7,5 +7,5 @@ export declare class UserProfileIconComponent {
|
|
|
7
7
|
userName$: Observable<string>;
|
|
8
8
|
constructor(userService: UserService);
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserProfileIconComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UserProfileIconComponent, "rxap-user-profile-icon", never, {}, {}, never, never,
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserProfileIconComponent, "rxap-user-profile-icon", never, {}, {}, never, never, true, never>;
|
|
11
11
|
}
|
|
@@ -7,5 +7,5 @@ export declare class LayoutComponent {
|
|
|
7
7
|
sidenav: MatSidenav;
|
|
8
8
|
constructor(layoutComponentService: LayoutComponentService);
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutComponent, "rxap-layout", never, {}, {}, never, ["*"],
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutComponent, "rxap-layout", never, {}, {}, never, ["*"], true, never>;
|
|
11
11
|
}
|
|
@@ -2,19 +2,9 @@ import { ModuleWithProviders } from '@angular/core';
|
|
|
2
2
|
import { NavigationWithInserts } from '../navigation/navigation-item';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import * as i1 from "./layout.component";
|
|
5
|
-
import * as i2 from "@angular/material/sidenav";
|
|
6
|
-
import * as i3 from "../footer/footer.component.module";
|
|
7
|
-
import * as i4 from "../header/header.component.module";
|
|
8
|
-
import * as i5 from "@angular/common";
|
|
9
|
-
import * as i6 from "../sidenav/sidenav.component.module";
|
|
10
|
-
import * as i7 from "../sidenav-content/sidenav-content.component.module";
|
|
11
|
-
import * as i8 from "../window-container-sidenav/window-container-sidenav.component.module";
|
|
12
|
-
import * as i9 from "../toggle-window-sidenav-button/toggle-window-sidenav-button.component.module";
|
|
13
|
-
import * as i10 from "@angular/flex-layout";
|
|
14
|
-
import * as i11 from "@angular/router";
|
|
15
5
|
export declare class LayoutModule {
|
|
16
6
|
static withNavigation(navigation: NavigationWithInserts | (() => NavigationWithInserts)): ModuleWithProviders<LayoutModule>;
|
|
17
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutModule, never>;
|
|
18
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<LayoutModule, [typeof i1.LayoutComponent], [typeof
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LayoutModule, never, [typeof i1.LayoutComponent], [typeof i1.LayoutComponent]>;
|
|
19
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<LayoutModule>;
|
|
20
10
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { AfterViewInit, ElementRef, OnChanges, OnDestroy, OnInit, Renderer2, SimpleChanges, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { Navigation, NavigationDividerItem, NavigationItem } from '../navigation-item';
|
|
3
|
+
import { Router, RouterLinkActive } from '@angular/router';
|
|
4
4
|
import { SidenavComponentService } from '../../sidenav/sidenav.component.service';
|
|
5
5
|
import { Overlay } from '@angular/cdk/overlay';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -35,5 +35,5 @@ export declare class NavigationItemComponent implements OnChanges, AfterViewInit
|
|
|
35
35
|
isNavigationItem(item: NavigationItem | NavigationDividerItem): item is NavigationItem;
|
|
36
36
|
asNavigationItem(item: NavigationItem | NavigationDividerItem): NavigationItem;
|
|
37
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationItemComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NavigationItemComponent, "li[rxap-navigation-item]", never, { "item": { "alias": "item"; "required": false; }; "level": { "alias": "level"; "required": false; }; }, {}, never, never,
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavigationItemComponent, "li[rxap-navigation-item]", never, { "item": { "alias": "item"; "required": false; }; "level": { "alias": "level"; "required": false; }; }, {}, never, never, true, never>;
|
|
39
39
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IconConfig } from '@rxap/utilities';
|
|
2
|
-
import { InjectionToken, Type
|
|
2
|
+
import { AbstractType, InjectionToken, Type } from '@angular/core';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
export type Navigation = Array<NavigationItem | NavigationDividerItem>;
|
|
5
5
|
export type NavigationWithInserts = Array<NavigationItem<NavigationWithInserts> | NavigationDividerItem | NavigationInsertItem>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Navigation,
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Navigation, NavigationDividerItem, NavigationItem } from './navigation-item';
|
|
3
3
|
import { NavigationService } from './navigation.service';
|
|
4
4
|
import { Subscription } from 'rxjs';
|
|
5
5
|
import { SidenavComponentService } from '../sidenav/sidenav.component.service';
|
|
@@ -20,5 +20,5 @@ export declare class NavigationComponent implements OnInit, OnDestroy {
|
|
|
20
20
|
isNavigationItem(item: NavigationItem | NavigationDividerItem): item is NavigationItem;
|
|
21
21
|
asNavigationItem(item: NavigationItem | NavigationDividerItem): NavigationItem;
|
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NavigationComponent, "ul[rxap-navigation]", never, { "root": { "alias": "root"; "required": false; }; "items": { "alias": "items"; "required": false; }; "level": { "alias": "level"; "required": false; }; }, {}, never, never,
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavigationComponent, "ul[rxap-navigation]", never, { "root": { "alias": "root"; "required": false; }; "items": { "alias": "items"; "required": false; }; "level": { "alias": "level"; "required": false; }; }, {}, never, never, true, never>;
|
|
24
24
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Injector } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { Navigation,
|
|
3
|
+
import { Navigation, NavigationDividerItem, NavigationItem, NavigationWithInserts } from './navigation-item';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class NavigationService {
|
|
6
6
|
private readonly injector;
|
|
@@ -4,5 +4,5 @@ export declare class SidenavFooterDirective {
|
|
|
4
4
|
readonly template: TemplateRef<void>;
|
|
5
5
|
constructor(template: TemplateRef<void>);
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<SidenavFooterDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SidenavFooterDirective, "[rxapSidenavFooter]", never, {}, {}, never, never,
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SidenavFooterDirective, "[rxapSidenavFooter]", never, {}, {}, never, never, true, never>;
|
|
8
8
|
}
|
|
@@ -4,5 +4,5 @@ export declare class SidenavHeaderDirective {
|
|
|
4
4
|
readonly template: TemplateRef<void>;
|
|
5
5
|
constructor(template: TemplateRef<void>);
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<SidenavHeaderDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SidenavHeaderDirective, "[rxapSidenavHeader]", never, {}, {}, never, never,
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SidenavHeaderDirective, "[rxapSidenavHeader]", never, {}, {}, never, never, true, never>;
|
|
8
8
|
}
|
|
@@ -8,5 +8,5 @@ export declare class SidenavComponent {
|
|
|
8
8
|
sidenavHeaderDirective?: SidenavHeaderDirective;
|
|
9
9
|
constructor(sidenav: SidenavComponentService);
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<SidenavComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SidenavComponent, "rxap-sidenav", never, {}, {}, ["sidenavFooterDirective", "sidenavHeaderDirective"], never,
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidenavComponent, "rxap-sidenav", never, {}, {}, ["sidenavFooterDirective", "sidenavHeaderDirective"], never, true, never>;
|
|
12
12
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Version, VersionService } from '@rxap/services';
|
|
3
3
|
import { KeyValue } from '@rxap/utilities';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class VersionComponent implements OnInit, OnDestroy {
|
|
@@ -10,5 +10,5 @@ export declare class VersionComponent implements OnInit, OnDestroy {
|
|
|
10
10
|
ngOnInit(): void;
|
|
11
11
|
ngOnDestroy(): void;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<VersionComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VersionComponent, "rxap-version", never, {}, {}, never, never,
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VersionComponent, "rxap-version", never, {}, {}, never, never, true, never>;
|
|
14
14
|
}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
1
|
import { MatSidenav } from '@angular/material/sidenav';
|
|
3
2
|
import { SidenavContentComponentService } from './sidenav-content.component.service';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class SidenavContentComponent
|
|
4
|
+
export declare class SidenavContentComponent {
|
|
6
5
|
readonly sccs: SidenavContentComponentService;
|
|
7
6
|
sidenav: MatSidenav;
|
|
8
7
|
constructor(sccs: SidenavContentComponentService);
|
|
9
|
-
ngOnInit(): void;
|
|
10
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<SidenavContentComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SidenavContentComponent, "rxap-sidenav-content", never, { "sidenav": { "alias": "sidenav"; "required": false; }; }, {}, never, ["*"],
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidenavContentComponent, "rxap-sidenav-content", never, { "sidenav": { "alias": "sidenav"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
12
10
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FooterService, HeaderService } from '@rxap/services';
|
|
2
2
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SidenavContentComponentService {
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ToggleWindowSidenavButtonComponent
|
|
3
|
+
export declare class ToggleWindowSidenavButtonComponent {
|
|
4
4
|
openWindowSidenav: boolean;
|
|
5
5
|
openWindowSidenavChange: EventEmitter<boolean>;
|
|
6
|
-
constructor();
|
|
7
|
-
ngOnInit(): void;
|
|
8
6
|
toggle(): void;
|
|
9
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToggleWindowSidenavButtonComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleWindowSidenavButtonComponent, "rxap-toggle-window-sidenav-button", never, { "openWindowSidenav": { "alias": "openWindowSidenav"; "required": false; }; }, { "openWindowSidenavChange": "openWindowSidenavChange"; }, never, never,
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleWindowSidenavButtonComponent, "rxap-toggle-window-sidenav-button", never, { "openWindowSidenav": { "alias": "openWindowSidenav"; "required": false; }; }, { "openWindowSidenavChange": "openWindowSidenavChange"; }, never, never, true, never>;
|
|
11
9
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { WindowContainerSidenavService } from '@rxap/services';
|
|
3
3
|
import { ComponentPortal } from '@angular/cdk/portal';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -13,5 +13,5 @@ export declare class WindowContainerSidenavComponent implements OnInit, OnDestro
|
|
|
13
13
|
private add;
|
|
14
14
|
private remove;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<WindowContainerSidenavComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WindowContainerSidenavComponent, "rxap-window-container-sidenav", never, {}, {}, never, never,
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WindowContainerSidenavComponent, "rxap-window-container-sidenav", never, {}, {}, never, never, true, never>;
|
|
17
17
|
}
|
package/package.json
CHANGED
|
@@ -1,74 +1,85 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rxap/layout",
|
|
3
|
-
"version": "16.0.0-dev.
|
|
4
|
-
"bugs": {
|
|
5
|
-
"url": "https://gitlab.com/rxap/packages/-/issues",
|
|
6
|
-
"email": "incoming+rxap-packages-14898188-issue-@incoming.gitlab.com"
|
|
7
|
-
},
|
|
8
|
-
"keywords": [
|
|
9
|
-
"rxap",
|
|
10
|
-
"layout",
|
|
11
|
-
"angular"
|
|
12
|
-
],
|
|
13
|
-
"private": false,
|
|
14
|
-
"author": "Merzough Münker",
|
|
15
|
-
"homepage": "https://gitlab.com/rxap/packages/libs/layout",
|
|
16
|
-
"repository": "git@gitlab.com:rxap/packages.git",
|
|
17
|
-
"license": "MIT",
|
|
18
|
-
"description": "A collection of components and services that provides standard layouts for angular applications.",
|
|
3
|
+
"version": "16.0.0-dev.3",
|
|
19
4
|
"peerDependencies": {
|
|
20
|
-
"@angular
|
|
21
|
-
"@angular/
|
|
22
|
-
"@angular/
|
|
23
|
-
"@angular/
|
|
24
|
-
"@angular/core": "^16.0.2",
|
|
5
|
+
"@angular/animations": "^16.0.0",
|
|
6
|
+
"@angular/cdk": "^16.0.0",
|
|
7
|
+
"@angular/common": "^16.0.0",
|
|
8
|
+
"@angular/core": "^16.0.0",
|
|
25
9
|
"@angular/flex-layout": "^15.0.0-beta.42",
|
|
26
|
-
"@angular/forms": "^16.0.
|
|
27
|
-
"@angular/
|
|
28
|
-
"@angular/
|
|
29
|
-
"@
|
|
30
|
-
"@
|
|
31
|
-
"@
|
|
32
|
-
"@rxap/
|
|
33
|
-
"@rxap/
|
|
34
|
-
"@rxap/
|
|
35
|
-
"@rxap/
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"@
|
|
39
|
-
"@rxap/services": "^16.0.0-dev.1",
|
|
40
|
-
"@rxap/utilities": "^16.0.0-dev.1",
|
|
41
|
-
"joi": "^17.6.3",
|
|
42
|
-
"reflect-metadata": "^0.1.13",
|
|
43
|
-
"rxjs": "^6.6.0"
|
|
10
|
+
"@angular/forms": "^16.0.0",
|
|
11
|
+
"@angular/material": "^16.0.0",
|
|
12
|
+
"@angular/router": "^16.0.0",
|
|
13
|
+
"@rxap/authentication": "^16.0.0-dev.3",
|
|
14
|
+
"@rxap/config": "^16.0.0-dev.3",
|
|
15
|
+
"@rxap/directives": "^16.0.0-dev.3",
|
|
16
|
+
"@rxap/material-directives": "^16.0.0-dev.3",
|
|
17
|
+
"@rxap/rxjs": "^1.0.1-dev.0",
|
|
18
|
+
"@rxap/services": "^16.0.0-dev.3",
|
|
19
|
+
"@rxap/utilities": "^16.0.0-dev.2",
|
|
20
|
+
"rxjs": "^7.8.0",
|
|
21
|
+
"workspace": "1.0.0",
|
|
22
|
+
"@angular/localize": "16.1.4"
|
|
44
23
|
},
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"packageGroup": [
|
|
49
|
-
"@rxap/authentication",
|
|
50
|
-
"@rxap/components",
|
|
51
|
-
"@rxap/config",
|
|
52
|
-
"@rxap/definition",
|
|
53
|
-
"@rxap/directives",
|
|
54
|
-
"@rxap/forms",
|
|
55
|
-
"@rxap/layout",
|
|
56
|
-
"@rxap/material-directives",
|
|
57
|
-
"@rxap/services",
|
|
58
|
-
"@rxap/utilities"
|
|
59
|
-
]
|
|
24
|
+
"sideEffects": false,
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"tslib": "2.5.3"
|
|
60
27
|
},
|
|
61
28
|
"publishConfig": {
|
|
62
|
-
"
|
|
63
|
-
"
|
|
29
|
+
"access": "public",
|
|
30
|
+
"directory": "../../../dist/packages/angular/layout"
|
|
31
|
+
},
|
|
32
|
+
"keywords": [
|
|
33
|
+
"rxap",
|
|
34
|
+
"angular",
|
|
35
|
+
"ngx"
|
|
36
|
+
],
|
|
37
|
+
"homepage": "https:/gitlab.com/rxap/packages/packages/angular/layout",
|
|
38
|
+
"bugs": {
|
|
39
|
+
"url": "https://gitlab.com/rxap/packages/-/issues",
|
|
40
|
+
"email": "incoming+rxap-packages-14898188-issue-@incoming.gitlab.com"
|
|
64
41
|
},
|
|
65
|
-
"
|
|
66
|
-
|
|
42
|
+
"license": "GPL-3.0-or-later",
|
|
43
|
+
"repository": {
|
|
44
|
+
"type": "git",
|
|
45
|
+
"url": "https://gitlab.com/rxap/packages.git",
|
|
46
|
+
"directory": "packages/angular/layout"
|
|
67
47
|
},
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
|
|
48
|
+
"author": {
|
|
49
|
+
"name": "Merzough Münker",
|
|
50
|
+
"email": "mmuenker@digitaix.com"
|
|
51
|
+
},
|
|
52
|
+
"nx-migrations": {
|
|
53
|
+
"packageGroup": [
|
|
54
|
+
{
|
|
55
|
+
"package": "@rxap/authentication",
|
|
56
|
+
"version": "16.0.0-dev.3"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"package": "@rxap/config",
|
|
60
|
+
"version": "16.0.0-dev.3"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"package": "@rxap/directives",
|
|
64
|
+
"version": "16.0.0-dev.3"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"package": "@rxap/material-directives",
|
|
68
|
+
"version": "16.0.0-dev.3"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"package": "@rxap/rxjs",
|
|
72
|
+
"version": "1.0.1-dev.0"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"package": "@rxap/services",
|
|
76
|
+
"version": "16.0.0-dev.3"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"package": "@rxap/utilities",
|
|
80
|
+
"version": "16.0.0-dev.2"
|
|
81
|
+
}
|
|
82
|
+
]
|
|
72
83
|
},
|
|
73
84
|
"module": "fesm2022/rxap-layout.mjs",
|
|
74
85
|
"typings": "index.d.ts",
|
|
@@ -82,9 +93,5 @@
|
|
|
82
93
|
"esm": "./esm2022/rxap-layout.mjs",
|
|
83
94
|
"default": "./fesm2022/rxap-layout.mjs"
|
|
84
95
|
}
|
|
85
|
-
},
|
|
86
|
-
"sideEffects": false,
|
|
87
|
-
"scripts": {
|
|
88
|
-
"prepublishOnly": "node --eval \"console.error('ERROR: Trying to publish a package that has been compiled by Ivy in full compilation mode. This is not allowed.\\nPlease delete and rebuild the package with Ivy partial compilation mode, before attempting to publish.\\n')\" && exit 1"
|
|
89
96
|
}
|
|
90
97
|
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
@mixin rxap-apps-button-theme($theme) {
|
|
2
|
+
$foreground: map-get($theme, foreground);
|
|
3
|
+
$background: map-get($theme, background);
|
|
4
|
+
$accent: map-get($theme, accent);
|
|
5
|
+
$primary: map-get($theme, primary);
|
|
6
|
+
$warn: map-get($theme, warn);
|
|
7
|
+
$isDark: map-get($theme, is-dark);
|
|
8
|
+
|
|
9
|
+
.rxap-apps-button {
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.cdk-overlay-container {
|
|
15
|
+
|
|
16
|
+
.grid-container {
|
|
17
|
+
background-color: map-get($background, dialog);
|
|
18
|
+
|
|
19
|
+
.grid {
|
|
20
|
+
|
|
21
|
+
li:not(.empty) {
|
|
22
|
+
|
|
23
|
+
&:hover {
|
|
24
|
+
background-color: map-get($background, hover);
|
|
25
|
+
cursor: pointer;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&:active {
|
|
29
|
+
background: map-get($background, focused-button);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@mixin rxap-apps-button-typography($config) {
|
|
43
|
+
.rxap-apps-button {
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
|
|
3
|
+
@mixin rxap-navigation-theme($theme) {
|
|
4
|
+
$foreground: map-get($theme, foreground);
|
|
5
|
+
$background: map-get($theme, background);
|
|
6
|
+
$accent: map-get($theme, accent);
|
|
7
|
+
$isDark: map-get($theme, is-dark);
|
|
8
|
+
|
|
9
|
+
.rxap-navigation {
|
|
10
|
+
|
|
11
|
+
.divider-title {
|
|
12
|
+
color: map-get($foreground, hint-text);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.item {
|
|
16
|
+
$border-width: 4px;
|
|
17
|
+
border-left: $border-width solid transparent;
|
|
18
|
+
|
|
19
|
+
&.active {
|
|
20
|
+
border-left: $border-width solid mat.get-color-from-palette($accent);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@mixin rxap-navigation-typography($config) {
|
|
30
|
+
.rxap-navigation {
|
|
31
|
+
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
|
|
3
|
+
@mixin rxap-navigation-item-theme($theme) {
|
|
4
|
+
$foreground: map-get($theme, foreground);
|
|
5
|
+
$background: map-get($theme, background);
|
|
6
|
+
$accent: map-get($theme, accent);
|
|
7
|
+
$isDark: map-get($theme, is-dark);
|
|
8
|
+
|
|
9
|
+
.rxap-navigation-item, .navigation-overlay-container {
|
|
10
|
+
|
|
11
|
+
.navigation-link {
|
|
12
|
+
|
|
13
|
+
color: map-get($foreground, hint-text);
|
|
14
|
+
|
|
15
|
+
&:focus {
|
|
16
|
+
outline: none;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&:hover {
|
|
20
|
+
color: map-get($foreground, text);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&.link-active, &:active {
|
|
24
|
+
@if $isDark {
|
|
25
|
+
color: mat.get-color-from-palette($accent, 300);
|
|
26
|
+
} @else {
|
|
27
|
+
color: mat.get-color-from-palette($accent, 700);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.navigation-overlay-container {
|
|
36
|
+
background-color: map-get($background, dialog);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@mixin rxap-navigation-item-typography($config) {
|
|
42
|
+
.rxap-navigation-item {
|
|
43
|
+
|
|
44
|
+
}
|
|
45
|
+
}
|