application-sidebar 1.0.32 → 1.0.35
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/esm2022/lib/application-sidebar.component.mjs +101 -8
- package/esm2022/lib/constants.mjs +3 -1
- package/esm2022/lib/services/application-sidebar.service.mjs +2 -2
- package/fesm2022/application-sidebar.mjs +102 -8
- package/fesm2022/application-sidebar.mjs.map +1 -1
- package/lib/application-sidebar.component.d.ts +38 -1
- package/lib/constants.d.ts +2 -0
- package/package.json +1 -1
|
@@ -24,7 +24,7 @@ export declare class ApplicationSidebarComponent implements OnInit, OnDestroy {
|
|
|
24
24
|
navMenusComponent: NavMenusComponent;
|
|
25
25
|
accountName: any;
|
|
26
26
|
activePanel: any;
|
|
27
|
-
|
|
27
|
+
navExpanded: boolean;
|
|
28
28
|
oldListItems: QueryList<OffsetTopDirective>;
|
|
29
29
|
isAdminRole: boolean;
|
|
30
30
|
adminRoles: string[];
|
|
@@ -33,12 +33,48 @@ export declare class ApplicationSidebarComponent implements OnInit, OnDestroy {
|
|
|
33
33
|
myObserver: any;
|
|
34
34
|
expandGlobalSettings: any;
|
|
35
35
|
inContextInsightsWLApp: boolean;
|
|
36
|
+
themePoint: string;
|
|
37
|
+
showTitle: boolean;
|
|
36
38
|
constructor(navigation: ApplicationSidebarService, router: Router, RestApiService: RestApiService, cookie: CookieService, cdref: ChangeDetectorRef, translation: TranslationService);
|
|
39
|
+
/**
|
|
40
|
+
* Determines the theme point based on the current domain
|
|
41
|
+
* Uses STAGING_THEME_POINT for local, heroku, or apptest domains
|
|
42
|
+
* Uses PROD_THEME_POINT for all other domains
|
|
43
|
+
*/
|
|
44
|
+
private determineThemePoint;
|
|
45
|
+
/**
|
|
46
|
+
* Public getter to access the current theme point
|
|
47
|
+
* @returns The current theme point URL
|
|
48
|
+
*/
|
|
49
|
+
getThemePoint(): string;
|
|
50
|
+
/**
|
|
51
|
+
* Public getter to check if current environment is staging
|
|
52
|
+
* @returns True if staging environment, false if production
|
|
53
|
+
*/
|
|
54
|
+
isStagingEnvironment(): boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Manually update theme point and trigger change detection
|
|
57
|
+
* @param forceStaging - Force staging theme point if true
|
|
58
|
+
*/
|
|
59
|
+
updateThemePoint(forceStaging?: boolean): void;
|
|
60
|
+
/**
|
|
61
|
+
* Get the full URL for an asset using the current theme point
|
|
62
|
+
* @param assetPath - The asset path (e.g., 'logos/logo.png')
|
|
63
|
+
* @returns The full URL for the asset
|
|
64
|
+
*/
|
|
65
|
+
getAssetUrl(assetPath: string): string;
|
|
66
|
+
/**
|
|
67
|
+
* Get the full URL for an icon using the current theme point
|
|
68
|
+
* @param iconName - The icon name (e.g., 'menu-icon.svg')
|
|
69
|
+
* @returns The full URL for the icon with theme/assets/icons/ path
|
|
70
|
+
*/
|
|
71
|
+
getIconUrl(iconName: string): string;
|
|
37
72
|
panelOpenState: boolean;
|
|
38
73
|
mainPanelOpenState: boolean;
|
|
39
74
|
prevActiveHeadMenu: any;
|
|
40
75
|
toDisplayApplications: any[];
|
|
41
76
|
toDisplayGlobalSettingsMenu: any[];
|
|
77
|
+
toDisplayLinkMenu: any[];
|
|
42
78
|
errorMsg: string;
|
|
43
79
|
ngOnInit(): void;
|
|
44
80
|
calculateLeftnavStatus(): void;
|
|
@@ -62,6 +98,7 @@ export declare class ApplicationSidebarComponent implements OnInit, OnDestroy {
|
|
|
62
98
|
modficationData(data: any): any;
|
|
63
99
|
ngOnChanges(): void;
|
|
64
100
|
goToApplication(item: any): void;
|
|
101
|
+
goToMenuLink(item: any): void;
|
|
65
102
|
ngOnDestroy(): void;
|
|
66
103
|
goToAppDefaultPage(item: any, appId: any): void;
|
|
67
104
|
hideMenuForWL(): boolean;
|
package/lib/constants.d.ts
CHANGED
package/package.json
CHANGED