@rxap/layout 19.1.1-dev.0 → 19.1.1-dev.2
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 +10 -0
- package/compodoc/changelog.html +7 -0
- package/compodoc/components/NavigationComponent.html +8 -8
- package/compodoc/components/NavigationItemComponent.html +35 -35
- package/compodoc/dependencies.html +3 -3
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +346 -346
- package/docs/html/assets/hierarchy.js +1 -1
- package/docs/html/assets/navigation.js +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/AppsButtonComponent.html +4 -4
- package/docs/html/classes/BaseLayoutComponent.html +2 -2
- package/docs/html/classes/DefaultHeaderComponent.html +2 -2
- package/docs/html/classes/DefaultHeaderService.html +5 -5
- package/docs/html/classes/ExternalAppsService.html +2 -2
- package/docs/html/classes/FooterComponent.html +2 -2
- package/docs/html/classes/FooterDirective.html +3 -3
- package/docs/html/classes/FooterService.html +5 -5
- package/docs/html/classes/HeaderComponent.html +2 -2
- package/docs/html/classes/HeaderDirective.html +3 -3
- package/docs/html/classes/HeaderService.html +5 -5
- package/docs/html/classes/LayoutComponent.html +2 -2
- package/docs/html/classes/LayoutService.html +2 -2
- package/docs/html/classes/LogoService.html +2 -2
- package/docs/html/classes/MinimalLayoutComponent.html +2 -2
- package/docs/html/classes/NavigationComponent.html +3 -3
- package/docs/html/classes/NavigationItemComponent.html +5 -5
- package/docs/html/classes/NavigationProgressBarComponent.html +2 -2
- package/docs/html/classes/NavigationService.html +3 -3
- package/docs/html/classes/ReleaseInfoComponent.html +2 -2
- package/docs/html/classes/SettingsButtonComponent.html +2 -2
- package/docs/html/classes/SidenavComponent.html +2 -2
- package/docs/html/classes/SidenavFooterDirective.html +2 -2
- package/docs/html/classes/SidenavHeaderDirective.html +2 -2
- package/docs/html/classes/SidenavToggleButtonComponent.html +2 -2
- package/docs/html/classes/UserProfileIconComponent.html +2 -2
- package/docs/html/functions/IsNavigationDividerItem.html +1 -1
- package/docs/html/functions/IsNavigationInsertItem.html +1 -1
- package/docs/html/functions/IsNavigationItem.html +1 -1
- package/docs/html/functions/provideExternalApps.html +1 -1
- package/docs/html/functions/provideLayout.html +1 -1
- package/docs/html/functions/withDefaultHeaderComponent.html +1 -1
- package/docs/html/functions/withDefaultHeaderItems.html +1 -1
- package/docs/html/functions/withFooterComponents.html +1 -1
- package/docs/html/functions/withHeaderComponents.html +1 -1
- package/docs/html/functions/withNavigationConfig.html +1 -1
- package/docs/html/functions/withNavigationInserts.html +1 -1
- package/docs/html/functions/withReleaseInfoModules.html +1 -1
- package/docs/html/functions/withSettingsMenuItems.html +1 -1
- package/docs/html/functions/withUserProfileDataSource.html +1 -1
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/NavigationDividerItem.html +2 -2
- package/docs/html/interfaces/NavigationInsertItem.html +2 -2
- package/docs/html/interfaces/NavigationItem.html +2 -2
- package/docs/html/interfaces/NavigationStatus.html +2 -2
- package/docs/html/interfaces/ReleaseInfoModule.html +2 -2
- package/docs/html/interfaces/SettingsMenuItem.html +2 -2
- package/docs/html/modules.html +1 -1
- package/docs/html/types/DefaultHeaderItemComponent.html +1 -1
- package/docs/html/types/ExternalApp.html +1 -1
- package/docs/html/types/ExtractUsernameFromProfileFn.html +1 -1
- package/docs/html/types/Navigation.html +1 -1
- package/docs/html/types/NavigationWithInserts.html +1 -1
- package/docs/html/types/SettingsMenuItemComponent.html +1 -1
- package/docs/html/variables/EXTRACT_USERNAME_FROM_PROFILE.html +1 -1
- package/docs/html/variables/RXAP_DEFAULT_HEADER_ITEM_COMPONENT.html +1 -1
- package/docs/html/variables/RXAP_EXTERNAL_APP.html +1 -1
- package/docs/html/variables/RXAP_EXTERNAL_APP_FILTER.html +1 -1
- package/docs/html/variables/RXAP_FOOTER_COMPONENT.html +1 -1
- package/docs/html/variables/RXAP_HEADER_COMPONENT.html +1 -1
- package/docs/html/variables/RXAP_LAYOUT_APPS_GRID.html +1 -1
- package/docs/html/variables/RXAP_LOGO_CONFIG.html +1 -1
- package/docs/html/variables/RXAP_LOGO_CONFIG_DEFAULTS.html +1 -1
- package/docs/html/variables/RXAP_NAVIGATION_CONFIG.html +1 -1
- package/docs/html/variables/RXAP_NAVIGATION_CONFIG_INSERTS.html +1 -1
- package/docs/html/variables/RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS.html +1 -1
- package/docs/html/variables/RXAP_RELEASE_INFO_MODULE.html +1 -1
- package/docs/html/variables/RXAP_SETTINGS_MENU_ITEM.html +1 -1
- package/docs/html/variables/RXAP_SETTINGS_MENU_ITEM_COMPONENT.html +1 -1
- package/docs/html/variables/RXAP_USER_PROFILE_DATA_SOURCE.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/AppsButtonComponent.md +8 -8
- package/docs/markdown/classes/BaseLayoutComponent.md +2 -2
- package/docs/markdown/classes/DefaultHeaderComponent.md +10 -10
- package/docs/markdown/classes/DefaultHeaderService.md +6 -6
- package/docs/markdown/classes/ExternalAppsService.md +18 -18
- package/docs/markdown/classes/FooterComponent.md +5 -5
- package/docs/markdown/classes/FooterDirective.md +4 -4
- package/docs/markdown/classes/FooterService.md +6 -6
- package/docs/markdown/classes/HeaderComponent.md +6 -6
- package/docs/markdown/classes/HeaderDirective.md +4 -4
- package/docs/markdown/classes/HeaderService.md +6 -6
- package/docs/markdown/classes/LayoutComponent.md +6 -6
- package/docs/markdown/classes/LayoutService.md +17 -17
- package/docs/markdown/classes/LogoService.md +6 -6
- package/docs/markdown/classes/MinimalLayoutComponent.md +2 -2
- package/docs/markdown/classes/NavigationComponent.md +14 -14
- package/docs/markdown/classes/NavigationItemComponent.md +20 -20
- package/docs/markdown/classes/NavigationProgressBarComponent.md +4 -4
- package/docs/markdown/classes/NavigationService.md +12 -12
- package/docs/markdown/classes/ReleaseInfoComponent.md +6 -6
- package/docs/markdown/classes/SettingsButtonComponent.md +19 -19
- package/docs/markdown/classes/SidenavComponent.md +18 -18
- package/docs/markdown/classes/SidenavFooterDirective.md +4 -4
- package/docs/markdown/classes/SidenavHeaderDirective.md +4 -4
- package/docs/markdown/classes/SidenavToggleButtonComponent.md +5 -5
- package/docs/markdown/classes/UserProfileIconComponent.md +7 -7
- package/docs/markdown/functions/IsNavigationDividerItem.md +2 -2
- package/docs/markdown/functions/IsNavigationInsertItem.md +2 -2
- package/docs/markdown/functions/IsNavigationItem.md +2 -2
- package/docs/markdown/functions/provideExternalApps.md +2 -2
- package/docs/markdown/functions/provideLayout.md +2 -2
- package/docs/markdown/functions/withDefaultHeaderComponent.md +2 -2
- package/docs/markdown/functions/withDefaultHeaderItems.md +2 -2
- package/docs/markdown/functions/withFooterComponents.md +2 -2
- package/docs/markdown/functions/withHeaderComponents.md +2 -2
- package/docs/markdown/functions/withNavigationConfig.md +2 -2
- package/docs/markdown/functions/withNavigationInserts.md +2 -2
- package/docs/markdown/functions/withReleaseInfoModules.md +2 -2
- package/docs/markdown/functions/withSettingsMenuItems.md +2 -2
- package/docs/markdown/functions/withUserProfileDataSource.md +2 -2
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/interfaces/NavigationDividerItem.md +4 -4
- package/docs/markdown/interfaces/NavigationInsertItem.md +3 -3
- package/docs/markdown/interfaces/NavigationItem.md +7 -7
- package/docs/markdown/interfaces/NavigationStatus.md +3 -3
- package/docs/markdown/interfaces/ReleaseInfoModule.md +5 -5
- package/docs/markdown/interfaces/SettingsMenuItem.md +5 -5
- package/docs/markdown/type-aliases/DefaultHeaderItemComponent.md +2 -2
- package/docs/markdown/type-aliases/ExternalApp.md +2 -2
- package/docs/markdown/type-aliases/ExtractUsernameFromProfileFn.md +2 -2
- package/docs/markdown/type-aliases/Navigation.md +2 -2
- package/docs/markdown/type-aliases/NavigationWithInserts.md +2 -2
- package/docs/markdown/type-aliases/SettingsMenuItemComponent.md +2 -2
- package/docs/markdown/variables/EXTRACT_USERNAME_FROM_PROFILE.md +2 -2
- package/docs/markdown/variables/RXAP_DEFAULT_HEADER_ITEM_COMPONENT.md +2 -2
- package/docs/markdown/variables/RXAP_EXTERNAL_APP.md +2 -2
- package/docs/markdown/variables/RXAP_EXTERNAL_APP_FILTER.md +2 -2
- package/docs/markdown/variables/RXAP_FOOTER_COMPONENT.md +2 -2
- package/docs/markdown/variables/RXAP_HEADER_COMPONENT.md +2 -2
- package/docs/markdown/variables/RXAP_LAYOUT_APPS_GRID.md +2 -2
- package/docs/markdown/variables/RXAP_LOGO_CONFIG.md +2 -2
- package/docs/markdown/variables/RXAP_LOGO_CONFIG_DEFAULTS.md +2 -2
- package/docs/markdown/variables/RXAP_NAVIGATION_CONFIG.md +2 -2
- package/docs/markdown/variables/RXAP_NAVIGATION_CONFIG_INSERTS.md +2 -2
- package/docs/markdown/variables/RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS.md +2 -2
- package/docs/markdown/variables/RXAP_RELEASE_INFO_MODULE.md +2 -2
- package/docs/markdown/variables/RXAP_SETTINGS_MENU_ITEM.md +2 -2
- package/docs/markdown/variables/RXAP_SETTINGS_MENU_ITEM_COMPONENT.md +2 -2
- package/docs/markdown/variables/RXAP_USER_PROFILE_DATA_SOURCE.md +2 -2
- package/docs/wiki/Class.AppsButtonComponent.md +7 -7
- package/docs/wiki/Class.BaseLayoutComponent.md +1 -1
- package/docs/wiki/Class.DefaultHeaderComponent.md +9 -9
- package/docs/wiki/Class.DefaultHeaderService.md +5 -5
- package/docs/wiki/Class.ExternalAppsService.md +17 -17
- package/docs/wiki/Class.FooterComponent.md +4 -4
- package/docs/wiki/Class.FooterDirective.md +3 -3
- package/docs/wiki/Class.FooterService.md +5 -5
- package/docs/wiki/Class.HeaderComponent.md +5 -5
- package/docs/wiki/Class.HeaderDirective.md +3 -3
- package/docs/wiki/Class.HeaderService.md +5 -5
- package/docs/wiki/Class.LayoutComponent.md +5 -5
- package/docs/wiki/Class.LayoutService.md +16 -16
- package/docs/wiki/Class.LogoService.md +5 -5
- package/docs/wiki/Class.MinimalLayoutComponent.md +1 -1
- package/docs/wiki/Class.NavigationComponent.md +13 -13
- package/docs/wiki/Class.NavigationItemComponent.md +19 -19
- package/docs/wiki/Class.NavigationProgressBarComponent.md +3 -3
- package/docs/wiki/Class.NavigationService.md +11 -11
- package/docs/wiki/Class.ReleaseInfoComponent.md +5 -5
- package/docs/wiki/Class.SettingsButtonComponent.md +18 -18
- package/docs/wiki/Class.SidenavComponent.md +17 -17
- package/docs/wiki/Class.SidenavFooterDirective.md +3 -3
- package/docs/wiki/Class.SidenavHeaderDirective.md +3 -3
- package/docs/wiki/Class.SidenavToggleButtonComponent.md +4 -4
- package/docs/wiki/Class.UserProfileIconComponent.md +6 -6
- package/docs/wiki/Function.IsNavigationDividerItem.md +1 -1
- package/docs/wiki/Function.IsNavigationInsertItem.md +1 -1
- package/docs/wiki/Function.IsNavigationItem.md +1 -1
- package/docs/wiki/Function.provideExternalApps.md +1 -1
- package/docs/wiki/Function.provideLayout.md +1 -1
- package/docs/wiki/Function.withDefaultHeaderComponent.md +1 -1
- package/docs/wiki/Function.withDefaultHeaderItems.md +1 -1
- package/docs/wiki/Function.withFooterComponents.md +1 -1
- package/docs/wiki/Function.withHeaderComponents.md +1 -1
- package/docs/wiki/Function.withNavigationConfig.md +1 -1
- package/docs/wiki/Function.withNavigationInserts.md +1 -1
- package/docs/wiki/Function.withReleaseInfoModules.md +1 -1
- package/docs/wiki/Function.withSettingsMenuItems.md +1 -1
- package/docs/wiki/Function.withUserProfileDataSource.md +1 -1
- package/docs/wiki/Interface.NavigationDividerItem.md +3 -3
- package/docs/wiki/Interface.NavigationInsertItem.md +2 -2
- package/docs/wiki/Interface.NavigationItem.md +6 -6
- package/docs/wiki/Interface.NavigationStatus.md +2 -2
- package/docs/wiki/Interface.ReleaseInfoModule.md +4 -4
- package/docs/wiki/Interface.SettingsMenuItem.md +4 -4
- package/docs/wiki/TypeAlias.DefaultHeaderItemComponent.md +1 -1
- package/docs/wiki/TypeAlias.ExternalApp.md +1 -1
- package/docs/wiki/TypeAlias.ExtractUsernameFromProfileFn.md +1 -1
- package/docs/wiki/TypeAlias.Navigation.md +1 -1
- package/docs/wiki/TypeAlias.NavigationWithInserts.md +1 -1
- package/docs/wiki/TypeAlias.SettingsMenuItemComponent.md +1 -1
- package/docs/wiki/Variable.EXTRACT_USERNAME_FROM_PROFILE.md +1 -1
- package/docs/wiki/Variable.RXAP_DEFAULT_HEADER_ITEM_COMPONENT.md +1 -1
- package/docs/wiki/Variable.RXAP_EXTERNAL_APP.md +1 -1
- package/docs/wiki/Variable.RXAP_EXTERNAL_APP_FILTER.md +1 -1
- package/docs/wiki/Variable.RXAP_FOOTER_COMPONENT.md +1 -1
- package/docs/wiki/Variable.RXAP_HEADER_COMPONENT.md +1 -1
- package/docs/wiki/Variable.RXAP_LAYOUT_APPS_GRID.md +1 -1
- package/docs/wiki/Variable.RXAP_LOGO_CONFIG.md +1 -1
- package/docs/wiki/Variable.RXAP_LOGO_CONFIG_DEFAULTS.md +1 -1
- package/docs/wiki/Variable.RXAP_NAVIGATION_CONFIG.md +1 -1
- package/docs/wiki/Variable.RXAP_NAVIGATION_CONFIG_INSERTS.md +1 -1
- package/docs/wiki/Variable.RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS.md +1 -1
- package/docs/wiki/Variable.RXAP_RELEASE_INFO_MODULE.md +1 -1
- package/docs/wiki/Variable.RXAP_SETTINGS_MENU_ITEM.md +1 -1
- package/docs/wiki/Variable.RXAP_SETTINGS_MENU_ITEM_COMPONENT.md +1 -1
- package/docs/wiki/Variable.RXAP_USER_PROFILE_DATA_SOURCE.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-layout.mjs +6 -6
- package/fesm2022/rxap-layout.mjs.map +1 -1
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [19.1.1-dev.2](https://gitlab.com/rxap/packages/compare/@rxap/layout@19.1.1-dev.1...@rxap/layout@19.1.1-dev.2) (2025-08-21)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **navigation-item:** remove unnecessary console logs ([3b808c0](https://gitlab.com/rxap/packages/commit/3b808c05fd6db8c1064d25fa11dbf0539c92c5d7))
|
|
11
|
+
|
|
12
|
+
## [19.1.1-dev.1](https://gitlab.com/rxap/packages/compare/@rxap/layout@19.1.1-dev.0...@rxap/layout@19.1.1-dev.1) (2025-08-12)
|
|
13
|
+
|
|
14
|
+
**Note:** Version bump only for package @rxap/layout
|
|
15
|
+
|
|
6
16
|
## [19.1.1-dev.0](https://gitlab.com/rxap/packages/compare/@rxap/layout@19.1.0...@rxap/layout@19.1.1-dev.0) (2025-05-19)
|
|
7
17
|
|
|
8
18
|
**Note:** Version bump only for package @rxap/layout
|
package/compodoc/changelog.html
CHANGED
|
@@ -85,6 +85,13 @@
|
|
|
85
85
|
<h1>Change Log</h1>
|
|
86
86
|
<p>All notable changes to this project will be documented in this file.
|
|
87
87
|
See <a href="https://conventionalcommits.org">Conventional Commits</a> for commit guidelines.</p>
|
|
88
|
+
<h2><a href="https://gitlab.com/rxap/packages/compare/@rxap/layout@19.1.1-dev.1...@rxap/layout@19.1.1-dev.2">19.1.1-dev.2</a> (2025-08-21)</h2>
|
|
89
|
+
<h3>Bug Fixes</h3>
|
|
90
|
+
<ul>
|
|
91
|
+
<li><strong>navigation-item:</strong> remove unnecessary console logs (<a href="https://gitlab.com/rxap/packages/commit/3b808c05fd6db8c1064d25fa11dbf0539c92c5d7">3b808c0</a>)</li>
|
|
92
|
+
</ul>
|
|
93
|
+
<h2><a href="https://gitlab.com/rxap/packages/compare/@rxap/layout@19.1.1-dev.0...@rxap/layout@19.1.1-dev.1">19.1.1-dev.1</a> (2025-08-12)</h2>
|
|
94
|
+
<p><strong>Note:</strong> Version bump only for package @rxap/layout</p>
|
|
88
95
|
<h2><a href="https://gitlab.com/rxap/packages/compare/@rxap/layout@19.1.0...@rxap/layout@19.1.1-dev.0">19.1.1-dev.0</a> (2025-05-19)</h2>
|
|
89
96
|
<p><strong>Note:</strong> Version bump only for package @rxap/layout</p>
|
|
90
97
|
<h1><a href="https://gitlab.com/rxap/packages/compare/@rxap/layout@19.1.0-dev.4...@rxap/layout@19.1.0">19.1.0</a> (2025-05-16)</h1>
|
|
@@ -904,21 +904,21 @@ export class NavigationComponent implements OnInit {
|
|
|
904
904
|
</div>
|
|
905
905
|
|
|
906
906
|
<div class="tab-pane fade " id="templateData">
|
|
907
|
-
<pre class="line-numbers"><code class="language-html"
|
|
908
|
-
|
|
907
|
+
<pre class="line-numbers"><code class="language-html">@for (item of navigationItems(); track item) {
|
|
908
|
+
|
|
909
|
+
@if (isNavigationDividerItem(item)) {
|
|
909
910
|
<mat-divider></mat-divider>
|
|
910
911
|
<div *ngIf="!collapsed() && item.title" class="pl-5 h-6">
|
|
911
912
|
{{item.title}}
|
|
912
913
|
</div>
|
|
913
|
-
|
|
914
|
-
<ng-template [ngIf]="isNavigationItem(item)">
|
|
914
|
+
} @else if (isNavigationItem(item)) {
|
|
915
915
|
<li [item]="asNavigationItem(item)"
|
|
916
916
|
[level]="level()"
|
|
917
|
-
class="dark:hover:text-white hover:text-black"
|
|
918
917
|
rxap-navigation-item>
|
|
919
918
|
</li>
|
|
920
|
-
|
|
921
|
-
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
}
|
|
922
922
|
</code></pre>
|
|
923
923
|
</div>
|
|
924
924
|
|
|
@@ -954,7 +954,7 @@ export class NavigationComponent implements OnInit {
|
|
|
954
954
|
<script src="../js/libs/htmlparser.js"></script>
|
|
955
955
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
956
956
|
<script>
|
|
957
|
-
var COMPONENT_TEMPLATE = '<div
|
|
957
|
+
var COMPONENT_TEMPLATE = '<div>@for (item of navigationItems(); track item) { @if (isNavigationDividerItem(item)) { <mat-divider></mat-divider> <div *ngIf="!collapsed() && item.title" class="pl-5 h-6"> {{item.title}} </div> } @else if (isNavigationItem(item)) { <li [item]="asNavigationItem(item)" [level]="level()" rxap-navigation-item> </li> }}</div>'
|
|
958
958
|
var COMPONENTS = [{'name': 'AppsButtonComponent', 'selector': 'rxap-apps-button'},{'name': 'BaseLayoutComponent', 'selector': 'rxap-base-layout'},{'name': 'DefaultHeaderComponent', 'selector': 'rxap-default-header'},{'name': 'FooterComponent', 'selector': 'rxap-footer'},{'name': 'HeaderComponent', 'selector': 'rxap-header'},{'name': 'LayoutComponent', 'selector': 'rxap-layout'},{'name': 'MinimalLayoutComponent', 'selector': 'rxap-minimal-layout'},{'name': 'NavigationComponent', 'selector': 'ul[rxap-navigation]'},{'name': 'NavigationItemComponent', 'selector': 'li[rxap-navigation-item]'},{'name': 'NavigationProgressBarComponent', 'selector': 'rxap-navigation-progress-bar'},{'name': 'ReleaseInfoComponent', 'selector': 'rxap-release-info'},{'name': 'SettingsButtonComponent', 'selector': 'rxap-settings-button'},{'name': 'SidenavComponent', 'selector': 'rxap-sidenav'},{'name': 'SidenavToggleButtonComponent', 'selector': 'rxap-sidenav-toggle-button'},{'name': 'UserProfileIconComponent', 'selector': 'rxap-user-profile-icon'}];
|
|
959
959
|
var DIRECTIVES = [{'name': 'FooterDirective', 'selector': '[rxapFooter]'},{'name': 'HeaderDirective', 'selector': '[rxapHeader]'},{'name': 'SidenavFooterDirective', 'selector': '[rxapSidenavFooter]'},{'name': 'SidenavHeaderDirective', 'selector': '[rxapSidenavHeader]'}];
|
|
960
960
|
var ACTUAL_COMPONENT = {'name': 'NavigationComponent'};
|
|
@@ -1072,35 +1072,35 @@ export class NavigationItemComponent
|
|
|
1072
1072
|
public ngAfterViewInit() {
|
|
1073
1073
|
this._subscription.add(
|
|
1074
1074
|
this.router.events
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1075
|
+
.pipe(
|
|
1076
|
+
filter((event) => event instanceof NavigationEnd),
|
|
1077
|
+
debounceTime(100),
|
|
1078
|
+
startWith(true),
|
|
1079
|
+
tap(() => {
|
|
1080
|
+
let isActive = true;
|
|
1081
|
+
const urlParts = this.router.url.split('/');
|
|
1082
|
+
if (urlParts[0] === '') {
|
|
1083
|
+
urlParts[0] = '/';
|
|
1084
|
+
}
|
|
1085
|
+
const routerLink = coerceArray(this.item().routerLink).map(fragment => fragment === '/' ? ['/'] : fragment.split('/')).flat();
|
|
1086
|
+
if (routerLink[0] === '') {
|
|
1087
|
+
routerLink[0] = '/';
|
|
1088
|
+
}
|
|
1089
|
+
for (let i = 0; i < routerLink.length; i++) {
|
|
1090
|
+
if (urlParts[i] !== routerLink[i]) {
|
|
1091
|
+
isActive = false;
|
|
1092
|
+
break;
|
|
1084
1093
|
}
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
this.active.set(isActive);
|
|
1096
|
-
if (isActive) {
|
|
1097
|
-
this.renderer.addClass(this.elementRef.nativeElement, 'active');
|
|
1098
|
-
} else {
|
|
1099
|
-
this.renderer.removeClass(this.elementRef.nativeElement, 'active');
|
|
1100
|
-
}
|
|
1101
|
-
}),
|
|
1102
|
-
)
|
|
1103
|
-
.subscribe(),
|
|
1094
|
+
}
|
|
1095
|
+
this.active.set(isActive);
|
|
1096
|
+
if (isActive) {
|
|
1097
|
+
this.renderer.addClass(this.elementRef.nativeElement, 'active');
|
|
1098
|
+
} else {
|
|
1099
|
+
this.renderer.removeClass(this.elementRef.nativeElement, 'active');
|
|
1100
|
+
}
|
|
1101
|
+
}),
|
|
1102
|
+
)
|
|
1103
|
+
.subscribe(),
|
|
1104
1104
|
);
|
|
1105
1105
|
}
|
|
1106
1106
|
|
|
@@ -1143,7 +1143,7 @@ export class NavigationItemComponent
|
|
|
1143
1143
|
'border-l-4 text-accent-400 border-accent-600': active(),
|
|
1144
1144
|
}">
|
|
1145
1145
|
<a [routerLink]="item().routerLink"
|
|
1146
|
-
class="h-12 pl-4 pr-5 flex flex-row justify-between items-center gap-x-4"
|
|
1146
|
+
class="h-12 pl-4 pr-5 flex flex-row justify-between items-center gap-x-4 text-black"
|
|
1147
1147
|
matRipple
|
|
1148
1148
|
routerLinkActive
|
|
1149
1149
|
(click)="onClick()"
|
|
@@ -1154,11 +1154,12 @@ export class NavigationItemComponent
|
|
|
1154
1154
|
>
|
|
1155
1155
|
{{ item().label }}
|
|
1156
1156
|
</span>
|
|
1157
|
-
|
|
1157
|
+
@if (item().icon; as icon) {
|
|
1158
|
+
<mat-icon [rxapIcon]="icon"></mat-icon>
|
|
1159
|
+
}
|
|
1158
1160
|
</a>
|
|
1159
1161
|
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
+
@if (item().children?.length && active()) {
|
|
1162
1163
|
<mat-divider></mat-divider>
|
|
1163
1164
|
|
|
1164
1165
|
<ul [@sub-nav]
|
|
@@ -1169,8 +1170,7 @@ export class NavigationItemComponent
|
|
|
1169
1170
|
</ul>
|
|
1170
1171
|
|
|
1171
1172
|
<mat-divider></mat-divider>
|
|
1172
|
-
|
|
1173
|
-
</ng-container>
|
|
1173
|
+
}
|
|
1174
1174
|
</div>
|
|
1175
1175
|
</code></pre>
|
|
1176
1176
|
</div>
|
|
@@ -1207,7 +1207,7 @@ export class NavigationItemComponent
|
|
|
1207
1207
|
<script src="../js/libs/htmlparser.js"></script>
|
|
1208
1208
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
1209
1209
|
<script>
|
|
1210
|
-
var COMPONENT_TEMPLATE = '<div><div [ngClass]="{ \'border-l-4 text-accent-400 border-accent-600\': active(), }"> <a [routerLink]="item().routerLink" class="h-12 pl-4 pr-5 flex flex-row justify-between items-center gap-x-4" matRipple routerLinkActive (click)="onClick()" > <span [ngClass]="itemClasses()" class="grow whitespace-nowrap" > {{ item().label }} </span>
|
|
1210
|
+
var COMPONENT_TEMPLATE = '<div><div [ngClass]="{ \'border-l-4 text-accent-400 border-accent-600\': active(), }"> <a [routerLink]="item().routerLink" class="h-12 pl-4 pr-5 flex flex-row justify-between items-center gap-x-4 text-black" matRipple routerLinkActive (click)="onClick()" > <span [ngClass]="itemClasses()" class="grow whitespace-nowrap" > {{ item().label }} </span> @if (item().icon; as icon) { <mat-icon [rxapIcon]="icon"></mat-icon> } </a> @if (item().children?.length && active()) { <mat-divider></mat-divider> <ul [@sub-nav] [items]="children ?? []" [level]="level() + 1" rxap-navigation > </ul> <mat-divider></mat-divider> }</div></div>'
|
|
1211
1211
|
var COMPONENTS = [{'name': 'AppsButtonComponent', 'selector': 'rxap-apps-button'},{'name': 'BaseLayoutComponent', 'selector': 'rxap-base-layout'},{'name': 'DefaultHeaderComponent', 'selector': 'rxap-default-header'},{'name': 'FooterComponent', 'selector': 'rxap-footer'},{'name': 'HeaderComponent', 'selector': 'rxap-header'},{'name': 'LayoutComponent', 'selector': 'rxap-layout'},{'name': 'MinimalLayoutComponent', 'selector': 'rxap-minimal-layout'},{'name': 'NavigationComponent', 'selector': 'ul[rxap-navigation]'},{'name': 'NavigationItemComponent', 'selector': 'li[rxap-navigation-item]'},{'name': 'NavigationProgressBarComponent', 'selector': 'rxap-navigation-progress-bar'},{'name': 'ReleaseInfoComponent', 'selector': 'rxap-release-info'},{'name': 'SettingsButtonComponent', 'selector': 'rxap-settings-button'},{'name': 'SidenavComponent', 'selector': 'rxap-sidenav'},{'name': 'SidenavToggleButtonComponent', 'selector': 'rxap-sidenav-toggle-button'},{'name': 'UserProfileIconComponent', 'selector': 'rxap-user-profile-icon'}];
|
|
1212
1212
|
var DIRECTIVES = [{'name': 'FooterDirective', 'selector': '[rxapFooter]'},{'name': 'HeaderDirective', 'selector': '[rxapHeader]'},{'name': 'SidenavFooterDirective', 'selector': '[rxapSidenavFooter]'},{'name': 'SidenavHeaderDirective', 'selector': '[rxapSidenavHeader]'}];
|
|
1213
1213
|
var ACTUAL_COMPONENT = {'name': 'NavigationItemComponent'};
|
|
@@ -133,9 +133,9 @@
|
|
|
133
133
|
<li>
|
|
134
134
|
<b>@rxap/browser-utilities</b> : ^1.1.13</li>
|
|
135
135
|
<li>
|
|
136
|
-
<b>@rxap/config</b> : ^19.1.0</li>
|
|
136
|
+
<b>@rxap/config</b> : ^19.1.1-dev.0</li>
|
|
137
137
|
<li>
|
|
138
|
-
<b>@rxap/data-source</b> : ^19.1.1-dev.
|
|
138
|
+
<b>@rxap/data-source</b> : ^19.1.1-dev.1</li>
|
|
139
139
|
<li>
|
|
140
140
|
<b>@rxap/environment</b> : ^19.0.4</li>
|
|
141
141
|
<li>
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
<li>
|
|
148
148
|
<b>@rxap/pattern</b> : ^1.1.14</li>
|
|
149
149
|
<li>
|
|
150
|
-
<b>@rxap/utilities</b> : ^16.4.
|
|
150
|
+
<b>@rxap/utilities</b> : ^16.4.5-dev.0</li>
|
|
151
151
|
<li>
|
|
152
152
|
<b>rxjs</b> : ^7.8.1</li>
|
|
153
153
|
</ul>
|