@flarehr/apollo-super-selection 4.53.42649 → 4.55.43666
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/lib/apollo-super-selection/apollo-super-selection.css +1 -1
- package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +1 -1
- package/dist/lib/apollo-super-selection/p-06c394ee.system.entry.js +69 -0
- package/dist/lib/apollo-super-selection/p-90e363b7.entry.js +14 -0
- package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +1 -1
- package/dist/lib/cjs/apollo-super-selection.cjs.js +1 -1
- package/dist/lib/cjs/loader.cjs.js +1 -1
- package/dist/lib/cjs/sss-button_41.cjs.entry.js +52 -30
- package/dist/lib/collection/apollo-super-selection.css +1 -1
- package/dist/lib/collection/components/super-campaign/super-campaign-event-handlers.js +26 -0
- package/dist/lib/collection/components/super-campaign/super-campaign-types.js +1 -0
- package/dist/lib/collection/components/super-campaign/super-campaign.js +16 -0
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/mercermychoice.js +2 -1
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/virgin.js +2 -1
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.js +3 -5
- package/dist/lib/collection/components/super-selection-app/services/event-tracking.service.js +0 -20
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-top.js +21 -0
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +1 -1
- package/dist/lib/esm/apollo-super-selection.js +1 -1
- package/dist/lib/esm/loader.js +1 -1
- package/dist/lib/esm/sss-button_41.entry.js +52 -30
- package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
- package/dist/lib/esm-es5/loader.js +1 -1
- package/dist/lib/esm-es5/sss-button_41.entry.js +4 -4
- package/dist/lib/types/components/super-campaign/super-campaign-event-handlers.d.ts +2 -0
- package/dist/lib/types/components/super-campaign/super-campaign-types.d.ts +30 -0
- package/dist/lib/types/components/super-campaign/super-campaign.d.ts +3 -0
- package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +0 -28
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-types.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/types.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/services/event-tracking.service.d.ts +0 -4
- package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-top.d.ts +1 -0
- package/dist/lib/types/components.d.ts +2 -0
- package/package.json +1 -1
- package/dist/lib/apollo-super-selection/p-3d480a15.system.entry.js +0 -69
- package/dist/lib/apollo-super-selection/p-4941debd.entry.js +0 -14
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare type Sender = 'super-campaign';
|
|
2
|
+
export declare type SuperCampaignCommonEventPayload = {
|
|
3
|
+
sender: Sender;
|
|
4
|
+
};
|
|
5
|
+
export declare type ChooseAnotherFundRequestedEvent = SuperCampaignCommonEventPayload & {
|
|
6
|
+
type: 'choose-another-fund-requested';
|
|
7
|
+
};
|
|
8
|
+
export declare type FundPanelShownEvent = SuperCampaignCommonEventPayload & {
|
|
9
|
+
type: 'fund-panel-shown';
|
|
10
|
+
shownFunds: Array<ShownFund>;
|
|
11
|
+
};
|
|
12
|
+
export declare type FundTileClickedEvent = SuperCampaignCommonEventPayload & {
|
|
13
|
+
type: 'fund-tile-clicked';
|
|
14
|
+
fundId: string;
|
|
15
|
+
fundUsi?: string;
|
|
16
|
+
fundName: string;
|
|
17
|
+
fundType: ShownFundType;
|
|
18
|
+
};
|
|
19
|
+
export declare type ShownFund = {
|
|
20
|
+
fundId: string;
|
|
21
|
+
fundType: ShownFundType;
|
|
22
|
+
};
|
|
23
|
+
export declare type ShownFundType = 'Promoted' | 'PromotedDefault' | 'PromotedDefaultWithJoin';
|
|
24
|
+
export declare type EventPayload = ChooseAnotherFundRequestedEvent | FundPanelShownEvent | FundTileClickedEvent;
|
|
25
|
+
export declare type EventType = EventPayload['type'];
|
|
26
|
+
export declare type EventHandlers = {
|
|
27
|
+
[k in EventType]: (event: Extract<EventPayload, {
|
|
28
|
+
t: k;
|
|
29
|
+
}>) => Promise<void>;
|
|
30
|
+
};
|
|
@@ -3,8 +3,11 @@ export declare class SuperCampaignHost {
|
|
|
3
3
|
private backendUrl;
|
|
4
4
|
private accessToken;
|
|
5
5
|
componentWillLoad(): Promise<void>;
|
|
6
|
+
disconnectedCallback(): void;
|
|
6
7
|
render(): Element[];
|
|
7
8
|
private createApolloSuperCampaignScriptUrl;
|
|
8
9
|
private getBaseUrl;
|
|
9
10
|
private getEnvironmentTag;
|
|
11
|
+
private subscribeToSuperCampaignEvents;
|
|
12
|
+
private unSubscribeFromSuperCampaignEvents;
|
|
10
13
|
}
|
|
@@ -1,28 +1,8 @@
|
|
|
1
|
-
export declare type FinancialProductViewedDetail = {
|
|
2
|
-
fundUsi: string;
|
|
3
|
-
fundName: string;
|
|
4
|
-
financialProduct: string;
|
|
5
|
-
};
|
|
6
1
|
export declare type SuperFundPdsViewedDetail = {
|
|
7
2
|
fundUsi?: string;
|
|
8
3
|
fundName: string;
|
|
9
4
|
pageName: string;
|
|
10
5
|
};
|
|
11
|
-
export declare type FinancialProductAcceptedDetail = {
|
|
12
|
-
fundUsi: string;
|
|
13
|
-
fundName: string;
|
|
14
|
-
financialProduct: string;
|
|
15
|
-
};
|
|
16
|
-
export declare type FinancialProductRejectedDetail = {
|
|
17
|
-
fundUsi: string;
|
|
18
|
-
fundName: string;
|
|
19
|
-
financialProduct: string;
|
|
20
|
-
};
|
|
21
|
-
export declare type SuperFundPrivacyConfirmationAcceptedDetail = {
|
|
22
|
-
fundUsi: string;
|
|
23
|
-
fundName: string;
|
|
24
|
-
financialProduct: string;
|
|
25
|
-
};
|
|
26
6
|
export declare type ViewedPromotedFundDetail = {
|
|
27
7
|
fundUsi?: string;
|
|
28
8
|
fundName: string;
|
|
@@ -127,15 +107,7 @@ export declare type SuperFundDetailChangeRequested = {
|
|
|
127
107
|
DefaultFund: ViewedDefaultFundDetail;
|
|
128
108
|
};
|
|
129
109
|
export declare type SuperSelectionAnalyticsEvent = {
|
|
130
|
-
FinancialProductViewed: FinancialProductViewedDetail;
|
|
131
|
-
} | {
|
|
132
110
|
SuperFundPdsViewed: SuperFundPdsViewedDetail;
|
|
133
|
-
} | {
|
|
134
|
-
FinancialProductAccepted: FinancialProductAcceptedDetail;
|
|
135
|
-
} | {
|
|
136
|
-
FinancialProductRejected: FinancialProductRejectedDetail;
|
|
137
|
-
} | {
|
|
138
|
-
SuperFundPrivacyConfirmationAccepted: SuperFundPrivacyConfirmationAcceptedDetail;
|
|
139
111
|
} | {
|
|
140
112
|
SuperFundDetailViewed: SuperFundDetailViewedDetail;
|
|
141
113
|
} | {
|
|
@@ -21,6 +21,7 @@ declare type PromotedFundJoinAppParams = {
|
|
|
21
21
|
fundId: string;
|
|
22
22
|
authToken: string;
|
|
23
23
|
employerDefault: boolean;
|
|
24
|
+
definedBenefitsEligibility?: boolean;
|
|
24
25
|
};
|
|
25
26
|
export declare type PromotedFundJoinData = PromotedFundJoinMemberData & PromotedFundJoinAppParams;
|
|
26
27
|
export declare type NotificationData = {
|
|
@@ -3,11 +3,7 @@ export declare class EventTrackingService {
|
|
|
3
3
|
private static instance;
|
|
4
4
|
static get Instance(): EventTrackingService;
|
|
5
5
|
private readonly eventTrackingApi;
|
|
6
|
-
TrackFinancialProductViewedAsync(detail: model.FinancialProductViewedDetail): Promise<void>;
|
|
7
6
|
TrackSuperFundPdsViewedAsync(detail: model.SuperFundPdsViewedDetail): Promise<void>;
|
|
8
|
-
TrackFinancialProductAcceptedAsync(detail: model.FinancialProductAcceptedDetail): Promise<void>;
|
|
9
|
-
TrackFinancialProductRejectedAsync(detail: model.FinancialProductRejectedDetail): Promise<void>;
|
|
10
|
-
TrackSuperFundPrivacyConfirmationAcceptedAsync(detail: model.SuperFundPrivacyConfirmationAcceptedDetail): Promise<void>;
|
|
11
7
|
TrackPromotedSuperFundDetailViewedAsync(detail: model.ViewedPromotedFundDetail): Promise<void>;
|
|
12
8
|
TrackPromotedDefaultSuperFundDetailViewedAsync(detail: model.ViewedPromotedDefaultFundDetail): Promise<void>;
|
|
13
9
|
TrackMyOwnSuperFundDetailViewedAsync(detail: model.ViewedMyOwnFundDetail): Promise<void>;
|
|
@@ -140,6 +140,7 @@ export namespace Components {
|
|
|
140
140
|
}
|
|
141
141
|
interface SssSuperChoiceItemTop {
|
|
142
142
|
"customContent"?: VNode;
|
|
143
|
+
"extraBadge"?: VNode;
|
|
143
144
|
"featureSubText"?: VNode;
|
|
144
145
|
"features": VNode[];
|
|
145
146
|
"isMultiFund": boolean;
|
|
@@ -554,6 +555,7 @@ declare namespace LocalJSX {
|
|
|
554
555
|
}
|
|
555
556
|
interface SssSuperChoiceItemTop {
|
|
556
557
|
"customContent"?: VNode;
|
|
558
|
+
"extraBadge"?: VNode;
|
|
557
559
|
"featureSubText"?: VNode;
|
|
558
560
|
"features"?: VNode[];
|
|
559
561
|
"isMultiFund"?: boolean;
|