@flarehr/apollo-super-selection 1.2.32665 → 1.3.36
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-065c0e01.system.entry.js +69 -0
- package/dist/lib/apollo-super-selection/p-42cd55d4.entry.js +14 -0
- package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +1 -1
- package/dist/lib/cjs/apollo-super-selection.cjs.js +1 -1
- package/dist/lib/cjs/loader.cjs.js +1 -1
- package/dist/lib/cjs/{sss-button_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-2755dad9.system.entry.js +0 -69
- package/dist/lib/apollo-super-selection/p-dea4cd1a.entry.js +0 -14
- 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
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { Component, h, Prop } from '@stencil/core';
|
|
2
|
-
import { EventTrackingService } from '../services/event-tracking.service';
|
|
3
|
-
import navigationService from '../services/navigation.service';
|
|
4
|
-
import { SuperSelectionAppRoutes } from '../services/super-selection-app.routes';
|
|
5
|
-
export class Consent {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.eventTrackingService = EventTrackingService.Instance;
|
|
8
|
-
}
|
|
9
|
-
componentDidLoad() {
|
|
10
|
-
return this.eventTrackingService.TrackSuperFundDisclaimerViewedAsync({});
|
|
11
|
-
}
|
|
12
|
-
render() {
|
|
13
|
-
return (h("div", null,
|
|
14
|
-
h("div", { class: "text-2xl sm:text-3xl font-bold text-center leading-8" }, "Important information about super"),
|
|
15
|
-
h("div", { class: "sm:text-lg text-gray-600 mt-3 sm:mt-4 max-w-800 text-center leading-7 sm:leading-8" }, "The choice of superannuation fund is an important personal financial decision. Next, you\u2019ll be asked to nominate a super fund to receive your employer contributions."),
|
|
16
|
-
h("div", { class: "flex justify-center mt-8 sm:mt-12" },
|
|
17
|
-
h("div", { class: "border shadow-sm p-4 pb-6 sm:p-6 sm:pb-8 max-w-560 rounded-lg" },
|
|
18
|
-
h("div", { class: "sm:text-lg font-bold leading-6" }, "By clicking \u201CContinue\u201D you acknowledge that:"),
|
|
19
|
-
h("ul", { class: "list-disc list-outside ml-6 mt-3 mb-6 space-y-2 text-sm leading-6" },
|
|
20
|
-
h("li", null, "Flare (we/us) provides this paperless employee management service, will feature superannuation funds and offer you employee benefits that you may be interested in;"),
|
|
21
|
-
h("li", null, "all content contained in the following pages does not take into account any of your objectives, financial situation or needs and does not constitute financial product advice;"),
|
|
22
|
-
h("li", null, "in featuring any superannuation funds, we, the technology partner you are accessing us via, or your employer, are not providing any opinion or recommendation (actual or implied) in relation to the suitability or appropriateness of the featured funds;"),
|
|
23
|
-
h("li", null, "if you do choose one of the featured superannuation funds, we and our associates will normally receive a fee for you doing so;"),
|
|
24
|
-
h("li", null, "in the event that you choose one of the featured superannuation funds, we may pass on your personal information and TFN to a related party for the purpose of completing your chosen fund's application form.")),
|
|
25
|
-
h("sss-button", { fillWidth: true, promiseFn: () => this.handleSuperFundDisclaimerAccepted() }, "Continue")))));
|
|
26
|
-
}
|
|
27
|
-
async handleSuperFundDisclaimerAccepted() {
|
|
28
|
-
await this.eventTrackingService.TrackSuperFundDisclaimerAcceptedAsync({});
|
|
29
|
-
navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ChoicePage);
|
|
30
|
-
}
|
|
31
|
-
static get is() { return "sss-consent-page"; }
|
|
32
|
-
static get properties() { return {
|
|
33
|
-
"history": {
|
|
34
|
-
"type": "unknown",
|
|
35
|
-
"mutable": false,
|
|
36
|
-
"complexType": {
|
|
37
|
-
"original": "RouterHistory",
|
|
38
|
-
"resolved": "RouterHistory",
|
|
39
|
-
"references": {
|
|
40
|
-
"RouterHistory": {
|
|
41
|
-
"location": "import",
|
|
42
|
-
"path": "@stencil/router"
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
"required": false,
|
|
47
|
-
"optional": false,
|
|
48
|
-
"docs": {
|
|
49
|
-
"tags": [],
|
|
50
|
-
"text": ""
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}; }
|
|
54
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { getAssetPath } from '@stencil/core';
|
|
2
|
-
import { none, some } from 'fp-ts/Option';
|
|
3
|
-
import active from './promoted-fund/funds/active';
|
|
4
|
-
import australianEthical from './promoted-fund/funds/australian-ethical';
|
|
5
|
-
import australianRetirementTrust from './promoted-fund/funds/australian-retirement-trust';
|
|
6
|
-
import aware from './promoted-fund/funds/aware';
|
|
7
|
-
import first from './promoted-fund/funds/first';
|
|
8
|
-
import hestaDefault from './promoted-fund/funds/hesta-default';
|
|
9
|
-
import mercerMyChoice from './promoted-fund/funds/mercermychoice';
|
|
10
|
-
import slate, { slateUsi } from './promoted-fund/funds/slate';
|
|
11
|
-
import spirit from './promoted-fund/funds/spirit';
|
|
12
|
-
import virgin from './promoted-fund/funds/virgin';
|
|
13
|
-
const fundsById = {
|
|
14
|
-
[slate.fundId]: slate,
|
|
15
|
-
[australianRetirementTrust.fundId]: australianRetirementTrust,
|
|
16
|
-
[aware.fundId]: aware,
|
|
17
|
-
[active.fundId]: active,
|
|
18
|
-
[australianEthical.fundId]: australianEthical,
|
|
19
|
-
[virgin.fundId]: virgin,
|
|
20
|
-
[spirit.fundId]: spirit,
|
|
21
|
-
[first.fundId]: first,
|
|
22
|
-
[mercerMyChoice.fundId]: mercerMyChoice,
|
|
23
|
-
[hestaDefault.fundId]: hestaDefault
|
|
24
|
-
};
|
|
25
|
-
export const allPromotedFunds = Object.values(fundsById);
|
|
26
|
-
export const getFundByDtoPropName = (dtoPropName) => {
|
|
27
|
-
const fund = allPromotedFunds.find((f) => f.dtoPropName == dtoPropName);
|
|
28
|
-
return fund ? some(fund) : none;
|
|
29
|
-
};
|
|
30
|
-
export const getFundNameByFundId = (fundId) => fundsById[fundId] != undefined ? some(fundsById[fundId].name) : none;
|
|
31
|
-
export const getFooterTextOverrideByFundId = (fundId) => { var _a, _b; return (_b = (_a = fundsById[fundId]) === null || _a === void 0 ? void 0 : _a.footnoteTextOverride) !== null && _b !== void 0 ? _b : none; };
|
|
32
|
-
export const getFundUsiByFundId = (fundId) => fundId == slate.fundId ? some(slateUsi) : none;
|
|
33
|
-
export const getLogoSrcByFundId = (fundId) => fundsById[fundId] != undefined ? some(getAssetPath(`assets/${fundsById[fundId].logo}`)) : none;
|
package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/active.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { h } from '@stencil/core';
|
|
2
|
-
import { some } from 'fp-ts/lib/Option';
|
|
3
|
-
import { SuperSelectionAppRoutes } from '../../../services/super-selection-app.routes';
|
|
4
|
-
import { Link, pdsViewedAsync, PoweredByFlareFS } from '../types';
|
|
5
|
-
const name = 'Active Super';
|
|
6
|
-
const fund = {
|
|
7
|
-
fundId: 'active',
|
|
8
|
-
name,
|
|
9
|
-
logo: 'logo-active.svg',
|
|
10
|
-
route: SuperSelectionAppRoutes.PromotedFundJoinV1,
|
|
11
|
-
features: [
|
|
12
|
-
h("p", null, "Winner of Canstar's 2023 Outstanding Value \u2013 Superannuation Award considering investment performance, fees and product features*"),
|
|
13
|
-
h("p", null, "Recognised as a leader in responsible investment"),
|
|
14
|
-
h("p", null, "Calls answered in 20 seconds (average over 5 years)")
|
|
15
|
-
],
|
|
16
|
-
featureSubText: (h("span", null, "*Based on a comparison of the Active Super Accumulation Scheme held by those aged 20-69 years and balances between $30,000 and $1.5 million.")),
|
|
17
|
-
disclaimer: (h("p", null,
|
|
18
|
-
"Issued by LGSS Pty Limited as trustee for Local Government Super (Active Super ABN:28 901 371 321). Consider the PDS and TMD at",
|
|
19
|
-
' ',
|
|
20
|
-
h(Link, { onClick: () => pdsViewedAsync(name), href: "https://www.activesuper.com.au/pds" }, "activesuper.com.au"),
|
|
21
|
-
' ',
|
|
22
|
-
"before making a decision.")),
|
|
23
|
-
footnoteTextOverride: some(PoweredByFlareFS),
|
|
24
|
-
dtoPropName: 'active'
|
|
25
|
-
};
|
|
26
|
-
export default fund;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { h } from '@stencil/core';
|
|
2
|
-
import { none } from 'fp-ts/lib/Option';
|
|
3
|
-
import { SuperSelectionAppRoutes } from '../../../services/super-selection-app.routes';
|
|
4
|
-
import { Link, pdsViewedAsync } from '../types';
|
|
5
|
-
const name = 'Australian Ethical';
|
|
6
|
-
const pdsUrl = 'https://www.australianethical.com.au/super/pds-forms/';
|
|
7
|
-
const fund = {
|
|
8
|
-
fundId: 'australian-ethical',
|
|
9
|
-
name,
|
|
10
|
-
logo: 'logo-aus-eth.svg',
|
|
11
|
-
route: SuperSelectionAppRoutes.PromotedFundJoinV2,
|
|
12
|
-
features: [
|
|
13
|
-
h("p", null,
|
|
14
|
-
"Fastest growing super fund in Australia",
|
|
15
|
-
h("sup", { class: "text-tiny" }, "1")),
|
|
16
|
-
h("p", null,
|
|
17
|
-
"Nil investments in fossil fuel companies",
|
|
18
|
-
h("sup", { class: "text-tiny" }, "2")),
|
|
19
|
-
h("p", null, "Competitive returns")
|
|
20
|
-
],
|
|
21
|
-
featureSubText: (h("ol", { class: "list-decimal list-outside ml-3" },
|
|
22
|
-
h("li", null, "Source: KPMG Super Insights Report 2022."),
|
|
23
|
-
h("li", null, "All our options go through positive and negative ethical screening in accordance with the Australian Ethical Charter (in place since 1986)."))),
|
|
24
|
-
disclaimer: (h("p", null,
|
|
25
|
-
"Issued by Australian Ethical Superannuation Pty Ltd (ABN 43 079 259 733, RSE L0001441, AFSL 526055). Please consider the",
|
|
26
|
-
' ',
|
|
27
|
-
h(Link, { href: "https://www.australianethical.com.au/globalassets/pdf-files/forms--pds/superpension/important-information/ae-financial-services-guide_sec.pdf" }, "Financial Services Guide"),
|
|
28
|
-
", the",
|
|
29
|
-
' ',
|
|
30
|
-
h(Link, { href: pdsUrl, onClick: () => pdsViewedAsync(name) }, "Product Disclosure Statement"),
|
|
31
|
-
' ',
|
|
32
|
-
"and",
|
|
33
|
-
' ',
|
|
34
|
-
h(Link, { href: pdsUrl, onClick: () => pdsViewedAsync(name) }, "Target Market Determination"),
|
|
35
|
-
' ',
|
|
36
|
-
"available on our",
|
|
37
|
-
' ',
|
|
38
|
-
h(Link, { href: pdsUrl, onClick: () => pdsViewedAsync(name) }, "website"),
|
|
39
|
-
".")),
|
|
40
|
-
footnoteTextOverride: none,
|
|
41
|
-
dtoPropName: 'australianEthical'
|
|
42
|
-
};
|
|
43
|
-
export default fund;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { h } from '@stencil/core';
|
|
2
|
-
import { none } from 'fp-ts/lib/Option';
|
|
3
|
-
import { SuperSelectionAppRoutes } from '../../../services/super-selection-app.routes';
|
|
4
|
-
import { Link, pdsViewedAsync } from '../types';
|
|
5
|
-
const name = 'Australian Retirement Trust';
|
|
6
|
-
const fund = {
|
|
7
|
-
fundId: 'australian-retirement-trust',
|
|
8
|
-
name,
|
|
9
|
-
logo: 'logo-art.svg',
|
|
10
|
-
route: SuperSelectionAppRoutes.PromotedFundJoinV1,
|
|
11
|
-
features: [
|
|
12
|
-
h("p", null, "$200 billion in retirement savings"),
|
|
13
|
-
h("p", null, "2+ million members"),
|
|
14
|
-
h("p", null, "A focus on delivering strong, long\u2011term returns")
|
|
15
|
-
],
|
|
16
|
-
featureSubText: (h("span", null, "QSuper is now part of Australian Retirement Trust. If you have an existing QSuper account, you will continue to hold that account by selecting this option.")),
|
|
17
|
-
disclaimer: (h("p", null,
|
|
18
|
-
"You should consider the",
|
|
19
|
-
' ',
|
|
20
|
-
h(Link, { href: "https://www.australianretirementtrust.com.au/library/media/pdfs/pds/super-savings-product-disclosure-statement-and-membership-form.pdf", onClick: () => pdsViewedAsync(name) }, "Product Disclosure Statement"),
|
|
21
|
-
' ',
|
|
22
|
-
"and",
|
|
23
|
-
' ',
|
|
24
|
-
h(Link, { href: "https://www.australianretirementtrust.com.au/tmd" }, "Target Market Determination"),
|
|
25
|
-
' ',
|
|
26
|
-
"before deciding to invest in or apply to become a member of this fund.")),
|
|
27
|
-
abnInfo: name,
|
|
28
|
-
abn: '60 905 115 063',
|
|
29
|
-
footnoteTextOverride: none,
|
|
30
|
-
dtoPropName: 'australianRetirementTrust'
|
|
31
|
-
};
|
|
32
|
-
export default fund;
|
package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/aware.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { h } from '@stencil/core';
|
|
2
|
-
import { none } from 'fp-ts/lib/Option';
|
|
3
|
-
import { SuperSelectionAppRoutes } from '../../../services/super-selection-app.routes';
|
|
4
|
-
import { Link, pdsViewedAsync } from '../types';
|
|
5
|
-
const name = 'Aware Super';
|
|
6
|
-
const fund = {
|
|
7
|
-
fundId: 'aware',
|
|
8
|
-
name,
|
|
9
|
-
logo: 'logo-aware.svg',
|
|
10
|
-
route: SuperSelectionAppRoutes.PromotedFundJoinV1,
|
|
11
|
-
features: [
|
|
12
|
-
h("p", null, "Acting on climate change"),
|
|
13
|
-
h("p", null, "All profits go to members"),
|
|
14
|
-
h("p", null, "One of Australia\u2019s largest funds")
|
|
15
|
-
],
|
|
16
|
-
disclaimer: (h("p", null,
|
|
17
|
-
"You should consider the",
|
|
18
|
-
' ',
|
|
19
|
-
h(Link, { href: "https://aware.com.au/member/forms-and-resources/pds/FSS", onClick: () => pdsViewedAsync(name) }, "Product Disclosure Statement"),
|
|
20
|
-
' ',
|
|
21
|
-
"before deciding to invest in or apply to become a member of this fund.")),
|
|
22
|
-
abnInfo: `Aware Super Pty Ltd`,
|
|
23
|
-
abn: '53 226 460 365',
|
|
24
|
-
footnoteTextOverride: none,
|
|
25
|
-
dtoPropName: 'aware'
|
|
26
|
-
};
|
|
27
|
-
export default fund;
|
package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/first.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { h } from '@stencil/core';
|
|
2
|
-
import { none } from 'fp-ts/lib/Option';
|
|
3
|
-
import { SuperSelectionAppRoutes } from '../../../services/super-selection-app.routes';
|
|
4
|
-
import { Link, pdsViewedAsync } from '../types';
|
|
5
|
-
const name = 'First Super';
|
|
6
|
-
const fund = {
|
|
7
|
-
fundId: 'first-super',
|
|
8
|
-
name,
|
|
9
|
-
logo: 'logo-first.svg',
|
|
10
|
-
route: SuperSelectionAppRoutes.PromotedFundJoinV2,
|
|
11
|
-
features: [
|
|
12
|
-
h("p", null, "Industry SuperFund that offers five investment options and default insurance"),
|
|
13
|
-
h("p", null, "Strong long-term investment returns and superior customer service - members first"),
|
|
14
|
-
h("p", null, "Established super fund \u2013 anyone can join including KiwiSaver members")
|
|
15
|
-
],
|
|
16
|
-
disclaimer: (h("div", null,
|
|
17
|
-
h("p", null,
|
|
18
|
-
"General advice only which has been prepared without taking into account your objectives, financial situation or needs. Consider whether the advice is appropriate for you and read the Product Disclosure Statement (PDS) before making any investment decisions. PDS and Target Market Determination are available at our",
|
|
19
|
-
' ',
|
|
20
|
-
h(Link, { onClick: () => pdsViewedAsync(name), href: "https://www.firstsuper.com.au/forms-tools/product-disclosure-statements/" }, "website"),
|
|
21
|
-
". Past performance is not a reliable indicator of future performance."),
|
|
22
|
-
h("br", null),
|
|
23
|
-
h("p", null, "Issued by First Super Pty Ltd ABN 42 053 498 472, AFSL 223988 (Trustee) as Trustee of First Super ABN 56 286 625 181."))),
|
|
24
|
-
footnoteTextOverride: none,
|
|
25
|
-
dtoPropName: 'firstSuper'
|
|
26
|
-
};
|
|
27
|
-
export default fund;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { h } from '@stencil/core';
|
|
2
|
-
import { none } from 'fp-ts/lib/Option';
|
|
3
|
-
import { SuperSelectionAppRoutes } from '../../../services/super-selection-app.routes';
|
|
4
|
-
import { Link, pdsViewedAsync } from '../types';
|
|
5
|
-
const name = 'HESTA';
|
|
6
|
-
const fund = {
|
|
7
|
-
fundId: 'hesta-default',
|
|
8
|
-
name,
|
|
9
|
-
logo: 'logo-hesta.svg',
|
|
10
|
-
route: SuperSelectionAppRoutes.PromotedFundJoinV2,
|
|
11
|
-
features: [
|
|
12
|
-
h("p", null, "A top-performing super fund* working for real-world impact"),
|
|
13
|
-
h("p", null, "1+ million members"),
|
|
14
|
-
h("p", null, "Expert help whenever you need it to help you face the future with confidence")
|
|
15
|
-
],
|
|
16
|
-
featureSubText: (h("span", null,
|
|
17
|
-
"* SuperRatings 10 Year Platinum Performance 2013-2023 (MySuper). Product ratings and awards are only one factor to be considered. See",
|
|
18
|
-
' ',
|
|
19
|
-
h(Link, { className: "underline underline-offset-2 hover:text-gray-600", href: "https://www.hesta.com.au/ratings" }, "hesta.com.au/ratings"),
|
|
20
|
-
' ',
|
|
21
|
-
"for more information.")),
|
|
22
|
-
disclaimer: (h("div", { class: "space-y-2" },
|
|
23
|
-
h("p", null,
|
|
24
|
-
"You should look at your own financial position and requirements before making a decision. You may wish to consult an adviser when doing this or use the",
|
|
25
|
-
' ',
|
|
26
|
-
h(Link, { href: "https://www.ato.gov.au/YourSuper-comparison-tool/" }, "ATO YourSuper comparison tool"),
|
|
27
|
-
"."),
|
|
28
|
-
h("p", null,
|
|
29
|
-
"Visit",
|
|
30
|
-
' ',
|
|
31
|
-
h(Link, { onClick: () => pdsViewedAsync(name), href: "https://www.hesta.com.au/pds" }, "hesta.com.au/pds"),
|
|
32
|
-
' ',
|
|
33
|
-
"for a copy of a Product Disclosure Statement which should be considered when making a decision about the HESTA products on this website and to consider the relevant risks. The target market determination for HESTA products can be found at",
|
|
34
|
-
' ',
|
|
35
|
-
h(Link, { href: "https://www.hesta.com.au/tmd" }, "hesta.com.au/tmd"),
|
|
36
|
-
"."),
|
|
37
|
-
h("p", null, "Issued by H.E.S.T. Australia Ltd ABN 66 006 818 695 AFSL No. 235249, Trustee of HESTA"))),
|
|
38
|
-
footnoteTextOverride: none,
|
|
39
|
-
isPromotedDefault: true
|
|
40
|
-
};
|
|
41
|
-
export default fund;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { h } from '@stencil/core';
|
|
2
|
-
import { some } from 'fp-ts/lib/Option';
|
|
3
|
-
import { SuperSelectionAppRoutes } from '../../../services/super-selection-app.routes';
|
|
4
|
-
import { Link, pdsViewedAsync, PoweredByFlareFS } from '../types';
|
|
5
|
-
const name = 'Mercer MyChoice';
|
|
6
|
-
const fund = {
|
|
7
|
-
fundId: 'mercermychoice',
|
|
8
|
-
name,
|
|
9
|
-
logo: 'logo-mercer-mychoice.svg',
|
|
10
|
-
route: SuperSelectionAppRoutes.PromotedFundJoinV2,
|
|
11
|
-
features: [
|
|
12
|
-
h("p", null, "Save more super with our low fees"),
|
|
13
|
-
h("p", null, "Take control with 6 MyChoice investment options"),
|
|
14
|
-
h("p", null, "Join 850,000 Australians who trust our global expertise")
|
|
15
|
-
],
|
|
16
|
-
disclaimer: (h("div", null,
|
|
17
|
-
h("p", null,
|
|
18
|
-
"You should consider the",
|
|
19
|
-
' ',
|
|
20
|
-
h(Link, { href: "https://www.mercersuper.com.au/campaign-page/mercer-mychoice", onClick: () => pdsViewedAsync(name) }, "Product Disclosure Statement"),
|
|
21
|
-
' ',
|
|
22
|
-
"and",
|
|
23
|
-
' ',
|
|
24
|
-
h(Link, { href: "https://www.mercersuper.com.au/documents/target-market-determinations" }, "Target Market Determination"),
|
|
25
|
-
' ',
|
|
26
|
-
"before deciding to invest in or apply to become a member of the fund."),
|
|
27
|
-
h("br", null),
|
|
28
|
-
h("p", null, "Issued by Mercer Superannuation (Australia) Limited (\u2018Mercer Super\u2019) ABN: 79 004 717 533"))),
|
|
29
|
-
footnoteTextOverride: some(PoweredByFlareFS),
|
|
30
|
-
dtoPropName: 'mercerMyChoice'
|
|
31
|
-
};
|
|
32
|
-
export default fund;
|
package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/slate.js
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { h } from '@stencil/core';
|
|
2
|
-
import { none } from 'fp-ts/lib/Option';
|
|
3
|
-
import { SuperSelectionAppRoutes } from '../../../services/super-selection-app.routes';
|
|
4
|
-
import { Link, pdsViewedAsync } from '../types';
|
|
5
|
-
const name = 'Slate Super';
|
|
6
|
-
export const slateUsi = '32367272075001';
|
|
7
|
-
const fund = {
|
|
8
|
-
fundId: 'slate',
|
|
9
|
-
name,
|
|
10
|
-
logo: 'logo-slate.png',
|
|
11
|
-
route: SuperSelectionAppRoutes.SlateJoin,
|
|
12
|
-
features: [
|
|
13
|
-
h("p", null, "A lifestage investment strategy that evolves with you"),
|
|
14
|
-
h("p", null, "Advanced mobile app with retirement forecast and smart features"),
|
|
15
|
-
h("p", null, "Member advocates at Slate to assist with your account")
|
|
16
|
-
],
|
|
17
|
-
disclaimer: (h("p", { class: "small text-muted" },
|
|
18
|
-
"You should consider the",
|
|
19
|
-
' ',
|
|
20
|
-
h(Link, { href: "https://slate.co/pds/?utm_source=flare&utm_medium=superselection", onClick: () => pdsViewedAsync(name, slateUsi) }, "Product Disclosure Statement"),
|
|
21
|
-
' ',
|
|
22
|
-
"and",
|
|
23
|
-
' ',
|
|
24
|
-
h(Link, { href: "https://slate.co/forms-and-documents/target-market-determination/" }, "Target Market Determination"),
|
|
25
|
-
' ',
|
|
26
|
-
"before deciding to invest in or apply to become a member of the fund.")),
|
|
27
|
-
abnInfo: `Diversa Trustees Limited`,
|
|
28
|
-
abn: '49 006 421 638',
|
|
29
|
-
footnoteTextOverride: none,
|
|
30
|
-
dtoPropName: 'slate'
|
|
31
|
-
};
|
|
32
|
-
export default fund;
|
package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/spirit.js
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { h } from '@stencil/core';
|
|
2
|
-
import { none } from 'fp-ts/lib/Option';
|
|
3
|
-
import { SuperSelectionAppRoutes } from '../../../services/super-selection-app.routes';
|
|
4
|
-
import { Link, pdsViewedAsync } from '../types';
|
|
5
|
-
const name = 'Spirit Super';
|
|
6
|
-
const fund = {
|
|
7
|
-
fundId: 'spirit',
|
|
8
|
-
name,
|
|
9
|
-
logo: 'logo-spirit.svg',
|
|
10
|
-
route: SuperSelectionAppRoutes.PromotedFundJoinV2,
|
|
11
|
-
features: [
|
|
12
|
-
h("p", null, "Proud Industry SuperFund - all profits go back to members"),
|
|
13
|
-
h("p", null,
|
|
14
|
-
"Best customer experience in super",
|
|
15
|
-
h("sup", { class: "text-tiny" }, "1"),
|
|
16
|
-
" and best for value",
|
|
17
|
-
h("sup", { class: "text-tiny" }, "2")),
|
|
18
|
-
h("p", null,
|
|
19
|
-
"Low fees",
|
|
20
|
-
h("sup", { class: "text-tiny" }, "3"),
|
|
21
|
-
" with a focus on strong returns and investing with impact in communities",
|
|
22
|
-
h("sup", { class: "text-tiny" }, "4"))
|
|
23
|
-
],
|
|
24
|
-
featureSubText: (h("div", { class: "m-4 pt-2" },
|
|
25
|
-
h("ol", { class: "list-decimal space-y-2" },
|
|
26
|
-
h("li", null,
|
|
27
|
-
h("span", null, "CSBA SenseCX Benchmark 2021-22")),
|
|
28
|
-
h("li", null,
|
|
29
|
-
h("span", null, "Awarded Best for Value in the WeMoney Superannuation Awards 2022")),
|
|
30
|
-
h("li", null,
|
|
31
|
-
h("span", null, "Just $67.60 + 0.15% pa admin fees, capped at $517.60")),
|
|
32
|
-
h("li", null,
|
|
33
|
-
h("span", null, "Rainmaker ESG Leader Rating 2022"))))),
|
|
34
|
-
disclaimer: (h("p", null,
|
|
35
|
-
"Past performance isn\u2019t a reliable indicator of future performance. Consider the PDS and TMD at",
|
|
36
|
-
' ',
|
|
37
|
-
h(Link, { href: "https://www.spiritsuper.com.au/pds", onClick: () => pdsViewedAsync(name) }, "www.spiritsuper.com.au/pds"),
|
|
38
|
-
' ',
|
|
39
|
-
"before making a decision. Issuer is Motor Trades Association of Australia Superannuation Fund Pty Ltd (AFSL 238 718, ABN 14 008 650 628), the trustee of Spirit Super (ABN 74 559 365 913). Advice is provided by Quadrant First Pty Ltd (ABN 78 102 167 877, AFSL 284443).")),
|
|
40
|
-
footnoteTextOverride: none,
|
|
41
|
-
dtoPropName: 'spirit'
|
|
42
|
-
};
|
|
43
|
-
export default fund;
|
package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/virgin.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { h } from '@stencil/core';
|
|
2
|
-
import { some } from 'fp-ts/lib/Option';
|
|
3
|
-
import { SuperSelectionAppRoutes } from '../../../services/super-selection-app.routes';
|
|
4
|
-
import { Link, pdsViewedAsync, PoweredByFlareFS } from '../types';
|
|
5
|
-
const name = 'Virgin Money Super';
|
|
6
|
-
const fund = {
|
|
7
|
-
fundId: 'virgin',
|
|
8
|
-
name,
|
|
9
|
-
logo: 'logo-virgin.svg',
|
|
10
|
-
route: SuperSelectionAppRoutes.PromotedFundJoinV2,
|
|
11
|
-
features: [
|
|
12
|
-
h("p", null,
|
|
13
|
-
"Returns above industry and retail super fund medians over the past 5 years",
|
|
14
|
-
h("sup", { class: "text-tiny" }, "1")),
|
|
15
|
-
h("p", null, "One of the lowest fees in the market"),
|
|
16
|
-
h("p", null,
|
|
17
|
-
"Virgin Money rewards you with Velocity Points on your contributions",
|
|
18
|
-
h("sup", { class: "text-tiny" }, "2"))
|
|
19
|
-
],
|
|
20
|
-
featureSubText: (h("div", { class: "m-4 pt-2" },
|
|
21
|
-
h("ol", { class: "list-decimal space-y-2" },
|
|
22
|
-
h("li", null,
|
|
23
|
-
h("span", null, "Past performance is not a reliable indicator of future performance. Source: SuperRatings Fund Crediting Rate Survey April 2022.")),
|
|
24
|
-
h("li", null,
|
|
25
|
-
h("span", null,
|
|
26
|
-
h(Link, { className: "underline underline-offset-2 hover:text-gray-600", href: "https://virginmoney.com.au/superannuation/forms-and-key-information/key-documents" }, "Eligibility and T&Cs apply")))))),
|
|
27
|
-
disclaimer: (h("p", null,
|
|
28
|
-
"Prepared by Virgin Money Financial Services Pty Ltd ABN 51 113 285 395 AFSL 286869 (\u2018Virgin Money\u2019). Virgin Money Super is a plan in the Mercer Super Trust ABN 19 905 422 981. Virgin Money Super is issued by Mercer Superannuation (Australia) Limited (MSAL) ABN 79 004 717 533 AFSL 235906 as trustee of the Mercer Super Trust. Consider the PDS and TMD at",
|
|
29
|
-
' ',
|
|
30
|
-
h(Link, { href: "https://virginmoney.com.au/superannuation/", onClick: () => pdsViewedAsync(name) }, "www.virginmoney.com.au"),
|
|
31
|
-
' ',
|
|
32
|
-
"before making a decision")),
|
|
33
|
-
footnoteTextOverride: some(PoweredByFlareFS),
|
|
34
|
-
dtoPropName: 'virgin'
|
|
35
|
-
};
|
|
36
|
-
export default fund;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { Component, h, Prop } from '@stencil/core';
|
|
2
|
-
import PromotedFundJoinV1IFrameBuilder from './services/promoted-fund-join-v1-iframe-builder';
|
|
3
|
-
export class PromotedFundJoinV1Page {
|
|
4
|
-
render() {
|
|
5
|
-
return (h("sss-iframe-host", { build: (iframe) => PromotedFundJoinV1IFrameBuilder.build(iframe, this.history) }));
|
|
6
|
-
}
|
|
7
|
-
static get is() { return "sss-promoted-fund-join-v1-page"; }
|
|
8
|
-
static get properties() { return {
|
|
9
|
-
"history": {
|
|
10
|
-
"type": "unknown",
|
|
11
|
-
"mutable": false,
|
|
12
|
-
"complexType": {
|
|
13
|
-
"original": "RouterHistory",
|
|
14
|
-
"resolved": "RouterHistory",
|
|
15
|
-
"references": {
|
|
16
|
-
"RouterHistory": {
|
|
17
|
-
"location": "import",
|
|
18
|
-
"path": "@stencil/router"
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"required": false,
|
|
23
|
-
"optional": false,
|
|
24
|
-
"docs": {
|
|
25
|
-
"tags": [],
|
|
26
|
-
"text": ""
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}; }
|
|
30
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { Component, h, Prop } from '@stencil/core';
|
|
2
|
-
import PromotedFundJoinV2IFrameBuilder from './services/promoted-fund-join-v2-iframe-builder';
|
|
3
|
-
export class PromotedFundJoinV2Page {
|
|
4
|
-
render() {
|
|
5
|
-
return (h("sss-iframe-host", { build: (iframe) => PromotedFundJoinV2IFrameBuilder.build(iframe, this.history) }));
|
|
6
|
-
}
|
|
7
|
-
static get is() { return "sss-promoted-fund-join-v2-page"; }
|
|
8
|
-
static get properties() { return {
|
|
9
|
-
"history": {
|
|
10
|
-
"type": "unknown",
|
|
11
|
-
"mutable": false,
|
|
12
|
-
"complexType": {
|
|
13
|
-
"original": "RouterHistory",
|
|
14
|
-
"resolved": "RouterHistory",
|
|
15
|
-
"references": {
|
|
16
|
-
"RouterHistory": {
|
|
17
|
-
"location": "import",
|
|
18
|
-
"path": "@stencil/router"
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"required": false,
|
|
23
|
-
"optional": false,
|
|
24
|
-
"docs": {
|
|
25
|
-
"tags": [],
|
|
26
|
-
"text": ""
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}; }
|
|
30
|
-
}
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import * as O from 'fp-ts/lib/Option';
|
|
2
|
-
import iframeUtil from '../../../../../utils/iframe';
|
|
3
|
-
import navigationService from '../../../services/navigation.service';
|
|
4
|
-
import { SuperSelectionAppRoutes } from '../../../services/super-selection-app.routes';
|
|
5
|
-
import superSelectionAppService from '../../../services/super-selection-app.service';
|
|
6
|
-
import { getFundNameByFundId } from '../../constants';
|
|
7
|
-
import promotedFundChoiceApi from '../api/promoted-fund-choice.api';
|
|
8
|
-
import promotedFundState from '../promoted-fund.store';
|
|
9
|
-
import { reset as resetPromotedFundState } from '../promoted-fund.store';
|
|
10
|
-
class PromotedFundJoinV1IFrameBuilder {
|
|
11
|
-
constructor() {
|
|
12
|
-
this.hostIsLocalSuperSelection = () => window.location.origin === 'http://localhost:7100';
|
|
13
|
-
this.environmentDiscriminator = () => {
|
|
14
|
-
return this.hostIsLocalSuperSelection()
|
|
15
|
-
? 'autodev-partner'
|
|
16
|
-
: window.location.hostname.toLowerCase().split('.')[0];
|
|
17
|
-
};
|
|
18
|
-
this.promotedFundJoinAppUrl = () => {
|
|
19
|
-
return `https://${this.environmentDiscriminator()}.flarehr.com/promoted-fund-join/embed/v1.0/web`;
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
build(iframe, history) {
|
|
23
|
-
if (!(iframe === null || iframe === void 0 ? void 0 : iframe.contentDocument))
|
|
24
|
-
return;
|
|
25
|
-
const postData = Object.assign(Object.assign({}, this.getMemberData()), { partnerId: superSelectionAppService.partnerIdOrDefault, accountId: superSelectionAppService.accountIdOrDefault, fundId: promotedFundState.fundId, authToken: superSelectionAppService.jwt });
|
|
26
|
-
const handleMessage = (event) => {
|
|
27
|
-
const { data } = event;
|
|
28
|
-
if (!data) {
|
|
29
|
-
return;
|
|
30
|
-
}
|
|
31
|
-
if (data.sender === 'promoted-fund-redirect') {
|
|
32
|
-
window.removeEventListener('message', handleMessage);
|
|
33
|
-
switch (data.type) {
|
|
34
|
-
case 'cancel':
|
|
35
|
-
navigationService.navigateInternally(history, SuperSelectionAppRoutes.ChoicePage);
|
|
36
|
-
break;
|
|
37
|
-
case 'success':
|
|
38
|
-
if (data.memberNumber) {
|
|
39
|
-
const promotedFundId = promotedFundState.fundId;
|
|
40
|
-
const fundName = getFundNameByFundId(promotedFundId);
|
|
41
|
-
navigationService.navigateInternallyToStandardChoice({
|
|
42
|
-
history,
|
|
43
|
-
fundName: O.isSome(fundName) ? fundName.value : '',
|
|
44
|
-
handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync(Object.assign({ fundId: promotedFundId, memberNumber: data.memberNumber, memberFirstName: data.memberFirstName, memberFamilyName: data.memberFamilyName, usi: data.usi.replace(/ /g, ''), standardChoiceFormSignature, defaultFundUsiSet: O.toUndefined(superSelectionAppService.defaultFundUsi) }, superSelectionAppService.promotedFundsConfig)),
|
|
45
|
-
promotedFundId
|
|
46
|
-
});
|
|
47
|
-
break;
|
|
48
|
-
}
|
|
49
|
-
/* falls through */
|
|
50
|
-
default:
|
|
51
|
-
navigationService.navigateInternally(history, SuperSelectionAppRoutes.ChoicePage);
|
|
52
|
-
break;
|
|
53
|
-
}
|
|
54
|
-
resetPromotedFundState();
|
|
55
|
-
return;
|
|
56
|
-
}
|
|
57
|
-
if (data.sender === 'promoted-fund-join') {
|
|
58
|
-
switch (data.type) {
|
|
59
|
-
case 'contentResized':
|
|
60
|
-
iframe.height = data.height > 0 ? data.height : iframe.height;
|
|
61
|
-
iframe.width = data.width > 0 ? data.width : iframe.width;
|
|
62
|
-
break;
|
|
63
|
-
case 'pageNavigated':
|
|
64
|
-
window.scroll(iframe.offsetLeft, iframe.offsetTop);
|
|
65
|
-
iframeUtil.navigation(window.location.href);
|
|
66
|
-
break;
|
|
67
|
-
default:
|
|
68
|
-
break;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
window.addEventListener('message', handleMessage);
|
|
73
|
-
const iframeDoc = iframe.contentDocument;
|
|
74
|
-
iframeDoc.open();
|
|
75
|
-
const form = iframeDoc.createElement('form');
|
|
76
|
-
form.method = 'POST';
|
|
77
|
-
form.target = '_self';
|
|
78
|
-
form.action = this.promotedFundJoinAppUrl();
|
|
79
|
-
let prop;
|
|
80
|
-
for (prop in postData) {
|
|
81
|
-
const value = postData[prop];
|
|
82
|
-
if (value !== undefined) {
|
|
83
|
-
const input = document.createElement('input');
|
|
84
|
-
input.type = 'hidden';
|
|
85
|
-
input.name = prop;
|
|
86
|
-
input.value = value;
|
|
87
|
-
form.append(input);
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
iframeDoc.appendChild(form);
|
|
91
|
-
iframeDoc.close();
|
|
92
|
-
form.submit();
|
|
93
|
-
}
|
|
94
|
-
getMemberData() {
|
|
95
|
-
var _a, _b;
|
|
96
|
-
const superBuyer = superSelectionAppService.superBuyer;
|
|
97
|
-
return {
|
|
98
|
-
title: superBuyer.userProfile.title,
|
|
99
|
-
firstName: superBuyer.userProfile.firstName,
|
|
100
|
-
middleName: superBuyer.userProfile.middleName,
|
|
101
|
-
lastName: superBuyer.userProfile.lastName,
|
|
102
|
-
dateOfBirth: superBuyer.userProfile.dateOfBirth,
|
|
103
|
-
gender: superBuyer.userProfile.gender,
|
|
104
|
-
email: superBuyer.userProfile.email,
|
|
105
|
-
mobilePhone: superBuyer.userProfile.mobilePhone,
|
|
106
|
-
taxFileNumber: (_a = superBuyer.tfn) !== null && _a !== void 0 ? _a : '',
|
|
107
|
-
addressLine1: superBuyer.userProfile.address.addressLine1,
|
|
108
|
-
addressLine2: (_b = superBuyer.userProfile.address.addressLine2) !== null && _b !== void 0 ? _b : '',
|
|
109
|
-
city: superBuyer.userProfile.address.city,
|
|
110
|
-
state: superBuyer.userProfile.address.state,
|
|
111
|
-
postCode: superBuyer.userProfile.address.postcode
|
|
112
|
-
};
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
export default new PromotedFundJoinV1IFrameBuilder();
|