@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,26 @@
|
|
|
1
|
+
import { FeaturedFundsSender, PromotedFundJoinedEvent, ShownFund, ShownFundType } from '../../../../super-campaign/super-campaign-types';
|
|
2
|
+
declare type FeaturedFundsCommonEventPayload = {
|
|
3
|
+
sender: FeaturedFundsSender;
|
|
4
|
+
};
|
|
5
|
+
export declare type ContinueClicked = FeaturedFundsCommonEventPayload & {
|
|
6
|
+
type: 'continue-clicked';
|
|
7
|
+
fundId: string;
|
|
8
|
+
fundUsi?: string;
|
|
9
|
+
fundName: string;
|
|
10
|
+
fundType: ShownFundType;
|
|
11
|
+
};
|
|
12
|
+
export declare type FeaturedFundPanelShown = FeaturedFundsCommonEventPayload & {
|
|
13
|
+
type: 'featured-fund-panel-shown';
|
|
14
|
+
shownFunds: ShownFund[];
|
|
15
|
+
};
|
|
16
|
+
export declare type FeaturedFundsEvents = FeaturedFundsCommonEventPayload & ({
|
|
17
|
+
type: 'back-clicked';
|
|
18
|
+
} | {
|
|
19
|
+
type: 'cancel-clicked';
|
|
20
|
+
} | ContinueClicked | FeaturedFundPanelShown | PromotedFundJoinedEvent);
|
|
21
|
+
export declare type EventHandlers = {
|
|
22
|
+
[k in FeaturedFundsEvents['type']]: (event: CustomEvent<Extract<FeaturedFundsEvents, {
|
|
23
|
+
type: k;
|
|
24
|
+
}>>) => Promise<void>;
|
|
25
|
+
};
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare type Sender = 'byof-engagement';
|
|
2
|
+
export declare type CommonEventPayload = {
|
|
3
|
+
sender: Sender;
|
|
4
|
+
};
|
|
5
|
+
export declare type ContinueEvent = CommonEventPayload & {
|
|
6
|
+
type: 'continue';
|
|
7
|
+
reason: string;
|
|
8
|
+
};
|
|
9
|
+
export declare type EventPayload = ContinueEvent;
|
|
10
|
+
export declare type EventType = EventPayload['type'];
|
|
11
|
+
export declare type EventHandlers = {
|
|
12
|
+
[k in EventType]: (event: CustomEvent<Extract<EventPayload, {
|
|
13
|
+
type: k;
|
|
14
|
+
}>>) => Promise<void>;
|
|
15
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { RouterHistory } from '@stencil/router';
|
|
2
|
+
export declare class MyOwnFundEngagementStep {
|
|
3
|
+
history: RouterHistory;
|
|
4
|
+
private backendUrl;
|
|
5
|
+
private accessToken;
|
|
6
|
+
private fundUsi;
|
|
7
|
+
private fundName;
|
|
8
|
+
private memberNumber;
|
|
9
|
+
private memberFirstName;
|
|
10
|
+
private memberFamilyName;
|
|
11
|
+
private stepEventHandlers;
|
|
12
|
+
constructor();
|
|
13
|
+
componentWillLoad(): Promise<void>;
|
|
14
|
+
disconnectedCallback(): void;
|
|
15
|
+
render(): Element[];
|
|
16
|
+
private navigateToStandardChoice;
|
|
17
|
+
private stepContinued;
|
|
18
|
+
private subscribeToStepEvents;
|
|
19
|
+
private unSubscribeFromStepEvents;
|
|
20
|
+
}
|
|
@@ -7,9 +7,8 @@ export declare class SelfManagedFundInputs {
|
|
|
7
7
|
fundForm: Partial<SelfManagedFundForm>;
|
|
8
8
|
showValidationErrors: boolean;
|
|
9
9
|
formChanged: EventEmitter<Partial<FormChangedEvent>>;
|
|
10
|
-
private
|
|
10
|
+
private abnValidationStatus;
|
|
11
11
|
private isAbnTouched;
|
|
12
|
-
private isAbnUsedForRegulated;
|
|
13
12
|
private currentBank;
|
|
14
13
|
private addressErrorMessage;
|
|
15
14
|
private readonly stateOptions;
|
|
@@ -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;
|
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { PlacementId, PromotedFundsConfigDto } from '../../../api/super-selection.api.dto';
|
|
2
|
+
declare type CommonDto = {
|
|
3
3
|
fundId: string;
|
|
4
|
+
standardChoiceFormSignature: string;
|
|
5
|
+
defaultFundUsiSet?: string;
|
|
6
|
+
placementId: PlacementId;
|
|
7
|
+
};
|
|
8
|
+
export declare type PromotedFundChoiceRequestDto = {
|
|
4
9
|
usi?: string;
|
|
5
10
|
memberNumber: string;
|
|
6
11
|
memberFirstName?: string;
|
|
7
12
|
memberFamilyName?: string;
|
|
8
|
-
|
|
9
|
-
shownFunds: string[];
|
|
10
|
-
defaultFundUsiSet?: string;
|
|
11
|
-
promotedDefaultFundPosition?: number;
|
|
12
|
-
promotedFundsConfigSource: PromotedFundsConfigSourceDto;
|
|
13
|
-
};
|
|
13
|
+
} & CommonDto & PromotedFundsConfigDto;
|
|
14
14
|
export declare type PromotedDefaultFundChoiceRequestDto = {
|
|
15
|
-
fundId: string;
|
|
16
15
|
usi: string;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
16
|
+
} & CommonDto & PromotedFundsConfigDto;
|
|
17
|
+
export declare type PromotedDefaultFundWithJoinChoiceRequestDto = {
|
|
18
|
+
usi: string;
|
|
19
|
+
memberNumber: string;
|
|
20
|
+
memberFirstName: string;
|
|
21
|
+
memberFamilyName: string;
|
|
22
|
+
} & CommonDto & PromotedFundsConfigDto;
|
|
23
|
+
export {};
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PlacementId, PromotedFundsConfigDto } from '../../../api/super-selection.api.dto';
|
|
2
2
|
export declare type SlateFundForm = {
|
|
3
3
|
memberNumber: string;
|
|
4
4
|
memberFirstName?: string;
|
|
5
5
|
memberFamilyName?: string;
|
|
6
6
|
standardChoiceFormSignature: string;
|
|
7
|
-
shownFunds: string[];
|
|
8
7
|
defaultFundUsiSet?: string;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
};
|
|
8
|
+
placementId: PlacementId;
|
|
9
|
+
} & PromotedFundsConfigDto;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export declare type ButtonVariant = 'primary' | 'secondary';
|
|
1
|
+
export declare type ButtonVariant = 'primary' | 'secondary' | 'light';
|
|
2
2
|
export declare type ButtonSize = 'xs' | 'base' | 'xl';
|
|
3
3
|
export declare class Button {
|
|
4
|
+
testid: string;
|
|
4
5
|
fillWidth: boolean;
|
|
5
6
|
fillWidthOnMobile: boolean;
|
|
6
7
|
disabled: boolean;
|
|
@@ -12,6 +12,7 @@ export declare type Success<T> = {
|
|
|
12
12
|
};
|
|
13
13
|
export declare type SearchResult<T> = Success<T> | TooManyResults;
|
|
14
14
|
export declare class SelectInputAsync {
|
|
15
|
+
testId: string;
|
|
15
16
|
placeholder?: string;
|
|
16
17
|
searchFunction?: (query: string) => Promise<SearchResult<unknown>>;
|
|
17
18
|
value?: SelectInputOption<unknown>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare function isNullOrWhitespace(value: string | null): boolean;
|
|
2
|
+
export declare const DisabledField: (name: string, testId: string, value: string) => any;
|
|
3
|
+
export declare const Header: () => any;
|
|
4
|
+
export declare class Style {
|
|
5
|
+
static Input(isValidated: boolean): {
|
|
6
|
+
'relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10': boolean;
|
|
7
|
+
'invalid:border-red-300 invalid:text-red-900 invalid:placeholder-red-300 invalid:focus:ring-red-500 invalid:focus:border-red-500': boolean;
|
|
8
|
+
};
|
|
9
|
+
}
|
package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-invalid-my-own-fund.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { RouterHistory } from '@stencil/router';
|
|
2
|
+
import { PrefillOwnFundChoiceDto } from '../api/super-selection.api.dto';
|
|
3
|
+
export declare class PrefillInvalidMyOwnFund {
|
|
4
|
+
history: RouterHistory;
|
|
5
|
+
prefill: PrefillOwnFundChoiceDto;
|
|
6
|
+
private fundUsi;
|
|
7
|
+
private fundName;
|
|
8
|
+
private memberNumber;
|
|
9
|
+
private memberGivenNames;
|
|
10
|
+
private memberLastName;
|
|
11
|
+
private readonly eventTrackingService;
|
|
12
|
+
componentDidLoad(): Promise<void>;
|
|
13
|
+
componentWillLoad(): Promise<void>;
|
|
14
|
+
render(): Element[];
|
|
15
|
+
private handleChooseAnotherFund;
|
|
16
|
+
private createSuperFundPrefillDeclinedDetail;
|
|
17
|
+
private createSuperFundPrefillViewedDetail;
|
|
18
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { RouterHistory } from '@stencil/router';
|
|
2
|
+
import { PrefillSMSFChoiceDto } from '../api/super-selection.api.dto';
|
|
3
|
+
export declare class PrefillInvalidSMSF {
|
|
4
|
+
history: RouterHistory;
|
|
5
|
+
prefill: PrefillSMSFChoiceDto;
|
|
6
|
+
private fundName;
|
|
7
|
+
private fundAbn;
|
|
8
|
+
private fundEsa;
|
|
9
|
+
private fundAddressLine1;
|
|
10
|
+
private fundAddressLine2;
|
|
11
|
+
private fundAddressCity;
|
|
12
|
+
private fundAddressPostcode;
|
|
13
|
+
private fundAddressState;
|
|
14
|
+
private fundAddress;
|
|
15
|
+
private memberGivenNames;
|
|
16
|
+
private memberLastName;
|
|
17
|
+
private bankAccountName;
|
|
18
|
+
private bankAccountBsb;
|
|
19
|
+
private bankAccountNumber;
|
|
20
|
+
private readonly eventTrackingService;
|
|
21
|
+
componentDidLoad(): Promise<void>;
|
|
22
|
+
componentWillLoad(): Promise<void>;
|
|
23
|
+
render(): Element[];
|
|
24
|
+
private initialiseComponent;
|
|
25
|
+
private handleFundNominationDeclined;
|
|
26
|
+
private createSuperFundPrefillDeclinedDetail;
|
|
27
|
+
private createSuperFundPrefillViewedDetail;
|
|
28
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { RouterHistory } from '@stencil/router';
|
|
2
|
+
import { PrefillOwnFundChoiceDto } from '../api/super-selection.api.dto';
|
|
3
|
+
export declare class PrefillMyOwnFund {
|
|
4
|
+
history: RouterHistory;
|
|
5
|
+
prefill: PrefillOwnFundChoiceDto;
|
|
6
|
+
private mode;
|
|
7
|
+
private formState;
|
|
8
|
+
private isSubmitDisabled;
|
|
9
|
+
private fundUsi;
|
|
10
|
+
private fundName;
|
|
11
|
+
private memberNumber;
|
|
12
|
+
private memberGivenNames;
|
|
13
|
+
private memberLastName;
|
|
14
|
+
private formElement;
|
|
15
|
+
private readonly eventTrackingService;
|
|
16
|
+
componentDidLoad(): Promise<void>;
|
|
17
|
+
componentWillLoad(): Promise<void>;
|
|
18
|
+
render(): Element[];
|
|
19
|
+
private initialiseComponent;
|
|
20
|
+
private isFormValid;
|
|
21
|
+
private formHasMissingData;
|
|
22
|
+
private setModeToEdit;
|
|
23
|
+
private updateMemberNumber;
|
|
24
|
+
private updateMemberGivenNames;
|
|
25
|
+
private updateMemberLastName;
|
|
26
|
+
private handleSubmitForm;
|
|
27
|
+
private handleFundNominationDeclined;
|
|
28
|
+
private createSuperFundPrefillDeclinedDetail;
|
|
29
|
+
private createSuperFundPrefillViewedDetail;
|
|
30
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { RouterHistory } from '@stencil/router';
|
|
2
|
+
import { PrefillSMSFChoiceDto } from '../api/super-selection.api.dto';
|
|
3
|
+
export declare class PrefillSMSF {
|
|
4
|
+
history: RouterHistory;
|
|
5
|
+
prefill: PrefillSMSFChoiceDto;
|
|
6
|
+
private mode;
|
|
7
|
+
private formState;
|
|
8
|
+
private isSubmitDisabled;
|
|
9
|
+
private fundName;
|
|
10
|
+
private fundAbn;
|
|
11
|
+
private fundEsa;
|
|
12
|
+
private fundAddressLine1;
|
|
13
|
+
private fundAddressLine2;
|
|
14
|
+
private fundAddressCity;
|
|
15
|
+
private fundAddressPostcode;
|
|
16
|
+
private fundAddressState;
|
|
17
|
+
private fundAddress;
|
|
18
|
+
private memberGivenNames;
|
|
19
|
+
private memberLastName;
|
|
20
|
+
private bankAccountName;
|
|
21
|
+
private bankName;
|
|
22
|
+
private bankAccountBsb;
|
|
23
|
+
private bankAccountNumber;
|
|
24
|
+
private formElement;
|
|
25
|
+
private readonly eventTrackingService;
|
|
26
|
+
componentDidLoad(): Promise<void>;
|
|
27
|
+
componentWillLoad(): Promise<void>;
|
|
28
|
+
render(): Element[];
|
|
29
|
+
private isFormValid;
|
|
30
|
+
private formHasMissingData;
|
|
31
|
+
private setModeToEdit;
|
|
32
|
+
private updateFundName;
|
|
33
|
+
private updateFundEsa;
|
|
34
|
+
private updateAddressLine1;
|
|
35
|
+
private updateAddressLine2;
|
|
36
|
+
private updateAddressCity;
|
|
37
|
+
private updateAddressPostcode;
|
|
38
|
+
private updateAddressState;
|
|
39
|
+
private updateBankAccountName;
|
|
40
|
+
private updateBankAccountBsb;
|
|
41
|
+
private updateBankAccountNumber;
|
|
42
|
+
private updateMemberGivenNames;
|
|
43
|
+
private updateMemberLastName;
|
|
44
|
+
private filterDigits;
|
|
45
|
+
private tryGetBankName;
|
|
46
|
+
private updateBankName;
|
|
47
|
+
private handleSubmitForm;
|
|
48
|
+
private initialiseComponent;
|
|
49
|
+
private handleFundNominationDeclined;
|
|
50
|
+
private createSuperFundPrefillDeclinedDetail;
|
|
51
|
+
private createSuperFundPrefillViewedDetail;
|
|
52
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
export declare const NAME_PATTERN = "[A-Za-z][A-Za-z']+(( |-)[A-Za-z][A-Za-z']+)*\\s*$";
|
|
2
|
+
export declare abstract class FormField {
|
|
3
|
+
readonly name: string;
|
|
4
|
+
readonly testId: string;
|
|
5
|
+
private _value;
|
|
6
|
+
private _errorMessage;
|
|
7
|
+
protected constructor(name: string, testId: string, value: string | null);
|
|
8
|
+
get value(): string;
|
|
9
|
+
set value(newValue: string);
|
|
10
|
+
get isValid(): boolean;
|
|
11
|
+
get isEmpty(): boolean;
|
|
12
|
+
get errorMessage(): string | null;
|
|
13
|
+
abstract validateAndReturnErrorMessage(value: string): string | null;
|
|
14
|
+
}
|
|
15
|
+
export declare class StaticFormField {
|
|
16
|
+
readonly name: string;
|
|
17
|
+
readonly testId: string;
|
|
18
|
+
private readonly _value;
|
|
19
|
+
private readonly _isValid;
|
|
20
|
+
constructor(name: string, testId: string, value: string | null, isValid: boolean);
|
|
21
|
+
get value(): string;
|
|
22
|
+
get isValid(): boolean;
|
|
23
|
+
get isEmpty(): boolean;
|
|
24
|
+
}
|
|
25
|
+
export declare class FundUsi extends StaticFormField {
|
|
26
|
+
constructor(value: string | null, isValid: boolean);
|
|
27
|
+
}
|
|
28
|
+
export declare class FundName extends StaticFormField {
|
|
29
|
+
constructor(value: string | null, isValid: boolean);
|
|
30
|
+
}
|
|
31
|
+
export declare class SmsfFundName extends FormField {
|
|
32
|
+
constructor(value: string | null);
|
|
33
|
+
validateAndReturnErrorMessage(newValue: string): string | null;
|
|
34
|
+
}
|
|
35
|
+
export declare class MemberNumber extends FormField {
|
|
36
|
+
constructor(value: string | null);
|
|
37
|
+
validateAndReturnErrorMessage(newValue: string): string | null;
|
|
38
|
+
}
|
|
39
|
+
export declare class MemberLastName extends FormField {
|
|
40
|
+
constructor(value: string | null);
|
|
41
|
+
validateAndReturnErrorMessage(newValue: string): string | null;
|
|
42
|
+
}
|
|
43
|
+
export declare class MemberGivenNames extends FormField {
|
|
44
|
+
constructor(value: string | null);
|
|
45
|
+
validateAndReturnErrorMessage(newValue: string): string | null;
|
|
46
|
+
}
|
|
47
|
+
export declare class FundAbn extends StaticFormField {
|
|
48
|
+
constructor(value: string | null, isValid: boolean);
|
|
49
|
+
}
|
|
50
|
+
export declare class FundEsa extends FormField {
|
|
51
|
+
constructor(value: string | null);
|
|
52
|
+
validateAndReturnErrorMessage(newValue: string): string | null;
|
|
53
|
+
}
|
|
54
|
+
export declare class FundAddressLine1 extends FormField {
|
|
55
|
+
constructor(value: string | null);
|
|
56
|
+
validateAndReturnErrorMessage(newValue: string): string | null;
|
|
57
|
+
}
|
|
58
|
+
export declare class FundAddressLine2 extends FormField {
|
|
59
|
+
constructor(value: string | null);
|
|
60
|
+
validateAndReturnErrorMessage(_newValue: string): string | null;
|
|
61
|
+
}
|
|
62
|
+
export declare class FundAddressCity extends FormField {
|
|
63
|
+
constructor(value: string | null);
|
|
64
|
+
validateAndReturnErrorMessage(newValue: string): string | null;
|
|
65
|
+
}
|
|
66
|
+
export declare class FundAddressPostcode extends FormField {
|
|
67
|
+
constructor(value: string | null);
|
|
68
|
+
validateAndReturnErrorMessage(newValue: string): string | null;
|
|
69
|
+
}
|
|
70
|
+
export declare class FundAddressState extends FormField {
|
|
71
|
+
constructor(value: string | null);
|
|
72
|
+
get options(): {
|
|
73
|
+
value: string;
|
|
74
|
+
label: string;
|
|
75
|
+
}[];
|
|
76
|
+
validateAndReturnErrorMessage(newValue: string): string | null;
|
|
77
|
+
}
|
|
78
|
+
export declare class FundAddress extends StaticFormField {
|
|
79
|
+
constructor(addrLine1: FundAddressLine1, addrLine2: FundAddressLine2, city: FundAddressCity, state: FundAddressState, postcode: FundAddressPostcode);
|
|
80
|
+
}
|
|
81
|
+
export declare class BankAccountName extends FormField {
|
|
82
|
+
constructor(value: string | null);
|
|
83
|
+
validateAndReturnErrorMessage(newValue: string): string | null;
|
|
84
|
+
}
|
|
85
|
+
export declare class BankName extends StaticFormField {
|
|
86
|
+
constructor(value: string | null, isValid: boolean);
|
|
87
|
+
}
|
|
88
|
+
export declare class BankAccountBsb extends FormField {
|
|
89
|
+
constructor(value: string | null);
|
|
90
|
+
validateAndReturnErrorMessage(newValue: string): string | null;
|
|
91
|
+
}
|
|
92
|
+
export declare class BankAccountNumber extends FormField {
|
|
93
|
+
constructor(value: string | null);
|
|
94
|
+
validateAndReturnErrorMessage(newValue: string): string | null;
|
|
95
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { RouterHistory } from '@stencil/router';
|
|
2
|
+
export declare class Prefill {
|
|
3
|
+
history: RouterHistory;
|
|
4
|
+
private prefill;
|
|
5
|
+
connectedCallback(): void;
|
|
6
|
+
disconnectedCallback(): void;
|
|
7
|
+
componentWillLoad(): Promise<void>;
|
|
8
|
+
render(): Element[] | null;
|
|
9
|
+
private renderMyOwnFund;
|
|
10
|
+
private renderInvalidMyOwnFund;
|
|
11
|
+
private renderSMSF;
|
|
12
|
+
private renderInvalidSMSF;
|
|
13
|
+
private ignorePopState;
|
|
14
|
+
}
|
|
@@ -3,20 +3,21 @@ 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>;
|
|
14
10
|
TrackSmsfSuperFundDetailViewedAsync(detail: model.ViewedSmsfDetail): Promise<void>;
|
|
15
11
|
TrackDefaultSuperFundDetailViewedAsync(detail: model.ViewedDefaultFundDetail): Promise<void>;
|
|
16
|
-
TrackSuperFundPanelViewedAsync(detail: model.SuperFundPanelViewedDetail): Promise<void>;
|
|
17
12
|
TrackSuperFundNominationViewedAsync(detail: model.SuperFundNominationViewedDetail): Promise<void>;
|
|
18
13
|
TrackSuperFundNominationDeclinedAsync(detail: model.SuperFundNominationDeclinedDetail): Promise<void>;
|
|
19
14
|
TrackSuperFundDisclaimerViewedAsync(detail: model.SuperFundDisclaimerViewedDetail): Promise<void>;
|
|
20
15
|
TrackSuperFundDisclaimerAcceptedAsync(detail: model.SuperFundDisclaimerAcceptedDetail): Promise<void>;
|
|
16
|
+
TrackSuperFundPrefillViewedAsync(detail: model.SuperFundPrefillViewedDetail): Promise<void>;
|
|
17
|
+
TrackSuperFundPrefillDeclinedAsync(detail: model.SuperFundPrefillDeclinedDetail): Promise<void>;
|
|
18
|
+
TrackSuperFundDetailChangeRequestedAsync(detail: model.SuperFundDetailChangeRequested): Promise<void>;
|
|
19
|
+
TrackSuperCampaignActivationSucceededAsync(detail: model.SuperCampaignActivationSucceededDetail): Promise<void>;
|
|
20
|
+
TrackSuperMyOwnFundEngagementStepActivationSucceeded(fundUsi: any): Promise<void>;
|
|
21
|
+
TrackSuperMyOwnFundEngagementStepContinued(fundUsi: string, reason: string): Promise<void>;
|
|
21
22
|
private trackEventAsync;
|
|
22
23
|
}
|
|
@@ -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;
|
|
@@ -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/services/super-selection-app.routes.d.ts
CHANGED
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
export declare enum SuperSelectionAppRoutes {
|
|
2
|
-
ConsentPage = "/consent",
|
|
3
2
|
ExistingChoicePage = "/existing",
|
|
3
|
+
SuperCampaign = "/super-campaign",
|
|
4
4
|
ChoicePage = "/",
|
|
5
|
-
SlateJoin = "/slate/join/",
|
|
6
|
-
PromotedFundJoinV1 = "/promoted-fund/join/v1",
|
|
7
|
-
PromotedFundJoinV2 = "/promoted-fund/join/v2",
|
|
8
5
|
MyOwnFund = "/super-choice/my-own-fund/",
|
|
6
|
+
MyOwnFundEngagementStep = "/super-choice/my-own-fund-engagement/",
|
|
7
|
+
Prefill = "/super-choice/prefill/",
|
|
8
|
+
PrefillInvalidMyOwnFundPage = "/super-choice/sss-prefill-invalid-my-own-fund/",
|
|
9
|
+
PrefillMyOwnFundPage = "/super-choice/prefill-my-own-fund/",
|
|
10
|
+
PrefillSMSFPage = "/super-choice/prefill-smsf/",
|
|
11
|
+
PrefillInvalidSMSFPage = "/super-choice/prefill-invalid-smsf/",
|
|
9
12
|
SelfManagedFund = "/super-choice/smsf/",
|
|
10
13
|
DefaultFund = "/super-choice/default/",
|
|
14
|
+
FeaturedFunds = "/super-choice/featured-funds/",
|
|
11
15
|
StandardChoice = "/standard-choice/",
|
|
12
16
|
Success = "/success/"
|
|
13
17
|
}
|
package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { OnChangeHandler } from '@stencil/store/dist/types';
|
|
2
2
|
import * as O from 'fp-ts/lib/Option';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
shownFunds: string[];
|
|
7
|
-
promotedDefaultFundPosition?: number;
|
|
8
|
-
promotedFundsConfigSource: PromotedFundsConfigSourceDto;
|
|
9
|
-
};
|
|
3
|
+
import { ShownFund as SuperCampaignShownFund } from '../../super-campaign/super-campaign-types';
|
|
4
|
+
import { PlacementId, PromotedFundsConfigDto, SuperBuyerDto } from '../api/super-selection.api.dto';
|
|
5
|
+
import { AppContextState, SuperCampaignComponentStatus, SuperCampaignState } from './super-selection.store';
|
|
10
6
|
export declare class SuperSelectionAppService {
|
|
11
7
|
private readonly _state;
|
|
12
8
|
private readonly _onChange;
|
|
@@ -18,7 +14,7 @@ export declare class SuperSelectionAppService {
|
|
|
18
14
|
get appBaseUrl(): string;
|
|
19
15
|
get promotedFunds(): string[];
|
|
20
16
|
get promotedDefaultFundPosition(): O.Option<number>;
|
|
21
|
-
get promotedFundsConfig():
|
|
17
|
+
get promotedFundsConfig(): PromotedFundsConfigDto;
|
|
22
18
|
get profileId(): string;
|
|
23
19
|
get defaultFundUsi(): O.Option<string>;
|
|
24
20
|
get accountIdOrDefault(): string;
|
|
@@ -26,8 +22,21 @@ export declare class SuperSelectionAppService {
|
|
|
26
22
|
get jwt(): string;
|
|
27
23
|
completeSuperSelectionFlow(): void;
|
|
28
24
|
markSuperSelectionAsSubmitted(): void;
|
|
25
|
+
get isDefinedBenefitsEligible(): O.Option<boolean>;
|
|
29
26
|
loadAppStateAsync(): Promise<void>;
|
|
30
|
-
|
|
27
|
+
setSuperCampaignPromotedFundsShown(shownFunds: SuperCampaignShownFund[]): void;
|
|
28
|
+
viewSuperFundPanelAsync(placementId: PlacementId, promotedFundIdListOverride?: string[]): Promise<void>;
|
|
29
|
+
get superCampaignState(): SuperCampaignState | undefined;
|
|
30
|
+
get superCampaignComponentStatus(): SuperCampaignComponentStatus;
|
|
31
|
+
set superCampaignComponentStatus(value: SuperCampaignComponentStatus);
|
|
32
|
+
get isUsingSuperCampaign(): boolean;
|
|
33
|
+
get isBringYourOwnFundCustomStepEnabled(): boolean;
|
|
34
|
+
get isFeaturedFundsEnabled(): boolean;
|
|
35
|
+
get superCampaignCanNotBeActivated(): boolean;
|
|
36
|
+
get hideFooterSection(): boolean;
|
|
37
|
+
set hideFooterSection(value: boolean);
|
|
38
|
+
get backendUrl(): O.Option<string>;
|
|
39
|
+
private getBaseUrl;
|
|
31
40
|
}
|
|
32
41
|
declare const _default: SuperSelectionAppService;
|
|
33
42
|
export default _default;
|
|
@@ -1,18 +1,36 @@
|
|
|
1
1
|
import * as O from 'fp-ts/lib/Option';
|
|
2
|
-
import {
|
|
2
|
+
import { ShownFund as SuperCampaignShownFund } from '../../super-campaign/super-campaign-types';
|
|
3
|
+
import { AccountConfigurationDto, ProfileConfigurationDto, SuperBuyerDto, SuperChoicePrefillDto } from '../api/super-selection.api.dto';
|
|
4
|
+
export declare enum SuperCampaignComponentStatus {
|
|
5
|
+
NotLoaded = 1,
|
|
6
|
+
Loaded = 2,
|
|
7
|
+
NotWorking = 3
|
|
8
|
+
}
|
|
3
9
|
export declare type AppContextState = {
|
|
4
10
|
apiBaseUrl: O.Option<string>;
|
|
5
11
|
appBaseUrl: O.Option<string>;
|
|
6
12
|
profileId: O.Option<string>;
|
|
7
13
|
jwt: O.Option<string>;
|
|
8
14
|
superBuyer: O.Option<SuperBuyerDto>;
|
|
15
|
+
superChoicePrefill: O.Option<SuperChoicePrefillDto>;
|
|
9
16
|
promotedFunds: O.Option<string[]>;
|
|
10
17
|
accountConfiguration: O.Option<AccountConfigurationDto>;
|
|
11
18
|
profileConfiguration: O.Option<ProfileConfigurationDto>;
|
|
12
19
|
hasSuccessPageBeenAcknowledged: boolean;
|
|
13
20
|
hasSuperSelectionBeenSubmitted: boolean;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
21
|
+
isDefinedBenefitsEligible: O.Option<boolean>;
|
|
22
|
+
superCampaignEnabled: boolean;
|
|
23
|
+
bringYourOwnFundCustomStepEnabled: boolean;
|
|
24
|
+
featuredFundsEnabled: boolean;
|
|
25
|
+
superCampaignState: SuperCampaignState | undefined;
|
|
26
|
+
superCampaignComponentStatus: SuperCampaignComponentStatus;
|
|
27
|
+
hideFooterSection: boolean;
|
|
17
28
|
};
|
|
29
|
+
export declare class SuperCampaignState {
|
|
30
|
+
private _promotedFundsShown;
|
|
31
|
+
constructor();
|
|
32
|
+
get PromotedFundIds(): string[];
|
|
33
|
+
set promotedFundsShown(value: SuperCampaignShownFund[]);
|
|
34
|
+
get DefaultFundPosition(): number | undefined;
|
|
35
|
+
}
|
|
18
36
|
export declare const initialState: AppContextState;
|
package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.d.ts
CHANGED
|
@@ -4,8 +4,13 @@ export declare class StandardChoiceFormInputDefaultFund {
|
|
|
4
4
|
private standardChoiceFormSignature;
|
|
5
5
|
private formState;
|
|
6
6
|
private isSubmitDisabled;
|
|
7
|
+
private readonly eventTrackingService;
|
|
7
8
|
private formElement;
|
|
9
|
+
connectedCallback(): void;
|
|
10
|
+
disconnectedCallback(): void;
|
|
8
11
|
render(): Element[];
|
|
9
12
|
private renderLogo;
|
|
13
|
+
private trackChangeRequestedAsync;
|
|
10
14
|
private handleSubmitForm;
|
|
15
|
+
private ignorePopState;
|
|
11
16
|
}
|