@mparticle/aquarium 1.40.0-poc-unified-nav.3 → 1.40.0-poc-unified-nav.5
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/dist/aquarium.js +6140 -5855
- package/dist/aquarium.umd.cjs +43 -43
- package/dist/src/components/index.d.ts +3 -1
- package/dist/src/shared/NavigationItemsProvider.d.ts +52 -0
- package/dist/src/shared/Paths.d.ts +88 -104
- package/dist/src/shared/services/AuthorizationsService.d.ts +4 -0
- package/dist/src/shared/{FeatureFlagsManager.d.ts → services/FeatureFlagsService.d.ts} +1 -1
- package/dist/src/shared/services/InitialDataService.d.ts +3 -0
- package/dist/src/shared/services/RoutesAuthorizationsService.d.ts +4 -0
- package/dist/src/shared/{RouteAuthorizations → services/routeAuthorizations}/base-routes-authorizations.d.ts +2 -2
- package/dist/src/shared/{RouteAuthorizations → services/routeAuthorizations}/customer-360-authorizations.d.ts +1 -1
- package/dist/src/shared/{RouteAuthorizations → services/routeAuthorizations}/data-platform-authorizations.d.ts +1 -1
- package/dist/src/shared/{RouteAuthorizations → services/routeAuthorizations}/oversight-authorizations.d.ts +1 -1
- package/dist/src/shared/{RouteAuthorizations → services/routeAuthorizations}/root-authorizations.d.ts +1 -1
- package/dist/src/shared/{RouteAuthorizations → services/routeAuthorizations}/segmentation-authorizations.d.ts +1 -1
- package/package.json +1 -1
- package/dist/src/shared/AuthorizationManager.d.ts +0 -4
- package/dist/src/shared/RoutesAuthorizationManager.d.ts +0 -13
- /package/dist/src/shared/{utils.d.ts → Utils.d.ts} +0 -0
- /package/dist/src/shared/{AudiencePermissionsService.d.ts → services/AudiencePermissionsService.d.ts} +0 -0
|
@@ -85,5 +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 {
|
|
88
|
+
export { RoutesAuthorizationsService } from '../shared/services/RoutesAuthorizationsService';
|
|
89
89
|
export { initUserPreferences } from '../shared/UserPreferences';
|
|
90
|
+
export { InitialDataService } from '../shared/services/InitialDataService';
|
|
91
|
+
export { NavigationItemsProvider } from '../shared/NavigationItemsProvider';
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { IGlobalNavigationItem } from '../../../../../../../src/components';
|
|
2
|
+
export declare enum NavigationItemId {
|
|
3
|
+
Overview = "overview",
|
|
4
|
+
Oversight = "oversight",
|
|
5
|
+
SystemAlerts = "systemAlerts",
|
|
6
|
+
Observability = "observability",
|
|
7
|
+
TraceActivity = "traceActivity",
|
|
8
|
+
TraceConfigurations = "traceConfigurations",
|
|
9
|
+
Privacy = "privacy",
|
|
10
|
+
DSRs = "dsrs",
|
|
11
|
+
PrivacySettings = "privacySettings",
|
|
12
|
+
Predictions = "predictions",
|
|
13
|
+
Customer360 = "customer360",
|
|
14
|
+
UserProfiles = "userProfiles",
|
|
15
|
+
Identity = "identity",
|
|
16
|
+
GroupIdentity = "groupIdentity",
|
|
17
|
+
Enrichment = "enrichment",
|
|
18
|
+
CalculatedAttributes = "calculatedAttributes",
|
|
19
|
+
PredictiveAttributes = "predictiveAttributes",
|
|
20
|
+
DataPlatform = "dataPlatform",
|
|
21
|
+
Trends = "trends",
|
|
22
|
+
Setup = "setup",
|
|
23
|
+
Connections = "connections",
|
|
24
|
+
Inputs = "inputs",
|
|
25
|
+
Outputs = "outputs",
|
|
26
|
+
Directory = "directory",
|
|
27
|
+
LiveStream = "liveStream",
|
|
28
|
+
DataCatalog = "dataCatalog",
|
|
29
|
+
Transformations = "transformations",
|
|
30
|
+
Rules = "rules",
|
|
31
|
+
Plans = "plans",
|
|
32
|
+
Filters = "filters",
|
|
33
|
+
PlatformFilters = "platformFilters",
|
|
34
|
+
FeedFilters = "feedFilters",
|
|
35
|
+
EventForwarding = "eventForwarding",
|
|
36
|
+
Segmentation = "segmentation",
|
|
37
|
+
Journeys = "journeys",
|
|
38
|
+
Audiences = "audiences",
|
|
39
|
+
Standard = "standard",
|
|
40
|
+
Shared = "shared",
|
|
41
|
+
RealTime = "realTime",
|
|
42
|
+
Analytics = "analytics",
|
|
43
|
+
CreateAnalysis = "createAnalysis",
|
|
44
|
+
MyHub = "myHub",
|
|
45
|
+
Saved = "saved",
|
|
46
|
+
Data = "data",
|
|
47
|
+
Favorites = "favorites"
|
|
48
|
+
}
|
|
49
|
+
export declare class NavigationItemsProvider {
|
|
50
|
+
static navigationItems: IGlobalNavigationItem[];
|
|
51
|
+
static findItemById(id: NavigationItemId): IGlobalNavigationItem | undefined;
|
|
52
|
+
}
|
|
@@ -1,140 +1,124 @@
|
|
|
1
1
|
export declare const Paths: {
|
|
2
2
|
readonly Root: {
|
|
3
|
-
readonly Root: "mp";
|
|
4
3
|
readonly Overview: {
|
|
5
|
-
readonly Root: "overview";
|
|
6
|
-
readonly Connections: "overview/connections";
|
|
4
|
+
readonly Root: "mp/overview";
|
|
5
|
+
readonly Connections: "mp/overview/connections";
|
|
7
6
|
};
|
|
8
|
-
readonly Workspaces: "workspaces";
|
|
9
|
-
readonly UserSettings: "usersettings";
|
|
10
|
-
readonly SwitchWorkspace: "switch-workspace";
|
|
11
|
-
readonly Analytics: "analytics";
|
|
12
|
-
readonly Predictions: "predictions";
|
|
13
|
-
readonly UserSettingsList: "usersettings/list";
|
|
14
|
-
readonly NotificationPreferences: "usersettings/notificationpreferences";
|
|
15
|
-
readonly UsageBilling: "usagebilling";
|
|
16
|
-
readonly NewExperienceOnly: "new-experience-only";
|
|
17
|
-
readonly UncaughtErrorHandlerTest: "uncaughtErrorHandlerTest";
|
|
7
|
+
readonly Workspaces: "mp/workspaces";
|
|
8
|
+
readonly UserSettings: "mp/usersettings";
|
|
9
|
+
readonly SwitchWorkspace: "mp/switch-workspace";
|
|
10
|
+
readonly Analytics: "mp/analytics";
|
|
11
|
+
readonly Predictions: "mp/predictions";
|
|
12
|
+
readonly UserSettingsList: "mp/usersettings/list";
|
|
13
|
+
readonly NotificationPreferences: "mp/usersettings/notificationpreferences";
|
|
14
|
+
readonly UsageBilling: "mp/usagebilling";
|
|
15
|
+
readonly NewExperienceOnly: "mp/new-experience-only";
|
|
16
|
+
readonly UncaughtErrorHandlerTest: "mp/uncaughtErrorHandlerTest";
|
|
18
17
|
readonly Playground: {
|
|
19
|
-
readonly
|
|
20
|
-
readonly
|
|
21
|
-
readonly
|
|
22
|
-
readonly
|
|
23
|
-
readonly
|
|
24
|
-
readonly
|
|
25
|
-
readonly
|
|
26
|
-
readonly
|
|
27
|
-
readonly
|
|
28
|
-
readonly
|
|
29
|
-
readonly
|
|
30
|
-
readonly
|
|
31
|
-
readonly
|
|
32
|
-
readonly
|
|
33
|
-
readonly
|
|
34
|
-
readonly
|
|
35
|
-
readonly
|
|
36
|
-
readonly
|
|
37
|
-
readonly
|
|
38
|
-
readonly
|
|
39
|
-
readonly
|
|
40
|
-
readonly
|
|
41
|
-
readonly
|
|
42
|
-
readonly
|
|
43
|
-
readonly
|
|
44
|
-
readonly
|
|
45
|
-
readonly
|
|
46
|
-
readonly
|
|
47
|
-
readonly
|
|
48
|
-
readonly
|
|
49
|
-
readonly
|
|
50
|
-
readonly
|
|
51
|
-
readonly
|
|
52
|
-
readonly
|
|
53
|
-
readonly
|
|
54
|
-
readonly
|
|
55
|
-
readonly
|
|
56
|
-
readonly Video: "playground/video";
|
|
18
|
+
readonly React: "mp/playground/react";
|
|
19
|
+
readonly ReactExample: "mp/playground/react/data-example";
|
|
20
|
+
readonly PopOverErrorIcon: "mp/playground/popovererroricon";
|
|
21
|
+
readonly Card: "mp/playground/card";
|
|
22
|
+
readonly DashboardComponents: "mp/playground/dashboard-components";
|
|
23
|
+
readonly Services: "mp/playground/services";
|
|
24
|
+
readonly JourneyMilestoneAudience: "mp/playground/journey-milestone-audience-modal-playground";
|
|
25
|
+
readonly AudienceSizeLabel: "mp/playground/audience-size-label";
|
|
26
|
+
readonly CategoryList: "mp/playground/categorylist";
|
|
27
|
+
readonly Journey: "mp/playground/journey";
|
|
28
|
+
readonly LiveSearch: "mp/playground/livesearch";
|
|
29
|
+
readonly DmDataTable: "mp/playground/dmdatatable";
|
|
30
|
+
readonly CardDetailContainer: "mp/playground/card-detail-container";
|
|
31
|
+
readonly DatePicker: "mp/playground/datepicker";
|
|
32
|
+
readonly FaultError: "mp/playground/faulterror";
|
|
33
|
+
readonly AudienceConnect: "mp/playground/audienceconnect";
|
|
34
|
+
readonly AudienceFault: "mp/playground/audiencefault";
|
|
35
|
+
readonly AudienceInputs: "mp/playground/audienceinputs";
|
|
36
|
+
readonly AudienceOutputs: "mp/playground/audienceoutputs";
|
|
37
|
+
readonly mpDataTable: "mp/playground/mp-data-table";
|
|
38
|
+
readonly DiagramService: "mp/playground/diagram-service";
|
|
39
|
+
readonly AudienceBuilder: "mp/playground/audiencebuilder";
|
|
40
|
+
readonly InputTile: "mp/playground/inputtile";
|
|
41
|
+
readonly OutputTile: "mp/playground/outputtile";
|
|
42
|
+
readonly InputSelector: "mp/playground/inputselector";
|
|
43
|
+
readonly OutputSelector: "mp/playground/outputselector";
|
|
44
|
+
readonly InstructionComponents: "mp/playground/instruction-components";
|
|
45
|
+
readonly QuickstartLivestream: "mp/playground/quickstart-livestream";
|
|
46
|
+
readonly WizardBreadcrumbs: "mp/playground/wizard-breadcrumbs";
|
|
47
|
+
readonly WizardManager: "mp/playground/wizard-manager";
|
|
48
|
+
readonly HelpText: "mp/playground/help-text";
|
|
49
|
+
readonly DropdownEvents: "mp/playground/dropdown-events";
|
|
50
|
+
readonly StyleguideButtons: "mp/playground/styleguide/buttons";
|
|
51
|
+
readonly StyleguideTextFields: "mp/styleguide/textfields";
|
|
52
|
+
readonly StyleguideDropdowns: "mp/styleguide/dropdowns";
|
|
53
|
+
readonly StyleguideCallouts: "mp/styleguide/callouts";
|
|
54
|
+
readonly Video: "mp/playground/video";
|
|
57
55
|
};
|
|
58
56
|
};
|
|
59
57
|
readonly DataPlatform: {
|
|
60
|
-
readonly
|
|
61
|
-
readonly Trends: "trends";
|
|
58
|
+
readonly Trends: "data-platform/trends";
|
|
62
59
|
readonly Setup: {
|
|
63
|
-
readonly
|
|
64
|
-
readonly Connections: "setup/connections";
|
|
60
|
+
readonly Connections: "data-platform/setup/connections";
|
|
65
61
|
readonly Inputs: {
|
|
66
|
-
readonly
|
|
67
|
-
readonly
|
|
68
|
-
readonly Apps: "setup/inputs/apps";
|
|
62
|
+
readonly Feeds: "data-platform/setup/inputs/feeds";
|
|
63
|
+
readonly Apps: "data-platform/setup/inputs/apps";
|
|
69
64
|
};
|
|
70
65
|
readonly Outputs: {
|
|
71
|
-
readonly
|
|
72
|
-
readonly
|
|
73
|
-
readonly
|
|
74
|
-
readonly
|
|
75
|
-
readonly
|
|
76
|
-
readonly
|
|
77
|
-
readonly
|
|
78
|
-
readonly
|
|
79
|
-
readonly Crm: "setup/outputs/crm";
|
|
66
|
+
readonly Event: "data-platform/setup/outputs/event";
|
|
67
|
+
readonly Audience: "data-platform/setup/outputs/audience";
|
|
68
|
+
readonly CookieSync: "data-platform/setup/outputs/cookiesync";
|
|
69
|
+
readonly Gdpr: "data-platform/setup/outputs/gdpr";
|
|
70
|
+
readonly LiveRamp: "data-platform/setup/outputs/liveramp";
|
|
71
|
+
readonly Dsr: "data-platform/setup/outputs/dsr";
|
|
72
|
+
readonly DataWarehouse: "data-platform/setup/outputs/datawarehouse";
|
|
73
|
+
readonly Crm: "data-platform/setup/outputs/crm";
|
|
80
74
|
};
|
|
81
75
|
readonly Directory: {
|
|
82
|
-
readonly
|
|
83
|
-
readonly Listing: "setup/directory/listing";
|
|
76
|
+
readonly Listing: "data-platform/setup/directory/listing";
|
|
84
77
|
};
|
|
85
|
-
readonly WarehouseSync: "setup/warehouse-sync";
|
|
78
|
+
readonly WarehouseSync: "data-platform/setup/warehouse-sync";
|
|
86
79
|
};
|
|
87
|
-
readonly Livestream: "livestream";
|
|
88
|
-
readonly DataCatalog: "data-catalog";
|
|
80
|
+
readonly Livestream: "data-platform/livestream";
|
|
81
|
+
readonly DataCatalog: "data-platform/data-catalog";
|
|
89
82
|
readonly Transformations: {
|
|
90
|
-
readonly
|
|
91
|
-
readonly
|
|
92
|
-
readonly Plans: "transformations/plans";
|
|
83
|
+
readonly Rules: "data-platform/transformations/rules";
|
|
84
|
+
readonly Plans: "data-platform/transformations/plans";
|
|
93
85
|
readonly Filters: {
|
|
94
|
-
readonly
|
|
95
|
-
readonly
|
|
96
|
-
readonly Feed: "transformations/filters/feed";
|
|
86
|
+
readonly Platform: "data-platform/transformations/filters/platform";
|
|
87
|
+
readonly Feed: "data-platform/transformations/filters/feed";
|
|
97
88
|
};
|
|
98
89
|
};
|
|
99
|
-
readonly EventForwarding: "event-forwarding";
|
|
90
|
+
readonly EventForwarding: "data-platform/event-forwarding";
|
|
100
91
|
};
|
|
101
92
|
readonly Customer360: {
|
|
102
|
-
readonly Root: "customer-360";
|
|
103
93
|
readonly Identity: {
|
|
104
|
-
readonly
|
|
105
|
-
readonly GroupIdentities: "identity/group-identities";
|
|
94
|
+
readonly GroupIdentities: "customer-360/identity/group-identities";
|
|
106
95
|
};
|
|
107
|
-
readonly UserProfile: "user-profile";
|
|
96
|
+
readonly UserProfile: "customer-360/user-profile";
|
|
108
97
|
readonly Enrichment: {
|
|
109
|
-
readonly
|
|
110
|
-
readonly
|
|
111
|
-
readonly
|
|
112
|
-
readonly
|
|
113
|
-
readonly PredictiveAttributesNextBestAction: "enrichment/predictive-attributes/next-best-action";
|
|
98
|
+
readonly CalculatedAttributes: "customer-360/enrichment/calculated-attributes";
|
|
99
|
+
readonly PredictiveAttributes: "customer-360/enrichment/predictive-attributes";
|
|
100
|
+
readonly PredictiveAttributesNew: "customer-360/enrichment/predictive-attributes/new";
|
|
101
|
+
readonly PredictiveAttributesNextBestAction: "customer-360/enrichment/predictive-attributes/next-best-action";
|
|
114
102
|
};
|
|
115
103
|
};
|
|
116
104
|
readonly Segmentation: {
|
|
117
|
-
readonly Root: "segmentation";
|
|
118
105
|
readonly Audiences: {
|
|
119
|
-
readonly
|
|
120
|
-
readonly
|
|
121
|
-
readonly
|
|
122
|
-
readonly
|
|
123
|
-
readonly
|
|
124
|
-
readonly
|
|
125
|
-
readonly P2P: "audiences/p2p";
|
|
106
|
+
readonly RealTime: "segmentation/audiences/real-time";
|
|
107
|
+
readonly Standard: "segmentation/audiences/standard";
|
|
108
|
+
readonly Shared: "segmentation/audiences/shared";
|
|
109
|
+
readonly SharedByAccount: "segmentation/audiences/sharedbyaccount";
|
|
110
|
+
readonly Received: "segmentation/audiences/received";
|
|
111
|
+
readonly P2P: "segmentation/audiences/p2p";
|
|
126
112
|
};
|
|
127
|
-
readonly Journeys: "journeys";
|
|
113
|
+
readonly Journeys: "segmentation/journeys";
|
|
128
114
|
};
|
|
129
115
|
readonly Oversight: {
|
|
130
|
-
readonly
|
|
131
|
-
readonly SystemAlerts: "system-alerts";
|
|
116
|
+
readonly SystemAlerts: "oversight/system-alerts";
|
|
132
117
|
readonly Observability: {
|
|
133
|
-
readonly
|
|
134
|
-
readonly
|
|
135
|
-
readonly Requests: "observability/trace/configurations";
|
|
118
|
+
readonly List: "oversight/observability/trace/activity";
|
|
119
|
+
readonly Requests: "oversight/observability/trace/configurations";
|
|
136
120
|
};
|
|
137
|
-
readonly DSR: "data-subject-requests";
|
|
138
|
-
readonly PrivacySettings: "privacy-settings";
|
|
121
|
+
readonly DSR: "oversight/data-subject-requests";
|
|
122
|
+
readonly PrivacySettings: "oversight/privacy-settings";
|
|
139
123
|
};
|
|
140
124
|
};
|
|
@@ -41,7 +41,7 @@ export declare enum FeatureFlag {
|
|
|
41
41
|
DataManagerOptimizationDataCatalogDetails = "DataManagerOptimization.DataCatalogDetails",
|
|
42
42
|
JourneysMilestoneWithAudienceNode = "Journeys.MilestoneWithAudienceNode"
|
|
43
43
|
}
|
|
44
|
-
export declare class
|
|
44
|
+
export declare class FeatureFlagsService {
|
|
45
45
|
/**
|
|
46
46
|
* Checks whether a feature is enabled or not in the currently active workspace.
|
|
47
47
|
* @param feature The feature to check for.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Suite } from "
|
|
2
|
-
import { RouteAuthorization } from "../
|
|
1
|
+
import { Suite } from "../../Suite";
|
|
2
|
+
import { RouteAuthorization } from "../RoutesAuthorizationsService";
|
|
3
3
|
export declare abstract class BaseRoutesAuthorizations {
|
|
4
4
|
protected abstract suite: Suite;
|
|
5
5
|
protected abstract getAuthorizations(): Record<string, boolean>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseRoutesAuthorizations } from "./base-routes-authorizations";
|
|
2
|
-
import { Suite } from "
|
|
2
|
+
import { Suite } from "../../Suite";
|
|
3
3
|
export declare class DataPlatformAuthorizations extends BaseRoutesAuthorizations {
|
|
4
4
|
protected suite: Suite;
|
|
5
5
|
protected getAuthorizations(): Record<string, boolean>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseRoutesAuthorizations } from "./base-routes-authorizations";
|
|
2
|
-
import { Suite } from "
|
|
2
|
+
import { Suite } from "../../Suite";
|
|
3
3
|
export declare class OversightAuthorizations extends BaseRoutesAuthorizations {
|
|
4
4
|
protected suite: Suite;
|
|
5
5
|
protected getAuthorizations(): Record<string, boolean>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseRoutesAuthorizations } from "./base-routes-authorizations";
|
|
2
|
-
import { Suite } from "
|
|
2
|
+
import { Suite } from "../../Suite";
|
|
3
3
|
export declare class RootAuthorizations extends BaseRoutesAuthorizations {
|
|
4
4
|
protected suite: Suite;
|
|
5
5
|
protected getAuthorizations(): Record<string, boolean>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseRoutesAuthorizations } from "./base-routes-authorizations";
|
|
2
|
-
import { Suite } from "
|
|
2
|
+
import { Suite } from "../../Suite";
|
|
3
3
|
export declare class SegmentationAuthorizations extends BaseRoutesAuthorizations {
|
|
4
4
|
protected suite: Suite;
|
|
5
5
|
protected getAuthorizations(): Record<string, boolean>;
|
package/package.json
CHANGED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Suite } from "./Suite";
|
|
2
|
-
export type RouteAuthorization = {
|
|
3
|
-
suite: Suite;
|
|
4
|
-
route: string;
|
|
5
|
-
authorized: boolean;
|
|
6
|
-
};
|
|
7
|
-
export declare class RoutesAuthorizationManager {
|
|
8
|
-
private routesAuthorizations;
|
|
9
|
-
constructor();
|
|
10
|
-
private registerRoutesAuthorizations;
|
|
11
|
-
isRouteAuthorized(route: string): boolean;
|
|
12
|
-
private routeMatches;
|
|
13
|
-
}
|
|
File without changes
|
|
File without changes
|