@flarehr/apollo-super-selection 4.41.36202 → 4.43.36878
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/{p-8b6b22f0.entry.js → p-2fff3609.entry.js} +1 -1
- package/dist/lib/apollo-super-selection/p-88073c59.system.entry.js +69 -0
- package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +1 -1
- package/dist/lib/cjs/sss-button_38.cjs.entry.js +21 -5
- package/dist/lib/collection/components/super-selection-app/consent/consent.js +7 -2
- package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +14 -2
- 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/super-choice-page.js +1 -1
- package/dist/lib/esm/sss-button_38.entry.js +21 -5
- package/dist/lib/esm-es5/sss-button_38.entry.js +1 -1
- package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +6 -3
- package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts +2 -0
- package/dist/lib/types/components/super-selection-app/services/super-selection.store.d.ts +1 -0
- package/package.json +1 -1
- package/dist/lib/apollo-super-selection/p-5ca1df0f.system.entry.js +0 -69
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-44bec843.system.js","./p-14885f78.system.js","./p-15f0e5eb.system.js"],(function(e,s){"use strict";var t,i,o;return{setters:[function(e){t=e.p;i=e.b},function(){},function(e){o=e.g}],execute:function(){var e=function(){var e=s.meta.url;var i={};if(e!==""){i.resourcesUrl=new URL(".",e).href}return t(i)};e().then((function(e){o();return i([["p-6ac8791e.system",[[0,"context-consumer",{context:[16],renderer:[16],subscribe:[16],unsubscribe:[32]}]]],["p-02f24922.system",[[0,"stencil-async-content",{documentLocation:[1,"document-location"],content:[32]}]]],["p-ef3afa00.system",[[0,"stencil-route-title",{titleSuffix:[1,"title-suffix"],pageTitle:[1,"page-title"]}]]],["p-f29066b9.system",[[0,"stencil-router-prompt",{when:[4],message:[1],history:[16],unblock:[32]}]]],["p-51aefdb1.system",[[0,"stencil-router-redirect",{history:[16],root:[1],url:[1]}]]],["p-
|
|
1
|
+
System.register(["./p-44bec843.system.js","./p-14885f78.system.js","./p-15f0e5eb.system.js"],(function(e,s){"use strict";var t,i,o;return{setters:[function(e){t=e.p;i=e.b},function(){},function(e){o=e.g}],execute:function(){var e=function(){var e=s.meta.url;var i={};if(e!==""){i.resourcesUrl=new URL(".",e).href}return t(i)};e().then((function(e){o();return i([["p-6ac8791e.system",[[0,"context-consumer",{context:[16],renderer:[16],subscribe:[16],unsubscribe:[32]}]]],["p-02f24922.system",[[0,"stencil-async-content",{documentLocation:[1,"document-location"],content:[32]}]]],["p-ef3afa00.system",[[0,"stencil-route-title",{titleSuffix:[1,"title-suffix"],pageTitle:[1,"page-title"]}]]],["p-f29066b9.system",[[0,"stencil-router-prompt",{when:[4],message:[1],history:[16],unblock:[32]}]]],["p-51aefdb1.system",[[0,"stencil-router-redirect",{history:[16],root:[1],url:[1]}]]],["p-88073c59.system",[[0,"sss-prefill",{history:[16],prefill:[32]}],[0,"sss-my-own-fund",{history:[16],formState:[32],isNotAllInformationProvidedMessageVisible:[32],isSubmitDisabled:[32]}],[0,"sss-self-managed-fund",{history:[16],formState:[32],isSubmitDisabled:[32]}],[0,"sss-super-choice-page",{history:[16],promotedFunds:[32],campaignConnectRequestInProgress:[32]}],[1,"super-selection-app-host",{sessionState:[32],jwt:[32],appConfiguration:[32],ignoreExistingSelection:[32]}],[0,"sss-default-fund",{history:[16],defaultFundProductName:[32]}],[0,"sss-consent-page",{history:[16]}],[0,"sss-existing-choice-page",{history:[16],existingFund:[32]}],[0,"sss-standard-choice-form",{history:[16],standardChoiceFormSignature:[32],formState:[32],isSubmitDisabled:[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"],[0,"sss-prefill-my-own-fund",{history:[16],prefill:[16],mode:[32],formState:[32],isSubmitDisabled:[32],fundUsi:[32],fundName:[32],memberNumber:[32],memberGivenNames:[32],memberLastName:[32]}],[0,"sss-prefill-smsf",{history:[16],prefill:[16],mode:[32],formState:[32],isSubmitDisabled:[32],fundName:[32],fundAbn:[32],fundEsa:[32],fundAddressLine1:[32],fundAddressLine2:[32],fundAddressCity:[32],fundAddressPostcode:[32],fundAddressState:[32],fundAddress:[32],memberGivenNames:[32],memberLastName:[32],bankAccountName:[32],bankName:[32],bankAccountBsb:[32],bankAccountNumber:[32]}],[0,"sss-prefill-invalid-my-own-fund",{history:[16],prefill:[16],fundUsi:[32],fundName:[32],memberNumber:[32],memberGivenNames:[32],memberLastName:[32]}],[0,"sss-prefill-invalid-smsf",{history:[16],prefill:[16],fundName:[32],fundAbn:[32],fundEsa:[32],fundAddressLine1:[32],fundAddressLine2:[32],fundAddressCity:[32],fundAddressPostcode:[32],fundAddressState:[32],fundAddress:[32],memberGivenNames:[32],memberLastName:[32],bankAccountName:[32],bankAccountBsb:[32],bankAccountNumber:[32]}],[1,"super-selection-app",{ignoreExistingSelection:[4,"ignore-existing-selection"],accessToken:[1,"access-token"],backendUrl:[1,"backend-url"],appBaseUrl:[1,"app-base-url"],history:[16],location:[16],isSelfHosted:[4,"is-self-hosted"],isAppInitialised:[32]}],[0,"sss-my-own-fund-inputs",{myOwnFundForm:[16],showValidationErrors:[4,"show-validation-errors"],selectedOption:[32]}],[0,"sss-self-managed-fund-inputs",{fundForm:[16],showValidationErrors:[4,"show-validation-errors"],isAbnValid:[32],isAbnTouched:[32],isAbnUsedForRegulated:[32],currentBank:[32],addressErrorMessage:[32]}],[0,"sss-super-choice-item-bottom",{disclaimer:[16],abnInfo:[1,"abn-info"],abn:[1],isMultiFund:[4,"is-multi-fund"]}],[0,"sss-loading-page"],[0,"sss-super-choice-item-top",{name:[1],logo:[1],features:[16],featureSubText:[16],isMultiFund:[4,"is-multi-fund"],isPromotedDefault:[4,"is-promoted-default"]}],[0,"sss-dropdown-async",{placeholder:[1],searchFunction:[16],value:[16],required:[4],requiredValidationMessage:[1,"required-validation-message"],disabled:[4],minSearchStringLength:[2,"min-search-string-length"],showValidationErrors:[4,"show-validation-errors"],searchState:[32],inputValue:[32],isDropdownVisible:[32],filteredOptions:[32],highlightedOptionIndex:[32],selectedOption:[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-footer-section",{textOverride:[16]}],[4,"stencil-route-switch",{group:[513],scrollTopOffset:[2,"scroll-top-offset"],location:[16],routeViewsUpdated:[16]}],[4,"stencil-router",{root:[1],historyType:[1,"history-type"],titleSuffix:[1,"title-suffix"],scrollTopOffset:[2,"scroll-top-offset"],location:[32],history:[32]}],[4,"sss-custom-fund",{history:[16],currentCustomFund:[32],fundOptionsList:[32],showFundOptionsSelection:[32]}],[0,"sss-iframe-host",{build:[16]}],[0,"sss-prefill-warning-box",{notificationList:[16]}],[0,"sss-header-section",{currentPage:[1,"current-page"]}],[0,"sss-name-input",{value:[1],name:[1],readableName:[1,"readable-name"],showValidationErrors:[4,"show-validation-errors"],errorMessage:[32]}],[0,"sss-prefill-display-field",{field:[16]}],[0,"sss-prefill-error-box",{withHeader:[4,"with-header"],notificationList:[16]}],[4,"stencil-route-link",{url:[1],urlMatch:[1,"url-match"],activeClass:[1,"active-class"],exact:[4],strict:[4],custom:[1],anchorClass:[1,"anchor-class"],anchorRole:[1,"anchor-role"],anchorTitle:[1,"anchor-title"],anchorTabIndex:[1,"anchor-tab-index"],anchorId:[1,"anchor-id"],history:[16],location:[16],root:[1],ariaHaspopup:[1,"aria-haspopup"],ariaPosinset:[1,"aria-posinset"],ariaSetsize:[2,"aria-setsize"],ariaLabel:[1,"aria-label"],match:[32]}],[4,"sss-button",{fillWidth:[4,"fill-width"],fillWidthOnMobile:[4,"fill-width-on-mobile"],disabled:[4],variant:[1],size:[1],promiseFn:[16],state:[32]}],[0,"sss-loading-indicator",{theme:[1],size:[2]}],[0,"stencil-route",{group:[513],componentUpdated:[16],match:[1040],url:[1],component:[1],componentProps:[16],exact:[4],routeRender:[16],scrollTopOffset:[2,"scroll-top-offset"],routeViewsUpdated:[16],location:[16],history:[16],historyType:[1,"history-type"]}]]]],e)}))}}}));
|
|
@@ -264,7 +264,7 @@ class TapSubscriber extends datoramaAkita.Subscriber {
|
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
-
const AppVersion = '4.
|
|
267
|
+
const AppVersion = '4.43.36878';
|
|
268
268
|
|
|
269
269
|
// -------------------------------------------------------------------------------------
|
|
270
270
|
// guards
|
|
@@ -3480,6 +3480,7 @@ const initialState = {
|
|
|
3480
3480
|
hasSuperSelectionBeenSubmitted: false,
|
|
3481
3481
|
campaignConnectEnabled: false,
|
|
3482
3482
|
campaignConnectPromise: Option.none,
|
|
3483
|
+
definedBenefitsEligibility: false,
|
|
3483
3484
|
campaignConnect: Option.none
|
|
3484
3485
|
};
|
|
3485
3486
|
|
|
@@ -3518,7 +3519,7 @@ class SuperSelectionAppService {
|
|
|
3518
3519
|
}
|
|
3519
3520
|
get promotedFunds() {
|
|
3520
3521
|
if (this._state.campaignConnectEnabled && Option.isSome(this._state.campaignConnect)) {
|
|
3521
|
-
return this._state.campaignConnect.value.promotedFunds;
|
|
3522
|
+
return this._state.campaignConnect.value.promotedFunds.map((v) => v.fundId);
|
|
3522
3523
|
}
|
|
3523
3524
|
if (Option.isNone(this._state.promotedFunds)) {
|
|
3524
3525
|
throw Error('Promoted Funds is not set');
|
|
@@ -3527,7 +3528,13 @@ class SuperSelectionAppService {
|
|
|
3527
3528
|
}
|
|
3528
3529
|
get promotedDefaultFundPosition() {
|
|
3529
3530
|
if (this._state.campaignConnectEnabled && Option.isSome(this._state.campaignConnect)) {
|
|
3530
|
-
|
|
3531
|
+
const index = this._state.campaignConnect.value.promotedFunds.findIndex((v) => (v.type = 'promoted-default'));
|
|
3532
|
+
if (index == -1) {
|
|
3533
|
+
return Option.fromNullable(null);
|
|
3534
|
+
}
|
|
3535
|
+
else {
|
|
3536
|
+
return Option.fromNullable(index + 1);
|
|
3537
|
+
}
|
|
3531
3538
|
}
|
|
3532
3539
|
return Option.none;
|
|
3533
3540
|
}
|
|
@@ -3571,6 +3578,9 @@ class SuperSelectionAppService {
|
|
|
3571
3578
|
markSuperSelectionAsSubmitted() {
|
|
3572
3579
|
this._state.hasSuperSelectionBeenSubmitted = true;
|
|
3573
3580
|
}
|
|
3581
|
+
get campaignConnectEnabled() {
|
|
3582
|
+
return this._state.campaignConnectEnabled;
|
|
3583
|
+
}
|
|
3574
3584
|
async loadAppStateAsync() {
|
|
3575
3585
|
const appStateResponse = await superSelectionApi.getAppStateAsync();
|
|
3576
3586
|
this._state.accountConfiguration = Option.fromNullable(appStateResponse.accountConfiguration);
|
|
@@ -3579,6 +3589,9 @@ class SuperSelectionAppService {
|
|
|
3579
3589
|
this._state.promotedFunds = Option.fromNullable(appStateResponse.promotedFunds);
|
|
3580
3590
|
this._state.campaignConnectEnabled = appStateResponse.campaignConnectEnabled;
|
|
3581
3591
|
this._state.superChoicePrefill = Option.fromNullable(appStateResponse.prefill);
|
|
3592
|
+
this._state.definedBenefitsEligibility = appStateResponse.definedBenefitsEligibility;
|
|
3593
|
+
}
|
|
3594
|
+
async startLoadingCampaignConnectAsync() {
|
|
3582
3595
|
if (this._state.campaignConnectEnabled) {
|
|
3583
3596
|
this._state.campaignConnectPromise = Option.fromNullable(superSelectionApi.getCampaignConnectAsync());
|
|
3584
3597
|
}
|
|
@@ -3867,10 +3880,13 @@ const Consent = class {
|
|
|
3867
3880
|
return this.eventTrackingService.TrackSuperFundDisclaimerViewedAsync({});
|
|
3868
3881
|
}
|
|
3869
3882
|
render() {
|
|
3870
|
-
return (index.h("div", null, index.h("div", { class: "text-2xl sm:text-3xl font-bold text-center leading-8" }, "Important information about super"), index.h("div", { class: "sm:text-lg text-gray-600 mt-3 sm:mt-4 max-w-800 text-center leading-7 sm:leading-8" }, "The choice of superannuation fund is an important personal financial decision. Next, you\u2019ll be asked to nominate a super fund to receive your employer contributions."), index.h("div", { class: "flex justify-center mt-8 sm:mt-12" }, index.h("div", { class: "border shadow-sm p-4 pb-6 sm:p-6 sm:pb-8 max-w-560 rounded-lg" }, index.h("div", { class: "sm:text-lg font-bold leading-6" }, "By clicking \u201CContinue\u201D you acknowledge that:"), index.h("ul", { class: "list-disc list-outside ml-6 mt-3 mb-6 space-y-2 text-sm leading-6" }, index.h("li", null, "Flare (we/us) provides this paperless employee management service, will feature superannuation funds and offer you employee benefits that you may be interested in;"), index.h("li", null, "all content contained in the following pages does not take into account any of your objectives, financial situation or needs and does not constitute financial product advice;"), index.h("li", null, "in featuring any superannuation funds, we, the technology partner you are accessing us via, or your employer, are not providing any opinion or recommendation (actual or implied) in relation to the suitability or appropriateness of the featured funds;"), index.h("li", null, "if you
|
|
3883
|
+
return (index.h("div", null, index.h("div", { class: "text-2xl sm:text-3xl font-bold text-center leading-8" }, "Important information about super"), index.h("div", { class: "sm:text-lg text-gray-600 mt-3 sm:mt-4 max-w-800 text-center leading-7 sm:leading-8" }, "The choice of superannuation fund is an important personal financial decision. Next, you\u2019ll be asked to nominate a super fund to receive your employer contributions."), index.h("div", { class: "flex justify-center mt-8 sm:mt-12" }, index.h("div", { class: "border shadow-sm p-4 pb-6 sm:p-6 sm:pb-8 max-w-560 rounded-lg" }, index.h("div", { class: "sm:text-lg font-bold leading-6" }, "By clicking \u201CContinue\u201D you acknowledge that:"), index.h("ul", { class: "list-disc list-outside ml-6 mt-3 mb-6 space-y-2 text-sm leading-6" }, index.h("li", null, "Flare (we/us) provides this paperless employee management service, will feature superannuation funds and offer you employee benefits that you may be interested in;"), index.h("li", null, "all content contained in the following pages does not take into account any of your objectives, financial situation or needs and does not constitute financial product advice;"), index.h("li", null, "in featuring any superannuation funds, we, the technology partner you are accessing us via, or your employer, are not providing any opinion or recommendation (actual or implied) in relation to the suitability or appropriateness of the featured funds;"), index.h("li", null, "Trustees of the featured superannuation funds pay fees to Flare and/or its associates. Some funds pay us a fee if you choose one of the featured funds, while others pay us to have their application form on our platform;"), index.h("li", null, "in the event that you choose one of the featured superannuation funds, we may pass on your personal information and TFN to a related party for the purpose of completing your chosen fund's application form."), index.h("li", null, "Your personal data that is provided to us will be subject to our", ' ', index.h(Link, { className: "font-medium text-blue-600 hover:text-blue-800", href: "https://www.flarehr.com/privacy-policy" }, "Privacy Policy"), ".")), index.h("sss-button", { fillWidth: true, promiseFn: () => this.handleSuperFundDisclaimerAccepted() }, "Continue")))));
|
|
3871
3884
|
}
|
|
3872
3885
|
async handleSuperFundDisclaimerAccepted() {
|
|
3873
3886
|
await this.eventTrackingService.TrackSuperFundDisclaimerAcceptedAsync({});
|
|
3887
|
+
if (superSelectionAppService.campaignConnectEnabled) {
|
|
3888
|
+
await superSelectionAppService.startLoadingCampaignConnectAsync();
|
|
3889
|
+
}
|
|
3874
3890
|
navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ChoicePage);
|
|
3875
3891
|
}
|
|
3876
3892
|
};
|
|
@@ -6920,7 +6936,7 @@ const SuperChoicePage = class {
|
|
|
6920
6936
|
'hidden border-r': true,
|
|
6921
6937
|
'lg:block': isMultiFund,
|
|
6922
6938
|
'rounded-br-lg': index$1 === this.promotedFunds.length - 1
|
|
6923
|
-
} }, index.h("sss-super-choice-item-bottom", { disclaimer: fund.disclaimer, abnInfo: fund.abnInfo, abn: fund.abn, isMultiFund: isMultiFund, 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 hover:text-primary-hover", 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 hover:text-primary-hover", 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")))), 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
|
|
6939
|
+
} }, index.h("sss-super-choice-item-bottom", { disclaimer: fund.disclaimer, abnInfo: fund.abnInfo, abn: fund.abn, isMultiFund: isMultiFund, 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 hover:text-primary-hover", 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 hover:text-primary-hover", 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")))), 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 the trustees of featured superannuation funds pay fees to Flare and/or its associates. Some funds pay us a fee if you choose one of the featured funds, while others just pay us to have their application form on our platform.")))))));
|
|
6924
6940
|
}
|
|
6925
6941
|
getPromotedFunds() {
|
|
6926
6942
|
const fundTiles = [];
|
|
@@ -3,6 +3,7 @@ import { Link } from '../funds/promoted-fund/types';
|
|
|
3
3
|
import { EventTrackingService } from '../services/event-tracking.service';
|
|
4
4
|
import navigationService from '../services/navigation.service';
|
|
5
5
|
import { SuperSelectionAppRoutes } from '../services/super-selection-app.routes';
|
|
6
|
+
import superSelectionService from '../services/super-selection-app.service';
|
|
6
7
|
export class Consent {
|
|
7
8
|
constructor() {
|
|
8
9
|
this.eventTrackingService = EventTrackingService.Instance;
|
|
@@ -21,16 +22,20 @@ export class Consent {
|
|
|
21
22
|
h("li", null, "Flare (we/us) provides this paperless employee management service, will feature superannuation funds and offer you employee benefits that you may be interested in;"),
|
|
22
23
|
h("li", null, "all content contained in the following pages does not take into account any of your objectives, financial situation or needs and does not constitute financial product advice;"),
|
|
23
24
|
h("li", null, "in featuring any superannuation funds, we, the technology partner you are accessing us via, or your employer, are not providing any opinion or recommendation (actual or implied) in relation to the suitability or appropriateness of the featured funds;"),
|
|
24
|
-
h("li", null, "if you
|
|
25
|
+
h("li", null, "Trustees of the featured superannuation funds pay fees to Flare and/or its associates. Some funds pay us a fee if you choose one of the featured funds, while others pay us to have their application form on our platform;"),
|
|
25
26
|
h("li", null, "in the event that you choose one of the featured superannuation funds, we may pass on your personal information and TFN to a related party for the purpose of completing your chosen fund's application form."),
|
|
26
27
|
h("li", null,
|
|
27
28
|
"Your personal data that is provided to us will be subject to our",
|
|
28
29
|
' ',
|
|
29
|
-
h(Link, { className: "font-medium text-blue-600 hover:text-blue-800", href: "https://www.flarehr.com/privacy-policy" }, "Privacy Policy
|
|
30
|
+
h(Link, { className: "font-medium text-blue-600 hover:text-blue-800", href: "https://www.flarehr.com/privacy-policy" }, "Privacy Policy"),
|
|
31
|
+
".")),
|
|
30
32
|
h("sss-button", { fillWidth: true, promiseFn: () => this.handleSuperFundDisclaimerAccepted() }, "Continue")))));
|
|
31
33
|
}
|
|
32
34
|
async handleSuperFundDisclaimerAccepted() {
|
|
33
35
|
await this.eventTrackingService.TrackSuperFundDisclaimerAcceptedAsync({});
|
|
36
|
+
if (superSelectionService.campaignConnectEnabled) {
|
|
37
|
+
await superSelectionService.startLoadingCampaignConnectAsync();
|
|
38
|
+
}
|
|
34
39
|
navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ChoicePage);
|
|
35
40
|
}
|
|
36
41
|
static get is() { return "sss-consent-page"; }
|
package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js
CHANGED
|
@@ -39,7 +39,7 @@ export class SuperSelectionAppService {
|
|
|
39
39
|
}
|
|
40
40
|
get promotedFunds() {
|
|
41
41
|
if (this._state.campaignConnectEnabled && O.isSome(this._state.campaignConnect)) {
|
|
42
|
-
return this._state.campaignConnect.value.promotedFunds;
|
|
42
|
+
return this._state.campaignConnect.value.promotedFunds.map((v) => v.fundId);
|
|
43
43
|
}
|
|
44
44
|
if (O.isNone(this._state.promotedFunds)) {
|
|
45
45
|
throw Error('Promoted Funds is not set');
|
|
@@ -48,7 +48,13 @@ export class SuperSelectionAppService {
|
|
|
48
48
|
}
|
|
49
49
|
get promotedDefaultFundPosition() {
|
|
50
50
|
if (this._state.campaignConnectEnabled && O.isSome(this._state.campaignConnect)) {
|
|
51
|
-
|
|
51
|
+
const index = this._state.campaignConnect.value.promotedFunds.findIndex((v) => (v.type = 'promoted-default'));
|
|
52
|
+
if (index == -1) {
|
|
53
|
+
return O.fromNullable(null);
|
|
54
|
+
}
|
|
55
|
+
else {
|
|
56
|
+
return O.fromNullable(index + 1);
|
|
57
|
+
}
|
|
52
58
|
}
|
|
53
59
|
return O.none;
|
|
54
60
|
}
|
|
@@ -92,6 +98,9 @@ export class SuperSelectionAppService {
|
|
|
92
98
|
markSuperSelectionAsSubmitted() {
|
|
93
99
|
this._state.hasSuperSelectionBeenSubmitted = true;
|
|
94
100
|
}
|
|
101
|
+
get campaignConnectEnabled() {
|
|
102
|
+
return this._state.campaignConnectEnabled;
|
|
103
|
+
}
|
|
95
104
|
async loadAppStateAsync() {
|
|
96
105
|
const appStateResponse = await superSelectionApi.getAppStateAsync();
|
|
97
106
|
this._state.accountConfiguration = O.fromNullable(appStateResponse.accountConfiguration);
|
|
@@ -100,6 +109,9 @@ export class SuperSelectionAppService {
|
|
|
100
109
|
this._state.promotedFunds = O.fromNullable(appStateResponse.promotedFunds);
|
|
101
110
|
this._state.campaignConnectEnabled = appStateResponse.campaignConnectEnabled;
|
|
102
111
|
this._state.superChoicePrefill = O.fromNullable(appStateResponse.prefill);
|
|
112
|
+
this._state.definedBenefitsEligibility = appStateResponse.definedBenefitsEligibility;
|
|
113
|
+
}
|
|
114
|
+
async startLoadingCampaignConnectAsync() {
|
|
103
115
|
if (this._state.campaignConnectEnabled) {
|
|
104
116
|
this._state.campaignConnectPromise = O.fromNullable(superSelectionApi.getCampaignConnectAsync());
|
|
105
117
|
}
|
package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js
CHANGED
|
@@ -101,7 +101,7 @@ export class SuperChoicePage {
|
|
|
101
101
|
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."),
|
|
102
102
|
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."),
|
|
103
103
|
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."),
|
|
104
|
-
h("li", null, "You should be aware that
|
|
104
|
+
h("li", null, "You should be aware that the trustees of featured superannuation funds pay fees to Flare and/or its associates. Some funds pay us a fee if you choose one of the featured funds, while others just pay us to have their application form on our platform.")))))));
|
|
105
105
|
}
|
|
106
106
|
getPromotedFunds() {
|
|
107
107
|
const fundTiles = [];
|
|
@@ -260,7 +260,7 @@ class TapSubscriber extends Subscriber {
|
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
const AppVersion = '4.
|
|
263
|
+
const AppVersion = '4.43.36878';
|
|
264
264
|
|
|
265
265
|
// -------------------------------------------------------------------------------------
|
|
266
266
|
// guards
|
|
@@ -3476,6 +3476,7 @@ const initialState = {
|
|
|
3476
3476
|
hasSuperSelectionBeenSubmitted: false,
|
|
3477
3477
|
campaignConnectEnabled: false,
|
|
3478
3478
|
campaignConnectPromise: Option.none,
|
|
3479
|
+
definedBenefitsEligibility: false,
|
|
3479
3480
|
campaignConnect: Option.none
|
|
3480
3481
|
};
|
|
3481
3482
|
|
|
@@ -3514,7 +3515,7 @@ class SuperSelectionAppService {
|
|
|
3514
3515
|
}
|
|
3515
3516
|
get promotedFunds() {
|
|
3516
3517
|
if (this._state.campaignConnectEnabled && Option.isSome(this._state.campaignConnect)) {
|
|
3517
|
-
return this._state.campaignConnect.value.promotedFunds;
|
|
3518
|
+
return this._state.campaignConnect.value.promotedFunds.map((v) => v.fundId);
|
|
3518
3519
|
}
|
|
3519
3520
|
if (Option.isNone(this._state.promotedFunds)) {
|
|
3520
3521
|
throw Error('Promoted Funds is not set');
|
|
@@ -3523,7 +3524,13 @@ class SuperSelectionAppService {
|
|
|
3523
3524
|
}
|
|
3524
3525
|
get promotedDefaultFundPosition() {
|
|
3525
3526
|
if (this._state.campaignConnectEnabled && Option.isSome(this._state.campaignConnect)) {
|
|
3526
|
-
|
|
3527
|
+
const index = this._state.campaignConnect.value.promotedFunds.findIndex((v) => (v.type = 'promoted-default'));
|
|
3528
|
+
if (index == -1) {
|
|
3529
|
+
return Option.fromNullable(null);
|
|
3530
|
+
}
|
|
3531
|
+
else {
|
|
3532
|
+
return Option.fromNullable(index + 1);
|
|
3533
|
+
}
|
|
3527
3534
|
}
|
|
3528
3535
|
return Option.none;
|
|
3529
3536
|
}
|
|
@@ -3567,6 +3574,9 @@ class SuperSelectionAppService {
|
|
|
3567
3574
|
markSuperSelectionAsSubmitted() {
|
|
3568
3575
|
this._state.hasSuperSelectionBeenSubmitted = true;
|
|
3569
3576
|
}
|
|
3577
|
+
get campaignConnectEnabled() {
|
|
3578
|
+
return this._state.campaignConnectEnabled;
|
|
3579
|
+
}
|
|
3570
3580
|
async loadAppStateAsync() {
|
|
3571
3581
|
const appStateResponse = await superSelectionApi.getAppStateAsync();
|
|
3572
3582
|
this._state.accountConfiguration = Option.fromNullable(appStateResponse.accountConfiguration);
|
|
@@ -3575,6 +3585,9 @@ class SuperSelectionAppService {
|
|
|
3575
3585
|
this._state.promotedFunds = Option.fromNullable(appStateResponse.promotedFunds);
|
|
3576
3586
|
this._state.campaignConnectEnabled = appStateResponse.campaignConnectEnabled;
|
|
3577
3587
|
this._state.superChoicePrefill = Option.fromNullable(appStateResponse.prefill);
|
|
3588
|
+
this._state.definedBenefitsEligibility = appStateResponse.definedBenefitsEligibility;
|
|
3589
|
+
}
|
|
3590
|
+
async startLoadingCampaignConnectAsync() {
|
|
3578
3591
|
if (this._state.campaignConnectEnabled) {
|
|
3579
3592
|
this._state.campaignConnectPromise = Option.fromNullable(superSelectionApi.getCampaignConnectAsync());
|
|
3580
3593
|
}
|
|
@@ -3863,10 +3876,13 @@ const Consent = class {
|
|
|
3863
3876
|
return this.eventTrackingService.TrackSuperFundDisclaimerViewedAsync({});
|
|
3864
3877
|
}
|
|
3865
3878
|
render() {
|
|
3866
|
-
return (h("div", null, h("div", { class: "text-2xl sm:text-3xl font-bold text-center leading-8" }, "Important information about super"), h("div", { class: "sm:text-lg text-gray-600 mt-3 sm:mt-4 max-w-800 text-center leading-7 sm:leading-8" }, "The choice of superannuation fund is an important personal financial decision. Next, you\u2019ll be asked to nominate a super fund to receive your employer contributions."), h("div", { class: "flex justify-center mt-8 sm:mt-12" }, h("div", { class: "border shadow-sm p-4 pb-6 sm:p-6 sm:pb-8 max-w-560 rounded-lg" }, h("div", { class: "sm:text-lg font-bold leading-6" }, "By clicking \u201CContinue\u201D you acknowledge that:"), h("ul", { class: "list-disc list-outside ml-6 mt-3 mb-6 space-y-2 text-sm leading-6" }, h("li", null, "Flare (we/us) provides this paperless employee management service, will feature superannuation funds and offer you employee benefits that you may be interested in;"), h("li", null, "all content contained in the following pages does not take into account any of your objectives, financial situation or needs and does not constitute financial product advice;"), h("li", null, "in featuring any superannuation funds, we, the technology partner you are accessing us via, or your employer, are not providing any opinion or recommendation (actual or implied) in relation to the suitability or appropriateness of the featured funds;"), h("li", null, "if you
|
|
3879
|
+
return (h("div", null, h("div", { class: "text-2xl sm:text-3xl font-bold text-center leading-8" }, "Important information about super"), h("div", { class: "sm:text-lg text-gray-600 mt-3 sm:mt-4 max-w-800 text-center leading-7 sm:leading-8" }, "The choice of superannuation fund is an important personal financial decision. Next, you\u2019ll be asked to nominate a super fund to receive your employer contributions."), h("div", { class: "flex justify-center mt-8 sm:mt-12" }, h("div", { class: "border shadow-sm p-4 pb-6 sm:p-6 sm:pb-8 max-w-560 rounded-lg" }, h("div", { class: "sm:text-lg font-bold leading-6" }, "By clicking \u201CContinue\u201D you acknowledge that:"), h("ul", { class: "list-disc list-outside ml-6 mt-3 mb-6 space-y-2 text-sm leading-6" }, h("li", null, "Flare (we/us) provides this paperless employee management service, will feature superannuation funds and offer you employee benefits that you may be interested in;"), h("li", null, "all content contained in the following pages does not take into account any of your objectives, financial situation or needs and does not constitute financial product advice;"), h("li", null, "in featuring any superannuation funds, we, the technology partner you are accessing us via, or your employer, are not providing any opinion or recommendation (actual or implied) in relation to the suitability or appropriateness of the featured funds;"), h("li", null, "Trustees of the featured superannuation funds pay fees to Flare and/or its associates. Some funds pay us a fee if you choose one of the featured funds, while others pay us to have their application form on our platform;"), h("li", null, "in the event that you choose one of the featured superannuation funds, we may pass on your personal information and TFN to a related party for the purpose of completing your chosen fund's application form."), h("li", null, "Your personal data that is provided to us will be subject to our", ' ', h(Link, { className: "font-medium text-blue-600 hover:text-blue-800", href: "https://www.flarehr.com/privacy-policy" }, "Privacy Policy"), ".")), h("sss-button", { fillWidth: true, promiseFn: () => this.handleSuperFundDisclaimerAccepted() }, "Continue")))));
|
|
3867
3880
|
}
|
|
3868
3881
|
async handleSuperFundDisclaimerAccepted() {
|
|
3869
3882
|
await this.eventTrackingService.TrackSuperFundDisclaimerAcceptedAsync({});
|
|
3883
|
+
if (superSelectionAppService.campaignConnectEnabled) {
|
|
3884
|
+
await superSelectionAppService.startLoadingCampaignConnectAsync();
|
|
3885
|
+
}
|
|
3870
3886
|
navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ChoicePage);
|
|
3871
3887
|
}
|
|
3872
3888
|
};
|
|
@@ -6916,7 +6932,7 @@ const SuperChoicePage = class {
|
|
|
6916
6932
|
'hidden border-r': true,
|
|
6917
6933
|
'lg:block': isMultiFund,
|
|
6918
6934
|
'rounded-br-lg': index === this.promotedFunds.length - 1
|
|
6919
|
-
} }, h("sss-super-choice-item-bottom", { disclaimer: fund.disclaimer, abnInfo: fund.abnInfo, abn: fund.abn, isMultiFund: isMultiFund, onJoinFundClicked: async () => this.handleJoinSuperClickAsync(fund) })))))), h("div", { class: "flex justify-center mt-8 sm:mt-12" }, h("div", { class: "pb-8 sm:pb-12 max-w-720 border-b" }, h("h5", { class: "font-bold sm:text-lg" }, "Or, choose another super fund:"), h("ul", { class: "list-disc list-outside ml-6 mt-3 mb-6 space-y-2 leading-6 text-sm sm:text-base" }, h("li", null, "Select this option if you'd like to use your current account with another super fund, your self-managed super fund, or your employer's default fund."), h("li", null, "If you are unsure of your current super fund details, you can find out at", ' ', h("a", { class: "text-primary-base font-medium hover:text-primary-hover", target: "_blank", href: navigationService.toExternalUrl(mygovLink) }, mygovLinkDisplay)), h("li", null, "A full list of super funds can be viewed at", ' ', h("a", { class: "text-primary-base font-medium hover:text-primary-hover", target: "_blank", href: navigationService.toExternalUrl(superfundsLink) }, superfundsLinkDisplay))), h("stencil-route-link", { url: SuperSelectionAppRoutes.MyOwnFund }, h("sss-button", { fillWidthOnMobile: true }, "Choose another super fund")))), h("div", { class: "flex justify-center" }, h("div", { class: "pt-8 sm:pt-12 max-w-720" }, h("h5", { class: "font-semibold" }, "IMPORTANT INFORMATION:"), h("ul", { class: "list-disc list-outside ml-6 mt-3 space-y-2 text-sm leading-6" }, h("li", null, "The superannuation funds featured above are for your information only. The order, position and placement of content should not be interpreted as an opinion or recommendation (actual or implied) by Flare as to the suitability or appropriateness of any superannuation fund for you. In featuring these superannuation funds, Flare has not taken into account your objectives, financial situation or needs."), h("li", null, "This is not a comparison service. This page contains factual information only and does not constitute either general or personal advice about any financial products. We do not take into account your objectives, financial situation or needs. If you have questions or need help making a decision about your superannuation fund, you should speak to a licensed financial product advice provider."), h("li", null, "Flare, the technology partner you are accessing Flare via and your employer do not endorse or accept responsibility for any financial product advice or services provided by the promoters or trustees of the featured superannuation funds. Flare does not endorse or accept responsibility for any of the content shown about any of the featured superannuation funds."), h("li", null, "You should consider the relevant superannuation fund\u2019s PDS and TMD (if applicable) in deciding whether to apply to join the superannuation fund. Each of the superannuation funds featured above include a link to their PDS and TMD (if applicable) for your convenience. If you are considering joining another superannuation fund, you can typically find the PDS and TMD (if applicable) on that fund\u2019s website."), h("li", null, "You should be aware that
|
|
6935
|
+
} }, h("sss-super-choice-item-bottom", { disclaimer: fund.disclaimer, abnInfo: fund.abnInfo, abn: fund.abn, isMultiFund: isMultiFund, onJoinFundClicked: async () => this.handleJoinSuperClickAsync(fund) })))))), h("div", { class: "flex justify-center mt-8 sm:mt-12" }, h("div", { class: "pb-8 sm:pb-12 max-w-720 border-b" }, h("h5", { class: "font-bold sm:text-lg" }, "Or, choose another super fund:"), h("ul", { class: "list-disc list-outside ml-6 mt-3 mb-6 space-y-2 leading-6 text-sm sm:text-base" }, h("li", null, "Select this option if you'd like to use your current account with another super fund, your self-managed super fund, or your employer's default fund."), h("li", null, "If you are unsure of your current super fund details, you can find out at", ' ', h("a", { class: "text-primary-base font-medium hover:text-primary-hover", target: "_blank", href: navigationService.toExternalUrl(mygovLink) }, mygovLinkDisplay)), h("li", null, "A full list of super funds can be viewed at", ' ', h("a", { class: "text-primary-base font-medium hover:text-primary-hover", target: "_blank", href: navigationService.toExternalUrl(superfundsLink) }, superfundsLinkDisplay))), h("stencil-route-link", { url: SuperSelectionAppRoutes.MyOwnFund }, h("sss-button", { fillWidthOnMobile: true }, "Choose another super fund")))), h("div", { class: "flex justify-center" }, h("div", { class: "pt-8 sm:pt-12 max-w-720" }, h("h5", { class: "font-semibold" }, "IMPORTANT INFORMATION:"), h("ul", { class: "list-disc list-outside ml-6 mt-3 space-y-2 text-sm leading-6" }, h("li", null, "The superannuation funds featured above are for your information only. The order, position and placement of content should not be interpreted as an opinion or recommendation (actual or implied) by Flare as to the suitability or appropriateness of any superannuation fund for you. In featuring these superannuation funds, Flare has not taken into account your objectives, financial situation or needs."), h("li", null, "This is not a comparison service. This page contains factual information only and does not constitute either general or personal advice about any financial products. We do not take into account your objectives, financial situation or needs. If you have questions or need help making a decision about your superannuation fund, you should speak to a licensed financial product advice provider."), h("li", null, "Flare, the technology partner you are accessing Flare via and your employer do not endorse or accept responsibility for any financial product advice or services provided by the promoters or trustees of the featured superannuation funds. Flare does not endorse or accept responsibility for any of the content shown about any of the featured superannuation funds."), h("li", null, "You should consider the relevant superannuation fund\u2019s PDS and TMD (if applicable) in deciding whether to apply to join the superannuation fund. Each of the superannuation funds featured above include a link to their PDS and TMD (if applicable) for your convenience. If you are considering joining another superannuation fund, you can typically find the PDS and TMD (if applicable) on that fund\u2019s website."), h("li", null, "You should be aware that the trustees of featured superannuation funds pay fees to Flare and/or its associates. Some funds pay us a fee if you choose one of the featured funds, while others just pay us to have their application form on our platform.")))))));
|
|
6920
6936
|
}
|
|
6921
6937
|
getPromotedFunds() {
|
|
6922
6938
|
const fundTiles = [];
|