@retalia/sidebar-navigation 19.2.18 → 20.3.16

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,224 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@retalia/sidebar-navigation" />
5
- export * from './public-api';
1
+ import * as i0 from '@angular/core';
2
+ import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
3
+ import * as i7 from 'ngx-smart-modal';
4
+ import { NgxSmartModalService } from 'ngx-smart-modal';
5
+ import { Subject } from 'rxjs';
6
+ import * as i6 from '@angular/common';
7
+
8
+ declare class NavigationLibService {
9
+ constructor();
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<NavigationLibService, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<NavigationLibService>;
12
+ }
13
+
14
+ interface Environment {
15
+ portalUrl: string;
16
+ apiRequestUrl: string;
17
+ }
18
+
19
+ interface ModulesInfo {
20
+ modulesDetails: ModuleItem[];
21
+ shops: Shop[];
22
+ flags?: string[];
23
+ }
24
+ interface ModuleItem {
25
+ id: number;
26
+ authorizationId: string;
27
+ name: string;
28
+ url: string;
29
+ relationName: string;
30
+ displayOrder: number;
31
+ entityAccess: number[];
32
+ sidebarEntries: SidebarEntry[];
33
+ children?: SidebarEntry[];
34
+ translatedName?: string;
35
+ visible?: boolean;
36
+ active?: boolean;
37
+ }
38
+ interface SidebarEntry {
39
+ moduleAuthorizationId: string;
40
+ authorizationId?: string;
41
+ name: string;
42
+ url: string;
43
+ children: SidebarEntry[];
44
+ translatedName?: string;
45
+ visible?: boolean;
46
+ active?: boolean;
47
+ }
48
+ interface Shop {
49
+ id: number;
50
+ description: string;
51
+ }
52
+
53
+ declare class NavigationLibComponent {
54
+ selectedRoute: EventEmitter<SidebarEntry>;
55
+ useCustomPage: boolean;
56
+ environment: Environment;
57
+ routeSelected(selectedItem: any): void;
58
+ static ɵfac: i0.ɵɵFactoryDeclaration<NavigationLibComponent, never>;
59
+ static ɵcmp: i0.ɵɵComponentDeclaration<NavigationLibComponent, "sidebar-navigation", never, { "useCustomPage": { "alias": "useCustomPage"; "required": false; }; "environment": { "alias": "environment"; "required": false; }; }, { "selectedRoute": "selectedRoute"; }, never, never, false, never>;
60
+ }
61
+
62
+ declare class SubItemService {
63
+ subItemClickEvent: EventEmitter<any>;
64
+ _storage: Storage;
65
+ constructor();
66
+ saveItemInfo(selectedModule: ModuleItem, shopId: number): void;
67
+ subItemclicked(item: any): void;
68
+ static ɵfac: i0.ɵɵFactoryDeclaration<SubItemService, never>;
69
+ static ɵprov: i0.ɵɵInjectableDeclaration<SubItemService>;
70
+ }
71
+
72
+ declare class ModuleService {
73
+ storedModuleFlags: string[];
74
+ storedModuleFlagsChange: Subject<string[]>;
75
+ currentRouteName: Subject<string>;
76
+ currentModule: any;
77
+ modules: ModuleItem[];
78
+ constructor();
79
+ getUserModules(gatewayUrl: string, token: string): Promise<ModulesInfo>;
80
+ setNavigationTitle(selectedItem?: ModuleItem | SidebarEntry): void;
81
+ findNestedUrlMatch(subItems: any, urlPath: string): any;
82
+ setItemVisbility(item: any): void;
83
+ mapModuleItems(modules: ModuleItem[]): ModuleItem[];
84
+ mapAdminItems(modules: any, isSupportAdmin: boolean): ModuleItem[];
85
+ getCurrentModule(selectedItem: ModuleItem | SidebarEntry): ModuleItem;
86
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModuleService, never>;
87
+ static ɵprov: i0.ɵɵInjectableDeclaration<ModuleService>;
88
+ }
89
+
90
+ declare enum CookieNames {
91
+ groupId = "groupId",
92
+ id = "id",
93
+ languageCode = "languageCode",
94
+ portalApiToken = "portalApiToken",
95
+ portalRefreshToken = "portalRefreshToken",
96
+ recentlyLoggedIn = "recentlyLoggedIn",
97
+ shopId = "shopId",
98
+ tenantId = "tenantId",
99
+ clientId = "client_id",
100
+ isSidebarOpen = "isSidebarOpen"
101
+ }
102
+
103
+ declare class CookieService {
104
+ private document;
105
+ constructor(document: Document);
106
+ private getDomain;
107
+ getCookie(cookieName: CookieNames): string | undefined;
108
+ setCookie(cookieName: CookieNames, value: any): void;
109
+ removeCookie(cookieName: CookieNames): void;
110
+ static ɵfac: i0.ɵɵFactoryDeclaration<CookieService, never>;
111
+ static ɵprov: i0.ɵɵInjectableDeclaration<CookieService>;
112
+ }
113
+
114
+ declare class SidebarComponent implements OnChanges {
115
+ private moduleService;
116
+ private subItemService;
117
+ private cookieService;
118
+ ngxSmartModalService: NgxSmartModalService;
119
+ selectedRoute: EventEmitter<SidebarEntry>;
120
+ environment: Environment;
121
+ moduleSearchValue: any;
122
+ modules: ModuleItem[];
123
+ modulesCopy: ModuleItem[];
124
+ supportRoutes: ModuleItem[];
125
+ selectedModule: ModuleItem;
126
+ selectedItem: any;
127
+ availableShops: Shop[];
128
+ availableShopsCopy: Shop[];
129
+ moduleSearchPlaceholder: string;
130
+ isSidebarOpen: boolean;
131
+ hideStatus: boolean;
132
+ panelButtonStates: {
133
+ isModuleOpen: boolean;
134
+ isSupportOpen: boolean;
135
+ };
136
+ constructor(moduleService: ModuleService, subItemService: SubItemService, cookieService: CookieService, ngxSmartModalService: NgxSmartModalService);
137
+ ngOnChanges(changes: SimpleChanges): void;
138
+ toggleSidebar(e: Event, option: string): void;
139
+ setSidebarState(): void;
140
+ getSidebarState(): boolean;
141
+ goToPortal(): void;
142
+ handleModuleSearch(e: any): void;
143
+ filterModules(moduleItems: ModuleItem[] | SidebarEntry[], searchTerm: string): any[];
144
+ subItemClicked(item: any): void;
145
+ selectedShop(selectedShop: Shop): void;
146
+ mapShopModal(): void;
147
+ goToStatusPage(): void;
148
+ routeToUrl(): void;
149
+ private getModules;
150
+ static ɵfac: i0.ɵɵFactoryDeclaration<SidebarComponent, never>;
151
+ static ɵcmp: i0.ɵɵComponentDeclaration<SidebarComponent, "sidebar", never, { "environment": { "alias": "environment"; "required": false; }; "moduleSearchValue": { "alias": "moduleSearchValue"; "required": false; }; }, { "selectedRoute": "selectedRoute"; }, never, never, false, never>;
152
+ }
153
+
154
+ declare class SubItemComponent {
155
+ private subItemService;
156
+ items: ModuleItem[] | SidebarEntry[];
157
+ activeItem: string;
158
+ constructor(subItemService: SubItemService);
159
+ getClass: (item: any, items: any) => string;
160
+ subItemClicked(e: any, item: any): void;
161
+ onSubItemClick(item: ModuleItem): void;
162
+ toggleSubItems(item: ModuleItem): void;
163
+ checkVisibleSubItems(item: ModuleItem | SidebarEntry): boolean;
164
+ static ɵfac: i0.ɵɵFactoryDeclaration<SubItemComponent, never>;
165
+ static ɵcmp: i0.ɵɵComponentDeclaration<SubItemComponent, "sub-item", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, never, false, never>;
166
+ }
167
+
168
+ declare class AuthService {
169
+ private document;
170
+ environmentUrl: string;
171
+ _refreshTokenStore: string;
172
+ _tokenStore: string;
173
+ constructor(document: Document);
174
+ logout(): void;
175
+ clearCookies(): void;
176
+ static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
177
+ static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
178
+ }
179
+
180
+ declare class TopbarComponent {
181
+ private moduleService;
182
+ private authService;
183
+ environment: Environment;
184
+ currentRouteName: string;
185
+ isTenantAdmin: boolean;
186
+ showProfileDropdown: boolean;
187
+ constructor(moduleService: ModuleService, authService: AuthService);
188
+ clickout(event: Event): void;
189
+ showDropdownOptions(dropdownName: string): void;
190
+ closeDropdown(event: Event): void;
191
+ clickDetails(e: Event): void;
192
+ logout(): void;
193
+ static ɵfac: i0.ɵɵFactoryDeclaration<TopbarComponent, never>;
194
+ static ɵcmp: i0.ɵɵComponentDeclaration<TopbarComponent, "topbar", never, { "environment": { "alias": "environment"; "required": false; }; }, {}, never, never, false, never>;
195
+ }
196
+
197
+ declare class ShopModalComponent {
198
+ ngxSmartModalService: NgxSmartModalService;
199
+ availableShops: Shop[];
200
+ copyAvailableShops: Shop[];
201
+ selectedShop: EventEmitter<Shop>;
202
+ shopSearchValue: any;
203
+ shopSearchPlaceholder: string;
204
+ constructor(ngxSmartModalService: NgxSmartModalService);
205
+ shopSelected(shop: any): void;
206
+ handleShopSearch(e: any): void;
207
+ static ɵfac: i0.ɵɵFactoryDeclaration<ShopModalComponent, never>;
208
+ static ɵcmp: i0.ɵɵComponentDeclaration<ShopModalComponent, "shop-modal", never, { "availableShops": { "alias": "availableShops"; "required": false; }; "shopSearchValue": { "alias": "shopSearchValue"; "required": false; }; }, { "selectedShop": "selectedShop"; }, never, never, false, never>;
209
+ }
210
+
211
+ declare class NavigationLibModule {
212
+ static ɵfac: i0.ɵɵFactoryDeclaration<NavigationLibModule, never>;
213
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NavigationLibModule, [typeof SidebarComponent, typeof SubItemComponent, typeof TopbarComponent, typeof NavigationLibComponent, typeof ShopModalComponent], [typeof i6.CommonModule, typeof i7.NgxSmartModalModule], [typeof NavigationLibComponent]>;
214
+ static ɵinj: i0.ɵɵInjectorDeclaration<NavigationLibModule>;
215
+ }
216
+
217
+ interface HttpResponse<T> extends Response {
218
+ parsedBody?: T;
219
+ }
220
+
221
+ declare function httpGet<T>(requestUrl: string, tokenIn: string): Promise<HttpResponse<T>>;
222
+
223
+ export { AuthService, ModuleService, NavigationLibComponent, NavigationLibModule, NavigationLibService, SubItemService, httpGet };
224
+ export type { ModuleItem, ModulesInfo, Shop, SidebarEntry };
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@retalia/sidebar-navigation",
3
- "version": "19.2.18",
3
+ "version": "20.3.16",
4
4
  "peerDependencies": {
5
- "@angular/common": "^19.2.18",
6
- "@angular/core": "^19.2.18",
5
+ "@angular/common": "^20.3.16",
6
+ "@angular/core": "^20.3.16",
7
7
  "es-cookie": "^1.5.0",
8
8
  "ngx-smart-modal": "^14.1.0",
9
9
  "tldjs": "^2.3.2"
@@ -1,2 +0,0 @@
1
- import { ModuleItem } from '../models/module';
2
- export declare const supportRoutes: ModuleItem[];
@@ -1,2 +0,0 @@
1
- import { ModulesInfo } from '../models/module';
2
- export declare const testModuleDetails: ModulesInfo;
@@ -1,12 +0,0 @@
1
- export declare enum CookieNames {
2
- groupId = "groupId",
3
- id = "id",
4
- languageCode = "languageCode",
5
- portalApiToken = "portalApiToken",
6
- portalRefreshToken = "portalRefreshToken",
7
- recentlyLoggedIn = "recentlyLoggedIn",
8
- shopId = "shopId",
9
- tenantId = "tenantId",
10
- clientId = "client_id",
11
- isSidebarOpen = "isSidebarOpen"
12
- }
@@ -1,4 +0,0 @@
1
- export interface Environment {
2
- portalUrl: string;
3
- apiRequestUrl: string;
4
- }
@@ -1,3 +0,0 @@
1
- export interface HttpResponse<T> extends Response {
2
- parsedBody?: T;
3
- }
@@ -1,32 +0,0 @@
1
- export interface ModulesInfo {
2
- modulesDetails: ModuleItem[];
3
- shops: Shop[];
4
- flags?: string[];
5
- }
6
- export interface ModuleItem {
7
- id: number;
8
- authorizationId: string;
9
- name: string;
10
- url: string;
11
- relationName: string;
12
- displayOrder: number;
13
- entityAccess: number[];
14
- sidebarEntries: SidebarEntry[];
15
- children?: SidebarEntry[];
16
- translatedName?: string;
17
- visible?: boolean;
18
- active?: boolean;
19
- }
20
- export interface SidebarEntry {
21
- moduleAuthorizationId: string;
22
- name: string;
23
- url: string;
24
- children: SidebarEntry[];
25
- translatedName?: string;
26
- visible?: boolean;
27
- active?: boolean;
28
- }
29
- export interface Shop {
30
- id: number;
31
- description: string;
32
- }
@@ -1,12 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { Environment } from './models/environment';
3
- import { SidebarEntry } from './models/module';
4
- import * as i0 from "@angular/core";
5
- export declare class NavigationLibComponent {
6
- selectedRoute: EventEmitter<SidebarEntry>;
7
- useCustomPage: boolean;
8
- environment: Environment;
9
- routeSelected(selectedItem: any): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<NavigationLibComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<NavigationLibComponent, "sidebar-navigation", never, { "useCustomPage": { "alias": "useCustomPage"; "required": false; }; "environment": { "alias": "environment"; "required": false; }; }, { "selectedRoute": "selectedRoute"; }, never, never, false, never>;
12
- }
@@ -1,13 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./sidebar/sidebar.component";
3
- import * as i2 from "./sidebar/sub-item/sub-item.component";
4
- import * as i3 from "./topbar/topbar.component";
5
- import * as i4 from "./navigation-lib.component";
6
- import * as i5 from "./sidebar/shop-modal/shop-modal.component";
7
- import * as i6 from "@angular/common";
8
- import * as i7 from "ngx-smart-modal";
9
- export declare class NavigationLibModule {
10
- static ɵfac: i0.ɵɵFactoryDeclaration<NavigationLibModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<NavigationLibModule, [typeof i1.SidebarComponent, typeof i2.SubItemComponent, typeof i3.TopbarComponent, typeof i4.NavigationLibComponent, typeof i5.ShopModalComponent], [typeof i6.CommonModule, typeof i7.NgxSmartModalModule], [typeof i4.NavigationLibComponent]>;
12
- static ɵinj: i0.ɵɵInjectorDeclaration<NavigationLibModule>;
13
- }
@@ -1,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class NavigationLibService {
3
- constructor();
4
- static ɵfac: i0.ɵɵFactoryDeclaration<NavigationLibService, never>;
5
- static ɵprov: i0.ɵɵInjectableDeclaration<NavigationLibService>;
6
- }
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class AuthService {
3
- private document;
4
- environmentUrl: string;
5
- _refreshTokenStore: string;
6
- _tokenStore: string;
7
- constructor(document: Document);
8
- logout(): void;
9
- clearCookies(): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
12
- }
@@ -1,12 +0,0 @@
1
- import { CookieNames } from '../models/cookie-names';
2
- import * as i0 from "@angular/core";
3
- export declare class CookieService {
4
- private document;
5
- constructor(document: Document);
6
- private getDomain;
7
- getCookie(cookieName: CookieNames): string | undefined;
8
- setCookie(cookieName: CookieNames, value: any): void;
9
- removeCookie(cookieName: CookieNames): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<CookieService, never>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<CookieService>;
12
- }
@@ -1,2 +0,0 @@
1
- import { HttpResponse } from '../models/http-response';
2
- export declare function httpGet<T>(requestUrl: string, tokenIn: string): Promise<HttpResponse<T>>;
@@ -1,20 +0,0 @@
1
- import { ModuleItem, ModulesInfo, SidebarEntry } from '../models/module';
2
- import { Subject } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- export declare class ModuleService {
5
- storedModuleFlags: string[];
6
- storedModuleFlagsChange: Subject<string[]>;
7
- currentRouteName: Subject<string>;
8
- currentModule: any;
9
- modules: ModuleItem[];
10
- constructor();
11
- getUserModules(gatewayUrl: string, token: string): Promise<ModulesInfo>;
12
- setNavigationTitle(selectedItem?: ModuleItem | SidebarEntry): void;
13
- findNestedUrlMatch(subItems: any, urlPath: string): any;
14
- setItemVisbility(item: any): void;
15
- mapModuleItems(modules: ModuleItem[]): ModuleItem[];
16
- mapAdminItems(modules: any, isSupportAdmin: boolean): ModuleItem[];
17
- getCurrentModule(selectedItem: ModuleItem | SidebarEntry): ModuleItem;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<ModuleService, never>;
19
- static ɵprov: i0.ɵɵInjectableDeclaration<ModuleService>;
20
- }
@@ -1,12 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { ModuleItem } from '../models/module';
3
- import * as i0 from "@angular/core";
4
- export declare class SubItemService {
5
- subItemClickEvent: EventEmitter<any>;
6
- _storage: Storage;
7
- constructor();
8
- saveItemInfo(selectedModule: ModuleItem, shopId: number): void;
9
- subItemclicked(item: any): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<SubItemService, never>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<SubItemService>;
12
- }
@@ -1,17 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { NgxSmartModalService } from 'ngx-smart-modal';
3
- import { Shop } from '../../models/module';
4
- import * as i0 from "@angular/core";
5
- export declare class ShopModalComponent {
6
- ngxSmartModalService: NgxSmartModalService;
7
- availableShops: Shop[];
8
- copyAvailableShops: Shop[];
9
- selectedShop: EventEmitter<Shop>;
10
- shopSearchValue: any;
11
- shopSearchPlaceholder: string;
12
- constructor(ngxSmartModalService: NgxSmartModalService);
13
- shopSelected(shop: any): void;
14
- handleShopSearch(e: any): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<ShopModalComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<ShopModalComponent, "shop-modal", never, { "availableShops": { "alias": "availableShops"; "required": false; }; "shopSearchValue": { "alias": "shopSearchValue"; "required": false; }; }, { "selectedShop": "selectedShop"; }, never, never, false, never>;
17
- }
@@ -1,47 +0,0 @@
1
- import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
- import { ModuleItem, Shop, SidebarEntry } from '../models/module';
3
- import { SubItemService } from '../services/sub-item.service';
4
- import { NgxSmartModalService } from 'ngx-smart-modal';
5
- import { ModuleService } from '../services/module.service';
6
- import { Environment } from '../models/environment';
7
- import { CookieService } from '../services/cookie.service';
8
- import * as i0 from "@angular/core";
9
- export declare class SidebarComponent implements OnChanges {
10
- private moduleService;
11
- private subItemService;
12
- private cookieService;
13
- ngxSmartModalService: NgxSmartModalService;
14
- selectedRoute: EventEmitter<SidebarEntry>;
15
- environment: Environment;
16
- moduleSearchValue: any;
17
- modules: ModuleItem[];
18
- modulesCopy: ModuleItem[];
19
- supportRoutes: ModuleItem[];
20
- selectedModule: ModuleItem;
21
- selectedItem: any;
22
- availableShops: Shop[];
23
- availableShopsCopy: Shop[];
24
- moduleSearchPlaceholder: string;
25
- isSidebarOpen: boolean;
26
- hideStatus: boolean;
27
- panelButtonStates: {
28
- isModuleOpen: boolean;
29
- isSupportOpen: boolean;
30
- };
31
- constructor(moduleService: ModuleService, subItemService: SubItemService, cookieService: CookieService, ngxSmartModalService: NgxSmartModalService);
32
- ngOnChanges(changes: SimpleChanges): void;
33
- toggleSidebar(e: Event, option: string): void;
34
- setSidebarState(): void;
35
- getSidebarState(): boolean;
36
- goToPortal(): void;
37
- handleModuleSearch(e: any): void;
38
- filterModules(moduleItems: ModuleItem[] | SidebarEntry[], searchTerm: string): any[];
39
- subItemClicked(item: any): void;
40
- selectedShop(selectedShop: Shop): void;
41
- mapShopModal(): void;
42
- goToStatusPage(): void;
43
- routeToUrl(): void;
44
- private getModules;
45
- static ɵfac: i0.ɵɵFactoryDeclaration<SidebarComponent, never>;
46
- static ɵcmp: i0.ɵɵComponentDeclaration<SidebarComponent, "sidebar", never, { "environment": { "alias": "environment"; "required": false; }; "moduleSearchValue": { "alias": "moduleSearchValue"; "required": false; }; }, { "selectedRoute": "selectedRoute"; }, never, never, false, never>;
47
- }
@@ -1,16 +0,0 @@
1
- import { ModuleItem, SidebarEntry } from '../../models/module';
2
- import { SubItemService } from '../../services/sub-item.service';
3
- import * as i0 from "@angular/core";
4
- export declare class SubItemComponent {
5
- private subItemService;
6
- items: ModuleItem[] | SidebarEntry[];
7
- activeItem: string;
8
- constructor(subItemService: SubItemService);
9
- getClass: (item: any, items: any) => string;
10
- subItemClicked(e: any, item: any): void;
11
- onSubItemClick(item: ModuleItem): void;
12
- toggleSubItems(item: ModuleItem): void;
13
- checkVisibleSubItems(item: ModuleItem | SidebarEntry): boolean;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<SubItemComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<SubItemComponent, "sub-item", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, never, false, never>;
16
- }
@@ -1,20 +0,0 @@
1
- import { Environment } from '../models/environment';
2
- import { AuthService } from '../services/auth.service';
3
- import { ModuleService } from '../services/module.service';
4
- import * as i0 from "@angular/core";
5
- export declare class TopbarComponent {
6
- private moduleService;
7
- private authService;
8
- environment: Environment;
9
- currentRouteName: string;
10
- isTenantAdmin: boolean;
11
- showProfileDropdown: boolean;
12
- constructor(moduleService: ModuleService, authService: AuthService);
13
- clickout(event: Event): void;
14
- showDropdownOptions(dropdownName: string): void;
15
- closeDropdown(event: Event): void;
16
- clickDetails(e: Event): void;
17
- logout(): void;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<TopbarComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<TopbarComponent, "topbar", never, { "environment": { "alias": "environment"; "required": false; }; }, {}, never, never, false, never>;
20
- }
package/public-api.d.ts DELETED
@@ -1,8 +0,0 @@
1
- export * from './lib/navigation-lib.service';
2
- export * from './lib/navigation-lib.component';
3
- export * from './lib/navigation-lib.module';
4
- export * from './lib/models/module';
5
- export * from './lib/services/auth.service';
6
- export * from './lib/services/http.service';
7
- export * from './lib/services/module.service';
8
- export * from './lib/services/sub-item.service';