@solcre-org/core-ui 2.15.3 → 2.15.4
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.
|
@@ -15302,11 +15302,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
|
|
|
15302
15302
|
// Este archivo es generado automáticamente por scripts/update-version.js
|
|
15303
15303
|
// No edites manualmente este archivo
|
|
15304
15304
|
const VERSION = {
|
|
15305
|
-
full: '2.15.
|
|
15305
|
+
full: '2.15.4',
|
|
15306
15306
|
major: 2,
|
|
15307
15307
|
minor: 15,
|
|
15308
|
-
patch:
|
|
15309
|
-
timestamp: '2025-10-10T15:
|
|
15308
|
+
patch: 4,
|
|
15309
|
+
timestamp: '2025-10-10T15:46:15.030Z',
|
|
15310
15310
|
buildDate: '10/10/2025'
|
|
15311
15311
|
};
|
|
15312
15312
|
|
|
@@ -15317,7 +15317,9 @@ class MainNavComponent {
|
|
|
15317
15317
|
router = inject(Router);
|
|
15318
15318
|
mobileResolutionService = inject(MobileResolutionService);
|
|
15319
15319
|
isCollapsed = false;
|
|
15320
|
-
isMobile
|
|
15320
|
+
get isMobile() {
|
|
15321
|
+
return this.mobileResolutionService.shouldShowMobileHeader();
|
|
15322
|
+
}
|
|
15321
15323
|
isBottomNavOpen = false;
|
|
15322
15324
|
expandedSections = {};
|
|
15323
15325
|
routerSubscription = new Subscription();
|
|
@@ -15353,7 +15355,6 @@ class MainNavComponent {
|
|
|
15353
15355
|
};
|
|
15354
15356
|
}
|
|
15355
15357
|
ngOnInit() {
|
|
15356
|
-
this.checkIfMobile();
|
|
15357
15358
|
this.setupResizeListener();
|
|
15358
15359
|
this.mainNavService.isCollapsed$.subscribe(isCollapsed => {
|
|
15359
15360
|
const wasCollapsed = this.isCollapsed;
|
|
@@ -15581,14 +15582,10 @@ class MainNavComponent {
|
|
|
15581
15582
|
}
|
|
15582
15583
|
return classes;
|
|
15583
15584
|
}
|
|
15584
|
-
checkIfMobile() {
|
|
15585
|
-
this.isMobile = window.innerWidth <= this.mobileResolutionService.breakpoint();
|
|
15586
|
-
}
|
|
15587
15585
|
setupResizeListener() {
|
|
15588
15586
|
window.addEventListener('resize', this.onResize.bind(this));
|
|
15589
15587
|
}
|
|
15590
15588
|
onResize() {
|
|
15591
|
-
this.checkIfMobile();
|
|
15592
15589
|
if (!this.isMobile && this.isBottomNavOpen) {
|
|
15593
15590
|
this.isBottomNavOpen = false;
|
|
15594
15591
|
document.body.classList.remove('bottom-nav-open', 'bottom-nav-closing');
|