@flarehr/apollo-super-selection 3.13.52485 → 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/apollo-super-selection.js +1 -1
- package/dist/lib/apollo-super-selection/{p-30bebd30.entry.js → p-01a9f4a4.entry.js} +1 -1
- package/dist/lib/apollo-super-selection/{p-cbe37145.js → p-082669d9.js} +1 -1
- package/dist/lib/apollo-super-selection/{p-55737760.entry.js → p-20136efe.entry.js} +1 -1
- package/dist/lib/apollo-super-selection/{p-2bd70644.system.entry.js → p-285da037.system.entry.js} +1 -1
- package/dist/lib/apollo-super-selection/{p-9b5fb4bc.system.js → p-38ee2795.system.js} +1 -1
- package/dist/lib/apollo-super-selection/p-574c7d9b.system.entry.js +69 -0
- package/dist/lib/apollo-super-selection/{p-59a986b0.js → p-61734b66.js} +1 -1
- package/dist/lib/apollo-super-selection/p-642db1f7.system.entry.js +1 -0
- package/dist/lib/apollo-super-selection/{p-2bbd0732.system.entry.js → p-64ebe17d.system.entry.js} +1 -1
- package/dist/lib/apollo-super-selection/p-89495496.entry.js +14 -0
- package/dist/lib/apollo-super-selection/{p-52cb55a8.system.entry.js → p-8cbfc343.system.entry.js} +1 -1
- package/dist/lib/apollo-super-selection/{p-fbcce741.entry.js → p-a98c2760.entry.js} +1 -1
- package/dist/lib/apollo-super-selection/{p-cc9c37a4.entry.js → p-abedb220.entry.js} +1 -1
- package/dist/lib/apollo-super-selection/p-ae4f5e0b.system.js +1 -0
- package/dist/lib/apollo-super-selection/p-c5e41889.entry.js +1 -0
- package/dist/lib/apollo-super-selection/{p-7b72a245.system.entry.js → p-cd49a6b7.system.entry.js} +1 -1
- package/dist/lib/apollo-super-selection/p-d82b00ed.system.js +1 -0
- package/dist/lib/apollo-super-selection/p-f15bf700.system.entry.js +1 -0
- package/dist/lib/apollo-super-selection/{p-84240b0b.entry.js → p-f7a45412.entry.js} +1 -1
- package/dist/lib/cjs/{active-router-08eabf9a.js → active-router-e92fd784.js} +1 -1
- package/dist/lib/cjs/apollo-super-selection.cjs.js +2 -2
- package/dist/lib/cjs/context-consumer.cjs.entry.js +1 -1
- package/dist/lib/cjs/{fl-button_43.cjs.entry.js → fl-button_44.cjs.entry.js} +54 -20
- package/dist/lib/cjs/fl-style-guide.cjs.entry.js +1 -1
- package/dist/lib/cjs/{index-b2214bec.js → index-942e6faa.js} +3 -0
- package/dist/lib/cjs/loader.cjs.js +2 -2
- package/dist/lib/cjs/stencil-async-content.cjs.entry.js +1 -1
- package/dist/lib/cjs/stencil-route-title.cjs.entry.js +2 -2
- package/dist/lib/cjs/stencil-router-prompt.cjs.entry.js +2 -2
- package/dist/lib/cjs/stencil-router-redirect.cjs.entry.js +2 -2
- package/dist/lib/collection/collection-manifest.json +2 -0
- 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-fund.js +19 -4
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-not-supported.css +23 -0
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-not-supported.js +52 -0
- 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/services/super-selection-app.service.js +3 -0
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +2 -2
- package/dist/lib/esm/{active-router-09eb3641.js → active-router-4c80d3d2.js} +1 -1
- package/dist/lib/esm/apollo-super-selection.js +2 -2
- package/dist/lib/esm/context-consumer.entry.js +1 -1
- package/dist/lib/esm/{fl-button_43.entry.js → fl-button_44.entry.js} +54 -21
- package/dist/lib/esm/fl-style-guide.entry.js +1 -1
- package/dist/lib/esm/{index-227ab0f1.js → index-0496d1af.js} +3 -0
- package/dist/lib/esm/loader.js +2 -2
- package/dist/lib/esm/stencil-async-content.entry.js +1 -1
- package/dist/lib/esm/stencil-route-title.entry.js +2 -2
- package/dist/lib/esm/stencil-router-prompt.entry.js +2 -2
- package/dist/lib/esm/stencil-router-redirect.entry.js +2 -2
- package/dist/lib/esm-es5/{active-router-09eb3641.js → active-router-4c80d3d2.js} +1 -1
- package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
- package/dist/lib/esm-es5/context-consumer.entry.js +1 -1
- package/dist/lib/esm-es5/{fl-button_43.entry.js → fl-button_44.entry.js} +2 -2
- package/dist/lib/esm-es5/fl-style-guide.entry.js +1 -1
- package/dist/lib/esm-es5/{index-227ab0f1.js → index-0496d1af.js} +1 -1
- package/dist/lib/esm-es5/loader.js +1 -1
- package/dist/lib/esm-es5/stencil-async-content.entry.js +1 -1
- package/dist/lib/esm-es5/stencil-route-title.entry.js +1 -1
- package/dist/lib/esm-es5/stencil-router-prompt.entry.js +1 -1
- package/dist/lib/esm-es5/stencil-router-redirect.entry.js +1 -1
- package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +2 -0
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.d.ts +4 -0
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-not-supported.d.ts +7 -0
- package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts +1 -0
- package/dist/lib/types/components.d.ts +14 -0
- package/package.json +1 -1
- package/dist/lib/apollo-super-selection/p-27129f6d.system.js +0 -1
- package/dist/lib/apollo-super-selection/p-48e99aba.system.js +0 -1
- package/dist/lib/apollo-super-selection/p-4ceefd14.system.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-943b206b.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-97464de4.system.entry.js +0 -69
- package/dist/lib/apollo-super-selection/p-cc209002.system.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-e974dc25.entry.js +0 -14
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { Component, Event, h, Host } from '@stencil/core';
|
|
2
|
+
export class SmsfNotSupportedDialog {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.standardChoiceFormUrl = '/super-selection/embed/v1.0/app/assets/Superannuation_Standard_Choice_Form.pdf';
|
|
5
|
+
this.handleContinue = () => {
|
|
6
|
+
this.continue.emit();
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
return (h(Host, null,
|
|
11
|
+
h("div", { class: "overlay" }),
|
|
12
|
+
h("div", { class: "dialog" },
|
|
13
|
+
h("div", { class: "card p-4 mt-4 bg-light text-center" },
|
|
14
|
+
h("div", { style: { 'text-align': 'center' } },
|
|
15
|
+
h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "32", fill: "orange", viewBox: "0 0 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
|
+
h("p", { class: "small mt-4 mb-0" },
|
|
18
|
+
"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",
|
|
19
|
+
' ',
|
|
20
|
+
h("a", { target: "_blank", href: this.standardChoiceFormUrl }, "standard choice form"),
|
|
21
|
+
' ',
|
|
22
|
+
"for your SMSF details."),
|
|
23
|
+
h("div", { class: "d-flex mt-4" },
|
|
24
|
+
h("div", { class: "w-25" }),
|
|
25
|
+
h("div", { class: "w-50" },
|
|
26
|
+
h("fl-button", { onClick: this.handleContinue, isBlockElement: true, variant: "primary" },
|
|
27
|
+
h("span", null, "Continue"))))))));
|
|
28
|
+
}
|
|
29
|
+
static get is() { return "sss-smsf-not-supported-dialog"; }
|
|
30
|
+
static get originalStyleUrls() { return {
|
|
31
|
+
"$": ["self-managed-not-supported.scss"]
|
|
32
|
+
}; }
|
|
33
|
+
static get styleUrls() { return {
|
|
34
|
+
"$": ["self-managed-not-supported.css"]
|
|
35
|
+
}; }
|
|
36
|
+
static get events() { return [{
|
|
37
|
+
"method": "continue",
|
|
38
|
+
"name": "continue",
|
|
39
|
+
"bubbles": true,
|
|
40
|
+
"cancelable": true,
|
|
41
|
+
"composed": true,
|
|
42
|
+
"docs": {
|
|
43
|
+
"tags": [],
|
|
44
|
+
"text": ""
|
|
45
|
+
},
|
|
46
|
+
"complexType": {
|
|
47
|
+
"original": "void",
|
|
48
|
+
"resolved": "void",
|
|
49
|
+
"references": {}
|
|
50
|
+
}
|
|
51
|
+
}]; }
|
|
52
|
+
}
|
|
@@ -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/services/super-selection-app.service.js
CHANGED
|
@@ -58,6 +58,9 @@ export class SuperSelectionAppService {
|
|
|
58
58
|
}
|
|
59
59
|
return this._state.jwt.value;
|
|
60
60
|
}
|
|
61
|
+
get showSmsfNotSupported() {
|
|
62
|
+
return pipe(this._state.superBuyer, O.map((superBuyer) => superBuyer.showSmsfNotSupported), O.getOrElse(() => false));
|
|
63
|
+
}
|
|
61
64
|
completeSuperSelectionFlow() {
|
|
62
65
|
this._state.hasSuccessPageBeenAcknowledged = true;
|
|
63
66
|
}
|
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" },
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-0496d1af.js';
|
|
2
2
|
import './datorama-akita-79ce4385.js';
|
|
3
3
|
import './delay-c0555599.js';
|
|
4
4
|
import { g as globalScripts } from './app-globals-7ac1ffba.js';
|
|
@@ -17,5 +17,5 @@ const patchBrowser = () => {
|
|
|
17
17
|
|
|
18
18
|
patchBrowser().then(options => {
|
|
19
19
|
globalScripts();
|
|
20
|
-
return bootstrapLazy([["fl-style-guide",[[1,"fl-style-guide",{"themeCssUrl":[1,"theme-css-url"]}]]],["context-consumer",[[0,"context-consumer",{"context":[16],"renderer":[16],"subscribe":[16],"unsubscribe":[32]}]]],["stencil-async-content",[[0,"stencil-async-content",{"documentLocation":[1,"document-location"],"content":[32]}]]],["stencil-route-title",[[0,"stencil-route-title",{"titleSuffix":[1,"title-suffix"],"pageTitle":[1,"page-title"]}]]],["stencil-router-prompt",[[0,"stencil-router-prompt",{"when":[4],"message":[1],"history":[16],"unblock":[32]}]]],["stencil-router-redirect",[[0,"stencil-router-redirect",{"history":[16],"root":[1],"url":[1]}]]],["fl-
|
|
20
|
+
return bootstrapLazy([["fl-style-guide",[[1,"fl-style-guide",{"themeCssUrl":[1,"theme-css-url"]}]]],["context-consumer",[[0,"context-consumer",{"context":[16],"renderer":[16],"subscribe":[16],"unsubscribe":[32]}]]],["stencil-async-content",[[0,"stencil-async-content",{"documentLocation":[1,"document-location"],"content":[32]}]]],["stencil-route-title",[[0,"stencil-route-title",{"titleSuffix":[1,"title-suffix"],"pageTitle":[1,"page-title"]}]]],["stencil-router-prompt",[[0,"stencil-router-prompt",{"when":[4],"message":[1],"history":[16],"unblock":[32]}]]],["stencil-router-redirect",[[0,"stencil-router-redirect",{"history":[16],"root":[1],"url":[1]}]]],["fl-button_44",[[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"]}]]]], options);
|
|
21
21
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as registerInstance, h, c as createEvent, g as getRenderingRef, f as forceUpdate, H as Host, a as getAssetPath, d as getElement, e as getContext, s as setErrorHandler } from './index-
|
|
1
|
+
import { r as registerInstance, h, c as createEvent, g as getRenderingRef, f as forceUpdate, H as Host, a as getAssetPath, d as getElement, e as getContext, s as setErrorHandler } from './index-0496d1af.js';
|
|
2
2
|
import { f as from, m as map, S as SimpleOuterSubscriber, a as SimpleInnerSubscriber, i as innerSubscribe, d as distinctUntilChanged, b as filter, c as StoreConfig, g as Store, Q as Query } from './datorama-akita-79ce4385.js';
|
|
3
3
|
import { g as isArray, O as Observable, j as isFunction, k as async, a as Subscriber } from './delay-c0555599.js';
|
|
4
|
-
import { A as ActiveRouter } from './active-router-
|
|
4
|
+
import { A as ActiveRouter } from './active-router-4c80d3d2.js';
|
|
5
5
|
|
|
6
6
|
function noop() { }
|
|
7
7
|
|
|
@@ -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
|
|
@@ -3830,6 +3830,9 @@ class SuperSelectionAppService {
|
|
|
3830
3830
|
}
|
|
3831
3831
|
return this._state.jwt.value;
|
|
3832
3832
|
}
|
|
3833
|
+
get showSmsfNotSupported() {
|
|
3834
|
+
return _function.pipe(this._state.superBuyer, Option.map((superBuyer) => superBuyer.showSmsfNotSupported), Option.getOrElse(() => false));
|
|
3835
|
+
}
|
|
3833
3836
|
completeSuperSelectionFlow() {
|
|
3834
3837
|
this._state.hasSuccessPageBeenAcknowledged = true;
|
|
3835
3838
|
}
|
|
@@ -4222,7 +4225,7 @@ const FooterSection = class {
|
|
|
4222
4225
|
registerInstance(this, hostRef);
|
|
4223
4226
|
}
|
|
4224
4227
|
render() {
|
|
4225
|
-
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())));
|
|
4226
4229
|
}
|
|
4227
4230
|
appVersionBadge() {
|
|
4228
4231
|
return (h("small", { style: { opacity: '0.5' }, class: "text-muted" }, "Powered by Flare, v", AppVersion));
|
|
@@ -4912,7 +4915,12 @@ SelectedSuperChoiceSection.style = selectedSuperChoiceSectionCss;
|
|
|
4912
4915
|
const SelfManagedFund = class {
|
|
4913
4916
|
constructor(hostRef) {
|
|
4914
4917
|
registerInstance(this, hostRef);
|
|
4918
|
+
this.showSmsfNotSupported = false;
|
|
4915
4919
|
this.eventTrackingService = EventTrackingService.Instance;
|
|
4920
|
+
this.success = () => {
|
|
4921
|
+
superSelectionAppService.markSuperSelectionAsSubmitted();
|
|
4922
|
+
navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.Success);
|
|
4923
|
+
};
|
|
4916
4924
|
}
|
|
4917
4925
|
componentDidLoad() {
|
|
4918
4926
|
return this.eventTrackingService.TrackSmsfSuperFundDetailViewedAsync();
|
|
@@ -4924,7 +4932,11 @@ const SelfManagedFund = class {
|
|
|
4924
4932
|
state.selfManagedFundForm = Object.assign(Object.assign({}, state.selfManagedFundForm), event.detail);
|
|
4925
4933
|
} })), h("sss-standard-choice-form", { onStandardChoiceFormSignatureUpdated: (event) => {
|
|
4926
4934
|
state.selfManagedFundForm = Object.assign(Object.assign({}, state.selfManagedFundForm), event.detail);
|
|
4927
|
-
} })), h("div", { class: "mt-4" }, h("sss-notifications-section", null)), h("div", { class: "d-flex mt-4" }, h("div", { class: "flex-grow-1 w-50" }, h("div", { class: "mr-2" }, h("fl-button", { onClick: () => navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ChoicePage), isBlockElement: true, variant: "secondary" }, h("span", null, "Back")))), h("div", { class: "flex-grow-1 w-50" }, h("div", { class: "ml-2" }, h("fl-promise-button", { isBlockElement: true, promiseFn: () => this.handleSubmitForm() }, h("span", null, "Submit"))))))));
|
|
4935
|
+
} }), this.showSmsfNotSupported && (h("sss-smsf-not-supported-dialog", { ref: (el) => (this.notSupportedDialog = el), onContinue: this.success }))), h("div", { class: "mt-4" }, h("sss-notifications-section", null)), h("div", { class: "d-flex mt-4" }, h("div", { class: "flex-grow-1 w-50" }, h("div", { class: "mr-2" }, h("fl-button", { onClick: () => navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ChoicePage), isBlockElement: true, variant: "secondary" }, h("span", null, "Back")))), h("div", { class: "flex-grow-1 w-50" }, h("div", { class: "ml-2" }, h("fl-promise-button", { isBlockElement: true, promiseFn: () => this.handleSubmitForm() }, h("span", null, "Submit"))))))));
|
|
4936
|
+
}
|
|
4937
|
+
componentDidRender() {
|
|
4938
|
+
var _a;
|
|
4939
|
+
this.showSmsfNotSupported && ((_a = this.notSupportedDialog) === null || _a === void 0 ? void 0 : _a.scrollIntoView());
|
|
4928
4940
|
}
|
|
4929
4941
|
async handleSubmitForm() {
|
|
4930
4942
|
this.formState = 'validated';
|
|
@@ -4948,8 +4960,12 @@ const SelfManagedFund = class {
|
|
|
4948
4960
|
standardChoiceFormSignature: state.selfManagedFundForm.standardChoiceFormSignature
|
|
4949
4961
|
};
|
|
4950
4962
|
await customFundChoiceApi.submitSelfManagedFundChoiceAsync(requestDto);
|
|
4951
|
-
superSelectionAppService.
|
|
4952
|
-
|
|
4963
|
+
if (superSelectionAppService.showSmsfNotSupported) {
|
|
4964
|
+
this.showSmsfNotSupported = true;
|
|
4965
|
+
}
|
|
4966
|
+
else {
|
|
4967
|
+
this.success();
|
|
4968
|
+
}
|
|
4953
4969
|
}
|
|
4954
4970
|
}
|
|
4955
4971
|
};
|
|
@@ -5183,11 +5199,11 @@ const { state: state$2 } = createStore(initialSlateSuper);
|
|
|
5183
5199
|
|
|
5184
5200
|
class SlateIFrameBuilder {
|
|
5185
5201
|
constructor() {
|
|
5186
|
-
this.hostIsLocalSuperSelection = () => window.location.origin ==
|
|
5187
|
-
this.hostIsDeployed = () => window.location.origin.endsWith(
|
|
5188
|
-
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');
|
|
5189
5205
|
this.environmentDiscriminator = () => {
|
|
5190
|
-
|
|
5206
|
+
const discriminator = window.location.hostname.toLowerCase().split('.')[0];
|
|
5191
5207
|
switch (discriminator) {
|
|
5192
5208
|
case 'autodev-partner':
|
|
5193
5209
|
case 'test-partner':
|
|
@@ -5205,9 +5221,9 @@ class SlateIFrameBuilder {
|
|
|
5205
5221
|
build(iframe, history) {
|
|
5206
5222
|
if (!(iframe === null || iframe === void 0 ? void 0 : iframe.contentDocument))
|
|
5207
5223
|
return;
|
|
5208
|
-
const baseUrl = this.hostIsLocalSuperSelection() || this.hostIsDeployed()
|
|
5209
|
-
`${window.location.origin}/super-selection/embed/v1.0/app`
|
|
5210
|
-
|
|
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';
|
|
5211
5227
|
const redirectUrl = `${baseUrl}/slate-redirect.html`;
|
|
5212
5228
|
const postData = Object.assign(Object.assign({}, this.getSlateJoinMemberData()), { successRedirectUrl: redirectUrl, cancelRedirectUrl: redirectUrl, skipConsolidation: this.skipConsolidation() });
|
|
5213
5229
|
if (this.includeJwt()) {
|
|
@@ -5219,7 +5235,7 @@ class SlateIFrameBuilder {
|
|
|
5219
5235
|
return;
|
|
5220
5236
|
}
|
|
5221
5237
|
if (data.sender === 'slate-redirect') {
|
|
5222
|
-
window.removeEventListener(
|
|
5238
|
+
window.removeEventListener('message', handleMessage);
|
|
5223
5239
|
switch (data.type) {
|
|
5224
5240
|
case 'success':
|
|
5225
5241
|
if (data.memberNumber) {
|
|
@@ -5234,7 +5250,7 @@ class SlateIFrameBuilder {
|
|
|
5234
5250
|
}
|
|
5235
5251
|
return;
|
|
5236
5252
|
}
|
|
5237
|
-
if (data.sender === 'flare' && origin.endsWith(
|
|
5253
|
+
if (data.sender === 'flare' && origin.endsWith('join.slatesuper.com.au')) {
|
|
5238
5254
|
switch (data.type) {
|
|
5239
5255
|
case 'contentResized':
|
|
5240
5256
|
iframe.height = data.height > 0 ? data.height : iframe.height;
|
|
@@ -5243,10 +5259,10 @@ class SlateIFrameBuilder {
|
|
|
5243
5259
|
}
|
|
5244
5260
|
}
|
|
5245
5261
|
};
|
|
5246
|
-
window.addEventListener(
|
|
5262
|
+
window.addEventListener('message', handleMessage);
|
|
5247
5263
|
const iframeDoc = iframe.contentDocument;
|
|
5248
5264
|
iframeDoc.open();
|
|
5249
|
-
const form = iframeDoc.createElement(
|
|
5265
|
+
const form = iframeDoc.createElement('form');
|
|
5250
5266
|
form.method = 'POST';
|
|
5251
5267
|
form.target = '_self';
|
|
5252
5268
|
form.action = this.slateJoinAppUrl();
|
|
@@ -5362,6 +5378,23 @@ const SlatesuperHeader = class {
|
|
|
5362
5378
|
};
|
|
5363
5379
|
SlatesuperHeader.style = slatesuperHeaderCss;
|
|
5364
5380
|
|
|
5381
|
+
const selfManagedNotSupportedCss = "html{scroll-behavior:smooth}img.fluid-fit{-o-object-fit:cover;object-fit:cover}.overlay{position:absolute;top:0;left:0;z-index:100;background-color:#fff;opacity:0.7;width:100%;height:100%}.dialog{z-index:101;position:relative}";
|
|
5382
|
+
|
|
5383
|
+
const SmsfNotSupportedDialog = class {
|
|
5384
|
+
constructor(hostRef) {
|
|
5385
|
+
registerInstance(this, hostRef);
|
|
5386
|
+
this.continue = createEvent(this, "continue", 7);
|
|
5387
|
+
this.standardChoiceFormUrl = '/super-selection/embed/v1.0/app/assets/Superannuation_Standard_Choice_Form.pdf';
|
|
5388
|
+
this.handleContinue = () => {
|
|
5389
|
+
this.continue.emit();
|
|
5390
|
+
};
|
|
5391
|
+
}
|
|
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: { '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
|
+
}
|
|
5395
|
+
};
|
|
5396
|
+
SmsfNotSupportedDialog.style = selfManagedNotSupportedCss;
|
|
5397
|
+
|
|
5365
5398
|
const StandardChoiceFormInputDefaultFund = class {
|
|
5366
5399
|
constructor(hostRef) {
|
|
5367
5400
|
registerInstance(this, hostRef);
|
|
@@ -5495,8 +5528,8 @@ const SuperChoicePage = class {
|
|
|
5495
5528
|
}
|
|
5496
5529
|
render() {
|
|
5497
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.`;
|
|
5498
|
-
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.`;
|
|
5499
|
-
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.`;
|
|
5500
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")))))))));
|
|
5501
5534
|
}
|
|
5502
5535
|
getPromotedFunds() {
|
|
@@ -16920,4 +16953,4 @@ const SuperSelectionAppHost = class {
|
|
|
16920
16953
|
};
|
|
16921
16954
|
SuperSelectionAppHost.style = superSelectionAppHostCss;
|
|
16922
16955
|
|
|
16923
|
-
export { ButtonComponent as fl_button, Dropdown as fl_dropdown, SelectInputAsync as fl_dropdown_async, LoadingIndicator as fl_loading_indicator, PromiseButton as fl_promise_button, CustomFund as sss_custom_fund, DefaultFund as sss_default_fund, FooterSection as sss_footer_section, LoadingPage as sss_loading_page, MyOwnFund as sss_my_own_fund, MyOwnFundInputs as sss_my_own_fund_inputs, NotificationsSection as sss_notifications_section, QsuperConfirmHeader as sss_qsuper_confirm_header, QsuperConsent as sss_qsuper_consent, QsuperInsuranceOptIn as sss_qsuper_insurance_opt_in, QsuperInsuranceQuestions as sss_qsuper_insurance_questions, QSuperConfirmSelection as sss_qsuper_join, QsuperLayout as sss_qsuper_layout, Question1 as sss_qsuper_question_1, Question2 as sss_qsuper_question_2, Question3 as sss_qsuper_question_3, Question4 as sss_qsuper_question_4, Question5 as sss_qsuper_question_5, Question6 as sss_qsuper_question_6, Question7 as sss_qsuper_question_7, Question8 as sss_qsuper_question_8, QsuperQuestionYesNoButtons as sss_qsuper_question_yes_no_buttons, SelectedSuperChoiceSection as sss_selected_super_choice_section, SelfManagedFund as sss_self_managed_fund, SelfManagedFundInputs as sss_self_managed_fund_inputs, SlateJoinPage as sss_slate_join_page, SlateStandardChoicePage as sss_slate_standard_choice_page, SlatesuperHeader as sss_slatesuper_header, StandardChoiceFormInputDefaultFund as sss_standard_choice_form, Success as sss_success, SuperChoiceItem as sss_super_choice_item, SuperChoicePage as sss_super_choice_page, Route as stencil_route, RouteLink as stencil_route_link, RouteSwitch as stencil_route_switch, Router as stencil_router, SuperSelectionApp as super_selection_app, SuperSelectionAppHost as super_selection_app_host };
|
|
16956
|
+
export { ButtonComponent as fl_button, Dropdown as fl_dropdown, SelectInputAsync as fl_dropdown_async, LoadingIndicator as fl_loading_indicator, PromiseButton as fl_promise_button, CustomFund as sss_custom_fund, DefaultFund as sss_default_fund, FooterSection as sss_footer_section, LoadingPage as sss_loading_page, MyOwnFund as sss_my_own_fund, MyOwnFundInputs as sss_my_own_fund_inputs, NotificationsSection as sss_notifications_section, QsuperConfirmHeader as sss_qsuper_confirm_header, QsuperConsent as sss_qsuper_consent, QsuperInsuranceOptIn as sss_qsuper_insurance_opt_in, QsuperInsuranceQuestions as sss_qsuper_insurance_questions, QSuperConfirmSelection as sss_qsuper_join, QsuperLayout as sss_qsuper_layout, Question1 as sss_qsuper_question_1, Question2 as sss_qsuper_question_2, Question3 as sss_qsuper_question_3, Question4 as sss_qsuper_question_4, Question5 as sss_qsuper_question_5, Question6 as sss_qsuper_question_6, Question7 as sss_qsuper_question_7, Question8 as sss_qsuper_question_8, QsuperQuestionYesNoButtons as sss_qsuper_question_yes_no_buttons, SelectedSuperChoiceSection as sss_selected_super_choice_section, SelfManagedFund as sss_self_managed_fund, SelfManagedFundInputs as sss_self_managed_fund_inputs, SlateJoinPage as sss_slate_join_page, SlateStandardChoicePage as sss_slate_standard_choice_page, SlatesuperHeader as sss_slatesuper_header, SmsfNotSupportedDialog as sss_smsf_not_supported_dialog, StandardChoiceFormInputDefaultFund as sss_standard_choice_form, Success as sss_success, SuperChoiceItem as sss_super_choice_item, SuperChoicePage as sss_super_choice_page, Route as stencil_route, RouteLink as stencil_route_link, RouteSwitch as stencil_route_switch, Router as stencil_router, SuperSelectionApp as super_selection_app, SuperSelectionAppHost as super_selection_app_host };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-0496d1af.js';
|
|
2
2
|
import { g as isArray, O as Observable, l as isScheduler, k as async, d as of, f as delay } from './delay-c0555599.js';
|
|
3
3
|
|
|
4
4
|
function isNumeric(val) {
|
|
@@ -1152,6 +1152,9 @@ const postUpdateComponent = (hostRef) => {
|
|
|
1152
1152
|
const endPostUpdate = createTime('postUpdate', tagName);
|
|
1153
1153
|
const instance = hostRef.$lazyInstance$ ;
|
|
1154
1154
|
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
1155
|
+
{
|
|
1156
|
+
safeCall(instance, 'componentDidRender');
|
|
1157
|
+
}
|
|
1155
1158
|
if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
|
|
1156
1159
|
hostRef.$flags$ |= 64 /* hasLoadedComponent */;
|
|
1157
1160
|
{
|
package/dist/lib/esm/loader.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-0496d1af.js';
|
|
2
2
|
import './datorama-akita-79ce4385.js';
|
|
3
3
|
import './delay-c0555599.js';
|
|
4
4
|
import { g as globalScripts } from './app-globals-7ac1ffba.js';
|
|
@@ -14,7 +14,7 @@ const defineCustomElements = (win, options) => {
|
|
|
14
14
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
15
15
|
return patchEsm().then(() => {
|
|
16
16
|
globalScripts();
|
|
17
|
-
return bootstrapLazy([["fl-style-guide",[[1,"fl-style-guide",{"themeCssUrl":[1,"theme-css-url"]}]]],["context-consumer",[[0,"context-consumer",{"context":[16],"renderer":[16],"subscribe":[16],"unsubscribe":[32]}]]],["stencil-async-content",[[0,"stencil-async-content",{"documentLocation":[1,"document-location"],"content":[32]}]]],["stencil-route-title",[[0,"stencil-route-title",{"titleSuffix":[1,"title-suffix"],"pageTitle":[1,"page-title"]}]]],["stencil-router-prompt",[[0,"stencil-router-prompt",{"when":[4],"message":[1],"history":[16],"unblock":[32]}]]],["stencil-router-redirect",[[0,"stencil-router-redirect",{"history":[16],"root":[1],"url":[1]}]]],["fl-
|
|
17
|
+
return bootstrapLazy([["fl-style-guide",[[1,"fl-style-guide",{"themeCssUrl":[1,"theme-css-url"]}]]],["context-consumer",[[0,"context-consumer",{"context":[16],"renderer":[16],"subscribe":[16],"unsubscribe":[32]}]]],["stencil-async-content",[[0,"stencil-async-content",{"documentLocation":[1,"document-location"],"content":[32]}]]],["stencil-route-title",[[0,"stencil-route-title",{"titleSuffix":[1,"title-suffix"],"pageTitle":[1,"page-title"]}]]],["stencil-router-prompt",[[0,"stencil-router-prompt",{"when":[4],"message":[1],"history":[16],"unblock":[32]}]]],["stencil-router-redirect",[[0,"stencil-router-redirect",{"history":[16],"root":[1],"url":[1]}]]],["fl-button_44",[[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"]}]]]], options);
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, d as getElement } from './index-
|
|
2
|
-
import { A as ActiveRouter } from './active-router-
|
|
1
|
+
import { r as registerInstance, d as getElement } from './index-0496d1af.js';
|
|
2
|
+
import { A as ActiveRouter } from './active-router-4c80d3d2.js';
|
|
3
3
|
|
|
4
4
|
const RouteTitle = class {
|
|
5
5
|
constructor(hostRef) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, d as getElement } from './index-
|
|
2
|
-
import { A as ActiveRouter } from './active-router-
|
|
1
|
+
import { r as registerInstance, d as getElement } from './index-0496d1af.js';
|
|
2
|
+
import { A as ActiveRouter } from './active-router-4c80d3d2.js';
|
|
3
3
|
|
|
4
4
|
const StencilRouterPrompt = class {
|
|
5
5
|
constructor(hostRef) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, d as getElement } from './index-
|
|
2
|
-
import { A as ActiveRouter } from './active-router-
|
|
1
|
+
import { r as registerInstance, d as getElement } from './index-0496d1af.js';
|
|
2
|
+
import { A as ActiveRouter } from './active-router-4c80d3d2.js';
|
|
3
3
|
|
|
4
4
|
// Get the URL for this route link without the root from the router
|
|
5
5
|
const getUrl = (url, root) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __spreadArrays=this&&this.__spreadArrays||function(){for(var r=0,e=0,t=arguments.length;e<t;e++)r+=arguments[e].length;for(var n=Array(r),a=0,e=0;e<t;e++)for(var o=arguments[e],i=0,c=o.length;i<c;i++,a++)n[a]=o[i];return n};import{h}from"./index-
|
|
1
|
+
var __spreadArrays=this&&this.__spreadArrays||function(){for(var r=0,e=0,t=arguments.length;e<t;e++)r+=arguments[e].length;for(var n=Array(r),a=0,e=0;e<t;e++)for(var o=arguments[e],i=0,c=o.length;i<c;i++,a++)n[a]=o[i];return n};import{h}from"./index-0496d1af.js";var createProviderConsumer=function(r,e){var t=new Map;var n=r;var a=function(r,e){if(Array.isArray(r)){__spreadArrays(r).forEach((function(r){e[r]=n[r]}))}else{e[r]=Object.assign({},n)}};var o=function(r,e){if(!t.has(r)){t.set(r,e);a(e,r)}return function(){if(t.has(r)){t.delete(r)}}};var i=function(r,e){var o=r.state;n=o;t.forEach(a);return e};var c=function(r,t){return e(o,t[0])};var s=function(r,e){var n=r.prototype;var a=n.connectedCallback;var i=n.disconnectedCallback;n.connectedCallback=function(){o(this,e);if(a){return a.call(this)}};n.disconnectedCallback=function(){t.delete(this);if(i){i.call(this)}}};return{Provider:i,Consumer:c,injectProps:s}};var ActiveRouter=createProviderConsumer({historyType:"browser",location:{pathname:"",query:{},key:""},titleSuffix:"",root:"/",routeViewsUpdated:function(){}},(function(r,e){return h("context-consumer",{subscribe:r,renderer:e})}));export{ActiveRouter as A};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as promiseResolve,b as bootstrapLazy}from"./index-
|
|
1
|
+
import{p as promiseResolve,b as bootstrapLazy}from"./index-0496d1af.js";import"./datorama-akita-79ce4385.js";import"./delay-c0555599.js";import{g as globalScripts}from"./app-globals-7ac1ffba.js";var patchBrowser=function(){var s=import.meta.url;var e={};if(s!==""){e.resourcesUrl=new URL(".",s).href}return promiseResolve(e)};patchBrowser().then((function(s){globalScripts();return bootstrapLazy([["fl-style-guide",[[1,"fl-style-guide",{themeCssUrl:[1,"theme-css-url"]}]]],["context-consumer",[[0,"context-consumer",{context:[16],renderer:[16],subscribe:[16],unsubscribe:[32]}]]],["stencil-async-content",[[0,"stencil-async-content",{documentLocation:[1,"document-location"],content:[32]}]]],["stencil-route-title",[[0,"stencil-route-title",{titleSuffix:[1,"title-suffix"],pageTitle:[1,"page-title"]}]]],["stencil-router-prompt",[[0,"stencil-router-prompt",{when:[4],message:[1],history:[16],unblock:[32]}]]],["stencil-router-redirect",[[0,"stencil-router-redirect",{history:[16],root:[1],url:[1]}]]],["fl-button_44",[[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)}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as registerInstance,d as getElement}from"./index-
|
|
1
|
+
import{r as registerInstance,d as getElement}from"./index-0496d1af.js";var ContextConsumer=function(){function e(e){registerInstance(this,e);this.context={};this.renderer=function(){return null}}e.prototype.connectedCallback=function(){if(this.subscribe!=null){this.unsubscribe=this.subscribe(this.el,"context")}};e.prototype.disconnectedCallback=function(){if(this.unsubscribe!=null){this.unsubscribe()}};e.prototype.render=function(){return this.renderer(Object.assign({},this.context))};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();export{ContextConsumer as context_consumer};
|