@indice/ng-components 0.2.133 → 0.2.136-beta
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/README.md +4 -4
- package/_styles.css +72 -25
- package/bundles/indice-ng-components.umd.js +130 -129
- package/bundles/indice-ng-components.umd.js.map +1 -1
- package/esm2015/lib/controls/kpi-tile/kpi-tile.component.js +1 -1
- package/esm2015/lib/controls/list-view/list-column.component.js +1 -1
- package/esm2015/lib/controls/list-view/list-view-empty-state.component.js +2 -2
- package/esm2015/lib/controls/skeleton-loader/skeleton-loader.component.js +1 -1
- package/esm2015/lib/layouts/shell/shell-header/shell-header.component.js +72 -64
- package/esm2015/lib/layouts/shell/shell-layout/shell-layout.component.js +6 -11
- package/esm2015/lib/layouts/views/form-layout/form-layout.component.js +6 -5
- package/esm2015/lib/layouts/views/model-view-layout/model-view-layout.component.js +3 -1
- package/esm2015/lib/ng-components.module.js +6 -4
- package/esm2015/lib/pages/http-status/page-not-found/page-not-found.component.js +2 -2
- package/esm2015/lib/pipes/obs-with-status.pipe.js +26 -0
- package/esm2015/lib/services/toaster.service.js +1 -1
- package/esm2015/lib/types.js +11 -5
- package/esm2015/public-api.js +2 -2
- package/fesm2015/indice-ng-components.js +114 -112
- package/fesm2015/indice-ng-components.js.map +1 -1
- package/lib/layouts/shell/shell-header/shell-header.component.d.ts +25 -20
- package/lib/layouts/shell/shell-layout/shell-layout.component.d.ts +2 -3
- package/lib/layouts/views/form-layout/form-layout.component.d.ts +3 -2
- package/lib/ng-components.module.d.ts +2 -2
- package/lib/pipes/obs-with-status.pipe.d.ts +13 -0
- package/lib/types.d.ts +12 -7
- package/package.json +1 -1
- package/public-api.d.ts +1 -1
- package/esm2015/lib/controls/nav-links-list/nav-links-list.component.js +0 -40
- package/lib/controls/nav-links-list/nav-links-list.component.d.ts +0 -15
|
@@ -1,40 +1,45 @@
|
|
|
1
|
-
import { AuthService } from '@indice/ng-auth';
|
|
2
1
|
import { OnInit, OnDestroy } from '@angular/core';
|
|
3
2
|
import { User } from 'oidc-client';
|
|
4
|
-
import {
|
|
5
|
-
import { NavLink } from '../../../types';
|
|
6
|
-
import { Observable } from 'rxjs';
|
|
7
|
-
import {
|
|
3
|
+
import { Router } from '@angular/router';
|
|
4
|
+
import { IShellConfig, NavLink, NotificationNavLink } from '../../../types';
|
|
5
|
+
import { Observable, Subscription } from 'rxjs';
|
|
6
|
+
import { AuthService } from '@indice/ng-auth';
|
|
8
7
|
import * as i0 from "@angular/core";
|
|
9
8
|
export declare class ShellHeaderComponent implements OnInit, OnDestroy {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
protected route: ActivatedRoute;
|
|
13
|
-
config: any;
|
|
9
|
+
private authService;
|
|
10
|
+
private router;
|
|
14
11
|
links: any;
|
|
15
12
|
sectionLinksPath: string;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
currentLang: string | undefined;
|
|
13
|
+
notificationLinksPath: string;
|
|
14
|
+
allNotificationsLinkPath: string;
|
|
15
|
+
config: IShellConfig;
|
|
20
16
|
border: boolean;
|
|
17
|
+
showNotifications: boolean | undefined;
|
|
18
|
+
showUserNameOnHeader: boolean | undefined;
|
|
19
|
+
notificationsMenuVisible: boolean;
|
|
20
|
+
profileMenuVisible: boolean;
|
|
21
21
|
sectionLinks: Observable<NavLink[]>;
|
|
22
|
+
notificationLinks: Observable<NotificationNavLink[]>;
|
|
23
|
+
allNotificationsLink: Observable<NavLink>;
|
|
22
24
|
mobileMenuExpanded: boolean;
|
|
23
25
|
userMenuExpanded: boolean;
|
|
26
|
+
notificationsMenuExpanded: boolean;
|
|
24
27
|
protected routeSubject: Observable<Event>;
|
|
25
28
|
protected routerSub$: Subscription | null;
|
|
26
29
|
protected userSub$: Subscription | null;
|
|
27
30
|
protected statusSub$: Subscription | null;
|
|
28
31
|
user: User | null;
|
|
29
32
|
avatarName: string | null;
|
|
30
|
-
|
|
31
|
-
constructor(authService: AuthService, router: Router,
|
|
32
|
-
ngOnInit(): void;
|
|
33
|
+
notificationsCount: number;
|
|
34
|
+
constructor(authService: AuthService, router: Router, links: any);
|
|
33
35
|
ngOnDestroy(): void;
|
|
34
|
-
|
|
35
|
-
signin(event: any | null | undefined): void;
|
|
36
|
+
ngOnInit(): void;
|
|
36
37
|
private setCurrentUser;
|
|
37
|
-
|
|
38
|
+
onClickOutsideProfile($event: any): void;
|
|
39
|
+
onClickOutsideNotifications($event: any): void;
|
|
40
|
+
signin(event: any | null | undefined): void;
|
|
41
|
+
expandUserMenu(): void;
|
|
42
|
+
expandNotificationsMenu(): void;
|
|
38
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<ShellHeaderComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ShellHeaderComponent, "lib-shell-header", never, { "sectionLinksPath": "section-links"; "
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShellHeaderComponent, "lib-shell-header", never, { "sectionLinksPath": "section-links"; "notificationLinksPath": "notification-links"; "allNotificationsLinkPath": "all-notifications"; "config": "config"; "border": "border"; }, {}, never, never>;
|
|
40
45
|
}
|
|
@@ -6,17 +6,16 @@ import { DynamicComponentHostDirective } from '../../../directives/dynamic-compo
|
|
|
6
6
|
import { ComponentLoaderFactory } from '../../../services/component-loader/component-loader.factory';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class ShellLayoutComponent implements OnInit, OnDestroy, AfterViewInit, AfterViewChecked {
|
|
9
|
-
private document;
|
|
10
9
|
private router;
|
|
11
10
|
private location;
|
|
12
11
|
private config;
|
|
13
12
|
private componentLoaderFactory;
|
|
14
13
|
dynamicComponentHosts: QueryList<DynamicComponentHostDirective> | null;
|
|
15
|
-
showRightPaneSM: boolean;
|
|
16
14
|
private routerSub$;
|
|
15
|
+
showRightPaneSM: boolean;
|
|
17
16
|
activeConfig: IShellConfig;
|
|
18
17
|
loaded: boolean;
|
|
19
|
-
constructor(
|
|
18
|
+
constructor(router: Router, location: Location, config: IShellConfig | null, componentLoaderFactory: ComponentLoaderFactory);
|
|
20
19
|
ngAfterViewChecked(): void;
|
|
21
20
|
ngOnInit(): void;
|
|
22
21
|
ngAfterViewInit(): void;
|
|
@@ -3,7 +3,7 @@ import { Router } from '@angular/router';
|
|
|
3
3
|
import { RouterViewAction, ViewAction } from '../../../types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class FormLayoutComponent implements OnInit {
|
|
6
|
-
private
|
|
6
|
+
private _router;
|
|
7
7
|
private searchInput$?;
|
|
8
8
|
title: string | null;
|
|
9
9
|
searchPlaceholder: string | null;
|
|
@@ -12,7 +12,8 @@ export declare class FormLayoutComponent implements OnInit {
|
|
|
12
12
|
onAction: EventEmitter<ViewAction>;
|
|
13
13
|
onSearch: EventEmitter<string>;
|
|
14
14
|
onComplete: EventEmitter<boolean>;
|
|
15
|
-
|
|
15
|
+
showRightPaneSM: boolean;
|
|
16
|
+
constructor(_router: Router);
|
|
16
17
|
ngOnInit(): void;
|
|
17
18
|
onSidePaneDeactivated($event: any): void;
|
|
18
19
|
emitActionClick(action: ViewAction): void;
|
|
@@ -33,13 +33,13 @@ import * as i30 from "./pages/http-status/page-not-found/page-not-found.componen
|
|
|
33
33
|
import * as i31 from "./pages/http-status/unauthorized/unauthorized.component";
|
|
34
34
|
import * as i32 from "./pipes/address.pipe";
|
|
35
35
|
import * as i33 from "./pipes/duration-format.pipe";
|
|
36
|
-
import * as i34 from "./
|
|
36
|
+
import * as i34 from "./pipes/obs-with-status.pipe";
|
|
37
37
|
import * as i35 from "@angular/common";
|
|
38
38
|
import * as i36 from "@angular/router";
|
|
39
39
|
import * as i37 from "@indice/ng-auth";
|
|
40
40
|
export declare class IndiceComponentsModule {
|
|
41
41
|
static forRoot(): i0.ModuleWithProviders<IndiceComponentsModule>;
|
|
42
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<IndiceComponentsModule, never>;
|
|
43
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<IndiceComponentsModule, [typeof i1.ClickOutsideDirective, typeof i2.DynamicComponentHostDirective, typeof i3.DropDownMenuComponent, typeof i4.PagerComponent, typeof i5.ListViewComponent, typeof i6.ListColumnComponent, typeof i7.ListTileComponent, typeof i8.ListDetailsSectionComponent, typeof i9.ListViewEmptyStateComponent, typeof i10.SkeletonLoaderComponent, typeof i11.CollapsiblePanelComponent, typeof i12.KpiTileComponent, typeof i13.SidePaneComponent, typeof i14.DatepickerComponent, typeof i15.AvatarInitialsComponent, typeof i16.ToggleComponent, typeof i17.ToasterContainerComponent, typeof i18.ToasterComponent, typeof i19.ShellLayoutComponent, typeof i20.ShellHeaderComponent, typeof i21.ShellFooterComponent, typeof i22.ViewLayoutComponent, typeof i23.SideViewLayoutComponent, typeof i24.ModelViewLayoutComponent, typeof i25.FormLayoutComponent, typeof i26.AuthCallbackComponent, typeof i27.AuthRenewComponent, typeof i28.LoggedOutComponent, typeof i29.ErrorComponent, typeof i30.PageNotFoundComponent, typeof i31.UnauthorizedComponent, typeof i32.AddressPipe, typeof i33.DurationFormatPipe, typeof i34.
|
|
43
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IndiceComponentsModule, [typeof i1.ClickOutsideDirective, typeof i2.DynamicComponentHostDirective, typeof i3.DropDownMenuComponent, typeof i4.PagerComponent, typeof i5.ListViewComponent, typeof i6.ListColumnComponent, typeof i7.ListTileComponent, typeof i8.ListDetailsSectionComponent, typeof i9.ListViewEmptyStateComponent, typeof i10.SkeletonLoaderComponent, typeof i11.CollapsiblePanelComponent, typeof i12.KpiTileComponent, typeof i13.SidePaneComponent, typeof i14.DatepickerComponent, typeof i15.AvatarInitialsComponent, typeof i16.ToggleComponent, typeof i17.ToasterContainerComponent, typeof i18.ToasterComponent, typeof i19.ShellLayoutComponent, typeof i20.ShellHeaderComponent, typeof i21.ShellFooterComponent, typeof i22.ViewLayoutComponent, typeof i23.SideViewLayoutComponent, typeof i24.ModelViewLayoutComponent, typeof i25.FormLayoutComponent, typeof i26.AuthCallbackComponent, typeof i27.AuthRenewComponent, typeof i28.LoggedOutComponent, typeof i29.ErrorComponent, typeof i30.PageNotFoundComponent, typeof i31.UnauthorizedComponent, typeof i32.AddressPipe, typeof i33.DurationFormatPipe, typeof i34.ObsWithStatusPipe], [typeof i35.CommonModule, typeof i36.RouterModule, typeof i37.IndiceAuthModule], [typeof i1.ClickOutsideDirective, typeof i3.DropDownMenuComponent, typeof i4.PagerComponent, typeof i5.ListViewComponent, typeof i6.ListColumnComponent, typeof i7.ListTileComponent, typeof i8.ListDetailsSectionComponent, typeof i9.ListViewEmptyStateComponent, typeof i12.KpiTileComponent, typeof i10.SkeletonLoaderComponent, typeof i19.ShellLayoutComponent, typeof i20.ShellHeaderComponent, typeof i21.ShellFooterComponent, typeof i22.ViewLayoutComponent, typeof i23.SideViewLayoutComponent, typeof i24.ModelViewLayoutComponent, typeof i25.FormLayoutComponent, typeof i26.AuthCallbackComponent, typeof i27.AuthRenewComponent, typeof i28.LoggedOutComponent, typeof i29.ErrorComponent, typeof i30.PageNotFoundComponent, typeof i31.UnauthorizedComponent, typeof i32.AddressPipe, typeof i33.DurationFormatPipe, typeof i34.ObsWithStatusPipe, typeof i11.CollapsiblePanelComponent, typeof i13.SidePaneComponent, typeof i14.DatepickerComponent, typeof i17.ToasterContainerComponent, typeof i18.ToasterComponent, typeof i15.AvatarInitialsComponent, typeof i16.ToggleComponent]>;
|
|
44
44
|
static ɵinj: i0.ɵɵInjectorDeclaration<IndiceComponentsModule>;
|
|
45
45
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface ObsWithStatusResult<T> {
|
|
5
|
+
loading?: boolean;
|
|
6
|
+
value?: T;
|
|
7
|
+
error?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare class ObsWithStatusPipe implements PipeTransform {
|
|
10
|
+
transform<T = any>(val: Observable<T>): Observable<ObsWithStatusResult<T>>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ObsWithStatusPipe, never>;
|
|
12
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ObsWithStatusPipe, "obsWithStatus">;
|
|
13
|
+
}
|
package/lib/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Observable } from
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
2
|
export interface IAppLinks {
|
|
3
3
|
public: Observable<NavLink[]>;
|
|
4
4
|
main: Observable<NavLink[]>;
|
|
@@ -6,23 +6,27 @@ export interface IAppLinks {
|
|
|
6
6
|
profileActions: Observable<NavLink[]>;
|
|
7
7
|
legal: Observable<NavLink[]>;
|
|
8
8
|
brand: Observable<NavLink[]>;
|
|
9
|
+
notifications?: Observable<NotificationNavLink[]>;
|
|
10
|
+
allNotifications?: Observable<NavLink>;
|
|
9
11
|
}
|
|
10
12
|
export declare class NavLink {
|
|
11
|
-
constructor(text: string, path: string, exact?: boolean, external?: boolean, icon?: string);
|
|
13
|
+
constructor(text: string, path: string, exact?: boolean, external?: boolean, icon?: string, isRead?: boolean, creationDate?: Date);
|
|
12
14
|
text: string;
|
|
13
15
|
path: string;
|
|
14
16
|
exact: boolean;
|
|
15
17
|
external: boolean;
|
|
16
18
|
icon: string | undefined;
|
|
17
|
-
|
|
19
|
+
isRead?: boolean;
|
|
20
|
+
creationDate?: Date;
|
|
18
21
|
}
|
|
19
22
|
export declare class ExternalNavLink extends NavLink {
|
|
20
23
|
constructor(text: string, path: string, openInNewTab?: boolean, icon?: string);
|
|
21
|
-
type: string;
|
|
22
24
|
}
|
|
23
25
|
export declare class FragmentNavLink extends NavLink {
|
|
24
26
|
constructor(text: string, path: string, icon?: string);
|
|
25
|
-
|
|
27
|
+
}
|
|
28
|
+
export declare class NotificationNavLink extends NavLink {
|
|
29
|
+
constructor(text: string, path: string, isRead: boolean, creationDate?: Date);
|
|
26
30
|
}
|
|
27
31
|
export declare class ViewAction {
|
|
28
32
|
type: string;
|
|
@@ -77,17 +81,18 @@ export interface IShellConfig {
|
|
|
77
81
|
appLogoAlt: string;
|
|
78
82
|
showHeader: boolean;
|
|
79
83
|
showUserNameOnHeader?: boolean;
|
|
80
|
-
|
|
84
|
+
showNotifications: boolean;
|
|
81
85
|
showFooter: boolean;
|
|
86
|
+
customHeaderComponent?: any;
|
|
82
87
|
customFooterComponent?: any;
|
|
83
88
|
fluid: boolean;
|
|
84
|
-
langs?: string[];
|
|
85
89
|
}
|
|
86
90
|
export declare class DefaultShellConfig implements IShellConfig {
|
|
87
91
|
appLogo: string;
|
|
88
92
|
appLogoAlt: string;
|
|
89
93
|
showHeader: boolean;
|
|
90
94
|
showUserNameOnHeader: boolean;
|
|
95
|
+
showNotifications: boolean;
|
|
91
96
|
showFooter: boolean;
|
|
92
97
|
fluid: boolean;
|
|
93
98
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -15,7 +15,6 @@ export * from './lib/controls/toaster/toaster.component';
|
|
|
15
15
|
export * from './lib/controls/avatar-initials/avatar-initials.component';
|
|
16
16
|
export * from './lib/controls/toggle/toggle.component';
|
|
17
17
|
export * from './lib/controls/side-pane/side-pane.component';
|
|
18
|
-
export * from './lib/controls/nav-links-list/nav-links-list.component';
|
|
19
18
|
export * from './lib/layouts/shell/shell-layout/shell-layout.component';
|
|
20
19
|
export * from './lib/layouts/shell/shell-header/shell-header.component';
|
|
21
20
|
export * from './lib/layouts/shell/shell-footer/shell-footer.component';
|
|
@@ -31,6 +30,7 @@ export * from './lib/pages/http-status/page-not-found/page-not-found.component';
|
|
|
31
30
|
export * from './lib/pages/http-status/unauthorized/unauthorized.component';
|
|
32
31
|
export * from './lib/pipes/address.pipe';
|
|
33
32
|
export * from './lib/pipes/duration-format.pipe';
|
|
33
|
+
export * from './lib/pipes/obs-with-status.pipe';
|
|
34
34
|
export * from './lib/tokens';
|
|
35
35
|
export * from './lib/types';
|
|
36
36
|
export * from './lib/icons';
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
import * as i2 from "@angular/router";
|
|
5
|
-
export class NavLinksListComponent {
|
|
6
|
-
constructor() {
|
|
7
|
-
// tslint:disable-next-line:no-input-rename
|
|
8
|
-
this.navLinkClass = 'nav-link';
|
|
9
|
-
// tslint:disable-next-line:no-input-rename
|
|
10
|
-
this.navLinkActiveClass = 'nav-link-active';
|
|
11
|
-
// tslint:disable-next-line:no-input-rename
|
|
12
|
-
this.containerClass = '';
|
|
13
|
-
}
|
|
14
|
-
ngOnInit() {
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
NavLinksListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: NavLinksListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
18
|
-
NavLinksListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.1", type: NavLinksListComponent, selector: "lib-nav-links-list", inputs: { links: "links", activeFragment: ["active-fragment", "activeFragment"], navLinkClass: ["link-class", "navLinkClass"], navLinkActiveClass: ["link-active-class", "navLinkActiveClass"], containerClass: ["container-class", "containerClass"] }, ngImport: i0, template: "<div [class]=\"containerClass\">\n <ng-container *ngFor=\"let link of links | async\">\n <ng-container [ngSwitch]=\"link.type\">\n <a *ngSwitchCase=\"'router'\"\n href=\"#\"\n [routerLink]=\"[link.path]\"\n [routerLinkActive]=\"navLinkActiveClass\"\n [routerLinkActiveOptions]=\"{ exact: link.exact }\"\n [class]=\"navLinkClass\">\n {{ link.text }}\n </a>\n <a *ngSwitchCase=\"'external'\"\n [href]=\"link.path\"\n [attr.target]=\"link.external ? '_blank' : '_self'\"\n class=\"nav-link\">\n {{ link.text }}\n </a>\n <a *ngSwitchCase=\"'fragment'\"\n routerLink=\".\"\n [fragment]=\"link.path\"\n [class.active]=\"(activeFragment | async) === link.path\"\n class=\"nav-link\">\n {{ link.text }}\n </a>\n </ng-container>\n </ng-container>\n</div>\n", directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i2.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["routerLink", "target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }, { type: i2.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "routerLinkActive"], exportAs: ["routerLinkActive"] }], pipes: { "async": i1.AsyncPipe } });
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: NavLinksListComponent, decorators: [{
|
|
20
|
-
type: Component,
|
|
21
|
-
args: [{
|
|
22
|
-
selector: 'lib-nav-links-list',
|
|
23
|
-
templateUrl: './nav-links-list.component.html'
|
|
24
|
-
}]
|
|
25
|
-
}], ctorParameters: function () { return []; }, propDecorators: { links: [{
|
|
26
|
-
type: Input
|
|
27
|
-
}], activeFragment: [{
|
|
28
|
-
type: Input,
|
|
29
|
-
args: ['active-fragment']
|
|
30
|
-
}], navLinkClass: [{
|
|
31
|
-
type: Input,
|
|
32
|
-
args: ['link-class']
|
|
33
|
-
}], navLinkActiveClass: [{
|
|
34
|
-
type: Input,
|
|
35
|
-
args: ['link-active-class']
|
|
36
|
-
}], containerClass: [{
|
|
37
|
-
type: Input,
|
|
38
|
-
args: ['container-class']
|
|
39
|
-
}] } });
|
|
40
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF2LWx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0aFwiXG4gICAgICAgIFtjbGFzcy5hY3RpdmVdPVwiKGFjdGl2ZUZyYWdtZW50IHwgYXN5bmMpID09PSBsaW5rLnBhdGhcIlxuICAgICAgICBjbGFzcz1cIm5hdi1saW5rXCI+XG4gICAgICAgIHt7IGxpbmsudGV4dCB9fVxuICAgICAgPC9hPlxuICAgIDwvbmctY29udGFpbmVyPlxuICA8L25nLWNvbnRhaW5lcj5cbjwvZGl2PlxuIl19
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { OnInit } from '@angular/core';
|
|
3
|
-
import { NavLink } from '../../types';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class NavLinksListComponent implements OnInit {
|
|
6
|
-
links: Observable<NavLink[]> | undefined;
|
|
7
|
-
activeFragment: Observable<string> | undefined;
|
|
8
|
-
navLinkClass: string | string;
|
|
9
|
-
navLinkActiveClass: string | string[];
|
|
10
|
-
containerClass: string | string[];
|
|
11
|
-
constructor();
|
|
12
|
-
ngOnInit(): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavLinksListComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NavLinksListComponent, "lib-nav-links-list", never, { "links": "links"; "activeFragment": "active-fragment"; "navLinkClass": "link-class"; "navLinkActiveClass": "link-active-class"; "containerClass": "container-class"; }, {}, never, never>;
|
|
15
|
-
}
|