@flarehr/apollo-super-selection 3.12.52163 → 3.16.52608
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-5b540e03.entry.js +14 -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-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-d30f9e5e.system.entry.js +69 -0
- 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} +40 -6
- 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/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/services/super-selection-app.service.js +3 -0
- 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} +40 -7
- 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-04361731.system.entry.js +0 -69
- 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-bc390910.entry.js +0 -14
- package/dist/lib/apollo-super-selection/p-cc209002.system.entry.js +0 -1
|
@@ -0,0 +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-d30f9e5e.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)}))}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-38ee2795.system.js","./p-ae4f5e0b.system.js"],(function(t){"use strict";var e,r,n;return{setters:[function(t){e=t.r;r=t.d},function(t){n=t.A}],execute:function(){var i=function(t,e){if(t.charAt(0)=="/"&&e.charAt(e.length-1)=="/"){return e.slice(0,e.length-1)+t}return e+t};var o=t("stencil_router_redirect",function(){function t(t){e(this,t)}t.prototype.componentWillLoad=function(){if(this.history&&this.root&&this.url){return this.history.replace(i(this.url,this.root))}};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());n.injectProps(o,["history","root"])}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as l,h as s,H as t}from"./p-
|
|
1
|
+
import{r as l,h as s,H as t}from"./p-082669d9.js";import{g as e,O as i,l as a,k as n,d as r,f as o}from"./p-342cee5a.js";function c(l){return!e(l)&&l-parseFloat(l)+1>=0}function u(l){const{index:s,period:t,subscriber:e}=l;if(e.next(s),!e.closed){if(-1===t)return e.complete();l.index=s+1,this.schedule(l,t)}}const d=l=>{const s=document.querySelector('script[data-fl-namespace="design-system"][data-fl-resources-url]'),t=s&&s.getAttribute("data-fl-resources-url")||"";try{return new URL(l,t).href}catch(s){return`${t}/${l}`}},m=class{constructor(s){l(this,s),this.data=["Apple","Application","Appetizer","Anna","Banana","Archery","Apogee"].map((l=>({label:l,value:l}))),this.searchFunction=l=>{const s=this.data.filter((s=>s.label.toLowerCase().includes(l.toLowerCase())));return r(s).pipe(o(1e3)).toPromise()}}render(){return s(t,null,s("link",{rel:"stylesheet",href:d("beacon.css"),media:"all"}),this.themeCssUrl&&s("link",{rel:"stylesheet",href:this.themeCssUrl,media:"all"}),s("div",{class:"container m-3 p-5 shadow"},s("h1",null,"Beacon"),s("h5",null,"Flare-Apollo Component Library 🚀"),s("div",{class:"row"},s("div",{class:"col"},s("ul",{class:"list-group"},s("li",{class:"list-group-item"},s("small",{class:"text-muted"},"Typography"),s("div",{class:"col"},s("h1",null,"h1 Heading"),s("h2",null,"h2 Sub-heading"),s("h3",null,"h3 Sub-heading"),s("h4",null,"h4 Sub-heading"),s("p",null,"Paragraph"),s("div",{class:"d-flex flex-column"},s("strong",null,"Strong"),s("small",null,"small"),s("a",{href:"https://www.flarehr.com",target:"_blank"},"Weblink")))),s("li",{class:"list-group-item"},s("small",{class:"text-muted"},"Buttons"),s("div",{class:"col-3 my-2"},this.renderButtonVariants())),s("li",{class:"list-group-item"},s("small",{class:"text-muted"},"Loading indicator"),s("div",{class:"col"},s("fl-loading-indicator",null),s("fl-loading-indicator",{theme:"dark"}))),s("li",{class:"list-group-item"},s("small",{class:"text-muted"},"Dropdown"),s("div",{class:"col-4"},s("fl-dropdown",{options:this.data}))),s("li",{class:"list-group-item"},s("small",{class:"text-muted"},"Async Dropdown"),s("div",{class:"col-4"},s("fl-dropdown-async",{"min-search-string-length":"2",searchFunction:this.searchFunction}))),s("li",{class:"list-group-item"},s("small",{class:"text-muted"},"Promise Button"),s("div",{class:"col-3 my-2"},s("fl-promise-button",{isBlockElement:!0,promiseFn:()=>this.takeTime()},"Promise Button block")),s("div",{class:"col-3 my-2"},s("fl-promise-button",{promiseFn:()=>this.takeTime()},"Promise Button")),s("div",{class:"col-3 my-2"},s("fl-promise-button",{variant:"secondary",promiseFn:()=>this.takeTime()},"Secondary Promise Button"))))))))}renderButtonVariants(){return s("ul",{class:"list-group"},s("li",{class:"list-group-item"},s("i",null,"Primary"),s("fl-button",{isBlockElement:!0},"Button")),s("li",{class:"list-group-item"},s("i",null,"Primary, disabled"),s("fl-button",{isBlockElement:!0,disabled:!0},"Button")),s("li",{class:"list-group-item"},s("i",null,"Secondary"),s("fl-button",{isBlockElement:!0,variant:"secondary"},"Button")),s("li",{class:"list-group-item"},s("i",null,"Secondary, disabled"),s("fl-button",{isBlockElement:!0,disabled:!0,variant:"secondary"},"Button")))}async takeTime(){return function(l=0,s,t){let e=-1;return c(s)?e=Number(s)<1?1:Number(s):a(s)&&(t=s),a(t)||(t=n),new i((s=>{const i=c(l)?l:+l-t.now();return t.schedule(u,i,{index:0,period:e,subscriber:s})}))}(2e3*Math.random()+2e3).toPromise()}};m.style="";export{m as fl_style_guide}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
3
|
+
const index = require('./index-942e6faa.js');
|
|
4
4
|
require('./datorama-akita-7f4b082a.js');
|
|
5
5
|
require('./delay-81aff2f1.js');
|
|
6
6
|
const appGlobals = require('./app-globals-45007120.js');
|
|
@@ -19,5 +19,5 @@ const patchBrowser = () => {
|
|
|
19
19
|
|
|
20
20
|
patchBrowser().then(options => {
|
|
21
21
|
appGlobals.globalScripts();
|
|
22
|
-
return index.bootstrapLazy([["fl-style-guide.cjs",[[1,"fl-style-guide",{"themeCssUrl":[1,"theme-css-url"]}]]],["context-consumer.cjs",[[0,"context-consumer",{"context":[16],"renderer":[16],"subscribe":[16],"unsubscribe":[32]}]]],["stencil-async-content.cjs",[[0,"stencil-async-content",{"documentLocation":[1,"document-location"],"content":[32]}]]],["stencil-route-title.cjs",[[0,"stencil-route-title",{"titleSuffix":[1,"title-suffix"],"pageTitle":[1,"page-title"]}]]],["stencil-router-prompt.cjs",[[0,"stencil-router-prompt",{"when":[4],"message":[1],"history":[16],"unblock":[32]}]]],["stencil-router-redirect.cjs",[[0,"stencil-router-redirect",{"history":[16],"root":[1],"url":[1]}]]],["fl-
|
|
22
|
+
return index.bootstrapLazy([["fl-style-guide.cjs",[[1,"fl-style-guide",{"themeCssUrl":[1,"theme-css-url"]}]]],["context-consumer.cjs",[[0,"context-consumer",{"context":[16],"renderer":[16],"subscribe":[16],"unsubscribe":[32]}]]],["stencil-async-content.cjs",[[0,"stencil-async-content",{"documentLocation":[1,"document-location"],"content":[32]}]]],["stencil-route-title.cjs",[[0,"stencil-route-title",{"titleSuffix":[1,"title-suffix"],"pageTitle":[1,"page-title"]}]]],["stencil-router-prompt.cjs",[[0,"stencil-router-prompt",{"when":[4],"message":[1],"history":[16],"unblock":[32]}]]],["stencil-router-redirect.cjs",[[0,"stencil-router-redirect",{"history":[16],"root":[1],"url":[1]}]]],["fl-button_44.cjs",[[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);
|
|
23
23
|
});
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-942e6faa.js');
|
|
6
6
|
const datoramaAkita = require('./datorama-akita-7f4b082a.js');
|
|
7
7
|
const delay = require('./delay-81aff2f1.js');
|
|
8
|
-
const activeRouter = require('./active-router-
|
|
8
|
+
const activeRouter = require('./active-router-e92fd784.js');
|
|
9
9
|
|
|
10
10
|
function noop() { }
|
|
11
11
|
|
|
@@ -265,7 +265,7 @@ class TapSubscriber extends delay.Subscriber {
|
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
-
const AppVersion = '3.
|
|
268
|
+
const AppVersion = '3.16.52608';
|
|
269
269
|
|
|
270
270
|
// -------------------------------------------------------------------------------------
|
|
271
271
|
// guards
|
|
@@ -3834,6 +3834,9 @@ class SuperSelectionAppService {
|
|
|
3834
3834
|
}
|
|
3835
3835
|
return this._state.jwt.value;
|
|
3836
3836
|
}
|
|
3837
|
+
get showSmsfNotSupported() {
|
|
3838
|
+
return _function.pipe(this._state.superBuyer, Option.map((superBuyer) => superBuyer.showSmsfNotSupported), Option.getOrElse(() => false));
|
|
3839
|
+
}
|
|
3837
3840
|
completeSuperSelectionFlow() {
|
|
3838
3841
|
this._state.hasSuccessPageBeenAcknowledged = true;
|
|
3839
3842
|
}
|
|
@@ -4916,7 +4919,12 @@ SelectedSuperChoiceSection.style = selectedSuperChoiceSectionCss;
|
|
|
4916
4919
|
const SelfManagedFund = class {
|
|
4917
4920
|
constructor(hostRef) {
|
|
4918
4921
|
index.registerInstance(this, hostRef);
|
|
4922
|
+
this.showSmsfNotSupported = false;
|
|
4919
4923
|
this.eventTrackingService = EventTrackingService.Instance;
|
|
4924
|
+
this.success = () => {
|
|
4925
|
+
superSelectionAppService.markSuperSelectionAsSubmitted();
|
|
4926
|
+
navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.Success);
|
|
4927
|
+
};
|
|
4920
4928
|
}
|
|
4921
4929
|
componentDidLoad() {
|
|
4922
4930
|
return this.eventTrackingService.TrackSmsfSuperFundDetailViewedAsync();
|
|
@@ -4928,7 +4936,11 @@ const SelfManagedFund = class {
|
|
|
4928
4936
|
state.selfManagedFundForm = Object.assign(Object.assign({}, state.selfManagedFundForm), event.detail);
|
|
4929
4937
|
} })), index.h("sss-standard-choice-form", { onStandardChoiceFormSignatureUpdated: (event) => {
|
|
4930
4938
|
state.selfManagedFundForm = Object.assign(Object.assign({}, state.selfManagedFundForm), event.detail);
|
|
4931
|
-
} })), index.h("div", { class: "mt-4" }, index.h("sss-notifications-section", null)), index.h("div", { class: "d-flex mt-4" }, index.h("div", { class: "flex-grow-1 w-50" }, index.h("div", { class: "mr-2" }, index.h("fl-button", { onClick: () => navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ChoicePage), isBlockElement: true, variant: "secondary" }, index.h("span", null, "Back")))), index.h("div", { class: "flex-grow-1 w-50" }, index.h("div", { class: "ml-2" }, index.h("fl-promise-button", { isBlockElement: true, promiseFn: () => this.handleSubmitForm() }, index.h("span", null, "Submit"))))))));
|
|
4939
|
+
} }), this.showSmsfNotSupported && (index.h("sss-smsf-not-supported-dialog", { ref: (el) => (this.notSupportedDialog = el), onContinue: this.success }))), index.h("div", { class: "mt-4" }, index.h("sss-notifications-section", null)), index.h("div", { class: "d-flex mt-4" }, index.h("div", { class: "flex-grow-1 w-50" }, index.h("div", { class: "mr-2" }, index.h("fl-button", { onClick: () => navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ChoicePage), isBlockElement: true, variant: "secondary" }, index.h("span", null, "Back")))), index.h("div", { class: "flex-grow-1 w-50" }, index.h("div", { class: "ml-2" }, index.h("fl-promise-button", { isBlockElement: true, promiseFn: () => this.handleSubmitForm() }, index.h("span", null, "Submit"))))))));
|
|
4940
|
+
}
|
|
4941
|
+
componentDidRender() {
|
|
4942
|
+
var _a;
|
|
4943
|
+
this.showSmsfNotSupported && ((_a = this.notSupportedDialog) === null || _a === void 0 ? void 0 : _a.scrollIntoView());
|
|
4932
4944
|
}
|
|
4933
4945
|
async handleSubmitForm() {
|
|
4934
4946
|
this.formState = 'validated';
|
|
@@ -4952,8 +4964,12 @@ const SelfManagedFund = class {
|
|
|
4952
4964
|
standardChoiceFormSignature: state.selfManagedFundForm.standardChoiceFormSignature
|
|
4953
4965
|
};
|
|
4954
4966
|
await customFundChoiceApi.submitSelfManagedFundChoiceAsync(requestDto);
|
|
4955
|
-
superSelectionAppService.
|
|
4956
|
-
|
|
4967
|
+
if (superSelectionAppService.showSmsfNotSupported) {
|
|
4968
|
+
this.showSmsfNotSupported = true;
|
|
4969
|
+
}
|
|
4970
|
+
else {
|
|
4971
|
+
this.success();
|
|
4972
|
+
}
|
|
4957
4973
|
}
|
|
4958
4974
|
}
|
|
4959
4975
|
};
|
|
@@ -5366,6 +5382,23 @@ const SlatesuperHeader = class {
|
|
|
5366
5382
|
};
|
|
5367
5383
|
SlatesuperHeader.style = slatesuperHeaderCss;
|
|
5368
5384
|
|
|
5385
|
+
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}";
|
|
5386
|
+
|
|
5387
|
+
const SmsfNotSupportedDialog = class {
|
|
5388
|
+
constructor(hostRef) {
|
|
5389
|
+
index.registerInstance(this, hostRef);
|
|
5390
|
+
this.continue = index.createEvent(this, "continue", 7);
|
|
5391
|
+
this.standardChoiceFormUrl = "/super-selection/embed/v1.0/app/assets/Superannuation_Standard_Choice_Form.pdf";
|
|
5392
|
+
this.handleContinue = () => {
|
|
5393
|
+
this.continue.emit();
|
|
5394
|
+
};
|
|
5395
|
+
}
|
|
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: { "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
|
+
}
|
|
5399
|
+
};
|
|
5400
|
+
SmsfNotSupportedDialog.style = selfManagedNotSupportedCss;
|
|
5401
|
+
|
|
5369
5402
|
const StandardChoiceFormInputDefaultFund = class {
|
|
5370
5403
|
constructor(hostRef) {
|
|
5371
5404
|
index.registerInstance(this, hostRef);
|
|
@@ -16957,6 +16990,7 @@ exports.sss_self_managed_fund_inputs = SelfManagedFundInputs;
|
|
|
16957
16990
|
exports.sss_slate_join_page = SlateJoinPage;
|
|
16958
16991
|
exports.sss_slate_standard_choice_page = SlateStandardChoicePage;
|
|
16959
16992
|
exports.sss_slatesuper_header = SlatesuperHeader;
|
|
16993
|
+
exports.sss_smsf_not_supported_dialog = SmsfNotSupportedDialog;
|
|
16960
16994
|
exports.sss_standard_choice_form = StandardChoiceFormInputDefaultFund;
|
|
16961
16995
|
exports.sss_success = Success;
|
|
16962
16996
|
exports.sss_super_choice_item = SuperChoiceItem;
|
|
@@ -1174,6 +1174,9 @@ const postUpdateComponent = (hostRef) => {
|
|
|
1174
1174
|
const endPostUpdate = createTime('postUpdate', tagName);
|
|
1175
1175
|
const instance = hostRef.$lazyInstance$ ;
|
|
1176
1176
|
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
1177
|
+
{
|
|
1178
|
+
safeCall(instance, 'componentDidRender');
|
|
1179
|
+
}
|
|
1177
1180
|
if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
|
|
1178
1181
|
hostRef.$flags$ |= 64 /* hasLoadedComponent */;
|
|
1179
1182
|
{
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-942e6faa.js');
|
|
6
6
|
require('./datorama-akita-7f4b082a.js');
|
|
7
7
|
require('./delay-81aff2f1.js');
|
|
8
8
|
const appGlobals = require('./app-globals-45007120.js');
|
|
@@ -18,7 +18,7 @@ const defineCustomElements = (win, options) => {
|
|
|
18
18
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
19
19
|
return patchEsm().then(() => {
|
|
20
20
|
appGlobals.globalScripts();
|
|
21
|
-
return index.bootstrapLazy([["fl-style-guide.cjs",[[1,"fl-style-guide",{"themeCssUrl":[1,"theme-css-url"]}]]],["context-consumer.cjs",[[0,"context-consumer",{"context":[16],"renderer":[16],"subscribe":[16],"unsubscribe":[32]}]]],["stencil-async-content.cjs",[[0,"stencil-async-content",{"documentLocation":[1,"document-location"],"content":[32]}]]],["stencil-route-title.cjs",[[0,"stencil-route-title",{"titleSuffix":[1,"title-suffix"],"pageTitle":[1,"page-title"]}]]],["stencil-router-prompt.cjs",[[0,"stencil-router-prompt",{"when":[4],"message":[1],"history":[16],"unblock":[32]}]]],["stencil-router-redirect.cjs",[[0,"stencil-router-redirect",{"history":[16],"root":[1],"url":[1]}]]],["fl-
|
|
21
|
+
return index.bootstrapLazy([["fl-style-guide.cjs",[[1,"fl-style-guide",{"themeCssUrl":[1,"theme-css-url"]}]]],["context-consumer.cjs",[[0,"context-consumer",{"context":[16],"renderer":[16],"subscribe":[16],"unsubscribe":[32]}]]],["stencil-async-content.cjs",[[0,"stencil-async-content",{"documentLocation":[1,"document-location"],"content":[32]}]]],["stencil-route-title.cjs",[[0,"stencil-route-title",{"titleSuffix":[1,"title-suffix"],"pageTitle":[1,"page-title"]}]]],["stencil-router-prompt.cjs",[[0,"stencil-router-prompt",{"when":[4],"message":[1],"history":[16],"unblock":[32]}]]],["stencil-router-redirect.cjs",[[0,"stencil-router-redirect",{"history":[16],"root":[1],"url":[1]}]]],["fl-button_44.cjs",[[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);
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const activeRouter = require('./active-router-
|
|
5
|
+
const index = require('./index-942e6faa.js');
|
|
6
|
+
const activeRouter = require('./active-router-e92fd784.js');
|
|
7
7
|
|
|
8
8
|
const RouteTitle = class {
|
|
9
9
|
constructor(hostRef) {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const activeRouter = require('./active-router-
|
|
5
|
+
const index = require('./index-942e6faa.js');
|
|
6
|
+
const activeRouter = require('./active-router-e92fd784.js');
|
|
7
7
|
|
|
8
8
|
const StencilRouterPrompt = class {
|
|
9
9
|
constructor(hostRef) {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const activeRouter = require('./active-router-
|
|
5
|
+
const index = require('./index-942e6faa.js');
|
|
6
|
+
const activeRouter = require('./active-router-e92fd784.js');
|
|
7
7
|
|
|
8
8
|
// Get the URL for this route link without the root from the router
|
|
9
9
|
const getUrl = (url, root) => {
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"./components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.js",
|
|
12
12
|
"./components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.js",
|
|
13
13
|
"./components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.js",
|
|
14
|
+
"./components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-not-supported.js",
|
|
14
15
|
"./components/super-selection-app/funds/qsuper/qsuper-confirm-header.js",
|
|
15
16
|
"./components/super-selection-app/funds/qsuper/qsuper-insurance-opt-in.js",
|
|
16
17
|
"./components/super-selection-app/funds/qsuper/qsuper-insurance-questions.js",
|
|
@@ -108,6 +109,7 @@
|
|
|
108
109
|
"sss-slate-join-page",
|
|
109
110
|
"sss-slate-standard-choice-page",
|
|
110
111
|
"sss-slatesuper-header",
|
|
112
|
+
"sss-smsf-not-supported-dialog",
|
|
111
113
|
"sss-standard-choice-form",
|
|
112
114
|
"sss-success",
|
|
113
115
|
"sss-super-choice-item",
|
|
@@ -8,7 +8,12 @@ import customFundChoiceApi from '../api/custom-fund-choice.api';
|
|
|
8
8
|
import customFundState from '../custom-fund.store';
|
|
9
9
|
export class SelfManagedFund {
|
|
10
10
|
constructor() {
|
|
11
|
+
this.showSmsfNotSupported = false;
|
|
11
12
|
this.eventTrackingService = EventTrackingService.Instance;
|
|
13
|
+
this.success = () => {
|
|
14
|
+
superSelectionAppService.markSuperSelectionAsSubmitted();
|
|
15
|
+
navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.Success);
|
|
16
|
+
};
|
|
12
17
|
}
|
|
13
18
|
componentDidLoad() {
|
|
14
19
|
return this.eventTrackingService.TrackSmsfSuperFundDetailViewedAsync();
|
|
@@ -27,7 +32,8 @@ export class SelfManagedFund {
|
|
|
27
32
|
} })),
|
|
28
33
|
h("sss-standard-choice-form", { onStandardChoiceFormSignatureUpdated: (event) => {
|
|
29
34
|
customFundState.selfManagedFundForm = Object.assign(Object.assign({}, customFundState.selfManagedFundForm), event.detail);
|
|
30
|
-
} })
|
|
35
|
+
} }),
|
|
36
|
+
this.showSmsfNotSupported && (h("sss-smsf-not-supported-dialog", { ref: (el) => (this.notSupportedDialog = el), onContinue: this.success }))),
|
|
31
37
|
h("div", { class: "mt-4" },
|
|
32
38
|
h("sss-notifications-section", null)),
|
|
33
39
|
h("div", { class: "d-flex mt-4" },
|
|
@@ -40,6 +46,10 @@ export class SelfManagedFund {
|
|
|
40
46
|
h("fl-promise-button", { isBlockElement: true, promiseFn: () => this.handleSubmitForm() },
|
|
41
47
|
h("span", null, "Submit"))))))));
|
|
42
48
|
}
|
|
49
|
+
componentDidRender() {
|
|
50
|
+
var _a;
|
|
51
|
+
this.showSmsfNotSupported && ((_a = this.notSupportedDialog) === null || _a === void 0 ? void 0 : _a.scrollIntoView());
|
|
52
|
+
}
|
|
43
53
|
async handleSubmitForm() {
|
|
44
54
|
this.formState = 'validated';
|
|
45
55
|
if (this.formElement.checkValidity()) {
|
|
@@ -62,8 +72,12 @@ export class SelfManagedFund {
|
|
|
62
72
|
standardChoiceFormSignature: customFundState.selfManagedFundForm.standardChoiceFormSignature
|
|
63
73
|
};
|
|
64
74
|
await customFundChoiceApi.submitSelfManagedFundChoiceAsync(requestDto);
|
|
65
|
-
superSelectionAppService.
|
|
66
|
-
|
|
75
|
+
if (superSelectionAppService.showSmsfNotSupported) {
|
|
76
|
+
this.showSmsfNotSupported = true;
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
79
|
+
this.success();
|
|
80
|
+
}
|
|
67
81
|
}
|
|
68
82
|
}
|
|
69
83
|
static get is() { return "sss-self-managed-fund"; }
|
|
@@ -90,7 +104,8 @@ export class SelfManagedFund {
|
|
|
90
104
|
}
|
|
91
105
|
}; }
|
|
92
106
|
static get states() { return {
|
|
93
|
-
"formState": {}
|
|
107
|
+
"formState": {},
|
|
108
|
+
"showSmsfNotSupported": {}
|
|
94
109
|
}; }
|
|
95
110
|
}
|
|
96
111
|
injectHistory(SelfManagedFund);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
html {
|
|
2
|
+
scroll-behavior: smooth;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
img.fluid-fit {
|
|
6
|
+
object-fit: cover;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.overlay {
|
|
10
|
+
position: absolute;
|
|
11
|
+
top: 0;
|
|
12
|
+
left: 0;
|
|
13
|
+
z-index: 100;
|
|
14
|
+
background-color: #fff;
|
|
15
|
+
opacity: 0.7;
|
|
16
|
+
width: 100%;
|
|
17
|
+
height: 100%;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.dialog {
|
|
21
|
+
z-index: 101;
|
|
22
|
+
position: relative;
|
|
23
|
+
}
|
|
@@ -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
|
+
}
|
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
|
}
|
|
@@ -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
|
});
|