@flarehr/apollo-super-selection 4.54.43093 → 4.56.44913
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-1a253321.entry.js +14 -0
- package/dist/lib/apollo-super-selection/p-47600481.system.entry.js +69 -0
- package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +1 -1
- 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 +182 -68
- package/dist/lib/collection/components/super-campaign/super-campaign-types.js +1 -0
- package/dist/lib/collection/components/super-campaign/super-campaign.js +144 -1
- package/dist/lib/collection/components/super-selection-app/api/super-selection-events.model.js +16 -1
- package/dist/lib/collection/components/super-selection-app/consent/consent.js +5 -10
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.js +3 -5
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/types.js +2 -1
- package/dist/lib/collection/components/super-selection-app/services/event-tracking.service.js +0 -20
- package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +6 -0
- package/dist/lib/collection/components/super-selection-app/services/super-selection.store.js +4 -1
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +6 -3
- 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 +182 -68
- 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 +4 -4
- package/dist/lib/types/components/super-campaign/super-campaign-types.d.ts +42 -0
- package/dist/lib/types/components/super-campaign/super-campaign.d.ts +13 -0
- package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +15 -32
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-types.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/services/event-tracking.service.d.ts +0 -4
- package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts +3 -1
- package/dist/lib/types/components/super-selection-app/services/super-selection.store.d.ts +4 -0
- package/dist/lib/types/components.d.ts +2 -0
- package/package.json +1 -1
- package/dist/lib/apollo-super-selection/p-4e5b95c3.system.entry.js +0 -69
- package/dist/lib/apollo-super-selection/p-89d1f1eb.entry.js +0 -14
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-44bec843.system.js","./p-14885f78.system.js","./p-15f0e5eb.system.js"],(function(e,s){"use strict";var t,i,o;return{setters:[function(e){t=e.p;i=e.b},function(){},function(e){o=e.g}],execute:function(){var e=function(){var e=s.meta.url;var i={};if(e!==""){i.resourcesUrl=new URL(".",e).href}return t(i)};e().then((function(e){o();return i([["p-6ac8791e.system",[[0,"context-consumer",{context:[16],renderer:[16],subscribe:[16],unsubscribe:[32]}]]],["p-02f24922.system",[[0,"stencil-async-content",{documentLocation:[1,"document-location"],content:[32]}]]],["p-ef3afa00.system",[[0,"stencil-route-title",{titleSuffix:[1,"title-suffix"],pageTitle:[1,"page-title"]}]]],["p-f29066b9.system",[[0,"stencil-router-prompt",{when:[4],message:[1],history:[16],unblock:[32]}]]],["p-51aefdb1.system",[[0,"stencil-router-redirect",{history:[16],root:[1],url:[1]}]]],["p-
|
|
1
|
+
System.register(["./p-44bec843.system.js","./p-14885f78.system.js","./p-15f0e5eb.system.js"],(function(e,s){"use strict";var t,i,o;return{setters:[function(e){t=e.p;i=e.b},function(){},function(e){o=e.g}],execute:function(){var e=function(){var e=s.meta.url;var i={};if(e!==""){i.resourcesUrl=new URL(".",e).href}return t(i)};e().then((function(e){o();return i([["p-6ac8791e.system",[[0,"context-consumer",{context:[16],renderer:[16],subscribe:[16],unsubscribe:[32]}]]],["p-02f24922.system",[[0,"stencil-async-content",{documentLocation:[1,"document-location"],content:[32]}]]],["p-ef3afa00.system",[[0,"stencil-route-title",{titleSuffix:[1,"title-suffix"],pageTitle:[1,"page-title"]}]]],["p-f29066b9.system",[[0,"stencil-router-prompt",{when:[4],message:[1],history:[16],unblock:[32]}]]],["p-51aefdb1.system",[[0,"stencil-router-redirect",{history:[16],root:[1],url:[1]}]]],["p-47600481.system",[[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",{history:[16],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"],extraBadge:[16]}],[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"]}]]]],e)}))}}}));
|
|
@@ -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]}],[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"],"extraBadge":[16]}],[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
|
+
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",{"history":[16],"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"],"extraBadge":[16]}],[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]}],[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"],"extraBadge":[16]}],[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);
|
|
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",{"history":[16],"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"],"extraBadge":[16]}],[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.56.44913';
|
|
288
288
|
|
|
289
289
|
// -------------------------------------------------------------------------------------
|
|
290
290
|
// guards
|
|
@@ -2621,13 +2621,7 @@ const createStore = (defaultState, shouldUpdate) => {
|
|
|
2621
2621
|
return map;
|
|
2622
2622
|
};
|
|
2623
2623
|
|
|
2624
|
-
|
|
2625
|
-
fund: {
|
|
2626
|
-
id: '',
|
|
2627
|
-
type: 'null'
|
|
2628
|
-
}
|
|
2629
|
-
};
|
|
2630
|
-
const { state, reset } = createStore(initial);
|
|
2624
|
+
function e(e){this.message=e;}e.prototype=new Error,e.prototype.name="InvalidCharacterError";var r="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(r){var t=String(r).replace(/=+$/,"");if(t.length%4==1)throw new e("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,o,a=0,i=0,c="";o=t.charAt(i++);~o&&(n=a%4?64*n+o:o,a++%4)?c+=String.fromCharCode(255&n>>(-2*a&6)):0)o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(o);return c};function t(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw "Illegal base64url string!"}try{return function(e){return decodeURIComponent(r(e).replace(/(.)/g,(function(e,r){var t=r.charCodeAt(0).toString(16).toUpperCase();return t.length<2&&(t="0"+t),"%"+t})))}(t)}catch(e){return r(t)}}function n(e){this.message=e;}function o(e,r){if("string"!=typeof e)throw new n("Invalid token specified");var o=!0===(r=r||{}).header?0:1;try{return JSON.parse(t(e.split(".")[o]))}catch(e){throw new n("Invalid token specified: "+e.message)}}n.prototype=new Error,n.prototype.name="InvalidTokenError";
|
|
2631
2625
|
|
|
2632
2626
|
var __assign$1 = (undefined && undefined.__assign) || function () {
|
|
2633
2627
|
__assign$1 = Object.assign || function(t) {
|
|
@@ -3303,7 +3297,18 @@ function convertFormUrl(formObject) {
|
|
|
3303
3297
|
var factory = Wretcher.factory;
|
|
3304
3298
|
factory["default"] = Wretcher.factory;
|
|
3305
3299
|
|
|
3306
|
-
function
|
|
3300
|
+
function buildBackendApiClient() {
|
|
3301
|
+
const jwt = superSelectionAppService.jwt;
|
|
3302
|
+
const profileId = superSelectionAppService.profileId;
|
|
3303
|
+
const accountId = superSelectionAppService.accountIdOrDefault;
|
|
3304
|
+
const partnerId = superSelectionAppService.partnerIdOrDefault;
|
|
3305
|
+
return factory(superSelectionAppService.apiBaseUrl).headers({
|
|
3306
|
+
Authorization: `Bearer ${jwt}`,
|
|
3307
|
+
'X-PROFILE-ID': profileId,
|
|
3308
|
+
'X-PARTNER-ID': partnerId,
|
|
3309
|
+
'X-ACCOUNT-ID': accountId
|
|
3310
|
+
});
|
|
3311
|
+
}
|
|
3307
3312
|
|
|
3308
3313
|
function hydratePromotedFundChoiceDtoKind(dto) {
|
|
3309
3314
|
if ('slate' in dto) {
|
|
@@ -3530,7 +3535,10 @@ const initialState = {
|
|
|
3530
3535
|
campaignConnectEnabled: false,
|
|
3531
3536
|
isDefinedBenefitsEligible: Option.none,
|
|
3532
3537
|
campaignConnect: Option.none,
|
|
3533
|
-
superCampaignEnabled: false
|
|
3538
|
+
superCampaignEnabled: false,
|
|
3539
|
+
superCampaignState: {
|
|
3540
|
+
promotedFundsShown: []
|
|
3541
|
+
}
|
|
3534
3542
|
};
|
|
3535
3543
|
|
|
3536
3544
|
class SuperSelectionAppService {
|
|
@@ -3657,21 +3665,37 @@ class SuperSelectionAppService {
|
|
|
3657
3665
|
this._state.campaignConnect = Option.fromNullable(campaignConnect);
|
|
3658
3666
|
}
|
|
3659
3667
|
}
|
|
3668
|
+
setSuperCampaignPromotedFundsShown(shownFund) {
|
|
3669
|
+
this._state.superCampaignState.promotedFundsShown = shownFund;
|
|
3670
|
+
}
|
|
3671
|
+
get superCampaignState() {
|
|
3672
|
+
return this._state.superCampaignState;
|
|
3673
|
+
}
|
|
3660
3674
|
}
|
|
3661
3675
|
const superSelectionAppService = new SuperSelectionAppService();
|
|
3662
3676
|
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
}
|
|
3677
|
+
const SuperFundDisclaimerViewedDetail = {
|
|
3678
|
+
create: (superCampaignEnabled) => {
|
|
3679
|
+
let isDefinedBenefitsEligibleString = 'Not set';
|
|
3680
|
+
if (Option.isSome(superSelectionAppService.isDefinedBenefitsEligible)) {
|
|
3681
|
+
isDefinedBenefitsEligibleString = superSelectionAppService.isDefinedBenefitsEligible.value
|
|
3682
|
+
? 'True'
|
|
3683
|
+
: 'False';
|
|
3684
|
+
}
|
|
3685
|
+
return {
|
|
3686
|
+
isDefinedBenefitsEligible: isDefinedBenefitsEligibleString,
|
|
3687
|
+
superCampaignEnabled: superCampaignEnabled
|
|
3688
|
+
};
|
|
3689
|
+
}
|
|
3690
|
+
};
|
|
3691
|
+
|
|
3692
|
+
const initial = {
|
|
3693
|
+
fund: {
|
|
3694
|
+
id: '',
|
|
3695
|
+
type: 'null'
|
|
3696
|
+
}
|
|
3697
|
+
};
|
|
3698
|
+
const { state, reset } = createStore(initial);
|
|
3675
3699
|
|
|
3676
3700
|
class EventTrackingApi {
|
|
3677
3701
|
static get Instance() {
|
|
@@ -3689,31 +3713,11 @@ class EventTrackingService {
|
|
|
3689
3713
|
static get Instance() {
|
|
3690
3714
|
return this.instance || (this.instance = new this());
|
|
3691
3715
|
}
|
|
3692
|
-
async TrackFinancialProductViewedAsync(detail) {
|
|
3693
|
-
return this.trackEventAsync({
|
|
3694
|
-
FinancialProductViewed: detail
|
|
3695
|
-
});
|
|
3696
|
-
}
|
|
3697
3716
|
async TrackSuperFundPdsViewedAsync(detail) {
|
|
3698
3717
|
return this.trackEventAsync({
|
|
3699
3718
|
SuperFundPdsViewed: detail
|
|
3700
3719
|
});
|
|
3701
3720
|
}
|
|
3702
|
-
async TrackFinancialProductAcceptedAsync(detail) {
|
|
3703
|
-
return this.trackEventAsync({
|
|
3704
|
-
FinancialProductAccepted: detail
|
|
3705
|
-
});
|
|
3706
|
-
}
|
|
3707
|
-
async TrackFinancialProductRejectedAsync(detail) {
|
|
3708
|
-
return this.trackEventAsync({
|
|
3709
|
-
FinancialProductRejected: detail
|
|
3710
|
-
});
|
|
3711
|
-
}
|
|
3712
|
-
async TrackSuperFundPrivacyConfirmationAcceptedAsync(detail) {
|
|
3713
|
-
return this.trackEventAsync({
|
|
3714
|
-
SuperFundPrivacyConfirmationAccepted: detail
|
|
3715
|
-
});
|
|
3716
|
-
}
|
|
3717
3721
|
async TrackPromotedSuperFundDetailViewedAsync(detail) {
|
|
3718
3722
|
return this.trackEventAsync({
|
|
3719
3723
|
SuperFundDetailViewed: {
|
|
@@ -3919,7 +3923,8 @@ function pdsViewedAsync(name, usi) {
|
|
|
3919
3923
|
return EventTrackingService.Instance.TrackSuperFundPdsViewedAsync({
|
|
3920
3924
|
fundUsi: usi,
|
|
3921
3925
|
fundName: name,
|
|
3922
|
-
pageName: 'Panel Fund Page'
|
|
3926
|
+
pageName: 'Panel Fund Page',
|
|
3927
|
+
superCampaignEnabled: false
|
|
3923
3928
|
});
|
|
3924
3929
|
}
|
|
3925
3930
|
|
|
@@ -3930,15 +3935,7 @@ const Consent = class {
|
|
|
3930
3935
|
this.eventTrackingService = EventTrackingService.Instance;
|
|
3931
3936
|
}
|
|
3932
3937
|
componentDidLoad() {
|
|
3933
|
-
|
|
3934
|
-
if (Option.isSome(superSelectionAppService.isDefinedBenefitsEligible)) {
|
|
3935
|
-
isDefinedBenefitsEligible = superSelectionAppService.isDefinedBenefitsEligible.value
|
|
3936
|
-
? 'True'
|
|
3937
|
-
: 'False';
|
|
3938
|
-
}
|
|
3939
|
-
return this.eventTrackingService.TrackSuperFundDisclaimerViewedAsync({
|
|
3940
|
-
isDefinedBenefitsEligible
|
|
3941
|
-
});
|
|
3938
|
+
return this.eventTrackingService.TrackSuperFundDisclaimerViewedAsync(SuperFundDisclaimerViewedDetail.create(false));
|
|
3942
3939
|
}
|
|
3943
3940
|
render() {
|
|
3944
3941
|
if (this.campaignConnectRequestInProgress) {
|
|
@@ -3947,7 +3944,9 @@ const Consent = class {
|
|
|
3947
3944
|
return (index.h("div", null, index.h("div", { class: "text-2xl sm:text-3xl font-bold text-center leading-8" }, "Important information about super"), index.h("div", { class: "sm:text-lg text-gray-600 mt-3 sm:mt-4 max-w-800 text-center leading-7 sm:leading-8" }, "The choice of superannuation fund is an important personal financial decision. Next, you\u2019ll be asked to nominate a super fund to receive your employer contributions."), index.h("div", { class: "flex justify-center mt-8 sm:mt-12" }, index.h("div", { class: "border shadow-sm p-4 pb-6 sm:p-6 sm:pb-8 max-w-560 rounded-lg" }, index.h("div", { class: "sm:text-lg font-bold leading-6" }, "By clicking \u201CContinue\u201D you acknowledge that:"), index.h("ul", { class: "list-disc list-outside ml-6 mt-3 mb-6 space-y-2 text-sm leading-6" }, index.h("li", null, "Flare (we/us) provides this paperless employee management service, will feature superannuation funds and offer you employee benefits that you may be interested in;"), index.h("li", null, "all content contained in the following pages does not take into account any of your objectives, financial situation or needs and does not constitute financial product advice;"), index.h("li", null, "in featuring any superannuation funds, we, the technology partner you are accessing us via, or your employer, are not providing any opinion or recommendation (actual or implied) in relation to the suitability or appropriateness of the featured funds;"), index.h("li", null, "Trustees of the featured superannuation funds pay fees to Flare and/or its associates. Some funds pay us a fee if you choose one of the featured funds, while others pay us to have their application form on our platform;"), index.h("li", null, "in the event that you choose one of the featured superannuation funds, we may pass on your personal information and TFN to a related party for the purpose of completing your chosen fund's application form."), index.h("li", null, "Your personal data that is provided to us will be subject to our", ' ', index.h(Link, { className: "font-medium text-blue-600 hover:text-blue-800", href: "https://www.flarehr.com/privacy-policy" }, "Privacy Policy"), ".")), index.h("sss-button", { fillWidth: true, promiseFn: () => this.handleSuperFundDisclaimerAccepted() }, "Continue")))));
|
|
3948
3945
|
}
|
|
3949
3946
|
async handleSuperFundDisclaimerAccepted() {
|
|
3950
|
-
await this.eventTrackingService.TrackSuperFundDisclaimerAcceptedAsync({
|
|
3947
|
+
await this.eventTrackingService.TrackSuperFundDisclaimerAcceptedAsync({
|
|
3948
|
+
superCampaignEnabled: false
|
|
3949
|
+
});
|
|
3951
3950
|
if (superSelectionAppService.campaignConnectEnabled) {
|
|
3952
3951
|
this.campaignConnectRequestInProgress = true;
|
|
3953
3952
|
await superSelectionAppService.loadCampaignConnectAsync();
|
|
@@ -16122,7 +16121,7 @@ class PromotedFundJoinV2IFrameBuilder {
|
|
|
16122
16121
|
build(iframe$1, history) {
|
|
16123
16122
|
if (!(iframe$1 === null || iframe$1 === void 0 ? void 0 : iframe$1.contentDocument))
|
|
16124
16123
|
return;
|
|
16125
|
-
const postData = Object.assign(Object.assign({}, this.getMemberData()), { partnerId: superSelectionAppService.partnerIdOrDefault, accountId: superSelectionAppService.accountIdOrDefault, fundId: state.fund.id, authToken: superSelectionAppService.jwt, employerDefault: state.fund.type === 'PromotedDefault' });
|
|
16124
|
+
const postData = Object.assign(Object.assign({}, this.getMemberData()), { partnerId: superSelectionAppService.partnerIdOrDefault, accountId: superSelectionAppService.accountIdOrDefault, fundId: state.fund.id, authToken: superSelectionAppService.jwt, employerDefault: state.fund.type === 'PromotedDefault', definedBenefitsEligibility: Option.toUndefined(superSelectionAppService.isDefinedBenefitsEligible) });
|
|
16126
16125
|
const handleMessage = async (event) => {
|
|
16127
16126
|
const { data } = event;
|
|
16128
16127
|
if (!data) {
|
|
@@ -16310,13 +16309,11 @@ class PromotedFundJoinV2IFrameBuilder {
|
|
|
16310
16309
|
if (value !== undefined) {
|
|
16311
16310
|
const input = document.createElement('input');
|
|
16312
16311
|
input.name = prop;
|
|
16312
|
+
input.type = 'hidden';
|
|
16313
16313
|
if (typeof value === 'boolean') {
|
|
16314
|
-
input.
|
|
16315
|
-
input.checked = value;
|
|
16316
|
-
input.style.visibility = 'hidden';
|
|
16314
|
+
input.value = value ? 'true' : 'false';
|
|
16317
16315
|
}
|
|
16318
16316
|
else {
|
|
16319
|
-
input.type = 'hidden';
|
|
16320
16317
|
input.value = value;
|
|
16321
16318
|
}
|
|
16322
16319
|
form.append(input);
|
|
@@ -16833,6 +16830,13 @@ const Success = class {
|
|
|
16833
16830
|
}
|
|
16834
16831
|
};
|
|
16835
16832
|
|
|
16833
|
+
class MiscService {
|
|
16834
|
+
trackClickPromotedTileAsync(payload) {
|
|
16835
|
+
return superSelectionApi.clickPromotedTileAsync(payload);
|
|
16836
|
+
}
|
|
16837
|
+
}
|
|
16838
|
+
const miscService = new MiscService();
|
|
16839
|
+
|
|
16836
16840
|
const SuperCampaignHost = class {
|
|
16837
16841
|
constructor(hostRef) {
|
|
16838
16842
|
index.registerInstance(this, hostRef);
|
|
@@ -16849,6 +16853,114 @@ const SuperCampaignHost = class {
|
|
|
16849
16853
|
return 'autodev';
|
|
16850
16854
|
}
|
|
16851
16855
|
};
|
|
16856
|
+
this.subscribeToSuperCampaignEvents = () => {
|
|
16857
|
+
for (const eventName in this.superCampaignEventHandlers) {
|
|
16858
|
+
document.addEventListener(eventName, this.superCampaignEventHandlers[eventName]);
|
|
16859
|
+
}
|
|
16860
|
+
};
|
|
16861
|
+
this.unSubscribeFromSuperCampaignEvents = () => {
|
|
16862
|
+
for (const eventName in this.superCampaignEventHandlers) {
|
|
16863
|
+
document.removeEventListener(eventName, this.superCampaignEventHandlers[eventName]);
|
|
16864
|
+
}
|
|
16865
|
+
};
|
|
16866
|
+
this.chooseAnotherFundRequested = async (event) => {
|
|
16867
|
+
if (event.detail.sender == 'super-campaign') {
|
|
16868
|
+
await navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.MyOwnFund);
|
|
16869
|
+
}
|
|
16870
|
+
};
|
|
16871
|
+
this.fundPanelShown = async (event) => {
|
|
16872
|
+
var _a;
|
|
16873
|
+
if (event.detail.sender == 'super-campaign') {
|
|
16874
|
+
// eslint-disable-next-line no-console
|
|
16875
|
+
console.log(`$handling super-campaign event: ${(_a = event.detail) === null || _a === void 0 ? void 0 : _a.type}`);
|
|
16876
|
+
const promotedFundsShown = event.detail.shownFunds.map((f) => f.fundId);
|
|
16877
|
+
superSelectionAppService.setSuperCampaignPromotedFundsShown(promotedFundsShown);
|
|
16878
|
+
await EventTrackingService.Instance.TrackSuperFundPanelViewedAsync({
|
|
16879
|
+
promotedFundsShown,
|
|
16880
|
+
defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi),
|
|
16881
|
+
superCampaignEnabled: true
|
|
16882
|
+
});
|
|
16883
|
+
}
|
|
16884
|
+
};
|
|
16885
|
+
this.fundTileClicked = async (event) => {
|
|
16886
|
+
var _a, _b, _c;
|
|
16887
|
+
const eventDetails = event.detail;
|
|
16888
|
+
if (eventDetails.sender == 'super-campaign') {
|
|
16889
|
+
// eslint-disable-next-line no-console
|
|
16890
|
+
console.log(`$handling super-campaign event: ${(_a = event.detail) === null || _a === void 0 ? void 0 : _a.type}`);
|
|
16891
|
+
const promotedFundsShown = superSelectionAppService.superCampaignState.promotedFundsShown;
|
|
16892
|
+
const defaultFundUsiSet = Option.toUndefined(superSelectionAppService.defaultFundUsi);
|
|
16893
|
+
await Promise.all([
|
|
16894
|
+
eventDetails.fundType == 'PromotedDefault'
|
|
16895
|
+
? await EventTrackingService.Instance.TrackPromotedDefaultSuperFundDetailViewedAsync({
|
|
16896
|
+
fundUsi: (_b = eventDetails.fundUsi) !== null && _b !== void 0 ? _b : '',
|
|
16897
|
+
fundName: eventDetails.fundName,
|
|
16898
|
+
promotedFundId: eventDetails.fundId,
|
|
16899
|
+
promotedFundsShown,
|
|
16900
|
+
defaultFundUsiSet,
|
|
16901
|
+
superCampaignEnabled: true
|
|
16902
|
+
})
|
|
16903
|
+
: await EventTrackingService.Instance.TrackPromotedSuperFundDetailViewedAsync({
|
|
16904
|
+
fundUsi: (_c = eventDetails.fundUsi) !== null && _c !== void 0 ? _c : undefined,
|
|
16905
|
+
fundName: eventDetails.fundName,
|
|
16906
|
+
promotedFundId: eventDetails.fundId,
|
|
16907
|
+
promotedFundsShown,
|
|
16908
|
+
defaultFundUsiSet,
|
|
16909
|
+
superCampaignEnabled: true
|
|
16910
|
+
}),
|
|
16911
|
+
miscService.trackClickPromotedTileAsync(eventDetails.fundType == 'PromotedDefault'
|
|
16912
|
+
? {
|
|
16913
|
+
promotedDefault: {
|
|
16914
|
+
fundId: eventDetails.fundId
|
|
16915
|
+
}
|
|
16916
|
+
}
|
|
16917
|
+
: {
|
|
16918
|
+
promoted: {
|
|
16919
|
+
fundId: eventDetails.fundId
|
|
16920
|
+
}
|
|
16921
|
+
})
|
|
16922
|
+
]);
|
|
16923
|
+
}
|
|
16924
|
+
};
|
|
16925
|
+
this.fundPdsViewed = async (event) => {
|
|
16926
|
+
var _a;
|
|
16927
|
+
if (event.detail.sender == 'super-campaign') {
|
|
16928
|
+
// eslint-disable-next-line no-console
|
|
16929
|
+
console.log(`$handling super-campaign event: ${(_a = event.detail) === null || _a === void 0 ? void 0 : _a.type}`);
|
|
16930
|
+
await EventTrackingService.Instance.TrackSuperFundPdsViewedAsync({
|
|
16931
|
+
fundName: event.detail.fundName,
|
|
16932
|
+
fundUsi: event.detail.fundUsi,
|
|
16933
|
+
pageName: event.detail.pageName,
|
|
16934
|
+
superCampaignEnabled: true
|
|
16935
|
+
});
|
|
16936
|
+
}
|
|
16937
|
+
};
|
|
16938
|
+
this.disclaimerViewed = async (event) => {
|
|
16939
|
+
var _a;
|
|
16940
|
+
if (event.detail.sender == 'super-campaign') {
|
|
16941
|
+
// eslint-disable-next-line no-console
|
|
16942
|
+
console.log(`$handling super-campaign event: ${(_a = event.detail) === null || _a === void 0 ? void 0 : _a.type}`);
|
|
16943
|
+
await EventTrackingService.Instance.TrackSuperFundDisclaimerViewedAsync(SuperFundDisclaimerViewedDetail.create(true));
|
|
16944
|
+
}
|
|
16945
|
+
};
|
|
16946
|
+
this.disclaimerAccepted = async (event) => {
|
|
16947
|
+
var _a;
|
|
16948
|
+
if (event.detail.sender == 'super-campaign') {
|
|
16949
|
+
// eslint-disable-next-line no-console
|
|
16950
|
+
console.log(`$handling super-campaign event: ${(_a = event.detail) === null || _a === void 0 ? void 0 : _a.type}`);
|
|
16951
|
+
await EventTrackingService.Instance.TrackSuperFundDisclaimerAcceptedAsync({
|
|
16952
|
+
superCampaignEnabled: true
|
|
16953
|
+
});
|
|
16954
|
+
}
|
|
16955
|
+
};
|
|
16956
|
+
this.superCampaignEventHandlers = {
|
|
16957
|
+
'choose-another-fund-requested': this.chooseAnotherFundRequested.bind(this),
|
|
16958
|
+
'fund-panel-shown': this.fundPanelShown.bind(this),
|
|
16959
|
+
'fund-tile-clicked': this.fundTileClicked.bind(this),
|
|
16960
|
+
'fund-pds-viewed': this.fundPdsViewed.bind(this),
|
|
16961
|
+
'disclaimer-viewed': this.disclaimerViewed.bind(this),
|
|
16962
|
+
'disclaimer-accepted': this.disclaimerAccepted.bind(this)
|
|
16963
|
+
};
|
|
16852
16964
|
}
|
|
16853
16965
|
async componentWillLoad() {
|
|
16854
16966
|
try {
|
|
@@ -16856,7 +16968,9 @@ const SuperCampaignHost = class {
|
|
|
16856
16968
|
Option.isSome(superSelectionAppService.state.jwt)) {
|
|
16857
16969
|
this.backendUrl = this.getBaseUrl(superSelectionAppService.state.apiBaseUrl.value);
|
|
16858
16970
|
this.accessToken = superSelectionAppService.state.jwt.value;
|
|
16971
|
+
this.unSubscribeFromSuperCampaignEvents();
|
|
16859
16972
|
await Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(this.createApolloSuperCampaignScriptUrl(this.getEnvironmentTag()))); });
|
|
16973
|
+
this.subscribeToSuperCampaignEvents();
|
|
16860
16974
|
this.componentLoaded = true;
|
|
16861
16975
|
}
|
|
16862
16976
|
else {
|
|
@@ -16869,6 +16983,9 @@ const SuperCampaignHost = class {
|
|
|
16869
16983
|
console.error('Error loading component:', error);
|
|
16870
16984
|
}
|
|
16871
16985
|
}
|
|
16986
|
+
disconnectedCallback() {
|
|
16987
|
+
this.unSubscribeFromSuperCampaignEvents();
|
|
16988
|
+
}
|
|
16872
16989
|
render() {
|
|
16873
16990
|
return (index.h("div", null, this.componentLoaded ? (index.h("apollo-super-campaign", { "backend-url": this.backendUrl, "access-token": this.accessToken })) : null));
|
|
16874
16991
|
}
|
|
@@ -16880,6 +16997,7 @@ const SuperCampaignHost = class {
|
|
|
16880
16997
|
return `${parsedUrl.protocol}//${parsedUrl.hostname}${parsedUrl.port.length > 0 ? `:${parsedUrl.port}` : ''}`;
|
|
16881
16998
|
}
|
|
16882
16999
|
};
|
|
17000
|
+
injectHistory(SuperCampaignHost);
|
|
16883
17001
|
|
|
16884
17002
|
const SuperChoiceItemBottom = class {
|
|
16885
17003
|
constructor(hostRef) {
|
|
@@ -16909,13 +17027,6 @@ const SuperChoiceItemTop = class {
|
|
|
16909
17027
|
}
|
|
16910
17028
|
};
|
|
16911
17029
|
|
|
16912
|
-
class MiscService {
|
|
16913
|
-
trackClickPromotedTileAsync(payload) {
|
|
16914
|
-
return superSelectionApi.clickPromotedTileAsync(payload);
|
|
16915
|
-
}
|
|
16916
|
-
}
|
|
16917
|
-
const miscService = new MiscService();
|
|
16918
|
-
|
|
16919
17030
|
const SuperChoicePage = class {
|
|
16920
17031
|
constructor(hostRef) {
|
|
16921
17032
|
index.registerInstance(this, hostRef);
|
|
@@ -16926,7 +17037,8 @@ const SuperChoicePage = class {
|
|
|
16926
17037
|
const promotedFundsShown = this.promotedFunds.map((item) => item.fundId);
|
|
16927
17038
|
return this.eventTrackingService.TrackSuperFundPanelViewedAsync({
|
|
16928
17039
|
promotedFundsShown,
|
|
16929
|
-
defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi)
|
|
17040
|
+
defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi),
|
|
17041
|
+
superCampaignEnabled: false
|
|
16930
17042
|
});
|
|
16931
17043
|
}
|
|
16932
17044
|
render() {
|
|
@@ -16978,14 +17090,16 @@ const SuperChoicePage = class {
|
|
|
16978
17090
|
fundName: Option.isSome(fundName) ? fundName.value : '',
|
|
16979
17091
|
promotedFundId: fund.fundId,
|
|
16980
17092
|
promotedFundsShown,
|
|
16981
|
-
defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi)
|
|
17093
|
+
defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi),
|
|
17094
|
+
superCampaignEnabled: false
|
|
16982
17095
|
})
|
|
16983
17096
|
: this.eventTrackingService.TrackPromotedSuperFundDetailViewedAsync({
|
|
16984
17097
|
fundUsi: Option.isSome(fundUsi) ? fundUsi.value : undefined,
|
|
16985
17098
|
fundName: Option.isSome(fundName) ? fundName.value : '',
|
|
16986
17099
|
promotedFundId: fund.fundId,
|
|
16987
17100
|
promotedFundsShown,
|
|
16988
|
-
defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi)
|
|
17101
|
+
defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi),
|
|
17102
|
+
superCampaignEnabled: false
|
|
16989
17103
|
}),
|
|
16990
17104
|
miscService.trackClickPromotedTileAsync(fund.isPromotedDefault
|
|
16991
17105
|
? {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|