@flarehr/apollo-super-selection 4.47.40159 → 4.49.41800
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/assets/unisuper-default-badge1.svg +25 -0
- package/dist/lib/apollo-super-selection/assets/unisuper-default-badge2.svg +109 -0
- package/dist/lib/apollo-super-selection/assets/unisuper-default-badge3.svg +102 -0
- package/dist/lib/apollo-super-selection/p-12bf731a.entry.js +14 -0
- package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +1 -1
- package/dist/lib/apollo-super-selection/p-d96a4c02.system.entry.js +69 -0
- 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_40.cjs.entry.js → sss-button_41.cjs.entry.js} +7362 -7011
- package/dist/lib/collection/apollo-super-selection.css +1 -1
- package/dist/lib/collection/collection-manifest.json +2 -0
- package/dist/lib/collection/components/app-host/services/appinsights.service.js +3 -0
- package/dist/lib/collection/components/super-campaign/super-campaign.js +80 -0
- package/dist/lib/collection/components/super-selection-app/api/super-selection.api.dto.js +21 -0
- package/dist/lib/collection/components/super-selection-app/api/super-selection.api.js +2 -0
- package/dist/lib/collection/components/super-selection-app/consent/consent.js +30 -3
- package/dist/lib/collection/components/super-selection-app/existing-choice/existing-choice.js +18 -3
- package/dist/lib/collection/components/super-selection-app/funds/constants.js +7 -1
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.js +9 -0
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api.js +9 -0
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/unisuper-default-v2.js +56 -0
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund.store.js +4 -2
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v1-iframe-builder.js +2 -2
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.js +151 -26
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-types.js +1 -0
- package/dist/lib/collection/components/super-selection-app/services/existing-super-choice-info.service.js +27 -2
- package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +14 -14
- package/dist/lib/collection/components/super-selection-app/services/super-selection.store.js +3 -3
- package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.js +5 -0
- package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/unisuper-default-badge1.svg +25 -0
- package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/unisuper-default-badge2.svg +109 -0
- package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/unisuper-default-badge3.svg +102 -0
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-top.js +22 -1
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +7 -13
- package/dist/lib/collection/components/super-selection-app/super-selection-app.js +14 -4
- package/dist/lib/esm/apollo-super-selection.js +1 -1
- package/dist/lib/esm/loader.js +1 -1
- package/dist/lib/esm/{sss-button_40.entry.js → sss-button_41.entry.js} +7346 -7016
- 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 +69 -0
- package/dist/lib/types/components/app-host/services/appinsights.service.d.ts +1 -0
- package/dist/lib/types/components/super-campaign/super-campaign.d.ts +9 -0
- package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +7 -1
- package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +27 -1
- package/dist/lib/types/components/super-selection-app/consent/consent.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/funds/constants.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.d.ts +2 -1
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.dto.d.ts +12 -2
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api.d.ts +2 -1
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api.dto.d.ts +12 -0
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/unisuper-default-v2.d.ts +3 -0
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund.store.d.ts +4 -2
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.d.ts +3 -0
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-types.d.ts +74 -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/existing-super-choice-info.service.d.ts +17 -1
- package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts +3 -2
- package/dist/lib/types/components/super-selection-app/services/super-selection.store.d.ts +2 -2
- package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.store.d.ts +6 -0
- 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/super-selection-app/super-choice-page/super-choice-page.d.ts +0 -1
- package/dist/lib/types/components/super-selection-app/super-selection-app.d.ts +1 -0
- package/dist/lib/types/components.d.ts +19 -0
- package/package.json +1 -1
- package/dist/lib/apollo-super-selection/p-3355a4b6.system.entry.js +0 -69
- package/dist/lib/apollo-super-selection/p-a590d0d5.entry.js +0 -14
- package/dist/lib/esm-es5/sss-button_40.entry.js +0 -69
|
@@ -83,7 +83,9 @@ export declare type SuperFundNominationDeclinedDetail = {
|
|
|
83
83
|
fundStatus: string;
|
|
84
84
|
lastNominatedAt: string;
|
|
85
85
|
};
|
|
86
|
-
export declare type SuperFundDisclaimerViewedDetail =
|
|
86
|
+
export declare type SuperFundDisclaimerViewedDetail = {
|
|
87
|
+
isDefinedBenefitsEligible: string;
|
|
88
|
+
};
|
|
87
89
|
export declare type SuperFundDisclaimerAcceptedDetail = Record<string, never>;
|
|
88
90
|
export declare type SuperFundPanelViewedDetail = {
|
|
89
91
|
promotedFundsShown: Array<string>;
|
|
@@ -106,6 +108,10 @@ export declare type SuperFundDetailChangeRequested = {
|
|
|
106
108
|
} & ViewedPromotedFundDetail;
|
|
107
109
|
} | {
|
|
108
110
|
PromotedDefaultFund: ViewedPromotedDefaultFundDetail;
|
|
111
|
+
} | {
|
|
112
|
+
PromotedDefaultFundWithJoin: {
|
|
113
|
+
memberNumber: string;
|
|
114
|
+
} & ViewedPromotedDefaultFundDetail;
|
|
109
115
|
} | {
|
|
110
116
|
MyOwnFund: {
|
|
111
117
|
fundName: string;
|
|
@@ -72,6 +72,13 @@ declare type PromotedFundChoiceDto = {
|
|
|
72
72
|
usi: string;
|
|
73
73
|
memberNumber: string;
|
|
74
74
|
};
|
|
75
|
+
} | {
|
|
76
|
+
kind: 'generic';
|
|
77
|
+
generic: {
|
|
78
|
+
fundId: string;
|
|
79
|
+
usi: string;
|
|
80
|
+
memberNumber: string;
|
|
81
|
+
};
|
|
75
82
|
};
|
|
76
83
|
export declare function hydratePromotedFundChoiceDtoKind(dto: PromotedFundChoiceDto): void;
|
|
77
84
|
export declare function getSuperChoiceUsi(dto: SuperChoiceDetailsDto): Option<string>;
|
|
@@ -92,6 +99,19 @@ declare type SMSFChoiceDto = {
|
|
|
92
99
|
fundName: string;
|
|
93
100
|
electronicServiceAddress: string;
|
|
94
101
|
};
|
|
102
|
+
declare type DefinedBenefitsChoiceDto = {
|
|
103
|
+
usi: string;
|
|
104
|
+
memberNumber: string;
|
|
105
|
+
memberElectContributionRatePreTax: number;
|
|
106
|
+
memberElectContributionRatePostTax: number;
|
|
107
|
+
};
|
|
108
|
+
declare type PromotedDefaultWithJoinFundChoiceDto = {
|
|
109
|
+
usi: string;
|
|
110
|
+
fundId: string;
|
|
111
|
+
memberNumber: string;
|
|
112
|
+
memberFirstName: string | null;
|
|
113
|
+
memberFamilyName: string | null;
|
|
114
|
+
};
|
|
95
115
|
export declare type PrefillOwnFundChoiceDto = {
|
|
96
116
|
fundDetail: {
|
|
97
117
|
type: 'Valid';
|
|
@@ -138,6 +158,12 @@ declare type SuperChoiceDetailsDto = {
|
|
|
138
158
|
} | {
|
|
139
159
|
kind: 'PromotedDefault';
|
|
140
160
|
promotedDefault: PromotedDefaultFundChoiceDto;
|
|
161
|
+
} | {
|
|
162
|
+
kind: 'DefinedBenefits';
|
|
163
|
+
definedBenefits: DefinedBenefitsChoiceDto;
|
|
164
|
+
} | {
|
|
165
|
+
kind: 'PromotedDefaultWithJoin';
|
|
166
|
+
promotedDefaultWithJoin: PromotedDefaultWithJoinFundChoiceDto;
|
|
141
167
|
};
|
|
142
168
|
export declare function hydrateSuperChoiceDetailsDtoKind(dto: SuperChoiceDetailsDto): void;
|
|
143
169
|
declare type SuperChoiceDto = {
|
|
@@ -186,7 +212,7 @@ export declare type AppStateDto = {
|
|
|
186
212
|
profileConfiguration: ProfileConfigurationDto;
|
|
187
213
|
promotedFunds: string[];
|
|
188
214
|
campaignConnectEnabled: boolean;
|
|
189
|
-
|
|
215
|
+
isDefinedBenefitsEligible: boolean | null;
|
|
190
216
|
prefill: SuperChoicePrefillDto | null;
|
|
191
217
|
};
|
|
192
218
|
export declare type PromotedFundsConfigSourceDto = 'superSelection' | 'campaignConnect';
|
|
@@ -2,6 +2,7 @@ import { Option } from 'fp-ts/Option';
|
|
|
2
2
|
import { PromotedFund } from './promoted-fund/types';
|
|
3
3
|
export declare const allPromotedFunds: PromotedFund[];
|
|
4
4
|
export declare const getFundByDtoPropName: (dtoPropName: string) => Option<PromotedFund>;
|
|
5
|
+
export declare const getFundByFundId: (fundId: string) => Option<PromotedFund>;
|
|
5
6
|
export declare const getFundNameByFundId: (fundId: string) => Option<string>;
|
|
6
7
|
export declare const getFooterTextOverrideByFundId: (fundId: string) => Option<string>;
|
|
7
8
|
export declare const getFundUsiByFundId: (fundId: string) => Option<string>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { DefaultFundForm, MyOwnFundDto, SelfManagedFundRequestDto } from './custom-fund-choice.api.dto';
|
|
1
|
+
import { DefaultFundForm, DefinedBenefitsDto, MyOwnFundDto, SelfManagedFundRequestDto } from './custom-fund-choice.api.dto';
|
|
2
2
|
export declare class CustomFundChoiceApi {
|
|
3
3
|
submitDefaultFundChoiceAsync(dto: DefaultFundForm): Promise<void>;
|
|
4
4
|
submitCustomFundChoiceAsync(dto: MyOwnFundDto): Promise<void>;
|
|
5
5
|
submitSelfManagedFundChoiceAsync(dto: SelfManagedFundRequestDto): Promise<void>;
|
|
6
|
+
submitDefinedBenefitsChoiceAsync(dto: DefinedBenefitsDto): Promise<void>;
|
|
6
7
|
validateAbnForSMSF(abn: string): Promise<boolean>;
|
|
7
8
|
}
|
|
8
9
|
declare const _default: CustomFundChoiceApi;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PromotedFundsConfigSourceDto } from '../../../api/super-selection.api.dto';
|
|
2
2
|
declare type CommonDto = {
|
|
3
|
-
standardChoiceFormSignature: string;
|
|
4
3
|
shownFunds: string[];
|
|
5
4
|
promotedDefaultFundPosition?: number;
|
|
6
5
|
promotedFundsConfigSource: PromotedFundsConfigSourceDto;
|
|
@@ -10,8 +9,11 @@ export declare type MyOwnFundDto = {
|
|
|
10
9
|
memberNumber: string;
|
|
11
10
|
memberFirstName: string;
|
|
12
11
|
memberFamilyName: string;
|
|
12
|
+
standardChoiceFormSignature: string;
|
|
13
|
+
} & CommonDto;
|
|
14
|
+
export declare type DefaultFundForm = {
|
|
15
|
+
standardChoiceFormSignature: string;
|
|
13
16
|
} & CommonDto;
|
|
14
|
-
export declare type DefaultFundForm = CommonDto;
|
|
15
17
|
export declare type AustralianFundAddressDto = {
|
|
16
18
|
addressLine1: string;
|
|
17
19
|
addressLine2: string | null;
|
|
@@ -32,6 +34,14 @@ export declare type SelfManagedFundDto = {
|
|
|
32
34
|
};
|
|
33
35
|
export declare type SelfManagedFundRequestDto = {
|
|
34
36
|
smsfChoice: SelfManagedFundDto;
|
|
37
|
+
standardChoiceFormSignature: string;
|
|
38
|
+
} & CommonDto;
|
|
39
|
+
export declare type DefinedBenefitsDto = {
|
|
40
|
+
fundUsi: string;
|
|
41
|
+
fundId: string;
|
|
42
|
+
memberNumber: string;
|
|
43
|
+
memberElectContributionRatePreTax: number;
|
|
44
|
+
memberElectContributionRatePostTax: number;
|
|
35
45
|
} & CommonDto;
|
|
36
46
|
export declare type AbnUsedForRegulatedFundResponseDto = {
|
|
37
47
|
result: boolean;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { PromotedDefaultFundChoiceRequestDto, PromotedFundChoiceRequestDto } from './promoted-fund-choice.api.dto';
|
|
1
|
+
import { PromotedDefaultFundChoiceRequestDto, PromotedDefaultFundWithJoinChoiceRequestDto, PromotedFundChoiceRequestDto } from './promoted-fund-choice.api.dto';
|
|
2
2
|
export declare class PromotedFundChoiceApi {
|
|
3
3
|
submitChoiceAsync(dto: PromotedFundChoiceRequestDto): Promise<void>;
|
|
4
4
|
submitDefaultChoiceAsync(dto: PromotedDefaultFundChoiceRequestDto): Promise<void>;
|
|
5
|
+
submitDefaultChoiceWithJoinAsync(dto: PromotedDefaultFundWithJoinChoiceRequestDto): Promise<void>;
|
|
5
6
|
}
|
|
6
7
|
declare const _default: PromotedFundChoiceApi;
|
|
7
8
|
export default _default;
|
|
@@ -20,3 +20,15 @@ export declare type PromotedDefaultFundChoiceRequestDto = {
|
|
|
20
20
|
promotedDefaultFundPosition?: number;
|
|
21
21
|
promotedFundsConfigSource: PromotedFundsConfigSourceDto;
|
|
22
22
|
};
|
|
23
|
+
export declare type PromotedDefaultFundWithJoinChoiceRequestDto = {
|
|
24
|
+
fundId: string;
|
|
25
|
+
usi: string;
|
|
26
|
+
memberNumber: string;
|
|
27
|
+
memberFirstName: string;
|
|
28
|
+
memberFamilyName: string;
|
|
29
|
+
standardChoiceFormSignature: string;
|
|
30
|
+
shownFunds: string[];
|
|
31
|
+
defaultFundUsiSet?: string;
|
|
32
|
+
promotedDefaultFundPosition?: number;
|
|
33
|
+
promotedFundsConfigSource: PromotedFundsConfigSourceDto;
|
|
34
|
+
};
|
package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund.store.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export declare type PromotedFundState = {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
fund: {
|
|
3
|
+
id: string;
|
|
4
|
+
type: 'Promoted' | 'PromotedDefault' | 'DefinedBenefits' | 'null';
|
|
5
|
+
};
|
|
4
6
|
};
|
|
5
7
|
export declare const initial: PromotedFundState;
|
|
6
8
|
declare const state: PromotedFundState, reset: () => void;
|
|
@@ -2,6 +2,9 @@ import { RouterHistory } from '@stencil/router';
|
|
|
2
2
|
declare class PromotedFundJoinV2IFrameBuilder {
|
|
3
3
|
build(iframe: HTMLIFrameElement, history: RouterHistory): void;
|
|
4
4
|
private getMemberData;
|
|
5
|
+
private getFundName;
|
|
6
|
+
private cleanUsi;
|
|
7
|
+
private stringIsNullOrEmtpty;
|
|
5
8
|
private environmentDiscriminator;
|
|
6
9
|
private promotedFundJoinAppUrl;
|
|
7
10
|
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
export declare type PromotedFundJoinMemberData = {
|
|
2
|
+
title: string;
|
|
3
|
+
firstName: string;
|
|
4
|
+
middleName?: string;
|
|
5
|
+
lastName: string;
|
|
6
|
+
dateOfBirth: string;
|
|
7
|
+
gender: string;
|
|
8
|
+
email: string;
|
|
9
|
+
mobilePhone: string;
|
|
10
|
+
taxFileNumber: string;
|
|
11
|
+
addressLine1: string;
|
|
12
|
+
addressLine2?: string;
|
|
13
|
+
city: string;
|
|
14
|
+
state: string;
|
|
15
|
+
postCode: string;
|
|
16
|
+
country?: string;
|
|
17
|
+
};
|
|
18
|
+
declare type PromotedFundJoinAppParams = {
|
|
19
|
+
partnerId: string;
|
|
20
|
+
accountId: string;
|
|
21
|
+
fundId: string;
|
|
22
|
+
authToken: string;
|
|
23
|
+
employerDefault: boolean;
|
|
24
|
+
};
|
|
25
|
+
export declare type PromotedFundJoinData = PromotedFundJoinMemberData & PromotedFundJoinAppParams;
|
|
26
|
+
export declare type NotificationData = {
|
|
27
|
+
sender: 'promoted-fund-redirect';
|
|
28
|
+
type: 'success';
|
|
29
|
+
usi: string;
|
|
30
|
+
memberNumber: string;
|
|
31
|
+
memberFirstName: string;
|
|
32
|
+
memberFamilyName: string;
|
|
33
|
+
} | {
|
|
34
|
+
sender: 'promoted-fund-redirect';
|
|
35
|
+
type: 'success-promoted';
|
|
36
|
+
fundId: string;
|
|
37
|
+
usi: string;
|
|
38
|
+
memberNumber: string;
|
|
39
|
+
memberFirstName: string;
|
|
40
|
+
memberFamilyName: string;
|
|
41
|
+
} | {
|
|
42
|
+
sender: 'promoted-fund-redirect';
|
|
43
|
+
type: 'success-promoted-default';
|
|
44
|
+
fundId: string;
|
|
45
|
+
usi: string;
|
|
46
|
+
} | {
|
|
47
|
+
sender: 'promoted-fund-redirect';
|
|
48
|
+
type: 'success-promoted-default-with-join';
|
|
49
|
+
fundId: string;
|
|
50
|
+
usi: string;
|
|
51
|
+
memberNumber: string;
|
|
52
|
+
memberFirstName: string;
|
|
53
|
+
memberFamilyName: string;
|
|
54
|
+
} | {
|
|
55
|
+
sender: 'promoted-fund-redirect';
|
|
56
|
+
type: 'success-defined-benefits';
|
|
57
|
+
fundId: string;
|
|
58
|
+
usi: string;
|
|
59
|
+
memberNumber: string;
|
|
60
|
+
memberElectContributionRatePreTax: number;
|
|
61
|
+
memberElectContributionRatePostTax: number;
|
|
62
|
+
} | {
|
|
63
|
+
sender: 'promoted-fund-redirect';
|
|
64
|
+
type: 'cancel';
|
|
65
|
+
} | {
|
|
66
|
+
sender: 'promoted-fund-join';
|
|
67
|
+
type: 'contentResized';
|
|
68
|
+
height: number;
|
|
69
|
+
width: number;
|
|
70
|
+
} | {
|
|
71
|
+
sender: 'promoted-fund-join';
|
|
72
|
+
type: 'pageNavigated';
|
|
73
|
+
};
|
|
74
|
+
export {};
|
|
@@ -39,7 +39,23 @@ export declare type PromotedDefaultFund = {
|
|
|
39
39
|
valid: FundValidState;
|
|
40
40
|
lastNominatedAt: Option<Date>;
|
|
41
41
|
};
|
|
42
|
-
export declare type
|
|
42
|
+
export declare type DefinedBenefitsFund = {
|
|
43
|
+
type: 'Defined Benefits Fund';
|
|
44
|
+
name: string;
|
|
45
|
+
usi: Option<string>;
|
|
46
|
+
valid: FundValidState;
|
|
47
|
+
lastNominatedAt: Option<Date>;
|
|
48
|
+
};
|
|
49
|
+
export declare type PromotedDefaultWithJoin = {
|
|
50
|
+
type: 'Promoted Default Fund With Join';
|
|
51
|
+
id: string;
|
|
52
|
+
name: string;
|
|
53
|
+
usi: Option<string>;
|
|
54
|
+
valid: FundValidState;
|
|
55
|
+
memberNumber: Option<string>;
|
|
56
|
+
lastNominatedAt: Option<Date>;
|
|
57
|
+
};
|
|
58
|
+
export declare type ExistingFund = PromotedFund | MyOwnFund | SelfManagedFund | DefaultFund | PromotedDefaultFund | DefinedBenefitsFund | PromotedDefaultWithJoin;
|
|
43
59
|
export declare type RetainSuperFundDto = {
|
|
44
60
|
fundType: string;
|
|
45
61
|
fundName?: string;
|
package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export declare class SuperSelectionAppService {
|
|
|
19
19
|
get promotedFunds(): string[];
|
|
20
20
|
get promotedDefaultFundPosition(): O.Option<number>;
|
|
21
21
|
get promotedFundsConfig(): PromotedFundsConfig;
|
|
22
|
+
get definedBenefitsFundId(): O.Option<string>;
|
|
22
23
|
get profileId(): string;
|
|
23
24
|
get defaultFundUsi(): O.Option<string>;
|
|
24
25
|
get accountIdOrDefault(): string;
|
|
@@ -27,9 +28,9 @@ export declare class SuperSelectionAppService {
|
|
|
27
28
|
completeSuperSelectionFlow(): void;
|
|
28
29
|
markSuperSelectionAsSubmitted(): void;
|
|
29
30
|
get campaignConnectEnabled(): boolean;
|
|
31
|
+
get isDefinedBenefitsEligible(): O.Option<boolean>;
|
|
30
32
|
loadAppStateAsync(): Promise<void>;
|
|
31
|
-
|
|
32
|
-
completeCampaignConnectRequestSafe(): Promise<void>;
|
|
33
|
+
loadCampaignConnectAsync(): Promise<void>;
|
|
33
34
|
}
|
|
34
35
|
declare const _default: SuperSelectionAppService;
|
|
35
36
|
export default _default;
|
|
@@ -13,8 +13,8 @@ export declare type AppContextState = {
|
|
|
13
13
|
hasSuccessPageBeenAcknowledged: boolean;
|
|
14
14
|
hasSuperSelectionBeenSubmitted: boolean;
|
|
15
15
|
campaignConnectEnabled: boolean;
|
|
16
|
-
|
|
17
|
-
definedBenefitsEligibility: boolean;
|
|
16
|
+
isDefinedBenefitsEligible: O.Option<boolean>;
|
|
18
17
|
campaignConnect: O.Option<CampaignConnectDto>;
|
|
18
|
+
superCampaignEnabled: boolean;
|
|
19
19
|
};
|
|
20
20
|
export declare const initialState: AppContextState;
|
|
@@ -22,6 +22,12 @@ export declare type FundDetails = {
|
|
|
22
22
|
fundName: string;
|
|
23
23
|
fundUsi: string;
|
|
24
24
|
promotedFundId: string;
|
|
25
|
+
} | {
|
|
26
|
+
type: 'promotedDefaultWithJoin';
|
|
27
|
+
fundName: string;
|
|
28
|
+
fundUsi: string;
|
|
29
|
+
memberNumber: string;
|
|
30
|
+
promotedFundId: string;
|
|
25
31
|
} | {
|
|
26
32
|
type: 'null';
|
|
27
33
|
};
|
package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-page.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import { RouterHistory } from '@stencil/router';
|
|
|
2
2
|
export declare class SuperChoicePage {
|
|
3
3
|
history: RouterHistory;
|
|
4
4
|
private promotedFunds;
|
|
5
|
-
private campaignConnectRequestInProgress;
|
|
6
5
|
private readonly eventTrackingService;
|
|
7
6
|
componentDidLoad(): Promise<void>;
|
|
8
7
|
render(): Element[];
|
|
@@ -130,6 +130,10 @@ export namespace Components {
|
|
|
130
130
|
}
|
|
131
131
|
interface SssSuccess {
|
|
132
132
|
}
|
|
133
|
+
interface SssSuperCampaignHost {
|
|
134
|
+
"accessToken": string;
|
|
135
|
+
"backendUrl": string;
|
|
136
|
+
}
|
|
133
137
|
interface SssSuperChoiceItemBottom {
|
|
134
138
|
"abn"?: string;
|
|
135
139
|
"abnInfo"?: string;
|
|
@@ -137,6 +141,7 @@ export namespace Components {
|
|
|
137
141
|
"isMultiFund": boolean;
|
|
138
142
|
}
|
|
139
143
|
interface SssSuperChoiceItemTop {
|
|
144
|
+
"customContent"?: VNode;
|
|
140
145
|
"featureSubText"?: VNode;
|
|
141
146
|
"features": VNode[];
|
|
142
147
|
"isMultiFund": boolean;
|
|
@@ -346,6 +351,12 @@ declare global {
|
|
|
346
351
|
prototype: HTMLSssSuccessElement;
|
|
347
352
|
new (): HTMLSssSuccessElement;
|
|
348
353
|
};
|
|
354
|
+
interface HTMLSssSuperCampaignHostElement extends Components.SssSuperCampaignHost, HTMLStencilElement {
|
|
355
|
+
}
|
|
356
|
+
var HTMLSssSuperCampaignHostElement: {
|
|
357
|
+
prototype: HTMLSssSuperCampaignHostElement;
|
|
358
|
+
new (): HTMLSssSuperCampaignHostElement;
|
|
359
|
+
};
|
|
349
360
|
interface HTMLSssSuperChoiceItemBottomElement extends Components.SssSuperChoiceItemBottom, HTMLStencilElement {
|
|
350
361
|
}
|
|
351
362
|
var HTMLSssSuperChoiceItemBottomElement: {
|
|
@@ -408,6 +419,7 @@ declare global {
|
|
|
408
419
|
"sss-slate-join-page": HTMLSssSlateJoinPageElement;
|
|
409
420
|
"sss-standard-choice-form": HTMLSssStandardChoiceFormElement;
|
|
410
421
|
"sss-success": HTMLSssSuccessElement;
|
|
422
|
+
"sss-super-campaign-host": HTMLSssSuperCampaignHostElement;
|
|
411
423
|
"sss-super-choice-item-bottom": HTMLSssSuperChoiceItemBottomElement;
|
|
412
424
|
"sss-super-choice-item-top": HTMLSssSuperChoiceItemTopElement;
|
|
413
425
|
"sss-super-choice-page": HTMLSssSuperChoicePageElement;
|
|
@@ -533,6 +545,10 @@ declare namespace LocalJSX {
|
|
|
533
545
|
}
|
|
534
546
|
interface SssSuccess {
|
|
535
547
|
}
|
|
548
|
+
interface SssSuperCampaignHost {
|
|
549
|
+
"accessToken"?: string;
|
|
550
|
+
"backendUrl"?: string;
|
|
551
|
+
}
|
|
536
552
|
interface SssSuperChoiceItemBottom {
|
|
537
553
|
"abn"?: string;
|
|
538
554
|
"abnInfo"?: string;
|
|
@@ -541,6 +557,7 @@ declare namespace LocalJSX {
|
|
|
541
557
|
"onJoinFundClicked"?: (event: CustomEvent<void>) => void;
|
|
542
558
|
}
|
|
543
559
|
interface SssSuperChoiceItemTop {
|
|
560
|
+
"customContent"?: VNode;
|
|
544
561
|
"featureSubText"?: VNode;
|
|
545
562
|
"features"?: VNode[];
|
|
546
563
|
"isMultiFund"?: boolean;
|
|
@@ -597,6 +614,7 @@ declare namespace LocalJSX {
|
|
|
597
614
|
"sss-slate-join-page": SssSlateJoinPage;
|
|
598
615
|
"sss-standard-choice-form": SssStandardChoiceForm;
|
|
599
616
|
"sss-success": SssSuccess;
|
|
617
|
+
"sss-super-campaign-host": SssSuperCampaignHost;
|
|
600
618
|
"sss-super-choice-item-bottom": SssSuperChoiceItemBottom;
|
|
601
619
|
"sss-super-choice-item-top": SssSuperChoiceItemTop;
|
|
602
620
|
"sss-super-choice-page": SssSuperChoicePage;
|
|
@@ -639,6 +657,7 @@ declare module "@stencil/core" {
|
|
|
639
657
|
"sss-slate-join-page": LocalJSX.SssSlateJoinPage & JSXBase.HTMLAttributes<HTMLSssSlateJoinPageElement>;
|
|
640
658
|
"sss-standard-choice-form": LocalJSX.SssStandardChoiceForm & JSXBase.HTMLAttributes<HTMLSssStandardChoiceFormElement>;
|
|
641
659
|
"sss-success": LocalJSX.SssSuccess & JSXBase.HTMLAttributes<HTMLSssSuccessElement>;
|
|
660
|
+
"sss-super-campaign-host": LocalJSX.SssSuperCampaignHost & JSXBase.HTMLAttributes<HTMLSssSuperCampaignHostElement>;
|
|
642
661
|
"sss-super-choice-item-bottom": LocalJSX.SssSuperChoiceItemBottom & JSXBase.HTMLAttributes<HTMLSssSuperChoiceItemBottomElement>;
|
|
643
662
|
"sss-super-choice-item-top": LocalJSX.SssSuperChoiceItemTop & JSXBase.HTMLAttributes<HTMLSssSuperChoiceItemTopElement>;
|
|
644
663
|
"sss-super-choice-page": LocalJSX.SssSuperChoicePage & JSXBase.HTMLAttributes<HTMLSssSuperChoicePageElement>;
|