@flarehr/apollo-super-selection 5.57.17073 → 5.59.18050
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-2f07912f.entry.js +14 -0
- package/dist/lib/apollo-super-selection/p-4ca10ecd.js +1 -0
- package/dist/lib/apollo-super-selection/p-bd6e6a8f.system.js +1 -1
- package/dist/lib/apollo-super-selection/{p-2590548f.system.js → p-c60c8281.system.js} +1 -1
- package/dist/lib/apollo-super-selection/p-cf6d9d21.system.entry.js +69 -0
- package/dist/lib/apollo-super-selection/p-dc0abac1.entry.js +1 -0
- package/dist/lib/apollo-super-selection/p-e4862f8c.system.entry.js +1 -0
- package/dist/lib/cjs/{custom-fund-choice.api-713823d3.js → custom-fund-choice.api-538e59d2.js} +117 -0
- package/dist/lib/cjs/sss-button_31.cjs.entry.js +22 -133
- package/dist/lib/cjs/sss-super-byof-host.cjs.entry.js +6 -1
- package/dist/lib/collection/components/super-byof/super-byof.js +7 -1
- package/dist/lib/collection/components/super-smsf/super-smsf.js +7 -1
- package/dist/lib/esm/{custom-fund-choice.api-45fa478c.js → custom-fund-choice.api-b7f9d60c.js} +117 -1
- package/dist/lib/esm/sss-button_31.entry.js +7 -118
- package/dist/lib/esm/sss-super-byof-host.entry.js +6 -1
- package/dist/lib/esm-es5/{custom-fund-choice.api-45fa478c.js → custom-fund-choice.api-b7f9d60c.js} +1 -1
- package/dist/lib/esm-es5/sss-button_31.entry.js +5 -5
- package/dist/lib/esm-es5/sss-super-byof-host.entry.js +1 -1
- package/dist/lib/types/components/super-byof/super-byof.d.ts +1 -0
- package/dist/lib/types/components/super-smsf/super-smsf.d.ts +1 -0
- package/package.json +1 -1
- package/dist/lib/apollo-super-selection/p-645755ee.system.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-6b03f1b2.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-8cb7c7f3.entry.js +0 -14
- package/dist/lib/apollo-super-selection/p-99266549.js +0 -1
- package/dist/lib/apollo-super-selection/p-be94959a.system.entry.js +0 -69
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as t,H as e}from"./p-db0bded8.js";import{E as i,a as o,O as a,b as r,f as n,S as d,c as h}from"./p-4ca10ecd.js";import"./p-fdadb647.js";var c;!function(s){s[s.NotLoaded=1]="NotLoaded",s[s.Loaded=2]="Loaded"}(c||(c={}));let m=c.NotLoaded;const u=class{constructor(t){s(this,t),this.eventTrackingService=i.Instance,this.subscribeToSuperByofEvents=()=>{for(const s in this.byofEventHandlers)document.addEventListener(s,this.byofEventHandlers[s])},this.unSubscribeFromSuperByofEvents=()=>{for(const s in this.byofEventHandlers)document.removeEventListener(s,this.byofEventHandlers[s])},this.byofLoaded=async s=>("super-byof"===s.detail.sender&&(m=c.Loaded,clearTimeout(this.loadingTimeoutRef),this.eventTrackingService.TrackMyOwnSuperFundDetailViewedAsync({promotedFundsShown:o.promotedFunds,defaultFundUsiSet:a.toUndefined(o.defaultFundUsi)})),Promise.resolve()),this.byofCompleted=async s=>{"super-byof"===s.detail.sender&&r.navigateInternallyToStandardChoice({history:this.history,fundName:s.detail.fundName,fundDetails:{type:"myOwnFund",fundName:s.detail.fundName,fundUsi:s.detail.fundUsi,memberNumber:s.detail.memberNumber},handleSubmitFn:async t=>{const e=Object.assign({fundUsi:s.detail.fundUsi,memberNumber:s.detail.memberNumber,memberFirstName:s.detail.memberFirstName,memberFamilyName:s.detail.memberLastName,standardChoiceFormSignature:t},o.promotedFundsConfig);await n.submitCustomFundChoiceAsync(e)}})},this.byofCancelled=async s=>{"super-byof"===s.detail.sender&&await r.navigateInternally(this.history,d.ChoicePage)},this.byofEventHandlers={"byof-loaded":this.byofLoaded.bind(this),"byof-completed":this.byofCompleted.bind(this),"byof-cancelled":this.byofCancelled.bind(this)}}async componentWillLoad(){if(!a.isSome(o.backendUrl)||!a.isSome(o.state.jwt))throw Error("SuperByofHost pre-requisites not met.");this.backendUrl=o.backendUrl.value,this.accessToken=o.state.jwt.value,m===c.NotLoaded&&(this.loadingTimeoutRef=setTimeout(this.byofLoadingTimeoutTriggered.bind(this),3e4)),this.subscribeToSuperByofEvents()}disconnectedCallback(){clearTimeout(this.loadingTimeoutRef),this.unSubscribeFromSuperByofEvents()}render(){return t(e,null,t("sss-header-section",null),t("div",{class:"flex justify-center mt-11"},t("sss-custom-fund",null,t("apollo-super-byof",{"backend-url":this.backendUrl,"access-token":this.accessToken}))))}async byofLoadingTimeoutTriggered(){if(m!==c.Loaded)throw Error("BYOF component failed to load.")}};h(u);export{u as sss_super_byof_host}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r["throw"](e))}catch(e){o(e)}}function u(e){e.done?n(e.value):i(e.value).then(a,s)}u((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(e){return function(t){return u([e,t])}}function u(a){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,i&&(o=a[0]&2?i["return"]:a[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;if(i=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;i=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){n.label=a[1];break}if(a[0]===6&&n.label<o[1]){n.label=o[1];o=a;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(a);break}if(o[2])n.ops.pop();n.trys.pop();continue}a=t.call(e,n)}catch(e){a=[6,e];i=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-71ca4cf8.system.js","./p-c60c8281.system.js","./p-97188c78.system.js"],(function(e){"use strict";var t,n,r,i,o,a,s,u,c,d;return{setters:[function(e){t=e.r;n=e.h;r=e.H},function(e){i=e.E;o=e.a;a=e.O;s=e.b;u=e.f;c=e.S;d=e.c},function(){}],execute:function(){var f=3e4;var l;(function(e){e[e["NotLoaded"]=1]="NotLoaded";e[e["Loaded"]=2]="Loaded"})(l||(l={}));var h=l.NotLoaded;var b=e("sss_super_byof_host",function(){function e(e){var n=this;t(this,e);this.eventTrackingService=i.Instance;this.subscribeToSuperByofEvents=function(){for(var e in n.byofEventHandlers){document.addEventListener(e,n.byofEventHandlers[e])}};this.unSubscribeFromSuperByofEvents=function(){for(var e in n.byofEventHandlers){document.removeEventListener(e,n.byofEventHandlers[e])}};this.byofLoaded=function(e){return __awaiter(n,void 0,void 0,(function(){return __generator(this,(function(t){if(e.detail.sender==="super-byof"){h=l.Loaded;clearTimeout(this.loadingTimeoutRef);this.eventTrackingService.TrackMyOwnSuperFundDetailViewedAsync({promotedFundsShown:o.promotedFunds,defaultFundUsiSet:a.toUndefined(o.defaultFundUsi)})}return[2,Promise.resolve()]}))}))};this.byofCompleted=function(e){return __awaiter(n,void 0,void 0,(function(){var t=this;return __generator(this,(function(n){if(e.detail.sender==="super-byof"){s.navigateInternallyToStandardChoice({history:this.history,fundName:e.detail.fundName,fundDetails:{type:"myOwnFund",fundName:e.detail.fundName,fundUsi:e.detail.fundUsi,memberNumber:e.detail.memberNumber},handleSubmitFn:function(n){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(r){switch(r.label){case 0:t=Object.assign({fundUsi:e.detail.fundUsi,memberNumber:e.detail.memberNumber,memberFirstName:e.detail.memberFirstName,memberFamilyName:e.detail.memberLastName,standardChoiceFormSignature:n},o.promotedFundsConfig);return[4,u.submitCustomFundChoiceAsync(t)];case 1:r.sent();return[2]}}))}))}})}return[2]}))}))};this.byofCancelled=function(e){return __awaiter(n,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:if(!(e.detail.sender==="super-byof"))return[3,2];return[4,s.navigateInternally(this.history,c.ChoicePage)];case 1:t.sent();t.label=2;case 2:return[2]}}))}))};this.byofEventHandlers={"byof-loaded":this.byofLoaded.bind(this),"byof-completed":this.byofCompleted.bind(this),"byof-cancelled":this.byofCancelled.bind(this)}}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(a.isSome(o.backendUrl)&&a.isSome(o.state.jwt)){this.backendUrl=o.backendUrl.value;this.accessToken=o.state.jwt.value;if(h===l.NotLoaded){this.loadingTimeoutRef=setTimeout(this.byofLoadingTimeoutTriggered.bind(this),f)}this.subscribeToSuperByofEvents()}else{throw Error("SuperByofHost pre-requisites not met.")}return[2]}))}))};e.prototype.disconnectedCallback=function(){clearTimeout(this.loadingTimeoutRef);this.unSubscribeFromSuperByofEvents()};e.prototype.render=function(){return n(r,null,n("sss-header-section",null),n("div",{class:"flex justify-center mt-11"},n("sss-custom-fund",null,n("apollo-super-byof",{"backend-url":this.backendUrl,"access-token":this.accessToken}))))};e.prototype.byofLoadingTimeoutTriggered=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(h!==l.Loaded){throw Error("BYOF component failed to load.")}return[2]}))}))};return e}());d(b)}}}));
|
package/dist/lib/cjs/{custom-fund-choice.api-713823d3.js → custom-fund-choice.api-538e59d2.js}
RENAMED
|
@@ -2969,6 +2969,122 @@ class NavigationService {
|
|
|
2969
2969
|
}
|
|
2970
2970
|
const navigationService = new NavigationService();
|
|
2971
2971
|
|
|
2972
|
+
class EventTrackingApi {
|
|
2973
|
+
static get Instance() {
|
|
2974
|
+
return this.instance || (this.instance = new this());
|
|
2975
|
+
}
|
|
2976
|
+
async PostAnalyticsEventAsync(event) {
|
|
2977
|
+
return buildBackendApiClient().url('analytics-events').post(event).res();
|
|
2978
|
+
}
|
|
2979
|
+
}
|
|
2980
|
+
|
|
2981
|
+
class EventTrackingService {
|
|
2982
|
+
constructor() {
|
|
2983
|
+
this.eventTrackingApi = EventTrackingApi.Instance;
|
|
2984
|
+
}
|
|
2985
|
+
static get Instance() {
|
|
2986
|
+
return this.instance || (this.instance = new this());
|
|
2987
|
+
}
|
|
2988
|
+
async TrackSuperFundPdsViewedAsync(detail) {
|
|
2989
|
+
return this.trackEventAsync({
|
|
2990
|
+
SuperFundPdsViewed: detail
|
|
2991
|
+
});
|
|
2992
|
+
}
|
|
2993
|
+
async TrackPromotedSuperFundDetailViewedAsync(detail) {
|
|
2994
|
+
return this.trackEventAsync({
|
|
2995
|
+
SuperFundDetailViewed: {
|
|
2996
|
+
PromotedFund: detail
|
|
2997
|
+
}
|
|
2998
|
+
});
|
|
2999
|
+
}
|
|
3000
|
+
async TrackPromotedDefaultSuperFundDetailViewedAsync(detail) {
|
|
3001
|
+
return this.trackEventAsync({
|
|
3002
|
+
SuperFundDetailViewed: {
|
|
3003
|
+
PromotedDefaultFund: detail
|
|
3004
|
+
}
|
|
3005
|
+
});
|
|
3006
|
+
}
|
|
3007
|
+
async TrackMyOwnSuperFundDetailViewedAsync(detail) {
|
|
3008
|
+
return this.trackEventAsync({
|
|
3009
|
+
SuperFundDetailViewed: {
|
|
3010
|
+
MyOwnFund: detail
|
|
3011
|
+
}
|
|
3012
|
+
});
|
|
3013
|
+
}
|
|
3014
|
+
async TrackSmsfSuperFundDetailViewedAsync(detail) {
|
|
3015
|
+
return this.trackEventAsync({
|
|
3016
|
+
SuperFundDetailViewed: {
|
|
3017
|
+
Smsf: detail
|
|
3018
|
+
}
|
|
3019
|
+
});
|
|
3020
|
+
}
|
|
3021
|
+
async TrackDefaultSuperFundDetailViewedAsync(detail) {
|
|
3022
|
+
return this.trackEventAsync({
|
|
3023
|
+
SuperFundDetailViewed: {
|
|
3024
|
+
DefaultFund: detail
|
|
3025
|
+
}
|
|
3026
|
+
});
|
|
3027
|
+
}
|
|
3028
|
+
async TrackSuperFundNominationViewedAsync(detail) {
|
|
3029
|
+
return this.trackEventAsync({
|
|
3030
|
+
SuperFundNominationViewed: detail
|
|
3031
|
+
});
|
|
3032
|
+
}
|
|
3033
|
+
async TrackSuperFundNominationDeclinedAsync(detail) {
|
|
3034
|
+
return this.trackEventAsync({
|
|
3035
|
+
SuperFundNominationDeclined: detail
|
|
3036
|
+
});
|
|
3037
|
+
}
|
|
3038
|
+
async TrackSuperFundDisclaimerViewedAsync(detail) {
|
|
3039
|
+
return this.trackEventAsync({
|
|
3040
|
+
SuperFundDisclaimerViewed: detail
|
|
3041
|
+
});
|
|
3042
|
+
}
|
|
3043
|
+
async TrackSuperFundDisclaimerAcceptedAsync(detail) {
|
|
3044
|
+
return this.trackEventAsync({
|
|
3045
|
+
SuperFundDisclaimerAccepted: detail
|
|
3046
|
+
});
|
|
3047
|
+
}
|
|
3048
|
+
async TrackSuperFundPrefillViewedAsync(detail) {
|
|
3049
|
+
return this.trackEventAsync({
|
|
3050
|
+
SuperFundPrefillViewed: detail
|
|
3051
|
+
});
|
|
3052
|
+
}
|
|
3053
|
+
async TrackSuperFundPrefillDeclinedAsync(detail) {
|
|
3054
|
+
return this.trackEventAsync({
|
|
3055
|
+
SuperFundPrefillDeclined: detail
|
|
3056
|
+
});
|
|
3057
|
+
}
|
|
3058
|
+
async TrackSuperFundDetailChangeRequestedAsync(detail) {
|
|
3059
|
+
return this.trackEventAsync({
|
|
3060
|
+
SuperFundDetailChangeRequested: detail
|
|
3061
|
+
});
|
|
3062
|
+
}
|
|
3063
|
+
async TrackSuperCampaignActivationSucceededAsync(detail) {
|
|
3064
|
+
return this.trackEventAsync({
|
|
3065
|
+
SuperCampaignActivationSucceeded: detail
|
|
3066
|
+
});
|
|
3067
|
+
}
|
|
3068
|
+
async TrackSuperMyOwnFundEngagementStepActivationSucceeded(fundUsi) {
|
|
3069
|
+
return this.trackEventAsync({
|
|
3070
|
+
SuperMyOwnFundEngagementStepActivationSucceeded: { fundUsi }
|
|
3071
|
+
});
|
|
3072
|
+
}
|
|
3073
|
+
async TrackSuperMyOwnFundEngagementStepContinued(fundUsi, reason) {
|
|
3074
|
+
return this.trackEventAsync({
|
|
3075
|
+
SuperMyOwnFundEngagementStepContinued: { fundUsi, reason }
|
|
3076
|
+
});
|
|
3077
|
+
}
|
|
3078
|
+
async trackEventAsync(event) {
|
|
3079
|
+
try {
|
|
3080
|
+
await this.eventTrackingApi.PostAnalyticsEventAsync({ event });
|
|
3081
|
+
}
|
|
3082
|
+
catch (_a) {
|
|
3083
|
+
return;
|
|
3084
|
+
}
|
|
3085
|
+
}
|
|
3086
|
+
}
|
|
3087
|
+
|
|
2972
3088
|
class CustomFundChoiceApi {
|
|
2973
3089
|
async submitDefaultFundChoiceAsync(dto) {
|
|
2974
3090
|
return buildBackendApiClient()
|
|
@@ -3019,6 +3135,7 @@ class CustomFundChoiceApi {
|
|
|
3019
3135
|
}
|
|
3020
3136
|
const customFundChoiceApi = new CustomFundChoiceApi();
|
|
3021
3137
|
|
|
3138
|
+
exports.EventTrackingService = EventTrackingService;
|
|
3022
3139
|
exports.Option = Option;
|
|
3023
3140
|
exports.buildBackendApiClient = buildBackendApiClient;
|
|
3024
3141
|
exports.createStore = createStore;
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-eb4f212f.js');
|
|
6
6
|
const datoramaAkita = require('./datorama-akita-6c9cb8fb.js');
|
|
7
|
-
const customFundChoice_api = require('./custom-fund-choice.api-
|
|
7
|
+
const customFundChoice_api = require('./custom-fund-choice.api-538e59d2.js');
|
|
8
8
|
const activeRouter = require('./active-router-1f555f75.js');
|
|
9
9
|
|
|
10
10
|
function _interopNamespace(e) {
|
|
@@ -285,7 +285,7 @@ class TapSubscriber extends datoramaAkita.Subscriber {
|
|
|
285
285
|
}
|
|
286
286
|
}
|
|
287
287
|
|
|
288
|
-
const AppVersion = '5.
|
|
288
|
+
const AppVersion = '5.59.18050';
|
|
289
289
|
|
|
290
290
|
class Lazy {
|
|
291
291
|
constructor(factory) {
|
|
@@ -987,127 +987,11 @@ class AustralianFundLookupService {
|
|
|
987
987
|
}
|
|
988
988
|
const australianFundLookupService = new AustralianFundLookupService();
|
|
989
989
|
|
|
990
|
-
class EventTrackingApi {
|
|
991
|
-
static get Instance() {
|
|
992
|
-
return this.instance || (this.instance = new this());
|
|
993
|
-
}
|
|
994
|
-
async PostAnalyticsEventAsync(event) {
|
|
995
|
-
return customFundChoice_api.buildBackendApiClient().url('analytics-events').post(event).res();
|
|
996
|
-
}
|
|
997
|
-
}
|
|
998
|
-
|
|
999
|
-
class EventTrackingService {
|
|
1000
|
-
constructor() {
|
|
1001
|
-
this.eventTrackingApi = EventTrackingApi.Instance;
|
|
1002
|
-
}
|
|
1003
|
-
static get Instance() {
|
|
1004
|
-
return this.instance || (this.instance = new this());
|
|
1005
|
-
}
|
|
1006
|
-
async TrackSuperFundPdsViewedAsync(detail) {
|
|
1007
|
-
return this.trackEventAsync({
|
|
1008
|
-
SuperFundPdsViewed: detail
|
|
1009
|
-
});
|
|
1010
|
-
}
|
|
1011
|
-
async TrackPromotedSuperFundDetailViewedAsync(detail) {
|
|
1012
|
-
return this.trackEventAsync({
|
|
1013
|
-
SuperFundDetailViewed: {
|
|
1014
|
-
PromotedFund: detail
|
|
1015
|
-
}
|
|
1016
|
-
});
|
|
1017
|
-
}
|
|
1018
|
-
async TrackPromotedDefaultSuperFundDetailViewedAsync(detail) {
|
|
1019
|
-
return this.trackEventAsync({
|
|
1020
|
-
SuperFundDetailViewed: {
|
|
1021
|
-
PromotedDefaultFund: detail
|
|
1022
|
-
}
|
|
1023
|
-
});
|
|
1024
|
-
}
|
|
1025
|
-
async TrackMyOwnSuperFundDetailViewedAsync(detail) {
|
|
1026
|
-
return this.trackEventAsync({
|
|
1027
|
-
SuperFundDetailViewed: {
|
|
1028
|
-
MyOwnFund: detail
|
|
1029
|
-
}
|
|
1030
|
-
});
|
|
1031
|
-
}
|
|
1032
|
-
async TrackSmsfSuperFundDetailViewedAsync(detail) {
|
|
1033
|
-
return this.trackEventAsync({
|
|
1034
|
-
SuperFundDetailViewed: {
|
|
1035
|
-
Smsf: detail
|
|
1036
|
-
}
|
|
1037
|
-
});
|
|
1038
|
-
}
|
|
1039
|
-
async TrackDefaultSuperFundDetailViewedAsync(detail) {
|
|
1040
|
-
return this.trackEventAsync({
|
|
1041
|
-
SuperFundDetailViewed: {
|
|
1042
|
-
DefaultFund: detail
|
|
1043
|
-
}
|
|
1044
|
-
});
|
|
1045
|
-
}
|
|
1046
|
-
async TrackSuperFundNominationViewedAsync(detail) {
|
|
1047
|
-
return this.trackEventAsync({
|
|
1048
|
-
SuperFundNominationViewed: detail
|
|
1049
|
-
});
|
|
1050
|
-
}
|
|
1051
|
-
async TrackSuperFundNominationDeclinedAsync(detail) {
|
|
1052
|
-
return this.trackEventAsync({
|
|
1053
|
-
SuperFundNominationDeclined: detail
|
|
1054
|
-
});
|
|
1055
|
-
}
|
|
1056
|
-
async TrackSuperFundDisclaimerViewedAsync(detail) {
|
|
1057
|
-
return this.trackEventAsync({
|
|
1058
|
-
SuperFundDisclaimerViewed: detail
|
|
1059
|
-
});
|
|
1060
|
-
}
|
|
1061
|
-
async TrackSuperFundDisclaimerAcceptedAsync(detail) {
|
|
1062
|
-
return this.trackEventAsync({
|
|
1063
|
-
SuperFundDisclaimerAccepted: detail
|
|
1064
|
-
});
|
|
1065
|
-
}
|
|
1066
|
-
async TrackSuperFundPrefillViewedAsync(detail) {
|
|
1067
|
-
return this.trackEventAsync({
|
|
1068
|
-
SuperFundPrefillViewed: detail
|
|
1069
|
-
});
|
|
1070
|
-
}
|
|
1071
|
-
async TrackSuperFundPrefillDeclinedAsync(detail) {
|
|
1072
|
-
return this.trackEventAsync({
|
|
1073
|
-
SuperFundPrefillDeclined: detail
|
|
1074
|
-
});
|
|
1075
|
-
}
|
|
1076
|
-
async TrackSuperFundDetailChangeRequestedAsync(detail) {
|
|
1077
|
-
return this.trackEventAsync({
|
|
1078
|
-
SuperFundDetailChangeRequested: detail
|
|
1079
|
-
});
|
|
1080
|
-
}
|
|
1081
|
-
async TrackSuperCampaignActivationSucceededAsync(detail) {
|
|
1082
|
-
return this.trackEventAsync({
|
|
1083
|
-
SuperCampaignActivationSucceeded: detail
|
|
1084
|
-
});
|
|
1085
|
-
}
|
|
1086
|
-
async TrackSuperMyOwnFundEngagementStepActivationSucceeded(fundUsi) {
|
|
1087
|
-
return this.trackEventAsync({
|
|
1088
|
-
SuperMyOwnFundEngagementStepActivationSucceeded: { fundUsi }
|
|
1089
|
-
});
|
|
1090
|
-
}
|
|
1091
|
-
async TrackSuperMyOwnFundEngagementStepContinued(fundUsi, reason) {
|
|
1092
|
-
return this.trackEventAsync({
|
|
1093
|
-
SuperMyOwnFundEngagementStepContinued: { fundUsi, reason }
|
|
1094
|
-
});
|
|
1095
|
-
}
|
|
1096
|
-
async trackEventAsync(event) {
|
|
1097
|
-
try {
|
|
1098
|
-
await this.eventTrackingApi.PostAnalyticsEventAsync({ event });
|
|
1099
|
-
}
|
|
1100
|
-
catch (_a) {
|
|
1101
|
-
return;
|
|
1102
|
-
}
|
|
1103
|
-
}
|
|
1104
|
-
}
|
|
1105
|
-
|
|
1106
990
|
const DefaultFund = class {
|
|
1107
991
|
constructor(hostRef) {
|
|
1108
992
|
index.registerInstance(this, hostRef);
|
|
1109
993
|
this.defaultFundProductName = 'Loading fund...';
|
|
1110
|
-
this.eventTrackingService = EventTrackingService.Instance;
|
|
994
|
+
this.eventTrackingService = customFundChoice_api.EventTrackingService.Instance;
|
|
1111
995
|
}
|
|
1112
996
|
async componentWillLoad() {
|
|
1113
997
|
const defaultFundUsi = customFundChoice_api.superSelectionAppService.defaultFundUsi;
|
|
@@ -1445,7 +1329,7 @@ const existingFundService = new ExistingFundService();
|
|
|
1445
1329
|
const ExistingChoice = class {
|
|
1446
1330
|
constructor(hostRef) {
|
|
1447
1331
|
index.registerInstance(this, hostRef);
|
|
1448
|
-
this.eventTrackingService = EventTrackingService.Instance;
|
|
1332
|
+
this.eventTrackingService = customFundChoice_api.EventTrackingService.Instance;
|
|
1449
1333
|
this.createSuperFundNominationDetail = (fund) => {
|
|
1450
1334
|
function toUndefined(opt) {
|
|
1451
1335
|
return customFundChoice_api.isSome(opt) ? opt.value : undefined;
|
|
@@ -1611,7 +1495,7 @@ const MyOwnFundEngagementStep = class {
|
|
|
1611
1495
|
index.registerInstance(this, hostRef);
|
|
1612
1496
|
this.stepContinued = async (event) => {
|
|
1613
1497
|
if (event.detail.sender == 'byof-engagement') {
|
|
1614
|
-
await EventTrackingService.Instance.TrackSuperMyOwnFundEngagementStepContinued(this.fundUsi, event.detail.reason);
|
|
1498
|
+
await customFundChoice_api.EventTrackingService.Instance.TrackSuperMyOwnFundEngagementStepContinued(this.fundUsi, event.detail.reason);
|
|
1615
1499
|
this.navigateToStandardChoice();
|
|
1616
1500
|
}
|
|
1617
1501
|
};
|
|
@@ -1649,7 +1533,7 @@ const MyOwnFundEngagementStep = class {
|
|
|
1649
1533
|
this.unSubscribeFromStepEvents();
|
|
1650
1534
|
this.subscribeToStepEvents();
|
|
1651
1535
|
customFundChoice_api.superSelectionAppService.hideFooterSection = true;
|
|
1652
|
-
await EventTrackingService.Instance.TrackSuperMyOwnFundEngagementStepActivationSucceeded(this.fundUsi);
|
|
1536
|
+
await customFundChoice_api.EventTrackingService.Instance.TrackSuperMyOwnFundEngagementStepActivationSucceeded(this.fundUsi);
|
|
1653
1537
|
}
|
|
1654
1538
|
else {
|
|
1655
1539
|
customFundChoice_api.navigationService.navigateInternally(this.history, customFundChoice_api.SuperSelectionAppRoutes.MyOwnFund);
|
|
@@ -2128,7 +2012,7 @@ class BankAccountNumber extends FormField {
|
|
|
2128
2012
|
const PrefillInvalidMyOwnFund = class {
|
|
2129
2013
|
constructor(hostRef) {
|
|
2130
2014
|
index.registerInstance(this, hostRef);
|
|
2131
|
-
this.eventTrackingService = EventTrackingService.Instance;
|
|
2015
|
+
this.eventTrackingService = customFundChoice_api.EventTrackingService.Instance;
|
|
2132
2016
|
this.createSuperFundPrefillDeclinedDetail = (prefill) => {
|
|
2133
2017
|
return {
|
|
2134
2018
|
fundType: 'My Own Fund',
|
|
@@ -2181,7 +2065,7 @@ const PrefillInvalidMyOwnFund = class {
|
|
|
2181
2065
|
const PrefillInvalidSMSF = class {
|
|
2182
2066
|
constructor(hostRef) {
|
|
2183
2067
|
index.registerInstance(this, hostRef);
|
|
2184
|
-
this.eventTrackingService = EventTrackingService.Instance;
|
|
2068
|
+
this.eventTrackingService = customFundChoice_api.EventTrackingService.Instance;
|
|
2185
2069
|
this.createSuperFundPrefillDeclinedDetail = (prefill) => {
|
|
2186
2070
|
return {
|
|
2187
2071
|
fundType: 'SMSF',
|
|
@@ -2247,7 +2131,7 @@ const PrefillMyOwnFund = class {
|
|
|
2247
2131
|
this.mode = 'review';
|
|
2248
2132
|
this.formState = 'pristine';
|
|
2249
2133
|
this.isSubmitDisabled = true;
|
|
2250
|
-
this.eventTrackingService = EventTrackingService.Instance;
|
|
2134
|
+
this.eventTrackingService = customFundChoice_api.EventTrackingService.Instance;
|
|
2251
2135
|
this.createSuperFundPrefillDeclinedDetail = (prefill) => {
|
|
2252
2136
|
return {
|
|
2253
2137
|
fundType: 'My Own Fund',
|
|
@@ -2481,7 +2365,7 @@ const PrefillSMSF = class {
|
|
|
2481
2365
|
this.mode = 'review';
|
|
2482
2366
|
this.formState = 'pristine';
|
|
2483
2367
|
this.isSubmitDisabled = true;
|
|
2484
|
-
this.eventTrackingService = EventTrackingService.Instance;
|
|
2368
|
+
this.eventTrackingService = customFundChoice_api.EventTrackingService.Instance;
|
|
2485
2369
|
this.createSuperFundPrefillDeclinedDetail = (prefill) => {
|
|
2486
2370
|
return {
|
|
2487
2371
|
fundType: 'SMSF',
|
|
@@ -2737,7 +2621,7 @@ const StandardChoiceFormInputDefaultFund = class {
|
|
|
2737
2621
|
index.registerInstance(this, hostRef);
|
|
2738
2622
|
this.standardChoiceFormSignature = '';
|
|
2739
2623
|
this.isSubmitDisabled = true;
|
|
2740
|
-
this.eventTrackingService = EventTrackingService.Instance;
|
|
2624
|
+
this.eventTrackingService = customFundChoice_api.EventTrackingService.Instance;
|
|
2741
2625
|
this.ignorePopState = () => window.history.pushState(null, '', null);
|
|
2742
2626
|
}
|
|
2743
2627
|
connectedCallback() {
|
|
@@ -2866,7 +2750,7 @@ const fundTileClicked = async ({ sender, placementId, fundId, fundUsi, fundName,
|
|
|
2866
2750
|
const defaultFundUsiSet = customFundChoice_api.Option.toUndefined(customFundChoice_api.superSelectionAppService.defaultFundUsi);
|
|
2867
2751
|
await Promise.all([
|
|
2868
2752
|
fundType === 'promoted-default'
|
|
2869
|
-
? await EventTrackingService.Instance.TrackPromotedDefaultSuperFundDetailViewedAsync({
|
|
2753
|
+
? await customFundChoice_api.EventTrackingService.Instance.TrackPromotedDefaultSuperFundDetailViewedAsync({
|
|
2870
2754
|
fundUsi: fundUsi !== null && fundUsi !== void 0 ? fundUsi : '',
|
|
2871
2755
|
fundName,
|
|
2872
2756
|
promotedFundId: fundId,
|
|
@@ -2875,7 +2759,7 @@ const fundTileClicked = async ({ sender, placementId, fundId, fundUsi, fundName,
|
|
|
2875
2759
|
superCampaignEnabled: true,
|
|
2876
2760
|
placementId
|
|
2877
2761
|
})
|
|
2878
|
-
: await EventTrackingService.Instance.TrackPromotedSuperFundDetailViewedAsync({
|
|
2762
|
+
: await customFundChoice_api.EventTrackingService.Instance.TrackPromotedSuperFundDetailViewedAsync({
|
|
2879
2763
|
fundUsi: fundUsi !== null && fundUsi !== void 0 ? fundUsi : undefined,
|
|
2880
2764
|
fundName,
|
|
2881
2765
|
promotedFundId: fundId,
|
|
@@ -12855,7 +12739,7 @@ const SuperCampaignHost = class {
|
|
|
12855
12739
|
if (event.detail.sender === 'super-campaign') {
|
|
12856
12740
|
customFundChoice_api.superSelectionAppService.superCampaignComponentStatus = customFundChoice_api.SuperCampaignComponentStatus.Loaded;
|
|
12857
12741
|
clearTimeout(this.loadingTimeoutRef);
|
|
12858
|
-
await EventTrackingService.Instance.TrackSuperCampaignActivationSucceededAsync({});
|
|
12742
|
+
await customFundChoice_api.EventTrackingService.Instance.TrackSuperCampaignActivationSucceededAsync({});
|
|
12859
12743
|
}
|
|
12860
12744
|
return Promise.resolve();
|
|
12861
12745
|
};
|
|
@@ -12898,7 +12782,7 @@ const SuperCampaignHost = class {
|
|
|
12898
12782
|
};
|
|
12899
12783
|
this.fundPdsViewed = async (event) => {
|
|
12900
12784
|
if (event.detail.sender === 'super-campaign') {
|
|
12901
|
-
await EventTrackingService.Instance.TrackSuperFundPdsViewedAsync({
|
|
12785
|
+
await customFundChoice_api.EventTrackingService.Instance.TrackSuperFundPdsViewedAsync({
|
|
12902
12786
|
fundName: event.detail.fundName,
|
|
12903
12787
|
fundUsi: event.detail.fundUsi,
|
|
12904
12788
|
pageName: event.detail.pageName,
|
|
@@ -12908,12 +12792,12 @@ const SuperCampaignHost = class {
|
|
|
12908
12792
|
};
|
|
12909
12793
|
this.disclaimerViewed = async (event) => {
|
|
12910
12794
|
if (event.detail.sender === 'super-campaign') {
|
|
12911
|
-
await EventTrackingService.Instance.TrackSuperFundDisclaimerViewedAsync(SuperFundDisclaimerViewedDetail.create(true));
|
|
12795
|
+
await customFundChoice_api.EventTrackingService.Instance.TrackSuperFundDisclaimerViewedAsync(SuperFundDisclaimerViewedDetail.create(true));
|
|
12912
12796
|
}
|
|
12913
12797
|
};
|
|
12914
12798
|
this.disclaimerAccepted = async (event) => {
|
|
12915
12799
|
if (event.detail.sender === 'super-campaign') {
|
|
12916
|
-
await EventTrackingService.Instance.TrackSuperFundDisclaimerAcceptedAsync({
|
|
12800
|
+
await customFundChoice_api.EventTrackingService.Instance.TrackSuperFundDisclaimerAcceptedAsync({
|
|
12917
12801
|
superCampaignEnabled: true
|
|
12918
12802
|
});
|
|
12919
12803
|
}
|
|
@@ -13007,6 +12891,7 @@ let superSmsfComponentStatus = SuperSmsfComponentStatus.NotLoaded;
|
|
|
13007
12891
|
const SuperSmsfHost = class {
|
|
13008
12892
|
constructor(hostRef) {
|
|
13009
12893
|
index.registerInstance(this, hostRef);
|
|
12894
|
+
this.eventTrackingService = customFundChoice_api.EventTrackingService.Instance;
|
|
13010
12895
|
this.subscribeToSuperSmsfEvents = () => {
|
|
13011
12896
|
for (const eventName in this.smsfEventHandlers) {
|
|
13012
12897
|
document.addEventListener(eventName, this.smsfEventHandlers[eventName]);
|
|
@@ -13021,6 +12906,10 @@ const SuperSmsfHost = class {
|
|
|
13021
12906
|
if (event.detail.sender === 'super-smsf') {
|
|
13022
12907
|
superSmsfComponentStatus = SuperSmsfComponentStatus.Loaded;
|
|
13023
12908
|
clearTimeout(this.loadingTimeoutRef);
|
|
12909
|
+
this.eventTrackingService.TrackSmsfSuperFundDetailViewedAsync({
|
|
12910
|
+
promotedFundsShown: customFundChoice_api.superSelectionAppService.promotedFunds,
|
|
12911
|
+
defaultFundUsiSet: customFundChoice_api.Option.toUndefined(customFundChoice_api.superSelectionAppService.defaultFundUsi)
|
|
12912
|
+
});
|
|
13024
12913
|
}
|
|
13025
12914
|
return Promise.resolve();
|
|
13026
12915
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-eb4f212f.js');
|
|
6
|
-
const customFundChoice_api = require('./custom-fund-choice.api-
|
|
6
|
+
const customFundChoice_api = require('./custom-fund-choice.api-538e59d2.js');
|
|
7
7
|
require('./active-router-1f555f75.js');
|
|
8
8
|
|
|
9
9
|
const LoadWaitingTimeout = 30000;
|
|
@@ -17,6 +17,7 @@ let superByofComponentStatus = SuperByofComponentStatus.NotLoaded;
|
|
|
17
17
|
const SuperByofHost = class {
|
|
18
18
|
constructor(hostRef) {
|
|
19
19
|
index.registerInstance(this, hostRef);
|
|
20
|
+
this.eventTrackingService = customFundChoice_api.EventTrackingService.Instance;
|
|
20
21
|
this.subscribeToSuperByofEvents = () => {
|
|
21
22
|
for (const eventName in this.byofEventHandlers) {
|
|
22
23
|
document.addEventListener(eventName, this.byofEventHandlers[eventName]);
|
|
@@ -31,6 +32,10 @@ const SuperByofHost = class {
|
|
|
31
32
|
if (event.detail.sender === 'super-byof') {
|
|
32
33
|
superByofComponentStatus = SuperByofComponentStatus.Loaded;
|
|
33
34
|
clearTimeout(this.loadingTimeoutRef);
|
|
35
|
+
this.eventTrackingService.TrackMyOwnSuperFundDetailViewedAsync({
|
|
36
|
+
promotedFundsShown: customFundChoice_api.superSelectionAppService.promotedFunds,
|
|
37
|
+
defaultFundUsiSet: customFundChoice_api.Option.toUndefined(customFundChoice_api.superSelectionAppService.defaultFundUsi)
|
|
38
|
+
});
|
|
34
39
|
}
|
|
35
40
|
return Promise.resolve();
|
|
36
41
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Component, h, Host, Prop, State } from '@stencil/core';
|
|
2
2
|
import { injectHistory } from '@stencil/router';
|
|
3
|
-
import { isSome } from 'fp-ts/lib/Option';
|
|
3
|
+
import { isSome, toUndefined } from 'fp-ts/lib/Option';
|
|
4
4
|
import customFundChoiceApi from '../super-selection-app/funds/custom-fund/api/custom-fund-choice.api';
|
|
5
|
+
import { EventTrackingService } from '../super-selection-app/services/event-tracking.service';
|
|
5
6
|
import navigationService from '../super-selection-app/services/navigation.service';
|
|
6
7
|
import { SuperSelectionAppRoutes } from '../super-selection-app/services/super-selection-app.routes';
|
|
7
8
|
import superSelectionAppService from '../super-selection-app/services/super-selection-app.service';
|
|
@@ -14,6 +15,7 @@ var SuperByofComponentStatus;
|
|
|
14
15
|
let superByofComponentStatus = SuperByofComponentStatus.NotLoaded;
|
|
15
16
|
export class SuperByofHost {
|
|
16
17
|
constructor() {
|
|
18
|
+
this.eventTrackingService = EventTrackingService.Instance;
|
|
17
19
|
this.subscribeToSuperByofEvents = () => {
|
|
18
20
|
for (const eventName in this.byofEventHandlers) {
|
|
19
21
|
document.addEventListener(eventName, this.byofEventHandlers[eventName]);
|
|
@@ -28,6 +30,10 @@ export class SuperByofHost {
|
|
|
28
30
|
if (event.detail.sender === 'super-byof') {
|
|
29
31
|
superByofComponentStatus = SuperByofComponentStatus.Loaded;
|
|
30
32
|
clearTimeout(this.loadingTimeoutRef);
|
|
33
|
+
this.eventTrackingService.TrackMyOwnSuperFundDetailViewedAsync({
|
|
34
|
+
promotedFundsShown: superSelectionAppService.promotedFunds,
|
|
35
|
+
defaultFundUsiSet: toUndefined(superSelectionAppService.defaultFundUsi)
|
|
36
|
+
});
|
|
31
37
|
}
|
|
32
38
|
return Promise.resolve();
|
|
33
39
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Component, h, Host, Prop, State } from '@stencil/core';
|
|
2
2
|
import { injectHistory } from '@stencil/router';
|
|
3
|
-
import { isSome } from 'fp-ts/lib/Option';
|
|
3
|
+
import { isSome, toUndefined } from 'fp-ts/lib/Option';
|
|
4
4
|
import customFundChoiceApi from '../super-selection-app/funds/custom-fund/api/custom-fund-choice.api';
|
|
5
|
+
import { EventTrackingService } from '../super-selection-app/services/event-tracking.service';
|
|
5
6
|
import navigationService from '../super-selection-app/services/navigation.service';
|
|
6
7
|
import { SuperSelectionAppRoutes } from '../super-selection-app/services/super-selection-app.routes';
|
|
7
8
|
import superSelectionAppService from '../super-selection-app/services/super-selection-app.service';
|
|
@@ -14,6 +15,7 @@ var SuperSmsfComponentStatus;
|
|
|
14
15
|
let superSmsfComponentStatus = SuperSmsfComponentStatus.NotLoaded;
|
|
15
16
|
export class SuperSmsfHost {
|
|
16
17
|
constructor() {
|
|
18
|
+
this.eventTrackingService = EventTrackingService.Instance;
|
|
17
19
|
this.subscribeToSuperSmsfEvents = () => {
|
|
18
20
|
for (const eventName in this.smsfEventHandlers) {
|
|
19
21
|
document.addEventListener(eventName, this.smsfEventHandlers[eventName]);
|
|
@@ -28,6 +30,10 @@ export class SuperSmsfHost {
|
|
|
28
30
|
if (event.detail.sender === 'super-smsf') {
|
|
29
31
|
superSmsfComponentStatus = SuperSmsfComponentStatus.Loaded;
|
|
30
32
|
clearTimeout(this.loadingTimeoutRef);
|
|
33
|
+
this.eventTrackingService.TrackSmsfSuperFundDetailViewedAsync({
|
|
34
|
+
promotedFundsShown: superSelectionAppService.promotedFunds,
|
|
35
|
+
defaultFundUsiSet: toUndefined(superSelectionAppService.defaultFundUsi)
|
|
36
|
+
});
|
|
31
37
|
}
|
|
32
38
|
return Promise.resolve();
|
|
33
39
|
};
|
package/dist/lib/esm/{custom-fund-choice.api-45fa478c.js → custom-fund-choice.api-b7f9d60c.js}
RENAMED
|
@@ -2969,6 +2969,122 @@ class NavigationService {
|
|
|
2969
2969
|
}
|
|
2970
2970
|
const navigationService = new NavigationService();
|
|
2971
2971
|
|
|
2972
|
+
class EventTrackingApi {
|
|
2973
|
+
static get Instance() {
|
|
2974
|
+
return this.instance || (this.instance = new this());
|
|
2975
|
+
}
|
|
2976
|
+
async PostAnalyticsEventAsync(event) {
|
|
2977
|
+
return buildBackendApiClient().url('analytics-events').post(event).res();
|
|
2978
|
+
}
|
|
2979
|
+
}
|
|
2980
|
+
|
|
2981
|
+
class EventTrackingService {
|
|
2982
|
+
constructor() {
|
|
2983
|
+
this.eventTrackingApi = EventTrackingApi.Instance;
|
|
2984
|
+
}
|
|
2985
|
+
static get Instance() {
|
|
2986
|
+
return this.instance || (this.instance = new this());
|
|
2987
|
+
}
|
|
2988
|
+
async TrackSuperFundPdsViewedAsync(detail) {
|
|
2989
|
+
return this.trackEventAsync({
|
|
2990
|
+
SuperFundPdsViewed: detail
|
|
2991
|
+
});
|
|
2992
|
+
}
|
|
2993
|
+
async TrackPromotedSuperFundDetailViewedAsync(detail) {
|
|
2994
|
+
return this.trackEventAsync({
|
|
2995
|
+
SuperFundDetailViewed: {
|
|
2996
|
+
PromotedFund: detail
|
|
2997
|
+
}
|
|
2998
|
+
});
|
|
2999
|
+
}
|
|
3000
|
+
async TrackPromotedDefaultSuperFundDetailViewedAsync(detail) {
|
|
3001
|
+
return this.trackEventAsync({
|
|
3002
|
+
SuperFundDetailViewed: {
|
|
3003
|
+
PromotedDefaultFund: detail
|
|
3004
|
+
}
|
|
3005
|
+
});
|
|
3006
|
+
}
|
|
3007
|
+
async TrackMyOwnSuperFundDetailViewedAsync(detail) {
|
|
3008
|
+
return this.trackEventAsync({
|
|
3009
|
+
SuperFundDetailViewed: {
|
|
3010
|
+
MyOwnFund: detail
|
|
3011
|
+
}
|
|
3012
|
+
});
|
|
3013
|
+
}
|
|
3014
|
+
async TrackSmsfSuperFundDetailViewedAsync(detail) {
|
|
3015
|
+
return this.trackEventAsync({
|
|
3016
|
+
SuperFundDetailViewed: {
|
|
3017
|
+
Smsf: detail
|
|
3018
|
+
}
|
|
3019
|
+
});
|
|
3020
|
+
}
|
|
3021
|
+
async TrackDefaultSuperFundDetailViewedAsync(detail) {
|
|
3022
|
+
return this.trackEventAsync({
|
|
3023
|
+
SuperFundDetailViewed: {
|
|
3024
|
+
DefaultFund: detail
|
|
3025
|
+
}
|
|
3026
|
+
});
|
|
3027
|
+
}
|
|
3028
|
+
async TrackSuperFundNominationViewedAsync(detail) {
|
|
3029
|
+
return this.trackEventAsync({
|
|
3030
|
+
SuperFundNominationViewed: detail
|
|
3031
|
+
});
|
|
3032
|
+
}
|
|
3033
|
+
async TrackSuperFundNominationDeclinedAsync(detail) {
|
|
3034
|
+
return this.trackEventAsync({
|
|
3035
|
+
SuperFundNominationDeclined: detail
|
|
3036
|
+
});
|
|
3037
|
+
}
|
|
3038
|
+
async TrackSuperFundDisclaimerViewedAsync(detail) {
|
|
3039
|
+
return this.trackEventAsync({
|
|
3040
|
+
SuperFundDisclaimerViewed: detail
|
|
3041
|
+
});
|
|
3042
|
+
}
|
|
3043
|
+
async TrackSuperFundDisclaimerAcceptedAsync(detail) {
|
|
3044
|
+
return this.trackEventAsync({
|
|
3045
|
+
SuperFundDisclaimerAccepted: detail
|
|
3046
|
+
});
|
|
3047
|
+
}
|
|
3048
|
+
async TrackSuperFundPrefillViewedAsync(detail) {
|
|
3049
|
+
return this.trackEventAsync({
|
|
3050
|
+
SuperFundPrefillViewed: detail
|
|
3051
|
+
});
|
|
3052
|
+
}
|
|
3053
|
+
async TrackSuperFundPrefillDeclinedAsync(detail) {
|
|
3054
|
+
return this.trackEventAsync({
|
|
3055
|
+
SuperFundPrefillDeclined: detail
|
|
3056
|
+
});
|
|
3057
|
+
}
|
|
3058
|
+
async TrackSuperFundDetailChangeRequestedAsync(detail) {
|
|
3059
|
+
return this.trackEventAsync({
|
|
3060
|
+
SuperFundDetailChangeRequested: detail
|
|
3061
|
+
});
|
|
3062
|
+
}
|
|
3063
|
+
async TrackSuperCampaignActivationSucceededAsync(detail) {
|
|
3064
|
+
return this.trackEventAsync({
|
|
3065
|
+
SuperCampaignActivationSucceeded: detail
|
|
3066
|
+
});
|
|
3067
|
+
}
|
|
3068
|
+
async TrackSuperMyOwnFundEngagementStepActivationSucceeded(fundUsi) {
|
|
3069
|
+
return this.trackEventAsync({
|
|
3070
|
+
SuperMyOwnFundEngagementStepActivationSucceeded: { fundUsi }
|
|
3071
|
+
});
|
|
3072
|
+
}
|
|
3073
|
+
async TrackSuperMyOwnFundEngagementStepContinued(fundUsi, reason) {
|
|
3074
|
+
return this.trackEventAsync({
|
|
3075
|
+
SuperMyOwnFundEngagementStepContinued: { fundUsi, reason }
|
|
3076
|
+
});
|
|
3077
|
+
}
|
|
3078
|
+
async trackEventAsync(event) {
|
|
3079
|
+
try {
|
|
3080
|
+
await this.eventTrackingApi.PostAnalyticsEventAsync({ event });
|
|
3081
|
+
}
|
|
3082
|
+
catch (_a) {
|
|
3083
|
+
return;
|
|
3084
|
+
}
|
|
3085
|
+
}
|
|
3086
|
+
}
|
|
3087
|
+
|
|
2972
3088
|
class CustomFundChoiceApi {
|
|
2973
3089
|
async submitDefaultFundChoiceAsync(dto) {
|
|
2974
3090
|
return buildBackendApiClient()
|
|
@@ -3019,4 +3135,4 @@ class CustomFundChoiceApi {
|
|
|
3019
3135
|
}
|
|
3020
3136
|
const customFundChoiceApi = new CustomFundChoiceApi();
|
|
3021
3137
|
|
|
3022
|
-
export { Option as O, SuperSelectionAppRoutes as S, superSelectionAppService as a, navigationService as b, injectHistory as c, createStore as d, superSelectionApi as e,
|
|
3138
|
+
export { EventTrackingService as E, Option as O, SuperSelectionAppRoutes as S, superSelectionAppService as a, navigationService as b, injectHistory as c, createStore as d, superSelectionApi as e, customFundChoiceApi as f, isNone as g, getPromotedFundId as h, isSome as i, buildBackendApiClient as j, getSuperChoiceUsi as k, getSuperChoiceMemberNumber as l, state as m, none as n, slate as o, SuperCampaignComponentStatus as p, iframe as q, superSelectionAppStencilRoutes as r, some as s, toUndefined as t, factory as u, fromNullable as v };
|