@huntsman-cancer-institute/navigation 16.0.1 → 17.0.0
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/components/badge.component.d.ts +15 -15
- package/components/brand-nav.component.d.ts +20 -20
- package/components/div-nav.component.d.ts +17 -17
- package/components/li-dd-nav.component.d.ts +29 -29
- package/components/li-exp-nav.component.d.ts +23 -23
- package/components/li-nav.component.d.ts +31 -31
- package/components/nav.component.d.ts +159 -159
- package/components/search-list/row-group.d.ts +9 -9
- package/components/search-list/search-list-controller.component.d.ts +183 -183
- package/components/search-list/search-list.component.d.ts +228 -228
- package/components/search-tree/search-tree-controller.component.d.ts +15 -15
- package/components/search-tree/search-tree.component.d.ts +127 -127
- package/components/template.component.d.ts +26 -26
- package/components/ul-nav.component.d.ts +17 -17
- package/directives/top-margin.directive.d.ts +43 -43
- package/esm2022/components/badge.component.mjs +64 -64
- package/esm2022/components/brand-nav.component.mjs +91 -91
- package/esm2022/components/div-nav.component.mjs +66 -66
- package/esm2022/components/li-dd-nav.component.mjs +128 -128
- package/esm2022/components/li-exp-nav.component.mjs +106 -106
- package/esm2022/components/li-nav.component.mjs +152 -152
- package/esm2022/components/nav.component.mjs +608 -608
- package/esm2022/components/search-list/row-group.mjs +9 -9
- package/esm2022/components/search-list/search-list-controller.component.mjs +673 -673
- package/esm2022/components/search-list/search-list.component.mjs +1165 -1165
- package/esm2022/components/search-tree/search-tree-controller.component.mjs +50 -50
- package/esm2022/components/search-tree/search-tree.component.mjs +601 -601
- package/esm2022/components/template.component.mjs +88 -88
- package/esm2022/components/ul-nav.component.mjs +70 -70
- package/esm2022/directives/top-margin.directive.mjs +147 -147
- package/esm2022/huntsman-cancer-institute-navigation.mjs +4 -4
- package/esm2022/impl/app-footer.component.mjs +106 -106
- package/esm2022/impl/app-header.component.mjs +108 -108
- package/esm2022/impl/sidebar.component.mjs +212 -212
- package/esm2022/index.mjs +29 -29
- package/esm2022/navigation.module.mjs +180 -180
- package/esm2022/services/navigation-global.service.mjs +54 -54
- package/esm2022/services/navigation.service.mjs +89 -89
- package/fesm2022/huntsman-cancer-institute-navigation.mjs +4525 -4525
- package/fesm2022/huntsman-cancer-institute-navigation.mjs.map +1 -1
- package/impl/app-footer.component.d.ts +31 -31
- package/impl/app-header.component.d.ts +29 -29
- package/impl/sidebar.component.d.ts +53 -53
- package/index.d.ts +26 -26
- package/navigation.module.d.ts +45 -45
- package/package.json +18 -10
- package/services/navigation-global.service.d.ts +33 -33
- package/services/navigation.service.d.ts +44 -44
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { SimpleChanges } from "@angular/core";
|
|
2
|
-
import { BehaviorSubject, Subscription } from "rxjs";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class BadgeComponent {
|
|
5
|
-
count: number;
|
|
6
|
-
loading: boolean;
|
|
7
|
-
countSubject: BehaviorSubject<number>;
|
|
8
|
-
countLoading: BehaviorSubject<boolean>;
|
|
9
|
-
countSubscription: Subscription;
|
|
10
|
-
countLoadingSubscription: Subscription;
|
|
11
|
-
ngOnDestroy(): void;
|
|
12
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BadgeComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BadgeComponent, "hci-badge", never, { "countSubject": { "alias": "countSubject"; "required": false; }; "countLoading": { "alias": "countLoading"; "required": false; }; }, {}, never, never, false, never>;
|
|
15
|
-
}
|
|
1
|
+
import { SimpleChanges } from "@angular/core";
|
|
2
|
+
import { BehaviorSubject, Subscription } from "rxjs";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BadgeComponent {
|
|
5
|
+
count: number;
|
|
6
|
+
loading: boolean;
|
|
7
|
+
countSubject: BehaviorSubject<number>;
|
|
8
|
+
countLoading: BehaviorSubject<boolean>;
|
|
9
|
+
countSubscription: Subscription;
|
|
10
|
+
countLoadingSubscription: Subscription;
|
|
11
|
+
ngOnDestroy(): void;
|
|
12
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BadgeComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BadgeComponent, "hci-badge", never, { "countSubject": { "alias": "countSubject"; "required": false; }; "countLoading": { "alias": "countLoading"; "required": false; }; }, {}, never, never, false, never>;
|
|
15
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ComponentFactoryResolver, ElementRef, Renderer2 } from "@angular/core";
|
|
2
|
-
import { NavComponent } from "./nav.component";
|
|
3
|
-
import { NavigationService } from "../services/navigation.service";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class BrandNavComponent extends NavComponent {
|
|
6
|
-
href: string;
|
|
7
|
-
route: string;
|
|
8
|
-
queryParams: Object;
|
|
9
|
-
queryParamsHandling: string;
|
|
10
|
-
aClass: string;
|
|
11
|
-
imgSrc: string;
|
|
12
|
-
spanClass: string;
|
|
13
|
-
imgRight: boolean;
|
|
14
|
-
aClick: Function;
|
|
15
|
-
constructor(elementRef: ElementRef, renderer: Renderer2, resolver: ComponentFactoryResolver, navigationService: NavigationService, changeDetectorRef: ChangeDetectorRef);
|
|
16
|
-
handleAClick(event: Event): void;
|
|
17
|
-
updateConfig(config: any): void;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BrandNavComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BrandNavComponent, "hci-brand", never, { "href": { "alias": "href"; "required": false; }; "route": { "alias": "route"; "required": false; }; "queryParams": { "alias": "queryParams"; "required": false; }; "queryParamsHandling": { "alias": "queryParamsHandling"; "required": false; }; "aClass": { "alias": "aClass"; "required": false; }; "imgSrc": { "alias": "imgSrc"; "required": false; }; "spanClass": { "alias": "spanClass"; "required": false; }; "imgRight": { "alias": "imgRight"; "required": false; }; "aClick": { "alias": "aClick"; "required": false; }; }, {}, never, never, false, never>;
|
|
20
|
-
}
|
|
1
|
+
import { ChangeDetectorRef, ComponentFactoryResolver, ElementRef, Renderer2 } from "@angular/core";
|
|
2
|
+
import { NavComponent } from "./nav.component";
|
|
3
|
+
import { NavigationService } from "../services/navigation.service";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BrandNavComponent extends NavComponent {
|
|
6
|
+
href: string;
|
|
7
|
+
route: string;
|
|
8
|
+
queryParams: Object;
|
|
9
|
+
queryParamsHandling: string;
|
|
10
|
+
aClass: string;
|
|
11
|
+
imgSrc: string;
|
|
12
|
+
spanClass: string;
|
|
13
|
+
imgRight: boolean;
|
|
14
|
+
aClick: Function;
|
|
15
|
+
constructor(elementRef: ElementRef, renderer: Renderer2, resolver: ComponentFactoryResolver, navigationService: NavigationService, changeDetectorRef: ChangeDetectorRef);
|
|
16
|
+
handleAClick(event: Event): void;
|
|
17
|
+
updateConfig(config: any): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrandNavComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BrandNavComponent, "hci-brand", never, { "href": { "alias": "href"; "required": false; }; "route": { "alias": "route"; "required": false; }; "queryParams": { "alias": "queryParams"; "required": false; }; "queryParamsHandling": { "alias": "queryParamsHandling"; "required": false; }; "aClass": { "alias": "aClass"; "required": false; }; "imgSrc": { "alias": "imgSrc"; "required": false; }; "spanClass": { "alias": "spanClass"; "required": false; }; "imgRight": { "alias": "imgRight"; "required": false; }; "aClick": { "alias": "aClick"; "required": false; }; }, {}, never, never, false, never>;
|
|
20
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ComponentFactoryResolver, ElementRef, Renderer2, ViewContainerRef } from "@angular/core";
|
|
2
|
-
import { NavComponent } from "./nav.component";
|
|
3
|
-
import { NavigationService } from "../services/navigation.service";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class DivNavComponent extends NavComponent {
|
|
6
|
-
divClass: string;
|
|
7
|
-
containerRef: ViewContainerRef;
|
|
8
|
-
private container;
|
|
9
|
-
constructor(elementRef: ElementRef, renderer: Renderer2, resolver: ComponentFactoryResolver, navigationService: NavigationService, changeDetectorRef: ChangeDetectorRef);
|
|
10
|
-
set containerRefSetter(containerRef: ViewContainerRef);
|
|
11
|
-
checkInitialized(): void;
|
|
12
|
-
getContainer(container?: string): ViewContainerRef;
|
|
13
|
-
setConfig(config: any): void;
|
|
14
|
-
updateConfig(config: any): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DivNavComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DivNavComponent, "hci-div-nav", never, { "divClass": { "alias": "divClass"; "required": false; }; }, {}, never, never, false, never>;
|
|
17
|
-
}
|
|
1
|
+
import { ChangeDetectorRef, ComponentFactoryResolver, ElementRef, Renderer2, ViewContainerRef } from "@angular/core";
|
|
2
|
+
import { NavComponent } from "./nav.component";
|
|
3
|
+
import { NavigationService } from "../services/navigation.service";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class DivNavComponent extends NavComponent {
|
|
6
|
+
divClass: string;
|
|
7
|
+
containerRef: ViewContainerRef;
|
|
8
|
+
private container;
|
|
9
|
+
constructor(elementRef: ElementRef, renderer: Renderer2, resolver: ComponentFactoryResolver, navigationService: NavigationService, changeDetectorRef: ChangeDetectorRef);
|
|
10
|
+
set containerRefSetter(containerRef: ViewContainerRef);
|
|
11
|
+
checkInitialized(): void;
|
|
12
|
+
getContainer(container?: string): ViewContainerRef;
|
|
13
|
+
setConfig(config: any): void;
|
|
14
|
+
updateConfig(config: any): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DivNavComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DivNavComponent, "hci-div-nav", never, { "divClass": { "alias": "divClass"; "required": false; }; }, {}, never, never, false, never>;
|
|
17
|
+
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ComponentFactoryResolver, ElementRef, Renderer2, ViewContainerRef } from "@angular/core";
|
|
2
|
-
import { NgbDropdown } from "@ng-bootstrap/ng-bootstrap";
|
|
3
|
-
import { NavComponent } from "./nav.component";
|
|
4
|
-
import { NavigationService } from "../services/navigation.service";
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class LiDdNavComponent extends NavComponent {
|
|
7
|
-
dropdown: NgbDropdown;
|
|
8
|
-
liClass: string;
|
|
9
|
-
href: string;
|
|
10
|
-
aClass: string;
|
|
11
|
-
spanClass: string;
|
|
12
|
-
iClass: string;
|
|
13
|
-
ulClass: string;
|
|
14
|
-
iRight: boolean;
|
|
15
|
-
liClick: Function;
|
|
16
|
-
private containerRef;
|
|
17
|
-
private container;
|
|
18
|
-
constructor(elementRef: ElementRef, renderer: Renderer2, resolver: ComponentFactoryResolver, navigationService: NavigationService, changeDetectorRef: ChangeDetectorRef);
|
|
19
|
-
set containerRefSetter(containerRef: ViewContainerRef);
|
|
20
|
-
checkInitialized(): void;
|
|
21
|
-
close(): void;
|
|
22
|
-
getContainer(container: string): ViewContainerRef;
|
|
23
|
-
getDropdown(): NgbDropdown;
|
|
24
|
-
handleLiClick(event: Event): void;
|
|
25
|
-
setConfig(config: any): void;
|
|
26
|
-
updateConfig(config: any): void;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LiDdNavComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LiDdNavComponent, "hci-li-dd", never, { "liClass": { "alias": "liClass"; "required": false; }; "href": { "alias": "href"; "required": false; }; "aClass": { "alias": "aClass"; "required": false; }; "spanClass": { "alias": "spanClass"; "required": false; }; "iClass": { "alias": "iClass"; "required": false; }; "ulClass": { "alias": "ulClass"; "required": false; }; "iRight": { "alias": "iRight"; "required": false; }; "liClick": { "alias": "liClick"; "required": false; }; }, {}, never, never, false, never>;
|
|
29
|
-
}
|
|
1
|
+
import { ChangeDetectorRef, ComponentFactoryResolver, ElementRef, Renderer2, ViewContainerRef } from "@angular/core";
|
|
2
|
+
import { NgbDropdown } from "@ng-bootstrap/ng-bootstrap";
|
|
3
|
+
import { NavComponent } from "./nav.component";
|
|
4
|
+
import { NavigationService } from "../services/navigation.service";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class LiDdNavComponent extends NavComponent {
|
|
7
|
+
dropdown: NgbDropdown;
|
|
8
|
+
liClass: string;
|
|
9
|
+
href: string;
|
|
10
|
+
aClass: string;
|
|
11
|
+
spanClass: string;
|
|
12
|
+
iClass: string;
|
|
13
|
+
ulClass: string;
|
|
14
|
+
iRight: boolean;
|
|
15
|
+
liClick: Function;
|
|
16
|
+
private containerRef;
|
|
17
|
+
private container;
|
|
18
|
+
constructor(elementRef: ElementRef, renderer: Renderer2, resolver: ComponentFactoryResolver, navigationService: NavigationService, changeDetectorRef: ChangeDetectorRef);
|
|
19
|
+
set containerRefSetter(containerRef: ViewContainerRef);
|
|
20
|
+
checkInitialized(): void;
|
|
21
|
+
close(): void;
|
|
22
|
+
getContainer(container: string): ViewContainerRef;
|
|
23
|
+
getDropdown(): NgbDropdown;
|
|
24
|
+
handleLiClick(event: Event): void;
|
|
25
|
+
setConfig(config: any): void;
|
|
26
|
+
updateConfig(config: any): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LiDdNavComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LiDdNavComponent, "hci-li-dd", never, { "liClass": { "alias": "liClass"; "required": false; }; "href": { "alias": "href"; "required": false; }; "aClass": { "alias": "aClass"; "required": false; }; "spanClass": { "alias": "spanClass"; "required": false; }; "iClass": { "alias": "iClass"; "required": false; }; "ulClass": { "alias": "ulClass"; "required": false; }; "iRight": { "alias": "iRight"; "required": false; }; "liClick": { "alias": "liClick"; "required": false; }; }, {}, never, never, false, never>;
|
|
29
|
+
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ComponentFactoryResolver, ElementRef, Renderer2, ViewContainerRef } from "@angular/core";
|
|
2
|
-
import { LiNavComponent } from "./li-nav.component";
|
|
3
|
-
import { NavigationService } from "../services/navigation.service";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class LiExpNavComponent extends LiNavComponent {
|
|
6
|
-
liClass: string;
|
|
7
|
-
ulClass: string;
|
|
8
|
-
hover: boolean;
|
|
9
|
-
expandable: boolean;
|
|
10
|
-
expanded: boolean;
|
|
11
|
-
private containerRef;
|
|
12
|
-
private container;
|
|
13
|
-
constructor(elementRef: ElementRef, renderer: Renderer2, resolver: ComponentFactoryResolver, navigationService: NavigationService, changeDetectorRef: ChangeDetectorRef);
|
|
14
|
-
onMouseOver(event: MouseEvent): void;
|
|
15
|
-
onMouseOut(event: MouseEvent): void;
|
|
16
|
-
onUlClick(event: MouseEvent): void;
|
|
17
|
-
handleLiClick(event: MouseEvent): void;
|
|
18
|
-
getContainer(container: string): ViewContainerRef;
|
|
19
|
-
setConfig(config: any): void;
|
|
20
|
-
updateConfig(config: any): void;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LiExpNavComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LiExpNavComponent, "hci-li-exp", never, { "liClass": { "alias": "liClass"; "required": false; }; "ulClass": { "alias": "ulClass"; "required": false; }; "hover": { "alias": "hover"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; }, {}, never, never, false, never>;
|
|
23
|
-
}
|
|
1
|
+
import { ChangeDetectorRef, ComponentFactoryResolver, ElementRef, Renderer2, ViewContainerRef } from "@angular/core";
|
|
2
|
+
import { LiNavComponent } from "./li-nav.component";
|
|
3
|
+
import { NavigationService } from "../services/navigation.service";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class LiExpNavComponent extends LiNavComponent {
|
|
6
|
+
liClass: string;
|
|
7
|
+
ulClass: string;
|
|
8
|
+
hover: boolean;
|
|
9
|
+
expandable: boolean;
|
|
10
|
+
expanded: boolean;
|
|
11
|
+
private containerRef;
|
|
12
|
+
private container;
|
|
13
|
+
constructor(elementRef: ElementRef, renderer: Renderer2, resolver: ComponentFactoryResolver, navigationService: NavigationService, changeDetectorRef: ChangeDetectorRef);
|
|
14
|
+
onMouseOver(event: MouseEvent): void;
|
|
15
|
+
onMouseOut(event: MouseEvent): void;
|
|
16
|
+
onUlClick(event: MouseEvent): void;
|
|
17
|
+
handleLiClick(event: MouseEvent): void;
|
|
18
|
+
getContainer(container: string): ViewContainerRef;
|
|
19
|
+
setConfig(config: any): void;
|
|
20
|
+
updateConfig(config: any): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LiExpNavComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LiExpNavComponent, "hci-li-exp", never, { "liClass": { "alias": "liClass"; "required": false; }; "ulClass": { "alias": "ulClass"; "required": false; }; "hover": { "alias": "hover"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; }, {}, never, never, false, never>;
|
|
23
|
+
}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ComponentFactoryResolver, ElementRef, Renderer2 } from "@angular/core";
|
|
2
|
-
import { Subject } from "rxjs";
|
|
3
|
-
import { NavComponent } from "./nav.component";
|
|
4
|
-
import { NavigationService } from "../services/navigation.service";
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class LiNavComponent extends NavComponent {
|
|
7
|
-
liClass: string;
|
|
8
|
-
href: string;
|
|
9
|
-
target: string;
|
|
10
|
-
route: string;
|
|
11
|
-
queryParams: Object;
|
|
12
|
-
queryParamsHandling: string;
|
|
13
|
-
aClass: string;
|
|
14
|
-
spanClass: string;
|
|
15
|
-
iClass: string;
|
|
16
|
-
imgSrc: string;
|
|
17
|
-
iText: string;
|
|
18
|
-
iRight: boolean;
|
|
19
|
-
badgeCount: Subject<number>;
|
|
20
|
-
badgeLoading: Subject<boolean>;
|
|
21
|
-
showValueFlag: boolean;
|
|
22
|
-
showValue: string;
|
|
23
|
-
showValueClass: string;
|
|
24
|
-
liClick: Function;
|
|
25
|
-
constructor(elementRef: ElementRef, renderer: Renderer2, resolver: ComponentFactoryResolver, navigationService: NavigationService, changeDetectorRef: ChangeDetectorRef);
|
|
26
|
-
handleLiClick(event: Event): void;
|
|
27
|
-
setConfig(config: any): void;
|
|
28
|
-
updateConfig(config: any): void;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LiNavComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LiNavComponent, "hci-li", never, { "liClass": { "alias": "liClass"; "required": false; }; "href": { "alias": "href"; "required": false; }; "target": { "alias": "target"; "required": false; }; "route": { "alias": "route"; "required": false; }; "queryParams": { "alias": "queryParams"; "required": false; }; "queryParamsHandling": { "alias": "queryParamsHandling"; "required": false; }; "aClass": { "alias": "aClass"; "required": false; }; "spanClass": { "alias": "spanClass"; "required": false; }; "iClass": { "alias": "iClass"; "required": false; }; "imgSrc": { "alias": "imgSrc"; "required": false; }; "iText": { "alias": "iText"; "required": false; }; "iRight": { "alias": "iRight"; "required": false; }; "badgeCount": { "alias": "badgeCount"; "required": false; }; "badgeLoading": { "alias": "badgeLoading"; "required": false; }; "showValueFlag": { "alias": "showValueFlag"; "required": false; }; "showValue": { "alias": "showValue"; "required": false; }; "showValueClass": { "alias": "showValueClass"; "required": false; }; "liClick": { "alias": "liClick"; "required": false; }; }, {}, never, never, false, never>;
|
|
31
|
-
}
|
|
1
|
+
import { ChangeDetectorRef, ComponentFactoryResolver, ElementRef, Renderer2 } from "@angular/core";
|
|
2
|
+
import { Subject } from "rxjs";
|
|
3
|
+
import { NavComponent } from "./nav.component";
|
|
4
|
+
import { NavigationService } from "../services/navigation.service";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class LiNavComponent extends NavComponent {
|
|
7
|
+
liClass: string;
|
|
8
|
+
href: string;
|
|
9
|
+
target: string;
|
|
10
|
+
route: string;
|
|
11
|
+
queryParams: Object;
|
|
12
|
+
queryParamsHandling: string;
|
|
13
|
+
aClass: string;
|
|
14
|
+
spanClass: string;
|
|
15
|
+
iClass: string;
|
|
16
|
+
imgSrc: string;
|
|
17
|
+
iText: string;
|
|
18
|
+
iRight: boolean;
|
|
19
|
+
badgeCount: Subject<number>;
|
|
20
|
+
badgeLoading: Subject<boolean>;
|
|
21
|
+
showValueFlag: boolean;
|
|
22
|
+
showValue: string;
|
|
23
|
+
showValueClass: string;
|
|
24
|
+
liClick: Function;
|
|
25
|
+
constructor(elementRef: ElementRef, renderer: Renderer2, resolver: ComponentFactoryResolver, navigationService: NavigationService, changeDetectorRef: ChangeDetectorRef);
|
|
26
|
+
handleLiClick(event: Event): void;
|
|
27
|
+
setConfig(config: any): void;
|
|
28
|
+
updateConfig(config: any): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LiNavComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LiNavComponent, "hci-li", never, { "liClass": { "alias": "liClass"; "required": false; }; "href": { "alias": "href"; "required": false; }; "target": { "alias": "target"; "required": false; }; "route": { "alias": "route"; "required": false; }; "queryParams": { "alias": "queryParams"; "required": false; }; "queryParamsHandling": { "alias": "queryParamsHandling"; "required": false; }; "aClass": { "alias": "aClass"; "required": false; }; "spanClass": { "alias": "spanClass"; "required": false; }; "iClass": { "alias": "iClass"; "required": false; }; "imgSrc": { "alias": "imgSrc"; "required": false; }; "iText": { "alias": "iText"; "required": false; }; "iRight": { "alias": "iRight"; "required": false; }; "badgeCount": { "alias": "badgeCount"; "required": false; }; "badgeLoading": { "alias": "badgeLoading"; "required": false; }; "showValueFlag": { "alias": "showValueFlag"; "required": false; }; "showValue": { "alias": "showValue"; "required": false; }; "showValueClass": { "alias": "showValueClass"; "required": false; }; "liClick": { "alias": "liClick"; "required": false; }; }, {}, never, never, false, never>;
|
|
31
|
+
}
|
|
@@ -1,159 +1,159 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ComponentFactoryResolver, ElementRef, Renderer2, SimpleChange, Type, ViewContainerRef, OnInit, AfterViewInit, OnChanges, OnDestroy } from "@angular/core";
|
|
2
|
-
import { Subscription } from "rxjs";
|
|
3
|
-
import { NavigationService } from "../services/navigation.service";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* This is the base class that all navigation components extend from. This includes other standalone modules such
|
|
7
|
-
* as a header or sidebar. It contains common properties, configuration tools, and functions to add/insert other
|
|
8
|
-
* NavComponents.
|
|
9
|
-
* The config property is any object that contains a list of properties that specifies configuration options. Common
|
|
10
|
-
* properties include id, title, rootClass and roleName. Extending classes may have their own properties such as extra
|
|
11
|
-
* css classes.
|
|
12
|
-
*/
|
|
13
|
-
export declare class NavComponent implements OnInit, AfterViewInit, OnChanges, OnDestroy {
|
|
14
|
-
config: any;
|
|
15
|
-
id: string;
|
|
16
|
-
isRoot: boolean;
|
|
17
|
-
type: Type<any> | string;
|
|
18
|
-
title: string;
|
|
19
|
-
rootClass: string;
|
|
20
|
-
roleName: string;
|
|
21
|
-
authenticatedKey: string;
|
|
22
|
-
notAuthenticatedKey: string;
|
|
23
|
-
inputChildren: any[];
|
|
24
|
-
isCCR: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* An array of all component instances of children. It is important to note that we try to render everything in the
|
|
27
|
-
* children array. However, if roles are not met, some children may not be rendered so no component instance will
|
|
28
|
-
* exist for them.
|
|
29
|
-
*/
|
|
30
|
-
children: NavComponent[];
|
|
31
|
-
typeName: string;
|
|
32
|
-
elementRef: ElementRef;
|
|
33
|
-
renderer: Renderer2;
|
|
34
|
-
resolver: ComponentFactoryResolver;
|
|
35
|
-
navigationService: NavigationService;
|
|
36
|
-
changeDetectorRef: ChangeDetectorRef;
|
|
37
|
-
afterViewInit: boolean;
|
|
38
|
-
initialized: boolean;
|
|
39
|
-
/**
|
|
40
|
-
* A set of container names. Some components may not define a container while others just have
|
|
41
|
-
* one (a "default" container).
|
|
42
|
-
*/
|
|
43
|
-
containerSet: Set<string>;
|
|
44
|
-
/**
|
|
45
|
-
* A map of IDs to the corresponding viewRef. When we dynamically inject a new component, we first pull the created
|
|
46
|
-
* ComponentRef and from there its ViewRef. We need the ViewRef to determine the component's position in the
|
|
47
|
-
* ViewContainerRef. With a set of ViewRefs, we can detach them from the container and re-add them in a different order
|
|
48
|
-
* based on the component's sortOrder (which is based on the position in the children array. This map provides the
|
|
49
|
-
* component to view relationship.
|
|
50
|
-
*/
|
|
51
|
-
private viewRefMap;
|
|
52
|
-
/**
|
|
53
|
-
* A reference to the parent component. When a child is added, a reference to the parent is automatically set.
|
|
54
|
-
*/
|
|
55
|
-
private parent;
|
|
56
|
-
subscriptions: Subscription;
|
|
57
|
-
constructor(elementRef: ElementRef, renderer: Renderer2, resolver: ComponentFactoryResolver, navigationService: NavigationService, changeDetectorRef: ChangeDetectorRef);
|
|
58
|
-
ngOnInit(): void;
|
|
59
|
-
ngAfterViewInit(): void;
|
|
60
|
-
/**
|
|
61
|
-
* If config is bound by input, reset the config when it changes. An important note, if anything in the config was
|
|
62
|
-
* updated by updateConfig only, then those options will be lost.
|
|
63
|
-
*
|
|
64
|
-
* @param {{[p: string]: SimpleChange}} changes
|
|
65
|
-
*/
|
|
66
|
-
ngOnChanges(changes: {
|
|
67
|
-
[propName: string]: SimpleChange;
|
|
68
|
-
}): void;
|
|
69
|
-
ngOnDestroy(): void;
|
|
70
|
-
checkInitialized(): void;
|
|
71
|
-
postInit(): void;
|
|
72
|
-
getNavigationService(): NavigationService;
|
|
73
|
-
/**
|
|
74
|
-
* Remove all children.
|
|
75
|
-
*/
|
|
76
|
-
clear(): void;
|
|
77
|
-
refresh(): void;
|
|
78
|
-
/**
|
|
79
|
-
* Checks children and sees if there is a change in rendering status. If a permission goes away, a component that
|
|
80
|
-
* is currently rendered might need to be removed. Recursively move through the tree of children.
|
|
81
|
-
*/
|
|
82
|
-
refreshChildren(): void;
|
|
83
|
-
/**
|
|
84
|
-
* Using the sortOrder property of each component, detach each ViewRef from the container, and re-attach based
|
|
85
|
-
* on the sortOrder.
|
|
86
|
-
*/
|
|
87
|
-
sortContainers(): void;
|
|
88
|
-
/**
|
|
89
|
-
* Remove a component by id from its parent container.
|
|
90
|
-
*
|
|
91
|
-
* @param componentConfig
|
|
92
|
-
* @param {number} index
|
|
93
|
-
*/
|
|
94
|
-
remove(componentConfig: any, index: number): void;
|
|
95
|
-
removeById(id: any): void;
|
|
96
|
-
/**
|
|
97
|
-
* Checks to see if the component can be rendered based on user roles. A role can be any string, but there are hardcoded
|
|
98
|
-
* roles NOT_AUTHC and AUTHC. If no roleName is specified, the component is always rendered. If the roleName is
|
|
99
|
-
* NOT_AUTHC, the component will only be rendered if there is no authenticated user. If the roleName is AUTHC, the
|
|
100
|
-
* component will be rendered if the user is authenticated. If the roleName is any string and matches a user's role,
|
|
101
|
-
* then the component will be rendered.
|
|
102
|
-
*
|
|
103
|
-
* @param componentConfig
|
|
104
|
-
* @returns {boolean}
|
|
105
|
-
*/
|
|
106
|
-
canRender(componentConfig: any): boolean;
|
|
107
|
-
getChild(id: string): NavComponent;
|
|
108
|
-
removeChild(id: string): void;
|
|
109
|
-
getId(): string;
|
|
110
|
-
/**
|
|
111
|
-
* If no index is specified, add the component to the children. In all cases, see if the component can be rendered.
|
|
112
|
-
* If so, call addComponent to handle the injection.
|
|
113
|
-
*
|
|
114
|
-
* @param componentConfig
|
|
115
|
-
* @param index
|
|
116
|
-
*/
|
|
117
|
-
add(componentConfig: any, index?: number): void;
|
|
118
|
-
/**
|
|
119
|
-
* Injects the component described by the configuration object in to the view and creates an instance of the component.
|
|
120
|
-
* If no container is specified, inject in to the "default" container.
|
|
121
|
-
*
|
|
122
|
-
* @param componentConfig
|
|
123
|
-
* @param index
|
|
124
|
-
*/
|
|
125
|
-
addComponent(componentConfig: any, index: number): void;
|
|
126
|
-
insertAfter(id: string, componentConfig: any): void;
|
|
127
|
-
insertBefore(id: string, componentConfig: any): void;
|
|
128
|
-
/**
|
|
129
|
-
* A function to be extended by other classes. This class and something like a LiNavComponent don't have any containers
|
|
130
|
-
* so components can't be added to them. In other cases, the UlNavComponent has a single container so it can always
|
|
131
|
-
* return that container regardless of the containerName requested (should be "default"). Any component should have
|
|
132
|
-
* a container that is the "default". For example, a header component might have a container for the left components
|
|
133
|
-
* and a container for the right components. The left container can just be called "default" and the right container
|
|
134
|
-
* could be called "rightContainer". If a child component doesn't specify a container, it will be added to the default.
|
|
135
|
-
*
|
|
136
|
-
* @param container
|
|
137
|
-
* @returns {undefined}
|
|
138
|
-
*/
|
|
139
|
-
getContainer(container?: string): ViewContainerRef;
|
|
140
|
-
getComponent(id: string): NavComponent;
|
|
141
|
-
getComponentByType(type: string): NavComponent;
|
|
142
|
-
setParent(parent: NavComponent): void;
|
|
143
|
-
getParent(): NavComponent;
|
|
144
|
-
setTitle(title: string): void;
|
|
145
|
-
setConfig(config: any): void;
|
|
146
|
-
/**
|
|
147
|
-
* A function to be extended by other classes. The children should call super.updateConfig(config). This sets the
|
|
148
|
-
* common properties of the NavComponent.
|
|
149
|
-
*
|
|
150
|
-
* @param config
|
|
151
|
-
*/
|
|
152
|
-
updateConfig(config: any): void;
|
|
153
|
-
setId(): void;
|
|
154
|
-
setRootClass(): void;
|
|
155
|
-
setChildren(): void;
|
|
156
|
-
detectChanges(): void;
|
|
157
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavComponent, never>;
|
|
158
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NavComponent, "hci-nav", never, { "config": { "alias": "config"; "required": false; }; "id": { "alias": "navId"; "required": false; }; "isRoot": { "alias": "isRoot"; "required": false; }; "type": { "alias": "type"; "required": false; }; "title": { "alias": "title"; "required": false; }; "rootClass": { "alias": "rootClass"; "required": false; }; "roleName": { "alias": "roleName"; "required": false; }; "authenticatedKey": { "alias": "authenticatedKey"; "required": false; }; "notAuthenticatedKey": { "alias": "notAuthenticatedKey"; "required": false; }; "inputChildren": { "alias": "children"; "required": false; }; "isCCR": { "alias": "isCCR"; "required": false; }; }, {}, never, never, false, never>;
|
|
159
|
-
}
|
|
1
|
+
import { ChangeDetectorRef, ComponentFactoryResolver, ElementRef, Renderer2, SimpleChange, Type, ViewContainerRef, OnInit, AfterViewInit, OnChanges, OnDestroy } from "@angular/core";
|
|
2
|
+
import { Subscription } from "rxjs";
|
|
3
|
+
import { NavigationService } from "../services/navigation.service";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* This is the base class that all navigation components extend from. This includes other standalone modules such
|
|
7
|
+
* as a header or sidebar. It contains common properties, configuration tools, and functions to add/insert other
|
|
8
|
+
* NavComponents.
|
|
9
|
+
* The config property is any object that contains a list of properties that specifies configuration options. Common
|
|
10
|
+
* properties include id, title, rootClass and roleName. Extending classes may have their own properties such as extra
|
|
11
|
+
* css classes.
|
|
12
|
+
*/
|
|
13
|
+
export declare class NavComponent implements OnInit, AfterViewInit, OnChanges, OnDestroy {
|
|
14
|
+
config: any;
|
|
15
|
+
id: string;
|
|
16
|
+
isRoot: boolean;
|
|
17
|
+
type: Type<any> | string;
|
|
18
|
+
title: string;
|
|
19
|
+
rootClass: string;
|
|
20
|
+
roleName: string;
|
|
21
|
+
authenticatedKey: string;
|
|
22
|
+
notAuthenticatedKey: string;
|
|
23
|
+
inputChildren: any[];
|
|
24
|
+
isCCR: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* An array of all component instances of children. It is important to note that we try to render everything in the
|
|
27
|
+
* children array. However, if roles are not met, some children may not be rendered so no component instance will
|
|
28
|
+
* exist for them.
|
|
29
|
+
*/
|
|
30
|
+
children: NavComponent[];
|
|
31
|
+
typeName: string;
|
|
32
|
+
elementRef: ElementRef;
|
|
33
|
+
renderer: Renderer2;
|
|
34
|
+
resolver: ComponentFactoryResolver;
|
|
35
|
+
navigationService: NavigationService;
|
|
36
|
+
changeDetectorRef: ChangeDetectorRef;
|
|
37
|
+
afterViewInit: boolean;
|
|
38
|
+
initialized: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* A set of container names. Some components may not define a container while others just have
|
|
41
|
+
* one (a "default" container).
|
|
42
|
+
*/
|
|
43
|
+
containerSet: Set<string>;
|
|
44
|
+
/**
|
|
45
|
+
* A map of IDs to the corresponding viewRef. When we dynamically inject a new component, we first pull the created
|
|
46
|
+
* ComponentRef and from there its ViewRef. We need the ViewRef to determine the component's position in the
|
|
47
|
+
* ViewContainerRef. With a set of ViewRefs, we can detach them from the container and re-add them in a different order
|
|
48
|
+
* based on the component's sortOrder (which is based on the position in the children array. This map provides the
|
|
49
|
+
* component to view relationship.
|
|
50
|
+
*/
|
|
51
|
+
private viewRefMap;
|
|
52
|
+
/**
|
|
53
|
+
* A reference to the parent component. When a child is added, a reference to the parent is automatically set.
|
|
54
|
+
*/
|
|
55
|
+
private parent;
|
|
56
|
+
subscriptions: Subscription;
|
|
57
|
+
constructor(elementRef: ElementRef, renderer: Renderer2, resolver: ComponentFactoryResolver, navigationService: NavigationService, changeDetectorRef: ChangeDetectorRef);
|
|
58
|
+
ngOnInit(): void;
|
|
59
|
+
ngAfterViewInit(): void;
|
|
60
|
+
/**
|
|
61
|
+
* If config is bound by input, reset the config when it changes. An important note, if anything in the config was
|
|
62
|
+
* updated by updateConfig only, then those options will be lost.
|
|
63
|
+
*
|
|
64
|
+
* @param {{[p: string]: SimpleChange}} changes
|
|
65
|
+
*/
|
|
66
|
+
ngOnChanges(changes: {
|
|
67
|
+
[propName: string]: SimpleChange;
|
|
68
|
+
}): void;
|
|
69
|
+
ngOnDestroy(): void;
|
|
70
|
+
checkInitialized(): void;
|
|
71
|
+
postInit(): void;
|
|
72
|
+
getNavigationService(): NavigationService;
|
|
73
|
+
/**
|
|
74
|
+
* Remove all children.
|
|
75
|
+
*/
|
|
76
|
+
clear(): void;
|
|
77
|
+
refresh(): void;
|
|
78
|
+
/**
|
|
79
|
+
* Checks children and sees if there is a change in rendering status. If a permission goes away, a component that
|
|
80
|
+
* is currently rendered might need to be removed. Recursively move through the tree of children.
|
|
81
|
+
*/
|
|
82
|
+
refreshChildren(): void;
|
|
83
|
+
/**
|
|
84
|
+
* Using the sortOrder property of each component, detach each ViewRef from the container, and re-attach based
|
|
85
|
+
* on the sortOrder.
|
|
86
|
+
*/
|
|
87
|
+
sortContainers(): void;
|
|
88
|
+
/**
|
|
89
|
+
* Remove a component by id from its parent container.
|
|
90
|
+
*
|
|
91
|
+
* @param componentConfig
|
|
92
|
+
* @param {number} index
|
|
93
|
+
*/
|
|
94
|
+
remove(componentConfig: any, index: number): void;
|
|
95
|
+
removeById(id: any): void;
|
|
96
|
+
/**
|
|
97
|
+
* Checks to see if the component can be rendered based on user roles. A role can be any string, but there are hardcoded
|
|
98
|
+
* roles NOT_AUTHC and AUTHC. If no roleName is specified, the component is always rendered. If the roleName is
|
|
99
|
+
* NOT_AUTHC, the component will only be rendered if there is no authenticated user. If the roleName is AUTHC, the
|
|
100
|
+
* component will be rendered if the user is authenticated. If the roleName is any string and matches a user's role,
|
|
101
|
+
* then the component will be rendered.
|
|
102
|
+
*
|
|
103
|
+
* @param componentConfig
|
|
104
|
+
* @returns {boolean}
|
|
105
|
+
*/
|
|
106
|
+
canRender(componentConfig: any): boolean;
|
|
107
|
+
getChild(id: string): NavComponent;
|
|
108
|
+
removeChild(id: string): void;
|
|
109
|
+
getId(): string;
|
|
110
|
+
/**
|
|
111
|
+
* If no index is specified, add the component to the children. In all cases, see if the component can be rendered.
|
|
112
|
+
* If so, call addComponent to handle the injection.
|
|
113
|
+
*
|
|
114
|
+
* @param componentConfig
|
|
115
|
+
* @param index
|
|
116
|
+
*/
|
|
117
|
+
add(componentConfig: any, index?: number): void;
|
|
118
|
+
/**
|
|
119
|
+
* Injects the component described by the configuration object in to the view and creates an instance of the component.
|
|
120
|
+
* If no container is specified, inject in to the "default" container.
|
|
121
|
+
*
|
|
122
|
+
* @param componentConfig
|
|
123
|
+
* @param index
|
|
124
|
+
*/
|
|
125
|
+
addComponent(componentConfig: any, index: number): void;
|
|
126
|
+
insertAfter(id: string, componentConfig: any): void;
|
|
127
|
+
insertBefore(id: string, componentConfig: any): void;
|
|
128
|
+
/**
|
|
129
|
+
* A function to be extended by other classes. This class and something like a LiNavComponent don't have any containers
|
|
130
|
+
* so components can't be added to them. In other cases, the UlNavComponent has a single container so it can always
|
|
131
|
+
* return that container regardless of the containerName requested (should be "default"). Any component should have
|
|
132
|
+
* a container that is the "default". For example, a header component might have a container for the left components
|
|
133
|
+
* and a container for the right components. The left container can just be called "default" and the right container
|
|
134
|
+
* could be called "rightContainer". If a child component doesn't specify a container, it will be added to the default.
|
|
135
|
+
*
|
|
136
|
+
* @param container
|
|
137
|
+
* @returns {undefined}
|
|
138
|
+
*/
|
|
139
|
+
getContainer(container?: string): ViewContainerRef;
|
|
140
|
+
getComponent(id: string): NavComponent;
|
|
141
|
+
getComponentByType(type: string): NavComponent;
|
|
142
|
+
setParent(parent: NavComponent): void;
|
|
143
|
+
getParent(): NavComponent;
|
|
144
|
+
setTitle(title: string): void;
|
|
145
|
+
setConfig(config: any): void;
|
|
146
|
+
/**
|
|
147
|
+
* A function to be extended by other classes. The children should call super.updateConfig(config). This sets the
|
|
148
|
+
* common properties of the NavComponent.
|
|
149
|
+
*
|
|
150
|
+
* @param config
|
|
151
|
+
*/
|
|
152
|
+
updateConfig(config: any): void;
|
|
153
|
+
setId(): void;
|
|
154
|
+
setRootClass(): void;
|
|
155
|
+
setChildren(): void;
|
|
156
|
+
detectChanges(): void;
|
|
157
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavComponent, never>;
|
|
158
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavComponent, "hci-nav", never, { "config": { "alias": "config"; "required": false; }; "id": { "alias": "navId"; "required": false; }; "isRoot": { "alias": "isRoot"; "required": false; }; "type": { "alias": "type"; "required": false; }; "title": { "alias": "title"; "required": false; }; "rootClass": { "alias": "rootClass"; "required": false; }; "roleName": { "alias": "roleName"; "required": false; }; "authenticatedKey": { "alias": "authenticatedKey"; "required": false; }; "notAuthenticatedKey": { "alias": "notAuthenticatedKey"; "required": false; }; "inputChildren": { "alias": "children"; "required": false; }; "isCCR": { "alias": "isCCR"; "required": false; }; }, {}, never, never, false, never>;
|
|
159
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare class RowGroup {
|
|
2
|
-
rgKey: string;
|
|
3
|
-
rgRows: Object[];
|
|
4
|
-
rgCount: number;
|
|
5
|
-
rgExpanded: boolean;
|
|
6
|
-
rgPageMin: number;
|
|
7
|
-
rgPageMax: number;
|
|
8
|
-
constructor(rgKey: string, firstRow: Object, rgCount?: number);
|
|
9
|
-
}
|
|
1
|
+
export declare class RowGroup {
|
|
2
|
+
rgKey: string;
|
|
3
|
+
rgRows: Object[];
|
|
4
|
+
rgCount: number;
|
|
5
|
+
rgExpanded: boolean;
|
|
6
|
+
rgPageMin: number;
|
|
7
|
+
rgPageMax: number;
|
|
8
|
+
constructor(rgKey: string, firstRow: Object, rgCount?: number);
|
|
9
|
+
}
|