@flarehr/apollo-super-selection 3.16.52608 → 3.17.52693
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-d30f9e5e.system.entry.js → p-574c7d9b.system.entry.js} +1 -1
- package/dist/lib/apollo-super-selection/{p-5b540e03.entry.js → p-89495496.entry.js} +4 -4
- package/dist/lib/apollo-super-selection/p-d82b00ed.system.js +1 -1
- package/dist/lib/cjs/fl-button_44.cjs.entry.js +17 -17
- package/dist/lib/collection/components/super-selection-app/footer-section/footer-section.js +1 -1
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-not-supported.js +2 -2
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/services/slate-iframe-builder.js +11 -11
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +2 -2
- package/dist/lib/esm/fl-button_44.entry.js +17 -17
- package/dist/lib/esm-es5/fl-button_44.entry.js +1 -1
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-not-supported.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-38ee2795.system.js","./p-13573238.system.js","./p-7dbe5a2f.system.js","./p-381262c1.system.js"],(function(s,e){"use strict";var t,o,n;return{setters:[function(s){t=s.p;o=s.b},function(){},function(){},function(s){n=s.g}],execute:function(){var s=function(){var s=e.meta.url;var o={};if(s!==""){o.resourcesUrl=new URL(".",s).href}return t(o)};s().then((function(s){n();return o([["p-64ebe17d.system",[[1,"fl-style-guide",{themeCssUrl:[1,"theme-css-url"]}]]],["p-cd49a6b7.system",[[0,"context-consumer",{context:[16],renderer:[16],subscribe:[16],unsubscribe:[32]}]]],["p-8cbfc343.system",[[0,"stencil-async-content",{documentLocation:[1,"document-location"],content:[32]}]]],["p-642db1f7.system",[[0,"stencil-route-title",{titleSuffix:[1,"title-suffix"],pageTitle:[1,"page-title"]}]]],["p-285da037.system",[[0,"stencil-router-prompt",{when:[4],message:[1],history:[16],unblock:[32]}]]],["p-f15bf700.system",[[0,"stencil-router-redirect",{history:[16],root:[1],url:[1]}]]],["p-
|
|
1
|
+
System.register(["./p-38ee2795.system.js","./p-13573238.system.js","./p-7dbe5a2f.system.js","./p-381262c1.system.js"],(function(s,e){"use strict";var t,o,n;return{setters:[function(s){t=s.p;o=s.b},function(){},function(){},function(s){n=s.g}],execute:function(){var s=function(){var s=e.meta.url;var o={};if(s!==""){o.resourcesUrl=new URL(".",s).href}return t(o)};s().then((function(s){n();return o([["p-64ebe17d.system",[[1,"fl-style-guide",{themeCssUrl:[1,"theme-css-url"]}]]],["p-cd49a6b7.system",[[0,"context-consumer",{context:[16],renderer:[16],subscribe:[16],unsubscribe:[32]}]]],["p-8cbfc343.system",[[0,"stencil-async-content",{documentLocation:[1,"document-location"],content:[32]}]]],["p-642db1f7.system",[[0,"stencil-route-title",{titleSuffix:[1,"title-suffix"],pageTitle:[1,"page-title"]}]]],["p-285da037.system",[[0,"stencil-router-prompt",{when:[4],message:[1],history:[16],unblock:[32]}]]],["p-f15bf700.system",[[0,"stencil-router-redirect",{history:[16],root:[1],url:[1]}]]],["p-574c7d9b.system",[[0,"sss-my-own-fund",{history:[16],formState:[32],isNotAllInformationProvidedMessageVisible:[32]}],[0,"sss-self-managed-fund",{history:[16],formState:[32],showSmsfNotSupported:[32]}],[0,"sss-qsuper-question-1"],[0,"sss-qsuper-question-2"],[0,"sss-qsuper-question-3"],[0,"sss-qsuper-question-4"],[0,"sss-qsuper-question-5"],[0,"sss-qsuper-question-6"],[0,"sss-qsuper-question-7"],[0,"sss-qsuper-question-8"],[0,"sss-default-fund",{history:[16],formState:[32],defaultFundProductName:[32]}],[0,"sss-qsuper-insurance-opt-in",{insuranceChosen:[32]}],[0,"sss-qsuper-join"],[0,"sss-slate-standard-choice-page",{history:[16],formState:[32]}],[1,"super-selection-app-host",{sessionState:[32],jwt:[32],appConfiguration:[32],areStylesLoaded:[32]}],[0,"sss-qsuper-consent"],[0,"sss-super-choice-page",{history:[16],promotedFunds:[32],chosenFund:[32]}],[0,"sss-success"],[0,"sss-slate-join-page",{history:[16]}],[0,"super-selection-app",{accessToken:[1,"access-token"],backendUrl:[1,"backend-url"],appBaseUrl:[1,"app-base-url"],history:[16],location:[16],isAppInitialised:[32]}],[0,"sss-my-own-fund-inputs",{myOwnFundForm:[16],selectedOption:[32]}],[0,"sss-self-managed-fund-inputs",{fundForm:[16],currentBank:[32]}],[0,"sss-loading-page"],[0,"sss-smsf-not-supported-dialog"],[0,"sss-super-choice-item",{heading:[1],isSelected:[4,"is-selected"],usi:[1],name:[1],logo:[1],pdsLink:[1,"pds-link"],callToAction:[1,"call-to-action"],features:[1],history:[16]}],[0,"sss-selected-super-choice-section",{fundType:[1,"fund-type"],fundName:[1,"fund-name"]}],[0,"sss-slatesuper-header"],[0,"sss-footer-section"],[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,"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]}],[0,"fl-dropdown-async",{placeholder:[1],searchFunction:[16],value:[16],required:[4],requiredValidationMessage:[1,"required-validation-message"],disabled:[4],minSearchStringLength:[2,"min-search-string-length"],searchState:[32],inputValue:[32],isDropdownVisible:[32],filteredOptions:[32],highlightedOptionIndex:[32],selectedOption:[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-standard-choice-form",{standardChoiceFormSignature:[32]}],[0,"fl-dropdown",{placeholder:[1],options:[16],value:[16],required:[4],requiredValidationMessage:[1,"required-validation-message"],disabled:[4],inputValue:[32],isDropdownVisible:[32],filteredOptions:[32],highlightedOptionIndex:[32],selectedOption:[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[4,"sss-qsuper-insurance-questions"],[0,"sss-qsuper-question-yes-no-buttons",{history:[16]}],[0,"sss-qsuper-confirm-header"],[4,"sss-qsuper-layout",{history:[16]}],[0,"sss-notifications-section"],[4,"fl-promise-button",{isBlockElement:[4,"is-block-element"],isRounded:[4,"is-rounded"],disabled:[4],variant:[1],promiseFn:[16],state:[32]}],[4,"fl-button",{isBlockElement:[4,"is-block-element"],disabled:[4],variant:[1]}],[0,"fl-loading-indicator",{theme:[1]}],[0,"stencil-route",{group:[513],componentUpdated:[16],match:[1040],url:[1],component:[1],componentProps:[16],exact:[4],routeRender:[16],scrollTopOffset:[2,"scroll-top-offset"],routeViewsUpdated:[16],location:[16],history:[16],historyType:[1,"history-type"]}]]]],s)}))}}}));
|
|
@@ -265,7 +265,7 @@ class TapSubscriber extends delay.Subscriber {
|
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
-
const AppVersion = '3.
|
|
268
|
+
const AppVersion = '3.17.52693';
|
|
269
269
|
|
|
270
270
|
// -------------------------------------------------------------------------------------
|
|
271
271
|
// guards
|
|
@@ -4229,7 +4229,7 @@ const FooterSection = class {
|
|
|
4229
4229
|
index.registerInstance(this, hostRef);
|
|
4230
4230
|
}
|
|
4231
4231
|
render() {
|
|
4232
|
-
return (index.h("div", { class: "container mb-sm-0" }, index.h("div", { class: "row justify-content-center mt-5 mb-3" }, index.h("a", { class: "text-decoration-none", href: navigationService.toExternalUrl('https://slatesuper.com.au/product-disclosure-statement-pdf'), target: "_blank" }, index.h("p", { class: "mt-3 small text-center mb-1 text-dark" }, "Powered by"), index.h("h5", { class: "font-weight-bold text-center mb-4" }, index.h("span", { class: "text-dark mr-1" }, "Simple Financial"), index.h("span", { class: "simple-choices-text" }, "Choices")))), index.h("div", { class: "row justify-content-center pb-sm-0 px-3 px-sm-0" }, index.h("p", { class: "text-muted small" }, "
|
|
4232
|
+
return (index.h("div", { class: "container mb-sm-0" }, index.h("div", { class: "row justify-content-center mt-5 mb-3" }, index.h("a", { class: "text-decoration-none", href: navigationService.toExternalUrl('https://slatesuper.com.au/product-disclosure-statement-pdf'), target: "_blank" }, index.h("p", { class: "mt-3 small text-center mb-1 text-dark" }, "Powered by"), index.h("h5", { class: "font-weight-bold text-center mb-4" }, index.h("span", { class: "text-dark mr-1" }, "Simple Financial"), index.h("span", { class: "simple-choices-text" }, "Choices")))), index.h("div", { class: "row justify-content-center pb-sm-0 px-3 px-sm-0" }, index.h("p", { class: "text-muted small" }, "Simple Financial Choices Pty Ltd is a wholly owned entity of Flare HR. SFC is not acting as a Corporate Authorised Representative for the purposes of any information provided about QSuper. Simple Financial Choices Pty Ltd (ABN 58 629 890 900; AFS Representative No. 001269407), is a Corporate Authorised Representative of True Oak Investments Ltd (ABN 81 002 558 956; AFS Licence No. 238184). Your employer and Flare HR do not endorse or accept responsibility for any financial product advice or services provided by Simple Financial Choices Pty Ltd. SFC does not endorse or accept responsibility for any of the QSuper content shown as it is merely passing on QSuper Board's content as provided without any changes. SFC does not express any opinion or make any recommendation about QSuper.")), index.h("div", { class: "row justify-content-end my-1 px-3 px-sm-0" }, this.appVersionBadge())));
|
|
4233
4233
|
}
|
|
4234
4234
|
appVersionBadge() {
|
|
4235
4235
|
return (index.h("small", { style: { opacity: '0.5' }, class: "text-muted" }, "Powered by Flare, v", AppVersion));
|
|
@@ -5203,11 +5203,11 @@ const { state: state$2 } = createStore(initialSlateSuper);
|
|
|
5203
5203
|
|
|
5204
5204
|
class SlateIFrameBuilder {
|
|
5205
5205
|
constructor() {
|
|
5206
|
-
this.hostIsLocalSuperSelection = () => window.location.origin ==
|
|
5207
|
-
this.hostIsDeployed = () => window.location.origin.endsWith(
|
|
5208
|
-
this.skipConsolidation = () => interopQuery.isReactNativeInteropEnabled() ? 'true' : 'false';
|
|
5206
|
+
this.hostIsLocalSuperSelection = () => window.location.origin == 'http://localhost:7100';
|
|
5207
|
+
this.hostIsDeployed = () => window.location.origin.endsWith('partner.flarehr.com');
|
|
5208
|
+
this.skipConsolidation = () => (interopQuery.isReactNativeInteropEnabled() ? 'true' : 'false');
|
|
5209
5209
|
this.environmentDiscriminator = () => {
|
|
5210
|
-
|
|
5210
|
+
const discriminator = window.location.hostname.toLowerCase().split('.')[0];
|
|
5211
5211
|
switch (discriminator) {
|
|
5212
5212
|
case 'autodev-partner':
|
|
5213
5213
|
case 'test-partner':
|
|
@@ -5225,9 +5225,9 @@ class SlateIFrameBuilder {
|
|
|
5225
5225
|
build(iframe, history) {
|
|
5226
5226
|
if (!(iframe === null || iframe === void 0 ? void 0 : iframe.contentDocument))
|
|
5227
5227
|
return;
|
|
5228
|
-
const baseUrl = this.hostIsLocalSuperSelection() || this.hostIsDeployed()
|
|
5229
|
-
`${window.location.origin}/super-selection/embed/v1.0/app`
|
|
5230
|
-
|
|
5228
|
+
const baseUrl = this.hostIsLocalSuperSelection() || this.hostIsDeployed()
|
|
5229
|
+
? `${window.location.origin}/super-selection/embed/v1.0/app`
|
|
5230
|
+
: 'https://autodev-partner.flarehr.com/super-selection/embed/v1.0/app';
|
|
5231
5231
|
const redirectUrl = `${baseUrl}/slate-redirect.html`;
|
|
5232
5232
|
const postData = Object.assign(Object.assign({}, this.getSlateJoinMemberData()), { successRedirectUrl: redirectUrl, cancelRedirectUrl: redirectUrl, skipConsolidation: this.skipConsolidation() });
|
|
5233
5233
|
if (this.includeJwt()) {
|
|
@@ -5239,7 +5239,7 @@ class SlateIFrameBuilder {
|
|
|
5239
5239
|
return;
|
|
5240
5240
|
}
|
|
5241
5241
|
if (data.sender === 'slate-redirect') {
|
|
5242
|
-
window.removeEventListener(
|
|
5242
|
+
window.removeEventListener('message', handleMessage);
|
|
5243
5243
|
switch (data.type) {
|
|
5244
5244
|
case 'success':
|
|
5245
5245
|
if (data.memberNumber) {
|
|
@@ -5254,7 +5254,7 @@ class SlateIFrameBuilder {
|
|
|
5254
5254
|
}
|
|
5255
5255
|
return;
|
|
5256
5256
|
}
|
|
5257
|
-
if (data.sender === 'flare' && origin.endsWith(
|
|
5257
|
+
if (data.sender === 'flare' && origin.endsWith('join.slatesuper.com.au')) {
|
|
5258
5258
|
switch (data.type) {
|
|
5259
5259
|
case 'contentResized':
|
|
5260
5260
|
iframe.height = data.height > 0 ? data.height : iframe.height;
|
|
@@ -5263,10 +5263,10 @@ class SlateIFrameBuilder {
|
|
|
5263
5263
|
}
|
|
5264
5264
|
}
|
|
5265
5265
|
};
|
|
5266
|
-
window.addEventListener(
|
|
5266
|
+
window.addEventListener('message', handleMessage);
|
|
5267
5267
|
const iframeDoc = iframe.contentDocument;
|
|
5268
5268
|
iframeDoc.open();
|
|
5269
|
-
const form = iframeDoc.createElement(
|
|
5269
|
+
const form = iframeDoc.createElement('form');
|
|
5270
5270
|
form.method = 'POST';
|
|
5271
5271
|
form.target = '_self';
|
|
5272
5272
|
form.action = this.slateJoinAppUrl();
|
|
@@ -5388,13 +5388,13 @@ const SmsfNotSupportedDialog = class {
|
|
|
5388
5388
|
constructor(hostRef) {
|
|
5389
5389
|
index.registerInstance(this, hostRef);
|
|
5390
5390
|
this.continue = index.createEvent(this, "continue", 7);
|
|
5391
|
-
this.standardChoiceFormUrl =
|
|
5391
|
+
this.standardChoiceFormUrl = '/super-selection/embed/v1.0/app/assets/Superannuation_Standard_Choice_Form.pdf';
|
|
5392
5392
|
this.handleContinue = () => {
|
|
5393
5393
|
this.continue.emit();
|
|
5394
5394
|
};
|
|
5395
5395
|
}
|
|
5396
5396
|
render() {
|
|
5397
|
-
return (index.h(index.Host, null, index.h("div", { class: "overlay" }), index.h("div", { class: "dialog" }, index.h("div", { class: "card p-4 mt-4 bg-light text-center" }, index.h("div", { style: {
|
|
5397
|
+
return (index.h(index.Host, null, index.h("div", { class: "overlay" }), index.h("div", { class: "dialog" }, index.h("div", { class: "card p-4 mt-4 bg-light text-center" }, index.h("div", { style: { 'text-align': 'center' } }, index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "32", fill: "orange", viewBox: "0 0 16 16" }, index.h("path", { d: "M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z" }))), index.h("p", { class: "small mt-4 mb-0" }, "You\u2019ve selected a self-managed super fund (SMSF). Currently, SMSF information can\u2019t be sent via this form. You\u2019ll need to provide your employer with a", ' ', index.h("a", { target: "_blank", href: this.standardChoiceFormUrl }, "standard choice form"), ' ', "for your SMSF details."), index.h("div", { class: "d-flex mt-4" }, index.h("div", { class: "w-25" }), index.h("div", { class: "w-50" }, index.h("fl-button", { onClick: this.handleContinue, isBlockElement: true, variant: "primary" }, index.h("span", null, "Continue"))))))));
|
|
5398
5398
|
}
|
|
5399
5399
|
};
|
|
5400
5400
|
SmsfNotSupportedDialog.style = selfManagedNotSupportedCss;
|
|
@@ -5532,8 +5532,8 @@ const SuperChoicePage = class {
|
|
|
5532
5532
|
}
|
|
5533
5533
|
render() {
|
|
5534
5534
|
const superChoiceParagraphOne = `Selecting the right super fund is very important. Simple Financial Choices have provided you with easy access to the below funds to make your choice an easy one, if you think that one of them might suit your needs.`;
|
|
5535
|
-
const superChoiceParagraphTwo = `The content on this page and on the following pages relating to superannuation is provided by Simple Financial Choices. The superannuation funds presented below are neither selected nor recommended by your employer nor by Flare HR.`;
|
|
5536
|
-
const superChoiceParagraphThree = `
|
|
5535
|
+
const superChoiceParagraphTwo = `The content on this page and on the following pages relating to superannuation is provided by Simple Financial Choices (SFC), except for any content in relation to QSuper which is prepared, and provided to SFC, by QSuper Board ABN 32 125 059 006. The superannuation funds presented below are neither selected nor recommended by your employer nor by Flare HR.`;
|
|
5536
|
+
const superChoiceParagraphThree = `Simple Financial Choices is not recommending these funds as being suitable for you because there are many super funds out there and you will need to choose what is best for you. If you are unsure, obtain your own advice. You should be aware that, if you do choose one of these funds, Flare and its associated entities will normally receive a fee for you doing so.`;
|
|
5537
5537
|
return (index.h(index.Host, null, index.h("div", { class: "container mt-0 mb-0" }, index.h("div", { class: "row justify-content-center" }, index.h("div", { class: "col" }, index.h("a", { class: "text-decoration-none", href: navigationService.toExternalUrl('https://slatesuper.com.au/product-disclosure-statement-pdf'), target: "_blank" }, index.h("p", { class: "mt-3 small text-center mb-1 text-dark" }, "Powered by"), index.h("h5", { class: "font-weight-bold text-center mb-4" }, index.h("span", { class: "text-dark mr-1" }, "Simple Financial"), index.h("span", { class: "simple-choices-text" }, "Choices"))))), index.h("div", { class: "row justify-content-center" }, index.h("div", { class: "col" }, index.h("p", { class: "text-center" }, superChoiceParagraphOne), index.h("p", { class: "text-center small" }, superChoiceParagraphTwo), index.h("p", { class: "text-center small" }, superChoiceParagraphThree))), index.h("div", { class: "row" }, index.h("div", { class: "col" }, index.h("sss-notifications-section", null))), index.h("div", { class: "row justify-content-center mt-4" }, index.h("div", { class: "col col-sm-10 col-md-8 col-xl-7" }, index.h("div", { class: "row" }, index.h("div", { class: "col" }, index.h("div", { class: "d-flex flex-fill" }, isSome(this.chosenFund) && !this.chosenFund.value.isPromoted && (index.h("sss-selected-super-choice-section", { fundType: this.chosenFund.value.type, fundName: this.chosenFund.value.name, class: "flex-fill position-relative" }))))), index.h("div", { class: "row mt-3" }, this.promotedFunds.map((fund) => (index.h("div", { class: "col-12 col-lg-6 d-flex" }, index.h("sss-super-choice-item", { class: "card mb-3 mb-lg-0 mx-0 flex-grow-1", logo: fund.logo, isSelected: this.isPromotedFundSelected(fund.fundId), usi: fund.usi, name: fund.name, heading: fund.heading, pdsLink: navigationService.toExternalUrl(fund.pdsLink), features: JSON.stringify(fund.features), callToAction: fund.callToAction, onJoinFundClicked: async () => this.handleJoinSuperClickAsync(fund) }))))), index.h("div", { class: "row mt-3" }, index.h("div", { class: "col" }, index.h("stencil-route-link", { url: SuperSelectionAppRoutes.MyOwnFund }, index.h("fl-button", { isBlockElement: true, variant: "secondary" }, "I prefer to select another fund")))))))));
|
|
5538
5538
|
}
|
|
5539
5539
|
getPromotedFunds() {
|
|
@@ -11,7 +11,7 @@ export class FooterSection {
|
|
|
11
11
|
h("span", { class: "text-dark mr-1" }, "Simple Financial"),
|
|
12
12
|
h("span", { class: "simple-choices-text" }, "Choices")))),
|
|
13
13
|
h("div", { class: "row justify-content-center pb-sm-0 px-3 px-sm-0" },
|
|
14
|
-
h("p", { class: "text-muted small" }, "
|
|
14
|
+
h("p", { class: "text-muted small" }, "Simple Financial Choices Pty Ltd is a wholly owned entity of Flare HR. SFC is not acting as a Corporate Authorised Representative for the purposes of any information provided about QSuper. Simple Financial Choices Pty Ltd (ABN 58 629 890 900; AFS Representative No. 001269407), is a Corporate Authorised Representative of True Oak Investments Ltd (ABN 81 002 558 956; AFS Licence No. 238184). Your employer and Flare HR do not endorse or accept responsibility for any financial product advice or services provided by Simple Financial Choices Pty Ltd. SFC does not endorse or accept responsibility for any of the QSuper content shown as it is merely passing on QSuper Board's content as provided without any changes. SFC does not express any opinion or make any recommendation about QSuper.")),
|
|
15
15
|
h("div", { class: "row justify-content-end my-1 px-3 px-sm-0" }, this.appVersionBadge())));
|
|
16
16
|
}
|
|
17
17
|
appVersionBadge() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Component, Event, h, Host } from '@stencil/core';
|
|
2
2
|
export class SmsfNotSupportedDialog {
|
|
3
3
|
constructor() {
|
|
4
|
-
this.standardChoiceFormUrl =
|
|
4
|
+
this.standardChoiceFormUrl = '/super-selection/embed/v1.0/app/assets/Superannuation_Standard_Choice_Form.pdf';
|
|
5
5
|
this.handleContinue = () => {
|
|
6
6
|
this.continue.emit();
|
|
7
7
|
};
|
|
@@ -11,7 +11,7 @@ export class SmsfNotSupportedDialog {
|
|
|
11
11
|
h("div", { class: "overlay" }),
|
|
12
12
|
h("div", { class: "dialog" },
|
|
13
13
|
h("div", { class: "card p-4 mt-4 bg-light text-center" },
|
|
14
|
-
h("div", { style: {
|
|
14
|
+
h("div", { style: { 'text-align': 'center' } },
|
|
15
15
|
h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "32", fill: "orange", viewBox: "0 0 16 16" },
|
|
16
16
|
h("path", { d: "M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z" }))),
|
|
17
17
|
h("p", { class: "small mt-4 mb-0" },
|
|
@@ -5,11 +5,11 @@ import superSelectionAppService from '../../../services/super-selection-app.serv
|
|
|
5
5
|
import slateFundState from '../../slate-super/slate-fund.store';
|
|
6
6
|
class SlateIFrameBuilder {
|
|
7
7
|
constructor() {
|
|
8
|
-
this.hostIsLocalSuperSelection = () => window.location.origin ==
|
|
9
|
-
this.hostIsDeployed = () => window.location.origin.endsWith(
|
|
10
|
-
this.skipConsolidation = () => interopQuery.isReactNativeInteropEnabled() ? 'true' : 'false';
|
|
8
|
+
this.hostIsLocalSuperSelection = () => window.location.origin == 'http://localhost:7100';
|
|
9
|
+
this.hostIsDeployed = () => window.location.origin.endsWith('partner.flarehr.com');
|
|
10
|
+
this.skipConsolidation = () => (interopQuery.isReactNativeInteropEnabled() ? 'true' : 'false');
|
|
11
11
|
this.environmentDiscriminator = () => {
|
|
12
|
-
|
|
12
|
+
const discriminator = window.location.hostname.toLowerCase().split('.')[0];
|
|
13
13
|
switch (discriminator) {
|
|
14
14
|
case 'autodev-partner':
|
|
15
15
|
case 'test-partner':
|
|
@@ -27,9 +27,9 @@ class SlateIFrameBuilder {
|
|
|
27
27
|
build(iframe, history) {
|
|
28
28
|
if (!(iframe === null || iframe === void 0 ? void 0 : iframe.contentDocument))
|
|
29
29
|
return;
|
|
30
|
-
const baseUrl = this.hostIsLocalSuperSelection() || this.hostIsDeployed()
|
|
31
|
-
`${window.location.origin}/super-selection/embed/v1.0/app`
|
|
32
|
-
|
|
30
|
+
const baseUrl = this.hostIsLocalSuperSelection() || this.hostIsDeployed()
|
|
31
|
+
? `${window.location.origin}/super-selection/embed/v1.0/app`
|
|
32
|
+
: 'https://autodev-partner.flarehr.com/super-selection/embed/v1.0/app';
|
|
33
33
|
const redirectUrl = `${baseUrl}/slate-redirect.html`;
|
|
34
34
|
const postData = Object.assign(Object.assign({}, this.getSlateJoinMemberData()), { successRedirectUrl: redirectUrl, cancelRedirectUrl: redirectUrl, skipConsolidation: this.skipConsolidation() });
|
|
35
35
|
if (this.includeJwt()) {
|
|
@@ -41,7 +41,7 @@ class SlateIFrameBuilder {
|
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
43
43
|
if (data.sender === 'slate-redirect') {
|
|
44
|
-
window.removeEventListener(
|
|
44
|
+
window.removeEventListener('message', handleMessage);
|
|
45
45
|
switch (data.type) {
|
|
46
46
|
case 'success':
|
|
47
47
|
if (data.memberNumber) {
|
|
@@ -56,7 +56,7 @@ class SlateIFrameBuilder {
|
|
|
56
56
|
}
|
|
57
57
|
return;
|
|
58
58
|
}
|
|
59
|
-
if (data.sender === 'flare' && origin.endsWith(
|
|
59
|
+
if (data.sender === 'flare' && origin.endsWith('join.slatesuper.com.au')) {
|
|
60
60
|
switch (data.type) {
|
|
61
61
|
case 'contentResized':
|
|
62
62
|
iframe.height = data.height > 0 ? data.height : iframe.height;
|
|
@@ -67,10 +67,10 @@ class SlateIFrameBuilder {
|
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
};
|
|
70
|
-
window.addEventListener(
|
|
70
|
+
window.addEventListener('message', handleMessage);
|
|
71
71
|
const iframeDoc = iframe.contentDocument;
|
|
72
72
|
iframeDoc.open();
|
|
73
|
-
const form = iframeDoc.createElement(
|
|
73
|
+
const form = iframeDoc.createElement('form');
|
|
74
74
|
form.method = 'POST';
|
|
75
75
|
form.target = '_self';
|
|
76
76
|
form.action = this.slateJoinAppUrl();
|
package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js
CHANGED
|
@@ -31,8 +31,8 @@ export class SuperChoicePage {
|
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
33
|
const superChoiceParagraphOne = `Selecting the right super fund is very important. Simple Financial Choices have provided you with easy access to the below funds to make your choice an easy one, if you think that one of them might suit your needs.`;
|
|
34
|
-
const superChoiceParagraphTwo = `The content on this page and on the following pages relating to superannuation is provided by Simple Financial Choices. The superannuation funds presented below are neither selected nor recommended by your employer nor by Flare HR.`;
|
|
35
|
-
const superChoiceParagraphThree = `
|
|
34
|
+
const superChoiceParagraphTwo = `The content on this page and on the following pages relating to superannuation is provided by Simple Financial Choices (SFC), except for any content in relation to QSuper which is prepared, and provided to SFC, by QSuper Board ABN 32 125 059 006. The superannuation funds presented below are neither selected nor recommended by your employer nor by Flare HR.`;
|
|
35
|
+
const superChoiceParagraphThree = `Simple Financial Choices is not recommending these funds as being suitable for you because there are many super funds out there and you will need to choose what is best for you. If you are unsure, obtain your own advice. You should be aware that, if you do choose one of these funds, Flare and its associated entities will normally receive a fee for you doing so.`;
|
|
36
36
|
return (h(Host, null,
|
|
37
37
|
h("div", { class: "container mt-0 mb-0" },
|
|
38
38
|
h("div", { class: "row justify-content-center" },
|
|
@@ -261,7 +261,7 @@ class TapSubscriber extends Subscriber {
|
|
|
261
261
|
}
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
const AppVersion = '3.
|
|
264
|
+
const AppVersion = '3.17.52693';
|
|
265
265
|
|
|
266
266
|
// -------------------------------------------------------------------------------------
|
|
267
267
|
// guards
|
|
@@ -4225,7 +4225,7 @@ const FooterSection = class {
|
|
|
4225
4225
|
registerInstance(this, hostRef);
|
|
4226
4226
|
}
|
|
4227
4227
|
render() {
|
|
4228
|
-
return (h("div", { class: "container mb-sm-0" }, h("div", { class: "row justify-content-center mt-5 mb-3" }, h("a", { class: "text-decoration-none", href: navigationService.toExternalUrl('https://slatesuper.com.au/product-disclosure-statement-pdf'), target: "_blank" }, h("p", { class: "mt-3 small text-center mb-1 text-dark" }, "Powered by"), h("h5", { class: "font-weight-bold text-center mb-4" }, h("span", { class: "text-dark mr-1" }, "Simple Financial"), h("span", { class: "simple-choices-text" }, "Choices")))), h("div", { class: "row justify-content-center pb-sm-0 px-3 px-sm-0" }, h("p", { class: "text-muted small" }, "
|
|
4228
|
+
return (h("div", { class: "container mb-sm-0" }, h("div", { class: "row justify-content-center mt-5 mb-3" }, h("a", { class: "text-decoration-none", href: navigationService.toExternalUrl('https://slatesuper.com.au/product-disclosure-statement-pdf'), target: "_blank" }, h("p", { class: "mt-3 small text-center mb-1 text-dark" }, "Powered by"), h("h5", { class: "font-weight-bold text-center mb-4" }, h("span", { class: "text-dark mr-1" }, "Simple Financial"), h("span", { class: "simple-choices-text" }, "Choices")))), h("div", { class: "row justify-content-center pb-sm-0 px-3 px-sm-0" }, h("p", { class: "text-muted small" }, "Simple Financial Choices Pty Ltd is a wholly owned entity of Flare HR. SFC is not acting as a Corporate Authorised Representative for the purposes of any information provided about QSuper. Simple Financial Choices Pty Ltd (ABN 58 629 890 900; AFS Representative No. 001269407), is a Corporate Authorised Representative of True Oak Investments Ltd (ABN 81 002 558 956; AFS Licence No. 238184). Your employer and Flare HR do not endorse or accept responsibility for any financial product advice or services provided by Simple Financial Choices Pty Ltd. SFC does not endorse or accept responsibility for any of the QSuper content shown as it is merely passing on QSuper Board's content as provided without any changes. SFC does not express any opinion or make any recommendation about QSuper.")), h("div", { class: "row justify-content-end my-1 px-3 px-sm-0" }, this.appVersionBadge())));
|
|
4229
4229
|
}
|
|
4230
4230
|
appVersionBadge() {
|
|
4231
4231
|
return (h("small", { style: { opacity: '0.5' }, class: "text-muted" }, "Powered by Flare, v", AppVersion));
|
|
@@ -5199,11 +5199,11 @@ const { state: state$2 } = createStore(initialSlateSuper);
|
|
|
5199
5199
|
|
|
5200
5200
|
class SlateIFrameBuilder {
|
|
5201
5201
|
constructor() {
|
|
5202
|
-
this.hostIsLocalSuperSelection = () => window.location.origin ==
|
|
5203
|
-
this.hostIsDeployed = () => window.location.origin.endsWith(
|
|
5204
|
-
this.skipConsolidation = () => interopQuery.isReactNativeInteropEnabled() ? 'true' : 'false';
|
|
5202
|
+
this.hostIsLocalSuperSelection = () => window.location.origin == 'http://localhost:7100';
|
|
5203
|
+
this.hostIsDeployed = () => window.location.origin.endsWith('partner.flarehr.com');
|
|
5204
|
+
this.skipConsolidation = () => (interopQuery.isReactNativeInteropEnabled() ? 'true' : 'false');
|
|
5205
5205
|
this.environmentDiscriminator = () => {
|
|
5206
|
-
|
|
5206
|
+
const discriminator = window.location.hostname.toLowerCase().split('.')[0];
|
|
5207
5207
|
switch (discriminator) {
|
|
5208
5208
|
case 'autodev-partner':
|
|
5209
5209
|
case 'test-partner':
|
|
@@ -5221,9 +5221,9 @@ class SlateIFrameBuilder {
|
|
|
5221
5221
|
build(iframe, history) {
|
|
5222
5222
|
if (!(iframe === null || iframe === void 0 ? void 0 : iframe.contentDocument))
|
|
5223
5223
|
return;
|
|
5224
|
-
const baseUrl = this.hostIsLocalSuperSelection() || this.hostIsDeployed()
|
|
5225
|
-
`${window.location.origin}/super-selection/embed/v1.0/app`
|
|
5226
|
-
|
|
5224
|
+
const baseUrl = this.hostIsLocalSuperSelection() || this.hostIsDeployed()
|
|
5225
|
+
? `${window.location.origin}/super-selection/embed/v1.0/app`
|
|
5226
|
+
: 'https://autodev-partner.flarehr.com/super-selection/embed/v1.0/app';
|
|
5227
5227
|
const redirectUrl = `${baseUrl}/slate-redirect.html`;
|
|
5228
5228
|
const postData = Object.assign(Object.assign({}, this.getSlateJoinMemberData()), { successRedirectUrl: redirectUrl, cancelRedirectUrl: redirectUrl, skipConsolidation: this.skipConsolidation() });
|
|
5229
5229
|
if (this.includeJwt()) {
|
|
@@ -5235,7 +5235,7 @@ class SlateIFrameBuilder {
|
|
|
5235
5235
|
return;
|
|
5236
5236
|
}
|
|
5237
5237
|
if (data.sender === 'slate-redirect') {
|
|
5238
|
-
window.removeEventListener(
|
|
5238
|
+
window.removeEventListener('message', handleMessage);
|
|
5239
5239
|
switch (data.type) {
|
|
5240
5240
|
case 'success':
|
|
5241
5241
|
if (data.memberNumber) {
|
|
@@ -5250,7 +5250,7 @@ class SlateIFrameBuilder {
|
|
|
5250
5250
|
}
|
|
5251
5251
|
return;
|
|
5252
5252
|
}
|
|
5253
|
-
if (data.sender === 'flare' && origin.endsWith(
|
|
5253
|
+
if (data.sender === 'flare' && origin.endsWith('join.slatesuper.com.au')) {
|
|
5254
5254
|
switch (data.type) {
|
|
5255
5255
|
case 'contentResized':
|
|
5256
5256
|
iframe.height = data.height > 0 ? data.height : iframe.height;
|
|
@@ -5259,10 +5259,10 @@ class SlateIFrameBuilder {
|
|
|
5259
5259
|
}
|
|
5260
5260
|
}
|
|
5261
5261
|
};
|
|
5262
|
-
window.addEventListener(
|
|
5262
|
+
window.addEventListener('message', handleMessage);
|
|
5263
5263
|
const iframeDoc = iframe.contentDocument;
|
|
5264
5264
|
iframeDoc.open();
|
|
5265
|
-
const form = iframeDoc.createElement(
|
|
5265
|
+
const form = iframeDoc.createElement('form');
|
|
5266
5266
|
form.method = 'POST';
|
|
5267
5267
|
form.target = '_self';
|
|
5268
5268
|
form.action = this.slateJoinAppUrl();
|
|
@@ -5384,13 +5384,13 @@ const SmsfNotSupportedDialog = class {
|
|
|
5384
5384
|
constructor(hostRef) {
|
|
5385
5385
|
registerInstance(this, hostRef);
|
|
5386
5386
|
this.continue = createEvent(this, "continue", 7);
|
|
5387
|
-
this.standardChoiceFormUrl =
|
|
5387
|
+
this.standardChoiceFormUrl = '/super-selection/embed/v1.0/app/assets/Superannuation_Standard_Choice_Form.pdf';
|
|
5388
5388
|
this.handleContinue = () => {
|
|
5389
5389
|
this.continue.emit();
|
|
5390
5390
|
};
|
|
5391
5391
|
}
|
|
5392
5392
|
render() {
|
|
5393
|
-
return (h(Host, null, h("div", { class: "overlay" }), h("div", { class: "dialog" }, h("div", { class: "card p-4 mt-4 bg-light text-center" }, h("div", { style: {
|
|
5393
|
+
return (h(Host, null, h("div", { class: "overlay" }), h("div", { class: "dialog" }, h("div", { class: "card p-4 mt-4 bg-light text-center" }, h("div", { style: { 'text-align': 'center' } }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "32", fill: "orange", viewBox: "0 0 16 16" }, h("path", { d: "M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z" }))), h("p", { class: "small mt-4 mb-0" }, "You\u2019ve selected a self-managed super fund (SMSF). Currently, SMSF information can\u2019t be sent via this form. You\u2019ll need to provide your employer with a", ' ', h("a", { target: "_blank", href: this.standardChoiceFormUrl }, "standard choice form"), ' ', "for your SMSF details."), h("div", { class: "d-flex mt-4" }, h("div", { class: "w-25" }), h("div", { class: "w-50" }, h("fl-button", { onClick: this.handleContinue, isBlockElement: true, variant: "primary" }, h("span", null, "Continue"))))))));
|
|
5394
5394
|
}
|
|
5395
5395
|
};
|
|
5396
5396
|
SmsfNotSupportedDialog.style = selfManagedNotSupportedCss;
|
|
@@ -5528,8 +5528,8 @@ const SuperChoicePage = class {
|
|
|
5528
5528
|
}
|
|
5529
5529
|
render() {
|
|
5530
5530
|
const superChoiceParagraphOne = `Selecting the right super fund is very important. Simple Financial Choices have provided you with easy access to the below funds to make your choice an easy one, if you think that one of them might suit your needs.`;
|
|
5531
|
-
const superChoiceParagraphTwo = `The content on this page and on the following pages relating to superannuation is provided by Simple Financial Choices. The superannuation funds presented below are neither selected nor recommended by your employer nor by Flare HR.`;
|
|
5532
|
-
const superChoiceParagraphThree = `
|
|
5531
|
+
const superChoiceParagraphTwo = `The content on this page and on the following pages relating to superannuation is provided by Simple Financial Choices (SFC), except for any content in relation to QSuper which is prepared, and provided to SFC, by QSuper Board ABN 32 125 059 006. The superannuation funds presented below are neither selected nor recommended by your employer nor by Flare HR.`;
|
|
5532
|
+
const superChoiceParagraphThree = `Simple Financial Choices is not recommending these funds as being suitable for you because there are many super funds out there and you will need to choose what is best for you. If you are unsure, obtain your own advice. You should be aware that, if you do choose one of these funds, Flare and its associated entities will normally receive a fee for you doing so.`;
|
|
5533
5533
|
return (h(Host, null, h("div", { class: "container mt-0 mb-0" }, h("div", { class: "row justify-content-center" }, h("div", { class: "col" }, h("a", { class: "text-decoration-none", href: navigationService.toExternalUrl('https://slatesuper.com.au/product-disclosure-statement-pdf'), target: "_blank" }, h("p", { class: "mt-3 small text-center mb-1 text-dark" }, "Powered by"), h("h5", { class: "font-weight-bold text-center mb-4" }, h("span", { class: "text-dark mr-1" }, "Simple Financial"), h("span", { class: "simple-choices-text" }, "Choices"))))), h("div", { class: "row justify-content-center" }, h("div", { class: "col" }, h("p", { class: "text-center" }, superChoiceParagraphOne), h("p", { class: "text-center small" }, superChoiceParagraphTwo), h("p", { class: "text-center small" }, superChoiceParagraphThree))), h("div", { class: "row" }, h("div", { class: "col" }, h("sss-notifications-section", null))), h("div", { class: "row justify-content-center mt-4" }, h("div", { class: "col col-sm-10 col-md-8 col-xl-7" }, h("div", { class: "row" }, h("div", { class: "col" }, h("div", { class: "d-flex flex-fill" }, isSome(this.chosenFund) && !this.chosenFund.value.isPromoted && (h("sss-selected-super-choice-section", { fundType: this.chosenFund.value.type, fundName: this.chosenFund.value.name, class: "flex-fill position-relative" }))))), h("div", { class: "row mt-3" }, this.promotedFunds.map((fund) => (h("div", { class: "col-12 col-lg-6 d-flex" }, h("sss-super-choice-item", { class: "card mb-3 mb-lg-0 mx-0 flex-grow-1", logo: fund.logo, isSelected: this.isPromotedFundSelected(fund.fundId), usi: fund.usi, name: fund.name, heading: fund.heading, pdsLink: navigationService.toExternalUrl(fund.pdsLink), features: JSON.stringify(fund.features), callToAction: fund.callToAction, onJoinFundClicked: async () => this.handleJoinSuperClickAsync(fund) }))))), h("div", { class: "row mt-3" }, h("div", { class: "col" }, h("stencil-route-link", { url: SuperSelectionAppRoutes.MyOwnFund }, h("fl-button", { isBlockElement: true, variant: "secondary" }, "I prefer to select another fund")))))))));
|
|
5534
5534
|
}
|
|
5535
5535
|
getPromotedFunds() {
|