@flarehr/apollo-super-selection 4.46.37542 → 4.48.40560
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.esm.js +1 -1
- package/dist/lib/apollo-super-selection/p-3f846618.entry.js +14 -0
- package/dist/lib/apollo-super-selection/p-551a0927.system.entry.js +69 -0
- package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +1 -1
- package/dist/lib/cjs/sss-button_40.cjs.entry.js +1600 -1545
- package/dist/lib/collection/components/super-selection-app/api/super-selection.api.dto.js +14 -0
- package/dist/lib/collection/components/super-selection-app/api/super-selection.api.js +1 -0
- package/dist/lib/collection/components/super-selection-app/consent/consent.js +10 -1
- package/dist/lib/collection/components/super-selection-app/existing-choice/existing-choice.js +16 -3
- package/dist/lib/collection/components/super-selection-app/funds/constants.js +4 -0
- package/dist/lib/collection/components/super-selection-app/services/existing-super-choice-info.service.js +14 -2
- package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +4 -1
- package/dist/lib/collection/components/super-selection-app/services/super-selection.store.js +1 -1
- package/dist/lib/collection/components/super-selection-app/super-selection-app.js +7 -2
- package/dist/lib/esm/sss-button_40.entry.js +1600 -1545
- package/dist/lib/esm-es5/sss-button_40.entry.js +3 -3
- package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +3 -1
- package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +17 -1
- package/dist/lib/types/components/super-selection-app/funds/constants.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/services/existing-super-choice-info.service.d.ts +8 -1
- package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/services/super-selection.store.d.ts +1 -1
- package/package.json +1 -1
- package/dist/lib/apollo-super-selection/p-dbf92bab.system.entry.js +0 -69
- package/dist/lib/apollo-super-selection/p-dea3ba3b.entry.js +0 -14
|
@@ -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>;
|
|
@@ -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,12 @@ 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
|
+
};
|
|
95
108
|
export declare type PrefillOwnFundChoiceDto = {
|
|
96
109
|
fundDetail: {
|
|
97
110
|
type: 'Valid';
|
|
@@ -138,6 +151,9 @@ declare type SuperChoiceDetailsDto = {
|
|
|
138
151
|
} | {
|
|
139
152
|
kind: 'PromotedDefault';
|
|
140
153
|
promotedDefault: PromotedDefaultFundChoiceDto;
|
|
154
|
+
} | {
|
|
155
|
+
kind: 'DefinedBenefits';
|
|
156
|
+
definedBenefits: DefinedBenefitsChoiceDto;
|
|
141
157
|
};
|
|
142
158
|
export declare function hydrateSuperChoiceDetailsDtoKind(dto: SuperChoiceDetailsDto): void;
|
|
143
159
|
declare type SuperChoiceDto = {
|
|
@@ -186,7 +202,7 @@ export declare type AppStateDto = {
|
|
|
186
202
|
profileConfiguration: ProfileConfigurationDto;
|
|
187
203
|
promotedFunds: string[];
|
|
188
204
|
campaignConnectEnabled: boolean;
|
|
189
|
-
|
|
205
|
+
isDefinedBenefitsEligible: boolean | null;
|
|
190
206
|
prefill: SuperChoicePrefillDto | null;
|
|
191
207
|
};
|
|
192
208
|
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>;
|
|
@@ -39,7 +39,14 @@ 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 ExistingFund = PromotedFund | MyOwnFund | SelfManagedFund | DefaultFund | PromotedDefaultFund | DefinedBenefitsFund;
|
|
43
50
|
export declare type RetainSuperFundDto = {
|
|
44
51
|
fundType: string;
|
|
45
52
|
fundName?: string;
|
package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export declare class SuperSelectionAppService {
|
|
|
27
27
|
completeSuperSelectionFlow(): void;
|
|
28
28
|
markSuperSelectionAsSubmitted(): void;
|
|
29
29
|
get campaignConnectEnabled(): boolean;
|
|
30
|
+
get isDefinedBenefitsEligible(): O.Option<boolean>;
|
|
30
31
|
loadAppStateAsync(): Promise<void>;
|
|
31
32
|
startLoadingCampaignConnectAsync(): Promise<void>;
|
|
32
33
|
completeCampaignConnectRequestSafe(): Promise<void>;
|
|
@@ -14,7 +14,7 @@ export declare type AppContextState = {
|
|
|
14
14
|
hasSuperSelectionBeenSubmitted: boolean;
|
|
15
15
|
campaignConnectEnabled: boolean;
|
|
16
16
|
campaignConnectPromise: O.Option<Promise<CampaignConnectDto>>;
|
|
17
|
-
|
|
17
|
+
isDefinedBenefitsEligible: O.Option<boolean>;
|
|
18
18
|
campaignConnect: O.Option<CampaignConnectDto>;
|
|
19
19
|
};
|
|
20
20
|
export declare const initialState: AppContextState;
|