@flarehr/apollo-super-selection 3.62.64158 → 3.65.64780
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-virgin.svg +8 -0
- package/dist/lib/apollo-super-selection/p-0f723eb4.system.js +1 -1
- package/dist/lib/apollo-super-selection/p-8d47d8e3.entry.js +14 -0
- package/dist/lib/apollo-super-selection/p-ac2c3503.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_30.cjs.entry.js +36 -23
- package/dist/lib/collection/components/super-selection-app/funds/constants.js +2 -2
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/abn-validation.js +11 -0
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.js +6 -14
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.js +7 -2
- package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-virgin.svg +8 -0
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +14 -7
- package/dist/lib/esm/apollo-super-selection.js +1 -1
- package/dist/lib/esm/loader.js +1 -1
- package/dist/lib/esm/sss-button_30.entry.js +36 -23
- 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_30.entry.js +1 -1
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/abn-validation.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.d.ts +1 -1
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.d.ts +1 -0
- package/package.json +1 -1
- package/dist/lib/apollo-super-selection/p-af8b28ab.entry.js +0 -14
- package/dist/lib/apollo-super-selection/p-e4cfd5f5.system.entry.js +0 -69
|
@@ -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_30.cjs",[[0,"sss-my-own-fund",{"history":[16],"formState":[32],"isNotAllInformationProvidedMessageVisible":[32],"isSubmitDisabled":[32]}],[0,"sss-self-managed-fund",{"history":[16],"formState":[32],"showSmsfNotSupported":[32],"isSubmitDisabled":[32]}],[0,"sss-super-choice-page",{"history":[16],"promotedFunds":[32]}],[1,"super-selection-app-host",{"sessionState":[32],"jwt":[32],"appConfiguration":[32]}],[0,"sss-default-fund",{"history":[16],"defaultFundProductName":[32]}],[0,"sss-standard-choice-form",{"history":[16],"standardChoiceFormSignature":[32],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-consent-page",{"history":[16]}],[0,"sss-existing-choice-page",{"history":[16],"existingFund":[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"],[1,"super-selection-app",{"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-smsf-not-supported-dialog"],[0,"sss-super-choice-item-bottom",{"disclaimer":[16],"abnInfo":[1,"abn-info"],"abn":[1]}],[0,"sss-loading-page"],[0,"sss-self-managed-fund-inputs",{"fundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"isAbnValid":[32],"currentBank":[32],"addressErrorMessage":[32]}],[0,"sss-super-choice-item-top",{"name":[1],"logo":[1],"features":[1],"featureSubText":[1,"feature-sub-text"]}],[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"],[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-header-section",{"currentPage":[1,"current-page"]}],[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],"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_30.cjs",[[0,"sss-my-own-fund",{"history":[16],"formState":[32],"isNotAllInformationProvidedMessageVisible":[32],"isSubmitDisabled":[32]}],[0,"sss-self-managed-fund",{"history":[16],"formState":[32],"showSmsfNotSupported":[32],"isSubmitDisabled":[32]}],[0,"sss-super-choice-page",{"history":[16],"promotedFunds":[32]}],[1,"super-selection-app-host",{"sessionState":[32],"jwt":[32],"appConfiguration":[32]}],[0,"sss-default-fund",{"history":[16],"defaultFundProductName":[32]}],[0,"sss-standard-choice-form",{"history":[16],"standardChoiceFormSignature":[32],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-consent-page",{"history":[16]}],[0,"sss-existing-choice-page",{"history":[16],"existingFund":[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"],[1,"super-selection-app",{"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-smsf-not-supported-dialog"],[0,"sss-super-choice-item-bottom",{"disclaimer":[16],"abnInfo":[1,"abn-info"],"abn":[1]}],[0,"sss-loading-page"],[0,"sss-self-managed-fund-inputs",{"fundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"isAbnValid":[32],"isAbnTouched":[32],"currentBank":[32],"addressErrorMessage":[32]}],[0,"sss-super-choice-item-top",{"name":[1],"logo":[1],"features":[1],"featureSubText":[1,"feature-sub-text"]}],[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"],[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-header-section",{"currentPage":[1,"current-page"]}],[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],"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_30.cjs",[[0,"sss-my-own-fund",{"history":[16],"formState":[32],"isNotAllInformationProvidedMessageVisible":[32],"isSubmitDisabled":[32]}],[0,"sss-self-managed-fund",{"history":[16],"formState":[32],"showSmsfNotSupported":[32],"isSubmitDisabled":[32]}],[0,"sss-super-choice-page",{"history":[16],"promotedFunds":[32]}],[1,"super-selection-app-host",{"sessionState":[32],"jwt":[32],"appConfiguration":[32]}],[0,"sss-default-fund",{"history":[16],"defaultFundProductName":[32]}],[0,"sss-standard-choice-form",{"history":[16],"standardChoiceFormSignature":[32],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-consent-page",{"history":[16]}],[0,"sss-existing-choice-page",{"history":[16],"existingFund":[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"],[1,"super-selection-app",{"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-smsf-not-supported-dialog"],[0,"sss-super-choice-item-bottom",{"disclaimer":[16],"abnInfo":[1,"abn-info"],"abn":[1]}],[0,"sss-loading-page"],[0,"sss-self-managed-fund-inputs",{"fundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"isAbnValid":[32],"currentBank":[32],"addressErrorMessage":[32]}],[0,"sss-super-choice-item-top",{"name":[1],"logo":[1],"features":[1],"featureSubText":[1,"feature-sub-text"]}],[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"],[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-header-section",{"currentPage":[1,"current-page"]}],[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],"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_30.cjs",[[0,"sss-my-own-fund",{"history":[16],"formState":[32],"isNotAllInformationProvidedMessageVisible":[32],"isSubmitDisabled":[32]}],[0,"sss-self-managed-fund",{"history":[16],"formState":[32],"showSmsfNotSupported":[32],"isSubmitDisabled":[32]}],[0,"sss-super-choice-page",{"history":[16],"promotedFunds":[32]}],[1,"super-selection-app-host",{"sessionState":[32],"jwt":[32],"appConfiguration":[32]}],[0,"sss-default-fund",{"history":[16],"defaultFundProductName":[32]}],[0,"sss-standard-choice-form",{"history":[16],"standardChoiceFormSignature":[32],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-consent-page",{"history":[16]}],[0,"sss-existing-choice-page",{"history":[16],"existingFund":[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"],[1,"super-selection-app",{"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-smsf-not-supported-dialog"],[0,"sss-super-choice-item-bottom",{"disclaimer":[16],"abnInfo":[1,"abn-info"],"abn":[1]}],[0,"sss-loading-page"],[0,"sss-self-managed-fund-inputs",{"fundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"isAbnValid":[32],"isAbnTouched":[32],"currentBank":[32],"addressErrorMessage":[32]}],[0,"sss-super-choice-item-top",{"name":[1],"logo":[1],"features":[1],"featureSubText":[1,"feature-sub-text"]}],[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"],[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-header-section",{"currentPage":[1,"current-page"]}],[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],"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
|
|
|
@@ -264,7 +264,7 @@ class TapSubscriber extends datoramaAkita.Subscriber {
|
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
-
const AppVersion = '3.
|
|
267
|
+
const AppVersion = '3.65.64780';
|
|
268
268
|
|
|
269
269
|
// -------------------------------------------------------------------------------------
|
|
270
270
|
// guards
|
|
@@ -4005,7 +4005,7 @@ const AustralianEthical = {
|
|
|
4005
4005
|
const Virgin = {
|
|
4006
4006
|
Id: 'virgin',
|
|
4007
4007
|
Name: 'Virgin Money Super',
|
|
4008
|
-
PdsUrl: 'https://virginmoney.com.au/superannuation/
|
|
4008
|
+
PdsUrl: 'https://virginmoney.com.au/superannuation/',
|
|
4009
4009
|
Abn: '19 905 422 981'
|
|
4010
4010
|
};
|
|
4011
4011
|
const PromotedFundIdList = [
|
|
@@ -4061,7 +4061,7 @@ const getLogoSrc = (id) => {
|
|
|
4061
4061
|
logo = 'logo-slate.png';
|
|
4062
4062
|
break;
|
|
4063
4063
|
case Virgin.Id:
|
|
4064
|
-
logo = 'logo-
|
|
4064
|
+
logo = 'logo-virgin.svg';
|
|
4065
4065
|
break;
|
|
4066
4066
|
default:
|
|
4067
4067
|
return;
|
|
@@ -4721,12 +4721,24 @@ const PromotedFundJoinV2Page = class {
|
|
|
4721
4721
|
}
|
|
4722
4722
|
};
|
|
4723
4723
|
|
|
4724
|
+
function validateAbn(abn) {
|
|
4725
|
+
const digitArray = abn.split('').map(Number);
|
|
4726
|
+
const isAllDigits = digitArray.every((d) => !isNaN(d));
|
|
4727
|
+
const weightingFactors = [10, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19];
|
|
4728
|
+
if (!isAllDigits || digitArray.length !== weightingFactors.length) {
|
|
4729
|
+
return false;
|
|
4730
|
+
}
|
|
4731
|
+
digitArray[0]--;
|
|
4732
|
+
const sum = digitArray.reduce((sum, digit, i) => sum + digit * weightingFactors[i], 0);
|
|
4733
|
+
return sum % 89 === 0;
|
|
4734
|
+
}
|
|
4735
|
+
|
|
4724
4736
|
const SelfManagedFund = class {
|
|
4725
4737
|
constructor(hostRef) {
|
|
4726
4738
|
index.registerInstance(this, hostRef);
|
|
4727
4739
|
this.showSmsfNotSupported = false;
|
|
4728
4740
|
this.isSubmitDisabled = true;
|
|
4729
|
-
this.isAbnValid =
|
|
4741
|
+
this.isAbnValid = validateAbn(state$1.selfManagedFundForm.fundAbn);
|
|
4730
4742
|
this.eventTrackingService = EventTrackingService.Instance;
|
|
4731
4743
|
this.success = () => {
|
|
4732
4744
|
navigationService.navigateInternallyToStandardChoice({
|
|
@@ -4757,6 +4769,7 @@ const SelfManagedFund = class {
|
|
|
4757
4769
|
};
|
|
4758
4770
|
}
|
|
4759
4771
|
componentDidLoad() {
|
|
4772
|
+
this.updateIsSubmitDisabled();
|
|
4760
4773
|
return this.eventTrackingService.TrackSmsfSuperFundDetailViewedAsync({
|
|
4761
4774
|
promotedFundsShown: superSelectionAppService.promotedFunds
|
|
4762
4775
|
});
|
|
@@ -4768,7 +4781,7 @@ const SelfManagedFund = class {
|
|
|
4768
4781
|
state$1.selfManagedFundForm = Object.assign(Object.assign({}, state$1.selfManagedFundForm), event.detail);
|
|
4769
4782
|
if (event.detail.isAbnValid !== undefined)
|
|
4770
4783
|
this.isAbnValid = event.detail.isAbnValid;
|
|
4771
|
-
this.
|
|
4784
|
+
this.updateIsSubmitDisabled();
|
|
4772
4785
|
} })), index.h("div", { class: "flex justify-center mt-8" }, index.h("div", { class: "sm:max-w-320 w-full" }, index.h("div", { class: "mb-4", onClick:
|
|
4773
4786
|
// user clicks on disabled button (div wrapper) then validation errors will show
|
|
4774
4787
|
() => (this.formState = 'validated') }, index.h("sss-button", { fillWidth: true, promiseFn: () => this.handleSubmitForm(), disabled: this.isSubmitDisabled }, "Continue")), index.h("stencil-route-link", { url: SuperSelectionAppRoutes.ChoicePage }, index.h("sss-button", { fillWidth: true, variant: "secondary" }, "Back")))), this.showSmsfNotSupported && (index.h("sss-smsf-not-supported-dialog", { ref: (el) => (this.notSupportedDialog = el), onContinue: this.success })))))));
|
|
@@ -4777,6 +4790,9 @@ const SelfManagedFund = class {
|
|
|
4777
4790
|
var _a;
|
|
4778
4791
|
this.showSmsfNotSupported && ((_a = this.notSupportedDialog) === null || _a === void 0 ? void 0 : _a.scrollIntoView());
|
|
4779
4792
|
}
|
|
4793
|
+
updateIsSubmitDisabled() {
|
|
4794
|
+
this.isSubmitDisabled = !this.formElement.checkValidity() || !this.isAbnValid;
|
|
4795
|
+
}
|
|
4780
4796
|
async handleSubmitForm() {
|
|
4781
4797
|
this.formState = 'validated';
|
|
4782
4798
|
if (this.formElement.checkValidity()) {
|
|
@@ -4908,6 +4924,7 @@ const SelfManagedFundInputs = class {
|
|
|
4908
4924
|
index.registerInstance(this, hostRef);
|
|
4909
4925
|
this.formChanged = index.createEvent(this, "formChanged", 7);
|
|
4910
4926
|
this.isAbnValid = false;
|
|
4927
|
+
this.isAbnTouched = false;
|
|
4911
4928
|
this.currentBank = none;
|
|
4912
4929
|
this.addressErrorMessage = none;
|
|
4913
4930
|
this.stateOptions = [
|
|
@@ -4931,9 +4948,9 @@ const SelfManagedFundInputs = class {
|
|
|
4931
4948
|
};
|
|
4932
4949
|
return (index.h("div", null, index.h("div", null, index.h("label", { class: "text-sm font-medium text-gray-700" }, "Fund name"), index.h("div", { class: "mt-1" }, index.h("input", { type: "text", class: inputClass, required: true, minlength: "2", name: "fundName", id: "fundName", value: state$1.selfManagedFundForm.fundName, onChange: (ev) => this.updateFormField('fundName', ev.target.value.trim()) }), index.h("div", { class: "invalid-feedback mt-2 text-sm text-red-600" }, "Enter a valid fund name"))), index.h("div", { class: "mt-3" }, index.h("label", { class: "text-sm font-medium text-gray-700" }, "Fund ABN"), index.h("div", { class: "mt-1" }, index.h("input", { type: "text", class: inputClass, required: true, minlength: "2", name: "fundAbn", id: "fundAbn", value: state$1.selfManagedFundForm.fundAbn, inputmode: "numeric", pattern: "[0-9]*", onKeyUp: (ev) => {
|
|
4933
4950
|
this.updateFormField('fundAbn', ev.target.value.trim());
|
|
4934
|
-
this.isAbnValid =
|
|
4951
|
+
this.isAbnValid = validateAbn(ev.target.value);
|
|
4935
4952
|
this.updateFormField('isAbnValid', this.isAbnValid);
|
|
4936
|
-
} }), this.showValidationErrors && !this.isAbnValid && (index.h("div", { class: "mt-2 text-sm text-red-600" }, "Enter a valid fund ABN (digits only)")))), index.h("div", { class: "mt-3" }, index.h("label", { class: "text-sm font-medium text-gray-700" }, "Electronic service address alias (ESA)"), index.h("div", { class: "mt-1" }, index.h("input", { type: "text", class: inputClass, required: true, minlength: "2", name: "fundEsa", id: "fundEsa", value: state$1.selfManagedFundForm.fundEsa, onChange: (ev) => this.updateFormField('fundEsa', ev.target.value.trim()) }), index.h("div", { class: "invalid-feedback mt-2 text-sm text-red-600" }, "Enter a valid fund ESA"))), index.h("div", { class: "mt-3" }, index.h("label", { class: "text-sm font-medium text-gray-700" }, "Fund address"), index.h("div", { class: "mt-1 rounded-md shadow-sm -space-y-px" }, index.h("input", { placeholder: "Address line 1", type: "text", class: Object.assign(Object.assign({}, inputClass), { 'rounded-none rounded-t-md shadow-none': true }), required: true, minlength: "2", name: "addressLine1", id: "addressLine1", value: state$1.selfManagedFundForm.addressLine1, onChange: (ev) => {
|
|
4953
|
+
}, onBlur: () => (this.isAbnTouched = true) }), (this.isAbnTouched || this.showValidationErrors) && !this.isAbnValid && (index.h("div", { class: "mt-2 text-sm text-red-600" }, "Enter a valid fund ABN (digits only)")))), index.h("div", { class: "mt-3" }, index.h("label", { class: "text-sm font-medium text-gray-700" }, "Electronic service address alias (ESA)"), index.h("div", { class: "mt-1" }, index.h("input", { type: "text", class: inputClass, required: true, minlength: "2", name: "fundEsa", id: "fundEsa", value: state$1.selfManagedFundForm.fundEsa, onChange: (ev) => this.updateFormField('fundEsa', ev.target.value.trim()) }), index.h("div", { class: "invalid-feedback mt-2 text-sm text-red-600" }, "Enter a valid fund ESA"))), index.h("div", { class: "mt-3" }, index.h("label", { class: "text-sm font-medium text-gray-700" }, "Fund address"), index.h("div", { class: "mt-1 rounded-md shadow-sm -space-y-px" }, index.h("input", { placeholder: "Address line 1", type: "text", class: Object.assign(Object.assign({}, inputClass), { 'rounded-none rounded-t-md shadow-none': true }), required: true, minlength: "2", name: "addressLine1", id: "addressLine1", value: state$1.selfManagedFundForm.addressLine1, onChange: (ev) => {
|
|
4937
4954
|
this.updateFormField('addressLine1', ev.target.value.trim());
|
|
4938
4955
|
this.updateAddressErrorMessage();
|
|
4939
4956
|
}, ref: (el) => (this.addressLine1Element = el) }), index.h("input", { placeholder: "Address line 2 (optional)", type: "text", class: Object.assign(Object.assign({}, inputClass), { 'rounded-none shadow-none': true }), name: "addressLine2", id: "addressLine2", value: state$1.selfManagedFundForm.addressLine2, onChange: (ev) => this.updateFormField('addressLine2', ev.target.value.trim()) }), index.h("input", { placeholder: "City/suburb", type: "text", class: Object.assign(Object.assign({}, inputClass), { 'rounded-none shadow-none': true }), name: "city", required: true, id: "city", value: state$1.selfManagedFundForm.city, onChange: (ev) => {
|
|
@@ -4987,17 +5004,6 @@ const SelfManagedFundInputs = class {
|
|
|
4987
5004
|
}
|
|
4988
5005
|
this.addressErrorMessage = message;
|
|
4989
5006
|
}
|
|
4990
|
-
validateAbn(abn) {
|
|
4991
|
-
const digitArray = abn.split('').map(Number);
|
|
4992
|
-
const isAllDigits = digitArray.every((d) => !isNaN(d));
|
|
4993
|
-
if (!isAllDigits || digitArray.length !== 11) {
|
|
4994
|
-
return false;
|
|
4995
|
-
}
|
|
4996
|
-
const weightingFactors = [10, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19];
|
|
4997
|
-
digitArray[0]--;
|
|
4998
|
-
const sum = digitArray.reduce((sum, digit, i) => sum + digit * weightingFactors[i], 0);
|
|
4999
|
-
return sum % 89 === 0;
|
|
5000
|
-
}
|
|
5001
5007
|
};
|
|
5002
5008
|
|
|
5003
5009
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -5396,14 +5402,21 @@ const SuperChoicePage = class {
|
|
|
5396
5402
|
{
|
|
5397
5403
|
fundId: Virgin.Id,
|
|
5398
5404
|
name: Virgin.Name,
|
|
5399
|
-
logo: 'logo-
|
|
5405
|
+
logo: 'logo-virgin.svg',
|
|
5400
5406
|
route: SuperSelectionAppRoutes.PromotedFundJoinV2,
|
|
5401
5407
|
features: [
|
|
5402
|
-
{
|
|
5403
|
-
|
|
5404
|
-
|
|
5408
|
+
{
|
|
5409
|
+
order: 1,
|
|
5410
|
+
value: 'Returns above industry and retail super fund medians over the past 5 years'
|
|
5411
|
+
},
|
|
5412
|
+
{ order: 2, value: 'One of the lowest fees in the market' },
|
|
5413
|
+
{
|
|
5414
|
+
order: 3,
|
|
5415
|
+
value: 'Virgin Money rewards you with Velocity Points on your contributions*'
|
|
5416
|
+
}
|
|
5405
5417
|
],
|
|
5406
|
-
|
|
5418
|
+
featureSubText: '* Eligibility and T&Cs apply',
|
|
5419
|
+
disclaimer: (index.h("p", null, "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", ' ', index.h(Link, { href: Virgin.PdsUrl, onClick: () => this.pdsViewedAsync(Virgin.Name) }, "www.virginmoney.com.au"), ' ', "before making a decision"))
|
|
5407
5420
|
}
|
|
5408
5421
|
];
|
|
5409
5422
|
}
|
|
@@ -33,7 +33,7 @@ export const AustralianEthical = {
|
|
|
33
33
|
export const Virgin = {
|
|
34
34
|
Id: 'virgin',
|
|
35
35
|
Name: 'Virgin Money Super',
|
|
36
|
-
PdsUrl: 'https://virginmoney.com.au/superannuation/
|
|
36
|
+
PdsUrl: 'https://virginmoney.com.au/superannuation/',
|
|
37
37
|
Abn: '19 905 422 981'
|
|
38
38
|
};
|
|
39
39
|
export const PromotedFundIdList = [
|
|
@@ -89,7 +89,7 @@ export const getLogoSrc = (id) => {
|
|
|
89
89
|
logo = 'logo-slate.png';
|
|
90
90
|
break;
|
|
91
91
|
case Virgin.Id:
|
|
92
|
-
logo = 'logo-
|
|
92
|
+
logo = 'logo-virgin.svg';
|
|
93
93
|
break;
|
|
94
94
|
default:
|
|
95
95
|
return;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export function validateAbn(abn) {
|
|
2
|
+
const digitArray = abn.split('').map(Number);
|
|
3
|
+
const isAllDigits = digitArray.every((d) => !isNaN(d));
|
|
4
|
+
const weightingFactors = [10, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19];
|
|
5
|
+
if (!isAllDigits || digitArray.length !== weightingFactors.length) {
|
|
6
|
+
return false;
|
|
7
|
+
}
|
|
8
|
+
digitArray[0]--;
|
|
9
|
+
const sum = digitArray.reduce((sum, digit, i) => sum + digit * weightingFactors[i], 0);
|
|
10
|
+
return sum % 89 === 0;
|
|
11
|
+
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { Component, Event, h, Prop, State } from '@stencil/core';
|
|
2
2
|
import { isNone, isSome, none, some } from 'fp-ts/Option';
|
|
3
3
|
import customFundState from '../custom-fund.store';
|
|
4
|
+
import { validateAbn } from './abn-validation';
|
|
4
5
|
import bsbNumbers from './bankBsbNumbers';
|
|
5
6
|
export class SelfManagedFundInputs {
|
|
6
7
|
constructor() {
|
|
7
8
|
this.isAbnValid = false;
|
|
9
|
+
this.isAbnTouched = false;
|
|
8
10
|
this.currentBank = none;
|
|
9
11
|
this.addressErrorMessage = none;
|
|
10
12
|
this.stateOptions = [
|
|
@@ -37,10 +39,10 @@ export class SelfManagedFundInputs {
|
|
|
37
39
|
h("div", { class: "mt-1" },
|
|
38
40
|
h("input", { type: "text", class: inputClass, required: true, minlength: "2", name: "fundAbn", id: "fundAbn", value: customFundState.selfManagedFundForm.fundAbn, inputmode: "numeric", pattern: "[0-9]*", onKeyUp: (ev) => {
|
|
39
41
|
this.updateFormField('fundAbn', ev.target.value.trim());
|
|
40
|
-
this.isAbnValid =
|
|
42
|
+
this.isAbnValid = validateAbn(ev.target.value);
|
|
41
43
|
this.updateFormField('isAbnValid', this.isAbnValid);
|
|
42
|
-
} }),
|
|
43
|
-
this.showValidationErrors && !this.isAbnValid && (h("div", { class: "mt-2 text-sm text-red-600" }, "Enter a valid fund ABN (digits only)")))),
|
|
44
|
+
}, onBlur: () => (this.isAbnTouched = true) }),
|
|
45
|
+
(this.isAbnTouched || this.showValidationErrors) && !this.isAbnValid && (h("div", { class: "mt-2 text-sm text-red-600" }, "Enter a valid fund ABN (digits only)")))),
|
|
44
46
|
h("div", { class: "mt-3" },
|
|
45
47
|
h("label", { class: "text-sm font-medium text-gray-700" }, "Electronic service address alias (ESA)"),
|
|
46
48
|
h("div", { class: "mt-1" },
|
|
@@ -132,17 +134,6 @@ export class SelfManagedFundInputs {
|
|
|
132
134
|
}
|
|
133
135
|
this.addressErrorMessage = message;
|
|
134
136
|
}
|
|
135
|
-
validateAbn(abn) {
|
|
136
|
-
const digitArray = abn.split('').map(Number);
|
|
137
|
-
const isAllDigits = digitArray.every((d) => !isNaN(d));
|
|
138
|
-
if (!isAllDigits || digitArray.length !== 11) {
|
|
139
|
-
return false;
|
|
140
|
-
}
|
|
141
|
-
const weightingFactors = [10, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19];
|
|
142
|
-
digitArray[0]--;
|
|
143
|
-
const sum = digitArray.reduce((sum, digit, i) => sum + digit * weightingFactors[i], 0);
|
|
144
|
-
return sum % 89 === 0;
|
|
145
|
-
}
|
|
146
137
|
static get is() { return "sss-self-managed-fund-inputs"; }
|
|
147
138
|
static get properties() { return {
|
|
148
139
|
"fundForm": {
|
|
@@ -188,6 +179,7 @@ export class SelfManagedFundInputs {
|
|
|
188
179
|
}; }
|
|
189
180
|
static get states() { return {
|
|
190
181
|
"isAbnValid": {},
|
|
182
|
+
"isAbnTouched": {},
|
|
191
183
|
"currentBank": {},
|
|
192
184
|
"addressErrorMessage": {}
|
|
193
185
|
}; }
|
|
@@ -6,11 +6,12 @@ import { SuperSelectionAppRoutes } from '../../../services/super-selection-app.r
|
|
|
6
6
|
import superSelectionAppService from '../../../services/super-selection-app.service';
|
|
7
7
|
import customFundChoiceApi from '../api/custom-fund-choice.api';
|
|
8
8
|
import customFundState from '../custom-fund.store';
|
|
9
|
+
import { validateAbn } from './abn-validation';
|
|
9
10
|
export class SelfManagedFund {
|
|
10
11
|
constructor() {
|
|
11
12
|
this.showSmsfNotSupported = false;
|
|
12
13
|
this.isSubmitDisabled = true;
|
|
13
|
-
this.isAbnValid =
|
|
14
|
+
this.isAbnValid = validateAbn(customFundState.selfManagedFundForm.fundAbn);
|
|
14
15
|
this.eventTrackingService = EventTrackingService.Instance;
|
|
15
16
|
this.success = () => {
|
|
16
17
|
navigationService.navigateInternallyToStandardChoice({
|
|
@@ -41,6 +42,7 @@ export class SelfManagedFund {
|
|
|
41
42
|
};
|
|
42
43
|
}
|
|
43
44
|
componentDidLoad() {
|
|
45
|
+
this.updateIsSubmitDisabled();
|
|
44
46
|
return this.eventTrackingService.TrackSmsfSuperFundDetailViewedAsync({
|
|
45
47
|
promotedFundsShown: superSelectionAppService.promotedFunds
|
|
46
48
|
});
|
|
@@ -64,7 +66,7 @@ export class SelfManagedFund {
|
|
|
64
66
|
customFundState.selfManagedFundForm = Object.assign(Object.assign({}, customFundState.selfManagedFundForm), event.detail);
|
|
65
67
|
if (event.detail.isAbnValid !== undefined)
|
|
66
68
|
this.isAbnValid = event.detail.isAbnValid;
|
|
67
|
-
this.
|
|
69
|
+
this.updateIsSubmitDisabled();
|
|
68
70
|
} })),
|
|
69
71
|
h("div", { class: "flex justify-center mt-8" },
|
|
70
72
|
h("div", { class: "sm:max-w-320 w-full" },
|
|
@@ -80,6 +82,9 @@ export class SelfManagedFund {
|
|
|
80
82
|
var _a;
|
|
81
83
|
this.showSmsfNotSupported && ((_a = this.notSupportedDialog) === null || _a === void 0 ? void 0 : _a.scrollIntoView());
|
|
82
84
|
}
|
|
85
|
+
updateIsSubmitDisabled() {
|
|
86
|
+
this.isSubmitDisabled = !this.formElement.checkValidity() || !this.isAbnValid;
|
|
87
|
+
}
|
|
83
88
|
async handleSubmitForm() {
|
|
84
89
|
this.formState = 'validated';
|
|
85
90
|
if (this.formElement.checkValidity()) {
|