@flarehr/apollo-super-selection 3.14.52544 → 3.17.52781
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +0 -1
- package/dist/lib/apollo-super-selection/apollo-super-selection.js +0 -130
- package/dist/lib/apollo-super-selection/index.esm.js +0 -0
- package/dist/lib/apollo-super-selection/p-13573238.system.js +0 -15
- package/dist/lib/apollo-super-selection/p-27129f6d.system.js +0 -1
- package/dist/lib/apollo-super-selection/p-2bbd0732.system.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-2bd70644.system.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-30bebd30.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-31a3ef1a.entry.js +0 -14
- package/dist/lib/apollo-super-selection/p-342cee5a.js +0 -1
- package/dist/lib/apollo-super-selection/p-381262c1.system.js +0 -1
- package/dist/lib/apollo-super-selection/p-38f24f69.js +0 -1
- package/dist/lib/apollo-super-selection/p-48e99aba.system.js +0 -1
- package/dist/lib/apollo-super-selection/p-4ceefd14.system.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-50ea2036.system.js +0 -1
- package/dist/lib/apollo-super-selection/p-52cb55a8.system.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-55737760.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-59a986b0.js +0 -1
- package/dist/lib/apollo-super-selection/p-7b72a245.system.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-7dbe5a2f.system.js +0 -1
- package/dist/lib/apollo-super-selection/p-84240b0b.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-943b206b.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-9b5fb4bc.system.js +0 -1
- package/dist/lib/apollo-super-selection/p-cbe37145.js +0 -1
- package/dist/lib/apollo-super-selection/p-cc209002.system.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-cc9c37a4.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-dd3a95d5.system.entry.js +0 -69
- package/dist/lib/apollo-super-selection/p-df9ce4b7.js +0 -15
- package/dist/lib/apollo-super-selection/p-fbcce741.entry.js +0 -1
- package/dist/lib/cjs/active-router-08eabf9a.js +0 -75
- package/dist/lib/cjs/apollo-super-selection.cjs.js +0 -23
- package/dist/lib/cjs/app-globals-45007120.js +0 -25
- package/dist/lib/cjs/context-consumer.cjs.entry.js +0 -29
- package/dist/lib/cjs/datorama-akita-7f4b082a.js +0 -2704
- package/dist/lib/cjs/delay-81aff2f1.js +0 -955
- package/dist/lib/cjs/fl-button_43.cjs.entry.js +0 -16969
- package/dist/lib/cjs/fl-style-guide.cjs.entry.js +0 -90
- package/dist/lib/cjs/index-b2214bec.js +0 -1764
- package/dist/lib/cjs/index.cjs.js +0 -2
- package/dist/lib/cjs/loader.cjs.js +0 -25
- package/dist/lib/cjs/stencil-async-content.cjs.entry.js +0 -32
- package/dist/lib/cjs/stencil-route-title.cjs.entry.js +0 -32
- package/dist/lib/cjs/stencil-router-prompt.cjs.entry.js +0 -59
- package/dist/lib/cjs/stencil-router-redirect.cjs.entry.js +0 -32
- package/dist/lib/collection/collection-manifest.json +0 -125
- package/dist/lib/collection/components/app-host/loading-page.js +0 -9
- package/dist/lib/collection/components/app-host/services/app-configuration.query.js +0 -18
- package/dist/lib/collection/components/app-host/services/app-configuration.service.js +0 -25
- package/dist/lib/collection/components/app-host/services/appinsights.service.js +0 -43
- package/dist/lib/collection/components/app-host/services/authentication.query.js +0 -21
- package/dist/lib/collection/components/app-host/services/authentication.service.js +0 -50
- package/dist/lib/collection/components/app-host/services/interop/host-interop.service.js +0 -31
- package/dist/lib/collection/components/app-host/services/interop/iframe-interop.service.js +0 -30
- package/dist/lib/collection/components/app-host/services/interop/react-native-interop.service.js +0 -20
- package/dist/lib/collection/components/app-host/services/interop.query.js +0 -26
- package/dist/lib/collection/components/app-host/services/session.store.js +0 -37
- package/dist/lib/collection/components/app-host/super-selection-app-host.css +0 -28
- package/dist/lib/collection/components/app-host/super-selection-app-host.js +0 -92
- package/dist/lib/collection/components/super-selection-app/api/api-client.js +0 -14
- package/dist/lib/collection/components/super-selection-app/api/event-tracking.api.js +0 -9
- package/dist/lib/collection/components/super-selection-app/api/super-selection-events.model.js +0 -1
- package/dist/lib/collection/components/super-selection-app/api/super-selection.api.dto.js +0 -1
- package/dist/lib/collection/components/super-selection-app/api/super-selection.api.js +0 -30
- package/dist/lib/collection/components/super-selection-app/app-state-pages/success.js +0 -31
- package/dist/lib/collection/components/super-selection-app/footer-section/footer-section.css +0 -11
- package/dist/lib/collection/components/super-selection-app/footer-section/footer-section.js +0 -29
- package/dist/lib/collection/components/super-selection-app/funds/constants.js +0 -13
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.dto.js +0 -1
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.js +0 -31
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/custom-fund.js +0 -68
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/custom-fund.store.js +0 -53
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/default-fund/default-fund.js +0 -108
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-inputs.js +0 -93
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.js +0 -103
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/bankBsbNumbers.js +0 -111
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.js +0 -153
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.form.js +0 -1
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.js +0 -96
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/api/qsuper-choice.api.dto.js +0 -1
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/api/qsuper-choice.api.js +0 -13
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/helpers/confirmCheck.js +0 -37
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/helpers/continueCheck.js +0 -13
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/helpers/getNextRoute.js +0 -89
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/helpers/resetState.js +0 -31
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-confirm-header.js +0 -38
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-confirm-selection/qsuper-confirm-selection.js +0 -63
- 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 +0 -95
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-insurance-opt-in.js +0 -99
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-insurance-questions.js +0 -18
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-layout.js +0 -95
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper.css +0 -50
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question1/question1.js +0 -10
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question2/question2.js +0 -10
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question3/question3.js +0 -10
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question4/question4.js +0 -10
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question5/question5.js +0 -10
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question6/question6.js +0 -10
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question7/question7.js +0 -10
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question8/question8.js +0 -10
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/yes-no-buttons/qsuper-question-yes-no-buttons.js +0 -66
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/services/qsuper.store.js +0 -64
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/api/slate-choice.api.dto.js +0 -1
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/api/slate-choice.api.js +0 -13
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/services/slate-iframe-builder.js +0 -127
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-fund.store.js +0 -9
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-join-page.js +0 -35
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-standard-choice-page.js +0 -67
- 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 +0 -19
- package/dist/lib/collection/components/super-selection-app/notifications-section/notifications-section.js +0 -25
- package/dist/lib/collection/components/super-selection-app/services/australian-fund-lookup.service.js +0 -22
- package/dist/lib/collection/components/super-selection-app/services/event-tracking.service.js +0 -71
- package/dist/lib/collection/components/super-selection-app/services/navigation.service.js +0 -22
- package/dist/lib/collection/components/super-selection-app/services/notifications.service.js +0 -37
- package/dist/lib/collection/components/super-selection-app/services/notifications.store.js +0 -3
- package/dist/lib/collection/components/super-selection-app/services/selected-super-choice-info.service.js +0 -53
- package/dist/lib/collection/components/super-selection-app/services/super-selection-app.routes.js +0 -42
- package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +0 -73
- package/dist/lib/collection/components/super-selection-app/services/super-selection.store.js +0 -11
- package/dist/lib/collection/components/super-selection-app/standard-choice/api/standard-choice.model.js +0 -1
- package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.js +0 -49
- package/dist/lib/collection/components/super-selection-app/super-choice-page/selected-super-choice-section/selected-super-choice-section.css +0 -18
- package/dist/lib/collection/components/super-selection-app/super-choice-page/selected-super-choice-section/selected-super-choice-section.js +0 -53
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item.js +0 -216
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.css +0 -53
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +0 -152
- package/dist/lib/collection/components/super-selection-app/super-selection-app.css +0 -15
- package/dist/lib/collection/components/super-selection-app/super-selection-app.js +0 -229
- package/dist/lib/collection/global/init-host.js +0 -22
- package/dist/lib/collection/global/main.dev.js +0 -26
- package/dist/lib/collection/global/main.js +0 -11
- package/dist/lib/collection/global/stencil-router-workaround.js +0 -12
- package/dist/lib/collection/index.js +0 -2
- package/dist/lib/collection/utils/config.js +0 -2
- package/dist/lib/collection/utils/gtm.js +0 -5
- package/dist/lib/collection/utils/iframe.js +0 -33
- package/dist/lib/collection/utils/index.js +0 -8
- package/dist/lib/collection/utils/lazy.js +0 -29
- package/dist/lib/collection/utils/storage.js +0 -5
- package/dist/lib/esm/active-router-09eb3641.js +0 -73
- package/dist/lib/esm/apollo-super-selection.js +0 -21
- package/dist/lib/esm/app-globals-7ac1ffba.js +0 -23
- package/dist/lib/esm/context-consumer.entry.js +0 -25
- package/dist/lib/esm/datorama-akita-79ce4385.js +0 -2692
- package/dist/lib/esm/delay-c0555599.js +0 -935
- package/dist/lib/esm/fl-button_43.entry.js +0 -16923
- package/dist/lib/esm/fl-style-guide.entry.js +0 -86
- package/dist/lib/esm/index-227ab0f1.js +0 -1731
- package/dist/lib/esm/index.js +0 -1
- package/dist/lib/esm/loader.js +0 -21
- package/dist/lib/esm/polyfills/core-js.js +0 -11
- package/dist/lib/esm/polyfills/css-shim.js +0 -1
- package/dist/lib/esm/polyfills/dom.js +0 -79
- package/dist/lib/esm/polyfills/es5-html-element.js +0 -1
- package/dist/lib/esm/polyfills/index.js +0 -34
- package/dist/lib/esm/polyfills/system.js +0 -6
- package/dist/lib/esm/stencil-async-content.entry.js +0 -28
- package/dist/lib/esm/stencil-route-title.entry.js +0 -28
- package/dist/lib/esm/stencil-router-prompt.entry.js +0 -55
- package/dist/lib/esm/stencil-router-redirect.entry.js +0 -28
- package/dist/lib/esm-es5/active-router-09eb3641.js +0 -1
- package/dist/lib/esm-es5/apollo-super-selection.js +0 -1
- package/dist/lib/esm-es5/app-globals-7ac1ffba.js +0 -1
- package/dist/lib/esm-es5/context-consumer.entry.js +0 -1
- package/dist/lib/esm-es5/datorama-akita-79ce4385.js +0 -15
- package/dist/lib/esm-es5/delay-c0555599.js +0 -1
- package/dist/lib/esm-es5/fl-button_43.entry.js +0 -69
- package/dist/lib/esm-es5/fl-style-guide.entry.js +0 -1
- package/dist/lib/esm-es5/index-227ab0f1.js +0 -1
- package/dist/lib/esm-es5/index.js +0 -0
- package/dist/lib/esm-es5/loader.js +0 -1
- package/dist/lib/esm-es5/stencil-async-content.entry.js +0 -1
- package/dist/lib/esm-es5/stencil-route-title.entry.js +0 -1
- package/dist/lib/esm-es5/stencil-router-prompt.entry.js +0 -1
- package/dist/lib/esm-es5/stencil-router-redirect.entry.js +0 -1
- package/dist/lib/index.cjs.js +0 -1
- package/dist/lib/index.js +0 -1
- package/dist/lib/loader/cdn.js +0 -3
- package/dist/lib/loader/index.cjs.js +0 -3
- package/dist/lib/loader/index.d.ts +0 -13
- package/dist/lib/loader/index.es2017.js +0 -3
- package/dist/lib/loader/index.js +0 -4
- package/dist/lib/loader/package.json +0 -10
- package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/button/button.css +0 -45
- package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/dropdown/dropdown.css +0 -9
- package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/dropdown-async/dropdown-async.css +0 -9
- package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/loading-indicator/loading-indicator.css +0 -141
- package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/promise-button/promise-button.css +0 -5
- 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 +0 -3
- package/dist/lib/types/components/app-host/loading-page.d.ts +0 -3
- package/dist/lib/types/components/app-host/services/app-configuration.query.d.ts +0 -11
- package/dist/lib/types/components/app-host/services/app-configuration.service.d.ts +0 -9
- package/dist/lib/types/components/app-host/services/appinsights.service.d.ts +0 -14
- package/dist/lib/types/components/app-host/services/authentication.query.d.ts +0 -13
- package/dist/lib/types/components/app-host/services/authentication.service.d.ts +0 -9
- package/dist/lib/types/components/app-host/services/interop/host-interop.service.d.ts +0 -7
- package/dist/lib/types/components/app-host/services/interop/iframe-interop.service.d.ts +0 -5
- package/dist/lib/types/components/app-host/services/interop/react-native-interop.service.d.ts +0 -7
- package/dist/lib/types/components/app-host/services/interop.query.d.ts +0 -11
- package/dist/lib/types/components/app-host/services/session.store.d.ts +0 -30
- package/dist/lib/types/components/app-host/super-selection-app-host.d.ts +0 -17
- package/dist/lib/types/components/super-selection-app/api/api-client.d.ts +0 -2
- package/dist/lib/types/components/super-selection-app/api/event-tracking.api.d.ts +0 -6
- package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +0 -73
- package/dist/lib/types/components/super-selection-app/api/super-selection.api.d.ts +0 -16
- package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +0 -81
- package/dist/lib/types/components/super-selection-app/app-state-pages/success.d.ts +0 -4
- package/dist/lib/types/components/super-selection-app/footer-section/footer-section.d.ts +0 -4
- package/dist/lib/types/components/super-selection-app/funds/constants.d.ts +0 -13
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.d.ts +0 -8
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.dto.d.ts +0 -28
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/custom-fund.d.ts +0 -9
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/custom-fund.store.d.ts +0 -30
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/default-fund/default-fund.d.ts +0 -15
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-inputs.d.ts +0 -12
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.d.ts +0 -12
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/bankBsbNumbers.d.ts +0 -112
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.d.ts +0 -15
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.d.ts +0 -10
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.form.d.ts +0 -14
- package/dist/lib/types/components/super-selection-app/funds/qsuper/api/qsuper-choice.api.d.ts +0 -6
- package/dist/lib/types/components/super-selection-app/funds/qsuper/api/qsuper-choice.api.dto.d.ts +0 -21
- package/dist/lib/types/components/super-selection-app/funds/qsuper/helpers/confirmCheck.d.ts +0 -1
- package/dist/lib/types/components/super-selection-app/funds/qsuper/helpers/continueCheck.d.ts +0 -1
- package/dist/lib/types/components/super-selection-app/funds/qsuper/helpers/getNextRoute.d.ts +0 -2
- package/dist/lib/types/components/super-selection-app/funds/qsuper/helpers/resetState.d.ts +0 -1
- package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-confirm-header.d.ts +0 -5
- package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-confirm-selection/qsuper-confirm-selection.d.ts +0 -6
- package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-consent/qsuper-consent.d.ts +0 -7
- package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-insurance-opt-in.d.ts +0 -12
- package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-insurance-questions.d.ts +0 -3
- package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-layout.d.ts +0 -11
- package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question1/question1.d.ts +0 -3
- package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question2/question2.d.ts +0 -3
- package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question3/question3.d.ts +0 -3
- package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question4/question4.d.ts +0 -3
- package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question5/question5.d.ts +0 -3
- package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question6/question6.d.ts +0 -3
- package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question7/question7.d.ts +0 -3
- package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question8/question8.d.ts +0 -3
- package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/yes-no-buttons/qsuper-question-yes-no-buttons.d.ts +0 -6
- package/dist/lib/types/components/super-selection-app/funds/qsuper/services/qsuper.store.d.ts +0 -58
- package/dist/lib/types/components/super-selection-app/funds/slate-super/api/slate-choice.api.d.ts +0 -6
- package/dist/lib/types/components/super-selection-app/funds/slate-super/api/slate-choice.api.dto.d.ts +0 -4
- package/dist/lib/types/components/super-selection-app/funds/slate-super/services/slate-iframe-builder.d.ts +0 -13
- package/dist/lib/types/components/super-selection-app/funds/slate-super/slate-fund.store.d.ts +0 -7
- package/dist/lib/types/components/super-selection-app/funds/slate-super/slate-join-page.d.ts +0 -7
- package/dist/lib/types/components/super-selection-app/funds/slate-super/slate-standard-choice-page.d.ts +0 -8
- package/dist/lib/types/components/super-selection-app/funds/slate-super/slatesuper-header.d.ts +0 -3
- package/dist/lib/types/components/super-selection-app/notifications-section/notifications-section.d.ts +0 -5
- package/dist/lib/types/components/super-selection-app/services/australian-fund-lookup.service.d.ts +0 -8
- package/dist/lib/types/components/super-selection-app/services/event-tracking.service.d.ts +0 -17
- package/dist/lib/types/components/super-selection-app/services/navigation.service.d.ts +0 -9
- package/dist/lib/types/components/super-selection-app/services/notifications.service.d.ts +0 -15
- package/dist/lib/types/components/super-selection-app/services/notifications.store.d.ts +0 -14
- package/dist/lib/types/components/super-selection-app/services/selected-super-choice-info.service.d.ts +0 -18
- package/dist/lib/types/components/super-selection-app/services/super-selection-app.routes.d.ts +0 -21
- package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts +0 -24
- package/dist/lib/types/components/super-selection-app/services/super-selection.store.d.ts +0 -13
- package/dist/lib/types/components/super-selection-app/standard-choice/api/standard-choice.model.d.ts +0 -3
- package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.d.ts +0 -7
- package/dist/lib/types/components/super-selection-app/super-choice-page/selected-super-choice-section/selected-super-choice-section.d.ts +0 -5
- package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-item.d.ts +0 -17
- package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-page.d.ts +0 -13
- package/dist/lib/types/components/super-selection-app/super-selection-app.d.ts +0 -26
- package/dist/lib/types/components.d.ts +0 -532
- package/dist/lib/types/global/init-host.d.ts +0 -1
- package/dist/lib/types/global/main.d.ts +0 -1
- package/dist/lib/types/global/main.dev.d.ts +0 -1
- package/dist/lib/types/global/stencil-router-workaround.d.ts +0 -1
- package/dist/lib/types/index.d.ts +0 -2
- package/dist/lib/types/stencil-public-runtime.d.ts +0 -1555
- package/dist/lib/types/utils/config.d.ts +0 -2
- package/dist/lib/types/utils/gtm.d.ts +0 -7
- package/dist/lib/types/utils/iframe.d.ts +0 -13
- package/dist/lib/types/utils/index.d.ts +0 -3
- package/dist/lib/types/utils/lazy.d.ts +0 -12
- package/dist/lib/types/utils/storage.d.ts +0 -4
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { Component, h, Prop } from '@stencil/core';
|
|
2
|
-
import { injectHistory } from '@stencil/router';
|
|
3
|
-
import navigationService from '../../../../services/navigation.service';
|
|
4
|
-
import superSelectionAppService from '../../../../services/super-selection-app.service';
|
|
5
|
-
import { getNextRoute } from '../../helpers/getNextRoute';
|
|
6
|
-
import qSuperState from '../../services/qsuper.store';
|
|
7
|
-
export class QsuperQuestionYesNoButtons {
|
|
8
|
-
render() {
|
|
9
|
-
return (h("div", { class: "d-flex mt-4" },
|
|
10
|
-
h("div", { class: "flex-grow-1 w-50" },
|
|
11
|
-
h("div", { class: "mr-2" },
|
|
12
|
-
h("fl-button", { onClick: () => this.handleQuestionClick(true), isBlockElement: true, variant: "secondary" },
|
|
13
|
-
h("span", null, "Yes")))),
|
|
14
|
-
h("div", { class: "flex-grow-1 w-50" },
|
|
15
|
-
h("div", { class: "ml-2" },
|
|
16
|
-
h("fl-promise-button", { isBlockElement: true, variant: "secondary", onClick: () => this.handleQuestionClick(false) },
|
|
17
|
-
h("span", null, "No"))))));
|
|
18
|
-
}
|
|
19
|
-
handleQuestionClick(input) {
|
|
20
|
-
// on click of yes or no - record this to state
|
|
21
|
-
const baseAppUrl = superSelectionAppService.appBaseUrl;
|
|
22
|
-
const currentQuestion = window.location.pathname
|
|
23
|
-
.split(baseAppUrl + '/qsuper/insurance/')[1]
|
|
24
|
-
.replace(/\/+$/, '');
|
|
25
|
-
if (qSuperState.qSuperQuestionnaire.questions === undefined) {
|
|
26
|
-
qSuperState.qSuperQuestionnaire.questions = {
|
|
27
|
-
question1: false,
|
|
28
|
-
question2: false,
|
|
29
|
-
question3: false,
|
|
30
|
-
question4: false,
|
|
31
|
-
question5: false,
|
|
32
|
-
question6: false,
|
|
33
|
-
question7: false,
|
|
34
|
-
question8: false
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
qSuperState.qSuperQuestionnaire.questions[currentQuestion] = input;
|
|
38
|
-
qSuperState.qSuperInsuranceQuestions[currentQuestion].answered = true;
|
|
39
|
-
qSuperState.nextRoute = getNextRoute();
|
|
40
|
-
navigationService.navigateInternally(this.history, qSuperState.nextRoute);
|
|
41
|
-
}
|
|
42
|
-
static get is() { return "sss-qsuper-question-yes-no-buttons"; }
|
|
43
|
-
static get properties() { return {
|
|
44
|
-
"history": {
|
|
45
|
-
"type": "unknown",
|
|
46
|
-
"mutable": false,
|
|
47
|
-
"complexType": {
|
|
48
|
-
"original": "RouterHistory",
|
|
49
|
-
"resolved": "RouterHistory",
|
|
50
|
-
"references": {
|
|
51
|
-
"RouterHistory": {
|
|
52
|
-
"location": "import",
|
|
53
|
-
"path": "@stencil/router"
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
"required": false,
|
|
58
|
-
"optional": false,
|
|
59
|
-
"docs": {
|
|
60
|
-
"tags": [],
|
|
61
|
-
"text": ""
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}; }
|
|
65
|
-
}
|
|
66
|
-
injectHistory(QsuperQuestionYesNoButtons);
|
package/dist/lib/collection/components/super-selection-app/funds/qsuper/services/qsuper.store.js
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { createStore } from '@stencil/store';
|
|
2
|
-
export var QSuperFormPages;
|
|
3
|
-
(function (QSuperFormPages) {
|
|
4
|
-
QSuperFormPages[QSuperFormPages["InsuranceConfirm"] = 0] = "InsuranceConfirm";
|
|
5
|
-
QSuperFormPages[QSuperFormPages["InsuranceQuestions"] = 1] = "InsuranceQuestions";
|
|
6
|
-
QSuperFormPages[QSuperFormPages["AccumulationAccount"] = 2] = "AccumulationAccount";
|
|
7
|
-
QSuperFormPages[QSuperFormPages["ConfirmSelection"] = 3] = "ConfirmSelection";
|
|
8
|
-
})(QSuperFormPages || (QSuperFormPages = {}));
|
|
9
|
-
export var QSuperInsuranceQuestions;
|
|
10
|
-
(function (QSuperInsuranceQuestions) {
|
|
11
|
-
QSuperInsuranceQuestions[QSuperInsuranceQuestions["question1"] = 0] = "question1";
|
|
12
|
-
QSuperInsuranceQuestions[QSuperInsuranceQuestions["question2"] = 1] = "question2";
|
|
13
|
-
QSuperInsuranceQuestions[QSuperInsuranceQuestions["question3"] = 2] = "question3";
|
|
14
|
-
QSuperInsuranceQuestions[QSuperInsuranceQuestions["question4"] = 3] = "question4";
|
|
15
|
-
QSuperInsuranceQuestions[QSuperInsuranceQuestions["question5"] = 4] = "question5";
|
|
16
|
-
QSuperInsuranceQuestions[QSuperInsuranceQuestions["question6"] = 5] = "question6";
|
|
17
|
-
QSuperInsuranceQuestions[QSuperInsuranceQuestions["question7"] = 6] = "question7";
|
|
18
|
-
QSuperInsuranceQuestions[QSuperInsuranceQuestions["question8"] = 7] = "question8";
|
|
19
|
-
})(QSuperInsuranceQuestions || (QSuperInsuranceQuestions = {}));
|
|
20
|
-
export const initialStateQSuper = {
|
|
21
|
-
currentQSuperInsuranceQuestion: QSuperInsuranceQuestions.question1,
|
|
22
|
-
currentQSuperFormPage: QSuperFormPages.InsuranceConfirm,
|
|
23
|
-
qSuperFormValid: false,
|
|
24
|
-
nextRoute: '/',
|
|
25
|
-
continueAllowed: false,
|
|
26
|
-
qSuperOptInPageCheckbox: false,
|
|
27
|
-
qSuperJoinPageCheckbox: false,
|
|
28
|
-
qSuperInsuranceQuestions: {
|
|
29
|
-
question1: {
|
|
30
|
-
answered: false
|
|
31
|
-
},
|
|
32
|
-
question2: {
|
|
33
|
-
answered: false
|
|
34
|
-
},
|
|
35
|
-
question3: {
|
|
36
|
-
answered: false
|
|
37
|
-
},
|
|
38
|
-
question4: {
|
|
39
|
-
answered: false
|
|
40
|
-
},
|
|
41
|
-
question5: {
|
|
42
|
-
answered: false
|
|
43
|
-
},
|
|
44
|
-
question6: {
|
|
45
|
-
answered: false
|
|
46
|
-
},
|
|
47
|
-
question7: {
|
|
48
|
-
answered: false
|
|
49
|
-
},
|
|
50
|
-
question8: {
|
|
51
|
-
answered: false
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
qSuperQuestionnaire: {
|
|
55
|
-
reviewedApplication: false,
|
|
56
|
-
acceptedDeclaration: false,
|
|
57
|
-
readDutyOfDisclosure: false,
|
|
58
|
-
insuranceChosen: false
|
|
59
|
-
},
|
|
60
|
-
standardChoiceFormSignature: ''
|
|
61
|
-
};
|
|
62
|
-
const { state, reset } = createStore(initialStateQSuper);
|
|
63
|
-
export const resetQSuperStore = reset;
|
|
64
|
-
export default state;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/lib/collection/components/super-selection-app/funds/slate-super/api/slate-choice.api.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { buildBackendApiClient } from '../../../api/api-client';
|
|
2
|
-
export class SlateChoiceApi {
|
|
3
|
-
async submitSlateChoiceAsync(dto) {
|
|
4
|
-
return buildBackendApiClient()
|
|
5
|
-
.url('super-choice/slate')
|
|
6
|
-
.post(dto)
|
|
7
|
-
.badRequest(() => {
|
|
8
|
-
throw new Error('Failed to process Slate join request');
|
|
9
|
-
})
|
|
10
|
-
.text();
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
export default new SlateChoiceApi();
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
import interopQuery from '../../../../app-host/services/interop.query';
|
|
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 slateFundState from '../../slate-super/slate-fund.store';
|
|
6
|
-
class SlateIFrameBuilder {
|
|
7
|
-
constructor() {
|
|
8
|
-
this.hostIsLocalSuperSelection = () => window.location.origin == "http://localhost:7100";
|
|
9
|
-
this.hostIsDeployed = () => window.location.origin.endsWith("partner.flarehr.com");
|
|
10
|
-
this.skipConsolidation = () => interopQuery.isReactNativeInteropEnabled() ? 'true' : 'false';
|
|
11
|
-
this.environmentDiscriminator = () => {
|
|
12
|
-
let discriminator = window.location.hostname.toLowerCase().split('.')[0];
|
|
13
|
-
switch (discriminator) {
|
|
14
|
-
case 'autodev-partner':
|
|
15
|
-
case 'test-partner':
|
|
16
|
-
case 'partner':
|
|
17
|
-
case 'sandbox-partner':
|
|
18
|
-
return discriminator.replace('partner', '');
|
|
19
|
-
default:
|
|
20
|
-
return 'autodev-';
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
this.slateJoinAppUrl = () => {
|
|
24
|
-
return `https://${this.environmentDiscriminator()}join.slatesuper.com.au/confirm`;
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
build(iframe, history) {
|
|
28
|
-
if (!(iframe === null || iframe === void 0 ? void 0 : iframe.contentDocument))
|
|
29
|
-
return;
|
|
30
|
-
const baseUrl = this.hostIsLocalSuperSelection() || this.hostIsDeployed() ?
|
|
31
|
-
`${window.location.origin}/super-selection/embed/v1.0/app` :
|
|
32
|
-
"https://autodev-partner.flarehr.com/super-selection/embed/v1.0/app";
|
|
33
|
-
const redirectUrl = `${baseUrl}/slate-redirect.html`;
|
|
34
|
-
const postData = Object.assign(Object.assign({}, this.getSlateJoinMemberData()), { successRedirectUrl: redirectUrl, cancelRedirectUrl: redirectUrl, skipConsolidation: this.skipConsolidation() });
|
|
35
|
-
if (this.includeJwt()) {
|
|
36
|
-
postData.authToken = superSelectionAppService.jwt;
|
|
37
|
-
}
|
|
38
|
-
const handleMessage = (event) => {
|
|
39
|
-
const { data, origin } = event;
|
|
40
|
-
if (!data) {
|
|
41
|
-
return;
|
|
42
|
-
}
|
|
43
|
-
if (data.sender === 'slate-redirect') {
|
|
44
|
-
window.removeEventListener("message", handleMessage);
|
|
45
|
-
switch (data.type) {
|
|
46
|
-
case 'success':
|
|
47
|
-
if (data.memberNumber) {
|
|
48
|
-
slateFundState.slateFundForm.memberNumber = data.memberNumber;
|
|
49
|
-
navigationService.navigateInternally(history, SuperSelectionAppRoutes.SlateStandardChoice);
|
|
50
|
-
break;
|
|
51
|
-
}
|
|
52
|
-
/* falls through */
|
|
53
|
-
default:
|
|
54
|
-
navigationService.navigateInternally(history, SuperSelectionAppRoutes.ChoicePage);
|
|
55
|
-
break;
|
|
56
|
-
}
|
|
57
|
-
return;
|
|
58
|
-
}
|
|
59
|
-
if (data.sender === 'flare' && origin.endsWith("join.slatesuper.com.au")) {
|
|
60
|
-
switch (data.type) {
|
|
61
|
-
case 'contentResized':
|
|
62
|
-
iframe.height = data.height > 0 ? data.height : iframe.height;
|
|
63
|
-
iframe.width = data.width > 0 ? data.width : iframe.width;
|
|
64
|
-
break;
|
|
65
|
-
default:
|
|
66
|
-
break;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
};
|
|
70
|
-
window.addEventListener("message", handleMessage);
|
|
71
|
-
const iframeDoc = iframe.contentDocument;
|
|
72
|
-
iframeDoc.open();
|
|
73
|
-
const form = iframeDoc.createElement("form");
|
|
74
|
-
form.method = 'POST';
|
|
75
|
-
form.target = '_self';
|
|
76
|
-
form.action = this.slateJoinAppUrl();
|
|
77
|
-
let prop;
|
|
78
|
-
for (prop in postData) {
|
|
79
|
-
const value = postData[prop];
|
|
80
|
-
if (value !== undefined) {
|
|
81
|
-
const input = document.createElement('input');
|
|
82
|
-
input.type = 'hidden';
|
|
83
|
-
input.name = prop;
|
|
84
|
-
input.value = value;
|
|
85
|
-
form.append(input);
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
iframeDoc.appendChild(form);
|
|
89
|
-
iframeDoc.close();
|
|
90
|
-
form.submit();
|
|
91
|
-
}
|
|
92
|
-
getSlateJoinMemberData() {
|
|
93
|
-
var _a, _b;
|
|
94
|
-
const superBuyer = superSelectionAppService.superBuyer;
|
|
95
|
-
const toSlateGender = (gender) => {
|
|
96
|
-
switch (gender) {
|
|
97
|
-
case 'Male':
|
|
98
|
-
return 'Male';
|
|
99
|
-
case 'Female':
|
|
100
|
-
return 'Female';
|
|
101
|
-
case 'Intersex':
|
|
102
|
-
return 'Intersex/Indeterminate';
|
|
103
|
-
default:
|
|
104
|
-
return 'Unknown';
|
|
105
|
-
}
|
|
106
|
-
};
|
|
107
|
-
return {
|
|
108
|
-
firstName: superBuyer.userProfile.firstName,
|
|
109
|
-
middleName: superBuyer.userProfile.middleName,
|
|
110
|
-
lastName: superBuyer.userProfile.lastName,
|
|
111
|
-
dateOfBirth: superBuyer.userProfile.dateOfBirth,
|
|
112
|
-
gender: toSlateGender(superBuyer.userProfile.gender),
|
|
113
|
-
email: superBuyer.userProfile.email,
|
|
114
|
-
mobilePhone: superBuyer.userProfile.mobilePhone,
|
|
115
|
-
taxFileNumber: (_a = superBuyer.tfn) !== null && _a !== void 0 ? _a : '',
|
|
116
|
-
addressLine1: superBuyer.userProfile.address.addressLine1,
|
|
117
|
-
addressLine2: (_b = superBuyer.userProfile.address.addressLine2) !== null && _b !== void 0 ? _b : '',
|
|
118
|
-
city: superBuyer.userProfile.address.city,
|
|
119
|
-
state: superBuyer.userProfile.address.state,
|
|
120
|
-
postCode: superBuyer.userProfile.address.postcode
|
|
121
|
-
};
|
|
122
|
-
}
|
|
123
|
-
includeJwt() {
|
|
124
|
-
return !this.slateJoinAppUrl().match(/autodev|sandbox/);
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
export default new SlateIFrameBuilder();
|
package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-join-page.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { Component, h, Host, Prop } from '@stencil/core';
|
|
2
|
-
import slateIFrameBuilder from './services/slate-iframe-builder';
|
|
3
|
-
export class SlateJoinPage {
|
|
4
|
-
componentDidLoad() {
|
|
5
|
-
slateIFrameBuilder.build(this.iframeElement, this.history);
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return (h(Host, { class: "d-flex flex-fill" },
|
|
9
|
-
h("iframe", { width: "100%", height: window.innerHeight, style: { "border": "none" }, ref: (el) => (this.iframeElement = el) })));
|
|
10
|
-
}
|
|
11
|
-
;
|
|
12
|
-
static get is() { return "sss-slate-join-page"; }
|
|
13
|
-
static get properties() { return {
|
|
14
|
-
"history": {
|
|
15
|
-
"type": "unknown",
|
|
16
|
-
"mutable": false,
|
|
17
|
-
"complexType": {
|
|
18
|
-
"original": "RouterHistory",
|
|
19
|
-
"resolved": "RouterHistory",
|
|
20
|
-
"references": {
|
|
21
|
-
"RouterHistory": {
|
|
22
|
-
"location": "import",
|
|
23
|
-
"path": "@stencil/router"
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"required": false,
|
|
28
|
-
"optional": false,
|
|
29
|
-
"docs": {
|
|
30
|
-
"tags": [],
|
|
31
|
-
"text": ""
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}; }
|
|
35
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
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 slateState from '../slate-super/slate-fund.store';
|
|
6
|
-
import slateFundState from '../slate-super/slate-fund.store';
|
|
7
|
-
import slateChoiceApi from './api/slate-choice.api';
|
|
8
|
-
export class SlateStandardChoicePage {
|
|
9
|
-
render() {
|
|
10
|
-
return (h(Host, { class: "d-flex flex-fill" },
|
|
11
|
-
h("div", { class: "container" },
|
|
12
|
-
h("div", { class: "row justify-content-center" },
|
|
13
|
-
h("div", { class: "col col-sm-10 col-md-7" },
|
|
14
|
-
h("sss-slatesuper-header", null),
|
|
15
|
-
h("div", null,
|
|
16
|
-
h("form", { noValidate: true, onSubmit: (ev) => ev.preventDefault(), class: {
|
|
17
|
-
'was-validated': this.formState === 'validated'
|
|
18
|
-
}, ref: (el) => (this.formElement = el) },
|
|
19
|
-
h("sss-standard-choice-form", { onStandardChoiceFormSignatureUpdated: (event) => {
|
|
20
|
-
slateFundState.slateFundForm = Object.assign(Object.assign({}, slateFundState.slateFundForm), event.detail);
|
|
21
|
-
} })),
|
|
22
|
-
h("div", { class: "d-flex mt-4" },
|
|
23
|
-
h("div", { class: "flex-grow-1 w-50" },
|
|
24
|
-
h("div", { class: "mr-2" },
|
|
25
|
-
h("stencil-route-link", { url: "/" },
|
|
26
|
-
h("fl-button", { isBlockElement: true, variant: "secondary" },
|
|
27
|
-
h("span", null, "Back"))))),
|
|
28
|
-
h("div", { class: "flex-grow-1 w-50" },
|
|
29
|
-
h("div", { class: "ml-2" },
|
|
30
|
-
h("fl-promise-button", { isBlockElement: true, promiseFn: () => this.handleSubmitForm() },
|
|
31
|
-
h("span", null, "Submit")))))))))));
|
|
32
|
-
}
|
|
33
|
-
async handleSubmitForm() {
|
|
34
|
-
this.formState = 'validated';
|
|
35
|
-
if (this.formElement.checkValidity()) {
|
|
36
|
-
await slateChoiceApi.submitSlateChoiceAsync(slateState.slateFundForm);
|
|
37
|
-
superSelectionAppService.markSuperSelectionAsSubmitted();
|
|
38
|
-
navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.Success);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
static get is() { return "sss-slate-standard-choice-page"; }
|
|
42
|
-
static get properties() { return {
|
|
43
|
-
"history": {
|
|
44
|
-
"type": "unknown",
|
|
45
|
-
"mutable": false,
|
|
46
|
-
"complexType": {
|
|
47
|
-
"original": "RouterHistory",
|
|
48
|
-
"resolved": "RouterHistory",
|
|
49
|
-
"references": {
|
|
50
|
-
"RouterHistory": {
|
|
51
|
-
"location": "import",
|
|
52
|
-
"path": "@stencil/router"
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
"required": false,
|
|
57
|
-
"optional": false,
|
|
58
|
-
"docs": {
|
|
59
|
-
"tags": [],
|
|
60
|
-
"text": ""
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}; }
|
|
64
|
-
static get states() { return {
|
|
65
|
-
"formState": {}
|
|
66
|
-
}; }
|
|
67
|
-
}
|
package/dist/lib/collection/components/super-selection-app/funds/slate-super/slatesuper-header.css
DELETED
|
File without changes
|
package/dist/lib/collection/components/super-selection-app/funds/slate-super/slatesuper-header.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Component, getAssetPath, h } from '@stencil/core';
|
|
2
|
-
export class SlatesuperHeader {
|
|
3
|
-
render() {
|
|
4
|
-
return (h("div", { class: "d-flex" },
|
|
5
|
-
h("div", null,
|
|
6
|
-
h("img", { class: "ss-choice-logo img-thumbnail", alt: "Simple Financial Choices Pty Ltd", src: getAssetPath(`assets/logo-slate.png`) })),
|
|
7
|
-
h("div", { class: "d-flex flex-column ml-3 align-items-left" },
|
|
8
|
-
h("p", { class: "confirm-title font-weight-bold mb-0" }, "You\u2019re almost there!"),
|
|
9
|
-
h("p", { class: "confirm-text mb-0" }, "To proceed type your name below which authorises the signing of the Standard Choice form confirming your super selection."))));
|
|
10
|
-
}
|
|
11
|
-
static get is() { return "sss-slatesuper-header"; }
|
|
12
|
-
static get originalStyleUrls() { return {
|
|
13
|
-
"$": ["slatesuper-header.scss"]
|
|
14
|
-
}; }
|
|
15
|
-
static get styleUrls() { return {
|
|
16
|
-
"$": ["slatesuper-header.css"]
|
|
17
|
-
}; }
|
|
18
|
-
static get assetsDirs() { return ["assets"]; }
|
|
19
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Component, h, Host } from '@stencil/core';
|
|
2
|
-
import notificationsService from '../services/notifications.service';
|
|
3
|
-
export class NotificationsSection {
|
|
4
|
-
disconnectedCallback() {
|
|
5
|
-
notificationsService.clearNotifications();
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
const { items } = notificationsService.state;
|
|
9
|
-
if (items.length <= 0)
|
|
10
|
-
return h(Host, null);
|
|
11
|
-
const firstAlert = items[0];
|
|
12
|
-
const className = `alert alert-${firstAlert.type}`;
|
|
13
|
-
return (h("div", { class: className, role: "alert" },
|
|
14
|
-
h("div", { class: "d-flex" },
|
|
15
|
-
h("p", { class: "mb-0 flex-grow-1" },
|
|
16
|
-
h("strong", null, items[0].details.title)),
|
|
17
|
-
h("button", { onClick: this.handleClose, type: "button", class: "close pb-1", "aria-label": "Close" },
|
|
18
|
-
h("span", { "aria-hidden": "true" }, "\u00D7"))),
|
|
19
|
-
h("p", { class: "mb-0 mt-1" }, items[0].details.description)));
|
|
20
|
-
}
|
|
21
|
-
handleClose() {
|
|
22
|
-
notificationsService.closeCurrent();
|
|
23
|
-
}
|
|
24
|
-
static get is() { return "sss-notifications-section"; }
|
|
25
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { none, some } from 'fp-ts/lib/Option';
|
|
2
|
-
import superSelectionApi from '../api/super-selection.api';
|
|
3
|
-
export class AustralianFundLookupService {
|
|
4
|
-
searchFundsAsync(searchString, maxRecordCount) {
|
|
5
|
-
return superSelectionApi.getAustralianFundsAsync({
|
|
6
|
-
type: 'partialMatch',
|
|
7
|
-
searchString,
|
|
8
|
-
maxRecordCount
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
async getFundByUsiAsync(usi) {
|
|
12
|
-
const results = await superSelectionApi.getAustralianFundsAsync({
|
|
13
|
-
type: 'usiMatch',
|
|
14
|
-
usi
|
|
15
|
-
});
|
|
16
|
-
if (results.length === 1) {
|
|
17
|
-
return some(results[0]);
|
|
18
|
-
}
|
|
19
|
-
return none;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
export default new AustralianFundLookupService();
|
package/dist/lib/collection/components/super-selection-app/services/event-tracking.service.js
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { EventTrackingApi } from '../api/event-tracking.api';
|
|
2
|
-
export class EventTrackingService {
|
|
3
|
-
constructor() {
|
|
4
|
-
this.eventTrackingApi = EventTrackingApi.Instance;
|
|
5
|
-
}
|
|
6
|
-
static get Instance() {
|
|
7
|
-
return this.instance || (this.instance = new this());
|
|
8
|
-
}
|
|
9
|
-
async TrackFinancialProductViewedAsync(detail) {
|
|
10
|
-
return this.trackEventAsync({
|
|
11
|
-
FinancialProductViewed: detail
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
async TrackSuperFundPdsViewedAsync(detail) {
|
|
15
|
-
return this.trackEventAsync({
|
|
16
|
-
SuperFundPdsViewed: detail
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
async TrackFinancialProductAcceptedAsync(detail) {
|
|
20
|
-
return this.trackEventAsync({
|
|
21
|
-
FinancialProductAccepted: detail
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
async TrackFinancialProductRejectedAsync(detail) {
|
|
25
|
-
return this.trackEventAsync({
|
|
26
|
-
FinancialProductRejected: detail
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
async TrackSuperFundPrivacyConfirmationAcceptedAsync(detail) {
|
|
30
|
-
return this.trackEventAsync({
|
|
31
|
-
SuperFundPrivacyConfirmationAccepted: detail
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
async TrackPromotedSuperFundDetailViewedAsync(detail) {
|
|
35
|
-
return this.trackEventAsync({
|
|
36
|
-
SuperFundDetailViewed: {
|
|
37
|
-
PromotedFund: detail
|
|
38
|
-
}
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
async TrackMyOwnSuperFundDetailViewedAsync() {
|
|
42
|
-
return this.trackEventAsync({
|
|
43
|
-
SuperFundDetailViewed: 'MyOwnFund'
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
async TrackSmsfSuperFundDetailViewedAsync() {
|
|
47
|
-
return this.trackEventAsync({
|
|
48
|
-
SuperFundDetailViewed: 'Smsf'
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
async TrackDefaultSuperFundDetailViewedAsync(detail) {
|
|
52
|
-
return this.trackEventAsync({
|
|
53
|
-
SuperFundDetailViewed: {
|
|
54
|
-
DefaultFund: detail
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
async TrackSuperFundPanelViewedAsync(detail) {
|
|
59
|
-
return this.trackEventAsync({
|
|
60
|
-
SuperFundPanelViewed: detail
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
async trackEventAsync(event) {
|
|
64
|
-
try {
|
|
65
|
-
await this.eventTrackingApi.PostAnalyticsEventAsync({ event });
|
|
66
|
-
}
|
|
67
|
-
catch (_a) {
|
|
68
|
-
return;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import iframe from '../../../utils/iframe';
|
|
2
|
-
import superSelectionAppService from './super-selection-app.service';
|
|
3
|
-
class NavigationService {
|
|
4
|
-
navigateInternally(history, route) {
|
|
5
|
-
const path = `${this.appBaseUrl}${this.toRouteWithLeadingSlash(route)}`;
|
|
6
|
-
iframe.navigation(path);
|
|
7
|
-
history.push(path);
|
|
8
|
-
}
|
|
9
|
-
toExternalUrl(url) {
|
|
10
|
-
const externalUrl = new URL(url);
|
|
11
|
-
externalUrl.searchParams.append('_extnav', 'true');
|
|
12
|
-
return externalUrl.href;
|
|
13
|
-
}
|
|
14
|
-
get appBaseUrl() {
|
|
15
|
-
const baseUrl = superSelectionAppService.appBaseUrl;
|
|
16
|
-
return baseUrl.replace(/\/$/, '');
|
|
17
|
-
}
|
|
18
|
-
toRouteWithLeadingSlash(route) {
|
|
19
|
-
return route.length > 0 && route[0] === '/' ? route : `/${route}`;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
export default new NavigationService();
|
package/dist/lib/collection/components/super-selection-app/services/notifications.service.js
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { createStore } from '@stencil/store';
|
|
2
|
-
import { initialState } from './notifications.store';
|
|
3
|
-
class NotificationsService {
|
|
4
|
-
constructor() {
|
|
5
|
-
const { state } = createStore(initialState);
|
|
6
|
-
this._state = state;
|
|
7
|
-
}
|
|
8
|
-
get state() {
|
|
9
|
-
return this._state;
|
|
10
|
-
}
|
|
11
|
-
closeCurrent() {
|
|
12
|
-
const items = [...this._state.items];
|
|
13
|
-
items.shift();
|
|
14
|
-
this._state.items = items;
|
|
15
|
-
}
|
|
16
|
-
clearNotifications() {
|
|
17
|
-
this._state.items = [];
|
|
18
|
-
}
|
|
19
|
-
showErrorNotification(details, priority) {
|
|
20
|
-
this.pushNotification(details, priority !== null && priority !== void 0 ? priority : 0, 'danger');
|
|
21
|
-
}
|
|
22
|
-
showInfoNotification(details, priority) {
|
|
23
|
-
this.pushNotification(details, priority !== null && priority !== void 0 ? priority : 0, 'info');
|
|
24
|
-
}
|
|
25
|
-
showWarningNotification(details, priority) {
|
|
26
|
-
this.pushNotification(details, priority !== null && priority !== void 0 ? priority : 0, 'warning');
|
|
27
|
-
}
|
|
28
|
-
showSuccessNotification(details, priority) {
|
|
29
|
-
this.pushNotification(details, priority !== null && priority !== void 0 ? priority : 0, 'success');
|
|
30
|
-
}
|
|
31
|
-
pushNotification(details, priority, type) {
|
|
32
|
-
const items = [...this._state.items];
|
|
33
|
-
items.push({ details, type, priority });
|
|
34
|
-
this._state.items = items.sort((a, b) => b.priority - a.priority);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
export default new NotificationsService();
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { isSome, none, some } from 'fp-ts/Option';
|
|
2
|
-
import * as constants from '../funds/constants';
|
|
3
|
-
import australianFundLookupService from './australian-fund-lookup.service';
|
|
4
|
-
import superSelectionAppService from './super-selection-app.service';
|
|
5
|
-
export class ChosenFundService {
|
|
6
|
-
async GetChosenFundAsync() {
|
|
7
|
-
var _a;
|
|
8
|
-
const choiceDetails = (_a = superSelectionAppService.superBuyer.superChoice) === null || _a === void 0 ? void 0 : _a.choiceDetails;
|
|
9
|
-
if (!choiceDetails)
|
|
10
|
-
return none;
|
|
11
|
-
if ('promoted' in choiceDetails) {
|
|
12
|
-
const promotedId = constants.QSuperFundId in choiceDetails.promoted
|
|
13
|
-
? constants.QSuperFundId
|
|
14
|
-
: constants.SlateFundId in choiceDetails.promoted
|
|
15
|
-
? constants.SlateFundId
|
|
16
|
-
: '';
|
|
17
|
-
return some({
|
|
18
|
-
isPromoted: true,
|
|
19
|
-
promotedId
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
else if ('smsf' in choiceDetails) {
|
|
23
|
-
return some({
|
|
24
|
-
isPromoted: false,
|
|
25
|
-
name: choiceDetails.smsf.fundName,
|
|
26
|
-
type: 'Self Managed Fund'
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
else if ('myOwnFund' in choiceDetails) {
|
|
30
|
-
const fundUsi = choiceDetails.myOwnFund.usi;
|
|
31
|
-
const fund = await this.getFundByUsiAsync(fundUsi);
|
|
32
|
-
return some({
|
|
33
|
-
isPromoted: false,
|
|
34
|
-
name: isSome(fund) ? fund.value.productName : fundUsi,
|
|
35
|
-
type: 'My Own Fund'
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
else if ('default' in choiceDetails) {
|
|
39
|
-
const defaultUsi = choiceDetails.default.usi;
|
|
40
|
-
const defaultFund = await this.getFundByUsiAsync(defaultUsi);
|
|
41
|
-
return some({
|
|
42
|
-
isPromoted: false,
|
|
43
|
-
name: isSome(defaultFund) ? defaultFund.value.productName : defaultUsi,
|
|
44
|
-
type: 'Default Fund'
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
return none;
|
|
48
|
-
}
|
|
49
|
-
getFundByUsiAsync(usi) {
|
|
50
|
-
return australianFundLookupService.getFundByUsiAsync(usi);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
export default new ChosenFundService();
|