@flarehr/apollo-super-selection 1.2.27856 → 1.2.27914
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.esm.js +1 -1
- package/dist/lib/apollo-super-selection/assets/logo-mercer-mychoice.svg +1 -0
- package/dist/lib/apollo-super-selection/p-1910eb21.entry.js +14 -0
- package/dist/lib/apollo-super-selection/p-4635a623.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 +79 -12
- package/dist/lib/collection/components/super-selection-app/api/super-selection.api.dto.js +6 -0
- package/dist/lib/collection/components/super-selection-app/funds/constants.js +27 -2
- 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 +15 -3
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.js +15 -3
- 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/super-choice-page/assets/logo-mercer-mychoice.svg +1 -0
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +26 -0
- package/dist/lib/collection/components/super-selection-app/super-selection-app.js +1 -3
- package/dist/lib/esm/sss-button_30.entry.js +79 -12
- package/dist/lib/esm-es5/sss-button_30.entry.js +1 -1
- 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/funds/constants.d.ts +9 -0
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund.store.d.ts +1 -0
- package/package.json +1 -1
- package/dist/lib/apollo-super-selection/p-0bc7e74b.system.entry.js +0 -69
- package/dist/lib/apollo-super-selection/p-1472a495.entry.js +0 -14
|
@@ -260,7 +260,7 @@ class TapSubscriber extends Subscriber {
|
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
const AppVersion = '1.2.
|
|
263
|
+
const AppVersion = '1.2.27914';
|
|
264
264
|
|
|
265
265
|
// -------------------------------------------------------------------------------------
|
|
266
266
|
// guards
|
|
@@ -4066,6 +4066,15 @@ const First = {
|
|
|
4066
4066
|
Abn: '56 286 625 181',
|
|
4067
4067
|
FooterTextOverride: none
|
|
4068
4068
|
};
|
|
4069
|
+
const MercerMyChoice = {
|
|
4070
|
+
Id: 'mercermychoice',
|
|
4071
|
+
Name: 'Mercer MyChoice',
|
|
4072
|
+
Logo: 'logo-mercer-mychoice.svg',
|
|
4073
|
+
PdsUrl: 'https://www.google.com.au',
|
|
4074
|
+
TmdUrl: 'https://www.google.com.au',
|
|
4075
|
+
Abn: '79 004 717 533',
|
|
4076
|
+
FooterTextOverride: some(PoweredByFlareFS)
|
|
4077
|
+
};
|
|
4069
4078
|
const PromotedFundIdList = [
|
|
4070
4079
|
{ dtoPropName: 'slate', id: Slate.Id },
|
|
4071
4080
|
{ dtoPropName: 'australianRetirementTrust', id: AustralianRetirementTrust.Id },
|
|
@@ -4074,7 +4083,8 @@ const PromotedFundIdList = [
|
|
|
4074
4083
|
{ dtoPropName: 'australianEthical', id: AustralianEthical.Id },
|
|
4075
4084
|
{ dtoPropName: 'virgin', id: Virgin.Id },
|
|
4076
4085
|
{ dtoPropName: 'spirit', id: Spirit.Id },
|
|
4077
|
-
{ dtoPropName: 'firstSuper', id: First.Id }
|
|
4086
|
+
{ dtoPropName: 'firstSuper', id: First.Id },
|
|
4087
|
+
{ dtoPropName: 'mercerMyChoice', id: MercerMyChoice.Id }
|
|
4078
4088
|
];
|
|
4079
4089
|
const getFundNameById = (id) => {
|
|
4080
4090
|
switch (id) {
|
|
@@ -4094,11 +4104,23 @@ const getFundNameById = (id) => {
|
|
|
4094
4104
|
return Spirit.Name;
|
|
4095
4105
|
case First.Id:
|
|
4096
4106
|
return First.Name;
|
|
4107
|
+
case MercerMyChoice.Id:
|
|
4108
|
+
return MercerMyChoice.Name;
|
|
4097
4109
|
default:
|
|
4098
4110
|
return;
|
|
4099
4111
|
}
|
|
4100
4112
|
};
|
|
4101
|
-
const getFooterTextOverrideByFundId = (id) => { var _a, _b; return (_b = (_a = [
|
|
4113
|
+
const getFooterTextOverrideByFundId = (id) => { var _a, _b; return (_b = (_a = [
|
|
4114
|
+
Slate,
|
|
4115
|
+
AustralianRetirementTrust,
|
|
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; };
|
|
4102
4124
|
const getFundUsiById = (id) => {
|
|
4103
4125
|
switch (id) {
|
|
4104
4126
|
case Slate.Id:
|
|
@@ -4134,6 +4156,9 @@ const getLogoSrc = (id) => {
|
|
|
4134
4156
|
case First.Id:
|
|
4135
4157
|
logo = First.Logo;
|
|
4136
4158
|
break;
|
|
4159
|
+
case MercerMyChoice.Id:
|
|
4160
|
+
logo = MercerMyChoice.Logo;
|
|
4161
|
+
break;
|
|
4137
4162
|
default:
|
|
4138
4163
|
return;
|
|
4139
4164
|
}
|
|
@@ -4166,6 +4191,9 @@ function getPromotedFundUsi(dto) {
|
|
|
4166
4191
|
else if ('firstSuper' in dto) {
|
|
4167
4192
|
return some(dto.firstSuper.usi);
|
|
4168
4193
|
}
|
|
4194
|
+
else if ('mercerMyChoice' in dto) {
|
|
4195
|
+
return some(dto.mercerMyChoice.usi);
|
|
4196
|
+
}
|
|
4169
4197
|
else {
|
|
4170
4198
|
return none;
|
|
4171
4199
|
}
|
|
@@ -4212,6 +4240,9 @@ function getPromotedFundMemberNumber(dto) {
|
|
|
4212
4240
|
else if ('firstSuper' in dto) {
|
|
4213
4241
|
return some(dto.firstSuper.memberNumber);
|
|
4214
4242
|
}
|
|
4243
|
+
else if ('mercerMyChoice' in dto) {
|
|
4244
|
+
return some(dto.mercerMyChoice.memberNumber);
|
|
4245
|
+
}
|
|
4215
4246
|
else {
|
|
4216
4247
|
return none;
|
|
4217
4248
|
}
|
|
@@ -4652,6 +4683,9 @@ const initial$1 = {
|
|
|
4652
4683
|
fundId: ''
|
|
4653
4684
|
};
|
|
4654
4685
|
const { state: state$2 } = createStore(initial$1);
|
|
4686
|
+
function reset$1() {
|
|
4687
|
+
state$2.fundId = initial$1.fundId;
|
|
4688
|
+
}
|
|
4655
4689
|
|
|
4656
4690
|
class PromotedFundJoinV1IFrameBuilder {
|
|
4657
4691
|
constructor() {
|
|
@@ -4683,11 +4717,21 @@ class PromotedFundJoinV1IFrameBuilder {
|
|
|
4683
4717
|
break;
|
|
4684
4718
|
case 'success':
|
|
4685
4719
|
if (data.memberNumber) {
|
|
4720
|
+
const promotedFundId = state$2.fundId;
|
|
4686
4721
|
navigationService.navigateInternallyToStandardChoice({
|
|
4687
4722
|
history,
|
|
4688
|
-
fundName: (_a = getFundNameById(
|
|
4689
|
-
handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync(
|
|
4690
|
-
|
|
4723
|
+
fundName: (_a = getFundNameById(promotedFundId)) !== null && _a !== void 0 ? _a : '',
|
|
4724
|
+
handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync({
|
|
4725
|
+
fundId: promotedFundId,
|
|
4726
|
+
memberNumber: data.memberNumber,
|
|
4727
|
+
memberFirstName: data.memberFirstName,
|
|
4728
|
+
memberFamilyName: data.memberFamilyName,
|
|
4729
|
+
usi: data.usi.replace(/ /g, ''),
|
|
4730
|
+
standardChoiceFormSignature,
|
|
4731
|
+
shownFunds: superSelectionAppService.promotedFunds,
|
|
4732
|
+
defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi)
|
|
4733
|
+
}),
|
|
4734
|
+
promotedFundId
|
|
4691
4735
|
});
|
|
4692
4736
|
break;
|
|
4693
4737
|
}
|
|
@@ -4696,6 +4740,7 @@ class PromotedFundJoinV1IFrameBuilder {
|
|
|
4696
4740
|
navigationService.navigateInternally(history, SuperSelectionAppRoutes.ChoicePage);
|
|
4697
4741
|
break;
|
|
4698
4742
|
}
|
|
4743
|
+
reset$1();
|
|
4699
4744
|
return;
|
|
4700
4745
|
}
|
|
4701
4746
|
if (data.sender === 'promoted-fund-join') {
|
|
@@ -4801,11 +4846,21 @@ class PromotedFundJoinV2IFrameBuilder {
|
|
|
4801
4846
|
break;
|
|
4802
4847
|
case 'success':
|
|
4803
4848
|
if (data.memberNumber) {
|
|
4849
|
+
const promotedFundId = state$2.fundId;
|
|
4804
4850
|
navigationService.navigateInternallyToStandardChoice({
|
|
4805
4851
|
history,
|
|
4806
|
-
fundName: (_a = getFundNameById(
|
|
4807
|
-
handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync(
|
|
4808
|
-
|
|
4852
|
+
fundName: (_a = getFundNameById(promotedFundId)) !== null && _a !== void 0 ? _a : '',
|
|
4853
|
+
handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync({
|
|
4854
|
+
fundId: promotedFundId,
|
|
4855
|
+
memberNumber: data.memberNumber,
|
|
4856
|
+
memberFirstName: data.memberFirstName,
|
|
4857
|
+
memberFamilyName: data.memberFamilyName,
|
|
4858
|
+
usi: data.usi.replace(/ /g, ''),
|
|
4859
|
+
standardChoiceFormSignature,
|
|
4860
|
+
shownFunds: superSelectionAppService.promotedFunds,
|
|
4861
|
+
defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi)
|
|
4862
|
+
}),
|
|
4863
|
+
promotedFundId
|
|
4809
4864
|
});
|
|
4810
4865
|
break;
|
|
4811
4866
|
}
|
|
@@ -4814,6 +4869,7 @@ class PromotedFundJoinV2IFrameBuilder {
|
|
|
4814
4869
|
navigationService.navigateInternally(history, SuperSelectionAppRoutes.ChoicePage);
|
|
4815
4870
|
break;
|
|
4816
4871
|
}
|
|
4872
|
+
reset$1();
|
|
4817
4873
|
return;
|
|
4818
4874
|
}
|
|
4819
4875
|
if (data.sender === 'promoted-fund-join') {
|
|
@@ -5312,6 +5368,7 @@ class SlateIFrameBuilder {
|
|
|
5312
5368
|
navigationService.navigateInternally(history, SuperSelectionAppRoutes.ChoicePage);
|
|
5313
5369
|
break;
|
|
5314
5370
|
}
|
|
5371
|
+
reset$1();
|
|
5315
5372
|
return;
|
|
5316
5373
|
}
|
|
5317
5374
|
if (data.sender === 'flare' && origin.endsWith('join.slatesuper.com.au')) {
|
|
@@ -5600,6 +5657,18 @@ const SuperChoicePage = class {
|
|
|
5600
5657
|
h("p", null, "Established super fund \u2013 anyone can join including KiwiSaver members")
|
|
5601
5658
|
],
|
|
5602
5659
|
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.")))
|
|
5660
|
+
},
|
|
5661
|
+
{
|
|
5662
|
+
fundId: MercerMyChoice.Id,
|
|
5663
|
+
name: MercerMyChoice.Name,
|
|
5664
|
+
logo: MercerMyChoice.Logo,
|
|
5665
|
+
route: SuperSelectionAppRoutes.PromotedFundJoinV2,
|
|
5666
|
+
features: [
|
|
5667
|
+
h("p", null, "Save more super with our low fees"),
|
|
5668
|
+
h("p", null, "Take control with 6 MyChoice investment options"),
|
|
5669
|
+
h("p", null, "Join 850,000 Australians who trust our global expertise")
|
|
5670
|
+
],
|
|
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", ' ', 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)))
|
|
5603
5672
|
}
|
|
5604
5673
|
];
|
|
5605
5674
|
}
|
|
@@ -6644,9 +6713,7 @@ const SuperSelectionApp = class {
|
|
|
6644
6713
|
window.location.pathname.includes(SuperSelectionAppRoutes.PromotedFundJoinV2));
|
|
6645
6714
|
}
|
|
6646
6715
|
getFooterTextOverride() {
|
|
6647
|
-
return
|
|
6648
|
-
? getFooterTextOverrideByFundId(state$2.fundId)
|
|
6649
|
-
: Option.none;
|
|
6716
|
+
return getFooterTextOverrideByFundId(state$2.fundId);
|
|
6650
6717
|
}
|
|
6651
6718
|
routerBaseUrl() {
|
|
6652
6719
|
var _a;
|