@flarehr/apollo-super-selection 1.4.56819 → 1.4.56843
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-0726177d.system.entry.js +69 -0
- package/dist/lib/apollo-super-selection/p-07893761.system.entry.js +1 -0
- package/dist/lib/apollo-super-selection/p-1a574672.entry.js +14 -0
- package/dist/lib/apollo-super-selection/p-2c136506.system.entry.js +1 -0
- package/dist/lib/apollo-super-selection/p-37ed5963.system.entry.js +1 -0
- package/dist/lib/apollo-super-selection/p-4a95528c.js +1 -0
- package/dist/lib/apollo-super-selection/p-524b1ff5.system.js +1 -0
- package/dist/lib/apollo-super-selection/p-5716179f.js +1 -0
- package/dist/lib/apollo-super-selection/p-6d4e757b.system.js +1 -0
- package/dist/lib/apollo-super-selection/p-89c8d0e2.entry.js +1 -0
- package/dist/lib/apollo-super-selection/p-9cd765f5.system.js +1 -0
- package/dist/lib/apollo-super-selection/p-a2b4e667.system.js +1 -0
- package/dist/lib/apollo-super-selection/p-a99c601b.js +1 -0
- package/dist/lib/apollo-super-selection/p-b3f43d1a.entry.js +1 -0
- package/dist/lib/apollo-super-selection/p-bbe230d9.entry.js +1 -0
- package/dist/lib/apollo-super-selection/p-bd6e6a8f.system.js +1 -1
- package/dist/lib/apollo-super-selection/p-d5c7a35f.js +1 -0
- package/dist/lib/apollo-super-selection/p-dac37462.system.js +1 -0
- package/dist/lib/apollo-super-selection/p-f8bb280b.js +1 -0
- package/dist/lib/cjs/apollo-super-selection.cjs.js +1 -1
- package/dist/lib/cjs/australian-fund-lookup.service-4be59dec.js +19 -0
- package/dist/lib/cjs/custom-fund.store-3d1ac996.js +37 -0
- package/dist/lib/cjs/event-tracking.service-ed12699a.js +296 -0
- package/dist/lib/cjs/injectHistory-eb188cf0.js +9 -0
- package/dist/lib/cjs/loader.cjs.js +1 -1
- package/dist/lib/cjs/sss-button_32.cjs.entry.js +382 -351
- package/dist/lib/cjs/sss-default-fund-router.cjs.entry.js +23 -0
- package/dist/lib/cjs/sss-default-fund.cjs.entry.js +61 -0
- package/dist/lib/cjs/sss-super-byof-host.cjs.entry.js +24 -21
- package/dist/lib/cjs/{custom-fund-choice.api-293c1ace.js → super-selection-app.service-ca52a1fc.js} +7 -331
- package/dist/lib/collection/collection-manifest.json +3 -1
- package/dist/lib/collection/components/default-fund/super-default-fund-types.js +1 -0
- package/dist/lib/collection/components/default-fund/super-default-fund.js +130 -0
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/default-fund/default-fund-router.js +37 -0
- package/dist/lib/collection/components/super-selection-app/services/super-selection-app.routes.js +1 -1
- package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +4 -0
- package/dist/lib/collection/components/super-selection-app/services/super-selection.store.js +2 -1
- package/dist/lib/esm/apollo-super-selection.js +1 -1
- package/dist/lib/esm/australian-fund-lookup.service-a2f593d3.js +17 -0
- package/dist/lib/esm/custom-fund.store-dcc61edf.js +36 -0
- package/dist/lib/esm/event-tracking.service-9398a317.js +290 -0
- package/dist/lib/esm/injectHistory-e92e4664.js +7 -0
- package/dist/lib/esm/loader.js +1 -1
- package/dist/lib/esm/sss-button_32.entry.js +89 -58
- package/dist/lib/esm/sss-default-fund-router.entry.js +19 -0
- package/dist/lib/esm/sss-default-fund.entry.js +57 -0
- package/dist/lib/esm/sss-super-byof-host.entry.js +4 -1
- package/dist/lib/esm/{custom-fund-choice.api-42801d64.js → super-selection-app.service-50f199de.js} +8 -327
- package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
- package/dist/lib/esm-es5/australian-fund-lookup.service-a2f593d3.js +1 -0
- package/dist/lib/esm-es5/custom-fund.store-dcc61edf.js +1 -0
- package/dist/lib/esm-es5/event-tracking.service-9398a317.js +1 -0
- package/dist/lib/esm-es5/injectHistory-e92e4664.js +1 -0
- package/dist/lib/esm-es5/loader.js +1 -1
- package/dist/lib/esm-es5/sss-button_32.entry.js +5 -5
- package/dist/lib/esm-es5/sss-default-fund-router.entry.js +1 -0
- package/dist/lib/esm-es5/sss-default-fund.entry.js +1 -0
- package/dist/lib/esm-es5/sss-super-byof-host.entry.js +1 -1
- package/dist/lib/esm-es5/super-selection-app.service-50f199de.js +1 -0
- package/dist/lib/types/components/default-fund/super-default-fund-types.d.ts +23 -0
- package/dist/lib/types/components/default-fund/super-default-fund.d.ts +20 -0
- package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/default-fund/default-fund-router.d.ts +5 -0
- package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/services/super-selection.store.d.ts +1 -0
- package/dist/lib/types/components.d.ts +30 -0
- package/package.json +1 -1
- package/dist/lib/apollo-super-selection/p-24d6e2b8.js +0 -1
- package/dist/lib/apollo-super-selection/p-a0063575.system.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-aa9dedee.system.entry.js +0 -69
- package/dist/lib/apollo-super-selection/p-b00f648b.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-c7ab3701.entry.js +0 -14
- package/dist/lib/apollo-super-selection/p-cd3ed541.system.js +0 -1
- package/dist/lib/esm-es5/custom-fund-choice.api-42801d64.js +0 -1
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const index = require('./index-eb4f212f.js');
|
|
4
|
+
const superSelectionApp_service = require('./super-selection-app.service-ca52a1fc.js');
|
|
5
|
+
|
|
6
|
+
function appReady() {
|
|
7
|
+
postMessage({
|
|
8
|
+
type: 'appReady'
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
function postMessage(message, origin) {
|
|
12
|
+
if (origin === undefined)
|
|
13
|
+
origin = '*';
|
|
14
|
+
message.sender = 'flare';
|
|
15
|
+
window.parent.postMessage(message, origin);
|
|
16
|
+
}
|
|
17
|
+
function resize(height, width) {
|
|
18
|
+
postMessage({
|
|
19
|
+
type: 'contentResized',
|
|
20
|
+
height,
|
|
21
|
+
width
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
function navigation(url) {
|
|
25
|
+
postMessage({
|
|
26
|
+
type: 'pageNavigated',
|
|
27
|
+
url
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
function complete() {
|
|
31
|
+
postMessage({ type: 'complete' });
|
|
32
|
+
}
|
|
33
|
+
function submitSuccess() {
|
|
34
|
+
postMessage({
|
|
35
|
+
type: 'submitSuccess'
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
const iframe = { appReady, resize, navigation, complete, submitSuccess };
|
|
39
|
+
|
|
40
|
+
const initial = {
|
|
41
|
+
handleSubmitFn: async function () {
|
|
42
|
+
return;
|
|
43
|
+
},
|
|
44
|
+
fundName: '',
|
|
45
|
+
fundDetails: { type: 'null' },
|
|
46
|
+
promotedFundId: undefined
|
|
47
|
+
};
|
|
48
|
+
const { state } = superSelectionApp_service.createStore(initial);
|
|
49
|
+
|
|
50
|
+
(function (SuperSelectionAppRoutes) {
|
|
51
|
+
SuperSelectionAppRoutes["ExistingChoicePage"] = "/existing";
|
|
52
|
+
SuperSelectionAppRoutes["SuperCampaign"] = "/super-campaign";
|
|
53
|
+
SuperSelectionAppRoutes["ChoicePage"] = "/";
|
|
54
|
+
SuperSelectionAppRoutes["MyOwnFund"] = "/super-choice/my-own-fund/";
|
|
55
|
+
SuperSelectionAppRoutes["MyOwnFundEngagementStep"] = "/super-choice/my-own-fund-engagement/";
|
|
56
|
+
SuperSelectionAppRoutes["SmsfEngagementStep"] = "/super-choice/smsf-engagement/";
|
|
57
|
+
SuperSelectionAppRoutes["Prefill"] = "/super-choice/prefill/";
|
|
58
|
+
SuperSelectionAppRoutes["PrefillInvalidMyOwnFundPage"] = "/super-choice/sss-prefill-invalid-my-own-fund/";
|
|
59
|
+
SuperSelectionAppRoutes["PrefillMyOwnFundPage"] = "/super-choice/prefill-my-own-fund/";
|
|
60
|
+
SuperSelectionAppRoutes["PrefillSMSFPage"] = "/super-choice/prefill-smsf/";
|
|
61
|
+
SuperSelectionAppRoutes["PrefillInvalidSMSFPage"] = "/super-choice/prefill-invalid-smsf/";
|
|
62
|
+
SuperSelectionAppRoutes["SelfManagedFund"] = "/super-choice/smsf/";
|
|
63
|
+
SuperSelectionAppRoutes["DefaultFund"] = "/super-choice/default/";
|
|
64
|
+
SuperSelectionAppRoutes["FeaturedFunds"] = "/super-choice/featured-funds/";
|
|
65
|
+
SuperSelectionAppRoutes["StandardChoice"] = "/standard-choice/";
|
|
66
|
+
SuperSelectionAppRoutes["Success"] = "/success/";
|
|
67
|
+
})(exports.SuperSelectionAppRoutes || (exports.SuperSelectionAppRoutes = {}));
|
|
68
|
+
const superSelectionAppStencilRoutes = [
|
|
69
|
+
index.h("stencil-route", { url: exports.SuperSelectionAppRoutes.ExistingChoicePage, component: "sss-existing-choice-page" }),
|
|
70
|
+
index.h("stencil-route", { url: exports.SuperSelectionAppRoutes.SuperCampaign, component: "sss-super-campaign-host" }),
|
|
71
|
+
index.h("stencil-route", { exact: true, url: exports.SuperSelectionAppRoutes.ChoicePage, component: "sss-choice-router" }),
|
|
72
|
+
index.h("stencil-route", { url: exports.SuperSelectionAppRoutes.MyOwnFund, component: "sss-super-byof-host" }),
|
|
73
|
+
index.h("stencil-route", { url: exports.SuperSelectionAppRoutes.MyOwnFundEngagementStep, component: "sss-my-own-fund-engagement-step-host" }),
|
|
74
|
+
index.h("stencil-route", { url: exports.SuperSelectionAppRoutes.SmsfEngagementStep, component: "sss-smsf-engagement-step-host" }),
|
|
75
|
+
index.h("stencil-route", { url: exports.SuperSelectionAppRoutes.PrefillInvalidMyOwnFundPage, component: "sss-prefill-invalid-my-own-fund" }),
|
|
76
|
+
index.h("stencil-route", { url: exports.SuperSelectionAppRoutes.Prefill, component: "sss-prefill" }),
|
|
77
|
+
index.h("stencil-route", { url: exports.SuperSelectionAppRoutes.PrefillMyOwnFundPage, component: "sss-prefill-my-own-fund" }),
|
|
78
|
+
index.h("stencil-route", { url: exports.SuperSelectionAppRoutes.PrefillSMSFPage, component: "sss-prefill-smsf" }),
|
|
79
|
+
index.h("stencil-route", { url: exports.SuperSelectionAppRoutes.PrefillInvalidSMSFPage, component: "sss-prefill-invalid-smsf" }),
|
|
80
|
+
index.h("stencil-route", { url: exports.SuperSelectionAppRoutes.SelfManagedFund, component: "sss-super-smsf-host" }),
|
|
81
|
+
index.h("stencil-route", { url: exports.SuperSelectionAppRoutes.DefaultFund, component: "sss-default-fund-router" }),
|
|
82
|
+
index.h("stencil-route", { url: exports.SuperSelectionAppRoutes.FeaturedFunds, component: "sss-super-campaign-featured-funds" }),
|
|
83
|
+
index.h("stencil-route", { url: exports.SuperSelectionAppRoutes.StandardChoice, component: "sss-standard-choice-form" }),
|
|
84
|
+
index.h("stencil-route", { url: exports.SuperSelectionAppRoutes.Success, component: "sss-success" })
|
|
85
|
+
];
|
|
86
|
+
|
|
87
|
+
class NavigationService {
|
|
88
|
+
navigateInternally(history, route) {
|
|
89
|
+
const path = `${this.appBaseUrl}${this.toRouteWithLeadingSlash(route)}`;
|
|
90
|
+
iframe.navigation(path);
|
|
91
|
+
history.push(path);
|
|
92
|
+
}
|
|
93
|
+
navigateInternallyToStandardChoice(options) {
|
|
94
|
+
state.handleSubmitFn = options.handleSubmitFn;
|
|
95
|
+
state.fundName = options.fundName;
|
|
96
|
+
state.fundDetails = options.fundDetails;
|
|
97
|
+
state.promotedFundId = options.promotedFundId;
|
|
98
|
+
this.navigateInternally(options.history, exports.SuperSelectionAppRoutes.StandardChoice);
|
|
99
|
+
}
|
|
100
|
+
toExternalUrl(url) {
|
|
101
|
+
const externalUrl = new URL(url);
|
|
102
|
+
externalUrl.searchParams.append('_extnav', 'true');
|
|
103
|
+
return externalUrl.href;
|
|
104
|
+
}
|
|
105
|
+
get appBaseUrl() {
|
|
106
|
+
const baseUrl = superSelectionApp_service.superSelectionAppService.appBaseUrl;
|
|
107
|
+
return baseUrl.replace(/\/$/, '');
|
|
108
|
+
}
|
|
109
|
+
toRouteWithLeadingSlash(route) {
|
|
110
|
+
return route.length > 0 && route[0] === '/' ? route : `/${route}`;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
const navigationService = new NavigationService();
|
|
114
|
+
|
|
115
|
+
class CustomFundChoiceApi {
|
|
116
|
+
async submitDefaultFundChoiceAsync(dto) {
|
|
117
|
+
return superSelectionApp_service.buildBackendApiClient()
|
|
118
|
+
.url('super-choice/default')
|
|
119
|
+
.post(dto)
|
|
120
|
+
.badRequest(() => {
|
|
121
|
+
throw new Error('Failed to process default fund join request');
|
|
122
|
+
})
|
|
123
|
+
.text();
|
|
124
|
+
}
|
|
125
|
+
async submitCustomFundChoiceAsync(dto) {
|
|
126
|
+
return superSelectionApp_service.buildBackendApiClient()
|
|
127
|
+
.url('super-choice/custom-fund')
|
|
128
|
+
.post(dto)
|
|
129
|
+
.badRequest(() => {
|
|
130
|
+
throw new Error('Failed to process custom fund join request');
|
|
131
|
+
})
|
|
132
|
+
.text();
|
|
133
|
+
}
|
|
134
|
+
async submitSelfManagedFundChoiceAsync(dto) {
|
|
135
|
+
return superSelectionApp_service.buildBackendApiClient()
|
|
136
|
+
.url('super-choice/smsf')
|
|
137
|
+
.post(dto)
|
|
138
|
+
.badRequest(() => {
|
|
139
|
+
throw new Error('Failed to process SMSF choice request');
|
|
140
|
+
})
|
|
141
|
+
.text();
|
|
142
|
+
}
|
|
143
|
+
async submitDefinedBenefitsChoiceAsync(dto) {
|
|
144
|
+
return superSelectionApp_service.buildBackendApiClient()
|
|
145
|
+
.url('super-choice/defined-benefits')
|
|
146
|
+
.post(dto)
|
|
147
|
+
.badRequest(() => {
|
|
148
|
+
throw new Error('Failed to process Defined Benefits choice request');
|
|
149
|
+
})
|
|
150
|
+
.text();
|
|
151
|
+
}
|
|
152
|
+
async validateAbnForSMSF(abn) {
|
|
153
|
+
const response = await superSelectionApp_service.buildBackendApiClient()
|
|
154
|
+
.url(`super-choice/smsf/${abn}/validate`)
|
|
155
|
+
.get()
|
|
156
|
+
.badRequest(() => {
|
|
157
|
+
throw new Error('Failed to verify that if the provided abn is used for regulated fund');
|
|
158
|
+
})
|
|
159
|
+
.json();
|
|
160
|
+
return response.result;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
const customFundChoiceApi = new CustomFundChoiceApi();
|
|
164
|
+
|
|
165
|
+
class EventTrackingApi {
|
|
166
|
+
static get Instance() {
|
|
167
|
+
return this.instance || (this.instance = new this());
|
|
168
|
+
}
|
|
169
|
+
async PostAnalyticsEventAsync(event) {
|
|
170
|
+
return superSelectionApp_service.buildBackendApiClient().url('analytics-events').post(event).res();
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
class EventTrackingService {
|
|
175
|
+
constructor() {
|
|
176
|
+
this.eventTrackingApi = EventTrackingApi.Instance;
|
|
177
|
+
}
|
|
178
|
+
static get Instance() {
|
|
179
|
+
return this.instance || (this.instance = new this());
|
|
180
|
+
}
|
|
181
|
+
async TrackSuperFundPdsViewedAsync(detail) {
|
|
182
|
+
return this.trackEventAsync({
|
|
183
|
+
SuperFundPdsViewed: detail
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
async TrackPromotedSuperFundDetailViewedAsync(detail) {
|
|
187
|
+
return this.trackEventAsync({
|
|
188
|
+
SuperFundDetailViewed: {
|
|
189
|
+
PromotedFund: detail
|
|
190
|
+
}
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
async TrackPromotedDefaultSuperFundDetailViewedAsync(detail) {
|
|
194
|
+
return this.trackEventAsync({
|
|
195
|
+
SuperFundDetailViewed: {
|
|
196
|
+
PromotedDefaultFund: detail
|
|
197
|
+
}
|
|
198
|
+
});
|
|
199
|
+
}
|
|
200
|
+
async TrackMyOwnSuperFundDetailViewedAsync(detail) {
|
|
201
|
+
return this.trackEventAsync({
|
|
202
|
+
SuperFundDetailViewed: {
|
|
203
|
+
MyOwnFund: detail
|
|
204
|
+
}
|
|
205
|
+
});
|
|
206
|
+
}
|
|
207
|
+
async TrackSmsfSuperFundDetailViewedAsync(detail) {
|
|
208
|
+
return this.trackEventAsync({
|
|
209
|
+
SuperFundDetailViewed: {
|
|
210
|
+
Smsf: detail
|
|
211
|
+
}
|
|
212
|
+
});
|
|
213
|
+
}
|
|
214
|
+
async TrackDefaultSuperFundDetailViewedAsync(detail) {
|
|
215
|
+
return this.trackEventAsync({
|
|
216
|
+
SuperFundDetailViewed: {
|
|
217
|
+
DefaultFund: detail
|
|
218
|
+
}
|
|
219
|
+
});
|
|
220
|
+
}
|
|
221
|
+
async TrackSuperFundNominationViewedAsync(detail) {
|
|
222
|
+
return this.trackEventAsync({
|
|
223
|
+
SuperFundNominationViewed: detail
|
|
224
|
+
});
|
|
225
|
+
}
|
|
226
|
+
async TrackSuperFundNominationDeclinedAsync(detail) {
|
|
227
|
+
return this.trackEventAsync({
|
|
228
|
+
SuperFundNominationDeclined: detail
|
|
229
|
+
});
|
|
230
|
+
}
|
|
231
|
+
async TrackSuperFundDisclaimerViewedAsync(detail) {
|
|
232
|
+
return this.trackEventAsync({
|
|
233
|
+
SuperFundDisclaimerViewed: detail
|
|
234
|
+
});
|
|
235
|
+
}
|
|
236
|
+
async TrackSuperFundDisclaimerAcceptedAsync(detail) {
|
|
237
|
+
return this.trackEventAsync({
|
|
238
|
+
SuperFundDisclaimerAccepted: detail
|
|
239
|
+
});
|
|
240
|
+
}
|
|
241
|
+
async TrackSuperFundPrefillViewedAsync(detail) {
|
|
242
|
+
return this.trackEventAsync({
|
|
243
|
+
SuperFundPrefillViewed: detail
|
|
244
|
+
});
|
|
245
|
+
}
|
|
246
|
+
async TrackSuperFundPrefillDeclinedAsync(detail) {
|
|
247
|
+
return this.trackEventAsync({
|
|
248
|
+
SuperFundPrefillDeclined: detail
|
|
249
|
+
});
|
|
250
|
+
}
|
|
251
|
+
async TrackSuperFundDetailChangeRequestedAsync(detail) {
|
|
252
|
+
return this.trackEventAsync({
|
|
253
|
+
SuperFundDetailChangeRequested: detail
|
|
254
|
+
});
|
|
255
|
+
}
|
|
256
|
+
async TrackSuperCampaignActivationSucceededAsync(detail) {
|
|
257
|
+
return this.trackEventAsync({
|
|
258
|
+
SuperCampaignActivationSucceeded: detail
|
|
259
|
+
});
|
|
260
|
+
}
|
|
261
|
+
async TrackSuperMyOwnFundEngagementStepActivationSucceeded(fundUsi) {
|
|
262
|
+
return this.trackEventAsync({
|
|
263
|
+
SuperMyOwnFundEngagementStepActivationSucceeded: { fundUsi }
|
|
264
|
+
});
|
|
265
|
+
}
|
|
266
|
+
async TrackSuperMyOwnFundEngagementStepContinued(fundUsi, reason) {
|
|
267
|
+
return this.trackEventAsync({
|
|
268
|
+
SuperMyOwnFundEngagementStepContinued: { fundUsi, reason }
|
|
269
|
+
});
|
|
270
|
+
}
|
|
271
|
+
async TrackSuperSmsfEngagementStepActivationSucceeded() {
|
|
272
|
+
return this.trackEventAsync({
|
|
273
|
+
SuperSmsfEngagementStepActivationSucceeded: {}
|
|
274
|
+
});
|
|
275
|
+
}
|
|
276
|
+
async TrackSuperSmsfEngagementStepContinued(reason) {
|
|
277
|
+
return this.trackEventAsync({
|
|
278
|
+
SuperSmsfEngagementStepContinued: { reason }
|
|
279
|
+
});
|
|
280
|
+
}
|
|
281
|
+
async trackEventAsync(event) {
|
|
282
|
+
try {
|
|
283
|
+
await this.eventTrackingApi.PostAnalyticsEventAsync({ event });
|
|
284
|
+
}
|
|
285
|
+
catch (_a) {
|
|
286
|
+
return;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
exports.EventTrackingService = EventTrackingService;
|
|
292
|
+
exports.customFundChoiceApi = customFundChoiceApi;
|
|
293
|
+
exports.iframe = iframe;
|
|
294
|
+
exports.navigationService = navigationService;
|
|
295
|
+
exports.state = state;
|
|
296
|
+
exports.superSelectionAppStencilRoutes = superSelectionAppStencilRoutes;
|
|
@@ -17,7 +17,7 @@ const defineCustomElements = (win, options) => {
|
|
|
17
17
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
18
18
|
return patchEsm().then(() => {
|
|
19
19
|
appGlobals.globalScripts();
|
|
20
|
-
return index.bootstrapLazy([["sss-super-byof-host.cjs",[[0,"sss-super-byof-host",{"history":[16],"backendUrl":[32],"accessToken":[32]}]]],["context-consumer.cjs",[[0,"context-consumer",{"context":[16],"renderer":[16],"subscribe":[16],"unsubscribe":[32]}]]],["stencil-async-content.cjs",[[0,"stencil-async-content",{"documentLocation":[1,"document-location"],"content":[32]}]]],["stencil-route-title.cjs",[[0,"stencil-route-title",{"titleSuffix":[1,"title-suffix"],"pageTitle":[1,"page-title"]}]]],["stencil-router-prompt.cjs",[[0,"stencil-router-prompt",{"when":[4],"message":[1],"history":[16],"unblock":[32]}]]],["stencil-router-redirect.cjs",[[0,"stencil-router-redirect",{"history":[16],"root":[1],"url":[1]}]]],["sss-button_32.cjs",[[0,"sss-prefill",{"history":[16],"prefill":[32]}],[1,"super-selection-app-host",{"sessionState":[32],"jwt":[32],"appConfiguration":[32],"ignoreExistingSelection":[32]}],[0,"sss-
|
|
20
|
+
return index.bootstrapLazy([["sss-default-fund-router.cjs",[[0,"sss-default-fund-router",{"history":[16]}]]],["sss-super-byof-host.cjs",[[0,"sss-super-byof-host",{"history":[16],"backendUrl":[32],"accessToken":[32]}]]],["context-consumer.cjs",[[0,"context-consumer",{"context":[16],"renderer":[16],"subscribe":[16],"unsubscribe":[32]}]]],["stencil-async-content.cjs",[[0,"stencil-async-content",{"documentLocation":[1,"document-location"],"content":[32]}]]],["stencil-route-title.cjs",[[0,"stencil-route-title",{"titleSuffix":[1,"title-suffix"],"pageTitle":[1,"page-title"]}]]],["stencil-router-prompt.cjs",[[0,"stencil-router-prompt",{"when":[4],"message":[1],"history":[16],"unblock":[32]}]]],["stencil-router-redirect.cjs",[[0,"stencil-router-redirect",{"history":[16],"root":[1],"url":[1]}]]],["sss-button_32.cjs",[[0,"sss-prefill",{"history":[16],"prefill":[32]}],[1,"super-selection-app-host",{"sessionState":[32],"jwt":[32],"appConfiguration":[32],"ignoreExistingSelection":[32]}],[0,"sss-super-campaign-featured-funds",{"history":[16],"backendUrl":[32],"accessToken":[32],"currentView":[32]}],[0,"sss-super-smsf-host",{"history":[16],"backendUrl":[32],"accessToken":[32]}],[0,"sss-existing-choice-page",{"history":[16],"existingFund":[32]}],[0,"sss-standard-choice-form",{"history":[16],"standardChoiceFormSignature":[32],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-success"],[0,"sss-choice-router",{"history":[16]}],[0,"sss-my-own-fund-engagement-step-host",{"history":[16],"backendUrl":[32],"accessToken":[32],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberFirstName":[32],"memberFamilyName":[32]}],[0,"sss-smsf-engagement-step-host",{"history":[16],"backendUrl":[32],"accessToken":[32],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddress":[32],"bsb":[32],"bankAccountName":[32],"bankAccountNumber":[32],"memberFirstName":[32],"memberFamilyName":[32],"accountId":[32],"partnerId":[32]}],[0,"sss-super-campaign-host",{"history":[16],"scriptImported":[32],"backendUrl":[32],"accessToken":[32]}],[0,"sss-dropdown-async",{"testId":[1,"test-id"],"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-name-input",{"testId":[1,"test-id"],"value":[1],"name":[1],"readableName":[1,"readable-name"],"showValidationErrors":[4,"show-validation-errors"],"errorMessage":[32]}],[0,"sss-prefill-my-own-fund",{"history":[16],"prefill":[16],"mode":[32],"formState":[32],"isSubmitDisabled":[32],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberGivenNames":[32],"memberLastName":[32]}],[0,"sss-prefill-smsf",{"history":[16],"prefill":[16],"mode":[32],"formState":[32],"isSubmitDisabled":[32],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddressLine1":[32],"fundAddressLine2":[32],"fundAddressCity":[32],"fundAddressPostcode":[32],"fundAddressState":[32],"fundAddress":[32],"memberGivenNames":[32],"memberLastName":[32],"bankAccountName":[32],"bankName":[32],"bankAccountBsb":[32],"bankAccountNumber":[32]}],[0,"sss-prefill-invalid-my-own-fund",{"history":[16],"prefill":[16],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberGivenNames":[32],"memberLastName":[32]}],[0,"sss-prefill-invalid-smsf",{"history":[16],"prefill":[16],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddressLine1":[32],"fundAddressLine2":[32],"fundAddressCity":[32],"fundAddressPostcode":[32],"fundAddressState":[32],"fundAddress":[32],"memberGivenNames":[32],"memberLastName":[32],"bankAccountName":[32],"bankAccountBsb":[32],"bankAccountNumber":[32]}],[1,"super-selection-app",{"ignoreExistingSelection":[4,"ignore-existing-selection"],"accessToken":[1,"access-token"],"backendUrl":[1,"backend-url"],"appBaseUrl":[1,"app-base-url"],"history":[16],"location":[16],"isSelfHosted":[4,"is-self-hosted"],"isAppInitialised":[32]}],[0,"sss-default-fund-host",{"history":[16],"backendUrl":[32],"accessToken":[32]}],[0,"sss-loading-page"],[0,"sss-footer-section",{"textOverride":[1,"text-override"]}],[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]}],[0,"sss-prefill-warning-box",{"notificationList":[16]}],[0,"sss-prefill-display-field",{"field":[16]}],[0,"sss-prefill-error-box",{"withHeader":[4,"with-header"],"notificationList":[16]}],[0,"sss-header-section"],[4,"sss-custom-fund",{"history":[16],"currentCustomFund":[32],"fundOptionsList":[32],"showFundOptionsSelection":[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",{"testid":[1],"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"]}]]],["sss-default-fund.cjs",[[0,"sss-default-fund",{"history":[16],"defaultFundProductName":[32]}]]]], options);
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
|