@flarehr/apollo-super-selection 1.3.54543 → 1.3.54570

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 (253) hide show
  1. package/dist/lib/apollo-super-selection/apollo-super-selection.css +1 -0
  2. package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +1 -0
  3. package/dist/lib/apollo-super-selection/apollo-super-selection.js +130 -0
  4. package/dist/lib/apollo-super-selection/assets/icon-exclamation.svg +3 -0
  5. package/dist/lib/apollo-super-selection/assets/icon-information-circle.svg +3 -0
  6. package/dist/lib/apollo-super-selection/index.esm.js +0 -0
  7. package/dist/lib/apollo-super-selection/p-02f24922.system.entry.js +1 -0
  8. package/dist/lib/apollo-super-selection/p-071b8545.entry.js +1 -0
  9. package/dist/lib/apollo-super-selection/p-14885f78.system.js +15 -0
  10. package/dist/lib/apollo-super-selection/p-15f0e5eb.system.js +1 -0
  11. package/dist/lib/apollo-super-selection/p-23cfdd82.entry.js +1 -0
  12. package/dist/lib/apollo-super-selection/p-29c11183.js +15 -0
  13. package/dist/lib/apollo-super-selection/p-44bec843.system.js +1 -0
  14. package/dist/lib/apollo-super-selection/p-50ea2036.system.js +1 -0
  15. package/dist/lib/apollo-super-selection/p-51aefdb1.system.entry.js +1 -0
  16. package/dist/lib/apollo-super-selection/p-51c6dd08.js +1 -0
  17. package/dist/lib/apollo-super-selection/p-6ac8791e.system.entry.js +1 -0
  18. package/dist/lib/apollo-super-selection/p-7a89efaf.js +1 -0
  19. package/dist/lib/apollo-super-selection/p-80178f87.system.js +1 -0
  20. package/dist/lib/apollo-super-selection/p-86e3e03f.js +1 -0
  21. package/dist/lib/apollo-super-selection/p-9c855634.entry.js +1 -0
  22. package/dist/lib/apollo-super-selection/p-b89b68db.entry.js +1 -0
  23. package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +1 -0
  24. package/dist/lib/apollo-super-selection/p-c9bb6b7d.system.entry.js +69 -0
  25. package/dist/lib/apollo-super-selection/p-e869dc87.entry.js +14 -0
  26. package/dist/lib/apollo-super-selection/p-ef3afa00.system.entry.js +1 -0
  27. package/dist/lib/apollo-super-selection/p-f29066b9.system.entry.js +1 -0
  28. package/dist/lib/apollo-super-selection/p-fcb4050d.entry.js +1 -0
  29. package/dist/lib/cjs/active-router-1f555f75.js +75 -0
  30. package/dist/lib/cjs/apollo-super-selection.cjs.js +22 -0
  31. package/dist/lib/cjs/app-globals-b1125d8c.js +25 -0
  32. package/dist/lib/cjs/context-consumer.cjs.entry.js +29 -0
  33. package/dist/lib/cjs/datorama-akita-6c9cb8fb.js +3641 -0
  34. package/dist/lib/cjs/index-eb4f212f.js +1766 -0
  35. package/dist/lib/cjs/index.cjs.js +2 -0
  36. package/dist/lib/cjs/loader.cjs.js +24 -0
  37. package/dist/lib/cjs/sss-button_31.cjs.entry.js +17977 -0
  38. package/dist/lib/cjs/stencil-async-content.cjs.entry.js +32 -0
  39. package/dist/lib/cjs/stencil-route-title.cjs.entry.js +32 -0
  40. package/dist/lib/cjs/stencil-router-prompt.cjs.entry.js +59 -0
  41. package/dist/lib/cjs/stencil-router-redirect.cjs.entry.js +32 -0
  42. package/dist/lib/collection/apollo-super-selection.css +1 -0
  43. package/dist/lib/collection/collection-manifest.json +95 -0
  44. package/dist/lib/collection/components/app-host/loading-page.js +9 -0
  45. package/dist/lib/collection/components/app-host/services/app-configuration.query.js +18 -0
  46. package/dist/lib/collection/components/app-host/services/app-configuration.service.js +25 -0
  47. package/dist/lib/collection/components/app-host/services/app-parameters.query.js +13 -0
  48. package/dist/lib/collection/components/app-host/services/app-parameters.service.js +14 -0
  49. package/dist/lib/collection/components/app-host/services/appinsights.service.js +46 -0
  50. package/dist/lib/collection/components/app-host/services/authentication.query.js +21 -0
  51. package/dist/lib/collection/components/app-host/services/authentication.service.js +50 -0
  52. package/dist/lib/collection/components/app-host/services/interop/host-interop.service.js +31 -0
  53. package/dist/lib/collection/components/app-host/services/interop/iframe-interop.service.js +30 -0
  54. package/dist/lib/collection/components/app-host/services/interop/react-native-interop.service.js +20 -0
  55. package/dist/lib/collection/components/app-host/services/interop.query.js +26 -0
  56. package/dist/lib/collection/components/app-host/services/session.store.js +38 -0
  57. package/dist/lib/collection/components/app-host/super-selection-app-host.css +24 -0
  58. package/dist/lib/collection/components/app-host/super-selection-app-host.js +87 -0
  59. package/dist/lib/collection/components/external-loading-page/external-loading-page.js +29 -0
  60. package/dist/lib/collection/components/super-campaign/super-campaign-types.js +6 -0
  61. package/dist/lib/collection/components/super-campaign/super-campaign.js +361 -0
  62. package/dist/lib/collection/components/super-selection-app/api/api-client.js +14 -0
  63. package/dist/lib/collection/components/super-selection-app/api/event-tracking.api.js +9 -0
  64. package/dist/lib/collection/components/super-selection-app/api/super-campaign-errors-api.js +9 -0
  65. package/dist/lib/collection/components/super-selection-app/api/super-campaign-errors.api.dtos.js +1 -0
  66. package/dist/lib/collection/components/super-selection-app/api/super-selection-events.model.js +16 -0
  67. package/dist/lib/collection/components/super-selection-app/api/super-selection.api.dto.js +179 -0
  68. package/dist/lib/collection/components/super-selection-app/api/super-selection.api.js +69 -0
  69. package/dist/lib/collection/components/super-selection-app/app-state-pages/success.js +36 -0
  70. package/dist/lib/collection/components/super-selection-app/assets/icon-exclamation.svg +3 -0
  71. package/dist/lib/collection/components/super-selection-app/assets/icon-information-circle.svg +3 -0
  72. package/dist/lib/collection/components/super-selection-app/existing-choice/existing-choice.js +163 -0
  73. package/dist/lib/collection/components/super-selection-app/footer-section/footer-section.js +39 -0
  74. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.dto.js +1 -0
  75. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.js +50 -0
  76. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/custom-fund.js +86 -0
  77. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/custom-fund.store.js +53 -0
  78. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/default-fund/default-fund.js +114 -0
  79. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/member-name-input.js +162 -0
  80. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-inputs.js +143 -0
  81. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.js +118 -0
  82. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/abn-validation.js +11 -0
  83. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/bankBsbNumbers.js +111 -0
  84. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.js +253 -0
  85. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.form.js +1 -0
  86. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.js +121 -0
  87. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api.dto.js +1 -0
  88. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api.js +31 -0
  89. package/dist/lib/collection/components/super-selection-app/funds/slate-super/api/slate-choice.api.dto.js +1 -0
  90. package/dist/lib/collection/components/super-selection-app/funds/slate-super/api/slate-choice.api.js +13 -0
  91. package/dist/lib/collection/components/super-selection-app/funds/slate-super/api/slate.js +4 -0
  92. package/dist/lib/collection/components/super-selection-app/header-section/header-section.js +53 -0
  93. package/dist/lib/collection/components/super-selection-app/misc/button.js +195 -0
  94. package/dist/lib/collection/components/super-selection-app/misc/dropdown-async.css +7 -0
  95. package/dist/lib/collection/components/super-selection-app/misc/dropdown-async.js +390 -0
  96. package/dist/lib/collection/components/super-selection-app/misc/loading-indicator.js +52 -0
  97. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-common.js +22 -0
  98. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-display-field.js +42 -0
  99. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-error-box.js +66 -0
  100. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-invalid-my-own-fund.js +121 -0
  101. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-invalid-smsf.js +145 -0
  102. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-my-own-fund.js +223 -0
  103. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-smsf.js +398 -0
  104. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-types.js +288 -0
  105. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-warning-box.js +37 -0
  106. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill.js +81 -0
  107. package/dist/lib/collection/components/super-selection-app/services/australian-fund-lookup.service.js +15 -0
  108. package/dist/lib/collection/components/super-selection-app/services/event-tracking.service.js +97 -0
  109. package/dist/lib/collection/components/super-selection-app/services/existing-super-choice-info.service.js +134 -0
  110. package/dist/lib/collection/components/super-selection-app/services/misc.service.js +7 -0
  111. package/dist/lib/collection/components/super-selection-app/services/navigation.service.js +31 -0
  112. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.routes.js +32 -0
  113. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +146 -0
  114. package/dist/lib/collection/components/super-selection-app/services/super-selection.store.js +42 -0
  115. package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.js +155 -0
  116. package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.store.js +11 -0
  117. package/dist/lib/collection/components/super-selection-app/super-selection-app.css +27 -0
  118. package/dist/lib/collection/components/super-selection-app/super-selection-app.js +291 -0
  119. package/dist/lib/collection/global/init-host.js +25 -0
  120. package/dist/lib/collection/global/main.dev.js +29 -0
  121. package/dist/lib/collection/global/main.js +11 -0
  122. package/dist/lib/collection/global/stencil-router-workaround.js +12 -0
  123. package/dist/lib/collection/index.js +2 -0
  124. package/dist/lib/collection/utils/config.js +2 -0
  125. package/dist/lib/collection/utils/gtm.js +5 -0
  126. package/dist/lib/collection/utils/iframe.js +33 -0
  127. package/dist/lib/collection/utils/index.js +11 -0
  128. package/dist/lib/collection/utils/lazy.js +29 -0
  129. package/dist/lib/collection/utils/storage.js +5 -0
  130. package/dist/lib/esm/active-router-5e40c0f8.js +73 -0
  131. package/dist/lib/esm/apollo-super-selection.js +20 -0
  132. package/dist/lib/esm/app-globals-c1f89805.js +23 -0
  133. package/dist/lib/esm/context-consumer.entry.js +25 -0
  134. package/dist/lib/esm/datorama-akita-127aea91.js +3624 -0
  135. package/dist/lib/esm/index-189b2180.js +1732 -0
  136. package/dist/lib/esm/index.js +1 -0
  137. package/dist/lib/esm/loader.js +20 -0
  138. package/dist/lib/esm/polyfills/core-js.js +11 -0
  139. package/dist/lib/esm/polyfills/css-shim.js +1 -0
  140. package/dist/lib/esm/polyfills/dom.js +79 -0
  141. package/dist/lib/esm/polyfills/es5-html-element.js +1 -0
  142. package/dist/lib/esm/polyfills/index.js +34 -0
  143. package/dist/lib/esm/polyfills/system.js +6 -0
  144. package/dist/lib/esm/sss-button_31.entry.js +17923 -0
  145. package/dist/lib/esm/stencil-async-content.entry.js +28 -0
  146. package/dist/lib/esm/stencil-route-title.entry.js +28 -0
  147. package/dist/lib/esm/stencil-router-prompt.entry.js +55 -0
  148. package/dist/lib/esm/stencil-router-redirect.entry.js +28 -0
  149. package/dist/lib/esm-es5/active-router-5e40c0f8.js +1 -0
  150. package/dist/lib/esm-es5/apollo-super-selection.js +1 -0
  151. package/dist/lib/esm-es5/app-globals-c1f89805.js +1 -0
  152. package/dist/lib/esm-es5/context-consumer.entry.js +1 -0
  153. package/dist/lib/esm-es5/datorama-akita-127aea91.js +15 -0
  154. package/dist/lib/esm-es5/index-189b2180.js +1 -0
  155. package/dist/lib/esm-es5/index.js +0 -0
  156. package/dist/lib/esm-es5/loader.js +1 -0
  157. package/dist/lib/esm-es5/sss-button_31.entry.js +69 -0
  158. package/dist/lib/esm-es5/stencil-async-content.entry.js +1 -0
  159. package/dist/lib/esm-es5/stencil-route-title.entry.js +1 -0
  160. package/dist/lib/esm-es5/stencil-router-prompt.entry.js +1 -0
  161. package/dist/lib/esm-es5/stencil-router-redirect.entry.js +1 -0
  162. package/dist/lib/index.cjs.js +1 -0
  163. package/dist/lib/index.js +1 -0
  164. package/dist/lib/loader/cdn.js +3 -0
  165. package/dist/lib/loader/index.cjs.js +3 -0
  166. package/dist/lib/loader/index.d.ts +13 -0
  167. package/dist/lib/loader/index.es2017.js +3 -0
  168. package/dist/lib/loader/index.js +4 -0
  169. package/dist/lib/loader/package.json +10 -0
  170. package/dist/lib/node_modules/@stencil/router/dist/collection/components/route/route.css +3 -0
  171. package/dist/lib/types/components/app-host/loading-page.d.ts +3 -0
  172. package/dist/lib/types/components/app-host/services/app-configuration.query.d.ts +11 -0
  173. package/dist/lib/types/components/app-host/services/app-configuration.service.d.ts +9 -0
  174. package/dist/lib/types/components/app-host/services/app-parameters.query.d.ts +10 -0
  175. package/dist/lib/types/components/app-host/services/app-parameters.service.d.ts +6 -0
  176. package/dist/lib/types/components/app-host/services/appinsights.service.d.ts +15 -0
  177. package/dist/lib/types/components/app-host/services/authentication.query.d.ts +13 -0
  178. package/dist/lib/types/components/app-host/services/authentication.service.d.ts +9 -0
  179. package/dist/lib/types/components/app-host/services/interop/host-interop.service.d.ts +7 -0
  180. package/dist/lib/types/components/app-host/services/interop/iframe-interop.service.d.ts +5 -0
  181. package/dist/lib/types/components/app-host/services/interop/react-native-interop.service.d.ts +7 -0
  182. package/dist/lib/types/components/app-host/services/interop.query.d.ts +11 -0
  183. package/dist/lib/types/components/app-host/services/session.store.d.ts +31 -0
  184. package/dist/lib/types/components/app-host/super-selection-app-host.d.ts +15 -0
  185. package/dist/lib/types/components/super-campaign/super-campaign-types.d.ts +96 -0
  186. package/dist/lib/types/components/super-campaign/super-campaign.d.ts +37 -0
  187. package/dist/lib/types/components/super-selection-app/api/api-client.d.ts +2 -0
  188. package/dist/lib/types/components/super-selection-app/api/event-tracking.api.d.ts +6 -0
  189. package/dist/lib/types/components/super-selection-app/api/super-campaign-errors-api.d.ts +6 -0
  190. package/dist/lib/types/components/super-selection-app/api/super-campaign-errors.api.dtos.d.ts +7 -0
  191. package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +149 -0
  192. package/dist/lib/types/components/super-selection-app/api/super-selection.api.d.ts +16 -0
  193. package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +233 -0
  194. package/dist/lib/types/components/super-selection-app/app-state-pages/success.d.ts +7 -0
  195. package/dist/lib/types/components/super-selection-app/existing-choice/existing-choice.d.ts +12 -0
  196. package/dist/lib/types/components/super-selection-app/footer-section/footer-section.d.ts +5 -0
  197. package/dist/lib/types/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.d.ts +10 -0
  198. package/dist/lib/types/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.dto.d.ts +43 -0
  199. package/dist/lib/types/components/super-selection-app/funds/custom-fund/custom-fund.d.ts +9 -0
  200. package/dist/lib/types/components/super-selection-app/funds/custom-fund/custom-fund.store.d.ts +30 -0
  201. package/dist/lib/types/components/super-selection-app/funds/custom-fund/default-fund/default-fund.d.ts +13 -0
  202. package/dist/lib/types/components/super-selection-app/funds/custom-fund/member-name-input.d.ts +14 -0
  203. package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-inputs.d.ts +16 -0
  204. package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.d.ts +13 -0
  205. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/abn-validation.d.ts +1 -0
  206. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/bankBsbNumbers.d.ts +112 -0
  207. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.d.ts +29 -0
  208. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.d.ts +14 -0
  209. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.form.d.ts +15 -0
  210. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api.d.ts +8 -0
  211. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api.dto.d.ts +25 -0
  212. package/dist/lib/types/components/super-selection-app/funds/slate-super/api/slate-choice.api.d.ts +6 -0
  213. package/dist/lib/types/components/super-selection-app/funds/slate-super/api/slate-choice.api.dto.d.ts +8 -0
  214. package/dist/lib/types/components/super-selection-app/funds/slate-super/api/slate.d.ts +4 -0
  215. package/dist/lib/types/components/super-selection-app/header-section/header-section.d.ts +4 -0
  216. package/dist/lib/types/components/super-selection-app/misc/button.d.ts +14 -0
  217. package/dist/lib/types/components/super-selection-app/misc/dropdown-async.d.ts +52 -0
  218. package/dist/lib/types/components/super-selection-app/misc/loading-indicator.d.ts +5 -0
  219. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-common.d.ts +9 -0
  220. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-display-field.d.ts +5 -0
  221. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-error-box.d.ts +5 -0
  222. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-invalid-my-own-fund.d.ts +18 -0
  223. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-invalid-smsf.d.ts +28 -0
  224. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-my-own-fund.d.ts +30 -0
  225. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-smsf.d.ts +52 -0
  226. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-types.d.ts +95 -0
  227. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-warning-box.d.ts +4 -0
  228. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill.d.ts +14 -0
  229. package/dist/lib/types/components/super-selection-app/services/australian-fund-lookup.service.d.ts +8 -0
  230. package/dist/lib/types/components/super-selection-app/services/event-tracking.service.d.ts +21 -0
  231. package/dist/lib/types/components/super-selection-app/services/existing-super-choice-info.service.d.ts +75 -0
  232. package/dist/lib/types/components/super-selection-app/services/misc.service.d.ts +6 -0
  233. package/dist/lib/types/components/super-selection-app/services/navigation.service.d.ts +17 -0
  234. package/dist/lib/types/components/super-selection-app/services/super-selection-app.routes.d.ts +16 -0
  235. package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts +38 -0
  236. package/dist/lib/types/components/super-selection-app/services/super-selection.store.d.ts +34 -0
  237. package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.d.ts +16 -0
  238. package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.store.d.ts +42 -0
  239. package/dist/lib/types/components/super-selection-app/super-selection-app.d.ts +27 -0
  240. package/dist/lib/types/components.d.ts +503 -0
  241. package/dist/lib/types/global/init-host.d.ts +1 -0
  242. package/dist/lib/types/global/main.d.ts +1 -0
  243. package/dist/lib/types/global/main.dev.d.ts +1 -0
  244. package/dist/lib/types/global/stencil-router-workaround.d.ts +1 -0
  245. package/dist/lib/types/index.d.ts +2 -0
  246. package/dist/lib/types/stencil-public-runtime.d.ts +1555 -0
  247. package/dist/lib/types/utils/config.d.ts +2 -0
  248. package/dist/lib/types/utils/gtm.d.ts +7 -0
  249. package/dist/lib/types/utils/iframe.d.ts +13 -0
  250. package/dist/lib/types/utils/index.d.ts +4 -0
  251. package/dist/lib/types/utils/lazy.d.ts +12 -0
  252. package/dist/lib/types/utils/storage.d.ts +4 -0
  253. package/package.json +1 -1
@@ -0,0 +1,52 @@
1
+ import { EventEmitter } from '../../../stencil-public-runtime';
2
+ export declare type SelectInputOption<T> = {
3
+ label: string;
4
+ value: T;
5
+ };
6
+ export declare type TooManyResults = {
7
+ kind: 'too-many-results';
8
+ };
9
+ export declare type Success<T> = {
10
+ kind: 'success';
11
+ value: SelectInputOption<T>[];
12
+ };
13
+ export declare type SearchResult<T> = Success<T> | TooManyResults;
14
+ export declare class SelectInputAsync {
15
+ testId: string;
16
+ placeholder?: string;
17
+ searchFunction?: (query: string) => Promise<SearchResult<unknown>>;
18
+ value?: SelectInputOption<unknown>;
19
+ required: boolean;
20
+ requiredValidationMessage?: string;
21
+ disabled: boolean;
22
+ minSearchStringLength: number;
23
+ showValidationErrors: boolean;
24
+ valueChanged: EventEmitter<SelectInputOption<unknown>>;
25
+ private inputElement;
26
+ private searchResultsSubscription;
27
+ private isMouseOver;
28
+ private searchState;
29
+ private inputValue;
30
+ private isDropdownVisible;
31
+ private filteredOptions;
32
+ private highlightedOptionIndex?;
33
+ private selectedOption?;
34
+ componentWillLoad(): void;
35
+ componentDidLoad(): void;
36
+ disconnectedCallback(): void;
37
+ handleFocus(): void;
38
+ handleBlur(): void;
39
+ handleKeyDown(event: KeyboardEvent): void;
40
+ render(): Element[];
41
+ private get _searchFunction();
42
+ private shouldExecuteSearch;
43
+ private onBeginSearch;
44
+ private onCompleteSearch;
45
+ private renderFilteredResults;
46
+ private resetInput;
47
+ private toggleDropdown;
48
+ private processKeyboardNavigation;
49
+ private highlightItem;
50
+ private selectOption;
51
+ private isOptionSelected;
52
+ }
@@ -0,0 +1,5 @@
1
+ export declare class LoadingIndicator {
2
+ theme: 'primary' | 'light';
3
+ size: number;
4
+ render(): Element;
5
+ }
@@ -0,0 +1,9 @@
1
+ export declare function isNullOrWhitespace(value: string | null): boolean;
2
+ export declare const DisabledField: (name: string, testId: string, value: string) => any;
3
+ export declare const Header: () => any;
4
+ export declare class Style {
5
+ static Input(isValidated: boolean): {
6
+ 'relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10': boolean;
7
+ 'invalid:border-red-300 invalid:text-red-900 invalid:placeholder-red-300 invalid:focus:ring-red-500 invalid:focus:border-red-500': boolean;
8
+ };
9
+ }
@@ -0,0 +1,5 @@
1
+ import { FormField, StaticFormField } from './prefill-types';
2
+ export declare class DisplayField {
3
+ field: FormField | StaticFormField;
4
+ render(): Element[];
5
+ }
@@ -0,0 +1,5 @@
1
+ export declare class PrefillErrorBox {
2
+ withHeader: boolean;
3
+ notificationList: string[];
4
+ render(): Element[];
5
+ }
@@ -0,0 +1,18 @@
1
+ import { RouterHistory } from '@stencil/router';
2
+ import { PrefillOwnFundChoiceDto } from '../api/super-selection.api.dto';
3
+ export declare class PrefillInvalidMyOwnFund {
4
+ history: RouterHistory;
5
+ prefill: PrefillOwnFundChoiceDto;
6
+ private fundUsi;
7
+ private fundName;
8
+ private memberNumber;
9
+ private memberGivenNames;
10
+ private memberLastName;
11
+ private readonly eventTrackingService;
12
+ componentDidLoad(): Promise<void>;
13
+ componentWillLoad(): Promise<void>;
14
+ render(): Element[];
15
+ private handleChooseAnotherFund;
16
+ private createSuperFundPrefillDeclinedDetail;
17
+ private createSuperFundPrefillViewedDetail;
18
+ }
@@ -0,0 +1,28 @@
1
+ import { RouterHistory } from '@stencil/router';
2
+ import { PrefillSMSFChoiceDto } from '../api/super-selection.api.dto';
3
+ export declare class PrefillInvalidSMSF {
4
+ history: RouterHistory;
5
+ prefill: PrefillSMSFChoiceDto;
6
+ private fundName;
7
+ private fundAbn;
8
+ private fundEsa;
9
+ private fundAddressLine1;
10
+ private fundAddressLine2;
11
+ private fundAddressCity;
12
+ private fundAddressPostcode;
13
+ private fundAddressState;
14
+ private fundAddress;
15
+ private memberGivenNames;
16
+ private memberLastName;
17
+ private bankAccountName;
18
+ private bankAccountBsb;
19
+ private bankAccountNumber;
20
+ private readonly eventTrackingService;
21
+ componentDidLoad(): Promise<void>;
22
+ componentWillLoad(): Promise<void>;
23
+ render(): Element[];
24
+ private initialiseComponent;
25
+ private handleFundNominationDeclined;
26
+ private createSuperFundPrefillDeclinedDetail;
27
+ private createSuperFundPrefillViewedDetail;
28
+ }
@@ -0,0 +1,30 @@
1
+ import { RouterHistory } from '@stencil/router';
2
+ import { PrefillOwnFundChoiceDto } from '../api/super-selection.api.dto';
3
+ export declare class PrefillMyOwnFund {
4
+ history: RouterHistory;
5
+ prefill: PrefillOwnFundChoiceDto;
6
+ private mode;
7
+ private formState;
8
+ private isSubmitDisabled;
9
+ private fundUsi;
10
+ private fundName;
11
+ private memberNumber;
12
+ private memberGivenNames;
13
+ private memberLastName;
14
+ private formElement;
15
+ private readonly eventTrackingService;
16
+ componentDidLoad(): Promise<void>;
17
+ componentWillLoad(): Promise<void>;
18
+ render(): Element[];
19
+ private initialiseComponent;
20
+ private isFormValid;
21
+ private formHasMissingData;
22
+ private setModeToEdit;
23
+ private updateMemberNumber;
24
+ private updateMemberGivenNames;
25
+ private updateMemberLastName;
26
+ private handleSubmitForm;
27
+ private handleFundNominationDeclined;
28
+ private createSuperFundPrefillDeclinedDetail;
29
+ private createSuperFundPrefillViewedDetail;
30
+ }
@@ -0,0 +1,52 @@
1
+ import { RouterHistory } from '@stencil/router';
2
+ import { PrefillSMSFChoiceDto } from '../api/super-selection.api.dto';
3
+ export declare class PrefillSMSF {
4
+ history: RouterHistory;
5
+ prefill: PrefillSMSFChoiceDto;
6
+ private mode;
7
+ private formState;
8
+ private isSubmitDisabled;
9
+ private fundName;
10
+ private fundAbn;
11
+ private fundEsa;
12
+ private fundAddressLine1;
13
+ private fundAddressLine2;
14
+ private fundAddressCity;
15
+ private fundAddressPostcode;
16
+ private fundAddressState;
17
+ private fundAddress;
18
+ private memberGivenNames;
19
+ private memberLastName;
20
+ private bankAccountName;
21
+ private bankName;
22
+ private bankAccountBsb;
23
+ private bankAccountNumber;
24
+ private formElement;
25
+ private readonly eventTrackingService;
26
+ componentDidLoad(): Promise<void>;
27
+ componentWillLoad(): Promise<void>;
28
+ render(): Element[];
29
+ private isFormValid;
30
+ private formHasMissingData;
31
+ private setModeToEdit;
32
+ private updateFundName;
33
+ private updateFundEsa;
34
+ private updateAddressLine1;
35
+ private updateAddressLine2;
36
+ private updateAddressCity;
37
+ private updateAddressPostcode;
38
+ private updateAddressState;
39
+ private updateBankAccountName;
40
+ private updateBankAccountBsb;
41
+ private updateBankAccountNumber;
42
+ private updateMemberGivenNames;
43
+ private updateMemberLastName;
44
+ private filterDigits;
45
+ private tryGetBankName;
46
+ private updateBankName;
47
+ private handleSubmitForm;
48
+ private initialiseComponent;
49
+ private handleFundNominationDeclined;
50
+ private createSuperFundPrefillDeclinedDetail;
51
+ private createSuperFundPrefillViewedDetail;
52
+ }
@@ -0,0 +1,95 @@
1
+ export declare const NAME_PATTERN = "[A-Za-z][A-Za-z']+(( |-)[A-Za-z][A-Za-z']+)*\\s*$";
2
+ export declare abstract class FormField {
3
+ readonly name: string;
4
+ readonly testId: string;
5
+ private _value;
6
+ private _errorMessage;
7
+ protected constructor(name: string, testId: string, value: string | null);
8
+ get value(): string;
9
+ set value(newValue: string);
10
+ get isValid(): boolean;
11
+ get isEmpty(): boolean;
12
+ get errorMessage(): string | null;
13
+ abstract validateAndReturnErrorMessage(value: string): string | null;
14
+ }
15
+ export declare class StaticFormField {
16
+ readonly name: string;
17
+ readonly testId: string;
18
+ private readonly _value;
19
+ private readonly _isValid;
20
+ constructor(name: string, testId: string, value: string | null, isValid: boolean);
21
+ get value(): string;
22
+ get isValid(): boolean;
23
+ get isEmpty(): boolean;
24
+ }
25
+ export declare class FundUsi extends StaticFormField {
26
+ constructor(value: string | null, isValid: boolean);
27
+ }
28
+ export declare class FundName extends StaticFormField {
29
+ constructor(value: string | null, isValid: boolean);
30
+ }
31
+ export declare class SmsfFundName extends FormField {
32
+ constructor(value: string | null);
33
+ validateAndReturnErrorMessage(newValue: string): string | null;
34
+ }
35
+ export declare class MemberNumber extends FormField {
36
+ constructor(value: string | null);
37
+ validateAndReturnErrorMessage(newValue: string): string | null;
38
+ }
39
+ export declare class MemberLastName extends FormField {
40
+ constructor(value: string | null);
41
+ validateAndReturnErrorMessage(newValue: string): string | null;
42
+ }
43
+ export declare class MemberGivenNames extends FormField {
44
+ constructor(value: string | null);
45
+ validateAndReturnErrorMessage(newValue: string): string | null;
46
+ }
47
+ export declare class FundAbn extends StaticFormField {
48
+ constructor(value: string | null, isValid: boolean);
49
+ }
50
+ export declare class FundEsa extends FormField {
51
+ constructor(value: string | null);
52
+ validateAndReturnErrorMessage(newValue: string): string | null;
53
+ }
54
+ export declare class FundAddressLine1 extends FormField {
55
+ constructor(value: string | null);
56
+ validateAndReturnErrorMessage(newValue: string): string | null;
57
+ }
58
+ export declare class FundAddressLine2 extends FormField {
59
+ constructor(value: string | null);
60
+ validateAndReturnErrorMessage(_newValue: string): string | null;
61
+ }
62
+ export declare class FundAddressCity extends FormField {
63
+ constructor(value: string | null);
64
+ validateAndReturnErrorMessage(newValue: string): string | null;
65
+ }
66
+ export declare class FundAddressPostcode extends FormField {
67
+ constructor(value: string | null);
68
+ validateAndReturnErrorMessage(newValue: string): string | null;
69
+ }
70
+ export declare class FundAddressState extends FormField {
71
+ constructor(value: string | null);
72
+ get options(): {
73
+ value: string;
74
+ label: string;
75
+ }[];
76
+ validateAndReturnErrorMessage(newValue: string): string | null;
77
+ }
78
+ export declare class FundAddress extends StaticFormField {
79
+ constructor(addrLine1: FundAddressLine1, addrLine2: FundAddressLine2, city: FundAddressCity, state: FundAddressState, postcode: FundAddressPostcode);
80
+ }
81
+ export declare class BankAccountName extends FormField {
82
+ constructor(value: string | null);
83
+ validateAndReturnErrorMessage(newValue: string): string | null;
84
+ }
85
+ export declare class BankName extends StaticFormField {
86
+ constructor(value: string | null, isValid: boolean);
87
+ }
88
+ export declare class BankAccountBsb extends FormField {
89
+ constructor(value: string | null);
90
+ validateAndReturnErrorMessage(newValue: string): string | null;
91
+ }
92
+ export declare class BankAccountNumber extends FormField {
93
+ constructor(value: string | null);
94
+ validateAndReturnErrorMessage(newValue: string): string | null;
95
+ }
@@ -0,0 +1,4 @@
1
+ export declare class PrefillWarningBox {
2
+ notificationList: string[];
3
+ render(): Element[];
4
+ }
@@ -0,0 +1,14 @@
1
+ import { RouterHistory } from '@stencil/router';
2
+ export declare class Prefill {
3
+ history: RouterHistory;
4
+ private prefill;
5
+ connectedCallback(): void;
6
+ disconnectedCallback(): void;
7
+ componentWillLoad(): Promise<void>;
8
+ render(): Element[] | null;
9
+ private renderMyOwnFund;
10
+ private renderInvalidMyOwnFund;
11
+ private renderSMSF;
12
+ private renderInvalidSMSF;
13
+ private ignorePopState;
14
+ }
@@ -0,0 +1,8 @@
1
+ import { Option } from 'fp-ts/lib/Option';
2
+ import { AustralianFundDto, AustralianFundsLookupResponseDto } from '../api/super-selection.api.dto';
3
+ export declare class AustralianFundLookupService {
4
+ searchFundsAsync(searchString: string, maxRecordCount: number): Promise<AustralianFundsLookupResponseDto>;
5
+ getFundAsync(usi: string, includeInactive: boolean): Promise<Option<AustralianFundDto>>;
6
+ }
7
+ declare const _default: AustralianFundLookupService;
8
+ export default _default;
@@ -0,0 +1,21 @@
1
+ import * as model from '../api/super-selection-events.model';
2
+ export declare class EventTrackingService {
3
+ private static instance;
4
+ static get Instance(): EventTrackingService;
5
+ private readonly eventTrackingApi;
6
+ TrackSuperFundPdsViewedAsync(detail: model.SuperFundPdsViewedDetail): Promise<void>;
7
+ TrackPromotedSuperFundDetailViewedAsync(detail: model.ViewedPromotedFundDetail): Promise<void>;
8
+ TrackPromotedDefaultSuperFundDetailViewedAsync(detail: model.ViewedPromotedDefaultFundDetail): Promise<void>;
9
+ TrackMyOwnSuperFundDetailViewedAsync(detail: model.ViewedMyOwnFundDetail): Promise<void>;
10
+ TrackSmsfSuperFundDetailViewedAsync(detail: model.ViewedSmsfDetail): Promise<void>;
11
+ TrackDefaultSuperFundDetailViewedAsync(detail: model.ViewedDefaultFundDetail): Promise<void>;
12
+ TrackSuperFundNominationViewedAsync(detail: model.SuperFundNominationViewedDetail): Promise<void>;
13
+ TrackSuperFundNominationDeclinedAsync(detail: model.SuperFundNominationDeclinedDetail): Promise<void>;
14
+ TrackSuperFundDisclaimerViewedAsync(detail: model.SuperFundDisclaimerViewedDetail): Promise<void>;
15
+ TrackSuperFundDisclaimerAcceptedAsync(detail: model.SuperFundDisclaimerAcceptedDetail): Promise<void>;
16
+ TrackSuperFundPrefillViewedAsync(detail: model.SuperFundPrefillViewedDetail): Promise<void>;
17
+ TrackSuperFundPrefillDeclinedAsync(detail: model.SuperFundPrefillDeclinedDetail): Promise<void>;
18
+ TrackSuperFundDetailChangeRequestedAsync(detail: model.SuperFundDetailChangeRequested): Promise<void>;
19
+ TrackSuperCampaignActivationSucceededAsync(detail: model.SuperCampaignActivationSucceededDetail): Promise<void>;
20
+ private trackEventAsync;
21
+ }
@@ -0,0 +1,75 @@
1
+ import { Option } from 'fp-ts/Option';
2
+ import { AustralianFundDto } from '../api/super-selection.api.dto';
3
+ export declare type FundValidState = 'Active' | 'Inactive' | 'Unknown';
4
+ export declare type PromotedFund = {
5
+ type: 'Promoted Fund';
6
+ id: string;
7
+ name: string;
8
+ usi: Option<string>;
9
+ valid: FundValidState;
10
+ memberNumber: Option<string>;
11
+ lastNominatedAt: Option<Date>;
12
+ };
13
+ export declare type MyOwnFund = {
14
+ type: 'My Own Fund';
15
+ name: string;
16
+ usi: Option<string>;
17
+ valid: FundValidState;
18
+ memberNumber: Option<string>;
19
+ lastNominatedAt: Option<Date>;
20
+ };
21
+ export declare type SelfManagedFund = {
22
+ type: 'Self Managed Fund';
23
+ name: string;
24
+ valid: 'Unknown';
25
+ lastNominatedAt: Option<Date>;
26
+ };
27
+ export declare type DefaultFund = {
28
+ type: 'Default Fund';
29
+ name: string;
30
+ usi: Option<string>;
31
+ valid: FundValidState;
32
+ lastNominatedAt: Option<Date>;
33
+ };
34
+ export declare type PromotedDefaultFund = {
35
+ type: 'Promoted Default Fund';
36
+ id: string;
37
+ name: string;
38
+ usi: Option<string>;
39
+ valid: FundValidState;
40
+ lastNominatedAt: Option<Date>;
41
+ };
42
+ export declare type DefinedBenefitsFund = {
43
+ type: 'Defined Benefits Fund';
44
+ name: string;
45
+ usi: Option<string>;
46
+ valid: FundValidState;
47
+ lastNominatedAt: Option<Date>;
48
+ };
49
+ export declare type PromotedDefaultWithJoin = {
50
+ type: 'Promoted Default Fund With Join';
51
+ id: string;
52
+ name: string;
53
+ usi: Option<string>;
54
+ valid: FundValidState;
55
+ memberNumber: Option<string>;
56
+ lastNominatedAt: Option<Date>;
57
+ };
58
+ export declare type ExistingFund = PromotedFund | MyOwnFund | SelfManagedFund | DefaultFund | PromotedDefaultFund | DefinedBenefitsFund | PromotedDefaultWithJoin;
59
+ export declare type RetainSuperFundDto = {
60
+ fundType: string;
61
+ fundName?: string;
62
+ fundUsi?: string;
63
+ memberNumber?: string;
64
+ fundStatus: string;
65
+ lastNominatedAt: string;
66
+ };
67
+ export declare function ExistingFund(fund: Option<AustralianFundDto>): FundValidState;
68
+ export declare class ExistingFundService {
69
+ GetExistingFundAsync(): Promise<Option<ExistingFund>>;
70
+ submitRetainSuperFundAsync(dto: RetainSuperFundDto): Promise<void>;
71
+ private getFundByUsiAsync;
72
+ private toFundValidState;
73
+ }
74
+ declare const _default: ExistingFundService;
75
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import { ClickPromotedTileDto } from '../api/super-selection.api.dto';
2
+ export declare class MiscService {
3
+ trackClickPromotedTileAsync(payload: ClickPromotedTileDto): Promise<void>;
4
+ }
5
+ declare const _default: MiscService;
6
+ export default _default;
@@ -0,0 +1,17 @@
1
+ import { RouterHistory } from '@stencil/router';
2
+ import { FundDetails } from './../standard-choice/standard-choice-form.store';
3
+ declare class NavigationService {
4
+ navigateInternally(history: RouterHistory, route: string): void;
5
+ navigateInternallyToStandardChoice(options: {
6
+ history: RouterHistory;
7
+ fundName: string;
8
+ fundDetails: FundDetails;
9
+ handleSubmitFn: (standardChoiceFormSignature: string) => Promise<void>;
10
+ promotedFundId?: string;
11
+ }): void;
12
+ toExternalUrl(url: string): string;
13
+ private get appBaseUrl();
14
+ private toRouteWithLeadingSlash;
15
+ }
16
+ declare const _default: NavigationService;
17
+ export default _default;
@@ -0,0 +1,16 @@
1
+ export declare enum SuperSelectionAppRoutes {
2
+ ExistingChoicePage = "/existing",
3
+ SuperCampaign = "/super-campaign",
4
+ ChoicePage = "/",
5
+ MyOwnFund = "/super-choice/my-own-fund/",
6
+ Prefill = "/super-choice/prefill/",
7
+ PrefillInvalidMyOwnFundPage = "/super-choice/sss-prefill-invalid-my-own-fund/",
8
+ PrefillMyOwnFundPage = "/super-choice/prefill-my-own-fund/",
9
+ PrefillSMSFPage = "/super-choice/prefill-smsf/",
10
+ PrefillInvalidSMSFPage = "/super-choice/prefill-invalid-smsf/",
11
+ SelfManagedFund = "/super-choice/smsf/",
12
+ DefaultFund = "/super-choice/default/",
13
+ StandardChoice = "/standard-choice/",
14
+ Success = "/success/"
15
+ }
16
+ export declare const superSelectionAppStencilRoutes: Element[];
@@ -0,0 +1,38 @@
1
+ import { OnChangeHandler } from '@stencil/store/dist/types';
2
+ import * as O from 'fp-ts/lib/Option';
3
+ import { ShownFund as SuperCampaignShownFund } from '../../super-campaign/super-campaign-types';
4
+ import { PromotedFundsConfigDto, SuperBuyerDto } from '../api/super-selection.api.dto';
5
+ import { AppContextState, SuperCampaignComponentStatus, SuperCampaignState } from './super-selection.store';
6
+ export declare class SuperSelectionAppService {
7
+ private readonly _state;
8
+ private readonly _onChange;
9
+ constructor();
10
+ get state(): AppContextState;
11
+ get onChange(): OnChangeHandler<AppContextState>;
12
+ get superBuyer(): SuperBuyerDto;
13
+ get apiBaseUrl(): string;
14
+ get appBaseUrl(): string;
15
+ get promotedFunds(): string[];
16
+ get promotedDefaultFundPosition(): O.Option<number>;
17
+ get promotedFundsConfig(): PromotedFundsConfigDto;
18
+ get profileId(): string;
19
+ get defaultFundUsi(): O.Option<string>;
20
+ get accountIdOrDefault(): string;
21
+ get partnerIdOrDefault(): string;
22
+ get jwt(): string;
23
+ completeSuperSelectionFlow(): void;
24
+ markSuperSelectionAsSubmitted(): void;
25
+ get isDefinedBenefitsEligible(): O.Option<boolean>;
26
+ loadAppStateAsync(): Promise<void>;
27
+ setSuperCampaignPromotedFundsShown(shownFunds: SuperCampaignShownFund[]): void;
28
+ viewSuperFundPanelAsync(promotedFundIdListOverride?: string[]): Promise<void>;
29
+ get superCampaignState(): SuperCampaignState | undefined;
30
+ get superCampaignComponentStatus(): SuperCampaignComponentStatus;
31
+ set superCampaignComponentStatus(value: SuperCampaignComponentStatus);
32
+ get isUsingSuperCampaign(): boolean;
33
+ get isSuperCampaignFallbackActivated(): boolean;
34
+ get superCampaignIsInView(): boolean;
35
+ set superCampaignIsInView(value: boolean);
36
+ }
37
+ declare const _default: SuperSelectionAppService;
38
+ export default _default;
@@ -0,0 +1,34 @@
1
+ import * as O from 'fp-ts/lib/Option';
2
+ import { ShownFund as SuperCampaignShownFund } from '../../super-campaign/super-campaign-types';
3
+ import { AccountConfigurationDto, ProfileConfigurationDto, SuperBuyerDto, SuperChoicePrefillDto } from '../api/super-selection.api.dto';
4
+ export declare enum SuperCampaignComponentStatus {
5
+ NotLoaded = 1,
6
+ Loaded = 2,
7
+ NotWorking = 3
8
+ }
9
+ export declare type AppContextState = {
10
+ apiBaseUrl: O.Option<string>;
11
+ appBaseUrl: O.Option<string>;
12
+ profileId: O.Option<string>;
13
+ jwt: O.Option<string>;
14
+ superBuyer: O.Option<SuperBuyerDto>;
15
+ superChoicePrefill: O.Option<SuperChoicePrefillDto>;
16
+ promotedFunds: O.Option<string[]>;
17
+ accountConfiguration: O.Option<AccountConfigurationDto>;
18
+ profileConfiguration: O.Option<ProfileConfigurationDto>;
19
+ hasSuccessPageBeenAcknowledged: boolean;
20
+ hasSuperSelectionBeenSubmitted: boolean;
21
+ isDefinedBenefitsEligible: O.Option<boolean>;
22
+ superCampaignEnabled: boolean;
23
+ superCampaignState: SuperCampaignState | undefined;
24
+ superCampaignComponentStatus: SuperCampaignComponentStatus;
25
+ superCampaignIsInView: boolean;
26
+ };
27
+ export declare class SuperCampaignState {
28
+ private _promotedFundsShown;
29
+ constructor();
30
+ get PromotedFundIds(): string[];
31
+ set promotedFundsShown(value: SuperCampaignShownFund[]);
32
+ get DefaultFundPosition(): number | undefined;
33
+ }
34
+ export declare const initialState: AppContextState;
@@ -0,0 +1,16 @@
1
+ import { RouterHistory } from '@stencil/router';
2
+ export declare class StandardChoiceFormInputDefaultFund {
3
+ history: RouterHistory;
4
+ private standardChoiceFormSignature;
5
+ private formState;
6
+ private isSubmitDisabled;
7
+ private readonly eventTrackingService;
8
+ private formElement;
9
+ connectedCallback(): void;
10
+ disconnectedCallback(): void;
11
+ render(): Element[];
12
+ private renderLogo;
13
+ private trackChangeRequestedAsync;
14
+ private handleSubmitForm;
15
+ private ignorePopState;
16
+ }
@@ -0,0 +1,42 @@
1
+ export declare type FundDetails = {
2
+ type: 'smsf';
3
+ fundName: string;
4
+ fundEsa: string;
5
+ } | {
6
+ type: 'myOwnFund';
7
+ fundName: string;
8
+ fundUsi: string;
9
+ memberNumber: string;
10
+ } | {
11
+ type: 'default';
12
+ fundName: string;
13
+ fundUsi: string;
14
+ } | {
15
+ type: 'promoted';
16
+ fundName: string;
17
+ fundUsi: string;
18
+ memberNumber: string;
19
+ promotedFundId: string;
20
+ } | {
21
+ type: 'promotedDefault';
22
+ fundName: string;
23
+ fundUsi: string;
24
+ promotedFundId: string;
25
+ } | {
26
+ type: 'promotedDefaultWithJoin';
27
+ fundName: string;
28
+ fundUsi: string;
29
+ memberNumber: string;
30
+ promotedFundId: string;
31
+ } | {
32
+ type: 'null';
33
+ };
34
+ export declare type StandardChoiceFormState = {
35
+ handleSubmitFn: (standardChoiceFormSignature: string) => Promise<void>;
36
+ fundName: string;
37
+ fundDetails: FundDetails;
38
+ promotedFundId?: string;
39
+ };
40
+ export declare const initial: StandardChoiceFormState;
41
+ declare const state: StandardChoiceFormState;
42
+ export default state;
@@ -0,0 +1,27 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ import { LocationSegments, RouterHistory } from '@stencil/router';
3
+ export declare type InitialisedWith = {
4
+ accountIdOrDefault: string;
5
+ partnerIdOrDefault: string;
6
+ profileId: string;
7
+ };
8
+ export declare class SuperSelectionApp {
9
+ ignoreExistingSelection?: boolean;
10
+ accessToken: string;
11
+ backendUrl?: string;
12
+ appBaseUrl?: string;
13
+ history: RouterHistory;
14
+ location?: LocationSegments;
15
+ isSelfHosted: boolean;
16
+ stepSubmitSuccess: EventEmitter<void>;
17
+ successPageAcknowledged: EventEmitter<void>;
18
+ initialised: EventEmitter<InitialisedWith>;
19
+ private isAppInitialised;
20
+ componentWillLoad(): Promise<void>;
21
+ componentDidLoad(): Promise<void>;
22
+ authTokenChanged(newValue: string): void;
23
+ onRouteChange(): void;
24
+ render(): Element[];
25
+ private routerBaseUrl;
26
+ private renderAppContent;
27
+ }