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.
@@ -24,7 +24,7 @@ export declare class ApplicationSidebarComponent implements OnInit, OnDestroy {
24
24
  navMenusComponent: NavMenusComponent;
25
25
  accountName: any;
26
26
  activePanel: any;
27
- navCollapsed: boolean;
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;
@@ -4,5 +4,7 @@ export declare const constants: {
4
4
  kBaseDspApiURL: string;
5
5
  kBaseDspTestApiURL: string;
6
6
  STAGING_MENU_BUCKET: string;
7
+ STAGING_THEME_BUCKET: string;
8
+ PROD_THEME_BUCKET: string;
7
9
  PROD_MENU_BUCKET: string;
8
10
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "application-sidebar",
3
- "version": "1.0.32",
3
+ "version": "1.0.35",
4
4
  "main": "src/lib/application-sidebar.componenent.ts",
5
5
  "description": "Generate navigation menus based on the application details",
6
6
  "author": "Intentwise",