@flarehr/apollo-super-selection 1.3.23196 → 1.3.23524

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 (283) hide show
  1. package/package.json +1 -1
  2. package/dist/lib/apollo-super-selection/apollo-super-selection.css +0 -1
  3. package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +0 -1
  4. package/dist/lib/apollo-super-selection/apollo-super-selection.js +0 -130
  5. package/dist/lib/apollo-super-selection/assets/icon-exclamation.svg +0 -3
  6. package/dist/lib/apollo-super-selection/assets/icon-information-circle.svg +0 -3
  7. package/dist/lib/apollo-super-selection/index.esm.js +0 -0
  8. package/dist/lib/apollo-super-selection/p-0b86097e.entry.js +0 -14
  9. package/dist/lib/apollo-super-selection/p-14885f78.system.js +0 -15
  10. package/dist/lib/apollo-super-selection/p-15f0e5eb.system.js +0 -1
  11. package/dist/lib/apollo-super-selection/p-22939048.system.entry.js +0 -1
  12. package/dist/lib/apollo-super-selection/p-24d6e2b8.js +0 -1
  13. package/dist/lib/apollo-super-selection/p-29c11183.js +0 -15
  14. package/dist/lib/apollo-super-selection/p-2b42304a.system.entry.js +0 -1
  15. package/dist/lib/apollo-super-selection/p-33eca162.entry.js +0 -1
  16. package/dist/lib/apollo-super-selection/p-4e871154.entry.js +0 -1
  17. package/dist/lib/apollo-super-selection/p-50ea2036.system.js +0 -1
  18. package/dist/lib/apollo-super-selection/p-53b231f0.system.entry.js +0 -1
  19. package/dist/lib/apollo-super-selection/p-5c73c587.entry.js +0 -1
  20. package/dist/lib/apollo-super-selection/p-5e49c211.system.entry.js +0 -69
  21. package/dist/lib/apollo-super-selection/p-69bbf1dd.entry.js +0 -1
  22. package/dist/lib/apollo-super-selection/p-71ca4cf8.system.js +0 -1
  23. package/dist/lib/apollo-super-selection/p-86e3e03f.js +0 -1
  24. package/dist/lib/apollo-super-selection/p-97188c78.system.js +0 -1
  25. package/dist/lib/apollo-super-selection/p-9d2a7c0e.entry.js +0 -1
  26. package/dist/lib/apollo-super-selection/p-a0063575.system.entry.js +0 -1
  27. package/dist/lib/apollo-super-selection/p-b00f648b.entry.js +0 -1
  28. package/dist/lib/apollo-super-selection/p-bd6e6a8f.system.js +0 -1
  29. package/dist/lib/apollo-super-selection/p-c775c0e4.system.entry.js +0 -1
  30. package/dist/lib/apollo-super-selection/p-cd3ed541.system.js +0 -1
  31. package/dist/lib/apollo-super-selection/p-db0bded8.js +0 -1
  32. package/dist/lib/apollo-super-selection/p-e957b393.system.entry.js +0 -1
  33. package/dist/lib/apollo-super-selection/p-fdadb647.js +0 -1
  34. package/dist/lib/cjs/active-router-1f555f75.js +0 -75
  35. package/dist/lib/cjs/apollo-super-selection.cjs.js +0 -22
  36. package/dist/lib/cjs/app-globals-b1125d8c.js +0 -25
  37. package/dist/lib/cjs/context-consumer.cjs.entry.js +0 -29
  38. package/dist/lib/cjs/custom-fund-choice.api-293c1ace.js +0 -3209
  39. package/dist/lib/cjs/datorama-akita-6c9cb8fb.js +0 -3641
  40. package/dist/lib/cjs/index-eb4f212f.js +0 -1766
  41. package/dist/lib/cjs/index.cjs.js +0 -2
  42. package/dist/lib/cjs/loader.cjs.js +0 -24
  43. package/dist/lib/cjs/sss-button_32.cjs.entry.js +0 -14934
  44. package/dist/lib/cjs/sss-super-byof-host.cjs.entry.js +0 -111
  45. package/dist/lib/cjs/stencil-async-content.cjs.entry.js +0 -32
  46. package/dist/lib/cjs/stencil-route-title.cjs.entry.js +0 -32
  47. package/dist/lib/cjs/stencil-router-prompt.cjs.entry.js +0 -59
  48. package/dist/lib/cjs/stencil-router-redirect.cjs.entry.js +0 -32
  49. package/dist/lib/collection/apollo-super-selection.css +0 -1
  50. package/dist/lib/collection/collection-manifest.json +0 -98
  51. package/dist/lib/collection/components/app-host/loading-page.js +0 -9
  52. package/dist/lib/collection/components/app-host/services/app-configuration.query.js +0 -18
  53. package/dist/lib/collection/components/app-host/services/app-configuration.service.js +0 -25
  54. package/dist/lib/collection/components/app-host/services/app-parameters.query.js +0 -13
  55. package/dist/lib/collection/components/app-host/services/app-parameters.service.js +0 -14
  56. package/dist/lib/collection/components/app-host/services/appinsights.service.js +0 -46
  57. package/dist/lib/collection/components/app-host/services/authentication.query.js +0 -21
  58. package/dist/lib/collection/components/app-host/services/authentication.service.js +0 -50
  59. package/dist/lib/collection/components/app-host/services/interop/host-interop.service.js +0 -31
  60. package/dist/lib/collection/components/app-host/services/interop/iframe-interop.service.js +0 -30
  61. package/dist/lib/collection/components/app-host/services/interop/react-native-interop.service.js +0 -20
  62. package/dist/lib/collection/components/app-host/services/interop.query.js +0 -26
  63. package/dist/lib/collection/components/app-host/services/session.store.js +0 -38
  64. package/dist/lib/collection/components/app-host/super-selection-app-host.css +0 -24
  65. package/dist/lib/collection/components/app-host/super-selection-app-host.js +0 -87
  66. package/dist/lib/collection/components/external-loading-page/external-loading-page.js +0 -29
  67. package/dist/lib/collection/components/super-byof/super-byof-types.js +0 -1
  68. package/dist/lib/collection/components/super-byof/super-byof.form.js +0 -1
  69. package/dist/lib/collection/components/super-byof/super-byof.js +0 -139
  70. package/dist/lib/collection/components/super-campaign/fund-tile-clicked.handler.js +0 -49
  71. package/dist/lib/collection/components/super-campaign/promoted-fund-joined.handler.js +0 -121
  72. package/dist/lib/collection/components/super-campaign/super-campaign-types.js +0 -6
  73. package/dist/lib/collection/components/super-campaign/super-campaign.js +0 -210
  74. package/dist/lib/collection/components/super-selection-app/api/api-client.js +0 -14
  75. package/dist/lib/collection/components/super-selection-app/api/event-tracking.api.js +0 -9
  76. package/dist/lib/collection/components/super-selection-app/api/super-campaign-errors-api.js +0 -9
  77. package/dist/lib/collection/components/super-selection-app/api/super-campaign-errors.api.dtos.js +0 -1
  78. package/dist/lib/collection/components/super-selection-app/api/super-selection-events.model.js +0 -16
  79. package/dist/lib/collection/components/super-selection-app/api/super-selection.api.dto.js +0 -179
  80. package/dist/lib/collection/components/super-selection-app/api/super-selection.api.js +0 -69
  81. package/dist/lib/collection/components/super-selection-app/app-state-pages/success.js +0 -36
  82. package/dist/lib/collection/components/super-selection-app/assets/icon-exclamation.svg +0 -3
  83. package/dist/lib/collection/components/super-selection-app/assets/icon-information-circle.svg +0 -3
  84. package/dist/lib/collection/components/super-selection-app/choice/choice-router.js +0 -42
  85. package/dist/lib/collection/components/super-selection-app/existing-choice/existing-choice.js +0 -163
  86. package/dist/lib/collection/components/super-selection-app/footer-section/footer-section.js +0 -39
  87. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.dto.js +0 -1
  88. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.js +0 -50
  89. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/custom-fund.js +0 -109
  90. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/custom-fund.store.js +0 -36
  91. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/default-fund/default-fund.js +0 -114
  92. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/featured-funds/super-campaign-featured-funds.js +0 -113
  93. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/featured-funds/super-campaign-featured-funds.types.js +0 -1
  94. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/member-name-input.js +0 -162
  95. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-engagement-step-types.js +0 -1
  96. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-engagement-step.js +0 -115
  97. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/abn-validation.js +0 -11
  98. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/bankBsbNumbers.js +0 -111
  99. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/smsf-engagement-step-host.js +0 -161
  100. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/smsf-engagement-step-types.js +0 -1
  101. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api.dto.js +0 -1
  102. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api.js +0 -31
  103. package/dist/lib/collection/components/super-selection-app/funds/slate-super/api/slate-choice.api.dto.js +0 -1
  104. package/dist/lib/collection/components/super-selection-app/funds/slate-super/api/slate-choice.api.js +0 -13
  105. package/dist/lib/collection/components/super-selection-app/funds/slate-super/api/slate.js +0 -4
  106. package/dist/lib/collection/components/super-selection-app/header-section/header-section.js +0 -37
  107. package/dist/lib/collection/components/super-selection-app/misc/button.js +0 -195
  108. package/dist/lib/collection/components/super-selection-app/misc/dropdown-async.css +0 -7
  109. package/dist/lib/collection/components/super-selection-app/misc/dropdown-async.js +0 -390
  110. package/dist/lib/collection/components/super-selection-app/misc/loading-indicator.js +0 -52
  111. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-common.js +0 -22
  112. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-display-field.js +0 -42
  113. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-error-box.js +0 -66
  114. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-invalid-my-own-fund.js +0 -121
  115. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-invalid-smsf.js +0 -145
  116. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-my-own-fund.js +0 -223
  117. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-smsf.js +0 -398
  118. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-types.js +0 -288
  119. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-warning-box.js +0 -37
  120. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill.js +0 -81
  121. package/dist/lib/collection/components/super-selection-app/services/australian-fund-lookup.service.js +0 -15
  122. package/dist/lib/collection/components/super-selection-app/services/event-tracking.service.js +0 -117
  123. package/dist/lib/collection/components/super-selection-app/services/existing-super-choice-info.service.js +0 -134
  124. package/dist/lib/collection/components/super-selection-app/services/misc.service.js +0 -7
  125. package/dist/lib/collection/components/super-selection-app/services/navigation.service.js +0 -31
  126. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.routes.js +0 -38
  127. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +0 -171
  128. package/dist/lib/collection/components/super-selection-app/services/super-selection.store.js +0 -45
  129. package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.js +0 -155
  130. package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.store.js +0 -11
  131. package/dist/lib/collection/components/super-selection-app/super-selection-app.css +0 -27
  132. package/dist/lib/collection/components/super-selection-app/super-selection-app.js +0 -291
  133. package/dist/lib/collection/components/super-smsf/super-smsf-types.js +0 -1
  134. package/dist/lib/collection/components/super-smsf/super-smsf.form.js +0 -1
  135. package/dist/lib/collection/components/super-smsf/super-smsf.js +0 -166
  136. package/dist/lib/collection/global/init-host.js +0 -25
  137. package/dist/lib/collection/global/main.dev.js +0 -29
  138. package/dist/lib/collection/global/main.js +0 -11
  139. package/dist/lib/collection/global/stencil-router-workaround.js +0 -12
  140. package/dist/lib/collection/index.js +0 -2
  141. package/dist/lib/collection/utils/config.js +0 -2
  142. package/dist/lib/collection/utils/gtm.js +0 -5
  143. package/dist/lib/collection/utils/iframe.js +0 -33
  144. package/dist/lib/collection/utils/index.js +0 -11
  145. package/dist/lib/collection/utils/lazy.js +0 -29
  146. package/dist/lib/collection/utils/storage.js +0 -5
  147. package/dist/lib/esm/active-router-d18b36fb.js +0 -73
  148. package/dist/lib/esm/apollo-super-selection.js +0 -20
  149. package/dist/lib/esm/app-globals-c1f89805.js +0 -23
  150. package/dist/lib/esm/context-consumer.entry.js +0 -25
  151. package/dist/lib/esm/custom-fund-choice.api-42801d64.js +0 -3188
  152. package/dist/lib/esm/datorama-akita-127aea91.js +0 -3624
  153. package/dist/lib/esm/index-107d7c24.js +0 -1732
  154. package/dist/lib/esm/index.js +0 -1
  155. package/dist/lib/esm/loader.js +0 -20
  156. package/dist/lib/esm/polyfills/core-js.js +0 -11
  157. package/dist/lib/esm/polyfills/css-shim.js +0 -1
  158. package/dist/lib/esm/polyfills/dom.js +0 -79
  159. package/dist/lib/esm/polyfills/es5-html-element.js +0 -1
  160. package/dist/lib/esm/polyfills/index.js +0 -34
  161. package/dist/lib/esm/polyfills/system.js +0 -6
  162. package/dist/lib/esm/sss-button_32.entry.js +0 -14879
  163. package/dist/lib/esm/sss-super-byof-host.entry.js +0 -107
  164. package/dist/lib/esm/stencil-async-content.entry.js +0 -28
  165. package/dist/lib/esm/stencil-route-title.entry.js +0 -28
  166. package/dist/lib/esm/stencil-router-prompt.entry.js +0 -55
  167. package/dist/lib/esm/stencil-router-redirect.entry.js +0 -28
  168. package/dist/lib/esm-es5/active-router-d18b36fb.js +0 -1
  169. package/dist/lib/esm-es5/apollo-super-selection.js +0 -1
  170. package/dist/lib/esm-es5/app-globals-c1f89805.js +0 -1
  171. package/dist/lib/esm-es5/context-consumer.entry.js +0 -1
  172. package/dist/lib/esm-es5/custom-fund-choice.api-42801d64.js +0 -1
  173. package/dist/lib/esm-es5/datorama-akita-127aea91.js +0 -15
  174. package/dist/lib/esm-es5/index-107d7c24.js +0 -1
  175. package/dist/lib/esm-es5/index.js +0 -0
  176. package/dist/lib/esm-es5/loader.js +0 -1
  177. package/dist/lib/esm-es5/sss-button_32.entry.js +0 -69
  178. package/dist/lib/esm-es5/sss-super-byof-host.entry.js +0 -1
  179. package/dist/lib/esm-es5/stencil-async-content.entry.js +0 -1
  180. package/dist/lib/esm-es5/stencil-route-title.entry.js +0 -1
  181. package/dist/lib/esm-es5/stencil-router-prompt.entry.js +0 -1
  182. package/dist/lib/esm-es5/stencil-router-redirect.entry.js +0 -1
  183. package/dist/lib/index.cjs.js +0 -1
  184. package/dist/lib/index.js +0 -1
  185. package/dist/lib/loader/cdn.js +0 -3
  186. package/dist/lib/loader/index.cjs.js +0 -3
  187. package/dist/lib/loader/index.d.ts +0 -13
  188. package/dist/lib/loader/index.es2017.js +0 -3
  189. package/dist/lib/loader/index.js +0 -4
  190. package/dist/lib/loader/package.json +0 -10
  191. package/dist/lib/node_modules/@stencil/router/dist/collection/components/route/route.css +0 -3
  192. package/dist/lib/types/components/app-host/loading-page.d.ts +0 -3
  193. package/dist/lib/types/components/app-host/services/app-configuration.query.d.ts +0 -11
  194. package/dist/lib/types/components/app-host/services/app-configuration.service.d.ts +0 -9
  195. package/dist/lib/types/components/app-host/services/app-parameters.query.d.ts +0 -10
  196. package/dist/lib/types/components/app-host/services/app-parameters.service.d.ts +0 -6
  197. package/dist/lib/types/components/app-host/services/appinsights.service.d.ts +0 -15
  198. package/dist/lib/types/components/app-host/services/authentication.query.d.ts +0 -13
  199. package/dist/lib/types/components/app-host/services/authentication.service.d.ts +0 -9
  200. package/dist/lib/types/components/app-host/services/interop/host-interop.service.d.ts +0 -7
  201. package/dist/lib/types/components/app-host/services/interop/iframe-interop.service.d.ts +0 -5
  202. package/dist/lib/types/components/app-host/services/interop/react-native-interop.service.d.ts +0 -7
  203. package/dist/lib/types/components/app-host/services/interop.query.d.ts +0 -11
  204. package/dist/lib/types/components/app-host/services/session.store.d.ts +0 -31
  205. package/dist/lib/types/components/app-host/super-selection-app-host.d.ts +0 -15
  206. package/dist/lib/types/components/super-byof/super-byof-types.d.ts +0 -26
  207. package/dist/lib/types/components/super-byof/super-byof.d.ts +0 -19
  208. package/dist/lib/types/components/super-byof/super-byof.form.d.ts +0 -6
  209. package/dist/lib/types/components/super-campaign/fund-tile-clicked.handler.d.ts +0 -12
  210. package/dist/lib/types/components/super-campaign/promoted-fund-joined.handler.d.ts +0 -15
  211. package/dist/lib/types/components/super-campaign/super-campaign-types.d.ts +0 -98
  212. package/dist/lib/types/components/super-campaign/super-campaign.d.ts +0 -27
  213. package/dist/lib/types/components/super-selection-app/api/api-client.d.ts +0 -2
  214. package/dist/lib/types/components/super-selection-app/api/event-tracking.api.d.ts +0 -6
  215. package/dist/lib/types/components/super-selection-app/api/super-campaign-errors-api.d.ts +0 -6
  216. package/dist/lib/types/components/super-selection-app/api/super-campaign-errors.api.dtos.d.ts +0 -7
  217. package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +0 -171
  218. package/dist/lib/types/components/super-selection-app/api/super-selection.api.d.ts +0 -16
  219. package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +0 -248
  220. package/dist/lib/types/components/super-selection-app/app-state-pages/success.d.ts +0 -7
  221. package/dist/lib/types/components/super-selection-app/choice/choice-router.d.ts +0 -6
  222. package/dist/lib/types/components/super-selection-app/existing-choice/existing-choice.d.ts +0 -12
  223. package/dist/lib/types/components/super-selection-app/footer-section/footer-section.d.ts +0 -5
  224. package/dist/lib/types/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.d.ts +0 -10
  225. package/dist/lib/types/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.dto.d.ts +0 -43
  226. package/dist/lib/types/components/super-selection-app/funds/custom-fund/custom-fund.d.ts +0 -9
  227. package/dist/lib/types/components/super-selection-app/funds/custom-fund/custom-fund.store.d.ts +0 -27
  228. package/dist/lib/types/components/super-selection-app/funds/custom-fund/default-fund/default-fund.d.ts +0 -13
  229. package/dist/lib/types/components/super-selection-app/funds/custom-fund/featured-funds/super-campaign-featured-funds.d.ts +0 -18
  230. package/dist/lib/types/components/super-selection-app/funds/custom-fund/featured-funds/super-campaign-featured-funds.types.d.ts +0 -26
  231. package/dist/lib/types/components/super-selection-app/funds/custom-fund/member-name-input.d.ts +0 -14
  232. package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-engagement-step-types.d.ts +0 -15
  233. package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-engagement-step.d.ts +0 -20
  234. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/abn-validation.d.ts +0 -1
  235. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/bankBsbNumbers.d.ts +0 -112
  236. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/smsf-engagement-step-host.d.ts +0 -28
  237. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/smsf-engagement-step-types.d.ts +0 -15
  238. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api.d.ts +0 -8
  239. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api.dto.d.ts +0 -23
  240. package/dist/lib/types/components/super-selection-app/funds/slate-super/api/slate-choice.api.d.ts +0 -6
  241. package/dist/lib/types/components/super-selection-app/funds/slate-super/api/slate-choice.api.dto.d.ts +0 -9
  242. package/dist/lib/types/components/super-selection-app/funds/slate-super/api/slate.d.ts +0 -4
  243. package/dist/lib/types/components/super-selection-app/header-section/header-section.d.ts +0 -3
  244. package/dist/lib/types/components/super-selection-app/misc/button.d.ts +0 -14
  245. package/dist/lib/types/components/super-selection-app/misc/dropdown-async.d.ts +0 -52
  246. package/dist/lib/types/components/super-selection-app/misc/loading-indicator.d.ts +0 -5
  247. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-common.d.ts +0 -9
  248. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-display-field.d.ts +0 -5
  249. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-error-box.d.ts +0 -5
  250. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-invalid-my-own-fund.d.ts +0 -18
  251. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-invalid-smsf.d.ts +0 -28
  252. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-my-own-fund.d.ts +0 -30
  253. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-smsf.d.ts +0 -52
  254. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-types.d.ts +0 -95
  255. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-warning-box.d.ts +0 -4
  256. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill.d.ts +0 -14
  257. package/dist/lib/types/components/super-selection-app/services/australian-fund-lookup.service.d.ts +0 -8
  258. package/dist/lib/types/components/super-selection-app/services/event-tracking.service.d.ts +0 -25
  259. package/dist/lib/types/components/super-selection-app/services/existing-super-choice-info.service.d.ts +0 -75
  260. package/dist/lib/types/components/super-selection-app/services/misc.service.d.ts +0 -6
  261. package/dist/lib/types/components/super-selection-app/services/navigation.service.d.ts +0 -17
  262. package/dist/lib/types/components/super-selection-app/services/super-selection-app.routes.d.ts +0 -19
  263. package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts +0 -43
  264. package/dist/lib/types/components/super-selection-app/services/super-selection.store.d.ts +0 -37
  265. package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.d.ts +0 -16
  266. package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.store.d.ts +0 -42
  267. package/dist/lib/types/components/super-selection-app/super-selection-app.d.ts +0 -27
  268. package/dist/lib/types/components/super-smsf/super-smsf-types.d.ts +0 -34
  269. package/dist/lib/types/components/super-smsf/super-smsf.d.ts +0 -20
  270. package/dist/lib/types/components/super-smsf/super-smsf.form.d.ts +0 -15
  271. package/dist/lib/types/components.d.ts +0 -522
  272. package/dist/lib/types/global/init-host.d.ts +0 -1
  273. package/dist/lib/types/global/main.d.ts +0 -1
  274. package/dist/lib/types/global/main.dev.d.ts +0 -1
  275. package/dist/lib/types/global/stencil-router-workaround.d.ts +0 -1
  276. package/dist/lib/types/index.d.ts +0 -2
  277. package/dist/lib/types/stencil-public-runtime.d.ts +0 -1555
  278. package/dist/lib/types/utils/config.d.ts +0 -2
  279. package/dist/lib/types/utils/gtm.d.ts +0 -7
  280. package/dist/lib/types/utils/iframe.d.ts +0 -13
  281. package/dist/lib/types/utils/index.d.ts +0 -4
  282. package/dist/lib/types/utils/lazy.d.ts +0 -12
  283. package/dist/lib/types/utils/storage.d.ts +0 -4
@@ -1,210 +0,0 @@
1
- import { Component, h, Prop, State } from '@stencil/core';
2
- import { injectHistory } from '@stencil/router';
3
- import { isSome } from 'fp-ts/lib/Option';
4
- import { SuperCampaignErrorApi } from '../super-selection-app/api/super-campaign-errors-api';
5
- import { SuperFundDisclaimerViewedDetail } from '../super-selection-app/api/super-selection-events.model';
6
- import { EventTrackingService } from '../super-selection-app/services/event-tracking.service';
7
- import navigationService from '../super-selection-app/services/navigation.service';
8
- import { SuperCampaignComponentStatus } from '../super-selection-app/services/super-selection.store';
9
- import { SuperSelectionAppRoutes } from '../super-selection-app/services/super-selection-app.routes';
10
- import superSelectionAppService from '../super-selection-app/services/super-selection-app.service';
11
- import { fundTileClicked } from './fund-tile-clicked.handler';
12
- import { PromotedFundJoinedEventHandler } from './promoted-fund-joined.handler';
13
- import { LoadWaitingTimeout } from './super-campaign-types';
14
- export class SuperCampaignHost {
15
- constructor() {
16
- this.scriptImported = false;
17
- this.subscribeToSuperCampaignEvents = () => {
18
- for (const eventName in this.superCampaignEventHandlers) {
19
- document.addEventListener(eventName, this.superCampaignEventHandlers[eventName]);
20
- }
21
- };
22
- this.unSubscribeFromSuperCampaignEvents = () => {
23
- for (const eventName in this.superCampaignEventHandlers) {
24
- document.removeEventListener(eventName, this.superCampaignEventHandlers[eventName]);
25
- }
26
- };
27
- this.superCampaignLoaded = async (event) => {
28
- if (event.detail.sender === 'super-campaign') {
29
- superSelectionAppService.superCampaignComponentStatus = SuperCampaignComponentStatus.Loaded;
30
- clearTimeout(this.loadingTimeoutRef);
31
- await EventTrackingService.Instance.TrackSuperCampaignActivationSucceededAsync({});
32
- }
33
- return Promise.resolve();
34
- };
35
- this.superCampaignLoadFailed = async (event) => {
36
- if (event.detail.sender === 'super-campaign') {
37
- await this.activateFallbackMechanism({
38
- type: 'SuperCampaignActivationFailed',
39
- reason: event.detail.reason || 'Unknown'
40
- });
41
- }
42
- };
43
- this.superCampaignFailed = async (event) => {
44
- if (event.detail.sender === 'super-campaign') {
45
- await this.activateFallbackMechanism({
46
- type: 'SuperCampaignOperationFailed',
47
- reason: event.detail.reason || 'Unknown'
48
- });
49
- }
50
- };
51
- this.chooseAnotherFundRequested = async (event) => {
52
- if (event.detail.sender === 'super-campaign') {
53
- await navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.MyOwnFund);
54
- }
55
- };
56
- this.fundPanelShown = async (event) => {
57
- if (event.detail.sender === 'super-campaign') {
58
- superSelectionAppService.setSuperCampaignPromotedFundsShown(event.detail.shownFunds);
59
- await superSelectionAppService.viewSuperFundPanelAsync('panel');
60
- }
61
- };
62
- this.fundTileClicked = async (event) => {
63
- await fundTileClicked({
64
- sender: event.detail.sender,
65
- placementId: 'panel',
66
- fundId: event.detail.fundId,
67
- fundUsi: event.detail.fundUsi,
68
- fundName: event.detail.fundName,
69
- fundType: event.detail.fundType
70
- });
71
- };
72
- this.fundPdsViewed = async (event) => {
73
- if (event.detail.sender === 'super-campaign') {
74
- await EventTrackingService.Instance.TrackSuperFundPdsViewedAsync({
75
- fundName: event.detail.fundName,
76
- fundUsi: event.detail.fundUsi,
77
- pageName: event.detail.pageName,
78
- superCampaignEnabled: true
79
- });
80
- }
81
- };
82
- this.disclaimerViewed = async (event) => {
83
- if (event.detail.sender === 'super-campaign') {
84
- await EventTrackingService.Instance.TrackSuperFundDisclaimerViewedAsync(SuperFundDisclaimerViewedDetail.create(true));
85
- }
86
- };
87
- this.disclaimerAccepted = async (event) => {
88
- if (event.detail.sender === 'super-campaign') {
89
- await EventTrackingService.Instance.TrackSuperFundDisclaimerAcceptedAsync({
90
- superCampaignEnabled: true
91
- });
92
- }
93
- };
94
- this.superCampaignEventHandlers = {
95
- 'choose-another-fund-requested': this.chooseAnotherFundRequested.bind(this),
96
- 'fund-panel-shown': this.fundPanelShown.bind(this),
97
- 'fund-tile-clicked': this.fundTileClicked.bind(this),
98
- 'fund-pds-viewed': this.fundPdsViewed.bind(this),
99
- 'disclaimer-viewed': this.disclaimerViewed.bind(this),
100
- 'disclaimer-accepted': this.disclaimerAccepted.bind(this),
101
- 'promoted-fund-joined': new PromotedFundJoinedEventHandler('panel', this.history).handle,
102
- 'super-campaign-loaded': this.superCampaignLoaded.bind(this),
103
- 'super-campaign-load-failed': this.superCampaignLoadFailed.bind(this),
104
- 'super-campaign-failed': this.superCampaignFailed.bind(this)
105
- };
106
- }
107
- async componentWillLoad() {
108
- if (superSelectionAppService.state.superCampaignComponentStatus ===
109
- SuperCampaignComponentStatus.NotWorking) {
110
- navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.MyOwnFund);
111
- return;
112
- }
113
- let superCampaingScriptPath = undefined;
114
- try {
115
- if (isSome(superSelectionAppService.backendUrl) &&
116
- isSome(superSelectionAppService.state.jwt)) {
117
- this.backendUrl = superSelectionAppService.backendUrl.value;
118
- this.accessToken = superSelectionAppService.state.jwt.value;
119
- this.unSubscribeFromSuperCampaignEvents();
120
- if (superSelectionAppService.state.superCampaignComponentStatus ===
121
- SuperCampaignComponentStatus.NotLoaded) {
122
- superCampaingScriptPath = this.createApolloSuperCampaignScriptUrl();
123
- await import(superCampaingScriptPath);
124
- this.loadingTimeoutRef = setTimeout(this.superCampaignLoadingTimeoutTriggered.bind(this), LoadWaitingTimeout);
125
- }
126
- this.subscribeToSuperCampaignEvents();
127
- this.scriptImported = true;
128
- superSelectionAppService.hideFooterSection = true;
129
- }
130
- else {
131
- throw Error(`SuperCampaignHost pre-requisites not met.`);
132
- }
133
- }
134
- catch (error) {
135
- this.activateFallbackMechanism({
136
- type: 'SuperCampaignActivationFailed',
137
- reason: `Problem in loading SuperCampaing script from:${superCampaingScriptPath} Error: ${error}`
138
- });
139
- }
140
- }
141
- disconnectedCallback() {
142
- clearTimeout(this.loadingTimeoutRef);
143
- this.unSubscribeFromSuperCampaignEvents();
144
- superSelectionAppService.hideFooterSection = false;
145
- }
146
- render() {
147
- return (h("div", null, this.scriptImported ? (h("apollo-super-campaign", { "backend-url": this.backendUrl, "access-token": this.accessToken })) : null));
148
- }
149
- async activateFallbackMechanism(error) {
150
- if (superSelectionAppService.superCampaignComponentStatus !==
151
- SuperCampaignComponentStatus.NotWorking) {
152
- superSelectionAppService.superCampaignComponentStatus =
153
- SuperCampaignComponentStatus.NotWorking;
154
- await SuperCampaignErrorApi.Instance.PostError(error);
155
- await navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.MyOwnFund);
156
- }
157
- }
158
- async superCampaignLoadingTimeoutTriggered() {
159
- if (superSelectionAppService.superCampaignComponentStatus !== SuperCampaignComponentStatus.Loaded) {
160
- this.activateFallbackMechanism({
161
- type: 'SuperCampaignActivationFailed',
162
- reason: `Activation timeout was triggered after:${LoadWaitingTimeout / 1000} seconds`
163
- });
164
- }
165
- }
166
- createApolloSuperCampaignScriptUrl() {
167
- const getSubdomain = () => {
168
- const discriminator = window.location.hostname.toLowerCase().split('.')[0];
169
- switch (discriminator) {
170
- case 'test-partner':
171
- case 'partner':
172
- case 'sandbox-partner':
173
- case 'autodev-partner':
174
- return discriminator;
175
- default:
176
- return 'autodev-partner';
177
- }
178
- };
179
- return `https://${getSubdomain()}.flarehr.com/super-campaign/cdn/app/apollo-super-campaign.js`;
180
- }
181
- static get is() { return "sss-super-campaign-host"; }
182
- static get properties() { return {
183
- "history": {
184
- "type": "unknown",
185
- "mutable": false,
186
- "complexType": {
187
- "original": "RouterHistory",
188
- "resolved": "RouterHistory",
189
- "references": {
190
- "RouterHistory": {
191
- "location": "import",
192
- "path": "@stencil/router"
193
- }
194
- }
195
- },
196
- "required": false,
197
- "optional": false,
198
- "docs": {
199
- "tags": [],
200
- "text": ""
201
- }
202
- }
203
- }; }
204
- static get states() { return {
205
- "scriptImported": {},
206
- "backendUrl": {},
207
- "accessToken": {}
208
- }; }
209
- }
210
- injectHistory(SuperCampaignHost);
@@ -1,14 +0,0 @@
1
- import wretch from 'wretch';
2
- import superSelectionAppService from '../services/super-selection-app.service';
3
- export function buildBackendApiClient() {
4
- const jwt = superSelectionAppService.jwt;
5
- const profileId = superSelectionAppService.profileId;
6
- const accountId = superSelectionAppService.accountIdOrDefault;
7
- const partnerId = superSelectionAppService.partnerIdOrDefault;
8
- return wretch(superSelectionAppService.apiBaseUrl).headers({
9
- Authorization: `Bearer ${jwt}`,
10
- 'X-PROFILE-ID': profileId,
11
- 'X-PARTNER-ID': partnerId,
12
- 'X-ACCOUNT-ID': accountId
13
- });
14
- }
@@ -1,9 +0,0 @@
1
- import { buildBackendApiClient } from '../api/api-client';
2
- export class EventTrackingApi {
3
- static get Instance() {
4
- return this.instance || (this.instance = new this());
5
- }
6
- async PostAnalyticsEventAsync(event) {
7
- return buildBackendApiClient().url('analytics-events').post(event).res();
8
- }
9
- }
@@ -1,9 +0,0 @@
1
- import { buildBackendApiClient } from './api-client';
2
- export class SuperCampaignErrorApi {
3
- static get Instance() {
4
- return this.instance || (this.instance = new this());
5
- }
6
- async PostError(error) {
7
- buildBackendApiClient().url('super-campaign/errors').post(error);
8
- }
9
- }
@@ -1,16 +0,0 @@
1
- import { isSome } from 'fp-ts/lib/Option';
2
- import superSelectionService from '../services/super-selection-app.service';
3
- export const SuperFundDisclaimerViewedDetail = {
4
- create: (superCampaignEnabled) => {
5
- let isDefinedBenefitsEligibleString = 'Not set';
6
- if (isSome(superSelectionService.isDefinedBenefitsEligible)) {
7
- isDefinedBenefitsEligibleString = superSelectionService.isDefinedBenefitsEligible.value
8
- ? 'True'
9
- : 'False';
10
- }
11
- return {
12
- isDefinedBenefitsEligible: isDefinedBenefitsEligibleString,
13
- superCampaignEnabled: superCampaignEnabled
14
- };
15
- }
16
- };
@@ -1,179 +0,0 @@
1
- import { none, some } from 'fp-ts/Option';
2
- import { assertExhaustive } from '../../../utils';
3
- import { slate } from '../funds/slate-super/api/slate';
4
- export function hydratePromotedFundChoiceDtoKind(dto) {
5
- if ('slate' in dto) {
6
- dto.kind = 'slate';
7
- }
8
- else if ('australianRetirementTrust' in dto) {
9
- dto.kind = 'australianRetirementTrust';
10
- }
11
- else if ('aware' in dto) {
12
- dto.kind = 'aware';
13
- }
14
- else if ('active' in dto) {
15
- dto.kind = 'active';
16
- }
17
- else if ('australianEthical' in dto) {
18
- dto.kind = 'australianEthical';
19
- }
20
- else if ('virgin' in dto) {
21
- dto.kind = 'virgin';
22
- }
23
- else if ('spirit' in dto) {
24
- dto.kind = 'spirit';
25
- }
26
- else if ('firstSuper' in dto) {
27
- dto.kind = 'firstSuper';
28
- }
29
- else if ('mercerMyChoice' in dto) {
30
- dto.kind = 'mercerMyChoice';
31
- }
32
- else if ('generic' in dto) {
33
- dto.kind = 'generic';
34
- }
35
- }
36
- function getPromotedFundUsi(dto) {
37
- switch (dto.kind) {
38
- case 'slate':
39
- return slate.usi;
40
- case 'australianRetirementTrust':
41
- return dto.australianRetirementTrust.usi;
42
- case 'aware':
43
- return dto.aware.usi;
44
- case 'active':
45
- return dto.active.usi;
46
- case 'australianEthical':
47
- return dto.australianEthical.usi;
48
- case 'virgin':
49
- return dto.virgin.usi;
50
- case 'spirit':
51
- return dto.spirit.usi;
52
- case 'firstSuper':
53
- return dto.firstSuper.usi;
54
- case 'mercerMyChoice':
55
- return dto.mercerMyChoice.usi;
56
- case 'generic':
57
- return dto.generic.usi;
58
- default:
59
- assertExhaustive(dto);
60
- return '';
61
- }
62
- }
63
- export function getPromotedFundId(dto) {
64
- switch (dto.kind) {
65
- case 'slate':
66
- return slate.fundId;
67
- case 'australianRetirementTrust':
68
- return 'australian-retirement-trust';
69
- case 'aware':
70
- return 'aware';
71
- case 'active':
72
- return 'active';
73
- case 'australianEthical':
74
- return 'australian-ethical';
75
- case 'virgin':
76
- return 'virgin';
77
- case 'spirit':
78
- return 'spirit';
79
- case 'firstSuper':
80
- return 'first-super';
81
- case 'mercerMyChoice':
82
- return 'mercermychoice';
83
- case 'generic':
84
- return dto.generic.fundId;
85
- default:
86
- assertExhaustive(dto);
87
- return '';
88
- }
89
- }
90
- export function getSuperChoiceUsi(dto) {
91
- switch (dto.kind) {
92
- case 'Promoted':
93
- return some(getPromotedFundUsi(dto.promoted));
94
- case 'MyOwnFund':
95
- return some(dto.myOwnFund.usi);
96
- case 'SMSF':
97
- return none;
98
- case 'Default':
99
- return some(dto.default.usi);
100
- case 'PromotedDefault':
101
- return some(dto.promotedDefault.usi);
102
- case 'DefinedBenefits':
103
- return some(dto.definedBenefits.usi);
104
- case 'PromotedDefaultWithJoin':
105
- return some(dto.promotedDefaultWithJoin.usi);
106
- default:
107
- assertExhaustive(dto);
108
- return none;
109
- }
110
- }
111
- function getPromotedFundMemberNumber(dto) {
112
- switch (dto.kind) {
113
- case 'slate':
114
- return dto.slate.memberNumber;
115
- case 'australianRetirementTrust':
116
- return dto.australianRetirementTrust.memberNumber;
117
- case 'aware':
118
- return dto.aware.memberNumber;
119
- case 'active':
120
- return dto.active.memberNumber;
121
- case 'australianEthical':
122
- return dto.australianEthical.memberNumber;
123
- case 'virgin':
124
- return dto.virgin.memberNumber;
125
- case 'spirit':
126
- return dto.spirit.memberNumber;
127
- case 'firstSuper':
128
- return dto.firstSuper.memberNumber;
129
- case 'mercerMyChoice':
130
- return dto.mercerMyChoice.memberNumber;
131
- case 'generic':
132
- return dto.generic.memberNumber;
133
- default:
134
- assertExhaustive(dto);
135
- return '';
136
- }
137
- }
138
- export function getSuperChoiceMemberNumber(dto) {
139
- switch (dto.kind) {
140
- case 'Promoted':
141
- return some(getPromotedFundMemberNumber(dto.promoted));
142
- case 'MyOwnFund':
143
- return some(dto.myOwnFund.memberNumber);
144
- case 'DefinedBenefits':
145
- return some(dto.definedBenefits.memberNumber);
146
- case 'PromotedDefaultWithJoin':
147
- return some(dto.promotedDefaultWithJoin.memberNumber);
148
- case 'SMSF':
149
- case 'Default':
150
- case 'PromotedDefault':
151
- return none;
152
- default:
153
- assertExhaustive(dto);
154
- return none;
155
- }
156
- }
157
- export function hydrateSuperChoiceDetailsDtoKind(dto) {
158
- if ('promoted' in dto) {
159
- dto.kind = 'Promoted';
160
- }
161
- else if ('myOwnFund' in dto) {
162
- dto.kind = 'MyOwnFund';
163
- }
164
- else if ('smsf' in dto) {
165
- dto.kind = 'SMSF';
166
- }
167
- else if ('default' in dto) {
168
- dto.kind = 'Default';
169
- }
170
- else if ('promotedDefault' in dto) {
171
- dto.kind = 'PromotedDefault';
172
- }
173
- else if ('definedBenefits' in dto) {
174
- dto.kind = 'DefinedBenefits';
175
- }
176
- else if ('promotedDefaultWithJoin' in dto) {
177
- dto.kind = 'PromotedDefaultWithJoin';
178
- }
179
- }
@@ -1,69 +0,0 @@
1
- import { assertExhaustive } from '../../../utils';
2
- import { buildBackendApiClient } from './api-client';
3
- import { hydratePromotedFundChoiceDtoKind, hydrateSuperChoiceDetailsDtoKind } from './super-selection.api.dto';
4
- export class SuperSelectionApi {
5
- async getAustralianFundsAsync(searchFilter, includeInactive = false) {
6
- return buildBackendApiClient()
7
- .url(`super-choice/australian-funds-v2?${this.toQueryString(includeInactive, searchFilter)}`)
8
- .get()
9
- .notFound(() => {
10
- throw new Error('Failed to fetch the list of australian super funds.');
11
- })
12
- .json();
13
- }
14
- async getAustralianFundAsync(usi, includeInactive) {
15
- const queryStr = includeInactive ? '?includeInactive=true' : '';
16
- return buildBackendApiClient()
17
- .url(`super-choice/australian-funds/${usi}${queryStr}`)
18
- .get()
19
- .notFound(() => {
20
- throw new Error('Failed to fetch australian super fund.');
21
- })
22
- .json();
23
- }
24
- async getAppStateAsync() {
25
- var _a;
26
- const response = await buildBackendApiClient()
27
- .url('client-app-state')
28
- .get()
29
- .notFound(() => {
30
- throw new Error('Failed to fetch application configuration.');
31
- })
32
- .json();
33
- if ((_a = response.superBuyer.superChoice) === null || _a === void 0 ? void 0 : _a.choiceDetails) {
34
- hydrateSuperChoiceDetailsDtoKind(response.superBuyer.superChoice.choiceDetails);
35
- switch (response.superBuyer.superChoice.choiceDetails.kind) {
36
- case 'Promoted':
37
- hydratePromotedFundChoiceDtoKind(response.superBuyer.superChoice.choiceDetails.promoted);
38
- break;
39
- case 'Default':
40
- case 'MyOwnFund':
41
- case 'PromotedDefault':
42
- case 'SMSF':
43
- case 'DefinedBenefits':
44
- case 'PromotedDefaultWithJoin':
45
- break;
46
- default:
47
- assertExhaustive(response.superBuyer.superChoice.choiceDetails);
48
- }
49
- }
50
- return response;
51
- }
52
- async clickPromotedTileAsync(payload) {
53
- return buildBackendApiClient().url('click-promoted-tile').post(payload).res();
54
- }
55
- async viewSuperFundPanelAsync(payload) {
56
- return buildBackendApiClient().url('view-super-fund-panel').post(payload).res();
57
- }
58
- toSearchFilterQueryString(searchFilter) {
59
- return (`search=${searchFilter.searchString}` +
60
- (searchFilter.maxRecordCount > 0 ? '&maxRecordCount=' + searchFilter.maxRecordCount : ''));
61
- }
62
- toQueryString(includeInactive, searchFilter) {
63
- const search = this.toSearchFilterQueryString(searchFilter);
64
- const inactive = includeInactive ? 'includeInactive=true' : '';
65
- const isNotEmpty = (s) => s && s.length;
66
- return [search, inactive].filter(isNotEmpty).join('&');
67
- }
68
- }
69
- export default new SuperSelectionApi();
@@ -1,36 +0,0 @@
1
- import { Component, h, Host } from '@stencil/core';
2
- import superSelectionAppService from '../services/super-selection-app.service';
3
- export class Success {
4
- constructor() {
5
- this.ignorePopState = () => window.history.pushState(null, '', null);
6
- }
7
- connectedCallback() {
8
- this.ignorePopState();
9
- window.addEventListener('popstate', this.ignorePopState);
10
- }
11
- disconnectedCallback() {
12
- window.removeEventListener('popstate', this.ignorePopState);
13
- }
14
- render() {
15
- const CheckIcon = () => {
16
- return (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 448 512", class: "fill-primary-base" },
17
- h("path", { d: "M443.3 100.7C449.6 106.9 449.6 117.1 443.3 123.3L171.3 395.3C165.1 401.6 154.9 401.6 148.7 395.3L4.686 251.3C-1.562 245.1-1.562 234.9 4.686 228.7C10.93 222.4 21.06 222.4 27.31 228.7L160 361.4L420.7 100.7C426.9 94.44 437.1 94.44 443.3 100.7H443.3z" })));
18
- };
19
- return (h(Host, { class: "text-center" },
20
- h("div", { class: "flex justify-center" },
21
- h("div", { class: "relative" },
22
- h("div", { class: "h-20 w-20 rounded-full bg-primary-base opacity-10" }),
23
- h("div", { class: "h-8 w-8 absolute top-1/2 left-1/2 -translate-y-1/2 -translate-x-1/2" },
24
- h(CheckIcon, null)))),
25
- h("h3", { class: "text-2xl leading-8 font-bold mt-4" }, "Your super choice has been submitted"),
26
- h("p", { class: "mt-4 text-center text-gray-600 leading-7 max-w-560 mx-auto" }, "Your superannuation details have been updated successfully and will be submitted to your employer."),
27
- h("div", { class: "flex justify-center mt-8" },
28
- h("div", { class: "max-w-[200px] w-full" },
29
- h("sss-button", { testid: "continue-button", size: "xl", fillWidth: true, onClick: this.handleContinueButtonClick },
30
- h("span", null, "Continue"))))));
31
- }
32
- handleContinueButtonClick(_event) {
33
- superSelectionAppService.completeSuperSelectionFlow();
34
- }
35
- static get is() { return "sss-success"; }
36
- }
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="#facc15">
2
- <path fill-rule="evenodd" d="M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z" clip-rule="evenodd" />
3
- </svg>
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="#60a5fa">
2
- <path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z" clip-rule="evenodd" />
3
- </svg>
@@ -1,42 +0,0 @@
1
- import { Component, Fragment, h, Prop } from '@stencil/core';
2
- import { injectHistory } from '@stencil/router';
3
- import navigationService from '../services/navigation.service';
4
- import { SuperSelectionAppRoutes } from '../services/super-selection-app.routes';
5
- import superSelectionService from '../services/super-selection-app.service';
6
- export class ChoiceRouter {
7
- async componentWillLoad() {
8
- if (superSelectionService.superCampaignCanNotBeActivated) {
9
- navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.MyOwnFund);
10
- }
11
- else {
12
- navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.SuperCampaign);
13
- }
14
- }
15
- render() {
16
- return h(Fragment, null);
17
- }
18
- static get is() { return "sss-choice-router"; }
19
- static get properties() { return {
20
- "history": {
21
- "type": "unknown",
22
- "mutable": false,
23
- "complexType": {
24
- "original": "RouterHistory",
25
- "resolved": "RouterHistory",
26
- "references": {
27
- "RouterHistory": {
28
- "location": "import",
29
- "path": "@stencil/router"
30
- }
31
- }
32
- },
33
- "required": false,
34
- "optional": false,
35
- "docs": {
36
- "tags": [],
37
- "text": ""
38
- }
39
- }
40
- }; }
41
- }
42
- injectHistory(ChoiceRouter);