@flarehr/apollo-super-selection 4.40.35800 → 4.42.36722
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-5be8f0b9.entry.js +14 -0
- package/dist/lib/apollo-super-selection/{p-4e75be8d.system.entry.js → p-65c670d7.system.entry.js} +12 -12
- 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_38.cjs.entry.js +139 -30
- package/dist/lib/collection/apollo-super-selection.css +1 -1
- package/dist/lib/collection/components/super-selection-app/consent/consent.js +6 -1
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/default-fund/default-fund.js +5 -0
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.js +6 -0
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.js +5 -0
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v1-iframe-builder.js +13 -3
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.js +20 -3
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/services/slate-iframe-builder.js +8 -1
- package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-display-field.js +2 -1
- package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-my-own-fund.js +6 -0
- package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-smsf.js +5 -0
- package/dist/lib/collection/components/super-selection-app/services/event-tracking.service.js +5 -0
- package/dist/lib/collection/components/super-selection-app/services/navigation.service.js +1 -0
- package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +8 -2
- package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.js +50 -10
- package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.store.js +1 -0
- package/dist/lib/esm/apollo-super-selection.js +1 -1
- package/dist/lib/esm/loader.js +1 -1
- package/dist/lib/esm/sss-button_38.entry.js +139 -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_38.entry.js +1 -1
- package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +22 -0
- package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +5 -3
- package/dist/lib/types/components/super-selection-app/services/event-tracking.service.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/services/navigation.service.d.ts +2 -0
- package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.d.ts +2 -2
- package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.store.d.ts +28 -0
- package/package.json +2 -2
- package/dist/lib/apollo-super-selection/p-c6e6d600.entry.js +0 -14
|
@@ -100,6 +100,26 @@ export declare type SuperFundDetailViewedDetail = {
|
|
|
100
100
|
} | {
|
|
101
101
|
DefaultFund: ViewedDefaultFundDetail;
|
|
102
102
|
};
|
|
103
|
+
export declare type SuperFundDetailChangeRequested = {
|
|
104
|
+
PromotedFund: {
|
|
105
|
+
memberNumber: string;
|
|
106
|
+
} & ViewedPromotedFundDetail;
|
|
107
|
+
} | {
|
|
108
|
+
PromotedDefaultFund: ViewedPromotedDefaultFundDetail;
|
|
109
|
+
} | {
|
|
110
|
+
MyOwnFund: {
|
|
111
|
+
fundName: string;
|
|
112
|
+
fundUsi: string;
|
|
113
|
+
memberNumber: string;
|
|
114
|
+
} & ViewedMyOwnFundDetail;
|
|
115
|
+
} | {
|
|
116
|
+
Smsf: {
|
|
117
|
+
fundName: string;
|
|
118
|
+
fundEsa: string;
|
|
119
|
+
} & ViewedSmsfDetail;
|
|
120
|
+
} | {
|
|
121
|
+
DefaultFund: ViewedDefaultFundDetail;
|
|
122
|
+
};
|
|
103
123
|
export declare type SuperSelectionAnalyticsEvent = {
|
|
104
124
|
FinancialProductViewed: FinancialProductViewedDetail;
|
|
105
125
|
} | {
|
|
@@ -114,6 +134,8 @@ export declare type SuperSelectionAnalyticsEvent = {
|
|
|
114
134
|
SuperFundDetailViewed: SuperFundDetailViewedDetail;
|
|
115
135
|
} | {
|
|
116
136
|
SuperFundPanelViewed: SuperFundPanelViewedDetail;
|
|
137
|
+
} | {
|
|
138
|
+
SuperFundDetailChangeRequested: SuperFundDetailChangeRequested;
|
|
117
139
|
} | {
|
|
118
140
|
SuperFundNominationViewed: SuperFundNominationViewedDetail;
|
|
119
141
|
} | {
|
|
@@ -17,7 +17,6 @@ declare type UserProfileDto = {
|
|
|
17
17
|
email: string;
|
|
18
18
|
mobilePhone: string;
|
|
19
19
|
dateOfBirth: string;
|
|
20
|
-
yearsOfAge: number;
|
|
21
20
|
address: AddressDto;
|
|
22
21
|
};
|
|
23
22
|
declare type PromotedFundChoiceDto = {
|
|
@@ -190,9 +189,12 @@ export declare type AppStateDto = {
|
|
|
190
189
|
prefill: SuperChoicePrefillDto | null;
|
|
191
190
|
};
|
|
192
191
|
export declare type PromotedFundsConfigSourceDto = 'superSelection' | 'campaignConnect';
|
|
192
|
+
export declare type PromotedFundTypeDto = 'promoted' | 'promoted-default' | 'defined-benefits';
|
|
193
193
|
export declare type CampaignConnectDto = {
|
|
194
|
-
promotedFunds:
|
|
195
|
-
|
|
194
|
+
promotedFunds: {
|
|
195
|
+
fundId: string;
|
|
196
|
+
type: PromotedFundTypeDto;
|
|
197
|
+
}[];
|
|
196
198
|
};
|
|
197
199
|
export declare type ClickPromotedTileDto = {
|
|
198
200
|
promoted: {
|
|
@@ -20,5 +20,6 @@ export declare class EventTrackingService {
|
|
|
20
20
|
TrackSuperFundDisclaimerAcceptedAsync(detail: model.SuperFundDisclaimerAcceptedDetail): Promise<void>;
|
|
21
21
|
TrackSuperFundPrefillViewedAsync(detail: model.SuperFundPrefillViewedDetail): Promise<void>;
|
|
22
22
|
TrackSuperFundPrefillDeclinedAsync(detail: model.SuperFundPrefillDeclinedDetail): Promise<void>;
|
|
23
|
+
TrackSuperFundDetailChangeRequestedAsync(detail: model.SuperFundDetailChangeRequested): Promise<void>;
|
|
23
24
|
private trackEventAsync;
|
|
24
25
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { RouterHistory } from '@stencil/router';
|
|
2
|
+
import { FundDetails } from './../standard-choice/standard-choice-form.store';
|
|
2
3
|
declare class NavigationService {
|
|
3
4
|
navigateInternally(history: RouterHistory, route: string): void;
|
|
4
5
|
navigateInternallyToStandardChoice(options: {
|
|
5
6
|
history: RouterHistory;
|
|
6
7
|
fundName: string;
|
|
8
|
+
fundDetails: FundDetails;
|
|
7
9
|
handleSubmitFn: (standardChoiceFormSignature: string) => Promise<void>;
|
|
8
10
|
promotedFundId?: string;
|
|
9
11
|
}): void;
|
package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.d.ts
CHANGED
|
@@ -4,13 +4,13 @@ export declare class StandardChoiceFormInputDefaultFund {
|
|
|
4
4
|
private standardChoiceFormSignature;
|
|
5
5
|
private formState;
|
|
6
6
|
private isSubmitDisabled;
|
|
7
|
-
private
|
|
7
|
+
private readonly eventTrackingService;
|
|
8
8
|
private formElement;
|
|
9
9
|
connectedCallback(): void;
|
|
10
10
|
disconnectedCallback(): void;
|
|
11
|
-
componentWillLoad(): Promise<void>;
|
|
12
11
|
render(): Element[];
|
|
13
12
|
private renderLogo;
|
|
13
|
+
private trackChangeRequestedAsync;
|
|
14
14
|
private handleSubmitForm;
|
|
15
15
|
private ignorePopState;
|
|
16
16
|
}
|
|
@@ -1,6 +1,34 @@
|
|
|
1
|
+
export declare type FundDetails = {
|
|
2
|
+
type: 'smsf';
|
|
3
|
+
fundName: string;
|
|
4
|
+
fundEsa: string;
|
|
5
|
+
} | {
|
|
6
|
+
type: 'myOwnFund';
|
|
7
|
+
fundName: string;
|
|
8
|
+
fundUsi: string;
|
|
9
|
+
memberNumber: string;
|
|
10
|
+
} | {
|
|
11
|
+
type: 'default';
|
|
12
|
+
fundName: string;
|
|
13
|
+
fundUsi: string;
|
|
14
|
+
} | {
|
|
15
|
+
type: 'promoted';
|
|
16
|
+
fundName: string;
|
|
17
|
+
fundUsi: string;
|
|
18
|
+
memberNumber: string;
|
|
19
|
+
promotedFundId: string;
|
|
20
|
+
} | {
|
|
21
|
+
type: 'promotedDefault';
|
|
22
|
+
fundName: string;
|
|
23
|
+
fundUsi: string;
|
|
24
|
+
promotedFundId: string;
|
|
25
|
+
} | {
|
|
26
|
+
type: 'null';
|
|
27
|
+
};
|
|
1
28
|
export declare type StandardChoiceFormState = {
|
|
2
29
|
handleSubmitFn: (standardChoiceFormSignature: string) => Promise<void>;
|
|
3
30
|
fundName: string;
|
|
31
|
+
fundDetails: FundDetails;
|
|
4
32
|
promotedFundId?: string;
|
|
5
33
|
};
|
|
6
34
|
export declare const initial: StandardChoiceFormState;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flarehr/apollo-super-selection",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.42.36722",
|
|
4
4
|
"description": "Apollo Super Selection",
|
|
5
5
|
"main": "dist/lib/index.cjs.js",
|
|
6
6
|
"module": "dist/lib/index.js",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@stencil/store": "^1.3.0",
|
|
37
37
|
"@tailwindcss/forms": "^0.5.1",
|
|
38
38
|
"@types/jest": "^26.0.20",
|
|
39
|
-
"@types/node": "^14.
|
|
39
|
+
"@types/node": "^14.18.63",
|
|
40
40
|
"@types/resize-observer-browser": "^0.1.5",
|
|
41
41
|
"@typescript-eslint/eslint-plugin": "^4.14.0",
|
|
42
42
|
"@typescript-eslint/parser": "^4.14.0",
|