@flarehr/apollo-super-selection 3.17.52693 → 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 (284) 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-01a9f4a4.entry.js +0 -1
  6. package/dist/lib/apollo-super-selection/p-082669d9.js +0 -1
  7. package/dist/lib/apollo-super-selection/p-13573238.system.js +0 -15
  8. package/dist/lib/apollo-super-selection/p-20136efe.entry.js +0 -1
  9. package/dist/lib/apollo-super-selection/p-285da037.system.entry.js +0 -1
  10. package/dist/lib/apollo-super-selection/p-342cee5a.js +0 -1
  11. package/dist/lib/apollo-super-selection/p-381262c1.system.js +0 -1
  12. package/dist/lib/apollo-super-selection/p-38ee2795.system.js +0 -1
  13. package/dist/lib/apollo-super-selection/p-38f24f69.js +0 -1
  14. package/dist/lib/apollo-super-selection/p-50ea2036.system.js +0 -1
  15. package/dist/lib/apollo-super-selection/p-574c7d9b.system.entry.js +0 -69
  16. package/dist/lib/apollo-super-selection/p-61734b66.js +0 -1
  17. package/dist/lib/apollo-super-selection/p-642db1f7.system.entry.js +0 -1
  18. package/dist/lib/apollo-super-selection/p-64ebe17d.system.entry.js +0 -1
  19. package/dist/lib/apollo-super-selection/p-7dbe5a2f.system.js +0 -1
  20. package/dist/lib/apollo-super-selection/p-89495496.entry.js +0 -14
  21. package/dist/lib/apollo-super-selection/p-8cbfc343.system.entry.js +0 -1
  22. package/dist/lib/apollo-super-selection/p-a98c2760.entry.js +0 -1
  23. package/dist/lib/apollo-super-selection/p-abedb220.entry.js +0 -1
  24. package/dist/lib/apollo-super-selection/p-ae4f5e0b.system.js +0 -1
  25. package/dist/lib/apollo-super-selection/p-c5e41889.entry.js +0 -1
  26. package/dist/lib/apollo-super-selection/p-cd49a6b7.system.entry.js +0 -1
  27. package/dist/lib/apollo-super-selection/p-d82b00ed.system.js +0 -1
  28. package/dist/lib/apollo-super-selection/p-df9ce4b7.js +0 -15
  29. package/dist/lib/apollo-super-selection/p-f15bf700.system.entry.js +0 -1
  30. package/dist/lib/apollo-super-selection/p-f7a45412.entry.js +0 -1
  31. package/dist/lib/cjs/active-router-e92fd784.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_44.cjs.entry.js +0 -17003
  38. package/dist/lib/cjs/fl-style-guide.cjs.entry.js +0 -90
  39. package/dist/lib/cjs/index-942e6faa.js +0 -1767
  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 -127
  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 -111
  80. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-not-supported.css +0 -23
  81. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-not-supported.js +0 -52
  82. package/dist/lib/collection/components/super-selection-app/funds/qsuper/api/qsuper-choice.api.dto.js +0 -1
  83. package/dist/lib/collection/components/super-selection-app/funds/qsuper/api/qsuper-choice.api.js +0 -13
  84. package/dist/lib/collection/components/super-selection-app/funds/qsuper/helpers/confirmCheck.js +0 -37
  85. package/dist/lib/collection/components/super-selection-app/funds/qsuper/helpers/continueCheck.js +0 -13
  86. package/dist/lib/collection/components/super-selection-app/funds/qsuper/helpers/getNextRoute.js +0 -89
  87. package/dist/lib/collection/components/super-selection-app/funds/qsuper/helpers/resetState.js +0 -31
  88. package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-confirm-header.js +0 -38
  89. package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-confirm-selection/qsuper-confirm-selection.js +0 -63
  90. package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-confirmation.css +0 -0
  91. package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-consent/qsuper-consent.js +0 -95
  92. package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-insurance-opt-in.js +0 -99
  93. package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-insurance-questions.js +0 -18
  94. package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-layout.js +0 -95
  95. package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper.css +0 -50
  96. package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question1/question1.js +0 -10
  97. package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question2/question2.js +0 -10
  98. package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question3/question3.js +0 -10
  99. package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question4/question4.js +0 -10
  100. package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question5/question5.js +0 -10
  101. package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question6/question6.js +0 -10
  102. package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question7/question7.js +0 -10
  103. package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question8/question8.js +0 -10
  104. package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/yes-no-buttons/qsuper-question-yes-no-buttons.js +0 -66
  105. package/dist/lib/collection/components/super-selection-app/funds/qsuper/services/qsuper.store.js +0 -64
  106. package/dist/lib/collection/components/super-selection-app/funds/slate-super/api/slate-choice.api.dto.js +0 -1
  107. package/dist/lib/collection/components/super-selection-app/funds/slate-super/api/slate-choice.api.js +0 -13
  108. package/dist/lib/collection/components/super-selection-app/funds/slate-super/services/slate-iframe-builder.js +0 -127
  109. package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-fund.store.js +0 -9
  110. package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-join-page.js +0 -35
  111. package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-standard-choice-page.js +0 -67
  112. package/dist/lib/collection/components/super-selection-app/funds/slate-super/slatesuper-header.css +0 -0
  113. package/dist/lib/collection/components/super-selection-app/funds/slate-super/slatesuper-header.js +0 -19
  114. package/dist/lib/collection/components/super-selection-app/notifications-section/notifications-section.js +0 -25
  115. package/dist/lib/collection/components/super-selection-app/services/australian-fund-lookup.service.js +0 -22
  116. package/dist/lib/collection/components/super-selection-app/services/event-tracking.service.js +0 -71
  117. package/dist/lib/collection/components/super-selection-app/services/navigation.service.js +0 -22
  118. package/dist/lib/collection/components/super-selection-app/services/notifications.service.js +0 -37
  119. package/dist/lib/collection/components/super-selection-app/services/notifications.store.js +0 -3
  120. package/dist/lib/collection/components/super-selection-app/services/selected-super-choice-info.service.js +0 -53
  121. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.routes.js +0 -42
  122. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +0 -76
  123. package/dist/lib/collection/components/super-selection-app/services/super-selection.store.js +0 -11
  124. package/dist/lib/collection/components/super-selection-app/standard-choice/api/standard-choice.model.js +0 -1
  125. package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.js +0 -49
  126. package/dist/lib/collection/components/super-selection-app/super-choice-page/selected-super-choice-section/selected-super-choice-section.css +0 -18
  127. package/dist/lib/collection/components/super-selection-app/super-choice-page/selected-super-choice-section/selected-super-choice-section.js +0 -53
  128. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item.js +0 -216
  129. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.css +0 -53
  130. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +0 -152
  131. package/dist/lib/collection/components/super-selection-app/super-selection-app.css +0 -15
  132. package/dist/lib/collection/components/super-selection-app/super-selection-app.js +0 -229
  133. package/dist/lib/collection/global/init-host.js +0 -22
  134. package/dist/lib/collection/global/main.dev.js +0 -26
  135. package/dist/lib/collection/global/main.js +0 -11
  136. package/dist/lib/collection/global/stencil-router-workaround.js +0 -12
  137. package/dist/lib/collection/index.js +0 -2
  138. package/dist/lib/collection/utils/config.js +0 -2
  139. package/dist/lib/collection/utils/gtm.js +0 -5
  140. package/dist/lib/collection/utils/iframe.js +0 -33
  141. package/dist/lib/collection/utils/index.js +0 -8
  142. package/dist/lib/collection/utils/lazy.js +0 -29
  143. package/dist/lib/collection/utils/storage.js +0 -5
  144. package/dist/lib/esm/active-router-4c80d3d2.js +0 -73
  145. package/dist/lib/esm/apollo-super-selection.js +0 -21
  146. package/dist/lib/esm/app-globals-7ac1ffba.js +0 -23
  147. package/dist/lib/esm/context-consumer.entry.js +0 -25
  148. package/dist/lib/esm/datorama-akita-79ce4385.js +0 -2692
  149. package/dist/lib/esm/delay-c0555599.js +0 -935
  150. package/dist/lib/esm/fl-button_44.entry.js +0 -16956
  151. package/dist/lib/esm/fl-style-guide.entry.js +0 -86
  152. package/dist/lib/esm/index-0496d1af.js +0 -1734
  153. package/dist/lib/esm/index.js +0 -1
  154. package/dist/lib/esm/loader.js +0 -21
  155. package/dist/lib/esm/polyfills/core-js.js +0 -11
  156. package/dist/lib/esm/polyfills/css-shim.js +0 -1
  157. package/dist/lib/esm/polyfills/dom.js +0 -79
  158. package/dist/lib/esm/polyfills/es5-html-element.js +0 -1
  159. package/dist/lib/esm/polyfills/index.js +0 -34
  160. package/dist/lib/esm/polyfills/system.js +0 -6
  161. package/dist/lib/esm/stencil-async-content.entry.js +0 -28
  162. package/dist/lib/esm/stencil-route-title.entry.js +0 -28
  163. package/dist/lib/esm/stencil-router-prompt.entry.js +0 -55
  164. package/dist/lib/esm/stencil-router-redirect.entry.js +0 -28
  165. package/dist/lib/esm-es5/active-router-4c80d3d2.js +0 -1
  166. package/dist/lib/esm-es5/apollo-super-selection.js +0 -1
  167. package/dist/lib/esm-es5/app-globals-7ac1ffba.js +0 -1
  168. package/dist/lib/esm-es5/context-consumer.entry.js +0 -1
  169. package/dist/lib/esm-es5/datorama-akita-79ce4385.js +0 -15
  170. package/dist/lib/esm-es5/delay-c0555599.js +0 -1
  171. package/dist/lib/esm-es5/fl-button_44.entry.js +0 -69
  172. package/dist/lib/esm-es5/fl-style-guide.entry.js +0 -1
  173. package/dist/lib/esm-es5/index-0496d1af.js +0 -1
  174. package/dist/lib/esm-es5/index.js +0 -0
  175. package/dist/lib/esm-es5/loader.js +0 -1
  176. package/dist/lib/esm-es5/stencil-async-content.entry.js +0 -1
  177. package/dist/lib/esm-es5/stencil-route-title.entry.js +0 -1
  178. package/dist/lib/esm-es5/stencil-router-prompt.entry.js +0 -1
  179. package/dist/lib/esm-es5/stencil-router-redirect.entry.js +0 -1
  180. package/dist/lib/index.cjs.js +0 -1
  181. package/dist/lib/index.js +0 -1
  182. package/dist/lib/loader/cdn.js +0 -3
  183. package/dist/lib/loader/index.cjs.js +0 -3
  184. package/dist/lib/loader/index.d.ts +0 -13
  185. package/dist/lib/loader/index.es2017.js +0 -3
  186. package/dist/lib/loader/index.js +0 -4
  187. package/dist/lib/loader/package.json +0 -10
  188. package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/button/button.css +0 -45
  189. package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/dropdown/dropdown.css +0 -9
  190. package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/dropdown-async/dropdown-async.css +0 -9
  191. package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/loading-indicator/loading-indicator.css +0 -141
  192. package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/promise-button/promise-button.css +0 -5
  193. package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/style-guide/style-guide.css +0 -0
  194. package/dist/lib/node_modules/@stencil/router/dist/collection/components/route/route.css +0 -3
  195. package/dist/lib/types/components/app-host/loading-page.d.ts +0 -3
  196. package/dist/lib/types/components/app-host/services/app-configuration.query.d.ts +0 -11
  197. package/dist/lib/types/components/app-host/services/app-configuration.service.d.ts +0 -9
  198. package/dist/lib/types/components/app-host/services/appinsights.service.d.ts +0 -14
  199. package/dist/lib/types/components/app-host/services/authentication.query.d.ts +0 -13
  200. package/dist/lib/types/components/app-host/services/authentication.service.d.ts +0 -9
  201. package/dist/lib/types/components/app-host/services/interop/host-interop.service.d.ts +0 -7
  202. package/dist/lib/types/components/app-host/services/interop/iframe-interop.service.d.ts +0 -5
  203. package/dist/lib/types/components/app-host/services/interop/react-native-interop.service.d.ts +0 -7
  204. package/dist/lib/types/components/app-host/services/interop.query.d.ts +0 -11
  205. package/dist/lib/types/components/app-host/services/session.store.d.ts +0 -30
  206. package/dist/lib/types/components/app-host/super-selection-app-host.d.ts +0 -17
  207. package/dist/lib/types/components/super-selection-app/api/api-client.d.ts +0 -2
  208. package/dist/lib/types/components/super-selection-app/api/event-tracking.api.d.ts +0 -6
  209. package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +0 -73
  210. package/dist/lib/types/components/super-selection-app/api/super-selection.api.d.ts +0 -16
  211. package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +0 -82
  212. package/dist/lib/types/components/super-selection-app/app-state-pages/success.d.ts +0 -4
  213. package/dist/lib/types/components/super-selection-app/footer-section/footer-section.d.ts +0 -4
  214. package/dist/lib/types/components/super-selection-app/funds/constants.d.ts +0 -13
  215. package/dist/lib/types/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.d.ts +0 -8
  216. package/dist/lib/types/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.dto.d.ts +0 -28
  217. package/dist/lib/types/components/super-selection-app/funds/custom-fund/custom-fund.d.ts +0 -9
  218. package/dist/lib/types/components/super-selection-app/funds/custom-fund/custom-fund.store.d.ts +0 -30
  219. package/dist/lib/types/components/super-selection-app/funds/custom-fund/default-fund/default-fund.d.ts +0 -15
  220. package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-inputs.d.ts +0 -12
  221. package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.d.ts +0 -12
  222. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/bankBsbNumbers.d.ts +0 -112
  223. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.d.ts +0 -15
  224. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.d.ts +0 -14
  225. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.form.d.ts +0 -14
  226. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-not-supported.d.ts +0 -7
  227. package/dist/lib/types/components/super-selection-app/funds/qsuper/api/qsuper-choice.api.d.ts +0 -6
  228. package/dist/lib/types/components/super-selection-app/funds/qsuper/api/qsuper-choice.api.dto.d.ts +0 -21
  229. package/dist/lib/types/components/super-selection-app/funds/qsuper/helpers/confirmCheck.d.ts +0 -1
  230. package/dist/lib/types/components/super-selection-app/funds/qsuper/helpers/continueCheck.d.ts +0 -1
  231. package/dist/lib/types/components/super-selection-app/funds/qsuper/helpers/getNextRoute.d.ts +0 -2
  232. package/dist/lib/types/components/super-selection-app/funds/qsuper/helpers/resetState.d.ts +0 -1
  233. package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-confirm-header.d.ts +0 -5
  234. package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-confirm-selection/qsuper-confirm-selection.d.ts +0 -6
  235. package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-consent/qsuper-consent.d.ts +0 -7
  236. package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-insurance-opt-in.d.ts +0 -12
  237. package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-insurance-questions.d.ts +0 -3
  238. package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-layout.d.ts +0 -11
  239. package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question1/question1.d.ts +0 -3
  240. package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question2/question2.d.ts +0 -3
  241. package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question3/question3.d.ts +0 -3
  242. package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question4/question4.d.ts +0 -3
  243. package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question5/question5.d.ts +0 -3
  244. package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question6/question6.d.ts +0 -3
  245. package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question7/question7.d.ts +0 -3
  246. package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question8/question8.d.ts +0 -3
  247. package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/yes-no-buttons/qsuper-question-yes-no-buttons.d.ts +0 -6
  248. package/dist/lib/types/components/super-selection-app/funds/qsuper/services/qsuper.store.d.ts +0 -58
  249. package/dist/lib/types/components/super-selection-app/funds/slate-super/api/slate-choice.api.d.ts +0 -6
  250. package/dist/lib/types/components/super-selection-app/funds/slate-super/api/slate-choice.api.dto.d.ts +0 -4
  251. package/dist/lib/types/components/super-selection-app/funds/slate-super/services/slate-iframe-builder.d.ts +0 -13
  252. package/dist/lib/types/components/super-selection-app/funds/slate-super/slate-fund.store.d.ts +0 -7
  253. package/dist/lib/types/components/super-selection-app/funds/slate-super/slate-join-page.d.ts +0 -7
  254. package/dist/lib/types/components/super-selection-app/funds/slate-super/slate-standard-choice-page.d.ts +0 -8
  255. package/dist/lib/types/components/super-selection-app/funds/slate-super/slatesuper-header.d.ts +0 -3
  256. package/dist/lib/types/components/super-selection-app/notifications-section/notifications-section.d.ts +0 -5
  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 -17
  259. package/dist/lib/types/components/super-selection-app/services/navigation.service.d.ts +0 -9
  260. package/dist/lib/types/components/super-selection-app/services/notifications.service.d.ts +0 -15
  261. package/dist/lib/types/components/super-selection-app/services/notifications.store.d.ts +0 -14
  262. package/dist/lib/types/components/super-selection-app/services/selected-super-choice-info.service.d.ts +0 -18
  263. package/dist/lib/types/components/super-selection-app/services/super-selection-app.routes.d.ts +0 -21
  264. package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts +0 -25
  265. package/dist/lib/types/components/super-selection-app/services/super-selection.store.d.ts +0 -13
  266. package/dist/lib/types/components/super-selection-app/standard-choice/api/standard-choice.model.d.ts +0 -3
  267. package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.d.ts +0 -7
  268. package/dist/lib/types/components/super-selection-app/super-choice-page/selected-super-choice-section/selected-super-choice-section.d.ts +0 -5
  269. package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-item.d.ts +0 -17
  270. package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-page.d.ts +0 -13
  271. package/dist/lib/types/components/super-selection-app/super-selection-app.d.ts +0 -26
  272. package/dist/lib/types/components.d.ts +0 -546
  273. package/dist/lib/types/global/init-host.d.ts +0 -1
  274. package/dist/lib/types/global/main.d.ts +0 -1
  275. package/dist/lib/types/global/main.dev.d.ts +0 -1
  276. package/dist/lib/types/global/stencil-router-workaround.d.ts +0 -1
  277. package/dist/lib/types/index.d.ts +0 -2
  278. package/dist/lib/types/stencil-public-runtime.d.ts +0 -1555
  279. package/dist/lib/types/utils/config.d.ts +0 -2
  280. package/dist/lib/types/utils/gtm.d.ts +0 -7
  281. package/dist/lib/types/utils/iframe.d.ts +0 -13
  282. package/dist/lib/types/utils/index.d.ts +0 -3
  283. package/dist/lib/types/utils/lazy.d.ts +0 -12
  284. package/dist/lib/types/utils/storage.d.ts +0 -4
@@ -1,89 +0,0 @@
1
- import { SuperSelectionAppRoutes } from '../../../services/super-selection-app.routes';
2
- import superSelectionAppService from '../../../services/super-selection-app.service';
3
- import qSuperState from '../services/qsuper.store';
4
- export function getNextRoute() {
5
- var _a, _b, _c, _d;
6
- const baseAppUrl = superSelectionAppService.appBaseUrl;
7
- const route = window.location.pathname.split(baseAppUrl)[1];
8
- const nextRoutes = {
9
- [SuperSelectionAppRoutes.QSuperOptIn]: SuperSelectionAppRoutes.QSuperQuestion1,
10
- [SuperSelectionAppRoutes.QSuperQuestion1]: qSuperState.qSuperInsuranceQuestions.question1
11
- .answered
12
- ? ((_a = qSuperState.qSuperQuestionnaire.questions) === null || _a === void 0 ? void 0 : _a.question1) === true
13
- ? SuperSelectionAppRoutes.QSuperQuestion4
14
- : SuperSelectionAppRoutes.QSuperQuestion2
15
- : SuperSelectionAppRoutes.QSuperQuestion1,
16
- [SuperSelectionAppRoutes.QSuperQuestion2]: qSuperState.qSuperInsuranceQuestions.question2
17
- .answered
18
- ? ((_b = qSuperState.qSuperQuestionnaire.questions) === null || _b === void 0 ? void 0 : _b.question2) === true
19
- ? SuperSelectionAppRoutes.QSuperQuestion4
20
- : SuperSelectionAppRoutes.QSuperQuestion3
21
- : SuperSelectionAppRoutes.QSuperQuestion2,
22
- [SuperSelectionAppRoutes.QSuperQuestion3]: qSuperState.qSuperInsuranceQuestions.question3
23
- .answered
24
- ? SuperSelectionAppRoutes.QSuperQuestion4
25
- : SuperSelectionAppRoutes.QSuperQuestion3,
26
- [SuperSelectionAppRoutes.QSuperQuestion4]: qSuperState.qSuperInsuranceQuestions.question4
27
- .answered
28
- ? SuperSelectionAppRoutes.QSuperQuestion5
29
- : SuperSelectionAppRoutes.QSuperQuestion4,
30
- [SuperSelectionAppRoutes.QSuperQuestion5]: qSuperState.qSuperInsuranceQuestions.question5
31
- .answered
32
- ? SuperSelectionAppRoutes.QSuperQuestion6
33
- : SuperSelectionAppRoutes.QSuperQuestion5,
34
- [SuperSelectionAppRoutes.QSuperQuestion6]: qSuperState.qSuperInsuranceQuestions.question6
35
- .answered
36
- ? SuperSelectionAppRoutes.QSuperQuestion7
37
- : SuperSelectionAppRoutes.QSuperQuestion6,
38
- [SuperSelectionAppRoutes.QSuperQuestion7]: qSuperState.qSuperInsuranceQuestions.question7
39
- .answered
40
- ? SuperSelectionAppRoutes.QSuperQuestion8
41
- : SuperSelectionAppRoutes.QSuperQuestion7,
42
- [SuperSelectionAppRoutes.QSuperQuestion8]: qSuperState.qSuperInsuranceQuestions.question8
43
- .answered
44
- ? SuperSelectionAppRoutes.QSuperConsent
45
- : SuperSelectionAppRoutes.QSuperQuestion8,
46
- [SuperSelectionAppRoutes.QSuperConsent]: qSuperState.qSuperQuestionnaire.readDutyOfDisclosure &&
47
- qSuperState.qSuperQuestionnaire.reviewedApplication
48
- ? SuperSelectionAppRoutes.QSuperJoin
49
- : SuperSelectionAppRoutes.QSuperConsent,
50
- [SuperSelectionAppRoutes.QSuperJoin]: qSuperState.qSuperJoinPageCheckbox
51
- ? SuperSelectionAppRoutes.Success
52
- : SuperSelectionAppRoutes.QSuperJoin
53
- };
54
- // special cases
55
- // if question 3 or 5 are selected as Yes, show questions 6,7,8
56
- // if we are on question 5, and question 3 or 5 have been selected yes, go to question 6
57
- const firstFiveQuestionsAnswered = qSuperState.qSuperInsuranceQuestions.question1.answered &&
58
- qSuperState.qSuperInsuranceQuestions.question2.answered &&
59
- qSuperState.qSuperInsuranceQuestions.question3.answered &&
60
- qSuperState.qSuperInsuranceQuestions.question4.answered &&
61
- qSuperState.qSuperInsuranceQuestions.question5.answered;
62
- // if we are on question 5 - check if question 3 or 5 have been answered yes
63
- // if they have then show questions 6,7,8 - otherwise go to the consent page
64
- if (route === SuperSelectionAppRoutes.QSuperQuestion5) {
65
- if (firstFiveQuestionsAnswered &&
66
- (((_c = qSuperState.qSuperQuestionnaire.questions) === null || _c === void 0 ? void 0 : _c.question3) === true ||
67
- ((_d = qSuperState.qSuperQuestionnaire.questions) === null || _d === void 0 ? void 0 : _d.question5) === true)) {
68
- return SuperSelectionAppRoutes.QSuperQuestion6;
69
- }
70
- return SuperSelectionAppRoutes.QSuperConsent;
71
- }
72
- // if in opt in page
73
- if (route === SuperSelectionAppRoutes.QSuperOptIn) {
74
- // if checkbox is ticked and insurance selected - go to question 1
75
- if (qSuperState.qSuperOptInPageCheckbox) {
76
- if (qSuperState.qSuperQuestionnaire.insuranceChosen) {
77
- return SuperSelectionAppRoutes.QSuperQuestion1;
78
- }
79
- else {
80
- return SuperSelectionAppRoutes.QSuperConsent;
81
- }
82
- }
83
- else {
84
- // otherwise go to the consent page
85
- return route;
86
- }
87
- }
88
- return nextRoutes[route];
89
- }
@@ -1,31 +0,0 @@
1
- import qSuperState, { resetQSuperStore } from '../services/qsuper.store';
2
- export function resetQSuperState() {
3
- resetQSuperStore();
4
- qSuperState.qSuperQuestionnaire = Object.assign(Object.assign({}, qSuperState.qSuperQuestionnaire), { acceptedDeclaration: false, insuranceChosen: false, readDutyOfDisclosure: false, reviewedApplication: false });
5
- qSuperState.qSuperInsuranceQuestions = {
6
- question1: {
7
- answered: false
8
- },
9
- question2: {
10
- answered: false
11
- },
12
- question3: {
13
- answered: false
14
- },
15
- question4: {
16
- answered: false
17
- },
18
- question5: {
19
- answered: false
20
- },
21
- question6: {
22
- answered: false
23
- },
24
- question7: {
25
- answered: false
26
- },
27
- question8: {
28
- answered: false
29
- }
30
- };
31
- }
@@ -1,38 +0,0 @@
1
- import { Component, h } from '@stencil/core';
2
- import { EventTrackingService } from '../../services/event-tracking.service';
3
- import navigationService from '../../services/navigation.service';
4
- import * as constants from '../constants';
5
- export class QsuperConfirmHeader {
6
- constructor() {
7
- this.eventTrackingService = EventTrackingService.Instance;
8
- }
9
- render() {
10
- const qSuperAccumulationAccountUrl = 'https://qsuper.qld.gov.au/-/media/pdfs/qsuper-public/publications/pds1.pdf';
11
- return (h("div", { class: "d-flex align-items-center justify-content-center" },
12
- h("p", { class: "confirm-title font-weight-bold text-center" },
13
- "You are now applying for a",
14
- ' ',
15
- h("a", { target: "_blank", href: navigationService.toExternalUrl(qSuperAccumulationAccountUrl) }, "QSuper Accumulation Account"),
16
- ". Read the",
17
- ' ',
18
- h("a", { target: "_blank", onClick: () => this.pdsViewedAsync(), href: navigationService.toExternalUrl(constants.QSuperPdsUrl) }, "PDS"),
19
- ' ',
20
- "here.")));
21
- }
22
- pdsViewedAsync() {
23
- return this.eventTrackingService.TrackSuperFundPdsViewedAsync({
24
- fundUsi: constants.QSuperFundUsi,
25
- fundName: constants.QSuperFundName,
26
- fundNameAlt: constants.QSuperAltFundName,
27
- pageName: 'Insurance Opt In'
28
- });
29
- }
30
- static get is() { return "sss-qsuper-confirm-header"; }
31
- static get originalStyleUrls() { return {
32
- "$": ["qsuper-confirmation.scss"]
33
- }; }
34
- static get styleUrls() { return {
35
- "$": ["qsuper-confirmation.css"]
36
- }; }
37
- static get assetsDirs() { return ["assets"]; }
38
- }
@@ -1,63 +0,0 @@
1
- import { Component, getAssetPath, h } from '@stencil/core';
2
- import { EventTrackingService } from '../../../services/event-tracking.service';
3
- import navigationService from '../../../services/navigation.service';
4
- import * as constants from '../../constants';
5
- import { continueEnabledCheck } from '../helpers/continueCheck';
6
- import { getNextRoute } from '../helpers/getNextRoute';
7
- import qSuperState from '../services/qsuper.store';
8
- export class QSuperConfirmSelection {
9
- constructor() {
10
- this.eventTrackingService = EventTrackingService.Instance;
11
- }
12
- render() {
13
- return (h("sss-qsuper-layout", null,
14
- h("img", { class: "ss-choice-logo mx-auto", alt: "Simple Financial Choices Pty Ltd", src: getAssetPath(`assets/logo-qsuper.png`) }),
15
- h("div", { class: "row" },
16
- h("div", { class: "col text-center" },
17
- h("p", { class: "confirm-title font-weight-bold mb-0" }, "You have chosen to join QSuper"))),
18
- h("div", { class: "my-3 card p-3" },
19
- h("p", { class: "confirm-text" }, "We are almost there... All you have to do now is sign the super choice form. We'll prefill it for you. Make sure the info is correct. Your application to join the fund is subject to Trustee approval."),
20
- h("p", { class: "confirm-text mb-0" }, "You've chosen to stay with your existing fund. Review the details below and click continue to confirm your choice")),
21
- h("div", { class: "card p-3" },
22
- h("p", { class: "text-center" }, "100 years strong"),
23
- h("p", { class: "text-center" }, "One of Australia's largest funds"),
24
- h("p", { class: "text-center mb-0" }, "Awarded SuperRatings highest performance rating")),
25
- h("div", { class: "mt-3" },
26
- h("p", { class: "text-center confirm-text" }, "Your application to join the fund is subject to Trustee approval.")),
27
- h("div", null,
28
- h("label", { class: "d-flex\u00A0mt-4\u00A0p-3\u00A0checkbox-container", htmlFor: "confirmCheckBox" },
29
- h("div", { class: "w-auto\u00A0px-2 py-2 fl-checkbox-container" },
30
- h("input", { id: "confirmCheckBox", class: "confirm-checkbox-item", type: "checkbox", onChange: () => this.handleCheckboxToggle() })),
31
- h("div", { class: "pl-3" },
32
- h("p", { class: "confirm-item-text mb-0 mt-1" },
33
- "I've read and understood the",
34
- ' ',
35
- h("a", { target: "_blank", onClick: () => this.pdsViewedAsync(), href: navigationService.toExternalUrl('https://qsuper.qld.gov.au/calculators-and-forms/publications/product-disclosure-statements/') }, "PDS"),
36
- ' ',
37
- "and confirm all information I have provided is true and correct. I understand that my information will be sent to the trustee of this fund to process my request to join and I consent to my TFN, as currently held on the Flare HR Platform, being given to the trustee in order to open and administer my account.")))),
38
- h("sss-standard-choice-form", { onStandardChoiceFormSignatureUpdated: (event) => {
39
- qSuperState.standardChoiceFormSignature = event.detail.standardChoiceFormSignature;
40
- continueEnabledCheck();
41
- } })));
42
- }
43
- handleCheckboxToggle() {
44
- qSuperState.qSuperJoinPageCheckbox = !qSuperState.qSuperJoinPageCheckbox;
45
- continueEnabledCheck();
46
- qSuperState.nextRoute = getNextRoute();
47
- }
48
- pdsViewedAsync() {
49
- return this.eventTrackingService.TrackSuperFundPdsViewedAsync({
50
- fundUsi: constants.QSuperFundUsi,
51
- fundName: constants.QSuperFundName,
52
- fundNameAlt: constants.QSuperAltFundName,
53
- pageName: 'Confirm Page'
54
- });
55
- }
56
- static get is() { return "sss-qsuper-join"; }
57
- static get originalStyleUrls() { return {
58
- "$": ["../../../super-choice-page/super-choice-page.scss"]
59
- }; }
60
- static get styleUrls() { return {
61
- "$": ["../../../super-choice-page/super-choice-page.css"]
62
- }; }
63
- }
@@ -1,95 +0,0 @@
1
- import { Component, h } from '@stencil/core';
2
- import { EventTrackingService } from '../../../services/event-tracking.service';
3
- import navigationService from '../../../services/navigation.service';
4
- import * as constants from '../../constants';
5
- import { getNextRoute } from '../helpers/getNextRoute';
6
- import qSuperState, { QSuperFormPages } from '../services/qsuper.store';
7
- export class QsuperConsent {
8
- constructor() {
9
- this.eventTrackingService = EventTrackingService.Instance;
10
- }
11
- async componentDidLoad() {
12
- window.scroll(0, 0);
13
- qSuperState.currentQSuperFormPage = QSuperFormPages.AccumulationAccount;
14
- }
15
- render() {
16
- return (h("sss-qsuper-layout", null,
17
- h("div", { class: "d-flex align-items-center justify-content-center" },
18
- h("p", { class: "confirm-title font-weight-bold text-center" }, "Your QSuper Accumulation Account")),
19
- h("div", { class: "p-3 d-flex mt-4 checkbox-container" },
20
- h("p", null,
21
- "Just finally, we need you to confirm that you understand the declarations below and the product you've applied for by ticking the box below.",
22
- h("br", null),
23
- h("br", null),
24
- "This form and all products are issued by the QSuper Board (ABN 32 125 059 006 AFSL 489650) as trustee for QSuper (ABN 60 905 115 063).",
25
- h("br", null),
26
- h("br", null),
27
- "I have read and agree to the terms and conditions in the QSuper",
28
- ' ',
29
- h("a", { target: "_blank", onClick: () => this.pdsViewedAsync(), href: navigationService.toExternalUrl('https://qsuper.qld.gov.au/-/media/pdfs/qsuper-public/publications/pds11.pdf') }, "Product Disclosure Statement for Accumulation and Income Accounts"),
30
- ", QSuper's",
31
- ' ',
32
- h("a", { target: "_blank", href: navigationService.toExternalUrl('https://qsuper.qld.gov.au/-/media/pdfs/qsuper-public/publications/fs15.pdf') }, "Your Privacy factsheet"),
33
- ", and the",
34
- ' ',
35
- h("a", { target: "_blank", href: navigationService.toExternalUrl('https://qsuper.qld.gov.au/-/media/pdfs/qsuper-public/publications/qiib09.pdf') }, "Financial Services Guide"),
36
- ".",
37
- h("br", null),
38
- h("br", null),
39
- "I understand that any insurance cover I might have as a result of this application, commences when the first contribution is received into my account. Once I am a member I can cancel, or, subject to eligibility conditions, vary, my cover at any time. Premiums are deducted in accordance with the PDS.",
40
- h("br", null),
41
- h("br", null),
42
- "I also agree to be bound by the Trust Deed and the governing rules of QSuper in relation to the operation of my Accumulation account.",
43
- h("br", null),
44
- h("br", null),
45
- "I confirm that the information I have given is true and correct.",
46
- h("br", null),
47
- h("br", null),
48
- "I confirm that I am the person identified as the applicant in this form.",
49
- h("br", null),
50
- h("br", null),
51
- "I consent to the QSuper Board paying Simple Financial Choices Pty Ltd, a wholly owned subsidiary of Flare, a fee of $300 on receipt of the first contribution into my account, for the provision of technology services.",
52
- h("br", null),
53
- h("br", null),
54
- "I understand that I will be placed into the default investment option QSuper Lifetime.",
55
- h("br", null),
56
- h("br", null),
57
- "I understand that my Tax File Number will be provided to QSuper. NB - if you have your Tax File Number available, this will help speed up the processing of this application and we may be able to Find your Super.",
58
- h("br", null),
59
- h("br", null),
60
- "I have read and accept the",
61
- ' ',
62
- h("a", { target: "_blank", href: navigationService.toExternalUrl('https://qsuper.qld.gov.au/misc/tfn') }, "Privacy and Contact Information Statement"))),
63
- h("div", null,
64
- h("label", { class: "d-flex\u00A0mt-3\u00A0p-3\u00A0checkbox-container", htmlFor: "ackAllCheckBox" },
65
- h("div", { class: "w-auto\u00A0px-2 fl-checkbox-container" },
66
- h("input", { id: "ackAllCheckBox", class: "confirm-checkbox-item", type: "checkbox", onChange: () => this.handleCheckboxToggle() })),
67
- h("div", { class: "pl-3" },
68
- h("p", { class: "confirm-item-text\u00A0mb-0 mt-1" },
69
- "I acknowledge all of the above. ",
70
- h("i", null, "(required)")))))));
71
- }
72
- handleCheckboxToggle() {
73
- qSuperState.qSuperQuestionnaire.readDutyOfDisclosure = !qSuperState.qSuperQuestionnaire
74
- .readDutyOfDisclosure;
75
- qSuperState.qSuperQuestionnaire.reviewedApplication = !qSuperState.qSuperQuestionnaire
76
- .reviewedApplication;
77
- qSuperState.continueAllowed = !qSuperState.continueAllowed;
78
- qSuperState.nextRoute = getNextRoute();
79
- }
80
- pdsViewedAsync() {
81
- return this.eventTrackingService.TrackSuperFundPdsViewedAsync({
82
- fundUsi: constants.QSuperFundUsi,
83
- fundName: constants.QSuperFundName,
84
- fundNameAlt: constants.QSuperAltFundName,
85
- pageName: 'Accumulation Page'
86
- });
87
- }
88
- static get is() { return "sss-qsuper-consent"; }
89
- static get originalStyleUrls() { return {
90
- "$": ["../qsuper.scss"]
91
- }; }
92
- static get styleUrls() { return {
93
- "$": ["../qsuper.css"]
94
- }; }
95
- }
@@ -1,99 +0,0 @@
1
- import { Component, h, Host, State } from '@stencil/core';
2
- import { EventTrackingService } from '../../services/event-tracking.service';
3
- import notificationsService from '../../services/notifications.service';
4
- import superSelectionAppService from '../../services/super-selection-app.service';
5
- import * as constants from '../constants';
6
- import { continueEnabledCheck } from './helpers/continueCheck';
7
- import { getNextRoute } from './helpers/getNextRoute';
8
- import { resetQSuperState } from './helpers/resetState';
9
- import qSuperState from './services/qsuper.store';
10
- export class QsuperInsuranceOptIn {
11
- constructor() {
12
- this.insuranceChosen = false;
13
- this.eventTrackingService = EventTrackingService.Instance;
14
- this.isEligibleForInsurance = false;
15
- }
16
- componentDidLoad() {
17
- return this.eventTrackingService.TrackFinancialProductViewedAsync({
18
- fundUsi: constants.QSuperFundUsi,
19
- fundName: constants.QSuperFundName,
20
- fundNameAlt: constants.QSuperAltFundName,
21
- financialProduct: constants.QSuperInsuranceProductName
22
- });
23
- }
24
- componentWillLoad() {
25
- resetQSuperState();
26
- this.ensureInsuranceEligibility();
27
- }
28
- render() {
29
- return (h(Host, { class: "d-flex flex-fill" },
30
- h("sss-qsuper-layout", { class: "d-flex flex-fill" },
31
- h("sss-qsuper-confirm-header", null),
32
- h("div", { class: "mt-4 p-3 checkbox-container" },
33
- h("p", null,
34
- "As part of becoming a QSuper member, you will receive death cover and total and permanent disability cover when you become eligible. ",
35
- h("br", null),
36
- h("br", null),
37
- "You will receive this cover when: ",
38
- h("br", null),
39
- h("br", null),
40
- "You are 25 years or older; ",
41
- h("br", null),
42
- "and You have had at least $6,000 in your accumulation account; ",
43
- h("br", null),
44
- "and At that time, we have received money into your account within the previous 13 months ",
45
- h("br", null),
46
- h("br", null),
47
- "Please see the Accumulation Account Insurance Guide, available on the QSuper website, for further information ",
48
- h("br", null),
49
- h("br", null),
50
- "Do you want this insurance cover?"),
51
- h("div", { class: "d-flex justify-content-between mt-4" },
52
- h("div", { class: "button-holder flex-grow-1 mr-2" },
53
- h("fl-button", { disabled: !this.isEligibleForInsurance, isBlockElement: true, variant: this.insuranceChosen ? 'primary' : 'secondary', onClick: () => this.handleInsuranceToggle(true) }, "Yes")),
54
- h("div", { class: "button-holder flex-grow-1 ml-2" },
55
- h("fl-button", { disabled: !this.isEligibleForInsurance, isBlockElement: true, variant: !this.insuranceChosen ? 'primary' : 'secondary', onClick: () => this.handleInsuranceToggle(false) }, "No")))),
56
- h("div", null,
57
- h("label", { class: "d-flex\u00A0mt-3\u00A0p-3\u00A0checkbox-container", htmlFor: "ackCheckBox" },
58
- h("div", { class: "w-auto\u00A0px-2 fl-checkbox-container" },
59
- h("input", { id: "ackCheckBox", class: "confirm-checkbox-item", type: "checkbox", onChange: () => this.handleCheckboxToggle() })),
60
- h("div", { class: "pl-3" },
61
- h("p", { class: "confirm-item-text\u00A0mb-0" }, "I acknowledge that my personal information will be shared with QSuper as part of their application process.")))))));
62
- }
63
- ensureInsuranceEligibility() {
64
- if (superSelectionAppService.superBuyer.userProfile.yearsOfAge < constants.QSuperMinAge) {
65
- return;
66
- }
67
- else if (superSelectionAppService.superBuyer.userProfile.yearsOfAge < constants.QSuperMinInsuranceAge) {
68
- this.showIneligibleNotification(`You may still apply for QSuper, however people under the age of ${constants.QSuperMinInsuranceAge} are not able to apply for insurance.`);
69
- return;
70
- }
71
- this.isEligibleForInsurance = true;
72
- }
73
- showIneligibleNotification(description) {
74
- notificationsService.showInfoNotification({
75
- title: "Unable to apply for Insurance",
76
- description
77
- });
78
- }
79
- handleInsuranceToggle(input) {
80
- qSuperState.qSuperQuestionnaire.insuranceChosen = input && this.isEligibleForInsurance;
81
- this.insuranceChosen = qSuperState.qSuperQuestionnaire.insuranceChosen;
82
- qSuperState.nextRoute = getNextRoute();
83
- }
84
- handleCheckboxToggle() {
85
- qSuperState.qSuperOptInPageCheckbox = !qSuperState.qSuperOptInPageCheckbox;
86
- continueEnabledCheck();
87
- qSuperState.nextRoute = getNextRoute();
88
- }
89
- static get is() { return "sss-qsuper-insurance-opt-in"; }
90
- static get originalStyleUrls() { return {
91
- "$": ["qsuper.scss"]
92
- }; }
93
- static get styleUrls() { return {
94
- "$": ["qsuper.css"]
95
- }; }
96
- static get states() { return {
97
- "insuranceChosen": {}
98
- }; }
99
- }
@@ -1,18 +0,0 @@
1
- import { Component, h, Host } from '@stencil/core';
2
- export class QsuperInsuranceQuestions {
3
- render() {
4
- return (h(Host, { class: "d-flex flex-fill" },
5
- h("sss-qsuper-layout", { class: "d-flex flex-fill" },
6
- h("sss-qsuper-confirm-header", null),
7
- h("div", { class: "p-3 mt-4 checkbox-container" },
8
- h("slot", null),
9
- h("sss-qsuper-question-yes-no-buttons", null)))));
10
- }
11
- static get is() { return "sss-qsuper-insurance-questions"; }
12
- static get originalStyleUrls() { return {
13
- "$": ["./qsuper.scss"]
14
- }; }
15
- static get styleUrls() { return {
16
- "$": ["qsuper.css"]
17
- }; }
18
- }
@@ -1,95 +0,0 @@
1
- import { Component, h, Prop } from '@stencil/core';
2
- import { injectHistory } from '@stencil/router';
3
- import navigationService from '../../services/navigation.service';
4
- import notificationsService from '../../services/notifications.service';
5
- import { SuperSelectionAppRoutes } from '../../services/super-selection-app.routes';
6
- import superSelectionAppService from '../../services/super-selection-app.service';
7
- import * as constants from '../constants';
8
- import { handleConfirmClickAsync } from './helpers/confirmCheck';
9
- import { getNextRoute } from './helpers/getNextRoute';
10
- import qSuperState from './services/qsuper.store';
11
- export class QsuperLayout {
12
- constructor() {
13
- this.isEligible = false;
14
- this.canContinue = () => this.isEligible && qSuperState.continueAllowed;
15
- this.ensureEligibility = () => {
16
- if (superSelectionAppService.superBuyer.userProfile.yearsOfAge < constants.QSuperMinAge) {
17
- this.showIneligibleNotification(`People under the age of ${constants.QSuperMinAge} are not able to open accounts.`);
18
- }
19
- else if (superSelectionAppService.superBuyer.userProfile.yearsOfAge > constants.QSuperMaxAge) {
20
- this.showIneligibleNotification(`People over the age of ${constants.QSuperMaxAge} are not able to open accounts.`);
21
- }
22
- else {
23
- this.isEligible = true;
24
- }
25
- };
26
- this.showIneligibleNotification = (description) => {
27
- notificationsService.showInfoNotification({
28
- title: "Unable to apply for QSuper",
29
- description
30
- });
31
- };
32
- }
33
- async componentWillLoad() {
34
- this.ensureEligibility();
35
- qSuperState.nextRoute = getNextRoute();
36
- }
37
- render() {
38
- return (h("div", { class: "container" },
39
- h("div", { class: "row justify-content-center" },
40
- h("div", { class: "col col-sm-10 col-md-7" },
41
- h("slot", null),
42
- h("div", { class: "mt-4" },
43
- h("sss-notifications-section", null)),
44
- h("div", { class: "d-flex mt-4" },
45
- h("div", { class: "flex-grow-1 w-50" },
46
- h("div", { class: "mr-2" },
47
- h("fl-button", { onClick: () => navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ChoicePage), isBlockElement: true, variant: "secondary" },
48
- h("span", null, "Back")))),
49
- h("div", { class: "flex-grow-1 w-50" },
50
- h("div", { class: "ml-2" },
51
- h("fl-promise-button", { isBlockElement: true, disabled: !this.canContinue(), promiseFn: () => this.tryAsync() },
52
- h("span", null, "Continue")))))))));
53
- }
54
- async tryAsync() {
55
- try {
56
- if (!this.canContinue()) {
57
- return;
58
- }
59
- await handleConfirmClickAsync();
60
- navigationService.navigateInternally(this.history, qSuperState.nextRoute);
61
- }
62
- catch (error) {
63
- notificationsService.showErrorNotification({
64
- title: "Couldn't process your request",
65
- description: 'We had an issue processing your request to join QSuper. Please try again shortly.'
66
- });
67
- qSuperState.continueAllowed = true;
68
- }
69
- }
70
- static get is() { return "sss-qsuper-layout"; }
71
- static get assetsDirs() { return ["assets"]; }
72
- static get properties() { return {
73
- "history": {
74
- "type": "unknown",
75
- "mutable": false,
76
- "complexType": {
77
- "original": "RouterHistory",
78
- "resolved": "RouterHistory",
79
- "references": {
80
- "RouterHistory": {
81
- "location": "import",
82
- "path": "@stencil/router"
83
- }
84
- }
85
- },
86
- "required": false,
87
- "optional": false,
88
- "docs": {
89
- "tags": [],
90
- "text": ""
91
- }
92
- }
93
- }; }
94
- }
95
- injectHistory(QsuperLayout);
@@ -1,50 +0,0 @@
1
- html {
2
- scroll-behavior: smooth;
3
- }
4
-
5
- img.fluid-fit {
6
- object-fit: cover;
7
- }
8
-
9
- .choice-container {
10
- margin-top: 0 !important;
11
- margin-bottom: 0 !important;
12
- }
13
-
14
- .confirm-title {
15
- font-size: 20px;
16
- margin-bottom: 0;
17
- }
18
-
19
- .confirm-text {
20
- font-size: 14px;
21
- }
22
-
23
- .edit-toggle {
24
- cursor: pointer;
25
- }
26
-
27
- .form-value-text {
28
- overflow-wrap: anywhere;
29
- }
30
-
31
- .confirm-checkbox-item {
32
- transform: scale(1.7);
33
- }
34
-
35
- .checkbox-container {
36
- border-radius: 4px;
37
- background-color: #f5f4f2;
38
- }
39
-
40
- .confirm-item-text {
41
- font-size: 13px;
42
- }
43
-
44
- .button-holder {
45
- min-width: 8rem;
46
- }
47
-
48
- .confirm-form-view-only-holder * {
49
- font-size: 14px;
50
- }
@@ -1,10 +0,0 @@
1
- import { Component, h, Host } from '@stencil/core';
2
- export class Question1 {
3
- render() {
4
- return (h(Host, { class: "d-flex flex-fill" },
5
- h("sss-qsuper-insurance-questions", null,
6
- h("p", { class: "font-weight-bold" }, "Question 1"),
7
- h("p", { class: " mb-0" }, "Are you currently a registered or enrolled nurse or assistant in nursing who is qualified and currently practicing, or working in the retail sector, or food and beverage service?"))));
8
- }
9
- static get is() { return "sss-qsuper-question-1"; }
10
- }
@@ -1,10 +0,0 @@
1
- import { Component, h, Host } from '@stencil/core';
2
- export class Question2 {
3
- render() {
4
- return (h(Host, { class: "d-flex flex-fill" },
5
- h("sss-qsuper-insurance-questions", null,
6
- h("p", { class: "font-weight-bold" }, "Question 2"),
7
- h("p", { class: " mb-0" }, "Are you currently a qualified tradesperson currently working within your area of expertise (e.g. hairdresser, chef, plumber, electrician, plasterer, carpenter or concreter), or a skilled worker with light manual duties (e.g. jeweller, building inspector, laboratory technician, foreman or office equipment technician)?"))));
8
- }
9
- static get is() { return "sss-qsuper-question-2"; }
10
- }
@@ -1,10 +0,0 @@
1
- import { Component, h, Host } from '@stencil/core';
2
- export class Question3 {
3
- render() {
4
- return (h(Host, { class: "d-flex flex-fill" },
5
- h("sss-qsuper-insurance-questions", null,
6
- h("p", { class: "font-weight-bold" }, "Question 3"),
7
- h("p", { class: " mb-0" }, "Are you currently a police officer, firefighter, paramedic, or other emergency or protective services worker, including security guard or corrections officer, or a professional sportsperson, or working in a manual occupation which does not require trade specific qualifications and may be subject to accident or environment hazards (e.g. earthmover, driver, cleaner, labourer, factory worker or agricultural worker)?"))));
8
- }
9
- static get is() { return "sss-qsuper-question-3"; }
10
- }
@@ -1,10 +0,0 @@
1
- import { Component, h, Host } from '@stencil/core';
2
- export class Question4 {
3
- render() {
4
- return (h(Host, { class: "d-flex flex-fill" },
5
- h("sss-qsuper-insurance-questions", null,
6
- h("p", { class: "font-weight-bold" }, "Question 4"),
7
- h("p", { class: " mb-0" }, "Are the usual work activities of your job considered office based or school teaching ( meaning you spend at least 80% of your work time doing clerical, call centre, administrative or other office or classroom based activities), or are you a medical practitioner, lawyer or engineer who spends at least 80% of your work hours in an office or clinical environment?"))));
8
- }
9
- static get is() { return "sss-qsuper-question-4"; }
10
- }
@@ -1,10 +0,0 @@
1
- import { Component, h, Host } from '@stencil/core';
2
- export class Question5 {
3
- render() {
4
- return (h(Host, { class: "d-flex flex-fill" },
5
- h("sss-qsuper-insurance-questions", null,
6
- h("p", { class: "font-weight-bold" }, "Question 5"),
7
- h("p", { class: " mb-0" }, "Do you currently perform, or intend to work in a job within the next three months that includes, any of the following risky activities: handling firearms (other than as a police officer, correctional officer or licensed security guard), dangerous chemicals or explosives, or offshore work \u2013 oil and gas platforms, ships at sea, or being underground (in construction and mining environments) or underwater for more than 20% of total at work time, or working at heights over 20 metres in any environment requiring hard hat and harness for safety by law, or crop dusting, aerial mustering or any low level flying activity (defined as below 150 metres or 500 feet), or flying more than 200 hours per annum as a passenger other than on a commercial airline, or as a pilot (fixed wing or helicopter)?"))));
8
- }
9
- static get is() { return "sss-qsuper-question-5"; }
10
- }