@flarehr/apollo-super-selection 4.50.41818 → 4.52.42575
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-rei.svg +27 -0
- package/dist/lib/apollo-super-selection/p-3a86c9ae.entry.js +14 -0
- package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +1 -1
- package/dist/lib/apollo-super-selection/p-be37414c.system.entry.js +69 -0
- package/dist/lib/cjs/apollo-super-selection.cjs.js +1 -1
- package/dist/lib/cjs/loader.cjs.js +1 -1
- package/dist/lib/cjs/sss-button_41.cjs.entry.js +83 -46
- package/dist/lib/collection/components/super-campaign/super-campaign.js +15 -40
- package/dist/lib/collection/components/super-selection-app/existing-choice/existing-choice.js +3 -1
- package/dist/lib/collection/components/super-selection-app/funds/constants.js +3 -1
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/member-name-input.js +0 -3
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/rei.js +33 -0
- package/dist/lib/collection/components/super-selection-app/services/super-selection-app.routes.js +2 -0
- package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +1 -0
- package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-rei.svg +27 -0
- package/dist/lib/collection/components/super-selection-app/super-selection-app.js +4 -6
- package/dist/lib/esm/apollo-super-selection.js +1 -1
- package/dist/lib/esm/loader.js +1 -1
- package/dist/lib/esm/sss-button_41.entry.js +83 -46
- package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
- package/dist/lib/esm-es5/loader.js +1 -1
- package/dist/lib/esm-es5/sss-button_41.entry.js +2 -2
- package/dist/lib/types/components/super-campaign/super-campaign.d.ts +3 -2
- package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/rei.d.ts +3 -0
- package/dist/lib/types/components/super-selection-app/services/super-selection-app.routes.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/super-selection-app.d.ts +0 -1
- package/dist/lib/types/components.d.ts +0 -4
- package/package.json +1 -1
- package/dist/lib/apollo-super-selection/p-672ba76d.system.entry.js +0 -69
- package/dist/lib/apollo-super-selection/p-e0176ee3.entry.js +0 -14
|
@@ -18,5 +18,5 @@ const patchBrowser = () => {
|
|
|
18
18
|
|
|
19
19
|
patchBrowser().then(options => {
|
|
20
20
|
appGlobals.globalScripts();
|
|
21
|
-
return index.bootstrapLazy([["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]}]]],["sss-button_41.cjs",[[0,"sss-prefill",{"history":[16],"prefill":[32]}],[0,"sss-my-own-fund",{"history":[16],"formState":[32],"isNotAllInformationProvidedMessageVisible":[32],"isSubmitDisabled":[32]}],[0,"sss-self-managed-fund",{"history":[16],"formState":[32],"isSubmitDisabled":[32]}],[
|
|
21
|
+
return index.bootstrapLazy([["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]}]]],["sss-button_41.cjs",[[0,"sss-prefill",{"history":[16],"prefill":[32]}],[0,"sss-my-own-fund",{"history":[16],"formState":[32],"isNotAllInformationProvidedMessageVisible":[32],"isSubmitDisabled":[32]}],[0,"sss-self-managed-fund",{"history":[16],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-super-choice-page",{"history":[16],"promotedFunds":[32]}],[1,"super-selection-app-host",{"sessionState":[32],"jwt":[32],"appConfiguration":[32],"ignoreExistingSelection":[32]}],[0,"sss-default-fund",{"history":[16],"defaultFundProductName":[32]}],[0,"sss-consent-page",{"history":[16],"campaignConnectRequestInProgress":[32]}],[0,"sss-existing-choice-page",{"history":[16],"existingFund":[32]}],[0,"sss-standard-choice-form",{"history":[16],"standardChoiceFormSignature":[32],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-promoted-fund-join-v1-page",{"history":[16]}],[0,"sss-promoted-fund-join-v2-page",{"history":[16]}],[0,"sss-slate-join-page",{"history":[16]}],[0,"sss-success"],[0,"sss-super-campaign-host",{"componentLoaded":[32],"backendUrl":[32],"accessToken":[32]}],[0,"sss-prefill-my-own-fund",{"history":[16],"prefill":[16],"mode":[32],"formState":[32],"isSubmitDisabled":[32],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberGivenNames":[32],"memberLastName":[32]}],[0,"sss-prefill-smsf",{"history":[16],"prefill":[16],"mode":[32],"formState":[32],"isSubmitDisabled":[32],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddressLine1":[32],"fundAddressLine2":[32],"fundAddressCity":[32],"fundAddressPostcode":[32],"fundAddressState":[32],"fundAddress":[32],"memberGivenNames":[32],"memberLastName":[32],"bankAccountName":[32],"bankName":[32],"bankAccountBsb":[32],"bankAccountNumber":[32]}],[0,"sss-prefill-invalid-my-own-fund",{"history":[16],"prefill":[16],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberGivenNames":[32],"memberLastName":[32]}],[0,"sss-prefill-invalid-smsf",{"history":[16],"prefill":[16],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddressLine1":[32],"fundAddressLine2":[32],"fundAddressCity":[32],"fundAddressPostcode":[32],"fundAddressState":[32],"fundAddress":[32],"memberGivenNames":[32],"memberLastName":[32],"bankAccountName":[32],"bankAccountBsb":[32],"bankAccountNumber":[32]}],[1,"super-selection-app",{"ignoreExistingSelection":[4,"ignore-existing-selection"],"accessToken":[1,"access-token"],"backendUrl":[1,"backend-url"],"appBaseUrl":[1,"app-base-url"],"history":[16],"location":[16],"isSelfHosted":[4,"is-self-hosted"],"isAppInitialised":[32]}],[0,"sss-my-own-fund-inputs",{"myOwnFundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"selectedOption":[32]}],[0,"sss-loading-super-indicator"],[0,"sss-self-managed-fund-inputs",{"fundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"isAbnValid":[32],"isAbnTouched":[32],"isAbnUsedForRegulated":[32],"currentBank":[32],"addressErrorMessage":[32]}],[0,"sss-super-choice-item-bottom",{"disclaimer":[16],"abnInfo":[1,"abn-info"],"abn":[1],"isMultiFund":[4,"is-multi-fund"]}],[0,"sss-loading-page"],[0,"sss-super-choice-item-top",{"name":[1],"logo":[1],"features":[16],"featureSubText":[16],"customContent":[16],"isMultiFund":[4,"is-multi-fund"],"isPromotedDefault":[4,"is-promoted-default"]}],[4,"sss-loading-component",{"header":[1]}],[0,"sss-dropdown-async",{"placeholder":[1],"searchFunction":[16],"value":[16],"required":[4],"requiredValidationMessage":[1,"required-validation-message"],"disabled":[4],"minSearchStringLength":[2,"min-search-string-length"],"showValidationErrors":[4,"show-validation-errors"],"searchState":[32],"inputValue":[32],"isDropdownVisible":[32],"filteredOptions":[32],"highlightedOptionIndex":[32],"selectedOption":[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-footer-section",{"textOverride":[16]}],[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],"showFundOptionsSelection":[32]}],[0,"sss-iframe-host",{"build":[16]}],[0,"sss-prefill-warning-box",{"notificationList":[16]}],[0,"sss-header-section",{"currentPage":[1,"current-page"]}],[0,"sss-name-input",{"value":[1],"name":[1],"readableName":[1,"readable-name"],"showValidationErrors":[4,"show-validation-errors"],"errorMessage":[32]}],[0,"sss-prefill-display-field",{"field":[16]}],[0,"sss-prefill-error-box",{"withHeader":[4,"with-header"],"notificationList":[16]}],[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,"sss-button",{"fillWidth":[4,"fill-width"],"fillWidthOnMobile":[4,"fill-width-on-mobile"],"disabled":[4],"variant":[1],"size":[1],"promiseFn":[16],"state":[32]}],[0,"sss-loading-indicator",{"theme":[1],"size":[2]}],[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
|
});
|
|
@@ -17,7 +17,7 @@ const defineCustomElements = (win, options) => {
|
|
|
17
17
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
18
18
|
return patchEsm().then(() => {
|
|
19
19
|
appGlobals.globalScripts();
|
|
20
|
-
return index.bootstrapLazy([["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]}]]],["sss-button_41.cjs",[[0,"sss-prefill",{"history":[16],"prefill":[32]}],[0,"sss-my-own-fund",{"history":[16],"formState":[32],"isNotAllInformationProvidedMessageVisible":[32],"isSubmitDisabled":[32]}],[0,"sss-self-managed-fund",{"history":[16],"formState":[32],"isSubmitDisabled":[32]}],[
|
|
20
|
+
return index.bootstrapLazy([["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]}]]],["sss-button_41.cjs",[[0,"sss-prefill",{"history":[16],"prefill":[32]}],[0,"sss-my-own-fund",{"history":[16],"formState":[32],"isNotAllInformationProvidedMessageVisible":[32],"isSubmitDisabled":[32]}],[0,"sss-self-managed-fund",{"history":[16],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-super-choice-page",{"history":[16],"promotedFunds":[32]}],[1,"super-selection-app-host",{"sessionState":[32],"jwt":[32],"appConfiguration":[32],"ignoreExistingSelection":[32]}],[0,"sss-default-fund",{"history":[16],"defaultFundProductName":[32]}],[0,"sss-consent-page",{"history":[16],"campaignConnectRequestInProgress":[32]}],[0,"sss-existing-choice-page",{"history":[16],"existingFund":[32]}],[0,"sss-standard-choice-form",{"history":[16],"standardChoiceFormSignature":[32],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-promoted-fund-join-v1-page",{"history":[16]}],[0,"sss-promoted-fund-join-v2-page",{"history":[16]}],[0,"sss-slate-join-page",{"history":[16]}],[0,"sss-success"],[0,"sss-super-campaign-host",{"componentLoaded":[32],"backendUrl":[32],"accessToken":[32]}],[0,"sss-prefill-my-own-fund",{"history":[16],"prefill":[16],"mode":[32],"formState":[32],"isSubmitDisabled":[32],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberGivenNames":[32],"memberLastName":[32]}],[0,"sss-prefill-smsf",{"history":[16],"prefill":[16],"mode":[32],"formState":[32],"isSubmitDisabled":[32],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddressLine1":[32],"fundAddressLine2":[32],"fundAddressCity":[32],"fundAddressPostcode":[32],"fundAddressState":[32],"fundAddress":[32],"memberGivenNames":[32],"memberLastName":[32],"bankAccountName":[32],"bankName":[32],"bankAccountBsb":[32],"bankAccountNumber":[32]}],[0,"sss-prefill-invalid-my-own-fund",{"history":[16],"prefill":[16],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberGivenNames":[32],"memberLastName":[32]}],[0,"sss-prefill-invalid-smsf",{"history":[16],"prefill":[16],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddressLine1":[32],"fundAddressLine2":[32],"fundAddressCity":[32],"fundAddressPostcode":[32],"fundAddressState":[32],"fundAddress":[32],"memberGivenNames":[32],"memberLastName":[32],"bankAccountName":[32],"bankAccountBsb":[32],"bankAccountNumber":[32]}],[1,"super-selection-app",{"ignoreExistingSelection":[4,"ignore-existing-selection"],"accessToken":[1,"access-token"],"backendUrl":[1,"backend-url"],"appBaseUrl":[1,"app-base-url"],"history":[16],"location":[16],"isSelfHosted":[4,"is-self-hosted"],"isAppInitialised":[32]}],[0,"sss-my-own-fund-inputs",{"myOwnFundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"selectedOption":[32]}],[0,"sss-loading-super-indicator"],[0,"sss-self-managed-fund-inputs",{"fundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"isAbnValid":[32],"isAbnTouched":[32],"isAbnUsedForRegulated":[32],"currentBank":[32],"addressErrorMessage":[32]}],[0,"sss-super-choice-item-bottom",{"disclaimer":[16],"abnInfo":[1,"abn-info"],"abn":[1],"isMultiFund":[4,"is-multi-fund"]}],[0,"sss-loading-page"],[0,"sss-super-choice-item-top",{"name":[1],"logo":[1],"features":[16],"featureSubText":[16],"customContent":[16],"isMultiFund":[4,"is-multi-fund"],"isPromotedDefault":[4,"is-promoted-default"]}],[4,"sss-loading-component",{"header":[1]}],[0,"sss-dropdown-async",{"placeholder":[1],"searchFunction":[16],"value":[16],"required":[4],"requiredValidationMessage":[1,"required-validation-message"],"disabled":[4],"minSearchStringLength":[2,"min-search-string-length"],"showValidationErrors":[4,"show-validation-errors"],"searchState":[32],"inputValue":[32],"isDropdownVisible":[32],"filteredOptions":[32],"highlightedOptionIndex":[32],"selectedOption":[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-footer-section",{"textOverride":[16]}],[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],"showFundOptionsSelection":[32]}],[0,"sss-iframe-host",{"build":[16]}],[0,"sss-prefill-warning-box",{"notificationList":[16]}],[0,"sss-header-section",{"currentPage":[1,"current-page"]}],[0,"sss-name-input",{"value":[1],"name":[1],"readableName":[1,"readable-name"],"showValidationErrors":[4,"show-validation-errors"],"errorMessage":[32]}],[0,"sss-prefill-display-field",{"field":[16]}],[0,"sss-prefill-error-box",{"withHeader":[4,"with-header"],"notificationList":[16]}],[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,"sss-button",{"fillWidth":[4,"fill-width"],"fillWidthOnMobile":[4,"fill-width-on-mobile"],"disabled":[4],"variant":[1],"size":[1],"promiseFn":[16],"state":[32]}],[0,"sss-loading-indicator",{"theme":[1],"size":[2]}],[0,"stencil-route",{"group":[513],"componentUpdated":[16],"match":[1040],"url":[1],"component":[1],"componentProps":[16],"exact":[4],"routeRender":[16],"scrollTopOffset":[2,"scroll-top-offset"],"routeViewsUpdated":[16],"location":[16],"history":[16],"historyType":[1,"history-type"]}]]]], options);
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
|
|
@@ -284,7 +284,7 @@ class TapSubscriber extends datoramaAkita.Subscriber {
|
|
|
284
284
|
}
|
|
285
285
|
}
|
|
286
286
|
|
|
287
|
-
const AppVersion = '4.
|
|
287
|
+
const AppVersion = '4.52.42575';
|
|
288
288
|
|
|
289
289
|
// -------------------------------------------------------------------------------------
|
|
290
290
|
// guards
|
|
@@ -3647,6 +3647,7 @@ class SuperSelectionAppService {
|
|
|
3647
3647
|
this._state.superBuyer = Option.fromNullable(appStateResponse.superBuyer);
|
|
3648
3648
|
this._state.promotedFunds = Option.fromNullable(appStateResponse.promotedFunds);
|
|
3649
3649
|
this._state.campaignConnectEnabled = appStateResponse.campaignConnectEnabled;
|
|
3650
|
+
this._state.superCampaignEnabled = appStateResponse.superCampaignEnabled;
|
|
3650
3651
|
this._state.superChoicePrefill = Option.fromNullable(appStateResponse.prefill);
|
|
3651
3652
|
this._state.isDefinedBenefitsEligible = Option.fromNullable(appStateResponse.isDefinedBenefitsEligible);
|
|
3652
3653
|
}
|
|
@@ -3846,6 +3847,7 @@ var SuperSelectionAppRoutes;
|
|
|
3846
3847
|
(function (SuperSelectionAppRoutes) {
|
|
3847
3848
|
SuperSelectionAppRoutes["ConsentPage"] = "/consent";
|
|
3848
3849
|
SuperSelectionAppRoutes["ExistingChoicePage"] = "/existing";
|
|
3850
|
+
SuperSelectionAppRoutes["SuperCampaign"] = "/super-campaign";
|
|
3849
3851
|
SuperSelectionAppRoutes["ChoicePage"] = "/";
|
|
3850
3852
|
SuperSelectionAppRoutes["SlateJoin"] = "/slate/join/";
|
|
3851
3853
|
SuperSelectionAppRoutes["PromotedFundJoinV1"] = "/promoted-fund/join/v1";
|
|
@@ -3864,6 +3866,7 @@ var SuperSelectionAppRoutes;
|
|
|
3864
3866
|
const superSelectionAppStencilRoutes = [
|
|
3865
3867
|
index.h("stencil-route", { url: SuperSelectionAppRoutes.ConsentPage, component: "sss-consent-page" }),
|
|
3866
3868
|
index.h("stencil-route", { url: SuperSelectionAppRoutes.ExistingChoicePage, component: "sss-existing-choice-page" }),
|
|
3869
|
+
index.h("stencil-route", { url: SuperSelectionAppRoutes.SuperCampaign, component: "sss-super-campaign-host" }),
|
|
3867
3870
|
index.h("stencil-route", { exact: true, url: SuperSelectionAppRoutes.ChoicePage, component: "sss-super-choice-page" }),
|
|
3868
3871
|
index.h("stencil-route", { url: SuperSelectionAppRoutes.SlateJoin, component: "sss-slate-join-page" }),
|
|
3869
3872
|
index.h("stencil-route", { url: SuperSelectionAppRoutes.PromotedFundJoinV1, component: "sss-promoted-fund-join-v1-page" }),
|
|
@@ -4546,11 +4549,40 @@ const fund$6 = {
|
|
|
4546
4549
|
dtoPropName: 'mercerMyChoice'
|
|
4547
4550
|
};
|
|
4548
4551
|
|
|
4549
|
-
const name$7 = '
|
|
4550
|
-
const slateUsi = '32367272075001';
|
|
4552
|
+
const name$7 = 'REI Super';
|
|
4551
4553
|
const fund$7 = {
|
|
4552
|
-
fundId: '
|
|
4554
|
+
fundId: 'reisuper',
|
|
4553
4555
|
name: name$7,
|
|
4556
|
+
logo: 'logo-rei.svg',
|
|
4557
|
+
route: SuperSelectionAppRoutes.PromotedFundJoinV2,
|
|
4558
|
+
features: [
|
|
4559
|
+
index.h("p", null, "Built by and for the real estate industry"),
|
|
4560
|
+
index.h("p", null, "Consistent long-term performance with competitive fees*"),
|
|
4561
|
+
index.h("p", null, "All profits to members, not shareholders")
|
|
4562
|
+
],
|
|
4563
|
+
disclaimer: (index.h("div", { class: "space-y-2" },
|
|
4564
|
+
index.h("p", null, "*Balanced Option net investment return of 9.45% for year ending 30 June 2023."),
|
|
4565
|
+
index.h("p", null,
|
|
4566
|
+
"You should consider the",
|
|
4567
|
+
' ',
|
|
4568
|
+
index.h(Link, { href: "https://www.reisuper.com.au/docs/default-source/super/rei-super-pds.pdf?utm_source=flarehr&utm_medium=banners&utm_campaign=flarehr_join&utm_term=pds", onClick: () => pdsViewedAsync(name$7) }, "Product Disclosure Statement"),
|
|
4569
|
+
' ',
|
|
4570
|
+
"and",
|
|
4571
|
+
' ',
|
|
4572
|
+
index.h(Link, { href: "https://www.reisuper.com.au/publications-and-forms/target-market-determination?utm_source=flarehr&utm_medium=banners&utm_campaign=flarehr_join&utm_term=tmd" }, "Target Market Determination"),
|
|
4573
|
+
' ',
|
|
4574
|
+
"before deciding to invest in or apply to become a member of the fund."))),
|
|
4575
|
+
abnInfo: `REI Superannuation Fund Pty Ltd`,
|
|
4576
|
+
abn: '68 056 044 770',
|
|
4577
|
+
footnoteTextOverride: Option.none,
|
|
4578
|
+
dtoPropName: 'reisuper'
|
|
4579
|
+
};
|
|
4580
|
+
|
|
4581
|
+
const name$8 = 'Slate Super';
|
|
4582
|
+
const slateUsi = '32367272075001';
|
|
4583
|
+
const fund$8 = {
|
|
4584
|
+
fundId: 'slate',
|
|
4585
|
+
name: name$8,
|
|
4554
4586
|
logo: 'logo-slate.png',
|
|
4555
4587
|
route: SuperSelectionAppRoutes.SlateJoin,
|
|
4556
4588
|
features: [
|
|
@@ -4561,7 +4593,7 @@ const fund$7 = {
|
|
|
4561
4593
|
disclaimer: (index.h("p", { class: "small text-muted" },
|
|
4562
4594
|
"You should consider the",
|
|
4563
4595
|
' ',
|
|
4564
|
-
index.h(Link, { href: "https://slate.co/pds/?utm_source=flare&utm_medium=superselection", onClick: () => pdsViewedAsync(name$
|
|
4596
|
+
index.h(Link, { href: "https://slate.co/pds/?utm_source=flare&utm_medium=superselection", onClick: () => pdsViewedAsync(name$8, slateUsi) }, "Product Disclosure Statement"),
|
|
4565
4597
|
' ',
|
|
4566
4598
|
"and",
|
|
4567
4599
|
' ',
|
|
@@ -4574,10 +4606,10 @@ const fund$7 = {
|
|
|
4574
4606
|
dtoPropName: 'slate'
|
|
4575
4607
|
};
|
|
4576
4608
|
|
|
4577
|
-
const name$
|
|
4578
|
-
const fund$
|
|
4609
|
+
const name$9 = 'Spirit Super';
|
|
4610
|
+
const fund$9 = {
|
|
4579
4611
|
fundId: 'spirit',
|
|
4580
|
-
name: name$
|
|
4612
|
+
name: name$9,
|
|
4581
4613
|
logo: 'logo-spirit.svg',
|
|
4582
4614
|
route: SuperSelectionAppRoutes.PromotedFundJoinV2,
|
|
4583
4615
|
features: [
|
|
@@ -4606,19 +4638,19 @@ const fund$8 = {
|
|
|
4606
4638
|
disclaimer: (index.h("p", null,
|
|
4607
4639
|
"Past performance isn\u2019t a reliable indicator of future performance. Consider the PDS and TMD at",
|
|
4608
4640
|
' ',
|
|
4609
|
-
index.h(Link, { href: "https://www.spiritsuper.com.au/pds", onClick: () => pdsViewedAsync(name$
|
|
4641
|
+
index.h(Link, { href: "https://www.spiritsuper.com.au/pds", onClick: () => pdsViewedAsync(name$9) }, "www.spiritsuper.com.au/pds"),
|
|
4610
4642
|
' ',
|
|
4611
4643
|
"before making a decision. Issuer is Motor Trades Association of Australia Superannuation Fund Pty Ltd (AFSL 238 718, ABN 14 008 650 628), the trustee of Spirit Super (ABN 74 559 365 913). Advice is provided by Quadrant First Pty Ltd (ABN 78 102 167 877, AFSL 284443).")),
|
|
4612
4644
|
footnoteTextOverride: Option.none,
|
|
4613
4645
|
dtoPropName: 'spirit'
|
|
4614
4646
|
};
|
|
4615
4647
|
|
|
4616
|
-
const name$
|
|
4648
|
+
const name$a = 'Unisuper';
|
|
4617
4649
|
const pdsUrl$1 = 'https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84';
|
|
4618
4650
|
const tmdUrl = 'https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8';
|
|
4619
|
-
const fund$
|
|
4651
|
+
const fund$a = {
|
|
4620
4652
|
fundId: 'unisuper-default',
|
|
4621
|
-
name: name$
|
|
4653
|
+
name: name$a,
|
|
4622
4654
|
logo: 'logo-unisuper.svg',
|
|
4623
4655
|
route: SuperSelectionAppRoutes.PromotedFundJoinV2,
|
|
4624
4656
|
features: [
|
|
@@ -4648,7 +4680,7 @@ const fund$9 = {
|
|
|
4648
4680
|
index.h("p", null,
|
|
4649
4681
|
"Remember to consider the",
|
|
4650
4682
|
' ',
|
|
4651
|
-
index.h(Link, { href: pdsUrl$1, onClick: () => pdsViewedAsync(name$
|
|
4683
|
+
index.h(Link, { href: pdsUrl$1, onClick: () => pdsViewedAsync(name$a) }, "Product Disclosure Statement"),
|
|
4652
4684
|
' ',
|
|
4653
4685
|
"and ",
|
|
4654
4686
|
index.h(Link, { href: tmdUrl }, "Target Market Determination"),
|
|
@@ -4658,12 +4690,12 @@ const fund$9 = {
|
|
|
4658
4690
|
isPromotedDefault: true
|
|
4659
4691
|
};
|
|
4660
4692
|
|
|
4661
|
-
const name$
|
|
4693
|
+
const name$b = 'Unisuper';
|
|
4662
4694
|
const pdsUrl$2 = 'https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84';
|
|
4663
4695
|
const tmdUrl$1 = 'https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8';
|
|
4664
|
-
const fund$
|
|
4696
|
+
const fund$b = {
|
|
4665
4697
|
fundId: 'unisuper-default-v2',
|
|
4666
|
-
name: name$
|
|
4698
|
+
name: name$b,
|
|
4667
4699
|
logo: 'logo-unisuper.svg',
|
|
4668
4700
|
route: SuperSelectionAppRoutes.PromotedFundJoinV2,
|
|
4669
4701
|
features: [
|
|
@@ -4675,11 +4707,11 @@ const fund$a = {
|
|
|
4675
4707
|
],
|
|
4676
4708
|
customContent: (index.h("div", { class: "mt-6 flex gap-3" },
|
|
4677
4709
|
index.h("div", null,
|
|
4678
|
-
index.h("img", { alt: name$
|
|
4710
|
+
index.h("img", { alt: name$b, src: index.getAssetPath(`assets/unisuper-default-badge1.svg`) })),
|
|
4679
4711
|
index.h("div", null,
|
|
4680
|
-
index.h("img", { alt: name$
|
|
4712
|
+
index.h("img", { alt: name$b, src: index.getAssetPath(`assets/unisuper-default-badge2.svg`) })),
|
|
4681
4713
|
index.h("div", null,
|
|
4682
|
-
index.h("img", { alt: name$
|
|
4714
|
+
index.h("img", { alt: name$b, src: index.getAssetPath(`assets/unisuper-default-badge3.svg`) })))),
|
|
4683
4715
|
disclaimer: (index.h("div", { class: "space-y-2" },
|
|
4684
4716
|
index.h("p", null,
|
|
4685
4717
|
"^Read more about our fees and how we compare",
|
|
@@ -4700,7 +4732,7 @@ const fund$a = {
|
|
|
4700
4732
|
index.h("p", null,
|
|
4701
4733
|
"Remember to consider the",
|
|
4702
4734
|
' ',
|
|
4703
|
-
index.h(Link, { href: pdsUrl$2, onClick: () => pdsViewedAsync(name$
|
|
4735
|
+
index.h(Link, { href: pdsUrl$2, onClick: () => pdsViewedAsync(name$b) }, "Product Disclosure Statement"),
|
|
4704
4736
|
' ',
|
|
4705
4737
|
"and ",
|
|
4706
4738
|
index.h(Link, { href: tmdUrl$1 }, "Target Market Determination"),
|
|
@@ -4710,10 +4742,10 @@ const fund$a = {
|
|
|
4710
4742
|
isPromotedDefault: true
|
|
4711
4743
|
};
|
|
4712
4744
|
|
|
4713
|
-
const name$
|
|
4714
|
-
const fund$
|
|
4745
|
+
const name$c = 'Virgin Money Super';
|
|
4746
|
+
const fund$c = {
|
|
4715
4747
|
fundId: 'virgin',
|
|
4716
|
-
name: name$
|
|
4748
|
+
name: name$c,
|
|
4717
4749
|
logo: 'logo-virgin.svg',
|
|
4718
4750
|
route: SuperSelectionAppRoutes.PromotedFundJoinV2,
|
|
4719
4751
|
features: [
|
|
@@ -4735,7 +4767,7 @@ const fund$b = {
|
|
|
4735
4767
|
disclaimer: (index.h("p", null,
|
|
4736
4768
|
"Prepared by Virgin Money Financial Services Pty Ltd ABN 51 113 285 395 AFSL 286869 (\u2018Virgin Money\u2019). Virgin Money Super is a plan in the Mercer Super Trust ABN 19 905 422 981. Virgin Money Super is issued by Mercer Superannuation (Australia) Limited (MSAL) ABN 79 004 717 533 AFSL 235906 as trustee of the Mercer Super Trust. Consider the PDS and TMD at",
|
|
4737
4769
|
' ',
|
|
4738
|
-
index.h(Link, { href: "https://virginmoney.com.au/superannuation/", onClick: () => pdsViewedAsync(name$
|
|
4770
|
+
index.h(Link, { href: "https://virginmoney.com.au/superannuation/", onClick: () => pdsViewedAsync(name$c) }, "www.virginmoney.com.au"),
|
|
4739
4771
|
' ',
|
|
4740
4772
|
"before making a decision")),
|
|
4741
4773
|
footnoteTextOverride: Option.some(PoweredByFlareFS),
|
|
@@ -4743,18 +4775,19 @@ const fund$b = {
|
|
|
4743
4775
|
};
|
|
4744
4776
|
|
|
4745
4777
|
const fundsById = {
|
|
4746
|
-
[fund$
|
|
4778
|
+
[fund$8.fundId]: fund$8,
|
|
4747
4779
|
[fund$2.fundId]: fund$2,
|
|
4748
4780
|
[fund$3.fundId]: fund$3,
|
|
4749
4781
|
[fund.fundId]: fund,
|
|
4750
4782
|
[fund$1.fundId]: fund$1,
|
|
4751
|
-
[fund$
|
|
4752
|
-
[fund$
|
|
4783
|
+
[fund$c.fundId]: fund$c,
|
|
4784
|
+
[fund$9.fundId]: fund$9,
|
|
4753
4785
|
[fund$4.fundId]: fund$4,
|
|
4754
4786
|
[fund$6.fundId]: fund$6,
|
|
4755
4787
|
[fund$5.fundId]: fund$5,
|
|
4756
|
-
[fund$
|
|
4757
|
-
[fund$
|
|
4788
|
+
[fund$a.fundId]: fund$a,
|
|
4789
|
+
[fund$b.fundId]: fund$b,
|
|
4790
|
+
[fund$7.fundId]: fund$7
|
|
4758
4791
|
};
|
|
4759
4792
|
const allPromotedFunds = Object.values(fundsById);
|
|
4760
4793
|
const getFundByDtoPropName = (dtoPropName) => {
|
|
@@ -4767,7 +4800,7 @@ const getFundByFundId = (fundId) => {
|
|
|
4767
4800
|
};
|
|
4768
4801
|
const getFundNameByFundId = (fundId) => fundsById[fundId] != undefined ? some(fundsById[fundId].name) : none;
|
|
4769
4802
|
const getFooterTextOverrideByFundId = (fundId) => { var _a, _b; return (_b = (_a = fundsById[fundId]) === null || _a === void 0 ? void 0 : _a.footnoteTextOverride) !== null && _b !== void 0 ? _b : none; };
|
|
4770
|
-
const getFundUsiByFundId = (fundId) => fundId == fund$
|
|
4803
|
+
const getFundUsiByFundId = (fundId) => fundId == fund$8.fundId ? some(slateUsi) : none;
|
|
4771
4804
|
const getLogoSrcByFundId = (fundId) => fundsById[fundId] != undefined ? some(index.getAssetPath(`assets/${fundsById[fundId].logo}`)) : none;
|
|
4772
4805
|
|
|
4773
4806
|
class ExistingFundService {
|
|
@@ -4991,7 +5024,9 @@ const ExistingChoice = class {
|
|
|
4991
5024
|
async handleFundNominationDeclined() {
|
|
4992
5025
|
const detail = this.createSuperFundNominationDetail(this.existingFund);
|
|
4993
5026
|
await this.eventTrackingService.TrackSuperFundNominationDeclinedAsync(detail);
|
|
4994
|
-
|
|
5027
|
+
superSelectionAppService.state.superCampaignEnabled
|
|
5028
|
+
? navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.SuperCampaign)
|
|
5029
|
+
: navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ConsentPage);
|
|
4995
5030
|
}
|
|
4996
5031
|
};
|
|
4997
5032
|
|
|
@@ -5225,9 +5260,6 @@ const MemberNameInput = class {
|
|
|
5225
5260
|
if (target.validity.valueMissing) {
|
|
5226
5261
|
this.errorMessage = `${this.readableName} is required.`;
|
|
5227
5262
|
}
|
|
5228
|
-
else if (target.value.length < 2) {
|
|
5229
|
-
this.errorMessage = 'A minimum of 2 characters is required.';
|
|
5230
|
-
}
|
|
5231
5263
|
else if (target.validity.patternMismatch) {
|
|
5232
5264
|
if (target.value.startsWith('-') || target.value.startsWith("'")) {
|
|
5233
5265
|
this.errorMessage = `${this.readableName} must start with a letter.`;
|
|
@@ -16591,16 +16623,16 @@ class SlateIFrameBuilder {
|
|
|
16591
16623
|
if (data.memberNumber) {
|
|
16592
16624
|
navigationService.navigateInternallyToStandardChoice({
|
|
16593
16625
|
history,
|
|
16594
|
-
fundName: fund$
|
|
16626
|
+
fundName: fund$8.name,
|
|
16595
16627
|
fundDetails: {
|
|
16596
16628
|
type: 'promoted',
|
|
16597
|
-
fundName: fund$
|
|
16629
|
+
fundName: fund$8.name,
|
|
16598
16630
|
fundUsi: slateUsi,
|
|
16599
16631
|
memberNumber: data.memberNumber,
|
|
16600
|
-
promotedFundId: fund$
|
|
16632
|
+
promotedFundId: fund$8.fundId
|
|
16601
16633
|
},
|
|
16602
16634
|
handleSubmitFn: (standardChoiceFormSignature) => slateChoiceApi.submitSlateChoiceAsync(Object.assign({ memberNumber: data.memberNumber, memberFirstName: data.memberFirstName, memberFamilyName: data.memberFamilyName, standardChoiceFormSignature, defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi) }, superSelectionAppService.promotedFundsConfig)),
|
|
16603
|
-
promotedFundId: fund$
|
|
16635
|
+
promotedFundId: fund$8.fundId
|
|
16604
16636
|
});
|
|
16605
16637
|
break;
|
|
16606
16638
|
}
|
|
@@ -16818,12 +16850,15 @@ const SuperCampaignHost = class {
|
|
|
16818
16850
|
}
|
|
16819
16851
|
async componentWillLoad() {
|
|
16820
16852
|
try {
|
|
16821
|
-
if (
|
|
16853
|
+
if (Option.isSome(superSelectionAppService.state.apiBaseUrl) &&
|
|
16854
|
+
Option.isSome(superSelectionAppService.state.jwt)) {
|
|
16855
|
+
this.backendUrl = this.getBaseUrl(superSelectionAppService.state.apiBaseUrl.value);
|
|
16856
|
+
this.accessToken = superSelectionAppService.state.jwt.value;
|
|
16822
16857
|
await Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(this.createApolloSuperCampaignScriptUrl(this.getEnvironmentTag()))); });
|
|
16823
16858
|
this.componentLoaded = true;
|
|
16824
16859
|
}
|
|
16825
16860
|
else {
|
|
16826
|
-
throw Error(`
|
|
16861
|
+
throw Error(`SuperCampaignHost pre-requisites not met.`);
|
|
16827
16862
|
}
|
|
16828
16863
|
}
|
|
16829
16864
|
catch (error) {
|
|
@@ -16838,6 +16873,10 @@ const SuperCampaignHost = class {
|
|
|
16838
16873
|
createApolloSuperCampaignScriptUrl(envTag) {
|
|
16839
16874
|
return `https://npm-cdn.flarehr.com/@flarehr/apollo-super-campaign@${envTag}/dist/apollo-super-campaign.js`;
|
|
16840
16875
|
}
|
|
16876
|
+
getBaseUrl(url) {
|
|
16877
|
+
const parsedUrl = new URL(url);
|
|
16878
|
+
return `${parsedUrl.protocol}//${parsedUrl.hostname}${parsedUrl.port.length > 0 ? `:${parsedUrl.port}` : ''}`;
|
|
16879
|
+
}
|
|
16841
16880
|
};
|
|
16842
16881
|
|
|
16843
16882
|
const SuperChoiceItemBottom = class {
|
|
@@ -17962,6 +18001,9 @@ const SuperSelectionApp = class {
|
|
|
17962
18001
|
!shouldIgnoreExistingChoice) {
|
|
17963
18002
|
navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ExistingChoicePage);
|
|
17964
18003
|
}
|
|
18004
|
+
else if (superSelectionAppService.state.superCampaignEnabled) {
|
|
18005
|
+
navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.SuperCampaign);
|
|
18006
|
+
}
|
|
17965
18007
|
else {
|
|
17966
18008
|
navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ConsentPage);
|
|
17967
18009
|
}
|
|
@@ -17987,17 +18029,12 @@ const SuperSelectionApp = class {
|
|
|
17987
18029
|
var _a;
|
|
17988
18030
|
return ((_a = this.appBaseUrl) === null || _a === void 0 ? void 0 : _a.replace(/\/$/, '')) + '/';
|
|
17989
18031
|
}
|
|
17990
|
-
getBaseUrl(url) {
|
|
17991
|
-
const parsedUrl = new URL(url);
|
|
17992
|
-
return `${parsedUrl.protocol}//${parsedUrl.hostname}${parsedUrl.port.length > 0 ? `:${parsedUrl.port}` : ''}`;
|
|
17993
|
-
}
|
|
17994
18032
|
renderAppContent() {
|
|
17995
18033
|
return (index.h("stencil-router", { root: this.routerBaseUrl(), class: "font-inter" }, index.h("stencil-route-switch", { scrollTopOffset: 0 }, this.isAppInitialised ? (index.h("div", { class: {
|
|
17996
18034
|
'pt-28': true,
|
|
17997
18035
|
'-mt-12 pb-6': !this.isFundJoinPage(),
|
|
17998
18036
|
'-mt-28': this.isFundJoinPage() // -mt value same as pt to negate it in embedded fund join pages
|
|
17999
|
-
} },
|
|
18000
|
-
this.backendUrl !== undefined ? (index.h("sss-super-campaign-host", { backendUrl: this.getBaseUrl(this.backendUrl), accessToken: this.accessToken })) : (superSelectionAppStencilRoutes), index.h("sss-footer-section", { textOverride: this.getFooterTextOverride() }))) : (index.h("div", { class: "flex justify-center py-20" }, index.h("sss-loading-indicator", null))))));
|
|
18037
|
+
} }, superSelectionAppStencilRoutes, index.h("sss-footer-section", { textOverride: this.getFooterTextOverride() }))) : (index.h("div", { class: "flex justify-center py-20" }, index.h("sss-loading-indicator", null))))));
|
|
18001
18038
|
}
|
|
18002
18039
|
static get assetsDirs() { return ["assets"]; }
|
|
18003
18040
|
static get watchers() { return {
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { Component, h,
|
|
1
|
+
import { Component, h, State } from '@stencil/core';
|
|
2
|
+
import { isSome } from 'fp-ts/lib/Option';
|
|
3
|
+
import superSelectionAppService from '../super-selection-app/services/super-selection-app.service';
|
|
2
4
|
export class SuperCampaignHost {
|
|
3
5
|
constructor() {
|
|
4
6
|
this.componentLoaded = false;
|
|
@@ -17,12 +19,15 @@ export class SuperCampaignHost {
|
|
|
17
19
|
}
|
|
18
20
|
async componentWillLoad() {
|
|
19
21
|
try {
|
|
20
|
-
if (
|
|
22
|
+
if (isSome(superSelectionAppService.state.apiBaseUrl) &&
|
|
23
|
+
isSome(superSelectionAppService.state.jwt)) {
|
|
24
|
+
this.backendUrl = this.getBaseUrl(superSelectionAppService.state.apiBaseUrl.value);
|
|
25
|
+
this.accessToken = superSelectionAppService.state.jwt.value;
|
|
21
26
|
await import(this.createApolloSuperCampaignScriptUrl(this.getEnvironmentTag()));
|
|
22
27
|
this.componentLoaded = true;
|
|
23
28
|
}
|
|
24
29
|
else {
|
|
25
|
-
throw Error(`
|
|
30
|
+
throw Error(`SuperCampaignHost pre-requisites not met.`);
|
|
26
31
|
}
|
|
27
32
|
}
|
|
28
33
|
catch (error) {
|
|
@@ -37,44 +42,14 @@ export class SuperCampaignHost {
|
|
|
37
42
|
createApolloSuperCampaignScriptUrl(envTag) {
|
|
38
43
|
return `https://npm-cdn.flarehr.com/@flarehr/apollo-super-campaign@${envTag}/dist/apollo-super-campaign.js`;
|
|
39
44
|
}
|
|
45
|
+
getBaseUrl(url) {
|
|
46
|
+
const parsedUrl = new URL(url);
|
|
47
|
+
return `${parsedUrl.protocol}//${parsedUrl.hostname}${parsedUrl.port.length > 0 ? `:${parsedUrl.port}` : ''}`;
|
|
48
|
+
}
|
|
40
49
|
static get is() { return "sss-super-campaign-host"; }
|
|
41
|
-
static get properties() { return {
|
|
42
|
-
"backendUrl": {
|
|
43
|
-
"type": "string",
|
|
44
|
-
"mutable": false,
|
|
45
|
-
"complexType": {
|
|
46
|
-
"original": "string",
|
|
47
|
-
"resolved": "string",
|
|
48
|
-
"references": {}
|
|
49
|
-
},
|
|
50
|
-
"required": false,
|
|
51
|
-
"optional": false,
|
|
52
|
-
"docs": {
|
|
53
|
-
"tags": [],
|
|
54
|
-
"text": ""
|
|
55
|
-
},
|
|
56
|
-
"attribute": "backend-url",
|
|
57
|
-
"reflect": false
|
|
58
|
-
},
|
|
59
|
-
"accessToken": {
|
|
60
|
-
"type": "string",
|
|
61
|
-
"mutable": false,
|
|
62
|
-
"complexType": {
|
|
63
|
-
"original": "string",
|
|
64
|
-
"resolved": "string",
|
|
65
|
-
"references": {}
|
|
66
|
-
},
|
|
67
|
-
"required": false,
|
|
68
|
-
"optional": false,
|
|
69
|
-
"docs": {
|
|
70
|
-
"tags": [],
|
|
71
|
-
"text": ""
|
|
72
|
-
},
|
|
73
|
-
"attribute": "access-token",
|
|
74
|
-
"reflect": false
|
|
75
|
-
}
|
|
76
|
-
}; }
|
|
77
50
|
static get states() { return {
|
|
78
|
-
"componentLoaded": {}
|
|
51
|
+
"componentLoaded": {},
|
|
52
|
+
"backendUrl": {},
|
|
53
|
+
"accessToken": {}
|
|
79
54
|
}; }
|
|
80
55
|
}
|
package/dist/lib/collection/components/super-selection-app/existing-choice/existing-choice.js
CHANGED
|
@@ -136,7 +136,9 @@ export class ExistingChoice {
|
|
|
136
136
|
async handleFundNominationDeclined() {
|
|
137
137
|
const detail = this.createSuperFundNominationDetail(this.existingFund);
|
|
138
138
|
await this.eventTrackingService.TrackSuperFundNominationDeclinedAsync(detail);
|
|
139
|
-
|
|
139
|
+
superSelectionAppService.state.superCampaignEnabled
|
|
140
|
+
? navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.SuperCampaign)
|
|
141
|
+
: navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ConsentPage);
|
|
140
142
|
}
|
|
141
143
|
static get is() { return "sss-existing-choice-page"; }
|
|
142
144
|
static get properties() { return {
|
|
@@ -7,6 +7,7 @@ import aware from './promoted-fund/funds/aware';
|
|
|
7
7
|
import first from './promoted-fund/funds/first';
|
|
8
8
|
import hestaDefault from './promoted-fund/funds/hesta-default';
|
|
9
9
|
import mercerMyChoice from './promoted-fund/funds/mercermychoice';
|
|
10
|
+
import rei from './promoted-fund/funds/rei';
|
|
10
11
|
import slate, { slateUsi } from './promoted-fund/funds/slate';
|
|
11
12
|
import spirit from './promoted-fund/funds/spirit';
|
|
12
13
|
import unisuperDefault from './promoted-fund/funds/unisuper-default';
|
|
@@ -24,7 +25,8 @@ const fundsById = {
|
|
|
24
25
|
[mercerMyChoice.fundId]: mercerMyChoice,
|
|
25
26
|
[hestaDefault.fundId]: hestaDefault,
|
|
26
27
|
[unisuperDefault.fundId]: unisuperDefault,
|
|
27
|
-
[unisuperDefaultV2.fundId]: unisuperDefaultV2
|
|
28
|
+
[unisuperDefaultV2.fundId]: unisuperDefaultV2,
|
|
29
|
+
[rei.fundId]: rei
|
|
28
30
|
};
|
|
29
31
|
export const allPromotedFunds = Object.values(fundsById);
|
|
30
32
|
export const getFundByDtoPropName = (dtoPropName) => {
|
package/dist/lib/collection/components/super-selection-app/funds/custom-fund/member-name-input.js
CHANGED
|
@@ -29,9 +29,6 @@ export class MemberNameInput {
|
|
|
29
29
|
if (target.validity.valueMissing) {
|
|
30
30
|
this.errorMessage = `${this.readableName} is required.`;
|
|
31
31
|
}
|
|
32
|
-
else if (target.value.length < 2) {
|
|
33
|
-
this.errorMessage = 'A minimum of 2 characters is required.';
|
|
34
|
-
}
|
|
35
32
|
else if (target.validity.patternMismatch) {
|
|
36
33
|
if (target.value.startsWith('-') || target.value.startsWith("'")) {
|
|
37
34
|
this.errorMessage = `${this.readableName} must start with a letter.`;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { h } from '@stencil/core';
|
|
2
|
+
import { none } from 'fp-ts/lib/Option';
|
|
3
|
+
import { SuperSelectionAppRoutes } from '../../../services/super-selection-app.routes';
|
|
4
|
+
import { Link, pdsViewedAsync } from '../types';
|
|
5
|
+
const name = 'REI Super';
|
|
6
|
+
const fund = {
|
|
7
|
+
fundId: 'reisuper',
|
|
8
|
+
name,
|
|
9
|
+
logo: 'logo-rei.svg',
|
|
10
|
+
route: SuperSelectionAppRoutes.PromotedFundJoinV2,
|
|
11
|
+
features: [
|
|
12
|
+
h("p", null, "Built by and for the real estate industry"),
|
|
13
|
+
h("p", null, "Consistent long-term performance with competitive fees*"),
|
|
14
|
+
h("p", null, "All profits to members, not shareholders")
|
|
15
|
+
],
|
|
16
|
+
disclaimer: (h("div", { class: "space-y-2" },
|
|
17
|
+
h("p", null, "*Balanced Option net investment return of 9.45% for year ending 30 June 2023."),
|
|
18
|
+
h("p", null,
|
|
19
|
+
"You should consider the",
|
|
20
|
+
' ',
|
|
21
|
+
h(Link, { href: "https://www.reisuper.com.au/docs/default-source/super/rei-super-pds.pdf?utm_source=flarehr&utm_medium=banners&utm_campaign=flarehr_join&utm_term=pds", onClick: () => pdsViewedAsync(name) }, "Product Disclosure Statement"),
|
|
22
|
+
' ',
|
|
23
|
+
"and",
|
|
24
|
+
' ',
|
|
25
|
+
h(Link, { href: "https://www.reisuper.com.au/publications-and-forms/target-market-determination?utm_source=flarehr&utm_medium=banners&utm_campaign=flarehr_join&utm_term=tmd" }, "Target Market Determination"),
|
|
26
|
+
' ',
|
|
27
|
+
"before deciding to invest in or apply to become a member of the fund."))),
|
|
28
|
+
abnInfo: `REI Superannuation Fund Pty Ltd`,
|
|
29
|
+
abn: '68 056 044 770',
|
|
30
|
+
footnoteTextOverride: none,
|
|
31
|
+
dtoPropName: 'reisuper'
|
|
32
|
+
};
|
|
33
|
+
export default fund;
|
package/dist/lib/collection/components/super-selection-app/services/super-selection-app.routes.js
CHANGED
|
@@ -3,6 +3,7 @@ export var SuperSelectionAppRoutes;
|
|
|
3
3
|
(function (SuperSelectionAppRoutes) {
|
|
4
4
|
SuperSelectionAppRoutes["ConsentPage"] = "/consent";
|
|
5
5
|
SuperSelectionAppRoutes["ExistingChoicePage"] = "/existing";
|
|
6
|
+
SuperSelectionAppRoutes["SuperCampaign"] = "/super-campaign";
|
|
6
7
|
SuperSelectionAppRoutes["ChoicePage"] = "/";
|
|
7
8
|
SuperSelectionAppRoutes["SlateJoin"] = "/slate/join/";
|
|
8
9
|
SuperSelectionAppRoutes["PromotedFundJoinV1"] = "/promoted-fund/join/v1";
|
|
@@ -21,6 +22,7 @@ export var SuperSelectionAppRoutes;
|
|
|
21
22
|
export const superSelectionAppStencilRoutes = [
|
|
22
23
|
h("stencil-route", { url: SuperSelectionAppRoutes.ConsentPage, component: "sss-consent-page" }),
|
|
23
24
|
h("stencil-route", { url: SuperSelectionAppRoutes.ExistingChoicePage, component: "sss-existing-choice-page" }),
|
|
25
|
+
h("stencil-route", { url: SuperSelectionAppRoutes.SuperCampaign, component: "sss-super-campaign-host" }),
|
|
24
26
|
h("stencil-route", { exact: true, url: SuperSelectionAppRoutes.ChoicePage, component: "sss-super-choice-page" }),
|
|
25
27
|
h("stencil-route", { url: SuperSelectionAppRoutes.SlateJoin, component: "sss-slate-join-page" }),
|
|
26
28
|
h("stencil-route", { url: SuperSelectionAppRoutes.PromotedFundJoinV1, component: "sss-promoted-fund-join-v1-page" }),
|
package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js
CHANGED
|
@@ -118,6 +118,7 @@ export class SuperSelectionAppService {
|
|
|
118
118
|
this._state.superBuyer = O.fromNullable(appStateResponse.superBuyer);
|
|
119
119
|
this._state.promotedFunds = O.fromNullable(appStateResponse.promotedFunds);
|
|
120
120
|
this._state.campaignConnectEnabled = appStateResponse.campaignConnectEnabled;
|
|
121
|
+
this._state.superCampaignEnabled = appStateResponse.superCampaignEnabled;
|
|
121
122
|
this._state.superChoicePrefill = O.fromNullable(appStateResponse.prefill);
|
|
122
123
|
this._state.isDefinedBenefitsEligible = O.fromNullable(appStateResponse.isDefinedBenefitsEligible);
|
|
123
124
|
}
|