@flarehr/apollo-super-selection 1.3.23382 → 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-00241cf9.system.entry.js +0 -69
  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-69bbf1dd.entry.js +0 -1
  21. package/dist/lib/apollo-super-selection/p-71ca4cf8.system.js +0 -1
  22. package/dist/lib/apollo-super-selection/p-86e3e03f.js +0 -1
  23. package/dist/lib/apollo-super-selection/p-97188c78.system.js +0 -1
  24. package/dist/lib/apollo-super-selection/p-9d2a7c0e.entry.js +0 -1
  25. package/dist/lib/apollo-super-selection/p-a0063575.system.entry.js +0 -1
  26. package/dist/lib/apollo-super-selection/p-a1e42dfa.entry.js +0 -14
  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 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,r){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function s(e){try{u(r["throw"](e))}catch(e){i(e)}}function u(e){e.done?n(e.value):o(e.value).then(a,s)}u((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(e){return function(t){return u([e,t])}}function u(a){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,o&&(i=a[0]&2?o["return"]:a[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,a[1])).done)return i;if(o=0,i)a=[a[0]&2,i.value];switch(a[0]){case 0:case 1:i=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;o=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){n.label=a[1];break}if(a[0]===6&&n.label<i[1]){n.label=i[1];i=a;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(a);break}if(i[2])n.ops.pop();n.trys.pop();continue}a=t.call(e,n)}catch(e){a=[6,e];o=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};import{r as registerInstance,h,H as Host}from"./index-107d7c24.js";import{E as EventTrackingService,a as superSelectionAppService,O as Option,l as state,b as navigationService,S as SuperSelectionAppRoutes,e as customFundChoiceApi,c as injectHistory}from"./custom-fund-choice.api-42801d64.js";import"./active-router-d18b36fb.js";var LoadWaitingTimeout=3e4;var SuperByofComponentStatus;(function(e){e[e["NotLoaded"]=1]="NotLoaded";e[e["Loaded"]=2]="Loaded"})(SuperByofComponentStatus||(SuperByofComponentStatus={}));var superByofComponentStatus=SuperByofComponentStatus.NotLoaded;var SuperByofHost=function(){function e(e){var t=this;registerInstance(this,e);this.eventTrackingService=EventTrackingService.Instance;this.subscribeToSuperByofEvents=function(){for(var e in t.byofEventHandlers){document.addEventListener(e,t.byofEventHandlers[e])}};this.unSubscribeFromSuperByofEvents=function(){for(var e in t.byofEventHandlers){document.removeEventListener(e,t.byofEventHandlers[e])}};this.byofLoaded=function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(t){if(e.detail.sender==="super-byof"){superByofComponentStatus=SuperByofComponentStatus.Loaded;clearTimeout(this.loadingTimeoutRef);this.eventTrackingService.TrackMyOwnSuperFundDetailViewedAsync({promotedFundsShown:superSelectionAppService.promotedFunds,defaultFundUsiSet:Option.toUndefined(superSelectionAppService.defaultFundUsi)})}return[2,Promise.resolve()]}))}))};this.byofCompleted=function(e){return __awaiter(t,void 0,void 0,(function(){var t=this;return __generator(this,(function(n){if(e.detail.sender==="super-byof"){state.myOwnFundForm={fundUsi:Option.fromNullable(e.detail.fundUsi),fundName:Option.fromNullable(e.detail.fundName),memberNumber:Option.fromNullable(e.detail.memberNumber),memberFirstName:Option.fromNullable(e.detail.memberFirstName),memberFamilyName:Option.fromNullable(e.detail.memberLastName)};if(superSelectionAppService.isBringYourOwnFundCustomStepEnabled&&superSelectionAppService.isUsingSuperCampaign){navigationService.navigateInternally(this.history,SuperSelectionAppRoutes.MyOwnFundEngagementStep);return[2]}navigationService.navigateInternallyToStandardChoice({history:this.history,fundName:e.detail.fundName,fundDetails:{type:"myOwnFund",fundName:e.detail.fundName,fundUsi:e.detail.fundUsi,memberNumber:e.detail.memberNumber},handleSubmitFn:function(n){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(r){switch(r.label){case 0:t=Object.assign({fundUsi:e.detail.fundUsi,memberNumber:e.detail.memberNumber,memberFirstName:e.detail.memberFirstName,memberFamilyName:e.detail.memberLastName,standardChoiceFormSignature:n},superSelectionAppService.promotedFundsConfig);return[4,customFundChoiceApi.submitCustomFundChoiceAsync(t)];case 1:r.sent();return[2]}}))}))}})}return[2]}))}))};this.byofCancelled=function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:if(!(e.detail.sender==="super-byof"))return[3,2];return[4,navigationService.navigateInternally(this.history,SuperSelectionAppRoutes.ChoicePage)];case 1:t.sent();t.label=2;case 2:return[2]}}))}))};this.byofEventHandlers={"byof-loaded":this.byofLoaded.bind(this),"byof-completed":this.byofCompleted.bind(this),"byof-cancelled":this.byofCancelled.bind(this)}}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(Option.isSome(superSelectionAppService.backendUrl)&&Option.isSome(superSelectionAppService.state.jwt)){this.backendUrl=superSelectionAppService.backendUrl.value;this.accessToken=superSelectionAppService.state.jwt.value;if(superByofComponentStatus===SuperByofComponentStatus.NotLoaded){this.loadingTimeoutRef=setTimeout(this.byofLoadingTimeoutTriggered.bind(this),LoadWaitingTimeout)}this.subscribeToSuperByofEvents()}else{throw Error("SuperByofHost pre-requisites not met.")}return[2]}))}))};e.prototype.disconnectedCallback=function(){clearTimeout(this.loadingTimeoutRef);this.unSubscribeFromSuperByofEvents()};e.prototype.render=function(){return h(Host,null,h("sss-header-section",null),h("div",{class:"flex justify-center mt-11"},h("sss-custom-fund",null,h("apollo-super-byof",{"backend-url":this.backendUrl,"access-token":this.accessToken}))))};e.prototype.byofLoadingTimeoutTriggered=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(superByofComponentStatus!==SuperByofComponentStatus.Loaded){throw Error("BYOF component failed to load.")}return[2]}))}))};return e}();injectHistory(SuperByofHost);export{SuperByofHost as sss_super_byof_host};
@@ -1 +0,0 @@
1
- import{r as registerInstance,h}from"./index-107d7c24.js";var AsyncContent=function(){function t(t){registerInstance(this,t);this.content=""}t.prototype.componentWillLoad=function(){if(this.documentLocation!=null){return this.fetchNewContent(this.documentLocation)}};t.prototype.fetchNewContent=function(t){var n=this;return fetch(t).then((function(t){return t.text()})).then((function(t){n.content=t}))};t.prototype.render=function(){return h("div",{innerHTML:this.content})};Object.defineProperty(t,"watchers",{get:function(){return{documentLocation:["fetchNewContent"]}},enumerable:false,configurable:true});return t}();export{AsyncContent as stencil_async_content};
@@ -1 +0,0 @@
1
- import{r as registerInstance,a as getElement}from"./index-107d7c24.js";import{A as ActiveRouter}from"./active-router-d18b36fb.js";var RouteTitle=function(){function e(e){registerInstance(this,e);this.titleSuffix="";this.pageTitle=""}e.prototype.updateDocumentTitle=function(){var e=this.el;if(e.ownerDocument){e.ownerDocument.title=""+this.pageTitle+(this.titleSuffix||"")}};e.prototype.componentWillLoad=function(){this.updateDocumentTitle()};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{pageTitle:["updateDocumentTitle"]}},enumerable:false,configurable:true});return e}();ActiveRouter.injectProps(RouteTitle,["titleSuffix"]);export{RouteTitle as stencil_route_title};
@@ -1 +0,0 @@
1
- import{r as registerInstance,a as getElement}from"./index-107d7c24.js";import{A as ActiveRouter}from"./active-router-d18b36fb.js";var StencilRouterPrompt=function(){function e(e){registerInstance(this,e);this.when=true;this.message=""}e.prototype.enable=function(e){if(this.unblock){this.unblock()}if(this.history){this.unblock=this.history.block(e)}};e.prototype.disable=function(){if(this.unblock){this.unblock();this.unblock=undefined}};e.prototype.componentWillLoad=function(){if(this.when){this.enable(this.message)}};e.prototype.updateMessage=function(e,t){if(this.when){if(!this.when||t!==e){this.enable(this.message)}}else{this.disable()}};e.prototype.componentDidUnload=function(){this.disable()};e.prototype.render=function(){return null};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{message:["updateMessage"],when:["updateMessage"]}},enumerable:false,configurable:true});return e}();ActiveRouter.injectProps(StencilRouterPrompt,["history"]);export{StencilRouterPrompt as stencil_router_prompt};
@@ -1 +0,0 @@
1
- import{r as registerInstance,a as getElement}from"./index-107d7c24.js";import{A as ActiveRouter}from"./active-router-d18b36fb.js";var getUrl=function(t,e){if(t.charAt(0)=="/"&&e.charAt(e.length-1)=="/"){return e.slice(0,e.length-1)+t}return e+t};var Redirect=function(){function t(t){registerInstance(this,t)}t.prototype.componentWillLoad=function(){if(this.history&&this.root&&this.url){return this.history.replace(getUrl(this.url,this.root))}};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();ActiveRouter.injectProps(Redirect,["history","root"]);export{Redirect as stencil_router_redirect};
@@ -1 +0,0 @@
1
- module.exports = require('./cjs/index.cjs.js');
package/dist/lib/index.js DELETED
@@ -1 +0,0 @@
1
- export * from './esm-es5/index.js';
@@ -1,3 +0,0 @@
1
-
2
- module.exports = require('../cjs/loader.cjs.js');
3
- module.exports.applyPolyfills = function() { return Promise.resolve() };
@@ -1,3 +0,0 @@
1
-
2
- module.exports = require('../cjs/loader.cjs.js');
3
- module.exports.applyPolyfills = function() { return Promise.resolve() };
@@ -1,13 +0,0 @@
1
-
2
- export * from '../types/components';
3
- export interface CustomElementsDefineOptions {
4
- exclude?: string[];
5
- resourcesUrl?: string;
6
- syncQueue?: boolean;
7
- jmp?: (c: Function) => any;
8
- raf?: (c: FrameRequestCallback) => number;
9
- ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
10
- rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
11
- }
12
- export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): Promise<void>;
13
- export declare function applyPolyfills(): Promise<void>;
@@ -1,3 +0,0 @@
1
-
2
- export * from '../esm/polyfills/index.js';
3
- export * from '../esm/loader.js';
@@ -1,4 +0,0 @@
1
-
2
- (function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
3
- export * from '../esm/polyfills/index.js';
4
- export * from '../esm-es5/loader.js';
@@ -1,10 +0,0 @@
1
- {
2
- "name": "apollo-super-selection-loader",
3
- "typings": "./index.d.ts",
4
- "module": "./index.js",
5
- "main": "./index.cjs.js",
6
- "jsnext:main": "./index.es2017.js",
7
- "es2015": "./index.es2017.js",
8
- "es2017": "./index.es2017.js",
9
- "unpkg": "./cdn.js"
10
- }
@@ -1,3 +0,0 @@
1
- stencil-route.inactive {
2
- display: none;
3
- }
@@ -1,3 +0,0 @@
1
- export declare class LoadingPage {
2
- render(): Element[];
3
- }
@@ -1,11 +0,0 @@
1
- import { Query } from '@datorama/akita';
2
- import * as O from 'fp-ts/Option';
3
- import { AppConfiguration, SessionState, SessionStore } from './session.store';
4
- export declare class AppConfigurationQuery extends Query<SessionState> {
5
- protected store: SessionStore;
6
- readonly appConfiguration$: import("rxjs").Observable<O.Option<AppConfiguration>>;
7
- constructor(store: SessionStore);
8
- get configuration(): AppConfiguration;
9
- }
10
- declare const _default: AppConfigurationQuery;
11
- export default _default;
@@ -1,9 +0,0 @@
1
- declare class AppConfigurationService {
2
- private _appRootUrl;
3
- loadConfigurationAsync(): Promise<void>;
4
- getAppRootUrl: () => string;
5
- getAppHostUrl: () => string;
6
- private resolveRootUrl;
7
- }
8
- declare const _default: AppConfigurationService;
9
- export default _default;
@@ -1,10 +0,0 @@
1
- import { Query } from '@datorama/akita';
2
- import { SessionState, SessionStore } from './session.store';
3
- export declare class AppParametersQuery extends Query<SessionState> {
4
- protected store: SessionStore;
5
- readonly ignoreExistingSelection$: import("rxjs").Observable<boolean>;
6
- constructor(store: SessionStore);
7
- get ignoreExistingSelection(): boolean;
8
- }
9
- declare const _default: AppParametersQuery;
10
- export default _default;
@@ -1,6 +0,0 @@
1
- declare class AppParametersService {
2
- private readonly ignoreExistingSelectionQueryParameter;
3
- init(query: string): void;
4
- }
5
- declare const _default: AppParametersService;
6
- export default _default;
@@ -1,15 +0,0 @@
1
- import { ApplicationInsights } from '@microsoft/applicationinsights-web';
2
- import { Lazy } from '../../../utils';
3
- export declare class AppInsightsService {
4
- readonly appInsights: Lazy<ApplicationInsights>;
5
- constructor();
6
- init(): void;
7
- getAppInsights(): ApplicationInsights;
8
- addCustomProperties(properties: {
9
- [key: string]: string;
10
- }): void;
11
- trackErrorTrace(message: string): void;
12
- private appInsightsErrorHandler;
13
- }
14
- declare const _default: AppInsightsService;
15
- export default _default;
@@ -1,13 +0,0 @@
1
- import { Query } from '@datorama/akita';
2
- import { AuthenticationState, SessionState, SessionStore } from './session.store';
3
- export declare class AuthenticationQuery extends Query<SessionState> {
4
- protected store: SessionStore;
5
- readonly sessionState$: import("rxjs").Observable<AuthenticationState>;
6
- readonly jwt$: import("rxjs").Observable<import("fp-ts/lib/Option").Option<string>>;
7
- constructor(store: SessionStore);
8
- get sessionState(): AuthenticationState;
9
- get isUnauthorized(): boolean;
10
- get isAuthorized(): boolean;
11
- }
12
- declare const _default: AuthenticationQuery;
13
- export default _default;
@@ -1,9 +0,0 @@
1
- export declare class AuthenticationService {
2
- private readonly authCodeQueryParameter;
3
- authorizationCodeIsPresent(query: string): boolean;
4
- initFromRoute(query: string): void;
5
- private authCodeExchangeAsync;
6
- private getAuthorizationCodeFromRoute;
7
- }
8
- declare const _default: AuthenticationService;
9
- export default _default;
@@ -1,7 +0,0 @@
1
- export declare class HostInteropService {
2
- private readonly interopModeQueryParameter;
3
- completeSuperSelectionStep(): void;
4
- init(urlQuery: string): void;
5
- }
6
- declare const _default: HostInteropService;
7
- export default _default;
@@ -1,5 +0,0 @@
1
- import { IframeInteropMode } from '../session.store';
2
- export declare class IFrameInteropService {
3
- static completeSuperSelectionStep(): void;
4
- static initFromRoute(route: string): IframeInteropMode;
5
- }
@@ -1,7 +0,0 @@
1
- import { ReactNativeInteropMode } from '../session.store';
2
- export declare class ReactNativeInteropService {
3
- static init(): ReactNativeInteropMode;
4
- static completeSuperSelectionStep(): void;
5
- private static postRNMessage;
6
- private static getRnInterop;
7
- }
@@ -1,11 +0,0 @@
1
- import { Query } from '@datorama/akita';
2
- import { IframeInteropMode, SessionState, SessionStore } from './session.store';
3
- export declare class InteropQuery extends Query<SessionState> {
4
- protected store: SessionStore;
5
- constructor(store: SessionStore);
6
- isReactNativeInteropEnabled(): boolean;
7
- isIframeInteropEnabled(): boolean;
8
- getIframeInteropMode(): IframeInteropMode;
9
- }
10
- declare const _default: InteropQuery;
11
- export default _default;
@@ -1,31 +0,0 @@
1
- import { Store } from '@datorama/akita';
2
- import * as O from 'fp-ts/Option';
3
- export declare type AppConfiguration = {
4
- OidcAuthority: string;
5
- ApiBaseUrl: string;
6
- AppInsightsKey: string;
7
- };
8
- export declare enum AuthenticationState {
9
- Unauthorized = 0,
10
- Authenticated = 1,
11
- Error = 2
12
- }
13
- export declare class ReactNativeInteropMode {
14
- }
15
- export declare class IframeInteropMode {
16
- successRedirectionUrl: O.Option<string>;
17
- }
18
- export declare type SessionState = {
19
- authenticationState: AuthenticationState;
20
- jwt: O.Option<string>;
21
- reactNativeInterop: O.Option<ReactNativeInteropMode>;
22
- iframeInterop: O.Option<IframeInteropMode>;
23
- appConfiguration: O.Option<AppConfiguration>;
24
- ignoreExistingSelection: boolean;
25
- };
26
- export declare function createInitialState(): SessionState;
27
- export declare class SessionStore extends Store<SessionState> {
28
- constructor();
29
- }
30
- declare const _default: SessionStore;
31
- export default _default;
@@ -1,15 +0,0 @@
1
- export declare class SuperSelectionAppHost {
2
- private sessionState;
3
- private jwt;
4
- private appConfiguration;
5
- private ignoreExistingSelection;
6
- componentWillLoad(): Promise<void>;
7
- render(): Element;
8
- private renderAppContent;
9
- private getAppBaseUrl;
10
- private handleSuccessPageAcknowledged;
11
- private handleStepSubmitSuccess;
12
- private handleAppInitialised;
13
- private observeContentResize;
14
- private renderProtectedRoute;
15
- }
@@ -1,26 +0,0 @@
1
- export declare type Sender = 'super-byof';
2
- export declare type ByofCommonEventPayload = {
3
- sender: Sender;
4
- };
5
- export declare type ByofCancelledEvent = ByofCommonEventPayload & {
6
- type: 'byof-cancelled';
7
- };
8
- export declare type ByofCompletedEvent = ByofCommonEventPayload & {
9
- type: 'byof-completed';
10
- fundUsi: string;
11
- fundName: string;
12
- memberNumber: string;
13
- memberFirstName: string;
14
- memberLastName: string;
15
- };
16
- export declare type ByofLoadedEvent = ByofCommonEventPayload & {
17
- type: 'byof-loaded';
18
- };
19
- export declare type EventPayload = ByofCancelledEvent | ByofCompletedEvent | ByofLoadedEvent;
20
- export declare type EventType = EventPayload['type'];
21
- export declare type EventHandlers = {
22
- [k in EventType]: (event: CustomEvent<Extract<EventPayload, {
23
- type: k;
24
- }>>) => Promise<void>;
25
- };
26
- export declare const LoadWaitingTimeout = 30000;
@@ -1,19 +0,0 @@
1
- import { RouterHistory } from '@stencil/router';
2
- export declare class SuperByofHost {
3
- history: RouterHistory;
4
- private backendUrl;
5
- private accessToken;
6
- private byofEventHandlers;
7
- private loadingTimeoutRef;
8
- private readonly eventTrackingService;
9
- constructor();
10
- componentWillLoad(): Promise<void>;
11
- disconnectedCallback(): void;
12
- render(): Element[];
13
- private subscribeToSuperByofEvents;
14
- private unSubscribeFromSuperByofEvents;
15
- private byofLoaded;
16
- private byofCompleted;
17
- private byofCancelled;
18
- private byofLoadingTimeoutTriggered;
19
- }
@@ -1,6 +0,0 @@
1
- export declare type ByoFundForm = {
2
- fundUsi: string;
3
- fundName: string;
4
- memberFirstName: string;
5
- memberFamilyName: string;
6
- };
@@ -1,12 +0,0 @@
1
- import { PlacementId } from '../super-selection-app/api/super-selection.api.dto';
2
- import { FeaturedFundsSender, Sender, ShownFundType } from './super-campaign-types';
3
- declare type FundTileClickedArgs = {
4
- sender: Sender | FeaturedFundsSender;
5
- placementId: PlacementId;
6
- fundId: string;
7
- fundUsi?: string;
8
- fundName: string;
9
- fundType: ShownFundType;
10
- };
11
- export declare const fundTileClicked: ({ sender, placementId, fundId, fundUsi, fundName, fundType }: FundTileClickedArgs) => Promise<void>;
12
- export {};
@@ -1,15 +0,0 @@
1
- import { RouterHistory } from '@stencil/router';
2
- import { PlacementId } from '../super-selection-app/api/super-selection.api.dto';
3
- import { PromotedFundJoinedEvent } from './super-campaign-types';
4
- export declare class PromotedFundJoinedEventHandler {
5
- private readonly history;
6
- private readonly placementId;
7
- constructor(placementId: PlacementId, history: RouterHistory);
8
- handle: (event: CustomEvent<PromotedFundJoinedEvent>) => Promise<void>;
9
- private stringIsNullOrEmtpty;
10
- private get PromotedFundsConfig();
11
- private handlePromotedFundJoined;
12
- private handlePromotedDefaultFundJoined;
13
- private handlePromotedDefaultFundWithJoinWasJoined;
14
- private handleDefinedBenefitsJoined;
15
- }
@@ -1,98 +0,0 @@
1
- export declare type Sender = 'super-campaign';
2
- export declare type SuperCampaignCommonEventPayload = {
3
- sender: Sender;
4
- };
5
- export declare type SuperCampaignLoadedEvent = SuperCampaignCommonEventPayload & {
6
- type: 'super-campaign-loaded';
7
- };
8
- export declare type SuperCampaignLoadFailedEvent = SuperCampaignCommonEventPayload & {
9
- type: 'super-campaign-load-failed';
10
- reason: string;
11
- };
12
- export declare type SuperCampaignFailedEvent = SuperCampaignCommonEventPayload & {
13
- type: 'super-campaign-failed';
14
- reason: string;
15
- };
16
- export declare type ChooseAnotherFundRequestedEvent = SuperCampaignCommonEventPayload & {
17
- type: 'choose-another-fund-requested';
18
- };
19
- export declare type FundsPanelShownEvent = SuperCampaignCommonEventPayload & {
20
- type: 'fund-panel-shown';
21
- shownFunds: Array<ShownFund>;
22
- };
23
- export declare type FundTileClickedEvent = SuperCampaignCommonEventPayload & {
24
- type: 'fund-tile-clicked';
25
- fundId: string;
26
- fundUsi?: string;
27
- fundName: string;
28
- fundType: ShownFundType;
29
- };
30
- export declare type FundPdsViewedEvent = SuperCampaignCommonEventPayload & {
31
- type: 'fund-pds-viewed';
32
- fundUsi?: string;
33
- fundName: string;
34
- pageName: string;
35
- };
36
- export declare type DisclaimerViewedEvent = SuperCampaignCommonEventPayload & {
37
- type: 'disclaimer-viewed';
38
- };
39
- export declare type DisclaimerAcceptedEvent = SuperCampaignCommonEventPayload & {
40
- type: 'disclaimer-accepted';
41
- };
42
- export declare type FeaturedFundsSender = 'featured-funds';
43
- export declare type PromotedFundJoinedEvent = {
44
- sender: Sender | FeaturedFundsSender;
45
- type: 'promoted-fund-joined';
46
- fundJoinInfo: FundJoinInfo;
47
- };
48
- export declare type PromotedFundJoinInfo = {
49
- fundType: 'Promoted';
50
- fundId: string;
51
- fundName: string;
52
- usi: string;
53
- memberNumber: string;
54
- memberFirstName?: string;
55
- memberFamilyName?: string;
56
- };
57
- export declare type PromotedDefaultFundJoinInfo = {
58
- fundType: 'PromotedDefault';
59
- fundId: string;
60
- fundName: string;
61
- usi: string;
62
- };
63
- export declare type PromotedDefaultFundWithJoinInfo = {
64
- fundType: 'PromotedDefaultWithJoin';
65
- fundId: string;
66
- fundName: string;
67
- usi: string;
68
- memberNumber: string;
69
- memberFirstName: string;
70
- memberFamilyName: string;
71
- };
72
- export declare type DefinedBenefitsJoinInfo = {
73
- fundType: 'DefinedBenefits';
74
- fundId: string;
75
- fundName: string;
76
- usi: string;
77
- memberNumber: string;
78
- memberElectContributionRatePreTax: number;
79
- memberElectContributionRatePostTax: number;
80
- };
81
- export declare type FundJoinInfo = PromotedFundJoinInfo | PromotedDefaultFundJoinInfo | PromotedDefaultFundWithJoinInfo | DefinedBenefitsJoinInfo;
82
- export declare type JoinedFundType = FundJoinInfo['fundType'];
83
- export declare type ShownFund = {
84
- fundId: string;
85
- fundType: ShownFundType;
86
- };
87
- export declare type ShownFundType = 'promoted' | 'promoted-default' | 'defined-benefits';
88
- export declare type EventPayload = SuperCampaignLoadedEvent | SuperCampaignLoadFailedEvent | SuperCampaignFailedEvent | ChooseAnotherFundRequestedEvent | FundsPanelShownEvent | FundTileClickedEvent | FundPdsViewedEvent | DisclaimerViewedEvent | DisclaimerAcceptedEvent | PromotedFundJoinedEvent;
89
- export declare type EventType = EventPayload['type'];
90
- export declare type EventHandlers = {
91
- [k in EventType]: (event: CustomEvent<Extract<EventPayload, {
92
- type: k;
93
- }>>) => Promise<void>;
94
- };
95
- export declare const Usi: {
96
- clean: (usi: string) => string;
97
- };
98
- export declare const LoadWaitingTimeout = 30000;
@@ -1,27 +0,0 @@
1
- import { RouterHistory } from '@stencil/router';
2
- export declare class SuperCampaignHost {
3
- history: RouterHistory;
4
- private scriptImported;
5
- private backendUrl;
6
- private accessToken;
7
- private loadingTimeoutRef;
8
- private superCampaignEventHandlers;
9
- constructor();
10
- componentWillLoad(): Promise<void>;
11
- disconnectedCallback(): void;
12
- render(): Element[];
13
- private activateFallbackMechanism;
14
- private superCampaignLoadingTimeoutTriggered;
15
- private createApolloSuperCampaignScriptUrl;
16
- private subscribeToSuperCampaignEvents;
17
- private unSubscribeFromSuperCampaignEvents;
18
- private superCampaignLoaded;
19
- private superCampaignLoadFailed;
20
- private superCampaignFailed;
21
- private chooseAnotherFundRequested;
22
- private fundPanelShown;
23
- private fundTileClicked;
24
- private fundPdsViewed;
25
- private disclaimerViewed;
26
- private disclaimerAccepted;
27
- }
@@ -1,2 +0,0 @@
1
- import { Wretcher } from 'wretch';
2
- export declare function buildBackendApiClient(): Wretcher;
@@ -1,6 +0,0 @@
1
- import { SuperSelectionEventDto } from './super-selection-events.model';
2
- export declare class EventTrackingApi {
3
- private static instance;
4
- static get Instance(): EventTrackingApi;
5
- PostAnalyticsEventAsync(event: SuperSelectionEventDto): Promise<void>;
6
- }
@@ -1,6 +0,0 @@
1
- import { SuperCampaignError } from './super-campaign-errors.api.dtos';
2
- export declare class SuperCampaignErrorApi {
3
- private static instance;
4
- static get Instance(): SuperCampaignErrorApi;
5
- PostError(error: SuperCampaignError): Promise<void>;
6
- }
@@ -1,7 +0,0 @@
1
- export declare type SuperCampaignError = {
2
- type: 'SuperCampaignActivationFailed';
3
- reason: string;
4
- } | {
5
- type: 'SuperCampaignOperationFailed';
6
- reason: string;
7
- };