@coreui/angular-pro 4.2.16 → 4.2.17
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/esm2020/lib/multi-select/multi-select/multi-select.component.mjs +1 -1
- package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav.component.mjs +14 -3
- package/fesm2015/coreui-angular-pro.mjs +11 -0
- package/fesm2015/coreui-angular-pro.mjs.map +1 -1
- package/fesm2020/coreui-angular-pro.mjs +11 -0
- package/fesm2020/coreui-angular-pro.mjs.map +1 -1
- package/lib/sidebar/sidebar-nav/sidebar-nav.component.d.ts +4 -4
- package/package.json +1 -1
|
@@ -12004,6 +12004,13 @@ class SidebarNavGroupComponent {
|
|
|
12004
12004
|
}
|
|
12005
12005
|
this.navGroupSubscription = this.sidebarNavGroupService.sidebarNavGroupState$.subscribe(next => {
|
|
12006
12006
|
if (this.dropdownMode === 'close' && next.sidebarNavGroup && next.sidebarNavGroup !== this) {
|
|
12007
|
+
if (next.sidebarNavGroup.item.url.startsWith(this.item.url)) {
|
|
12008
|
+
return;
|
|
12009
|
+
}
|
|
12010
|
+
if (this.samePath(this.router.routerState.snapshot.url)) {
|
|
12011
|
+
this.openGroup(true);
|
|
12012
|
+
return;
|
|
12013
|
+
}
|
|
12007
12014
|
this.openGroup(false);
|
|
12008
12015
|
}
|
|
12009
12016
|
});
|
|
@@ -12038,6 +12045,10 @@ class SidebarNavGroupComponent {
|
|
|
12038
12045
|
}
|
|
12039
12046
|
}
|
|
12040
12047
|
onAnimationDone($event) {
|
|
12048
|
+
if ($event.toState === 'open') {
|
|
12049
|
+
const host = this.sidebarNav.nativeElement;
|
|
12050
|
+
this.renderer.setStyle(host, 'height', 'auto');
|
|
12051
|
+
}
|
|
12041
12052
|
if ($event.toState === 'closed') {
|
|
12042
12053
|
setTimeout(() => {
|
|
12043
12054
|
this.display = null;
|