@flarehr/apollo-super-selection 5.24.54264 → 5.25.54575

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 (144) 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/p-64e00db6.entry.js +14 -0
  4. package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +1 -1
  5. package/dist/lib/apollo-super-selection/p-cf19c194.system.entry.js +69 -0
  6. package/dist/lib/cjs/apollo-super-selection.cjs.js +1 -1
  7. package/dist/lib/cjs/loader.cjs.js +1 -1
  8. package/dist/lib/cjs/{sss-button_43.cjs.entry.js → sss-button_31.cjs.entry.js} +947 -2250
  9. package/dist/lib/collection/apollo-super-selection.css +1 -1
  10. package/dist/lib/collection/collection-manifest.json +1 -25
  11. package/dist/lib/collection/components/super-campaign/super-campaign.js +8 -16
  12. package/dist/lib/collection/components/super-selection-app/api/super-selection.api.dto.js +26 -25
  13. package/dist/lib/collection/components/super-selection-app/api/super-selection.api.js +0 -9
  14. package/dist/lib/collection/components/super-selection-app/existing-choice/existing-choice.js +5 -9
  15. package/dist/lib/collection/components/super-selection-app/footer-section/footer-section.js +9 -13
  16. package/dist/lib/collection/components/super-selection-app/funds/slate-super/api/slate.js +4 -0
  17. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-invalid-my-own-fund.js +3 -3
  18. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-invalid-smsf.js +2 -2
  19. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-my-own-fund.js +3 -3
  20. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-smsf.js +3 -3
  21. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill.js +1 -1
  22. package/dist/lib/collection/components/super-selection-app/services/existing-super-choice-info.service.js +4 -16
  23. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.routes.js +1 -9
  24. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +1 -35
  25. package/dist/lib/collection/components/super-selection-app/services/super-selection.store.js +1 -3
  26. package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.js +16 -13
  27. package/dist/lib/collection/components/super-selection-app/super-selection-app.js +3 -17
  28. package/dist/lib/esm/apollo-super-selection.js +1 -1
  29. package/dist/lib/esm/loader.js +1 -1
  30. package/dist/lib/esm/{sss-button_43.entry.js → sss-button_31.entry.js} +948 -2239
  31. package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
  32. package/dist/lib/esm-es5/loader.js +1 -1
  33. package/dist/lib/esm-es5/sss-button_31.entry.js +69 -0
  34. package/dist/lib/types/components/super-campaign/super-campaign-types.d.ts +4 -0
  35. package/dist/lib/types/components/super-campaign/super-campaign.d.ts +0 -1
  36. package/dist/lib/types/components/super-selection-app/api/super-selection.api.d.ts +1 -2
  37. package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +1 -10
  38. package/dist/lib/types/components/super-selection-app/footer-section/footer-section.d.ts +1 -2
  39. package/dist/lib/types/components/super-selection-app/funds/slate-super/api/slate.d.ts +4 -0
  40. package/dist/lib/types/components/super-selection-app/services/super-selection-app.routes.d.ts +0 -4
  41. package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts +0 -3
  42. package/dist/lib/types/components/super-selection-app/services/super-selection.store.d.ts +1 -3
  43. package/dist/lib/types/components/super-selection-app/super-selection-app.d.ts +0 -2
  44. package/dist/lib/types/components.d.ts +2 -203
  45. package/package.json +1 -1
  46. package/dist/lib/apollo-super-selection/assets/icon-check.svg +0 -3
  47. package/dist/lib/apollo-super-selection/assets/logo-active.svg +0 -1
  48. package/dist/lib/apollo-super-selection/assets/logo-art.svg +0 -7
  49. package/dist/lib/apollo-super-selection/assets/logo-aus-eth.svg +0 -31
  50. package/dist/lib/apollo-super-selection/assets/logo-aware.svg +0 -58
  51. package/dist/lib/apollo-super-selection/assets/logo-first.svg +0 -15
  52. package/dist/lib/apollo-super-selection/assets/logo-hesta.svg +0 -5
  53. package/dist/lib/apollo-super-selection/assets/logo-mercer-mychoice.svg +0 -1
  54. package/dist/lib/apollo-super-selection/assets/logo-rei.svg +0 -27
  55. package/dist/lib/apollo-super-selection/assets/logo-slate.png +0 -0
  56. package/dist/lib/apollo-super-selection/assets/logo-spirit.svg +0 -141
  57. package/dist/lib/apollo-super-selection/assets/logo-unisuper.svg +0 -15
  58. package/dist/lib/apollo-super-selection/assets/logo-virgin.svg +0 -8
  59. package/dist/lib/apollo-super-selection/assets/unisuper-default-badge1.svg +0 -25
  60. package/dist/lib/apollo-super-selection/assets/unisuper-default-badge2.svg +0 -109
  61. package/dist/lib/apollo-super-selection/assets/unisuper-default-badge3.svg +0 -102
  62. package/dist/lib/apollo-super-selection/p-203c74a8.entry.js +0 -14
  63. package/dist/lib/apollo-super-selection/p-b0120851.system.entry.js +0 -69
  64. package/dist/lib/collection/components/super-selection-app/assets/icon-check.svg +0 -3
  65. package/dist/lib/collection/components/super-selection-app/consent/consent-wrapper.js +0 -32
  66. package/dist/lib/collection/components/super-selection-app/consent/consent.js +0 -88
  67. package/dist/lib/collection/components/super-selection-app/funds/constants.js +0 -43
  68. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/active.js +0 -26
  69. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/australian-ethical.js +0 -43
  70. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/australian-retirement-trust.js +0 -32
  71. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/aware.js +0 -38
  72. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/first.js +0 -27
  73. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/hesta-default.js +0 -34
  74. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/mercermychoice.js +0 -33
  75. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/rei.js +0 -33
  76. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/slate.js +0 -32
  77. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/spirit.js +0 -43
  78. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/unisuper-default-v2.js +0 -56
  79. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/unisuper-default.js +0 -49
  80. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/virgin.js +0 -37
  81. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund-join-v1-page.js +0 -30
  82. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund-join-v2-page.js +0 -30
  83. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund.store.js +0 -10
  84. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v1-iframe-builder.js +0 -125
  85. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.js +0 -271
  86. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-types.js +0 -1
  87. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/types.js +0 -15
  88. package/dist/lib/collection/components/super-selection-app/funds/slate-super/services/slate-iframe-builder.js +0 -143
  89. package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-join-page.js +0 -30
  90. package/dist/lib/collection/components/super-selection-app/loading-component/loading-component.js +0 -29
  91. package/dist/lib/collection/components/super-selection-app/loading-super-indicator/loading-super-indicator.js +0 -11
  92. package/dist/lib/collection/components/super-selection-app/misc/iframe-host.js +0 -32
  93. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-active.svg +0 -1
  94. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-art.svg +0 -7
  95. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-aus-eth.svg +0 -31
  96. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-aware.svg +0 -58
  97. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-first.svg +0 -15
  98. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-hesta.svg +0 -5
  99. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-mercer-mychoice.svg +0 -1
  100. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-rei.svg +0 -27
  101. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-slate.png +0 -0
  102. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-spirit.svg +0 -141
  103. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-unisuper.svg +0 -15
  104. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-virgin.svg +0 -8
  105. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/unisuper-default-badge1.svg +0 -25
  106. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/unisuper-default-badge2.svg +0 -109
  107. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/unisuper-default-badge3.svg +0 -102
  108. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-bottom.js +0 -112
  109. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-top.js +0 -178
  110. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page-wrapper.js +0 -32
  111. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +0 -171
  112. package/dist/lib/esm-es5/sss-button_43.entry.js +0 -69
  113. package/dist/lib/types/components/super-selection-app/consent/consent-wrapper.d.ts +0 -5
  114. package/dist/lib/types/components/super-selection-app/consent/consent.d.ts +0 -9
  115. package/dist/lib/types/components/super-selection-app/funds/constants.d.ts +0 -9
  116. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/active.d.ts +0 -3
  117. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/australian-ethical.d.ts +0 -3
  118. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/australian-retirement-trust.d.ts +0 -3
  119. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/aware.d.ts +0 -3
  120. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/first.d.ts +0 -3
  121. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/hesta-default.d.ts +0 -3
  122. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/mercermychoice.d.ts +0 -3
  123. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/rei.d.ts +0 -3
  124. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/slate.d.ts +0 -4
  125. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/spirit.d.ts +0 -3
  126. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/unisuper-default-v2.d.ts +0 -3
  127. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/unisuper-default.d.ts +0 -3
  128. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/virgin.d.ts +0 -3
  129. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund-join-v1-page.d.ts +0 -5
  130. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund-join-v2-page.d.ts +0 -5
  131. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund.store.d.ts +0 -10
  132. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v1-iframe-builder.d.ts +0 -10
  133. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.d.ts +0 -12
  134. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-types.d.ts +0 -75
  135. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/types.d.ts +0 -26
  136. package/dist/lib/types/components/super-selection-app/funds/slate-super/services/slate-iframe-builder.d.ts +0 -14
  137. package/dist/lib/types/components/super-selection-app/funds/slate-super/slate-join-page.d.ts +0 -5
  138. package/dist/lib/types/components/super-selection-app/loading-component/loading-component.d.ts +0 -4
  139. package/dist/lib/types/components/super-selection-app/loading-super-indicator/loading-super-indicator.d.ts +0 -3
  140. package/dist/lib/types/components/super-selection-app/misc/iframe-host.d.ts +0 -6
  141. package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-bottom.d.ts +0 -10
  142. package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-top.d.ts +0 -12
  143. package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-page-wrapper.d.ts +0 -5
  144. package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-page.d.ts +0 -10
@@ -1,178 +0,0 @@
1
- import { Component, getAssetPath, h, Host, Prop } from '@stencil/core';
2
- export class SuperChoiceItemTop {
3
- render() {
4
- return (h(Host, null,
5
- h("div", { class: "px-4 pt-6" },
6
- h("div", { class: "text-right w-100 -mt-5 -mr-2" },
7
- this.extraBadge,
8
- this.isPromotedDefault && (h("span", { class: "text-xs bg-blue-100 text-blue-800 font-medium rounded-xl py-0.5 px-2.5 mr-1" }, "Employer Default")),
9
- h("span", { class: "text-xs bg-gray-100 text-gray-800 font-medium rounded-xl py-0.5 px-2.5 mr-0.5" }, "Featured")),
10
- h("div", { class: { 'flex lg:block mt-2 md:mt-0': true, 'lg:mt-4': this.isMultiFund } },
11
- h("img", { class: {
12
- 'h-12 md:h-14 lg:h-16 object-contain w-[80px] md:w-[96px] lg:w-[140px] md:hidden lg:object-left': true,
13
- 'lg:block': this.isMultiFund
14
- }, alt: this.name, src: getAssetPath(`assets/${this.logo}`) }),
15
- h("div", { class: "grid content-center" },
16
- h("p", { class: {
17
- 'text-base md:text-lg font-bold ml-4 md:ml-0 md:mb-0': true,
18
- 'lg:mt-4': this.isMultiFund
19
- } }, this.name))),
20
- h("div", { class: "mt-4 sm:mt-2 text-sm space-y-2" }, this.features.map((feature) => (h("div", { class: "flex" },
21
- h("div", { class: "h-5 w-5 flex-none mr-1.5" },
22
- h("img", { alt: "checked", src: getAssetPath(`assets/icon-check.svg`) })),
23
- h("div", { class: "leading-5" }, feature))))),
24
- this.featureSubText && (h("p", { class: "text-xs text-gray-500 italic mt-4 leading-4" }, this.featureSubText)),
25
- this.customContent)));
26
- }
27
- static get is() { return "sss-super-choice-item-top"; }
28
- static get properties() { return {
29
- "name": {
30
- "type": "string",
31
- "mutable": false,
32
- "complexType": {
33
- "original": "string",
34
- "resolved": "string",
35
- "references": {}
36
- },
37
- "required": false,
38
- "optional": false,
39
- "docs": {
40
- "tags": [],
41
- "text": ""
42
- },
43
- "attribute": "name",
44
- "reflect": false
45
- },
46
- "logo": {
47
- "type": "string",
48
- "mutable": false,
49
- "complexType": {
50
- "original": "string",
51
- "resolved": "string",
52
- "references": {}
53
- },
54
- "required": false,
55
- "optional": false,
56
- "docs": {
57
- "tags": [],
58
- "text": ""
59
- },
60
- "attribute": "logo",
61
- "reflect": false
62
- },
63
- "features": {
64
- "type": "unknown",
65
- "mutable": false,
66
- "complexType": {
67
- "original": "VNode[]",
68
- "resolved": "VNode[]",
69
- "references": {
70
- "VNode": {
71
- "location": "import",
72
- "path": "@stencil/core"
73
- }
74
- }
75
- },
76
- "required": false,
77
- "optional": false,
78
- "docs": {
79
- "tags": [],
80
- "text": ""
81
- }
82
- },
83
- "featureSubText": {
84
- "type": "unknown",
85
- "mutable": false,
86
- "complexType": {
87
- "original": "VNode",
88
- "resolved": "VNode | undefined",
89
- "references": {
90
- "VNode": {
91
- "location": "import",
92
- "path": "@stencil/core"
93
- }
94
- }
95
- },
96
- "required": false,
97
- "optional": true,
98
- "docs": {
99
- "tags": [],
100
- "text": ""
101
- }
102
- },
103
- "customContent": {
104
- "type": "unknown",
105
- "mutable": false,
106
- "complexType": {
107
- "original": "VNode",
108
- "resolved": "VNode | undefined",
109
- "references": {
110
- "VNode": {
111
- "location": "import",
112
- "path": "@stencil/core"
113
- }
114
- }
115
- },
116
- "required": false,
117
- "optional": true,
118
- "docs": {
119
- "tags": [],
120
- "text": ""
121
- }
122
- },
123
- "isMultiFund": {
124
- "type": "boolean",
125
- "mutable": false,
126
- "complexType": {
127
- "original": "boolean",
128
- "resolved": "boolean",
129
- "references": {}
130
- },
131
- "required": false,
132
- "optional": false,
133
- "docs": {
134
- "tags": [],
135
- "text": ""
136
- },
137
- "attribute": "is-multi-fund",
138
- "reflect": false
139
- },
140
- "isPromotedDefault": {
141
- "type": "boolean",
142
- "mutable": false,
143
- "complexType": {
144
- "original": "boolean",
145
- "resolved": "boolean | undefined",
146
- "references": {}
147
- },
148
- "required": false,
149
- "optional": true,
150
- "docs": {
151
- "tags": [],
152
- "text": ""
153
- },
154
- "attribute": "is-promoted-default",
155
- "reflect": false
156
- },
157
- "extraBadge": {
158
- "type": "unknown",
159
- "mutable": false,
160
- "complexType": {
161
- "original": "VNode",
162
- "resolved": "VNode | undefined",
163
- "references": {
164
- "VNode": {
165
- "location": "import",
166
- "path": "@stencil/core"
167
- }
168
- }
169
- },
170
- "required": false,
171
- "optional": true,
172
- "docs": {
173
- "tags": [],
174
- "text": ""
175
- }
176
- }
177
- }; }
178
- }
@@ -1,32 +0,0 @@
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,171 +0,0 @@
1
- import { Component, getAssetPath, h, Host, Prop, State } from '@stencil/core';
2
- import { injectHistory } from '@stencil/router';
3
- import * as O from 'fp-ts/lib/Option';
4
- import * as constants from '../funds/constants';
5
- import promotedFundState from '../funds/promoted-fund/promoted-fund.store';
6
- import { EventTrackingService } from '../services/event-tracking.service';
7
- import miscService from '../services/misc.service';
8
- import navigationService from '../services/navigation.service';
9
- import { SuperSelectionAppRoutes } from '../services/super-selection-app.routes';
10
- import SuperSelectionAppService from '../services/super-selection-app.service';
11
- export class SuperChoicePage {
12
- constructor() {
13
- this.promotedFunds = this.getPromotedFunds();
14
- this.eventTrackingService = EventTrackingService.Instance;
15
- }
16
- async componentDidLoad() {
17
- const promotedFundsShown = this.promotedFunds.map((item) => item.fundId);
18
- await SuperSelectionAppService.viewSuperFundPanelAsync(promotedFundsShown);
19
- }
20
- render() {
21
- const mygovLink = 'https://my.gov.au';
22
- const mygovLinkDisplay = 'www.my.gov.au';
23
- const superfundsLink = 'https://www.apra.gov.au/register-of-superannuation-institutions';
24
- const superfundsLinkDisplay = 'www.apra.gov.au';
25
- const isMultiFund = this.promotedFunds.length > 1;
26
- return (h(Host, null,
27
- h("div", null,
28
- h("sss-header-section", { currentPage: "choice" }),
29
- h("div", { class: "mt-8 text-sm text-center leading-6" },
30
- h("p", { class: "leading-6" }, "Not ready to join a new fund, or want to nominate another super fund?"),
31
- h("stencil-route-link", { url: SuperSelectionAppRoutes.MyOwnFund },
32
- h("span", { class: "inline-block text-primary-base font-medium mt-3" },
33
- "Skip Featured Funds\u00A0",
34
- h("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", "stroke-width": "1.5", stroke: "currentColor", class: "inline h-5 w-5 fill-primary-base group-hover:fill-white" },
35
- h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M17.25 8.25L21 12m0 0l-3.75 3.75M21 12H3" }))))),
36
- h("div", { class: "flex justify-center mt-8" },
37
- h("div", { class: {
38
- 'lg:grid border-l border-t lg:border-b rounded-lg': true,
39
- 'lg:grid-cols-1 max-w-720': this.promotedFunds.length === 1,
40
- 'lg:grid-cols-2 max-w-720': this.promotedFunds.length === 2,
41
- 'lg:grid-cols-3 max-w-960': this.promotedFunds.length === 3
42
- } },
43
- this.promotedFunds.map((fund, index) => (h("div", { class: {
44
- 'border-r': true,
45
- 'rounded-tr-lg': index === 0,
46
- 'lg:rounded-tr-none': index === 0 && index !== this.promotedFunds.length - 1,
47
- 'rounded-br-lg lg:rounded-br-none lg:rounded-tr-lg': index === this.promotedFunds.length - 1
48
- } },
49
- h("div", { class: {
50
- 'flex border-b lg:border-b-0': true,
51
- 'rounded-b-lg': index === this.promotedFunds.length - 1
52
- } },
53
- h("div", { class: {
54
- 'hidden md:flex w-36 justify-center pt-6 pl-6': true,
55
- 'lg:hidden': isMultiFund
56
- } },
57
- h("img", { class: "h-16 object-contain w-full max-w-[96px]", alt: fund.name, src: getAssetPath(`assets/${fund.logo}`) })),
58
- h("div", { class: "w-full" },
59
- h("sss-super-choice-item-top", { logo: fund.logo, name: fund.name, features: fund.features, featureSubText: fund.featureSubText, customContent: fund.customContent, isMultiFund: isMultiFund, isPromotedDefault: fund.isPromotedDefault, extraBadge: fund.extraBadge }),
60
- h("div", { class: { 'lg:hidden': isMultiFund } },
61
- h("sss-super-choice-item-bottom", { disclaimer: fund.disclaimer, abnInfo: fund.abnInfo, abn: fund.abn, isMultiFund: isMultiFund, onJoinFundClicked: async () => this.handleJoinSuperClickAsync(fund) }))))))),
62
- this.promotedFunds.map((fund, index) => (h("div", { class: {
63
- 'hidden border-r': true,
64
- 'lg:block': isMultiFund,
65
- 'rounded-br-lg': index === this.promotedFunds.length - 1
66
- } },
67
- h("sss-super-choice-item-bottom", { disclaimer: fund.disclaimer, abnInfo: fund.abnInfo, abn: fund.abn, isMultiFund: isMultiFund, onJoinFundClicked: async () => this.handleJoinSuperClickAsync(fund) })))))),
68
- h("div", { class: "flex justify-center mt-8 sm:mt-12" },
69
- h("div", { class: "pb-8 sm:pb-12 max-w-720 border-b" },
70
- h("h5", { class: "font-bold sm:text-lg" }, "Or, choose another super fund:"),
71
- h("ul", { class: "list-disc list-outside ml-6 mt-3 mb-6 space-y-2 leading-6 text-sm sm:text-base" },
72
- h("li", null, "Select this option if you'd like to use your current account with another super fund, your self-managed super fund, or your employer's default fund."),
73
- h("li", null,
74
- "If you are unsure of your current super fund details, you can find out at",
75
- ' ',
76
- h("a", { class: "text-primary-base font-medium hover:text-primary-hover", target: "_blank", href: navigationService.toExternalUrl(mygovLink) }, mygovLinkDisplay)),
77
- h("li", null,
78
- "A full list of super funds can be viewed at",
79
- ' ',
80
- h("a", { class: "text-primary-base font-medium hover:text-primary-hover", target: "_blank", href: navigationService.toExternalUrl(superfundsLink) }, superfundsLinkDisplay))),
81
- h("stencil-route-link", { url: SuperSelectionAppRoutes.MyOwnFund },
82
- h("sss-button", { testid: "choose-another-super-fund-button", fillWidthOnMobile: true }, "Choose another super fund")))),
83
- h("div", { class: "flex justify-center" },
84
- h("div", { class: "pt-8 sm:pt-12 max-w-720" },
85
- h("h5", { class: "font-semibold" }, "IMPORTANT INFORMATION:"),
86
- h("ul", { class: "list-disc list-outside ml-6 mt-3 space-y-2 text-sm leading-6" },
87
- h("li", null, "The superannuation funds featured above are for your information only. The order, position and placement of content should not be interpreted as an opinion or recommendation (actual or implied) by Flare as to the suitability or appropriateness of any superannuation fund for you. In featuring these superannuation funds, Flare has not taken into account your objectives, financial situation or needs."),
88
- h("li", null, "This is not a comparison service. This page contains factual information only and does not constitute either general or personal advice about any financial products. We do not take into account your objectives, financial situation or needs. If you have questions or need help making a decision about your superannuation fund, you should speak to a licensed financial product advice provider."),
89
- h("li", null, "Flare, the technology partner you are accessing Flare via and your employer do not endorse or accept responsibility for any financial product advice or services provided by the promoters or trustees of the featured superannuation funds. Flare does not endorse or accept responsibility for any of the content shown about any of the featured superannuation funds."),
90
- h("li", null, "You should consider the relevant superannuation fund\u2019s PDS and TMD (if applicable) in deciding whether to apply to join the superannuation fund. Each of the superannuation funds featured above include a link to their PDS and TMD (if applicable) for your convenience. If you are considering joining another superannuation fund, you can typically find the PDS and TMD (if applicable) on that fund\u2019s website."),
91
- h("li", null, "You should be aware that the trustees of featured superannuation funds pay fees to Flare and/or its associates. Some funds pay us a fee if you choose one of the featured funds, while others pay us to have their application form on our platform.")))))));
92
- }
93
- getPromotedFunds() {
94
- const fundTiles = [];
95
- SuperSelectionAppService.promotedFunds.forEach((fundId) => {
96
- const fund = constants.allPromotedFunds.find((fund) => fundId === fund.fundId);
97
- if (fund !== undefined) {
98
- fundTiles.push(fund);
99
- }
100
- });
101
- return fundTiles;
102
- }
103
- async handleJoinSuperClickAsync(fund) {
104
- const promotedFundsShown = SuperSelectionAppService.promotedFunds;
105
- const fundUsi = constants.getFundUsiByFundId(fund.fundId);
106
- const fundName = constants.getFundNameByFundId(fund.fundId);
107
- await Promise.all([
108
- fund.isPromotedDefault == true
109
- ? this.eventTrackingService.TrackPromotedDefaultSuperFundDetailViewedAsync({
110
- fundUsi: O.isSome(fundUsi) ? fundUsi.value : '',
111
- fundName: O.isSome(fundName) ? fundName.value : '',
112
- promotedFundId: fund.fundId,
113
- promotedFundsShown,
114
- defaultFundUsiSet: O.toUndefined(SuperSelectionAppService.defaultFundUsi),
115
- superCampaignEnabled: false
116
- })
117
- : this.eventTrackingService.TrackPromotedSuperFundDetailViewedAsync({
118
- fundUsi: O.isSome(fundUsi) ? fundUsi.value : undefined,
119
- fundName: O.isSome(fundName) ? fundName.value : '',
120
- promotedFundId: fund.fundId,
121
- promotedFundsShown,
122
- defaultFundUsiSet: O.toUndefined(SuperSelectionAppService.defaultFundUsi),
123
- superCampaignEnabled: false
124
- }),
125
- miscService.trackClickPromotedTileAsync(fund.isPromotedDefault
126
- ? {
127
- promotedDefault: {
128
- fundId: fund.fundId
129
- }
130
- }
131
- : {
132
- promoted: {
133
- fundId: fund.fundId
134
- }
135
- })
136
- ]);
137
- promotedFundState.fund = {
138
- id: fund.fundId,
139
- type: fund.isPromotedDefault ? 'PromotedDefault' : 'Promoted'
140
- };
141
- return navigationService.navigateInternally(this.history, fund.route);
142
- }
143
- static get is() { return "sss-super-choice-page"; }
144
- static get assetsDirs() { return ["assets"]; }
145
- static get properties() { return {
146
- "history": {
147
- "type": "unknown",
148
- "mutable": false,
149
- "complexType": {
150
- "original": "RouterHistory",
151
- "resolved": "RouterHistory",
152
- "references": {
153
- "RouterHistory": {
154
- "location": "import",
155
- "path": "@stencil/router"
156
- }
157
- }
158
- },
159
- "required": false,
160
- "optional": false,
161
- "docs": {
162
- "tags": [],
163
- "text": ""
164
- }
165
- }
166
- }; }
167
- static get states() { return {
168
- "promotedFunds": {}
169
- }; }
170
- }
171
- injectHistory(SuperChoicePage);