@flarehr/apollo-super-selection 1.2.32739 → 1.3.89
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-42d24a38.entry.js +14 -0
- package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +1 -1
- package/dist/lib/apollo-super-selection/p-fc0b7567.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_30.cjs.entry.js → sss-button_34.cjs.entry.js} +6510 -5652
- package/dist/lib/collection/apollo-super-selection.css +1 -1
- package/dist/lib/collection/collection-manifest.json +25 -17
- package/dist/lib/collection/components/app-host/services/appinsights.service.js +3 -0
- package/dist/lib/collection/components/app-host/super-selection-app-host.css +6 -6
- package/dist/lib/collection/components/super-campaign/fund-tile-clicked.handler.js +49 -0
- package/dist/lib/collection/components/super-campaign/promoted-fund-joined.handler.js +121 -0
- package/dist/lib/collection/components/super-campaign/super-campaign-types.js +6 -0
- package/dist/lib/collection/components/super-campaign/super-campaign.js +213 -0
- package/dist/lib/collection/components/super-selection-app/api/super-campaign-errors-api.js +9 -0
- package/dist/lib/collection/components/super-selection-app/api/super-campaign-errors.api.dtos.js +1 -0
- package/dist/lib/collection/components/super-selection-app/api/super-selection-events.model.js +16 -1
- package/dist/lib/collection/components/super-selection-app/api/super-selection.api.dto.js +71 -22
- package/dist/lib/collection/components/super-selection-app/api/super-selection.api.js +5 -9
- package/dist/lib/collection/components/super-selection-app/app-state-pages/success.js +11 -1
- package/dist/lib/collection/components/super-selection-app/choice/choice-router.js +42 -0
- package/dist/lib/collection/components/super-selection-app/existing-choice/existing-choice.js +26 -15
- package/dist/lib/collection/components/super-selection-app/footer-section/footer-section.js +15 -15
- 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/custom-fund/custom-fund.js +30 -7
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/custom-fund.store.js +6 -23
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/default-fund/default-fund.js +8 -3
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/featured-funds/super-campaign-featured-funds.js +113 -0
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/featured-funds/super-campaign-featured-funds.types.js +1 -0
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/member-name-input.js +19 -5
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-engagement-step-types.js +1 -0
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-engagement-step.js +115 -0
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-inputs.js +4 -4
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.js +16 -4
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.js +32 -17
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.js +8 -3
- 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/slate-super/api/slate.js +4 -0
- package/dist/lib/collection/components/super-selection-app/header-section/header-section.js +8 -38
- package/dist/lib/collection/components/super-selection-app/misc/button.js +20 -2
- package/dist/lib/collection/components/super-selection-app/misc/dropdown-async.js +18 -1
- package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-common.js +22 -0
- package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-display-field.js +42 -0
- package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-error-box.js +66 -0
- package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-invalid-my-own-fund.js +121 -0
- package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-invalid-smsf.js +145 -0
- package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-my-own-fund.js +223 -0
- package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-smsf.js +398 -0
- package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-types.js +288 -0
- package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-warning-box.js +37 -0
- package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill.js +81 -0
- package/dist/lib/collection/components/super-selection-app/services/event-tracking.service.js +30 -25
- package/dist/lib/collection/components/super-selection-app/services/existing-super-choice-info.service.js +29 -7
- 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.routes.js +17 -9
- package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +69 -20
- package/dist/lib/collection/components/super-selection-app/services/super-selection.store.js +31 -3
- package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.js +75 -12
- package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.store.js +1 -0
- package/dist/lib/collection/components/super-selection-app/super-selection-app.js +14 -20
- package/dist/lib/esm/apollo-super-selection.js +1 -1
- package/dist/lib/esm/loader.js +1 -1
- package/dist/lib/esm/{sss-button_30.entry.js → sss-button_34.entry.js} +7864 -7030
- 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_34.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/fund-tile-clicked.handler.d.ts +12 -0
- package/dist/lib/types/components/super-campaign/promoted-fund-joined.handler.d.ts +15 -0
- package/dist/lib/types/components/super-campaign/super-campaign-types.d.ts +98 -0
- package/dist/lib/types/components/super-campaign/super-campaign.d.ts +28 -0
- package/dist/lib/types/components/super-selection-app/api/super-campaign-errors-api.d.ts +6 -0
- package/dist/lib/types/components/super-selection-app/api/super-campaign-errors.api.dtos.d.ts +7 -0
- package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +83 -32
- package/dist/lib/types/components/super-selection-app/api/super-selection.api.d.ts +2 -2
- package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +88 -8
- package/dist/lib/types/components/super-selection-app/app-state-pages/success.d.ts +3 -0
- package/dist/lib/types/components/super-selection-app/{funds/promoted-fund/promoted-fund-join-v1-page.d.ts → choice/choice-router.d.ts} +2 -1
- package/dist/lib/types/components/super-selection-app/footer-section/footer-section.d.ts +1 -2
- 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 +16 -12
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/custom-fund.store.d.ts +6 -9
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/featured-funds/super-campaign-featured-funds.d.ts +18 -0
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/featured-funds/super-campaign-featured-funds.types.d.ts +26 -0
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/member-name-input.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-engagement-step-types.d.ts +15 -0
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-engagement-step.d.ts +20 -0
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.d.ts +1 -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 +16 -15
- package/dist/lib/types/components/super-selection-app/funds/slate-super/api/slate-choice.api.dto.d.ts +3 -5
- package/dist/lib/types/components/super-selection-app/funds/slate-super/api/slate.d.ts +4 -0
- package/dist/lib/types/components/super-selection-app/header-section/header-section.d.ts +0 -1
- package/dist/lib/types/components/super-selection-app/misc/button.d.ts +2 -1
- package/dist/lib/types/components/super-selection-app/misc/dropdown-async.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-common.d.ts +9 -0
- package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-display-field.d.ts +5 -0
- package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-error-box.d.ts +5 -0
- package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-invalid-my-own-fund.d.ts +18 -0
- package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-invalid-smsf.d.ts +28 -0
- package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-my-own-fund.d.ts +30 -0
- package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-smsf.d.ts +52 -0
- package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-types.d.ts +95 -0
- package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-warning-box.d.ts +4 -0
- package/dist/lib/types/components/super-selection-app/prefill-fund/prefill.d.ts +14 -0
- package/dist/lib/types/components/super-selection-app/services/event-tracking.service.d.ts +6 -5
- 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/navigation.service.d.ts +2 -0
- package/dist/lib/types/components/super-selection-app/services/super-selection-app.routes.d.ts +8 -4
- package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts +18 -9
- package/dist/lib/types/components/super-selection-app/services/super-selection.store.d.ts +22 -4
- package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.d.ts +5 -0
- package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.store.d.ts +34 -0
- package/dist/lib/types/components/super-selection-app/super-selection-app.d.ts +0 -2
- package/dist/lib/types/components.d.ts +172 -115
- package/package.json +3 -3
- package/dist/lib/apollo-super-selection/assets/icon-check.svg +0 -3
- package/dist/lib/apollo-super-selection/assets/logo-active.svg +0 -1
- package/dist/lib/apollo-super-selection/assets/logo-art.svg +0 -7
- package/dist/lib/apollo-super-selection/assets/logo-aus-eth.svg +0 -31
- package/dist/lib/apollo-super-selection/assets/logo-aware.svg +0 -1
- package/dist/lib/apollo-super-selection/assets/logo-first.svg +0 -15
- package/dist/lib/apollo-super-selection/assets/logo-hesta.svg +0 -5
- package/dist/lib/apollo-super-selection/assets/logo-mercer-mychoice.svg +0 -1
- package/dist/lib/apollo-super-selection/assets/logo-slate.png +0 -0
- package/dist/lib/apollo-super-selection/assets/logo-spirit.svg +0 -141
- package/dist/lib/apollo-super-selection/assets/logo-virgin.svg +0 -8
- package/dist/lib/apollo-super-selection/p-74878c94.entry.js +0 -14
- package/dist/lib/apollo-super-selection/p-823c6c2c.system.entry.js +0 -69
- package/dist/lib/collection/components/super-selection-app/assets/icon-check.svg +0 -3
- package/dist/lib/collection/components/super-selection-app/consent/consent.js +0 -54
- package/dist/lib/collection/components/super-selection-app/funds/constants.js +0 -33
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/active.js +0 -26
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/australian-ethical.js +0 -43
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/australian-retirement-trust.js +0 -32
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/aware.js +0 -27
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/first.js +0 -27
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/hesta-default.js +0 -41
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/mercermychoice.js +0 -32
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/slate.js +0 -32
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/spirit.js +0 -43
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/virgin.js +0 -36
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund-join-v1-page.js +0 -30
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund-join-v2-page.js +0 -30
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund.store.js +0 -8
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v1-iframe-builder.js +0 -115
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.js +0 -131
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/types.js +0 -14
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/services/slate-iframe-builder.js +0 -136
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-join-page.js +0 -30
- package/dist/lib/collection/components/super-selection-app/misc/iframe-host.js +0 -32
- package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-active.svg +0 -1
- package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-art.svg +0 -7
- package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-aus-eth.svg +0 -31
- package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-aware.svg +0 -1
- package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-first.svg +0 -15
- package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-hesta.svg +0 -5
- package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-mercer-mychoice.svg +0 -1
- package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-slate.png +0 -0
- package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-spirit.svg +0 -141
- package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-virgin.svg +0 -8
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-bottom.js +0 -112
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-top.js +0 -136
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +0 -181
- package/dist/lib/esm-es5/sss-button_30.entry.js +0 -69
- package/dist/lib/types/components/super-selection-app/consent/consent.d.ts +0 -8
- package/dist/lib/types/components/super-selection-app/funds/constants.d.ts +0 -8
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/active.d.ts +0 -3
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/australian-ethical.d.ts +0 -3
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/australian-retirement-trust.d.ts +0 -3
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/aware.d.ts +0 -3
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/first.d.ts +0 -3
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/hesta-default.d.ts +0 -3
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/mercermychoice.d.ts +0 -3
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/slate.d.ts +0 -4
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/spirit.d.ts +0 -3
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/virgin.d.ts +0 -3
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund-join-v2-page.d.ts +0 -5
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund.store.d.ts +0 -8
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v1-iframe-builder.d.ts +0 -10
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.d.ts +0 -9
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/types.d.ts +0 -24
- package/dist/lib/types/components/super-selection-app/funds/slate-super/services/slate-iframe-builder.d.ts +0 -14
- package/dist/lib/types/components/super-selection-app/funds/slate-super/slate-join-page.d.ts +0 -5
- package/dist/lib/types/components/super-selection-app/misc/iframe-host.d.ts +0 -6
- package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-bottom.d.ts +0 -10
- package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-top.d.ts +0 -10
- package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-page.d.ts +0 -11
- package/readme.md +0 -41
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PlacementId } from '../super-selection-app/api/super-selection.api.dto';
|
|
2
|
+
import { FeaturedFundsSender, Sender, ShownFundType } from './super-campaign-types';
|
|
3
|
+
declare type FundTileClickedArgs = {
|
|
4
|
+
sender: Sender | FeaturedFundsSender;
|
|
5
|
+
placementId: PlacementId;
|
|
6
|
+
fundId: string;
|
|
7
|
+
fundUsi?: string;
|
|
8
|
+
fundName: string;
|
|
9
|
+
fundType: ShownFundType;
|
|
10
|
+
};
|
|
11
|
+
export declare const fundTileClicked: ({ sender, placementId, fundId, fundUsi, fundName, fundType }: FundTileClickedArgs) => Promise<void>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { RouterHistory } from '@stencil/router';
|
|
2
|
+
import { PlacementId } from '../super-selection-app/api/super-selection.api.dto';
|
|
3
|
+
import { PromotedFundJoinedEvent } from './super-campaign-types';
|
|
4
|
+
export declare class PromotedFundJoinedEventHandler {
|
|
5
|
+
private readonly history;
|
|
6
|
+
private readonly placementId;
|
|
7
|
+
constructor(placementId: PlacementId, history: RouterHistory);
|
|
8
|
+
handle: (event: CustomEvent<PromotedFundJoinedEvent>) => Promise<void>;
|
|
9
|
+
private stringIsNullOrEmtpty;
|
|
10
|
+
private get PromotedFundsConfig();
|
|
11
|
+
private handlePromotedFundJoined;
|
|
12
|
+
private handlePromotedDefaultFundJoined;
|
|
13
|
+
private handlePromotedDefaultFundWithJoinWasJoined;
|
|
14
|
+
private handleDefinedBenefitsJoined;
|
|
15
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
export declare type Sender = 'super-campaign';
|
|
2
|
+
export declare type SuperCampaignCommonEventPayload = {
|
|
3
|
+
sender: Sender;
|
|
4
|
+
};
|
|
5
|
+
export declare type SuperCampaignLoadedEvent = SuperCampaignCommonEventPayload & {
|
|
6
|
+
type: 'super-campaign-loaded';
|
|
7
|
+
};
|
|
8
|
+
export declare type SuperCampaignLoadFailedEvent = SuperCampaignCommonEventPayload & {
|
|
9
|
+
type: 'super-campaign-load-failed';
|
|
10
|
+
reason: string;
|
|
11
|
+
};
|
|
12
|
+
export declare type SuperCampaignFailedEvent = SuperCampaignCommonEventPayload & {
|
|
13
|
+
type: 'super-campaign-failed';
|
|
14
|
+
reason: string;
|
|
15
|
+
};
|
|
16
|
+
export declare type ChooseAnotherFundRequestedEvent = SuperCampaignCommonEventPayload & {
|
|
17
|
+
type: 'choose-another-fund-requested';
|
|
18
|
+
};
|
|
19
|
+
export declare type FundsPanelShownEvent = SuperCampaignCommonEventPayload & {
|
|
20
|
+
type: 'fund-panel-shown';
|
|
21
|
+
shownFunds: Array<ShownFund>;
|
|
22
|
+
};
|
|
23
|
+
export declare type FundTileClickedEvent = SuperCampaignCommonEventPayload & {
|
|
24
|
+
type: 'fund-tile-clicked';
|
|
25
|
+
fundId: string;
|
|
26
|
+
fundUsi?: string;
|
|
27
|
+
fundName: string;
|
|
28
|
+
fundType: ShownFundType;
|
|
29
|
+
};
|
|
30
|
+
export declare type FundPdsViewedEvent = SuperCampaignCommonEventPayload & {
|
|
31
|
+
type: 'fund-pds-viewed';
|
|
32
|
+
fundUsi?: string;
|
|
33
|
+
fundName: string;
|
|
34
|
+
pageName: string;
|
|
35
|
+
};
|
|
36
|
+
export declare type DisclaimerViewedEvent = SuperCampaignCommonEventPayload & {
|
|
37
|
+
type: 'disclaimer-viewed';
|
|
38
|
+
};
|
|
39
|
+
export declare type DisclaimerAcceptedEvent = SuperCampaignCommonEventPayload & {
|
|
40
|
+
type: 'disclaimer-accepted';
|
|
41
|
+
};
|
|
42
|
+
export declare type FeaturedFundsSender = 'featured-funds';
|
|
43
|
+
export declare type PromotedFundJoinedEvent = {
|
|
44
|
+
sender: Sender | FeaturedFundsSender;
|
|
45
|
+
type: 'promoted-fund-joined';
|
|
46
|
+
fundJoinInfo: FundJoinInfo;
|
|
47
|
+
};
|
|
48
|
+
export declare type PromotedFundJoinInfo = {
|
|
49
|
+
fundType: 'Promoted';
|
|
50
|
+
fundId: string;
|
|
51
|
+
fundName: string;
|
|
52
|
+
usi: string;
|
|
53
|
+
memberNumber: string;
|
|
54
|
+
memberFirstName?: string;
|
|
55
|
+
memberFamilyName?: string;
|
|
56
|
+
};
|
|
57
|
+
export declare type PromotedDefaultFundJoinInfo = {
|
|
58
|
+
fundType: 'PromotedDefault';
|
|
59
|
+
fundId: string;
|
|
60
|
+
fundName: string;
|
|
61
|
+
usi: string;
|
|
62
|
+
};
|
|
63
|
+
export declare type PromotedDefaultFundWithJoinInfo = {
|
|
64
|
+
fundType: 'PromotedDefaultWithJoin';
|
|
65
|
+
fundId: string;
|
|
66
|
+
fundName: string;
|
|
67
|
+
usi: string;
|
|
68
|
+
memberNumber: string;
|
|
69
|
+
memberFirstName: string;
|
|
70
|
+
memberFamilyName: string;
|
|
71
|
+
};
|
|
72
|
+
export declare type DefinedBenefitsJoinInfo = {
|
|
73
|
+
fundType: 'DefinedBenefits';
|
|
74
|
+
fundId: string;
|
|
75
|
+
fundName: string;
|
|
76
|
+
usi: string;
|
|
77
|
+
memberNumber: string;
|
|
78
|
+
memberElectContributionRatePreTax: number;
|
|
79
|
+
memberElectContributionRatePostTax: number;
|
|
80
|
+
};
|
|
81
|
+
export declare type FundJoinInfo = PromotedFundJoinInfo | PromotedDefaultFundJoinInfo | PromotedDefaultFundWithJoinInfo | DefinedBenefitsJoinInfo;
|
|
82
|
+
export declare type JoinedFundType = FundJoinInfo['fundType'];
|
|
83
|
+
export declare type ShownFund = {
|
|
84
|
+
fundId: string;
|
|
85
|
+
fundType: ShownFundType;
|
|
86
|
+
};
|
|
87
|
+
export declare type ShownFundType = 'promoted' | 'promoted-default' | 'defined-benefits';
|
|
88
|
+
export declare type EventPayload = SuperCampaignLoadedEvent | SuperCampaignLoadFailedEvent | SuperCampaignFailedEvent | ChooseAnotherFundRequestedEvent | FundsPanelShownEvent | FundTileClickedEvent | FundPdsViewedEvent | DisclaimerViewedEvent | DisclaimerAcceptedEvent | PromotedFundJoinedEvent;
|
|
89
|
+
export declare type EventType = EventPayload['type'];
|
|
90
|
+
export declare type EventHandlers = {
|
|
91
|
+
[k in EventType]: (event: CustomEvent<Extract<EventPayload, {
|
|
92
|
+
type: k;
|
|
93
|
+
}>>) => Promise<void>;
|
|
94
|
+
};
|
|
95
|
+
export declare const Usi: {
|
|
96
|
+
clean: (usi: string) => string;
|
|
97
|
+
};
|
|
98
|
+
export declare const LoadWaitingTimeout = 30000;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { RouterHistory } from '@stencil/router';
|
|
2
|
+
export declare class SuperCampaignHost {
|
|
3
|
+
history: RouterHistory;
|
|
4
|
+
private scriptImported;
|
|
5
|
+
private backendUrl;
|
|
6
|
+
private accessToken;
|
|
7
|
+
private loadingTimeoutRef;
|
|
8
|
+
private superCampaignEventHandlers;
|
|
9
|
+
constructor();
|
|
10
|
+
componentWillLoad(): Promise<void>;
|
|
11
|
+
disconnectedCallback(): void;
|
|
12
|
+
render(): Element[];
|
|
13
|
+
private activateFallbackMechanism;
|
|
14
|
+
private superCampaignLoadingTimeoutTriggered;
|
|
15
|
+
private createApolloSuperCampaignScriptUrl;
|
|
16
|
+
private getEnvironmentTag;
|
|
17
|
+
private subscribeToSuperCampaignEvents;
|
|
18
|
+
private unSubscribeFromSuperCampaignEvents;
|
|
19
|
+
private superCampaignLoaded;
|
|
20
|
+
private superCampaignLoadFailed;
|
|
21
|
+
private superCampaignFailed;
|
|
22
|
+
private chooseAnotherFundRequested;
|
|
23
|
+
private fundPanelShown;
|
|
24
|
+
private fundTileClicked;
|
|
25
|
+
private fundPdsViewed;
|
|
26
|
+
private disclaimerViewed;
|
|
27
|
+
private disclaimerAccepted;
|
|
28
|
+
}
|
|
@@ -1,27 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
fundUsi: string;
|
|
3
|
-
fundName: string;
|
|
4
|
-
financialProduct: string;
|
|
5
|
-
};
|
|
1
|
+
import { PlacementId } from './super-selection.api.dto';
|
|
6
2
|
export declare type SuperFundPdsViewedDetail = {
|
|
7
3
|
fundUsi?: string;
|
|
8
4
|
fundName: string;
|
|
9
5
|
pageName: string;
|
|
10
|
-
|
|
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;
|
|
6
|
+
superCampaignEnabled: boolean;
|
|
25
7
|
};
|
|
26
8
|
export declare type ViewedPromotedFundDetail = {
|
|
27
9
|
fundUsi?: string;
|
|
@@ -29,13 +11,18 @@ export declare type ViewedPromotedFundDetail = {
|
|
|
29
11
|
promotedFundId: string;
|
|
30
12
|
promotedFundsShown: Array<string>;
|
|
31
13
|
defaultFundUsiSet?: string;
|
|
14
|
+
superCampaignEnabled: boolean;
|
|
15
|
+
placementId: PlacementId;
|
|
32
16
|
};
|
|
17
|
+
export declare type FundDetailChangeRequested = Omit<ViewedDefaultFundDetail, 'superCampaignEnabled'>;
|
|
33
18
|
export declare type ViewedPromotedDefaultFundDetail = {
|
|
34
19
|
fundUsi: string;
|
|
35
20
|
fundName: string;
|
|
36
21
|
promotedFundId: string;
|
|
37
22
|
promotedFundsShown: Array<string>;
|
|
38
23
|
defaultFundUsiSet?: string;
|
|
24
|
+
superCampaignEnabled: boolean;
|
|
25
|
+
placementId: PlacementId;
|
|
39
26
|
};
|
|
40
27
|
export declare type ViewedMyOwnFundDetail = {
|
|
41
28
|
promotedFundsShown: Array<string>;
|
|
@@ -59,6 +46,22 @@ export declare type SuperFundNominationViewedDetail = {
|
|
|
59
46
|
fundStatus: string;
|
|
60
47
|
lastNominatedAt: string;
|
|
61
48
|
};
|
|
49
|
+
export declare type SuperFundPrefillViewedDetail = {
|
|
50
|
+
fundType: string;
|
|
51
|
+
isUsiValid?: boolean;
|
|
52
|
+
isMemberNumberPresent?: boolean;
|
|
53
|
+
isMemberFirstNamePresent: boolean;
|
|
54
|
+
isMemberLastNamePresent: boolean;
|
|
55
|
+
isAbnValid?: boolean;
|
|
56
|
+
};
|
|
57
|
+
export declare type SuperFundPrefillDeclinedDetail = {
|
|
58
|
+
fundType: string;
|
|
59
|
+
isUsiValid?: boolean;
|
|
60
|
+
isMemberNumberPresent?: boolean;
|
|
61
|
+
isMemberFirstNamePresent: boolean;
|
|
62
|
+
isMemberLastNamePresent: boolean;
|
|
63
|
+
isAbnValid?: boolean;
|
|
64
|
+
};
|
|
62
65
|
export declare type SuperFundNominationDeclinedDetail = {
|
|
63
66
|
fundType: string;
|
|
64
67
|
fundName?: string;
|
|
@@ -67,11 +70,15 @@ export declare type SuperFundNominationDeclinedDetail = {
|
|
|
67
70
|
fundStatus: string;
|
|
68
71
|
lastNominatedAt: string;
|
|
69
72
|
};
|
|
70
|
-
export declare type SuperFundDisclaimerViewedDetail =
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
export declare type SuperFundDisclaimerViewedDetail = {
|
|
74
|
+
isDefinedBenefitsEligible: string;
|
|
75
|
+
superCampaignEnabled: boolean;
|
|
76
|
+
};
|
|
77
|
+
export declare const SuperFundDisclaimerViewedDetail: {
|
|
78
|
+
create: (superCampaignEnabled: boolean) => SuperFundDisclaimerViewedDetail;
|
|
79
|
+
};
|
|
80
|
+
export declare type SuperFundDisclaimerAcceptedDetail = {
|
|
81
|
+
superCampaignEnabled: boolean;
|
|
75
82
|
};
|
|
76
83
|
export declare type SuperFundDetailViewedDetail = {
|
|
77
84
|
PromotedFund: ViewedPromotedFundDetail;
|
|
@@ -84,20 +91,50 @@ export declare type SuperFundDetailViewedDetail = {
|
|
|
84
91
|
} | {
|
|
85
92
|
DefaultFund: ViewedDefaultFundDetail;
|
|
86
93
|
};
|
|
87
|
-
export declare type
|
|
88
|
-
|
|
94
|
+
export declare type SuperFundDetailChangeRequested = {
|
|
95
|
+
PromotedFund: {
|
|
96
|
+
memberNumber: string;
|
|
97
|
+
} & FundDetailChangeRequested;
|
|
89
98
|
} | {
|
|
90
|
-
|
|
99
|
+
PromotedDefaultFund: FundDetailChangeRequested;
|
|
100
|
+
} | {
|
|
101
|
+
PromotedDefaultFundWithJoin: {
|
|
102
|
+
memberNumber: string;
|
|
103
|
+
} & FundDetailChangeRequested;
|
|
91
104
|
} | {
|
|
92
|
-
|
|
105
|
+
MyOwnFund: {
|
|
106
|
+
fundName: string;
|
|
107
|
+
fundUsi: string;
|
|
108
|
+
memberNumber: string;
|
|
109
|
+
} & ViewedMyOwnFundDetail;
|
|
93
110
|
} | {
|
|
94
|
-
|
|
111
|
+
Smsf: {
|
|
112
|
+
fundName: string;
|
|
113
|
+
fundEsa: string;
|
|
114
|
+
} & ViewedSmsfDetail;
|
|
95
115
|
} | {
|
|
96
|
-
|
|
116
|
+
DefaultFund: ViewedDefaultFundDetail;
|
|
117
|
+
};
|
|
118
|
+
export declare type SuperCampaignActivationFailedDetail = {
|
|
119
|
+
reason: string;
|
|
120
|
+
};
|
|
121
|
+
export declare type SuperCampaignOperationFailedDetail = {
|
|
122
|
+
reason: string;
|
|
123
|
+
};
|
|
124
|
+
export declare type SuperCampaignActivationSucceededDetail = Record<string, never>;
|
|
125
|
+
export declare type SuperMyOwnFundEngagementStepActivationSucceededDetail = {
|
|
126
|
+
fundUsi: string;
|
|
127
|
+
};
|
|
128
|
+
export declare type SuperMyOwnFundEngagementStepContinuedDetail = {
|
|
129
|
+
fundUsi: string;
|
|
130
|
+
reason: string;
|
|
131
|
+
};
|
|
132
|
+
export declare type SuperSelectionAnalyticsEvent = {
|
|
133
|
+
SuperFundPdsViewed: SuperFundPdsViewedDetail;
|
|
97
134
|
} | {
|
|
98
135
|
SuperFundDetailViewed: SuperFundDetailViewedDetail;
|
|
99
136
|
} | {
|
|
100
|
-
|
|
137
|
+
SuperFundDetailChangeRequested: SuperFundDetailChangeRequested;
|
|
101
138
|
} | {
|
|
102
139
|
SuperFundNominationViewed: SuperFundNominationViewedDetail;
|
|
103
140
|
} | {
|
|
@@ -106,6 +143,20 @@ export declare type SuperSelectionAnalyticsEvent = {
|
|
|
106
143
|
SuperFundDisclaimerViewed: SuperFundDisclaimerViewedDetail;
|
|
107
144
|
} | {
|
|
108
145
|
SuperFundDisclaimerAccepted: SuperFundDisclaimerAcceptedDetail;
|
|
146
|
+
} | {
|
|
147
|
+
SuperFundPrefillViewed: SuperFundPrefillViewedDetail;
|
|
148
|
+
} | {
|
|
149
|
+
SuperFundPrefillDeclined: SuperFundPrefillDeclinedDetail;
|
|
150
|
+
} | {
|
|
151
|
+
SuperCampaignActivationSucceeded: SuperCampaignActivationSucceededDetail;
|
|
152
|
+
} | {
|
|
153
|
+
SuperCampaignActivationFailed: SuperCampaignActivationFailedDetail;
|
|
154
|
+
} | {
|
|
155
|
+
SuperCampaignOperationFailed: SuperCampaignOperationFailedDetail;
|
|
156
|
+
} | {
|
|
157
|
+
SuperMyOwnFundEngagementStepActivationSucceeded: SuperMyOwnFundEngagementStepActivationSucceededDetail;
|
|
158
|
+
} | {
|
|
159
|
+
SuperMyOwnFundEngagementStepContinued: SuperMyOwnFundEngagementStepContinuedDetail;
|
|
109
160
|
};
|
|
110
161
|
export declare type SuperSelectionEventDto = {
|
|
111
162
|
event: SuperSelectionAnalyticsEvent;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AppStateDto, AustralianFundDto, AustralianFundsLookupResponseDto,
|
|
1
|
+
import { AppStateDto, AustralianFundDto, AustralianFundsLookupResponseDto, ClickPromotedTileDto, ViewSuperFundPanelDto } from './super-selection.api.dto';
|
|
2
2
|
export declare type SuperFundSearchFilter = {
|
|
3
3
|
searchString: string;
|
|
4
4
|
maxRecordCount: number;
|
|
@@ -7,8 +7,8 @@ export declare class SuperSelectionApi {
|
|
|
7
7
|
getAustralianFundsAsync(searchFilter: SuperFundSearchFilter, includeInactive?: boolean): Promise<AustralianFundsLookupResponseDto>;
|
|
8
8
|
getAustralianFundAsync(usi: string, includeInactive: boolean): Promise<AustralianFundDto>;
|
|
9
9
|
getAppStateAsync(): Promise<AppStateDto>;
|
|
10
|
-
getCampaignConnectAsync(): Promise<CampaignConnectDto>;
|
|
11
10
|
clickPromotedTileAsync(payload: ClickPromotedTileDto): Promise<void>;
|
|
11
|
+
viewSuperFundPanelAsync(payload: ViewSuperFundPanelDto): Promise<void>;
|
|
12
12
|
private toSearchFilterQueryString;
|
|
13
13
|
private toQueryString;
|
|
14
14
|
}
|
|
@@ -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 = {
|
|
@@ -73,8 +72,16 @@ declare type PromotedFundChoiceDto = {
|
|
|
73
72
|
usi: string;
|
|
74
73
|
memberNumber: string;
|
|
75
74
|
};
|
|
75
|
+
} | {
|
|
76
|
+
kind: 'generic';
|
|
77
|
+
generic: {
|
|
78
|
+
fundId: string;
|
|
79
|
+
usi: string;
|
|
80
|
+
memberNumber: string;
|
|
81
|
+
};
|
|
76
82
|
};
|
|
77
83
|
export declare function hydratePromotedFundChoiceDtoKind(dto: PromotedFundChoiceDto): void;
|
|
84
|
+
export declare function getPromotedFundId(dto: PromotedFundChoiceDto): string;
|
|
78
85
|
export declare function getSuperChoiceUsi(dto: SuperChoiceDetailsDto): Option<string>;
|
|
79
86
|
export declare function getSuperChoiceMemberNumber(dto: SuperChoiceDetailsDto): Option<string>;
|
|
80
87
|
declare type OwnFundChoiceDto = {
|
|
@@ -93,6 +100,50 @@ declare type SMSFChoiceDto = {
|
|
|
93
100
|
fundName: string;
|
|
94
101
|
electronicServiceAddress: string;
|
|
95
102
|
};
|
|
103
|
+
declare type DefinedBenefitsChoiceDto = {
|
|
104
|
+
usi: string;
|
|
105
|
+
memberNumber: string;
|
|
106
|
+
memberElectContributionRatePreTax: number;
|
|
107
|
+
memberElectContributionRatePostTax: number;
|
|
108
|
+
};
|
|
109
|
+
declare type PromotedDefaultWithJoinFundChoiceDto = {
|
|
110
|
+
usi: string;
|
|
111
|
+
fundId: string;
|
|
112
|
+
memberNumber: string;
|
|
113
|
+
memberFirstName: string | null;
|
|
114
|
+
memberFamilyName: string | null;
|
|
115
|
+
};
|
|
116
|
+
export declare type PrefillOwnFundChoiceDto = {
|
|
117
|
+
fundDetail: {
|
|
118
|
+
type: 'Valid';
|
|
119
|
+
fundUsi: string;
|
|
120
|
+
fundName: string;
|
|
121
|
+
} | {
|
|
122
|
+
type: 'Invalid';
|
|
123
|
+
fundUsi: string;
|
|
124
|
+
};
|
|
125
|
+
memberNumber: string | null;
|
|
126
|
+
memberFirstName: string | null;
|
|
127
|
+
memberFamilyName: string | null;
|
|
128
|
+
};
|
|
129
|
+
export declare type PrefillSMSFChoiceDto = {
|
|
130
|
+
fundAbn: {
|
|
131
|
+
valid: boolean;
|
|
132
|
+
value: string;
|
|
133
|
+
};
|
|
134
|
+
fundName: string | null;
|
|
135
|
+
addressLine1: string | null;
|
|
136
|
+
addressLine2: string | null;
|
|
137
|
+
addressCity: string | null;
|
|
138
|
+
addressState: string | null;
|
|
139
|
+
addressPostcode: string | null;
|
|
140
|
+
bankAccountBsb: string | null;
|
|
141
|
+
bankAccountName: string | null;
|
|
142
|
+
bankAccountNumber: string | null;
|
|
143
|
+
electronicServiceAddress: string | null;
|
|
144
|
+
memberFirstName: string | null;
|
|
145
|
+
memberFamilyName: string | null;
|
|
146
|
+
};
|
|
96
147
|
declare type SuperChoiceDetailsDto = {
|
|
97
148
|
kind: 'Promoted';
|
|
98
149
|
promoted: PromotedFundChoiceDto;
|
|
@@ -108,23 +159,42 @@ declare type SuperChoiceDetailsDto = {
|
|
|
108
159
|
} | {
|
|
109
160
|
kind: 'PromotedDefault';
|
|
110
161
|
promotedDefault: PromotedDefaultFundChoiceDto;
|
|
162
|
+
} | {
|
|
163
|
+
kind: 'DefinedBenefits';
|
|
164
|
+
definedBenefits: DefinedBenefitsChoiceDto;
|
|
165
|
+
} | {
|
|
166
|
+
kind: 'PromotedDefaultWithJoin';
|
|
167
|
+
promotedDefaultWithJoin: PromotedDefaultWithJoinFundChoiceDto;
|
|
111
168
|
};
|
|
112
169
|
export declare function hydrateSuperChoiceDetailsDtoKind(dto: SuperChoiceDetailsDto): void;
|
|
113
170
|
declare type SuperChoiceDto = {
|
|
114
171
|
dateSubmitted: string;
|
|
115
172
|
choiceDetails: SuperChoiceDetailsDto;
|
|
116
173
|
};
|
|
174
|
+
export declare type SuperChoicePrefillDto = {
|
|
175
|
+
type: 'myOwnFund';
|
|
176
|
+
data: PrefillOwnFundChoiceDto;
|
|
177
|
+
} | {
|
|
178
|
+
type: 'smsf';
|
|
179
|
+
data: PrefillSMSFChoiceDto;
|
|
180
|
+
};
|
|
117
181
|
export declare type SuperBuyerDto = {
|
|
118
182
|
accountId: string;
|
|
119
183
|
profileId: string;
|
|
120
184
|
partnerId: string;
|
|
121
185
|
userProfile: UserProfileDto;
|
|
122
|
-
tfn: string | null;
|
|
123
186
|
superChoice: SuperChoiceDto | null;
|
|
124
187
|
};
|
|
188
|
+
export declare type FeatureSetDto = {
|
|
189
|
+
type: 'basic';
|
|
190
|
+
} | {
|
|
191
|
+
type: 'promoted';
|
|
192
|
+
};
|
|
193
|
+
export declare type FeatureSetType = FeatureSetDto['type'];
|
|
125
194
|
export declare type AccountConfigurationDto = {
|
|
126
195
|
accountId: string;
|
|
127
196
|
defaultFundUsi: string | null;
|
|
197
|
+
featureSet: FeatureSetDto;
|
|
128
198
|
};
|
|
129
199
|
export declare type ProfileConfigurationDto = {
|
|
130
200
|
defaultFundUsi: string | null;
|
|
@@ -148,20 +218,30 @@ export declare type AppStateDto = {
|
|
|
148
218
|
accountConfiguration: AccountConfigurationDto;
|
|
149
219
|
profileConfiguration: ProfileConfigurationDto;
|
|
150
220
|
promotedFunds: string[];
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
promotedFunds: string[];
|
|
156
|
-
promotedDefaultFundPosition?: number;
|
|
221
|
+
bringYourOwnFundCustomStepEnabled: boolean;
|
|
222
|
+
featuredFundsEnabled: boolean;
|
|
223
|
+
isDefinedBenefitsEligible: boolean | null;
|
|
224
|
+
prefill: SuperChoicePrefillDto | null;
|
|
157
225
|
};
|
|
226
|
+
export declare type PromotedFundsConfigSourceDto = 'superSelection' | 'superCampaign';
|
|
158
227
|
export declare type ClickPromotedTileDto = {
|
|
159
228
|
promoted: {
|
|
160
229
|
fundId: string;
|
|
230
|
+
placementId: PlacementId;
|
|
161
231
|
};
|
|
162
232
|
} | {
|
|
163
233
|
promotedDefault: {
|
|
164
234
|
fundId: string;
|
|
235
|
+
placementId: PlacementId;
|
|
165
236
|
};
|
|
166
237
|
};
|
|
238
|
+
export declare type PromotedFundsConfigDto = {
|
|
239
|
+
shownFunds: string[];
|
|
240
|
+
promotedDefaultFundPosition?: number;
|
|
241
|
+
promotedFundsConfigSource: PromotedFundsConfigSourceDto;
|
|
242
|
+
};
|
|
243
|
+
export declare type PlacementId = 'panel' | 'byof';
|
|
244
|
+
export declare type ViewSuperFundPanelDto = {
|
|
245
|
+
placementId: PlacementId;
|
|
246
|
+
} & PromotedFundsConfigDto;
|
|
167
247
|
export {};
|
|
@@ -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,20 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare type CommonDto = {
|
|
3
|
-
standardChoiceFormSignature: string;
|
|
4
|
-
shownFunds: string[];
|
|
5
|
-
promotedDefaultFundPosition?: number;
|
|
6
|
-
promotedFundsConfigSource: PromotedFundsConfigSourceDto;
|
|
7
|
-
};
|
|
1
|
+
import { PromotedFundsConfigDto } from '../../../api/super-selection.api.dto';
|
|
8
2
|
export declare type MyOwnFundDto = {
|
|
9
3
|
fundUsi: string;
|
|
10
4
|
memberNumber: string;
|
|
11
5
|
memberFirstName: string;
|
|
12
6
|
memberFamilyName: string;
|
|
13
|
-
|
|
14
|
-
|
|
7
|
+
standardChoiceFormSignature: string;
|
|
8
|
+
} & PromotedFundsConfigDto;
|
|
9
|
+
export declare type DefaultFundForm = {
|
|
10
|
+
standardChoiceFormSignature: string;
|
|
11
|
+
} & PromotedFundsConfigDto;
|
|
15
12
|
export declare type AustralianFundAddressDto = {
|
|
16
13
|
addressLine1: string;
|
|
17
|
-
addressLine2
|
|
14
|
+
addressLine2: string | null;
|
|
18
15
|
city: string;
|
|
19
16
|
state: string;
|
|
20
17
|
postcode: string;
|
|
@@ -32,8 +29,15 @@ export declare type SelfManagedFundDto = {
|
|
|
32
29
|
};
|
|
33
30
|
export declare type SelfManagedFundRequestDto = {
|
|
34
31
|
smsfChoice: SelfManagedFundDto;
|
|
35
|
-
|
|
32
|
+
standardChoiceFormSignature: string;
|
|
33
|
+
} & PromotedFundsConfigDto;
|
|
34
|
+
export declare type DefinedBenefitsDto = {
|
|
35
|
+
fundUsi: string;
|
|
36
|
+
fundId: string;
|
|
37
|
+
memberNumber: string;
|
|
38
|
+
memberElectContributionRatePreTax: number;
|
|
39
|
+
memberElectContributionRatePostTax: number;
|
|
40
|
+
} & PromotedFundsConfigDto;
|
|
36
41
|
export declare type AbnUsedForRegulatedFundResponseDto = {
|
|
37
42
|
result: boolean;
|
|
38
43
|
};
|
|
39
|
-
export {};
|
package/dist/lib/types/components/super-selection-app/funds/custom-fund/custom-fund.store.d.ts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import * as O from 'fp-ts/Option';
|
|
2
2
|
import { SelfManagedFundForm } from './self-managed-fund/self-managed-fund.form';
|
|
3
|
-
declare type CustomFundOption = {
|
|
3
|
+
export declare type CustomFundOption = {
|
|
4
4
|
label: CustomFundTypes;
|
|
5
5
|
value: string;
|
|
6
6
|
};
|
|
7
|
-
declare enum CustomFundTypes {
|
|
8
|
-
MyOwnFund = "
|
|
9
|
-
DefaultFund = "
|
|
10
|
-
SelfManagedFund = "
|
|
7
|
+
export declare enum CustomFundTypes {
|
|
8
|
+
MyOwnFund = "Existing super fund",
|
|
9
|
+
DefaultFund = "Default super fund",
|
|
10
|
+
SelfManagedFund = "Self-managed super fund",
|
|
11
|
+
FeaturedFunds = "Featured super funds"
|
|
11
12
|
}
|
|
12
13
|
export declare type MyOwnFundFormState = {
|
|
13
14
|
fundUsi: O.Option<string>;
|
|
@@ -17,10 +18,6 @@ export declare type MyOwnFundFormState = {
|
|
|
17
18
|
memberFamilyName: O.Option<string>;
|
|
18
19
|
};
|
|
19
20
|
export declare type CustomFundState = {
|
|
20
|
-
continueAllowed: boolean;
|
|
21
|
-
nextRoute: string;
|
|
22
|
-
customFunds: Array<CustomFundOption>;
|
|
23
|
-
currentCustomFundType: CustomFundTypes;
|
|
24
21
|
myOwnFundForm: MyOwnFundFormState;
|
|
25
22
|
selfManagedFundForm: SelfManagedFundForm;
|
|
26
23
|
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { RouterHistory } from '@stencil/router';
|
|
2
|
+
export declare class FeaturedFunds {
|
|
3
|
+
history: RouterHistory;
|
|
4
|
+
private backendUrl;
|
|
5
|
+
private accessToken;
|
|
6
|
+
private currentView;
|
|
7
|
+
private eventHandlers;
|
|
8
|
+
constructor();
|
|
9
|
+
componentWillLoad(): void;
|
|
10
|
+
disconnectedCallback(): void;
|
|
11
|
+
render(): Element[];
|
|
12
|
+
private subscribeToEvents;
|
|
13
|
+
private unsubscribeFromEvents;
|
|
14
|
+
private backClicked;
|
|
15
|
+
private cancelClicked;
|
|
16
|
+
private continueClicked;
|
|
17
|
+
private fundPanelShown;
|
|
18
|
+
}
|