@flarehr/apollo-super-selection 1.3.23524 → 1.3.23680

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/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-14885f78.system.js +15 -0
  8. package/dist/lib/apollo-super-selection/p-15f0e5eb.system.js +1 -0
  9. package/dist/lib/apollo-super-selection/p-22939048.system.entry.js +1 -0
  10. package/dist/lib/apollo-super-selection/p-24d6e2b8.js +1 -0
  11. package/dist/lib/apollo-super-selection/p-29c11183.js +15 -0
  12. package/dist/lib/apollo-super-selection/p-2b42304a.system.entry.js +1 -0
  13. package/dist/lib/apollo-super-selection/p-33eca162.entry.js +1 -0
  14. package/dist/lib/apollo-super-selection/p-4e871154.entry.js +1 -0
  15. package/dist/lib/apollo-super-selection/p-50ea2036.system.js +1 -0
  16. package/dist/lib/apollo-super-selection/p-53b231f0.system.entry.js +1 -0
  17. package/dist/lib/apollo-super-selection/p-5c73c587.entry.js +1 -0
  18. package/dist/lib/apollo-super-selection/p-5e00b8d8.system.entry.js +69 -0
  19. package/dist/lib/apollo-super-selection/p-69bbf1dd.entry.js +1 -0
  20. package/dist/lib/apollo-super-selection/p-71ca4cf8.system.js +1 -0
  21. package/dist/lib/apollo-super-selection/p-86e3e03f.js +1 -0
  22. package/dist/lib/apollo-super-selection/p-97188c78.system.js +1 -0
  23. package/dist/lib/apollo-super-selection/p-9d2a7c0e.entry.js +1 -0
  24. package/dist/lib/apollo-super-selection/p-9f64929e.entry.js +14 -0
  25. package/dist/lib/apollo-super-selection/p-a0063575.system.entry.js +1 -0
  26. package/dist/lib/apollo-super-selection/p-b00f648b.entry.js +1 -0
  27. package/dist/lib/apollo-super-selection/p-bd6e6a8f.system.js +1 -0
  28. package/dist/lib/apollo-super-selection/p-c775c0e4.system.entry.js +1 -0
  29. package/dist/lib/apollo-super-selection/p-cd3ed541.system.js +1 -0
  30. package/dist/lib/apollo-super-selection/p-db0bded8.js +1 -0
  31. package/dist/lib/apollo-super-selection/p-e957b393.system.entry.js +1 -0
  32. package/dist/lib/apollo-super-selection/p-fdadb647.js +1 -0
  33. package/dist/lib/cjs/active-router-1f555f75.js +75 -0
  34. package/dist/lib/cjs/apollo-super-selection.cjs.js +22 -0
  35. package/dist/lib/cjs/app-globals-b1125d8c.js +25 -0
  36. package/dist/lib/cjs/context-consumer.cjs.entry.js +29 -0
  37. package/dist/lib/cjs/custom-fund-choice.api-293c1ace.js +3209 -0
  38. package/dist/lib/cjs/datorama-akita-6c9cb8fb.js +3641 -0
  39. package/dist/lib/cjs/index-eb4f212f.js +1766 -0
  40. package/dist/lib/cjs/index.cjs.js +2 -0
  41. package/dist/lib/cjs/loader.cjs.js +24 -0
  42. package/dist/lib/cjs/sss-button_32.cjs.entry.js +14934 -0
  43. package/dist/lib/cjs/sss-super-byof-host.cjs.entry.js +111 -0
  44. package/dist/lib/cjs/stencil-async-content.cjs.entry.js +32 -0
  45. package/dist/lib/cjs/stencil-route-title.cjs.entry.js +32 -0
  46. package/dist/lib/cjs/stencil-router-prompt.cjs.entry.js +59 -0
  47. package/dist/lib/cjs/stencil-router-redirect.cjs.entry.js +32 -0
  48. package/dist/lib/collection/apollo-super-selection.css +1 -0
  49. package/dist/lib/collection/collection-manifest.json +98 -0
  50. package/dist/lib/collection/components/app-host/loading-page.js +9 -0
  51. package/dist/lib/collection/components/app-host/services/app-configuration.query.js +18 -0
  52. package/dist/lib/collection/components/app-host/services/app-configuration.service.js +25 -0
  53. package/dist/lib/collection/components/app-host/services/app-parameters.query.js +13 -0
  54. package/dist/lib/collection/components/app-host/services/app-parameters.service.js +14 -0
  55. package/dist/lib/collection/components/app-host/services/appinsights.service.js +46 -0
  56. package/dist/lib/collection/components/app-host/services/authentication.query.js +21 -0
  57. package/dist/lib/collection/components/app-host/services/authentication.service.js +50 -0
  58. package/dist/lib/collection/components/app-host/services/interop/host-interop.service.js +31 -0
  59. package/dist/lib/collection/components/app-host/services/interop/iframe-interop.service.js +30 -0
  60. package/dist/lib/collection/components/app-host/services/interop/react-native-interop.service.js +20 -0
  61. package/dist/lib/collection/components/app-host/services/interop.query.js +26 -0
  62. package/dist/lib/collection/components/app-host/services/session.store.js +38 -0
  63. package/dist/lib/collection/components/app-host/super-selection-app-host.css +24 -0
  64. package/dist/lib/collection/components/app-host/super-selection-app-host.js +87 -0
  65. package/dist/lib/collection/components/external-loading-page/external-loading-page.js +29 -0
  66. package/dist/lib/collection/components/super-byof/super-byof-types.js +1 -0
  67. package/dist/lib/collection/components/super-byof/super-byof.form.js +1 -0
  68. package/dist/lib/collection/components/super-byof/super-byof.js +139 -0
  69. package/dist/lib/collection/components/super-campaign/fund-tile-clicked.handler.js +49 -0
  70. package/dist/lib/collection/components/super-campaign/promoted-fund-joined.handler.js +121 -0
  71. package/dist/lib/collection/components/super-campaign/super-campaign-types.js +6 -0
  72. package/dist/lib/collection/components/super-campaign/super-campaign.js +210 -0
  73. package/dist/lib/collection/components/super-selection-app/api/api-client.js +14 -0
  74. package/dist/lib/collection/components/super-selection-app/api/event-tracking.api.js +9 -0
  75. package/dist/lib/collection/components/super-selection-app/api/super-campaign-errors-api.js +9 -0
  76. package/dist/lib/collection/components/super-selection-app/api/super-campaign-errors.api.dtos.js +1 -0
  77. package/dist/lib/collection/components/super-selection-app/api/super-selection-events.model.js +16 -0
  78. package/dist/lib/collection/components/super-selection-app/api/super-selection.api.dto.js +179 -0
  79. package/dist/lib/collection/components/super-selection-app/api/super-selection.api.js +69 -0
  80. package/dist/lib/collection/components/super-selection-app/app-state-pages/success.js +36 -0
  81. package/dist/lib/collection/components/super-selection-app/assets/icon-exclamation.svg +3 -0
  82. package/dist/lib/collection/components/super-selection-app/assets/icon-information-circle.svg +3 -0
  83. package/dist/lib/collection/components/super-selection-app/choice/choice-router.js +42 -0
  84. package/dist/lib/collection/components/super-selection-app/existing-choice/existing-choice.js +163 -0
  85. package/dist/lib/collection/components/super-selection-app/footer-section/footer-section.js +39 -0
  86. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.dto.js +1 -0
  87. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.js +50 -0
  88. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/custom-fund.js +109 -0
  89. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/custom-fund.store.js +36 -0
  90. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/default-fund/default-fund.js +114 -0
  91. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/featured-funds/super-campaign-featured-funds.js +113 -0
  92. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/featured-funds/super-campaign-featured-funds.types.js +1 -0
  93. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/member-name-input.js +162 -0
  94. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-engagement-step-types.js +1 -0
  95. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-engagement-step.js +115 -0
  96. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/abn-validation.js +11 -0
  97. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/bankBsbNumbers.js +111 -0
  98. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/smsf-engagement-step-host.js +161 -0
  99. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/smsf-engagement-step-types.js +1 -0
  100. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api.dto.js +1 -0
  101. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api.js +31 -0
  102. package/dist/lib/collection/components/super-selection-app/funds/slate-super/api/slate-choice.api.dto.js +1 -0
  103. package/dist/lib/collection/components/super-selection-app/funds/slate-super/api/slate-choice.api.js +13 -0
  104. package/dist/lib/collection/components/super-selection-app/funds/slate-super/api/slate.js +4 -0
  105. package/dist/lib/collection/components/super-selection-app/header-section/header-section.js +37 -0
  106. package/dist/lib/collection/components/super-selection-app/misc/button.js +195 -0
  107. package/dist/lib/collection/components/super-selection-app/misc/dropdown-async.css +7 -0
  108. package/dist/lib/collection/components/super-selection-app/misc/dropdown-async.js +390 -0
  109. package/dist/lib/collection/components/super-selection-app/misc/loading-indicator.js +52 -0
  110. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-common.js +22 -0
  111. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-display-field.js +42 -0
  112. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-error-box.js +66 -0
  113. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-invalid-my-own-fund.js +121 -0
  114. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-invalid-smsf.js +145 -0
  115. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-my-own-fund.js +223 -0
  116. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-smsf.js +398 -0
  117. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-types.js +288 -0
  118. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-warning-box.js +37 -0
  119. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill.js +81 -0
  120. package/dist/lib/collection/components/super-selection-app/services/australian-fund-lookup.service.js +15 -0
  121. package/dist/lib/collection/components/super-selection-app/services/event-tracking.service.js +117 -0
  122. package/dist/lib/collection/components/super-selection-app/services/existing-super-choice-info.service.js +134 -0
  123. package/dist/lib/collection/components/super-selection-app/services/misc.service.js +7 -0
  124. package/dist/lib/collection/components/super-selection-app/services/navigation.service.js +31 -0
  125. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.routes.js +38 -0
  126. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +171 -0
  127. package/dist/lib/collection/components/super-selection-app/services/super-selection.store.js +45 -0
  128. package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.js +155 -0
  129. package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.store.js +11 -0
  130. package/dist/lib/collection/components/super-selection-app/super-selection-app.css +27 -0
  131. package/dist/lib/collection/components/super-selection-app/super-selection-app.js +291 -0
  132. package/dist/lib/collection/components/super-smsf/super-smsf-types.js +1 -0
  133. package/dist/lib/collection/components/super-smsf/super-smsf.form.js +1 -0
  134. package/dist/lib/collection/components/super-smsf/super-smsf.js +166 -0
  135. package/dist/lib/collection/global/init-host.js +25 -0
  136. package/dist/lib/collection/global/main.dev.js +29 -0
  137. package/dist/lib/collection/global/main.js +11 -0
  138. package/dist/lib/collection/global/stencil-router-workaround.js +12 -0
  139. package/dist/lib/collection/index.js +2 -0
  140. package/dist/lib/collection/utils/config.js +2 -0
  141. package/dist/lib/collection/utils/gtm.js +5 -0
  142. package/dist/lib/collection/utils/iframe.js +33 -0
  143. package/dist/lib/collection/utils/index.js +11 -0
  144. package/dist/lib/collection/utils/lazy.js +29 -0
  145. package/dist/lib/collection/utils/storage.js +5 -0
  146. package/dist/lib/esm/active-router-d18b36fb.js +73 -0
  147. package/dist/lib/esm/apollo-super-selection.js +20 -0
  148. package/dist/lib/esm/app-globals-c1f89805.js +23 -0
  149. package/dist/lib/esm/context-consumer.entry.js +25 -0
  150. package/dist/lib/esm/custom-fund-choice.api-42801d64.js +3188 -0
  151. package/dist/lib/esm/datorama-akita-127aea91.js +3624 -0
  152. package/dist/lib/esm/index-107d7c24.js +1732 -0
  153. package/dist/lib/esm/index.js +1 -0
  154. package/dist/lib/esm/loader.js +20 -0
  155. package/dist/lib/esm/polyfills/core-js.js +11 -0
  156. package/dist/lib/esm/polyfills/css-shim.js +1 -0
  157. package/dist/lib/esm/polyfills/dom.js +79 -0
  158. package/dist/lib/esm/polyfills/es5-html-element.js +1 -0
  159. package/dist/lib/esm/polyfills/index.js +34 -0
  160. package/dist/lib/esm/polyfills/system.js +6 -0
  161. package/dist/lib/esm/sss-button_32.entry.js +14879 -0
  162. package/dist/lib/esm/sss-super-byof-host.entry.js +107 -0
  163. package/dist/lib/esm/stencil-async-content.entry.js +28 -0
  164. package/dist/lib/esm/stencil-route-title.entry.js +28 -0
  165. package/dist/lib/esm/stencil-router-prompt.entry.js +55 -0
  166. package/dist/lib/esm/stencil-router-redirect.entry.js +28 -0
  167. package/dist/lib/esm-es5/active-router-d18b36fb.js +1 -0
  168. package/dist/lib/esm-es5/apollo-super-selection.js +1 -0
  169. package/dist/lib/esm-es5/app-globals-c1f89805.js +1 -0
  170. package/dist/lib/esm-es5/context-consumer.entry.js +1 -0
  171. package/dist/lib/esm-es5/custom-fund-choice.api-42801d64.js +1 -0
  172. package/dist/lib/esm-es5/datorama-akita-127aea91.js +15 -0
  173. package/dist/lib/esm-es5/index-107d7c24.js +1 -0
  174. package/dist/lib/esm-es5/index.js +0 -0
  175. package/dist/lib/esm-es5/loader.js +1 -0
  176. package/dist/lib/esm-es5/sss-button_32.entry.js +69 -0
  177. package/dist/lib/esm-es5/sss-super-byof-host.entry.js +1 -0
  178. package/dist/lib/esm-es5/stencil-async-content.entry.js +1 -0
  179. package/dist/lib/esm-es5/stencil-route-title.entry.js +1 -0
  180. package/dist/lib/esm-es5/stencil-router-prompt.entry.js +1 -0
  181. package/dist/lib/esm-es5/stencil-router-redirect.entry.js +1 -0
  182. package/dist/lib/index.cjs.js +1 -0
  183. package/dist/lib/index.js +1 -0
  184. package/dist/lib/loader/cdn.js +3 -0
  185. package/dist/lib/loader/index.cjs.js +3 -0
  186. package/dist/lib/loader/index.d.ts +13 -0
  187. package/dist/lib/loader/index.es2017.js +3 -0
  188. package/dist/lib/loader/index.js +4 -0
  189. package/dist/lib/loader/package.json +10 -0
  190. package/dist/lib/node_modules/@stencil/router/dist/collection/components/route/route.css +3 -0
  191. package/dist/lib/types/components/app-host/loading-page.d.ts +3 -0
  192. package/dist/lib/types/components/app-host/services/app-configuration.query.d.ts +11 -0
  193. package/dist/lib/types/components/app-host/services/app-configuration.service.d.ts +9 -0
  194. package/dist/lib/types/components/app-host/services/app-parameters.query.d.ts +10 -0
  195. package/dist/lib/types/components/app-host/services/app-parameters.service.d.ts +6 -0
  196. package/dist/lib/types/components/app-host/services/appinsights.service.d.ts +15 -0
  197. package/dist/lib/types/components/app-host/services/authentication.query.d.ts +13 -0
  198. package/dist/lib/types/components/app-host/services/authentication.service.d.ts +9 -0
  199. package/dist/lib/types/components/app-host/services/interop/host-interop.service.d.ts +7 -0
  200. package/dist/lib/types/components/app-host/services/interop/iframe-interop.service.d.ts +5 -0
  201. package/dist/lib/types/components/app-host/services/interop/react-native-interop.service.d.ts +7 -0
  202. package/dist/lib/types/components/app-host/services/interop.query.d.ts +11 -0
  203. package/dist/lib/types/components/app-host/services/session.store.d.ts +31 -0
  204. package/dist/lib/types/components/app-host/super-selection-app-host.d.ts +15 -0
  205. package/dist/lib/types/components/super-byof/super-byof-types.d.ts +26 -0
  206. package/dist/lib/types/components/super-byof/super-byof.d.ts +19 -0
  207. package/dist/lib/types/components/super-byof/super-byof.form.d.ts +6 -0
  208. package/dist/lib/types/components/super-campaign/fund-tile-clicked.handler.d.ts +12 -0
  209. package/dist/lib/types/components/super-campaign/promoted-fund-joined.handler.d.ts +15 -0
  210. package/dist/lib/types/components/super-campaign/super-campaign-types.d.ts +98 -0
  211. package/dist/lib/types/components/super-campaign/super-campaign.d.ts +27 -0
  212. package/dist/lib/types/components/super-selection-app/api/api-client.d.ts +2 -0
  213. package/dist/lib/types/components/super-selection-app/api/event-tracking.api.d.ts +6 -0
  214. package/dist/lib/types/components/super-selection-app/api/super-campaign-errors-api.d.ts +6 -0
  215. package/dist/lib/types/components/super-selection-app/api/super-campaign-errors.api.dtos.d.ts +7 -0
  216. package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +171 -0
  217. package/dist/lib/types/components/super-selection-app/api/super-selection.api.d.ts +16 -0
  218. package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +248 -0
  219. package/dist/lib/types/components/super-selection-app/app-state-pages/success.d.ts +7 -0
  220. package/dist/lib/types/components/super-selection-app/choice/choice-router.d.ts +6 -0
  221. package/dist/lib/types/components/super-selection-app/existing-choice/existing-choice.d.ts +12 -0
  222. package/dist/lib/types/components/super-selection-app/footer-section/footer-section.d.ts +5 -0
  223. package/dist/lib/types/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.d.ts +10 -0
  224. package/dist/lib/types/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.dto.d.ts +43 -0
  225. package/dist/lib/types/components/super-selection-app/funds/custom-fund/custom-fund.d.ts +9 -0
  226. package/dist/lib/types/components/super-selection-app/funds/custom-fund/custom-fund.store.d.ts +27 -0
  227. package/dist/lib/types/components/super-selection-app/funds/custom-fund/default-fund/default-fund.d.ts +13 -0
  228. package/dist/lib/types/components/super-selection-app/funds/custom-fund/featured-funds/super-campaign-featured-funds.d.ts +18 -0
  229. package/dist/lib/types/components/super-selection-app/funds/custom-fund/featured-funds/super-campaign-featured-funds.types.d.ts +26 -0
  230. package/dist/lib/types/components/super-selection-app/funds/custom-fund/member-name-input.d.ts +14 -0
  231. package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-engagement-step-types.d.ts +15 -0
  232. package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-engagement-step.d.ts +20 -0
  233. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/abn-validation.d.ts +1 -0
  234. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/bankBsbNumbers.d.ts +112 -0
  235. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/smsf-engagement-step-host.d.ts +28 -0
  236. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/smsf-engagement-step-types.d.ts +15 -0
  237. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api.d.ts +8 -0
  238. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api.dto.d.ts +23 -0
  239. package/dist/lib/types/components/super-selection-app/funds/slate-super/api/slate-choice.api.d.ts +6 -0
  240. package/dist/lib/types/components/super-selection-app/funds/slate-super/api/slate-choice.api.dto.d.ts +9 -0
  241. package/dist/lib/types/components/super-selection-app/funds/slate-super/api/slate.d.ts +4 -0
  242. package/dist/lib/types/components/super-selection-app/header-section/header-section.d.ts +3 -0
  243. package/dist/lib/types/components/super-selection-app/misc/button.d.ts +14 -0
  244. package/dist/lib/types/components/super-selection-app/misc/dropdown-async.d.ts +52 -0
  245. package/dist/lib/types/components/super-selection-app/misc/loading-indicator.d.ts +5 -0
  246. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-common.d.ts +9 -0
  247. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-display-field.d.ts +5 -0
  248. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-error-box.d.ts +5 -0
  249. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-invalid-my-own-fund.d.ts +18 -0
  250. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-invalid-smsf.d.ts +28 -0
  251. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-my-own-fund.d.ts +30 -0
  252. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-smsf.d.ts +52 -0
  253. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-types.d.ts +95 -0
  254. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-warning-box.d.ts +4 -0
  255. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill.d.ts +14 -0
  256. package/dist/lib/types/components/super-selection-app/services/australian-fund-lookup.service.d.ts +8 -0
  257. package/dist/lib/types/components/super-selection-app/services/event-tracking.service.d.ts +25 -0
  258. package/dist/lib/types/components/super-selection-app/services/existing-super-choice-info.service.d.ts +75 -0
  259. package/dist/lib/types/components/super-selection-app/services/misc.service.d.ts +6 -0
  260. package/dist/lib/types/components/super-selection-app/services/navigation.service.d.ts +17 -0
  261. package/dist/lib/types/components/super-selection-app/services/super-selection-app.routes.d.ts +19 -0
  262. package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts +43 -0
  263. package/dist/lib/types/components/super-selection-app/services/super-selection.store.d.ts +37 -0
  264. package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.d.ts +16 -0
  265. package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.store.d.ts +42 -0
  266. package/dist/lib/types/components/super-selection-app/super-selection-app.d.ts +27 -0
  267. package/dist/lib/types/components/super-smsf/super-smsf-types.d.ts +34 -0
  268. package/dist/lib/types/components/super-smsf/super-smsf.d.ts +20 -0
  269. package/dist/lib/types/components/super-smsf/super-smsf.form.d.ts +15 -0
  270. package/dist/lib/types/components.d.ts +522 -0
  271. package/dist/lib/types/global/init-host.d.ts +1 -0
  272. package/dist/lib/types/global/main.d.ts +1 -0
  273. package/dist/lib/types/global/main.dev.d.ts +1 -0
  274. package/dist/lib/types/global/stencil-router-workaround.d.ts +1 -0
  275. package/dist/lib/types/index.d.ts +2 -0
  276. package/dist/lib/types/stencil-public-runtime.d.ts +1555 -0
  277. package/dist/lib/types/utils/config.d.ts +2 -0
  278. package/dist/lib/types/utils/gtm.d.ts +7 -0
  279. package/dist/lib/types/utils/iframe.d.ts +13 -0
  280. package/dist/lib/types/utils/index.d.ts +4 -0
  281. package/dist/lib/types/utils/lazy.d.ts +12 -0
  282. package/dist/lib/types/utils/storage.d.ts +4 -0
  283. package/package.json +1 -1
@@ -0,0 +1,195 @@
1
+ import { Component, h, Prop, State } from '@stencil/core';
2
+ var PromiseButtonState;
3
+ (function (PromiseButtonState) {
4
+ PromiseButtonState[PromiseButtonState["Available"] = 0] = "Available";
5
+ PromiseButtonState[PromiseButtonState["Pending"] = 1] = "Pending";
6
+ PromiseButtonState[PromiseButtonState["Error"] = 2] = "Error";
7
+ })(PromiseButtonState || (PromiseButtonState = {}));
8
+ export class Button {
9
+ constructor() {
10
+ this.fillWidth = false;
11
+ this.fillWidthOnMobile = false;
12
+ this.disabled = false;
13
+ this.variant = 'primary';
14
+ this.size = 'base';
15
+ this.promiseFn = () => Promise.resolve();
16
+ // eslint-disable-next-line @typescript-eslint/member-ordering
17
+ this.state = PromiseButtonState.Available;
18
+ }
19
+ render() {
20
+ const sizeCss = {
21
+ xs: 'px-2.5 py-1.5 text-xs',
22
+ base: 'px-4 py-2 text-base',
23
+ xl: 'px-6 py-3 text-base'
24
+ };
25
+ return (h("button", { "data-testid": this.testid, class: {
26
+ [sizeCss[this.size]]: true,
27
+ 'inline-flex items-center justify-center border font-medium': true,
28
+ 'rounded-md shadow-sm focus:outline-none focus:ring-2': true,
29
+ 'focus:ring-offset-2 focus:ring-primary-focus pointer-events-auto': true,
30
+ 'disabled:pointer-events-none disabled:border-gray-300 disabled:bg-gray-100 disabled:text-gray-400': true,
31
+ 'border-transparent text-white bg-primary-base hover:bg-primary-hover': this.variant === 'primary',
32
+ 'border-gray-300 text-gray-700 bg-white hover:bg-gray-50': this.variant === 'secondary',
33
+ 'border-transparent bg-primary-light hover:bg-primary-base text-primary-dark hover:text-white': this.variant === 'light',
34
+ 'w-full': this.fillWidth || this.fillWidthOnMobile,
35
+ 'sm:w-auto': this.fillWidthOnMobile
36
+ }, disabled: this.disabled, onClick: () => this.clicked() },
37
+ this.state === PromiseButtonState.Pending && (h("sss-loading-indicator", { theme: this.variant === 'primary' ? 'light' : 'primary', size: 16 })),
38
+ h("div", { class: { hidden: this.state === PromiseButtonState.Pending } },
39
+ h("slot", null))));
40
+ }
41
+ async clicked() {
42
+ if (!this.promiseFn || this.state === PromiseButtonState.Pending)
43
+ return;
44
+ try {
45
+ this.state = PromiseButtonState.Pending;
46
+ await this.promiseFn();
47
+ this.state = PromiseButtonState.Available;
48
+ }
49
+ catch (err) {
50
+ this.state = PromiseButtonState.Error;
51
+ throw err;
52
+ }
53
+ }
54
+ static get is() { return "sss-button"; }
55
+ static get properties() { return {
56
+ "testid": {
57
+ "type": "string",
58
+ "mutable": false,
59
+ "complexType": {
60
+ "original": "string",
61
+ "resolved": "string",
62
+ "references": {}
63
+ },
64
+ "required": false,
65
+ "optional": false,
66
+ "docs": {
67
+ "tags": [],
68
+ "text": ""
69
+ },
70
+ "attribute": "testid",
71
+ "reflect": false
72
+ },
73
+ "fillWidth": {
74
+ "type": "boolean",
75
+ "mutable": false,
76
+ "complexType": {
77
+ "original": "boolean",
78
+ "resolved": "boolean",
79
+ "references": {}
80
+ },
81
+ "required": false,
82
+ "optional": false,
83
+ "docs": {
84
+ "tags": [],
85
+ "text": ""
86
+ },
87
+ "attribute": "fill-width",
88
+ "reflect": false,
89
+ "defaultValue": "false"
90
+ },
91
+ "fillWidthOnMobile": {
92
+ "type": "boolean",
93
+ "mutable": false,
94
+ "complexType": {
95
+ "original": "boolean",
96
+ "resolved": "boolean",
97
+ "references": {}
98
+ },
99
+ "required": false,
100
+ "optional": false,
101
+ "docs": {
102
+ "tags": [],
103
+ "text": ""
104
+ },
105
+ "attribute": "fill-width-on-mobile",
106
+ "reflect": false,
107
+ "defaultValue": "false"
108
+ },
109
+ "disabled": {
110
+ "type": "boolean",
111
+ "mutable": false,
112
+ "complexType": {
113
+ "original": "boolean",
114
+ "resolved": "boolean",
115
+ "references": {}
116
+ },
117
+ "required": false,
118
+ "optional": false,
119
+ "docs": {
120
+ "tags": [],
121
+ "text": ""
122
+ },
123
+ "attribute": "disabled",
124
+ "reflect": false,
125
+ "defaultValue": "false"
126
+ },
127
+ "variant": {
128
+ "type": "string",
129
+ "mutable": false,
130
+ "complexType": {
131
+ "original": "ButtonVariant",
132
+ "resolved": "\"light\" | \"primary\" | \"secondary\"",
133
+ "references": {
134
+ "ButtonVariant": {
135
+ "location": "local"
136
+ }
137
+ }
138
+ },
139
+ "required": false,
140
+ "optional": false,
141
+ "docs": {
142
+ "tags": [],
143
+ "text": ""
144
+ },
145
+ "attribute": "variant",
146
+ "reflect": false,
147
+ "defaultValue": "'primary'"
148
+ },
149
+ "size": {
150
+ "type": "string",
151
+ "mutable": false,
152
+ "complexType": {
153
+ "original": "ButtonSize",
154
+ "resolved": "\"base\" | \"xl\" | \"xs\"",
155
+ "references": {
156
+ "ButtonSize": {
157
+ "location": "local"
158
+ }
159
+ }
160
+ },
161
+ "required": false,
162
+ "optional": false,
163
+ "docs": {
164
+ "tags": [],
165
+ "text": ""
166
+ },
167
+ "attribute": "size",
168
+ "reflect": false,
169
+ "defaultValue": "'base'"
170
+ },
171
+ "promiseFn": {
172
+ "type": "unknown",
173
+ "mutable": false,
174
+ "complexType": {
175
+ "original": "() => Promise<unknown>",
176
+ "resolved": "(() => Promise<unknown>) | undefined",
177
+ "references": {
178
+ "Promise": {
179
+ "location": "global"
180
+ }
181
+ }
182
+ },
183
+ "required": false,
184
+ "optional": true,
185
+ "docs": {
186
+ "tags": [],
187
+ "text": ""
188
+ },
189
+ "defaultValue": "() => Promise.resolve()"
190
+ }
191
+ }; }
192
+ static get states() { return {
193
+ "state": {}
194
+ }; }
195
+ }
@@ -0,0 +1,7 @@
1
+ html {
2
+ scroll-behavior: smooth;
3
+ }
4
+
5
+ .sss-dropdown-menu {
6
+ max-height: min(20rem, 50vh);
7
+ }
@@ -0,0 +1,390 @@
1
+ import { Component, Event, h, Host, Listen, Prop, State } from '@stencil/core';
2
+ import { fromEvent } from 'rxjs';
3
+ import { debounceTime, distinctUntilChanged, filter, map, mergeMap, tap } from 'rxjs/operators';
4
+ import { assertExhaustive } from '../../../utils';
5
+ const DEFAULT_SEARCH_LENGTH = 3;
6
+ export class SelectInputAsync {
7
+ constructor() {
8
+ this.required = false;
9
+ this.disabled = false;
10
+ this.minSearchStringLength = DEFAULT_SEARCH_LENGTH;
11
+ this.isMouseOver = false;
12
+ this.searchState = 'pristine';
13
+ this.inputValue = '';
14
+ this.isDropdownVisible = false;
15
+ this.filteredOptions = [];
16
+ this.shouldExecuteSearch = (searchQuery) => {
17
+ var _a;
18
+ return (this.isDropdownVisible &&
19
+ (searchQuery === null || searchQuery === void 0 ? void 0 : searchQuery.length) >= this.minSearchStringLength &&
20
+ ((_a = this.selectedOption) === null || _a === void 0 ? void 0 : _a.label) !== searchQuery);
21
+ };
22
+ this.onBeginSearch = (searchQuery) => {
23
+ this.inputValue = searchQuery;
24
+ this.searchState = 'in progress';
25
+ };
26
+ this.onCompleteSearch = (result) => {
27
+ this.highlightedOptionIndex = undefined;
28
+ switch (result.kind) {
29
+ case 'too-many-results':
30
+ this.searchState = 'too many results';
31
+ this.filteredOptions = [];
32
+ break;
33
+ case 'success':
34
+ this.searchState = 'done';
35
+ this.filteredOptions = result.value;
36
+ break;
37
+ default:
38
+ assertExhaustive(result);
39
+ this.searchState = 'done';
40
+ this.filteredOptions = [];
41
+ break;
42
+ }
43
+ };
44
+ this.renderFilteredResults = () => {
45
+ if (this.searchState === 'pristine') {
46
+ return (h("span", { class: "cursor-pointer text-gray-500 py-1.5 pl-4" }, "Start typing to find the results"));
47
+ }
48
+ if (this.searchState === 'in progress') {
49
+ return h("span", { class: "cursor-pointer text-gray-500 py-1.5 pl-4" }, "Searching...");
50
+ }
51
+ if (this.searchState === 'too many results') {
52
+ return (h("span", { class: "cursor-pointer text-gray-500 py-1.5 pl-4" }, "Keep typing to narrow down your search."));
53
+ }
54
+ if (this.filteredOptions.length === 0) {
55
+ return (h("span", { class: "cursor-pointer text-gray-500 py-1.5 pl-4" }, "No items match your search"));
56
+ }
57
+ return this.filteredOptions.map((option, index) => (h("div", { class: {
58
+ 'cursor-pointer text-wrap hover:bg-primary-base py-1.5 pl-4': true,
59
+ 'bg-primary-base': this.isOptionSelected(option)
60
+ }, onClick: (_event) => {
61
+ this.highlightedOptionIndex = index;
62
+ this.toggleDropdown(false);
63
+ this.selectOption(option);
64
+ } }, option.label)));
65
+ };
66
+ this.resetInput = () => {
67
+ var _a, _b;
68
+ this.inputValue = (_b = (_a = this.selectedOption) === null || _a === void 0 ? void 0 : _a.label) !== null && _b !== void 0 ? _b : '';
69
+ };
70
+ this.toggleDropdown = (newState) => {
71
+ this.isDropdownVisible = newState;
72
+ };
73
+ this.processKeyboardNavigation = (event) => {
74
+ const ENTER_KEY = 'Enter';
75
+ const DOWN_KEY = 'ArrowDown';
76
+ const UP_KEY = 'ArrowUp';
77
+ const ESC_KEY = 'Escape';
78
+ switch (event.key) {
79
+ case DOWN_KEY:
80
+ this.toggleDropdown(true);
81
+ this.highlightItem('Next');
82
+ return true;
83
+ case UP_KEY:
84
+ this.highlightItem('Prev');
85
+ return true;
86
+ case ENTER_KEY:
87
+ if (this.highlightedOptionIndex !== undefined) {
88
+ this.toggleDropdown(false);
89
+ this.selectOption(this.filteredOptions[this.highlightedOptionIndex]);
90
+ }
91
+ return true;
92
+ case ESC_KEY:
93
+ this.inputElement.blur();
94
+ return true;
95
+ }
96
+ return false;
97
+ };
98
+ this.highlightItem = (direction) => {
99
+ const step = direction === 'Next' ? 1 : -1;
100
+ if (this.filteredOptions.length === 0) {
101
+ return;
102
+ }
103
+ this.highlightedOptionIndex =
104
+ this.highlightedOptionIndex === undefined
105
+ ? 0
106
+ : Math.min(Math.max(0, this.highlightedOptionIndex + step), this.filteredOptions.length - 1);
107
+ if (this.highlightedOptionIndex !== undefined)
108
+ this.selectOption(this.filteredOptions[this.highlightedOptionIndex]);
109
+ };
110
+ this.selectOption = (option) => {
111
+ this.selectedOption = option;
112
+ this.inputValue = option.label;
113
+ this.valueChanged.emit(option);
114
+ };
115
+ this.isOptionSelected = (option) => {
116
+ var _a;
117
+ return ((_a = this.selectedOption) === null || _a === void 0 ? void 0 : _a.label) === option.label;
118
+ };
119
+ }
120
+ componentWillLoad() {
121
+ this.selectedOption = this.value;
122
+ }
123
+ componentDidLoad() {
124
+ this.searchResultsSubscription = fromEvent(this.inputElement, 'keyup')
125
+ .pipe(debounceTime(500), map((_) => this.inputElement.value), distinctUntilChanged(), filter(this.shouldExecuteSearch), tap(this.onBeginSearch), mergeMap(this._searchFunction), tap(this.onCompleteSearch))
126
+ .subscribe();
127
+ this.resetInput();
128
+ }
129
+ disconnectedCallback() {
130
+ this.searchResultsSubscription.unsubscribe();
131
+ }
132
+ handleFocus() {
133
+ this.toggleDropdown(true);
134
+ }
135
+ handleBlur() {
136
+ if (this.isMouseOver) {
137
+ return;
138
+ }
139
+ this.toggleDropdown(false);
140
+ this.resetInput();
141
+ }
142
+ handleKeyDown(event) {
143
+ if (this.processKeyboardNavigation(event)) {
144
+ event.preventDefault();
145
+ }
146
+ }
147
+ render() {
148
+ var _a;
149
+ return (h(Host, null,
150
+ h("div", { class: "relative" },
151
+ h("input", { "data-testid": this.testId, type: "text", class: {
152
+ 'shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md': true,
153
+ 'invalid:border-red-300 invalid:text-red-900 invalid:placeholder-red-300 invalid:focus:ring-red-500 invalid:focus:border-red-500': this
154
+ .showValidationErrors
155
+ }, placeholder: this.placeholder, required: this.required, disabled: this.disabled, value: this.inputValue, ref: (el) => (this.inputElement = el) }),
156
+ h("div", { class: {
157
+ 'invalid-feedback mt-2 text-sm text-red-600': true,
158
+ hidden: !this.isDropdownVisible
159
+ } }, (_a = this.requiredValidationMessage) !== null && _a !== void 0 ? _a : 'Required.'),
160
+ h("div", { class: {
161
+ 'sss-dropdown-menu absolute shadow rounded-md border mt-0.5 w-full overflow-auto bg-white z-50 py-2 text-sm': true,
162
+ hidden: !this.isDropdownVisible
163
+ }, onMouseEnter: (_event) => (this.isMouseOver = true), onMouseLeave: (_event) => (this.isMouseOver = false) }, this.renderFilteredResults()))));
164
+ }
165
+ get _searchFunction() {
166
+ if (this.searchFunction === undefined) {
167
+ throw new Error("Can't render <sss-dropdown-async/> component with no searchFunction");
168
+ }
169
+ return this.searchFunction;
170
+ }
171
+ static get is() { return "sss-dropdown-async"; }
172
+ static get originalStyleUrls() { return {
173
+ "$": ["dropdown-async.scss"]
174
+ }; }
175
+ static get styleUrls() { return {
176
+ "$": ["dropdown-async.css"]
177
+ }; }
178
+ static get properties() { return {
179
+ "testId": {
180
+ "type": "string",
181
+ "mutable": false,
182
+ "complexType": {
183
+ "original": "string",
184
+ "resolved": "string",
185
+ "references": {}
186
+ },
187
+ "required": false,
188
+ "optional": false,
189
+ "docs": {
190
+ "tags": [],
191
+ "text": ""
192
+ },
193
+ "attribute": "test-id",
194
+ "reflect": false
195
+ },
196
+ "placeholder": {
197
+ "type": "string",
198
+ "mutable": false,
199
+ "complexType": {
200
+ "original": "string",
201
+ "resolved": "string | undefined",
202
+ "references": {}
203
+ },
204
+ "required": false,
205
+ "optional": true,
206
+ "docs": {
207
+ "tags": [],
208
+ "text": ""
209
+ },
210
+ "attribute": "placeholder",
211
+ "reflect": false
212
+ },
213
+ "searchFunction": {
214
+ "type": "unknown",
215
+ "mutable": false,
216
+ "complexType": {
217
+ "original": "(query: string) => Promise<SearchResult<unknown>>",
218
+ "resolved": "((query: string) => Promise<SearchResult<unknown>>) | undefined",
219
+ "references": {
220
+ "Promise": {
221
+ "location": "global"
222
+ },
223
+ "SearchResult": {
224
+ "location": "local"
225
+ }
226
+ }
227
+ },
228
+ "required": false,
229
+ "optional": true,
230
+ "docs": {
231
+ "tags": [],
232
+ "text": ""
233
+ }
234
+ },
235
+ "value": {
236
+ "type": "unknown",
237
+ "mutable": false,
238
+ "complexType": {
239
+ "original": "SelectInputOption<unknown>",
240
+ "resolved": "undefined | { label: string; value: unknown; }",
241
+ "references": {
242
+ "SelectInputOption": {
243
+ "location": "local"
244
+ }
245
+ }
246
+ },
247
+ "required": false,
248
+ "optional": true,
249
+ "docs": {
250
+ "tags": [],
251
+ "text": ""
252
+ }
253
+ },
254
+ "required": {
255
+ "type": "boolean",
256
+ "mutable": false,
257
+ "complexType": {
258
+ "original": "boolean",
259
+ "resolved": "boolean",
260
+ "references": {}
261
+ },
262
+ "required": false,
263
+ "optional": false,
264
+ "docs": {
265
+ "tags": [],
266
+ "text": ""
267
+ },
268
+ "attribute": "required",
269
+ "reflect": false,
270
+ "defaultValue": "false"
271
+ },
272
+ "requiredValidationMessage": {
273
+ "type": "string",
274
+ "mutable": false,
275
+ "complexType": {
276
+ "original": "string",
277
+ "resolved": "string | undefined",
278
+ "references": {}
279
+ },
280
+ "required": false,
281
+ "optional": true,
282
+ "docs": {
283
+ "tags": [],
284
+ "text": ""
285
+ },
286
+ "attribute": "required-validation-message",
287
+ "reflect": false
288
+ },
289
+ "disabled": {
290
+ "type": "boolean",
291
+ "mutable": false,
292
+ "complexType": {
293
+ "original": "boolean",
294
+ "resolved": "boolean",
295
+ "references": {}
296
+ },
297
+ "required": false,
298
+ "optional": false,
299
+ "docs": {
300
+ "tags": [],
301
+ "text": ""
302
+ },
303
+ "attribute": "disabled",
304
+ "reflect": false,
305
+ "defaultValue": "false"
306
+ },
307
+ "minSearchStringLength": {
308
+ "type": "number",
309
+ "mutable": false,
310
+ "complexType": {
311
+ "original": "number",
312
+ "resolved": "number",
313
+ "references": {}
314
+ },
315
+ "required": false,
316
+ "optional": false,
317
+ "docs": {
318
+ "tags": [],
319
+ "text": ""
320
+ },
321
+ "attribute": "min-search-string-length",
322
+ "reflect": false,
323
+ "defaultValue": "DEFAULT_SEARCH_LENGTH"
324
+ },
325
+ "showValidationErrors": {
326
+ "type": "boolean",
327
+ "mutable": false,
328
+ "complexType": {
329
+ "original": "boolean",
330
+ "resolved": "boolean",
331
+ "references": {}
332
+ },
333
+ "required": false,
334
+ "optional": false,
335
+ "docs": {
336
+ "tags": [],
337
+ "text": ""
338
+ },
339
+ "attribute": "show-validation-errors",
340
+ "reflect": false
341
+ }
342
+ }; }
343
+ static get states() { return {
344
+ "searchState": {},
345
+ "inputValue": {},
346
+ "isDropdownVisible": {},
347
+ "filteredOptions": {},
348
+ "highlightedOptionIndex": {},
349
+ "selectedOption": {}
350
+ }; }
351
+ static get events() { return [{
352
+ "method": "valueChanged",
353
+ "name": "valueChanged",
354
+ "bubbles": true,
355
+ "cancelable": true,
356
+ "composed": true,
357
+ "docs": {
358
+ "tags": [],
359
+ "text": ""
360
+ },
361
+ "complexType": {
362
+ "original": "SelectInputOption<unknown>",
363
+ "resolved": "{ label: string; value: unknown; }",
364
+ "references": {
365
+ "SelectInputOption": {
366
+ "location": "local"
367
+ }
368
+ }
369
+ }
370
+ }]; }
371
+ static get listeners() { return [{
372
+ "name": "focus",
373
+ "method": "handleFocus",
374
+ "target": undefined,
375
+ "capture": true,
376
+ "passive": false
377
+ }, {
378
+ "name": "blur",
379
+ "method": "handleBlur",
380
+ "target": undefined,
381
+ "capture": true,
382
+ "passive": false
383
+ }, {
384
+ "name": "keydown",
385
+ "method": "handleKeyDown",
386
+ "target": undefined,
387
+ "capture": true,
388
+ "passive": false
389
+ }]; }
390
+ }
@@ -0,0 +1,52 @@
1
+ import { Component, h, Prop } from '@stencil/core';
2
+ export class LoadingIndicator {
3
+ constructor() {
4
+ this.theme = 'primary';
5
+ this.size = 48;
6
+ }
7
+ render() {
8
+ return (h("div", { class: "inline-block animate-spin" },
9
+ h("svg", { width: this.size, height: this.size, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
10
+ h("path", { d: "M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM1.99743 8C1.99743 11.3151 4.68487 14.0026 8 14.0026C11.3151 14.0026 14.0026 11.3151 14.0026 8C14.0026 4.68487 11.3151 1.99743 8 1.99743C4.68487 1.99743 1.99743 4.68487 1.99743 8Z", fill: "white", "fill-opacity": "0.3" }),
11
+ h("path", { d: "M8 1C8 0.447715 8.44943 -0.00643769 8.99741 0.0624193C9.70527 0.151368 10.3996 0.334798 11.0615 0.608964C12.0321 1.011 12.914 1.60028 13.6569 2.34315C14.3997 3.08602 14.989 3.96793 15.391 4.93853C15.6652 5.60043 15.8486 6.29473 15.9376 7.0026C16.0064 7.55057 15.5523 8 15 8C14.4477 8 14.0085 7.54925 13.9169 7.00462C13.842 6.55939 13.7169 6.12298 13.5433 5.7039C13.2417 4.97595 12.7998 4.31451 12.2426 3.75736C11.6855 3.20021 11.0241 2.75825 10.2961 2.45672C9.87702 2.28313 9.44061 2.15804 8.99538 2.08314C8.45075 1.99152 8 1.55228 8 1Z", class: this.theme === 'primary' ? 'fill-primary-base' : 'fill-white' }))));
12
+ }
13
+ static get is() { return "sss-loading-indicator"; }
14
+ static get properties() { return {
15
+ "theme": {
16
+ "type": "string",
17
+ "mutable": false,
18
+ "complexType": {
19
+ "original": "'primary' | 'light'",
20
+ "resolved": "\"light\" | \"primary\"",
21
+ "references": {}
22
+ },
23
+ "required": false,
24
+ "optional": false,
25
+ "docs": {
26
+ "tags": [],
27
+ "text": ""
28
+ },
29
+ "attribute": "theme",
30
+ "reflect": false,
31
+ "defaultValue": "'primary'"
32
+ },
33
+ "size": {
34
+ "type": "number",
35
+ "mutable": false,
36
+ "complexType": {
37
+ "original": "number",
38
+ "resolved": "number",
39
+ "references": {}
40
+ },
41
+ "required": false,
42
+ "optional": false,
43
+ "docs": {
44
+ "tags": [],
45
+ "text": ""
46
+ },
47
+ "attribute": "size",
48
+ "reflect": false,
49
+ "defaultValue": "48"
50
+ }
51
+ }; }
52
+ }
@@ -0,0 +1,22 @@
1
+ import { h } from '@stencil/core';
2
+ export function isNullOrWhitespace(value) {
3
+ return value == null || value.trim() === '';
4
+ }
5
+ export const DisabledField = (name, testId, value) => {
6
+ return (h("div", { class: "mt-3" },
7
+ h("label", { class: "text-sm font-medium text-gray-700" }, name),
8
+ h("div", { "data-testid": testId, class: "mt-1 shadow-sm px-3 py-2 rounded-md border border-gray-300 bg-gray-50 text-gray-500 text-base sm:text-sm" }, value)));
9
+ };
10
+ export const Header = () => {
11
+ return (h("div", null,
12
+ h("div", { class: "text-2xl sm:text-3xl font-bold text-center" }, "Your super nomination"),
13
+ h("div", { class: "sm:text-lg text-gray-600 mt-3 sm:mt-4 max-w-800 text-center leading-7" }, "Review or update the below super fund nomination details provided by your employer.")));
14
+ };
15
+ export class Style {
16
+ static Input(isValidated) {
17
+ return {
18
+ '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': true,
19
+ 'invalid:border-red-300 invalid:text-red-900 invalid:placeholder-red-300 invalid:focus:ring-red-500 invalid:focus:border-red-500': isValidated
20
+ };
21
+ }
22
+ }