@flarehr/apollo-super-selection 1.4.56747 → 1.4.56843
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-0726177d.system.entry.js +69 -0
- package/dist/lib/apollo-super-selection/p-07893761.system.entry.js +1 -0
- package/dist/lib/apollo-super-selection/p-1a574672.entry.js +14 -0
- package/dist/lib/apollo-super-selection/p-2c136506.system.entry.js +1 -0
- package/dist/lib/apollo-super-selection/p-37ed5963.system.entry.js +1 -0
- package/dist/lib/apollo-super-selection/p-4a95528c.js +1 -0
- package/dist/lib/apollo-super-selection/p-524b1ff5.system.js +1 -0
- package/dist/lib/apollo-super-selection/p-5716179f.js +1 -0
- package/dist/lib/apollo-super-selection/p-6d4e757b.system.js +1 -0
- package/dist/lib/apollo-super-selection/p-89c8d0e2.entry.js +1 -0
- package/dist/lib/apollo-super-selection/p-9cd765f5.system.js +1 -0
- package/dist/lib/apollo-super-selection/p-a2b4e667.system.js +1 -0
- package/dist/lib/apollo-super-selection/p-a99c601b.js +1 -0
- package/dist/lib/apollo-super-selection/p-b3f43d1a.entry.js +1 -0
- package/dist/lib/apollo-super-selection/p-bbe230d9.entry.js +1 -0
- package/dist/lib/apollo-super-selection/p-bd6e6a8f.system.js +1 -1
- package/dist/lib/apollo-super-selection/p-d5c7a35f.js +1 -0
- package/dist/lib/apollo-super-selection/p-dac37462.system.js +1 -0
- package/dist/lib/apollo-super-selection/p-f8bb280b.js +1 -0
- package/dist/lib/cjs/apollo-super-selection.cjs.js +1 -1
- package/dist/lib/cjs/australian-fund-lookup.service-4be59dec.js +19 -0
- package/dist/lib/cjs/custom-fund.store-3d1ac996.js +37 -0
- package/dist/lib/cjs/event-tracking.service-ed12699a.js +296 -0
- package/dist/lib/cjs/injectHistory-eb188cf0.js +9 -0
- package/dist/lib/cjs/loader.cjs.js +1 -1
- package/dist/lib/cjs/sss-button_32.cjs.entry.js +382 -351
- package/dist/lib/cjs/sss-default-fund-router.cjs.entry.js +23 -0
- package/dist/lib/cjs/sss-default-fund.cjs.entry.js +61 -0
- package/dist/lib/cjs/sss-super-byof-host.cjs.entry.js +24 -21
- package/dist/lib/cjs/{custom-fund-choice.api-293c1ace.js → super-selection-app.service-ca52a1fc.js} +7 -331
- package/dist/lib/collection/collection-manifest.json +3 -1
- package/dist/lib/collection/components/default-fund/super-default-fund-types.js +1 -0
- package/dist/lib/collection/components/default-fund/super-default-fund.js +130 -0
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/default-fund/default-fund-router.js +37 -0
- package/dist/lib/collection/components/super-selection-app/services/super-selection-app.routes.js +1 -1
- package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +4 -0
- package/dist/lib/collection/components/super-selection-app/services/super-selection.store.js +2 -1
- package/dist/lib/esm/apollo-super-selection.js +1 -1
- package/dist/lib/esm/australian-fund-lookup.service-a2f593d3.js +17 -0
- package/dist/lib/esm/custom-fund.store-dcc61edf.js +36 -0
- package/dist/lib/esm/event-tracking.service-9398a317.js +290 -0
- package/dist/lib/esm/injectHistory-e92e4664.js +7 -0
- package/dist/lib/esm/loader.js +1 -1
- package/dist/lib/esm/sss-button_32.entry.js +89 -58
- package/dist/lib/esm/sss-default-fund-router.entry.js +19 -0
- package/dist/lib/esm/sss-default-fund.entry.js +57 -0
- package/dist/lib/esm/sss-super-byof-host.entry.js +4 -1
- package/dist/lib/esm/{custom-fund-choice.api-42801d64.js → super-selection-app.service-50f199de.js} +8 -327
- package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
- package/dist/lib/esm-es5/australian-fund-lookup.service-a2f593d3.js +1 -0
- package/dist/lib/esm-es5/custom-fund.store-dcc61edf.js +1 -0
- package/dist/lib/esm-es5/event-tracking.service-9398a317.js +1 -0
- package/dist/lib/esm-es5/injectHistory-e92e4664.js +1 -0
- package/dist/lib/esm-es5/loader.js +1 -1
- package/dist/lib/esm-es5/sss-button_32.entry.js +5 -5
- package/dist/lib/esm-es5/sss-default-fund-router.entry.js +1 -0
- package/dist/lib/esm-es5/sss-default-fund.entry.js +1 -0
- package/dist/lib/esm-es5/sss-super-byof-host.entry.js +1 -1
- package/dist/lib/esm-es5/super-selection-app.service-50f199de.js +1 -0
- package/dist/lib/types/components/default-fund/super-default-fund-types.d.ts +23 -0
- package/dist/lib/types/components/default-fund/super-default-fund.d.ts +20 -0
- 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/funds/custom-fund/default-fund/default-fund-router.d.ts +5 -0
- package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/services/super-selection.store.d.ts +1 -0
- package/dist/lib/types/components.d.ts +30 -0
- package/package.json +1 -1
- package/dist/lib/apollo-super-selection/p-24d6e2b8.js +0 -1
- package/dist/lib/apollo-super-selection/p-754c4c99.entry.js +0 -14
- package/dist/lib/apollo-super-selection/p-a0063575.system.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-b00f648b.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-b52579e3.system.entry.js +0 -69
- package/dist/lib/apollo-super-selection/p-cd3ed541.system.js +0 -1
- package/dist/lib/esm-es5/custom-fund-choice.api-42801d64.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
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-cd3ed541.system.js","./p-97188c78.system.js"],(function(e){"use strict";var t,n,r,i,o,a,s,u,d,l,c;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.l;u=e.b;d=e.S;l=e.e;c=e.c},function(){}],execute:function(){var f=3e4;var m;(function(e){e[e["NotLoaded"]=1]="NotLoaded";e[e["Loaded"]=2]="Loaded"})(m||(m={}));var b=m.NotLoaded;var h=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"){b=m.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.myOwnFundForm={fundUsi:a.fromNullable(e.detail.fundUsi),fundName:a.fromNullable(e.detail.fundName),memberNumber:a.fromNullable(e.detail.memberNumber),memberFirstName:a.fromNullable(e.detail.memberFirstName),memberFamilyName:a.fromNullable(e.detail.memberLastName)};if(o.isBringYourOwnFundCustomStepEnabled&&o.isUsingSuperCampaign){u.navigateInternally(this.history,d.MyOwnFundEngagementStep);return[2]}u.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,l.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,u.navigateInternally(this.history,d.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(b===m.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(b!==m.Loaded){throw Error("BYOF component failed to load.")}return[2]}))}))};return e}());c(h)}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as t,H as e}from"./p-db0bded8.js";import{E as i,a as o,O as r,l as a,b as n,S as m,e as d,c as h}from"./p-24d6e2b8.js";import"./p-fdadb647.js";var u;!function(s){s[s.NotLoaded=1]="NotLoaded",s[s.Loaded=2]="Loaded"}(u||(u={}));let c=u.NotLoaded;const f=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&&(c=u.Loaded,clearTimeout(this.loadingTimeoutRef),this.eventTrackingService.TrackMyOwnSuperFundDetailViewedAsync({promotedFundsShown:o.promotedFunds,defaultFundUsiSet:r.toUndefined(o.defaultFundUsi)})),Promise.resolve()),this.byofCompleted=async s=>{if("super-byof"===s.detail.sender){if(a.myOwnFundForm={fundUsi:r.fromNullable(s.detail.fundUsi),fundName:r.fromNullable(s.detail.fundName),memberNumber:r.fromNullable(s.detail.memberNumber),memberFirstName:r.fromNullable(s.detail.memberFirstName),memberFamilyName:r.fromNullable(s.detail.memberLastName)},o.isBringYourOwnFundCustomStepEnabled&&o.isUsingSuperCampaign)return void n.navigateInternally(this.history,m.MyOwnFundEngagementStep);n.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 d.submitCustomFundChoiceAsync(e)}})}},this.byofCancelled=async s=>{"super-byof"===s.detail.sender&&await n.navigateInternally(this.history,m.ChoicePage)},this.byofEventHandlers={"byof-loaded":this.byofLoaded.bind(this),"byof-completed":this.byofCompleted.bind(this),"byof-cancelled":this.byofCancelled.bind(this)}}async componentWillLoad(){if(!r.isSome(o.backendUrl)||!r.isSome(o.state.jwt))throw Error("SuperByofHost pre-requisites not met.");this.backendUrl=o.backendUrl.value,this.accessToken=o.state.jwt.value,c===u.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(c!==u.Loaded)throw Error("BYOF component failed to load.")}};h(f);export{f as sss_super_byof_host}
|