@mparticle/aquarium 1.40.0-poc-unified-nav.12 → 1.40.0-poc-unified-nav.14

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.
@@ -85,6 +85,7 @@ export { USER_PREFERENCE_SCOPE_SEPARATOR, UserPreferenceGlobalScope, type UserPr
85
85
  export { useNewExperienceReminder, type INewExperienceReminderOptions, type NewExperienceReminderHook, } from '../hooks/NewExperienceReminder/useNewExperienceReminder';
86
86
  export { ChartConfig, ChartAxisStyle } from '../constants/ChartConfig';
87
87
  export { ChartColors } from '../constants/ChartColors';
88
+ export { Utils } from '../shared/Utils';
88
89
  export { RoutesAuthorizationsService } from '../shared/services/RoutesAuthorizationsService';
89
90
  export { InitializationService } from '../shared/services/InitializationService';
90
91
  export { NavigationItemsService, NavigationItemId } from '../shared/services/NavigationItemsService';
@@ -131,4 +131,10 @@ export declare const Paths: {
131
131
  readonly DSR: "oversight/data-subject-requests";
132
132
  readonly PrivacySettings: "oversight/privacy-settings";
133
133
  };
134
+ readonly Analytics: {
135
+ readonly MyHub: "info";
136
+ readonly Saved: "saved";
137
+ readonly Data: "data";
138
+ readonly Favorites: "saved/favorites";
139
+ };
134
140
  };
@@ -3,6 +3,7 @@ export declare enum Suite {
3
3
  DataPlatform = "DataPlatform",
4
4
  Customer360 = "Customer360",
5
5
  Segmentation = "Segmentation",
6
- Oversight = "Oversight"
6
+ Oversight = "Oversight",
7
+ Analytics = "Analytics"
7
8
  }
8
9
  export type SuiteName = "Data Platform" | "Customer 360" | "Segmentation" | "Oversight" | "Analytics" | "Predictions" | "Overview";
@@ -1 +1,4 @@
1
- export declare function generateUniversalHash(value: string, caseSensitive?: boolean): string;
1
+ export declare class Utils {
2
+ static generateUniversalHash(value: string, caseSensitive?: boolean): string;
3
+ static isMobile(): boolean;
4
+ }
@@ -46,7 +46,9 @@ export declare enum NavigationItemId {
46
46
  Analytics_Favorites = "analytics_favorites"
47
47
  }
48
48
  export declare class NavigationItemsService {
49
- static navigationItems: IGlobalNavigationItem[];
49
+ static get navigationItems(): IGlobalNavigationItem[];
50
50
  static initialize(): void;
51
51
  static findItemById(id: NavigationItemId): IGlobalNavigationItem | undefined;
52
+ private static traverseItems;
53
+ static traverseAllItems(callback: (item: IGlobalNavigationItem) => void): void;
52
54
  }
@@ -0,0 +1,6 @@
1
+ import { BaseRoutesAuthorizations } from "./base-routes-authorizations";
2
+ import { Suite } from "../../Suite";
3
+ export declare class AnalyticsAuthorizations extends BaseRoutesAuthorizations {
4
+ protected suite: Suite;
5
+ protected getAuthorizations(): Record<string, boolean>;
6
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mparticle/aquarium",
3
- "version": "1.40.0-poc-unified-nav.12",
3
+ "version": "1.40.0-poc-unified-nav.14",
4
4
  "description": "mParticle Component Library",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [