@flarehr/apollo-super-selection 4.26.29189 → 4.28.30096
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.css +1 -1
- package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +1 -1
- package/dist/lib/apollo-super-selection/p-0936abfe.system.entry.js +69 -0
- package/dist/lib/apollo-super-selection/{p-52fbf195.entry.js → p-8876ba69.entry.js} +4 -4
- 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_30.cjs.entry.js +120 -66
- package/dist/lib/collection/apollo-super-selection.css +1 -1
- package/dist/lib/collection/components/super-selection-app/api/super-selection.api.js +12 -0
- package/dist/lib/collection/components/super-selection-app/consent/consent.js +2 -6
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/default-fund/default-fund.js +1 -1
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.js +1 -7
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.js +2 -5
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api.js +9 -0
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund.store.js +4 -5
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v1-iframe-builder.js +1 -10
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.js +14 -14
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/services/slate-iframe-builder.js +1 -8
- package/dist/lib/collection/components/super-selection-app/services/misc.service.js +7 -0
- package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +32 -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 +38 -10
- 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 +120 -66
- 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 +4 -4
- package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +2 -6
- package/dist/lib/types/components/super-selection-app/api/super-selection.api.d.ts +3 -1
- package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +15 -0
- package/dist/lib/types/components/super-selection-app/consent/consent.d.ts +0 -1
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.dto.d.ts +11 -7
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/member-name-input.d.ts +1 -1
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api.d.ts +2 -1
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api.dto.d.ts +12 -0
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund.store.d.ts +3 -2
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/types.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/funds/slate-super/api/slate-choice.api.dto.d.ts +3 -0
- package/dist/lib/types/components/super-selection-app/services/misc.service.d.ts +6 -0
- package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts +9 -1
- package/dist/lib/types/components/super-selection-app/services/super-selection.store.d.ts +4 -1
- package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-page.d.ts +1 -0
- package/package.json +1 -1
- package/dist/lib/apollo-super-selection/p-defc9e44.system.entry.js +0 -69
|
@@ -260,7 +260,7 @@ class TapSubscriber extends Subscriber {
|
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
const AppVersion = '4.
|
|
263
|
+
const AppVersion = '4.28.30096';
|
|
264
264
|
|
|
265
265
|
// -------------------------------------------------------------------------------------
|
|
266
266
|
// guards
|
|
@@ -3301,6 +3301,18 @@ class SuperSelectionApi {
|
|
|
3301
3301
|
})
|
|
3302
3302
|
.json();
|
|
3303
3303
|
}
|
|
3304
|
+
async getCampaignConnectAsync() {
|
|
3305
|
+
return buildBackendApiClient()
|
|
3306
|
+
.url('compaign-connect')
|
|
3307
|
+
.get()
|
|
3308
|
+
.notFound(() => {
|
|
3309
|
+
throw new Error('Failed to fetch campaign connect.');
|
|
3310
|
+
})
|
|
3311
|
+
.json();
|
|
3312
|
+
}
|
|
3313
|
+
async clickPromotedTileAsync(payload) {
|
|
3314
|
+
return buildBackendApiClient().url('click-promoted-tile').post(payload).res();
|
|
3315
|
+
}
|
|
3304
3316
|
toSearchFilterQueryString(searchFilter) {
|
|
3305
3317
|
return (`search=${searchFilter.searchString}` +
|
|
3306
3318
|
(searchFilter.maxRecordCount > 0 ? '&maxRecordCount=' + searchFilter.maxRecordCount : ''));
|
|
@@ -3324,7 +3336,10 @@ const initialState = {
|
|
|
3324
3336
|
accountConfiguration: Option.none,
|
|
3325
3337
|
profileConfiguration: Option.none,
|
|
3326
3338
|
hasSuccessPageBeenAcknowledged: false,
|
|
3327
|
-
hasSuperSelectionBeenSubmitted: false
|
|
3339
|
+
hasSuperSelectionBeenSubmitted: false,
|
|
3340
|
+
campaignConnectEnabled: false,
|
|
3341
|
+
campaignConnectPromise: Option.none,
|
|
3342
|
+
campaignConnect: Option.none
|
|
3328
3343
|
};
|
|
3329
3344
|
|
|
3330
3345
|
class SuperSelectionAppService {
|
|
@@ -3361,11 +3376,29 @@ class SuperSelectionAppService {
|
|
|
3361
3376
|
return this._state.appBaseUrl.value;
|
|
3362
3377
|
}
|
|
3363
3378
|
get promotedFunds() {
|
|
3379
|
+
if (this._state.campaignConnectEnabled && Option.isSome(this._state.campaignConnect)) {
|
|
3380
|
+
return this._state.campaignConnect.value.promotedFunds;
|
|
3381
|
+
}
|
|
3364
3382
|
if (Option.isNone(this._state.promotedFunds)) {
|
|
3365
3383
|
throw Error('Promoted Funds is not set');
|
|
3366
3384
|
}
|
|
3367
3385
|
return this._state.promotedFunds.value;
|
|
3368
3386
|
}
|
|
3387
|
+
get promotedDefaultFundPosition() {
|
|
3388
|
+
if (this._state.campaignConnectEnabled && Option.isSome(this._state.campaignConnect)) {
|
|
3389
|
+
return Option.fromNullable(this._state.campaignConnect.value.promotedDefaultFundPosition);
|
|
3390
|
+
}
|
|
3391
|
+
return Option.none;
|
|
3392
|
+
}
|
|
3393
|
+
get promotedFundsConfig() {
|
|
3394
|
+
return {
|
|
3395
|
+
shownFunds: this.promotedFunds,
|
|
3396
|
+
promotedDefaultFundPosition: Option.toUndefined(this.promotedDefaultFundPosition),
|
|
3397
|
+
promotedFundsConfigSource: Option.isSome(this._state.campaignConnect)
|
|
3398
|
+
? 'campaignConnect'
|
|
3399
|
+
: 'superSelection'
|
|
3400
|
+
};
|
|
3401
|
+
}
|
|
3369
3402
|
get profileId() {
|
|
3370
3403
|
if (Option.isNone(this._state.profileId)) {
|
|
3371
3404
|
throw Error('Failed to get Profile ID from JWT');
|
|
@@ -3403,6 +3436,20 @@ class SuperSelectionAppService {
|
|
|
3403
3436
|
this._state.profileConfiguration = Option.fromNullable(appStateResponse.profileConfiguration);
|
|
3404
3437
|
this._state.superBuyer = Option.fromNullable(appStateResponse.superBuyer);
|
|
3405
3438
|
this._state.promotedFunds = Option.fromNullable(appStateResponse.promotedFunds);
|
|
3439
|
+
if (this._state.campaignConnectEnabled) {
|
|
3440
|
+
this._state.campaignConnectPromise = Option.fromNullable(superSelectionApi.getCampaignConnectAsync());
|
|
3441
|
+
}
|
|
3442
|
+
}
|
|
3443
|
+
async completeCampaignConnectRequestSafe() {
|
|
3444
|
+
if (this._state.campaignConnectEnabled) {
|
|
3445
|
+
try {
|
|
3446
|
+
const campaignConnect = await _function.pipe(this._state.campaignConnectPromise, Option.getOrElse(() => superSelectionApi.getCampaignConnectAsync()));
|
|
3447
|
+
this._state.campaignConnect = Option.fromNullable(campaignConnect);
|
|
3448
|
+
}
|
|
3449
|
+
catch (_a) {
|
|
3450
|
+
return;
|
|
3451
|
+
}
|
|
3452
|
+
}
|
|
3406
3453
|
}
|
|
3407
3454
|
}
|
|
3408
3455
|
const superSelectionAppService = new SuperSelectionAppService();
|
|
@@ -3625,19 +3672,16 @@ const navigationService = new NavigationService();
|
|
|
3625
3672
|
const Consent = class {
|
|
3626
3673
|
constructor(hostRef) {
|
|
3627
3674
|
registerInstance(this, hostRef);
|
|
3628
|
-
this.promotedFunds = superSelectionAppService.promotedFunds;
|
|
3629
3675
|
this.eventTrackingService = EventTrackingService.Instance;
|
|
3630
3676
|
}
|
|
3631
3677
|
componentDidLoad() {
|
|
3632
|
-
|
|
3633
|
-
return this.eventTrackingService.TrackSuperFundDisclaimerViewedAsync(detail);
|
|
3678
|
+
return this.eventTrackingService.TrackSuperFundDisclaimerViewedAsync({});
|
|
3634
3679
|
}
|
|
3635
3680
|
render() {
|
|
3636
3681
|
return (h("div", null, h("div", { class: "text-2xl sm:text-3xl font-bold text-center leading-8" }, "Important information about super"), 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."), h("div", { class: "flex justify-center mt-8 sm:mt-12" }, h("div", { class: "border shadow-sm p-4 pb-6 sm:p-6 sm:pb-8 max-w-560 rounded-lg" }, h("div", { class: "sm:text-lg font-bold leading-6" }, "By clicking \u201CContinue\u201D you acknowledge that:"), h("ul", { class: "list-disc list-outside ml-6 mt-3 mb-6 space-y-2 text-sm leading-6" }, 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;"), 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;"), 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;"), h("li", null, "if you do choose one of the featured superannuation funds, we and our associates will normally receive a fee for you doing so;"), 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.")), h("sss-button", { fillWidth: true, promiseFn: () => this.handleSuperFundDisclaimerAccepted() }, "Continue")))));
|
|
3637
3682
|
}
|
|
3638
3683
|
async handleSuperFundDisclaimerAccepted() {
|
|
3639
|
-
|
|
3640
|
-
await this.eventTrackingService.TrackSuperFundDisclaimerAcceptedAsync(detail);
|
|
3684
|
+
await this.eventTrackingService.TrackSuperFundDisclaimerAcceptedAsync({});
|
|
3641
3685
|
navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ChoicePage);
|
|
3642
3686
|
}
|
|
3643
3687
|
};
|
|
@@ -3827,7 +3871,7 @@ const DefaultFund = class {
|
|
|
3827
3871
|
history: this.history,
|
|
3828
3872
|
fundName: `Employer’s default fund`,
|
|
3829
3873
|
handleSubmitFn: async (standardChoiceFormSignature) => {
|
|
3830
|
-
await customFundChoiceApi.submitDefaultFundChoiceAsync({ standardChoiceFormSignature });
|
|
3874
|
+
await customFundChoiceApi.submitDefaultFundChoiceAsync(Object.assign({ standardChoiceFormSignature }, superSelectionAppService.promotedFundsConfig));
|
|
3831
3875
|
}
|
|
3832
3876
|
});
|
|
3833
3877
|
}
|
|
@@ -4668,13 +4712,7 @@ const MyOwnFund = class {
|
|
|
4668
4712
|
history: this.history,
|
|
4669
4713
|
fundName: this.getOrError(state$1.myOwnFundForm.fundName),
|
|
4670
4714
|
handleSubmitFn: async (standardChoiceFormSignature) => {
|
|
4671
|
-
const customFundChoiceDto = {
|
|
4672
|
-
fundUsi: this.getOrError(state$1.myOwnFundForm.fundUsi),
|
|
4673
|
-
memberNumber: this.getOrError(state$1.myOwnFundForm.memberNumber),
|
|
4674
|
-
memberFirstName: this.getOrError(state$1.myOwnFundForm.memberFirstName),
|
|
4675
|
-
memberFamilyName: this.getOrError(state$1.myOwnFundForm.memberFamilyName),
|
|
4676
|
-
standardChoiceFormSignature
|
|
4677
|
-
};
|
|
4715
|
+
const customFundChoiceDto = Object.assign({ fundUsi: this.getOrError(state$1.myOwnFundForm.fundUsi), memberNumber: this.getOrError(state$1.myOwnFundForm.memberNumber), memberFirstName: this.getOrError(state$1.myOwnFundForm.memberFirstName), memberFamilyName: this.getOrError(state$1.myOwnFundForm.memberFamilyName), standardChoiceFormSignature }, superSelectionAppService.promotedFundsConfig);
|
|
4678
4716
|
await customFundChoiceApi.submitCustomFundChoiceAsync(customFundChoiceDto);
|
|
4679
4717
|
}
|
|
4680
4718
|
});
|
|
@@ -4805,16 +4843,23 @@ class PromotedFundChoiceApi {
|
|
|
4805
4843
|
})
|
|
4806
4844
|
.text();
|
|
4807
4845
|
}
|
|
4846
|
+
async submitDefaultChoiceAsync(dto) {
|
|
4847
|
+
return buildBackendApiClient()
|
|
4848
|
+
.url('super-choice/promoted-fund/default')
|
|
4849
|
+
.post(dto)
|
|
4850
|
+
.badRequest(() => {
|
|
4851
|
+
throw new Error('Failed to process Promoted Default Fund choice request');
|
|
4852
|
+
})
|
|
4853
|
+
.text();
|
|
4854
|
+
}
|
|
4808
4855
|
}
|
|
4809
4856
|
const promotedFundChoiceApi = new PromotedFundChoiceApi();
|
|
4810
4857
|
|
|
4811
4858
|
const initial$1 = {
|
|
4812
|
-
fundId: ''
|
|
4859
|
+
fundId: '',
|
|
4860
|
+
isPromotedDefault: false
|
|
4813
4861
|
};
|
|
4814
|
-
const { state: state$2 } = createStore(initial$1);
|
|
4815
|
-
function reset$1() {
|
|
4816
|
-
state$2.fundId = initial$1.fundId;
|
|
4817
|
-
}
|
|
4862
|
+
const { state: state$2, reset: reset$1 } = createStore(initial$1);
|
|
4818
4863
|
|
|
4819
4864
|
class PromotedFundJoinV1IFrameBuilder {
|
|
4820
4865
|
constructor() {
|
|
@@ -4850,16 +4895,7 @@ class PromotedFundJoinV1IFrameBuilder {
|
|
|
4850
4895
|
navigationService.navigateInternallyToStandardChoice({
|
|
4851
4896
|
history,
|
|
4852
4897
|
fundName: Option.isSome(fundName) ? fundName.value : '',
|
|
4853
|
-
handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync({
|
|
4854
|
-
fundId: promotedFundId,
|
|
4855
|
-
memberNumber: data.memberNumber,
|
|
4856
|
-
memberFirstName: data.memberFirstName,
|
|
4857
|
-
memberFamilyName: data.memberFamilyName,
|
|
4858
|
-
usi: data.usi.replace(/ /g, ''),
|
|
4859
|
-
standardChoiceFormSignature,
|
|
4860
|
-
shownFunds: superSelectionAppService.promotedFunds,
|
|
4861
|
-
defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi)
|
|
4862
|
-
}),
|
|
4898
|
+
handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync(Object.assign({ fundId: promotedFundId, memberNumber: data.memberNumber, memberFirstName: data.memberFirstName, memberFamilyName: data.memberFamilyName, usi: data.usi.replace(/ /g, ''), standardChoiceFormSignature, defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi) }, superSelectionAppService.promotedFundsConfig)),
|
|
4863
4899
|
promotedFundId
|
|
4864
4900
|
});
|
|
4865
4901
|
break;
|
|
@@ -4960,7 +4996,7 @@ class PromotedFundJoinV2IFrameBuilder {
|
|
|
4960
4996
|
build(iframe$1, history) {
|
|
4961
4997
|
if (!(iframe$1 === null || iframe$1 === void 0 ? void 0 : iframe$1.contentDocument))
|
|
4962
4998
|
return;
|
|
4963
|
-
const postData = Object.assign(Object.assign({}, this.getMemberData()), { partnerId: superSelectionAppService.partnerIdOrDefault, accountId: superSelectionAppService.accountIdOrDefault, fundId: state$2.fundId, authToken: superSelectionAppService.jwt });
|
|
4999
|
+
const postData = Object.assign(Object.assign({}, this.getMemberData()), { partnerId: superSelectionAppService.partnerIdOrDefault, accountId: superSelectionAppService.accountIdOrDefault, fundId: state$2.fundId, authToken: superSelectionAppService.jwt, employerDefault: state$2.isPromotedDefault });
|
|
4964
5000
|
const handleMessage = (event) => {
|
|
4965
5001
|
const { data } = event;
|
|
4966
5002
|
if (!data) {
|
|
@@ -4979,17 +5015,10 @@ class PromotedFundJoinV2IFrameBuilder {
|
|
|
4979
5015
|
navigationService.navigateInternallyToStandardChoice({
|
|
4980
5016
|
history,
|
|
4981
5017
|
fundName: Option.isSome(fundName) ? fundName.value : '',
|
|
4982
|
-
|
|
4983
|
-
|
|
4984
|
-
|
|
4985
|
-
memberFirstName: data.memberFirstName,
|
|
4986
|
-
memberFamilyName: data.memberFamilyName,
|
|
4987
|
-
usi: data.usi.replace(/ /g, ''),
|
|
4988
|
-
standardChoiceFormSignature,
|
|
4989
|
-
shownFunds: superSelectionAppService.promotedFunds,
|
|
4990
|
-
defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi)
|
|
4991
|
-
}),
|
|
4992
|
-
promotedFundId
|
|
5018
|
+
promotedFundId,
|
|
5019
|
+
handleSubmitFn: state$2.isPromotedDefault
|
|
5020
|
+
? (standardChoiceFormSignature) => promotedFundChoiceApi.submitDefaultChoiceAsync(Object.assign({ fundId: promotedFundId, usi: data.usi.replace(/ /g, ''), standardChoiceFormSignature, defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi) }, superSelectionAppService.promotedFundsConfig))
|
|
5021
|
+
: (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync(Object.assign({ fundId: promotedFundId, memberNumber: data.memberNumber, memberFirstName: data.memberFirstName, memberFamilyName: data.memberFamilyName, usi: data.usi.replace(/ /g, ''), standardChoiceFormSignature, defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi) }, superSelectionAppService.promotedFundsConfig))
|
|
4993
5022
|
});
|
|
4994
5023
|
break;
|
|
4995
5024
|
}
|
|
@@ -5026,9 +5055,16 @@ class PromotedFundJoinV2IFrameBuilder {
|
|
|
5026
5055
|
const value = postData[prop];
|
|
5027
5056
|
if (value !== undefined) {
|
|
5028
5057
|
const input = document.createElement('input');
|
|
5029
|
-
input.type = 'hidden';
|
|
5030
5058
|
input.name = prop;
|
|
5031
|
-
|
|
5059
|
+
if (typeof value === 'boolean') {
|
|
5060
|
+
input.type = 'checkbox';
|
|
5061
|
+
input.checked = value;
|
|
5062
|
+
input.style.visibility = 'hidden';
|
|
5063
|
+
}
|
|
5064
|
+
else {
|
|
5065
|
+
input.type = 'hidden';
|
|
5066
|
+
input.value = value;
|
|
5067
|
+
}
|
|
5032
5068
|
form.append(input);
|
|
5033
5069
|
}
|
|
5034
5070
|
}
|
|
@@ -5091,8 +5127,7 @@ const SelfManagedFund = class {
|
|
|
5091
5127
|
history: this.history,
|
|
5092
5128
|
fundName: 'Self-managed super fund',
|
|
5093
5129
|
handleSubmitFn: async (standardChoiceFormSignature) => {
|
|
5094
|
-
const requestDto = {
|
|
5095
|
-
smsfChoice: {
|
|
5130
|
+
const requestDto = Object.assign({ smsfChoice: {
|
|
5096
5131
|
abn: state$1.selfManagedFundForm.fundAbn,
|
|
5097
5132
|
fundName: state$1.selfManagedFundForm.fundName,
|
|
5098
5133
|
fundAddress: {
|
|
@@ -5108,9 +5143,7 @@ const SelfManagedFund = class {
|
|
|
5108
5143
|
electronicServiceAddress: state$1.selfManagedFundForm.fundEsa,
|
|
5109
5144
|
memberFirstName: state$1.selfManagedFundForm.memberFirstName,
|
|
5110
5145
|
memberFamilyName: state$1.selfManagedFundForm.memberFamilyName
|
|
5111
|
-
},
|
|
5112
|
-
standardChoiceFormSignature
|
|
5113
|
-
};
|
|
5146
|
+
}, standardChoiceFormSignature }, superSelectionAppService.promotedFundsConfig);
|
|
5114
5147
|
await customFundChoiceApi.submitSelfManagedFundChoiceAsync(requestDto);
|
|
5115
5148
|
}
|
|
5116
5149
|
});
|
|
@@ -5480,14 +5513,7 @@ class SlateIFrameBuilder {
|
|
|
5480
5513
|
navigationService.navigateInternallyToStandardChoice({
|
|
5481
5514
|
history,
|
|
5482
5515
|
fundName: fund$6.name,
|
|
5483
|
-
handleSubmitFn: (standardChoiceFormSignature) => slateChoiceApi.submitSlateChoiceAsync({
|
|
5484
|
-
memberNumber: data.memberNumber,
|
|
5485
|
-
memberFirstName: data.memberFirstName,
|
|
5486
|
-
memberFamilyName: data.memberFamilyName,
|
|
5487
|
-
standardChoiceFormSignature,
|
|
5488
|
-
shownFunds: superSelectionAppService.promotedFunds,
|
|
5489
|
-
defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi)
|
|
5490
|
-
}),
|
|
5516
|
+
handleSubmitFn: (standardChoiceFormSignature) => slateChoiceApi.submitSlateChoiceAsync(Object.assign({ memberNumber: data.memberNumber, memberFirstName: data.memberFirstName, memberFamilyName: data.memberFamilyName, standardChoiceFormSignature, defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi) }, superSelectionAppService.promotedFundsConfig)),
|
|
5491
5517
|
promotedFundId: fund$6.fundId
|
|
5492
5518
|
});
|
|
5493
5519
|
break;
|
|
@@ -5646,13 +5672,23 @@ const SuperChoiceItemTop = class {
|
|
|
5646
5672
|
}
|
|
5647
5673
|
};
|
|
5648
5674
|
|
|
5675
|
+
class MiscService {
|
|
5676
|
+
trackClickPromotedTileAsync(payload) {
|
|
5677
|
+
return superSelectionApi.clickPromotedTileAsync(payload);
|
|
5678
|
+
}
|
|
5679
|
+
}
|
|
5680
|
+
const miscService = new MiscService();
|
|
5681
|
+
|
|
5649
5682
|
const SuperChoicePage = class {
|
|
5650
5683
|
constructor(hostRef) {
|
|
5651
5684
|
registerInstance(this, hostRef);
|
|
5652
|
-
this.
|
|
5685
|
+
this.campaignConnectRequestInProgress = true;
|
|
5653
5686
|
this.eventTrackingService = EventTrackingService.Instance;
|
|
5654
5687
|
}
|
|
5655
|
-
componentDidLoad() {
|
|
5688
|
+
async componentDidLoad() {
|
|
5689
|
+
await superSelectionAppService.completeCampaignConnectRequestSafe();
|
|
5690
|
+
this.promotedFunds = this.getPromotedFunds();
|
|
5691
|
+
this.campaignConnectRequestInProgress = false;
|
|
5656
5692
|
const promotedFundsShown = this.promotedFunds.map((item) => item.fundId);
|
|
5657
5693
|
return this.eventTrackingService.TrackSuperFundPanelViewedAsync({
|
|
5658
5694
|
promotedFundsShown,
|
|
@@ -5664,6 +5700,9 @@ const SuperChoicePage = class {
|
|
|
5664
5700
|
const mygovLinkDisplay = 'www.my.gov.au';
|
|
5665
5701
|
const superfundsLink = 'https://www.apra.gov.au/register-of-superannuation-institutions';
|
|
5666
5702
|
const superfundsLinkDisplay = 'www.apra.gov.au';
|
|
5703
|
+
if (this.campaignConnectRequestInProgress) {
|
|
5704
|
+
return (h("div", { class: "w-[327px] sm:w-full bg-white flex flex-col items-center" }, h("div", { class: "w-full sm:w-[440px] h-9 bg-gray-200 animate-pulse rounded" }), h("div", { class: "mt-6 w-full sm:w-[720px] h-6 bg-gray-200 animate-pulse rounded" }), h("div", { class: "mt-2 w-[220px] sm:w-[560px] h-6 bg-gray-200 animate-pulse rounded" }), h("div", { class: "mt-10 w-full sm:w-[560px] h-80 bg-gray-200 animate-pulse rounded" }), h("div", { class: "mt-10 w-full sm:w-[200px] h-11 bg-gray-200 animate-pulse rounded" })));
|
|
5705
|
+
}
|
|
5667
5706
|
return (h(Host, null, h("div", null, h("sss-header-section", { currentPage: "choice" }), h("div", { class: "mt-8 text-sm text-center leading-6" }, h("p", { class: "leading-6" }, "Not ready to join a new fund, or want to nominate another super fund?"), h("stencil-route-link", { url: SuperSelectionAppRoutes.MyOwnFund }, h("span", { class: "inline-block text-primary-base font-medium mt-3" }, "Skip Featured Funds\u00A0", h("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", "stroke-width": "1.5", stroke: "currentColor", class: "inline h-5 w-5 fill-primary-base group-hover:fill-white" }, h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M17.25 8.25L21 12m0 0l-3.75 3.75M21 12H3" }))))), h("div", { class: "flex justify-center mt-8" }, h("div", { class: {
|
|
5668
5707
|
'lg:grid border-l border-t lg:border-b rounded-lg': true,
|
|
5669
5708
|
'lg:grid-cols-1 max-w-400': this.promotedFunds.length === 1,
|
|
@@ -5693,17 +5732,32 @@ const SuperChoicePage = class {
|
|
|
5693
5732
|
return fundTiles;
|
|
5694
5733
|
}
|
|
5695
5734
|
async handleJoinSuperClickAsync(fund) {
|
|
5735
|
+
var _a;
|
|
5696
5736
|
const promotedFundsShown = superSelectionAppService.promotedFunds;
|
|
5697
5737
|
const fundUsi = getFundUsiByFundId(fund.fundId);
|
|
5698
5738
|
const fundName = getFundNameByFundId(fund.fundId);
|
|
5699
|
-
await
|
|
5700
|
-
|
|
5701
|
-
|
|
5702
|
-
|
|
5703
|
-
|
|
5704
|
-
|
|
5705
|
-
|
|
5739
|
+
await Promise.all([
|
|
5740
|
+
this.eventTrackingService.TrackPromotedSuperFundDetailViewedAsync({
|
|
5741
|
+
fundUsi: Option.isSome(fundUsi) ? fundUsi.value : undefined,
|
|
5742
|
+
fundName: Option.isSome(fundName) ? fundName.value : '',
|
|
5743
|
+
promotedFundId: fund.fundId,
|
|
5744
|
+
promotedFundsShown,
|
|
5745
|
+
defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi)
|
|
5746
|
+
}),
|
|
5747
|
+
miscService.trackClickPromotedTileAsync(fund.isPromotedDefault
|
|
5748
|
+
? {
|
|
5749
|
+
promotedDefault: {
|
|
5750
|
+
fundId: fund.fundId
|
|
5751
|
+
}
|
|
5752
|
+
}
|
|
5753
|
+
: {
|
|
5754
|
+
promoted: {
|
|
5755
|
+
fundId: fund.fundId
|
|
5756
|
+
}
|
|
5757
|
+
})
|
|
5758
|
+
]);
|
|
5706
5759
|
state$2.fundId = fund.fundId;
|
|
5760
|
+
state$2.isPromotedDefault = (_a = fund.isPromotedDefault) !== null && _a !== void 0 ? _a : false;
|
|
5707
5761
|
return navigationService.navigateInternally(this.history, fund.route);
|
|
5708
5762
|
}
|
|
5709
5763
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as promiseResolve,b as bootstrapLazy}from"./index-189b2180.js";import"./datorama-akita-127aea91.js";import{g as globalScripts}from"./app-globals-c1f89805.js";var patchBrowser=function(){var s=import.meta.url;var e={};if(s!==""){e.resourcesUrl=new URL(".",s).href}return promiseResolve(e)};patchBrowser().then((function(s){globalScripts();return bootstrapLazy([["context-consumer",[[0,"context-consumer",{context:[16],renderer:[16],subscribe:[16],unsubscribe:[32]}]]],["stencil-async-content",[[0,"stencil-async-content",{documentLocation:[1,"document-location"],content:[32]}]]],["stencil-route-title",[[0,"stencil-route-title",{titleSuffix:[1,"title-suffix"],pageTitle:[1,"page-title"]}]]],["stencil-router-prompt",[[0,"stencil-router-prompt",{when:[4],message:[1],history:[16],unblock:[32]}]]],["stencil-router-redirect",[[0,"stencil-router-redirect",{history:[16],root:[1],url:[1]}]]],["sss-button_30",[[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-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",{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-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]}],[0,"sss-loading-page"],[0,"sss-super-choice-item-top",{name:[1],logo:[1],features:[16],featureSubText:[16]}],[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-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]}],[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"]}]]]],s)}));
|
|
1
|
+
import{p as promiseResolve,b as bootstrapLazy}from"./index-189b2180.js";import"./datorama-akita-127aea91.js";import{g as globalScripts}from"./app-globals-c1f89805.js";var patchBrowser=function(){var s=import.meta.url;var e={};if(s!==""){e.resourcesUrl=new URL(".",s).href}return promiseResolve(e)};patchBrowser().then((function(s){globalScripts();return bootstrapLazy([["context-consumer",[[0,"context-consumer",{context:[16],renderer:[16],subscribe:[16],unsubscribe:[32]}]]],["stencil-async-content",[[0,"stencil-async-content",{documentLocation:[1,"document-location"],content:[32]}]]],["stencil-route-title",[[0,"stencil-route-title",{titleSuffix:[1,"title-suffix"],pageTitle:[1,"page-title"]}]]],["stencil-router-prompt",[[0,"stencil-router-prompt",{when:[4],message:[1],history:[16],unblock:[32]}]]],["stencil-router-redirect",[[0,"stencil-router-redirect",{history:[16],root:[1],url:[1]}]]],["sss-button_30",[[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],campaignConnectRequestInProgress:[32]}],[1,"super-selection-app-host",{sessionState:[32],jwt:[32],appConfiguration:[32],ignoreExistingSelection:[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",{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-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]}],[0,"sss-loading-page"],[0,"sss-super-choice-item-top",{name:[1],logo:[1],features:[16],featureSubText:[16]}],[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-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]}],[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"]}]]]],s)}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as promiseResolve,b as bootstrapLazy}from"./index-189b2180.js";import"./datorama-akita-127aea91.js";import{g as globalScripts}from"./app-globals-c1f89805.js";var patchEsm=function(){return promiseResolve()};var defineCustomElements=function(e,s){if(typeof window==="undefined")return Promise.resolve();return patchEsm().then((function(){globalScripts();return bootstrapLazy([["context-consumer",[[0,"context-consumer",{context:[16],renderer:[16],subscribe:[16],unsubscribe:[32]}]]],["stencil-async-content",[[0,"stencil-async-content",{documentLocation:[1,"document-location"],content:[32]}]]],["stencil-route-title",[[0,"stencil-route-title",{titleSuffix:[1,"title-suffix"],pageTitle:[1,"page-title"]}]]],["stencil-router-prompt",[[0,"stencil-router-prompt",{when:[4],message:[1],history:[16],unblock:[32]}]]],["stencil-router-redirect",[[0,"stencil-router-redirect",{history:[16],root:[1],url:[1]}]]],["sss-button_30",[[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-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",{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-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]}],[0,"sss-loading-page"],[0,"sss-super-choice-item-top",{name:[1],logo:[1],features:[16],featureSubText:[16]}],[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-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]}],[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"]}]]]],s)}))};export{defineCustomElements};
|
|
1
|
+
import{p as promiseResolve,b as bootstrapLazy}from"./index-189b2180.js";import"./datorama-akita-127aea91.js";import{g as globalScripts}from"./app-globals-c1f89805.js";var patchEsm=function(){return promiseResolve()};var defineCustomElements=function(e,s){if(typeof window==="undefined")return Promise.resolve();return patchEsm().then((function(){globalScripts();return bootstrapLazy([["context-consumer",[[0,"context-consumer",{context:[16],renderer:[16],subscribe:[16],unsubscribe:[32]}]]],["stencil-async-content",[[0,"stencil-async-content",{documentLocation:[1,"document-location"],content:[32]}]]],["stencil-route-title",[[0,"stencil-route-title",{titleSuffix:[1,"title-suffix"],pageTitle:[1,"page-title"]}]]],["stencil-router-prompt",[[0,"stencil-router-prompt",{when:[4],message:[1],history:[16],unblock:[32]}]]],["stencil-router-redirect",[[0,"stencil-router-redirect",{history:[16],root:[1],url:[1]}]]],["sss-button_30",[[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],campaignConnectRequestInProgress:[32]}],[1,"super-selection-app-host",{sessionState:[32],jwt:[32],appConfiguration:[32],ignoreExistingSelection:[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",{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-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]}],[0,"sss-loading-page"],[0,"sss-super-choice-item-top",{name:[1],logo:[1],features:[16],featureSubText:[16]}],[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-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]}],[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"]}]]]],s)}))};export{defineCustomElements};
|