@flarehr/apollo-super-selection 3.57.62941 → 3.60.63971
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/apollo-super-selection/apollo-super-selection.css +1 -1
- package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +1 -1
- package/dist/lib/apollo-super-selection/p-0f723eb4.system.js +1 -1
- package/dist/lib/apollo-super-selection/p-23565ba5.entry.js +14 -0
- package/dist/lib/apollo-super-selection/p-5ec7c48e.system.entry.js +69 -0
- 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_28.cjs.entry.js → sss-button_30.cjs.entry.js} +240 -58
- package/dist/lib/collection/apollo-super-selection.css +1 -1
- package/dist/lib/collection/collection-manifest.json +6 -2
- package/dist/lib/collection/components/super-selection-app/api/super-selection.api.dto.js +12 -0
- package/dist/lib/collection/components/super-selection-app/funds/constants.js +26 -8
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.js +2 -2
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund-join-v1-page.js +30 -0
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund-join-v2-page.js +30 -0
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/{promoted-fund-join-iframe-builder.js → promoted-fund-join-v1-iframe-builder.js} +2 -2
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.js +117 -0
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-join-page.js +2 -6
- package/dist/lib/collection/components/super-selection-app/misc/iframe-host.js +32 -0
- package/dist/lib/collection/components/super-selection-app/services/feature-flag.service.js +7 -1
- package/dist/lib/collection/components/super-selection-app/services/super-selection-app.routes.js +4 -2
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +54 -41
- package/dist/lib/collection/components/super-selection-app/super-selection-app.js +2 -1
- package/dist/lib/esm/apollo-super-selection.js +1 -1
- package/dist/lib/esm/loader.js +1 -1
- package/dist/lib/esm/{sss-button_28.entry.js → sss-button_30.entry.js} +238 -58
- 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_28.entry.js → sss-button_30.entry.js} +6 -6
- package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +10 -0
- package/dist/lib/types/components/super-selection-app/funds/constants.d.ts +12 -0
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/{promoted-fund-join-page.d.ts → promoted-fund-join-v1-page.d.ts} +1 -3
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund-join-v2-page.d.ts +5 -0
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/services/{promoted-fund-join-iframe-builder.d.ts → promoted-fund-join-v1-iframe-builder.d.ts} +2 -2
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.d.ts +9 -0
- package/dist/lib/types/components/super-selection-app/funds/slate-super/slate-join-page.d.ts +0 -2
- package/dist/lib/types/components/super-selection-app/misc/iframe-host.d.ts +6 -0
- package/dist/lib/types/components/super-selection-app/services/super-selection-app.routes.d.ts +2 -1
- package/dist/lib/types/components.d.ts +39 -9
- package/package.json +1 -1
- package/dist/lib/apollo-super-selection/p-1354f0e3.entry.js +0 -14
- package/dist/lib/apollo-super-selection/p-ca41e101.system.entry.js +0 -69
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund-join-page.js +0 -34
|
@@ -18,5 +18,5 @@ const patchBrowser = () => {
|
|
|
18
18
|
|
|
19
19
|
patchBrowser().then(options => {
|
|
20
20
|
appGlobals.globalScripts();
|
|
21
|
-
return index.bootstrapLazy([["context-consumer.cjs",[[0,"context-consumer",{"context":[16],"renderer":[16],"subscribe":[16],"unsubscribe":[32]}]]],["stencil-async-content.cjs",[[0,"stencil-async-content",{"documentLocation":[1,"document-location"],"content":[32]}]]],["stencil-route-title.cjs",[[0,"stencil-route-title",{"titleSuffix":[1,"title-suffix"],"pageTitle":[1,"page-title"]}]]],["stencil-router-prompt.cjs",[[0,"stencil-router-prompt",{"when":[4],"message":[1],"history":[16],"unblock":[32]}]]],["stencil-router-redirect.cjs",[[0,"stencil-router-redirect",{"history":[16],"root":[1],"url":[1]}]]],["sss-
|
|
21
|
+
return index.bootstrapLazy([["context-consumer.cjs",[[0,"context-consumer",{"context":[16],"renderer":[16],"subscribe":[16],"unsubscribe":[32]}]]],["stencil-async-content.cjs",[[0,"stencil-async-content",{"documentLocation":[1,"document-location"],"content":[32]}]]],["stencil-route-title.cjs",[[0,"stencil-route-title",{"titleSuffix":[1,"title-suffix"],"pageTitle":[1,"page-title"]}]]],["stencil-router-prompt.cjs",[[0,"stencil-router-prompt",{"when":[4],"message":[1],"history":[16],"unblock":[32]}]]],["stencil-router-redirect.cjs",[[0,"stencil-router-redirect",{"history":[16],"root":[1],"url":[1]}]]],["sss-button_30.cjs",[[0,"sss-my-own-fund",{"history":[16],"formState":[32],"isNotAllInformationProvidedMessageVisible":[32],"isSubmitDisabled":[32]}],[0,"sss-self-managed-fund",{"history":[16],"formState":[32],"showSmsfNotSupported":[32],"isSubmitDisabled":[32]}],[0,"sss-super-choice-page",{"history":[16],"promotedFunds":[32]}],[1,"super-selection-app-host",{"sessionState":[32],"jwt":[32],"appConfiguration":[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",{"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-smsf-not-supported-dialog"],[0,"sss-super-choice-item-bottom",{"disclaimer":[16],"abnInfo":[1,"abn-info"],"abn":[1]}],[0,"sss-loading-page"],[0,"sss-self-managed-fund-inputs",{"fundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"currentBank":[32],"addressErrorMessage":[32]}],[0,"sss-super-choice-item-top",{"name":[1],"logo":[1],"features":[1],"featureSubText":[1,"feature-sub-text"]}],[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"]}],[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],"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"]}]]]], options);
|
|
22
22
|
});
|
|
@@ -17,7 +17,7 @@ const defineCustomElements = (win, options) => {
|
|
|
17
17
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
18
18
|
return patchEsm().then(() => {
|
|
19
19
|
appGlobals.globalScripts();
|
|
20
|
-
return index.bootstrapLazy([["context-consumer.cjs",[[0,"context-consumer",{"context":[16],"renderer":[16],"subscribe":[16],"unsubscribe":[32]}]]],["stencil-async-content.cjs",[[0,"stencil-async-content",{"documentLocation":[1,"document-location"],"content":[32]}]]],["stencil-route-title.cjs",[[0,"stencil-route-title",{"titleSuffix":[1,"title-suffix"],"pageTitle":[1,"page-title"]}]]],["stencil-router-prompt.cjs",[[0,"stencil-router-prompt",{"when":[4],"message":[1],"history":[16],"unblock":[32]}]]],["stencil-router-redirect.cjs",[[0,"stencil-router-redirect",{"history":[16],"root":[1],"url":[1]}]]],["sss-
|
|
20
|
+
return index.bootstrapLazy([["context-consumer.cjs",[[0,"context-consumer",{"context":[16],"renderer":[16],"subscribe":[16],"unsubscribe":[32]}]]],["stencil-async-content.cjs",[[0,"stencil-async-content",{"documentLocation":[1,"document-location"],"content":[32]}]]],["stencil-route-title.cjs",[[0,"stencil-route-title",{"titleSuffix":[1,"title-suffix"],"pageTitle":[1,"page-title"]}]]],["stencil-router-prompt.cjs",[[0,"stencil-router-prompt",{"when":[4],"message":[1],"history":[16],"unblock":[32]}]]],["stencil-router-redirect.cjs",[[0,"stencil-router-redirect",{"history":[16],"root":[1],"url":[1]}]]],["sss-button_30.cjs",[[0,"sss-my-own-fund",{"history":[16],"formState":[32],"isNotAllInformationProvidedMessageVisible":[32],"isSubmitDisabled":[32]}],[0,"sss-self-managed-fund",{"history":[16],"formState":[32],"showSmsfNotSupported":[32],"isSubmitDisabled":[32]}],[0,"sss-super-choice-page",{"history":[16],"promotedFunds":[32]}],[1,"super-selection-app-host",{"sessionState":[32],"jwt":[32],"appConfiguration":[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",{"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-smsf-not-supported-dialog"],[0,"sss-super-choice-item-bottom",{"disclaimer":[16],"abnInfo":[1,"abn-info"],"abn":[1]}],[0,"sss-loading-page"],[0,"sss-self-managed-fund-inputs",{"fundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"currentBank":[32],"addressErrorMessage":[32]}],[0,"sss-super-choice-item-top",{"name":[1],"logo":[1],"features":[1],"featureSubText":[1,"feature-sub-text"]}],[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"]}],[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],"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"]}]]]], options);
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
|
|
@@ -264,7 +264,7 @@ class TapSubscriber extends datoramaAkita.Subscriber {
|
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
-
const AppVersion = '3.
|
|
267
|
+
const AppVersion = '3.60.63971';
|
|
268
268
|
|
|
269
269
|
// -------------------------------------------------------------------------------------
|
|
270
270
|
// guards
|
|
@@ -3559,7 +3559,8 @@ var SuperSelectionAppRoutes;
|
|
|
3559
3559
|
SuperSelectionAppRoutes["ExistingChoicePage"] = "/existing";
|
|
3560
3560
|
SuperSelectionAppRoutes["ChoicePage"] = "/";
|
|
3561
3561
|
SuperSelectionAppRoutes["SlateJoin"] = "/slate/join/";
|
|
3562
|
-
SuperSelectionAppRoutes["
|
|
3562
|
+
SuperSelectionAppRoutes["PromotedFundJoinV1"] = "/promoted-fund/join/v1";
|
|
3563
|
+
SuperSelectionAppRoutes["PromotedFundJoinV2"] = "/promoted-fund/join/v2";
|
|
3563
3564
|
SuperSelectionAppRoutes["MyOwnFund"] = "/super-choice/my-own-fund/";
|
|
3564
3565
|
SuperSelectionAppRoutes["SelfManagedFund"] = "/super-choice/smsf/";
|
|
3565
3566
|
SuperSelectionAppRoutes["DefaultFund"] = "/super-choice/default/";
|
|
@@ -3571,7 +3572,8 @@ const superSelectionAppStencilRoutes = [
|
|
|
3571
3572
|
index.h("stencil-route", { url: SuperSelectionAppRoutes.ExistingChoicePage, component: "sss-existing-choice-page" }),
|
|
3572
3573
|
index.h("stencil-route", { exact: true, url: SuperSelectionAppRoutes.ChoicePage, component: "sss-super-choice-page" }),
|
|
3573
3574
|
index.h("stencil-route", { url: SuperSelectionAppRoutes.SlateJoin, component: "sss-slate-join-page" }),
|
|
3574
|
-
index.h("stencil-route", { url: SuperSelectionAppRoutes.
|
|
3575
|
+
index.h("stencil-route", { url: SuperSelectionAppRoutes.PromotedFundJoinV1, component: "sss-promoted-fund-join-v1-page" }),
|
|
3576
|
+
index.h("stencil-route", { url: SuperSelectionAppRoutes.PromotedFundJoinV2, component: "sss-promoted-fund-join-v2-page" }),
|
|
3575
3577
|
index.h("stencil-route", { url: SuperSelectionAppRoutes.MyOwnFund, component: "sss-my-own-fund" }),
|
|
3576
3578
|
index.h("stencil-route", { url: SuperSelectionAppRoutes.SelfManagedFund, component: "sss-self-managed-fund" }),
|
|
3577
3579
|
index.h("stencil-route", { url: SuperSelectionAppRoutes.DefaultFund, component: "sss-default-fund" }),
|
|
@@ -3994,11 +3996,25 @@ const Active = {
|
|
|
3994
3996
|
PdsUrl: 'https://www.activesuper.com.au/pds',
|
|
3995
3997
|
Abn: '28 901 371 321'
|
|
3996
3998
|
};
|
|
3999
|
+
const AustralianEthical = {
|
|
4000
|
+
Id: 'australian-ethical',
|
|
4001
|
+
Name: 'Australian Ethical',
|
|
4002
|
+
PdsUrl: 'https://www.australianethical.com.au/TODO',
|
|
4003
|
+
Abn: '47 003 188 930'
|
|
4004
|
+
};
|
|
4005
|
+
const Virgin = {
|
|
4006
|
+
Id: 'virgin',
|
|
4007
|
+
Name: 'Virgin Money Super',
|
|
4008
|
+
PdsUrl: 'https://virginmoney.com.au/superannuation/TODO',
|
|
4009
|
+
Abn: '19 905 422 981'
|
|
4010
|
+
};
|
|
3997
4011
|
const PromotedFundIdList = [
|
|
3998
4012
|
{ dtoPropName: 'slate', id: Slate.Id },
|
|
3999
4013
|
{ dtoPropName: 'australianRetirementTrust', id: AustralianRetirementTrust.Id },
|
|
4000
4014
|
{ dtoPropName: 'aware', id: Aware.Id },
|
|
4001
|
-
{ dtoPropName: 'active', id: Active.Id }
|
|
4015
|
+
{ dtoPropName: 'active', id: Active.Id },
|
|
4016
|
+
{ dtoPropName: 'australianEthical', id: AustralianEthical.Id },
|
|
4017
|
+
{ dtoPropName: 'virgin', id: Virgin.Id }
|
|
4002
4018
|
];
|
|
4003
4019
|
const getFundNameById = (id) => {
|
|
4004
4020
|
switch (id) {
|
|
@@ -4010,10 +4026,22 @@ const getFundNameById = (id) => {
|
|
|
4010
4026
|
return Aware.Name;
|
|
4011
4027
|
case Active.Id:
|
|
4012
4028
|
return Active.Name;
|
|
4029
|
+
case AustralianEthical.Id:
|
|
4030
|
+
return AustralianEthical.Name;
|
|
4031
|
+
case Virgin.Id:
|
|
4032
|
+
return Virgin.Name;
|
|
4013
4033
|
default:
|
|
4014
4034
|
return;
|
|
4015
4035
|
}
|
|
4016
4036
|
};
|
|
4037
|
+
const getFundUsiById = (id) => {
|
|
4038
|
+
switch (id) {
|
|
4039
|
+
case Slate.Id:
|
|
4040
|
+
return Slate.Usi;
|
|
4041
|
+
default:
|
|
4042
|
+
return; // other promoted funds have dynamic USI
|
|
4043
|
+
}
|
|
4044
|
+
};
|
|
4017
4045
|
const getLogoSrc = (id) => {
|
|
4018
4046
|
let logo = '';
|
|
4019
4047
|
switch (id) {
|
|
@@ -4029,6 +4057,12 @@ const getLogoSrc = (id) => {
|
|
|
4029
4057
|
case Active.Id:
|
|
4030
4058
|
logo = 'logo-active.svg';
|
|
4031
4059
|
break;
|
|
4060
|
+
case AustralianEthical.Id:
|
|
4061
|
+
logo = 'logo-slate.png';
|
|
4062
|
+
break;
|
|
4063
|
+
case Virgin.Id:
|
|
4064
|
+
logo = 'logo-slate.png';
|
|
4065
|
+
break;
|
|
4032
4066
|
default:
|
|
4033
4067
|
return;
|
|
4034
4068
|
}
|
|
@@ -4049,6 +4083,12 @@ function getPromotedFundUsi(dto) {
|
|
|
4049
4083
|
else if ('active' in dto) {
|
|
4050
4084
|
return some(dto.active.usi);
|
|
4051
4085
|
}
|
|
4086
|
+
else if ('australianEthical' in dto) {
|
|
4087
|
+
return some(dto.australianEthical.usi);
|
|
4088
|
+
}
|
|
4089
|
+
else if ('virgin' in dto) {
|
|
4090
|
+
return some(dto.virgin.usi);
|
|
4091
|
+
}
|
|
4052
4092
|
else {
|
|
4053
4093
|
return none;
|
|
4054
4094
|
}
|
|
@@ -4083,6 +4123,12 @@ function getPromotedFundMemberNumber(dto) {
|
|
|
4083
4123
|
else if ('active' in dto) {
|
|
4084
4124
|
return some(dto.active.memberNumber);
|
|
4085
4125
|
}
|
|
4126
|
+
else if ('australianEthical' in dto) {
|
|
4127
|
+
return some(dto.australianEthical.memberNumber);
|
|
4128
|
+
}
|
|
4129
|
+
else if ('virgin' in dto) {
|
|
4130
|
+
return some(dto.virgin.memberNumber);
|
|
4131
|
+
}
|
|
4086
4132
|
else {
|
|
4087
4133
|
return none;
|
|
4088
4134
|
}
|
|
@@ -4192,7 +4238,13 @@ class FeatureFlagService {
|
|
|
4192
4238
|
const whitelistedPartners = [
|
|
4193
4239
|
'PARTNER-TEST-FLARE',
|
|
4194
4240
|
'962e142f-df98-460e-92ed-2c4e24149c91',
|
|
4195
|
-
'8ad88c67-d446-4c30-8321-f896e1b7643b'
|
|
4241
|
+
'8ad88c67-d446-4c30-8321-f896e1b7643b',
|
|
4242
|
+
'd1bfe1c5-0cf4-46e3-9ecb-69a0aec86256',
|
|
4243
|
+
'973c7953-a607-48b6-9bf9-9266ffd9c25c',
|
|
4244
|
+
'cf602138-c843-4c4a-a407-635ba0bf9612',
|
|
4245
|
+
'4257a264-863e-4e03-8b07-b9c0328c0557',
|
|
4246
|
+
'df9b837f-7f38-41ff-9073-9265106eb231',
|
|
4247
|
+
'd6855e49-0412-4600-9b66-c61f0dfc25df',
|
|
4196
4248
|
];
|
|
4197
4249
|
return whitelistedPartners.includes(superSelectionAppService.partnerIdOrDefault);
|
|
4198
4250
|
}
|
|
@@ -4303,6 +4355,18 @@ const HeaderSection = class {
|
|
|
4303
4355
|
}
|
|
4304
4356
|
};
|
|
4305
4357
|
|
|
4358
|
+
const IFrameHost = class {
|
|
4359
|
+
constructor(hostRef) {
|
|
4360
|
+
index.registerInstance(this, hostRef);
|
|
4361
|
+
}
|
|
4362
|
+
componentDidLoad() {
|
|
4363
|
+
this.build(this.iframeElement);
|
|
4364
|
+
}
|
|
4365
|
+
render() {
|
|
4366
|
+
return (index.h("div", { class: "w-screen" }, index.h("iframe", { width: "100%", height: window.innerHeight, style: { border: 'none' }, ref: (el) => (this.iframeElement = el) })));
|
|
4367
|
+
}
|
|
4368
|
+
};
|
|
4369
|
+
|
|
4306
4370
|
const LoadingIndicator = class {
|
|
4307
4371
|
constructor(hostRef) {
|
|
4308
4372
|
index.registerInstance(this, hostRef);
|
|
@@ -4427,7 +4491,7 @@ const initial$1 = {
|
|
|
4427
4491
|
};
|
|
4428
4492
|
const { state: state$2 } = createStore(initial$1);
|
|
4429
4493
|
|
|
4430
|
-
class
|
|
4494
|
+
class PromotedFundJoinV1IFrameBuilder {
|
|
4431
4495
|
constructor() {
|
|
4432
4496
|
this.hostIsLocalSuperSelection = () => window.location.origin === 'http://localhost:7100';
|
|
4433
4497
|
this.environmentDiscriminator = () => {
|
|
@@ -4528,17 +4592,132 @@ class PromotedFundJoinIFrameBuilder {
|
|
|
4528
4592
|
};
|
|
4529
4593
|
}
|
|
4530
4594
|
}
|
|
4531
|
-
const
|
|
4595
|
+
const PromotedFundJoinV1IFrameBuilder$1 = new PromotedFundJoinV1IFrameBuilder();
|
|
4532
4596
|
|
|
4533
|
-
const
|
|
4597
|
+
const PromotedFundJoinV1Page = class {
|
|
4534
4598
|
constructor(hostRef) {
|
|
4535
4599
|
index.registerInstance(this, hostRef);
|
|
4536
4600
|
}
|
|
4537
|
-
|
|
4538
|
-
|
|
4601
|
+
render() {
|
|
4602
|
+
return (index.h("sss-iframe-host", { build: (iframe) => PromotedFundJoinV1IFrameBuilder$1.build(iframe, this.history) }));
|
|
4603
|
+
}
|
|
4604
|
+
};
|
|
4605
|
+
|
|
4606
|
+
class PromotedFundJoinV2IFrameBuilder {
|
|
4607
|
+
constructor() {
|
|
4608
|
+
this.environmentDiscriminator = () => {
|
|
4609
|
+
const discriminator = window.location.hostname.toLowerCase().split('.')[0];
|
|
4610
|
+
switch (discriminator) {
|
|
4611
|
+
case 'autodev-partner':
|
|
4612
|
+
case 'test-partner':
|
|
4613
|
+
case 'partner':
|
|
4614
|
+
case 'sandbox-partner':
|
|
4615
|
+
return discriminator.replace('partner', '');
|
|
4616
|
+
default:
|
|
4617
|
+
return 'autodev-';
|
|
4618
|
+
}
|
|
4619
|
+
};
|
|
4620
|
+
this.promotedFundJoinAppUrl = () => {
|
|
4621
|
+
return `https://${this.environmentDiscriminator()}api.simplefinancialchoices.com/promoted-funds/embed`;
|
|
4622
|
+
};
|
|
4623
|
+
}
|
|
4624
|
+
build(iframe$1, history) {
|
|
4625
|
+
if (!(iframe$1 === null || iframe$1 === void 0 ? void 0 : iframe$1.contentDocument))
|
|
4626
|
+
return;
|
|
4627
|
+
const postData = Object.assign(Object.assign({}, this.getMemberData()), { partnerId: superSelectionAppService.partnerIdOrDefault, accountId: superSelectionAppService.accountIdOrDefault, fundId: state$2.fundId, authToken: superSelectionAppService.jwt });
|
|
4628
|
+
const handleMessage = (event) => {
|
|
4629
|
+
var _a;
|
|
4630
|
+
const { data } = event;
|
|
4631
|
+
if (!data) {
|
|
4632
|
+
return;
|
|
4633
|
+
}
|
|
4634
|
+
if (data.sender === 'promoted-fund-redirect') {
|
|
4635
|
+
window.removeEventListener('message', handleMessage);
|
|
4636
|
+
switch (data.type) {
|
|
4637
|
+
case 'cancel':
|
|
4638
|
+
navigationService.navigateInternally(history, SuperSelectionAppRoutes.ChoicePage);
|
|
4639
|
+
break;
|
|
4640
|
+
case 'success':
|
|
4641
|
+
if (data.memberNumber) {
|
|
4642
|
+
navigationService.navigateInternallyToStandardChoice({
|
|
4643
|
+
history,
|
|
4644
|
+
fundName: (_a = getFundNameById(state$2.fundId)) !== null && _a !== void 0 ? _a : '',
|
|
4645
|
+
handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync(Object.assign(Object.assign({}, state$2), { memberNumber: data.memberNumber, usi: data.usi.replace(/ /g, ''), standardChoiceFormSignature, shownFunds: superSelectionAppService.promotedFunds })),
|
|
4646
|
+
promotedFundId: state$2.fundId
|
|
4647
|
+
});
|
|
4648
|
+
break;
|
|
4649
|
+
}
|
|
4650
|
+
/* falls through */
|
|
4651
|
+
default:
|
|
4652
|
+
navigationService.navigateInternally(history, SuperSelectionAppRoutes.ChoicePage);
|
|
4653
|
+
break;
|
|
4654
|
+
}
|
|
4655
|
+
return;
|
|
4656
|
+
}
|
|
4657
|
+
if (data.sender === 'promoted-fund-join') {
|
|
4658
|
+
switch (data.type) {
|
|
4659
|
+
case 'contentResized':
|
|
4660
|
+
iframe$1.height = data.height > 0 ? data.height : iframe$1.height;
|
|
4661
|
+
iframe$1.width = data.width > 0 ? data.width : iframe$1.width;
|
|
4662
|
+
break;
|
|
4663
|
+
case 'pageNavigated':
|
|
4664
|
+
window.scroll(iframe$1.offsetLeft, iframe$1.offsetTop);
|
|
4665
|
+
iframe.navigation(window.location.href);
|
|
4666
|
+
break;
|
|
4667
|
+
}
|
|
4668
|
+
}
|
|
4669
|
+
};
|
|
4670
|
+
window.addEventListener('message', handleMessage);
|
|
4671
|
+
const iframeDoc = iframe$1.contentDocument;
|
|
4672
|
+
iframeDoc.open();
|
|
4673
|
+
const form = iframeDoc.createElement('form');
|
|
4674
|
+
form.method = 'POST';
|
|
4675
|
+
form.target = '_self';
|
|
4676
|
+
form.action = this.promotedFundJoinAppUrl();
|
|
4677
|
+
let prop;
|
|
4678
|
+
for (prop in postData) {
|
|
4679
|
+
const value = postData[prop];
|
|
4680
|
+
if (value !== undefined) {
|
|
4681
|
+
const input = document.createElement('input');
|
|
4682
|
+
input.type = 'hidden';
|
|
4683
|
+
input.name = prop;
|
|
4684
|
+
input.value = value;
|
|
4685
|
+
form.append(input);
|
|
4686
|
+
}
|
|
4687
|
+
}
|
|
4688
|
+
iframeDoc.appendChild(form);
|
|
4689
|
+
iframeDoc.close();
|
|
4690
|
+
form.submit();
|
|
4691
|
+
}
|
|
4692
|
+
getMemberData() {
|
|
4693
|
+
var _a, _b;
|
|
4694
|
+
const superBuyer = superSelectionAppService.superBuyer;
|
|
4695
|
+
return {
|
|
4696
|
+
title: superBuyer.userProfile.title,
|
|
4697
|
+
firstName: superBuyer.userProfile.firstName,
|
|
4698
|
+
middleName: superBuyer.userProfile.middleName,
|
|
4699
|
+
lastName: superBuyer.userProfile.lastName,
|
|
4700
|
+
dateOfBirth: superBuyer.userProfile.dateOfBirth,
|
|
4701
|
+
gender: superBuyer.userProfile.gender,
|
|
4702
|
+
email: superBuyer.userProfile.email,
|
|
4703
|
+
mobilePhone: superBuyer.userProfile.mobilePhone,
|
|
4704
|
+
taxFileNumber: (_a = superBuyer.tfn) !== null && _a !== void 0 ? _a : '',
|
|
4705
|
+
addressLine1: superBuyer.userProfile.address.addressLine1,
|
|
4706
|
+
addressLine2: (_b = superBuyer.userProfile.address.addressLine2) !== null && _b !== void 0 ? _b : '',
|
|
4707
|
+
city: superBuyer.userProfile.address.city,
|
|
4708
|
+
state: superBuyer.userProfile.address.state,
|
|
4709
|
+
postCode: superBuyer.userProfile.address.postcode
|
|
4710
|
+
};
|
|
4711
|
+
}
|
|
4712
|
+
}
|
|
4713
|
+
const PromotedFundJoinV2IFrameBuilder$1 = new PromotedFundJoinV2IFrameBuilder();
|
|
4714
|
+
|
|
4715
|
+
const PromotedFundJoinV2Page = class {
|
|
4716
|
+
constructor(hostRef) {
|
|
4717
|
+
index.registerInstance(this, hostRef);
|
|
4539
4718
|
}
|
|
4540
4719
|
render() {
|
|
4541
|
-
return (index.h(
|
|
4720
|
+
return (index.h("sss-iframe-host", { build: (iframe) => PromotedFundJoinV2IFrameBuilder$1.build(iframe, this.history) }));
|
|
4542
4721
|
}
|
|
4543
4722
|
};
|
|
4544
4723
|
|
|
@@ -4752,10 +4931,10 @@ const SelfManagedFundInputs = class {
|
|
|
4752
4931
|
}, ref: (el) => (this.cityElement = el) }), index.h("div", { class: "flex -space-x-px" }, index.h("div", { class: "w-1/2 flex-1 min-w-0" }, index.h("input", { placeholder: "Postcode", type: "text", required: true, class: Object.assign(Object.assign({}, inputClass), { 'rounded-none rounded-bl-md shadow-none': true }), name: "postcode", minlength: "4", maxlength: "4", pattern: "[0-9]{4}", id: "postcode", value: state$1.selfManagedFundForm.postcode, onChange: (ev) => {
|
|
4753
4932
|
this.updateFormField('postcode', ev.target.value.trim());
|
|
4754
4933
|
this.updateAddressErrorMessage();
|
|
4755
|
-
}, ref: (el) => (this.postcodeElement = el) })), index.h("div", { class: "flex-1 min-w-0" }, index.h("select", { class: Object.assign(Object.assign({}, inputClass), { 'rounded-none rounded-br-md shadow-none': true, 'text-gray-500':
|
|
4934
|
+
}, ref: (el) => (this.postcodeElement = el) })), index.h("div", { class: "flex-1 min-w-0" }, index.h("select", { class: Object.assign(Object.assign({}, inputClass), { 'rounded-none rounded-br-md shadow-none': true, 'text-gray-500': this.fundForm.state !== undefined }), name: "state", required: true, id: "state", onChange: (ev) => {
|
|
4756
4935
|
this.updateFormField('state', ev.target.value.trim());
|
|
4757
4936
|
this.updateAddressErrorMessage();
|
|
4758
|
-
}, ref: (el) => (this.stateElement = el) }, index.h("option", { disabled: true, selected:
|
|
4937
|
+
}, ref: (el) => (this.stateElement = el) }, index.h("option", { disabled: true, selected: this.fundForm.state !== undefined, value: "" }, "State"), this.stateOptions.map((s) => (index.h("option", { value: s.value, selected: this.fundForm.state === s.value }, s.label))))))), isSome(this.addressErrorMessage) && this.showValidationErrors && (index.h("div", { class: "mt-2 text-sm text-red-600" }, this.addressErrorMessage.value))), index.h("h3", { class: "text-lg font-bold mt-6" }, "Fund bank details"), index.h("div", { class: "mt-3" }, index.h("label", { class: "text-sm font-medium text-gray-700" }, "Account name"), index.h("div", { class: "mt-1" }, index.h("input", { type: "text", required: true, class: inputClass, name: "bankAccountName", minlength: "2", id: "bankAccountName", value: state$1.selfManagedFundForm.bankAccountName, onChange: (ev) => this.updateFormField('bankAccountName', ev.target.value.trim()) }), index.h("div", { class: "invalid-feedback mt-2 text-sm text-red-600" }, "Enter a valid bank account name"))), index.h("div", { class: "mt-3" }, index.h("label", { class: "text-sm font-medium text-gray-700" }, "BSB"), index.h("div", { class: "mt-1" }, index.h("input", { type: "text", required: true, class: inputClass, name: "bsb", id: "bsb", minlength: "6", maxlength: "7", onKeyUp: (ev) => this.updateCurrentBank(ev), pattern: this.bsbRegex.source, value: state$1.selfManagedFundForm.bsb }), index.h("div", { class: "invalid-feedback mt-2 text-sm text-red-600" }, "Enter a valid BSB"))), isSome(this.currentBank) && (index.h("div", { class: "mt-3" }, index.h("label", { class: "text-sm font-medium text-gray-700" }, "Bank 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-sm" }, this.currentBank.value))), index.h("div", { class: "mt-3" }, index.h("label", { class: "text-sm font-medium text-gray-700" }, "Account number"), index.h("div", { class: "mt-1" }, index.h("input", { type: "text", required: true, class: inputClass, name: "bankAccountNumber", id: "bankAccountNumber", minlength: "2", maxlength: "11", pattern: this.bankAccountNumberRegex.source, value: state$1.selfManagedFundForm.bankAccountNumber, onKeyUp: (ev) => this.updateCurrentBankAccountNumber(ev), onChange: (ev) => this.updateFormField('bankAccountNumber', ev.target.value.trim()) }), index.h("div", { class: "invalid-feedback mt-2 text-sm text-red-600" }, "Enter a valid bank account number")))));
|
|
4759
4938
|
}
|
|
4760
4939
|
updateFormField(key, value) {
|
|
4761
4940
|
this.formChanged.emit({ [key]: value });
|
|
@@ -5003,11 +5182,8 @@ const SlateJoinPage = class {
|
|
|
5003
5182
|
constructor(hostRef) {
|
|
5004
5183
|
index.registerInstance(this, hostRef);
|
|
5005
5184
|
}
|
|
5006
|
-
componentDidLoad() {
|
|
5007
|
-
slateIFrameBuilder.build(this.iframeElement, this.history);
|
|
5008
|
-
}
|
|
5009
5185
|
render() {
|
|
5010
|
-
return
|
|
5186
|
+
return index.h("sss-iframe-host", { build: (iframe) => slateIFrameBuilder.build(iframe, this.history) });
|
|
5011
5187
|
}
|
|
5012
5188
|
};
|
|
5013
5189
|
|
|
@@ -5123,6 +5299,9 @@ const SuperChoicePage = class {
|
|
|
5123
5299
|
} }, index.h("sss-super-choice-item-bottom", { disclaimer: fund.disclaimer, abnInfo: fund.abnInfo, abn: fund.abn, onJoinFundClicked: async () => this.handleJoinSuperClickAsync(fund) })))))), index.h("div", { class: "flex justify-center mt-8 sm:mt-12" }, index.h("div", { class: "pb-8 sm:pb-12 max-w-720 border-b" }, index.h("h5", { class: "font-bold sm:text-lg" }, "Or, choose another super fund:"), index.h("ul", { class: "list-disc list-outside ml-6 mt-3 mb-6 space-y-2 leading-6 text-sm sm:text-base" }, index.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."), index.h("li", null, "If you are unsure of your current super fund details, you can find out at", ' ', index.h("a", { class: "text-primary-base font-medium", target: "_blank", href: navigationService.toExternalUrl(mygovLink) }, mygovLinkDisplay)), index.h("li", null, "A full list of super funds can be viewed at", ' ', index.h("a", { class: "text-primary-base font-medium", target: "_blank", href: navigationService.toExternalUrl(superfundsLink) }, superfundsLinkDisplay))), index.h("stencil-route-link", { url: SuperSelectionAppRoutes.MyOwnFund }, index.h("sss-button", { fillWidthOnMobile: true }, "Choose another super fund")))), FeatureFlagService.isNewComplianceEnabled() && (index.h("div", { class: "flex justify-center" }, index.h("div", { class: "pt-8 sm:pt-12 max-w-720" }, index.h("h5", { class: "font-semibold" }, "IMPORTANT INFORMATION:"), index.h("ul", { class: "list-disc list-outside ml-6 mt-3 space-y-2 text-sm leading-6" }, index.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."), index.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."), index.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."), index.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."), index.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)."))))))));
|
|
5124
5300
|
}
|
|
5125
5301
|
allFunds() {
|
|
5302
|
+
const Link = (props, children) => {
|
|
5303
|
+
return (index.h("a", { class: "font-medium underline", target: "_blank", href: navigationService.toExternalUrl(props.href), onClick: props.onClick }, children));
|
|
5304
|
+
};
|
|
5126
5305
|
return [
|
|
5127
5306
|
{
|
|
5128
5307
|
fundId: Slate.Id,
|
|
@@ -5134,7 +5313,7 @@ const SuperChoicePage = class {
|
|
|
5134
5313
|
{ order: 2, value: 'Advanced mobile app with retirement forecast and smart features' },
|
|
5135
5314
|
{ order: 3, value: 'Member advocates at Slate to assist with your account' }
|
|
5136
5315
|
],
|
|
5137
|
-
disclaimer: (index.h("p", { class: "small text-muted" }, "You should consider the", ' ', index.h(
|
|
5316
|
+
disclaimer: (index.h("p", { class: "small text-muted" }, "You should consider the", ' ', index.h(Link, { href: Slate.PdsUrl, onClick: () => this.pdsViewedAsync(Slate.Name, Slate.Usi) }, "Product Disclosure Statement"), ' ', "and", ' ', index.h(Link, { href: "https://slate.co/forms-and-documents/target-market-determination/" }, "Target Market Determination"), ' ', "before deciding to invest in or apply to become a member of the fund.")),
|
|
5138
5317
|
abnInfo: `Diversa Trustees Limited`,
|
|
5139
5318
|
abn: Slate.DiversaAbn
|
|
5140
5319
|
},
|
|
@@ -5142,14 +5321,14 @@ const SuperChoicePage = class {
|
|
|
5142
5321
|
fundId: AustralianRetirementTrust.Id,
|
|
5143
5322
|
name: AustralianRetirementTrust.Name,
|
|
5144
5323
|
logo: 'logo-art.svg',
|
|
5145
|
-
route: SuperSelectionAppRoutes.
|
|
5324
|
+
route: SuperSelectionAppRoutes.PromotedFundJoinV1,
|
|
5146
5325
|
features: [
|
|
5147
5326
|
{ order: 1, value: '$200 billion in retirement savings' },
|
|
5148
5327
|
{ order: 2, value: '2+ million members' },
|
|
5149
5328
|
{ order: 3, value: 'A focus on delivering strong, long‑term returns' }
|
|
5150
5329
|
],
|
|
5151
5330
|
featureSubText: 'QSuper is now part of Australian Retirement Trust. If you have an existing QSuper account, you will continue to hold that account by selecting this option.',
|
|
5152
|
-
disclaimer: (index.h("p", null, "You should consider the", ' ', index.h(
|
|
5331
|
+
disclaimer: (index.h("p", null, "You should consider the", ' ', index.h(Link, { href: AustralianRetirementTrust.PdsUrl, onClick: () => this.pdsViewedAsync(AustralianRetirementTrust.Name) }, "Product Disclosure Statement"), ' ', "and", ' ', index.h(Link, { href: "https://www.australianretirementtrust.com.au/tmd" }, "Target Market Determination"), ' ', "before deciding to invest in or apply to become a member of this fund.")),
|
|
5153
5332
|
abnInfo: `Australian Retirement Trust`,
|
|
5154
5333
|
abn: AustralianRetirementTrust.Abn
|
|
5155
5334
|
},
|
|
@@ -5157,13 +5336,13 @@ const SuperChoicePage = class {
|
|
|
5157
5336
|
fundId: Aware.Id,
|
|
5158
5337
|
name: Aware.Name,
|
|
5159
5338
|
logo: 'logo-aware.svg',
|
|
5160
|
-
route: SuperSelectionAppRoutes.
|
|
5339
|
+
route: SuperSelectionAppRoutes.PromotedFundJoinV1,
|
|
5161
5340
|
features: [
|
|
5162
5341
|
{ order: 1, value: 'Acting on climate change' },
|
|
5163
5342
|
{ order: 2, value: 'All profits go to members' },
|
|
5164
5343
|
{ order: 3, value: 'One of Australia’s largest funds' }
|
|
5165
5344
|
],
|
|
5166
|
-
disclaimer: (index.h("p", null, "You should consider the", ' ', index.h(
|
|
5345
|
+
disclaimer: (index.h("p", null, "You should consider the", ' ', index.h(Link, { href: Aware.PdsUrl, onClick: () => this.pdsViewedAsync(Aware.Name) }, "Product Disclosure Statement"), ' ', "before deciding to invest in or apply to become a member of this fund.")),
|
|
5167
5346
|
abnInfo: `Aware Super Pty Ltd`,
|
|
5168
5347
|
abn: Aware.Abn
|
|
5169
5348
|
},
|
|
@@ -5171,14 +5350,38 @@ const SuperChoicePage = class {
|
|
|
5171
5350
|
fundId: Active.Id,
|
|
5172
5351
|
name: Active.Name,
|
|
5173
5352
|
logo: 'logo-active.svg',
|
|
5174
|
-
route: SuperSelectionAppRoutes.
|
|
5353
|
+
route: SuperSelectionAppRoutes.PromotedFundJoinV1,
|
|
5175
5354
|
features: [
|
|
5176
5355
|
{ order: 1, value: "One of Canstar's top-performing funds*" },
|
|
5177
5356
|
{ order: 2, value: 'Recognised as a leader in responsible investment' },
|
|
5178
5357
|
{ order: 3, value: 'Calls answered in 20 seconds (average over 5 years)' }
|
|
5179
5358
|
],
|
|
5180
5359
|
featureSubText: '*Past performance is not a reliable indicator of future performance. As at 22 April 2022, Active Super is ranked among Canstar’s top five funds for 18-49 year-olds with a balance up to $250,000 based on returns over 5 years in the Accumulation Scheme.',
|
|
5181
|
-
disclaimer: (index.h("p", null, "Issued by LGSS Pty Limited as trustee for Local Government Super (Active Super ABN:28 901 371 321). Consider the PDS and TMD at", ' ', index.h(
|
|
5360
|
+
disclaimer: (index.h("p", null, "Issued by LGSS Pty Limited as trustee for Local Government Super (Active Super ABN:28 901 371 321). Consider the PDS and TMD at", ' ', index.h(Link, { onClick: () => this.pdsViewedAsync(Active.Name), href: Active.PdsUrl }, "activesuper.com.au"), ' ', "before making a decision."))
|
|
5361
|
+
},
|
|
5362
|
+
{
|
|
5363
|
+
fundId: AustralianEthical.Id,
|
|
5364
|
+
name: AustralianEthical.Name,
|
|
5365
|
+
logo: 'logo-slate.png',
|
|
5366
|
+
route: SuperSelectionAppRoutes.PromotedFundJoinV2,
|
|
5367
|
+
features: [
|
|
5368
|
+
{ order: 1, value: 'TODO #1' },
|
|
5369
|
+
{ order: 2, value: 'TODO #2' },
|
|
5370
|
+
{ order: 3, value: 'TODO #3' }
|
|
5371
|
+
],
|
|
5372
|
+
disclaimer: (index.h("p", null, "You should consider the", ' ', index.h(Link, { href: AustralianEthical.PdsUrl, onClick: () => this.pdsViewedAsync(AustralianEthical.Name) }, "Product Disclosure Statement"), ' ', "before deciding to invest in or apply to become a member of this fund."))
|
|
5373
|
+
},
|
|
5374
|
+
{
|
|
5375
|
+
fundId: Virgin.Id,
|
|
5376
|
+
name: Virgin.Name,
|
|
5377
|
+
logo: 'logo-slate.png',
|
|
5378
|
+
route: SuperSelectionAppRoutes.PromotedFundJoinV2,
|
|
5379
|
+
features: [
|
|
5380
|
+
{ order: 1, value: 'TODO #1' },
|
|
5381
|
+
{ order: 2, value: 'TODO #2' },
|
|
5382
|
+
{ order: 3, value: 'TODO #3' }
|
|
5383
|
+
],
|
|
5384
|
+
disclaimer: (index.h("p", null, "You should consider the", ' ', index.h(Link, { href: Virgin.PdsUrl, onClick: () => this.pdsViewedAsync(Virgin.Name) }, "Product Disclosure Statement"), ' ', "before deciding to invest in or apply to become a member of this fund."))
|
|
5182
5385
|
}
|
|
5183
5386
|
];
|
|
5184
5387
|
}
|
|
@@ -5193,39 +5396,15 @@ const SuperChoicePage = class {
|
|
|
5193
5396
|
return fundTiles;
|
|
5194
5397
|
}
|
|
5195
5398
|
async handleJoinSuperClickAsync(fund) {
|
|
5399
|
+
var _a;
|
|
5196
5400
|
const promotedFundsShown = superSelectionAppService.promotedFunds;
|
|
5197
|
-
|
|
5198
|
-
|
|
5199
|
-
|
|
5200
|
-
|
|
5201
|
-
|
|
5202
|
-
|
|
5203
|
-
|
|
5204
|
-
}
|
|
5205
|
-
else if (fund.fundId === AustralianRetirementTrust.Id) {
|
|
5206
|
-
await this.eventTrackingService.TrackPromotedSuperFundDetailViewedAsync({
|
|
5207
|
-
fundName: AustralianRetirementTrust.Name,
|
|
5208
|
-
promotedFundId: AustralianRetirementTrust.Id,
|
|
5209
|
-
promotedFundsShown
|
|
5210
|
-
});
|
|
5211
|
-
state$2.fundId = fund.fundId;
|
|
5212
|
-
}
|
|
5213
|
-
else if (fund.fundId === Aware.Id) {
|
|
5214
|
-
await this.eventTrackingService.TrackPromotedSuperFundDetailViewedAsync({
|
|
5215
|
-
fundName: Aware.Name,
|
|
5216
|
-
promotedFundId: Aware.Id,
|
|
5217
|
-
promotedFundsShown
|
|
5218
|
-
});
|
|
5219
|
-
state$2.fundId = fund.fundId;
|
|
5220
|
-
}
|
|
5221
|
-
else if (fund.fundId === Active.Id) {
|
|
5222
|
-
await this.eventTrackingService.TrackPromotedSuperFundDetailViewedAsync({
|
|
5223
|
-
fundName: Active.Name,
|
|
5224
|
-
promotedFundId: Active.Id,
|
|
5225
|
-
promotedFundsShown
|
|
5226
|
-
});
|
|
5227
|
-
state$2.fundId = fund.fundId;
|
|
5228
|
-
}
|
|
5401
|
+
await this.eventTrackingService.TrackPromotedSuperFundDetailViewedAsync({
|
|
5402
|
+
fundUsi: getFundUsiById(fund.fundId),
|
|
5403
|
+
fundName: (_a = getFundNameById(fund.fundId)) !== null && _a !== void 0 ? _a : '',
|
|
5404
|
+
promotedFundId: fund.fundId,
|
|
5405
|
+
promotedFundsShown
|
|
5406
|
+
});
|
|
5407
|
+
state$2.fundId = fund.fundId;
|
|
5229
5408
|
return navigationService.navigateInternally(this.history, fund.route);
|
|
5230
5409
|
}
|
|
5231
5410
|
pdsViewedAsync(name, usi) {
|
|
@@ -6249,7 +6428,8 @@ const SuperSelectionApp = class {
|
|
|
6249
6428
|
}
|
|
6250
6429
|
isFundJoinPage() {
|
|
6251
6430
|
return (window.location.pathname.includes(SuperSelectionAppRoutes.SlateJoin) ||
|
|
6252
|
-
window.location.pathname.includes(SuperSelectionAppRoutes.
|
|
6431
|
+
window.location.pathname.includes(SuperSelectionAppRoutes.PromotedFundJoinV1) ||
|
|
6432
|
+
window.location.pathname.includes(SuperSelectionAppRoutes.PromotedFundJoinV2));
|
|
6253
6433
|
}
|
|
6254
6434
|
static get assetsDirs() { return ["assets"]; }
|
|
6255
6435
|
static get watchers() { return {
|
|
@@ -16624,11 +16804,13 @@ exports.sss_dropdown_async = SelectInputAsync;
|
|
|
16624
16804
|
exports.sss_existing_choice_page = ExistingChoice;
|
|
16625
16805
|
exports.sss_footer_section = FooterSection;
|
|
16626
16806
|
exports.sss_header_section = HeaderSection;
|
|
16807
|
+
exports.sss_iframe_host = IFrameHost;
|
|
16627
16808
|
exports.sss_loading_indicator = LoadingIndicator;
|
|
16628
16809
|
exports.sss_loading_page = LoadingPage;
|
|
16629
16810
|
exports.sss_my_own_fund = MyOwnFund;
|
|
16630
16811
|
exports.sss_my_own_fund_inputs = MyOwnFundInputs;
|
|
16631
|
-
exports.
|
|
16812
|
+
exports.sss_promoted_fund_join_v1_page = PromotedFundJoinV1Page;
|
|
16813
|
+
exports.sss_promoted_fund_join_v2_page = PromotedFundJoinV2Page;
|
|
16632
16814
|
exports.sss_self_managed_fund = SelfManagedFund;
|
|
16633
16815
|
exports.sss_self_managed_fund_inputs = SelfManagedFundInputs;
|
|
16634
16816
|
exports.sss_slate_join_page = SlateJoinPage;
|