@flarehr/apollo-super-selection 3.17.52693 → 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-01a9f4a4.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-082669d9.js +0 -1
- package/dist/lib/apollo-super-selection/p-13573238.system.js +0 -15
- package/dist/lib/apollo-super-selection/p-20136efe.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-285da037.system.entry.js +0 -1
- 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-38ee2795.system.js +0 -1
- package/dist/lib/apollo-super-selection/p-38f24f69.js +0 -1
- package/dist/lib/apollo-super-selection/p-50ea2036.system.js +0 -1
- package/dist/lib/apollo-super-selection/p-574c7d9b.system.entry.js +0 -69
- package/dist/lib/apollo-super-selection/p-61734b66.js +0 -1
- package/dist/lib/apollo-super-selection/p-642db1f7.system.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-64ebe17d.system.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-7dbe5a2f.system.js +0 -1
- package/dist/lib/apollo-super-selection/p-89495496.entry.js +0 -14
- package/dist/lib/apollo-super-selection/p-8cbfc343.system.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-a98c2760.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-abedb220.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-ae4f5e0b.system.js +0 -1
- package/dist/lib/apollo-super-selection/p-c5e41889.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-cd49a6b7.system.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-d82b00ed.system.js +0 -1
- package/dist/lib/apollo-super-selection/p-df9ce4b7.js +0 -15
- package/dist/lib/apollo-super-selection/p-f15bf700.system.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-f7a45412.entry.js +0 -1
- package/dist/lib/cjs/active-router-e92fd784.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_44.cjs.entry.js +0 -17003
- package/dist/lib/cjs/fl-style-guide.cjs.entry.js +0 -90
- package/dist/lib/cjs/index-942e6faa.js +0 -1767
- 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 -127
- 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 -111
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-not-supported.css +0 -23
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-not-supported.js +0 -52
- 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 -76
- 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-4c80d3d2.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_44.entry.js +0 -16956
- package/dist/lib/esm/fl-style-guide.entry.js +0 -86
- package/dist/lib/esm/index-0496d1af.js +0 -1734
- 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-4c80d3d2.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_44.entry.js +0 -69
- package/dist/lib/esm-es5/fl-style-guide.entry.js +0 -1
- package/dist/lib/esm-es5/index-0496d1af.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 -82
- 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 -14
- 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/custom-fund/self-managed-fund/self-managed-not-supported.d.ts +0 -7
- 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 -25
- 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 -546
- 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,25 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-942e6faa.js');
|
|
6
|
-
require('./datorama-akita-7f4b082a.js');
|
|
7
|
-
require('./delay-81aff2f1.js');
|
|
8
|
-
const appGlobals = require('./app-globals-45007120.js');
|
|
9
|
-
|
|
10
|
-
/*
|
|
11
|
-
Stencil Client Patch Esm v2.3.0 | MIT Licensed | https://stenciljs.com
|
|
12
|
-
*/
|
|
13
|
-
const patchEsm = () => {
|
|
14
|
-
return index.promiseResolve();
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
const defineCustomElements = (win, options) => {
|
|
18
|
-
if (typeof window === 'undefined') return Promise.resolve();
|
|
19
|
-
return patchEsm().then(() => {
|
|
20
|
-
appGlobals.globalScripts();
|
|
21
|
-
return index.bootstrapLazy([["fl-style-guide.cjs",[[1,"fl-style-guide",{"themeCssUrl":[1,"theme-css-url"]}]]],["context-consumer.cjs",[[0,"context-consumer",{"context":[16],"renderer":[16],"subscribe":[16],"unsubscribe":[32]}]]],["stencil-async-content.cjs",[[0,"stencil-async-content",{"documentLocation":[1,"document-location"],"content":[32]}]]],["stencil-route-title.cjs",[[0,"stencil-route-title",{"titleSuffix":[1,"title-suffix"],"pageTitle":[1,"page-title"]}]]],["stencil-router-prompt.cjs",[[0,"stencil-router-prompt",{"when":[4],"message":[1],"history":[16],"unblock":[32]}]]],["stencil-router-redirect.cjs",[[0,"stencil-router-redirect",{"history":[16],"root":[1],"url":[1]}]]],["fl-button_44.cjs",[[0,"sss-my-own-fund",{"history":[16],"formState":[32],"isNotAllInformationProvidedMessageVisible":[32]}],[0,"sss-self-managed-fund",{"history":[16],"formState":[32],"showSmsfNotSupported":[32]}],[0,"sss-qsuper-question-1"],[0,"sss-qsuper-question-2"],[0,"sss-qsuper-question-3"],[0,"sss-qsuper-question-4"],[0,"sss-qsuper-question-5"],[0,"sss-qsuper-question-6"],[0,"sss-qsuper-question-7"],[0,"sss-qsuper-question-8"],[0,"sss-default-fund",{"history":[16],"formState":[32],"defaultFundProductName":[32]}],[0,"sss-qsuper-insurance-opt-in",{"insuranceChosen":[32]}],[0,"sss-qsuper-join"],[0,"sss-slate-standard-choice-page",{"history":[16],"formState":[32]}],[1,"super-selection-app-host",{"sessionState":[32],"jwt":[32],"appConfiguration":[32],"areStylesLoaded":[32]}],[0,"sss-qsuper-consent"],[0,"sss-super-choice-page",{"history":[16],"promotedFunds":[32],"chosenFund":[32]}],[0,"sss-success"],[0,"sss-slate-join-page",{"history":[16]}],[0,"super-selection-app",{"accessToken":[1,"access-token"],"backendUrl":[1,"backend-url"],"appBaseUrl":[1,"app-base-url"],"history":[16],"location":[16],"isAppInitialised":[32]}],[0,"sss-my-own-fund-inputs",{"myOwnFundForm":[16],"selectedOption":[32]}],[0,"sss-self-managed-fund-inputs",{"fundForm":[16],"currentBank":[32]}],[0,"sss-loading-page"],[0,"sss-smsf-not-supported-dialog"],[0,"sss-super-choice-item",{"heading":[1],"isSelected":[4,"is-selected"],"usi":[1],"name":[1],"logo":[1],"pdsLink":[1,"pds-link"],"callToAction":[1,"call-to-action"],"features":[1],"history":[16]}],[0,"sss-selected-super-choice-section",{"fundType":[1,"fund-type"],"fundName":[1,"fund-name"]}],[0,"sss-slatesuper-header"],[0,"sss-footer-section"],[4,"stencil-route-link",{"url":[1],"urlMatch":[1,"url-match"],"activeClass":[1,"active-class"],"exact":[4],"strict":[4],"custom":[1],"anchorClass":[1,"anchor-class"],"anchorRole":[1,"anchor-role"],"anchorTitle":[1,"anchor-title"],"anchorTabIndex":[1,"anchor-tab-index"],"anchorId":[1,"anchor-id"],"history":[16],"location":[16],"root":[1],"ariaHaspopup":[1,"aria-haspopup"],"ariaPosinset":[1,"aria-posinset"],"ariaSetsize":[2,"aria-setsize"],"ariaLabel":[1,"aria-label"],"match":[32]}],[4,"stencil-route-switch",{"group":[513],"scrollTopOffset":[2,"scroll-top-offset"],"location":[16],"routeViewsUpdated":[16]}],[4,"stencil-router",{"root":[1],"historyType":[1,"history-type"],"titleSuffix":[1,"title-suffix"],"scrollTopOffset":[2,"scroll-top-offset"],"location":[32],"history":[32]}],[4,"sss-custom-fund",{"history":[16],"currentCustomFund":[32],"fundOptionsList":[32]}],[0,"fl-dropdown-async",{"placeholder":[1],"searchFunction":[16],"value":[16],"required":[4],"requiredValidationMessage":[1,"required-validation-message"],"disabled":[4],"minSearchStringLength":[2,"min-search-string-length"],"searchState":[32],"inputValue":[32],"isDropdownVisible":[32],"filteredOptions":[32],"highlightedOptionIndex":[32],"selectedOption":[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-standard-choice-form",{"standardChoiceFormSignature":[32]}],[0,"fl-dropdown",{"placeholder":[1],"options":[16],"value":[16],"required":[4],"requiredValidationMessage":[1,"required-validation-message"],"disabled":[4],"inputValue":[32],"isDropdownVisible":[32],"filteredOptions":[32],"highlightedOptionIndex":[32],"selectedOption":[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[4,"sss-qsuper-insurance-questions"],[0,"sss-qsuper-question-yes-no-buttons",{"history":[16]}],[0,"sss-qsuper-confirm-header"],[4,"sss-qsuper-layout",{"history":[16]}],[0,"sss-notifications-section"],[4,"fl-promise-button",{"isBlockElement":[4,"is-block-element"],"isRounded":[4,"is-rounded"],"disabled":[4],"variant":[1],"promiseFn":[16],"state":[32]}],[4,"fl-button",{"isBlockElement":[4,"is-block-element"],"disabled":[4],"variant":[1]}],[0,"fl-loading-indicator",{"theme":[1]}],[0,"stencil-route",{"group":[513],"componentUpdated":[16],"match":[1040],"url":[1],"component":[1],"componentProps":[16],"exact":[4],"routeRender":[16],"scrollTopOffset":[2,"scroll-top-offset"],"routeViewsUpdated":[16],"location":[16],"history":[16],"historyType":[1,"history-type"]}]]]], options);
|
|
22
|
-
});
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
exports.defineCustomElements = defineCustomElements;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-942e6faa.js');
|
|
6
|
-
|
|
7
|
-
const AsyncContent = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
index.registerInstance(this, hostRef);
|
|
10
|
-
this.content = '';
|
|
11
|
-
}
|
|
12
|
-
componentWillLoad() {
|
|
13
|
-
if (this.documentLocation != null) {
|
|
14
|
-
return this.fetchNewContent(this.documentLocation);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
fetchNewContent(newDocumentLocation) {
|
|
18
|
-
return fetch(newDocumentLocation)
|
|
19
|
-
.then(response => response.text())
|
|
20
|
-
.then(data => {
|
|
21
|
-
this.content = data;
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
render() {
|
|
25
|
-
return (index.h("div", { innerHTML: this.content }));
|
|
26
|
-
}
|
|
27
|
-
static get watchers() { return {
|
|
28
|
-
"documentLocation": ["fetchNewContent"]
|
|
29
|
-
}; }
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
exports.stencil_async_content = AsyncContent;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-942e6faa.js');
|
|
6
|
-
const activeRouter = require('./active-router-e92fd784.js');
|
|
7
|
-
|
|
8
|
-
const RouteTitle = class {
|
|
9
|
-
constructor(hostRef) {
|
|
10
|
-
index.registerInstance(this, hostRef);
|
|
11
|
-
this.titleSuffix = '';
|
|
12
|
-
this.pageTitle = '';
|
|
13
|
-
}
|
|
14
|
-
updateDocumentTitle() {
|
|
15
|
-
const el = this.el;
|
|
16
|
-
if (el.ownerDocument) {
|
|
17
|
-
el.ownerDocument.title = `${this.pageTitle}${this.titleSuffix || ''}`;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
componentWillLoad() {
|
|
21
|
-
this.updateDocumentTitle();
|
|
22
|
-
}
|
|
23
|
-
get el() { return index.getElement(this); }
|
|
24
|
-
static get watchers() { return {
|
|
25
|
-
"pageTitle": ["updateDocumentTitle"]
|
|
26
|
-
}; }
|
|
27
|
-
};
|
|
28
|
-
activeRouter.ActiveRouter.injectProps(RouteTitle, [
|
|
29
|
-
'titleSuffix',
|
|
30
|
-
]);
|
|
31
|
-
|
|
32
|
-
exports.stencil_route_title = RouteTitle;
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-942e6faa.js');
|
|
6
|
-
const activeRouter = require('./active-router-e92fd784.js');
|
|
7
|
-
|
|
8
|
-
const StencilRouterPrompt = class {
|
|
9
|
-
constructor(hostRef) {
|
|
10
|
-
index.registerInstance(this, hostRef);
|
|
11
|
-
this.when = true;
|
|
12
|
-
this.message = '';
|
|
13
|
-
}
|
|
14
|
-
enable(message) {
|
|
15
|
-
if (this.unblock) {
|
|
16
|
-
this.unblock();
|
|
17
|
-
}
|
|
18
|
-
if (this.history) {
|
|
19
|
-
this.unblock = this.history.block(message);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
disable() {
|
|
23
|
-
if (this.unblock) {
|
|
24
|
-
this.unblock();
|
|
25
|
-
this.unblock = undefined;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
componentWillLoad() {
|
|
29
|
-
if (this.when) {
|
|
30
|
-
this.enable(this.message);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
updateMessage(newMessage, prevMessage) {
|
|
34
|
-
if (this.when) {
|
|
35
|
-
if (!this.when || prevMessage !== newMessage) {
|
|
36
|
-
this.enable(this.message);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
else {
|
|
40
|
-
this.disable();
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
componentDidUnload() {
|
|
44
|
-
this.disable();
|
|
45
|
-
}
|
|
46
|
-
render() {
|
|
47
|
-
return null;
|
|
48
|
-
}
|
|
49
|
-
get el() { return index.getElement(this); }
|
|
50
|
-
static get watchers() { return {
|
|
51
|
-
"message": ["updateMessage"],
|
|
52
|
-
"when": ["updateMessage"]
|
|
53
|
-
}; }
|
|
54
|
-
};
|
|
55
|
-
activeRouter.ActiveRouter.injectProps(StencilRouterPrompt, [
|
|
56
|
-
'history',
|
|
57
|
-
]);
|
|
58
|
-
|
|
59
|
-
exports.stencil_router_prompt = StencilRouterPrompt;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-942e6faa.js');
|
|
6
|
-
const activeRouter = require('./active-router-e92fd784.js');
|
|
7
|
-
|
|
8
|
-
// Get the URL for this route link without the root from the router
|
|
9
|
-
const getUrl = (url, root) => {
|
|
10
|
-
// Don't allow double slashes
|
|
11
|
-
if (url.charAt(0) == '/' && root.charAt(root.length - 1) == '/') {
|
|
12
|
-
return root.slice(0, root.length - 1) + url;
|
|
13
|
-
}
|
|
14
|
-
return root + url;
|
|
15
|
-
};
|
|
16
|
-
const Redirect = class {
|
|
17
|
-
constructor(hostRef) {
|
|
18
|
-
index.registerInstance(this, hostRef);
|
|
19
|
-
}
|
|
20
|
-
componentWillLoad() {
|
|
21
|
-
if (this.history && this.root && this.url) {
|
|
22
|
-
return this.history.replace(getUrl(this.url, this.root));
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
get el() { return index.getElement(this); }
|
|
26
|
-
};
|
|
27
|
-
activeRouter.ActiveRouter.injectProps(Redirect, [
|
|
28
|
-
'history',
|
|
29
|
-
'root'
|
|
30
|
-
]);
|
|
31
|
-
|
|
32
|
-
exports.stencil_router_redirect = Redirect;
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"entries": [
|
|
3
|
-
"./components/super-selection-app/super-selection-app.js",
|
|
4
|
-
"./components/app-host/loading-page.js",
|
|
5
|
-
"./components/app-host/super-selection-app-host.js",
|
|
6
|
-
"./components/super-selection-app/app-state-pages/success.js",
|
|
7
|
-
"./components/super-selection-app/footer-section/footer-section.js",
|
|
8
|
-
"./components/super-selection-app/funds/custom-fund/custom-fund.js",
|
|
9
|
-
"./components/super-selection-app/funds/custom-fund/default-fund/default-fund.js",
|
|
10
|
-
"./components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-inputs.js",
|
|
11
|
-
"./components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.js",
|
|
12
|
-
"./components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.js",
|
|
13
|
-
"./components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.js",
|
|
14
|
-
"./components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-not-supported.js",
|
|
15
|
-
"./components/super-selection-app/funds/qsuper/qsuper-confirm-header.js",
|
|
16
|
-
"./components/super-selection-app/funds/qsuper/qsuper-insurance-opt-in.js",
|
|
17
|
-
"./components/super-selection-app/funds/qsuper/qsuper-insurance-questions.js",
|
|
18
|
-
"./components/super-selection-app/funds/qsuper/qsuper-layout.js",
|
|
19
|
-
"./components/super-selection-app/funds/qsuper/qsuper-confirm-selection/qsuper-confirm-selection.js",
|
|
20
|
-
"./components/super-selection-app/funds/qsuper/qsuper-consent/qsuper-consent.js",
|
|
21
|
-
"./components/super-selection-app/funds/qsuper/questions/question1/question1.js",
|
|
22
|
-
"./components/super-selection-app/funds/qsuper/questions/question2/question2.js",
|
|
23
|
-
"./components/super-selection-app/funds/qsuper/questions/question3/question3.js",
|
|
24
|
-
"./components/super-selection-app/funds/qsuper/questions/question4/question4.js",
|
|
25
|
-
"./components/super-selection-app/funds/qsuper/questions/question5/question5.js",
|
|
26
|
-
"./components/super-selection-app/funds/qsuper/questions/question6/question6.js",
|
|
27
|
-
"./components/super-selection-app/funds/qsuper/questions/question7/question7.js",
|
|
28
|
-
"./components/super-selection-app/funds/qsuper/questions/question8/question8.js",
|
|
29
|
-
"./components/super-selection-app/funds/qsuper/questions/yes-no-buttons/qsuper-question-yes-no-buttons.js",
|
|
30
|
-
"./components/super-selection-app/funds/slate-super/slate-join-page.js",
|
|
31
|
-
"./components/super-selection-app/funds/slate-super/slate-standard-choice-page.js",
|
|
32
|
-
"./components/super-selection-app/funds/slate-super/slatesuper-header.js",
|
|
33
|
-
"./components/super-selection-app/notifications-section/notifications-section.js",
|
|
34
|
-
"./components/super-selection-app/standard-choice/standard-choice-form.js",
|
|
35
|
-
"./components/super-selection-app/super-choice-page/super-choice-item.js",
|
|
36
|
-
"./components/super-selection-app/super-choice-page/super-choice-page.js",
|
|
37
|
-
"./components/super-selection-app/super-choice-page/selected-super-choice-section/selected-super-choice-section.js"
|
|
38
|
-
],
|
|
39
|
-
"compiler": {
|
|
40
|
-
"name": "@stencil/core",
|
|
41
|
-
"version": "2.3.0",
|
|
42
|
-
"typescriptVersion": "4.0.5"
|
|
43
|
-
},
|
|
44
|
-
"collections": [
|
|
45
|
-
{
|
|
46
|
-
"name": "@flarehr/beacon",
|
|
47
|
-
"tags": [
|
|
48
|
-
"fl-button",
|
|
49
|
-
"fl-dropdown",
|
|
50
|
-
"fl-dropdown-async",
|
|
51
|
-
"fl-loading-indicator",
|
|
52
|
-
"fl-promise-button",
|
|
53
|
-
"fl-style-guide"
|
|
54
|
-
]
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"name": "@stencil/router",
|
|
58
|
-
"tags": [
|
|
59
|
-
"stencil-async-content",
|
|
60
|
-
"stencil-route",
|
|
61
|
-
"stencil-route-link",
|
|
62
|
-
"stencil-route-switch",
|
|
63
|
-
"stencil-route-title",
|
|
64
|
-
"stencil-router",
|
|
65
|
-
"stencil-router-prompt",
|
|
66
|
-
"stencil-router-redirect"
|
|
67
|
-
]
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"name": "@stencil/state-tunnel",
|
|
71
|
-
"tags": [
|
|
72
|
-
"context-consumer"
|
|
73
|
-
]
|
|
74
|
-
}
|
|
75
|
-
],
|
|
76
|
-
"bundles": [
|
|
77
|
-
{
|
|
78
|
-
"components": [
|
|
79
|
-
"fl-button",
|
|
80
|
-
"fl-dropdown",
|
|
81
|
-
"fl-dropdown-async",
|
|
82
|
-
"fl-loading-indicator",
|
|
83
|
-
"fl-promise-button",
|
|
84
|
-
"sss-custom-fund",
|
|
85
|
-
"sss-default-fund",
|
|
86
|
-
"sss-footer-section",
|
|
87
|
-
"sss-loading-page",
|
|
88
|
-
"sss-my-own-fund",
|
|
89
|
-
"sss-my-own-fund-inputs",
|
|
90
|
-
"sss-notifications-section",
|
|
91
|
-
"sss-qsuper-confirm-header",
|
|
92
|
-
"sss-qsuper-consent",
|
|
93
|
-
"sss-qsuper-insurance-opt-in",
|
|
94
|
-
"sss-qsuper-insurance-questions",
|
|
95
|
-
"sss-qsuper-join",
|
|
96
|
-
"sss-qsuper-layout",
|
|
97
|
-
"sss-qsuper-question-1",
|
|
98
|
-
"sss-qsuper-question-2",
|
|
99
|
-
"sss-qsuper-question-3",
|
|
100
|
-
"sss-qsuper-question-4",
|
|
101
|
-
"sss-qsuper-question-5",
|
|
102
|
-
"sss-qsuper-question-6",
|
|
103
|
-
"sss-qsuper-question-7",
|
|
104
|
-
"sss-qsuper-question-8",
|
|
105
|
-
"sss-qsuper-question-yes-no-buttons",
|
|
106
|
-
"sss-selected-super-choice-section",
|
|
107
|
-
"sss-self-managed-fund",
|
|
108
|
-
"sss-self-managed-fund-inputs",
|
|
109
|
-
"sss-slate-join-page",
|
|
110
|
-
"sss-slate-standard-choice-page",
|
|
111
|
-
"sss-slatesuper-header",
|
|
112
|
-
"sss-smsf-not-supported-dialog",
|
|
113
|
-
"sss-standard-choice-form",
|
|
114
|
-
"sss-success",
|
|
115
|
-
"sss-super-choice-item",
|
|
116
|
-
"sss-super-choice-page",
|
|
117
|
-
"stencil-route",
|
|
118
|
-
"stencil-route-link",
|
|
119
|
-
"stencil-route-switch",
|
|
120
|
-
"stencil-router",
|
|
121
|
-
"super-selection-app",
|
|
122
|
-
"super-selection-app-host"
|
|
123
|
-
]
|
|
124
|
-
}
|
|
125
|
-
],
|
|
126
|
-
"global": "./global/main.js"
|
|
127
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Component, h, Host } from '@stencil/core';
|
|
2
|
-
export class LoadingPage {
|
|
3
|
-
render() {
|
|
4
|
-
return (h(Host, { class: "d-flex flex-column justify-content-center align-items-center flex-grow-1" },
|
|
5
|
-
h("h5", null, "Loading your superannuation step"),
|
|
6
|
-
h("fl-loading-indicator", null)));
|
|
7
|
-
}
|
|
8
|
-
static get is() { return "sss-loading-page"; }
|
|
9
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Query } from '@datorama/akita';
|
|
2
|
-
import * as O from 'fp-ts/Option';
|
|
3
|
-
import sessionStore from './session.store';
|
|
4
|
-
export class AppConfigurationQuery extends Query {
|
|
5
|
-
constructor(store) {
|
|
6
|
-
super(store);
|
|
7
|
-
this.store = store;
|
|
8
|
-
this.appConfiguration$ = this.select((state) => state.appConfiguration);
|
|
9
|
-
}
|
|
10
|
-
get configuration() {
|
|
11
|
-
const configuration = this.getValue().appConfiguration;
|
|
12
|
-
if (O.isNone(configuration)) {
|
|
13
|
-
throw Error('App configuration is not yet loaded');
|
|
14
|
-
}
|
|
15
|
-
return configuration.value;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
export default new AppConfigurationQuery(sessionStore);
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import * as O from 'fp-ts/lib/Option';
|
|
2
|
-
import wretch from 'wretch';
|
|
3
|
-
import { Lazy } from '../../../utils';
|
|
4
|
-
import sessionStore from './session.store';
|
|
5
|
-
class AppConfigurationService {
|
|
6
|
-
constructor() {
|
|
7
|
-
this._appRootUrl = new Lazy(() => this.resolveRootUrl());
|
|
8
|
-
this.getAppRootUrl = () => this._appRootUrl.value;
|
|
9
|
-
this.getAppHostUrl = () => `${window.location.origin}${this.getAppRootUrl()}`.replace(/\/$/, '');
|
|
10
|
-
}
|
|
11
|
-
async loadConfigurationAsync() {
|
|
12
|
-
const configuration = await wretch(`${this.getAppRootUrl()}config.json`)
|
|
13
|
-
.get()
|
|
14
|
-
.json();
|
|
15
|
-
sessionStore.update({ appConfiguration: O.fromNullable(configuration) });
|
|
16
|
-
}
|
|
17
|
-
resolveRootUrl() {
|
|
18
|
-
const match = O.fromNullable(window.location.pathname.match(/^\/super-selection\/embed\/v1.0\/app/));
|
|
19
|
-
if (O.isNone(match)) {
|
|
20
|
-
throw Error('Unsupported host URL');
|
|
21
|
-
}
|
|
22
|
-
return match.value[0] + '/';
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
export default new AppConfigurationService();
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { ApplicationInsights } from '@microsoft/applicationinsights-web';
|
|
2
|
-
import { SeverityLevel } from '@microsoft/applicationinsights-web';
|
|
3
|
-
import { setErrorHandler } from '@stencil/core';
|
|
4
|
-
import { Lazy } from '../../../utils';
|
|
5
|
-
import appConfigurationQuery from './app-configuration.query';
|
|
6
|
-
export class AppInsightsService {
|
|
7
|
-
constructor() {
|
|
8
|
-
this.appInsights = new Lazy(() => new ApplicationInsights({
|
|
9
|
-
config: {
|
|
10
|
-
instrumentationKey: appConfigurationQuery.configuration.AppInsightsKey,
|
|
11
|
-
enableAutoRouteTracking: true,
|
|
12
|
-
autoTrackPageVisitTime: true,
|
|
13
|
-
maxBatchInterval: 1000,
|
|
14
|
-
enableUnhandledPromiseRejectionTracking: true
|
|
15
|
-
}
|
|
16
|
-
}));
|
|
17
|
-
}
|
|
18
|
-
init() {
|
|
19
|
-
this.appInsights.value.loadAppInsights();
|
|
20
|
-
setErrorHandler((err) => this.appInsightsErrorHandler(err));
|
|
21
|
-
}
|
|
22
|
-
getAppInsights() {
|
|
23
|
-
return this.appInsights.value;
|
|
24
|
-
}
|
|
25
|
-
addCustomProperties(properties) {
|
|
26
|
-
this.appInsights.value.addTelemetryInitializer((envelope) => {
|
|
27
|
-
envelope.data = envelope.data ? envelope.data : {};
|
|
28
|
-
for (const [k, v] of Object.entries(properties)) {
|
|
29
|
-
envelope.data[k] = v;
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
appInsightsErrorHandler(error) {
|
|
34
|
-
this.appInsights.value.trackException({
|
|
35
|
-
error: error,
|
|
36
|
-
severityLevel: SeverityLevel.Error
|
|
37
|
-
});
|
|
38
|
-
// eslint-disable-next-line no-console
|
|
39
|
-
const defaultStencilErrorHandler = (error) => console.error(error);
|
|
40
|
-
defaultStencilErrorHandler(error);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
export default new AppInsightsService();
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Query } from '@datorama/akita';
|
|
2
|
-
import sessionStore, { AuthenticationState } from './session.store';
|
|
3
|
-
export class AuthenticationQuery extends Query {
|
|
4
|
-
constructor(store) {
|
|
5
|
-
super(store);
|
|
6
|
-
this.store = store;
|
|
7
|
-
this.sessionState$ = this.select((state) => state.authenticationState);
|
|
8
|
-
this.jwt$ = this.select((state) => state.jwt);
|
|
9
|
-
}
|
|
10
|
-
get sessionState() {
|
|
11
|
-
return this.getValue().authenticationState;
|
|
12
|
-
}
|
|
13
|
-
get isUnauthorized() {
|
|
14
|
-
return (this.getValue().authenticationState === AuthenticationState.Unauthorized ||
|
|
15
|
-
this.getValue().authenticationState === AuthenticationState.Error);
|
|
16
|
-
}
|
|
17
|
-
get isAuthorized() {
|
|
18
|
-
return this.getValue().authenticationState === AuthenticationState.Authenticated;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
export default new AuthenticationQuery(sessionStore);
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import * as O from 'fp-ts/lib/Option';
|
|
2
|
-
import wretch from 'wretch';
|
|
3
|
-
import { sendAnalyticsEvent } from '../../../utils/gtm';
|
|
4
|
-
import appConfigurationQuery from './app-configuration.query';
|
|
5
|
-
import appConfigurationService from './app-configuration.service';
|
|
6
|
-
import sessionStore, { AuthenticationState } from './session.store';
|
|
7
|
-
export class AuthenticationService {
|
|
8
|
-
constructor() {
|
|
9
|
-
this.authCodeQueryParameter = 'code';
|
|
10
|
-
}
|
|
11
|
-
authorizationCodeIsPresent(query) {
|
|
12
|
-
const authCode = this.getAuthorizationCodeFromRoute(query);
|
|
13
|
-
return O.isSome(authCode);
|
|
14
|
-
}
|
|
15
|
-
initFromRoute(query) {
|
|
16
|
-
const authorizationCode = this.getAuthorizationCodeFromRoute(query);
|
|
17
|
-
if (O.isNone(authorizationCode)) {
|
|
18
|
-
sessionStore.update({ authenticationState: AuthenticationState.Error });
|
|
19
|
-
throw Error(`"${this.authCodeQueryParameter}" URL query parameter missing`);
|
|
20
|
-
}
|
|
21
|
-
this.authCodeExchangeAsync(authorizationCode.value);
|
|
22
|
-
}
|
|
23
|
-
async authCodeExchangeAsync(authorizationCode) {
|
|
24
|
-
const formData = new URLSearchParams([
|
|
25
|
-
['grant_type', 'authorization_code'],
|
|
26
|
-
['client_id', 'apollo-super-selection-app'],
|
|
27
|
-
['code', authorizationCode],
|
|
28
|
-
['redirect_uri', `${appConfigurationService.getAppHostUrl()}`]
|
|
29
|
-
]);
|
|
30
|
-
const tokenResponse = await wretch(appConfigurationQuery.configuration.OidcAuthority + "/connect/token")
|
|
31
|
-
.headers({ 'Content-Type': 'application/x-www-form-urlencoded' })
|
|
32
|
-
.post(formData.toString())
|
|
33
|
-
.badRequest(() => {
|
|
34
|
-
sessionStore.update({ authenticationState: AuthenticationState.Error });
|
|
35
|
-
throw new Error('Failed to authenticate.');
|
|
36
|
-
})
|
|
37
|
-
.json();
|
|
38
|
-
sessionStore.update({
|
|
39
|
-
jwt: O.fromNullable(tokenResponse.access_token),
|
|
40
|
-
authenticationState: AuthenticationState.Authenticated
|
|
41
|
-
});
|
|
42
|
-
sendAnalyticsEvent('oidc_sign_in', {});
|
|
43
|
-
window.history.replaceState(null, '', appConfigurationService.getAppRootUrl());
|
|
44
|
-
}
|
|
45
|
-
getAuthorizationCodeFromRoute(query) {
|
|
46
|
-
const urlParams = new URLSearchParams(query);
|
|
47
|
-
return O.fromNullable(urlParams.get(this.authCodeQueryParameter));
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
export default new AuthenticationService();
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import * as O from 'fp-ts/Option';
|
|
2
|
-
import interopQuery from '../interop.query';
|
|
3
|
-
import sessionStore from '../session.store';
|
|
4
|
-
import { IFrameInteropService } from './iframe-interop.service';
|
|
5
|
-
import { ReactNativeInteropService } from './react-native-interop.service';
|
|
6
|
-
export class HostInteropService {
|
|
7
|
-
constructor() {
|
|
8
|
-
this.interopModeQueryParameter = 'interop-mode';
|
|
9
|
-
}
|
|
10
|
-
completeSuperSelectionStep() {
|
|
11
|
-
if (interopQuery.isIframeInteropEnabled()) {
|
|
12
|
-
IFrameInteropService.completeSuperSelectionStep();
|
|
13
|
-
}
|
|
14
|
-
else if (interopQuery.isReactNativeInteropEnabled()) {
|
|
15
|
-
ReactNativeInteropService.completeSuperSelectionStep();
|
|
16
|
-
}
|
|
17
|
-
else {
|
|
18
|
-
throw Error('Unknown interop mode');
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
init(urlQuery) {
|
|
22
|
-
const urlParams = new URLSearchParams(urlQuery);
|
|
23
|
-
const interopMode = O.fromNullable(urlParams.get(this.interopModeQueryParameter));
|
|
24
|
-
if (O.isSome(interopMode) && interopMode.value === "react-native") {
|
|
25
|
-
sessionStore.update({ reactNativeInterop: O.some(ReactNativeInteropService.init()) });
|
|
26
|
-
return;
|
|
27
|
-
}
|
|
28
|
-
sessionStore.update({ iframeInterop: O.some(IFrameInteropService.initFromRoute(urlQuery)) });
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
export default new HostInteropService();
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import * as O from 'fp-ts/lib/Option';
|
|
2
|
-
import iframe from '../../../../utils/iframe';
|
|
3
|
-
import interopQuery from '../interop.query';
|
|
4
|
-
export class IFrameInteropService {
|
|
5
|
-
static completeSuperSelectionStep() {
|
|
6
|
-
const { successRedirectionUrl } = interopQuery.getIframeInteropMode();
|
|
7
|
-
if (O.isSome(successRedirectionUrl)) {
|
|
8
|
-
window.top.location.href = successRedirectionUrl.value;
|
|
9
|
-
}
|
|
10
|
-
else {
|
|
11
|
-
iframe.complete();
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
static initFromRoute(route) {
|
|
15
|
-
const redirectionUrlQueryParameter = 'success-redirection-url';
|
|
16
|
-
const urlParams = new URLSearchParams(route);
|
|
17
|
-
const redirectionUrl = O.fromNullable(urlParams.get(redirectionUrlQueryParameter));
|
|
18
|
-
const iframeMode = { successRedirectionUrl: O.none };
|
|
19
|
-
if (O.isSome(redirectionUrl)) {
|
|
20
|
-
try {
|
|
21
|
-
const validatedUrl = new URL(redirectionUrl.value);
|
|
22
|
-
iframeMode.successRedirectionUrl = O.some(validatedUrl.toString());
|
|
23
|
-
}
|
|
24
|
-
catch (error) {
|
|
25
|
-
throw Error(`"${redirectionUrl.value}" is not a valid URL`);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
return iframeMode;
|
|
29
|
-
}
|
|
30
|
-
}
|
package/dist/lib/collection/components/app-host/services/interop/react-native-interop.service.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ReactNativeInteropMode } from '../session.store';
|
|
2
|
-
export class ReactNativeInteropService {
|
|
3
|
-
static init() {
|
|
4
|
-
const isMessagingAvailable = window['ReactNativeWebView'] !== undefined;
|
|
5
|
-
if (!isMessagingAvailable) {
|
|
6
|
-
throw Error('React Native WebView messaging is not enabled. Please, refer to https://github.com/react-native-webview/react-native-webview/blob/master/docs/Guide.md#the-windowreactnativewebviewpostmessage-method-and-onmessage-prop');
|
|
7
|
-
}
|
|
8
|
-
return new ReactNativeInteropMode();
|
|
9
|
-
}
|
|
10
|
-
static completeSuperSelectionStep() {
|
|
11
|
-
this.postRNMessage();
|
|
12
|
-
}
|
|
13
|
-
static postRNMessage() {
|
|
14
|
-
const message = {
|
|
15
|
-
stepStatus: 'completed'
|
|
16
|
-
};
|
|
17
|
-
ReactNativeInteropService.getRnInterop().postMessage(JSON.stringify(message));
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
ReactNativeInteropService.getRnInterop = () => window['ReactNativeWebView'];
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Query } from '@datorama/akita';
|
|
2
|
-
import * as O from 'fp-ts/Option';
|
|
3
|
-
import sessionStore from './session.store';
|
|
4
|
-
export class InteropQuery extends Query {
|
|
5
|
-
constructor(store) {
|
|
6
|
-
super(store);
|
|
7
|
-
this.store = store;
|
|
8
|
-
}
|
|
9
|
-
isReactNativeInteropEnabled() {
|
|
10
|
-
return O.isSome(this.getValue().reactNativeInterop);
|
|
11
|
-
}
|
|
12
|
-
isIframeInteropEnabled() {
|
|
13
|
-
return O.isSome(this.getValue().iframeInterop);
|
|
14
|
-
}
|
|
15
|
-
getIframeInteropMode() {
|
|
16
|
-
const iframeInterop = this.getValue().iframeInterop;
|
|
17
|
-
if (O.isNone(iframeInterop)) {
|
|
18
|
-
throw Error('Failed to get iframe interop information: no data in store');
|
|
19
|
-
}
|
|
20
|
-
if (!this.isIframeInteropEnabled()) {
|
|
21
|
-
throw Error('Failed to get iframe interop information: iframe mode is disabled');
|
|
22
|
-
}
|
|
23
|
-
return iframeInterop.value;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
export default new InteropQuery(sessionStore);
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { Store, StoreConfig } from '@datorama/akita';
|
|
8
|
-
import * as O from 'fp-ts/Option';
|
|
9
|
-
export var AuthenticationState;
|
|
10
|
-
(function (AuthenticationState) {
|
|
11
|
-
AuthenticationState[AuthenticationState["Unauthorized"] = 0] = "Unauthorized";
|
|
12
|
-
AuthenticationState[AuthenticationState["Authenticated"] = 1] = "Authenticated";
|
|
13
|
-
AuthenticationState[AuthenticationState["Error"] = 2] = "Error";
|
|
14
|
-
})(AuthenticationState || (AuthenticationState = {}));
|
|
15
|
-
export class ReactNativeInteropMode {
|
|
16
|
-
}
|
|
17
|
-
export class IframeInteropMode {
|
|
18
|
-
}
|
|
19
|
-
export function createInitialState() {
|
|
20
|
-
return {
|
|
21
|
-
authenticationState: AuthenticationState.Unauthorized,
|
|
22
|
-
jwt: O.none,
|
|
23
|
-
reactNativeInterop: O.none,
|
|
24
|
-
iframeInterop: O.none,
|
|
25
|
-
appConfiguration: O.none
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
let SessionStore = class SessionStore extends Store {
|
|
29
|
-
constructor() {
|
|
30
|
-
super(createInitialState());
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
SessionStore = __decorate([
|
|
34
|
-
StoreConfig({ name: 'sss-session', resettable: true })
|
|
35
|
-
], SessionStore);
|
|
36
|
-
export { SessionStore };
|
|
37
|
-
export default new SessionStore();
|