@pumpkin-tech/pumpkin-tech-ng 0.2.8 → 0.2.10
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';
|
|
@@ -59,6 +59,7 @@ declare class PtechGridDirective implements OnDestroy {
|
|
|
59
59
|
display: string;
|
|
60
60
|
columns: string;
|
|
61
61
|
private activeBp;
|
|
62
|
+
private viewportBp;
|
|
62
63
|
constructor(bp: BreakpointObserver);
|
|
63
64
|
ngOnDestroy(): void;
|
|
64
65
|
private pickActive;
|
|
@@ -87,6 +88,8 @@ declare class PtechColDirective implements OnDestroy {
|
|
|
87
88
|
ptechColLg?: number | string;
|
|
88
89
|
ptechColXl?: number | string;
|
|
89
90
|
private activeBp;
|
|
91
|
+
private viewportBp;
|
|
92
|
+
private containerBp;
|
|
90
93
|
private activeSource;
|
|
91
94
|
gridColumn: string;
|
|
92
95
|
minWidth: string;
|
|
@@ -94,6 +97,7 @@ declare class PtechColDirective implements OnDestroy {
|
|
|
94
97
|
ngOnDestroy(): void;
|
|
95
98
|
private findGridParent;
|
|
96
99
|
private pickActive;
|
|
100
|
+
private pickAutoBp;
|
|
97
101
|
private updateSpan;
|
|
98
102
|
private resolveColForBp;
|
|
99
103
|
private asNum;
|
|
@@ -506,8 +510,9 @@ interface FooterItem {
|
|
|
506
510
|
icon: string;
|
|
507
511
|
text: string;
|
|
508
512
|
}
|
|
509
|
-
declare class NavComponent {
|
|
513
|
+
declare class NavComponent implements AfterViewInit, OnDestroy {
|
|
510
514
|
navService: NavService;
|
|
515
|
+
private readonly cdr;
|
|
511
516
|
links: NavLink[];
|
|
512
517
|
currentModuleName: string;
|
|
513
518
|
fixedTopGap: number;
|
|
@@ -519,13 +524,21 @@ declare class NavComponent {
|
|
|
519
524
|
headerClick: EventEmitter<void>;
|
|
520
525
|
navigate: EventEmitter<NavLink>;
|
|
521
526
|
logout: EventEmitter<void>;
|
|
527
|
+
navListEl?: ElementRef<HTMLElement>;
|
|
522
528
|
stack: NavLink[];
|
|
529
|
+
navListOverflow: boolean;
|
|
523
530
|
readonly navOpen$: Observable<boolean>;
|
|
524
|
-
|
|
531
|
+
private readonly destroy$;
|
|
532
|
+
private resizeObserver?;
|
|
533
|
+
private recalculationRafId;
|
|
534
|
+
constructor(navService: NavService, cdr: ChangeDetectorRef);
|
|
525
535
|
get currentLevel(): NavLink[];
|
|
526
536
|
get currentTitle(): string;
|
|
527
537
|
clickItem(item: NavLink, ev: MouseEvent): void;
|
|
528
538
|
onHeaderClick(): void;
|
|
539
|
+
ngAfterViewInit(): void;
|
|
540
|
+
ngOnDestroy(): void;
|
|
541
|
+
private scheduleOverflowRecalc;
|
|
529
542
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavComponent, never>;
|
|
530
543
|
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
544
|
}
|