@flarehr/apollo-super-selection 3.32.54883 → 3.35.55455
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +1 -1
- package/dist/lib/apollo-super-selection/{p-38fea72e.system.entry.js → p-26f5c23f.system.entry.js} +1 -1
- package/dist/lib/apollo-super-selection/{p-a5b6c9ea.entry.js → p-5d582847.entry.js} +4 -4
- package/dist/lib/apollo-super-selection/p-d82b00ed.system.js +1 -1
- package/dist/lib/cjs/apollo-super-selection.cjs.js +1 -1
- package/dist/lib/cjs/fl-button_46.cjs.entry.js +53 -29
- package/dist/lib/cjs/loader.cjs.js +1 -1
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/custom-fund.js +3 -1
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/default-fund/default-fund.js +4 -3
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.js +4 -2
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.js +5 -3
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.js +4 -2
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund-standard-choice-page.js +1 -1
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-iframe-builder.js +5 -0
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-standard-choice-page.js +1 -1
- package/dist/lib/collection/components/super-selection-app/services/event-tracking.service.js +8 -4
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +15 -6
- package/dist/lib/esm/apollo-super-selection.js +1 -1
- package/dist/lib/esm/fl-button_46.entry.js +53 -29
- package/dist/lib/esm/loader.js +1 -1
- package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
- package/dist/lib/esm-es5/fl-button_46.entry.js +9 -9
- package/dist/lib/esm-es5/loader.js +1 -1
- package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +15 -10
- package/dist/lib/types/components/super-selection-app/services/event-tracking.service.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-38ee2795.system.js","./p-13573238.system.js","./p-7dbe5a2f.system.js","./p-381262c1.system.js"],(function(s,e){"use strict";var t,o,n;return{setters:[function(s){t=s.p;o=s.b},function(){},function(){},function(s){n=s.g}],execute:function(){var s=function(){var s=e.meta.url;var o={};if(s!==""){o.resourcesUrl=new URL(".",s).href}return t(o)};s().then((function(s){n();return o([["p-64ebe17d.system",[[1,"fl-style-guide",{themeCssUrl:[1,"theme-css-url"]}]]],["p-cd49a6b7.system",[[0,"context-consumer",{context:[16],renderer:[16],subscribe:[16],unsubscribe:[32]}]]],["p-8cbfc343.system",[[0,"stencil-async-content",{documentLocation:[1,"document-location"],content:[32]}]]],["p-642db1f7.system",[[0,"stencil-route-title",{titleSuffix:[1,"title-suffix"],pageTitle:[1,"page-title"]}]]],["p-285da037.system",[[0,"stencil-router-prompt",{when:[4],message:[1],history:[16],unblock:[32]}]]],["p-f15bf700.system",[[0,"stencil-router-redirect",{history:[16],root:[1],url:[1]}]]],["p-
|
|
1
|
+
System.register(["./p-38ee2795.system.js","./p-13573238.system.js","./p-7dbe5a2f.system.js","./p-381262c1.system.js"],(function(s,e){"use strict";var t,o,n;return{setters:[function(s){t=s.p;o=s.b},function(){},function(){},function(s){n=s.g}],execute:function(){var s=function(){var s=e.meta.url;var o={};if(s!==""){o.resourcesUrl=new URL(".",s).href}return t(o)};s().then((function(s){n();return o([["p-64ebe17d.system",[[1,"fl-style-guide",{themeCssUrl:[1,"theme-css-url"]}]]],["p-cd49a6b7.system",[[0,"context-consumer",{context:[16],renderer:[16],subscribe:[16],unsubscribe:[32]}]]],["p-8cbfc343.system",[[0,"stencil-async-content",{documentLocation:[1,"document-location"],content:[32]}]]],["p-642db1f7.system",[[0,"stencil-route-title",{titleSuffix:[1,"title-suffix"],pageTitle:[1,"page-title"]}]]],["p-285da037.system",[[0,"stencil-router-prompt",{when:[4],message:[1],history:[16],unblock:[32]}]]],["p-f15bf700.system",[[0,"stencil-router-redirect",{history:[16],root:[1],url:[1]}]]],["p-26f5c23f.system",[[0,"sss-my-own-fund",{history:[16],formState:[32],isNotAllInformationProvidedMessageVisible:[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-self-managed-fund",{history:[16],formState:[32],showSmsfNotSupported:[32]}],[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-loading-page"],[0,"sss-self-managed-fund-inputs",{fundForm:[16],currentBank:[32]}],[0,"sss-smsf-not-supported-dialog"],[0,"sss-super-choice-item",{isSelected:[4,"is-selected"],usi:[1],name:[1],subText:[1,"sub-text"],logo:[1],pdsLink:[1,"pds-link"],features:[1],disclaimer:[16],abnInfo:[1,"abn-info"],history:[16]}],[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-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]}],[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)}))}}}));
|
|
@@ -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-button_46.cjs",[[0,"sss-my-own-fund",{"history":[16],"formState":[32],"isNotAllInformationProvidedMessageVisible":[32]}],[0,"sss-
|
|
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_46.cjs",[[0,"sss-my-own-fund",{"history":[16],"formState":[32],"isNotAllInformationProvidedMessageVisible":[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-self-managed-fund",{"history":[16],"formState":[32],"showSmsfNotSupported":[32]}],[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-loading-page"],[0,"sss-self-managed-fund-inputs",{"fundForm":[16],"currentBank":[32]}],[0,"sss-smsf-not-supported-dialog"],[0,"sss-super-choice-item",{"isSelected":[4,"is-selected"],"usi":[1],"name":[1],"subText":[1,"sub-text"],"logo":[1],"pdsLink":[1,"pds-link"],"features":[1],"disclaimer":[16],"abnInfo":[1,"abn-info"],"history":[16]}],[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-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]}],[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
|
});
|
|
@@ -265,7 +265,7 @@ class TapSubscriber extends delay.Subscriber {
|
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
-
const AppVersion = '3.
|
|
268
|
+
const AppVersion = '3.35.55455';
|
|
269
269
|
|
|
270
270
|
// -------------------------------------------------------------------------------------
|
|
271
271
|
// guards
|
|
@@ -3995,7 +3995,9 @@ const CustomFund = class {
|
|
|
3995
3995
|
navigationService.navigateInternally(this.history, currentRoute);
|
|
3996
3996
|
}
|
|
3997
3997
|
render() {
|
|
3998
|
-
return (index.h("div", { class: "container" }, index.h("div", { class: "row justify-content-center" }, index.h("div", { class: "col col-sm-10 col-md-7" }, index.h("p", { class: "font-weight-bold text-center" }, "Choose your Super"), index.h("div", { class: "mb-4" }, index.h("
|
|
3998
|
+
return (index.h("div", { class: "container" }, index.h("div", { class: "row justify-content-center" }, index.h("div", { class: "col col-sm-10 col-md-7" }, index.h("p", { class: "font-weight-bold text-center" }, "Choose your Super"), index.h("div", { class: "mb-4" }, index.h("select", { class: "form-control", required: true, onChange: (ev) => {
|
|
3999
|
+
this.handleChange(ev.target.value.trim());
|
|
4000
|
+
} }, this.fundOptionsList.map((f) => (index.h("option", { value: f.value, selected: this.currentCustomFund.value === f.value }, f.label))))), index.h("slot", null)))));
|
|
3999
4001
|
}
|
|
4000
4002
|
handleChange(value) {
|
|
4001
4003
|
const newFund = customFundOptions.find((item) => item.value === value) || {
|
|
@@ -4076,14 +4078,18 @@ class EventTrackingService {
|
|
|
4076
4078
|
}
|
|
4077
4079
|
});
|
|
4078
4080
|
}
|
|
4079
|
-
async TrackMyOwnSuperFundDetailViewedAsync() {
|
|
4081
|
+
async TrackMyOwnSuperFundDetailViewedAsync(detail) {
|
|
4080
4082
|
return this.trackEventAsync({
|
|
4081
|
-
SuperFundDetailViewed:
|
|
4083
|
+
SuperFundDetailViewed: {
|
|
4084
|
+
MyOwnFund: detail
|
|
4085
|
+
}
|
|
4082
4086
|
});
|
|
4083
4087
|
}
|
|
4084
|
-
async TrackSmsfSuperFundDetailViewedAsync() {
|
|
4088
|
+
async TrackSmsfSuperFundDetailViewedAsync(detail) {
|
|
4085
4089
|
return this.trackEventAsync({
|
|
4086
|
-
SuperFundDetailViewed:
|
|
4090
|
+
SuperFundDetailViewed: {
|
|
4091
|
+
Smsf: detail
|
|
4092
|
+
}
|
|
4087
4093
|
});
|
|
4088
4094
|
}
|
|
4089
4095
|
async TrackDefaultSuperFundDetailViewedAsync(detail) {
|
|
@@ -4206,20 +4212,21 @@ const DefaultFund = class {
|
|
|
4206
4212
|
componentDidLoad() {
|
|
4207
4213
|
return this.eventTrackingService.TrackDefaultSuperFundDetailViewedAsync({
|
|
4208
4214
|
fundUsi: this.defaultFund.usi,
|
|
4209
|
-
fundName: this.defaultFund.productName
|
|
4215
|
+
fundName: this.defaultFund.productName,
|
|
4216
|
+
promotedFundsShown: superSelectionAppService.promotedFunds
|
|
4210
4217
|
});
|
|
4211
4218
|
}
|
|
4212
4219
|
render() {
|
|
4213
4220
|
const NoDefaultFundBlock = () => (index.h("div", { class: "card p-4" }, index.h("p", { class: "font-weight-bold" }, "No Default Fund"), index.h("p", { class: "mb-4 small" }, "It looks like your employer has not yet defined a default fund. Please contact them if you wish to choose your company's default fund.")));
|
|
4214
4221
|
const DefaultFundBlock = (props) => [
|
|
4215
|
-
index.h("div", { class: "card p-4" }, index.h("p", { class: "font-weight-bold" }, "Default Fund"), index.h("p", { class: "mb-4 small" }, "Almost there... all you have to do now is review the fund below, complete and sign the super choice form and
|
|
4222
|
+
index.h("div", { class: "card p-4" }, index.h("p", { class: "font-weight-bold" }, "Default Fund"), index.h("p", { class: "mb-4 small" }, "Almost there... all you have to do now is review the fund below, complete and sign the super choice form and save. Your application to join the fund is subject to Trustee approval."), index.h("p", { class: "font-weight-bold mt-3" }, "Default Fund Name"), index.h("p", null, props.defaultFundName)),
|
|
4216
4223
|
index.h("sss-standard-choice-form", { onStandardChoiceFormSignatureUpdated: (event) => {
|
|
4217
4224
|
state.defaultFundForm = Object.assign(Object.assign({}, state.defaultFundForm), event.detail);
|
|
4218
4225
|
} })
|
|
4219
4226
|
];
|
|
4220
4227
|
return (index.h(index.Host, { class: "d-flex flex-fill" }, index.h("sss-custom-fund", { class: "flex-fill" }, index.h("form", { noValidate: true, onSubmit: (ev) => ev.preventDefault(), class: {
|
|
4221
4228
|
'was-validated': this.formState === 'validated'
|
|
4222
|
-
}, ref: (el) => (this.formElement = el) }, this.isDefaultFundExists ? (index.h(DefaultFundBlock, { defaultFundName: this.defaultFundProductName })) : (index.h(NoDefaultFundBlock, null))), 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" }, this.isDefaultFundExists && (index.h("div", { class: "ml-2" }, index.h("fl-promise-button", { isBlockElement: true, disabled: this.isInvalidDefaultFund, promiseFn: () => this.handleSubmitForm() }, index.h("span", null, "
|
|
4229
|
+
}, ref: (el) => (this.formElement = el) }, this.isDefaultFundExists ? (index.h(DefaultFundBlock, { defaultFundName: this.defaultFundProductName })) : (index.h(NoDefaultFundBlock, null))), 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" }, this.isDefaultFundExists && (index.h("div", { class: "ml-2" }, index.h("fl-promise-button", { isBlockElement: true, disabled: this.isInvalidDefaultFund, promiseFn: () => this.handleSubmitForm() }, index.h("span", null, "Save and continue")))))))));
|
|
4223
4230
|
}
|
|
4224
4231
|
async handleSubmitForm() {
|
|
4225
4232
|
if (this.isInvalidDefaultFund) {
|
|
@@ -4265,7 +4272,9 @@ const MyOwnFund = class {
|
|
|
4265
4272
|
this.eventTrackingService = EventTrackingService.Instance;
|
|
4266
4273
|
}
|
|
4267
4274
|
componentDidLoad() {
|
|
4268
|
-
return this.eventTrackingService.TrackMyOwnSuperFundDetailViewedAsync(
|
|
4275
|
+
return this.eventTrackingService.TrackMyOwnSuperFundDetailViewedAsync({
|
|
4276
|
+
promotedFundsShown: superSelectionAppService.promotedFunds
|
|
4277
|
+
});
|
|
4269
4278
|
}
|
|
4270
4279
|
render() {
|
|
4271
4280
|
return (index.h(index.Host, { class: "d-flex flex-fill" }, index.h("sss-custom-fund", { class: "flex-fill" }, index.h("form", { noValidate: true, onSubmit: (ev) => ev.preventDefault(), class: {
|
|
@@ -4275,7 +4284,7 @@ const MyOwnFund = class {
|
|
|
4275
4284
|
this.isNotAllInformationProvidedMessageVisible = false;
|
|
4276
4285
|
} })), index.h("sss-standard-choice-form", { onStandardChoiceFormSignatureUpdated: (event) => {
|
|
4277
4286
|
state.myOwnFundForm = Object.assign(Object.assign({}, state.myOwnFundForm), { standardChoiceFormSignature: fromNullable(event.detail.standardChoiceFormSignature) });
|
|
4278
|
-
} })), index.h("div", { class: "mt-4" }, index.h("sss-notifications-section", null)), this.isNotAllInformationProvidedMessageVisible && (index.h("div", { class: "mt-4 alert alert-danger", role: "alert" }, "All fields are required to complete submission. Make sure you have selected a fund.")), 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, "
|
|
4287
|
+
} })), index.h("div", { class: "mt-4" }, index.h("sss-notifications-section", null)), this.isNotAllInformationProvidedMessageVisible && (index.h("div", { class: "mt-4 alert alert-danger", role: "alert" }, "All fields are required to complete submission. Make sure you have selected a fund.")), 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, "Save and continue"))))))));
|
|
4279
4288
|
}
|
|
4280
4289
|
async handleSubmitForm() {
|
|
4281
4290
|
this.formState = 'validated';
|
|
@@ -4378,8 +4387,8 @@ class PromotedFundJoinIFrameBuilder {
|
|
|
4378
4387
|
return `https://${this.environmentDiscriminator()}.flarehr.com/promoted-fund-join/embed/v1.0/web`;
|
|
4379
4388
|
};
|
|
4380
4389
|
}
|
|
4381
|
-
build(iframe, history) {
|
|
4382
|
-
if (!(iframe === null || iframe === void 0 ? void 0 : iframe.contentDocument))
|
|
4390
|
+
build(iframe$1, history) {
|
|
4391
|
+
if (!(iframe$1 === null || iframe$1 === void 0 ? void 0 : iframe$1.contentDocument))
|
|
4383
4392
|
return;
|
|
4384
4393
|
const baseUrl = this.hostIsLocalSuperSelection() || this.hostIsDeployed()
|
|
4385
4394
|
? `${window.location.origin}/super-selection/embed/v1.0/app`
|
|
@@ -4411,14 +4420,18 @@ class PromotedFundJoinIFrameBuilder {
|
|
|
4411
4420
|
if (data.sender === 'promoted-fund-join') {
|
|
4412
4421
|
switch (data.type) {
|
|
4413
4422
|
case 'contentResized':
|
|
4414
|
-
iframe.height = data.height > 0 ? data.height : iframe.height;
|
|
4415
|
-
iframe.width = data.width > 0 ? data.width : iframe.width;
|
|
4423
|
+
iframe$1.height = data.height > 0 ? data.height : iframe$1.height;
|
|
4424
|
+
iframe$1.width = data.width > 0 ? data.width : iframe$1.width;
|
|
4425
|
+
break;
|
|
4426
|
+
case 'pageNavigated':
|
|
4427
|
+
window.scroll(iframe$1.offsetLeft, iframe$1.offsetTop);
|
|
4428
|
+
iframe.navigation(window.location.href);
|
|
4416
4429
|
break;
|
|
4417
4430
|
}
|
|
4418
4431
|
}
|
|
4419
4432
|
};
|
|
4420
4433
|
window.addEventListener('message', handleMessage);
|
|
4421
|
-
const iframeDoc = iframe.contentDocument;
|
|
4434
|
+
const iframeDoc = iframe$1.contentDocument;
|
|
4422
4435
|
iframeDoc.open();
|
|
4423
4436
|
const form = iframeDoc.createElement('form');
|
|
4424
4437
|
form.method = 'POST';
|
|
@@ -4497,7 +4510,7 @@ const PromotedFundStandardChoicePage = class {
|
|
|
4497
4510
|
}, ref: (el) => (this.formElement = el) }, index.h("sss-standard-choice-form", { onStandardChoiceFormSignatureUpdated: (event) => {
|
|
4498
4511
|
state$1.standardChoiceFormSignature =
|
|
4499
4512
|
event.detail.standardChoiceFormSignature;
|
|
4500
|
-
} })), index.h("div", { class: "d-flex mt-4" }, 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, "
|
|
4513
|
+
} })), index.h("div", { class: "d-flex mt-4" }, 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, "Save and continue")))))))))));
|
|
4501
4514
|
}
|
|
4502
4515
|
async handleSubmitForm() {
|
|
4503
4516
|
this.formState = 'validated';
|
|
@@ -5111,7 +5124,9 @@ const SelfManagedFund = class {
|
|
|
5111
5124
|
};
|
|
5112
5125
|
}
|
|
5113
5126
|
componentDidLoad() {
|
|
5114
|
-
return this.eventTrackingService.TrackSmsfSuperFundDetailViewedAsync(
|
|
5127
|
+
return this.eventTrackingService.TrackSmsfSuperFundDetailViewedAsync({
|
|
5128
|
+
promotedFundsShown: superSelectionAppService.promotedFunds
|
|
5129
|
+
});
|
|
5115
5130
|
}
|
|
5116
5131
|
render() {
|
|
5117
5132
|
return (index.h(index.Host, { class: "d-flex flex-fill" }, index.h("sss-custom-fund", { class: "flex-fill" }, index.h("form", { noValidate: true, onSubmit: (ev) => ev.preventDefault(), class: {
|
|
@@ -5120,7 +5135,7 @@ const SelfManagedFund = class {
|
|
|
5120
5135
|
state.selfManagedFundForm = Object.assign(Object.assign({}, state.selfManagedFundForm), event.detail);
|
|
5121
5136
|
} })), index.h("sss-standard-choice-form", { onStandardChoiceFormSignatureUpdated: (event) => {
|
|
5122
5137
|
state.selfManagedFundForm = Object.assign(Object.assign({}, state.selfManagedFundForm), event.detail);
|
|
5123
|
-
} }), 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, "
|
|
5138
|
+
} }), 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, "Save and continue"))))))));
|
|
5124
5139
|
}
|
|
5125
5140
|
componentDidRender() {
|
|
5126
5141
|
var _a;
|
|
@@ -5290,9 +5305,9 @@ const SelfManagedFundInputs = class {
|
|
|
5290
5305
|
this.bankAccountNumberRegex = new RegExp(/^[0-9]{2,10}$/);
|
|
5291
5306
|
}
|
|
5292
5307
|
render() {
|
|
5293
|
-
return (index.h("div", null, index.h("div", { class: "mt-4" }, index.h("label", { class: "mb-2 font-weight-bold" }, "Fund name *"), index.h("input", { placeholder: "Enter your fund name", type: "text", class: "form-control", required: true, minlength: "2", name: "fundName", id: "fundName", value: state.selfManagedFundForm.fundName, onChange: (ev) => this.updateFormField('fundName', ev.target.value.trim()) }), index.h("div", { class: "invalid-feedback" }, "Enter a valid fund name")), index.h("div", { class: "mt-4" }, index.h("label", { class: "mb-2 font-weight-bold" }, "Fund ABN *"), index.h("input", { placeholder: "Enter your fund ABN", type: "text", class: "form-control", required: true, minlength: "2", name: "fundAbn", id: "fundAbn", value: state.selfManagedFundForm.fundAbn, onChange: (ev) => this.updateFormField('fundAbn', ev.target.value.trim()) }), index.h("div", { class: "invalid-feedback" }, "Enter a valid fund ABN")), index.h("div", { class: "mt-4" }, index.h("label", { class: "mb-2 font-weight-bold" }, "Electronic service address alias (ESA) *"), index.h("input", { placeholder: "Enter your ESA", type: "text", class: "form-control", required: true, minlength: "2", name: "fundEsa", id: "fundEsa", value: state.selfManagedFundForm.fundEsa, onChange: (ev) => this.updateFormField('fundEsa', ev.target.value.trim()) }), index.h("div", { class: "invalid-feedback" }, "Enter a valid fund ESA")), index.h("div", { class: "mt-4" }, index.h("label", { class: "mb-2 font-weight-bold" }, "Address line 1 *"), index.h("input", { placeholder: "Enter your address", type: "text", class: "form-control", required: true, minlength: "2", name: "addressLine1", id: "addressLine1", value: state.selfManagedFundForm.addressLine1, onChange: (ev) => this.updateFormField('addressLine1', ev.target.value.trim()) }), index.h("div", { class: "invalid-feedback" }, "Enter a valid address")), index.h("div", { class: "mt-4" }, index.h("label", { class: "mb-2 font-weight-bold" }, "Address line 2 (optional)"), index.h("input", { placeholder: "Enter your address", type: "text", class: "form-control", name: "addressLine2", id: "addressLine2", value: state.selfManagedFundForm.addressLine2, onChange: (ev) => this.updateFormField('addressLine2', ev.target.value.trim()) }), index.h("div", { class: "invalid-feedback" }, "Enter a valid address")), index.h("div", { class: "mt-4" }, index.h("label", { class: "mb-2 font-weight-bold" }, "City/suburb *"), index.h("input", { placeholder: "Enter your city", type: "text", class: "form-control", name: "city", required: true, id: "city", value: state.selfManagedFundForm.city, onChange: (ev) => this.updateFormField('city', ev.target.value.trim()) }), index.h("div", { class: "invalid-feedback" }, "Enter a valid city/suburb *")), index.h("div", { class: "mt-3" }, index.h("label", { class: "mb-2 font-weight-bold" }, "State *"), index.h("
|
|
5294
|
-
this.updateFormField('state', ev.
|
|
5295
|
-
} }), index.h("div", { class: "invalid-feedback" }, "Select a state")), index.h("div", { class: "mt-4" }, index.h("label", { class: "mb-2 font-weight-bold" }, "Post code *"), index.h("input", { placeholder: "Enter your post code", type: "text", required: true, class: "form-control", name: "postcode", minlength: "4", maxlength: "4", pattern: "[0-9]{4}", id: "postcode", value: state.selfManagedFundForm.postcode, onChange: (ev) => this.updateFormField('postcode', ev.target.value.trim()) }), index.h("div", { class: "invalid-feedback" }, "Enter a valid post code")), index.h("div", null, index.h("i", { class: "fas fa-check-circle" })), index.h("div", { class: "mt-4" }, index.h("label", { class: "mb-2 font-weight-bold" }, "BSB *"), index.h("input", { placeholder: "Enter your BSB", type: "text", required: true, class: "form-control", name: "bsb", id: "bsb", minlength: "6", maxlength: "7", onKeyUp: (ev) => this.updateCurrentBank(ev), pattern: this.bsbRegex.source, value: state.selfManagedFundForm.bsb }), isSome(this.currentBank) && (index.h("p", { class: "mt-3" }, index.h("strong", null, "Bank name"), index.h("br", null), index.h("span", { class: "ml-2" }, this.currentBank.value))), index.h("div", { class: "invalid-feedback" }, "Enter a valid BSB")), index.h("div", { class: "mt-4" }, index.h("label", { class: "mb-2 font-weight-bold" }, "Bank account name *"), index.h("input", { placeholder: "Enter your bank account name", type: "text", required: true, class: "form-control", name: "bankAccountName", minlength: "2", id: "bankAccountName", value: state.selfManagedFundForm.bankAccountName, onChange: (ev) => this.updateFormField('bankAccountName', ev.target.value.trim()) }), index.h("div", { class: "invalid-feedback" }, "Enter a valid bank account name")), index.h("div", { class: "mt-4" }, index.h("label", { class: "mb-2 font-weight-bold" }, "Bank account number *"), index.h("input", { placeholder: "Enter your bank account number", type: "text", required: true, class: "form-control", name: "bankAccountNumber", id: "bankAccountNumber", minlength: "2", maxlength: "11", pattern: this.bankAccountNumberRegex.source, value: state.selfManagedFundForm.bankAccountNumber, onKeyUp: (ev) => this.updateCurrentBankAccountNumber(ev), onChange: (ev) => this.updateFormField('bankAccountNumber', ev.target.value.trim()) }), index.h("div", { class: "invalid-feedback" }, "Enter a valid bank account number"))));
|
|
5308
|
+
return (index.h("div", null, index.h("div", { class: "mt-4" }, index.h("label", { class: "mb-2 font-weight-bold" }, "Fund name *"), index.h("input", { placeholder: "Enter your fund name", type: "text", class: "form-control", required: true, minlength: "2", name: "fundName", id: "fundName", value: state.selfManagedFundForm.fundName, onChange: (ev) => this.updateFormField('fundName', ev.target.value.trim()) }), index.h("div", { class: "invalid-feedback" }, "Enter a valid fund name")), index.h("div", { class: "mt-4" }, index.h("label", { class: "mb-2 font-weight-bold" }, "Fund ABN *"), index.h("input", { placeholder: "Enter your fund ABN", type: "text", class: "form-control", required: true, minlength: "2", name: "fundAbn", id: "fundAbn", value: state.selfManagedFundForm.fundAbn, onChange: (ev) => this.updateFormField('fundAbn', ev.target.value.trim()) }), index.h("div", { class: "invalid-feedback" }, "Enter a valid fund ABN")), index.h("div", { class: "mt-4" }, index.h("label", { class: "mb-2 font-weight-bold" }, "Electronic service address alias (ESA) *"), index.h("input", { placeholder: "Enter your ESA", type: "text", class: "form-control", required: true, minlength: "2", name: "fundEsa", id: "fundEsa", value: state.selfManagedFundForm.fundEsa, onChange: (ev) => this.updateFormField('fundEsa', ev.target.value.trim()) }), index.h("div", { class: "invalid-feedback" }, "Enter a valid fund ESA")), index.h("div", { class: "mt-4" }, index.h("label", { class: "mb-2 font-weight-bold" }, "Address line 1 *"), index.h("input", { placeholder: "Enter your address", type: "text", class: "form-control", required: true, minlength: "2", name: "addressLine1", id: "addressLine1", value: state.selfManagedFundForm.addressLine1, onChange: (ev) => this.updateFormField('addressLine1', ev.target.value.trim()) }), index.h("div", { class: "invalid-feedback" }, "Enter a valid address")), index.h("div", { class: "mt-4" }, index.h("label", { class: "mb-2 font-weight-bold" }, "Address line 2 (optional)"), index.h("input", { placeholder: "Enter your address", type: "text", class: "form-control", name: "addressLine2", id: "addressLine2", value: state.selfManagedFundForm.addressLine2, onChange: (ev) => this.updateFormField('addressLine2', ev.target.value.trim()) }), index.h("div", { class: "invalid-feedback" }, "Enter a valid address")), index.h("div", { class: "mt-4" }, index.h("label", { class: "mb-2 font-weight-bold" }, "City/suburb *"), index.h("input", { placeholder: "Enter your city", type: "text", class: "form-control", name: "city", required: true, id: "city", value: state.selfManagedFundForm.city, onChange: (ev) => this.updateFormField('city', ev.target.value.trim()) }), index.h("div", { class: "invalid-feedback" }, "Enter a valid city/suburb *")), index.h("div", { class: "mt-3" }, index.h("label", { class: "mb-2 font-weight-bold" }, "State *"), index.h("select", { class: "form-control", name: "state", required: true, id: "state", onChange: (ev) => {
|
|
5309
|
+
this.updateFormField('state', ev.target.value.trim());
|
|
5310
|
+
} }, index.h("option", { disabled: true, selected: !this.fundForm.state, value: "" }, "Select a state"), this.stateOptions.map((s) => (index.h("option", { value: s.value, selected: this.fundForm.state === s.value }, s.label)))), index.h("div", { class: "invalid-feedback" }, "Select a state")), index.h("div", { class: "mt-4" }, index.h("label", { class: "mb-2 font-weight-bold" }, "Post code *"), index.h("input", { placeholder: "Enter your post code", type: "text", required: true, class: "form-control", name: "postcode", minlength: "4", maxlength: "4", pattern: "[0-9]{4}", id: "postcode", value: state.selfManagedFundForm.postcode, onChange: (ev) => this.updateFormField('postcode', ev.target.value.trim()) }), index.h("div", { class: "invalid-feedback" }, "Enter a valid post code")), index.h("div", null, index.h("i", { class: "fas fa-check-circle" })), index.h("div", { class: "mt-4" }, index.h("label", { class: "mb-2 font-weight-bold" }, "BSB *"), index.h("input", { placeholder: "Enter your BSB", type: "text", required: true, class: "form-control", name: "bsb", id: "bsb", minlength: "6", maxlength: "7", onKeyUp: (ev) => this.updateCurrentBank(ev), pattern: this.bsbRegex.source, value: state.selfManagedFundForm.bsb }), isSome(this.currentBank) && (index.h("p", { class: "mt-3" }, index.h("strong", null, "Bank name"), index.h("br", null), index.h("span", { class: "ml-2" }, this.currentBank.value))), index.h("div", { class: "invalid-feedback" }, "Enter a valid BSB")), index.h("div", { class: "mt-4" }, index.h("label", { class: "mb-2 font-weight-bold" }, "Bank account name *"), index.h("input", { placeholder: "Enter your bank account name", type: "text", required: true, class: "form-control", name: "bankAccountName", minlength: "2", id: "bankAccountName", value: state.selfManagedFundForm.bankAccountName, onChange: (ev) => this.updateFormField('bankAccountName', ev.target.value.trim()) }), index.h("div", { class: "invalid-feedback" }, "Enter a valid bank account name")), index.h("div", { class: "mt-4" }, index.h("label", { class: "mb-2 font-weight-bold" }, "Bank account number *"), index.h("input", { placeholder: "Enter your bank account number", type: "text", required: true, class: "form-control", name: "bankAccountNumber", id: "bankAccountNumber", minlength: "2", maxlength: "11", pattern: this.bankAccountNumberRegex.source, value: state.selfManagedFundForm.bankAccountNumber, onKeyUp: (ev) => this.updateCurrentBankAccountNumber(ev), onChange: (ev) => this.updateFormField('bankAccountNumber', ev.target.value.trim()) }), index.h("div", { class: "invalid-feedback" }, "Enter a valid bank account number"))));
|
|
5296
5311
|
}
|
|
5297
5312
|
updateFormField(key, value) {
|
|
5298
5313
|
this.formChanged.emit({ [key]: value });
|
|
@@ -5541,7 +5556,7 @@ const SlateStandardChoicePage = class {
|
|
|
5541
5556
|
'was-validated': this.formState === 'validated'
|
|
5542
5557
|
}, ref: (el) => (this.formElement = el) }, index.h("sss-standard-choice-form", { onStandardChoiceFormSignatureUpdated: (event) => {
|
|
5543
5558
|
state$3.slateFundForm = Object.assign(Object.assign({}, state$3.slateFundForm), event.detail);
|
|
5544
|
-
} })), 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("stencil-route-link", { url: "/" }, index.h("fl-button", { 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, "
|
|
5559
|
+
} })), 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("stencil-route-link", { url: "/" }, index.h("fl-button", { 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, "Save and continue")))))))))));
|
|
5545
5560
|
}
|
|
5546
5561
|
async handleSubmitForm() {
|
|
5547
5562
|
this.formState = 'validated';
|
|
@@ -5701,9 +5716,9 @@ const SuperChoicePage = class {
|
|
|
5701
5716
|
}
|
|
5702
5717
|
componentDidLoad() {
|
|
5703
5718
|
iframe.appReady();
|
|
5704
|
-
const
|
|
5719
|
+
const promotedFundsShown = this.promotedFunds.map((item) => item.fundId);
|
|
5705
5720
|
this.eventTrackingService.TrackSuperFundPanelViewedAsync({
|
|
5706
|
-
|
|
5721
|
+
promotedFundsShown
|
|
5707
5722
|
});
|
|
5708
5723
|
}
|
|
5709
5724
|
async componentWillLoad() {
|
|
@@ -5795,27 +5810,36 @@ const SuperChoicePage = class {
|
|
|
5795
5810
|
return fundTiles;
|
|
5796
5811
|
}
|
|
5797
5812
|
async handleJoinSuperClickAsync(fund) {
|
|
5813
|
+
const promotedFundsShown = superSelectionAppService.promotedFunds;
|
|
5798
5814
|
if (fund.fundId === Slate.Id) {
|
|
5799
5815
|
await this.eventTrackingService.TrackPromotedSuperFundDetailViewedAsync({
|
|
5800
5816
|
fundUsi: Slate.Usi,
|
|
5801
|
-
fundName: Slate.Name
|
|
5817
|
+
fundName: Slate.Name,
|
|
5818
|
+
promotedFundId: Slate.Id,
|
|
5819
|
+
promotedFundsShown
|
|
5802
5820
|
});
|
|
5803
5821
|
}
|
|
5804
5822
|
else if (fund.fundId === QSuper.Id) {
|
|
5805
5823
|
await this.eventTrackingService.TrackPromotedSuperFundDetailViewedAsync({
|
|
5806
5824
|
fundUsi: QSuper.Usi,
|
|
5807
|
-
fundName: QSuper.Name
|
|
5825
|
+
fundName: QSuper.Name,
|
|
5826
|
+
promotedFundId: QSuper.Id,
|
|
5827
|
+
promotedFundsShown
|
|
5808
5828
|
});
|
|
5809
5829
|
}
|
|
5810
5830
|
else if (fund.fundId === AustralianRetirementTrust.Id) {
|
|
5811
5831
|
await this.eventTrackingService.TrackPromotedSuperFundDetailViewedAsync({
|
|
5812
|
-
fundName: AustralianRetirementTrust.Name
|
|
5832
|
+
fundName: AustralianRetirementTrust.Name,
|
|
5833
|
+
promotedFundId: AustralianRetirementTrust.Id,
|
|
5834
|
+
promotedFundsShown
|
|
5813
5835
|
});
|
|
5814
5836
|
state$1.fundId = fund.fundId;
|
|
5815
5837
|
}
|
|
5816
5838
|
else if (fund.fundId === Aware.Id) {
|
|
5817
5839
|
await this.eventTrackingService.TrackPromotedSuperFundDetailViewedAsync({
|
|
5818
|
-
fundName: Aware.Name
|
|
5840
|
+
fundName: Aware.Name,
|
|
5841
|
+
promotedFundId: Aware.Id,
|
|
5842
|
+
promotedFundsShown
|
|
5819
5843
|
});
|
|
5820
5844
|
state$1.fundId = fund.fundId;
|
|
5821
5845
|
}
|
|
@@ -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-button_46.cjs",[[0,"sss-my-own-fund",{"history":[16],"formState":[32],"isNotAllInformationProvidedMessageVisible":[32]}],[0,"sss-
|
|
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_46.cjs",[[0,"sss-my-own-fund",{"history":[16],"formState":[32],"isNotAllInformationProvidedMessageVisible":[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-self-managed-fund",{"history":[16],"formState":[32],"showSmsfNotSupported":[32]}],[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-loading-page"],[0,"sss-self-managed-fund-inputs",{"fundForm":[16],"currentBank":[32]}],[0,"sss-smsf-not-supported-dialog"],[0,"sss-super-choice-item",{"isSelected":[4,"is-selected"],"usi":[1],"name":[1],"subText":[1,"sub-text"],"logo":[1],"pdsLink":[1,"pds-link"],"features":[1],"disclaimer":[16],"abnInfo":[1,"abn-info"],"history":[16]}],[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-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]}],[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
|
|
|
@@ -27,7 +27,9 @@ export class CustomFund {
|
|
|
27
27
|
h("div", { class: "col col-sm-10 col-md-7" },
|
|
28
28
|
h("p", { class: "font-weight-bold text-center" }, "Choose your Super"),
|
|
29
29
|
h("div", { class: "mb-4" },
|
|
30
|
-
h("
|
|
30
|
+
h("select", { class: "form-control", required: true, onChange: (ev) => {
|
|
31
|
+
this.handleChange(ev.target.value.trim());
|
|
32
|
+
} }, this.fundOptionsList.map((f) => (h("option", { value: f.value, selected: this.currentCustomFund.value === f.value }, f.label))))),
|
|
31
33
|
h("slot", null)))));
|
|
32
34
|
}
|
|
33
35
|
handleChange(value) {
|
|
@@ -34,7 +34,8 @@ export class DefaultFund {
|
|
|
34
34
|
componentDidLoad() {
|
|
35
35
|
return this.eventTrackingService.TrackDefaultSuperFundDetailViewedAsync({
|
|
36
36
|
fundUsi: this.defaultFund.usi,
|
|
37
|
-
fundName: this.defaultFund.productName
|
|
37
|
+
fundName: this.defaultFund.productName,
|
|
38
|
+
promotedFundsShown: superSelectionAppService.promotedFunds
|
|
38
39
|
});
|
|
39
40
|
}
|
|
40
41
|
render() {
|
|
@@ -44,7 +45,7 @@ export class DefaultFund {
|
|
|
44
45
|
const DefaultFundBlock = (props) => [
|
|
45
46
|
h("div", { class: "card p-4" },
|
|
46
47
|
h("p", { class: "font-weight-bold" }, "Default Fund"),
|
|
47
|
-
h("p", { class: "mb-4 small" }, "Almost there... all you have to do now is review the fund below, complete and sign the super choice form and
|
|
48
|
+
h("p", { class: "mb-4 small" }, "Almost there... all you have to do now is review the fund below, complete and sign the super choice form and save. Your application to join the fund is subject to Trustee approval."),
|
|
48
49
|
h("p", { class: "font-weight-bold mt-3" }, "Default Fund Name"),
|
|
49
50
|
h("p", null, props.defaultFundName)),
|
|
50
51
|
h("sss-standard-choice-form", { onStandardChoiceFormSignatureUpdated: (event) => {
|
|
@@ -65,7 +66,7 @@ export class DefaultFund {
|
|
|
65
66
|
h("span", null, "Back")))),
|
|
66
67
|
h("div", { class: "flex-grow-1 w-50" }, this.isDefaultFundExists && (h("div", { class: "ml-2" },
|
|
67
68
|
h("fl-promise-button", { isBlockElement: true, disabled: this.isInvalidDefaultFund, promiseFn: () => this.handleSubmitForm() },
|
|
68
|
-
h("span", null, "
|
|
69
|
+
h("span", null, "Save and continue")))))))));
|
|
69
70
|
}
|
|
70
71
|
async handleSubmitForm() {
|
|
71
72
|
if (this.isInvalidDefaultFund) {
|
|
@@ -14,7 +14,9 @@ export class MyOwnFund {
|
|
|
14
14
|
this.eventTrackingService = EventTrackingService.Instance;
|
|
15
15
|
}
|
|
16
16
|
componentDidLoad() {
|
|
17
|
-
return this.eventTrackingService.TrackMyOwnSuperFundDetailViewedAsync(
|
|
17
|
+
return this.eventTrackingService.TrackMyOwnSuperFundDetailViewedAsync({
|
|
18
|
+
promotedFundsShown: superSelectionAppService.promotedFunds
|
|
19
|
+
});
|
|
18
20
|
}
|
|
19
21
|
render() {
|
|
20
22
|
return (h(Host, { class: "d-flex flex-fill" },
|
|
@@ -43,7 +45,7 @@ export class MyOwnFund {
|
|
|
43
45
|
h("div", { class: "flex-grow-1 w-50" },
|
|
44
46
|
h("div", { class: "ml-2" },
|
|
45
47
|
h("fl-promise-button", { isBlockElement: true, promiseFn: () => this.handleSubmitForm() },
|
|
46
|
-
h("span", null, "
|
|
48
|
+
h("span", null, "Save and continue"))))))));
|
|
47
49
|
}
|
|
48
50
|
async handleSubmitForm() {
|
|
49
51
|
this.formState = 'validated';
|
|
@@ -46,9 +46,11 @@ export class SelfManagedFundInputs {
|
|
|
46
46
|
h("div", { class: "invalid-feedback" }, "Enter a valid city/suburb *")),
|
|
47
47
|
h("div", { class: "mt-3" },
|
|
48
48
|
h("label", { class: "mb-2 font-weight-bold" }, "State *"),
|
|
49
|
-
h("
|
|
50
|
-
this.updateFormField('state', ev.
|
|
51
|
-
} }
|
|
49
|
+
h("select", { class: "form-control", name: "state", required: true, id: "state", onChange: (ev) => {
|
|
50
|
+
this.updateFormField('state', ev.target.value.trim());
|
|
51
|
+
} },
|
|
52
|
+
h("option", { disabled: true, selected: !this.fundForm.state, value: "" }, "Select a state"),
|
|
53
|
+
this.stateOptions.map((s) => (h("option", { value: s.value, selected: this.fundForm.state === s.value }, s.label)))),
|
|
52
54
|
h("div", { class: "invalid-feedback" }, "Select a state")),
|
|
53
55
|
h("div", { class: "mt-4" },
|
|
54
56
|
h("label", { class: "mb-2 font-weight-bold" }, "Post code *"),
|
|
@@ -16,7 +16,9 @@ export class SelfManagedFund {
|
|
|
16
16
|
};
|
|
17
17
|
}
|
|
18
18
|
componentDidLoad() {
|
|
19
|
-
return this.eventTrackingService.TrackSmsfSuperFundDetailViewedAsync(
|
|
19
|
+
return this.eventTrackingService.TrackSmsfSuperFundDetailViewedAsync({
|
|
20
|
+
promotedFundsShown: superSelectionAppService.promotedFunds
|
|
21
|
+
});
|
|
20
22
|
}
|
|
21
23
|
render() {
|
|
22
24
|
return (h(Host, { class: "d-flex flex-fill" },
|
|
@@ -44,7 +46,7 @@ export class SelfManagedFund {
|
|
|
44
46
|
h("div", { class: "flex-grow-1 w-50" },
|
|
45
47
|
h("div", { class: "ml-2" },
|
|
46
48
|
h("fl-promise-button", { isBlockElement: true, promiseFn: () => this.handleSubmitForm() },
|
|
47
|
-
h("span", null, "
|
|
49
|
+
h("span", null, "Save and continue"))))))));
|
|
48
50
|
}
|
|
49
51
|
componentDidRender() {
|
|
50
52
|
var _a;
|
|
@@ -23,7 +23,7 @@ export class PromotedFundStandardChoicePage {
|
|
|
23
23
|
h("div", { class: "flex-grow-1 w-50" },
|
|
24
24
|
h("div", { class: "ml-2" },
|
|
25
25
|
h("fl-promise-button", { isBlockElement: true, promiseFn: () => this.handleSubmitForm() },
|
|
26
|
-
h("span", null, "
|
|
26
|
+
h("span", null, "Save and continue")))))))))));
|
|
27
27
|
}
|
|
28
28
|
async handleSubmitForm() {
|
|
29
29
|
this.formState = 'validated';
|
|
@@ -2,6 +2,7 @@ import navigationService from '../../../services/navigation.service';
|
|
|
2
2
|
import { SuperSelectionAppRoutes } from '../../../services/super-selection-app.routes';
|
|
3
3
|
import superSelectionAppService from '../../../services/super-selection-app.service';
|
|
4
4
|
import promotedFundState from '../promoted-fund.store';
|
|
5
|
+
import iframeUtil from '../../../../../utils/iframe';
|
|
5
6
|
class PromotedFundJoinIFrameBuilder {
|
|
6
7
|
constructor() {
|
|
7
8
|
this.hostIsLocalSuperSelection = () => window.location.origin == 'http://localhost:7100';
|
|
@@ -51,6 +52,10 @@ class PromotedFundJoinIFrameBuilder {
|
|
|
51
52
|
iframe.height = data.height > 0 ? data.height : iframe.height;
|
|
52
53
|
iframe.width = data.width > 0 ? data.width : iframe.width;
|
|
53
54
|
break;
|
|
55
|
+
case 'pageNavigated':
|
|
56
|
+
window.scroll(iframe.offsetLeft, iframe.offsetTop);
|
|
57
|
+
iframeUtil.navigation(window.location.href);
|
|
58
|
+
break;
|
|
54
59
|
default:
|
|
55
60
|
break;
|
|
56
61
|
}
|
|
@@ -28,7 +28,7 @@ export class SlateStandardChoicePage {
|
|
|
28
28
|
h("div", { class: "flex-grow-1 w-50" },
|
|
29
29
|
h("div", { class: "ml-2" },
|
|
30
30
|
h("fl-promise-button", { isBlockElement: true, promiseFn: () => this.handleSubmitForm() },
|
|
31
|
-
h("span", null, "
|
|
31
|
+
h("span", null, "Save and continue")))))))))));
|
|
32
32
|
}
|
|
33
33
|
async handleSubmitForm() {
|
|
34
34
|
this.formState = 'validated';
|
package/dist/lib/collection/components/super-selection-app/services/event-tracking.service.js
CHANGED
|
@@ -38,14 +38,18 @@ export class EventTrackingService {
|
|
|
38
38
|
}
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
|
-
async TrackMyOwnSuperFundDetailViewedAsync() {
|
|
41
|
+
async TrackMyOwnSuperFundDetailViewedAsync(detail) {
|
|
42
42
|
return this.trackEventAsync({
|
|
43
|
-
SuperFundDetailViewed:
|
|
43
|
+
SuperFundDetailViewed: {
|
|
44
|
+
MyOwnFund: detail
|
|
45
|
+
}
|
|
44
46
|
});
|
|
45
47
|
}
|
|
46
|
-
async TrackSmsfSuperFundDetailViewedAsync() {
|
|
48
|
+
async TrackSmsfSuperFundDetailViewedAsync(detail) {
|
|
47
49
|
return this.trackEventAsync({
|
|
48
|
-
SuperFundDetailViewed:
|
|
50
|
+
SuperFundDetailViewed: {
|
|
51
|
+
Smsf: detail
|
|
52
|
+
}
|
|
49
53
|
});
|
|
50
54
|
}
|
|
51
55
|
async TrackDefaultSuperFundDetailViewedAsync(detail) {
|
package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js
CHANGED
|
@@ -22,9 +22,9 @@ export class SuperChoicePage {
|
|
|
22
22
|
}
|
|
23
23
|
componentDidLoad() {
|
|
24
24
|
iframe.appReady();
|
|
25
|
-
const
|
|
25
|
+
const promotedFundsShown = this.promotedFunds.map((item) => item.fundId);
|
|
26
26
|
this.eventTrackingService.TrackSuperFundPanelViewedAsync({
|
|
27
|
-
|
|
27
|
+
promotedFundsShown
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
30
|
async componentWillLoad() {
|
|
@@ -183,27 +183,36 @@ export class SuperChoicePage {
|
|
|
183
183
|
return fundTiles;
|
|
184
184
|
}
|
|
185
185
|
async handleJoinSuperClickAsync(fund) {
|
|
186
|
+
const promotedFundsShown = SuperSelectionAppService.promotedFunds;
|
|
186
187
|
if (fund.fundId === constants.Slate.Id) {
|
|
187
188
|
await this.eventTrackingService.TrackPromotedSuperFundDetailViewedAsync({
|
|
188
189
|
fundUsi: constants.Slate.Usi,
|
|
189
|
-
fundName: constants.Slate.Name
|
|
190
|
+
fundName: constants.Slate.Name,
|
|
191
|
+
promotedFundId: constants.Slate.Id,
|
|
192
|
+
promotedFundsShown
|
|
190
193
|
});
|
|
191
194
|
}
|
|
192
195
|
else if (fund.fundId === constants.QSuper.Id) {
|
|
193
196
|
await this.eventTrackingService.TrackPromotedSuperFundDetailViewedAsync({
|
|
194
197
|
fundUsi: constants.QSuper.Usi,
|
|
195
|
-
fundName: constants.QSuper.Name
|
|
198
|
+
fundName: constants.QSuper.Name,
|
|
199
|
+
promotedFundId: constants.QSuper.Id,
|
|
200
|
+
promotedFundsShown
|
|
196
201
|
});
|
|
197
202
|
}
|
|
198
203
|
else if (fund.fundId === constants.AustralianRetirementTrust.Id) {
|
|
199
204
|
await this.eventTrackingService.TrackPromotedSuperFundDetailViewedAsync({
|
|
200
|
-
fundName: constants.AustralianRetirementTrust.Name
|
|
205
|
+
fundName: constants.AustralianRetirementTrust.Name,
|
|
206
|
+
promotedFundId: constants.AustralianRetirementTrust.Id,
|
|
207
|
+
promotedFundsShown
|
|
201
208
|
});
|
|
202
209
|
promotedFundState.fundId = fund.fundId;
|
|
203
210
|
}
|
|
204
211
|
else if (fund.fundId === constants.Aware.Id) {
|
|
205
212
|
await this.eventTrackingService.TrackPromotedSuperFundDetailViewedAsync({
|
|
206
|
-
fundName: constants.Aware.Name
|
|
213
|
+
fundName: constants.Aware.Name,
|
|
214
|
+
promotedFundId: constants.Aware.Id,
|
|
215
|
+
promotedFundsShown
|
|
207
216
|
});
|
|
208
217
|
promotedFundState.fundId = fund.fundId;
|
|
209
218
|
}
|