@flarehr/apollo-super-selection 3.26.54319 → 3.30.54515
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/assets/logo-aware.svg +1 -0
- package/dist/lib/apollo-super-selection/p-0929e388.system.entry.js +69 -0
- package/dist/lib/apollo-super-selection/p-5da707f3.entry.js +14 -0
- package/dist/lib/apollo-super-selection/p-d82b00ed.system.js +1 -1
- package/dist/lib/cjs/fl-button_46.cjs.entry.js +110 -78
- package/dist/lib/collection/components/super-selection-app/funds/constants.js +37 -20
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-confirm-header.js +3 -3
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-confirm-selection/qsuper-confirm-selection.js +2 -2
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-consent/qsuper-consent.js +2 -2
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-insurance-opt-in.js +6 -6
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-layout.js +5 -5
- package/dist/lib/collection/components/super-selection-app/services/selected-super-choice-info.service.js +3 -6
- package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-aware.svg +1 -0
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item.js +3 -3
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.css +7 -0
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +52 -29
- package/dist/lib/esm/fl-button_46.entry.js +110 -78
- package/dist/lib/esm-es5/fl-button_46.entry.js +3 -3
- package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +2 -2
- package/dist/lib/types/components/super-selection-app/funds/constants.d.ts +35 -20
- package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-item.d.ts +1 -1
- package/dist/lib/types/components.d.ts +1 -1
- package/package.json +1 -1
- package/dist/lib/apollo-super-selection/p-1cf94785.entry.js +0 -14
- package/dist/lib/apollo-super-selection/p-7fae7603.system.entry.js +0 -69
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-38ee2795.system.js","./p-13573238.system.js","./p-7dbe5a2f.system.js","./p-381262c1.system.js"],(function(s,e){"use strict";var t,o,n;return{setters:[function(s){t=s.p;o=s.b},function(){},function(){},function(s){n=s.g}],execute:function(){var s=function(){var s=e.meta.url;var o={};if(s!==""){o.resourcesUrl=new URL(".",s).href}return t(o)};s().then((function(s){n();return o([["p-64ebe17d.system",[[1,"fl-style-guide",{themeCssUrl:[1,"theme-css-url"]}]]],["p-cd49a6b7.system",[[0,"context-consumer",{context:[16],renderer:[16],subscribe:[16],unsubscribe:[32]}]]],["p-8cbfc343.system",[[0,"stencil-async-content",{documentLocation:[1,"document-location"],content:[32]}]]],["p-642db1f7.system",[[0,"stencil-route-title",{titleSuffix:[1,"title-suffix"],pageTitle:[1,"page-title"]}]]],["p-285da037.system",[[0,"stencil-router-prompt",{when:[4],message:[1],history:[16],unblock:[32]}]]],["p-f15bf700.system",[[0,"stencil-router-redirect",{history:[16],root:[1],url:[1]}]]],["p-
|
|
1
|
+
System.register(["./p-38ee2795.system.js","./p-13573238.system.js","./p-7dbe5a2f.system.js","./p-381262c1.system.js"],(function(s,e){"use strict";var t,o,n;return{setters:[function(s){t=s.p;o=s.b},function(){},function(){},function(s){n=s.g}],execute:function(){var s=function(){var s=e.meta.url;var o={};if(s!==""){o.resourcesUrl=new URL(".",s).href}return t(o)};s().then((function(s){n();return o([["p-64ebe17d.system",[[1,"fl-style-guide",{themeCssUrl:[1,"theme-css-url"]}]]],["p-cd49a6b7.system",[[0,"context-consumer",{context:[16],renderer:[16],subscribe:[16],unsubscribe:[32]}]]],["p-8cbfc343.system",[[0,"stencil-async-content",{documentLocation:[1,"document-location"],content:[32]}]]],["p-642db1f7.system",[[0,"stencil-route-title",{titleSuffix:[1,"title-suffix"],pageTitle:[1,"page-title"]}]]],["p-285da037.system",[[0,"stencil-router-prompt",{when:[4],message:[1],history:[16],unblock:[32]}]]],["p-f15bf700.system",[[0,"stencil-router-redirect",{history:[16],root:[1],url:[1]}]]],["p-0929e388.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-promoted-fund-standard-choice-page",{history:[16],formState:[32]}],[0,"sss-success"],[0,"sss-promoted-fund-join-page",{history:[16]}],[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",{isSelected:[4,"is-selected"],usi:[1],name:[1],logo:[1],pdsLink:[1,"pds-link"],features:[1],disclaimer:[16],abnInfo:[1,"abn-info"],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,"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"]]],[0,"sss-standard-choice-form",{standardChoiceFormSignature:[32]}],[4,"sss-qsuper-insurance-questions"],[0,"sss-qsuper-question-yes-no-buttons",{history:[16]}],[0,"sss-qsuper-confirm-header"],[4,"sss-qsuper-layout",{history:[16]}],[0,"sss-notifications-section"],[4,"fl-promise-button",{isBlockElement:[4,"is-block-element"],isRounded:[4,"is-rounded"],disabled:[4],variant:[1],promiseFn:[16],state:[32]}],[4,"fl-button",{isBlockElement:[4,"is-block-element"],disabled:[4],variant:[1]}],[0,"fl-loading-indicator",{theme:[1]}],[0,"stencil-route",{group:[513],componentUpdated:[16],match:[1040],url:[1],component:[1],componentProps:[16],exact:[4],routeRender:[16],scrollTopOffset:[2,"scroll-top-offset"],routeViewsUpdated:[16],location:[16],history:[16],historyType:[1,"history-type"]}]]]],s)}))}}}));
|
|
@@ -265,7 +265,7 @@ class TapSubscriber extends delay.Subscriber {
|
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
-
const AppVersion = '3.
|
|
268
|
+
const AppVersion = '3.30.54515';
|
|
269
269
|
|
|
270
270
|
// -------------------------------------------------------------------------------------
|
|
271
271
|
// guards
|
|
@@ -4509,26 +4509,43 @@ const PromotedFundStandardChoicePage = class {
|
|
|
4509
4509
|
}
|
|
4510
4510
|
};
|
|
4511
4511
|
|
|
4512
|
-
const
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
|
|
4516
|
-
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
const
|
|
4525
|
-
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
|
|
4529
|
-
|
|
4530
|
-
|
|
4531
|
-
const
|
|
4512
|
+
const QSuper = {
|
|
4513
|
+
Id: 'qsuper',
|
|
4514
|
+
Name: 'QSuper',
|
|
4515
|
+
InsuranceName: 'QSuper Insurance',
|
|
4516
|
+
Usi: '60905115063001',
|
|
4517
|
+
Abn: '32 125 059 006',
|
|
4518
|
+
PdsUrl: 'https://qsuper.qld.gov.au/calculators-and-forms/publications/product-disclosure-statements',
|
|
4519
|
+
PdsPdf: 'https://qsuper.qld.gov.au/-/media/pdfs/qsuper-public/publications/pds11.pdf',
|
|
4520
|
+
MinAge: 14,
|
|
4521
|
+
MinInsuranceAge: 16,
|
|
4522
|
+
MaxAge: 16
|
|
4523
|
+
};
|
|
4524
|
+
const Slate = {
|
|
4525
|
+
Id: 'slate',
|
|
4526
|
+
Name: 'Slate Super',
|
|
4527
|
+
PdsUrl: 'https://slate.co/pds/?utm_source=flare&utm_medium=superselection',
|
|
4528
|
+
Usi: '32367272075001',
|
|
4529
|
+
DiversaAbn: '49 006 421 638'
|
|
4530
|
+
};
|
|
4531
|
+
const AustralianRetirementTrust = {
|
|
4532
|
+
Id: 'australian-retirement-trust',
|
|
4533
|
+
Name: 'Australian Retirement Trust',
|
|
4534
|
+
PdsUrl: 'https://www.australianretirementtrust.com.au/library/media/pdfs/pds/super-savings-product-disclosure-statement-and-membership-form.pdf',
|
|
4535
|
+
Abn: '60 905 115 063'
|
|
4536
|
+
};
|
|
4537
|
+
const Aware = {
|
|
4538
|
+
Id: 'aware',
|
|
4539
|
+
Name: 'Aware Super',
|
|
4540
|
+
PdsUrl: 'https://aware.com.au/member/forms-and-resources/pds',
|
|
4541
|
+
Abn: '53 226 460 365'
|
|
4542
|
+
};
|
|
4543
|
+
const PromotedFundIdList = [
|
|
4544
|
+
{ dtoPropName: 'qSuper', id: QSuper.Id },
|
|
4545
|
+
{ dtoPropName: 'slate', id: Slate.Id },
|
|
4546
|
+
{ dtoPropName: 'australianRetirementTrust', id: AustralianRetirementTrust.Id },
|
|
4547
|
+
{ dtoPropName: 'aware', id: Aware.Id }
|
|
4548
|
+
];
|
|
4532
4549
|
|
|
4533
4550
|
const qsuperConfirmationCss = "";
|
|
4534
4551
|
|
|
@@ -4539,12 +4556,12 @@ const QsuperConfirmHeader = class {
|
|
|
4539
4556
|
}
|
|
4540
4557
|
render() {
|
|
4541
4558
|
const qSuperAccumulationAccountUrl = 'https://qsuper.qld.gov.au/-/media/pdfs/qsuper-public/publications/pds1.pdf';
|
|
4542
|
-
return (index.h("div", { class: "d-flex align-items-center justify-content-center" }, index.h("p", { class: "confirm-title font-weight-bold text-center" }, "You are now applying for a", ' ', index.h("a", { target: "_blank", href: navigationService.toExternalUrl(qSuperAccumulationAccountUrl) }, "QSuper Accumulation Account"), ". Read the", ' ', index.h("a", { target: "_blank", onClick: () => this.pdsViewedAsync(), href: navigationService.toExternalUrl(
|
|
4559
|
+
return (index.h("div", { class: "d-flex align-items-center justify-content-center" }, index.h("p", { class: "confirm-title font-weight-bold text-center" }, "You are now applying for a", ' ', index.h("a", { target: "_blank", href: navigationService.toExternalUrl(qSuperAccumulationAccountUrl) }, "QSuper Accumulation Account"), ". Read the", ' ', index.h("a", { target: "_blank", onClick: () => this.pdsViewedAsync(), href: navigationService.toExternalUrl(QSuper.PdsPdf) }, "PDS"), ' ', "here.")));
|
|
4543
4560
|
}
|
|
4544
4561
|
pdsViewedAsync() {
|
|
4545
4562
|
return this.eventTrackingService.TrackSuperFundPdsViewedAsync({
|
|
4546
|
-
fundUsi:
|
|
4547
|
-
fundName:
|
|
4563
|
+
fundUsi: QSuper.Usi,
|
|
4564
|
+
fundName: QSuper.Name,
|
|
4548
4565
|
pageName: 'Insurance Opt In'
|
|
4549
4566
|
});
|
|
4550
4567
|
}
|
|
@@ -4726,8 +4743,8 @@ const QsuperConsent = class {
|
|
|
4726
4743
|
}
|
|
4727
4744
|
pdsViewedAsync() {
|
|
4728
4745
|
return this.eventTrackingService.TrackSuperFundPdsViewedAsync({
|
|
4729
|
-
fundUsi:
|
|
4730
|
-
fundName:
|
|
4746
|
+
fundUsi: QSuper.Usi,
|
|
4747
|
+
fundName: QSuper.Name,
|
|
4731
4748
|
pageName: 'Accumulation Page'
|
|
4732
4749
|
});
|
|
4733
4750
|
}
|
|
@@ -4787,9 +4804,9 @@ const QsuperInsuranceOptIn = class {
|
|
|
4787
4804
|
}
|
|
4788
4805
|
componentDidLoad() {
|
|
4789
4806
|
return this.eventTrackingService.TrackFinancialProductViewedAsync({
|
|
4790
|
-
fundUsi:
|
|
4791
|
-
fundName:
|
|
4792
|
-
financialProduct:
|
|
4807
|
+
fundUsi: QSuper.Usi,
|
|
4808
|
+
fundName: QSuper.Name,
|
|
4809
|
+
financialProduct: QSuper.InsuranceName
|
|
4793
4810
|
});
|
|
4794
4811
|
}
|
|
4795
4812
|
componentWillLoad() {
|
|
@@ -4800,11 +4817,11 @@ const QsuperInsuranceOptIn = class {
|
|
|
4800
4817
|
return (index.h(index.Host, { class: "d-flex flex-fill" }, index.h("sss-qsuper-layout", { class: "d-flex flex-fill" }, index.h("sss-qsuper-confirm-header", null), index.h("div", { class: "mt-4 p-3 checkbox-container" }, index.h("p", null, "As part of becoming a QSuper member, you will receive death cover and total and permanent disability cover when you become eligible. ", index.h("br", null), index.h("br", null), "You will receive this cover when: ", index.h("br", null), index.h("br", null), "You are 25 years or older; ", index.h("br", null), "and You have had at least $6,000 in your accumulation account; ", index.h("br", null), "and At that time, we have received money into your account within the previous 13 months ", index.h("br", null), index.h("br", null), "Please see the Accumulation Account Insurance Guide, available on the QSuper website, for further information ", index.h("br", null), index.h("br", null), "Do you want this insurance cover?"), index.h("div", { class: "d-flex justify-content-between mt-4" }, index.h("div", { class: "button-holder flex-grow-1 mr-2" }, index.h("fl-button", { disabled: !this.isEligibleForInsurance, isBlockElement: true, variant: this.insuranceChosen ? 'primary' : 'secondary', onClick: () => this.handleInsuranceToggle(true) }, "Yes")), index.h("div", { class: "button-holder flex-grow-1 ml-2" }, index.h("fl-button", { disabled: !this.isEligibleForInsurance, isBlockElement: true, variant: !this.insuranceChosen ? 'primary' : 'secondary', onClick: () => this.handleInsuranceToggle(false) }, "No")))), index.h("div", null, index.h("label", { class: "d-flex\u00A0mt-3\u00A0p-3\u00A0checkbox-container", htmlFor: "ackCheckBox" }, index.h("div", { class: "w-auto\u00A0px-2 fl-checkbox-container" }, index.h("input", { id: "ackCheckBox", class: "confirm-checkbox-item", type: "checkbox", onChange: () => this.handleCheckboxToggle() })), index.h("div", { class: "pl-3" }, index.h("p", { class: "confirm-item-text\u00A0mb-0" }, "I acknowledge that my personal information will be shared with QSuper as part of their application process.")))))));
|
|
4801
4818
|
}
|
|
4802
4819
|
ensureInsuranceEligibility() {
|
|
4803
|
-
if (superSelectionAppService.superBuyer.userProfile.yearsOfAge <
|
|
4820
|
+
if (superSelectionAppService.superBuyer.userProfile.yearsOfAge < QSuper.MinAge) {
|
|
4804
4821
|
return;
|
|
4805
4822
|
}
|
|
4806
|
-
else if (superSelectionAppService.superBuyer.userProfile.yearsOfAge <
|
|
4807
|
-
this.showIneligibleNotification(`You may still apply for QSuper, however people under the age of ${
|
|
4823
|
+
else if (superSelectionAppService.superBuyer.userProfile.yearsOfAge < QSuper.MinInsuranceAge) {
|
|
4824
|
+
this.showIneligibleNotification(`You may still apply for QSuper, however people under the age of ${QSuper.MinInsuranceAge} are not able to apply for insurance.`);
|
|
4808
4825
|
return;
|
|
4809
4826
|
}
|
|
4810
4827
|
this.isEligibleForInsurance = true;
|
|
@@ -4840,7 +4857,7 @@ const QsuperInsuranceQuestions = class {
|
|
|
4840
4857
|
};
|
|
4841
4858
|
QsuperInsuranceQuestions.style = qsuperCss$2;
|
|
4842
4859
|
|
|
4843
|
-
const superChoicePageCss = "html{scroll-behavior:smooth}img.fluid-fit{-o-object-fit:cover;object-fit:cover}.checkbox-container{border-radius:4px;background-color:#f5f4f2}.confirm-checkbox-item{-webkit-transform:scale(1.7);transform:scale(1.7)}.simple-choices-text{color:#489882}.choice-card{background:#ffffff;-webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.25);box-shadow:0 1px 4px rgba(0, 0, 0, 0.25);border-radius:3px}.choice-card.ss-picked-fund{border:2px solid var(--fl-color-primary)}.card.ss-picked-fund{border:2px solid var(--fl-color-primary)}.ss-choice-logo{width:auto;max-height:70px;-o-object-fit:contain;object-fit:contain}img{width:100%;display:block}.choice-component{width:100%;position:relative}.flexible{-ms-flex-positive:1;flex-grow:1}.fund-item{margin-top:1rem}@media (min-width: 992px){.bottom-half-fund-tile{height:220px}}";
|
|
4860
|
+
const superChoicePageCss = "html{scroll-behavior:smooth}img.fluid-fit{-o-object-fit:cover;object-fit:cover}.checkbox-container{border-radius:4px;background-color:#f5f4f2}.confirm-checkbox-item{-webkit-transform:scale(1.7);transform:scale(1.7)}.simple-choices-text{color:#489882}.choice-card{background:#ffffff;-webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.25);box-shadow:0 1px 4px rgba(0, 0, 0, 0.25);border-radius:3px}.choice-card.ss-picked-fund{border:2px solid var(--fl-color-primary)}.card.ss-picked-fund{border:2px solid var(--fl-color-primary)}.ss-choice-logo{width:auto;max-height:70px;-o-object-fit:contain;object-fit:contain}img{width:100%;display:block}.choice-component{width:100%;position:relative}.flexible{-ms-flex-positive:1;flex-grow:1}.fund-item{margin-top:1rem}.promoted-picked-block{background-color:var(--fl-color-primary);border-bottom-right-radius:3px;left:0;top:0}@media (min-width: 992px){.bottom-half-fund-tile{height:220px}}";
|
|
4844
4861
|
|
|
4845
4862
|
const QSuperConfirmSelection = class {
|
|
4846
4863
|
constructor(hostRef) {
|
|
@@ -4860,8 +4877,8 @@ const QSuperConfirmSelection = class {
|
|
|
4860
4877
|
}
|
|
4861
4878
|
pdsViewedAsync() {
|
|
4862
4879
|
return this.eventTrackingService.TrackSuperFundPdsViewedAsync({
|
|
4863
|
-
fundUsi:
|
|
4864
|
-
fundName:
|
|
4880
|
+
fundUsi: QSuper.Usi,
|
|
4881
|
+
fundName: QSuper.Name,
|
|
4865
4882
|
pageName: 'Confirm Page'
|
|
4866
4883
|
});
|
|
4867
4884
|
}
|
|
@@ -4922,11 +4939,11 @@ const QsuperLayout = class {
|
|
|
4922
4939
|
this.isEligible = false;
|
|
4923
4940
|
this.canContinue = () => this.isEligible && state$2.continueAllowed;
|
|
4924
4941
|
this.ensureEligibility = () => {
|
|
4925
|
-
if (superSelectionAppService.superBuyer.userProfile.yearsOfAge <
|
|
4926
|
-
this.showIneligibleNotification(`People under the age of ${
|
|
4942
|
+
if (superSelectionAppService.superBuyer.userProfile.yearsOfAge < QSuper.MinAge) {
|
|
4943
|
+
this.showIneligibleNotification(`People under the age of ${QSuper.MinAge} are not able to open accounts.`);
|
|
4927
4944
|
}
|
|
4928
|
-
else if (superSelectionAppService.superBuyer.userProfile.yearsOfAge >
|
|
4929
|
-
this.showIneligibleNotification(`People over the age of ${
|
|
4945
|
+
else if (superSelectionAppService.superBuyer.userProfile.yearsOfAge > QSuper.MaxAge) {
|
|
4946
|
+
this.showIneligibleNotification(`People over the age of ${QSuper.MaxAge} are not able to open accounts.`);
|
|
4930
4947
|
}
|
|
4931
4948
|
else {
|
|
4932
4949
|
this.isEligible = true;
|
|
@@ -4934,7 +4951,7 @@ const QsuperLayout = class {
|
|
|
4934
4951
|
};
|
|
4935
4952
|
this.showIneligibleNotification = (description) => {
|
|
4936
4953
|
notificationsService.showInfoNotification({
|
|
4937
|
-
title:
|
|
4954
|
+
title: 'Unable to apply for QSuper',
|
|
4938
4955
|
description
|
|
4939
4956
|
});
|
|
4940
4957
|
};
|
|
@@ -5593,7 +5610,7 @@ const Success = class {
|
|
|
5593
5610
|
}
|
|
5594
5611
|
};
|
|
5595
5612
|
|
|
5596
|
-
const superChoicePageCss$1 = "html{scroll-behavior:smooth}img.fluid-fit{-o-object-fit:cover;object-fit:cover}.checkbox-container{border-radius:4px;background-color:#f5f4f2}.confirm-checkbox-item{-webkit-transform:scale(1.7);transform:scale(1.7)}.simple-choices-text{color:#489882}.choice-card{background:#ffffff;-webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.25);box-shadow:0 1px 4px rgba(0, 0, 0, 0.25);border-radius:3px}.choice-card.ss-picked-fund{border:2px solid var(--fl-color-primary)}.card.ss-picked-fund{border:2px solid var(--fl-color-primary)}.ss-choice-logo{width:auto;max-height:70px;-o-object-fit:contain;object-fit:contain}img{width:100%;display:block}.choice-component{width:100%;position:relative}.flexible{-ms-flex-positive:1;flex-grow:1}.fund-item{margin-top:1rem}@media (min-width: 992px){.bottom-half-fund-tile{height:220px}}";
|
|
5613
|
+
const superChoicePageCss$1 = "html{scroll-behavior:smooth}img.fluid-fit{-o-object-fit:cover;object-fit:cover}.checkbox-container{border-radius:4px;background-color:#f5f4f2}.confirm-checkbox-item{-webkit-transform:scale(1.7);transform:scale(1.7)}.simple-choices-text{color:#489882}.choice-card{background:#ffffff;-webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.25);box-shadow:0 1px 4px rgba(0, 0, 0, 0.25);border-radius:3px}.choice-card.ss-picked-fund{border:2px solid var(--fl-color-primary)}.card.ss-picked-fund{border:2px solid var(--fl-color-primary)}.ss-choice-logo{width:auto;max-height:70px;-o-object-fit:contain;object-fit:contain}img{width:100%;display:block}.choice-component{width:100%;position:relative}.flexible{-ms-flex-positive:1;flex-grow:1}.fund-item{margin-top:1rem}.promoted-picked-block{background-color:var(--fl-color-primary);border-bottom-right-radius:3px;left:0;top:0}@media (min-width: 992px){.bottom-half-fund-tile{height:220px}}";
|
|
5597
5614
|
|
|
5598
5615
|
const SuperChoiceItem = class {
|
|
5599
5616
|
constructor(hostRef) {
|
|
@@ -5605,7 +5622,7 @@ const SuperChoiceItem = class {
|
|
|
5605
5622
|
return (index.h(index.Host, { class: {
|
|
5606
5623
|
'd-flex p-3 fund-item': true,
|
|
5607
5624
|
'ss-picked-fund': this.isSelected
|
|
5608
|
-
} }, index.h("div", { class: "card-body py-0 px-0 px-xl-3" }, this.isSelected && (index.h("div", { class: "px-3 py-2 text-white picked-block position-absolute" }, "You picked")), index.h("div", { class: "d-flex flex-fill flex-column align-items-center" }, index.h("div", { class: "d-flex justify-content-end w-100" }, index.h("div", { class: "text-muted small border rounded-sm px-1 mt-n2 mr-n2 mb-1" }, "Advertised")), index.h("img", { class: "ss-choice-logo", alt: this.name, src: index.getAssetPath(`assets/${this.logo}`) }), index.h("p", { class: "font-weight-bold text-center mt-3 mb-0" }, this.name), index.h("div", { class: "mt-3" }, JSON.parse(this.features).map((feature) => (index.h("p", { class: "text-center" }, feature.value)))))), index.h("div", { class: "text-center bottom-half-fund-tile" }, index.h("div", { class: "p-3" }, index.h("fl-button", { class: "uuid-button-continue", isBlockElement: true, onClick: () => this.handleFundClick() }, "Choose this fund")), index.h("div", { class: "mb-2" }, index.h("a", { target: "_blank", href: this.pdsLink, onClick: () => this.pdsViewedAsync() }, "View the PDS")), this.disclaimer, index.h("div", { class: "small text-muted" }, this.abnInfo))));
|
|
5625
|
+
} }, index.h("div", { class: "card-body py-0 px-0 px-xl-3" }, this.isSelected && (index.h("div", { class: "px-3 py-2 text-white promoted-picked-block position-absolute" }, "You picked")), index.h("div", { class: "d-flex flex-fill flex-column align-items-center" }, index.h("div", { class: "d-flex justify-content-end w-100" }, index.h("div", { class: "text-muted small border rounded-sm px-1 mt-n2 mr-n2 mb-1" }, "Advertised")), index.h("img", { class: "ss-choice-logo", alt: this.name, src: index.getAssetPath(`assets/${this.logo}`) }), index.h("p", { class: "font-weight-bold text-center mt-3 mb-0" }, this.name), index.h("div", { class: "mt-3" }, JSON.parse(this.features).map((feature) => (index.h("p", { class: "text-center" }, feature.value)))))), index.h("div", { class: "text-center bottom-half-fund-tile" }, index.h("div", { class: "p-3" }, index.h("fl-button", { class: "uuid-button-continue", isBlockElement: true, onClick: () => this.handleFundClick() }, "Choose this fund")), index.h("div", { class: "mb-2" }, index.h("a", { target: "_blank", href: this.pdsLink, onClick: () => this.pdsViewedAsync() }, "View the PDS")), this.disclaimer, index.h("div", { class: "small text-muted" }, this.abnInfo))));
|
|
5609
5626
|
}
|
|
5610
5627
|
handleFundClick() {
|
|
5611
5628
|
return this.joinFundClicked.emit();
|
|
@@ -5623,16 +5640,13 @@ SuperChoiceItem.style = superChoicePageCss$1;
|
|
|
5623
5640
|
|
|
5624
5641
|
class ChosenFundService {
|
|
5625
5642
|
async GetChosenFundAsync() {
|
|
5626
|
-
var _a;
|
|
5643
|
+
var _a, _b;
|
|
5627
5644
|
const choiceDetails = (_a = superSelectionAppService.superBuyer.superChoice) === null || _a === void 0 ? void 0 : _a.choiceDetails;
|
|
5628
5645
|
if (!choiceDetails)
|
|
5629
5646
|
return none;
|
|
5630
5647
|
if ('promoted' in choiceDetails) {
|
|
5631
|
-
const
|
|
5632
|
-
|
|
5633
|
-
: SlateFundId in choiceDetails.promoted
|
|
5634
|
-
? SlateFundId
|
|
5635
|
-
: '';
|
|
5648
|
+
const fund = PromotedFundIdList.find((f) => f.dtoPropName in choiceDetails.promoted);
|
|
5649
|
+
const promotedId = (_b = fund === null || fund === void 0 ? void 0 : fund.id) !== null && _b !== void 0 ? _b : '';
|
|
5636
5650
|
return some({
|
|
5637
5651
|
isPromoted: true,
|
|
5638
5652
|
promotedId
|
|
@@ -5671,7 +5685,7 @@ class ChosenFundService {
|
|
|
5671
5685
|
}
|
|
5672
5686
|
const chosenFundService = new ChosenFundService();
|
|
5673
5687
|
|
|
5674
|
-
const superChoicePageCss$2 = "html{scroll-behavior:smooth}img.fluid-fit{-o-object-fit:cover;object-fit:cover}.checkbox-container{border-radius:4px;background-color:#f5f4f2}.confirm-checkbox-item{-webkit-transform:scale(1.7);transform:scale(1.7)}.simple-choices-text{color:#489882}.choice-card{background:#ffffff;-webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.25);box-shadow:0 1px 4px rgba(0, 0, 0, 0.25);border-radius:3px}.choice-card.ss-picked-fund{border:2px solid var(--fl-color-primary)}.card.ss-picked-fund{border:2px solid var(--fl-color-primary)}.ss-choice-logo{width:auto;max-height:70px;-o-object-fit:contain;object-fit:contain}img{width:100%;display:block}.choice-component{width:100%;position:relative}.flexible{-ms-flex-positive:1;flex-grow:1}.fund-item{margin-top:1rem}@media (min-width: 992px){.bottom-half-fund-tile{height:220px}}";
|
|
5688
|
+
const superChoicePageCss$2 = "html{scroll-behavior:smooth}img.fluid-fit{-o-object-fit:cover;object-fit:cover}.checkbox-container{border-radius:4px;background-color:#f5f4f2}.confirm-checkbox-item{-webkit-transform:scale(1.7);transform:scale(1.7)}.simple-choices-text{color:#489882}.choice-card{background:#ffffff;-webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.25);box-shadow:0 1px 4px rgba(0, 0, 0, 0.25);border-radius:3px}.choice-card.ss-picked-fund{border:2px solid var(--fl-color-primary)}.card.ss-picked-fund{border:2px solid var(--fl-color-primary)}.ss-choice-logo{width:auto;max-height:70px;-o-object-fit:contain;object-fit:contain}img{width:100%;display:block}.choice-component{width:100%;position:relative}.flexible{-ms-flex-positive:1;flex-grow:1}.fund-item{margin-top:1rem}.promoted-picked-block{background-color:var(--fl-color-primary);border-bottom-right-radius:3px;left:0;top:0}@media (min-width: 992px){.bottom-half-fund-tile{height:220px}}";
|
|
5675
5689
|
|
|
5676
5690
|
const SuperChoicePage = class {
|
|
5677
5691
|
constructor(hostRef) {
|
|
@@ -5687,7 +5701,7 @@ const SuperChoicePage = class {
|
|
|
5687
5701
|
}
|
|
5688
5702
|
componentDidLoad() {
|
|
5689
5703
|
iframe.appReady();
|
|
5690
|
-
const enabledFundIds = this.promotedFunds.map((item) => item.
|
|
5704
|
+
const enabledFundIds = this.promotedFunds.map((item) => item.fundId);
|
|
5691
5705
|
this.eventTrackingService.TrackSuperFundPanelViewedAsync({
|
|
5692
5706
|
enabledFundIds
|
|
5693
5707
|
});
|
|
@@ -5710,49 +5724,62 @@ const SuperChoicePage = class {
|
|
|
5710
5724
|
allFunds() {
|
|
5711
5725
|
return [
|
|
5712
5726
|
{
|
|
5713
|
-
fundId:
|
|
5714
|
-
usi:
|
|
5715
|
-
name:
|
|
5727
|
+
fundId: Slate.Id,
|
|
5728
|
+
usi: Slate.Usi,
|
|
5729
|
+
name: Slate.Name,
|
|
5716
5730
|
logo: 'logo-slate.png',
|
|
5717
5731
|
route: SuperSelectionAppRoutes.SlateJoin,
|
|
5718
|
-
pdsLink:
|
|
5732
|
+
pdsLink: Slate.PdsUrl,
|
|
5719
5733
|
features: [
|
|
5720
5734
|
{ order: 1, value: 'A lifestage investment strategy that evolves with you' },
|
|
5721
5735
|
{ order: 2, value: 'Advanced mobile app with retirement forecast and smart features' },
|
|
5722
5736
|
{ order: 3, value: 'Member advocates at Slate to assist with your account' }
|
|
5723
5737
|
],
|
|
5724
|
-
disclaimer: (index.h("p", { class: "small text-muted" }, "You should consider the", ' ', index.h("a", { target: "_blank", href: navigationService.toExternalUrl(
|
|
5725
|
-
abnInfo: `Diversa Trustees Limited ABN: ${
|
|
5738
|
+
disclaimer: (index.h("p", { class: "small text-muted" }, "You should consider the", ' ', index.h("a", { target: "_blank", href: navigationService.toExternalUrl(Slate.PdsUrl), onClick: () => this.pdsViewedAsync(Slate.Name, Slate.Usi) }, "Product Disclosure Statement"), ' ', "and", ' ', index.h("a", { target: "_blank", href: navigationService.toExternalUrl('https://slate.co/forms-and-documents/target-market-determination/') }, "Target Market Determination"), ' ', "before deciding to invest in or apply to become a member of the fund.")),
|
|
5739
|
+
abnInfo: `Diversa Trustees Limited ABN: ${Slate.DiversaAbn}`
|
|
5726
5740
|
},
|
|
5727
5741
|
{
|
|
5728
|
-
fundId:
|
|
5729
|
-
usi:
|
|
5730
|
-
name:
|
|
5742
|
+
fundId: QSuper.Id,
|
|
5743
|
+
usi: QSuper.Usi,
|
|
5744
|
+
name: QSuper.Name,
|
|
5731
5745
|
logo: 'logo-qsuper-square.png',
|
|
5732
5746
|
route: SuperSelectionAppRoutes.QSuperOptIn,
|
|
5733
|
-
pdsLink:
|
|
5747
|
+
pdsLink: QSuper.PdsUrl,
|
|
5734
5748
|
features: [
|
|
5735
5749
|
{ order: 1, value: '100 years strong' },
|
|
5736
5750
|
{ order: 2, value: `One of Australia's largest funds` },
|
|
5737
5751
|
{ order: 3, value: 'Awarded SuperRatings highest performance rating' }
|
|
5738
5752
|
],
|
|
5739
|
-
disclaimer: (index.h("p", { class: "small text-muted" }, "You should consider the", ' ', index.h("a", { target: "_blank", href: navigationService.toExternalUrl(
|
|
5740
|
-
abnInfo: `QSuper Board ABN: ${
|
|
5753
|
+
disclaimer: (index.h("p", { class: "small text-muted" }, "You should consider the", ' ', index.h("a", { target: "_blank", href: navigationService.toExternalUrl(QSuper.PdsUrl), onClick: () => this.pdsViewedAsync(QSuper.Name, QSuper.Usi) }, "Product Disclosure Statement"), ' ', "before deciding to invest in or apply to become a member of this fund.")),
|
|
5754
|
+
abnInfo: `QSuper Board ABN: ${QSuper.Abn}`
|
|
5741
5755
|
},
|
|
5742
5756
|
{
|
|
5743
|
-
fundId:
|
|
5744
|
-
|
|
5745
|
-
name: AustralianRetirementTrustFundName,
|
|
5757
|
+
fundId: AustralianRetirementTrust.Id,
|
|
5758
|
+
name: AustralianRetirementTrust.Name,
|
|
5746
5759
|
logo: 'logo-art.svg',
|
|
5747
5760
|
route: SuperSelectionAppRoutes.PromotedFundJoin,
|
|
5748
|
-
pdsLink:
|
|
5761
|
+
pdsLink: AustralianRetirementTrust.PdsUrl,
|
|
5749
5762
|
features: [
|
|
5750
5763
|
{ order: 1, value: '$200 billion in retirement savings' },
|
|
5751
5764
|
{ order: 2, value: '2+ million members' },
|
|
5752
5765
|
{ order: 3, value: 'A focus on delivering strong, long‑term returns' }
|
|
5753
5766
|
],
|
|
5754
|
-
disclaimer: (index.h("p", { class: "small text-muted" }, "You should consider the", ' ', index.h("a", { target: "_blank", href: navigationService.toExternalUrl(
|
|
5755
|
-
abnInfo: `ABN: ${
|
|
5767
|
+
disclaimer: (index.h("p", { class: "small text-muted" }, "You should consider the", ' ', index.h("a", { target: "_blank", href: navigationService.toExternalUrl(AustralianRetirementTrust.PdsUrl), onClick: () => this.pdsViewedAsync(AustralianRetirementTrust.Name) }, "Product Disclosure Statement"), ' ', "before deciding to invest in or apply to become a member of this fund.")),
|
|
5768
|
+
abnInfo: `Australian Retirement Trust ABN: ${AustralianRetirementTrust.Abn}`
|
|
5769
|
+
},
|
|
5770
|
+
{
|
|
5771
|
+
fundId: Aware.Id,
|
|
5772
|
+
name: Aware.Name,
|
|
5773
|
+
logo: 'logo-aware.svg',
|
|
5774
|
+
route: SuperSelectionAppRoutes.PromotedFundJoin,
|
|
5775
|
+
pdsLink: Aware.PdsUrl,
|
|
5776
|
+
features: [
|
|
5777
|
+
{ order: 1, value: 'Lorem ipsum dolor sit amet' },
|
|
5778
|
+
{ order: 2, value: 'Lorem ipsum dolor sit amet' },
|
|
5779
|
+
{ order: 3, value: 'Lorem ipsum dolor sit amet' }
|
|
5780
|
+
],
|
|
5781
|
+
disclaimer: (index.h("p", { class: "small text-muted" }, "You should consider the", ' ', index.h("a", { target: "_blank", href: navigationService.toExternalUrl(Aware.PdsUrl), onClick: () => this.pdsViewedAsync(Aware.Name) }, "Product Disclosure Statement"), ' ', "before deciding to invest in or apply to become a member of this fund.")),
|
|
5782
|
+
abnInfo: `Aware Super Pty Ltd ABN: ${Aware.Abn}`
|
|
5756
5783
|
}
|
|
5757
5784
|
];
|
|
5758
5785
|
}
|
|
@@ -5767,28 +5794,33 @@ const SuperChoicePage = class {
|
|
|
5767
5794
|
return fundTiles;
|
|
5768
5795
|
}
|
|
5769
5796
|
async handleJoinSuperClickAsync(fund) {
|
|
5770
|
-
if (fund.fundId ===
|
|
5797
|
+
if (fund.fundId === Slate.Id) {
|
|
5771
5798
|
await this.eventTrackingService.TrackPromotedSuperFundDetailViewedAsync({
|
|
5772
|
-
fundUsi:
|
|
5773
|
-
fundName:
|
|
5799
|
+
fundUsi: Slate.Usi,
|
|
5800
|
+
fundName: Slate.Name
|
|
5774
5801
|
});
|
|
5775
5802
|
}
|
|
5776
|
-
else if (fund.fundId ===
|
|
5803
|
+
else if (fund.fundId === QSuper.Id) {
|
|
5777
5804
|
await this.eventTrackingService.TrackPromotedSuperFundDetailViewedAsync({
|
|
5778
|
-
fundUsi:
|
|
5779
|
-
fundName:
|
|
5805
|
+
fundUsi: QSuper.Usi,
|
|
5806
|
+
fundName: QSuper.Name
|
|
5780
5807
|
});
|
|
5781
5808
|
}
|
|
5782
|
-
else if (fund.fundId ===
|
|
5809
|
+
else if (fund.fundId === AustralianRetirementTrust.Id) {
|
|
5810
|
+
await this.eventTrackingService.TrackPromotedSuperFundDetailViewedAsync({
|
|
5811
|
+
fundName: AustralianRetirementTrust.Name
|
|
5812
|
+
});
|
|
5813
|
+
state$1.fundId = fund.fundId;
|
|
5814
|
+
}
|
|
5815
|
+
else if (fund.fundId === Aware.Id) {
|
|
5783
5816
|
await this.eventTrackingService.TrackPromotedSuperFundDetailViewedAsync({
|
|
5784
|
-
|
|
5785
|
-
fundName: AustralianRetirementTrustFundName
|
|
5817
|
+
fundName: Aware.Name
|
|
5786
5818
|
});
|
|
5787
5819
|
state$1.fundId = fund.fundId;
|
|
5788
5820
|
}
|
|
5789
5821
|
return navigationService.navigateInternally(this.history, fund.route);
|
|
5790
5822
|
}
|
|
5791
|
-
pdsViewedAsync(
|
|
5823
|
+
pdsViewedAsync(name, usi) {
|
|
5792
5824
|
return this.eventTrackingService.TrackSuperFundPdsViewedAsync({
|
|
5793
5825
|
fundUsi: usi,
|
|
5794
5826
|
fundName: name,
|
|
@@ -1,20 +1,37 @@
|
|
|
1
|
-
export const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
export const
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
export const
|
|
1
|
+
export const QSuper = {
|
|
2
|
+
Id: 'qsuper',
|
|
3
|
+
Name: 'QSuper',
|
|
4
|
+
InsuranceName: 'QSuper Insurance',
|
|
5
|
+
Usi: '60905115063001',
|
|
6
|
+
Abn: '32 125 059 006',
|
|
7
|
+
PdsUrl: 'https://qsuper.qld.gov.au/calculators-and-forms/publications/product-disclosure-statements',
|
|
8
|
+
PdsPdf: 'https://qsuper.qld.gov.au/-/media/pdfs/qsuper-public/publications/pds11.pdf',
|
|
9
|
+
MinAge: 14,
|
|
10
|
+
MinInsuranceAge: 16,
|
|
11
|
+
MaxAge: 16
|
|
12
|
+
};
|
|
13
|
+
export const Slate = {
|
|
14
|
+
Id: 'slate',
|
|
15
|
+
Name: 'Slate Super',
|
|
16
|
+
PdsUrl: 'https://slate.co/pds/?utm_source=flare&utm_medium=superselection',
|
|
17
|
+
Usi: '32367272075001',
|
|
18
|
+
DiversaAbn: '49 006 421 638'
|
|
19
|
+
};
|
|
20
|
+
export const AustralianRetirementTrust = {
|
|
21
|
+
Id: 'australian-retirement-trust',
|
|
22
|
+
Name: 'Australian Retirement Trust',
|
|
23
|
+
PdsUrl: 'https://www.australianretirementtrust.com.au/library/media/pdfs/pds/super-savings-product-disclosure-statement-and-membership-form.pdf',
|
|
24
|
+
Abn: '60 905 115 063'
|
|
25
|
+
};
|
|
26
|
+
export const Aware = {
|
|
27
|
+
Id: 'aware',
|
|
28
|
+
Name: 'Aware Super',
|
|
29
|
+
PdsUrl: 'https://aware.com.au/member/forms-and-resources/pds',
|
|
30
|
+
Abn: '53 226 460 365'
|
|
31
|
+
};
|
|
32
|
+
export const PromotedFundIdList = [
|
|
33
|
+
{ dtoPropName: 'qSuper', id: QSuper.Id },
|
|
34
|
+
{ dtoPropName: 'slate', id: Slate.Id },
|
|
35
|
+
{ dtoPropName: 'australianRetirementTrust', id: AustralianRetirementTrust.Id },
|
|
36
|
+
{ dtoPropName: 'aware', id: Aware.Id }
|
|
37
|
+
];
|
package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-confirm-header.js
CHANGED
|
@@ -15,14 +15,14 @@ export class QsuperConfirmHeader {
|
|
|
15
15
|
h("a", { target: "_blank", href: navigationService.toExternalUrl(qSuperAccumulationAccountUrl) }, "QSuper Accumulation Account"),
|
|
16
16
|
". Read the",
|
|
17
17
|
' ',
|
|
18
|
-
h("a", { target: "_blank", onClick: () => this.pdsViewedAsync(), href: navigationService.toExternalUrl(constants.
|
|
18
|
+
h("a", { target: "_blank", onClick: () => this.pdsViewedAsync(), href: navigationService.toExternalUrl(constants.QSuper.PdsPdf) }, "PDS"),
|
|
19
19
|
' ',
|
|
20
20
|
"here.")));
|
|
21
21
|
}
|
|
22
22
|
pdsViewedAsync() {
|
|
23
23
|
return this.eventTrackingService.TrackSuperFundPdsViewedAsync({
|
|
24
|
-
fundUsi: constants.
|
|
25
|
-
fundName: constants.
|
|
24
|
+
fundUsi: constants.QSuper.Usi,
|
|
25
|
+
fundName: constants.QSuper.Name,
|
|
26
26
|
pageName: 'Insurance Opt In'
|
|
27
27
|
});
|
|
28
28
|
}
|
|
@@ -47,8 +47,8 @@ export class QSuperConfirmSelection {
|
|
|
47
47
|
}
|
|
48
48
|
pdsViewedAsync() {
|
|
49
49
|
return this.eventTrackingService.TrackSuperFundPdsViewedAsync({
|
|
50
|
-
fundUsi: constants.
|
|
51
|
-
fundName: constants.
|
|
50
|
+
fundUsi: constants.QSuper.Usi,
|
|
51
|
+
fundName: constants.QSuper.Name,
|
|
52
52
|
pageName: 'Confirm Page'
|
|
53
53
|
});
|
|
54
54
|
}
|
|
@@ -79,8 +79,8 @@ export class QsuperConsent {
|
|
|
79
79
|
}
|
|
80
80
|
pdsViewedAsync() {
|
|
81
81
|
return this.eventTrackingService.TrackSuperFundPdsViewedAsync({
|
|
82
|
-
fundUsi: constants.
|
|
83
|
-
fundName: constants.
|
|
82
|
+
fundUsi: constants.QSuper.Usi,
|
|
83
|
+
fundName: constants.QSuper.Name,
|
|
84
84
|
pageName: 'Accumulation Page'
|
|
85
85
|
});
|
|
86
86
|
}
|
package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-insurance-opt-in.js
CHANGED
|
@@ -15,9 +15,9 @@ export class QsuperInsuranceOptIn {
|
|
|
15
15
|
}
|
|
16
16
|
componentDidLoad() {
|
|
17
17
|
return this.eventTrackingService.TrackFinancialProductViewedAsync({
|
|
18
|
-
fundUsi: constants.
|
|
19
|
-
fundName: constants.
|
|
20
|
-
financialProduct: constants.
|
|
18
|
+
fundUsi: constants.QSuper.Usi,
|
|
19
|
+
fundName: constants.QSuper.Name,
|
|
20
|
+
financialProduct: constants.QSuper.InsuranceName
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
23
|
componentWillLoad() {
|
|
@@ -60,11 +60,11 @@ export class QsuperInsuranceOptIn {
|
|
|
60
60
|
h("p", { class: "confirm-item-text\u00A0mb-0" }, "I acknowledge that my personal information will be shared with QSuper as part of their application process.")))))));
|
|
61
61
|
}
|
|
62
62
|
ensureInsuranceEligibility() {
|
|
63
|
-
if (superSelectionAppService.superBuyer.userProfile.yearsOfAge < constants.
|
|
63
|
+
if (superSelectionAppService.superBuyer.userProfile.yearsOfAge < constants.QSuper.MinAge) {
|
|
64
64
|
return;
|
|
65
65
|
}
|
|
66
|
-
else if (superSelectionAppService.superBuyer.userProfile.yearsOfAge < constants.
|
|
67
|
-
this.showIneligibleNotification(`You may still apply for QSuper, however people under the age of ${constants.
|
|
66
|
+
else if (superSelectionAppService.superBuyer.userProfile.yearsOfAge < constants.QSuper.MinInsuranceAge) {
|
|
67
|
+
this.showIneligibleNotification(`You may still apply for QSuper, however people under the age of ${constants.QSuper.MinInsuranceAge} are not able to apply for insurance.`);
|
|
68
68
|
return;
|
|
69
69
|
}
|
|
70
70
|
this.isEligibleForInsurance = true;
|
|
@@ -13,11 +13,11 @@ export class QsuperLayout {
|
|
|
13
13
|
this.isEligible = false;
|
|
14
14
|
this.canContinue = () => this.isEligible && qSuperState.continueAllowed;
|
|
15
15
|
this.ensureEligibility = () => {
|
|
16
|
-
if (superSelectionAppService.superBuyer.userProfile.yearsOfAge < constants.
|
|
17
|
-
this.showIneligibleNotification(`People under the age of ${constants.
|
|
16
|
+
if (superSelectionAppService.superBuyer.userProfile.yearsOfAge < constants.QSuper.MinAge) {
|
|
17
|
+
this.showIneligibleNotification(`People under the age of ${constants.QSuper.MinAge} are not able to open accounts.`);
|
|
18
18
|
}
|
|
19
|
-
else if (superSelectionAppService.superBuyer.userProfile.yearsOfAge > constants.
|
|
20
|
-
this.showIneligibleNotification(`People over the age of ${constants.
|
|
19
|
+
else if (superSelectionAppService.superBuyer.userProfile.yearsOfAge > constants.QSuper.MaxAge) {
|
|
20
|
+
this.showIneligibleNotification(`People over the age of ${constants.QSuper.MaxAge} are not able to open accounts.`);
|
|
21
21
|
}
|
|
22
22
|
else {
|
|
23
23
|
this.isEligible = true;
|
|
@@ -25,7 +25,7 @@ export class QsuperLayout {
|
|
|
25
25
|
};
|
|
26
26
|
this.showIneligibleNotification = (description) => {
|
|
27
27
|
notificationsService.showInfoNotification({
|
|
28
|
-
title:
|
|
28
|
+
title: 'Unable to apply for QSuper',
|
|
29
29
|
description
|
|
30
30
|
});
|
|
31
31
|
};
|
|
@@ -4,16 +4,13 @@ import australianFundLookupService from './australian-fund-lookup.service';
|
|
|
4
4
|
import superSelectionAppService from './super-selection-app.service';
|
|
5
5
|
export class ChosenFundService {
|
|
6
6
|
async GetChosenFundAsync() {
|
|
7
|
-
var _a;
|
|
7
|
+
var _a, _b;
|
|
8
8
|
const choiceDetails = (_a = superSelectionAppService.superBuyer.superChoice) === null || _a === void 0 ? void 0 : _a.choiceDetails;
|
|
9
9
|
if (!choiceDetails)
|
|
10
10
|
return none;
|
|
11
11
|
if ('promoted' in choiceDetails) {
|
|
12
|
-
const
|
|
13
|
-
|
|
14
|
-
: constants.SlateFundId in choiceDetails.promoted
|
|
15
|
-
? constants.SlateFundId
|
|
16
|
-
: '';
|
|
12
|
+
const fund = constants.PromotedFundIdList.find((f) => f.dtoPropName in choiceDetails.promoted);
|
|
13
|
+
const promotedId = (_b = fund === null || fund === void 0 ? void 0 : fund.id) !== null && _b !== void 0 ? _b : '';
|
|
17
14
|
return some({
|
|
18
15
|
isPromoted: true,
|
|
19
16
|
promotedId
|
package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-aware.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 182 74"><defs><path id="a" d="M.586.298h6.47v7.605H.586z"/><path id="c" d="M.433.54h5.801v10.842H.433z"/><path id="e" d="M.255.373h10.843v5.802H.255z"/><path id="g" d="M.001.639h27.458v26.81H.001z"/></defs><g fill="none" fill-rule="evenodd"><path fill="#851F83" d="M83.901 72.56a.764.764 0 01-.308-.615c0-.425.34-.754.764-.754.212 0 .36.074.466.15.562.412 1.178.667 1.9.667.667 0 1.07-.265 1.07-.7v-.021c0-.414-.255-.626-1.495-.944-1.495-.382-2.462-.795-2.462-2.27v-.021c0-1.347 1.083-2.238 2.599-2.238.902 0 1.688.233 2.356.658.18.106.36.328.36.647a.752.752 0 01-.763.753.787.787 0 01-.414-.117c-.541-.318-1.05-.499-1.56-.499-.625 0-.954.286-.954.648v.02c0 .488.318.648 1.6.976 1.508.393 2.356.934 2.356 2.228v.021c0 1.475-1.125 2.302-2.725 2.302a4.79 4.79 0 01-2.79-.891"/><g transform="translate(99.146 65.558)"><mask id="b" fill="#fff"><use xlink:href="#a"/></mask><path fill="#851F83" d="M.586 4.605v-3.49a.81.81 0 01.817-.817.81.81 0 01.816.817v3.447c0 1.209.605 1.835 1.603 1.835.995 0 1.6-.605 1.6-1.782v-3.5A.81.81 0 016.24.298a.81.81 0 01.816.817v3.437c0 2.248-1.262 3.351-3.256 3.351C1.806 7.903.586 6.79.586 4.605" mask="url(#b)"/></g><path fill="#851F83" d="M119.66 69.664c.817 0 1.294-.488 1.294-1.124v-.021c0-.732-.51-1.125-1.326-1.125h-1.263v2.27h1.294zm-2.928-2.927a.81.81 0 01.816-.817h2.217c1.771 0 2.843 1.05 2.843 2.566v.022c0 1.718-1.336 2.61-3.002 2.61h-1.24v1.473a.81.81 0 01-.818.817.81.81 0 01-.816-.817v-5.854zm16.325 5.791v-5.79a.81.81 0 01.817-.818h4.114c.404 0 .733.33.733.733 0 .403-.329.72-.733.72h-3.308v1.507h2.831c.403 0 .732.328.732.731a.724.724 0 01-.732.721h-2.831v1.56h3.362c.403 0 .732.329.732.732 0 .403-.329.72-.732.72h-4.168a.81.81 0 01-.817-.816m18.866-3.001c.796 0 1.251-.425 1.251-1.05v-.022c0-.7-.488-1.06-1.283-1.06h-1.623v2.132h1.655zm-3.288-2.79c0-.456.361-.817.817-.817h2.577c.944 0 1.675.265 2.163.753.414.414.638.998.638 1.697v.021c0 1.167-.585 1.889-1.486 2.26l1.136 1.379c.158.202.265.371.265.625 0 .456-.382.753-.775.753-.371 0-.616-.18-.806-.424l-1.59-2.015h-1.306v1.622a.81.81 0 01-.816.817.811.811 0 01-.817-.817v-5.854zm13.752-32.31h-4.879c-.8 0-1.453.653-1.453 1.452v5.664c0 .456.373.831.83.831h.173v6.599h2.514v-6.258h.75v6.258h2.514v-6.599h.172c.457 0 .83-.375.83-.831v-5.664c0-.799-.652-1.452-1.45-1.452m-4.333-1.755c.498.463 1.16.753 1.892.753h.002c.709 0 1.374-.272 1.891-.753.026-.024.055-.042.08-.066a2.768 2.768 0 00.815-1.972 2.792 2.792 0 00-2.79-2.787c-.745 0-1.446.29-1.972.817a2.774 2.774 0 00.082 4.008"/><g transform="translate(156.621 .18)"><mask id="d" fill="#fff"><use xlink:href="#c"/></mask><path fill="#ED1D24" d="M1.515 11.382H5.15c.597 0 1.083-.488 1.083-1.083V6.077a.619.619 0 00-.618-.618h-.13V.539H3.613v4.665h-.559V.539H1.181v4.92h-.13a.62.62 0 00-.618.618V10.3c0 .595.487 1.083 1.082 1.083" mask="url(#d)"/></g><path fill="#ED1D24" d="M161.366 12.87a2.07 2.07 0 00-1.41-.562h-.003c-.528 0-1.025.202-1.41.562-.017.017-.04.03-.06.05a2.08 2.08 0 001.474 3.546 2.06 2.06 0 001.469-.61 2.065 2.065 0 00-.06-2.986"/><path fill="#0063A5" d="M149.358 23.952v-3.637c0-.596-.486-1.083-1.082-1.083h-4.222a.621.621 0 00-.619.62v.128h-4.919v1.874h4.664v.559h-4.664v1.874h4.92v.13a.62.62 0 00.618.617h4.222c.596 0 1.082-.486 1.082-1.082m1.309-3.229a2.061 2.061 0 00-.561 1.41v.003c0 .528.202 1.023.56 1.41.017.018.032.04.05.059a2.081 2.081 0 003.548-1.474c0-.554-.218-1.076-.61-1.468a2.065 2.065 0 00-2.987.06"/><g transform="translate(170.272 18.86)"><mask id="f" fill="#fff"><use xlink:href="#e"/></mask><path fill="#00843C" d="M.255 1.454v3.637c0 .597.487 1.084 1.083 1.084H5.56a.62.62 0 00.618-.62v-.128h4.92V3.553H6.433v-.559h4.665V1.12h-4.92V.991c0-.34-.28-.618-.618-.618H1.338C.742.373.255.86.255 1.454" mask="url(#f)"/></g><path fill="#00843C" d="M169.22 23.543c.345-.371.56-.864.56-1.41v-.002c0-.528-.201-1.025-.56-1.41-.018-.019-.032-.042-.05-.06a2.073 2.073 0 00-1.47-.607 2.083 2.083 0 00-2.078 2.081c0 .554.217 1.076.61 1.469a2.067 2.067 0 002.987-.061"/><path fill="#EC008C" d="M166.148 13.366l.018.018 2.534 2.534.019.02c.421.42 1.11.42 1.532 0l.632-.632 1.065-1.065 1.287-1.288a.622.622 0 000-.875l-.091-.092 3.479-3.478-1.326-1.325L172 10.48l-.395-.395 3.3-3.298-1.326-1.326L170.1 8.94l-.092-.09a.618.618 0 00-.875 0l-1.287 1.287-1.066 1.065-.631.632a1.084 1.084 0 000 1.53m1.357 3.21a2.073 2.073 0 00-.6-1.394l-.003-.001a2.052 2.052 0 00-1.392-.6c-.027-.001-.052-.008-.078-.008a2.082 2.082 0 00-1.468 3.55c.393.392.917.61 1.471.608a2.072 2.072 0 002.07-2.155"/><path fill="#A5CF4D" d="M153.752 13.377l-.018.019-2.536 2.534-.018.02c-.42.42-1.11.42-1.531 0l-.633-.632-1.064-1.066-1.289-1.288a.62.62 0 01.001-.875l.091-.091-3.478-3.479 1.325-1.325 3.298 3.298.395-.394-3.299-3.3 1.325-1.324 3.48 3.478.09-.09a.62.62 0 01.876 0l1.287 1.287 1.066 1.066.632.632c.42.42.421 1.11 0 1.53m-1.359 3.209a2.064 2.064 0 01.6-1.394l.002-.002c.373-.373.868-.58 1.394-.6.026 0 .051-.007.077-.007a2.08 2.08 0 01-.003 4.157 2.071 2.071 0 01-2.07-2.154"/><path fill="#00BCE2" d="M166.148 30.925l.018-.019 2.534-2.534.019-.02c.421-.42 1.11-.42 1.532 0l.632.632 1.065 1.066 1.287 1.288c.24.24.24.634 0 .875l-.091.091 3.479 3.479-1.326 1.325L172 33.81l-.395.395 3.3 3.299-1.326 1.324-3.479-3.478-.092.09a.622.622 0 01-.875 0l-1.287-1.287-1.066-1.066-.631-.632a1.084 1.084 0 010-1.53m1.357-3.209a2.07 2.07 0 01-.6 1.394l-.003.002a2.06 2.06 0 01-1.392.6c-.027 0-.052.007-.078.007a2.082 2.082 0 01-1.468-3.55 2.063 2.063 0 011.471-.607 2.071 2.071 0 012.07 2.154"/><path fill="#FAA61A" d="M153.752 30.925l-.018-.019-2.536-2.534-.018-.02c-.42-.42-1.11-.42-1.531 0l-.633.632-1.064 1.066-1.289 1.288a.62.62 0 00.001.875l.091.091-3.478 3.479 1.325 1.325 3.298-3.298.395.395-3.299 3.299 1.325 1.324 3.48-3.478.09.09c.242.24.636.24.876 0l1.287-1.287 1.066-1.066.632-.632c.42-.42.421-1.11 0-1.53m-1.359-3.209c.018.507.215 1.008.6 1.394l.002.002c.373.373.868.58 1.394.6.026 0 .051.007.077.007a2.08 2.08 0 00-.003-4.157 2.071 2.071 0 00-2.07 2.154"/><g transform="translate(0 33.228)"><mask id="h" fill="#fff"><use xlink:href="#g"/></mask><path fill="#EC008C" d="M13.756 21.797c-4.052 0-7.203-3.351-7.203-7.753 0-4.401 3.15-7.702 7.203-7.702 4.101 0 7.252 3.3 7.252 7.702s-3.15 7.753-7.252 7.753M27.036 1.24h-5.754a.424.424 0 00-.424.424V4.84c-1.4-2.25-4.602-4.201-8.403-4.201C5.403.64 0 6.492 0 14.044 0 21.647 5.403 27.45 12.455 27.45c3.8 0 7.002-1.95 8.403-4.202v3.178c0 .234.19.423.424.423h5.754a.422.422 0 00.423-.423V1.664a.423.423 0 00-.423-.424" mask="url(#h)"/></g><path fill="#EC008C" d="M82.32 55.025c-4.057 0-7.204-3.353-7.204-7.752 0-4.4 3.147-7.702 7.204-7.702 4.097 0 7.25 3.301 7.25 7.702 0 4.4-3.153 7.752-7.25 7.752m13.277-20.558h-5.755a.427.427 0 00-.39.262.386.386 0 00-.031.165v3.172c-1.402-2.248-4.602-4.2-8.405-4.2-7.05 0-12.452 5.854-12.452 13.407 0 7.604 5.402 13.405 12.452 13.405 3.803 0 7.003-1.95 8.405-4.205v3.178c0 .237.189.427.42.427h5.756c.237 0 .426-.19.426-.427V34.894a.425.425 0 00-.426-.427m18.618-.449h-.326c-3.501 0-6.153 1.95-7.553 4.402v-3.528a.425.425 0 00-.423-.424h-5.755a.424.424 0 00-.424.424v24.761c0 .234.19.424.424.424h5.754c.235 0 .424-.19.424-.424v-12.08c0-4.952 2.95-7.003 6.752-7.003.358 0 .715.025 1.09.058l.037.002c.235 0 .424-.19.424-.423v-5.765a.424.424 0 00-.424-.424m-43.96.874a.424.424 0 00-.422-.423v-.001h-6.39a.425.425 0 00-.376.235l-5.928 14.16-5.733-14.154a.423.423 0 00-.379-.241h-2.14a.422.422 0 00-.379.24l-5.736 14.155-5.922-14.147a.426.426 0 00-.383-.248h-6.385a.425.425 0 00-.425.424c0 .067.02.128.048.185l3.64 7.537 8.33 17.228c.07.138.21.235.374.235h1.972a.42.42 0 00.388-.255l5.546-12.2 5.551 12.206a.423.423 0 00.384.249h1.972a.421.421 0 00.38-.244l11.974-24.77a.408.408 0 00.039-.171m51.335 9.68c.9-3.302 3.452-5.402 6.654-5.402 3.75 0 5.8 2.7 6.101 5.402h-12.754zm18.957 2.85c0-7.602-4.102-13.554-12.205-13.554-7.002 0-13.153 5.752-13.153 13.454 0 7.702 6.151 13.354 14.204 13.354l.148-.003v.003c1.134 0 2.24-.11 3.316-.308l.03-.005c.38-.07.756-.148 1.128-.242l.013-.003c.368-.091 1.14-.326 1.167-.335 1.336-.423 3.804-1.66 3.805-1.661a.724.724 0 00.304-.94l-1.705-3.569a.423.423 0 00-.383-.247.4.4 0 00-.188.05c-.005 0-.892.451-1.356.644a17.78 17.78 0 01-6.035 1.098c-4.41-.172-7.574-2.392-8.247-6.185h18.73c.235 0 .425-.19.425-.424l.002-1.126z"/></g></svg>
|
package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item.js
CHANGED
|
@@ -10,7 +10,7 @@ export class SuperChoiceItem {
|
|
|
10
10
|
'ss-picked-fund': this.isSelected
|
|
11
11
|
} },
|
|
12
12
|
h("div", { class: "card-body py-0 px-0 px-xl-3" },
|
|
13
|
-
this.isSelected && (h("div", { class: "px-3 py-2 text-white picked-block position-absolute" }, "You picked")),
|
|
13
|
+
this.isSelected && (h("div", { class: "px-3 py-2 text-white promoted-picked-block position-absolute" }, "You picked")),
|
|
14
14
|
h("div", { class: "d-flex flex-fill flex-column align-items-center" },
|
|
15
15
|
h("div", { class: "d-flex justify-content-end w-100" },
|
|
16
16
|
h("div", { class: "text-muted small border rounded-sm px-1 mt-n2 mr-n2 mb-1" }, "Advertised")),
|
|
@@ -66,11 +66,11 @@ export class SuperChoiceItem {
|
|
|
66
66
|
"mutable": false,
|
|
67
67
|
"complexType": {
|
|
68
68
|
"original": "string",
|
|
69
|
-
"resolved": "string",
|
|
69
|
+
"resolved": "string | undefined",
|
|
70
70
|
"references": {}
|
|
71
71
|
},
|
|
72
72
|
"required": false,
|
|
73
|
-
"optional":
|
|
73
|
+
"optional": true,
|
|
74
74
|
"docs": {
|
|
75
75
|
"tags": [],
|
|
76
76
|
"text": ""
|