@flarehr/apollo-super-selection 3.95.13475 → 4.0.14518
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-first.svg +15 -0
- package/dist/lib/apollo-super-selection/p-2d18a805.system.entry.js +69 -0
- package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +1 -1
- package/dist/lib/apollo-super-selection/p-e367fcf2.entry.js +14 -0
- package/dist/lib/cjs/sss-button_29.cjs.entry.js +54 -11
- 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 +14 -1
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/default-fund/default-fund.js +3 -2
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.js +2 -1
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.js +3 -1
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v1-iframe-builder.js +2 -1
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.js +2 -1
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/services/slate-iframe-builder.js +3 -1
- package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +5 -0
- package/dist/lib/collection/components/super-selection-app/services/super-selection.store.js +1 -0
- package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-first.svg +15 -0
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +29 -2
- package/dist/lib/esm/sss-button_29.entry.js +54 -11
- package/dist/lib/esm-es5/sss-button_29.entry.js +3 -3
- package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +5 -0
- package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +9 -0
- package/dist/lib/types/components/super-selection-app/funds/constants.d.ts +7 -0
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api.dto.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/funds/slate-super/api/slate-choice.api.dto.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/services/super-selection.store.d.ts +2 -1
- package/package.json +1 -1
- package/dist/lib/apollo-super-selection/p-898aa97e.entry.js +0 -14
- package/dist/lib/apollo-super-selection/p-ef84114b.system.entry.js +0 -69
|
@@ -264,7 +264,7 @@ class TapSubscriber extends datoramaAkita.Subscriber {
|
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
-
const AppVersion = '
|
|
267
|
+
const AppVersion = '4.0.14518';
|
|
268
268
|
|
|
269
269
|
// -------------------------------------------------------------------------------------
|
|
270
270
|
// guards
|
|
@@ -3320,6 +3320,7 @@ const initialState = {
|
|
|
3320
3320
|
superBuyer: Option.none,
|
|
3321
3321
|
promotedFunds: Option.none,
|
|
3322
3322
|
accountConfiguration: Option.none,
|
|
3323
|
+
profileConfiguration: Option.none,
|
|
3323
3324
|
hasSuccessPageBeenAcknowledged: false,
|
|
3324
3325
|
hasSuperSelectionBeenSubmitted: false
|
|
3325
3326
|
};
|
|
@@ -3370,6 +3371,10 @@ class SuperSelectionAppService {
|
|
|
3370
3371
|
return this._state.profileId.value;
|
|
3371
3372
|
}
|
|
3372
3373
|
get defaultFundUsi() {
|
|
3374
|
+
const profileConfigDefaultFundUsi = _function.pipe(this._state.profileConfiguration, Option.map((config) => Option.fromNullable(config.defaultFundUsi)), Option.flatten);
|
|
3375
|
+
if (Option.isSome(profileConfigDefaultFundUsi)) {
|
|
3376
|
+
return profileConfigDefaultFundUsi;
|
|
3377
|
+
}
|
|
3373
3378
|
return _function.pipe(this._state.accountConfiguration, Option.map((config) => Option.fromNullable(config.defaultFundUsi)), Option.flatten);
|
|
3374
3379
|
}
|
|
3375
3380
|
get accountIdOrDefault() {
|
|
@@ -3393,6 +3398,7 @@ class SuperSelectionAppService {
|
|
|
3393
3398
|
async loadAppStateAsync() {
|
|
3394
3399
|
const appStateResponse = await superSelectionApi.getAppStateAsync();
|
|
3395
3400
|
this._state.accountConfiguration = Option.fromNullable(appStateResponse.accountConfiguration);
|
|
3401
|
+
this._state.profileConfiguration = Option.fromNullable(appStateResponse.profileConfiguration);
|
|
3396
3402
|
this._state.superBuyer = Option.fromNullable(appStateResponse.superBuyer);
|
|
3397
3403
|
this._state.promotedFunds = Option.fromNullable(appStateResponse.promotedFunds);
|
|
3398
3404
|
}
|
|
@@ -3801,11 +3807,12 @@ const DefaultFund = class {
|
|
|
3801
3807
|
return this.eventTrackingService.TrackDefaultSuperFundDetailViewedAsync({
|
|
3802
3808
|
fundUsi: (_b = (_a = this.defaultFund) === null || _a === void 0 ? void 0 : _a.usi) !== null && _b !== void 0 ? _b : '',
|
|
3803
3809
|
fundName: (_d = (_c = this.defaultFund) === null || _c === void 0 ? void 0 : _c.productName) !== null && _d !== void 0 ? _d : '',
|
|
3804
|
-
promotedFundsShown: superSelectionAppService.promotedFunds
|
|
3810
|
+
promotedFundsShown: superSelectionAppService.promotedFunds,
|
|
3811
|
+
defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi)
|
|
3805
3812
|
});
|
|
3806
3813
|
}
|
|
3807
3814
|
render() {
|
|
3808
|
-
return (index.h(index.Host, null, index.h("sss-header-section", { currentPage: "own-fund" }), index.h("div", { class: "flex justify-center mt-11" }, index.h("sss-custom-fund", null, index.h("div", { class: "p-4 sm:p-6 pb-6 sm:pb-8 border shadow-sm rounded-lg" }, index.h("p", { class: "sm:text-lg font-bold mb-3" }, "Fund details"), index.h("div", { class: "bg-yellow-50 border-l-4 border-yellow-400 p-4 my-3" }, index.h("div", { class: "flex" }, index.h("div", { class: "flex-shrink-0" }, index.h("img", { class: "h-5 w-5", src: index.getAssetPath('assets/icon-exclamation.svg') })), index.h("div", { class: "ml-3 text-sm text-yellow-700 leading-5" }, this.isDefaultFundExists && !this.isInvalidDefaultFund ? (index.h("span", null, "By choosing to join your employer\u2019s default super fund, you acknowledge that your application to join is subject to Trustee approval.")) : (index.h("span", null, "It looks like your employer has not specified a default fund, please contact them if you\u2019d like to use your company\u2019s
|
|
3815
|
+
return (index.h(index.Host, null, index.h("sss-header-section", { currentPage: "own-fund" }), index.h("div", { class: "flex justify-center mt-11" }, index.h("sss-custom-fund", null, index.h("div", { class: "p-4 sm:p-6 pb-6 sm:pb-8 border shadow-sm rounded-lg" }, index.h("p", { class: "sm:text-lg font-bold mb-3" }, "Fund details"), index.h("div", { class: "bg-yellow-50 border-l-4 border-yellow-400 p-4 my-3" }, index.h("div", { class: "flex" }, index.h("div", { class: "flex-shrink-0" }, index.h("img", { class: "h-5 w-5", src: index.getAssetPath('assets/icon-exclamation.svg') })), index.h("div", { class: "ml-3 text-sm text-yellow-700 leading-5" }, this.isDefaultFundExists && !this.isInvalidDefaultFund ? (index.h("span", null, "By choosing to join your employer\u2019s default super fund, you acknowledge that your application to join is subject to Trustee approval.")) : (index.h("span", null, "It looks like your employer has not specified a default fund, please contact them if you\u2019d like to use your company\u2019s default fund."))))), this.isDefaultFundExists && !this.isInvalidDefaultFund && (index.h("div", null, index.h("div", { class: "mt-3" }, index.h("label", { class: "text-sm font-medium text-gray-700" }, "Fund Name"), index.h("div", { class: "mt-1 shadow-sm px-3 py-2 rounded-md border border-gray-300 bg-gray-50 text-gray-500 text-base sm:text-sm" }, this.defaultFundProductName)), index.h("div", { class: "mt-3" }, index.h("label", { class: "text-sm font-medium text-gray-700" }, "Fund USI"), index.h("div", { class: "mt-1 shadow-sm px-3 py-2 rounded-md border border-gray-300 bg-gray-50 text-gray-500 text-base sm:text-sm" }, this.defaultFund.usi))))), index.h("div", { class: "flex justify-center mt-8" }, index.h("div", { class: "sm:max-w-320 w-full" }, this.isDefaultFundExists && !this.isInvalidDefaultFund && (index.h("div", { class: "mb-4" }, index.h("sss-button", { fillWidth: true, promiseFn: () => this.handleSubmitForm() }, "Continue"))), index.h("stencil-route-link", { url: SuperSelectionAppRoutes.ChoicePage }, index.h("sss-button", { fillWidth: true, variant: "secondary" }, "Back"))))))));
|
|
3809
3816
|
}
|
|
3810
3817
|
async handleSubmitForm() {
|
|
3811
3818
|
if (this.isInvalidDefaultFund) {
|
|
@@ -4023,6 +4030,13 @@ const Spirit = {
|
|
|
4023
4030
|
PdsUrl: 'https://www.spiritsuper.com.au/pds',
|
|
4024
4031
|
Abn: '74 559 365 913'
|
|
4025
4032
|
};
|
|
4033
|
+
const First = {
|
|
4034
|
+
Id: 'first-super',
|
|
4035
|
+
Name: 'First Super',
|
|
4036
|
+
Logo: 'logo-first.svg',
|
|
4037
|
+
PdsUrl: 'https://www.firstsuper.com.au/forms-tools/product-disclosure-statements/',
|
|
4038
|
+
Abn: '56 286 625 181'
|
|
4039
|
+
};
|
|
4026
4040
|
const PromotedFundIdList = [
|
|
4027
4041
|
{ dtoPropName: 'slate', id: Slate.Id },
|
|
4028
4042
|
{ dtoPropName: 'australianRetirementTrust', id: AustralianRetirementTrust.Id },
|
|
@@ -4030,7 +4044,8 @@ const PromotedFundIdList = [
|
|
|
4030
4044
|
{ dtoPropName: 'active', id: Active.Id },
|
|
4031
4045
|
{ dtoPropName: 'australianEthical', id: AustralianEthical.Id },
|
|
4032
4046
|
{ dtoPropName: 'virgin', id: Virgin.Id },
|
|
4033
|
-
{ dtoPropName: 'spirit', id: Spirit.Id }
|
|
4047
|
+
{ dtoPropName: 'spirit', id: Spirit.Id },
|
|
4048
|
+
{ dtoPropName: 'firstSuper', id: First.Id }
|
|
4034
4049
|
];
|
|
4035
4050
|
const getFundNameById = (id) => {
|
|
4036
4051
|
switch (id) {
|
|
@@ -4048,6 +4063,8 @@ const getFundNameById = (id) => {
|
|
|
4048
4063
|
return Virgin.Name;
|
|
4049
4064
|
case Spirit.Id:
|
|
4050
4065
|
return Spirit.Name;
|
|
4066
|
+
case First.Id:
|
|
4067
|
+
return First.Name;
|
|
4051
4068
|
default:
|
|
4052
4069
|
return;
|
|
4053
4070
|
}
|
|
@@ -4084,6 +4101,9 @@ const getLogoSrc = (id) => {
|
|
|
4084
4101
|
case Spirit.Id:
|
|
4085
4102
|
logo = Spirit.Logo;
|
|
4086
4103
|
break;
|
|
4104
|
+
case First.Id:
|
|
4105
|
+
logo = First.Logo;
|
|
4106
|
+
break;
|
|
4087
4107
|
default:
|
|
4088
4108
|
return;
|
|
4089
4109
|
}
|
|
@@ -4113,6 +4133,9 @@ function getPromotedFundUsi(dto) {
|
|
|
4113
4133
|
else if ('spirit' in dto) {
|
|
4114
4134
|
return some(dto.spirit.usi);
|
|
4115
4135
|
}
|
|
4136
|
+
else if ('firstSuper' in dto) {
|
|
4137
|
+
return some(dto.firstSuper.usi);
|
|
4138
|
+
}
|
|
4116
4139
|
else {
|
|
4117
4140
|
return none;
|
|
4118
4141
|
}
|
|
@@ -4156,6 +4179,9 @@ function getPromotedFundMemberNumber(dto) {
|
|
|
4156
4179
|
else if ('spirit' in dto) {
|
|
4157
4180
|
return some(dto.spirit.memberNumber);
|
|
4158
4181
|
}
|
|
4182
|
+
else if ('firstSuper' in dto) {
|
|
4183
|
+
return some(dto.firstSuper.memberNumber);
|
|
4184
|
+
}
|
|
4159
4185
|
else {
|
|
4160
4186
|
return none;
|
|
4161
4187
|
}
|
|
@@ -4411,7 +4437,8 @@ const MyOwnFund = class {
|
|
|
4411
4437
|
}
|
|
4412
4438
|
componentDidLoad() {
|
|
4413
4439
|
return this.eventTrackingService.TrackMyOwnSuperFundDetailViewedAsync({
|
|
4414
|
-
promotedFundsShown: superSelectionAppService.promotedFunds
|
|
4440
|
+
promotedFundsShown: superSelectionAppService.promotedFunds,
|
|
4441
|
+
defaultFundUsiSet: toUndefined(superSelectionAppService.defaultFundUsi)
|
|
4415
4442
|
});
|
|
4416
4443
|
}
|
|
4417
4444
|
render() {
|
|
@@ -4539,7 +4566,7 @@ class PromotedFundJoinV1IFrameBuilder {
|
|
|
4539
4566
|
navigationService.navigateInternallyToStandardChoice({
|
|
4540
4567
|
history,
|
|
4541
4568
|
fundName: (_a = getFundNameById(state$2.fundId)) !== null && _a !== void 0 ? _a : '',
|
|
4542
|
-
handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync(Object.assign(Object.assign({}, state$2), { memberNumber: data.memberNumber, usi: data.usi.replace(/ /g, ''), standardChoiceFormSignature, shownFunds: superSelectionAppService.promotedFunds })),
|
|
4569
|
+
handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync(Object.assign(Object.assign({}, state$2), { memberNumber: data.memberNumber, usi: data.usi.replace(/ /g, ''), standardChoiceFormSignature, shownFunds: superSelectionAppService.promotedFunds, defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi) })),
|
|
4543
4570
|
promotedFundId: state$2.fundId
|
|
4544
4571
|
});
|
|
4545
4572
|
break;
|
|
@@ -4657,7 +4684,7 @@ class PromotedFundJoinV2IFrameBuilder {
|
|
|
4657
4684
|
navigationService.navigateInternallyToStandardChoice({
|
|
4658
4685
|
history,
|
|
4659
4686
|
fundName: (_a = getFundNameById(state$2.fundId)) !== null && _a !== void 0 ? _a : '',
|
|
4660
|
-
handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync(Object.assign(Object.assign({}, state$2), { memberNumber: data.memberNumber, usi: data.usi.replace(/ /g, ''), standardChoiceFormSignature, shownFunds: superSelectionAppService.promotedFunds })),
|
|
4687
|
+
handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync(Object.assign(Object.assign({}, state$2), { memberNumber: data.memberNumber, usi: data.usi.replace(/ /g, ''), standardChoiceFormSignature, shownFunds: superSelectionAppService.promotedFunds, defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi) })),
|
|
4661
4688
|
promotedFundId: state$2.fundId
|
|
4662
4689
|
});
|
|
4663
4690
|
break;
|
|
@@ -4785,7 +4812,8 @@ const SelfManagedFund = class {
|
|
|
4785
4812
|
componentDidLoad() {
|
|
4786
4813
|
this.updateIsSubmitDisabled();
|
|
4787
4814
|
return this.eventTrackingService.TrackSmsfSuperFundDetailViewedAsync({
|
|
4788
|
-
promotedFundsShown: superSelectionAppService.promotedFunds
|
|
4815
|
+
promotedFundsShown: superSelectionAppService.promotedFunds,
|
|
4816
|
+
defaultFundUsiSet: toUndefined(superSelectionAppService.defaultFundUsi)
|
|
4789
4817
|
});
|
|
4790
4818
|
}
|
|
4791
4819
|
render() {
|
|
@@ -5129,7 +5157,8 @@ class SlateIFrameBuilder {
|
|
|
5129
5157
|
handleSubmitFn: (standardChoiceFormSignature) => slateChoiceApi.submitSlateChoiceAsync({
|
|
5130
5158
|
memberNumber: data.memberNumber,
|
|
5131
5159
|
standardChoiceFormSignature,
|
|
5132
|
-
shownFunds: superSelectionAppService.promotedFunds
|
|
5160
|
+
shownFunds: superSelectionAppService.promotedFunds,
|
|
5161
|
+
defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi)
|
|
5133
5162
|
}),
|
|
5134
5163
|
promotedFundId: Slate.Id
|
|
5135
5164
|
});
|
|
@@ -5290,7 +5319,8 @@ const SuperChoicePage = class {
|
|
|
5290
5319
|
componentDidLoad() {
|
|
5291
5320
|
const promotedFundsShown = this.promotedFunds.map((item) => item.fundId);
|
|
5292
5321
|
return this.eventTrackingService.TrackSuperFundPanelViewedAsync({
|
|
5293
|
-
promotedFundsShown
|
|
5322
|
+
promotedFundsShown,
|
|
5323
|
+
defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi)
|
|
5294
5324
|
});
|
|
5295
5325
|
}
|
|
5296
5326
|
render() {
|
|
@@ -5415,6 +5445,18 @@ const SuperChoicePage = class {
|
|
|
5415
5445
|
],
|
|
5416
5446
|
featureSubText: (index.h("div", { class: "m-4 pt-2" }, index.h("ol", { class: "list-decimal space-y-2" }, index.h("li", null, index.h("span", null, "CSBA SenseCX Benchmark 2021-22")), index.h("li", null, index.h("span", null, "Awarded Best for Value in the WeMoney Superannuation Awards 2022")), index.h("li", null, index.h("span", null, "Just $67.60 + 0.15% pa admin fees, capped at $517.60")), index.h("li", null, index.h("span", null, "Rainmaker ESG Leader Rating 2022"))))),
|
|
5417
5447
|
disclaimer: (index.h("p", null, "Past performance isn\u2019t a reliable indicator of future performance. Consider the PDS and TMD at", ' ', index.h(Link, { href: Spirit.PdsUrl, onClick: () => this.pdsViewedAsync(Spirit.Name) }, "www.spiritsuper.com.au/pds"), ' ', "before making a decision. Issuer is Motor Trades Association of Australia Superannuation Fund Pty Ltd (AFSL 238 718, ABN 14 008 650 628), the trustee of Spirit Super (ABN 74 559 365 913). Advice is provided by Quadrant First Pty Ltd (ABN 78 102 167 877, AFSL 284443)."))
|
|
5448
|
+
},
|
|
5449
|
+
{
|
|
5450
|
+
fundId: First.Id,
|
|
5451
|
+
name: First.Name,
|
|
5452
|
+
logo: First.Logo,
|
|
5453
|
+
route: SuperSelectionAppRoutes.PromotedFundJoinV2,
|
|
5454
|
+
features: [
|
|
5455
|
+
index.h("p", null, "Industry SuperFund that puts members FIRST"),
|
|
5456
|
+
index.h("p", null, "Strong long-term investment returns and superior customer service"),
|
|
5457
|
+
index.h("p", null, "Established super fund \u2013 anyone can join including KiwiSaver members")
|
|
5458
|
+
],
|
|
5459
|
+
disclaimer: (index.h("div", null, index.h("p", null, "You should consider the", ' ', index.h(Link, { onClick: () => this.pdsViewedAsync(First.Name), href: First.PdsUrl }, "Product Disclosure Statement"), ' ', "and", ' ', index.h(Link, { href: "https://www.firstsuper.com.au/forms-tools/product-disclosure-statements/" }, "Target Market Determination"), ' ', "before deciding to invest in or apply to become a member of the fund."), index.h("br", null), index.h("p", null, "Issued by First Super Pty Limited (ABN 42 053 498 472, AFSL 223988) as trustee of First Super (ABN 56 286 625 181).")))
|
|
5418
5460
|
}
|
|
5419
5461
|
];
|
|
5420
5462
|
}
|
|
@@ -5435,7 +5477,8 @@ const SuperChoicePage = class {
|
|
|
5435
5477
|
fundUsi: getFundUsiById(fund.fundId),
|
|
5436
5478
|
fundName: (_a = getFundNameById(fund.fundId)) !== null && _a !== void 0 ? _a : '',
|
|
5437
5479
|
promotedFundId: fund.fundId,
|
|
5438
|
-
promotedFundsShown
|
|
5480
|
+
promotedFundsShown,
|
|
5481
|
+
defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi)
|
|
5439
5482
|
});
|
|
5440
5483
|
state$2.fundId = fund.fundId;
|
|
5441
5484
|
return navigationService.navigateInternally(this.history, fund.route);
|
|
@@ -21,6 +21,9 @@ function getPromotedFundUsi(dto) {
|
|
|
21
21
|
else if ('spirit' in dto) {
|
|
22
22
|
return some(dto.spirit.usi);
|
|
23
23
|
}
|
|
24
|
+
else if ('firstSuper' in dto) {
|
|
25
|
+
return some(dto.firstSuper.usi);
|
|
26
|
+
}
|
|
24
27
|
else {
|
|
25
28
|
return none;
|
|
26
29
|
}
|
|
@@ -64,6 +67,9 @@ function getPromotedFundMemberNumber(dto) {
|
|
|
64
67
|
else if ('spirit' in dto) {
|
|
65
68
|
return some(dto.spirit.memberNumber);
|
|
66
69
|
}
|
|
70
|
+
else if ('firstSuper' in dto) {
|
|
71
|
+
return some(dto.firstSuper.memberNumber);
|
|
72
|
+
}
|
|
67
73
|
else {
|
|
68
74
|
return none;
|
|
69
75
|
}
|
|
@@ -49,6 +49,13 @@ export const Spirit = {
|
|
|
49
49
|
PdsUrl: 'https://www.spiritsuper.com.au/pds',
|
|
50
50
|
Abn: '74 559 365 913'
|
|
51
51
|
};
|
|
52
|
+
export const First = {
|
|
53
|
+
Id: 'first-super',
|
|
54
|
+
Name: 'First Super',
|
|
55
|
+
Logo: 'logo-first.svg',
|
|
56
|
+
PdsUrl: 'https://www.firstsuper.com.au/forms-tools/product-disclosure-statements/',
|
|
57
|
+
Abn: '56 286 625 181'
|
|
58
|
+
};
|
|
52
59
|
export const PromotedFundIdList = [
|
|
53
60
|
{ dtoPropName: 'slate', id: Slate.Id },
|
|
54
61
|
{ dtoPropName: 'australianRetirementTrust', id: AustralianRetirementTrust.Id },
|
|
@@ -56,7 +63,8 @@ export const PromotedFundIdList = [
|
|
|
56
63
|
{ dtoPropName: 'active', id: Active.Id },
|
|
57
64
|
{ dtoPropName: 'australianEthical', id: AustralianEthical.Id },
|
|
58
65
|
{ dtoPropName: 'virgin', id: Virgin.Id },
|
|
59
|
-
{ dtoPropName: 'spirit', id: Spirit.Id }
|
|
66
|
+
{ dtoPropName: 'spirit', id: Spirit.Id },
|
|
67
|
+
{ dtoPropName: 'firstSuper', id: First.Id }
|
|
60
68
|
];
|
|
61
69
|
export const getFundNameById = (id) => {
|
|
62
70
|
switch (id) {
|
|
@@ -74,6 +82,8 @@ export const getFundNameById = (id) => {
|
|
|
74
82
|
return Virgin.Name;
|
|
75
83
|
case Spirit.Id:
|
|
76
84
|
return Spirit.Name;
|
|
85
|
+
case First.Id:
|
|
86
|
+
return First.Name;
|
|
77
87
|
default:
|
|
78
88
|
return;
|
|
79
89
|
}
|
|
@@ -110,6 +120,9 @@ export const getLogoSrc = (id) => {
|
|
|
110
120
|
case Spirit.Id:
|
|
111
121
|
logo = Spirit.Logo;
|
|
112
122
|
break;
|
|
123
|
+
case First.Id:
|
|
124
|
+
logo = First.Logo;
|
|
125
|
+
break;
|
|
113
126
|
default:
|
|
114
127
|
return;
|
|
115
128
|
}
|
|
@@ -30,7 +30,8 @@ export class DefaultFund {
|
|
|
30
30
|
return this.eventTrackingService.TrackDefaultSuperFundDetailViewedAsync({
|
|
31
31
|
fundUsi: (_b = (_a = this.defaultFund) === null || _a === void 0 ? void 0 : _a.usi) !== null && _b !== void 0 ? _b : '',
|
|
32
32
|
fundName: (_d = (_c = this.defaultFund) === null || _c === void 0 ? void 0 : _c.productName) !== null && _d !== void 0 ? _d : '',
|
|
33
|
-
promotedFundsShown: superSelectionAppService.promotedFunds
|
|
33
|
+
promotedFundsShown: superSelectionAppService.promotedFunds,
|
|
34
|
+
defaultFundUsiSet: O.toUndefined(superSelectionAppService.defaultFundUsi)
|
|
34
35
|
});
|
|
35
36
|
}
|
|
36
37
|
render() {
|
|
@@ -44,7 +45,7 @@ export class DefaultFund {
|
|
|
44
45
|
h("div", { class: "flex" },
|
|
45
46
|
h("div", { class: "flex-shrink-0" },
|
|
46
47
|
h("img", { class: "h-5 w-5", src: getAssetPath('assets/icon-exclamation.svg') })),
|
|
47
|
-
h("div", { class: "ml-3 text-sm text-yellow-700 leading-5" }, this.isDefaultFundExists && !this.isInvalidDefaultFund ? (h("span", null, "By choosing to join your employer\u2019s default super fund, you acknowledge that your application to join is subject to Trustee approval.")) : (h("span", null, "It looks like your employer has not specified a default fund, please contact them if you\u2019d like to use your company\u2019s
|
|
48
|
+
h("div", { class: "ml-3 text-sm text-yellow-700 leading-5" }, this.isDefaultFundExists && !this.isInvalidDefaultFund ? (h("span", null, "By choosing to join your employer\u2019s default super fund, you acknowledge that your application to join is subject to Trustee approval.")) : (h("span", null, "It looks like your employer has not specified a default fund, please contact them if you\u2019d like to use your company\u2019s default fund."))))),
|
|
48
49
|
this.isDefaultFundExists && !this.isInvalidDefaultFund && (h("div", null,
|
|
49
50
|
h("div", { class: "mt-3" },
|
|
50
51
|
h("label", { class: "text-sm font-medium text-gray-700" }, "Fund Name"),
|
|
@@ -16,7 +16,8 @@ export class MyOwnFund {
|
|
|
16
16
|
}
|
|
17
17
|
componentDidLoad() {
|
|
18
18
|
return this.eventTrackingService.TrackMyOwnSuperFundDetailViewedAsync({
|
|
19
|
-
promotedFundsShown: superSelectionAppService.promotedFunds
|
|
19
|
+
promotedFundsShown: superSelectionAppService.promotedFunds,
|
|
20
|
+
defaultFundUsiSet: O.toUndefined(superSelectionAppService.defaultFundUsi)
|
|
20
21
|
});
|
|
21
22
|
}
|
|
22
23
|
render() {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Component, getAssetPath, h, Host, Prop, State } from '@stencil/core';
|
|
2
2
|
import { injectHistory } from '@stencil/router';
|
|
3
|
+
import * as O from 'fp-ts/Option';
|
|
3
4
|
import { EventTrackingService } from '../../../services/event-tracking.service';
|
|
4
5
|
import navigationService from '../../../services/navigation.service';
|
|
5
6
|
import { SuperSelectionAppRoutes } from '../../../services/super-selection-app.routes';
|
|
@@ -43,7 +44,8 @@ export class SelfManagedFund {
|
|
|
43
44
|
componentDidLoad() {
|
|
44
45
|
this.updateIsSubmitDisabled();
|
|
45
46
|
return this.eventTrackingService.TrackSmsfSuperFundDetailViewedAsync({
|
|
46
|
-
promotedFundsShown: superSelectionAppService.promotedFunds
|
|
47
|
+
promotedFundsShown: superSelectionAppService.promotedFunds,
|
|
48
|
+
defaultFundUsiSet: O.toUndefined(superSelectionAppService.defaultFundUsi)
|
|
47
49
|
});
|
|
48
50
|
}
|
|
49
51
|
render() {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as O from 'fp-ts/lib/Option';
|
|
1
2
|
import iframeUtil from '../../../../../utils/iframe';
|
|
2
3
|
import navigationService from '../../../services/navigation.service';
|
|
3
4
|
import { SuperSelectionAppRoutes } from '../../../services/super-selection-app.routes';
|
|
@@ -38,7 +39,7 @@ class PromotedFundJoinV1IFrameBuilder {
|
|
|
38
39
|
navigationService.navigateInternallyToStandardChoice({
|
|
39
40
|
history,
|
|
40
41
|
fundName: (_a = getFundNameById(promotedFundState.fundId)) !== null && _a !== void 0 ? _a : '',
|
|
41
|
-
handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync(Object.assign(Object.assign({}, promotedFundState), { memberNumber: data.memberNumber, usi: data.usi.replace(/ /g, ''), standardChoiceFormSignature, shownFunds: superSelectionAppService.promotedFunds })),
|
|
42
|
+
handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync(Object.assign(Object.assign({}, promotedFundState), { memberNumber: data.memberNumber, usi: data.usi.replace(/ /g, ''), standardChoiceFormSignature, shownFunds: superSelectionAppService.promotedFunds, defaultFundUsiSet: O.toUndefined(superSelectionAppService.defaultFundUsi) })),
|
|
42
43
|
promotedFundId: promotedFundState.fundId
|
|
43
44
|
});
|
|
44
45
|
break;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as O from 'fp-ts/lib/Option';
|
|
1
2
|
import iframeUtil from '../../../../../utils/iframe';
|
|
2
3
|
import navigationService from '../../../services/navigation.service';
|
|
3
4
|
import { SuperSelectionAppRoutes } from '../../../services/super-selection-app.routes';
|
|
@@ -44,7 +45,7 @@ class PromotedFundJoinV2IFrameBuilder {
|
|
|
44
45
|
navigationService.navigateInternallyToStandardChoice({
|
|
45
46
|
history,
|
|
46
47
|
fundName: (_a = getFundNameById(promotedFundState.fundId)) !== null && _a !== void 0 ? _a : '',
|
|
47
|
-
handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync(Object.assign(Object.assign({}, promotedFundState), { memberNumber: data.memberNumber, usi: data.usi.replace(/ /g, ''), standardChoiceFormSignature, shownFunds: superSelectionAppService.promotedFunds })),
|
|
48
|
+
handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync(Object.assign(Object.assign({}, promotedFundState), { memberNumber: data.memberNumber, usi: data.usi.replace(/ /g, ''), standardChoiceFormSignature, shownFunds: superSelectionAppService.promotedFunds, defaultFundUsiSet: O.toUndefined(superSelectionAppService.defaultFundUsi) })),
|
|
48
49
|
promotedFundId: promotedFundState.fundId
|
|
49
50
|
});
|
|
50
51
|
break;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as O from 'fp-ts/lib/Option';
|
|
1
2
|
import interopQuery from '../../../../app-host/services/interop.query';
|
|
2
3
|
import navigationService from '../../../services/navigation.service';
|
|
3
4
|
import { SuperSelectionAppRoutes } from '../../../services/super-selection-app.routes';
|
|
@@ -53,7 +54,8 @@ class SlateIFrameBuilder {
|
|
|
53
54
|
handleSubmitFn: (standardChoiceFormSignature) => slateChoiceApi.submitSlateChoiceAsync({
|
|
54
55
|
memberNumber: data.memberNumber,
|
|
55
56
|
standardChoiceFormSignature,
|
|
56
|
-
shownFunds: superSelectionAppService.promotedFunds
|
|
57
|
+
shownFunds: superSelectionAppService.promotedFunds,
|
|
58
|
+
defaultFundUsiSet: O.toUndefined(superSelectionAppService.defaultFundUsi)
|
|
57
59
|
}),
|
|
58
60
|
promotedFundId: Slate.Id
|
|
59
61
|
});
|
package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js
CHANGED
|
@@ -50,6 +50,10 @@ export class SuperSelectionAppService {
|
|
|
50
50
|
return this._state.profileId.value;
|
|
51
51
|
}
|
|
52
52
|
get defaultFundUsi() {
|
|
53
|
+
const profileConfigDefaultFundUsi = pipe(this._state.profileConfiguration, O.map((config) => O.fromNullable(config.defaultFundUsi)), O.flatten);
|
|
54
|
+
if (O.isSome(profileConfigDefaultFundUsi)) {
|
|
55
|
+
return profileConfigDefaultFundUsi;
|
|
56
|
+
}
|
|
53
57
|
return pipe(this._state.accountConfiguration, O.map((config) => O.fromNullable(config.defaultFundUsi)), O.flatten);
|
|
54
58
|
}
|
|
55
59
|
get accountIdOrDefault() {
|
|
@@ -73,6 +77,7 @@ export class SuperSelectionAppService {
|
|
|
73
77
|
async loadAppStateAsync() {
|
|
74
78
|
const appStateResponse = await superSelectionApi.getAppStateAsync();
|
|
75
79
|
this._state.accountConfiguration = O.fromNullable(appStateResponse.accountConfiguration);
|
|
80
|
+
this._state.profileConfiguration = O.fromNullable(appStateResponse.profileConfiguration);
|
|
76
81
|
this._state.superBuyer = O.fromNullable(appStateResponse.superBuyer);
|
|
77
82
|
this._state.promotedFunds = O.fromNullable(appStateResponse.promotedFunds);
|
|
78
83
|
}
|
package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-first.svg
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<svg width="140" height="65" viewBox="0 0 140 65" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M22.7044 0.0625C10.1656 0.0625 0 10.2281 0 22.7669C0 33.8691 7.97428 43.1073 18.5036 45.0804L22.7044 18.2115L26.9052 45.0804C37.4346 43.1073 45.4088 33.8691 45.4088 22.7669C45.4088 10.2281 35.2432 0.0625 22.7044 0.0625Z" fill="#C4E329"/>
|
|
3
|
+
<path d="M37.8799 2.26279C35.2703 0.0714506 17.9578 3.25389 10.8019 11.7737C3.64597 20.2936 5.78274 27.9223 11.9749 33.1233C14.3753 35.1328 17.0213 36.4785 19.7855 36.8877L22.7042 18.2113L25.532 36.3058C28.1053 35.3874 30.6967 33.5507 33.1972 30.5774C40.3531 22.0575 40.4895 4.46322 37.8799 2.26279Z" fill="#48A23F"/>
|
|
4
|
+
<path d="M55.3018 33.5055H59.8936V22.3669H69.1317V18.2116H59.8936V11.1375H70.7866V6.99121H55.3018V33.5055Z" fill="#13513E"/>
|
|
5
|
+
<path d="M78.1426 6.99121H73.5508V33.5055H78.1426V6.99121Z" fill="#13513E"/>
|
|
6
|
+
<path d="M94.4638 22.6124C97.1553 21.7122 99.8012 19.139 99.8012 15.1837C99.8012 9.71897 96.246 6.7002 89.7993 6.7002C87.4443 6.7002 84.0618 6.85477 82.1887 7.22757L81.8159 7.29122V33.5054H86.4168V28.2862C86.4168 24.3491 86.6714 24.1581 88.7354 23.8217L89.8447 23.658C91.4178 25.4493 94.5093 30.0684 96.1005 33.2599L96.2369 33.5145H101.465L101.147 32.8598C99.3921 29.2046 96.4369 24.8674 94.4638 22.6124ZM86.4168 11.0738C87.3352 10.9283 88.399 10.8465 89.5902 10.8465C93.3727 10.8465 95.0639 12.1922 95.0639 15.1837C95.0639 17.8205 93.5455 19.2299 90.2721 19.6027C87.9807 19.8846 87.1079 20.1028 86.4259 20.3938V11.0738H86.4168Z" fill="#13513E"/>
|
|
7
|
+
<path d="M114.268 18.3478L110.676 17.1021C108.185 16.1929 107.721 15.3109 107.721 13.9015C107.721 11.2555 110.04 10.7009 111.995 10.7009C115.014 10.7009 117.723 11.7284 118.742 12.1648L119.378 12.4467V8.15494L119.132 8.02764C117.223 7.082 114.713 6.56372 112.067 6.56372C106.412 6.56372 103.029 9.42792 103.029 14.2379C103.029 17.7477 105.021 20.1846 108.921 21.503L111.667 22.4577C114.668 23.4852 115.786 24.549 115.786 26.413C115.786 29.3591 112.468 29.8137 110.485 29.8137C108.439 29.8137 105.875 29.2045 103.639 28.1952L102.984 27.8951V32.2142L103.248 32.3324C105.403 33.3053 107.43 33.9509 110.376 33.9509C116.796 33.9509 120.478 31.0685 120.478 26.0311C120.478 22.2941 118.505 19.8481 114.268 18.3478Z" fill="#13513E"/>
|
|
8
|
+
<path d="M121.115 6.99121V11.1375H128.271V33.5055H132.862V11.1375H140V6.99121H121.115Z" fill="#13513E"/>
|
|
9
|
+
<path d="M60.5935 57.8009C58.3749 57.8009 56.8291 57.3009 55.1742 56.5371L55.0015 56.4552V52.7909L55.4379 53.0182C56.6927 53.682 58.7204 54.3821 60.6662 54.3821C62.8939 54.3821 64.0214 53.6911 64.0214 52.3363C64.0214 51.3633 63.6304 50.7632 61.3845 50.0267L59.5205 49.3993C56.4654 48.3991 55.0469 46.6533 55.0469 43.8892C55.0469 41.2705 56.82 38.479 61.7937 38.479C63.7395 38.479 65.7399 38.9245 67.1584 39.6701L67.313 39.752V43.3527L66.8856 43.1345C65.3035 42.3434 63.3667 41.8706 61.721 41.8706C60.0843 41.8706 59.1023 42.5616 59.1023 43.7073C59.1023 44.7166 59.5023 45.1894 61.8846 45.9987L63.7759 46.626C66.7128 47.6081 68.0858 49.2811 68.0858 51.8816C68.0858 55.7005 65.4217 57.8009 60.5935 57.8009Z" fill="#48A23F"/>
|
|
10
|
+
<path d="M77.8786 57.8284C75.469 57.8284 73.4777 56.5827 72.5685 54.5004C72.0775 53.382 71.8774 51.9727 71.8774 49.645V38.9065H75.86V48.4902C75.86 51.1543 75.9782 51.6544 76.2056 52.3728C76.5874 53.5457 77.4967 54.164 78.8333 54.164C81.743 54.164 83.0978 52.2818 83.0978 48.2538V38.9065H87.0804V57.3828H83.6797L83.607 57.1919C83.407 56.6827 83.3069 55.9553 83.2706 55.3006C82.0431 57.0191 80.3064 57.8284 77.8786 57.8284Z" fill="#48A23F"/>
|
|
11
|
+
<path d="M95.6185 64.3206H91.6177V38.9065H95.0365L95.1093 39.0975C95.3002 39.5703 95.382 40.0159 95.4184 40.5432C96.6096 39.1611 98.1008 38.4883 99.9557 38.4883C104.848 38.4883 107.657 42.0072 107.657 48.1447C107.657 54.2823 104.848 57.8102 99.9557 57.8102C98.2281 57.8102 96.5823 57.0737 95.6185 55.928V64.3206ZM99.601 41.9526C96.8823 41.9526 95.6185 43.9166 95.6185 48.1356C95.6185 52.291 96.8823 54.2277 99.601 54.2277C102.329 54.2277 103.547 52.3455 103.547 48.1356C103.547 43.9166 102.292 41.9526 99.601 41.9526Z" fill="#48A23F"/>
|
|
12
|
+
<path d="M119.223 57.8009C114.031 57.8009 110.931 54.1912 110.931 48.1354C110.931 42.4525 114.486 38.479 119.569 38.479C123.86 38.479 126.425 40.5067 126.425 43.8892C126.425 46.917 124.752 48.5537 120.66 49.5357L117.086 50.4177C116.077 50.6723 115.659 51.0906 115.659 51.8452C115.659 52.7091 116.705 54.3275 119.223 54.3275C121.26 54.3275 123.806 53.7365 125.861 52.7727L126.279 52.5818V56.0915L126.134 56.1734C124.306 57.2463 121.915 57.8009 119.223 57.8009ZM119.569 41.9524C116.786 41.9524 115.031 44.2165 114.959 47.8808C115.35 47.6444 115.841 47.4444 116.414 47.2989L119.46 46.4897C121.442 45.9896 122.324 45.2621 122.324 44.1437C122.324 42.6707 121.424 41.9524 119.569 41.9524Z" fill="#48A23F"/>
|
|
13
|
+
<path d="M134.19 57.3828H130.198V38.9064H133.599L133.672 39.0883C133.872 39.5884 133.954 40.1248 133.99 40.6522C135.117 39.352 136.781 38.5427 138.409 38.5427C138.891 38.5427 139.336 38.5973 139.736 38.6973L139.964 38.7519V42.7254L139.573 42.5981C138.945 42.3889 138.454 42.3071 137.954 42.3071C135.272 42.3071 134.181 43.5164 134.181 46.4988V57.3828H134.19Z" fill="#48A23F"/>
|
|
14
|
+
<path d="M33.5154 7.46382C31.7878 6.00899 20.3128 8.11849 15.5664 13.7741C10.8292 19.4207 12.2385 24.4853 16.3393 27.9224C17.7214 29.0862 19.2399 29.9046 20.822 30.2774L22.7042 18.2205L24.5864 30.2592C26.5322 29.7682 28.5053 28.5043 30.4057 26.2493C35.1521 20.5937 35.243 8.91865 33.5154 7.46382Z" fill="#13513E"/>
|
|
15
|
+
</svg>
|
package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Component, getAssetPath, h, Host, Prop, State } from '@stencil/core';
|
|
2
|
+
import * as O from 'fp-ts/lib/Option';
|
|
2
3
|
import * as constants from '../funds/constants';
|
|
3
4
|
import promotedFundState from '../funds/promoted-fund/promoted-fund.store';
|
|
4
5
|
import { EventTrackingService } from '../services/event-tracking.service';
|
|
@@ -14,7 +15,8 @@ export class SuperChoicePage {
|
|
|
14
15
|
componentDidLoad() {
|
|
15
16
|
const promotedFundsShown = this.promotedFunds.map((item) => item.fundId);
|
|
16
17
|
return this.eventTrackingService.TrackSuperFundPanelViewedAsync({
|
|
17
|
-
promotedFundsShown
|
|
18
|
+
promotedFundsShown,
|
|
19
|
+
defaultFundUsiSet: O.toUndefined(SuperSelectionAppService.defaultFundUsi)
|
|
18
20
|
});
|
|
19
21
|
}
|
|
20
22
|
render() {
|
|
@@ -277,6 +279,30 @@ export class SuperChoicePage {
|
|
|
277
279
|
h(Link, { href: constants.Spirit.PdsUrl, onClick: () => this.pdsViewedAsync(constants.Spirit.Name) }, "www.spiritsuper.com.au/pds"),
|
|
278
280
|
' ',
|
|
279
281
|
"before making a decision. Issuer is Motor Trades Association of Australia Superannuation Fund Pty Ltd (AFSL 238 718, ABN 14 008 650 628), the trustee of Spirit Super (ABN 74 559 365 913). Advice is provided by Quadrant First Pty Ltd (ABN 78 102 167 877, AFSL 284443)."))
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
fundId: constants.First.Id,
|
|
285
|
+
name: constants.First.Name,
|
|
286
|
+
logo: constants.First.Logo,
|
|
287
|
+
route: SuperSelectionAppRoutes.PromotedFundJoinV2,
|
|
288
|
+
features: [
|
|
289
|
+
h("p", null, "Industry SuperFund that puts members FIRST"),
|
|
290
|
+
h("p", null, "Strong long-term investment returns and superior customer service"),
|
|
291
|
+
h("p", null, "Established super fund \u2013 anyone can join including KiwiSaver members")
|
|
292
|
+
],
|
|
293
|
+
disclaimer: (h("div", null,
|
|
294
|
+
h("p", null,
|
|
295
|
+
"You should consider the",
|
|
296
|
+
' ',
|
|
297
|
+
h(Link, { onClick: () => this.pdsViewedAsync(constants.First.Name), href: constants.First.PdsUrl }, "Product Disclosure Statement"),
|
|
298
|
+
' ',
|
|
299
|
+
"and",
|
|
300
|
+
' ',
|
|
301
|
+
h(Link, { href: "https://www.firstsuper.com.au/forms-tools/product-disclosure-statements/" }, "Target Market Determination"),
|
|
302
|
+
' ',
|
|
303
|
+
"before deciding to invest in or apply to become a member of the fund."),
|
|
304
|
+
h("br", null),
|
|
305
|
+
h("p", null, "Issued by First Super Pty Limited (ABN 42 053 498 472, AFSL 223988) as trustee of First Super (ABN 56 286 625 181).")))
|
|
280
306
|
}
|
|
281
307
|
];
|
|
282
308
|
}
|
|
@@ -297,7 +323,8 @@ export class SuperChoicePage {
|
|
|
297
323
|
fundUsi: constants.getFundUsiById(fund.fundId),
|
|
298
324
|
fundName: (_a = constants.getFundNameById(fund.fundId)) !== null && _a !== void 0 ? _a : '',
|
|
299
325
|
promotedFundId: fund.fundId,
|
|
300
|
-
promotedFundsShown
|
|
326
|
+
promotedFundsShown,
|
|
327
|
+
defaultFundUsiSet: O.toUndefined(SuperSelectionAppService.defaultFundUsi)
|
|
301
328
|
});
|
|
302
329
|
promotedFundState.fundId = fund.fundId;
|
|
303
330
|
return navigationService.navigateInternally(this.history, fund.route);
|