@flarehr/apollo-super-selection 4.40.35800 → 4.41.36202
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-4e75be8d.system.entry.js → p-5ca1df0f.system.entry.js} +12 -12
- package/dist/lib/apollo-super-selection/p-8b6b22f0.entry.js +14 -0
- package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +1 -1
- package/dist/lib/cjs/apollo-super-selection.cjs.js +1 -1
- package/dist/lib/cjs/loader.cjs.js +1 -1
- package/dist/lib/cjs/sss-button_38.cjs.entry.js +131 -28
- package/dist/lib/collection/apollo-super-selection.css +1 -1
- package/dist/lib/collection/components/super-selection-app/consent/consent.js +6 -1
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/default-fund/default-fund.js +5 -0
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.js +6 -0
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.js +5 -0
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v1-iframe-builder.js +13 -3
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.js +20 -3
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/services/slate-iframe-builder.js +8 -1
- package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-display-field.js +2 -1
- package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-my-own-fund.js +6 -0
- package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-smsf.js +5 -0
- package/dist/lib/collection/components/super-selection-app/services/event-tracking.service.js +5 -0
- package/dist/lib/collection/components/super-selection-app/services/navigation.service.js +1 -0
- package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.js +50 -10
- package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.store.js +1 -0
- package/dist/lib/esm/apollo-super-selection.js +1 -1
- package/dist/lib/esm/loader.js +1 -1
- package/dist/lib/esm/sss-button_38.entry.js +131 -28
- 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_38.entry.js +1 -1
- package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +22 -0
- package/dist/lib/types/components/super-selection-app/services/event-tracking.service.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/services/navigation.service.d.ts +2 -0
- package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.d.ts +2 -2
- package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.store.d.ts +28 -0
- package/package.json +2 -2
- package/dist/lib/apollo-super-selection/p-c6e6d600.entry.js +0 -14
|
@@ -17,6 +17,11 @@ export class SelfManagedFund {
|
|
|
17
17
|
navigationService.navigateInternallyToStandardChoice({
|
|
18
18
|
history: this.history,
|
|
19
19
|
fundName: 'Self-managed super fund',
|
|
20
|
+
fundDetails: {
|
|
21
|
+
type: 'smsf',
|
|
22
|
+
fundName: customFundState.selfManagedFundForm.fundName,
|
|
23
|
+
fundEsa: customFundState.selfManagedFundForm.fundEsa
|
|
24
|
+
},
|
|
20
25
|
handleSubmitFn: async (standardChoiceFormSignature) => {
|
|
21
26
|
const requestDto = Object.assign({ smsfChoice: {
|
|
22
27
|
abn: customFundState.selfManagedFundForm.fundAbn,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { pipe } from 'fp-ts/lib/function';
|
|
1
2
|
import * as O from 'fp-ts/lib/Option';
|
|
2
3
|
import iframeUtil from '../../../../../utils/iframe';
|
|
3
4
|
import navigationService from '../../../services/navigation.service';
|
|
@@ -37,11 +38,20 @@ class PromotedFundJoinV1IFrameBuilder {
|
|
|
37
38
|
case 'success':
|
|
38
39
|
if (data.memberNumber) {
|
|
39
40
|
const promotedFundId = promotedFundState.fundId;
|
|
40
|
-
const fundName = getFundNameByFundId(promotedFundId);
|
|
41
|
+
const fundName = pipe(getFundNameByFundId(promotedFundId), O.getOrElse(() => ''));
|
|
42
|
+
const usi = data.usi.replace(/ /g, '');
|
|
41
43
|
navigationService.navigateInternallyToStandardChoice({
|
|
42
44
|
history,
|
|
43
|
-
fundName
|
|
44
|
-
|
|
45
|
+
fundName,
|
|
46
|
+
fundDetails: {
|
|
47
|
+
type: 'promoted',
|
|
48
|
+
fundName,
|
|
49
|
+
fundUsi: usi,
|
|
50
|
+
memberNumber: data.memberNumber,
|
|
51
|
+
promotedFundId
|
|
52
|
+
},
|
|
53
|
+
handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync(Object.assign({ fundId: promotedFundId, memberNumber: data.memberNumber, memberFirstName: data.memberFirstName, memberFamilyName: data.memberFamilyName, usi,
|
|
54
|
+
standardChoiceFormSignature, defaultFundUsiSet: O.toUndefined(superSelectionAppService.defaultFundUsi) }, superSelectionAppService.promotedFundsConfig)),
|
|
45
55
|
promotedFundId
|
|
46
56
|
});
|
|
47
57
|
break;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { pipe } from 'fp-ts/lib/function';
|
|
1
2
|
import * as O from 'fp-ts/lib/Option';
|
|
2
3
|
import iframeUtil from '../../../../../utils/iframe';
|
|
3
4
|
import navigationService from '../../../services/navigation.service';
|
|
@@ -44,13 +45,29 @@ class PromotedFundJoinV2IFrameBuilder {
|
|
|
44
45
|
if (promotedFundState.isPromotedDefault ||
|
|
45
46
|
(!promotedFundState.isPromotedDefault && data.memberNumber)) {
|
|
46
47
|
const promotedFundId = promotedFundState.fundId;
|
|
47
|
-
const fundName = getFundNameByFundId(promotedFundId);
|
|
48
|
+
const fundName = pipe(getFundNameByFundId(promotedFundId), O.getOrElse(() => ''));
|
|
49
|
+
const usi = data.usi.replace(/ /g, '');
|
|
48
50
|
navigationService.navigateInternallyToStandardChoice({
|
|
49
51
|
history,
|
|
50
|
-
fundName
|
|
52
|
+
fundName,
|
|
51
53
|
promotedFundId,
|
|
54
|
+
fundDetails: promotedFundState.isPromotedDefault
|
|
55
|
+
? {
|
|
56
|
+
type: 'promotedDefault',
|
|
57
|
+
fundName,
|
|
58
|
+
fundUsi: usi,
|
|
59
|
+
promotedFundId
|
|
60
|
+
}
|
|
61
|
+
: {
|
|
62
|
+
type: 'promoted',
|
|
63
|
+
fundName,
|
|
64
|
+
fundUsi: usi,
|
|
65
|
+
memberNumber: data.memberNumber,
|
|
66
|
+
promotedFundId
|
|
67
|
+
},
|
|
52
68
|
handleSubmitFn: promotedFundState.isPromotedDefault
|
|
53
|
-
? (standardChoiceFormSignature) => promotedFundChoiceApi.submitDefaultChoiceAsync(Object.assign({ fundId: promotedFundId, usi
|
|
69
|
+
? (standardChoiceFormSignature) => promotedFundChoiceApi.submitDefaultChoiceAsync(Object.assign({ fundId: promotedFundId, usi,
|
|
70
|
+
standardChoiceFormSignature, defaultFundUsiSet: O.toUndefined(superSelectionAppService.defaultFundUsi) }, superSelectionAppService.promotedFundsConfig))
|
|
54
71
|
: (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync(Object.assign({ fundId: promotedFundId, memberNumber: data.memberNumber, memberFirstName: data.memberFirstName, memberFamilyName: data.memberFamilyName, usi: data.usi.replace(/ /g, ''), standardChoiceFormSignature, defaultFundUsiSet: O.toUndefined(superSelectionAppService.defaultFundUsi) }, superSelectionAppService.promotedFundsConfig))
|
|
55
72
|
});
|
|
56
73
|
break;
|
|
@@ -3,7 +3,7 @@ import interopQuery from '../../../../app-host/services/interop.query';
|
|
|
3
3
|
import navigationService from '../../../services/navigation.service';
|
|
4
4
|
import { SuperSelectionAppRoutes } from '../../../services/super-selection-app.routes';
|
|
5
5
|
import superSelectionAppService from '../../../services/super-selection-app.service';
|
|
6
|
-
import slate from '../../promoted-fund/funds/slate';
|
|
6
|
+
import slate, { slateUsi } from '../../promoted-fund/funds/slate';
|
|
7
7
|
import { reset as resetPromotedFundState } from '../../promoted-fund/promoted-fund.store';
|
|
8
8
|
import slateChoiceApi from '../api/slate-choice.api';
|
|
9
9
|
class SlateIFrameBuilder {
|
|
@@ -52,6 +52,13 @@ class SlateIFrameBuilder {
|
|
|
52
52
|
navigationService.navigateInternallyToStandardChoice({
|
|
53
53
|
history,
|
|
54
54
|
fundName: slate.name,
|
|
55
|
+
fundDetails: {
|
|
56
|
+
type: 'promoted',
|
|
57
|
+
fundName: slate.name,
|
|
58
|
+
fundUsi: slateUsi,
|
|
59
|
+
memberNumber: data.memberNumber,
|
|
60
|
+
promotedFundId: slate.fundId
|
|
61
|
+
},
|
|
55
62
|
handleSubmitFn: (standardChoiceFormSignature) => slateChoiceApi.submitSlateChoiceAsync(Object.assign({ memberNumber: data.memberNumber, memberFirstName: data.memberFirstName, memberFamilyName: data.memberFamilyName, standardChoiceFormSignature, defaultFundUsiSet: O.toUndefined(superSelectionAppService.defaultFundUsi) }, superSelectionAppService.promotedFundsConfig)),
|
|
56
63
|
promotedFundId: slate.fundId
|
|
57
64
|
});
|
package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-display-field.js
CHANGED
|
@@ -7,7 +7,8 @@ export class DisplayField {
|
|
|
7
7
|
'text-red-600': !this.field.isValid
|
|
8
8
|
} }, this.field.name),
|
|
9
9
|
h("div", { class: {
|
|
10
|
-
'sm:w-3/5 max-w-[300px]
|
|
10
|
+
'sm:w-3/5 max-w-[300px] self-stretch text-gray-900 text-sm not-italic font-normal leading-5 break-words': true,
|
|
11
|
+
'h-5 sm:h-auto': this.field.isEmpty,
|
|
11
12
|
'text-red-600': !this.field.isValid
|
|
12
13
|
} }, this.field.value)));
|
|
13
14
|
}
|
package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-my-own-fund.js
CHANGED
|
@@ -150,6 +150,12 @@ export class PrefillMyOwnFund {
|
|
|
150
150
|
navigationService.navigateInternallyToStandardChoice({
|
|
151
151
|
history: this.history,
|
|
152
152
|
fundName: this.fundName.value,
|
|
153
|
+
fundDetails: {
|
|
154
|
+
type: 'myOwnFund',
|
|
155
|
+
fundName: this.fundName.value,
|
|
156
|
+
fundUsi: this.fundUsi.value,
|
|
157
|
+
memberNumber: this.memberNumber.value
|
|
158
|
+
},
|
|
153
159
|
handleSubmitFn: async (standardChoiceFormSignature) => {
|
|
154
160
|
const customFundChoiceDto = Object.assign({ fundUsi: this.fundUsi.value, memberNumber: this.memberNumber.value, memberFirstName: this.memberGivenNames.value, memberFamilyName: this.memberLastName.value, standardChoiceFormSignature }, superSelectionAppService.promotedFundsConfig);
|
|
155
161
|
await customFundChoiceApi.submitCustomFundChoiceAsync(customFundChoiceDto);
|
|
@@ -278,6 +278,11 @@ export class PrefillSMSF {
|
|
|
278
278
|
navigationService.navigateInternallyToStandardChoice({
|
|
279
279
|
history: this.history,
|
|
280
280
|
fundName: 'Self-managed super fund',
|
|
281
|
+
fundDetails: {
|
|
282
|
+
type: 'smsf',
|
|
283
|
+
fundName: this.fundName.value,
|
|
284
|
+
fundEsa: this.fundEsa.value
|
|
285
|
+
},
|
|
281
286
|
handleSubmitFn: async (standardChoiceFormSignature) => {
|
|
282
287
|
const smsfChoiceDto = Object.assign({ smsfChoice: {
|
|
283
288
|
abn: this.fundAbn.value,
|
package/dist/lib/collection/components/super-selection-app/services/event-tracking.service.js
CHANGED
|
@@ -101,6 +101,11 @@ export class EventTrackingService {
|
|
|
101
101
|
SuperFundPrefillDeclined: detail
|
|
102
102
|
});
|
|
103
103
|
}
|
|
104
|
+
async TrackSuperFundDetailChangeRequestedAsync(detail) {
|
|
105
|
+
return this.trackEventAsync({
|
|
106
|
+
SuperFundDetailChangeRequested: detail
|
|
107
|
+
});
|
|
108
|
+
}
|
|
104
109
|
async trackEventAsync(event) {
|
|
105
110
|
try {
|
|
106
111
|
await this.eventTrackingApi.PostAnalyticsEventAsync({ event });
|
|
@@ -11,6 +11,7 @@ class NavigationService {
|
|
|
11
11
|
navigateInternallyToStandardChoice(options) {
|
|
12
12
|
standardChoiceFormState.handleSubmitFn = options.handleSubmitFn;
|
|
13
13
|
standardChoiceFormState.fundName = options.fundName;
|
|
14
|
+
standardChoiceFormState.fundDetails = options.fundDetails;
|
|
14
15
|
standardChoiceFormState.promotedFundId = options.promotedFundId;
|
|
15
16
|
this.navigateInternally(options.history, SuperSelectionAppRoutes.StandardChoice);
|
|
16
17
|
}
|
package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.js
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { Component, getAssetPath, h, Host, Prop, State } from '@stencil/core';
|
|
2
2
|
import { isSome } from 'fp-ts/lib/Option';
|
|
3
|
+
import * as O from 'fp-ts/Option';
|
|
4
|
+
import { assertExhaustive } from '../../../utils';
|
|
3
5
|
import { getLogoSrcByFundId } from '../funds/constants';
|
|
6
|
+
import { EventTrackingService } from '../services/event-tracking.service';
|
|
7
|
+
import navigationService from '../services/navigation.service';
|
|
4
8
|
import { SuperSelectionAppRoutes } from '../services/super-selection-app.routes';
|
|
5
9
|
import superSelectionAppService from '../services/super-selection-app.service';
|
|
6
10
|
import standardChoiceFormState from './standard-choice-form.store';
|
|
@@ -8,7 +12,7 @@ export class StandardChoiceFormInputDefaultFund {
|
|
|
8
12
|
constructor() {
|
|
9
13
|
this.standardChoiceFormSignature = '';
|
|
10
14
|
this.isSubmitDisabled = true;
|
|
11
|
-
this.
|
|
15
|
+
this.eventTrackingService = EventTrackingService.Instance;
|
|
12
16
|
this.ignorePopState = () => window.history.pushState(null, '', null);
|
|
13
17
|
}
|
|
14
18
|
connectedCallback() {
|
|
@@ -18,11 +22,6 @@ export class StandardChoiceFormInputDefaultFund {
|
|
|
18
22
|
disconnectedCallback() {
|
|
19
23
|
window.removeEventListener('popstate', this.ignorePopState);
|
|
20
24
|
}
|
|
21
|
-
async componentWillLoad() {
|
|
22
|
-
if (isSome(superSelectionAppService.state.superChoicePrefill)) {
|
|
23
|
-
this.changeFundUrl = SuperSelectionAppRoutes.ConsentPage;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
25
|
render() {
|
|
27
26
|
return (h(Host, null,
|
|
28
27
|
h("div", { class: "text-2xl sm:text-3xl font-bold text-center" }, "Confirm your super choice"),
|
|
@@ -36,8 +35,13 @@ export class StandardChoiceFormInputDefaultFund {
|
|
|
36
35
|
h("div", { class: "text-xs font-semibold text-gray-500 uppercase" }, "Nominated fund"),
|
|
37
36
|
h("div", { class: "text-sm mt-2" }, standardChoiceFormState.fundName)),
|
|
38
37
|
h("div", { class: "grid content-center ml-4" },
|
|
39
|
-
h("
|
|
40
|
-
|
|
38
|
+
h("sss-button", { size: "xs", variant: "secondary", promiseFn: async () => {
|
|
39
|
+
await this.trackChangeRequestedAsync();
|
|
40
|
+
const changeFundRoute = isSome(superSelectionAppService.state.superChoicePrefill)
|
|
41
|
+
? SuperSelectionAppRoutes.ConsentPage
|
|
42
|
+
: SuperSelectionAppRoutes.ChoicePage;
|
|
43
|
+
navigationService.navigateInternally(this.history, changeFundRoute);
|
|
44
|
+
} }, "Change")))),
|
|
41
45
|
h("div", { class: "mt-4 p-4 sm:p-6 border shadow-sm rounded-lg" },
|
|
42
46
|
h("div", { class: "sm:text-lg font-bold" }, "Superannuation Standard Choice Form"),
|
|
43
47
|
h("div", { class: "bg-blue-50 border-l-4 border-blue-400 p-4 mt-3" },
|
|
@@ -68,6 +72,43 @@ export class StandardChoiceFormInputDefaultFund {
|
|
|
68
72
|
h("img", { class: "h-16 max-w-140 sm:h-12 sm:max-w-[100px] object-contain", alt: standardChoiceFormState.fundName, src: logoSource.value })));
|
|
69
73
|
}
|
|
70
74
|
}
|
|
75
|
+
async trackChangeRequestedAsync() {
|
|
76
|
+
const common = {
|
|
77
|
+
promotedFundsShown: superSelectionAppService.promotedFunds,
|
|
78
|
+
defaultFundUsiSet: O.toUndefined(superSelectionAppService.defaultFundUsi)
|
|
79
|
+
};
|
|
80
|
+
switch (standardChoiceFormState.fundDetails.type) {
|
|
81
|
+
case 'default':
|
|
82
|
+
await this.eventTrackingService.TrackSuperFundDetailChangeRequestedAsync({
|
|
83
|
+
DefaultFund: Object.assign(Object.assign({}, standardChoiceFormState.fundDetails), common)
|
|
84
|
+
});
|
|
85
|
+
break;
|
|
86
|
+
case 'myOwnFund':
|
|
87
|
+
await this.eventTrackingService.TrackSuperFundDetailChangeRequestedAsync({
|
|
88
|
+
MyOwnFund: Object.assign(Object.assign({}, standardChoiceFormState.fundDetails), common)
|
|
89
|
+
});
|
|
90
|
+
break;
|
|
91
|
+
case 'smsf':
|
|
92
|
+
await this.eventTrackingService.TrackSuperFundDetailChangeRequestedAsync({
|
|
93
|
+
Smsf: Object.assign(Object.assign({}, standardChoiceFormState.fundDetails), common)
|
|
94
|
+
});
|
|
95
|
+
break;
|
|
96
|
+
case 'promoted':
|
|
97
|
+
await this.eventTrackingService.TrackSuperFundDetailChangeRequestedAsync({
|
|
98
|
+
PromotedFund: Object.assign(Object.assign({}, standardChoiceFormState.fundDetails), common)
|
|
99
|
+
});
|
|
100
|
+
break;
|
|
101
|
+
case 'promotedDefault':
|
|
102
|
+
await this.eventTrackingService.TrackSuperFundDetailChangeRequestedAsync({
|
|
103
|
+
PromotedDefaultFund: Object.assign(Object.assign({}, standardChoiceFormState.fundDetails), common)
|
|
104
|
+
});
|
|
105
|
+
break;
|
|
106
|
+
case 'null':
|
|
107
|
+
throw 'standardChoiceFormState.fundDetails was not set';
|
|
108
|
+
default:
|
|
109
|
+
assertExhaustive(standardChoiceFormState.fundDetails);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
71
112
|
async handleSubmitForm() {
|
|
72
113
|
this.formState = 'validated';
|
|
73
114
|
if (this.formElement.checkValidity()) {
|
|
@@ -101,7 +142,6 @@ export class StandardChoiceFormInputDefaultFund {
|
|
|
101
142
|
static get states() { return {
|
|
102
143
|
"standardChoiceFormSignature": {},
|
|
103
144
|
"formState": {},
|
|
104
|
-
"isSubmitDisabled": {}
|
|
105
|
-
"changeFundUrl": {}
|
|
145
|
+
"isSubmitDisabled": {}
|
|
106
146
|
}; }
|
|
107
147
|
}
|
|
@@ -16,5 +16,5 @@ const patchBrowser = () => {
|
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(options => {
|
|
18
18
|
globalScripts();
|
|
19
|
-
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_38",[[0,"sss-prefill",{"history":[16],"prefill":[32]}],[0,"sss-my-own-fund",{"history":[16],"formState":[32],"isNotAllInformationProvidedMessageVisible":[32],"isSubmitDisabled":[32]}],[0,"sss-self-managed-fund",{"history":[16],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-super-choice-page",{"history":[16],"promotedFunds":[32],"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-
|
|
19
|
+
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_38",[[0,"sss-prefill",{"history":[16],"prefill":[32]}],[0,"sss-my-own-fund",{"history":[16],"formState":[32],"isNotAllInformationProvidedMessageVisible":[32],"isSubmitDisabled":[32]}],[0,"sss-self-managed-fund",{"history":[16],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-super-choice-page",{"history":[16],"promotedFunds":[32],"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-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]}],[0,"sss-prefill-invalid-my-own-fund",{"history":[16],"prefill":[16],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberGivenNames":[32],"memberLastName":[32]}],[0,"sss-prefill-invalid-smsf",{"history":[16],"prefill":[16],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddressLine1":[32],"fundAddressLine2":[32],"fundAddressCity":[32],"fundAddressPostcode":[32],"fundAddressState":[32],"fundAddress":[32],"memberGivenNames":[32],"memberLastName":[32],"bankAccountName":[32],"bankAccountBsb":[32],"bankAccountNumber":[32]}],[1,"super-selection-app",{"ignoreExistingSelection":[4,"ignore-existing-selection"],"accessToken":[1,"access-token"],"backendUrl":[1,"backend-url"],"appBaseUrl":[1,"app-base-url"],"history":[16],"location":[16],"isSelfHosted":[4,"is-self-hosted"],"isAppInitialised":[32]}],[0,"sss-my-own-fund-inputs",{"myOwnFundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"selectedOption":[32]}],[0,"sss-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"]}],[0,"sss-dropdown-async",{"placeholder":[1],"searchFunction":[16],"value":[16],"required":[4],"requiredValidationMessage":[1,"required-validation-message"],"disabled":[4],"minSearchStringLength":[2,"min-search-string-length"],"showValidationErrors":[4,"show-validation-errors"],"searchState":[32],"inputValue":[32],"isDropdownVisible":[32],"filteredOptions":[32],"highlightedOptionIndex":[32],"selectedOption":[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-footer-section",{"textOverride":[16]}],[4,"stencil-route-switch",{"group":[513],"scrollTopOffset":[2,"scroll-top-offset"],"location":[16],"routeViewsUpdated":[16]}],[4,"stencil-router",{"root":[1],"historyType":[1,"history-type"],"titleSuffix":[1,"title-suffix"],"scrollTopOffset":[2,"scroll-top-offset"],"location":[32],"history":[32]}],[4,"sss-custom-fund",{"history":[16],"currentCustomFund":[32],"fundOptionsList":[32],"showFundOptionsSelection":[32]}],[0,"sss-iframe-host",{"build":[16]}],[0,"sss-prefill-warning-box",{"notificationList":[16]}],[0,"sss-header-section",{"currentPage":[1,"current-page"]}],[0,"sss-name-input",{"value":[1],"name":[1],"readableName":[1,"readable-name"],"showValidationErrors":[4,"show-validation-errors"],"errorMessage":[32]}],[0,"sss-prefill-display-field",{"field":[16]}],[0,"sss-prefill-error-box",{"withHeader":[4,"with-header"],"notificationList":[16]}],[4,"stencil-route-link",{"url":[1],"urlMatch":[1,"url-match"],"activeClass":[1,"active-class"],"exact":[4],"strict":[4],"custom":[1],"anchorClass":[1,"anchor-class"],"anchorRole":[1,"anchor-role"],"anchorTitle":[1,"anchor-title"],"anchorTabIndex":[1,"anchor-tab-index"],"anchorId":[1,"anchor-id"],"history":[16],"location":[16],"root":[1],"ariaHaspopup":[1,"aria-haspopup"],"ariaPosinset":[1,"aria-posinset"],"ariaSetsize":[2,"aria-setsize"],"ariaLabel":[1,"aria-label"],"match":[32]}],[4,"sss-button",{"fillWidth":[4,"fill-width"],"fillWidthOnMobile":[4,"fill-width-on-mobile"],"disabled":[4],"variant":[1],"size":[1],"promiseFn":[16],"state":[32]}],[0,"sss-loading-indicator",{"theme":[1],"size":[2]}],[0,"stencil-route",{"group":[513],"componentUpdated":[16],"match":[1040],"url":[1],"component":[1],"componentProps":[16],"exact":[4],"routeRender":[16],"scrollTopOffset":[2,"scroll-top-offset"],"routeViewsUpdated":[16],"location":[16],"history":[16],"historyType":[1,"history-type"]}]]]], options);
|
|
20
20
|
});
|
package/dist/lib/esm/loader.js
CHANGED
|
@@ -13,7 +13,7 @@ const defineCustomElements = (win, options) => {
|
|
|
13
13
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
14
14
|
return patchEsm().then(() => {
|
|
15
15
|
globalScripts();
|
|
16
|
-
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_38",[[0,"sss-prefill",{"history":[16],"prefill":[32]}],[0,"sss-my-own-fund",{"history":[16],"formState":[32],"isNotAllInformationProvidedMessageVisible":[32],"isSubmitDisabled":[32]}],[0,"sss-self-managed-fund",{"history":[16],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-super-choice-page",{"history":[16],"promotedFunds":[32],"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-
|
|
16
|
+
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_38",[[0,"sss-prefill",{"history":[16],"prefill":[32]}],[0,"sss-my-own-fund",{"history":[16],"formState":[32],"isNotAllInformationProvidedMessageVisible":[32],"isSubmitDisabled":[32]}],[0,"sss-self-managed-fund",{"history":[16],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-super-choice-page",{"history":[16],"promotedFunds":[32],"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-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]}],[0,"sss-prefill-invalid-my-own-fund",{"history":[16],"prefill":[16],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberGivenNames":[32],"memberLastName":[32]}],[0,"sss-prefill-invalid-smsf",{"history":[16],"prefill":[16],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddressLine1":[32],"fundAddressLine2":[32],"fundAddressCity":[32],"fundAddressPostcode":[32],"fundAddressState":[32],"fundAddress":[32],"memberGivenNames":[32],"memberLastName":[32],"bankAccountName":[32],"bankAccountBsb":[32],"bankAccountNumber":[32]}],[1,"super-selection-app",{"ignoreExistingSelection":[4,"ignore-existing-selection"],"accessToken":[1,"access-token"],"backendUrl":[1,"backend-url"],"appBaseUrl":[1,"app-base-url"],"history":[16],"location":[16],"isSelfHosted":[4,"is-self-hosted"],"isAppInitialised":[32]}],[0,"sss-my-own-fund-inputs",{"myOwnFundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"selectedOption":[32]}],[0,"sss-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"]}],[0,"sss-dropdown-async",{"placeholder":[1],"searchFunction":[16],"value":[16],"required":[4],"requiredValidationMessage":[1,"required-validation-message"],"disabled":[4],"minSearchStringLength":[2,"min-search-string-length"],"showValidationErrors":[4,"show-validation-errors"],"searchState":[32],"inputValue":[32],"isDropdownVisible":[32],"filteredOptions":[32],"highlightedOptionIndex":[32],"selectedOption":[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-footer-section",{"textOverride":[16]}],[4,"stencil-route-switch",{"group":[513],"scrollTopOffset":[2,"scroll-top-offset"],"location":[16],"routeViewsUpdated":[16]}],[4,"stencil-router",{"root":[1],"historyType":[1,"history-type"],"titleSuffix":[1,"title-suffix"],"scrollTopOffset":[2,"scroll-top-offset"],"location":[32],"history":[32]}],[4,"sss-custom-fund",{"history":[16],"currentCustomFund":[32],"fundOptionsList":[32],"showFundOptionsSelection":[32]}],[0,"sss-iframe-host",{"build":[16]}],[0,"sss-prefill-warning-box",{"notificationList":[16]}],[0,"sss-header-section",{"currentPage":[1,"current-page"]}],[0,"sss-name-input",{"value":[1],"name":[1],"readableName":[1,"readable-name"],"showValidationErrors":[4,"show-validation-errors"],"errorMessage":[32]}],[0,"sss-prefill-display-field",{"field":[16]}],[0,"sss-prefill-error-box",{"withHeader":[4,"with-header"],"notificationList":[16]}],[4,"stencil-route-link",{"url":[1],"urlMatch":[1,"url-match"],"activeClass":[1,"active-class"],"exact":[4],"strict":[4],"custom":[1],"anchorClass":[1,"anchor-class"],"anchorRole":[1,"anchor-role"],"anchorTitle":[1,"anchor-title"],"anchorTabIndex":[1,"anchor-tab-index"],"anchorId":[1,"anchor-id"],"history":[16],"location":[16],"root":[1],"ariaHaspopup":[1,"aria-haspopup"],"ariaPosinset":[1,"aria-posinset"],"ariaSetsize":[2,"aria-setsize"],"ariaLabel":[1,"aria-label"],"match":[32]}],[4,"sss-button",{"fillWidth":[4,"fill-width"],"fillWidthOnMobile":[4,"fill-width-on-mobile"],"disabled":[4],"variant":[1],"size":[1],"promiseFn":[16],"state":[32]}],[0,"sss-loading-indicator",{"theme":[1],"size":[2]}],[0,"stencil-route",{"group":[513],"componentUpdated":[16],"match":[1040],"url":[1],"component":[1],"componentProps":[16],"exact":[4],"routeRender":[16],"scrollTopOffset":[2,"scroll-top-offset"],"routeViewsUpdated":[16],"location":[16],"history":[16],"historyType":[1,"history-type"]}]]]], options);
|
|
17
17
|
});
|
|
18
18
|
};
|
|
19
19
|
|