@flarehr/apollo-super-selection 5.1.47247 → 5.3.47886

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.
Files changed (33) hide show
  1. package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +1 -1
  2. package/dist/lib/apollo-super-selection/p-691ca20d.entry.js +14 -0
  3. package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +1 -1
  4. package/dist/lib/apollo-super-selection/p-faf9722e.system.entry.js +69 -0
  5. package/dist/lib/cjs/apollo-super-selection.cjs.js +1 -1
  6. package/dist/lib/cjs/loader.cjs.js +1 -1
  7. package/dist/lib/cjs/{sss-button_41.cjs.entry.js → sss-button_43.cjs.entry.js} +72 -42
  8. package/dist/lib/collection/collection-manifest.json +4 -0
  9. package/dist/lib/collection/components/super-campaign/super-campaign.js +5 -2
  10. package/dist/lib/collection/components/super-selection-app/consent/consent-wrapper.js +32 -0
  11. package/dist/lib/collection/components/super-selection-app/consent/consent.js +2 -0
  12. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-common.js +2 -2
  13. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-display-field.js +1 -1
  14. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-my-own-fund.js +5 -5
  15. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-smsf.js +15 -14
  16. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-types.js +22 -20
  17. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.routes.js +2 -2
  18. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page-wrapper.js +32 -0
  19. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +2 -0
  20. package/dist/lib/esm/apollo-super-selection.js +1 -1
  21. package/dist/lib/esm/loader.js +1 -1
  22. package/dist/lib/esm/{sss-button_41.entry.js → sss-button_43.entry.js} +71 -43
  23. package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
  24. package/dist/lib/esm-es5/loader.js +1 -1
  25. package/dist/lib/esm-es5/{sss-button_41.entry.js → sss-button_43.entry.js} +4 -4
  26. package/dist/lib/types/components/super-selection-app/consent/consent-wrapper.d.ts +5 -0
  27. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-common.d.ts +1 -1
  28. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-types.d.ts +4 -2
  29. package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-page-wrapper.d.ts +5 -0
  30. package/dist/lib/types/components.d.ts +30 -0
  31. package/package.json +1 -1
  32. package/dist/lib/apollo-super-selection/p-3a01a5cf.entry.js +0 -14
  33. package/dist/lib/apollo-super-selection/p-77a13ae8.system.entry.js +0 -69
@@ -76,12 +76,12 @@ export class PrefillMyOwnFund {
76
76
  h("path", { d: "M11.369 2.86865C11.9939 2.24381 13.0069 2.24381 13.6318 2.86865C14.2566 3.49349 14.2566 4.50656 13.6318 5.1314L12.9974 5.76571L10.7347 3.50297L11.369 2.86865Z" }),
77
77
  h("path", { d: "M9.60334 4.63434L2.90039 11.3373V13.6H5.16313L11.8661 6.89708L9.60334 4.63434Z" })))))),
78
78
  this.mode === 'edit' && (h("form", { noValidate: true, onSubmit: (ev) => ev.preventDefault(), class: { 'was-validated': this.formState === 'validated' }, ref: (el) => (this.formElement = el), onInput: (_) => (this.isSubmitDisabled = this.formHasMissingData()) },
79
- DisabledField(this.fundName.name, this.fundName.value),
80
- DisabledField(this.fundUsi.name, this.fundUsi.value),
79
+ DisabledField(this.fundName.name, this.fundName.testId, this.fundName.value),
80
+ DisabledField(this.fundUsi.name, this.fundUsi.testId, this.fundUsi.value),
81
81
  h("div", { class: "mt-3" },
82
82
  h("label", { class: "text-sm font-medium text-gray-700" }, this.memberNumber.name),
83
83
  h("div", { class: "mt-1" },
84
- h("input", { type: "text", class: Style.Input(this.formState === 'validated'), required: true, pattern: "[A-Za-z0-9]{4,16}", value: this.memberNumber.value, onInput: (ev) => {
84
+ h("input", { type: "text", class: Style.Input(this.formState === 'validated'), required: true, pattern: "[A-Za-z0-9]{4,16}", "data-testid": this.memberNumber.testId, value: this.memberNumber.value, onInput: (ev) => {
85
85
  this.updateMemberNumber(ev.target.value);
86
86
  } }),
87
87
  h("div", { class: "mt-2 text-sm text-red-600" }, this.formState === 'validated' && this.memberNumber.errorMessage))),
@@ -89,14 +89,14 @@ export class PrefillMyOwnFund {
89
89
  h("div", { class: "w-full sm:w-1/2" },
90
90
  h("label", { class: "text-sm font-medium text-gray-700" }, this.memberGivenNames.name),
91
91
  h("div", { class: "mt-1" },
92
- h("input", { type: "text", class: Style.Input(this.formState === 'validated'), required: true, pattern: NAME_PATTERN, value: this.memberGivenNames.value, onInput: (ev) => {
92
+ h("input", { type: "text", class: Style.Input(this.formState === 'validated'), required: true, pattern: NAME_PATTERN, "data-testid": this.memberGivenNames.testId, value: this.memberGivenNames.value, onInput: (ev) => {
93
93
  this.updateMemberGivenNames(ev.target.value);
94
94
  } }),
95
95
  h("div", { class: "mt-2 text-sm text-red-600" }, this.formState === 'validated' && this.memberGivenNames.errorMessage))),
96
96
  h("div", { class: "w-full sm:w-1/2" },
97
97
  h("label", { class: "text-sm font-medium text-gray-700" }, this.memberLastName.name),
98
98
  h("div", { class: "mt-1" },
99
- h("input", { type: "text", class: Style.Input(this.formState === 'validated'), required: true, pattern: NAME_PATTERN, value: this.memberLastName.value, onInput: (ev) => {
99
+ h("input", { type: "text", class: Style.Input(this.formState === 'validated'), required: true, pattern: NAME_PATTERN, "data-testid": this.memberLastName.testId, value: this.memberLastName.value, onInput: (ev) => {
100
100
  this.updateMemberLastName(ev.target.value);
101
101
  } }),
102
102
  h("div", { class: "mt-2 text-sm text-red-600" }, this.formState === 'validated' && this.memberLastName.errorMessage)))))))),
@@ -95,35 +95,35 @@ export class PrefillSMSF {
95
95
  h("div", { class: "mt-3" },
96
96
  h("label", { class: "text-sm font-medium text-gray-700" }, this.fundName.name),
97
97
  h("div", { class: "mt-1" },
98
- h("input", { type: "text", class: Style.Input(this.formState === 'validated'), required: true, value: this.fundName.value, onInput: (ev) => {
98
+ h("input", { type: "text", class: Style.Input(this.formState === 'validated'), required: true, "data-testid": this.fundName.testId, value: this.fundName.value, onInput: (ev) => {
99
99
  this.updateFundName(ev.target.value);
100
100
  } }),
101
101
  h("div", { class: "mt-2 text-sm text-red-600" }, this.formState === 'validated' && this.fundName.errorMessage))),
102
- DisabledField(this.fundAbn.name, this.fundAbn.value),
102
+ DisabledField(this.fundAbn.name, this.fundAbn.testId, this.fundAbn.value),
103
103
  h("div", { class: "mt-3" },
104
104
  h("label", { class: "text-sm font-medium text-gray-700" }, this.fundEsa.name),
105
105
  h("div", { class: "mt-1" },
106
- h("input", { type: "text", class: Style.Input(this.formState === 'validated'), required: true, minlength: "2", value: this.fundEsa.value, onInput: (ev) => {
106
+ h("input", { type: "text", class: Style.Input(this.formState === 'validated'), required: true, minlength: "2", "data-testid": this.fundEsa.testId, value: this.fundEsa.value, onInput: (ev) => {
107
107
  this.updateFundEsa(ev.target.value);
108
108
  } }),
109
109
  h("div", { class: "mt-2 text-sm text-red-600" }, this.formState === 'validated' && this.fundEsa.errorMessage))),
110
110
  h("div", { class: "mt-3" },
111
111
  h("label", { class: "text-sm font-medium text-gray-700" }, "Fund address"),
112
112
  h("div", { class: "mt-1 rounded-md shadow-sm -space-y-px" },
113
- h("input", { placeholder: "Address line 1", type: "text", class: Object.assign(Object.assign({}, Style.Input(this.formState === 'validated')), { 'rounded-none rounded-t-md shadow-none border-b-0': true }), required: true, minlength: "2", name: "addressLine1", id: "addressLine1", value: this.fundAddressLine1.value, onInput: (ev) => {
113
+ h("input", { placeholder: "Address line 1", type: "text", class: Object.assign(Object.assign({}, Style.Input(this.formState === 'validated')), { 'rounded-none rounded-t-md shadow-none border-b-0': true }), required: true, minlength: "2", name: "addressLine1", id: "addressLine1", "data-testid": this.fundAddressLine1.testId, value: this.fundAddressLine1.value, onInput: (ev) => {
114
114
  this.updateAddressLine1(ev.target.value);
115
115
  } }),
116
- h("input", { placeholder: "Address line 2 (optional)", type: "text", class: Object.assign(Object.assign({}, Style.Input(this.formState === 'validated')), { 'rounded-none shadow-none border-b-0': true }), value: this.fundAddressLine2.value, onInput: (ev) => this.updateAddressLine2(ev.target.value) }),
117
- h("input", { placeholder: "City/suburb", type: "text", class: Object.assign(Object.assign({}, Style.Input(this.formState === 'validated')), { 'rounded-none shadow-none border-b-0': true }), required: true, value: this.fundAddressCity.value, onInput: (ev) => {
116
+ h("input", { placeholder: "Address line 2 (optional)", type: "text", class: Object.assign(Object.assign({}, Style.Input(this.formState === 'validated')), { 'rounded-none shadow-none border-b-0': true }), "data-testid": this.fundAddressLine2.testId, value: this.fundAddressLine2.value, onInput: (ev) => this.updateAddressLine2(ev.target.value) }),
117
+ h("input", { placeholder: "City/suburb", type: "text", class: Object.assign(Object.assign({}, Style.Input(this.formState === 'validated')), { 'rounded-none shadow-none border-b-0': true }), required: true, "data-testid": this.fundAddressCity.testId, value: this.fundAddressCity.value, onInput: (ev) => {
118
118
  this.updateAddressCity(ev.target.value);
119
119
  } }),
120
120
  h("div", { class: "flex -space-x-px" },
121
121
  h("div", { class: "w-1/2 flex-1 min-w-0" },
122
- h("input", { placeholder: "Postcode", type: "text", required: true, class: Object.assign(Object.assign({}, Style.Input(this.formState === 'validated')), { 'rounded-none rounded-bl-md shadow-none border-r-0': true }), name: "postcode", minlength: "4", maxlength: "4", pattern: "[0-9]{4}", id: "postcode", value: this.fundAddressPostcode.value, inputmode: "numeric", onInput: (ev) => {
122
+ h("input", { placeholder: "Postcode", type: "text", required: true, class: Object.assign(Object.assign({}, Style.Input(this.formState === 'validated')), { 'rounded-none rounded-bl-md shadow-none border-r-0': true }), name: "postcode", minlength: "4", maxlength: "4", pattern: "[0-9]{4}", id: "postcode", "data-testid": this.fundAddressPostcode.testId, value: this.fundAddressPostcode.value, inputmode: "numeric", onInput: (ev) => {
123
123
  this.updateAddressPostcode(ev.target.value);
124
124
  } })),
125
125
  h("div", { class: "flex-1 min-w-0" },
126
- h("select", { class: Object.assign(Object.assign({}, Style.Input(this.formState === 'validated')), { 'rounded-none rounded-br-md shadow-none': true, 'text-gray-500': this.formState !== 'validated' }), name: "state", required: true, id: "state", onInput: (ev) => {
126
+ h("select", { class: Object.assign(Object.assign({}, Style.Input(this.formState === 'validated')), { 'rounded-none rounded-br-md shadow-none': true, 'text-gray-500': this.formState !== 'validated' }), name: "state", required: true, "data-testid": this.fundAddressState.testId, id: "state", onInput: (ev) => {
127
127
  this.updateAddressState(ev.target.value);
128
128
  } },
129
129
  h("option", { disabled: true, selected: this.fundAddressState.value !== undefined, value: "" }, "State"),
@@ -137,14 +137,14 @@ export class PrefillSMSF {
137
137
  h("div", { class: "mt-3 w-full sm:w-1/2" },
138
138
  h("label", { class: "text-sm font-medium text-gray-700" }, this.memberGivenNames.name),
139
139
  h("div", { class: "mt-1" },
140
- h("input", { type: "text", class: Style.Input(this.formState === 'validated'), required: true, value: this.memberGivenNames.value, onInput: (ev) => {
140
+ h("input", { type: "text", class: Style.Input(this.formState === 'validated'), required: true, "data-testid": this.memberGivenNames.testId, value: this.memberGivenNames.value, onInput: (ev) => {
141
141
  this.updateMemberGivenNames(ev.target.value);
142
142
  } }),
143
143
  h("div", { class: "mt-2 text-sm text-red-600" }, this.formState === 'validated' && this.memberGivenNames.errorMessage))),
144
144
  h("div", { class: "mt-3 w-full sm:w-1/2" },
145
145
  h("label", { class: "text-sm font-medium text-gray-700" }, this.memberLastName.name),
146
146
  h("div", { class: "mt-1" },
147
- h("input", { type: "text", class: Style.Input(this.formState === 'validated'), required: true, value: this.memberLastName.value, onInput: (ev) => {
147
+ h("input", { type: "text", class: Style.Input(this.formState === 'validated'), required: true, "data-testid": this.memberLastName.testId, value: this.memberLastName.value, onInput: (ev) => {
148
148
  this.updateMemberLastName(ev.target.value);
149
149
  } }),
150
150
  h("div", { class: "mt-2 text-sm text-red-600" }, this.formState === 'validated' && this.memberLastName.errorMessage)))),
@@ -152,24 +152,25 @@ export class PrefillSMSF {
152
152
  h("div", { class: "mt-3" },
153
153
  h("label", { class: "text-sm font-medium text-gray-700" }, this.bankAccountName.name),
154
154
  h("div", { class: "mt-1" },
155
- h("input", { type: "text", class: Style.Input(this.formState === 'validated'), required: true, value: this.bankAccountName.value, onInput: (ev) => {
155
+ h("input", { type: "text", class: Style.Input(this.formState === 'validated'), required: true, "data-testid": this.bankAccountName.testId, value: this.bankAccountName.value, onInput: (ev) => {
156
156
  this.updateBankAccountName(ev.target.value);
157
157
  } }),
158
158
  h("div", { class: "mt-2 text-sm text-red-600" }, this.formState === 'validated' && this.bankAccountName.errorMessage))),
159
159
  h("div", { class: "mt-3" },
160
160
  h("label", { class: "text-sm font-medium text-gray-700" }, this.bankAccountBsb.name),
161
161
  h("div", { class: "mt-1" },
162
- h("input", { type: "text", class: Style.Input(this.formState === 'validated'), required: true, value: this.bankAccountBsb.value, onInput: (ev) => {
162
+ h("input", { type: "text", class: Style.Input(this.formState === 'validated'), required: true, "data-testid": this.bankAccountBsb.testId, value: this.bankAccountBsb.value, onInput: (ev) => {
163
163
  const bsb = ev.target.value;
164
164
  this.updateBankName(bsb);
165
165
  this.updateBankAccountBsb(bsb);
166
166
  } }),
167
167
  h("div", { class: "mt-2 text-sm text-red-600" }, this.formState === 'validated' && this.bankAccountBsb.errorMessage))),
168
- this.bankName.isValid && DisabledField(this.bankName.name, this.bankName.value),
168
+ this.bankName.isValid &&
169
+ DisabledField(this.bankName.name, this.bankName.testId, this.bankName.value),
169
170
  h("div", { class: "mt-3" },
170
171
  h("label", { class: "text-sm font-medium text-gray-700" }, this.bankAccountNumber.name),
171
172
  h("div", { class: "mt-1" },
172
- h("input", { type: "text", class: Style.Input(this.formState === 'validated'), required: true, value: this.bankAccountNumber.value, onInput: (ev) => {
173
+ h("input", { type: "text", class: Style.Input(this.formState === 'validated'), required: true, "data-testid": this.bankAccountNumber.testId, value: this.bankAccountNumber.value, onInput: (ev) => {
173
174
  this.updateBankAccountNumber(ev.target.value);
174
175
  } }),
175
176
  h("div", { class: "mt-2 text-sm text-red-600" }, this.formState === 'validated' && this.bankAccountNumber.errorMessage))))))),
@@ -1,8 +1,9 @@
1
1
  import { isNullOrWhitespace } from './prefill-common';
2
2
  export const NAME_PATTERN = "[A-Za-z][A-Za-z']+(( |-)[A-Za-z][A-Za-z']+)*\\s*$";
3
3
  export class FormField {
4
- constructor(name, value) {
4
+ constructor(name, testId, value) {
5
5
  this.name = name;
6
+ this.testId = testId;
6
7
  this._value = value !== null && value !== void 0 ? value : '';
7
8
  this._errorMessage = this.validateAndReturnErrorMessage(this._value);
8
9
  }
@@ -24,8 +25,9 @@ export class FormField {
24
25
  }
25
26
  }
26
27
  export class StaticFormField {
27
- constructor(name, value, isValid) {
28
+ constructor(name, testId, value, isValid) {
28
29
  this.name = name;
30
+ this.testId = testId;
29
31
  this._value = value !== null && value !== void 0 ? value : '';
30
32
  this._isValid = isValid;
31
33
  }
@@ -41,17 +43,17 @@ export class StaticFormField {
41
43
  }
42
44
  export class FundUsi extends StaticFormField {
43
45
  constructor(value, isValid) {
44
- super('Fund USI', value, isValid);
46
+ super('Fund USI', 'fund-usi', value, isValid);
45
47
  }
46
48
  }
47
49
  export class FundName extends StaticFormField {
48
50
  constructor(value, isValid) {
49
- super('Fund name', value, isValid);
51
+ super('Fund name', 'fund-name', value, isValid);
50
52
  }
51
53
  }
52
54
  export class SmsfFundName extends FormField {
53
55
  constructor(value) {
54
- super('Fund name', value);
56
+ super('Fund name', 'smsf-fund-name', value);
55
57
  }
56
58
  validateAndReturnErrorMessage(newValue) {
57
59
  if (isNullOrWhitespace(newValue)) {
@@ -67,7 +69,7 @@ export class SmsfFundName extends FormField {
67
69
  }
68
70
  export class MemberNumber extends FormField {
69
71
  constructor(value) {
70
- super('Member number', value);
72
+ super('Member number', 'member-number', value);
71
73
  }
72
74
  validateAndReturnErrorMessage(newValue) {
73
75
  const regex = /^[A-Za-z0-9]{4,16}$/;
@@ -84,7 +86,7 @@ export class MemberNumber extends FormField {
84
86
  }
85
87
  export class MemberLastName extends FormField {
86
88
  constructor(value) {
87
- super('Member last name', value);
89
+ super('Member last name', 'member-last-name', value);
88
90
  }
89
91
  validateAndReturnErrorMessage(newValue) {
90
92
  const regex = new RegExp(NAME_PATTERN);
@@ -101,7 +103,7 @@ export class MemberLastName extends FormField {
101
103
  }
102
104
  export class MemberGivenNames extends FormField {
103
105
  constructor(value) {
104
- super('Member given name(s)', value);
106
+ super('Member given name(s)', 'member-given-names', value);
105
107
  }
106
108
  validateAndReturnErrorMessage(newValue) {
107
109
  const regex = new RegExp(NAME_PATTERN);
@@ -118,12 +120,12 @@ export class MemberGivenNames extends FormField {
118
120
  }
119
121
  export class FundAbn extends StaticFormField {
120
122
  constructor(value, isValid) {
121
- super('Fund ABN', value, isValid);
123
+ super('Fund ABN', 'fund-abn', value, isValid);
122
124
  }
123
125
  }
124
126
  export class FundEsa extends FormField {
125
127
  constructor(value) {
126
- super('Fund ESA', value);
128
+ super('Fund ESA', 'fund-esa', value);
127
129
  }
128
130
  validateAndReturnErrorMessage(newValue) {
129
131
  if (isNullOrWhitespace(newValue)) {
@@ -139,7 +141,7 @@ export class FundEsa extends FormField {
139
141
  }
140
142
  export class FundAddressLine1 extends FormField {
141
143
  constructor(value) {
142
- super('Address line 1', value);
144
+ super('Address line 1', 'address-line-one', value);
143
145
  }
144
146
  validateAndReturnErrorMessage(newValue) {
145
147
  if (isNullOrWhitespace(newValue)) {
@@ -155,7 +157,7 @@ export class FundAddressLine1 extends FormField {
155
157
  }
156
158
  export class FundAddressLine2 extends FormField {
157
159
  constructor(value) {
158
- super('Address line 2', value);
160
+ super('Address line 2', 'address-line-two', value);
159
161
  }
160
162
  validateAndReturnErrorMessage(_newValue) {
161
163
  return null;
@@ -163,7 +165,7 @@ export class FundAddressLine2 extends FormField {
163
165
  }
164
166
  export class FundAddressCity extends FormField {
165
167
  constructor(value) {
166
- super('City/suburb', value);
168
+ super('City/suburb', 'city-suburb', value);
167
169
  }
168
170
  validateAndReturnErrorMessage(newValue) {
169
171
  if (isNullOrWhitespace(newValue)) {
@@ -176,7 +178,7 @@ export class FundAddressCity extends FormField {
176
178
  }
177
179
  export class FundAddressPostcode extends FormField {
178
180
  constructor(value) {
179
- super('Postcode', value);
181
+ super('Postcode', 'postcode', value);
180
182
  }
181
183
  validateAndReturnErrorMessage(newValue) {
182
184
  const regex = /^[0-9]{4}$/;
@@ -193,7 +195,7 @@ export class FundAddressPostcode extends FormField {
193
195
  }
194
196
  export class FundAddressState extends FormField {
195
197
  constructor(value) {
196
- super('State', value);
198
+ super('State', 'state', value);
197
199
  }
198
200
  get options() {
199
201
  return [
@@ -226,12 +228,12 @@ export class FundAddress extends StaticFormField {
226
228
  .filter((v) => v)
227
229
  .join(', ');
228
230
  const isValid = addrLine1.isValid && addrLine2.isValid && city.isValid && state.isValid && postcode.isValid;
229
- super('Fund address', value, isValid);
231
+ super('Fund address', 'fund-address', value, isValid);
230
232
  }
231
233
  }
232
234
  export class BankAccountName extends FormField {
233
235
  constructor(value) {
234
- super('Account name', value);
236
+ super('Account name', 'account-name', value);
235
237
  }
236
238
  validateAndReturnErrorMessage(newValue) {
237
239
  if (isNullOrWhitespace(newValue)) {
@@ -247,12 +249,12 @@ export class BankAccountName extends FormField {
247
249
  }
248
250
  export class BankName extends StaticFormField {
249
251
  constructor(value, isValid) {
250
- super('Bank name', value, isValid);
252
+ super('Bank name', 'bank-name', value, isValid);
251
253
  }
252
254
  }
253
255
  export class BankAccountBsb extends FormField {
254
256
  constructor(value) {
255
- super('BSB', value);
257
+ super('BSB', 'bsb', value);
256
258
  }
257
259
  validateAndReturnErrorMessage(newValue) {
258
260
  const regex = /^[0-9]{6,7}$/;
@@ -269,7 +271,7 @@ export class BankAccountBsb extends FormField {
269
271
  }
270
272
  export class BankAccountNumber extends FormField {
271
273
  constructor(value) {
272
- super('Account number', value);
274
+ super('Account number', 'account-number', value);
273
275
  }
274
276
  validateAndReturnErrorMessage(newValue) {
275
277
  const regex = /^[0-9]{2,11}$/;
@@ -20,10 +20,10 @@ export var SuperSelectionAppRoutes;
20
20
  SuperSelectionAppRoutes["Success"] = "/success/";
21
21
  })(SuperSelectionAppRoutes || (SuperSelectionAppRoutes = {}));
22
22
  export const superSelectionAppStencilRoutes = [
23
- h("stencil-route", { url: SuperSelectionAppRoutes.ConsentPage, component: "sss-consent-page" }),
23
+ h("stencil-route", { url: SuperSelectionAppRoutes.ConsentPage, component: "sss-consent-page-wrapper" }),
24
24
  h("stencil-route", { url: SuperSelectionAppRoutes.ExistingChoicePage, component: "sss-existing-choice-page" }),
25
25
  h("stencil-route", { url: SuperSelectionAppRoutes.SuperCampaign, component: "sss-super-campaign-host" }),
26
- h("stencil-route", { exact: true, url: SuperSelectionAppRoutes.ChoicePage, component: "sss-super-choice-page" }),
26
+ h("stencil-route", { exact: true, url: SuperSelectionAppRoutes.ChoicePage, component: "sss-super-choice-page-wrapper" }),
27
27
  h("stencil-route", { url: SuperSelectionAppRoutes.SlateJoin, component: "sss-slate-join-page" }),
28
28
  h("stencil-route", { url: SuperSelectionAppRoutes.PromotedFundJoinV1, component: "sss-promoted-fund-join-v1-page" }),
29
29
  h("stencil-route", { url: SuperSelectionAppRoutes.PromotedFundJoinV2, component: "sss-promoted-fund-join-v2-page" }),
@@ -0,0 +1,32 @@
1
+ import { Component, h, Prop } from '@stencil/core';
2
+ import { injectHistory } from '@stencil/router';
3
+ import superSelectionService from '../services/super-selection-app.service';
4
+ export class SuperChoicePageWrapper {
5
+ render() {
6
+ return superSelectionService.state.superCampaignEnabled ? (h("sss-super-campaign-host", null)) : (h("sss-super-choice-page", null));
7
+ }
8
+ static get is() { return "sss-super-choice-page-wrapper"; }
9
+ static get properties() { return {
10
+ "history": {
11
+ "type": "unknown",
12
+ "mutable": false,
13
+ "complexType": {
14
+ "original": "RouterHistory",
15
+ "resolved": "RouterHistory",
16
+ "references": {
17
+ "RouterHistory": {
18
+ "location": "import",
19
+ "path": "@stencil/router"
20
+ }
21
+ }
22
+ },
23
+ "required": false,
24
+ "optional": false,
25
+ "docs": {
26
+ "tags": [],
27
+ "text": ""
28
+ }
29
+ }
30
+ }; }
31
+ }
32
+ injectHistory(SuperChoicePageWrapper);
@@ -1,4 +1,5 @@
1
1
  import { Component, getAssetPath, h, Host, Prop, State } from '@stencil/core';
2
+ import { injectHistory } from '@stencil/router';
2
3
  import * as O from 'fp-ts/lib/Option';
3
4
  import * as constants from '../funds/constants';
4
5
  import promotedFundState from '../funds/promoted-fund/promoted-fund.store';
@@ -171,3 +172,4 @@ export class SuperChoicePage {
171
172
  "promotedFunds": {}
172
173
  }; }
173
174
  }
175
+ injectHistory(SuperChoicePage);
@@ -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_41",[[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]}],[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],"campaignConnectRequestInProgress":[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-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-super-campaign-host",{"history":[16],"componentLoaded":[32],"backendUrl":[32],"accessToken":[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-my-own-fund-inputs",{"myOwnFundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"selectedOption":[32]}],[0,"sss-loading-super-indicator"],[0,"sss-self-managed-fund-inputs",{"fundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"isAbnValid":[32],"isAbnTouched":[32],"isAbnUsedForRegulated":[32],"currentBank":[32],"addressErrorMessage":[32]}],[0,"sss-super-choice-item-bottom",{"disclaimer":[16],"abnInfo":[1,"abn-info"],"abn":[1],"isMultiFund":[4,"is-multi-fund"]}],[0,"sss-loading-page"],[0,"sss-super-choice-item-top",{"name":[1],"logo":[1],"features":[16],"featureSubText":[16],"customContent":[16],"isMultiFund":[4,"is-multi-fund"],"isPromotedDefault":[4,"is-promoted-default"],"extraBadge":[16]}],[4,"sss-loading-component",{"header":[1]}],[0,"sss-dropdown-async",{"placeholder":[1],"searchFunction":[16],"value":[16],"required":[4],"requiredValidationMessage":[1,"required-validation-message"],"disabled":[4],"minSearchStringLength":[2,"min-search-string-length"],"showValidationErrors":[4,"show-validation-errors"],"searchState":[32],"inputValue":[32],"isDropdownVisible":[32],"filteredOptions":[32],"highlightedOptionIndex":[32],"selectedOption":[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-footer-section",{"textOverride":[16]}],[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);
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_43",[[0,"sss-prefill",{"history":[16],"prefill":[32]}],[0,"sss-my-own-fund",{"history":[16],"formState":[32],"isNotAllInformationProvidedMessageVisible":[32],"isSubmitDisabled":[32]}],[0,"sss-super-choice-page-wrapper",{"history":[16]}],[0,"sss-self-managed-fund",{"history":[16],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-consent-page-wrapper",{"history":[16]}],[1,"super-selection-app-host",{"sessionState":[32],"jwt":[32],"appConfiguration":[32],"ignoreExistingSelection":[32]}],[0,"sss-default-fund",{"history":[16],"defaultFundProductName":[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-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-super-choice-page",{"history":[16],"promotedFunds":[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-consent-page",{"history":[16],"campaignConnectRequestInProgress":[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-loading-page"],[0,"sss-loading-super-indicator"],[0,"sss-super-choice-item-bottom",{"disclaimer":[16],"abnInfo":[1,"abn-info"],"abn":[1],"isMultiFund":[4,"is-multi-fund"]}],[0,"sss-super-campaign-host",{"history":[16],"componentLoaded":[32],"backendUrl":[32],"accessToken":[32]}],[0,"sss-dropdown-async",{"placeholder":[1],"searchFunction":[16],"value":[16],"required":[4],"requiredValidationMessage":[1,"required-validation-message"],"disabled":[4],"minSearchStringLength":[2,"min-search-string-length"],"showValidationErrors":[4,"show-validation-errors"],"searchState":[32],"inputValue":[32],"isDropdownVisible":[32],"filteredOptions":[32],"highlightedOptionIndex":[32],"selectedOption":[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-footer-section",{"textOverride":[16]}],[0,"sss-super-choice-item-top",{"name":[1],"logo":[1],"features":[16],"featureSubText":[16],"customContent":[16],"isMultiFund":[4,"is-multi-fund"],"isPromotedDefault":[4,"is-promoted-default"],"extraBadge":[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]}],[4,"sss-loading-component",{"header":[1]}],[0,"sss-iframe-host",{"build":[16]}],[0,"sss-prefill-warning-box",{"notificationList":[16]}],[0,"sss-name-input",{"value":[1],"name":[1],"readableName":[1,"readable-name"],"showValidationErrors":[4,"show-validation-errors"],"errorMessage":[32]}],[0,"sss-header-section",{"currentPage":[1,"current-page"]}],[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
  });
@@ -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_41",[[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]}],[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],"campaignConnectRequestInProgress":[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-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-super-campaign-host",{"history":[16],"componentLoaded":[32],"backendUrl":[32],"accessToken":[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-my-own-fund-inputs",{"myOwnFundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"selectedOption":[32]}],[0,"sss-loading-super-indicator"],[0,"sss-self-managed-fund-inputs",{"fundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"isAbnValid":[32],"isAbnTouched":[32],"isAbnUsedForRegulated":[32],"currentBank":[32],"addressErrorMessage":[32]}],[0,"sss-super-choice-item-bottom",{"disclaimer":[16],"abnInfo":[1,"abn-info"],"abn":[1],"isMultiFund":[4,"is-multi-fund"]}],[0,"sss-loading-page"],[0,"sss-super-choice-item-top",{"name":[1],"logo":[1],"features":[16],"featureSubText":[16],"customContent":[16],"isMultiFund":[4,"is-multi-fund"],"isPromotedDefault":[4,"is-promoted-default"],"extraBadge":[16]}],[4,"sss-loading-component",{"header":[1]}],[0,"sss-dropdown-async",{"placeholder":[1],"searchFunction":[16],"value":[16],"required":[4],"requiredValidationMessage":[1,"required-validation-message"],"disabled":[4],"minSearchStringLength":[2,"min-search-string-length"],"showValidationErrors":[4,"show-validation-errors"],"searchState":[32],"inputValue":[32],"isDropdownVisible":[32],"filteredOptions":[32],"highlightedOptionIndex":[32],"selectedOption":[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-footer-section",{"textOverride":[16]}],[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);
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_43",[[0,"sss-prefill",{"history":[16],"prefill":[32]}],[0,"sss-my-own-fund",{"history":[16],"formState":[32],"isNotAllInformationProvidedMessageVisible":[32],"isSubmitDisabled":[32]}],[0,"sss-super-choice-page-wrapper",{"history":[16]}],[0,"sss-self-managed-fund",{"history":[16],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-consent-page-wrapper",{"history":[16]}],[1,"super-selection-app-host",{"sessionState":[32],"jwt":[32],"appConfiguration":[32],"ignoreExistingSelection":[32]}],[0,"sss-default-fund",{"history":[16],"defaultFundProductName":[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-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-super-choice-page",{"history":[16],"promotedFunds":[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-consent-page",{"history":[16],"campaignConnectRequestInProgress":[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-loading-page"],[0,"sss-loading-super-indicator"],[0,"sss-super-choice-item-bottom",{"disclaimer":[16],"abnInfo":[1,"abn-info"],"abn":[1],"isMultiFund":[4,"is-multi-fund"]}],[0,"sss-super-campaign-host",{"history":[16],"componentLoaded":[32],"backendUrl":[32],"accessToken":[32]}],[0,"sss-dropdown-async",{"placeholder":[1],"searchFunction":[16],"value":[16],"required":[4],"requiredValidationMessage":[1,"required-validation-message"],"disabled":[4],"minSearchStringLength":[2,"min-search-string-length"],"showValidationErrors":[4,"show-validation-errors"],"searchState":[32],"inputValue":[32],"isDropdownVisible":[32],"filteredOptions":[32],"highlightedOptionIndex":[32],"selectedOption":[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-footer-section",{"textOverride":[16]}],[0,"sss-super-choice-item-top",{"name":[1],"logo":[1],"features":[16],"featureSubText":[16],"customContent":[16],"isMultiFund":[4,"is-multi-fund"],"isPromotedDefault":[4,"is-promoted-default"],"extraBadge":[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]}],[4,"sss-loading-component",{"header":[1]}],[0,"sss-iframe-host",{"build":[16]}],[0,"sss-prefill-warning-box",{"notificationList":[16]}],[0,"sss-name-input",{"value":[1],"name":[1],"readableName":[1,"readable-name"],"showValidationErrors":[4,"show-validation-errors"],"errorMessage":[32]}],[0,"sss-header-section",{"currentPage":[1,"current-page"]}],[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