@flarehr/apollo-super-selection 3.52.60060 → 3.55.61713

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 (203) hide show
  1. package/dist/lib/apollo-super-selection/apollo-super-selection.css +1 -0
  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/assets/icon-check.svg +3 -0
  5. package/dist/lib/apollo-super-selection/assets/icon-exclamation.svg +3 -0
  6. package/dist/lib/apollo-super-selection/assets/icon-information-circle.svg +3 -0
  7. package/dist/lib/apollo-super-selection/p-0d3b8084.system.entry.js +1 -0
  8. package/dist/lib/apollo-super-selection/p-0ef73515.entry.js +1 -0
  9. package/dist/lib/apollo-super-selection/p-0f723eb4.system.js +1 -0
  10. package/dist/lib/apollo-super-selection/{p-01a9f4a4.entry.js → p-12d77532.entry.js} +1 -1
  11. package/dist/lib/apollo-super-selection/p-14885f78.system.js +15 -0
  12. package/dist/lib/apollo-super-selection/{p-381262c1.system.js → p-15f0e5eb.system.js} +1 -1
  13. package/dist/lib/apollo-super-selection/p-29c11183.js +15 -0
  14. package/dist/lib/apollo-super-selection/{p-20136efe.entry.js → p-375401a0.entry.js} +1 -1
  15. package/dist/lib/apollo-super-selection/{p-285da037.system.entry.js → p-3ce021a5.system.entry.js} +1 -1
  16. package/dist/lib/apollo-super-selection/{p-61734b66.js → p-40e504c4.js} +1 -1
  17. package/dist/lib/apollo-super-selection/p-67b71067.entry.js +1 -0
  18. package/dist/lib/apollo-super-selection/{p-082669d9.js → p-683b6e23.js} +1 -1
  19. package/dist/lib/apollo-super-selection/{p-38ee2795.system.js → p-6cdec249.system.js} +1 -1
  20. package/dist/lib/apollo-super-selection/{p-cd49a6b7.system.entry.js → p-76eee25a.system.entry.js} +1 -1
  21. package/dist/lib/apollo-super-selection/p-86e3e03f.js +1 -0
  22. package/dist/lib/apollo-super-selection/{p-8cbfc343.system.entry.js → p-918a740c.system.entry.js} +1 -1
  23. package/dist/lib/apollo-super-selection/p-93f7a547.entry.js +14 -0
  24. package/dist/lib/apollo-super-selection/p-c249f6ed.system.js +1 -0
  25. package/dist/lib/apollo-super-selection/p-c2b9cfa5.system.entry.js +69 -0
  26. package/dist/lib/apollo-super-selection/{p-a98c2760.entry.js → p-cb6b386e.entry.js} +1 -1
  27. package/dist/lib/apollo-super-selection/{p-f15bf700.system.entry.js → p-e9a34be2.system.entry.js} +1 -1
  28. package/dist/lib/cjs/{active-router-e92fd784.js → active-router-71d965f4.js} +1 -1
  29. package/dist/lib/cjs/apollo-super-selection.cjs.js +4 -5
  30. package/dist/lib/cjs/{app-globals-45007120.js → app-globals-b1125d8c.js} +1 -1
  31. package/dist/lib/cjs/context-consumer.cjs.entry.js +1 -1
  32. package/dist/lib/cjs/{datorama-akita-7f4b082a.js → datorama-akita-6c9cb8fb.js} +1005 -68
  33. package/dist/lib/cjs/{index-942e6faa.js → index-f746d8f0.js} +2 -0
  34. package/dist/lib/cjs/loader.cjs.js +4 -5
  35. package/dist/lib/cjs/{fl-button_31.cjs.entry.js → sss-button_28.cjs.entry.js} +2138 -2177
  36. package/dist/lib/cjs/stencil-async-content.cjs.entry.js +1 -1
  37. package/dist/lib/cjs/stencil-route-title.cjs.entry.js +2 -2
  38. package/dist/lib/cjs/stencil-router-prompt.cjs.entry.js +2 -2
  39. package/dist/lib/cjs/stencil-router-redirect.cjs.entry.js +2 -2
  40. package/dist/lib/collection/apollo-super-selection.css +1 -0
  41. package/dist/lib/collection/collection-manifest.json +16 -28
  42. package/dist/lib/collection/components/app-host/loading-page.js +3 -3
  43. package/dist/lib/collection/components/app-host/super-selection-app-host.css +0 -4
  44. package/dist/lib/collection/components/app-host/super-selection-app-host.js +7 -19
  45. package/dist/lib/collection/components/super-selection-app/api/super-selection.api.dto.js +69 -1
  46. package/dist/lib/collection/components/super-selection-app/api/super-selection.api.js +9 -3
  47. package/dist/lib/collection/components/super-selection-app/app-state-pages/success.js +16 -21
  48. package/dist/lib/collection/components/super-selection-app/assets/icon-check.svg +3 -0
  49. package/dist/lib/collection/components/super-selection-app/assets/icon-exclamation.svg +3 -0
  50. package/dist/lib/collection/components/super-selection-app/assets/icon-information-circle.svg +3 -0
  51. package/dist/lib/collection/components/super-selection-app/consent/consent.js +57 -0
  52. package/dist/lib/collection/components/super-selection-app/existing-choice/existing-choice.js +136 -0
  53. package/dist/lib/collection/components/super-selection-app/footer-section/footer-section.js +6 -18
  54. package/dist/lib/collection/components/super-selection-app/funds/constants.js +50 -0
  55. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/custom-fund.js +32 -16
  56. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/custom-fund.store.js +10 -14
  57. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/default-fund/default-fund.js +36 -45
  58. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-inputs.js +40 -19
  59. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.js +45 -40
  60. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.js +104 -58
  61. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.js +53 -49
  62. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-not-supported.js +6 -16
  63. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund-join-page.js +1 -1
  64. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund.store.js +1 -4
  65. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-iframe-builder.js +10 -4
  66. package/dist/lib/collection/components/super-selection-app/funds/slate-super/services/slate-iframe-builder.js +13 -4
  67. package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-join-page.js +2 -3
  68. package/dist/lib/collection/components/super-selection-app/header-section/header-section.js +45 -0
  69. package/dist/lib/collection/components/super-selection-app/misc/button.js +146 -0
  70. package/dist/lib/collection/components/super-selection-app/misc/dropdown-async.css +7 -0
  71. package/dist/lib/collection/components/super-selection-app/misc/dropdown-async.js +359 -0
  72. package/dist/lib/collection/components/super-selection-app/misc/loading-indicator.js +52 -0
  73. package/dist/lib/collection/components/super-selection-app/services/australian-fund-lookup.service.js +8 -4
  74. package/dist/lib/collection/components/super-selection-app/services/event-tracking.service.js +20 -0
  75. package/dist/lib/collection/components/super-selection-app/services/existing-super-choice-info.service.js +95 -0
  76. package/dist/lib/collection/components/super-selection-app/services/feature-flag.service.js +11 -0
  77. package/dist/lib/collection/components/super-selection-app/services/navigation.service.js +8 -0
  78. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.routes.js +6 -4
  79. package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.js +69 -34
  80. package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.store.js +10 -0
  81. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-bottom.js +94 -0
  82. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-top.js +90 -0
  83. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +85 -92
  84. package/dist/lib/collection/components/super-selection-app/super-selection-app.css +16 -4
  85. package/dist/lib/collection/components/super-selection-app/super-selection-app.js +59 -11
  86. package/dist/lib/esm/{active-router-4c80d3d2.js → active-router-2056f552.js} +1 -1
  87. package/dist/lib/esm/apollo-super-selection.js +4 -5
  88. package/dist/lib/esm/{app-globals-7ac1ffba.js → app-globals-c1f89805.js} +1 -1
  89. package/dist/lib/esm/context-consumer.entry.js +1 -1
  90. package/dist/lib/esm/{datorama-akita-79ce4385.js → datorama-akita-127aea91.js} +960 -28
  91. package/dist/lib/esm/{index-0496d1af.js → index-e1e930c8.js} +2 -1
  92. package/dist/lib/esm/loader.js +4 -5
  93. package/dist/lib/esm/{fl-button_31.entry.js → sss-button_28.entry.js} +2124 -2160
  94. package/dist/lib/esm/stencil-async-content.entry.js +1 -1
  95. package/dist/lib/esm/stencil-route-title.entry.js +2 -2
  96. package/dist/lib/esm/stencil-router-prompt.entry.js +2 -2
  97. package/dist/lib/esm/stencil-router-redirect.entry.js +2 -2
  98. package/dist/lib/esm-es5/{active-router-4c80d3d2.js → active-router-2056f552.js} +1 -1
  99. package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
  100. package/dist/lib/esm-es5/{app-globals-7ac1ffba.js → app-globals-c1f89805.js} +1 -1
  101. package/dist/lib/esm-es5/context-consumer.entry.js +1 -1
  102. package/dist/lib/esm-es5/datorama-akita-127aea91.js +15 -0
  103. package/dist/lib/esm-es5/{index-0496d1af.js → index-e1e930c8.js} +1 -1
  104. package/dist/lib/esm-es5/loader.js +1 -1
  105. package/dist/lib/esm-es5/sss-button_28.entry.js +69 -0
  106. package/dist/lib/esm-es5/stencil-async-content.entry.js +1 -1
  107. package/dist/lib/esm-es5/stencil-route-title.entry.js +1 -1
  108. package/dist/lib/esm-es5/stencil-router-prompt.entry.js +1 -1
  109. package/dist/lib/esm-es5/stencil-router-redirect.entry.js +1 -1
  110. package/dist/lib/types/components/app-host/super-selection-app-host.d.ts +0 -3
  111. package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +30 -0
  112. package/dist/lib/types/components/super-selection-app/api/super-selection.api.d.ts +2 -1
  113. package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +19 -4
  114. package/dist/lib/types/components/super-selection-app/consent/consent.d.ts +9 -0
  115. package/dist/lib/types/components/super-selection-app/existing-choice/existing-choice.d.ts +12 -0
  116. package/dist/lib/types/components/super-selection-app/footer-section/footer-section.d.ts +0 -1
  117. package/dist/lib/types/components/super-selection-app/funds/constants.d.ts +3 -0
  118. package/dist/lib/types/components/super-selection-app/funds/custom-fund/custom-fund.d.ts +1 -1
  119. package/dist/lib/types/components/super-selection-app/funds/custom-fund/custom-fund.store.d.ts +4 -6
  120. package/dist/lib/types/components/super-selection-app/funds/custom-fund/default-fund/default-fund.d.ts +0 -2
  121. package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-inputs.d.ts +2 -1
  122. package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.d.ts +1 -0
  123. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.d.ts +7 -0
  124. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.d.ts +1 -0
  125. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.form.d.ts +0 -1
  126. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund.store.d.ts +0 -3
  127. package/dist/lib/types/components/super-selection-app/header-section/header-section.d.ts +4 -0
  128. package/dist/lib/types/components/super-selection-app/misc/button.d.ts +11 -0
  129. package/dist/lib/types/components/super-selection-app/misc/dropdown-async.d.ts +44 -0
  130. package/dist/lib/types/components/super-selection-app/misc/loading-indicator.d.ts +5 -0
  131. package/dist/lib/types/components/super-selection-app/services/australian-fund-lookup.service.d.ts +1 -0
  132. package/dist/lib/types/components/super-selection-app/services/event-tracking.service.d.ts +4 -0
  133. package/dist/lib/types/components/super-selection-app/services/existing-super-choice-info.service.d.ts +51 -0
  134. package/dist/lib/types/components/super-selection-app/services/feature-flag.service.d.ts +3 -0
  135. package/dist/lib/types/components/super-selection-app/services/navigation.service.d.ts +6 -0
  136. package/dist/lib/types/components/super-selection-app/services/super-selection-app.routes.d.ts +3 -2
  137. package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.d.ts +6 -3
  138. package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.store.d.ts +8 -0
  139. package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-bottom.d.ts +9 -0
  140. package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-top.d.ts +7 -0
  141. package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-page.d.ts +1 -4
  142. package/dist/lib/types/components/super-selection-app/super-selection-app.d.ts +2 -1
  143. package/dist/lib/types/components.d.ts +148 -97
  144. package/package.json +12 -7
  145. package/dist/lib/apollo-super-selection/assets/logo-qsuper-square.png +0 -0
  146. package/dist/lib/apollo-super-selection/assets/logo-qsuper.png +0 -0
  147. package/dist/lib/apollo-super-selection/p-0623b20a.system.entry.js +0 -69
  148. package/dist/lib/apollo-super-selection/p-13573238.system.js +0 -15
  149. package/dist/lib/apollo-super-selection/p-342cee5a.js +0 -1
  150. package/dist/lib/apollo-super-selection/p-38f24f69.js +0 -1
  151. package/dist/lib/apollo-super-selection/p-642db1f7.system.entry.js +0 -1
  152. package/dist/lib/apollo-super-selection/p-64ebe17d.system.entry.js +0 -1
  153. package/dist/lib/apollo-super-selection/p-7dbe5a2f.system.js +0 -1
  154. package/dist/lib/apollo-super-selection/p-abedb220.entry.js +0 -1
  155. package/dist/lib/apollo-super-selection/p-ae4f5e0b.system.js +0 -1
  156. package/dist/lib/apollo-super-selection/p-c5e41889.entry.js +0 -1
  157. package/dist/lib/apollo-super-selection/p-d82b00ed.system.js +0 -1
  158. package/dist/lib/apollo-super-selection/p-df9ce4b7.js +0 -15
  159. package/dist/lib/apollo-super-selection/p-f7a45412.entry.js +0 -1
  160. package/dist/lib/apollo-super-selection/p-fbe8c6d1.entry.js +0 -14
  161. package/dist/lib/cjs/delay-81aff2f1.js +0 -955
  162. package/dist/lib/cjs/fl-style-guide.cjs.entry.js +0 -90
  163. package/dist/lib/collection/components/super-selection-app/footer-section/footer-section.css +0 -11
  164. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-not-supported.css +0 -23
  165. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund-standard-choice-page.js +0 -62
  166. package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-fund.store.js +0 -10
  167. package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-standard-choice-page.js +0 -67
  168. package/dist/lib/collection/components/super-selection-app/funds/slate-super/slatesuper-header.css +0 -0
  169. package/dist/lib/collection/components/super-selection-app/funds/slate-super/slatesuper-header.js +0 -19
  170. package/dist/lib/collection/components/super-selection-app/notifications-section/notifications-section.js +0 -25
  171. package/dist/lib/collection/components/super-selection-app/services/notifications.service.js +0 -37
  172. package/dist/lib/collection/components/super-selection-app/services/notifications.store.js +0 -3
  173. package/dist/lib/collection/components/super-selection-app/services/selected-super-choice-info.service.js +0 -50
  174. package/dist/lib/collection/components/super-selection-app/standard-choice/api/standard-choice.model.js +0 -1
  175. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-qsuper-square.png +0 -0
  176. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-qsuper.png +0 -0
  177. package/dist/lib/collection/components/super-selection-app/super-choice-page/selected-super-choice-section/selected-super-choice-section.css +0 -18
  178. package/dist/lib/collection/components/super-selection-app/super-choice-page/selected-super-choice-section/selected-super-choice-section.js +0 -53
  179. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item.js +0 -296
  180. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.css +0 -70
  181. package/dist/lib/esm/delay-c0555599.js +0 -935
  182. package/dist/lib/esm/fl-style-guide.entry.js +0 -86
  183. package/dist/lib/esm-es5/datorama-akita-79ce4385.js +0 -15
  184. package/dist/lib/esm-es5/delay-c0555599.js +0 -1
  185. package/dist/lib/esm-es5/fl-button_31.entry.js +0 -69
  186. package/dist/lib/esm-es5/fl-style-guide.entry.js +0 -1
  187. package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/button/button.css +0 -45
  188. package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/dropdown/dropdown.css +0 -9
  189. package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/dropdown-async/dropdown-async.css +0 -9
  190. package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/loading-indicator/loading-indicator.css +0 -141
  191. package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/promise-button/promise-button.css +0 -5
  192. package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/style-guide/style-guide.css +0 -0
  193. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund-standard-choice-page.d.ts +0 -8
  194. package/dist/lib/types/components/super-selection-app/funds/slate-super/slate-fund.store.d.ts +0 -7
  195. package/dist/lib/types/components/super-selection-app/funds/slate-super/slate-standard-choice-page.d.ts +0 -8
  196. package/dist/lib/types/components/super-selection-app/funds/slate-super/slatesuper-header.d.ts +0 -3
  197. package/dist/lib/types/components/super-selection-app/notifications-section/notifications-section.d.ts +0 -5
  198. package/dist/lib/types/components/super-selection-app/services/notifications.service.d.ts +0 -15
  199. package/dist/lib/types/components/super-selection-app/services/notifications.store.d.ts +0 -14
  200. package/dist/lib/types/components/super-selection-app/services/selected-super-choice-info.service.d.ts +0 -18
  201. package/dist/lib/types/components/super-selection-app/standard-choice/api/standard-choice.model.d.ts +0 -3
  202. package/dist/lib/types/components/super-selection-app/super-choice-page/selected-super-choice-section/selected-super-choice-section.d.ts +0 -5
  203. package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-item.d.ts +0 -22
@@ -1,97 +1,103 @@
1
- import { Component, h, Host, Prop, State } from '@stencil/core';
2
- import { isSome, none } from 'fp-ts/Option';
3
- import iframe from '../../../utils/iframe';
1
+ import { Component, getAssetPath, h, Host, Prop, State } from '@stencil/core';
4
2
  import * as constants from '../funds/constants';
5
3
  import promotedFundState from '../funds/promoted-fund/promoted-fund.store';
6
4
  import { EventTrackingService } from '../services/event-tracking.service';
5
+ import { FeatureFlagService } from '../services/feature-flag.service';
7
6
  import navigationService from '../services/navigation.service';
8
- import chosenFundService from '../services/selected-super-choice-info.service';
9
7
  import { SuperSelectionAppRoutes } from '../services/super-selection-app.routes';
10
8
  import SuperSelectionAppService from '../services/super-selection-app.service';
11
9
  export class SuperChoicePage {
12
10
  constructor() {
13
11
  this.promotedFunds = this.getPromotedFunds();
14
- this.chosenFund = none;
15
12
  this.eventTrackingService = EventTrackingService.Instance;
16
- this.isPromotedFundSelected = (fundId) => {
17
- return (isSome(this.chosenFund) &&
18
- this.chosenFund.value.isPromoted &&
19
- this.chosenFund.value.promotedId === fundId);
20
- };
21
13
  }
22
14
  componentDidLoad() {
23
- iframe.appReady();
24
15
  const promotedFundsShown = this.promotedFunds.map((item) => item.fundId);
25
- this.eventTrackingService.TrackSuperFundPanelViewedAsync({
16
+ return this.eventTrackingService.TrackSuperFundPanelViewedAsync({
26
17
  promotedFundsShown
27
18
  });
28
19
  }
29
- async componentWillLoad() {
30
- this.chosenFund = await chosenFundService.GetChosenFundAsync();
31
- }
32
20
  render() {
33
- const superChoiceParagraphOne = `The choice of superannuation fund is an important personal financial decision. It is open to you to continue with your existing fund, or alternatively, you can select from one of the funds below or choose another fund. Flare is not licensed to advise you in relation to this decision and you may wish to return to this page at a later stage.`;
34
- const superChoiceParagraphTwo = `The content on this page and on the following pages relating to each super fund is provided by the trustee or promoter of the super fund. The super funds presented have not been selected by your employer and neither your employer or Flare are making any recommendation or opinion.`;
35
- const superChoiceParagraphThree = `There are many super funds out there and you should consider the relevant product disclosure statement and choose one that is right for you. If you are unsure, obtain your own advice. You can choose your super fund later, if you need time to obtain advice.`;
36
- const superChoiceParagraphFour = `You should be aware that, if you do choose one of these advertised funds, Flare and its associated entities will normally receive a fee for you doing so.`;
37
- const atoLink = 'https://my.gov.au';
38
- const atoLinkDisplay = 'my.gov.au';
21
+ const mygovLink = 'https://my.gov.au';
22
+ const mygovLinkDisplay = 'www.my.gov.au';
39
23
  const superfundsLink = 'https://www.apra.gov.au/register-of-superannuation-institutions';
40
- const superfundsLinkDisplay = 'www.apra.gov.au/register-of-superannuation-institutions';
24
+ const superfundsLinkDisplay = 'www.apra.gov.au';
41
25
  return (h(Host, null,
42
- h("div", { class: "container mt-0 mb-0" },
43
- h("div", { class: "row justify-content-center" },
44
- h("div", { class: "col" },
45
- h("h3", { class: "mt-3 font-weight-bold text-center mb-4" }, "Choose your Super"))),
46
- h("div", { class: "row justify-content-center" },
47
- h("div", { class: "col" },
48
- h("p", { class: "text-center font-weight-bold" }, superChoiceParagraphOne),
49
- h("p", { class: "text-center" }, superChoiceParagraphTwo),
50
- h("p", { class: "text-center" }, superChoiceParagraphThree))),
51
- h("div", { class: "row" },
52
- h("div", { class: "col" },
53
- h("sss-notifications-section", null))),
54
- h("div", { class: "row justify-content-center mt-4" },
55
- h("div", { class: "col col-sm-10 col-md-8 col-xl-7" },
56
- h("div", { class: "row" },
57
- h("div", { class: "col" },
58
- h("div", { class: "d-flex flex-fill" }, isSome(this.chosenFund) && !this.chosenFund.value.isPromoted && (h("sss-selected-super-choice-section", { fundType: this.chosenFund.value.type, fundName: this.chosenFund.value.name, class: "flex-fill position-relative" }))))),
59
- h("div", { class: "row mt-3 justify-content-center" }, this.getPromotedFunds().map((fund) => (h("div", { class: "col-12 col-lg-6 d-flex" },
60
- h("sss-super-choice-item", { class: "card mb-3 mb-lg-0 mx-0 flex-grow-1", logo: fund.logo, isSelected: this.isPromotedFundSelected(fund.fundId), usi: fund.usi, name: fund.name, subText: fund.subText, pdsLinkText: fund.pdsLinkText, pdsLink: navigationService.toExternalUrl(fund.pdsLink), features: JSON.stringify(fund.features), featureSubText: fund.featureSubText, disclaimer: fund.disclaimer, abnInfo: fund.abnInfo, abn: fund.abn, onJoinFundClicked: async () => this.handleJoinSuperClickAsync(fund) }))))),
61
- h("div", { class: "row mt-3 px-3" },
62
- h("div", { class: "col p-4 border rounded bg-light" },
63
- h("div", { class: "row" },
64
- h("div", { class: "col" },
65
- h("h5", { class: "font-weight-bold" }, "Choose another super fund"),
66
- h("p", { class: "mb-1" }, "Select this option if you'd like to use your current account with another super fund."),
67
- h("ul", { class: "ml-n3" },
68
- h("li", null,
69
- "If you are unsure of your current super fund details, you can find out at",
70
- ' ',
71
- h("a", { target: "_blank", href: navigationService.toExternalUrl(atoLink) }, atoLinkDisplay)),
72
- h("li", { class: "mt-1" },
73
- "A full list of super funds can be viewed at",
74
- ' ',
75
- h("a", { target: "_blank", href: navigationService.toExternalUrl(superfundsLink) }, superfundsLinkDisplay))))),
76
- h("div", { class: "row" },
77
- h("div", { class: "col" },
78
- h("stencil-route-link", { url: SuperSelectionAppRoutes.MyOwnFund },
79
- h("fl-button", { isBlockElement: true, variant: "primary", class: "d-lg-none" }, "Choose another fund"),
80
- h("div", { class: "mt-n3 d-none d-lg-flex justify-content-end align-items-end" },
81
- h("fl-button", { variant: "primary" }, "Choose another fund"))))))))),
82
- h("div", { class: "row justify-content-center mt-5" },
83
- h("div", { class: "col" },
84
- h("p", { class: "text-center" }, superChoiceParagraphFour))))));
26
+ h("div", null,
27
+ h("sss-header-section", { currentPage: "choice" }),
28
+ FeatureFlagService.isNewComplianceEnabled() && (h("div", { class: "mt-8 text-sm text-center leading-6" },
29
+ "Not looking to join a new fund? You can skip the featured super funds and",
30
+ ' ',
31
+ h("stencil-route-link", { url: SuperSelectionAppRoutes.MyOwnFund },
32
+ h("span", { class: "text-primary-base font-medium" }, "choose another super fund")),
33
+ ".")),
34
+ !FeatureFlagService.isNewComplianceEnabled() && (h("div", { class: "flex justify-center pb-4" },
35
+ h("div", { class: "text-center space-y-4 max-w-960 text-sm leading-6" },
36
+ h("p", { class: "text-lg leading-8 text-gray-600" }, "The choice of superannuation fund is an important personal financial decision. It is open to you to continue with your existing fund, or alternatively, you can select from one of the funds below or choose another fund."),
37
+ h("p", null, "Flare is not licensed to advise you in relation to this decision and you may wish to return to this page at a later stage."),
38
+ h("p", null, "The content on this page and on the following pages relating to each super fund is provided by the trustee or promoter of the super fund. The super funds presented have not been selected by your employer and neither your employer or Flare are making any recommendation or opinion."),
39
+ h("p", null, "There are many super funds out there and you should consider the relevant product disclosure statement and choose one that is right for you. If you are unsure, obtain your own advice. You can choose your super fund later, if you need time to obtain advice."),
40
+ h("p", null, "You should be aware that, if you do choose one of these advertised funds, Flare and its associated entities will normally receive a fee for you doing so.")))),
41
+ h("div", { class: "flex justify-center mt-8" },
42
+ h("div", { class: {
43
+ 'lg:grid border-l border-t lg:border-b rounded-lg': true,
44
+ 'lg:grid-cols-1 max-w-400': this.promotedFunds.length === 1,
45
+ 'lg:grid-cols-2 max-w-720': this.promotedFunds.length === 2,
46
+ 'lg:grid-cols-3 max-w-960': this.promotedFunds.length === 3
47
+ } },
48
+ this.promotedFunds.map((fund, index) => (h("div", { class: {
49
+ 'border-r': true,
50
+ 'rounded-tr-lg': index === 0,
51
+ 'lg:rounded-tr-none': index === 0 && index !== this.promotedFunds.length - 1,
52
+ 'rounded-br-lg lg:rounded-br-none lg:rounded-tr-lg': index === this.promotedFunds.length - 1
53
+ } },
54
+ h("div", { class: {
55
+ 'flex border-b lg:border-b-0': true,
56
+ 'rounded-b-lg': index === this.promotedFunds.length - 1
57
+ } },
58
+ h("div", { class: "hidden md:flex lg:hidden w-36 justify-center pt-6 pl-6" },
59
+ h("img", { class: "h-16 object-contain w-full max-w-[96px]", alt: fund.name, src: getAssetPath(`assets/${fund.logo}`) })),
60
+ h("div", { class: "w-full" },
61
+ h("sss-super-choice-item-top", { logo: fund.logo, name: fund.name, features: JSON.stringify(fund.features), featureSubText: fund.featureSubText }),
62
+ h("div", { class: "lg:hidden" },
63
+ h("sss-super-choice-item-bottom", { disclaimer: fund.disclaimer, abnInfo: fund.abnInfo, abn: fund.abn, onJoinFundClicked: async () => this.handleJoinSuperClickAsync(fund) }))))))),
64
+ this.promotedFunds.map((fund, index) => (h("div", { class: {
65
+ 'hidden lg:block border-r': true,
66
+ 'rounded-br-lg': index === this.promotedFunds.length - 1
67
+ } },
68
+ h("sss-super-choice-item-bottom", { disclaimer: fund.disclaimer, abnInfo: fund.abnInfo, abn: fund.abn, onJoinFundClicked: async () => this.handleJoinSuperClickAsync(fund) })))))),
69
+ h("div", { class: "flex justify-center mt-8 sm:mt-12" },
70
+ h("div", { class: "pb-8 sm:pb-12 max-w-720 border-b" },
71
+ h("h5", { class: "font-bold sm:text-lg" }, "Or, choose another super fund:"),
72
+ h("ul", { class: "list-disc list-outside ml-6 mt-3 mb-6 space-y-2 leading-6 text-sm sm:text-base" },
73
+ 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."),
74
+ h("li", null,
75
+ "If you are unsure of your current super fund details, you can find out at",
76
+ ' ',
77
+ h("a", { class: "text-primary-base font-medium", target: "_blank", href: navigationService.toExternalUrl(mygovLink) }, mygovLinkDisplay)),
78
+ h("li", null,
79
+ "A full list of super funds can be viewed at",
80
+ ' ',
81
+ h("a", { class: "text-primary-base font-medium", target: "_blank", href: navigationService.toExternalUrl(superfundsLink) }, superfundsLinkDisplay))),
82
+ h("stencil-route-link", { url: SuperSelectionAppRoutes.MyOwnFund },
83
+ h("sss-button", { fillWidthOnMobile: true }, "Choose another super fund")))),
84
+ FeatureFlagService.isNewComplianceEnabled() && (h("div", { class: "flex justify-center" },
85
+ h("div", { class: "pt-8 sm:pt-12 max-w-720" },
86
+ h("h5", { class: "font-semibold" }, "IMPORTANT INFORMATION:"),
87
+ h("ul", { class: "list-disc list-outside ml-6 mt-3 space-y-2 text-sm leading-6" },
88
+ 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."),
89
+ 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."),
90
+ h("li", null, "Your employer and Flare 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."),
91
+ 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."),
92
+ h("li", null, "You should be aware that, if you do choose one of the featured superannuation funds, Flare and it\u2019s associates will normally receive a fee for you doing so (this includes Simple Financial Choices Pty Ltd, a wholly owned subsidiary of Flare, which is a sub-promoter of Slate Super)."))))))));
85
93
  }
86
94
  allFunds() {
87
95
  return [
88
96
  {
89
97
  fundId: constants.Slate.Id,
90
- usi: constants.Slate.Usi,
91
98
  name: constants.Slate.Name,
92
99
  logo: 'logo-slate.png',
93
100
  route: SuperSelectionAppRoutes.SlateJoin,
94
- pdsLink: constants.Slate.PdsUrl,
95
101
  features: [
96
102
  { order: 1, value: 'A lifestage investment strategy that evolves with you' },
97
103
  { order: 2, value: 'Advanced mobile app with retirement forecast and smart features' },
@@ -100,11 +106,11 @@ export class SuperChoicePage {
100
106
  disclaimer: (h("p", { class: "small text-muted" },
101
107
  "You should consider the",
102
108
  ' ',
103
- h("a", { target: "_blank", href: navigationService.toExternalUrl(constants.Slate.PdsUrl), onClick: () => this.pdsViewedAsync(constants.Slate.Name, constants.Slate.Usi) }, "Product Disclosure Statement"),
109
+ h("a", { class: "font-medium underline", target: "_blank", href: navigationService.toExternalUrl(constants.Slate.PdsUrl), onClick: () => this.pdsViewedAsync(constants.Slate.Name, constants.Slate.Usi) }, "Product Disclosure Statement"),
104
110
  ' ',
105
111
  "and",
106
112
  ' ',
107
- h("a", { target: "_blank", href: navigationService.toExternalUrl('https://slate.co/forms-and-documents/target-market-determination/') }, "Target Market Determination"),
113
+ h("a", { class: "font-medium underline", target: "_blank", href: navigationService.toExternalUrl('https://slate.co/forms-and-documents/target-market-determination/') }, "Target Market Determination"),
108
114
  ' ',
109
115
  "before deciding to invest in or apply to become a member of the fund.")),
110
116
  abnInfo: `Diversa Trustees Limited`,
@@ -113,19 +119,18 @@ export class SuperChoicePage {
113
119
  {
114
120
  fundId: constants.AustralianRetirementTrust.Id,
115
121
  name: constants.AustralianRetirementTrust.Name,
116
- subText: 'QSuper is now part of Australian Retirement Trust. If you have an existing QSuper account, you will continue to hold that account by selecting this option.',
117
122
  logo: 'logo-art.svg',
118
123
  route: SuperSelectionAppRoutes.PromotedFundJoin,
119
- pdsLink: constants.AustralianRetirementTrust.PdsUrl,
120
124
  features: [
121
125
  { order: 1, value: '$200 billion in retirement savings' },
122
126
  { order: 2, value: '2+ million members' },
123
127
  { order: 3, value: 'A focus on delivering strong, long‑term returns' }
124
128
  ],
125
- disclaimer: (h("p", { class: "small text-muted" },
129
+ featureSubText: 'QSuper is now part of Australian Retirement Trust. If you have an existing QSuper account, you will continue to hold that account by selecting this option.',
130
+ disclaimer: (h("p", null,
126
131
  "You should consider the",
127
132
  ' ',
128
- h("a", { target: "_blank", href: navigationService.toExternalUrl(constants.AustralianRetirementTrust.PdsUrl), onClick: () => this.pdsViewedAsync(constants.AustralianRetirementTrust.Name) }, "Product Disclosure Statement"),
133
+ h("a", { class: "font-medium underline", target: "_blank", href: navigationService.toExternalUrl(constants.AustralianRetirementTrust.PdsUrl), onClick: () => this.pdsViewedAsync(constants.AustralianRetirementTrust.Name) }, "Product Disclosure Statement"),
129
134
  ' ',
130
135
  "before deciding to invest in or apply to become a member of this fund.")),
131
136
  abnInfo: `Australian Retirement Trust`,
@@ -134,20 +139,17 @@ export class SuperChoicePage {
134
139
  {
135
140
  fundId: constants.Aware.Id,
136
141
  name: constants.Aware.Name,
137
- subText: 'An industry fund for all',
138
142
  logo: 'logo-aware.svg',
139
143
  route: SuperSelectionAppRoutes.PromotedFundJoin,
140
- pdsLinkText: constants.Aware.PdsUrlText,
141
- pdsLink: constants.Aware.PdsUrl,
142
144
  features: [
143
145
  { order: 1, value: 'Acting on climate change' },
144
146
  { order: 2, value: 'All profits go to members' },
145
147
  { order: 3, value: 'One of Australia’s largest funds' }
146
148
  ],
147
- disclaimer: (h("p", { class: "small text-muted" },
149
+ disclaimer: (h("p", null,
148
150
  "You should consider the",
149
151
  ' ',
150
- h("a", { target: "_blank", href: navigationService.toExternalUrl(constants.Aware.PdsUrl), onClick: () => this.pdsViewedAsync(constants.Aware.Name) }, "Product Disclosure Statement"),
152
+ h("a", { class: "font-medium underline", target: "_blank", href: navigationService.toExternalUrl(constants.Aware.PdsUrl), onClick: () => this.pdsViewedAsync(constants.Aware.Name) }, "Product Disclosure Statement"),
151
153
  ' ',
152
154
  "before deciding to invest in or apply to become a member of this fund.")),
153
155
  abnInfo: `Aware Super Pty Ltd`,
@@ -158,18 +160,16 @@ export class SuperChoicePage {
158
160
  name: constants.Active.Name,
159
161
  logo: 'logo-active.svg',
160
162
  route: SuperSelectionAppRoutes.PromotedFundJoin,
161
- pdsLinkText: constants.Active.PdsUrlText,
162
- pdsLink: constants.Active.PdsUrl,
163
163
  features: [
164
164
  { order: 1, value: "One of Canstar's top-performing funds*" },
165
165
  { order: 2, value: 'Recognised as a leader in responsible investment' },
166
166
  { order: 3, value: 'Calls answered in 20 seconds (average over 5 years)' }
167
167
  ],
168
- featureSubText: '*Past performance does not indicate future performance. As at 22/4/22, Active Super ranked in Canstar’s top 5 funds for 18-49 year-olds with balances up to $250K based on returns over 5 years in Accumulation Scheme.',
169
- disclaimer: (h("p", { class: "small text-muted" },
168
+ featureSubText: '*Past performance is not a reliable indicator of future performance. As at 22 April 2022, Active Super is ranked among Canstar’s top five funds for 18-49 year-olds with a balance up to $250,000 based on returns over 5 years in the Accumulation Scheme.',
169
+ disclaimer: (h("p", null,
170
170
  "Issued by LGSS Pty Limited as trustee for Local Government Super (Active Super ABN:28 901 371 321). Consider the PDS and TMD at",
171
171
  ' ',
172
- h("a", { target: "_blank", onClick: () => this.pdsViewedAsync(constants.Active.Name), href: navigationService.toExternalUrl(constants.Active.PdsUrl) }, "activesuper.com.au"),
172
+ h("a", { class: "font-medium underline", target: "_blank", onClick: () => this.pdsViewedAsync(constants.Active.Name), href: navigationService.toExternalUrl(constants.Active.PdsUrl) }, "activesuper.com.au"),
173
173
  ' ',
174
174
  "before making a decision."))
175
175
  }
@@ -178,7 +178,7 @@ export class SuperChoicePage {
178
178
  getPromotedFunds() {
179
179
  const fundTiles = [];
180
180
  SuperSelectionAppService.promotedFunds.forEach((fundId) => {
181
- const fund = this.allFunds().find((fund) => fundId == fund.fundId);
181
+ const fund = this.allFunds().find((fund) => fundId === fund.fundId);
182
182
  if (fund !== undefined) {
183
183
  fundTiles.push(fund);
184
184
  }
@@ -229,12 +229,6 @@ export class SuperChoicePage {
229
229
  });
230
230
  }
231
231
  static get is() { return "sss-super-choice-page"; }
232
- static get originalStyleUrls() { return {
233
- "$": ["super-choice-page.scss"]
234
- }; }
235
- static get styleUrls() { return {
236
- "$": ["super-choice-page.css"]
237
- }; }
238
232
  static get assetsDirs() { return ["assets"]; }
239
233
  static get properties() { return {
240
234
  "history": {
@@ -259,7 +253,6 @@ export class SuperChoicePage {
259
253
  }
260
254
  }; }
261
255
  static get states() { return {
262
- "promotedFunds": {},
263
- "chosenFund": {}
256
+ "promotedFunds": {}
264
257
  }; }
265
258
  }
@@ -2,14 +2,26 @@ html {
2
2
  scroll-behavior: smooth;
3
3
  }
4
4
 
5
- img.fluid-fit {
6
- object-fit: cover;
7
- }
8
-
9
5
  stencil-route {
10
6
  display: flex;
11
7
  flex: 1 1 auto;
8
+ justify-content: center;
12
9
  }
13
10
  stencil-route:empty {
14
11
  display: none;
12
+ }
13
+
14
+ input + .invalid-feedback {
15
+ display: none;
16
+ }
17
+
18
+ select + .invalid-feedback {
19
+ display: none;
20
+ }
21
+
22
+ .was-validated input:invalid + .invalid-feedback {
23
+ display: block;
24
+ }
25
+ .was-validated select:invalid + .invalid-feedback {
26
+ display: block;
15
27
  }
@@ -1,11 +1,16 @@
1
- import '@flarehr/beacon';
2
- import { Component, Event, h, Host, Prop, State, Watch } from '@stencil/core';
1
+ import { Component, Event, getAssetPath, h, Host, Prop, State, Watch } from '@stencil/core';
3
2
  import { injectHistory } from '@stencil/router';
4
3
  import * as O from 'fp-ts/lib/Option';
5
- import { superSelectionAppStencilRoutes } from './services/super-selection-app.routes';
4
+ import { isSome } from 'fp-ts/lib/Option';
5
+ import iframe from '../../utils/iframe';
6
+ import existingFundService from './services/existing-super-choice-info.service';
7
+ import { FeatureFlagService } from './services/feature-flag.service';
8
+ import navigationService from './services/navigation.service';
9
+ import { SuperSelectionAppRoutes, superSelectionAppStencilRoutes } from './services/super-selection-app.routes';
6
10
  import superSelectionAppService from './services/super-selection-app.service';
7
11
  export class SuperSelectionApp {
8
12
  constructor() {
13
+ this.isSelfHosted = false;
9
14
  this.isAppInitialised = false;
10
15
  }
11
16
  async componentWillLoad() {
@@ -30,16 +35,29 @@ export class SuperSelectionApp {
30
35
  return;
31
36
  this.stepSubmitSuccess.emit();
32
37
  superSelectionAppService.state.hasSuperSelectionBeenSubmitted = false;
38
+ if (this.isSelfHosted) {
39
+ navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.Success);
40
+ }
33
41
  });
34
42
  }
35
43
  async componentDidLoad() {
36
44
  await superSelectionAppService.loadAppStateAsync();
45
+ const chosenFundOption = await existingFundService.GetExistingFundAsync();
37
46
  this.isAppInitialised = true;
38
47
  this.initialised.emit({
39
48
  accountIdOrDefault: superSelectionAppService.accountIdOrDefault,
40
49
  partnerIdOrDefault: superSelectionAppService.partnerIdOrDefault,
41
50
  profileId: superSelectionAppService.profileId
42
51
  });
52
+ iframe.appReady();
53
+ if (isSome(chosenFundOption) && chosenFundOption.value.valid !== 'Inactive') {
54
+ navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ExistingChoicePage);
55
+ }
56
+ else {
57
+ navigationService.navigateInternally(this.history, FeatureFlagService.isNewComplianceEnabled()
58
+ ? SuperSelectionAppRoutes.ConsentPage
59
+ : SuperSelectionAppRoutes.ChoicePage);
60
+ }
43
61
  }
44
62
  authTokenChanged(newValue) {
45
63
  superSelectionAppService.state.jwt = O.fromNullable(newValue);
@@ -48,28 +66,40 @@ export class SuperSelectionApp {
48
66
  window === null || window === void 0 ? void 0 : window.scroll(0, 0);
49
67
  }
50
68
  render() {
51
- return (h(Host, { class: "d-flex justify-content-center flex-grow-1" },
52
- h("div", { class: "d-flex flex-column justify-content-between" }, this.renderAppContent())));
69
+ return (h(Host, null,
70
+ h("link", { rel: "stylesheet", href: getAssetPath('apollo-super-selection.css'), media: "all" }),
71
+ this.renderAppContent()));
53
72
  }
54
73
  routerBaseUrl() {
55
74
  var _a;
56
75
  return ((_a = this.appBaseUrl) === null || _a === void 0 ? void 0 : _a.replace(/\/$/, '')) + '/';
57
76
  }
58
77
  renderAppContent() {
59
- return (h("stencil-router", { root: this.routerBaseUrl() },
60
- h("stencil-route-switch", { scrollTopOffset: 0 },
61
- h("div", { class: "d-flex flex-column" },
62
- h("div", { class: "d-flex justify-content-center" }, this.isAppInitialised ? (superSelectionAppStencilRoutes) : (h("fl-loading-indicator", { class: "mt-5" }))),
63
- h("div", { class: "d-flex justify-content-center" },
64
- h("sss-footer-section", null))))));
78
+ return (h("stencil-router", { root: this.routerBaseUrl(), class: "font-inter" },
79
+ h("stencil-route-switch", { scrollTopOffset: 0 }, this.isAppInitialised ? (h("div", { class: {
80
+ 'pt-28': true,
81
+ '-mt-12': !this.isFundJoinPage(),
82
+ '-mt-28': this.isFundJoinPage(),
83
+ 'pb-6': !FeatureFlagService.isNewComplianceEnabled() && !this.isFundJoinPage(),
84
+ 'pb-12': FeatureFlagService.isNewComplianceEnabled() && !this.isFundJoinPage()
85
+ } },
86
+ superSelectionAppStencilRoutes,
87
+ !FeatureFlagService.isNewComplianceEnabled() && h("sss-footer-section", null))) : (h("div", { class: "flex justify-center py-20" },
88
+ h("sss-loading-indicator", null))))));
89
+ }
90
+ isFundJoinPage() {
91
+ return (window.location.pathname.includes(SuperSelectionAppRoutes.SlateJoin) ||
92
+ window.location.pathname.includes(SuperSelectionAppRoutes.PromotedFundJoin));
65
93
  }
66
94
  static get is() { return "super-selection-app"; }
95
+ static get encapsulation() { return "shadow"; }
67
96
  static get originalStyleUrls() { return {
68
97
  "$": ["super-selection-app.scss"]
69
98
  }; }
70
99
  static get styleUrls() { return {
71
100
  "$": ["super-selection-app.css"]
72
101
  }; }
102
+ static get assetsDirs() { return ["assets"]; }
73
103
  static get properties() { return {
74
104
  "accessToken": {
75
105
  "type": "string",
@@ -161,6 +191,24 @@ export class SuperSelectionApp {
161
191
  "tags": [],
162
192
  "text": ""
163
193
  }
194
+ },
195
+ "isSelfHosted": {
196
+ "type": "boolean",
197
+ "mutable": false,
198
+ "complexType": {
199
+ "original": "boolean",
200
+ "resolved": "boolean",
201
+ "references": {}
202
+ },
203
+ "required": false,
204
+ "optional": false,
205
+ "docs": {
206
+ "tags": [],
207
+ "text": ""
208
+ },
209
+ "attribute": "is-self-hosted",
210
+ "reflect": false,
211
+ "defaultValue": "false"
164
212
  }
165
213
  }; }
166
214
  static get states() { return {
@@ -1,4 +1,4 @@
1
- import { h } from './index-0496d1af.js';
1
+ import { h } from './index-e1e930c8.js';
2
2
 
3
3
  const createProviderConsumer = (defaultState, consumerRender) => {
4
4
  let listeners = new Map();
@@ -1,7 +1,6 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-0496d1af.js';
2
- import './datorama-akita-79ce4385.js';
3
- import './delay-c0555599.js';
4
- import { g as globalScripts } from './app-globals-7ac1ffba.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-e1e930c8.js';
2
+ import './datorama-akita-127aea91.js';
3
+ import { g as globalScripts } from './app-globals-c1f89805.js';
5
4
 
6
5
  /*
7
6
  Stencil Client Patch Browser v2.3.0 | MIT Licensed | https://stenciljs.com
@@ -17,5 +16,5 @@ const patchBrowser = () => {
17
16
 
18
17
  patchBrowser().then(options => {
19
18
  globalScripts();
20
- return bootstrapLazy([["fl-style-guide",[[1,"fl-style-guide",{"themeCssUrl":[1,"theme-css-url"]}]]],["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]}]]],["fl-button_31",[[0,"sss-my-own-fund",{"history":[16],"formState":[32],"isNotAllInformationProvidedMessageVisible":[32]}],[0,"sss-self-managed-fund",{"history":[16],"formState":[32],"showSmsfNotSupported":[32]}],[0,"sss-default-fund",{"history":[16],"formState":[32],"defaultFundProductName":[32]}],[0,"sss-slate-standard-choice-page",{"history":[16],"formState":[32]}],[1,"super-selection-app-host",{"sessionState":[32],"jwt":[32],"appConfiguration":[32],"areStylesLoaded":[32]}],[0,"sss-super-choice-page",{"history":[16],"promotedFunds":[32],"chosenFund":[32]}],[0,"sss-promoted-fund-standard-choice-page",{"history":[16],"formState":[32]}],[0,"sss-success"],[0,"sss-promoted-fund-join-page",{"history":[16]}],[0,"sss-slate-join-page",{"history":[16]}],[0,"super-selection-app",{"accessToken":[1,"access-token"],"backendUrl":[1,"backend-url"],"appBaseUrl":[1,"app-base-url"],"history":[16],"location":[16],"isAppInitialised":[32]}],[0,"sss-my-own-fund-inputs",{"myOwnFundForm":[16],"selectedOption":[32]}],[0,"sss-loading-page"],[0,"sss-self-managed-fund-inputs",{"fundForm":[16],"currentBank":[32]}],[0,"sss-smsf-not-supported-dialog"],[0,"sss-super-choice-item",{"isSelected":[4,"is-selected"],"usi":[1],"name":[1],"subText":[1,"sub-text"],"logo":[1],"pdsLinkText":[1,"pds-link-text"],"pdsLink":[1,"pds-link"],"features":[1],"featureSubText":[1,"feature-sub-text"],"disclaimer":[16],"abnInfo":[1,"abn-info"],"abn":[1],"history":[16]}],[0,"fl-dropdown",{"placeholder":[1],"options":[16],"value":[16],"required":[4],"requiredValidationMessage":[1,"required-validation-message"],"disabled":[4],"inputValue":[32],"isDropdownVisible":[32],"filteredOptions":[32],"highlightedOptionIndex":[32],"selectedOption":[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-selected-super-choice-section",{"fundType":[1,"fund-type"],"fundName":[1,"fund-name"]}],[0,"sss-slatesuper-header"],[0,"sss-footer-section"],[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,"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]}],[0,"fl-dropdown-async",{"placeholder":[1],"searchFunction":[16],"value":[16],"required":[4],"requiredValidationMessage":[1,"required-validation-message"],"disabled":[4],"minSearchStringLength":[2,"min-search-string-length"],"searchState":[32],"inputValue":[32],"isDropdownVisible":[32],"filteredOptions":[32],"highlightedOptionIndex":[32],"selectedOption":[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-notifications-section"],[0,"sss-standard-choice-form",{"standardChoiceFormSignature":[32]}],[4,"fl-promise-button",{"isBlockElement":[4,"is-block-element"],"isRounded":[4,"is-rounded"],"disabled":[4],"variant":[1],"promiseFn":[16],"state":[32]}],[4,"fl-button",{"isBlockElement":[4,"is-block-element"],"disabled":[4],"variant":[1]}],[0,"fl-loading-indicator",{"theme":[1]}],[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_28",[[0,"sss-my-own-fund",{"history":[16],"formState":[32],"isNotAllInformationProvidedMessageVisible":[32],"isSubmitDisabled":[32]}],[0,"sss-self-managed-fund",{"history":[16],"formState":[32],"showSmsfNotSupported":[32],"isSubmitDisabled":[32]}],[0,"sss-super-choice-page",{"history":[16],"promotedFunds":[32]}],[1,"super-selection-app-host",{"sessionState":[32],"jwt":[32],"appConfiguration":[32]}],[0,"sss-default-fund",{"history":[16],"defaultFundProductName":[32]}],[0,"sss-standard-choice-form",{"history":[16],"standardChoiceFormSignature":[32],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-consent-page",{"history":[16]}],[0,"sss-existing-choice-page",{"history":[16],"existingFund":[32]}],[0,"sss-success"],[0,"sss-promoted-fund-join-page",{"history":[16]}],[0,"sss-slate-join-page",{"history":[16]}],[1,"super-selection-app",{"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-smsf-not-supported-dialog"],[0,"sss-super-choice-item-bottom",{"disclaimer":[16],"abnInfo":[1,"abn-info"],"abn":[1]}],[0,"sss-loading-page"],[0,"sss-self-managed-fund-inputs",{"fundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"currentBank":[32],"addressErrorMessage":[32]}],[0,"sss-super-choice-item-top",{"name":[1],"logo":[1],"features":[1],"featureSubText":[1,"feature-sub-text"]}],[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"],[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-header-section",{"currentPage":[1,"current-page"]}],[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],"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);
21
20
  });
@@ -1,4 +1,4 @@
1
- import { e as enableAkitaProdMode } from './datorama-akita-79ce4385.js';
1
+ import { e as enableAkitaProdMode } from './datorama-akita-127aea91.js';
2
2
 
3
3
  // Interim workaround for stencil router accessing session storage.
4
4
  // See https://github.com/ionic-team/stencil-router/pull/111/files.
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, d as getElement } from './index-0496d1af.js';
1
+ import { r as registerInstance, d as getElement } from './index-e1e930c8.js';
2
2
 
3
3
  const ContextConsumer = class {
4
4
  constructor(hostRef) {