@flarehr/apollo-super-selection 1.3.36724 → 1.3.36729
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +1 -1
- package/dist/lib/apollo-super-selection/{p-19f66170.entry.js → p-99f46b4a.entry.js} +1 -1
- package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +1 -1
- package/dist/lib/apollo-super-selection/p-f8cb24e8.system.entry.js +69 -0
- package/dist/lib/cjs/sss-button_38.cjs.entry.js +12 -2
- package/dist/lib/collection/components/super-selection-app/consent/consent.js +6 -1
- package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +6 -0
- package/dist/lib/collection/components/super-selection-app/services/super-selection.store.js +1 -0
- package/dist/lib/esm/sss-button_38.entry.js +12 -2
- package/dist/lib/esm-es5/sss-button_38.entry.js +1 -1
- package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts +2 -0
- package/dist/lib/types/components/super-selection-app/services/super-selection.store.d.ts +1 -0
- package/package.json +1 -1
- package/dist/lib/apollo-super-selection/p-39b521b8.system.entry.js +0 -69
|
@@ -264,7 +264,7 @@ class TapSubscriber extends datoramaAkita.Subscriber {
|
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
-
const AppVersion = '1.3.
|
|
267
|
+
const AppVersion = '1.3.36729';
|
|
268
268
|
|
|
269
269
|
// -------------------------------------------------------------------------------------
|
|
270
270
|
// guards
|
|
@@ -3480,6 +3480,7 @@ const initialState = {
|
|
|
3480
3480
|
hasSuperSelectionBeenSubmitted: false,
|
|
3481
3481
|
campaignConnectEnabled: false,
|
|
3482
3482
|
campaignConnectPromise: Option.none,
|
|
3483
|
+
definedBenefitsEligibility: false,
|
|
3483
3484
|
campaignConnect: Option.none
|
|
3484
3485
|
};
|
|
3485
3486
|
|
|
@@ -3577,6 +3578,9 @@ class SuperSelectionAppService {
|
|
|
3577
3578
|
markSuperSelectionAsSubmitted() {
|
|
3578
3579
|
this._state.hasSuperSelectionBeenSubmitted = true;
|
|
3579
3580
|
}
|
|
3581
|
+
get campaignConnectEnabled() {
|
|
3582
|
+
return this._state.campaignConnectEnabled;
|
|
3583
|
+
}
|
|
3580
3584
|
async loadAppStateAsync() {
|
|
3581
3585
|
const appStateResponse = await superSelectionApi.getAppStateAsync();
|
|
3582
3586
|
this._state.accountConfiguration = Option.fromNullable(appStateResponse.accountConfiguration);
|
|
@@ -3585,6 +3589,9 @@ class SuperSelectionAppService {
|
|
|
3585
3589
|
this._state.promotedFunds = Option.fromNullable(appStateResponse.promotedFunds);
|
|
3586
3590
|
this._state.campaignConnectEnabled = appStateResponse.campaignConnectEnabled;
|
|
3587
3591
|
this._state.superChoicePrefill = Option.fromNullable(appStateResponse.prefill);
|
|
3592
|
+
this._state.definedBenefitsEligibility = appStateResponse.definedBenefitsEligibility;
|
|
3593
|
+
}
|
|
3594
|
+
async startLoadingCampaignConnectAsync() {
|
|
3588
3595
|
if (this._state.campaignConnectEnabled) {
|
|
3589
3596
|
this._state.campaignConnectPromise = Option.fromNullable(superSelectionApi.getCampaignConnectAsync());
|
|
3590
3597
|
}
|
|
@@ -3873,10 +3880,13 @@ const Consent = class {
|
|
|
3873
3880
|
return this.eventTrackingService.TrackSuperFundDisclaimerViewedAsync({});
|
|
3874
3881
|
}
|
|
3875
3882
|
render() {
|
|
3876
|
-
return (index.h("div", null, index.h("div", { class: "text-2xl sm:text-3xl font-bold text-center leading-8" }, "Important information about super"), index.h("div", { class: "sm:text-lg text-gray-600 mt-3 sm:mt-4 max-w-800 text-center leading-7 sm:leading-8" }, "The choice of superannuation fund is an important personal financial decision. Next, you\u2019ll be asked to nominate a super fund to receive your employer contributions."), index.h("div", { class: "flex justify-center mt-8 sm:mt-12" }, index.h("div", { class: "border shadow-sm p-4 pb-6 sm:p-6 sm:pb-8 max-w-560 rounded-lg" }, index.h("div", { class: "sm:text-lg font-bold leading-6" }, "By clicking \u201CContinue\u201D you acknowledge that:"), index.h("ul", { class: "list-disc list-outside ml-6 mt-3 mb-6 space-y-2 text-sm leading-6" }, index.h("li", null, "Flare (we/us) provides this paperless employee management service, will feature superannuation funds and offer you employee benefits that you may be interested in;"), index.h("li", null, "all content contained in the following pages does not take into account any of your objectives, financial situation or needs and does not constitute financial product advice;"), index.h("li", null, "in featuring any superannuation funds, we, the technology partner you are accessing us via, or your employer, are not providing any opinion or recommendation (actual or implied) in relation to the suitability or appropriateness of the featured funds;"), index.h("li", null, "if you do choose one of the featured superannuation funds, we and our associates will normally receive a fee for you doing so;"), index.h("li", null, "in the event that you choose one of the featured superannuation funds, we may pass on your personal information and TFN to a related party for the purpose of completing your chosen fund's application form."), index.h("li", null, "Your personal data that is provided to us will be subject to our", ' ', index.h(Link, { className: "font-medium text-blue-600 hover:text-blue-800", href: "https://www.flarehr.com/privacy-policy" }, "Privacy Policy."))
|
|
3883
|
+
return (index.h("div", null, index.h("div", { class: "text-2xl sm:text-3xl font-bold text-center leading-8" }, "Important information about super"), index.h("div", { class: "sm:text-lg text-gray-600 mt-3 sm:mt-4 max-w-800 text-center leading-7 sm:leading-8" }, "The choice of superannuation fund is an important personal financial decision. Next, you\u2019ll be asked to nominate a super fund to receive your employer contributions."), index.h("div", { class: "flex justify-center mt-8 sm:mt-12" }, index.h("div", { class: "border shadow-sm p-4 pb-6 sm:p-6 sm:pb-8 max-w-560 rounded-lg" }, index.h("div", { class: "sm:text-lg font-bold leading-6" }, "By clicking \u201CContinue\u201D you acknowledge that:"), index.h("ul", { class: "list-disc list-outside ml-6 mt-3 mb-6 space-y-2 text-sm leading-6" }, index.h("li", null, "Flare (we/us) provides this paperless employee management service, will feature superannuation funds and offer you employee benefits that you may be interested in;"), index.h("li", null, "all content contained in the following pages does not take into account any of your objectives, financial situation or needs and does not constitute financial product advice;"), index.h("li", null, "in featuring any superannuation funds, we, the technology partner you are accessing us via, or your employer, are not providing any opinion or recommendation (actual or implied) in relation to the suitability or appropriateness of the featured funds;"), index.h("li", null, "if you do choose one of the featured superannuation funds, we and our associates will normally receive a fee for you doing so;"), index.h("li", null, "in the event that you choose one of the featured superannuation funds, we may pass on your personal information and TFN to a related party for the purpose of completing your chosen fund's application form."), index.h("li", null, "Your personal data that is provided to us will be subject to our", ' ', index.h(Link, { className: "font-medium text-blue-600 hover:text-blue-800", href: "https://www.flarehr.com/privacy-policy" }, "Privacy Policy"), ".")), index.h("sss-button", { fillWidth: true, promiseFn: () => this.handleSuperFundDisclaimerAccepted() }, "Continue")))));
|
|
3877
3884
|
}
|
|
3878
3885
|
async handleSuperFundDisclaimerAccepted() {
|
|
3879
3886
|
await this.eventTrackingService.TrackSuperFundDisclaimerAcceptedAsync({});
|
|
3887
|
+
if (superSelectionAppService.campaignConnectEnabled) {
|
|
3888
|
+
await superSelectionAppService.startLoadingCampaignConnectAsync();
|
|
3889
|
+
}
|
|
3880
3890
|
navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ChoicePage);
|
|
3881
3891
|
}
|
|
3882
3892
|
};
|
|
@@ -3,6 +3,7 @@ import { Link } from '../funds/promoted-fund/types';
|
|
|
3
3
|
import { EventTrackingService } from '../services/event-tracking.service';
|
|
4
4
|
import navigationService from '../services/navigation.service';
|
|
5
5
|
import { SuperSelectionAppRoutes } from '../services/super-selection-app.routes';
|
|
6
|
+
import superSelectionService from '../services/super-selection-app.service';
|
|
6
7
|
export class Consent {
|
|
7
8
|
constructor() {
|
|
8
9
|
this.eventTrackingService = EventTrackingService.Instance;
|
|
@@ -26,11 +27,15 @@ export class Consent {
|
|
|
26
27
|
h("li", null,
|
|
27
28
|
"Your personal data that is provided to us will be subject to our",
|
|
28
29
|
' ',
|
|
29
|
-
h(Link, { className: "font-medium text-blue-600 hover:text-blue-800", href: "https://www.flarehr.com/privacy-policy" }, "Privacy Policy
|
|
30
|
+
h(Link, { className: "font-medium text-blue-600 hover:text-blue-800", href: "https://www.flarehr.com/privacy-policy" }, "Privacy Policy"),
|
|
31
|
+
".")),
|
|
30
32
|
h("sss-button", { fillWidth: true, promiseFn: () => this.handleSuperFundDisclaimerAccepted() }, "Continue")))));
|
|
31
33
|
}
|
|
32
34
|
async handleSuperFundDisclaimerAccepted() {
|
|
33
35
|
await this.eventTrackingService.TrackSuperFundDisclaimerAcceptedAsync({});
|
|
36
|
+
if (superSelectionService.campaignConnectEnabled) {
|
|
37
|
+
await superSelectionService.startLoadingCampaignConnectAsync();
|
|
38
|
+
}
|
|
34
39
|
navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ChoicePage);
|
|
35
40
|
}
|
|
36
41
|
static get is() { return "sss-consent-page"; }
|
package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js
CHANGED
|
@@ -98,6 +98,9 @@ export class SuperSelectionAppService {
|
|
|
98
98
|
markSuperSelectionAsSubmitted() {
|
|
99
99
|
this._state.hasSuperSelectionBeenSubmitted = true;
|
|
100
100
|
}
|
|
101
|
+
get campaignConnectEnabled() {
|
|
102
|
+
return this._state.campaignConnectEnabled;
|
|
103
|
+
}
|
|
101
104
|
async loadAppStateAsync() {
|
|
102
105
|
const appStateResponse = await superSelectionApi.getAppStateAsync();
|
|
103
106
|
this._state.accountConfiguration = O.fromNullable(appStateResponse.accountConfiguration);
|
|
@@ -106,6 +109,9 @@ export class SuperSelectionAppService {
|
|
|
106
109
|
this._state.promotedFunds = O.fromNullable(appStateResponse.promotedFunds);
|
|
107
110
|
this._state.campaignConnectEnabled = appStateResponse.campaignConnectEnabled;
|
|
108
111
|
this._state.superChoicePrefill = O.fromNullable(appStateResponse.prefill);
|
|
112
|
+
this._state.definedBenefitsEligibility = appStateResponse.definedBenefitsEligibility;
|
|
113
|
+
}
|
|
114
|
+
async startLoadingCampaignConnectAsync() {
|
|
109
115
|
if (this._state.campaignConnectEnabled) {
|
|
110
116
|
this._state.campaignConnectPromise = O.fromNullable(superSelectionApi.getCampaignConnectAsync());
|
|
111
117
|
}
|
|
@@ -260,7 +260,7 @@ class TapSubscriber extends Subscriber {
|
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
const AppVersion = '1.3.
|
|
263
|
+
const AppVersion = '1.3.36729';
|
|
264
264
|
|
|
265
265
|
// -------------------------------------------------------------------------------------
|
|
266
266
|
// guards
|
|
@@ -3476,6 +3476,7 @@ const initialState = {
|
|
|
3476
3476
|
hasSuperSelectionBeenSubmitted: false,
|
|
3477
3477
|
campaignConnectEnabled: false,
|
|
3478
3478
|
campaignConnectPromise: Option.none,
|
|
3479
|
+
definedBenefitsEligibility: false,
|
|
3479
3480
|
campaignConnect: Option.none
|
|
3480
3481
|
};
|
|
3481
3482
|
|
|
@@ -3573,6 +3574,9 @@ class SuperSelectionAppService {
|
|
|
3573
3574
|
markSuperSelectionAsSubmitted() {
|
|
3574
3575
|
this._state.hasSuperSelectionBeenSubmitted = true;
|
|
3575
3576
|
}
|
|
3577
|
+
get campaignConnectEnabled() {
|
|
3578
|
+
return this._state.campaignConnectEnabled;
|
|
3579
|
+
}
|
|
3576
3580
|
async loadAppStateAsync() {
|
|
3577
3581
|
const appStateResponse = await superSelectionApi.getAppStateAsync();
|
|
3578
3582
|
this._state.accountConfiguration = Option.fromNullable(appStateResponse.accountConfiguration);
|
|
@@ -3581,6 +3585,9 @@ class SuperSelectionAppService {
|
|
|
3581
3585
|
this._state.promotedFunds = Option.fromNullable(appStateResponse.promotedFunds);
|
|
3582
3586
|
this._state.campaignConnectEnabled = appStateResponse.campaignConnectEnabled;
|
|
3583
3587
|
this._state.superChoicePrefill = Option.fromNullable(appStateResponse.prefill);
|
|
3588
|
+
this._state.definedBenefitsEligibility = appStateResponse.definedBenefitsEligibility;
|
|
3589
|
+
}
|
|
3590
|
+
async startLoadingCampaignConnectAsync() {
|
|
3584
3591
|
if (this._state.campaignConnectEnabled) {
|
|
3585
3592
|
this._state.campaignConnectPromise = Option.fromNullable(superSelectionApi.getCampaignConnectAsync());
|
|
3586
3593
|
}
|
|
@@ -3869,10 +3876,13 @@ const Consent = class {
|
|
|
3869
3876
|
return this.eventTrackingService.TrackSuperFundDisclaimerViewedAsync({});
|
|
3870
3877
|
}
|
|
3871
3878
|
render() {
|
|
3872
|
-
return (h("div", null, h("div", { class: "text-2xl sm:text-3xl font-bold text-center leading-8" }, "Important information about super"), h("div", { class: "sm:text-lg text-gray-600 mt-3 sm:mt-4 max-w-800 text-center leading-7 sm:leading-8" }, "The choice of superannuation fund is an important personal financial decision. Next, you\u2019ll be asked to nominate a super fund to receive your employer contributions."), h("div", { class: "flex justify-center mt-8 sm:mt-12" }, h("div", { class: "border shadow-sm p-4 pb-6 sm:p-6 sm:pb-8 max-w-560 rounded-lg" }, h("div", { class: "sm:text-lg font-bold leading-6" }, "By clicking \u201CContinue\u201D you acknowledge that:"), h("ul", { class: "list-disc list-outside ml-6 mt-3 mb-6 space-y-2 text-sm leading-6" }, h("li", null, "Flare (we/us) provides this paperless employee management service, will feature superannuation funds and offer you employee benefits that you may be interested in;"), h("li", null, "all content contained in the following pages does not take into account any of your objectives, financial situation or needs and does not constitute financial product advice;"), h("li", null, "in featuring any superannuation funds, we, the technology partner you are accessing us via, or your employer, are not providing any opinion or recommendation (actual or implied) in relation to the suitability or appropriateness of the featured funds;"), h("li", null, "if you do choose one of the featured superannuation funds, we and our associates will normally receive a fee for you doing so;"), h("li", null, "in the event that you choose one of the featured superannuation funds, we may pass on your personal information and TFN to a related party for the purpose of completing your chosen fund's application form."), h("li", null, "Your personal data that is provided to us will be subject to our", ' ', h(Link, { className: "font-medium text-blue-600 hover:text-blue-800", href: "https://www.flarehr.com/privacy-policy" }, "Privacy Policy."))
|
|
3879
|
+
return (h("div", null, h("div", { class: "text-2xl sm:text-3xl font-bold text-center leading-8" }, "Important information about super"), h("div", { class: "sm:text-lg text-gray-600 mt-3 sm:mt-4 max-w-800 text-center leading-7 sm:leading-8" }, "The choice of superannuation fund is an important personal financial decision. Next, you\u2019ll be asked to nominate a super fund to receive your employer contributions."), h("div", { class: "flex justify-center mt-8 sm:mt-12" }, h("div", { class: "border shadow-sm p-4 pb-6 sm:p-6 sm:pb-8 max-w-560 rounded-lg" }, h("div", { class: "sm:text-lg font-bold leading-6" }, "By clicking \u201CContinue\u201D you acknowledge that:"), h("ul", { class: "list-disc list-outside ml-6 mt-3 mb-6 space-y-2 text-sm leading-6" }, h("li", null, "Flare (we/us) provides this paperless employee management service, will feature superannuation funds and offer you employee benefits that you may be interested in;"), h("li", null, "all content contained in the following pages does not take into account any of your objectives, financial situation or needs and does not constitute financial product advice;"), h("li", null, "in featuring any superannuation funds, we, the technology partner you are accessing us via, or your employer, are not providing any opinion or recommendation (actual or implied) in relation to the suitability or appropriateness of the featured funds;"), h("li", null, "if you do choose one of the featured superannuation funds, we and our associates will normally receive a fee for you doing so;"), h("li", null, "in the event that you choose one of the featured superannuation funds, we may pass on your personal information and TFN to a related party for the purpose of completing your chosen fund's application form."), h("li", null, "Your personal data that is provided to us will be subject to our", ' ', h(Link, { className: "font-medium text-blue-600 hover:text-blue-800", href: "https://www.flarehr.com/privacy-policy" }, "Privacy Policy"), ".")), h("sss-button", { fillWidth: true, promiseFn: () => this.handleSuperFundDisclaimerAccepted() }, "Continue")))));
|
|
3873
3880
|
}
|
|
3874
3881
|
async handleSuperFundDisclaimerAccepted() {
|
|
3875
3882
|
await this.eventTrackingService.TrackSuperFundDisclaimerAcceptedAsync({});
|
|
3883
|
+
if (superSelectionAppService.campaignConnectEnabled) {
|
|
3884
|
+
await superSelectionAppService.startLoadingCampaignConnectAsync();
|
|
3885
|
+
}
|
|
3876
3886
|
navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ChoicePage);
|
|
3877
3887
|
}
|
|
3878
3888
|
};
|