@flarehr/apollo-super-selection 3.14.52544 → 3.17.52781

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 (281) hide show
  1. package/package.json +1 -1
  2. package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +0 -1
  3. package/dist/lib/apollo-super-selection/apollo-super-selection.js +0 -130
  4. package/dist/lib/apollo-super-selection/index.esm.js +0 -0
  5. package/dist/lib/apollo-super-selection/p-13573238.system.js +0 -15
  6. package/dist/lib/apollo-super-selection/p-27129f6d.system.js +0 -1
  7. package/dist/lib/apollo-super-selection/p-2bbd0732.system.entry.js +0 -1
  8. package/dist/lib/apollo-super-selection/p-2bd70644.system.entry.js +0 -1
  9. package/dist/lib/apollo-super-selection/p-30bebd30.entry.js +0 -1
  10. package/dist/lib/apollo-super-selection/p-31a3ef1a.entry.js +0 -14
  11. package/dist/lib/apollo-super-selection/p-342cee5a.js +0 -1
  12. package/dist/lib/apollo-super-selection/p-381262c1.system.js +0 -1
  13. package/dist/lib/apollo-super-selection/p-38f24f69.js +0 -1
  14. package/dist/lib/apollo-super-selection/p-48e99aba.system.js +0 -1
  15. package/dist/lib/apollo-super-selection/p-4ceefd14.system.entry.js +0 -1
  16. package/dist/lib/apollo-super-selection/p-50ea2036.system.js +0 -1
  17. package/dist/lib/apollo-super-selection/p-52cb55a8.system.entry.js +0 -1
  18. package/dist/lib/apollo-super-selection/p-55737760.entry.js +0 -1
  19. package/dist/lib/apollo-super-selection/p-59a986b0.js +0 -1
  20. package/dist/lib/apollo-super-selection/p-7b72a245.system.entry.js +0 -1
  21. package/dist/lib/apollo-super-selection/p-7dbe5a2f.system.js +0 -1
  22. package/dist/lib/apollo-super-selection/p-84240b0b.entry.js +0 -1
  23. package/dist/lib/apollo-super-selection/p-943b206b.entry.js +0 -1
  24. package/dist/lib/apollo-super-selection/p-9b5fb4bc.system.js +0 -1
  25. package/dist/lib/apollo-super-selection/p-cbe37145.js +0 -1
  26. package/dist/lib/apollo-super-selection/p-cc209002.system.entry.js +0 -1
  27. package/dist/lib/apollo-super-selection/p-cc9c37a4.entry.js +0 -1
  28. package/dist/lib/apollo-super-selection/p-dd3a95d5.system.entry.js +0 -69
  29. package/dist/lib/apollo-super-selection/p-df9ce4b7.js +0 -15
  30. package/dist/lib/apollo-super-selection/p-fbcce741.entry.js +0 -1
  31. package/dist/lib/cjs/active-router-08eabf9a.js +0 -75
  32. package/dist/lib/cjs/apollo-super-selection.cjs.js +0 -23
  33. package/dist/lib/cjs/app-globals-45007120.js +0 -25
  34. package/dist/lib/cjs/context-consumer.cjs.entry.js +0 -29
  35. package/dist/lib/cjs/datorama-akita-7f4b082a.js +0 -2704
  36. package/dist/lib/cjs/delay-81aff2f1.js +0 -955
  37. package/dist/lib/cjs/fl-button_43.cjs.entry.js +0 -16969
  38. package/dist/lib/cjs/fl-style-guide.cjs.entry.js +0 -90
  39. package/dist/lib/cjs/index-b2214bec.js +0 -1764
  40. package/dist/lib/cjs/index.cjs.js +0 -2
  41. package/dist/lib/cjs/loader.cjs.js +0 -25
  42. package/dist/lib/cjs/stencil-async-content.cjs.entry.js +0 -32
  43. package/dist/lib/cjs/stencil-route-title.cjs.entry.js +0 -32
  44. package/dist/lib/cjs/stencil-router-prompt.cjs.entry.js +0 -59
  45. package/dist/lib/cjs/stencil-router-redirect.cjs.entry.js +0 -32
  46. package/dist/lib/collection/collection-manifest.json +0 -125
  47. package/dist/lib/collection/components/app-host/loading-page.js +0 -9
  48. package/dist/lib/collection/components/app-host/services/app-configuration.query.js +0 -18
  49. package/dist/lib/collection/components/app-host/services/app-configuration.service.js +0 -25
  50. package/dist/lib/collection/components/app-host/services/appinsights.service.js +0 -43
  51. package/dist/lib/collection/components/app-host/services/authentication.query.js +0 -21
  52. package/dist/lib/collection/components/app-host/services/authentication.service.js +0 -50
  53. package/dist/lib/collection/components/app-host/services/interop/host-interop.service.js +0 -31
  54. package/dist/lib/collection/components/app-host/services/interop/iframe-interop.service.js +0 -30
  55. package/dist/lib/collection/components/app-host/services/interop/react-native-interop.service.js +0 -20
  56. package/dist/lib/collection/components/app-host/services/interop.query.js +0 -26
  57. package/dist/lib/collection/components/app-host/services/session.store.js +0 -37
  58. package/dist/lib/collection/components/app-host/super-selection-app-host.css +0 -28
  59. package/dist/lib/collection/components/app-host/super-selection-app-host.js +0 -92
  60. package/dist/lib/collection/components/super-selection-app/api/api-client.js +0 -14
  61. package/dist/lib/collection/components/super-selection-app/api/event-tracking.api.js +0 -9
  62. package/dist/lib/collection/components/super-selection-app/api/super-selection-events.model.js +0 -1
  63. package/dist/lib/collection/components/super-selection-app/api/super-selection.api.dto.js +0 -1
  64. package/dist/lib/collection/components/super-selection-app/api/super-selection.api.js +0 -30
  65. package/dist/lib/collection/components/super-selection-app/app-state-pages/success.js +0 -31
  66. package/dist/lib/collection/components/super-selection-app/footer-section/footer-section.css +0 -11
  67. package/dist/lib/collection/components/super-selection-app/footer-section/footer-section.js +0 -29
  68. package/dist/lib/collection/components/super-selection-app/funds/constants.js +0 -13
  69. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.dto.js +0 -1
  70. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.js +0 -31
  71. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/custom-fund.js +0 -68
  72. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/custom-fund.store.js +0 -53
  73. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/default-fund/default-fund.js +0 -108
  74. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-inputs.js +0 -93
  75. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.js +0 -103
  76. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/bankBsbNumbers.js +0 -111
  77. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.js +0 -153
  78. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.form.js +0 -1
  79. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.js +0 -96
  80. package/dist/lib/collection/components/super-selection-app/funds/qsuper/api/qsuper-choice.api.dto.js +0 -1
  81. package/dist/lib/collection/components/super-selection-app/funds/qsuper/api/qsuper-choice.api.js +0 -13
  82. package/dist/lib/collection/components/super-selection-app/funds/qsuper/helpers/confirmCheck.js +0 -37
  83. package/dist/lib/collection/components/super-selection-app/funds/qsuper/helpers/continueCheck.js +0 -13
  84. package/dist/lib/collection/components/super-selection-app/funds/qsuper/helpers/getNextRoute.js +0 -89
  85. package/dist/lib/collection/components/super-selection-app/funds/qsuper/helpers/resetState.js +0 -31
  86. package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-confirm-header.js +0 -38
  87. package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-confirm-selection/qsuper-confirm-selection.js +0 -63
  88. package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-confirmation.css +0 -0
  89. package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-consent/qsuper-consent.js +0 -95
  90. package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-insurance-opt-in.js +0 -99
  91. package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-insurance-questions.js +0 -18
  92. package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-layout.js +0 -95
  93. package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper.css +0 -50
  94. package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question1/question1.js +0 -10
  95. package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question2/question2.js +0 -10
  96. package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question3/question3.js +0 -10
  97. package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question4/question4.js +0 -10
  98. package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question5/question5.js +0 -10
  99. package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question6/question6.js +0 -10
  100. package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question7/question7.js +0 -10
  101. package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question8/question8.js +0 -10
  102. package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/yes-no-buttons/qsuper-question-yes-no-buttons.js +0 -66
  103. package/dist/lib/collection/components/super-selection-app/funds/qsuper/services/qsuper.store.js +0 -64
  104. package/dist/lib/collection/components/super-selection-app/funds/slate-super/api/slate-choice.api.dto.js +0 -1
  105. package/dist/lib/collection/components/super-selection-app/funds/slate-super/api/slate-choice.api.js +0 -13
  106. package/dist/lib/collection/components/super-selection-app/funds/slate-super/services/slate-iframe-builder.js +0 -127
  107. package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-fund.store.js +0 -9
  108. package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-join-page.js +0 -35
  109. package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-standard-choice-page.js +0 -67
  110. package/dist/lib/collection/components/super-selection-app/funds/slate-super/slatesuper-header.css +0 -0
  111. package/dist/lib/collection/components/super-selection-app/funds/slate-super/slatesuper-header.js +0 -19
  112. package/dist/lib/collection/components/super-selection-app/notifications-section/notifications-section.js +0 -25
  113. package/dist/lib/collection/components/super-selection-app/services/australian-fund-lookup.service.js +0 -22
  114. package/dist/lib/collection/components/super-selection-app/services/event-tracking.service.js +0 -71
  115. package/dist/lib/collection/components/super-selection-app/services/navigation.service.js +0 -22
  116. package/dist/lib/collection/components/super-selection-app/services/notifications.service.js +0 -37
  117. package/dist/lib/collection/components/super-selection-app/services/notifications.store.js +0 -3
  118. package/dist/lib/collection/components/super-selection-app/services/selected-super-choice-info.service.js +0 -53
  119. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.routes.js +0 -42
  120. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +0 -73
  121. package/dist/lib/collection/components/super-selection-app/services/super-selection.store.js +0 -11
  122. package/dist/lib/collection/components/super-selection-app/standard-choice/api/standard-choice.model.js +0 -1
  123. package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.js +0 -49
  124. package/dist/lib/collection/components/super-selection-app/super-choice-page/selected-super-choice-section/selected-super-choice-section.css +0 -18
  125. package/dist/lib/collection/components/super-selection-app/super-choice-page/selected-super-choice-section/selected-super-choice-section.js +0 -53
  126. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item.js +0 -216
  127. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.css +0 -53
  128. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +0 -152
  129. package/dist/lib/collection/components/super-selection-app/super-selection-app.css +0 -15
  130. package/dist/lib/collection/components/super-selection-app/super-selection-app.js +0 -229
  131. package/dist/lib/collection/global/init-host.js +0 -22
  132. package/dist/lib/collection/global/main.dev.js +0 -26
  133. package/dist/lib/collection/global/main.js +0 -11
  134. package/dist/lib/collection/global/stencil-router-workaround.js +0 -12
  135. package/dist/lib/collection/index.js +0 -2
  136. package/dist/lib/collection/utils/config.js +0 -2
  137. package/dist/lib/collection/utils/gtm.js +0 -5
  138. package/dist/lib/collection/utils/iframe.js +0 -33
  139. package/dist/lib/collection/utils/index.js +0 -8
  140. package/dist/lib/collection/utils/lazy.js +0 -29
  141. package/dist/lib/collection/utils/storage.js +0 -5
  142. package/dist/lib/esm/active-router-09eb3641.js +0 -73
  143. package/dist/lib/esm/apollo-super-selection.js +0 -21
  144. package/dist/lib/esm/app-globals-7ac1ffba.js +0 -23
  145. package/dist/lib/esm/context-consumer.entry.js +0 -25
  146. package/dist/lib/esm/datorama-akita-79ce4385.js +0 -2692
  147. package/dist/lib/esm/delay-c0555599.js +0 -935
  148. package/dist/lib/esm/fl-button_43.entry.js +0 -16923
  149. package/dist/lib/esm/fl-style-guide.entry.js +0 -86
  150. package/dist/lib/esm/index-227ab0f1.js +0 -1731
  151. package/dist/lib/esm/index.js +0 -1
  152. package/dist/lib/esm/loader.js +0 -21
  153. package/dist/lib/esm/polyfills/core-js.js +0 -11
  154. package/dist/lib/esm/polyfills/css-shim.js +0 -1
  155. package/dist/lib/esm/polyfills/dom.js +0 -79
  156. package/dist/lib/esm/polyfills/es5-html-element.js +0 -1
  157. package/dist/lib/esm/polyfills/index.js +0 -34
  158. package/dist/lib/esm/polyfills/system.js +0 -6
  159. package/dist/lib/esm/stencil-async-content.entry.js +0 -28
  160. package/dist/lib/esm/stencil-route-title.entry.js +0 -28
  161. package/dist/lib/esm/stencil-router-prompt.entry.js +0 -55
  162. package/dist/lib/esm/stencil-router-redirect.entry.js +0 -28
  163. package/dist/lib/esm-es5/active-router-09eb3641.js +0 -1
  164. package/dist/lib/esm-es5/apollo-super-selection.js +0 -1
  165. package/dist/lib/esm-es5/app-globals-7ac1ffba.js +0 -1
  166. package/dist/lib/esm-es5/context-consumer.entry.js +0 -1
  167. package/dist/lib/esm-es5/datorama-akita-79ce4385.js +0 -15
  168. package/dist/lib/esm-es5/delay-c0555599.js +0 -1
  169. package/dist/lib/esm-es5/fl-button_43.entry.js +0 -69
  170. package/dist/lib/esm-es5/fl-style-guide.entry.js +0 -1
  171. package/dist/lib/esm-es5/index-227ab0f1.js +0 -1
  172. package/dist/lib/esm-es5/index.js +0 -0
  173. package/dist/lib/esm-es5/loader.js +0 -1
  174. package/dist/lib/esm-es5/stencil-async-content.entry.js +0 -1
  175. package/dist/lib/esm-es5/stencil-route-title.entry.js +0 -1
  176. package/dist/lib/esm-es5/stencil-router-prompt.entry.js +0 -1
  177. package/dist/lib/esm-es5/stencil-router-redirect.entry.js +0 -1
  178. package/dist/lib/index.cjs.js +0 -1
  179. package/dist/lib/index.js +0 -1
  180. package/dist/lib/loader/cdn.js +0 -3
  181. package/dist/lib/loader/index.cjs.js +0 -3
  182. package/dist/lib/loader/index.d.ts +0 -13
  183. package/dist/lib/loader/index.es2017.js +0 -3
  184. package/dist/lib/loader/index.js +0 -4
  185. package/dist/lib/loader/package.json +0 -10
  186. package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/button/button.css +0 -45
  187. package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/dropdown/dropdown.css +0 -9
  188. package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/dropdown-async/dropdown-async.css +0 -9
  189. package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/loading-indicator/loading-indicator.css +0 -141
  190. package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/promise-button/promise-button.css +0 -5
  191. package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/style-guide/style-guide.css +0 -0
  192. package/dist/lib/node_modules/@stencil/router/dist/collection/components/route/route.css +0 -3
  193. package/dist/lib/types/components/app-host/loading-page.d.ts +0 -3
  194. package/dist/lib/types/components/app-host/services/app-configuration.query.d.ts +0 -11
  195. package/dist/lib/types/components/app-host/services/app-configuration.service.d.ts +0 -9
  196. package/dist/lib/types/components/app-host/services/appinsights.service.d.ts +0 -14
  197. package/dist/lib/types/components/app-host/services/authentication.query.d.ts +0 -13
  198. package/dist/lib/types/components/app-host/services/authentication.service.d.ts +0 -9
  199. package/dist/lib/types/components/app-host/services/interop/host-interop.service.d.ts +0 -7
  200. package/dist/lib/types/components/app-host/services/interop/iframe-interop.service.d.ts +0 -5
  201. package/dist/lib/types/components/app-host/services/interop/react-native-interop.service.d.ts +0 -7
  202. package/dist/lib/types/components/app-host/services/interop.query.d.ts +0 -11
  203. package/dist/lib/types/components/app-host/services/session.store.d.ts +0 -30
  204. package/dist/lib/types/components/app-host/super-selection-app-host.d.ts +0 -17
  205. package/dist/lib/types/components/super-selection-app/api/api-client.d.ts +0 -2
  206. package/dist/lib/types/components/super-selection-app/api/event-tracking.api.d.ts +0 -6
  207. package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +0 -73
  208. package/dist/lib/types/components/super-selection-app/api/super-selection.api.d.ts +0 -16
  209. package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +0 -81
  210. package/dist/lib/types/components/super-selection-app/app-state-pages/success.d.ts +0 -4
  211. package/dist/lib/types/components/super-selection-app/footer-section/footer-section.d.ts +0 -4
  212. package/dist/lib/types/components/super-selection-app/funds/constants.d.ts +0 -13
  213. package/dist/lib/types/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.d.ts +0 -8
  214. package/dist/lib/types/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.dto.d.ts +0 -28
  215. package/dist/lib/types/components/super-selection-app/funds/custom-fund/custom-fund.d.ts +0 -9
  216. package/dist/lib/types/components/super-selection-app/funds/custom-fund/custom-fund.store.d.ts +0 -30
  217. package/dist/lib/types/components/super-selection-app/funds/custom-fund/default-fund/default-fund.d.ts +0 -15
  218. package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-inputs.d.ts +0 -12
  219. package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.d.ts +0 -12
  220. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/bankBsbNumbers.d.ts +0 -112
  221. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.d.ts +0 -15
  222. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.d.ts +0 -10
  223. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.form.d.ts +0 -14
  224. package/dist/lib/types/components/super-selection-app/funds/qsuper/api/qsuper-choice.api.d.ts +0 -6
  225. package/dist/lib/types/components/super-selection-app/funds/qsuper/api/qsuper-choice.api.dto.d.ts +0 -21
  226. package/dist/lib/types/components/super-selection-app/funds/qsuper/helpers/confirmCheck.d.ts +0 -1
  227. package/dist/lib/types/components/super-selection-app/funds/qsuper/helpers/continueCheck.d.ts +0 -1
  228. package/dist/lib/types/components/super-selection-app/funds/qsuper/helpers/getNextRoute.d.ts +0 -2
  229. package/dist/lib/types/components/super-selection-app/funds/qsuper/helpers/resetState.d.ts +0 -1
  230. package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-confirm-header.d.ts +0 -5
  231. package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-confirm-selection/qsuper-confirm-selection.d.ts +0 -6
  232. package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-consent/qsuper-consent.d.ts +0 -7
  233. package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-insurance-opt-in.d.ts +0 -12
  234. package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-insurance-questions.d.ts +0 -3
  235. package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-layout.d.ts +0 -11
  236. package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question1/question1.d.ts +0 -3
  237. package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question2/question2.d.ts +0 -3
  238. package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question3/question3.d.ts +0 -3
  239. package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question4/question4.d.ts +0 -3
  240. package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question5/question5.d.ts +0 -3
  241. package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question6/question6.d.ts +0 -3
  242. package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question7/question7.d.ts +0 -3
  243. package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question8/question8.d.ts +0 -3
  244. package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/yes-no-buttons/qsuper-question-yes-no-buttons.d.ts +0 -6
  245. package/dist/lib/types/components/super-selection-app/funds/qsuper/services/qsuper.store.d.ts +0 -58
  246. package/dist/lib/types/components/super-selection-app/funds/slate-super/api/slate-choice.api.d.ts +0 -6
  247. package/dist/lib/types/components/super-selection-app/funds/slate-super/api/slate-choice.api.dto.d.ts +0 -4
  248. package/dist/lib/types/components/super-selection-app/funds/slate-super/services/slate-iframe-builder.d.ts +0 -13
  249. package/dist/lib/types/components/super-selection-app/funds/slate-super/slate-fund.store.d.ts +0 -7
  250. package/dist/lib/types/components/super-selection-app/funds/slate-super/slate-join-page.d.ts +0 -7
  251. package/dist/lib/types/components/super-selection-app/funds/slate-super/slate-standard-choice-page.d.ts +0 -8
  252. package/dist/lib/types/components/super-selection-app/funds/slate-super/slatesuper-header.d.ts +0 -3
  253. package/dist/lib/types/components/super-selection-app/notifications-section/notifications-section.d.ts +0 -5
  254. package/dist/lib/types/components/super-selection-app/services/australian-fund-lookup.service.d.ts +0 -8
  255. package/dist/lib/types/components/super-selection-app/services/event-tracking.service.d.ts +0 -17
  256. package/dist/lib/types/components/super-selection-app/services/navigation.service.d.ts +0 -9
  257. package/dist/lib/types/components/super-selection-app/services/notifications.service.d.ts +0 -15
  258. package/dist/lib/types/components/super-selection-app/services/notifications.store.d.ts +0 -14
  259. package/dist/lib/types/components/super-selection-app/services/selected-super-choice-info.service.d.ts +0 -18
  260. package/dist/lib/types/components/super-selection-app/services/super-selection-app.routes.d.ts +0 -21
  261. package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts +0 -24
  262. package/dist/lib/types/components/super-selection-app/services/super-selection.store.d.ts +0 -13
  263. package/dist/lib/types/components/super-selection-app/standard-choice/api/standard-choice.model.d.ts +0 -3
  264. package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.d.ts +0 -7
  265. package/dist/lib/types/components/super-selection-app/super-choice-page/selected-super-choice-section/selected-super-choice-section.d.ts +0 -5
  266. package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-item.d.ts +0 -17
  267. package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-page.d.ts +0 -13
  268. package/dist/lib/types/components/super-selection-app/super-selection-app.d.ts +0 -26
  269. package/dist/lib/types/components.d.ts +0 -532
  270. package/dist/lib/types/global/init-host.d.ts +0 -1
  271. package/dist/lib/types/global/main.d.ts +0 -1
  272. package/dist/lib/types/global/main.dev.d.ts +0 -1
  273. package/dist/lib/types/global/stencil-router-workaround.d.ts +0 -1
  274. package/dist/lib/types/index.d.ts +0 -2
  275. package/dist/lib/types/stencil-public-runtime.d.ts +0 -1555
  276. package/dist/lib/types/utils/config.d.ts +0 -2
  277. package/dist/lib/types/utils/gtm.d.ts +0 -7
  278. package/dist/lib/types/utils/iframe.d.ts +0 -13
  279. package/dist/lib/types/utils/index.d.ts +0 -3
  280. package/dist/lib/types/utils/lazy.d.ts +0 -12
  281. package/dist/lib/types/utils/storage.d.ts +0 -4
@@ -1,42 +0,0 @@
1
- import { h } from '@stencil/core';
2
- export var SuperSelectionAppRoutes;
3
- (function (SuperSelectionAppRoutes) {
4
- SuperSelectionAppRoutes["ChoicePage"] = "/";
5
- SuperSelectionAppRoutes["SlateJoin"] = "/slate/join/";
6
- SuperSelectionAppRoutes["SlateStandardChoice"] = "/slate/standard-choice/";
7
- SuperSelectionAppRoutes["QSuperOptIn"] = "/qsuper/insurance/opt-in/";
8
- SuperSelectionAppRoutes["QSuperQuestion1"] = "/qsuper/insurance/question1/";
9
- SuperSelectionAppRoutes["QSuperQuestion2"] = "/qsuper/insurance/question2/";
10
- SuperSelectionAppRoutes["QSuperQuestion3"] = "/qsuper/insurance/question3/";
11
- SuperSelectionAppRoutes["QSuperQuestion4"] = "/qsuper/insurance/question4/";
12
- SuperSelectionAppRoutes["QSuperQuestion5"] = "/qsuper/insurance/question5/";
13
- SuperSelectionAppRoutes["QSuperQuestion6"] = "/qsuper/insurance/question6/";
14
- SuperSelectionAppRoutes["QSuperQuestion7"] = "/qsuper/insurance/question7/";
15
- SuperSelectionAppRoutes["QSuperQuestion8"] = "/qsuper/insurance/question8/";
16
- SuperSelectionAppRoutes["QSuperConsent"] = "/qsuper/consent/";
17
- SuperSelectionAppRoutes["QSuperJoin"] = "/qsuper/join/";
18
- SuperSelectionAppRoutes["MyOwnFund"] = "/super-choice/my-own-fund/";
19
- SuperSelectionAppRoutes["SelfManagedFund"] = "/super-choice/smsf/";
20
- SuperSelectionAppRoutes["DefaultFund"] = "/super-choice/default/";
21
- SuperSelectionAppRoutes["Success"] = "/success/";
22
- })(SuperSelectionAppRoutes || (SuperSelectionAppRoutes = {}));
23
- export const superSelectionAppStencilRoutes = [
24
- h("stencil-route", { exact: true, url: SuperSelectionAppRoutes.ChoicePage, component: "sss-super-choice-page" }),
25
- h("stencil-route", { url: SuperSelectionAppRoutes.SlateJoin, component: "sss-slate-join-page" }),
26
- h("stencil-route", { url: SuperSelectionAppRoutes.SlateStandardChoice, component: "sss-slate-standard-choice-page" }),
27
- h("stencil-route", { url: SuperSelectionAppRoutes.QSuperOptIn, component: "sss-qsuper-insurance-opt-in" }),
28
- h("stencil-route", { url: SuperSelectionAppRoutes.QSuperQuestion1, component: "sss-qsuper-question-1" }),
29
- h("stencil-route", { url: SuperSelectionAppRoutes.QSuperQuestion2, component: "sss-qsuper-question-2" }),
30
- h("stencil-route", { url: SuperSelectionAppRoutes.QSuperQuestion3, component: "sss-qsuper-question-3" }),
31
- h("stencil-route", { url: SuperSelectionAppRoutes.QSuperQuestion4, component: "sss-qsuper-question-4" }),
32
- h("stencil-route", { url: SuperSelectionAppRoutes.QSuperQuestion5, component: "sss-qsuper-question-5" }),
33
- h("stencil-route", { url: SuperSelectionAppRoutes.QSuperQuestion6, component: "sss-qsuper-question-6" }),
34
- h("stencil-route", { url: SuperSelectionAppRoutes.QSuperQuestion7, component: "sss-qsuper-question-7" }),
35
- h("stencil-route", { url: SuperSelectionAppRoutes.QSuperQuestion8, component: "sss-qsuper-question-8" }),
36
- h("stencil-route", { url: SuperSelectionAppRoutes.QSuperConsent, component: "sss-qsuper-consent" }),
37
- h("stencil-route", { url: SuperSelectionAppRoutes.QSuperJoin, component: "sss-qsuper-join" }),
38
- h("stencil-route", { url: SuperSelectionAppRoutes.MyOwnFund, component: "sss-my-own-fund" }),
39
- h("stencil-route", { url: SuperSelectionAppRoutes.SelfManagedFund, component: "sss-self-managed-fund" }),
40
- h("stencil-route", { url: SuperSelectionAppRoutes.DefaultFund, component: "sss-default-fund" }),
41
- h("stencil-route", { url: SuperSelectionAppRoutes.Success, component: "sss-success" })
42
- ];
@@ -1,73 +0,0 @@
1
- import { createStore } from '@stencil/store';
2
- import { pipe } from 'fp-ts/lib/function';
3
- import * as O from 'fp-ts/lib/Option';
4
- import jwtDecode from 'jwt-decode';
5
- import superSelectionApi from '../api/super-selection.api';
6
- import { initialState } from './super-selection.store';
7
- export class SuperSelectionAppService {
8
- constructor() {
9
- const { state, onChange } = createStore(initialState);
10
- this._state = state;
11
- this._onChange = onChange;
12
- onChange('jwt', (jwt) => {
13
- this._state.profileId = pipe(jwt, O.chain((jwtValue) => O.fromNullable(jwtDecode(jwtValue).sub)));
14
- });
15
- }
16
- get state() {
17
- return this._state;
18
- }
19
- get onChange() {
20
- return this._onChange;
21
- }
22
- get superBuyer() {
23
- if (O.isNone(this._state.superBuyer)) {
24
- throw Error('User information is not set');
25
- }
26
- return this._state.superBuyer.value;
27
- }
28
- get apiBaseUrl() {
29
- if (O.isNone(this._state.apiBaseUrl)) {
30
- throw Error('API base URL is not set');
31
- }
32
- return this._state.apiBaseUrl.value;
33
- }
34
- get appBaseUrl() {
35
- if (O.isNone(this._state.appBaseUrl)) {
36
- throw Error('App base URL is not set');
37
- }
38
- return this._state.appBaseUrl.value;
39
- }
40
- get profileId() {
41
- if (O.isNone(this._state.profileId)) {
42
- throw Error('Failed to get Profile ID from JWT');
43
- }
44
- return this._state.profileId.value;
45
- }
46
- get defaultFundUsi() {
47
- return pipe(this._state.accountConfiguration, O.map((config) => O.fromNullable(config.defaultFundUsi)), O.flatten);
48
- }
49
- get accountIdOrDefault() {
50
- return pipe(this._state.accountConfiguration, O.map((config) => config.accountId), O.getOrElse(() => ''));
51
- }
52
- get partnerIdOrDefault() {
53
- return pipe(this._state.superBuyer, O.map((superBuyer) => superBuyer.partnerId), O.getOrElse(() => ''));
54
- }
55
- get jwt() {
56
- if (O.isNone(this._state.jwt)) {
57
- throw Error('No authentication information was found');
58
- }
59
- return this._state.jwt.value;
60
- }
61
- completeSuperSelectionFlow() {
62
- this._state.hasSuccessPageBeenAcknowledged = true;
63
- }
64
- markSuperSelectionAsSubmitted() {
65
- this._state.hasSuperSelectionBeenSubmitted = true;
66
- }
67
- async loadAppStateAsync() {
68
- const appStateResponse = await superSelectionApi.getAppStateAsync();
69
- this._state.accountConfiguration = O.fromNullable(appStateResponse.accountConfiguration);
70
- this._state.superBuyer = O.fromNullable(appStateResponse.superBuyer);
71
- }
72
- }
73
- export default new SuperSelectionAppService();
@@ -1,11 +0,0 @@
1
- import * as O from 'fp-ts/lib/Option';
2
- export const initialState = {
3
- apiBaseUrl: O.none,
4
- appBaseUrl: O.none,
5
- profileId: O.none,
6
- jwt: O.none,
7
- superBuyer: O.none,
8
- accountConfiguration: O.none,
9
- hasSuccessPageBeenAcknowledged: false,
10
- hasSuperSelectionBeenSubmitted: false
11
- };
@@ -1,49 +0,0 @@
1
- import { Component, Event, h, State } from '@stencil/core';
2
- export class StandardChoiceFormInputDefaultFund {
3
- constructor() {
4
- this.standardChoiceFormUrl = "/super-selection/embed/v1.0/app/assets/Superannuation_Standard_Choice_Form.pdf";
5
- this.standardChoiceFormSignature = '';
6
- }
7
- render() {
8
- return (h("div", { class: "card p-4 mt-4 bg-light" },
9
- h("h4", { class: "small font-weight-bold" }, "Superannuation Standard Choice Form"),
10
- h("p", { class: "small mt-2" },
11
- "The superannuation",
12
- ' ',
13
- h("a", { target: "_blank", href: this.standardChoiceFormUrl }, "standard choice form"),
14
- ' ',
15
- "informs your employer of your choice of fund."),
16
- h("h4", { class: "small font-weight-bold" }, "Type your full name below (required)"),
17
- h("input", { placeholder: "Type your full name", type: "text", class: "form-control", required: true, minlength: "2", name: "standardChoiceFormSignature", id: "standardChoiceFormSignature", value: this.standardChoiceFormSignature, onKeyUp: (ev) => this.updateFormField(ev.target.value.trim()) }),
18
- h("div", { class: "invalid-feedback" }, "Type your full name"),
19
- h("p", { class: "small mt-3 mb-0" }, "Your authorisation is required for signing this form. Applying your full name in the text field above is the same as applying your written signature and is legally binding.")));
20
- }
21
- updateFormField(value) {
22
- this.standardChoiceFormSignatureUpdated.emit({ standardChoiceFormSignature: value });
23
- }
24
- static get is() { return "sss-standard-choice-form"; }
25
- static get states() { return {
26
- "standardChoiceFormSignature": {}
27
- }; }
28
- static get events() { return [{
29
- "method": "standardChoiceFormSignatureUpdated",
30
- "name": "standardChoiceFormSignatureUpdated",
31
- "bubbles": true,
32
- "cancelable": true,
33
- "composed": true,
34
- "docs": {
35
- "tags": [],
36
- "text": ""
37
- },
38
- "complexType": {
39
- "original": "StandardChoiceInput",
40
- "resolved": "{ standardChoiceFormSignature: string; }",
41
- "references": {
42
- "StandardChoiceInput": {
43
- "location": "import",
44
- "path": "./api/standard-choice.model"
45
- }
46
- }
47
- }
48
- }]; }
49
- }
@@ -1,18 +0,0 @@
1
- html {
2
- scroll-behavior: smooth;
3
- }
4
-
5
- img.fluid-fit {
6
- object-fit: cover;
7
- }
8
-
9
- .picked-block {
10
- background-color: var(--fl-color-primary);
11
- border-top-right-radius: 3px;
12
- right: 0;
13
- top: 0;
14
- }
15
-
16
- .picked-box-border {
17
- border: 2px solid var(--fl-color-primary);
18
- }
@@ -1,53 +0,0 @@
1
- import { Component, h, Host, Prop } from '@stencil/core';
2
- export class SelectedSuperChoiceSection {
3
- render() {
4
- return (h(Host, { class: "bg-white rounded-sm picked-box-border p-3" },
5
- h("div", { class: "d-flex" },
6
- h("div", { class: "flex-grow-1 font-weight-bold" }, this.fundType),
7
- h("div", { class: "px-3 py-2 text-white picked-block position-absolute" }, "You picked")),
8
- h("div", null, this.fundName)));
9
- }
10
- static get is() { return "sss-selected-super-choice-section"; }
11
- static get originalStyleUrls() { return {
12
- "$": ["selected-super-choice-section.scss"]
13
- }; }
14
- static get styleUrls() { return {
15
- "$": ["selected-super-choice-section.css"]
16
- }; }
17
- static get properties() { return {
18
- "fundType": {
19
- "type": "string",
20
- "mutable": false,
21
- "complexType": {
22
- "original": "string",
23
- "resolved": "string",
24
- "references": {}
25
- },
26
- "required": false,
27
- "optional": false,
28
- "docs": {
29
- "tags": [],
30
- "text": ""
31
- },
32
- "attribute": "fund-type",
33
- "reflect": false
34
- },
35
- "fundName": {
36
- "type": "string",
37
- "mutable": false,
38
- "complexType": {
39
- "original": "string",
40
- "resolved": "string",
41
- "references": {}
42
- },
43
- "required": false,
44
- "optional": false,
45
- "docs": {
46
- "tags": [],
47
- "text": ""
48
- },
49
- "attribute": "fund-name",
50
- "reflect": false
51
- }
52
- }; }
53
- }
@@ -1,216 +0,0 @@
1
- import { Component, Event, getAssetPath, h, Host, Prop } from '@stencil/core';
2
- import { EventTrackingService } from '../services/event-tracking.service';
3
- export class SuperChoiceItem {
4
- constructor() {
5
- this.eventTrackingService = EventTrackingService.Instance;
6
- }
7
- render() {
8
- return (h(Host, { class: {
9
- 'd-flex p-3': true,
10
- 'ss-picked-fund': this.isSelected
11
- } },
12
- h("div", { class: "card-body pb-0 px-0 px-xl-3" },
13
- this.isSelected && (h("div", { class: "px-3 py-2 text-white picked-block position-absolute" }, "You picked")),
14
- h("div", { class: "d-flex flex-fill flex-column align-items-center" },
15
- h("img", { class: "ss-choice-logo", alt: "Simple Financial Choices Pty Ltd", src: getAssetPath(`assets/${this.logo}`) }),
16
- h("p", { class: "font-weight-bold text-center mt-3 mb-0" }, this.heading),
17
- h("div", { class: "mt-3" }, JSON.parse(this.features).map((feature) => (h("p", { class: "text-center" }, feature.value)))))),
18
- h("div", { class: "text-center" },
19
- h("div", { class: "p-3" },
20
- h("fl-button", { class: "uuid-button-continue", isBlockElement: true, onClick: () => this.handleFundClick() }, this.callToAction)),
21
- h("a", { target: "_blank", href: this.pdsLink, onClick: () => this.pdsViewedAsync() }, "View PDS"))));
22
- }
23
- handleFundClick() {
24
- return this.joinFundClicked.emit();
25
- }
26
- pdsViewedAsync() {
27
- return this.eventTrackingService.TrackSuperFundPdsViewedAsync({
28
- fundUsi: this.usi,
29
- fundName: this.name,
30
- fundNameAlt: this.heading,
31
- pageName: 'Panel Fund Page'
32
- });
33
- }
34
- static get is() { return "sss-super-choice-item"; }
35
- static get originalStyleUrls() { return {
36
- "$": ["super-choice-page.scss"]
37
- }; }
38
- static get styleUrls() { return {
39
- "$": ["super-choice-page.css"]
40
- }; }
41
- static get assetsDirs() { return ["assets"]; }
42
- static get properties() { return {
43
- "heading": {
44
- "type": "string",
45
- "mutable": false,
46
- "complexType": {
47
- "original": "string",
48
- "resolved": "string",
49
- "references": {}
50
- },
51
- "required": false,
52
- "optional": false,
53
- "docs": {
54
- "tags": [],
55
- "text": ""
56
- },
57
- "attribute": "heading",
58
- "reflect": false
59
- },
60
- "isSelected": {
61
- "type": "boolean",
62
- "mutable": false,
63
- "complexType": {
64
- "original": "boolean",
65
- "resolved": "boolean",
66
- "references": {}
67
- },
68
- "required": false,
69
- "optional": false,
70
- "docs": {
71
- "tags": [],
72
- "text": ""
73
- },
74
- "attribute": "is-selected",
75
- "reflect": false
76
- },
77
- "usi": {
78
- "type": "string",
79
- "mutable": false,
80
- "complexType": {
81
- "original": "string",
82
- "resolved": "string",
83
- "references": {}
84
- },
85
- "required": false,
86
- "optional": false,
87
- "docs": {
88
- "tags": [],
89
- "text": ""
90
- },
91
- "attribute": "usi",
92
- "reflect": false
93
- },
94
- "name": {
95
- "type": "string",
96
- "mutable": false,
97
- "complexType": {
98
- "original": "string",
99
- "resolved": "string",
100
- "references": {}
101
- },
102
- "required": false,
103
- "optional": false,
104
- "docs": {
105
- "tags": [],
106
- "text": ""
107
- },
108
- "attribute": "name",
109
- "reflect": false
110
- },
111
- "logo": {
112
- "type": "string",
113
- "mutable": false,
114
- "complexType": {
115
- "original": "string",
116
- "resolved": "string",
117
- "references": {}
118
- },
119
- "required": false,
120
- "optional": false,
121
- "docs": {
122
- "tags": [],
123
- "text": ""
124
- },
125
- "attribute": "logo",
126
- "reflect": false
127
- },
128
- "pdsLink": {
129
- "type": "string",
130
- "mutable": false,
131
- "complexType": {
132
- "original": "string",
133
- "resolved": "string",
134
- "references": {}
135
- },
136
- "required": false,
137
- "optional": false,
138
- "docs": {
139
- "tags": [],
140
- "text": ""
141
- },
142
- "attribute": "pds-link",
143
- "reflect": false
144
- },
145
- "callToAction": {
146
- "type": "string",
147
- "mutable": false,
148
- "complexType": {
149
- "original": "string",
150
- "resolved": "string",
151
- "references": {}
152
- },
153
- "required": false,
154
- "optional": false,
155
- "docs": {
156
- "tags": [],
157
- "text": ""
158
- },
159
- "attribute": "call-to-action",
160
- "reflect": false
161
- },
162
- "features": {
163
- "type": "string",
164
- "mutable": false,
165
- "complexType": {
166
- "original": "string",
167
- "resolved": "string",
168
- "references": {}
169
- },
170
- "required": false,
171
- "optional": false,
172
- "docs": {
173
- "tags": [],
174
- "text": ""
175
- },
176
- "attribute": "features",
177
- "reflect": false
178
- },
179
- "history": {
180
- "type": "unknown",
181
- "mutable": false,
182
- "complexType": {
183
- "original": "RouterHistory",
184
- "resolved": "RouterHistory",
185
- "references": {
186
- "RouterHistory": {
187
- "location": "import",
188
- "path": "@stencil/router"
189
- }
190
- }
191
- },
192
- "required": false,
193
- "optional": false,
194
- "docs": {
195
- "tags": [],
196
- "text": ""
197
- }
198
- }
199
- }; }
200
- static get events() { return [{
201
- "method": "joinFundClicked",
202
- "name": "joinFundClicked",
203
- "bubbles": true,
204
- "cancelable": true,
205
- "composed": true,
206
- "docs": {
207
- "tags": [],
208
- "text": ""
209
- },
210
- "complexType": {
211
- "original": "void",
212
- "resolved": "void",
213
- "references": {}
214
- }
215
- }]; }
216
- }
@@ -1,53 +0,0 @@
1
- html {
2
- scroll-behavior: smooth;
3
- }
4
-
5
- img.fluid-fit {
6
- object-fit: cover;
7
- }
8
-
9
- .checkbox-container {
10
- border-radius: 4px;
11
- background-color: #f5f4f2;
12
- }
13
-
14
- .confirm-checkbox-item {
15
- transform: scale(1.7);
16
- }
17
-
18
- .simple-choices-text {
19
- color: #489882;
20
- }
21
-
22
- .choice-card {
23
- background: #ffffff;
24
- box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
25
- border-radius: 3px;
26
- }
27
- .choice-card.ss-picked-fund {
28
- border: 2px solid var(--fl-color-primary);
29
- }
30
-
31
- .card.ss-picked-fund {
32
- border: 2px solid var(--fl-color-primary);
33
- }
34
-
35
- .ss-choice-logo {
36
- height: 70px;
37
- width: 70px;
38
- object-fit: contain;
39
- }
40
-
41
- img {
42
- width: 100%;
43
- display: block;
44
- }
45
-
46
- .choice-component {
47
- width: 100%;
48
- position: relative;
49
- }
50
-
51
- .flexible {
52
- flex-grow: 1;
53
- }
@@ -1,152 +0,0 @@
1
- import { Component, h, Host, Prop, State } from '@stencil/core';
2
- import { isSome, none } from 'fp-ts/Option';
3
- import iframe from '../../../utils/iframe';
4
- import * as constants from '../funds/constants';
5
- import { resetQSuperState } from '../funds/qsuper/helpers/resetState';
6
- import { EventTrackingService } from '../services/event-tracking.service';
7
- import navigationService from '../services/navigation.service';
8
- import chosenFundService from '../services/selected-super-choice-info.service';
9
- import { SuperSelectionAppRoutes } from '../services/super-selection-app.routes';
10
- export class SuperChoicePage {
11
- constructor() {
12
- this.promotedFunds = this.getPromotedFunds();
13
- this.chosenFund = none;
14
- this.eventTrackingService = EventTrackingService.Instance;
15
- this.isPromotedFundSelected = (fundId) => {
16
- return (isSome(this.chosenFund) &&
17
- this.chosenFund.value.isPromoted &&
18
- this.chosenFund.value.promotedId === fundId);
19
- };
20
- }
21
- componentDidLoad() {
22
- iframe.appReady();
23
- const enabledFundIds = this.promotedFunds.map((item) => item.usi);
24
- this.eventTrackingService.TrackSuperFundPanelViewedAsync({
25
- enabledFundIds
26
- });
27
- }
28
- async componentWillLoad() {
29
- resetQSuperState();
30
- this.chosenFund = await chosenFundService.GetChosenFundAsync();
31
- }
32
- render() {
33
- const superChoiceParagraphOne = `Selecting the right super fund is very important. Simple Financial Choices have provided you with easy access to the below funds to make your choice an easy one, if you think that one of them might suit your needs.`;
34
- const superChoiceParagraphTwo = `The content on this page and on the following pages relating to superannuation is provided by Simple Financial Choices. The superannuation funds presented below are neither selected nor recommended by your employer nor by Flare HR.`;
35
- const superChoiceParagraphThree = `We aren't recommending these funds as being suitable for you because there are many super funds out there and you will need to choose what is best for you. If you are unsure, obtain your own advice. You should be aware that, if you do choose one of these funds, Flare and its associated entities will normally receive a fee for you doing so.`;
36
- return (h(Host, null,
37
- h("div", { class: "container mt-0 mb-0" },
38
- h("div", { class: "row justify-content-center" },
39
- h("div", { class: "col" },
40
- h("a", { class: "text-decoration-none", href: navigationService.toExternalUrl('https://slatesuper.com.au/product-disclosure-statement-pdf'), target: "_blank" },
41
- h("p", { class: "mt-3 small text-center mb-1 text-dark" }, "Powered by"),
42
- h("h5", { class: "font-weight-bold text-center mb-4" },
43
- h("span", { class: "text-dark mr-1" }, "Simple Financial"),
44
- h("span", { class: "simple-choices-text" }, "Choices"))))),
45
- h("div", { class: "row justify-content-center" },
46
- h("div", { class: "col" },
47
- h("p", { class: "text-center" }, superChoiceParagraphOne),
48
- h("p", { class: "text-center small" }, superChoiceParagraphTwo),
49
- h("p", { class: "text-center small" }, superChoiceParagraphThree))),
50
- h("div", { class: "row" },
51
- h("div", { class: "col" },
52
- h("sss-notifications-section", null))),
53
- h("div", { class: "row justify-content-center mt-4" },
54
- h("div", { class: "col col-sm-10 col-md-8 col-xl-7" },
55
- h("div", { class: "row" },
56
- h("div", { class: "col" },
57
- 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" }))))),
58
- h("div", { class: "row mt-3" }, this.promotedFunds.map((fund) => (h("div", { class: "col-12 col-lg-6 d-flex" },
59
- 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, heading: fund.heading, pdsLink: navigationService.toExternalUrl(fund.pdsLink), features: JSON.stringify(fund.features), callToAction: fund.callToAction, onJoinFundClicked: async () => this.handleJoinSuperClickAsync(fund) }))))),
60
- h("div", { class: "row mt-3" },
61
- h("div", { class: "col" },
62
- h("stencil-route-link", { url: SuperSelectionAppRoutes.MyOwnFund },
63
- h("fl-button", { isBlockElement: true, variant: "secondary" }, "I prefer to select another fund")))))))));
64
- }
65
- getPromotedFunds() {
66
- return [
67
- {
68
- fundId: constants.SlateFundId,
69
- usi: constants.SlateFundUsi,
70
- name: constants.SlateFundName,
71
- heading: constants.SlateAltFundName,
72
- logo: 'logo-slate.png',
73
- route: SuperSelectionAppRoutes.SlateJoin,
74
- callToAction: 'Join Slate Super',
75
- pdsLink: 'https://slatesuper.com.au/pds/?utm_source=flare&utm_medium=superselection',
76
- features: [
77
- { order: 1, value: 'Personalised lifestages investment strategy that evolves with you' },
78
- { order: 2, value: 'Advanced mobile app with retirement forecast and smart features' },
79
- { order: 3, value: 'Your own personal concierge at Slate to assist with your account' }
80
- ]
81
- },
82
- {
83
- fundId: constants.QSuperFundId,
84
- usi: constants.QSuperFundUsi,
85
- name: constants.QSuperFundName,
86
- heading: constants.QSuperAltFundName,
87
- logo: 'logo-qsuper-square.png',
88
- route: SuperSelectionAppRoutes.QSuperOptIn,
89
- callToAction: 'Join QSuper',
90
- pdsLink: 'https://qsuper.qld.gov.au/calculators-and-forms/publications/product-disclosure-statements',
91
- features: [
92
- { order: 1, value: '100 years strong' },
93
- { order: 2, value: `One of Australia's largest funds` },
94
- { order: 3, value: 'Awarded SuperRatings highest performance rating' }
95
- ]
96
- }
97
- ];
98
- }
99
- async handleJoinSuperClickAsync(fund) {
100
- if (fund.fundId === constants.SlateFundId) {
101
- await this.eventTrackingService.TrackPromotedSuperFundDetailViewedAsync({
102
- fundUsi: constants.SlateFundUsi,
103
- fundName: constants.SlateFundName,
104
- fundNameAlt: constants.SlateAltFundName
105
- });
106
- }
107
- else {
108
- if (fund.fundId === constants.QSuperFundId) {
109
- await this.eventTrackingService.TrackPromotedSuperFundDetailViewedAsync({
110
- fundUsi: constants.QSuperFundUsi,
111
- fundName: constants.QSuperFundName,
112
- fundNameAlt: constants.QSuperAltFundName
113
- });
114
- }
115
- }
116
- return navigationService.navigateInternally(this.history, fund.route);
117
- }
118
- static get is() { return "sss-super-choice-page"; }
119
- static get originalStyleUrls() { return {
120
- "$": ["super-choice-page.scss"]
121
- }; }
122
- static get styleUrls() { return {
123
- "$": ["super-choice-page.css"]
124
- }; }
125
- static get assetsDirs() { return ["assets"]; }
126
- static get properties() { return {
127
- "history": {
128
- "type": "unknown",
129
- "mutable": false,
130
- "complexType": {
131
- "original": "RouterHistory",
132
- "resolved": "RouterHistory",
133
- "references": {
134
- "RouterHistory": {
135
- "location": "import",
136
- "path": "@stencil/router"
137
- }
138
- }
139
- },
140
- "required": false,
141
- "optional": false,
142
- "docs": {
143
- "tags": [],
144
- "text": ""
145
- }
146
- }
147
- }; }
148
- static get states() { return {
149
- "promotedFunds": {},
150
- "chosenFund": {}
151
- }; }
152
- }