application-sidebar 1.0.34 → 1.0.36

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.
@@ -9,6 +9,7 @@ import { RestApiService } from './services/rest-api.services';
9
9
  import { NavMenusComponent } from './nav-menus/nav-menus.component';
10
10
  import { CookieService } from 'ngx-cookie-service';
11
11
  import { TranslationService } from './services/translation.service';
12
+ import { MixpanelService } from './services/mixpanel.service';
12
13
  import * as i0 from "@angular/core";
13
14
  export declare class ApplicationSidebarComponent implements OnInit, OnDestroy {
14
15
  navigation: ApplicationSidebarService;
@@ -17,6 +18,7 @@ export declare class ApplicationSidebarComponent implements OnInit, OnDestroy {
17
18
  private cookie;
18
19
  private cdref;
19
20
  private translation;
21
+ private mixpanel;
20
22
  applicationDetails: appDetails;
21
23
  sidenav: MatSidenav;
22
24
  listItems: QueryList<OffsetTopDirective>;
@@ -34,7 +36,8 @@ export declare class ApplicationSidebarComponent implements OnInit, OnDestroy {
34
36
  expandGlobalSettings: any;
35
37
  inContextInsightsWLApp: boolean;
36
38
  themePoint: string;
37
- constructor(navigation: ApplicationSidebarService, router: Router, RestApiService: RestApiService, cookie: CookieService, cdref: ChangeDetectorRef, translation: TranslationService);
39
+ showTitle: boolean;
40
+ constructor(navigation: ApplicationSidebarService, router: Router, RestApiService: RestApiService, cookie: CookieService, cdref: ChangeDetectorRef, translation: TranslationService, mixpanel: MixpanelService);
38
41
  /**
39
42
  * Determines the theme point based on the current domain
40
43
  * Uses STAGING_THEME_POINT for local, heroku, or apptest domains
@@ -0,0 +1,15 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class MixpanelService {
3
+ constructor();
4
+ /**
5
+ * Push new action to mixpanel.
6
+ *
7
+ * @param {string} id Name of the action to track.
8
+ * @param {*} [action={}] Actions object with custom capitalizeproperties.
9
+ * @memberof MixpanelService
10
+ */
11
+ productTrackEvent(event: string, properties?: any): void;
12
+ registerTrackEvent(updateInfo: any): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<MixpanelService, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<MixpanelService>;
15
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "application-sidebar",
3
- "version": "1.0.34",
3
+ "version": "1.0.36",
4
4
  "main": "src/lib/application-sidebar.componenent.ts",
5
5
  "description": "Generate navigation menus based on the application details",
6
6
  "author": "Intentwise",