@pumpkin-tech/pumpkin-tech-ng 0.2.8 → 0.2.9
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/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnDestroy, ElementRef, NgZone, TemplateRef, EventEmitter, OnChanges, SimpleChanges,
|
|
2
|
+
import { OnDestroy, ElementRef, NgZone, TemplateRef, EventEmitter, OnChanges, SimpleChanges, AfterViewInit, ChangeDetectorRef, OnInit, InjectionToken, AfterContentInit, QueryList, Renderer2, ViewContainerRef, PipeTransform } from '@angular/core';
|
|
3
3
|
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
4
4
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
5
5
|
import * as i2 from '@angular/forms';
|
|
@@ -506,8 +506,9 @@ interface FooterItem {
|
|
|
506
506
|
icon: string;
|
|
507
507
|
text: string;
|
|
508
508
|
}
|
|
509
|
-
declare class NavComponent {
|
|
509
|
+
declare class NavComponent implements AfterViewInit, OnDestroy {
|
|
510
510
|
navService: NavService;
|
|
511
|
+
private readonly cdr;
|
|
511
512
|
links: NavLink[];
|
|
512
513
|
currentModuleName: string;
|
|
513
514
|
fixedTopGap: number;
|
|
@@ -519,13 +520,21 @@ declare class NavComponent {
|
|
|
519
520
|
headerClick: EventEmitter<void>;
|
|
520
521
|
navigate: EventEmitter<NavLink>;
|
|
521
522
|
logout: EventEmitter<void>;
|
|
523
|
+
navListEl?: ElementRef<HTMLElement>;
|
|
522
524
|
stack: NavLink[];
|
|
525
|
+
navListOverflow: boolean;
|
|
523
526
|
readonly navOpen$: Observable<boolean>;
|
|
524
|
-
|
|
527
|
+
private readonly destroy$;
|
|
528
|
+
private resizeObserver?;
|
|
529
|
+
private recalculationRafId;
|
|
530
|
+
constructor(navService: NavService, cdr: ChangeDetectorRef);
|
|
525
531
|
get currentLevel(): NavLink[];
|
|
526
532
|
get currentTitle(): string;
|
|
527
533
|
clickItem(item: NavLink, ev: MouseEvent): void;
|
|
528
534
|
onHeaderClick(): void;
|
|
535
|
+
ngAfterViewInit(): void;
|
|
536
|
+
ngOnDestroy(): void;
|
|
537
|
+
private scheduleOverflowRecalc;
|
|
529
538
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavComponent, never>;
|
|
530
539
|
static ɵcmp: i0.ɵɵComponentDeclaration<NavComponent, "ptech-nav", never, { "links": { "alias": "links"; "required": false; }; "currentModuleName": { "alias": "currentModuleName"; "required": false; }; "fixedTopGap": { "alias": "fixedTopGap"; "required": false; }; "fixedBottomGap": { "alias": "fixedBottomGap"; "required": false; }; "footerItems": { "alias": "footerItems"; "required": false; }; "hasBackdrop": { "alias": "hasBackdrop"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; }, { "backdropClick": "backdropClick"; "headerClick": "headerClick"; "navigate": "navigate"; "logout": "logout"; }, never, never, true, never>;
|
|
531
540
|
}
|