@flarehr/apollo-super-selection 4.20.27915 → 4.22.28155
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-777b2ea4.entry.js +14 -0
- package/dist/lib/apollo-super-selection/p-9decf4f5.system.entry.js +69 -0
- package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +1 -1
- package/dist/lib/cjs/sss-button_30.cjs.entry.js +75 -138
- package/dist/lib/collection/apollo-super-selection.css +1 -1
- package/dist/lib/collection/components/super-selection-app/existing-choice/existing-choice.js +6 -9
- package/dist/lib/collection/components/super-selection-app/footer-section/footer-section.js +1 -3
- package/dist/lib/collection/components/super-selection-app/funds/constants.js +38 -100
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v1-iframe-builder.js +3 -3
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.js +3 -3
- package/dist/lib/collection/components/super-selection-app/header-section/header-section.js +2 -3
- package/dist/lib/collection/components/super-selection-app/services/existing-super-choice-info.service.js +7 -6
- package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.js +12 -4
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-bottom.js +4 -2
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-top.js +1 -2
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +11 -18
- package/dist/lib/collection/components/super-selection-app/super-selection-app.js +1 -4
- package/dist/lib/esm/sss-button_30.entry.js +75 -138
- package/dist/lib/esm-es5/sss-button_30.entry.js +3 -3
- package/dist/lib/types/components/super-selection-app/funds/constants.d.ts +17 -8
- package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.d.ts +1 -0
- package/package.json +1 -1
- package/dist/lib/apollo-super-selection/p-13c8f513.system.entry.js +0 -69
- package/dist/lib/apollo-super-selection/p-178816b4.entry.js +0 -14
- package/dist/lib/collection/components/super-selection-app/services/feature-flag.service.js +0 -5
- package/dist/lib/types/components/super-selection-app/services/feature-flag.service.d.ts +0 -3
package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js
CHANGED
|
@@ -3,7 +3,6 @@ import * as O from 'fp-ts/lib/Option';
|
|
|
3
3
|
import * as constants from '../funds/constants';
|
|
4
4
|
import promotedFundState from '../funds/promoted-fund/promoted-fund.store';
|
|
5
5
|
import { EventTrackingService } from '../services/event-tracking.service';
|
|
6
|
-
import { FeatureFlagService } from '../services/feature-flag.service';
|
|
7
6
|
import navigationService from '../services/navigation.service';
|
|
8
7
|
import { SuperSelectionAppRoutes } from '../services/super-selection-app.routes';
|
|
9
8
|
import SuperSelectionAppService from '../services/super-selection-app.service';
|
|
@@ -27,20 +26,13 @@ export class SuperChoicePage {
|
|
|
27
26
|
return (h(Host, null,
|
|
28
27
|
h("div", null,
|
|
29
28
|
h("sss-header-section", { currentPage: "choice" }),
|
|
30
|
-
|
|
29
|
+
h("div", { class: "mt-8 text-sm text-center leading-6" },
|
|
31
30
|
h("p", { class: "leading-6" }, "Not ready to join a new fund, or want to nominate another super fund?"),
|
|
32
31
|
h("stencil-route-link", { url: SuperSelectionAppRoutes.MyOwnFund },
|
|
33
32
|
h("span", { class: "inline-block text-primary-base font-medium mt-3" },
|
|
34
33
|
"Skip Featured Funds\u00A0",
|
|
35
34
|
h("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", "stroke-width": "1.5", stroke: "currentColor", class: "inline h-5 w-5 fill-primary-base group-hover:fill-white" },
|
|
36
|
-
h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M17.25 8.25L21 12m0 0l-3.75 3.75M21 12H3" })))))
|
|
37
|
-
!FeatureFlagService.isNewComplianceEnabled() && (h("div", { class: "flex justify-center pb-4" },
|
|
38
|
-
h("div", { class: "text-center space-y-4 max-w-960 text-sm leading-6" },
|
|
39
|
-
h("p", { class: "text-lg leading-8 text-gray-600" }, "The choice of superannuation fund is an important personal financial decision. It is open to you to continue with your existing fund, or alternatively, you can select from one of the funds below or choose another fund."),
|
|
40
|
-
h("p", null, "Flare is not licensed to advise you in relation to this decision and you may wish to return to this page at a later stage."),
|
|
41
|
-
h("p", null, "The content on this page and on the following pages relating to each super fund is provided by the trustee or promoter of the super fund. The super funds presented have not been selected by your employer and neither your employer or Flare are making any recommendation or opinion."),
|
|
42
|
-
h("p", null, "There are many super funds out there and you should consider the relevant product disclosure statement and choose one that is right for you. If you are unsure, obtain your own advice. You can choose your super fund later, if you need time to obtain advice."),
|
|
43
|
-
h("p", null, "You should be aware that, if you do choose one of these advertised funds, Flare and its associated entities will normally receive a fee for you doing so.")))),
|
|
35
|
+
h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M17.25 8.25L21 12m0 0l-3.75 3.75M21 12H3" }))))),
|
|
44
36
|
h("div", { class: "flex justify-center mt-8" },
|
|
45
37
|
h("div", { class: {
|
|
46
38
|
'lg:grid border-l border-t lg:border-b rounded-lg': true,
|
|
@@ -84,7 +76,7 @@ export class SuperChoicePage {
|
|
|
84
76
|
h("a", { class: "text-primary-base font-medium hover:text-primary-hover", target: "_blank", href: navigationService.toExternalUrl(superfundsLink) }, superfundsLinkDisplay))),
|
|
85
77
|
h("stencil-route-link", { url: SuperSelectionAppRoutes.MyOwnFund },
|
|
86
78
|
h("sss-button", { fillWidthOnMobile: true }, "Choose another super fund")))),
|
|
87
|
-
|
|
79
|
+
h("div", { class: "flex justify-center" },
|
|
88
80
|
h("div", { class: "pt-8 sm:pt-12 max-w-720" },
|
|
89
81
|
h("h5", { class: "font-semibold" }, "IMPORTANT INFORMATION:"),
|
|
90
82
|
h("ul", { class: "list-disc list-outside ml-6 mt-3 space-y-2 text-sm leading-6" },
|
|
@@ -92,7 +84,7 @@ export class SuperChoicePage {
|
|
|
92
84
|
h("li", null, "This is not a comparison service. This page contains factual information only and does not constitute either general or personal advice about any financial products. We do not take into account your objectives, financial situation or needs. If you have questions or need help making a decision about your superannuation fund, you should speak to a licensed financial product advice provider."),
|
|
93
85
|
h("li", null, "Flare, the technology partner you are accessing Flare via and your employer do not endorse or accept responsibility for any financial product advice or services provided by the promoters or trustees of the featured superannuation funds. Flare does not endorse or accept responsibility for any of the content shown about any of the featured superannuation funds."),
|
|
94
86
|
h("li", null, "You should consider the relevant superannuation fund\u2019s PDS and TMD (if applicable) in deciding whether to apply to join the superannuation fund. Each of the superannuation funds featured above include a link to their PDS and TMD (if applicable) for your convenience. If you are considering joining another superannuation fund, you can typically find the PDS and TMD (if applicable) on that fund\u2019s website."),
|
|
95
|
-
h("li", null, "You should be aware that, if you do choose one of the featured superannuation funds, Flare and it\u2019s associates will normally receive a fee for you doing so (this includes Simple Financial Choices Pty Ltd, a wholly owned subsidiary of Flare, which is a sub-promoter of Slate Super).")))))))
|
|
87
|
+
h("li", null, "You should be aware that, if you do choose one of the featured superannuation funds, Flare and it\u2019s associates will normally receive a fee for you doing so (this includes Simple Financial Choices Pty Ltd, a wholly owned subsidiary of Flare, which is a sub-promoter of Slate Super).")))))));
|
|
96
88
|
}
|
|
97
89
|
allFunds() {
|
|
98
90
|
const Link = (props, children) => {
|
|
@@ -315,14 +307,14 @@ export class SuperChoicePage {
|
|
|
315
307
|
' ',
|
|
316
308
|
h(Link, { href: constants.MercerMyChoice.PdsUrl, onClick: () => this.pdsViewedAsync(constants.MercerMyChoice.Name) }, "Product Disclosure Statement"),
|
|
317
309
|
' ',
|
|
318
|
-
"and",
|
|
319
|
-
' ',
|
|
310
|
+
"and ",
|
|
320
311
|
h(Link, { href: constants.MercerMyChoice.TmdUrl }, "Target Market Determination"),
|
|
321
312
|
' ',
|
|
322
313
|
"before deciding to invest in or apply to become a member of the fund."),
|
|
323
314
|
h("br", null),
|
|
324
315
|
h("p", null,
|
|
325
|
-
"Issued by Mercer Superannuation (Australia) Limited (\u2018Mercer Super\u2019) ABN:
|
|
316
|
+
"Issued by Mercer Superannuation (Australia) Limited (\u2018Mercer Super\u2019) ABN:",
|
|
317
|
+
' ',
|
|
326
318
|
constants.MercerMyChoice.Abn)))
|
|
327
319
|
}
|
|
328
320
|
];
|
|
@@ -338,11 +330,12 @@ export class SuperChoicePage {
|
|
|
338
330
|
return fundTiles;
|
|
339
331
|
}
|
|
340
332
|
async handleJoinSuperClickAsync(fund) {
|
|
341
|
-
var _a;
|
|
342
333
|
const promotedFundsShown = SuperSelectionAppService.promotedFunds;
|
|
334
|
+
const fundUsi = constants.getFundUsiByFundId(fund.fundId);
|
|
335
|
+
const fundName = constants.getFundNameByFundId(fund.fundId);
|
|
343
336
|
await this.eventTrackingService.TrackPromotedSuperFundDetailViewedAsync({
|
|
344
|
-
fundUsi:
|
|
345
|
-
fundName:
|
|
337
|
+
fundUsi: O.isSome(fundUsi) ? fundUsi.value : undefined,
|
|
338
|
+
fundName: O.isSome(fundName) ? fundName.value : '',
|
|
346
339
|
promotedFundId: fund.fundId,
|
|
347
340
|
promotedFundsShown,
|
|
348
341
|
defaultFundUsiSet: O.toUndefined(SuperSelectionAppService.defaultFundUsi)
|
|
@@ -6,7 +6,6 @@ import iframe from '../../utils/iframe';
|
|
|
6
6
|
import * as constants from './funds/constants';
|
|
7
7
|
import promotedFundState from './funds/promoted-fund/promoted-fund.store';
|
|
8
8
|
import existingFundService from './services/existing-super-choice-info.service';
|
|
9
|
-
import { FeatureFlagService } from './services/feature-flag.service';
|
|
10
9
|
import navigationService from './services/navigation.service';
|
|
11
10
|
import { SuperSelectionAppRoutes, superSelectionAppStencilRoutes } from './services/super-selection-app.routes';
|
|
12
11
|
import superSelectionAppService from './services/super-selection-app.service';
|
|
@@ -60,9 +59,7 @@ export class SuperSelectionApp {
|
|
|
60
59
|
navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ExistingChoicePage);
|
|
61
60
|
}
|
|
62
61
|
else {
|
|
63
|
-
navigationService.navigateInternally(this.history,
|
|
64
|
-
? SuperSelectionAppRoutes.ConsentPage
|
|
65
|
-
: SuperSelectionAppRoutes.ChoicePage);
|
|
62
|
+
navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ConsentPage);
|
|
66
63
|
}
|
|
67
64
|
}
|
|
68
65
|
authTokenChanged(newValue) {
|
|
@@ -260,7 +260,7 @@ class TapSubscriber extends Subscriber {
|
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
const AppVersion = '4.
|
|
263
|
+
const AppVersion = '4.22.28155';
|
|
264
264
|
|
|
265
265
|
// -------------------------------------------------------------------------------------
|
|
266
266
|
// guards
|
|
@@ -4000,7 +4000,7 @@ const SelectInputAsync = class {
|
|
|
4000
4000
|
};
|
|
4001
4001
|
SelectInputAsync.style = dropdownAsyncCss;
|
|
4002
4002
|
|
|
4003
|
-
const PoweredByFlareFS = 'Powered by
|
|
4003
|
+
const PoweredByFlareFS = 'Powered by Flare FS';
|
|
4004
4004
|
const Slate = {
|
|
4005
4005
|
Id: 'slate',
|
|
4006
4006
|
Name: 'Slate Super',
|
|
@@ -4008,7 +4008,8 @@ const Slate = {
|
|
|
4008
4008
|
PdsUrl: 'https://slate.co/pds/?utm_source=flare&utm_medium=superselection',
|
|
4009
4009
|
Usi: '32367272075001',
|
|
4010
4010
|
DiversaAbn: '49 006 421 638',
|
|
4011
|
-
FooterTextOverride: none
|
|
4011
|
+
FooterTextOverride: none,
|
|
4012
|
+
DtoPropName: 'slate'
|
|
4012
4013
|
};
|
|
4013
4014
|
const AustralianRetirementTrust = {
|
|
4014
4015
|
Id: 'australian-retirement-trust',
|
|
@@ -4016,7 +4017,8 @@ const AustralianRetirementTrust = {
|
|
|
4016
4017
|
Logo: 'logo-art.svg',
|
|
4017
4018
|
PdsUrl: 'https://www.australianretirementtrust.com.au/library/media/pdfs/pds/super-savings-product-disclosure-statement-and-membership-form.pdf',
|
|
4018
4019
|
Abn: '60 905 115 063',
|
|
4019
|
-
FooterTextOverride: none
|
|
4020
|
+
FooterTextOverride: none,
|
|
4021
|
+
DtoPropName: 'australianRetirementTrust'
|
|
4020
4022
|
};
|
|
4021
4023
|
const Aware = {
|
|
4022
4024
|
Id: 'aware',
|
|
@@ -4024,7 +4026,8 @@ const Aware = {
|
|
|
4024
4026
|
Logo: 'logo-aware.svg',
|
|
4025
4027
|
PdsUrl: 'https://aware.com.au/member/forms-and-resources/pds/FSS',
|
|
4026
4028
|
Abn: '53 226 460 365',
|
|
4027
|
-
FooterTextOverride: none
|
|
4029
|
+
FooterTextOverride: none,
|
|
4030
|
+
DtoPropName: 'aware'
|
|
4028
4031
|
};
|
|
4029
4032
|
const Active = {
|
|
4030
4033
|
Id: 'active',
|
|
@@ -4032,7 +4035,8 @@ const Active = {
|
|
|
4032
4035
|
Logo: 'logo-active.svg',
|
|
4033
4036
|
PdsUrl: 'https://www.activesuper.com.au/pds',
|
|
4034
4037
|
Abn: '28 901 371 321',
|
|
4035
|
-
FooterTextOverride: some(PoweredByFlareFS)
|
|
4038
|
+
FooterTextOverride: some(PoweredByFlareFS),
|
|
4039
|
+
DtoPropName: 'active'
|
|
4036
4040
|
};
|
|
4037
4041
|
const AustralianEthical = {
|
|
4038
4042
|
Id: 'australian-ethical',
|
|
@@ -4040,7 +4044,8 @@ const AustralianEthical = {
|
|
|
4040
4044
|
Logo: 'logo-aus-eth.svg',
|
|
4041
4045
|
PdsUrl: 'https://www.australianethical.com.au/super/pds-forms/',
|
|
4042
4046
|
Abn: '43 079 259 733',
|
|
4043
|
-
FooterTextOverride: none
|
|
4047
|
+
FooterTextOverride: none,
|
|
4048
|
+
DtoPropName: 'australianEthical'
|
|
4044
4049
|
};
|
|
4045
4050
|
const Virgin = {
|
|
4046
4051
|
Id: 'virgin',
|
|
@@ -4048,7 +4053,8 @@ const Virgin = {
|
|
|
4048
4053
|
Logo: 'logo-virgin.svg',
|
|
4049
4054
|
PdsUrl: 'https://virginmoney.com.au/superannuation/',
|
|
4050
4055
|
Abn: '19 905 422 981',
|
|
4051
|
-
FooterTextOverride: some(PoweredByFlareFS)
|
|
4056
|
+
FooterTextOverride: some(PoweredByFlareFS),
|
|
4057
|
+
DtoPropName: 'virgin'
|
|
4052
4058
|
};
|
|
4053
4059
|
const Spirit = {
|
|
4054
4060
|
Id: 'spirit',
|
|
@@ -4056,7 +4062,8 @@ const Spirit = {
|
|
|
4056
4062
|
Logo: 'logo-spirit.svg',
|
|
4057
4063
|
PdsUrl: 'https://www.spiritsuper.com.au/pds',
|
|
4058
4064
|
Abn: '74 559 365 913',
|
|
4059
|
-
FooterTextOverride: none
|
|
4065
|
+
FooterTextOverride: none,
|
|
4066
|
+
DtoPropName: 'spirit'
|
|
4060
4067
|
};
|
|
4061
4068
|
const First = {
|
|
4062
4069
|
Id: 'first-super',
|
|
@@ -4064,107 +4071,38 @@ const First = {
|
|
|
4064
4071
|
Logo: 'logo-first.svg',
|
|
4065
4072
|
PdsUrl: 'https://www.firstsuper.com.au/forms-tools/product-disclosure-statements/',
|
|
4066
4073
|
Abn: '56 286 625 181',
|
|
4067
|
-
FooterTextOverride: none
|
|
4074
|
+
FooterTextOverride: none,
|
|
4075
|
+
DtoPropName: 'firstSuper'
|
|
4068
4076
|
};
|
|
4069
4077
|
const MercerMyChoice = {
|
|
4070
4078
|
Id: 'mercermychoice',
|
|
4071
4079
|
Name: 'Mercer MyChoice',
|
|
4072
4080
|
Logo: 'logo-mercer-mychoice.svg',
|
|
4073
|
-
PdsUrl: 'https://www.
|
|
4074
|
-
TmdUrl: 'https://www.
|
|
4081
|
+
PdsUrl: 'https://www.mercersuper.com.au/campaign-page/mercer-mychoice',
|
|
4082
|
+
TmdUrl: 'https://www.mercersuper.com.au/documents/target-market-determinations',
|
|
4075
4083
|
Abn: '79 004 717 533',
|
|
4076
|
-
FooterTextOverride: some(PoweredByFlareFS)
|
|
4084
|
+
FooterTextOverride: some(PoweredByFlareFS),
|
|
4085
|
+
DtoPropName: 'mercerMyChoice'
|
|
4077
4086
|
};
|
|
4078
|
-
const
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
|
|
4082
|
-
|
|
4083
|
-
|
|
4084
|
-
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
];
|
|
4089
|
-
const getFundNameById = (id) => {
|
|
4090
|
-
switch (id) {
|
|
4091
|
-
case Slate.Id:
|
|
4092
|
-
return Slate.Name;
|
|
4093
|
-
case AustralianRetirementTrust.Id:
|
|
4094
|
-
return AustralianRetirementTrust.Name;
|
|
4095
|
-
case Aware.Id:
|
|
4096
|
-
return Aware.Name;
|
|
4097
|
-
case Active.Id:
|
|
4098
|
-
return Active.Name;
|
|
4099
|
-
case AustralianEthical.Id:
|
|
4100
|
-
return AustralianEthical.Name;
|
|
4101
|
-
case Virgin.Id:
|
|
4102
|
-
return Virgin.Name;
|
|
4103
|
-
case Spirit.Id:
|
|
4104
|
-
return Spirit.Name;
|
|
4105
|
-
case First.Id:
|
|
4106
|
-
return First.Name;
|
|
4107
|
-
case MercerMyChoice.Id:
|
|
4108
|
-
return MercerMyChoice.Name;
|
|
4109
|
-
default:
|
|
4110
|
-
return;
|
|
4111
|
-
}
|
|
4087
|
+
const fundsById = {
|
|
4088
|
+
[Slate.Id]: Slate,
|
|
4089
|
+
[AustralianRetirementTrust.Id]: AustralianRetirementTrust,
|
|
4090
|
+
[Aware.Id]: Aware,
|
|
4091
|
+
[Active.Id]: Active,
|
|
4092
|
+
[AustralianEthical.Id]: AustralianEthical,
|
|
4093
|
+
[Virgin.Id]: Virgin,
|
|
4094
|
+
[Spirit.Id]: Spirit,
|
|
4095
|
+
[First.Id]: First,
|
|
4096
|
+
[MercerMyChoice.Id]: MercerMyChoice
|
|
4112
4097
|
};
|
|
4113
|
-
const
|
|
4114
|
-
|
|
4115
|
-
|
|
4116
|
-
Aware,
|
|
4117
|
-
Active,
|
|
4118
|
-
AustralianEthical,
|
|
4119
|
-
Virgin,
|
|
4120
|
-
Spirit,
|
|
4121
|
-
First,
|
|
4122
|
-
MercerMyChoice
|
|
4123
|
-
].find((fund) => fund.Id == id)) === null || _a === void 0 ? void 0 : _a.FooterTextOverride) !== null && _b !== void 0 ? _b : none; };
|
|
4124
|
-
const getFundUsiById = (id) => {
|
|
4125
|
-
switch (id) {
|
|
4126
|
-
case Slate.Id:
|
|
4127
|
-
return Slate.Usi;
|
|
4128
|
-
default:
|
|
4129
|
-
return; // other promoted funds have dynamic USI
|
|
4130
|
-
}
|
|
4131
|
-
};
|
|
4132
|
-
const getLogoSrc = (id) => {
|
|
4133
|
-
let logo = '';
|
|
4134
|
-
switch (id) {
|
|
4135
|
-
case Slate.Id:
|
|
4136
|
-
logo = Slate.Logo;
|
|
4137
|
-
break;
|
|
4138
|
-
case AustralianRetirementTrust.Id:
|
|
4139
|
-
logo = AustralianRetirementTrust.Logo;
|
|
4140
|
-
break;
|
|
4141
|
-
case Aware.Id:
|
|
4142
|
-
logo = Aware.Logo;
|
|
4143
|
-
break;
|
|
4144
|
-
case Active.Id:
|
|
4145
|
-
logo = Active.Logo;
|
|
4146
|
-
break;
|
|
4147
|
-
case AustralianEthical.Id:
|
|
4148
|
-
logo = AustralianEthical.Logo;
|
|
4149
|
-
break;
|
|
4150
|
-
case Virgin.Id:
|
|
4151
|
-
logo = Virgin.Logo;
|
|
4152
|
-
break;
|
|
4153
|
-
case Spirit.Id:
|
|
4154
|
-
logo = Spirit.Logo;
|
|
4155
|
-
break;
|
|
4156
|
-
case First.Id:
|
|
4157
|
-
logo = First.Logo;
|
|
4158
|
-
break;
|
|
4159
|
-
case MercerMyChoice.Id:
|
|
4160
|
-
logo = MercerMyChoice.Logo;
|
|
4161
|
-
break;
|
|
4162
|
-
default:
|
|
4163
|
-
return;
|
|
4164
|
-
}
|
|
4165
|
-
if (logo !== '')
|
|
4166
|
-
return getAssetPath(`assets/${logo}`);
|
|
4098
|
+
const getFundByDtoPropName = (dtoPropName) => {
|
|
4099
|
+
const fund = Object.values(fundsById).find((f) => f.DtoPropName == dtoPropName);
|
|
4100
|
+
return fund ? some(fund) : none;
|
|
4167
4101
|
};
|
|
4102
|
+
const getFundNameByFundId = (fundId) => fundsById[fundId] ? some(fundsById[fundId].Name) : none;
|
|
4103
|
+
const getFooterTextOverrideByFundId = (fundId) => { var _a, _b; return (_b = (_a = fundsById[fundId]) === null || _a === void 0 ? void 0 : _a.FooterTextOverride) !== null && _b !== void 0 ? _b : none; };
|
|
4104
|
+
const getFundUsiByFundId = (fundId) => fundId == Slate.Id ? some(Slate.Usi) : none;
|
|
4105
|
+
const getLogoSrcByFundId = (fundId) => fundsById[fundId] ? some(getAssetPath(`assets/${fundsById[fundId].Logo}`)) : none;
|
|
4168
4106
|
|
|
4169
4107
|
function getPromotedFundUsi(dto) {
|
|
4170
4108
|
if ('slate' in dto) {
|
|
@@ -4267,7 +4205,7 @@ function getSuperChoiceMemberNumber(dto) {
|
|
|
4267
4205
|
|
|
4268
4206
|
class ExistingFundService {
|
|
4269
4207
|
async GetExistingFundAsync() {
|
|
4270
|
-
var _a
|
|
4208
|
+
var _a;
|
|
4271
4209
|
const choice = superSelectionAppService.superBuyer.superChoice;
|
|
4272
4210
|
const choiceDetails = (_a = superSelectionAppService.superBuyer.superChoice) === null || _a === void 0 ? void 0 : _a.choiceDetails;
|
|
4273
4211
|
if (!choice)
|
|
@@ -4278,13 +4216,14 @@ class ExistingFundService {
|
|
|
4278
4216
|
const usi = getSuperChoiceUsi(choiceDetails);
|
|
4279
4217
|
const memberNumber = getSuperChoiceMemberNumber(choiceDetails);
|
|
4280
4218
|
if ('promoted' in choiceDetails) {
|
|
4281
|
-
const
|
|
4282
|
-
|
|
4219
|
+
const dtoPropName = Object.keys(choiceDetails.promoted)[0];
|
|
4220
|
+
const fund = getFundByDtoPropName(dtoPropName);
|
|
4221
|
+
if (isNone(fund))
|
|
4283
4222
|
return none;
|
|
4284
4223
|
return some({
|
|
4285
4224
|
type: 'Promoted Fund',
|
|
4286
|
-
id: fund.
|
|
4287
|
-
name:
|
|
4225
|
+
id: fund.value.Id,
|
|
4226
|
+
name: fund.value.Name,
|
|
4288
4227
|
usi: usi,
|
|
4289
4228
|
valid: 'Active',
|
|
4290
4229
|
memberNumber: memberNumber,
|
|
@@ -4347,12 +4286,6 @@ class ExistingFundService {
|
|
|
4347
4286
|
}
|
|
4348
4287
|
const existingFundService = new ExistingFundService();
|
|
4349
4288
|
|
|
4350
|
-
class FeatureFlagService {
|
|
4351
|
-
static isNewComplianceEnabled() {
|
|
4352
|
-
return true;
|
|
4353
|
-
}
|
|
4354
|
-
}
|
|
4355
|
-
|
|
4356
4289
|
const ExistingChoice = class {
|
|
4357
4290
|
constructor(hostRef) {
|
|
4358
4291
|
registerInstance(this, hostRef);
|
|
@@ -4387,14 +4320,14 @@ const ExistingChoice = class {
|
|
|
4387
4320
|
this.existingFund = chosenFundOption.value;
|
|
4388
4321
|
}
|
|
4389
4322
|
else {
|
|
4390
|
-
navigationService.navigateInternally(this.history,
|
|
4391
|
-
? SuperSelectionAppRoutes.ConsentPage
|
|
4392
|
-
: SuperSelectionAppRoutes.ChoicePage);
|
|
4323
|
+
navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ConsentPage);
|
|
4393
4324
|
}
|
|
4394
4325
|
}
|
|
4395
4326
|
render() {
|
|
4396
4327
|
const PromotedFundView = (props) => {
|
|
4397
|
-
|
|
4328
|
+
const logo = getLogoSrcByFundId(props.id);
|
|
4329
|
+
const fundName = getFundNameByFundId(props.id);
|
|
4330
|
+
return (h("div", { class: "flex justify-center" }, h("img", { class: "h-16 object-contain w-full max-w-140", alt: isSome(fundName) ? fundName.value : undefined, src: isSome(logo) ? logo.value : undefined })));
|
|
4398
4331
|
};
|
|
4399
4332
|
const MyOwnFundView = () => {
|
|
4400
4333
|
return (h("div", { class: "flex h-20 justify-center items-center relative" }, h("div", { class: "h-20 w-20 rounded-full bg-primary-base opacity-10" }), h("div", { class: "h-10 w-10 absolute" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 576 512", class: "fill-primary-base" }, h("path", { d: "M174.7 111.8C165.1 110.3 160.1 102.1 161.5 93.35C170.4 40.37 216.5 0 272 0C320.8 0 362.3 31.19 377.6 74.67C380.6 82.1 376.2 92.14 367.9 95.09C359.5 98.03 350.4 93.66 347.5 85.33C336.5 54.24 306.8 32 272 32C232.4 32 199.5 60.82 193.1 98.65C191.6 107.4 183.4 113.2 174.7 111.8V111.8zM400 264C400 250.7 410.7 240 424 240C437.3 240 448 250.7 448 264C448 277.3 437.3 288 424 288C410.7 288 400 277.3 400 264zM488.5 125.8L480 159.1C501.1 176.5 519.6 198.5 530.7 224H544C561.7 224 576 238.3 576 256V352C576 369.7 561.7 384 544 384H512C495.5 405.1 473.5 423.6 448 434.7V464C448 490.5 426.5 512 400 512H368C341.5 512 320 490.5 320 464V448H256V464C256 490.5 234.5 512 208 512H176C149.5 512 128 490.5 128 464V416C89.14 386.8 64 340.3 64 288C28.52 287.2 0 258.2 0 222.6C0 197.8 14 175.1 36.18 164L40.84 161.7C48.75 157.7 58.36 160.9 62.31 168.8C66.26 176.7 63.06 186.4 55.16 190.3L50.49 192.6C39.16 198.3 31.1 209.9 31.1 222.6C31.1 241 46.97 256 65.44 256H67.2C82.02 182.1 146.6 128 223.1 128H376.4C394 108.4 419.6 96 448 96H465.3C480.9 96 492.3 110.7 488.5 125.8H488.5zM224 160C153.3 160 96 217.3 96 288C96 329.9 116.1 367 147.2 390.4L160 400V464C160 472.8 167.2 480 176 480H208C216.8 480 224 472.8 224 464V416H352V464C352 472.8 359.2 480 368 480H400C408.8 480 416 472.8 416 464V413.7L435.2 405.4C455.6 396.5 473.2 382.4 486.4 364.8L496 352H544V256H509.7L501.4 236.8C492.5 216.4 478.4 198.8 460.8 185.6L443.8 172.8L455 128H448C429 128 412.1 136.2 400.3 149.3L390.7 160H224z" })))));
|
|
@@ -4433,9 +4366,7 @@ const ExistingChoice = class {
|
|
|
4433
4366
|
async handleFundNominationDeclined() {
|
|
4434
4367
|
const detail = this.createSuperFundNominationDetail(this.existingFund);
|
|
4435
4368
|
await this.eventTrackingService.TrackSuperFundNominationDeclinedAsync(detail);
|
|
4436
|
-
navigationService.navigateInternally(this.history,
|
|
4437
|
-
? SuperSelectionAppRoutes.ConsentPage
|
|
4438
|
-
: SuperSelectionAppRoutes.ChoicePage);
|
|
4369
|
+
navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ConsentPage);
|
|
4439
4370
|
}
|
|
4440
4371
|
};
|
|
4441
4372
|
|
|
@@ -4446,7 +4377,7 @@ const FooterSection = class {
|
|
|
4446
4377
|
this.footerText = () => Option.isSome(this.textOverride) ? this.textOverride.value : DefaultFooterText;
|
|
4447
4378
|
}
|
|
4448
4379
|
render() {
|
|
4449
|
-
return (h("div", { class: "text-center text-gray-500 text-xs mt-8 sm:mt-20 w-full max-w-960 mx-auto" }, h("span", null, this.footerText()), h("p", { class: "block text-transparent" }, "v", AppVersion)
|
|
4380
|
+
return (h("div", { class: "text-center text-gray-500 text-xs mt-8 sm:mt-20 w-full max-w-960 mx-auto" }, h("span", null, this.footerText()), h("p", { class: "block text-transparent" }, "v", AppVersion)));
|
|
4450
4381
|
}
|
|
4451
4382
|
};
|
|
4452
4383
|
|
|
@@ -4469,7 +4400,7 @@ const HeaderSection = class {
|
|
|
4469
4400
|
registerInstance(this, hostRef);
|
|
4470
4401
|
}
|
|
4471
4402
|
render() {
|
|
4472
|
-
return (h("div", { class: "flex justify-center" }, h("div", { class: "text-center max-w-800" }, h("h3", { class: "font-bold mb-3 sm:mb-4 text-2xl sm:text-3xl" }, "Nominate a super fund"),
|
|
4403
|
+
return (h("div", { class: "flex justify-center" }, h("div", { class: "text-center max-w-800" }, h("h3", { class: "font-bold mb-3 sm:mb-4 text-2xl sm:text-3xl" }, "Nominate a super fund"), h(Fragment, null, h("div", { class: "text-gray-600 sm:text-lg leading-7 sm:leading-8" }, "You can choose any super fund, including your current fund/SMSF, your employer\u2019s default fund, or alternatively, you can select from one of the featured\u00A0funds."), h("div", { class: "inline-flex mt-8 sm:mt-12 bg-primary-base rounded-lg p-0.5 whitespace-normal" }, h("stencil-route-link", { exact: true, url: SuperSelectionAppRoutes.ChoicePage, anchorClass: "hover:bg-primary-hover block focus:outline-none focus:ring-2 ring-offset-1 focus:ring-primary-focus relative focus:z-10 border border-transparent text-gray-700 text-white rounded-md py-2 text-sm font-medium w-auto px-3 sm:px-8 h-full", activeClass: "hover:bg-white block focus:outline-none focus:ring-2 ring-offset-1 focus:ring-primary-focus focus:z-10 rounded-md py-2 text-sm font-medium w-auto px-3 sm:px-8 h-full bg-white border-gray-200 text-gray-900 shadow-sm text-primary-base" }, "Featured super funds"), renderChooseAnotherFundLink())))));
|
|
4473
4404
|
}
|
|
4474
4405
|
};
|
|
4475
4406
|
|
|
@@ -4704,7 +4635,6 @@ class PromotedFundJoinV1IFrameBuilder {
|
|
|
4704
4635
|
return;
|
|
4705
4636
|
const postData = Object.assign(Object.assign({}, this.getMemberData()), { partnerId: superSelectionAppService.partnerIdOrDefault, accountId: superSelectionAppService.accountIdOrDefault, fundId: state$2.fundId, authToken: superSelectionAppService.jwt });
|
|
4706
4637
|
const handleMessage = (event) => {
|
|
4707
|
-
var _a;
|
|
4708
4638
|
const { data } = event;
|
|
4709
4639
|
if (!data) {
|
|
4710
4640
|
return;
|
|
@@ -4718,9 +4648,10 @@ class PromotedFundJoinV1IFrameBuilder {
|
|
|
4718
4648
|
case 'success':
|
|
4719
4649
|
if (data.memberNumber) {
|
|
4720
4650
|
const promotedFundId = state$2.fundId;
|
|
4651
|
+
const fundName = getFundNameByFundId(promotedFundId);
|
|
4721
4652
|
navigationService.navigateInternallyToStandardChoice({
|
|
4722
4653
|
history,
|
|
4723
|
-
fundName: (
|
|
4654
|
+
fundName: Option.isSome(fundName) ? fundName.value : '',
|
|
4724
4655
|
handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync({
|
|
4725
4656
|
fundId: promotedFundId,
|
|
4726
4657
|
memberNumber: data.memberNumber,
|
|
@@ -4833,7 +4764,6 @@ class PromotedFundJoinV2IFrameBuilder {
|
|
|
4833
4764
|
return;
|
|
4834
4765
|
const postData = Object.assign(Object.assign({}, this.getMemberData()), { partnerId: superSelectionAppService.partnerIdOrDefault, accountId: superSelectionAppService.accountIdOrDefault, fundId: state$2.fundId, authToken: superSelectionAppService.jwt });
|
|
4835
4766
|
const handleMessage = (event) => {
|
|
4836
|
-
var _a;
|
|
4837
4767
|
const { data } = event;
|
|
4838
4768
|
if (!data) {
|
|
4839
4769
|
return;
|
|
@@ -4847,9 +4777,10 @@ class PromotedFundJoinV2IFrameBuilder {
|
|
|
4847
4777
|
case 'success':
|
|
4848
4778
|
if (data.memberNumber) {
|
|
4849
4779
|
const promotedFundId = state$2.fundId;
|
|
4780
|
+
const fundName = getFundNameByFundId(promotedFundId);
|
|
4850
4781
|
navigationService.navigateInternallyToStandardChoice({
|
|
4851
4782
|
history,
|
|
4852
|
-
fundName: (
|
|
4783
|
+
fundName: Option.isSome(fundName) ? fundName.value : '',
|
|
4853
4784
|
handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync({
|
|
4854
4785
|
fundId: promotedFundId,
|
|
4855
4786
|
memberNumber: data.memberNumber,
|
|
@@ -5455,8 +5386,7 @@ const StandardChoiceFormInputDefaultFund = class {
|
|
|
5455
5386
|
this.isSubmitDisabled = true;
|
|
5456
5387
|
}
|
|
5457
5388
|
render() {
|
|
5458
|
-
return (h(Host, null, h("div", { class: "text-2xl sm:text-3xl font-bold text-center" }, "Confirm your super choice"), h("div", { class: "sm:text-lg text-gray-600 max-w-800 mt-4 text-center leading-7 sm:leading-8" }, "Your authorisation is required to complete your super choice by signing the standard choice form, which informs your employer of your choice of fund."), h("div", { class: "flex justify-center mt-8 sm:mt-12" }, h("div", { class: "max-w-560" }, h("div", { class: "p-4 sm:p-6 border shadow-sm rounded-lg flex flex-col sm:flex-row" }, state.
|
|
5459
|
-
getLogoSrc(state.promotedFundId) && (h("div", { class: "pb-4 mb-4 border-b flex justify-center sm:pb-0 sm:mb-0 sm:border-b-0 sm:pr-8 sm:mr-8 sm:border-r sm:justify-start" }, h("img", { class: "h-16 max-w-140 sm:h-12 sm:max-w-[100px] object-contain", alt: state.fundName, src: getLogoSrc(state.promotedFundId) }))), h("div", { class: "flex justify-between w-full" }, h("div", null, h("div", { class: "text-xs font-semibold text-gray-500 uppercase" }, "Nominated fund"), h("div", { class: "text-sm mt-2" }, state.fundName)), h("div", { class: "grid content-center ml-4" }, h("stencil-route-link", { url: SuperSelectionAppRoutes.ChoicePage }, h("sss-button", { size: "xs", variant: "secondary" }, "Change"))))), h("div", { class: "mt-4 p-4 sm:p-6 border shadow-sm rounded-lg" }, h("div", { class: "sm:text-lg font-bold" }, "Superannuation Standard Choice Form"), h("div", { class: "bg-blue-50 border-l-4 border-blue-400 p-4 mt-3" }, h("div", { class: "flex" }, h("div", { class: "flex-shrink-0" }, h("img", { class: "h-5 w-5", src: getAssetPath('assets/icon-information-circle.svg') })), h("div", { class: "ml-2" }, h("p", { class: "text-sm text-blue-800 leading-5" }, "Applying your full name in the text field below is the same as applying your written signature and is legally binding.")))), h("form", { noValidate: true, onSubmit: (ev) => ev.preventDefault(), class: {
|
|
5389
|
+
return (h(Host, null, h("div", { class: "text-2xl sm:text-3xl font-bold text-center" }, "Confirm your super choice"), h("div", { class: "sm:text-lg text-gray-600 max-w-800 mt-4 text-center leading-7 sm:leading-8" }, "Your authorisation is required to complete your super choice by signing the standard choice form, which informs your employer of your choice of fund."), h("div", { class: "flex justify-center mt-8 sm:mt-12" }, h("div", { class: "max-w-560" }, h("div", { class: "p-4 sm:p-6 border shadow-sm rounded-lg flex flex-col sm:flex-row" }, this.renderLogo(), h("div", { class: "flex justify-between w-full" }, h("div", null, h("div", { class: "text-xs font-semibold text-gray-500 uppercase" }, "Nominated fund"), h("div", { class: "text-sm mt-2" }, state.fundName)), h("div", { class: "grid content-center ml-4" }, h("stencil-route-link", { url: SuperSelectionAppRoutes.ChoicePage }, h("sss-button", { size: "xs", variant: "secondary" }, "Change"))))), h("div", { class: "mt-4 p-4 sm:p-6 border shadow-sm rounded-lg" }, h("div", { class: "sm:text-lg font-bold" }, "Superannuation Standard Choice Form"), h("div", { class: "bg-blue-50 border-l-4 border-blue-400 p-4 mt-3" }, h("div", { class: "flex" }, h("div", { class: "flex-shrink-0" }, h("img", { class: "h-5 w-5", src: getAssetPath('assets/icon-information-circle.svg') })), h("div", { class: "ml-2" }, h("p", { class: "text-sm text-blue-800 leading-5" }, "Applying your full name in the text field below is the same as applying your written signature and is legally binding.")))), h("form", { noValidate: true, onSubmit: (ev) => ev.preventDefault(), class: {
|
|
5460
5390
|
'mt-3': true,
|
|
5461
5391
|
'was-validated': this.formState === 'validated'
|
|
5462
5392
|
}, ref: (el) => (this.formElement = el), onInput: (_) => (this.isSubmitDisabled = !this.formElement.checkValidity()) }, h("label", { class: "text-sm font-medium text-gray-700" }, "Type your full name"), h("input", { type: "text", autocomplete: "off", class: {
|
|
@@ -5464,6 +5394,14 @@ const StandardChoiceFormInputDefaultFund = class {
|
|
|
5464
5394
|
'invalid:border-red-300 invalid:text-red-900 invalid:focus:ring-red-500 invalid:focus:border-red-500': this.formState === 'validated'
|
|
5465
5395
|
}, required: true, minlength: "2", name: "standardChoiceFormSignature", id: "standardChoiceFormSignature", value: this.standardChoiceFormSignature, onInput: (event) => (this.standardChoiceFormSignature = event.target.value) }), h("div", { class: "invalid-feedback mt-2 text-sm text-red-600" }, "Type your full name"), h("div", { class: "mt-6" }, h("sss-button", { fillWidth: true, promiseFn: () => this.handleSubmitForm(), disabled: this.isSubmitDisabled }, "Confirm and continue"))))))));
|
|
5466
5396
|
}
|
|
5397
|
+
renderLogo() {
|
|
5398
|
+
if (state.promotedFundId == undefined)
|
|
5399
|
+
return;
|
|
5400
|
+
const logoSource = getLogoSrcByFundId(state.promotedFundId);
|
|
5401
|
+
if (Option.isSome(logoSource)) {
|
|
5402
|
+
return (h("div", { class: "pb-4 mb-4 border-b flex justify-center sm:pb-0 sm:mb-0 sm:border-b-0 sm:pr-8 sm:mr-8 sm:border-r sm:justify-start" }, h("img", { class: "h-16 max-w-140 sm:h-12 sm:max-w-[100px] object-contain", alt: state.fundName, src: logoSource.value })));
|
|
5403
|
+
}
|
|
5404
|
+
}
|
|
5467
5405
|
async handleSubmitForm() {
|
|
5468
5406
|
this.formState = 'validated';
|
|
5469
5407
|
if (this.formElement.checkValidity()) {
|
|
@@ -5494,7 +5432,7 @@ const SuperChoiceItemBottom = class {
|
|
|
5494
5432
|
this.joinFundClicked = createEvent(this, "joinFundClicked", 7);
|
|
5495
5433
|
}
|
|
5496
5434
|
render() {
|
|
5497
|
-
return (h(Host, null, h("div", { class: "py-6 px-4 lg:px-6 flex flex-col justify-between h-full" }, h("div", null, h("div", { class: "md:max-w-[240px] lg:max-w-full" }, h("sss-button", { class: "uuid-button-continue", fillWidth: true, onClick: () => this.handleFundClick() }, "Choose this fund")), h("div", { class: "text-xs text-gray-500 mt-6 leading-4" }, this.disclaimer)), this.abnInfo && this.abn && (h("div", { class: "text-xs text-gray-500 mt-2" }, h("p", null,
|
|
5435
|
+
return (h(Host, null, h("div", { class: "py-6 px-4 lg:px-6 flex flex-col justify-between h-full" }, h("div", null, h("div", { class: "md:max-w-[240px] lg:max-w-full" }, h("sss-button", { class: "uuid-button-continue", fillWidth: true, onClick: () => this.handleFundClick() }, "Choose this fund")), h("div", { class: "text-xs text-gray-500 mt-6 leading-4" }, this.disclaimer)), this.abnInfo && this.abn && (h("div", { class: "text-xs text-gray-500 mt-2" }, h("p", null, "Issued by ", this.abnInfo, "."), h("p", null, "ABN: ", this.abn))))));
|
|
5498
5436
|
}
|
|
5499
5437
|
handleFundClick() {
|
|
5500
5438
|
return this.joinFundClicked.emit();
|
|
@@ -5506,7 +5444,7 @@ const SuperChoiceItemTop = class {
|
|
|
5506
5444
|
registerInstance(this, hostRef);
|
|
5507
5445
|
}
|
|
5508
5446
|
render() {
|
|
5509
|
-
return (h(Host, null, h("div", { class: "px-4 lg:px-6 pt-6" }, h("div", { class: "text-right w-100 -mt-5 -mr-3.5 lg:-mr-5" }, h("span", { class: "text-xs bg-gray-100 text-gray-800 font-medium rounded-xl py-0.5 px-2.5 mr-0.5" },
|
|
5447
|
+
return (h(Host, null, h("div", { class: "px-4 lg:px-6 pt-6" }, h("div", { class: "text-right w-100 -mt-5 -mr-3.5 lg:-mr-5" }, h("span", { class: "text-xs bg-gray-100 text-gray-800 font-medium rounded-xl py-0.5 px-2.5 mr-0.5" }, "Featured")), h("div", { class: "flex lg:block mt-2 md:mt-0 lg:mt-4" }, h("img", { class: "h-12 md:h-14 lg:h-16 object-contain w-auto w-[80px] md:w-[96px] lg:w-[140px] md:hidden lg:block lg:object-left", alt: this.name, src: getAssetPath(`assets/${this.logo}`) }), h("div", { class: "grid content-center" }, h("p", { class: "text-base md:text-lg font-bold ml-4 md:ml-0 md:mb-0 lg:mt-4" }, this.name))), h("div", { class: "mt-4 sm:mt-2 text-sm space-y-2" }, this.features.map((feature) => (h("div", { class: "flex" }, h("div", { class: "h-5 w-5 flex-none mr-1.5" }, h("img", { alt: "checked", src: getAssetPath(`assets/icon-check.svg`) })), h("div", { class: "leading-5" }, feature))))), this.featureSubText && (h("p", { class: "text-xs text-gray-500 italic mt-4 leading-4" }, this.featureSubText)))));
|
|
5510
5448
|
}
|
|
5511
5449
|
};
|
|
5512
5450
|
|
|
@@ -5528,7 +5466,7 @@ const SuperChoicePage = class {
|
|
|
5528
5466
|
const mygovLinkDisplay = 'www.my.gov.au';
|
|
5529
5467
|
const superfundsLink = 'https://www.apra.gov.au/register-of-superannuation-institutions';
|
|
5530
5468
|
const superfundsLinkDisplay = 'www.apra.gov.au';
|
|
5531
|
-
return (h(Host, null, h("div", null, h("sss-header-section", { currentPage: "choice" }),
|
|
5469
|
+
return (h(Host, null, h("div", null, h("sss-header-section", { currentPage: "choice" }), h("div", { class: "mt-8 text-sm text-center leading-6" }, h("p", { class: "leading-6" }, "Not ready to join a new fund, or want to nominate another super fund?"), h("stencil-route-link", { url: SuperSelectionAppRoutes.MyOwnFund }, h("span", { class: "inline-block text-primary-base font-medium mt-3" }, "Skip Featured Funds\u00A0", h("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", "stroke-width": "1.5", stroke: "currentColor", class: "inline h-5 w-5 fill-primary-base group-hover:fill-white" }, h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M17.25 8.25L21 12m0 0l-3.75 3.75M21 12H3" }))))), h("div", { class: "flex justify-center mt-8" }, h("div", { class: {
|
|
5532
5470
|
'lg:grid border-l border-t lg:border-b rounded-lg': true,
|
|
5533
5471
|
'lg:grid-cols-1 max-w-400': this.promotedFunds.length === 1,
|
|
5534
5472
|
'lg:grid-cols-2 max-w-720': this.promotedFunds.length === 2,
|
|
@@ -5544,7 +5482,7 @@ const SuperChoicePage = class {
|
|
|
5544
5482
|
} }, h("div", { class: "hidden md:flex lg:hidden w-36 justify-center pt-6 pl-6" }, h("img", { class: "h-16 object-contain w-full max-w-[96px]", alt: fund.name, src: getAssetPath(`assets/${fund.logo}`) })), h("div", { class: "w-full" }, h("sss-super-choice-item-top", { logo: fund.logo, name: fund.name, features: fund.features, featureSubText: fund.featureSubText }), h("div", { class: "lg:hidden" }, h("sss-super-choice-item-bottom", { disclaimer: fund.disclaimer, abnInfo: fund.abnInfo, abn: fund.abn, onJoinFundClicked: async () => this.handleJoinSuperClickAsync(fund) }))))))), this.promotedFunds.map((fund, index) => (h("div", { class: {
|
|
5545
5483
|
'hidden lg:block border-r': true,
|
|
5546
5484
|
'rounded-br-lg': index === this.promotedFunds.length - 1
|
|
5547
|
-
} }, h("sss-super-choice-item-bottom", { disclaimer: fund.disclaimer, abnInfo: fund.abnInfo, abn: fund.abn, onJoinFundClicked: async () => this.handleJoinSuperClickAsync(fund) })))))), h("div", { class: "flex justify-center mt-8 sm:mt-12" }, h("div", { class: "pb-8 sm:pb-12 max-w-720 border-b" }, h("h5", { class: "font-bold sm:text-lg" }, "Or, choose another super fund:"), h("ul", { class: "list-disc list-outside ml-6 mt-3 mb-6 space-y-2 leading-6 text-sm sm:text-base" }, h("li", null, "Select this option if you'd like to use your current account with another super fund, your self-managed super fund, or your employer's default fund."), h("li", null, "If you are unsure of your current super fund details, you can find out at", ' ', h("a", { class: "text-primary-base font-medium hover:text-primary-hover", target: "_blank", href: navigationService.toExternalUrl(mygovLink) }, mygovLinkDisplay)), h("li", null, "A full list of super funds can be viewed at", ' ', h("a", { class: "text-primary-base font-medium hover:text-primary-hover", target: "_blank", href: navigationService.toExternalUrl(superfundsLink) }, superfundsLinkDisplay))), h("stencil-route-link", { url: SuperSelectionAppRoutes.MyOwnFund }, h("sss-button", { fillWidthOnMobile: true }, "Choose another super fund")))),
|
|
5485
|
+
} }, h("sss-super-choice-item-bottom", { disclaimer: fund.disclaimer, abnInfo: fund.abnInfo, abn: fund.abn, onJoinFundClicked: async () => this.handleJoinSuperClickAsync(fund) })))))), h("div", { class: "flex justify-center mt-8 sm:mt-12" }, h("div", { class: "pb-8 sm:pb-12 max-w-720 border-b" }, h("h5", { class: "font-bold sm:text-lg" }, "Or, choose another super fund:"), h("ul", { class: "list-disc list-outside ml-6 mt-3 mb-6 space-y-2 leading-6 text-sm sm:text-base" }, h("li", null, "Select this option if you'd like to use your current account with another super fund, your self-managed super fund, or your employer's default fund."), h("li", null, "If you are unsure of your current super fund details, you can find out at", ' ', h("a", { class: "text-primary-base font-medium hover:text-primary-hover", target: "_blank", href: navigationService.toExternalUrl(mygovLink) }, mygovLinkDisplay)), h("li", null, "A full list of super funds can be viewed at", ' ', h("a", { class: "text-primary-base font-medium hover:text-primary-hover", target: "_blank", href: navigationService.toExternalUrl(superfundsLink) }, superfundsLinkDisplay))), h("stencil-route-link", { url: SuperSelectionAppRoutes.MyOwnFund }, h("sss-button", { fillWidthOnMobile: true }, "Choose another super fund")))), h("div", { class: "flex justify-center" }, h("div", { class: "pt-8 sm:pt-12 max-w-720" }, h("h5", { class: "font-semibold" }, "IMPORTANT INFORMATION:"), h("ul", { class: "list-disc list-outside ml-6 mt-3 space-y-2 text-sm leading-6" }, h("li", null, "The superannuation funds featured above are for your information only. The order, position and placement of content should not be interpreted as an opinion or recommendation (actual or implied) by Flare as to the suitability or appropriateness of any superannuation fund for you. In featuring these superannuation funds, Flare has not taken into account your objectives, financial situation or needs."), h("li", null, "This is not a comparison service. This page contains factual information only and does not constitute either general or personal advice about any financial products. We do not take into account your objectives, financial situation or needs. If you have questions or need help making a decision about your superannuation fund, you should speak to a licensed financial product advice provider."), h("li", null, "Flare, the technology partner you are accessing Flare via and your employer do not endorse or accept responsibility for any financial product advice or services provided by the promoters or trustees of the featured superannuation funds. Flare does not endorse or accept responsibility for any of the content shown about any of the featured superannuation funds."), h("li", null, "You should consider the relevant superannuation fund\u2019s PDS and TMD (if applicable) in deciding whether to apply to join the superannuation fund. Each of the superannuation funds featured above include a link to their PDS and TMD (if applicable) for your convenience. If you are considering joining another superannuation fund, you can typically find the PDS and TMD (if applicable) on that fund\u2019s website."), h("li", null, "You should be aware that, if you do choose one of the featured superannuation funds, Flare and it\u2019s associates will normally receive a fee for you doing so (this includes Simple Financial Choices Pty Ltd, a wholly owned subsidiary of Flare, which is a sub-promoter of Slate Super).")))))));
|
|
5548
5486
|
}
|
|
5549
5487
|
allFunds() {
|
|
5550
5488
|
const Link = (props, children) => {
|
|
@@ -5668,7 +5606,7 @@ const SuperChoicePage = class {
|
|
|
5668
5606
|
h("p", null, "Take control with 6 MyChoice investment options"),
|
|
5669
5607
|
h("p", null, "Join 850,000 Australians who trust our global expertise")
|
|
5670
5608
|
],
|
|
5671
|
-
disclaimer: (h("div", null, h("p", null, "You should consider the", ' ', h(Link, { href: MercerMyChoice.PdsUrl, onClick: () => this.pdsViewedAsync(MercerMyChoice.Name) }, "Product Disclosure Statement"), ' ', "and",
|
|
5609
|
+
disclaimer: (h("div", null, h("p", null, "You should consider the", ' ', h(Link, { href: MercerMyChoice.PdsUrl, onClick: () => this.pdsViewedAsync(MercerMyChoice.Name) }, "Product Disclosure Statement"), ' ', "and ", h(Link, { href: MercerMyChoice.TmdUrl }, "Target Market Determination"), ' ', "before deciding to invest in or apply to become a member of the fund."), h("br", null), h("p", null, "Issued by Mercer Superannuation (Australia) Limited (\u2018Mercer Super\u2019) ABN:", ' ', MercerMyChoice.Abn)))
|
|
5672
5610
|
}
|
|
5673
5611
|
];
|
|
5674
5612
|
}
|
|
@@ -5683,11 +5621,12 @@ const SuperChoicePage = class {
|
|
|
5683
5621
|
return fundTiles;
|
|
5684
5622
|
}
|
|
5685
5623
|
async handleJoinSuperClickAsync(fund) {
|
|
5686
|
-
var _a;
|
|
5687
5624
|
const promotedFundsShown = superSelectionAppService.promotedFunds;
|
|
5625
|
+
const fundUsi = getFundUsiByFundId(fund.fundId);
|
|
5626
|
+
const fundName = getFundNameByFundId(fund.fundId);
|
|
5688
5627
|
await this.eventTrackingService.TrackPromotedSuperFundDetailViewedAsync({
|
|
5689
|
-
fundUsi:
|
|
5690
|
-
fundName: (
|
|
5628
|
+
fundUsi: Option.isSome(fundUsi) ? fundUsi.value : undefined,
|
|
5629
|
+
fundName: Option.isSome(fundName) ? fundName.value : '',
|
|
5691
5630
|
promotedFundId: fund.fundId,
|
|
5692
5631
|
promotedFundsShown,
|
|
5693
5632
|
defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi)
|
|
@@ -6693,9 +6632,7 @@ const SuperSelectionApp = class {
|
|
|
6693
6632
|
navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ExistingChoicePage);
|
|
6694
6633
|
}
|
|
6695
6634
|
else {
|
|
6696
|
-
navigationService.navigateInternally(this.history,
|
|
6697
|
-
? SuperSelectionAppRoutes.ConsentPage
|
|
6698
|
-
: SuperSelectionAppRoutes.ChoicePage);
|
|
6635
|
+
navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ConsentPage);
|
|
6699
6636
|
}
|
|
6700
6637
|
}
|
|
6701
6638
|
authTokenChanged(newValue) {
|