@flarehr/apollo-super-selection 4.19.27767 → 4.21.28044
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/assets/logo-mercer-mychoice.svg +1 -0
- package/dist/lib/apollo-super-selection/p-35538e87.system.entry.js +69 -0
- package/dist/lib/apollo-super-selection/p-a08ef800.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 +147 -126
- package/dist/lib/collection/apollo-super-selection.css +1 -1
- package/dist/lib/collection/components/super-selection-app/api/super-selection.api.dto.js +6 -0
- package/dist/lib/collection/components/super-selection-app/consent/consent.js +2 -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 +30 -5
- package/dist/lib/collection/components/super-selection-app/funds/constants.js +52 -78
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund.store.js +3 -0
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v1-iframe-builder.js +17 -5
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.js +17 -5
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/services/slate-iframe-builder.js +2 -0
- 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/assets/logo-mercer-mychoice.svg +1 -0
- 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 +34 -15
- package/dist/lib/collection/components/super-selection-app/super-selection-app.js +12 -10
- 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 +147 -126
- 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_30.entry.js +3 -3
- package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +5 -0
- package/dist/lib/types/components/super-selection-app/footer-section/footer-section.d.ts +3 -0
- package/dist/lib/types/components/super-selection-app/funds/constants.d.ts +35 -7
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund.store.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/super-selection-app.d.ts +2 -1
- package/dist/lib/types/components.d.ts +3 -0
- package/package.json +1 -1
- package/dist/lib/apollo-super-selection/p-1cab31f8.system.entry.js +0 -69
- package/dist/lib/apollo-super-selection/p-70a90d81.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
|
@@ -260,7 +260,7 @@ class TapSubscriber extends Subscriber {
|
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
const AppVersion = '4.
|
|
263
|
+
const AppVersion = '4.21.28044';
|
|
264
264
|
|
|
265
265
|
// -------------------------------------------------------------------------------------
|
|
266
266
|
// guards
|
|
@@ -3633,7 +3633,7 @@ const Consent = class {
|
|
|
3633
3633
|
return this.eventTrackingService.TrackSuperFundDisclaimerViewedAsync(detail);
|
|
3634
3634
|
}
|
|
3635
3635
|
render() {
|
|
3636
|
-
return (h("div", null, h("div", { class: "text-2xl sm:text-3xl font-bold text-center leading-8" }, "Important information about super"), 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."), h("div", { class: "flex justify-center mt-8 sm:mt-12" }, h("div", { class: "border shadow-sm p-4 pb-6 sm:p-6 sm:pb-8 max-w-560 rounded-lg" }, h("div", { class: "sm:text-lg font-bold leading-6" }, "By clicking \u201CContinue\u201D you acknowledge that:"), h("ul", { class: "list-disc list-outside ml-6 mt-3 mb-6 space-y-2 text-sm leading-6" }, 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;"), 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;"), 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;"), 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.")), h("sss-button", { fillWidth: true, promiseFn: () => this.handleSuperFundDisclaimerAccepted() }, "Continue")))));
|
|
3636
|
+
return (h("div", null, h("div", { class: "text-2xl sm:text-3xl font-bold text-center leading-8" }, "Important information about super"), 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."), h("div", { class: "flex justify-center mt-8 sm:mt-12" }, h("div", { class: "border shadow-sm p-4 pb-6 sm:p-6 sm:pb-8 max-w-560 rounded-lg" }, h("div", { class: "sm:text-lg font-bold leading-6" }, "By clicking \u201CContinue\u201D you acknowledge that:"), h("ul", { class: "list-disc list-outside ml-6 mt-3 mb-6 space-y-2 text-sm leading-6" }, 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;"), 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;"), 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;"), 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;"), 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.")), h("sss-button", { fillWidth: true, promiseFn: () => this.handleSuperFundDisclaimerAccepted() }, "Continue")))));
|
|
3637
3637
|
}
|
|
3638
3638
|
async handleSuperFundDisclaimerAccepted() {
|
|
3639
3639
|
const detail = { promotedFundsShown: this.promotedFunds };
|
|
@@ -4000,136 +4000,109 @@ const SelectInputAsync = class {
|
|
|
4000
4000
|
};
|
|
4001
4001
|
SelectInputAsync.style = dropdownAsyncCss;
|
|
4002
4002
|
|
|
4003
|
+
const PoweredByFlareFS = 'Powered by FlareFS';
|
|
4003
4004
|
const Slate = {
|
|
4004
4005
|
Id: 'slate',
|
|
4005
4006
|
Name: 'Slate Super',
|
|
4006
4007
|
Logo: 'logo-slate.png',
|
|
4007
4008
|
PdsUrl: 'https://slate.co/pds/?utm_source=flare&utm_medium=superselection',
|
|
4008
4009
|
Usi: '32367272075001',
|
|
4009
|
-
DiversaAbn: '49 006 421 638'
|
|
4010
|
+
DiversaAbn: '49 006 421 638',
|
|
4011
|
+
FooterTextOverride: none,
|
|
4012
|
+
DtoPropName: 'slate'
|
|
4010
4013
|
};
|
|
4011
4014
|
const AustralianRetirementTrust = {
|
|
4012
4015
|
Id: 'australian-retirement-trust',
|
|
4013
4016
|
Name: 'Australian Retirement Trust',
|
|
4014
4017
|
Logo: 'logo-art.svg',
|
|
4015
4018
|
PdsUrl: 'https://www.australianretirementtrust.com.au/library/media/pdfs/pds/super-savings-product-disclosure-statement-and-membership-form.pdf',
|
|
4016
|
-
Abn: '60 905 115 063'
|
|
4019
|
+
Abn: '60 905 115 063',
|
|
4020
|
+
FooterTextOverride: none,
|
|
4021
|
+
DtoPropName: 'australianRetirementTrust'
|
|
4017
4022
|
};
|
|
4018
4023
|
const Aware = {
|
|
4019
4024
|
Id: 'aware',
|
|
4020
4025
|
Name: 'Aware Super',
|
|
4021
4026
|
Logo: 'logo-aware.svg',
|
|
4022
4027
|
PdsUrl: 'https://aware.com.au/member/forms-and-resources/pds/FSS',
|
|
4023
|
-
Abn: '53 226 460 365'
|
|
4028
|
+
Abn: '53 226 460 365',
|
|
4029
|
+
FooterTextOverride: none,
|
|
4030
|
+
DtoPropName: 'aware'
|
|
4024
4031
|
};
|
|
4025
4032
|
const Active = {
|
|
4026
4033
|
Id: 'active',
|
|
4027
4034
|
Name: 'Active Super',
|
|
4028
4035
|
Logo: 'logo-active.svg',
|
|
4029
4036
|
PdsUrl: 'https://www.activesuper.com.au/pds',
|
|
4030
|
-
Abn: '28 901 371 321'
|
|
4037
|
+
Abn: '28 901 371 321',
|
|
4038
|
+
FooterTextOverride: some(PoweredByFlareFS),
|
|
4039
|
+
DtoPropName: 'active'
|
|
4031
4040
|
};
|
|
4032
4041
|
const AustralianEthical = {
|
|
4033
4042
|
Id: 'australian-ethical',
|
|
4034
4043
|
Name: 'Australian Ethical',
|
|
4035
4044
|
Logo: 'logo-aus-eth.svg',
|
|
4036
4045
|
PdsUrl: 'https://www.australianethical.com.au/super/pds-forms/',
|
|
4037
|
-
Abn: '43 079 259 733'
|
|
4046
|
+
Abn: '43 079 259 733',
|
|
4047
|
+
FooterTextOverride: none,
|
|
4048
|
+
DtoPropName: 'australianEthical'
|
|
4038
4049
|
};
|
|
4039
4050
|
const Virgin = {
|
|
4040
4051
|
Id: 'virgin',
|
|
4041
4052
|
Name: 'Virgin Money Super',
|
|
4042
4053
|
Logo: 'logo-virgin.svg',
|
|
4043
4054
|
PdsUrl: 'https://virginmoney.com.au/superannuation/',
|
|
4044
|
-
Abn: '19 905 422 981'
|
|
4055
|
+
Abn: '19 905 422 981',
|
|
4056
|
+
FooterTextOverride: some(PoweredByFlareFS),
|
|
4057
|
+
DtoPropName: 'virgin'
|
|
4045
4058
|
};
|
|
4046
4059
|
const Spirit = {
|
|
4047
4060
|
Id: 'spirit',
|
|
4048
4061
|
Name: 'Spirit Super',
|
|
4049
4062
|
Logo: 'logo-spirit.svg',
|
|
4050
4063
|
PdsUrl: 'https://www.spiritsuper.com.au/pds',
|
|
4051
|
-
Abn: '74 559 365 913'
|
|
4064
|
+
Abn: '74 559 365 913',
|
|
4065
|
+
FooterTextOverride: none,
|
|
4066
|
+
DtoPropName: 'spirit'
|
|
4052
4067
|
};
|
|
4053
4068
|
const First = {
|
|
4054
4069
|
Id: 'first-super',
|
|
4055
4070
|
Name: 'First Super',
|
|
4056
4071
|
Logo: 'logo-first.svg',
|
|
4057
4072
|
PdsUrl: 'https://www.firstsuper.com.au/forms-tools/product-disclosure-statements/',
|
|
4058
|
-
Abn: '56 286 625 181'
|
|
4073
|
+
Abn: '56 286 625 181',
|
|
4074
|
+
FooterTextOverride: none,
|
|
4075
|
+
DtoPropName: 'firstSuper'
|
|
4059
4076
|
};
|
|
4060
|
-
const
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
];
|
|
4070
|
-
const getFundNameById = (id) => {
|
|
4071
|
-
switch (id) {
|
|
4072
|
-
case Slate.Id:
|
|
4073
|
-
return Slate.Name;
|
|
4074
|
-
case AustralianRetirementTrust.Id:
|
|
4075
|
-
return AustralianRetirementTrust.Name;
|
|
4076
|
-
case Aware.Id:
|
|
4077
|
-
return Aware.Name;
|
|
4078
|
-
case Active.Id:
|
|
4079
|
-
return Active.Name;
|
|
4080
|
-
case AustralianEthical.Id:
|
|
4081
|
-
return AustralianEthical.Name;
|
|
4082
|
-
case Virgin.Id:
|
|
4083
|
-
return Virgin.Name;
|
|
4084
|
-
case Spirit.Id:
|
|
4085
|
-
return Spirit.Name;
|
|
4086
|
-
case First.Id:
|
|
4087
|
-
return First.Name;
|
|
4088
|
-
default:
|
|
4089
|
-
return;
|
|
4090
|
-
}
|
|
4077
|
+
const MercerMyChoice = {
|
|
4078
|
+
Id: 'mercermychoice',
|
|
4079
|
+
Name: 'Mercer MyChoice',
|
|
4080
|
+
Logo: 'logo-mercer-mychoice.svg',
|
|
4081
|
+
PdsUrl: 'https://www.mercersuper.com.au/campaign-page/mercer-mychoice',
|
|
4082
|
+
TmdUrl: 'https://www.mercersuper.com.au/documents/target-market-determinations',
|
|
4083
|
+
Abn: '79 004 717 533',
|
|
4084
|
+
FooterTextOverride: some(PoweredByFlareFS),
|
|
4085
|
+
DtoPropName: 'mercerMyChoice'
|
|
4091
4086
|
};
|
|
4092
|
-
const
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
|
|
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
|
|
4099
4097
|
};
|
|
4100
|
-
const
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
case Slate.Id:
|
|
4104
|
-
logo = Slate.Logo;
|
|
4105
|
-
break;
|
|
4106
|
-
case AustralianRetirementTrust.Id:
|
|
4107
|
-
logo = AustralianRetirementTrust.Logo;
|
|
4108
|
-
break;
|
|
4109
|
-
case Aware.Id:
|
|
4110
|
-
logo = Aware.Logo;
|
|
4111
|
-
break;
|
|
4112
|
-
case Active.Id:
|
|
4113
|
-
logo = Active.Logo;
|
|
4114
|
-
break;
|
|
4115
|
-
case AustralianEthical.Id:
|
|
4116
|
-
logo = AustralianEthical.Logo;
|
|
4117
|
-
break;
|
|
4118
|
-
case Virgin.Id:
|
|
4119
|
-
logo = Virgin.Logo;
|
|
4120
|
-
break;
|
|
4121
|
-
case Spirit.Id:
|
|
4122
|
-
logo = Spirit.Logo;
|
|
4123
|
-
break;
|
|
4124
|
-
case First.Id:
|
|
4125
|
-
logo = First.Logo;
|
|
4126
|
-
break;
|
|
4127
|
-
default:
|
|
4128
|
-
return;
|
|
4129
|
-
}
|
|
4130
|
-
if (logo !== '')
|
|
4131
|
-
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;
|
|
4132
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;
|
|
4133
4106
|
|
|
4134
4107
|
function getPromotedFundUsi(dto) {
|
|
4135
4108
|
if ('slate' in dto) {
|
|
@@ -4156,6 +4129,9 @@ function getPromotedFundUsi(dto) {
|
|
|
4156
4129
|
else if ('firstSuper' in dto) {
|
|
4157
4130
|
return some(dto.firstSuper.usi);
|
|
4158
4131
|
}
|
|
4132
|
+
else if ('mercerMyChoice' in dto) {
|
|
4133
|
+
return some(dto.mercerMyChoice.usi);
|
|
4134
|
+
}
|
|
4159
4135
|
else {
|
|
4160
4136
|
return none;
|
|
4161
4137
|
}
|
|
@@ -4202,6 +4178,9 @@ function getPromotedFundMemberNumber(dto) {
|
|
|
4202
4178
|
else if ('firstSuper' in dto) {
|
|
4203
4179
|
return some(dto.firstSuper.memberNumber);
|
|
4204
4180
|
}
|
|
4181
|
+
else if ('mercerMyChoice' in dto) {
|
|
4182
|
+
return some(dto.mercerMyChoice.memberNumber);
|
|
4183
|
+
}
|
|
4205
4184
|
else {
|
|
4206
4185
|
return none;
|
|
4207
4186
|
}
|
|
@@ -4226,7 +4205,7 @@ function getSuperChoiceMemberNumber(dto) {
|
|
|
4226
4205
|
|
|
4227
4206
|
class ExistingFundService {
|
|
4228
4207
|
async GetExistingFundAsync() {
|
|
4229
|
-
var _a
|
|
4208
|
+
var _a;
|
|
4230
4209
|
const choice = superSelectionAppService.superBuyer.superChoice;
|
|
4231
4210
|
const choiceDetails = (_a = superSelectionAppService.superBuyer.superChoice) === null || _a === void 0 ? void 0 : _a.choiceDetails;
|
|
4232
4211
|
if (!choice)
|
|
@@ -4237,13 +4216,14 @@ class ExistingFundService {
|
|
|
4237
4216
|
const usi = getSuperChoiceUsi(choiceDetails);
|
|
4238
4217
|
const memberNumber = getSuperChoiceMemberNumber(choiceDetails);
|
|
4239
4218
|
if ('promoted' in choiceDetails) {
|
|
4240
|
-
const
|
|
4241
|
-
|
|
4219
|
+
const dtoPropName = Object.keys(choiceDetails.promoted)[0];
|
|
4220
|
+
const fund = getFundByDtoPropName(dtoPropName);
|
|
4221
|
+
if (isNone(fund))
|
|
4242
4222
|
return none;
|
|
4243
4223
|
return some({
|
|
4244
4224
|
type: 'Promoted Fund',
|
|
4245
|
-
id: fund.
|
|
4246
|
-
name:
|
|
4225
|
+
id: fund.value.Id,
|
|
4226
|
+
name: fund.value.Name,
|
|
4247
4227
|
usi: usi,
|
|
4248
4228
|
valid: 'Active',
|
|
4249
4229
|
memberNumber: memberNumber,
|
|
@@ -4306,12 +4286,6 @@ class ExistingFundService {
|
|
|
4306
4286
|
}
|
|
4307
4287
|
const existingFundService = new ExistingFundService();
|
|
4308
4288
|
|
|
4309
|
-
class FeatureFlagService {
|
|
4310
|
-
static isNewComplianceEnabled() {
|
|
4311
|
-
return true;
|
|
4312
|
-
}
|
|
4313
|
-
}
|
|
4314
|
-
|
|
4315
4289
|
const ExistingChoice = class {
|
|
4316
4290
|
constructor(hostRef) {
|
|
4317
4291
|
registerInstance(this, hostRef);
|
|
@@ -4346,14 +4320,14 @@ const ExistingChoice = class {
|
|
|
4346
4320
|
this.existingFund = chosenFundOption.value;
|
|
4347
4321
|
}
|
|
4348
4322
|
else {
|
|
4349
|
-
navigationService.navigateInternally(this.history,
|
|
4350
|
-
? SuperSelectionAppRoutes.ConsentPage
|
|
4351
|
-
: SuperSelectionAppRoutes.ChoicePage);
|
|
4323
|
+
navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ConsentPage);
|
|
4352
4324
|
}
|
|
4353
4325
|
}
|
|
4354
4326
|
render() {
|
|
4355
4327
|
const PromotedFundView = (props) => {
|
|
4356
|
-
|
|
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 })));
|
|
4357
4331
|
};
|
|
4358
4332
|
const MyOwnFundView = () => {
|
|
4359
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" })))));
|
|
@@ -4392,18 +4366,18 @@ const ExistingChoice = class {
|
|
|
4392
4366
|
async handleFundNominationDeclined() {
|
|
4393
4367
|
const detail = this.createSuperFundNominationDetail(this.existingFund);
|
|
4394
4368
|
await this.eventTrackingService.TrackSuperFundNominationDeclinedAsync(detail);
|
|
4395
|
-
navigationService.navigateInternally(this.history,
|
|
4396
|
-
? SuperSelectionAppRoutes.ConsentPage
|
|
4397
|
-
: SuperSelectionAppRoutes.ChoicePage);
|
|
4369
|
+
navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ConsentPage);
|
|
4398
4370
|
}
|
|
4399
4371
|
};
|
|
4400
4372
|
|
|
4373
|
+
const DefaultFooterText = 'Powered by Flare';
|
|
4401
4374
|
const FooterSection = class {
|
|
4402
4375
|
constructor(hostRef) {
|
|
4403
4376
|
registerInstance(this, hostRef);
|
|
4377
|
+
this.footerText = () => Option.isSome(this.textOverride) ? this.textOverride.value : DefaultFooterText;
|
|
4404
4378
|
}
|
|
4405
4379
|
render() {
|
|
4406
|
-
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,
|
|
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)));
|
|
4407
4381
|
}
|
|
4408
4382
|
};
|
|
4409
4383
|
|
|
@@ -4426,7 +4400,7 @@ const HeaderSection = class {
|
|
|
4426
4400
|
registerInstance(this, hostRef);
|
|
4427
4401
|
}
|
|
4428
4402
|
render() {
|
|
4429
|
-
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())))));
|
|
4430
4404
|
}
|
|
4431
4405
|
};
|
|
4432
4406
|
|
|
@@ -4640,6 +4614,9 @@ const initial$1 = {
|
|
|
4640
4614
|
fundId: ''
|
|
4641
4615
|
};
|
|
4642
4616
|
const { state: state$2 } = createStore(initial$1);
|
|
4617
|
+
function reset$1() {
|
|
4618
|
+
state$2.fundId = initial$1.fundId;
|
|
4619
|
+
}
|
|
4643
4620
|
|
|
4644
4621
|
class PromotedFundJoinV1IFrameBuilder {
|
|
4645
4622
|
constructor() {
|
|
@@ -4658,7 +4635,6 @@ class PromotedFundJoinV1IFrameBuilder {
|
|
|
4658
4635
|
return;
|
|
4659
4636
|
const postData = Object.assign(Object.assign({}, this.getMemberData()), { partnerId: superSelectionAppService.partnerIdOrDefault, accountId: superSelectionAppService.accountIdOrDefault, fundId: state$2.fundId, authToken: superSelectionAppService.jwt });
|
|
4660
4637
|
const handleMessage = (event) => {
|
|
4661
|
-
var _a;
|
|
4662
4638
|
const { data } = event;
|
|
4663
4639
|
if (!data) {
|
|
4664
4640
|
return;
|
|
@@ -4671,11 +4647,22 @@ class PromotedFundJoinV1IFrameBuilder {
|
|
|
4671
4647
|
break;
|
|
4672
4648
|
case 'success':
|
|
4673
4649
|
if (data.memberNumber) {
|
|
4650
|
+
const promotedFundId = state$2.fundId;
|
|
4651
|
+
const fundName = getFundNameByFundId(promotedFundId);
|
|
4674
4652
|
navigationService.navigateInternallyToStandardChoice({
|
|
4675
4653
|
history,
|
|
4676
|
-
fundName: (
|
|
4677
|
-
handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync(
|
|
4678
|
-
|
|
4654
|
+
fundName: Option.isSome(fundName) ? fundName.value : '',
|
|
4655
|
+
handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync({
|
|
4656
|
+
fundId: promotedFundId,
|
|
4657
|
+
memberNumber: data.memberNumber,
|
|
4658
|
+
memberFirstName: data.memberFirstName,
|
|
4659
|
+
memberFamilyName: data.memberFamilyName,
|
|
4660
|
+
usi: data.usi.replace(/ /g, ''),
|
|
4661
|
+
standardChoiceFormSignature,
|
|
4662
|
+
shownFunds: superSelectionAppService.promotedFunds,
|
|
4663
|
+
defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi)
|
|
4664
|
+
}),
|
|
4665
|
+
promotedFundId
|
|
4679
4666
|
});
|
|
4680
4667
|
break;
|
|
4681
4668
|
}
|
|
@@ -4684,6 +4671,7 @@ class PromotedFundJoinV1IFrameBuilder {
|
|
|
4684
4671
|
navigationService.navigateInternally(history, SuperSelectionAppRoutes.ChoicePage);
|
|
4685
4672
|
break;
|
|
4686
4673
|
}
|
|
4674
|
+
reset$1();
|
|
4687
4675
|
return;
|
|
4688
4676
|
}
|
|
4689
4677
|
if (data.sender === 'promoted-fund-join') {
|
|
@@ -4776,7 +4764,6 @@ class PromotedFundJoinV2IFrameBuilder {
|
|
|
4776
4764
|
return;
|
|
4777
4765
|
const postData = Object.assign(Object.assign({}, this.getMemberData()), { partnerId: superSelectionAppService.partnerIdOrDefault, accountId: superSelectionAppService.accountIdOrDefault, fundId: state$2.fundId, authToken: superSelectionAppService.jwt });
|
|
4778
4766
|
const handleMessage = (event) => {
|
|
4779
|
-
var _a;
|
|
4780
4767
|
const { data } = event;
|
|
4781
4768
|
if (!data) {
|
|
4782
4769
|
return;
|
|
@@ -4789,11 +4776,22 @@ class PromotedFundJoinV2IFrameBuilder {
|
|
|
4789
4776
|
break;
|
|
4790
4777
|
case 'success':
|
|
4791
4778
|
if (data.memberNumber) {
|
|
4779
|
+
const promotedFundId = state$2.fundId;
|
|
4780
|
+
const fundName = getFundNameByFundId(promotedFundId);
|
|
4792
4781
|
navigationService.navigateInternallyToStandardChoice({
|
|
4793
4782
|
history,
|
|
4794
|
-
fundName: (
|
|
4795
|
-
handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync(
|
|
4796
|
-
|
|
4783
|
+
fundName: Option.isSome(fundName) ? fundName.value : '',
|
|
4784
|
+
handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync({
|
|
4785
|
+
fundId: promotedFundId,
|
|
4786
|
+
memberNumber: data.memberNumber,
|
|
4787
|
+
memberFirstName: data.memberFirstName,
|
|
4788
|
+
memberFamilyName: data.memberFamilyName,
|
|
4789
|
+
usi: data.usi.replace(/ /g, ''),
|
|
4790
|
+
standardChoiceFormSignature,
|
|
4791
|
+
shownFunds: superSelectionAppService.promotedFunds,
|
|
4792
|
+
defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi)
|
|
4793
|
+
}),
|
|
4794
|
+
promotedFundId
|
|
4797
4795
|
});
|
|
4798
4796
|
break;
|
|
4799
4797
|
}
|
|
@@ -4802,6 +4800,7 @@ class PromotedFundJoinV2IFrameBuilder {
|
|
|
4802
4800
|
navigationService.navigateInternally(history, SuperSelectionAppRoutes.ChoicePage);
|
|
4803
4801
|
break;
|
|
4804
4802
|
}
|
|
4803
|
+
reset$1();
|
|
4805
4804
|
return;
|
|
4806
4805
|
}
|
|
4807
4806
|
if (data.sender === 'promoted-fund-join') {
|
|
@@ -5300,6 +5299,7 @@ class SlateIFrameBuilder {
|
|
|
5300
5299
|
navigationService.navigateInternally(history, SuperSelectionAppRoutes.ChoicePage);
|
|
5301
5300
|
break;
|
|
5302
5301
|
}
|
|
5302
|
+
reset$1();
|
|
5303
5303
|
return;
|
|
5304
5304
|
}
|
|
5305
5305
|
if (data.sender === 'flare' && origin.endsWith('join.slatesuper.com.au')) {
|
|
@@ -5386,8 +5386,7 @@ const StandardChoiceFormInputDefaultFund = class {
|
|
|
5386
5386
|
this.isSubmitDisabled = true;
|
|
5387
5387
|
}
|
|
5388
5388
|
render() {
|
|
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" }, state.
|
|
5390
|
-
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: {
|
|
5391
5390
|
'mt-3': true,
|
|
5392
5391
|
'was-validated': this.formState === 'validated'
|
|
5393
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: {
|
|
@@ -5395,6 +5394,14 @@ const StandardChoiceFormInputDefaultFund = class {
|
|
|
5395
5394
|
'invalid:border-red-300 invalid:text-red-900 invalid:focus:ring-red-500 invalid:focus:border-red-500': this.formState === 'validated'
|
|
5396
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"))))))));
|
|
5397
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
|
+
}
|
|
5398
5405
|
async handleSubmitForm() {
|
|
5399
5406
|
this.formState = 'validated';
|
|
5400
5407
|
if (this.formElement.checkValidity()) {
|
|
@@ -5425,7 +5432,7 @@ const SuperChoiceItemBottom = class {
|
|
|
5425
5432
|
this.joinFundClicked = createEvent(this, "joinFundClicked", 7);
|
|
5426
5433
|
}
|
|
5427
5434
|
render() {
|
|
5428
|
-
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))))));
|
|
5429
5436
|
}
|
|
5430
5437
|
handleFundClick() {
|
|
5431
5438
|
return this.joinFundClicked.emit();
|
|
@@ -5437,7 +5444,7 @@ const SuperChoiceItemTop = class {
|
|
|
5437
5444
|
registerInstance(this, hostRef);
|
|
5438
5445
|
}
|
|
5439
5446
|
render() {
|
|
5440
|
-
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)))));
|
|
5441
5448
|
}
|
|
5442
5449
|
};
|
|
5443
5450
|
|
|
@@ -5459,7 +5466,7 @@ const SuperChoicePage = class {
|
|
|
5459
5466
|
const mygovLinkDisplay = 'www.my.gov.au';
|
|
5460
5467
|
const superfundsLink = 'https://www.apra.gov.au/register-of-superannuation-institutions';
|
|
5461
5468
|
const superfundsLinkDisplay = 'www.apra.gov.au';
|
|
5462
|
-
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: {
|
|
5463
5470
|
'lg:grid border-l border-t lg:border-b rounded-lg': true,
|
|
5464
5471
|
'lg:grid-cols-1 max-w-400': this.promotedFunds.length === 1,
|
|
5465
5472
|
'lg:grid-cols-2 max-w-720': this.promotedFunds.length === 2,
|
|
@@ -5475,7 +5482,7 @@ const SuperChoicePage = class {
|
|
|
5475
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: {
|
|
5476
5483
|
'hidden lg:block border-r': true,
|
|
5477
5484
|
'rounded-br-lg': index === this.promotedFunds.length - 1
|
|
5478
|
-
} }, 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).")))))));
|
|
5479
5486
|
}
|
|
5480
5487
|
allFunds() {
|
|
5481
5488
|
const Link = (props, children) => {
|
|
@@ -5588,6 +5595,18 @@ const SuperChoicePage = class {
|
|
|
5588
5595
|
h("p", null, "Established super fund \u2013 anyone can join including KiwiSaver members")
|
|
5589
5596
|
],
|
|
5590
5597
|
disclaimer: (h("div", null, h("p", null, "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", ' ', h(Link, { onClick: () => this.pdsViewedAsync(First.Name), href: First.PdsUrl }, "website"), ". Past performance is not a reliable indicator of future performance."), h("br", null), 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.")))
|
|
5598
|
+
},
|
|
5599
|
+
{
|
|
5600
|
+
fundId: MercerMyChoice.Id,
|
|
5601
|
+
name: MercerMyChoice.Name,
|
|
5602
|
+
logo: MercerMyChoice.Logo,
|
|
5603
|
+
route: SuperSelectionAppRoutes.PromotedFundJoinV2,
|
|
5604
|
+
features: [
|
|
5605
|
+
h("p", null, "Save more super with our low fees"),
|
|
5606
|
+
h("p", null, "Take control with 6 MyChoice investment options"),
|
|
5607
|
+
h("p", null, "Join 850,000 Australians who trust our global expertise")
|
|
5608
|
+
],
|
|
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)))
|
|
5591
5610
|
}
|
|
5592
5611
|
];
|
|
5593
5612
|
}
|
|
@@ -5602,11 +5621,12 @@ const SuperChoicePage = class {
|
|
|
5602
5621
|
return fundTiles;
|
|
5603
5622
|
}
|
|
5604
5623
|
async handleJoinSuperClickAsync(fund) {
|
|
5605
|
-
var _a;
|
|
5606
5624
|
const promotedFundsShown = superSelectionAppService.promotedFunds;
|
|
5625
|
+
const fundUsi = getFundUsiByFundId(fund.fundId);
|
|
5626
|
+
const fundName = getFundNameByFundId(fund.fundId);
|
|
5607
5627
|
await this.eventTrackingService.TrackPromotedSuperFundDetailViewedAsync({
|
|
5608
|
-
fundUsi:
|
|
5609
|
-
fundName: (
|
|
5628
|
+
fundUsi: Option.isSome(fundUsi) ? fundUsi.value : undefined,
|
|
5629
|
+
fundName: Option.isSome(fundName) ? fundName.value : '',
|
|
5610
5630
|
promotedFundId: fund.fundId,
|
|
5611
5631
|
promotedFundsShown,
|
|
5612
5632
|
defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi)
|
|
@@ -6612,9 +6632,7 @@ const SuperSelectionApp = class {
|
|
|
6612
6632
|
navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ExistingChoicePage);
|
|
6613
6633
|
}
|
|
6614
6634
|
else {
|
|
6615
|
-
navigationService.navigateInternally(this.history,
|
|
6616
|
-
? SuperSelectionAppRoutes.ConsentPage
|
|
6617
|
-
: SuperSelectionAppRoutes.ChoicePage);
|
|
6635
|
+
navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ConsentPage);
|
|
6618
6636
|
}
|
|
6619
6637
|
}
|
|
6620
6638
|
authTokenChanged(newValue) {
|
|
@@ -6626,6 +6644,14 @@ const SuperSelectionApp = class {
|
|
|
6626
6644
|
render() {
|
|
6627
6645
|
return (h(Host, null, h("link", { rel: "stylesheet", href: getAssetPath('apollo-super-selection.css'), media: "all" }), this.renderAppContent()));
|
|
6628
6646
|
}
|
|
6647
|
+
isFundJoinPage() {
|
|
6648
|
+
return (window.location.pathname.includes(SuperSelectionAppRoutes.SlateJoin) ||
|
|
6649
|
+
window.location.pathname.includes(SuperSelectionAppRoutes.PromotedFundJoinV1) ||
|
|
6650
|
+
window.location.pathname.includes(SuperSelectionAppRoutes.PromotedFundJoinV2));
|
|
6651
|
+
}
|
|
6652
|
+
getFooterTextOverride() {
|
|
6653
|
+
return getFooterTextOverrideByFundId(state$2.fundId);
|
|
6654
|
+
}
|
|
6629
6655
|
routerBaseUrl() {
|
|
6630
6656
|
var _a;
|
|
6631
6657
|
return ((_a = this.appBaseUrl) === null || _a === void 0 ? void 0 : _a.replace(/\/$/, '')) + '/';
|
|
@@ -6635,12 +6661,7 @@ const SuperSelectionApp = class {
|
|
|
6635
6661
|
'pt-28': true,
|
|
6636
6662
|
'-mt-12 pb-6': !this.isFundJoinPage(),
|
|
6637
6663
|
'-mt-28': this.isFundJoinPage() // -mt value same as pt to negate it in embedded fund join pages
|
|
6638
|
-
} }, superSelectionAppStencilRoutes, h("sss-footer-section",
|
|
6639
|
-
}
|
|
6640
|
-
isFundJoinPage() {
|
|
6641
|
-
return (window.location.pathname.includes(SuperSelectionAppRoutes.SlateJoin) ||
|
|
6642
|
-
window.location.pathname.includes(SuperSelectionAppRoutes.PromotedFundJoinV1) ||
|
|
6643
|
-
window.location.pathname.includes(SuperSelectionAppRoutes.PromotedFundJoinV2));
|
|
6664
|
+
} }, superSelectionAppStencilRoutes, h("sss-footer-section", { textOverride: this.getFooterTextOverride() }))) : (h("div", { class: "flex justify-center py-20" }, h("sss-loading-indicator", null))))));
|
|
6644
6665
|
}
|
|
6645
6666
|
static get assetsDirs() { return ["assets"]; }
|
|
6646
6667
|
static get watchers() { return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as promiseResolve,b as bootstrapLazy}from"./index-189b2180.js";import"./datorama-akita-127aea91.js";import{g as globalScripts}from"./app-globals-c1f89805.js";var patchBrowser=function(){var s=import.meta.url;var e={};if(s!==""){e.resourcesUrl=new URL(".",s).href}return promiseResolve(e)};patchBrowser().then((function(s){globalScripts();return bootstrapLazy([["context-consumer",[[0,"context-consumer",{context:[16],renderer:[16],subscribe:[16],unsubscribe:[32]}]]],["stencil-async-content",[[0,"stencil-async-content",{documentLocation:[1,"document-location"],content:[32]}]]],["stencil-route-title",[[0,"stencil-route-title",{titleSuffix:[1,"title-suffix"],pageTitle:[1,"page-title"]}]]],["stencil-router-prompt",[[0,"stencil-router-prompt",{when:[4],message:[1],history:[16],unblock:[32]}]]],["stencil-router-redirect",[[0,"stencil-router-redirect",{history:[16],root:[1],url:[1]}]]],["sss-button_30",[[0,"sss-my-own-fund",{history:[16],formState:[32],isNotAllInformationProvidedMessageVisible:[32],isSubmitDisabled:[32]}],[0,"sss-self-managed-fund",{history:[16],formState:[32],isSubmitDisabled:[32]}],[0,"sss-super-choice-page",{history:[16],promotedFunds:[32]}],[1,"super-selection-app-host",{sessionState:[32],jwt:[32],appConfiguration:[32],ignoreExistingSelection:[32]}],[0,"sss-default-fund",{history:[16],defaultFundProductName:[32]}],[0,"sss-standard-choice-form",{history:[16],standardChoiceFormSignature:[32],formState:[32],isSubmitDisabled:[32]}],[0,"sss-consent-page",{history:[16]}],[0,"sss-existing-choice-page",{history:[16],existingFund:[32]}],[0,"sss-promoted-fund-join-v1-page",{history:[16]}],[0,"sss-promoted-fund-join-v2-page",{history:[16]}],[0,"sss-slate-join-page",{history:[16]}],[0,"sss-success"],[1,"super-selection-app",{ignoreExistingSelection:[4,"ignore-existing-selection"],accessToken:[1,"access-token"],backendUrl:[1,"backend-url"],appBaseUrl:[1,"app-base-url"],history:[16],location:[16],isSelfHosted:[4,"is-self-hosted"],isAppInitialised:[32]}],[0,"sss-my-own-fund-inputs",{myOwnFundForm:[16],showValidationErrors:[4,"show-validation-errors"],selectedOption:[32]}],[0,"sss-self-managed-fund-inputs",{fundForm:[16],showValidationErrors:[4,"show-validation-errors"],isAbnValid:[32],isAbnTouched:[32],isAbnUsedForRegulated:[32],currentBank:[32],addressErrorMessage:[32]}],[0,"sss-super-choice-item-bottom",{disclaimer:[16],abnInfo:[1,"abn-info"],abn:[1]}],[0,"sss-loading-page"],[0,"sss-super-choice-item-top",{name:[1],logo:[1],features:[16],featureSubText:[16]}],[0,"sss-dropdown-async",{placeholder:[1],searchFunction:[16],value:[16],required:[4],requiredValidationMessage:[1,"required-validation-message"],disabled:[4],minSearchStringLength:[2,"min-search-string-length"],showValidationErrors:[4,"show-validation-errors"],searchState:[32],inputValue:[32],isDropdownVisible:[32],filteredOptions:[32],highlightedOptionIndex:[32],selectedOption:[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-footer-section"],[4,"stencil-route-switch",{group:[513],scrollTopOffset:[2,"scroll-top-offset"],location:[16],routeViewsUpdated:[16]}],[4,"stencil-router",{root:[1],historyType:[1,"history-type"],titleSuffix:[1,"title-suffix"],scrollTopOffset:[2,"scroll-top-offset"],location:[32],history:[32]}],[4,"sss-custom-fund",{history:[16],currentCustomFund:[32],fundOptionsList:[32],showFundOptionsSelection:[32]}],[0,"sss-iframe-host",{build:[16]}],[0,"sss-header-section",{currentPage:[1,"current-page"]}],[0,"sss-name-input",{value:[1],name:[1],readableName:[1,"readable-name"],showValidationErrors:[4,"show-validation-errors"],errorMessage:[32]}],[4,"stencil-route-link",{url:[1],urlMatch:[1,"url-match"],activeClass:[1,"active-class"],exact:[4],strict:[4],custom:[1],anchorClass:[1,"anchor-class"],anchorRole:[1,"anchor-role"],anchorTitle:[1,"anchor-title"],anchorTabIndex:[1,"anchor-tab-index"],anchorId:[1,"anchor-id"],history:[16],location:[16],root:[1],ariaHaspopup:[1,"aria-haspopup"],ariaPosinset:[1,"aria-posinset"],ariaSetsize:[2,"aria-setsize"],ariaLabel:[1,"aria-label"],match:[32]}],[4,"sss-button",{fillWidth:[4,"fill-width"],fillWidthOnMobile:[4,"fill-width-on-mobile"],disabled:[4],variant:[1],size:[1],promiseFn:[16],state:[32]}],[0,"sss-loading-indicator",{theme:[1],size:[2]}],[0,"stencil-route",{group:[513],componentUpdated:[16],match:[1040],url:[1],component:[1],componentProps:[16],exact:[4],routeRender:[16],scrollTopOffset:[2,"scroll-top-offset"],routeViewsUpdated:[16],location:[16],history:[16],historyType:[1,"history-type"]}]]]],s)}));
|
|
1
|
+
import{p as promiseResolve,b as bootstrapLazy}from"./index-189b2180.js";import"./datorama-akita-127aea91.js";import{g as globalScripts}from"./app-globals-c1f89805.js";var patchBrowser=function(){var s=import.meta.url;var e={};if(s!==""){e.resourcesUrl=new URL(".",s).href}return promiseResolve(e)};patchBrowser().then((function(s){globalScripts();return bootstrapLazy([["context-consumer",[[0,"context-consumer",{context:[16],renderer:[16],subscribe:[16],unsubscribe:[32]}]]],["stencil-async-content",[[0,"stencil-async-content",{documentLocation:[1,"document-location"],content:[32]}]]],["stencil-route-title",[[0,"stencil-route-title",{titleSuffix:[1,"title-suffix"],pageTitle:[1,"page-title"]}]]],["stencil-router-prompt",[[0,"stencil-router-prompt",{when:[4],message:[1],history:[16],unblock:[32]}]]],["stencil-router-redirect",[[0,"stencil-router-redirect",{history:[16],root:[1],url:[1]}]]],["sss-button_30",[[0,"sss-my-own-fund",{history:[16],formState:[32],isNotAllInformationProvidedMessageVisible:[32],isSubmitDisabled:[32]}],[0,"sss-self-managed-fund",{history:[16],formState:[32],isSubmitDisabled:[32]}],[0,"sss-super-choice-page",{history:[16],promotedFunds:[32]}],[1,"super-selection-app-host",{sessionState:[32],jwt:[32],appConfiguration:[32],ignoreExistingSelection:[32]}],[0,"sss-default-fund",{history:[16],defaultFundProductName:[32]}],[0,"sss-standard-choice-form",{history:[16],standardChoiceFormSignature:[32],formState:[32],isSubmitDisabled:[32]}],[0,"sss-consent-page",{history:[16]}],[0,"sss-existing-choice-page",{history:[16],existingFund:[32]}],[0,"sss-promoted-fund-join-v1-page",{history:[16]}],[0,"sss-promoted-fund-join-v2-page",{history:[16]}],[0,"sss-slate-join-page",{history:[16]}],[0,"sss-success"],[1,"super-selection-app",{ignoreExistingSelection:[4,"ignore-existing-selection"],accessToken:[1,"access-token"],backendUrl:[1,"backend-url"],appBaseUrl:[1,"app-base-url"],history:[16],location:[16],isSelfHosted:[4,"is-self-hosted"],isAppInitialised:[32]}],[0,"sss-my-own-fund-inputs",{myOwnFundForm:[16],showValidationErrors:[4,"show-validation-errors"],selectedOption:[32]}],[0,"sss-self-managed-fund-inputs",{fundForm:[16],showValidationErrors:[4,"show-validation-errors"],isAbnValid:[32],isAbnTouched:[32],isAbnUsedForRegulated:[32],currentBank:[32],addressErrorMessage:[32]}],[0,"sss-super-choice-item-bottom",{disclaimer:[16],abnInfo:[1,"abn-info"],abn:[1]}],[0,"sss-loading-page"],[0,"sss-super-choice-item-top",{name:[1],logo:[1],features:[16],featureSubText:[16]}],[0,"sss-dropdown-async",{placeholder:[1],searchFunction:[16],value:[16],required:[4],requiredValidationMessage:[1,"required-validation-message"],disabled:[4],minSearchStringLength:[2,"min-search-string-length"],showValidationErrors:[4,"show-validation-errors"],searchState:[32],inputValue:[32],isDropdownVisible:[32],filteredOptions:[32],highlightedOptionIndex:[32],selectedOption:[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-footer-section",{textOverride:[16]}],[4,"stencil-route-switch",{group:[513],scrollTopOffset:[2,"scroll-top-offset"],location:[16],routeViewsUpdated:[16]}],[4,"stencil-router",{root:[1],historyType:[1,"history-type"],titleSuffix:[1,"title-suffix"],scrollTopOffset:[2,"scroll-top-offset"],location:[32],history:[32]}],[4,"sss-custom-fund",{history:[16],currentCustomFund:[32],fundOptionsList:[32],showFundOptionsSelection:[32]}],[0,"sss-iframe-host",{build:[16]}],[0,"sss-header-section",{currentPage:[1,"current-page"]}],[0,"sss-name-input",{value:[1],name:[1],readableName:[1,"readable-name"],showValidationErrors:[4,"show-validation-errors"],errorMessage:[32]}],[4,"stencil-route-link",{url:[1],urlMatch:[1,"url-match"],activeClass:[1,"active-class"],exact:[4],strict:[4],custom:[1],anchorClass:[1,"anchor-class"],anchorRole:[1,"anchor-role"],anchorTitle:[1,"anchor-title"],anchorTabIndex:[1,"anchor-tab-index"],anchorId:[1,"anchor-id"],history:[16],location:[16],root:[1],ariaHaspopup:[1,"aria-haspopup"],ariaPosinset:[1,"aria-posinset"],ariaSetsize:[2,"aria-setsize"],ariaLabel:[1,"aria-label"],match:[32]}],[4,"sss-button",{fillWidth:[4,"fill-width"],fillWidthOnMobile:[4,"fill-width-on-mobile"],disabled:[4],variant:[1],size:[1],promiseFn:[16],state:[32]}],[0,"sss-loading-indicator",{theme:[1],size:[2]}],[0,"stencil-route",{group:[513],componentUpdated:[16],match:[1040],url:[1],component:[1],componentProps:[16],exact:[4],routeRender:[16],scrollTopOffset:[2,"scroll-top-offset"],routeViewsUpdated:[16],location:[16],history:[16],historyType:[1,"history-type"]}]]]],s)}));
|