@flarehr/apollo-super-selection 1.3.41402 → 1.3.41586
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-4e642455.system.entry.js +69 -0
- package/dist/lib/apollo-super-selection/p-a46b913a.entry.js +14 -0
- package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +1 -1
- package/dist/lib/cjs/sss-button_41.cjs.entry.js +23 -1
- package/dist/lib/collection/components/super-selection-app/api/super-selection.api.dto.js +7 -0
- package/dist/lib/collection/components/super-selection-app/api/super-selection.api.js +1 -0
- package/dist/lib/collection/components/super-selection-app/existing-choice/existing-choice.js +2 -0
- package/dist/lib/collection/components/super-selection-app/services/existing-super-choice-info.service.js +13 -0
- package/dist/lib/esm/sss-button_41.entry.js +23 -1
- package/dist/lib/esm-es5/sss-button_41.entry.js +1 -1
- package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +10 -0
- package/dist/lib/types/components/super-selection-app/services/existing-super-choice-info.service.d.ts +10 -1
- package/package.json +1 -1
- package/dist/lib/apollo-super-selection/p-2e21aa41.system.entry.js +0 -69
- package/dist/lib/apollo-super-selection/p-8d983fe6.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-4e642455.system",[[0,"sss-prefill",{history:[16],prefill:[32]}],[0,"sss-my-own-fund",{history:[16],formState:[32],isNotAllInformationProvidedMessageVisible:[32],isSubmitDisabled:[32]}],[0,"sss-super-choice-page",{history:[16],promotedFunds:[32],campaignConnectRequestInProgress:[32]}],[0,"sss-self-managed-fund",{history:[16],formState:[32],isSubmitDisabled:[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]}],[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-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]}],[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-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]}],[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],isMultiFund:[4,"is-multi-fund"],isPromotedDefault:[4,"is-promoted-default"]}],[4,"sss-loading-component",{header:[1]}],[0,"sss-dropdown-async",{placeholder:[1],searchFunction:[16],value:[16],required:[4],requiredValidationMessage:[1,"required-validation-message"],disabled:[4],minSearchStringLength:[2,"min-search-string-length"],showValidationErrors:[4,"show-validation-errors"],searchState:[32],inputValue:[32],isDropdownVisible:[32],filteredOptions:[32],highlightedOptionIndex:[32],selectedOption:[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-footer-section",{textOverride:[16]}],[0,"sss-super-campaign-host",{backendUrl:[1,"backend-url"],accessToken:[1,"access-token"],componentLoaded:[32]}],[4,"stencil-route-switch",{group:[513],scrollTopOffset:[2,"scroll-top-offset"],location:[16],routeViewsUpdated:[16]}],[4,"stencil-router",{root:[1],historyType:[1,"history-type"],titleSuffix:[1,"title-suffix"],scrollTopOffset:[2,"scroll-top-offset"],location:[32],history:[32]}],[4,"sss-custom-fund",{history:[16],currentCustomFund:[32],fundOptionsList:[32],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)}))}}}));
|
|
@@ -284,7 +284,7 @@ class TapSubscriber extends datoramaAkita.Subscriber {
|
|
|
284
284
|
}
|
|
285
285
|
}
|
|
286
286
|
|
|
287
|
-
const AppVersion = '1.3.
|
|
287
|
+
const AppVersion = '1.3.41586';
|
|
288
288
|
|
|
289
289
|
// -------------------------------------------------------------------------------------
|
|
290
290
|
// guards
|
|
@@ -3369,6 +3369,8 @@ function getSuperChoiceUsi(dto) {
|
|
|
3369
3369
|
return some(dto.promotedDefault.usi);
|
|
3370
3370
|
case 'DefinedBenefits':
|
|
3371
3371
|
return some(dto.definedBenefits.usi);
|
|
3372
|
+
case 'PromotedDefaultWithJoin':
|
|
3373
|
+
return some(dto.promotedDefaultWithJoin.usi);
|
|
3372
3374
|
default:
|
|
3373
3375
|
return none;
|
|
3374
3376
|
}
|
|
@@ -3407,6 +3409,8 @@ function getSuperChoiceMemberNumber(dto) {
|
|
|
3407
3409
|
return some(dto.myOwnFund.memberNumber);
|
|
3408
3410
|
case 'DefinedBenefits':
|
|
3409
3411
|
return some(dto.definedBenefits.memberNumber);
|
|
3412
|
+
case 'PromotedDefaultWithJoin':
|
|
3413
|
+
return some(dto.promotedDefaultWithJoin.memberNumber);
|
|
3410
3414
|
case 'SMSF':
|
|
3411
3415
|
case 'Default':
|
|
3412
3416
|
case 'PromotedDefault':
|
|
@@ -3434,6 +3438,9 @@ function hydrateSuperChoiceDetailsDtoKind(dto) {
|
|
|
3434
3438
|
else if ('definedBenefits' in dto) {
|
|
3435
3439
|
dto.kind = 'DefinedBenefits';
|
|
3436
3440
|
}
|
|
3441
|
+
else if ('promotedDefaultWithJoin' in dto) {
|
|
3442
|
+
dto.kind = 'PromotedDefaultWithJoin';
|
|
3443
|
+
}
|
|
3437
3444
|
}
|
|
3438
3445
|
|
|
3439
3446
|
class SuperSelectionApi {
|
|
@@ -4765,6 +4772,19 @@ class ExistingFundService {
|
|
|
4765
4772
|
lastNominatedAt: dateSubmitted
|
|
4766
4773
|
});
|
|
4767
4774
|
}
|
|
4775
|
+
case 'PromotedDefaultWithJoin': {
|
|
4776
|
+
const defaultUsi = choiceDetails.promotedDefaultWithJoin.usi;
|
|
4777
|
+
const defaultFund = await this.getFundByUsiAsync(defaultUsi);
|
|
4778
|
+
return some({
|
|
4779
|
+
type: 'Promoted Default Fund With Join',
|
|
4780
|
+
id: choiceDetails.promotedDefaultWithJoin.fundId,
|
|
4781
|
+
name: isSome(defaultFund) ? defaultFund.value.productName : defaultUsi,
|
|
4782
|
+
usi: usi,
|
|
4783
|
+
valid: this.toFundValidState(defaultFund),
|
|
4784
|
+
memberNumber: memberNumber,
|
|
4785
|
+
lastNominatedAt: dateSubmitted
|
|
4786
|
+
});
|
|
4787
|
+
}
|
|
4768
4788
|
default:
|
|
4769
4789
|
return none;
|
|
4770
4790
|
}
|
|
@@ -4858,6 +4878,7 @@ const ExistingChoice = class {
|
|
|
4858
4878
|
case 'Self Managed Fund':
|
|
4859
4879
|
return index.h(SelfManagedFundView, null);
|
|
4860
4880
|
case 'My Own Fund':
|
|
4881
|
+
case 'Promoted Default Fund With Join':
|
|
4861
4882
|
return index.h(MyOwnFundView, null);
|
|
4862
4883
|
case 'Default Fund':
|
|
4863
4884
|
return index.h(DefaultFundView, null);
|
|
@@ -4875,6 +4896,7 @@ const ExistingChoice = class {
|
|
|
4875
4896
|
case 'Self Managed Fund':
|
|
4876
4897
|
case 'Promoted Default Fund':
|
|
4877
4898
|
case 'Defined Benefits Fund':
|
|
4899
|
+
case 'Promoted Default Fund With Join':
|
|
4878
4900
|
return this.existingFund.name;
|
|
4879
4901
|
default:
|
|
4880
4902
|
return '';
|
|
@@ -73,6 +73,8 @@ export function getSuperChoiceUsi(dto) {
|
|
|
73
73
|
return some(dto.promotedDefault.usi);
|
|
74
74
|
case 'DefinedBenefits':
|
|
75
75
|
return some(dto.definedBenefits.usi);
|
|
76
|
+
case 'PromotedDefaultWithJoin':
|
|
77
|
+
return some(dto.promotedDefaultWithJoin.usi);
|
|
76
78
|
default:
|
|
77
79
|
assertExhaustive(dto);
|
|
78
80
|
return none;
|
|
@@ -113,6 +115,8 @@ export function getSuperChoiceMemberNumber(dto) {
|
|
|
113
115
|
return some(dto.myOwnFund.memberNumber);
|
|
114
116
|
case 'DefinedBenefits':
|
|
115
117
|
return some(dto.definedBenefits.memberNumber);
|
|
118
|
+
case 'PromotedDefaultWithJoin':
|
|
119
|
+
return some(dto.promotedDefaultWithJoin.memberNumber);
|
|
116
120
|
case 'SMSF':
|
|
117
121
|
case 'Default':
|
|
118
122
|
case 'PromotedDefault':
|
|
@@ -141,4 +145,7 @@ export function hydrateSuperChoiceDetailsDtoKind(dto) {
|
|
|
141
145
|
else if ('definedBenefits' in dto) {
|
|
142
146
|
dto.kind = 'DefinedBenefits';
|
|
143
147
|
}
|
|
148
|
+
else if ('promotedDefaultWithJoin' in dto) {
|
|
149
|
+
dto.kind = 'PromotedDefaultWithJoin';
|
|
150
|
+
}
|
|
144
151
|
}
|
package/dist/lib/collection/components/super-selection-app/existing-choice/existing-choice.js
CHANGED
|
@@ -97,6 +97,7 @@ export class ExistingChoice {
|
|
|
97
97
|
case 'Self Managed Fund':
|
|
98
98
|
return h(SelfManagedFundView, null);
|
|
99
99
|
case 'My Own Fund':
|
|
100
|
+
case 'Promoted Default Fund With Join':
|
|
100
101
|
return h(MyOwnFundView, null);
|
|
101
102
|
case 'Default Fund':
|
|
102
103
|
return h(DefaultFundView, null);
|
|
@@ -116,6 +117,7 @@ export class ExistingChoice {
|
|
|
116
117
|
case 'Self Managed Fund':
|
|
117
118
|
case 'Promoted Default Fund':
|
|
118
119
|
case 'Defined Benefits Fund':
|
|
120
|
+
case 'Promoted Default Fund With Join':
|
|
119
121
|
return this.existingFund.name;
|
|
120
122
|
default:
|
|
121
123
|
assertExhaustive(this.existingFund);
|
|
@@ -95,6 +95,19 @@ export class ExistingFundService {
|
|
|
95
95
|
lastNominatedAt: dateSubmitted
|
|
96
96
|
});
|
|
97
97
|
}
|
|
98
|
+
case 'PromotedDefaultWithJoin': {
|
|
99
|
+
const defaultUsi = choiceDetails.promotedDefaultWithJoin.usi;
|
|
100
|
+
const defaultFund = await this.getFundByUsiAsync(defaultUsi);
|
|
101
|
+
return some({
|
|
102
|
+
type: 'Promoted Default Fund With Join',
|
|
103
|
+
id: choiceDetails.promotedDefaultWithJoin.fundId,
|
|
104
|
+
name: isSome(defaultFund) ? defaultFund.value.productName : defaultUsi,
|
|
105
|
+
usi: usi,
|
|
106
|
+
valid: this.toFundValidState(defaultFund),
|
|
107
|
+
memberNumber: memberNumber,
|
|
108
|
+
lastNominatedAt: dateSubmitted
|
|
109
|
+
});
|
|
110
|
+
}
|
|
98
111
|
default:
|
|
99
112
|
assertExhaustive(choiceDetails);
|
|
100
113
|
return none;
|
|
@@ -260,7 +260,7 @@ class TapSubscriber extends Subscriber {
|
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
const AppVersion = '1.3.
|
|
263
|
+
const AppVersion = '1.3.41586';
|
|
264
264
|
|
|
265
265
|
// -------------------------------------------------------------------------------------
|
|
266
266
|
// guards
|
|
@@ -3345,6 +3345,8 @@ function getSuperChoiceUsi(dto) {
|
|
|
3345
3345
|
return some(dto.promotedDefault.usi);
|
|
3346
3346
|
case 'DefinedBenefits':
|
|
3347
3347
|
return some(dto.definedBenefits.usi);
|
|
3348
|
+
case 'PromotedDefaultWithJoin':
|
|
3349
|
+
return some(dto.promotedDefaultWithJoin.usi);
|
|
3348
3350
|
default:
|
|
3349
3351
|
return none;
|
|
3350
3352
|
}
|
|
@@ -3383,6 +3385,8 @@ function getSuperChoiceMemberNumber(dto) {
|
|
|
3383
3385
|
return some(dto.myOwnFund.memberNumber);
|
|
3384
3386
|
case 'DefinedBenefits':
|
|
3385
3387
|
return some(dto.definedBenefits.memberNumber);
|
|
3388
|
+
case 'PromotedDefaultWithJoin':
|
|
3389
|
+
return some(dto.promotedDefaultWithJoin.memberNumber);
|
|
3386
3390
|
case 'SMSF':
|
|
3387
3391
|
case 'Default':
|
|
3388
3392
|
case 'PromotedDefault':
|
|
@@ -3410,6 +3414,9 @@ function hydrateSuperChoiceDetailsDtoKind(dto) {
|
|
|
3410
3414
|
else if ('definedBenefits' in dto) {
|
|
3411
3415
|
dto.kind = 'DefinedBenefits';
|
|
3412
3416
|
}
|
|
3417
|
+
else if ('promotedDefaultWithJoin' in dto) {
|
|
3418
|
+
dto.kind = 'PromotedDefaultWithJoin';
|
|
3419
|
+
}
|
|
3413
3420
|
}
|
|
3414
3421
|
|
|
3415
3422
|
class SuperSelectionApi {
|
|
@@ -4741,6 +4748,19 @@ class ExistingFundService {
|
|
|
4741
4748
|
lastNominatedAt: dateSubmitted
|
|
4742
4749
|
});
|
|
4743
4750
|
}
|
|
4751
|
+
case 'PromotedDefaultWithJoin': {
|
|
4752
|
+
const defaultUsi = choiceDetails.promotedDefaultWithJoin.usi;
|
|
4753
|
+
const defaultFund = await this.getFundByUsiAsync(defaultUsi);
|
|
4754
|
+
return some({
|
|
4755
|
+
type: 'Promoted Default Fund With Join',
|
|
4756
|
+
id: choiceDetails.promotedDefaultWithJoin.fundId,
|
|
4757
|
+
name: isSome(defaultFund) ? defaultFund.value.productName : defaultUsi,
|
|
4758
|
+
usi: usi,
|
|
4759
|
+
valid: this.toFundValidState(defaultFund),
|
|
4760
|
+
memberNumber: memberNumber,
|
|
4761
|
+
lastNominatedAt: dateSubmitted
|
|
4762
|
+
});
|
|
4763
|
+
}
|
|
4744
4764
|
default:
|
|
4745
4765
|
return none;
|
|
4746
4766
|
}
|
|
@@ -4834,6 +4854,7 @@ const ExistingChoice = class {
|
|
|
4834
4854
|
case 'Self Managed Fund':
|
|
4835
4855
|
return h(SelfManagedFundView, null);
|
|
4836
4856
|
case 'My Own Fund':
|
|
4857
|
+
case 'Promoted Default Fund With Join':
|
|
4837
4858
|
return h(MyOwnFundView, null);
|
|
4838
4859
|
case 'Default Fund':
|
|
4839
4860
|
return h(DefaultFundView, null);
|
|
@@ -4851,6 +4872,7 @@ const ExistingChoice = class {
|
|
|
4851
4872
|
case 'Self Managed Fund':
|
|
4852
4873
|
case 'Promoted Default Fund':
|
|
4853
4874
|
case 'Defined Benefits Fund':
|
|
4875
|
+
case 'Promoted Default Fund With Join':
|
|
4854
4876
|
return this.existingFund.name;
|
|
4855
4877
|
default:
|
|
4856
4878
|
return '';
|