@posiwise/shared-components 0.0.177 → 0.0.178
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/package.json
CHANGED
|
@@ -432,19 +432,11 @@ declare class CollapsibleSidebarService {
|
|
|
432
432
|
static ɵprov: i0.ɵɵInjectableDeclaration<CollapsibleSidebarService>;
|
|
433
433
|
}
|
|
434
434
|
|
|
435
|
-
/**
|
|
436
|
-
* CollapsibleSidebarComponent
|
|
437
|
-
*
|
|
438
|
-
* Main sidebar container that displays dynamically loaded content.
|
|
439
|
-
* - Observes sidebar state from the service
|
|
440
|
-
* - Dynamically renders component content
|
|
441
|
-
* - Handles expand/collapse animations
|
|
442
|
-
* - Uses OnPush change detection for performance
|
|
443
|
-
*/
|
|
444
435
|
declare class CollapsibleSidebarComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
445
436
|
private readonly sidebarService;
|
|
446
437
|
private readonly injector;
|
|
447
438
|
private readonly cdr;
|
|
439
|
+
private readonly document;
|
|
448
440
|
private readonly appConfigService?;
|
|
449
441
|
contentContainer: ViewContainerRef;
|
|
450
442
|
/**
|
|
@@ -460,8 +452,9 @@ declare class CollapsibleSidebarComponent implements OnInit, AfterViewInit, OnDe
|
|
|
460
452
|
isExpanded: boolean;
|
|
461
453
|
currentContent: SidebarContent | null;
|
|
462
454
|
private componentRef;
|
|
455
|
+
private navbarOffsetTracker;
|
|
463
456
|
private readonly destroy$;
|
|
464
|
-
constructor(sidebarService: CollapsibleSidebarService, injector: Injector, cdr: ChangeDetectorRef, appConfigService?: AppConfigService);
|
|
457
|
+
constructor(sidebarService: CollapsibleSidebarService, injector: Injector, cdr: ChangeDetectorRef, document: Document, appConfigService?: AppConfigService);
|
|
465
458
|
ngOnInit(): void;
|
|
466
459
|
ngAfterViewInit(): void;
|
|
467
460
|
ngOnDestroy(): void;
|
|
@@ -471,19 +464,10 @@ declare class CollapsibleSidebarComponent implements OnInit, AfterViewInit, OnDe
|
|
|
471
464
|
* Load and render dynamic component based on sidebar content
|
|
472
465
|
*/
|
|
473
466
|
private loadComponent;
|
|
474
|
-
/**
|
|
475
|
-
* Clear the currently rendered component
|
|
476
|
-
*/
|
|
477
467
|
private clearComponent;
|
|
478
|
-
/**
|
|
479
|
-
* Close the sidebar
|
|
480
|
-
*/
|
|
481
468
|
closeSidebar(): void;
|
|
482
|
-
/**
|
|
483
|
-
* Toggle sidebar expanded/collapsed state
|
|
484
|
-
*/
|
|
485
469
|
toggleSidebar(): void;
|
|
486
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CollapsibleSidebarComponent, [null, null, null, { optional: true; }]>;
|
|
470
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CollapsibleSidebarComponent, [null, null, null, null, { optional: true; }]>;
|
|
487
471
|
static ɵcmp: i0.ɵɵComponentDeclaration<CollapsibleSidebarComponent, "pw-collapsible-sidebar", never, { "embedInLayout": { "alias": "embedInLayout"; "required": false; }; }, {}, never, never, false, never>;
|
|
488
472
|
static ngAcceptInputType_embedInLayout: unknown;
|
|
489
473
|
}
|