@flarehr/apollo-super-selection 3.17.52781 → 3.21.53721
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.
- package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +1 -0
- package/dist/lib/apollo-super-selection/apollo-super-selection.js +130 -0
- package/dist/lib/apollo-super-selection/index.esm.js +0 -0
- package/dist/lib/apollo-super-selection/p-01a9f4a4.entry.js +1 -0
- package/dist/lib/apollo-super-selection/p-082669d9.js +1 -0
- package/dist/lib/apollo-super-selection/p-13573238.system.js +15 -0
- package/dist/lib/apollo-super-selection/p-20136efe.entry.js +1 -0
- package/dist/lib/apollo-super-selection/p-285da037.system.entry.js +1 -0
- package/dist/lib/apollo-super-selection/p-342cee5a.js +1 -0
- package/dist/lib/apollo-super-selection/p-381262c1.system.js +1 -0
- package/dist/lib/apollo-super-selection/p-38ee2795.system.js +1 -0
- package/dist/lib/apollo-super-selection/p-38f24f69.js +1 -0
- package/dist/lib/apollo-super-selection/p-50ea2036.system.js +1 -0
- package/dist/lib/apollo-super-selection/p-61734b66.js +1 -0
- package/dist/lib/apollo-super-selection/p-642db1f7.system.entry.js +1 -0
- package/dist/lib/apollo-super-selection/p-64ebe17d.system.entry.js +1 -0
- package/dist/lib/apollo-super-selection/p-7dbe5a2f.system.js +1 -0
- package/dist/lib/apollo-super-selection/p-8cbfc343.system.entry.js +1 -0
- package/dist/lib/apollo-super-selection/p-9eff6951.system.entry.js +69 -0
- package/dist/lib/apollo-super-selection/p-a98c2760.entry.js +1 -0
- package/dist/lib/apollo-super-selection/p-abedb220.entry.js +1 -0
- package/dist/lib/apollo-super-selection/p-ae4f5e0b.system.js +1 -0
- package/dist/lib/apollo-super-selection/p-c284a0de.entry.js +14 -0
- package/dist/lib/apollo-super-selection/p-c5e41889.entry.js +1 -0
- package/dist/lib/apollo-super-selection/p-cd49a6b7.system.entry.js +1 -0
- package/dist/lib/apollo-super-selection/p-d82b00ed.system.js +1 -0
- package/dist/lib/apollo-super-selection/p-df9ce4b7.js +15 -0
- package/dist/lib/apollo-super-selection/p-f15bf700.system.entry.js +1 -0
- package/dist/lib/apollo-super-selection/p-f7a45412.entry.js +1 -0
- package/dist/lib/cjs/active-router-e92fd784.js +75 -0
- package/dist/lib/cjs/apollo-super-selection.cjs.js +23 -0
- package/dist/lib/cjs/app-globals-45007120.js +25 -0
- package/dist/lib/cjs/context-consumer.cjs.entry.js +29 -0
- package/dist/lib/cjs/datorama-akita-7f4b082a.js +2704 -0
- package/dist/lib/cjs/delay-81aff2f1.js +955 -0
- package/dist/lib/cjs/fl-button_46.cjs.entry.js +17199 -0
- package/dist/lib/cjs/fl-style-guide.cjs.entry.js +90 -0
- package/dist/lib/cjs/index-942e6faa.js +1767 -0
- package/dist/lib/cjs/index.cjs.js +2 -0
- package/dist/lib/cjs/loader.cjs.js +25 -0
- package/dist/lib/cjs/stencil-async-content.cjs.entry.js +32 -0
- package/dist/lib/cjs/stencil-route-title.cjs.entry.js +32 -0
- package/dist/lib/cjs/stencil-router-prompt.cjs.entry.js +59 -0
- package/dist/lib/cjs/stencil-router-redirect.cjs.entry.js +32 -0
- package/dist/lib/collection/collection-manifest.json +131 -0
- package/dist/lib/collection/components/app-host/loading-page.js +9 -0
- package/dist/lib/collection/components/app-host/services/app-configuration.query.js +18 -0
- package/dist/lib/collection/components/app-host/services/app-configuration.service.js +25 -0
- package/dist/lib/collection/components/app-host/services/appinsights.service.js +43 -0
- package/dist/lib/collection/components/app-host/services/authentication.query.js +21 -0
- package/dist/lib/collection/components/app-host/services/authentication.service.js +50 -0
- package/dist/lib/collection/components/app-host/services/interop/host-interop.service.js +31 -0
- package/dist/lib/collection/components/app-host/services/interop/iframe-interop.service.js +30 -0
- package/dist/lib/collection/components/app-host/services/interop/react-native-interop.service.js +20 -0
- package/dist/lib/collection/components/app-host/services/interop.query.js +26 -0
- package/dist/lib/collection/components/app-host/services/session.store.js +37 -0
- package/dist/lib/collection/components/app-host/super-selection-app-host.css +28 -0
- package/dist/lib/collection/components/app-host/super-selection-app-host.js +92 -0
- package/dist/lib/collection/components/super-selection-app/api/api-client.js +14 -0
- package/dist/lib/collection/components/super-selection-app/api/event-tracking.api.js +9 -0
- package/dist/lib/collection/components/super-selection-app/api/super-selection-events.model.js +1 -0
- package/dist/lib/collection/components/super-selection-app/api/super-selection.api.dto.js +1 -0
- package/dist/lib/collection/components/super-selection-app/api/super-selection.api.js +30 -0
- package/dist/lib/collection/components/super-selection-app/app-state-pages/success.js +31 -0
- package/dist/lib/collection/components/super-selection-app/footer-section/footer-section.css +11 -0
- package/dist/lib/collection/components/super-selection-app/footer-section/footer-section.js +28 -0
- package/dist/lib/collection/components/super-selection-app/funds/constants.js +17 -0
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.dto.js +1 -0
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.js +31 -0
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/custom-fund.js +68 -0
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/custom-fund.store.js +53 -0
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/default-fund/default-fund.js +108 -0
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-inputs.js +93 -0
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.js +103 -0
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/bankBsbNumbers.js +111 -0
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.js +153 -0
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.form.js +1 -0
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.js +111 -0
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-not-supported.css +23 -0
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-not-supported.js +52 -0
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api.dto.js +1 -0
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api.js +13 -0
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund-join-page.js +34 -0
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund-standard-choice-page.js +62 -0
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund.store.js +9 -0
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-iframe-builder.js +101 -0
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/api/qsuper-choice.api.dto.js +1 -0
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/api/qsuper-choice.api.js +13 -0
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/helpers/confirmCheck.js +37 -0
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/helpers/continueCheck.js +13 -0
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/helpers/getNextRoute.js +89 -0
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/helpers/resetState.js +31 -0
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-confirm-header.js +38 -0
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-confirm-selection/qsuper-confirm-selection.js +63 -0
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-confirmation.css +0 -0
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-consent/qsuper-consent.js +95 -0
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-insurance-opt-in.js +99 -0
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-insurance-questions.js +18 -0
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-layout.js +95 -0
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper.css +50 -0
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question1/question1.js +10 -0
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question2/question2.js +10 -0
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question3/question3.js +10 -0
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question4/question4.js +10 -0
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question5/question5.js +10 -0
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question6/question6.js +10 -0
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question7/question7.js +10 -0
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question8/question8.js +10 -0
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/yes-no-buttons/qsuper-question-yes-no-buttons.js +66 -0
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/services/qsuper.store.js +64 -0
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/api/slate-choice.api.dto.js +1 -0
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/api/slate-choice.api.js +13 -0
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/services/slate-iframe-builder.js +127 -0
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-fund.store.js +9 -0
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-join-page.js +35 -0
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-standard-choice-page.js +67 -0
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/slatesuper-header.css +0 -0
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/slatesuper-header.js +19 -0
- package/dist/lib/collection/components/super-selection-app/notifications-section/notifications-section.js +25 -0
- package/dist/lib/collection/components/super-selection-app/services/australian-fund-lookup.service.js +22 -0
- package/dist/lib/collection/components/super-selection-app/services/event-tracking.service.js +71 -0
- package/dist/lib/collection/components/super-selection-app/services/navigation.service.js +22 -0
- package/dist/lib/collection/components/super-selection-app/services/notifications.service.js +37 -0
- package/dist/lib/collection/components/super-selection-app/services/notifications.store.js +3 -0
- package/dist/lib/collection/components/super-selection-app/services/selected-super-choice-info.service.js +53 -0
- package/dist/lib/collection/components/super-selection-app/services/super-selection-app.routes.js +46 -0
- package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +83 -0
- package/dist/lib/collection/components/super-selection-app/services/super-selection.store.js +12 -0
- package/dist/lib/collection/components/super-selection-app/standard-choice/api/standard-choice.model.js +1 -0
- package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.js +49 -0
- package/dist/lib/collection/components/super-selection-app/super-choice-page/selected-super-choice-section/selected-super-choice-section.css +18 -0
- package/dist/lib/collection/components/super-selection-app/super-choice-page/selected-super-choice-section/selected-super-choice-section.js +53 -0
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item.js +216 -0
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.css +53 -0
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +180 -0
- package/dist/lib/collection/components/super-selection-app/super-selection-app.css +15 -0
- package/dist/lib/collection/components/super-selection-app/super-selection-app.js +229 -0
- package/dist/lib/collection/global/init-host.js +22 -0
- package/dist/lib/collection/global/main.dev.js +26 -0
- package/dist/lib/collection/global/main.js +11 -0
- package/dist/lib/collection/global/stencil-router-workaround.js +12 -0
- package/dist/lib/collection/index.js +2 -0
- package/dist/lib/collection/utils/config.js +2 -0
- package/dist/lib/collection/utils/gtm.js +5 -0
- package/dist/lib/collection/utils/iframe.js +33 -0
- package/dist/lib/collection/utils/index.js +8 -0
- package/dist/lib/collection/utils/lazy.js +29 -0
- package/dist/lib/collection/utils/storage.js +5 -0
- package/dist/lib/esm/active-router-4c80d3d2.js +73 -0
- package/dist/lib/esm/apollo-super-selection.js +21 -0
- package/dist/lib/esm/app-globals-7ac1ffba.js +23 -0
- package/dist/lib/esm/context-consumer.entry.js +25 -0
- package/dist/lib/esm/datorama-akita-79ce4385.js +2692 -0
- package/dist/lib/esm/delay-c0555599.js +935 -0
- package/dist/lib/esm/fl-button_46.entry.js +17150 -0
- package/dist/lib/esm/fl-style-guide.entry.js +86 -0
- package/dist/lib/esm/index-0496d1af.js +1734 -0
- package/dist/lib/esm/index.js +1 -0
- package/dist/lib/esm/loader.js +21 -0
- package/dist/lib/esm/polyfills/core-js.js +11 -0
- package/dist/lib/esm/polyfills/css-shim.js +1 -0
- package/dist/lib/esm/polyfills/dom.js +79 -0
- package/dist/lib/esm/polyfills/es5-html-element.js +1 -0
- package/dist/lib/esm/polyfills/index.js +34 -0
- package/dist/lib/esm/polyfills/system.js +6 -0
- package/dist/lib/esm/stencil-async-content.entry.js +28 -0
- package/dist/lib/esm/stencil-route-title.entry.js +28 -0
- package/dist/lib/esm/stencil-router-prompt.entry.js +55 -0
- package/dist/lib/esm/stencil-router-redirect.entry.js +28 -0
- package/dist/lib/esm-es5/active-router-4c80d3d2.js +1 -0
- package/dist/lib/esm-es5/apollo-super-selection.js +1 -0
- package/dist/lib/esm-es5/app-globals-7ac1ffba.js +1 -0
- package/dist/lib/esm-es5/context-consumer.entry.js +1 -0
- package/dist/lib/esm-es5/datorama-akita-79ce4385.js +15 -0
- package/dist/lib/esm-es5/delay-c0555599.js +1 -0
- package/dist/lib/esm-es5/fl-button_46.entry.js +69 -0
- package/dist/lib/esm-es5/fl-style-guide.entry.js +1 -0
- package/dist/lib/esm-es5/index-0496d1af.js +1 -0
- package/dist/lib/esm-es5/index.js +0 -0
- package/dist/lib/esm-es5/loader.js +1 -0
- package/dist/lib/esm-es5/stencil-async-content.entry.js +1 -0
- package/dist/lib/esm-es5/stencil-route-title.entry.js +1 -0
- package/dist/lib/esm-es5/stencil-router-prompt.entry.js +1 -0
- package/dist/lib/esm-es5/stencil-router-redirect.entry.js +1 -0
- package/dist/lib/index.cjs.js +1 -0
- package/dist/lib/index.js +1 -0
- package/dist/lib/loader/cdn.js +3 -0
- package/dist/lib/loader/index.cjs.js +3 -0
- package/dist/lib/loader/index.d.ts +13 -0
- package/dist/lib/loader/index.es2017.js +3 -0
- package/dist/lib/loader/index.js +4 -0
- package/dist/lib/loader/package.json +10 -0
- package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/button/button.css +45 -0
- package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/dropdown/dropdown.css +9 -0
- package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/dropdown-async/dropdown-async.css +9 -0
- package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/loading-indicator/loading-indicator.css +141 -0
- package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/promise-button/promise-button.css +5 -0
- package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/style-guide/style-guide.css +0 -0
- package/dist/lib/node_modules/@stencil/router/dist/collection/components/route/route.css +3 -0
- package/dist/lib/types/components/app-host/loading-page.d.ts +3 -0
- package/dist/lib/types/components/app-host/services/app-configuration.query.d.ts +11 -0
- package/dist/lib/types/components/app-host/services/app-configuration.service.d.ts +9 -0
- package/dist/lib/types/components/app-host/services/appinsights.service.d.ts +14 -0
- package/dist/lib/types/components/app-host/services/authentication.query.d.ts +13 -0
- package/dist/lib/types/components/app-host/services/authentication.service.d.ts +9 -0
- package/dist/lib/types/components/app-host/services/interop/host-interop.service.d.ts +7 -0
- package/dist/lib/types/components/app-host/services/interop/iframe-interop.service.d.ts +5 -0
- package/dist/lib/types/components/app-host/services/interop/react-native-interop.service.d.ts +7 -0
- package/dist/lib/types/components/app-host/services/interop.query.d.ts +11 -0
- package/dist/lib/types/components/app-host/services/session.store.d.ts +30 -0
- package/dist/lib/types/components/app-host/super-selection-app-host.d.ts +17 -0
- package/dist/lib/types/components/super-selection-app/api/api-client.d.ts +2 -0
- package/dist/lib/types/components/super-selection-app/api/event-tracking.api.d.ts +6 -0
- package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +73 -0
- package/dist/lib/types/components/super-selection-app/api/super-selection.api.d.ts +16 -0
- package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +82 -0
- package/dist/lib/types/components/super-selection-app/app-state-pages/success.d.ts +4 -0
- package/dist/lib/types/components/super-selection-app/footer-section/footer-section.d.ts +4 -0
- package/dist/lib/types/components/super-selection-app/funds/constants.d.ts +17 -0
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.d.ts +8 -0
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.dto.d.ts +28 -0
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/custom-fund.d.ts +9 -0
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/custom-fund.store.d.ts +30 -0
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/default-fund/default-fund.d.ts +15 -0
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-inputs.d.ts +12 -0
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.d.ts +12 -0
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/bankBsbNumbers.d.ts +112 -0
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.d.ts +15 -0
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.d.ts +14 -0
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.form.d.ts +14 -0
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-not-supported.d.ts +7 -0
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api.d.ts +6 -0
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api.dto.d.ts +6 -0
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund-join-page.d.ts +7 -0
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund-standard-choice-page.d.ts +8 -0
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund.store.d.ts +9 -0
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-iframe-builder.d.ts +11 -0
- package/dist/lib/types/components/super-selection-app/funds/qsuper/api/qsuper-choice.api.d.ts +6 -0
- package/dist/lib/types/components/super-selection-app/funds/qsuper/api/qsuper-choice.api.dto.d.ts +21 -0
- package/dist/lib/types/components/super-selection-app/funds/qsuper/helpers/confirmCheck.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/funds/qsuper/helpers/continueCheck.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/funds/qsuper/helpers/getNextRoute.d.ts +2 -0
- package/dist/lib/types/components/super-selection-app/funds/qsuper/helpers/resetState.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-confirm-header.d.ts +5 -0
- package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-confirm-selection/qsuper-confirm-selection.d.ts +6 -0
- package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-consent/qsuper-consent.d.ts +7 -0
- package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-insurance-opt-in.d.ts +12 -0
- package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-insurance-questions.d.ts +3 -0
- package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-layout.d.ts +11 -0
- package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question1/question1.d.ts +3 -0
- package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question2/question2.d.ts +3 -0
- package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question3/question3.d.ts +3 -0
- package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question4/question4.d.ts +3 -0
- package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question5/question5.d.ts +3 -0
- package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question6/question6.d.ts +3 -0
- package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question7/question7.d.ts +3 -0
- package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question8/question8.d.ts +3 -0
- package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/yes-no-buttons/qsuper-question-yes-no-buttons.d.ts +6 -0
- package/dist/lib/types/components/super-selection-app/funds/qsuper/services/qsuper.store.d.ts +58 -0
- package/dist/lib/types/components/super-selection-app/funds/slate-super/api/slate-choice.api.d.ts +6 -0
- package/dist/lib/types/components/super-selection-app/funds/slate-super/api/slate-choice.api.dto.d.ts +4 -0
- package/dist/lib/types/components/super-selection-app/funds/slate-super/services/slate-iframe-builder.d.ts +13 -0
- package/dist/lib/types/components/super-selection-app/funds/slate-super/slate-fund.store.d.ts +7 -0
- package/dist/lib/types/components/super-selection-app/funds/slate-super/slate-join-page.d.ts +7 -0
- package/dist/lib/types/components/super-selection-app/funds/slate-super/slate-standard-choice-page.d.ts +8 -0
- package/dist/lib/types/components/super-selection-app/funds/slate-super/slatesuper-header.d.ts +3 -0
- package/dist/lib/types/components/super-selection-app/notifications-section/notifications-section.d.ts +5 -0
- package/dist/lib/types/components/super-selection-app/services/australian-fund-lookup.service.d.ts +8 -0
- package/dist/lib/types/components/super-selection-app/services/event-tracking.service.d.ts +17 -0
- package/dist/lib/types/components/super-selection-app/services/navigation.service.d.ts +9 -0
- package/dist/lib/types/components/super-selection-app/services/notifications.service.d.ts +15 -0
- package/dist/lib/types/components/super-selection-app/services/notifications.store.d.ts +14 -0
- package/dist/lib/types/components/super-selection-app/services/selected-super-choice-info.service.d.ts +18 -0
- package/dist/lib/types/components/super-selection-app/services/super-selection-app.routes.d.ts +23 -0
- package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts +26 -0
- package/dist/lib/types/components/super-selection-app/services/super-selection.store.d.ts +14 -0
- package/dist/lib/types/components/super-selection-app/standard-choice/api/standard-choice.model.d.ts +3 -0
- package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.d.ts +7 -0
- package/dist/lib/types/components/super-selection-app/super-choice-page/selected-super-choice-section/selected-super-choice-section.d.ts +5 -0
- package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-item.d.ts +17 -0
- package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-page.d.ts +14 -0
- package/dist/lib/types/components/super-selection-app/super-selection-app.d.ts +26 -0
- package/dist/lib/types/components.d.ts +576 -0
- package/dist/lib/types/global/init-host.d.ts +1 -0
- package/dist/lib/types/global/main.d.ts +1 -0
- package/dist/lib/types/global/main.dev.d.ts +1 -0
- package/dist/lib/types/global/stencil-router-workaround.d.ts +1 -0
- package/dist/lib/types/index.d.ts +2 -0
- package/dist/lib/types/stencil-public-runtime.d.ts +1555 -0
- package/dist/lib/types/utils/config.d.ts +2 -0
- package/dist/lib/types/utils/gtm.d.ts +7 -0
- package/dist/lib/types/utils/iframe.d.ts +13 -0
- package/dist/lib/types/utils/index.d.ts +3 -0
- package/dist/lib/types/utils/lazy.d.ts +12 -0
- package/dist/lib/types/utils/storage.d.ts +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { Component, h, Host, Prop, State } from '@stencil/core';
|
|
2
|
+
import navigationService from '../../services/navigation.service';
|
|
3
|
+
import { SuperSelectionAppRoutes } from '../../services/super-selection-app.routes';
|
|
4
|
+
import superSelectionAppService from '../../services/super-selection-app.service';
|
|
5
|
+
import promotedFundChoiceApi from './api/promoted-fund-choice.api';
|
|
6
|
+
import promotedFundState from './promoted-fund.store';
|
|
7
|
+
export class PromotedFundStandardChoicePage {
|
|
8
|
+
render() {
|
|
9
|
+
return (h(Host, { class: "d-flex flex-fill" },
|
|
10
|
+
h("div", { class: "container" },
|
|
11
|
+
h("div", { class: "row justify-content-center" },
|
|
12
|
+
h("div", { class: "col col-sm-10 col-md-7" },
|
|
13
|
+
h("div", null,
|
|
14
|
+
h("div", null, "You're almost done, simply sign the Standard Choice Form below to finalise your superannuation choice."),
|
|
15
|
+
h("form", { noValidate: true, onSubmit: (ev) => ev.preventDefault(), class: {
|
|
16
|
+
'was-validated': this.formState === 'validated'
|
|
17
|
+
}, ref: (el) => (this.formElement = el) },
|
|
18
|
+
h("sss-standard-choice-form", { onStandardChoiceFormSignatureUpdated: (event) => {
|
|
19
|
+
promotedFundState.standardChoiceFormSignature =
|
|
20
|
+
event.detail.standardChoiceFormSignature;
|
|
21
|
+
} })),
|
|
22
|
+
h("div", { class: "d-flex mt-4" },
|
|
23
|
+
h("div", { class: "flex-grow-1 w-50" },
|
|
24
|
+
h("div", { class: "ml-2" },
|
|
25
|
+
h("fl-promise-button", { isBlockElement: true, promiseFn: () => this.handleSubmitForm() },
|
|
26
|
+
h("span", null, "Submit")))))))))));
|
|
27
|
+
}
|
|
28
|
+
async handleSubmitForm() {
|
|
29
|
+
this.formState = 'validated';
|
|
30
|
+
if (this.formElement.checkValidity()) {
|
|
31
|
+
promotedFundChoiceApi.submitChoiceAsync(Object.assign({}, promotedFundState));
|
|
32
|
+
superSelectionAppService.markSuperSelectionAsSubmitted();
|
|
33
|
+
navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.Success);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
static get is() { return "sss-promoted-fund-standard-choice-page"; }
|
|
37
|
+
static get properties() { return {
|
|
38
|
+
"history": {
|
|
39
|
+
"type": "unknown",
|
|
40
|
+
"mutable": false,
|
|
41
|
+
"complexType": {
|
|
42
|
+
"original": "RouterHistory",
|
|
43
|
+
"resolved": "RouterHistory",
|
|
44
|
+
"references": {
|
|
45
|
+
"RouterHistory": {
|
|
46
|
+
"location": "import",
|
|
47
|
+
"path": "@stencil/router"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"required": false,
|
|
52
|
+
"optional": false,
|
|
53
|
+
"docs": {
|
|
54
|
+
"tags": [],
|
|
55
|
+
"text": ""
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}; }
|
|
59
|
+
static get states() { return {
|
|
60
|
+
"formState": {}
|
|
61
|
+
}; }
|
|
62
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import navigationService from '../../../services/navigation.service';
|
|
2
|
+
import { SuperSelectionAppRoutes } from '../../../services/super-selection-app.routes';
|
|
3
|
+
import superSelectionAppService from '../../../services/super-selection-app.service';
|
|
4
|
+
import promotedFundState from '../promoted-fund.store';
|
|
5
|
+
class PromotedFundJoinIFrameBuilder {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.hostIsLocalSuperSelection = () => window.location.origin == 'http://localhost:7100';
|
|
8
|
+
this.hostIsDeployed = () => window.location.origin.endsWith('partner.flarehr.com');
|
|
9
|
+
this.environmentDiscriminator = () => {
|
|
10
|
+
return this.hostIsLocalSuperSelection()
|
|
11
|
+
? 'autodev-partner'
|
|
12
|
+
: window.location.hostname.toLowerCase().split('.')[0];
|
|
13
|
+
};
|
|
14
|
+
this.promotedFundJoinAppUrl = () => {
|
|
15
|
+
return `https://${this.environmentDiscriminator()}.flarehr.com/promoted-fund-join/embed/v1.0/web`;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
build(iframe, history) {
|
|
19
|
+
if (!(iframe === null || iframe === void 0 ? void 0 : iframe.contentDocument))
|
|
20
|
+
return;
|
|
21
|
+
const baseUrl = this.hostIsLocalSuperSelection() || this.hostIsDeployed()
|
|
22
|
+
? `${window.location.origin}/super-selection/embed/v1.0/app`
|
|
23
|
+
: 'https://autodev-partner.flarehr.com/super-selection/embed/v1.0/app';
|
|
24
|
+
const redirectUrl = `${baseUrl}/promoted-fund-redirect.html`;
|
|
25
|
+
const postData = Object.assign(Object.assign({}, this.getMemberData()), { partnerId: superSelectionAppService.partnerIdOrDefault, accountId: superSelectionAppService.accountIdOrDefault, fundId: promotedFundState.fundId, successRedirectUrl: redirectUrl, cancelRedirectUrl: redirectUrl, authToken: superSelectionAppService.jwt });
|
|
26
|
+
const handleMessage = (event) => {
|
|
27
|
+
const { data } = event;
|
|
28
|
+
if (!data) {
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
if (data.sender === 'promoted-fund-redirect') {
|
|
32
|
+
window.removeEventListener('message', handleMessage);
|
|
33
|
+
switch (data.type) {
|
|
34
|
+
case 'success':
|
|
35
|
+
if (data.memberNumber) {
|
|
36
|
+
promotedFundState.memberNumber = data.memberNumber;
|
|
37
|
+
promotedFundState.usi = data.usi;
|
|
38
|
+
navigationService.navigateInternally(history, SuperSelectionAppRoutes.PromotedFundStandardChoice);
|
|
39
|
+
break;
|
|
40
|
+
}
|
|
41
|
+
/* falls through */
|
|
42
|
+
default:
|
|
43
|
+
navigationService.navigateInternally(history, SuperSelectionAppRoutes.ChoicePage);
|
|
44
|
+
break;
|
|
45
|
+
}
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
if (data.sender === 'promoted-fund-join') {
|
|
49
|
+
switch (data.type) {
|
|
50
|
+
case 'contentResized':
|
|
51
|
+
iframe.height = data.height > 0 ? data.height : iframe.height;
|
|
52
|
+
iframe.width = data.width > 0 ? data.width : iframe.width;
|
|
53
|
+
break;
|
|
54
|
+
default:
|
|
55
|
+
break;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
window.addEventListener('message', handleMessage);
|
|
60
|
+
const iframeDoc = iframe.contentDocument;
|
|
61
|
+
iframeDoc.open();
|
|
62
|
+
const form = iframeDoc.createElement('form');
|
|
63
|
+
form.method = 'POST';
|
|
64
|
+
form.target = '_self';
|
|
65
|
+
form.action = this.promotedFundJoinAppUrl();
|
|
66
|
+
let prop;
|
|
67
|
+
for (prop in postData) {
|
|
68
|
+
const value = postData[prop];
|
|
69
|
+
if (value !== undefined) {
|
|
70
|
+
const input = document.createElement('input');
|
|
71
|
+
input.type = 'hidden';
|
|
72
|
+
input.name = prop;
|
|
73
|
+
input.value = value;
|
|
74
|
+
form.append(input);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
iframeDoc.appendChild(form);
|
|
78
|
+
iframeDoc.close();
|
|
79
|
+
form.submit();
|
|
80
|
+
}
|
|
81
|
+
getMemberData() {
|
|
82
|
+
var _a, _b;
|
|
83
|
+
const superBuyer = superSelectionAppService.superBuyer;
|
|
84
|
+
return {
|
|
85
|
+
firstName: superBuyer.userProfile.firstName,
|
|
86
|
+
middleName: superBuyer.userProfile.middleName,
|
|
87
|
+
lastName: superBuyer.userProfile.lastName,
|
|
88
|
+
dateOfBirth: superBuyer.userProfile.dateOfBirth,
|
|
89
|
+
gender: superBuyer.userProfile.gender,
|
|
90
|
+
email: superBuyer.userProfile.email,
|
|
91
|
+
mobilePhone: superBuyer.userProfile.mobilePhone,
|
|
92
|
+
taxFileNumber: (_a = superBuyer.tfn) !== null && _a !== void 0 ? _a : '',
|
|
93
|
+
addressLine1: superBuyer.userProfile.address.addressLine1,
|
|
94
|
+
addressLine2: (_b = superBuyer.userProfile.address.addressLine2) !== null && _b !== void 0 ? _b : '',
|
|
95
|
+
city: superBuyer.userProfile.address.city,
|
|
96
|
+
state: superBuyer.userProfile.address.state,
|
|
97
|
+
postCode: superBuyer.userProfile.address.postcode
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
export default new PromotedFundJoinIFrameBuilder();
|
package/dist/lib/collection/components/super-selection-app/funds/qsuper/api/qsuper-choice.api.dto.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/lib/collection/components/super-selection-app/funds/qsuper/api/qsuper-choice.api.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { buildBackendApiClient } from '../../../api/api-client';
|
|
2
|
+
export class QSuperChoiceApi {
|
|
3
|
+
async submitQSuperChoiceAsync(dto) {
|
|
4
|
+
return buildBackendApiClient()
|
|
5
|
+
.url('super-choice/qsuper')
|
|
6
|
+
.post(dto)
|
|
7
|
+
.badRequest(() => {
|
|
8
|
+
throw new Error('Failed to process QSuper join request');
|
|
9
|
+
})
|
|
10
|
+
.text();
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
export default new QSuperChoiceApi();
|
package/dist/lib/collection/components/super-selection-app/funds/qsuper/helpers/confirmCheck.js
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import superSelectionAppService from '../../../services/super-selection-app.service';
|
|
2
|
+
import qsuperChoiceApi from '../api/qsuper-choice.api';
|
|
3
|
+
import qSuperState, { QSuperFormPages } from '../services/qsuper.store';
|
|
4
|
+
export async function handleConfirmClickAsync() {
|
|
5
|
+
if (!qSuperState.continueAllowed)
|
|
6
|
+
return;
|
|
7
|
+
qSuperState.continueAllowed = false;
|
|
8
|
+
if (qSuperState.currentQSuperFormPage === QSuperFormPages.InsuranceConfirm &&
|
|
9
|
+
qSuperState.qSuperQuestionnaire.insuranceChosen) {
|
|
10
|
+
qSuperState.currentQSuperFormPage = QSuperFormPages.InsuranceQuestions;
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
// if insurance hasn't been chosen - skip the accumulation page
|
|
14
|
+
if (qSuperState.currentQSuperFormPage === QSuperFormPages.InsuranceConfirm &&
|
|
15
|
+
!qSuperState.qSuperQuestionnaire.insuranceChosen) {
|
|
16
|
+
qSuperState.currentQSuperFormPage = QSuperFormPages.AccumulationAccount;
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
if (qSuperState.currentQSuperFormPage === QSuperFormPages.InsuranceQuestions) {
|
|
20
|
+
qSuperState.currentQSuperFormPage = QSuperFormPages.AccumulationAccount;
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
if (qSuperState.currentQSuperFormPage === QSuperFormPages.AccumulationAccount) {
|
|
24
|
+
qSuperState.qSuperFormValid = false;
|
|
25
|
+
qSuperState.currentQSuperFormPage = QSuperFormPages.ConfirmSelection;
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
if (qSuperState.currentQSuperFormPage === QSuperFormPages.ConfirmSelection) {
|
|
29
|
+
qSuperState.qSuperQuestionnaire.acceptedDeclaration = true;
|
|
30
|
+
const qSuperJoinRequest = {
|
|
31
|
+
questionnaire: qSuperState.qSuperQuestionnaire,
|
|
32
|
+
standardChoiceFormSignature: qSuperState.standardChoiceFormSignature
|
|
33
|
+
};
|
|
34
|
+
await qsuperChoiceApi.submitQSuperChoiceAsync(qSuperJoinRequest);
|
|
35
|
+
superSelectionAppService.markSuperSelectionAsSubmitted();
|
|
36
|
+
}
|
|
37
|
+
}
|
package/dist/lib/collection/components/super-selection-app/funds/qsuper/helpers/continueCheck.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SuperSelectionAppRoutes } from '../../../services/super-selection-app.routes';
|
|
2
|
+
import superSelectionAppService from '../../../services/super-selection-app.service';
|
|
3
|
+
import qSuperState from '../services/qsuper.store';
|
|
4
|
+
export function continueEnabledCheck() {
|
|
5
|
+
// for a given route, ensure the checks on that page are checked before allowing to continue
|
|
6
|
+
const baseAppUrl = superSelectionAppService.appBaseUrl;
|
|
7
|
+
const currentRoute = window.location.pathname.split(baseAppUrl)[1];
|
|
8
|
+
const continueValidConditions = {
|
|
9
|
+
[SuperSelectionAppRoutes.QSuperOptIn]: qSuperState.qSuperOptInPageCheckbox,
|
|
10
|
+
[SuperSelectionAppRoutes.QSuperJoin]: qSuperState.qSuperJoinPageCheckbox && qSuperState.standardChoiceFormSignature
|
|
11
|
+
};
|
|
12
|
+
qSuperState.continueAllowed = continueValidConditions[currentRoute];
|
|
13
|
+
}
|
package/dist/lib/collection/components/super-selection-app/funds/qsuper/helpers/getNextRoute.js
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { SuperSelectionAppRoutes } from '../../../services/super-selection-app.routes';
|
|
2
|
+
import superSelectionAppService from '../../../services/super-selection-app.service';
|
|
3
|
+
import qSuperState from '../services/qsuper.store';
|
|
4
|
+
export function getNextRoute() {
|
|
5
|
+
var _a, _b, _c, _d;
|
|
6
|
+
const baseAppUrl = superSelectionAppService.appBaseUrl;
|
|
7
|
+
const route = window.location.pathname.split(baseAppUrl)[1];
|
|
8
|
+
const nextRoutes = {
|
|
9
|
+
[SuperSelectionAppRoutes.QSuperOptIn]: SuperSelectionAppRoutes.QSuperQuestion1,
|
|
10
|
+
[SuperSelectionAppRoutes.QSuperQuestion1]: qSuperState.qSuperInsuranceQuestions.question1
|
|
11
|
+
.answered
|
|
12
|
+
? ((_a = qSuperState.qSuperQuestionnaire.questions) === null || _a === void 0 ? void 0 : _a.question1) === true
|
|
13
|
+
? SuperSelectionAppRoutes.QSuperQuestion4
|
|
14
|
+
: SuperSelectionAppRoutes.QSuperQuestion2
|
|
15
|
+
: SuperSelectionAppRoutes.QSuperQuestion1,
|
|
16
|
+
[SuperSelectionAppRoutes.QSuperQuestion2]: qSuperState.qSuperInsuranceQuestions.question2
|
|
17
|
+
.answered
|
|
18
|
+
? ((_b = qSuperState.qSuperQuestionnaire.questions) === null || _b === void 0 ? void 0 : _b.question2) === true
|
|
19
|
+
? SuperSelectionAppRoutes.QSuperQuestion4
|
|
20
|
+
: SuperSelectionAppRoutes.QSuperQuestion3
|
|
21
|
+
: SuperSelectionAppRoutes.QSuperQuestion2,
|
|
22
|
+
[SuperSelectionAppRoutes.QSuperQuestion3]: qSuperState.qSuperInsuranceQuestions.question3
|
|
23
|
+
.answered
|
|
24
|
+
? SuperSelectionAppRoutes.QSuperQuestion4
|
|
25
|
+
: SuperSelectionAppRoutes.QSuperQuestion3,
|
|
26
|
+
[SuperSelectionAppRoutes.QSuperQuestion4]: qSuperState.qSuperInsuranceQuestions.question4
|
|
27
|
+
.answered
|
|
28
|
+
? SuperSelectionAppRoutes.QSuperQuestion5
|
|
29
|
+
: SuperSelectionAppRoutes.QSuperQuestion4,
|
|
30
|
+
[SuperSelectionAppRoutes.QSuperQuestion5]: qSuperState.qSuperInsuranceQuestions.question5
|
|
31
|
+
.answered
|
|
32
|
+
? SuperSelectionAppRoutes.QSuperQuestion6
|
|
33
|
+
: SuperSelectionAppRoutes.QSuperQuestion5,
|
|
34
|
+
[SuperSelectionAppRoutes.QSuperQuestion6]: qSuperState.qSuperInsuranceQuestions.question6
|
|
35
|
+
.answered
|
|
36
|
+
? SuperSelectionAppRoutes.QSuperQuestion7
|
|
37
|
+
: SuperSelectionAppRoutes.QSuperQuestion6,
|
|
38
|
+
[SuperSelectionAppRoutes.QSuperQuestion7]: qSuperState.qSuperInsuranceQuestions.question7
|
|
39
|
+
.answered
|
|
40
|
+
? SuperSelectionAppRoutes.QSuperQuestion8
|
|
41
|
+
: SuperSelectionAppRoutes.QSuperQuestion7,
|
|
42
|
+
[SuperSelectionAppRoutes.QSuperQuestion8]: qSuperState.qSuperInsuranceQuestions.question8
|
|
43
|
+
.answered
|
|
44
|
+
? SuperSelectionAppRoutes.QSuperConsent
|
|
45
|
+
: SuperSelectionAppRoutes.QSuperQuestion8,
|
|
46
|
+
[SuperSelectionAppRoutes.QSuperConsent]: qSuperState.qSuperQuestionnaire.readDutyOfDisclosure &&
|
|
47
|
+
qSuperState.qSuperQuestionnaire.reviewedApplication
|
|
48
|
+
? SuperSelectionAppRoutes.QSuperJoin
|
|
49
|
+
: SuperSelectionAppRoutes.QSuperConsent,
|
|
50
|
+
[SuperSelectionAppRoutes.QSuperJoin]: qSuperState.qSuperJoinPageCheckbox
|
|
51
|
+
? SuperSelectionAppRoutes.Success
|
|
52
|
+
: SuperSelectionAppRoutes.QSuperJoin
|
|
53
|
+
};
|
|
54
|
+
// special cases
|
|
55
|
+
// if question 3 or 5 are selected as Yes, show questions 6,7,8
|
|
56
|
+
// if we are on question 5, and question 3 or 5 have been selected yes, go to question 6
|
|
57
|
+
const firstFiveQuestionsAnswered = qSuperState.qSuperInsuranceQuestions.question1.answered &&
|
|
58
|
+
qSuperState.qSuperInsuranceQuestions.question2.answered &&
|
|
59
|
+
qSuperState.qSuperInsuranceQuestions.question3.answered &&
|
|
60
|
+
qSuperState.qSuperInsuranceQuestions.question4.answered &&
|
|
61
|
+
qSuperState.qSuperInsuranceQuestions.question5.answered;
|
|
62
|
+
// if we are on question 5 - check if question 3 or 5 have been answered yes
|
|
63
|
+
// if they have then show questions 6,7,8 - otherwise go to the consent page
|
|
64
|
+
if (route === SuperSelectionAppRoutes.QSuperQuestion5) {
|
|
65
|
+
if (firstFiveQuestionsAnswered &&
|
|
66
|
+
(((_c = qSuperState.qSuperQuestionnaire.questions) === null || _c === void 0 ? void 0 : _c.question3) === true ||
|
|
67
|
+
((_d = qSuperState.qSuperQuestionnaire.questions) === null || _d === void 0 ? void 0 : _d.question5) === true)) {
|
|
68
|
+
return SuperSelectionAppRoutes.QSuperQuestion6;
|
|
69
|
+
}
|
|
70
|
+
return SuperSelectionAppRoutes.QSuperConsent;
|
|
71
|
+
}
|
|
72
|
+
// if in opt in page
|
|
73
|
+
if (route === SuperSelectionAppRoutes.QSuperOptIn) {
|
|
74
|
+
// if checkbox is ticked and insurance selected - go to question 1
|
|
75
|
+
if (qSuperState.qSuperOptInPageCheckbox) {
|
|
76
|
+
if (qSuperState.qSuperQuestionnaire.insuranceChosen) {
|
|
77
|
+
return SuperSelectionAppRoutes.QSuperQuestion1;
|
|
78
|
+
}
|
|
79
|
+
else {
|
|
80
|
+
return SuperSelectionAppRoutes.QSuperConsent;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
else {
|
|
84
|
+
// otherwise go to the consent page
|
|
85
|
+
return route;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
return nextRoutes[route];
|
|
89
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import qSuperState, { resetQSuperStore } from '../services/qsuper.store';
|
|
2
|
+
export function resetQSuperState() {
|
|
3
|
+
resetQSuperStore();
|
|
4
|
+
qSuperState.qSuperQuestionnaire = Object.assign(Object.assign({}, qSuperState.qSuperQuestionnaire), { acceptedDeclaration: false, insuranceChosen: false, readDutyOfDisclosure: false, reviewedApplication: false });
|
|
5
|
+
qSuperState.qSuperInsuranceQuestions = {
|
|
6
|
+
question1: {
|
|
7
|
+
answered: false
|
|
8
|
+
},
|
|
9
|
+
question2: {
|
|
10
|
+
answered: false
|
|
11
|
+
},
|
|
12
|
+
question3: {
|
|
13
|
+
answered: false
|
|
14
|
+
},
|
|
15
|
+
question4: {
|
|
16
|
+
answered: false
|
|
17
|
+
},
|
|
18
|
+
question5: {
|
|
19
|
+
answered: false
|
|
20
|
+
},
|
|
21
|
+
question6: {
|
|
22
|
+
answered: false
|
|
23
|
+
},
|
|
24
|
+
question7: {
|
|
25
|
+
answered: false
|
|
26
|
+
},
|
|
27
|
+
question8: {
|
|
28
|
+
answered: false
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
}
|
package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-confirm-header.js
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Component, h } from '@stencil/core';
|
|
2
|
+
import { EventTrackingService } from '../../services/event-tracking.service';
|
|
3
|
+
import navigationService from '../../services/navigation.service';
|
|
4
|
+
import * as constants from '../constants';
|
|
5
|
+
export class QsuperConfirmHeader {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.eventTrackingService = EventTrackingService.Instance;
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
const qSuperAccumulationAccountUrl = 'https://qsuper.qld.gov.au/-/media/pdfs/qsuper-public/publications/pds1.pdf';
|
|
11
|
+
return (h("div", { class: "d-flex align-items-center justify-content-center" },
|
|
12
|
+
h("p", { class: "confirm-title font-weight-bold text-center" },
|
|
13
|
+
"You are now applying for a",
|
|
14
|
+
' ',
|
|
15
|
+
h("a", { target: "_blank", href: navigationService.toExternalUrl(qSuperAccumulationAccountUrl) }, "QSuper Accumulation Account"),
|
|
16
|
+
". Read the",
|
|
17
|
+
' ',
|
|
18
|
+
h("a", { target: "_blank", onClick: () => this.pdsViewedAsync(), href: navigationService.toExternalUrl(constants.QSuperPdsUrl) }, "PDS"),
|
|
19
|
+
' ',
|
|
20
|
+
"here.")));
|
|
21
|
+
}
|
|
22
|
+
pdsViewedAsync() {
|
|
23
|
+
return this.eventTrackingService.TrackSuperFundPdsViewedAsync({
|
|
24
|
+
fundUsi: constants.QSuperFundUsi,
|
|
25
|
+
fundName: constants.QSuperFundName,
|
|
26
|
+
fundNameAlt: constants.QSuperAltFundName,
|
|
27
|
+
pageName: 'Insurance Opt In'
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
static get is() { return "sss-qsuper-confirm-header"; }
|
|
31
|
+
static get originalStyleUrls() { return {
|
|
32
|
+
"$": ["qsuper-confirmation.scss"]
|
|
33
|
+
}; }
|
|
34
|
+
static get styleUrls() { return {
|
|
35
|
+
"$": ["qsuper-confirmation.css"]
|
|
36
|
+
}; }
|
|
37
|
+
static get assetsDirs() { return ["assets"]; }
|
|
38
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { Component, getAssetPath, h } from '@stencil/core';
|
|
2
|
+
import { EventTrackingService } from '../../../services/event-tracking.service';
|
|
3
|
+
import navigationService from '../../../services/navigation.service';
|
|
4
|
+
import * as constants from '../../constants';
|
|
5
|
+
import { continueEnabledCheck } from '../helpers/continueCheck';
|
|
6
|
+
import { getNextRoute } from '../helpers/getNextRoute';
|
|
7
|
+
import qSuperState from '../services/qsuper.store';
|
|
8
|
+
export class QSuperConfirmSelection {
|
|
9
|
+
constructor() {
|
|
10
|
+
this.eventTrackingService = EventTrackingService.Instance;
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
return (h("sss-qsuper-layout", null,
|
|
14
|
+
h("img", { class: "ss-choice-logo mx-auto", alt: "Simple Financial Choices Pty Ltd", src: getAssetPath(`assets/logo-qsuper.png`) }),
|
|
15
|
+
h("div", { class: "row" },
|
|
16
|
+
h("div", { class: "col text-center" },
|
|
17
|
+
h("p", { class: "confirm-title font-weight-bold mb-0" }, "You have chosen to join QSuper"))),
|
|
18
|
+
h("div", { class: "my-3 card p-3" },
|
|
19
|
+
h("p", { class: "confirm-text" }, "We are almost there... All you have to do now is sign the super choice form. We'll prefill it for you. Make sure the info is correct. Your application to join the fund is subject to Trustee approval."),
|
|
20
|
+
h("p", { class: "confirm-text mb-0" }, "You've chosen to stay with your existing fund. Review the details below and click continue to confirm your choice")),
|
|
21
|
+
h("div", { class: "card p-3" },
|
|
22
|
+
h("p", { class: "text-center" }, "100 years strong"),
|
|
23
|
+
h("p", { class: "text-center" }, "One of Australia's largest funds"),
|
|
24
|
+
h("p", { class: "text-center mb-0" }, "Awarded SuperRatings highest performance rating")),
|
|
25
|
+
h("div", { class: "mt-3" },
|
|
26
|
+
h("p", { class: "text-center confirm-text" }, "Your application to join the fund is subject to Trustee approval.")),
|
|
27
|
+
h("div", null,
|
|
28
|
+
h("label", { class: "d-flex\u00A0mt-4\u00A0p-3\u00A0checkbox-container", htmlFor: "confirmCheckBox" },
|
|
29
|
+
h("div", { class: "w-auto\u00A0px-2 py-2 fl-checkbox-container" },
|
|
30
|
+
h("input", { id: "confirmCheckBox", class: "confirm-checkbox-item", type: "checkbox", onChange: () => this.handleCheckboxToggle() })),
|
|
31
|
+
h("div", { class: "pl-3" },
|
|
32
|
+
h("p", { class: "confirm-item-text mb-0 mt-1" },
|
|
33
|
+
"I've read and understood the",
|
|
34
|
+
' ',
|
|
35
|
+
h("a", { target: "_blank", onClick: () => this.pdsViewedAsync(), href: navigationService.toExternalUrl('https://qsuper.qld.gov.au/calculators-and-forms/publications/product-disclosure-statements/') }, "PDS"),
|
|
36
|
+
' ',
|
|
37
|
+
"and confirm all information I have provided is true and correct. I understand that my information will be sent to the trustee of this fund to process my request to join and I consent to my TFN, as currently held on the Flare HR Platform, being given to the trustee in order to open and administer my account.")))),
|
|
38
|
+
h("sss-standard-choice-form", { onStandardChoiceFormSignatureUpdated: (event) => {
|
|
39
|
+
qSuperState.standardChoiceFormSignature = event.detail.standardChoiceFormSignature;
|
|
40
|
+
continueEnabledCheck();
|
|
41
|
+
} })));
|
|
42
|
+
}
|
|
43
|
+
handleCheckboxToggle() {
|
|
44
|
+
qSuperState.qSuperJoinPageCheckbox = !qSuperState.qSuperJoinPageCheckbox;
|
|
45
|
+
continueEnabledCheck();
|
|
46
|
+
qSuperState.nextRoute = getNextRoute();
|
|
47
|
+
}
|
|
48
|
+
pdsViewedAsync() {
|
|
49
|
+
return this.eventTrackingService.TrackSuperFundPdsViewedAsync({
|
|
50
|
+
fundUsi: constants.QSuperFundUsi,
|
|
51
|
+
fundName: constants.QSuperFundName,
|
|
52
|
+
fundNameAlt: constants.QSuperAltFundName,
|
|
53
|
+
pageName: 'Confirm Page'
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
static get is() { return "sss-qsuper-join"; }
|
|
57
|
+
static get originalStyleUrls() { return {
|
|
58
|
+
"$": ["../../../super-choice-page/super-choice-page.scss"]
|
|
59
|
+
}; }
|
|
60
|
+
static get styleUrls() { return {
|
|
61
|
+
"$": ["../../../super-choice-page/super-choice-page.css"]
|
|
62
|
+
}; }
|
|
63
|
+
}
|
package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-confirmation.css
ADDED
|
File without changes
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { Component, h } from '@stencil/core';
|
|
2
|
+
import { EventTrackingService } from '../../../services/event-tracking.service';
|
|
3
|
+
import navigationService from '../../../services/navigation.service';
|
|
4
|
+
import * as constants from '../../constants';
|
|
5
|
+
import { getNextRoute } from '../helpers/getNextRoute';
|
|
6
|
+
import qSuperState, { QSuperFormPages } from '../services/qsuper.store';
|
|
7
|
+
export class QsuperConsent {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.eventTrackingService = EventTrackingService.Instance;
|
|
10
|
+
}
|
|
11
|
+
async componentDidLoad() {
|
|
12
|
+
window.scroll(0, 0);
|
|
13
|
+
qSuperState.currentQSuperFormPage = QSuperFormPages.AccumulationAccount;
|
|
14
|
+
}
|
|
15
|
+
render() {
|
|
16
|
+
return (h("sss-qsuper-layout", null,
|
|
17
|
+
h("div", { class: "d-flex align-items-center justify-content-center" },
|
|
18
|
+
h("p", { class: "confirm-title font-weight-bold text-center" }, "Your QSuper Accumulation Account")),
|
|
19
|
+
h("div", { class: "p-3 d-flex mt-4 checkbox-container" },
|
|
20
|
+
h("p", null,
|
|
21
|
+
"Just finally, we need you to confirm that you understand the declarations below and the product you've applied for by ticking the box below.",
|
|
22
|
+
h("br", null),
|
|
23
|
+
h("br", null),
|
|
24
|
+
"This form and all products are issued by the QSuper Board (ABN 32 125 059 006 AFSL 489650) as trustee for QSuper (ABN 60 905 115 063).",
|
|
25
|
+
h("br", null),
|
|
26
|
+
h("br", null),
|
|
27
|
+
"I have read and agree to the terms and conditions in the QSuper",
|
|
28
|
+
' ',
|
|
29
|
+
h("a", { target: "_blank", onClick: () => this.pdsViewedAsync(), href: navigationService.toExternalUrl('https://qsuper.qld.gov.au/-/media/pdfs/qsuper-public/publications/pds11.pdf') }, "Product Disclosure Statement for Accumulation and Income Accounts"),
|
|
30
|
+
", QSuper's",
|
|
31
|
+
' ',
|
|
32
|
+
h("a", { target: "_blank", href: navigationService.toExternalUrl('https://qsuper.qld.gov.au/-/media/pdfs/qsuper-public/publications/fs15.pdf') }, "Your Privacy factsheet"),
|
|
33
|
+
", and the",
|
|
34
|
+
' ',
|
|
35
|
+
h("a", { target: "_blank", href: navigationService.toExternalUrl('https://qsuper.qld.gov.au/-/media/pdfs/qsuper-public/publications/qiib09.pdf') }, "Financial Services Guide"),
|
|
36
|
+
".",
|
|
37
|
+
h("br", null),
|
|
38
|
+
h("br", null),
|
|
39
|
+
"I understand that any insurance cover I might have as a result of this application, commences when the first contribution is received into my account. Once I am a member I can cancel, or, subject to eligibility conditions, vary, my cover at any time. Premiums are deducted in accordance with the PDS.",
|
|
40
|
+
h("br", null),
|
|
41
|
+
h("br", null),
|
|
42
|
+
"I also agree to be bound by the Trust Deed and the governing rules of QSuper in relation to the operation of my Accumulation account.",
|
|
43
|
+
h("br", null),
|
|
44
|
+
h("br", null),
|
|
45
|
+
"I confirm that the information I have given is true and correct.",
|
|
46
|
+
h("br", null),
|
|
47
|
+
h("br", null),
|
|
48
|
+
"I confirm that I am the person identified as the applicant in this form.",
|
|
49
|
+
h("br", null),
|
|
50
|
+
h("br", null),
|
|
51
|
+
"I consent to the QSuper Board paying Simple Financial Choices Pty Ltd, a wholly owned subsidiary of Flare, a fee of $300 on receipt of the first contribution into my account, for the provision of technology services.",
|
|
52
|
+
h("br", null),
|
|
53
|
+
h("br", null),
|
|
54
|
+
"I understand that I will be placed into the default investment option QSuper Lifetime.",
|
|
55
|
+
h("br", null),
|
|
56
|
+
h("br", null),
|
|
57
|
+
"I understand that my Tax File Number will be provided to QSuper. NB - if you have your Tax File Number available, this will help speed up the processing of this application and we may be able to Find your Super.",
|
|
58
|
+
h("br", null),
|
|
59
|
+
h("br", null),
|
|
60
|
+
"I have read and accept the",
|
|
61
|
+
' ',
|
|
62
|
+
h("a", { target: "_blank", href: navigationService.toExternalUrl('https://qsuper.qld.gov.au/misc/tfn') }, "Privacy and Contact Information Statement"))),
|
|
63
|
+
h("div", null,
|
|
64
|
+
h("label", { class: "d-flex\u00A0mt-3\u00A0p-3\u00A0checkbox-container", htmlFor: "ackAllCheckBox" },
|
|
65
|
+
h("div", { class: "w-auto\u00A0px-2 fl-checkbox-container" },
|
|
66
|
+
h("input", { id: "ackAllCheckBox", class: "confirm-checkbox-item", type: "checkbox", onChange: () => this.handleCheckboxToggle() })),
|
|
67
|
+
h("div", { class: "pl-3" },
|
|
68
|
+
h("p", { class: "confirm-item-text\u00A0mb-0 mt-1" },
|
|
69
|
+
"I acknowledge all of the above. ",
|
|
70
|
+
h("i", null, "(required)")))))));
|
|
71
|
+
}
|
|
72
|
+
handleCheckboxToggle() {
|
|
73
|
+
qSuperState.qSuperQuestionnaire.readDutyOfDisclosure = !qSuperState.qSuperQuestionnaire
|
|
74
|
+
.readDutyOfDisclosure;
|
|
75
|
+
qSuperState.qSuperQuestionnaire.reviewedApplication = !qSuperState.qSuperQuestionnaire
|
|
76
|
+
.reviewedApplication;
|
|
77
|
+
qSuperState.continueAllowed = !qSuperState.continueAllowed;
|
|
78
|
+
qSuperState.nextRoute = getNextRoute();
|
|
79
|
+
}
|
|
80
|
+
pdsViewedAsync() {
|
|
81
|
+
return this.eventTrackingService.TrackSuperFundPdsViewedAsync({
|
|
82
|
+
fundUsi: constants.QSuperFundUsi,
|
|
83
|
+
fundName: constants.QSuperFundName,
|
|
84
|
+
fundNameAlt: constants.QSuperAltFundName,
|
|
85
|
+
pageName: 'Accumulation Page'
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
static get is() { return "sss-qsuper-consent"; }
|
|
89
|
+
static get originalStyleUrls() { return {
|
|
90
|
+
"$": ["../qsuper.scss"]
|
|
91
|
+
}; }
|
|
92
|
+
static get styleUrls() { return {
|
|
93
|
+
"$": ["../qsuper.css"]
|
|
94
|
+
}; }
|
|
95
|
+
}
|