@flarehr/apollo-super-selection 1.3.65232 → 1.4.32906

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 (103) hide show
  1. package/dist/lib/apollo-super-selection/apollo-super-selection.css +1 -1
  2. package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +1 -1
  3. package/dist/lib/apollo-super-selection/apollo-super-selection.js +1 -1
  4. package/dist/lib/apollo-super-selection/p-2054e932.system.entry.js +69 -0
  5. package/dist/lib/apollo-super-selection/{p-ef3afa00.system.entry.js → p-22939048.system.entry.js} +1 -1
  6. package/dist/lib/apollo-super-selection/p-24d6e2b8.js +1 -0
  7. package/dist/lib/apollo-super-selection/{p-02f24922.system.entry.js → p-2b42304a.system.entry.js} +1 -1
  8. package/dist/lib/apollo-super-selection/{p-9c855634.entry.js → p-33eca162.entry.js} +1 -1
  9. package/dist/lib/apollo-super-selection/p-4e871154.entry.js +1 -0
  10. package/dist/lib/apollo-super-selection/{p-6ac8791e.system.entry.js → p-53b231f0.system.entry.js} +1 -1
  11. package/dist/lib/apollo-super-selection/{p-b89b68db.entry.js → p-5c73c587.entry.js} +1 -1
  12. package/dist/lib/apollo-super-selection/{p-fcb4050d.entry.js → p-69bbf1dd.entry.js} +1 -1
  13. package/dist/lib/apollo-super-selection/{p-44bec843.system.js → p-71ca4cf8.system.js} +1 -1
  14. package/dist/lib/apollo-super-selection/p-9101bd39.entry.js +14 -0
  15. package/dist/lib/apollo-super-selection/p-97188c78.system.js +1 -0
  16. package/dist/lib/apollo-super-selection/{p-23cfdd82.entry.js → p-9d2a7c0e.entry.js} +1 -1
  17. package/dist/lib/apollo-super-selection/p-a0063575.system.entry.js +1 -0
  18. package/dist/lib/apollo-super-selection/p-b00f648b.entry.js +1 -0
  19. package/dist/lib/apollo-super-selection/p-bd6e6a8f.system.js +1 -0
  20. package/dist/lib/apollo-super-selection/p-c775c0e4.system.entry.js +1 -0
  21. package/dist/lib/apollo-super-selection/p-cd3ed541.system.js +1 -0
  22. package/dist/lib/apollo-super-selection/{p-51c6dd08.js → p-db0bded8.js} +1 -1
  23. package/dist/lib/apollo-super-selection/{p-f29066b9.system.entry.js → p-e957b393.system.entry.js} +1 -1
  24. package/dist/lib/apollo-super-selection/{p-7a89efaf.js → p-fdadb647.js} +1 -1
  25. package/dist/lib/cjs/apollo-super-selection.cjs.js +1 -1
  26. package/dist/lib/cjs/custom-fund-choice.api-293c1ace.js +3209 -0
  27. package/dist/lib/cjs/loader.cjs.js +1 -1
  28. package/dist/lib/cjs/{sss-button_34.cjs.entry.js → sss-button_32.cjs.entry.js} +577 -3838
  29. package/dist/lib/cjs/sss-super-byof-host.cjs.entry.js +111 -0
  30. package/dist/lib/collection/apollo-super-selection.css +1 -1
  31. package/dist/lib/collection/collection-manifest.json +6 -9
  32. package/dist/lib/collection/components/super-byof/super-byof-types.js +1 -0
  33. package/dist/lib/collection/components/super-byof/super-byof.js +139 -0
  34. package/dist/lib/collection/components/super-campaign/super-campaign.js +15 -18
  35. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/custom-fund.js +5 -5
  36. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/smsf-engagement-step-host.js +161 -0
  37. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/smsf-engagement-step-types.js +1 -0
  38. package/dist/lib/collection/components/super-selection-app/header-section/header-section.js +24 -5
  39. package/dist/lib/collection/components/super-selection-app/services/event-tracking.service.js +10 -0
  40. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.routes.js +4 -2
  41. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +4 -0
  42. package/dist/lib/collection/components/super-selection-app/services/super-selection.store.js +1 -0
  43. package/dist/lib/collection/components/super-smsf/super-smsf-types.js +1 -0
  44. package/dist/lib/collection/components/super-smsf/super-smsf.form.js +1 -0
  45. package/dist/lib/collection/components/super-smsf/super-smsf.js +166 -0
  46. package/dist/lib/esm/{active-router-5e40c0f8.js → active-router-d18b36fb.js} +1 -1
  47. package/dist/lib/esm/apollo-super-selection.js +2 -2
  48. package/dist/lib/esm/context-consumer.entry.js +1 -1
  49. package/dist/lib/esm/custom-fund-choice.api-42801d64.js +3188 -0
  50. package/dist/lib/esm/{index-189b2180.js → index-107d7c24.js} +1 -1
  51. package/dist/lib/esm/loader.js +2 -2
  52. package/dist/lib/esm/{sss-button_34.entry.js → sss-button_32.entry.js} +374 -3633
  53. package/dist/lib/esm/sss-super-byof-host.entry.js +107 -0
  54. package/dist/lib/esm/stencil-async-content.entry.js +1 -1
  55. package/dist/lib/esm/stencil-route-title.entry.js +2 -2
  56. package/dist/lib/esm/stencil-router-prompt.entry.js +2 -2
  57. package/dist/lib/esm/stencil-router-redirect.entry.js +2 -2
  58. package/dist/lib/esm-es5/{active-router-5e40c0f8.js → active-router-d18b36fb.js} +1 -1
  59. package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
  60. package/dist/lib/esm-es5/context-consumer.entry.js +1 -1
  61. package/dist/lib/esm-es5/custom-fund-choice.api-42801d64.js +1 -0
  62. package/dist/lib/esm-es5/{index-189b2180.js → index-107d7c24.js} +1 -1
  63. package/dist/lib/esm-es5/loader.js +1 -1
  64. package/dist/lib/esm-es5/sss-button_32.entry.js +69 -0
  65. package/dist/lib/esm-es5/sss-super-byof-host.entry.js +1 -0
  66. package/dist/lib/esm-es5/stencil-async-content.entry.js +1 -1
  67. package/dist/lib/esm-es5/stencil-route-title.entry.js +1 -1
  68. package/dist/lib/esm-es5/stencil-router-prompt.entry.js +1 -1
  69. package/dist/lib/esm-es5/stencil-router-redirect.entry.js +1 -1
  70. package/dist/lib/types/components/super-byof/super-byof-types.d.ts +26 -0
  71. package/dist/lib/types/components/super-byof/super-byof.d.ts +19 -0
  72. package/dist/lib/types/components/super-byof/super-byof.form.d.ts +6 -0
  73. package/dist/lib/types/components/super-campaign/super-campaign.d.ts +0 -1
  74. package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +8 -0
  75. package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +1 -0
  76. package/dist/lib/types/components/super-selection-app/funds/custom-fund/custom-fund.store.d.ts +1 -1
  77. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/smsf-engagement-step-host.d.ts +28 -0
  78. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/smsf-engagement-step-types.d.ts +15 -0
  79. package/dist/lib/types/components/super-selection-app/services/event-tracking.service.d.ts +2 -0
  80. package/dist/lib/types/components/super-selection-app/services/super-selection-app.routes.d.ts +1 -0
  81. package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts +1 -0
  82. package/dist/lib/types/components/super-selection-app/services/super-selection.store.d.ts +1 -0
  83. package/dist/lib/types/components/super-smsf/super-smsf-types.d.ts +34 -0
  84. package/dist/lib/types/components/super-smsf/super-smsf.d.ts +20 -0
  85. package/dist/lib/types/components.d.ts +39 -63
  86. package/package.json +2 -1
  87. package/dist/lib/apollo-super-selection/p-071b8545.entry.js +0 -1
  88. package/dist/lib/apollo-super-selection/p-51aefdb1.system.entry.js +0 -1
  89. package/dist/lib/apollo-super-selection/p-6cfd85e3.system.entry.js +0 -69
  90. package/dist/lib/apollo-super-selection/p-80178f87.system.js +0 -1
  91. package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +0 -1
  92. package/dist/lib/apollo-super-selection/p-d9f1e505.entry.js +0 -14
  93. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-inputs.js +0 -143
  94. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.js +0 -123
  95. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.js +0 -253
  96. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.js +0 -121
  97. package/dist/lib/esm-es5/sss-button_34.entry.js +0 -69
  98. package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-inputs.d.ts +0 -16
  99. package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.d.ts +0 -13
  100. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.d.ts +0 -29
  101. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.d.ts +0 -14
  102. /package/dist/lib/collection/components/{super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.form.js → super-byof/super-byof.form.js} +0 -0
  103. /package/dist/lib/types/components/{super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.form.d.ts → super-smsf/super-smsf.form.d.ts} +0 -0
@@ -0,0 +1,161 @@
1
+ import { Component, h, Host, Prop, State } from '@stencil/core';
2
+ import { injectHistory } from '@stencil/router';
3
+ import { isSome } from 'fp-ts/lib/Option';
4
+ import { EventTrackingService } from '../../../services/event-tracking.service';
5
+ import navigationService from '../../../services/navigation.service';
6
+ import { SuperSelectionAppRoutes } from '../../../services/super-selection-app.routes';
7
+ import superSelectionAppService from '../../../services/super-selection-app.service';
8
+ import customFundChoiceApi from '../api/custom-fund-choice.api';
9
+ import customFundState from '../custom-fund.store';
10
+ export class SmsfEngagementStep {
11
+ constructor() {
12
+ this.allFormFieldsAreFilled = (selfManagedFundForm) => {
13
+ return (selfManagedFundForm.fundName != null &&
14
+ selfManagedFundForm.fundAbn != null &&
15
+ selfManagedFundForm.fundEsa != null &&
16
+ selfManagedFundForm.addressLine1 != null &&
17
+ selfManagedFundForm.city != null &&
18
+ selfManagedFundForm.state != null &&
19
+ selfManagedFundForm.postcode != null &&
20
+ selfManagedFundForm.bsb != null &&
21
+ selfManagedFundForm.bankAccountName != null &&
22
+ selfManagedFundForm.bankAccountNumber != null &&
23
+ selfManagedFundForm.memberFirstName != null &&
24
+ selfManagedFundForm.memberFamilyName != null);
25
+ };
26
+ this.stepContinued = async (event) => {
27
+ if (event.detail.sender == 'smsf-engagement') {
28
+ await EventTrackingService.Instance.TrackSuperSmsfEngagementStepContinued(event.detail.reason);
29
+ this.navigateToStandardChoice();
30
+ }
31
+ };
32
+ this.subscribeToStepEvents = () => {
33
+ for (const eventName in this.stepEventHandlers) {
34
+ document.addEventListener(eventName, this.stepEventHandlers[eventName]);
35
+ }
36
+ };
37
+ this.unSubscribeFromStepEvents = () => {
38
+ for (const eventName in this.stepEventHandlers) {
39
+ document.removeEventListener(eventName, this.stepEventHandlers[eventName]);
40
+ }
41
+ };
42
+ this.stepEventHandlers = {
43
+ continue: this.stepContinued.bind(this)
44
+ };
45
+ }
46
+ async componentWillLoad() {
47
+ if (superSelectionAppService.isSmsfCustomStepEnabled &&
48
+ superSelectionAppService.isUsingSuperCampaign &&
49
+ this.allFormFieldsAreFilled(customFundState.selfManagedFundForm) &&
50
+ isSome(superSelectionAppService.backendUrl) &&
51
+ isSome(superSelectionAppService.state.jwt)) {
52
+ this.backendUrl = superSelectionAppService.backendUrl.value;
53
+ this.accessToken = superSelectionAppService.state.jwt.value;
54
+ this.accountId = superSelectionAppService.accountIdOrDefault;
55
+ this.partnerId = superSelectionAppService.partnerIdOrDefault;
56
+ this.initialiseFormState(customFundState.selfManagedFundForm);
57
+ this.unSubscribeFromStepEvents();
58
+ this.subscribeToStepEvents();
59
+ superSelectionAppService.hideFooterSection = true;
60
+ await EventTrackingService.Instance.TrackSuperSmsfEngagementStepActivationSucceeded();
61
+ }
62
+ else {
63
+ navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.SelfManagedFund);
64
+ }
65
+ }
66
+ disconnectedCallback() {
67
+ this.unSubscribeFromStepEvents();
68
+ superSelectionAppService.hideFooterSection = false;
69
+ }
70
+ render() {
71
+ return (h(Host, null,
72
+ h("apollo-super-smsf-engagement", { "backend-url": this.backendUrl, "access-token": this.accessToken, "account-id": this.accountId, "partner-id": this.partnerId })));
73
+ }
74
+ navigateToStandardChoice() {
75
+ navigationService.navigateInternallyToStandardChoice({
76
+ history: this.history,
77
+ fundName: 'Self-managed super fund',
78
+ fundDetails: {
79
+ type: 'smsf',
80
+ fundName: this.fundName,
81
+ fundEsa: this.fundEsa
82
+ },
83
+ handleSubmitFn: async (standardChoiceFormSignature) => {
84
+ const requestDto = Object.assign({ smsfChoice: {
85
+ abn: this.fundAbn,
86
+ fundName: this.fundName,
87
+ fundAddress: {
88
+ addressLine1: this.fundAddress.addressLine1,
89
+ addressLine2: this.fundAddress.addressLine2,
90
+ city: this.fundAddress.city,
91
+ state: this.fundAddress.state,
92
+ postcode: this.fundAddress.postcode
93
+ },
94
+ bsb: this.bsb,
95
+ bankAccountName: this.bankAccountName,
96
+ bankAccountNumber: this.bankAccountNumber,
97
+ electronicServiceAddress: this.fundEsa,
98
+ memberFirstName: this.memberFirstName,
99
+ memberFamilyName: this.memberFamilyName
100
+ }, standardChoiceFormSignature }, superSelectionAppService.promotedFundsConfig);
101
+ await customFundChoiceApi.submitSelfManagedFundChoiceAsync(requestDto);
102
+ }
103
+ });
104
+ }
105
+ initialiseFormState(selfManagedFundForm) {
106
+ this.fundName = selfManagedFundForm.fundName;
107
+ this.fundAbn = selfManagedFundForm.fundAbn;
108
+ this.fundEsa = selfManagedFundForm.fundEsa;
109
+ this.fundAddress = {
110
+ addressLine1: selfManagedFundForm.addressLine1,
111
+ addressLine2: selfManagedFundForm.addressLine2,
112
+ city: selfManagedFundForm.city,
113
+ state: selfManagedFundForm.state,
114
+ postcode: selfManagedFundForm.postcode
115
+ };
116
+ this.bsb = selfManagedFundForm.bsb;
117
+ this.bankAccountName = selfManagedFundForm.bankAccountName;
118
+ this.bankAccountNumber = selfManagedFundForm.bankAccountNumber;
119
+ this.memberFirstName = selfManagedFundForm.memberFirstName;
120
+ this.memberFamilyName = selfManagedFundForm.memberFamilyName;
121
+ }
122
+ static get is() { return "sss-smsf-engagement-step-host"; }
123
+ static get properties() { return {
124
+ "history": {
125
+ "type": "unknown",
126
+ "mutable": false,
127
+ "complexType": {
128
+ "original": "RouterHistory",
129
+ "resolved": "RouterHistory",
130
+ "references": {
131
+ "RouterHistory": {
132
+ "location": "import",
133
+ "path": "@stencil/router"
134
+ }
135
+ }
136
+ },
137
+ "required": false,
138
+ "optional": false,
139
+ "docs": {
140
+ "tags": [],
141
+ "text": ""
142
+ }
143
+ }
144
+ }; }
145
+ static get states() { return {
146
+ "backendUrl": {},
147
+ "accessToken": {},
148
+ "fundName": {},
149
+ "fundAbn": {},
150
+ "fundEsa": {},
151
+ "fundAddress": {},
152
+ "bsb": {},
153
+ "bankAccountName": {},
154
+ "bankAccountNumber": {},
155
+ "memberFirstName": {},
156
+ "memberFamilyName": {},
157
+ "accountId": {},
158
+ "partnerId": {}
159
+ }; }
160
+ }
161
+ injectHistory(SmsfEngagementStep);
@@ -1,6 +1,27 @@
1
1
  import { Component, Fragment, h } from '@stencil/core';
2
2
  import { SuperSelectionAppRoutes } from '../services/super-selection-app.routes';
3
3
  import superSelectionAppService from '../services/super-selection-app.service';
4
+ const RouteLink = (props, children) => {
5
+ return (h("stencil-route-link", { exact: true, url: props.route },
6
+ h("div", { class: {
7
+ 'block focus:outline-none focus:ring-2 ring-offset-1 focus:ring-primary-focus focus:z-10 rounded-md py-2 text-sm font-medium w-auto px-3 sm:px-8 h-full': true,
8
+ 'bg-white shadow-sm text-primary-base': props.isActive,
9
+ 'hover:bg-primary-hover text-white': !props.isActive
10
+ } }, children)));
11
+ };
12
+ const ChooseAnotherFundLink = (props) => {
13
+ let route = SuperSelectionAppRoutes.MyOwnFund;
14
+ if (window.location.href.includes(SuperSelectionAppRoutes.SelfManagedFund)) {
15
+ route = SuperSelectionAppRoutes.SelfManagedFund;
16
+ }
17
+ else if (window.location.href.includes(SuperSelectionAppRoutes.DefaultFund)) {
18
+ route = SuperSelectionAppRoutes.DefaultFund;
19
+ }
20
+ else if (window.location.href.includes(SuperSelectionAppRoutes.FeaturedFunds)) {
21
+ route = SuperSelectionAppRoutes.FeaturedFunds;
22
+ }
23
+ return (h(RouteLink, { route: route, isActive: props.isActive }, "Choose another fund"));
24
+ };
4
25
  export class HeaderSection {
5
26
  render() {
6
27
  return (h("div", { class: "flex justify-center" },
@@ -8,11 +29,9 @@ export class HeaderSection {
8
29
  h("h3", { class: "font-bold mb-3 sm:mb-4 text-2xl sm:text-3xl" }, "Nominate a super fund"),
9
30
  h(Fragment, null,
10
31
  h("div", { class: "text-gray-600 sm:text-lg leading-7 sm:leading-8" }, superSelectionAppService.superCampaignCanNotBeActivated ? (h(Fragment, null, "You can choose any super fund, including your current fund/SMSF or your employer\u2019s default fund.")) : (h(Fragment, null, "You can choose any super fund, including your current fund/SMSF, your employer\u2019s default fund, or alternatively, you can select from one of the featured\u00A0funds."))),
11
- !superSelectionAppService.superCampaignCanNotBeActivated && (h("stencil-route-link", { url: SuperSelectionAppRoutes.ChoicePage },
12
- h("a", { class: "inline-flex items-center mt-3 font-semibold text-primary-base" },
13
- h("svg", { width: "16", height: "10", viewBox: "0 0 16 10", fill: "none", class: "mr-1", xmlns: "http://www.w3.org/2000/svg" },
14
- h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M5.7071 9.70711C5.31657 10.0976 4.68341 10.0976 4.29288 9.70711L0.29288 5.70711C-0.0976448 5.31658 -0.0976448 4.68342 0.29288 4.29289L4.29288 0.292893C4.68341 -0.0976315 5.31657 -0.0976315 5.7071 0.292893C6.09762 0.683417 6.09762 1.31658 5.7071 1.70711L3.4142 4L15 4C15.5523 4 16 4.44772 16 5C16 5.55228 15.5523 6 15 6L3.4142 6L5.7071 8.29289C6.09762 8.68342 6.09762 9.31658 5.7071 9.70711Z", fill: "currentColor" })),
15
- h("span", { class: "leading-5 text-sm" }, "Back to featured funds"))))))));
32
+ !superSelectionAppService.superCampaignCanNotBeActivated && (h("div", { class: "inline-flex mt-8 sm:mt-12 bg-primary-base rounded-lg p-0.5 whitespace-normal" },
33
+ h(RouteLink, { route: SuperSelectionAppRoutes.ChoicePage, isActive: false }, "Featured super funds"),
34
+ h(ChooseAnotherFundLink, { isActive: true })))))));
16
35
  }
17
36
  static get is() { return "sss-header-section"; }
18
37
  }
@@ -96,6 +96,16 @@ export class EventTrackingService {
96
96
  SuperMyOwnFundEngagementStepContinued: { fundUsi, reason }
97
97
  });
98
98
  }
99
+ async TrackSuperSmsfEngagementStepActivationSucceeded() {
100
+ return this.trackEventAsync({
101
+ SuperSmsfEngagementStepActivationSucceeded: {}
102
+ });
103
+ }
104
+ async TrackSuperSmsfEngagementStepContinued(reason) {
105
+ return this.trackEventAsync({
106
+ SuperSmsfEngagementStepContinued: { reason }
107
+ });
108
+ }
99
109
  async trackEventAsync(event) {
100
110
  try {
101
111
  await this.eventTrackingApi.PostAnalyticsEventAsync({ event });
@@ -6,6 +6,7 @@ export var SuperSelectionAppRoutes;
6
6
  SuperSelectionAppRoutes["ChoicePage"] = "/";
7
7
  SuperSelectionAppRoutes["MyOwnFund"] = "/super-choice/my-own-fund/";
8
8
  SuperSelectionAppRoutes["MyOwnFundEngagementStep"] = "/super-choice/my-own-fund-engagement/";
9
+ SuperSelectionAppRoutes["SmsfEngagementStep"] = "/super-choice/smsf-engagement/";
9
10
  SuperSelectionAppRoutes["Prefill"] = "/super-choice/prefill/";
10
11
  SuperSelectionAppRoutes["PrefillInvalidMyOwnFundPage"] = "/super-choice/sss-prefill-invalid-my-own-fund/";
11
12
  SuperSelectionAppRoutes["PrefillMyOwnFundPage"] = "/super-choice/prefill-my-own-fund/";
@@ -21,14 +22,15 @@ export const superSelectionAppStencilRoutes = [
21
22
  h("stencil-route", { url: SuperSelectionAppRoutes.ExistingChoicePage, component: "sss-existing-choice-page" }),
22
23
  h("stencil-route", { url: SuperSelectionAppRoutes.SuperCampaign, component: "sss-super-campaign-host" }),
23
24
  h("stencil-route", { exact: true, url: SuperSelectionAppRoutes.ChoicePage, component: "sss-choice-router" }),
24
- h("stencil-route", { url: SuperSelectionAppRoutes.MyOwnFund, component: "sss-my-own-fund" }),
25
+ h("stencil-route", { url: SuperSelectionAppRoutes.MyOwnFund, component: "sss-super-byof-host" }),
25
26
  h("stencil-route", { url: SuperSelectionAppRoutes.MyOwnFundEngagementStep, component: "sss-my-own-fund-engagement-step-host" }),
27
+ h("stencil-route", { url: SuperSelectionAppRoutes.SmsfEngagementStep, component: "sss-smsf-engagement-step-host" }),
26
28
  h("stencil-route", { url: SuperSelectionAppRoutes.PrefillInvalidMyOwnFundPage, component: "sss-prefill-invalid-my-own-fund" }),
27
29
  h("stencil-route", { url: SuperSelectionAppRoutes.Prefill, component: "sss-prefill" }),
28
30
  h("stencil-route", { url: SuperSelectionAppRoutes.PrefillMyOwnFundPage, component: "sss-prefill-my-own-fund" }),
29
31
  h("stencil-route", { url: SuperSelectionAppRoutes.PrefillSMSFPage, component: "sss-prefill-smsf" }),
30
32
  h("stencil-route", { url: SuperSelectionAppRoutes.PrefillInvalidSMSFPage, component: "sss-prefill-invalid-smsf" }),
31
- h("stencil-route", { url: SuperSelectionAppRoutes.SelfManagedFund, component: "sss-self-managed-fund" }),
33
+ h("stencil-route", { url: SuperSelectionAppRoutes.SelfManagedFund, component: "sss-super-smsf-host" }),
32
34
  h("stencil-route", { url: SuperSelectionAppRoutes.DefaultFund, component: "sss-default-fund" }),
33
35
  h("stencil-route", { url: SuperSelectionAppRoutes.FeaturedFunds, component: "sss-super-campaign-featured-funds" }),
34
36
  h("stencil-route", { url: SuperSelectionAppRoutes.StandardChoice, component: "sss-standard-choice-form" }),
@@ -101,6 +101,7 @@ export class SuperSelectionAppService {
101
101
  this._state.promotedFunds = O.fromNullable(appStateResponse.promotedFunds);
102
102
  this._state.bringYourOwnFundCustomStepEnabled =
103
103
  appStateResponse.bringYourOwnFundCustomStepEnabled;
104
+ this._state.smsfCustomStepEnabled = appStateResponse.smsfCustomStepEnabled;
104
105
  this._state.featuredFundsEnabled = appStateResponse.featuredFundsEnabled;
105
106
  this._state.superChoicePrefill = O.fromNullable(appStateResponse.prefill);
106
107
  this._state.isDefinedBenefitsEligible = O.fromNullable(appStateResponse.isDefinedBenefitsEligible);
@@ -143,6 +144,9 @@ export class SuperSelectionAppService {
143
144
  get isBringYourOwnFundCustomStepEnabled() {
144
145
  return this.state.bringYourOwnFundCustomStepEnabled;
145
146
  }
147
+ get isSmsfCustomStepEnabled() {
148
+ return this.state.smsfCustomStepEnabled;
149
+ }
146
150
  get isFeaturedFundsEnabled() {
147
151
  return this.state.featuredFundsEnabled;
148
152
  }
@@ -40,5 +40,6 @@ export const initialState = {
40
40
  superCampaignComponentStatus: SuperCampaignComponentStatus.NotLoaded,
41
41
  hideFooterSection: false,
42
42
  bringYourOwnFundCustomStepEnabled: false,
43
+ smsfCustomStepEnabled: false,
43
44
  featuredFundsEnabled: false
44
45
  };
@@ -0,0 +1 @@
1
+ export const LoadWaitingTimeout = 30000;
@@ -0,0 +1,166 @@
1
+ import { Component, h, Host, Prop, State } from '@stencil/core';
2
+ import { injectHistory } from '@stencil/router';
3
+ import { isSome, toUndefined } from 'fp-ts/lib/Option';
4
+ import customFundChoiceApi from '../super-selection-app/funds/custom-fund/api/custom-fund-choice.api';
5
+ import customFundState from '../super-selection-app/funds/custom-fund/custom-fund.store';
6
+ import { EventTrackingService } from '../super-selection-app/services/event-tracking.service';
7
+ import navigationService from '../super-selection-app/services/navigation.service';
8
+ import { SuperSelectionAppRoutes } from '../super-selection-app/services/super-selection-app.routes';
9
+ import superSelectionAppService from '../super-selection-app/services/super-selection-app.service';
10
+ import { LoadWaitingTimeout } from './super-smsf-types';
11
+ var SuperSmsfComponentStatus;
12
+ (function (SuperSmsfComponentStatus) {
13
+ SuperSmsfComponentStatus[SuperSmsfComponentStatus["NotLoaded"] = 1] = "NotLoaded";
14
+ SuperSmsfComponentStatus[SuperSmsfComponentStatus["Loaded"] = 2] = "Loaded";
15
+ })(SuperSmsfComponentStatus || (SuperSmsfComponentStatus = {}));
16
+ let superSmsfComponentStatus = SuperSmsfComponentStatus.NotLoaded;
17
+ export class SuperSmsfHost {
18
+ constructor() {
19
+ this.eventTrackingService = EventTrackingService.Instance;
20
+ this.subscribeToSuperSmsfEvents = () => {
21
+ for (const eventName in this.smsfEventHandlers) {
22
+ document.addEventListener(eventName, this.smsfEventHandlers[eventName]);
23
+ }
24
+ };
25
+ this.unSubscribeFromSuperSmsfEvents = () => {
26
+ for (const eventName in this.smsfEventHandlers) {
27
+ document.removeEventListener(eventName, this.smsfEventHandlers[eventName]);
28
+ }
29
+ };
30
+ this.smsfLoaded = async (event) => {
31
+ if (event.detail.sender === 'super-smsf') {
32
+ superSmsfComponentStatus = SuperSmsfComponentStatus.Loaded;
33
+ clearTimeout(this.loadingTimeoutRef);
34
+ await this.eventTrackingService.TrackSmsfSuperFundDetailViewedAsync({
35
+ promotedFundsShown: superSelectionAppService.promotedFunds,
36
+ defaultFundUsiSet: toUndefined(superSelectionAppService.defaultFundUsi)
37
+ });
38
+ }
39
+ return Promise.resolve();
40
+ };
41
+ this.smsfCompleted = async (event) => {
42
+ if (event.detail.sender === 'super-smsf') {
43
+ this.updateCustomFundStateStore(event.detail);
44
+ if (superSelectionAppService.isSmsfCustomStepEnabled &&
45
+ superSelectionAppService.isUsingSuperCampaign) {
46
+ navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.SmsfEngagementStep);
47
+ return;
48
+ }
49
+ navigationService.navigateInternallyToStandardChoice({
50
+ history: this.history,
51
+ fundName: 'Self-managed super fund',
52
+ fundDetails: {
53
+ type: 'smsf',
54
+ fundName: event.detail.fundName,
55
+ fundEsa: event.detail.fundEsa
56
+ },
57
+ handleSubmitFn: async (standardChoiceFormSignature) => {
58
+ const requestDto = Object.assign({ smsfChoice: {
59
+ abn: event.detail.fundAbn,
60
+ fundName: event.detail.fundName,
61
+ fundAddress: {
62
+ addressLine1: event.detail.fundAddressLine1,
63
+ addressLine2: event.detail.fundAddressLine2,
64
+ city: event.detail.fundCity,
65
+ state: event.detail.fundState,
66
+ postcode: event.detail.fundPostcode
67
+ },
68
+ bsb: event.detail.bankBsb,
69
+ bankAccountName: event.detail.bankAccountName,
70
+ bankAccountNumber: event.detail.bankAccountNumber,
71
+ electronicServiceAddress: event.detail.fundEsa,
72
+ memberFirstName: event.detail.memberFirstName,
73
+ memberFamilyName: event.detail.memberLastName
74
+ }, standardChoiceFormSignature }, superSelectionAppService.promotedFundsConfig);
75
+ await customFundChoiceApi.submitSelfManagedFundChoiceAsync(requestDto);
76
+ }
77
+ });
78
+ }
79
+ };
80
+ this.smsfCancelled = async (event) => {
81
+ if (event.detail.sender === 'super-smsf') {
82
+ navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ChoicePage);
83
+ }
84
+ };
85
+ this.smsfEventHandlers = {
86
+ 'smsf-loaded': this.smsfLoaded.bind(this),
87
+ 'smsf-completed': this.smsfCompleted.bind(this),
88
+ 'smsf-cancelled': this.smsfCancelled.bind(this)
89
+ };
90
+ }
91
+ async componentWillLoad() {
92
+ if (isSome(superSelectionAppService.backendUrl) && isSome(superSelectionAppService.state.jwt)) {
93
+ this.backendUrl = superSelectionAppService.backendUrl.value;
94
+ this.accessToken = superSelectionAppService.state.jwt.value;
95
+ if (superSmsfComponentStatus === SuperSmsfComponentStatus.NotLoaded) {
96
+ this.loadingTimeoutRef = setTimeout(this.smsfLoadingTimeoutTriggered.bind(this), LoadWaitingTimeout);
97
+ }
98
+ this.subscribeToSuperSmsfEvents();
99
+ }
100
+ else {
101
+ throw Error(`SuperSmsfHost pre-requisites not met.`);
102
+ }
103
+ }
104
+ disconnectedCallback() {
105
+ clearTimeout(this.loadingTimeoutRef);
106
+ this.unSubscribeFromSuperSmsfEvents();
107
+ }
108
+ render() {
109
+ return (h(Host, null,
110
+ h("sss-header-section", null),
111
+ h("div", { class: "flex justify-center mt-11" },
112
+ h("sss-custom-fund", null,
113
+ h("div", null,
114
+ h("apollo-super-smsf", { "backend-url": this.backendUrl, "access-token": this.accessToken }))))));
115
+ }
116
+ updateCustomFundStateStore(details) {
117
+ customFundState.selfManagedFundForm = {
118
+ fundAbn: details.fundAbn,
119
+ fundName: details.fundName,
120
+ addressLine1: details.fundAddressLine1,
121
+ addressLine2: details.fundAddressLine2,
122
+ city: details.fundCity,
123
+ state: details.fundState,
124
+ postcode: details.fundPostcode,
125
+ bsb: details.bankBsb,
126
+ bankAccountName: details.bankAccountName,
127
+ bankAccountNumber: details.bankAccountNumber,
128
+ fundEsa: details.fundEsa,
129
+ memberFirstName: details.memberFirstName,
130
+ memberFamilyName: details.memberLastName
131
+ };
132
+ }
133
+ async smsfLoadingTimeoutTriggered() {
134
+ if (superSmsfComponentStatus !== SuperSmsfComponentStatus.Loaded) {
135
+ throw Error(`SMSF component failed to load.`);
136
+ }
137
+ }
138
+ static get is() { return "sss-super-smsf-host"; }
139
+ static get properties() { return {
140
+ "history": {
141
+ "type": "unknown",
142
+ "mutable": false,
143
+ "complexType": {
144
+ "original": "RouterHistory",
145
+ "resolved": "RouterHistory",
146
+ "references": {
147
+ "RouterHistory": {
148
+ "location": "import",
149
+ "path": "@stencil/router"
150
+ }
151
+ }
152
+ },
153
+ "required": false,
154
+ "optional": false,
155
+ "docs": {
156
+ "tags": [],
157
+ "text": ""
158
+ }
159
+ }
160
+ }; }
161
+ static get states() { return {
162
+ "backendUrl": {},
163
+ "accessToken": {}
164
+ }; }
165
+ }
166
+ injectHistory(SuperSmsfHost);
@@ -1,4 +1,4 @@
1
- import { h } from './index-189b2180.js';
1
+ import { h } from './index-107d7c24.js';
2
2
 
3
3
  const createProviderConsumer = (defaultState, consumerRender) => {
4
4
  let listeners = new Map();
@@ -1,4 +1,4 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-189b2180.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-107d7c24.js';
2
2
  import './datorama-akita-127aea91.js';
3
3
  import { g as globalScripts } from './app-globals-c1f89805.js';
4
4
 
@@ -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_34",[[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]}],[1,"super-selection-app-host",{"sessionState":[32],"jwt":[32],"appConfiguration":[32],"ignoreExistingSelection":[32]}],[0,"sss-default-fund",{"history":[16],"defaultFundProductName":[32]}],[0,"sss-super-campaign-featured-funds",{"history":[16],"backendUrl":[32],"accessToken":[32],"currentView":[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-super-campaign-host",{"history":[16],"scriptImported":[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-page"],[0,"sss-self-managed-fund-inputs",{"fundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"abnValidationStatus":[32],"isAbnTouched":[32],"currentBank":[32],"addressErrorMessage":[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-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-header-section"],[4,"sss-custom-fund",{"history":[16],"currentCustomFund":[32],"fundOptionsList":[32],"showFundOptionsSelection":[32]}],[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-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",{"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"]}]]]], options);
19
+ return bootstrapLazy([["sss-super-byof-host",[[0,"sss-super-byof-host",{"history":[16],"backendUrl":[32],"accessToken":[32]}]]],["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_32",[[0,"sss-prefill",{"history":[16],"prefill":[32]}],[1,"super-selection-app-host",{"sessionState":[32],"jwt":[32],"appConfiguration":[32],"ignoreExistingSelection":[32]}],[0,"sss-default-fund",{"history":[16],"defaultFundProductName":[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-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-header-section"],[4,"sss-custom-fund",{"history":[16],"currentCustomFund":[32],"fundOptionsList":[32],"showFundOptionsSelection":[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",{"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"]}]]]], options);
20
20
  });
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, d as getElement } from './index-189b2180.js';
1
+ import { r as registerInstance, a as getElement } from './index-107d7c24.js';
2
2
 
3
3
  const ContextConsumer = class {
4
4
  constructor(hostRef) {