@flarehr/apollo-super-selection 5.60.18811 → 5.62.19178

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.
Files changed (23) hide show
  1. package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +1 -1
  2. package/dist/lib/apollo-super-selection/{p-4ca10ecd.js → p-026415b5.js} +1 -1
  3. package/dist/lib/apollo-super-selection/p-50f74f33.system.entry.js +69 -0
  4. package/dist/lib/apollo-super-selection/p-613cd290.entry.js +1 -0
  5. package/dist/lib/apollo-super-selection/{p-c60c8281.system.js → p-9c959cc0.system.js} +1 -1
  6. package/dist/lib/apollo-super-selection/p-bd6e6a8f.system.js +1 -1
  7. package/dist/lib/apollo-super-selection/p-c00d428d.system.entry.js +1 -0
  8. package/dist/lib/apollo-super-selection/p-c0d65783.entry.js +14 -0
  9. package/dist/lib/cjs/{custom-fund-choice.api-538e59d2.js → custom-fund-choice.api-0545c774.js} +34 -2
  10. package/dist/lib/cjs/sss-button_31.cjs.entry.js +25 -58
  11. package/dist/lib/cjs/sss-super-byof-host.cjs.entry.js +13 -1
  12. package/dist/lib/collection/components/super-byof/super-byof.js +14 -1
  13. package/dist/lib/esm/{custom-fund-choice.api-b7f9d60c.js → custom-fund-choice.api-1d1d018f.js} +34 -1
  14. package/dist/lib/esm/sss-button_31.entry.js +2 -35
  15. package/dist/lib/esm/sss-super-byof-host.entry.js +13 -1
  16. package/dist/lib/esm-es5/{custom-fund-choice.api-b7f9d60c.js → custom-fund-choice.api-1d1d018f.js} +1 -1
  17. package/dist/lib/esm-es5/sss-button_31.entry.js +1 -1
  18. package/dist/lib/esm-es5/sss-super-byof-host.entry.js +1 -1
  19. package/package.json +1 -1
  20. package/dist/lib/apollo-super-selection/p-6f4a2b84.entry.js +0 -14
  21. package/dist/lib/apollo-super-selection/p-776db5b8.system.entry.js +0 -69
  22. package/dist/lib/apollo-super-selection/p-dc0abac1.entry.js +0 -1
  23. package/dist/lib/apollo-super-selection/p-e4862f8c.system.entry.js +0 -1
@@ -2969,6 +2969,38 @@ class NavigationService {
2969
2969
  }
2970
2970
  const navigationService = new NavigationService();
2971
2971
 
2972
+ (function (CustomFundTypes) {
2973
+ CustomFundTypes["MyOwnFund"] = "Existing super fund";
2974
+ CustomFundTypes["DefaultFund"] = "Default super fund";
2975
+ CustomFundTypes["SelfManagedFund"] = "Self-managed super fund";
2976
+ CustomFundTypes["FeaturedFunds"] = "Featured super funds";
2977
+ })(exports.CustomFundTypes || (exports.CustomFundTypes = {}));
2978
+ const initialStateCustomFund = {
2979
+ myOwnFundForm: {
2980
+ fundUsi: none,
2981
+ fundName: none,
2982
+ memberNumber: none,
2983
+ memberFirstName: none,
2984
+ memberFamilyName: none
2985
+ },
2986
+ selfManagedFundForm: {
2987
+ fundName: '',
2988
+ fundAbn: '',
2989
+ fundEsa: '',
2990
+ addressLine1: '',
2991
+ addressLine2: '',
2992
+ state: '',
2993
+ postcode: '',
2994
+ city: '',
2995
+ bankAccountName: '',
2996
+ bsb: '',
2997
+ bankAccountNumber: '',
2998
+ memberFirstName: '',
2999
+ memberFamilyName: ''
3000
+ }
3001
+ };
3002
+ const { state: state$1, reset } = createStore(initialStateCustomFund);
3003
+
2972
3004
  class EventTrackingApi {
2973
3005
  static get Instance() {
2974
3006
  return this.instance || (this.instance = new this());
@@ -3138,7 +3170,6 @@ const customFundChoiceApi = new CustomFundChoiceApi();
3138
3170
  exports.EventTrackingService = EventTrackingService;
3139
3171
  exports.Option = Option;
3140
3172
  exports.buildBackendApiClient = buildBackendApiClient;
3141
- exports.createStore = createStore;
3142
3173
  exports.customFundChoiceApi = customFundChoiceApi;
3143
3174
  exports.factory = factory;
3144
3175
  exports.fromNullable = fromNullable;
@@ -3153,7 +3184,8 @@ exports.navigationService = navigationService;
3153
3184
  exports.none = none;
3154
3185
  exports.slate = slate;
3155
3186
  exports.some = some;
3156
- exports.state = state;
3187
+ exports.state = state$1;
3188
+ exports.state$1 = state;
3157
3189
  exports.superSelectionApi = superSelectionApi;
3158
3190
  exports.superSelectionAppService = superSelectionAppService;
3159
3191
  exports.superSelectionAppStencilRoutes = superSelectionAppStencilRoutes;
@@ -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-538e59d2.js');
7
+ const customFundChoice_api = require('./custom-fund-choice.api-0545c774.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.60.18811';
288
+ const AppVersion = '5.62.19178';
289
289
 
290
290
  class Lazy {
291
291
  constructor(factory) {
@@ -877,41 +877,8 @@ const ChoiceRouter = class {
877
877
  };
878
878
  customFundChoice_api.injectHistory(ChoiceRouter);
879
879
 
880
- var CustomFundTypes;
881
- (function (CustomFundTypes) {
882
- CustomFundTypes["MyOwnFund"] = "Existing super fund";
883
- CustomFundTypes["DefaultFund"] = "Default super fund";
884
- CustomFundTypes["SelfManagedFund"] = "Self-managed super fund";
885
- CustomFundTypes["FeaturedFunds"] = "Featured super funds";
886
- })(CustomFundTypes || (CustomFundTypes = {}));
887
- const initialStateCustomFund = {
888
- myOwnFundForm: {
889
- fundUsi: customFundChoice_api.none,
890
- fundName: customFundChoice_api.none,
891
- memberNumber: customFundChoice_api.none,
892
- memberFirstName: customFundChoice_api.none,
893
- memberFamilyName: customFundChoice_api.none
894
- },
895
- selfManagedFundForm: {
896
- fundName: '',
897
- fundAbn: '',
898
- fundEsa: '',
899
- addressLine1: '',
900
- addressLine2: '',
901
- state: '',
902
- postcode: '',
903
- city: '',
904
- bankAccountName: '',
905
- bsb: '',
906
- bankAccountNumber: '',
907
- memberFirstName: '',
908
- memberFamilyName: ''
909
- }
910
- };
911
- const { state, reset } = customFundChoice_api.createStore(initialStateCustomFund);
912
-
913
880
  const myOwnFundCustomOption = {
914
- label: CustomFundTypes.MyOwnFund,
881
+ label: customFundChoice_api.CustomFundTypes.MyOwnFund,
915
882
  value: customFundChoice_api.SuperSelectionAppRoutes.MyOwnFund
916
883
  };
917
884
  const CustomFund = class {
@@ -933,19 +900,19 @@ const CustomFund = class {
933
900
  this.fundOptionsList = [
934
901
  myOwnFundCustomOption,
935
902
  {
936
- label: CustomFundTypes.SelfManagedFund,
903
+ label: customFundChoice_api.CustomFundTypes.SelfManagedFund,
937
904
  value: customFundChoice_api.SuperSelectionAppRoutes.SelfManagedFund
938
905
  }
939
906
  ];
940
907
  if (customFundChoice_api.superSelectionAppService.isFeaturedFundsEnabled &&
941
908
  customFundChoice_api.superSelectionAppService.isUsingSuperCampaign) {
942
909
  this.fundOptionsList.push({
943
- label: CustomFundTypes.FeaturedFunds,
910
+ label: customFundChoice_api.CustomFundTypes.FeaturedFunds,
944
911
  value: customFundChoice_api.SuperSelectionAppRoutes.FeaturedFunds
945
912
  });
946
913
  }
947
914
  this.fundOptionsList.push({
948
- label: CustomFundTypes.DefaultFund,
915
+ label: customFundChoice_api.CustomFundTypes.DefaultFund,
949
916
  value: customFundChoice_api.SuperSelectionAppRoutes.DefaultFund
950
917
  });
951
918
  this.currentCustomFund =
@@ -1516,20 +1483,20 @@ const MyOwnFundEngagementStep = class {
1516
1483
  async componentWillLoad() {
1517
1484
  if (customFundChoice_api.superSelectionAppService.isBringYourOwnFundCustomStepEnabled &&
1518
1485
  customFundChoice_api.superSelectionAppService.isUsingSuperCampaign &&
1519
- customFundChoice_api.Option.isSome(state.myOwnFundForm.fundUsi) &&
1520
- customFundChoice_api.Option.isSome(state.myOwnFundForm.fundName) &&
1521
- customFundChoice_api.Option.isSome(state.myOwnFundForm.memberNumber) &&
1522
- customFundChoice_api.Option.isSome(state.myOwnFundForm.memberFirstName) &&
1523
- customFundChoice_api.Option.isSome(state.myOwnFundForm.memberFamilyName) &&
1486
+ customFundChoice_api.Option.isSome(customFundChoice_api.state.myOwnFundForm.fundUsi) &&
1487
+ customFundChoice_api.Option.isSome(customFundChoice_api.state.myOwnFundForm.fundName) &&
1488
+ customFundChoice_api.Option.isSome(customFundChoice_api.state.myOwnFundForm.memberNumber) &&
1489
+ customFundChoice_api.Option.isSome(customFundChoice_api.state.myOwnFundForm.memberFirstName) &&
1490
+ customFundChoice_api.Option.isSome(customFundChoice_api.state.myOwnFundForm.memberFamilyName) &&
1524
1491
  customFundChoice_api.Option.isSome(customFundChoice_api.superSelectionAppService.backendUrl) &&
1525
1492
  customFundChoice_api.Option.isSome(customFundChoice_api.superSelectionAppService.state.jwt)) {
1526
1493
  this.backendUrl = customFundChoice_api.superSelectionAppService.backendUrl.value;
1527
1494
  this.accessToken = customFundChoice_api.superSelectionAppService.state.jwt.value;
1528
- this.fundUsi = state.myOwnFundForm.fundUsi.value;
1529
- this.fundName = state.myOwnFundForm.fundName.value;
1530
- this.memberNumber = state.myOwnFundForm.memberNumber.value;
1531
- this.memberFirstName = state.myOwnFundForm.memberFirstName.value;
1532
- this.memberFamilyName = state.myOwnFundForm.memberFamilyName.value;
1495
+ this.fundUsi = customFundChoice_api.state.myOwnFundForm.fundUsi.value;
1496
+ this.fundName = customFundChoice_api.state.myOwnFundForm.fundName.value;
1497
+ this.memberNumber = customFundChoice_api.state.myOwnFundForm.memberNumber.value;
1498
+ this.memberFirstName = customFundChoice_api.state.myOwnFundForm.memberFirstName.value;
1499
+ this.memberFamilyName = customFundChoice_api.state.myOwnFundForm.memberFamilyName.value;
1533
1500
  this.unSubscribeFromStepEvents();
1534
1501
  this.subscribeToStepEvents();
1535
1502
  customFundChoice_api.superSelectionAppService.hideFooterSection = true;
@@ -2632,7 +2599,7 @@ const StandardChoiceFormInputDefaultFund = class {
2632
2599
  window.removeEventListener('popstate', this.ignorePopState);
2633
2600
  }
2634
2601
  render() {
2635
- return (index.h(index.Host, null, index.h("div", { class: "text-2xl sm:text-3xl font-bold text-center" }, "Confirm your super choice"), index.h("div", { class: "sm:text-lg text-gray-600 max-w-800 mt-4 text-center leading-7 sm:leading-8" }, "Your authorisation is required to complete your super choice by signing the standard choice form, which informs your employer of your choice of fund."), index.h("div", { class: "flex justify-center mt-8 sm:mt-12" }, index.h("div", { class: "max-w-560" }, index.h("div", { class: "p-4 sm:p-6 border shadow-sm rounded-lg flex flex-col sm:flex-row" }, this.renderLogo(), index.h("div", { class: "flex justify-between w-full" }, index.h("div", null, index.h("div", { class: "text-xs font-semibold text-gray-500 uppercase" }, "Nominated fund"), index.h("div", { class: "text-sm mt-2" }, customFundChoice_api.state.fundName)), index.h("div", { class: "grid content-center ml-4" }, index.h("sss-button", { testid: "change-fund-button", size: "xs", variant: "secondary", promiseFn: async () => {
2602
+ return (index.h(index.Host, null, index.h("div", { class: "text-2xl sm:text-3xl font-bold text-center" }, "Confirm your super choice"), index.h("div", { class: "sm:text-lg text-gray-600 max-w-800 mt-4 text-center leading-7 sm:leading-8" }, "Your authorisation is required to complete your super choice by signing the standard choice form, which informs your employer of your choice of fund."), index.h("div", { class: "flex justify-center mt-8 sm:mt-12" }, index.h("div", { class: "max-w-560" }, index.h("div", { class: "p-4 sm:p-6 border shadow-sm rounded-lg flex flex-col sm:flex-row" }, this.renderLogo(), index.h("div", { class: "flex justify-between w-full" }, index.h("div", null, index.h("div", { class: "text-xs font-semibold text-gray-500 uppercase" }, "Nominated fund"), index.h("div", { class: "text-sm mt-2" }, customFundChoice_api.state$1.fundName)), index.h("div", { class: "grid content-center ml-4" }, index.h("sss-button", { testid: "change-fund-button", size: "xs", variant: "secondary", promiseFn: async () => {
2636
2603
  await this.trackChangeRequestedAsync();
2637
2604
  customFundChoice_api.navigationService.navigateInternally(this.history, customFundChoice_api.SuperSelectionAppRoutes.ChoicePage);
2638
2605
  } }, "Change")))), index.h("div", { class: "mt-4 p-4 sm:p-6 border shadow-sm rounded-lg" }, index.h("div", { class: "sm:text-lg font-bold" }, "Superannuation Standard Choice Form"), index.h("div", { class: "bg-blue-50 border-l-4 border-blue-400 p-4 mt-3" }, index.h("div", { class: "flex" }, index.h("div", { class: "flex-shrink-0" }, index.h("img", { class: "h-5 w-5", src: index.getAssetPath('assets/icon-information-circle.svg') })), index.h("div", { class: "ml-2" }, index.h("p", { class: "text-sm text-blue-800 leading-5" }, "Applying your full name in the text field below is the same as applying your written signature and is legally binding.")))), index.h("form", { noValidate: true, onSubmit: (ev) => ev.preventDefault(), class: {
@@ -2665,35 +2632,35 @@ const StandardChoiceFormInputDefaultFund = class {
2665
2632
  promotedFundsShown: customFundChoice_api.superSelectionAppService.promotedFunds,
2666
2633
  defaultFundUsiSet: customFundChoice_api.toUndefined(customFundChoice_api.superSelectionAppService.defaultFundUsi)
2667
2634
  };
2668
- switch (customFundChoice_api.state.fundDetails.type) {
2635
+ switch (customFundChoice_api.state$1.fundDetails.type) {
2669
2636
  case 'default':
2670
2637
  await this.eventTrackingService.TrackSuperFundDetailChangeRequestedAsync({
2671
- DefaultFund: Object.assign(Object.assign({}, customFundChoice_api.state.fundDetails), common)
2638
+ DefaultFund: Object.assign(Object.assign({}, customFundChoice_api.state$1.fundDetails), common)
2672
2639
  });
2673
2640
  break;
2674
2641
  case 'myOwnFund':
2675
2642
  await this.eventTrackingService.TrackSuperFundDetailChangeRequestedAsync({
2676
- MyOwnFund: Object.assign(Object.assign({}, customFundChoice_api.state.fundDetails), common)
2643
+ MyOwnFund: Object.assign(Object.assign({}, customFundChoice_api.state$1.fundDetails), common)
2677
2644
  });
2678
2645
  break;
2679
2646
  case 'smsf':
2680
2647
  await this.eventTrackingService.TrackSuperFundDetailChangeRequestedAsync({
2681
- Smsf: Object.assign(Object.assign({}, customFundChoice_api.state.fundDetails), common)
2648
+ Smsf: Object.assign(Object.assign({}, customFundChoice_api.state$1.fundDetails), common)
2682
2649
  });
2683
2650
  break;
2684
2651
  case 'promoted':
2685
2652
  await this.eventTrackingService.TrackSuperFundDetailChangeRequestedAsync({
2686
- PromotedFund: Object.assign(Object.assign({}, customFundChoice_api.state.fundDetails), common)
2653
+ PromotedFund: Object.assign(Object.assign({}, customFundChoice_api.state$1.fundDetails), common)
2687
2654
  });
2688
2655
  break;
2689
2656
  case 'promotedDefault':
2690
2657
  await this.eventTrackingService.TrackSuperFundDetailChangeRequestedAsync({
2691
- PromotedDefaultFund: Object.assign(Object.assign({}, customFundChoice_api.state.fundDetails), common)
2658
+ PromotedDefaultFund: Object.assign(Object.assign({}, customFundChoice_api.state$1.fundDetails), common)
2692
2659
  });
2693
2660
  break;
2694
2661
  case 'promotedDefaultWithJoin':
2695
2662
  await this.eventTrackingService.TrackSuperFundDetailChangeRequestedAsync({
2696
- PromotedDefaultFundWithJoin: Object.assign(Object.assign({}, customFundChoice_api.state.fundDetails), common)
2663
+ PromotedDefaultFundWithJoin: Object.assign(Object.assign({}, customFundChoice_api.state$1.fundDetails), common)
2697
2664
  });
2698
2665
  break;
2699
2666
  case 'null':
@@ -2703,7 +2670,7 @@ const StandardChoiceFormInputDefaultFund = class {
2703
2670
  async handleSubmitForm() {
2704
2671
  this.formState = 'validated';
2705
2672
  if (this.formElement.checkValidity()) {
2706
- await customFundChoice_api.state.handleSubmitFn(this.standardChoiceFormSignature.trim());
2673
+ await customFundChoice_api.state$1.handleSubmitFn(this.standardChoiceFormSignature.trim());
2707
2674
  customFundChoice_api.superSelectionAppService.markSuperSelectionAsSubmitted();
2708
2675
  }
2709
2676
  }
@@ -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-538e59d2.js');
6
+ const customFundChoice_api = require('./custom-fund-choice.api-0545c774.js');
7
7
  require('./active-router-1f555f75.js');
8
8
 
9
9
  const LoadWaitingTimeout = 30000;
@@ -41,6 +41,18 @@ const SuperByofHost = class {
41
41
  };
42
42
  this.byofCompleted = async (event) => {
43
43
  if (event.detail.sender === 'super-byof') {
44
+ customFundChoice_api.state.myOwnFundForm = {
45
+ fundUsi: customFundChoice_api.Option.fromNullable(event.detail.fundUsi),
46
+ fundName: customFundChoice_api.Option.fromNullable(event.detail.fundName),
47
+ memberNumber: customFundChoice_api.Option.fromNullable(event.detail.memberNumber),
48
+ memberFirstName: customFundChoice_api.Option.fromNullable(event.detail.memberFirstName),
49
+ memberFamilyName: customFundChoice_api.Option.fromNullable(event.detail.memberLastName)
50
+ };
51
+ if (customFundChoice_api.superSelectionAppService.isBringYourOwnFundCustomStepEnabled &&
52
+ customFundChoice_api.superSelectionAppService.isUsingSuperCampaign) {
53
+ customFundChoice_api.navigationService.navigateInternally(this.history, customFundChoice_api.SuperSelectionAppRoutes.MyOwnFundEngagementStep);
54
+ return;
55
+ }
44
56
  customFundChoice_api.navigationService.navigateInternallyToStandardChoice({
45
57
  history: this.history,
46
58
  fundName: event.detail.fundName,
@@ -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, toUndefined } from 'fp-ts/lib/Option';
3
+ import { fromNullable, 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 customFundState from '../super-selection-app/funds/custom-fund/custom-fund.store';
5
6
  import { EventTrackingService } from '../super-selection-app/services/event-tracking.service';
6
7
  import navigationService from '../super-selection-app/services/navigation.service';
7
8
  import { SuperSelectionAppRoutes } from '../super-selection-app/services/super-selection-app.routes';
@@ -39,6 +40,18 @@ export class SuperByofHost {
39
40
  };
40
41
  this.byofCompleted = async (event) => {
41
42
  if (event.detail.sender === 'super-byof') {
43
+ customFundState.myOwnFundForm = {
44
+ fundUsi: fromNullable(event.detail.fundUsi),
45
+ fundName: fromNullable(event.detail.fundName),
46
+ memberNumber: fromNullable(event.detail.memberNumber),
47
+ memberFirstName: fromNullable(event.detail.memberFirstName),
48
+ memberFamilyName: fromNullable(event.detail.memberLastName)
49
+ };
50
+ if (superSelectionAppService.isBringYourOwnFundCustomStepEnabled &&
51
+ superSelectionAppService.isUsingSuperCampaign) {
52
+ navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.MyOwnFundEngagementStep);
53
+ return;
54
+ }
42
55
  navigationService.navigateInternallyToStandardChoice({
43
56
  history: this.history,
44
57
  fundName: event.detail.fundName,
@@ -2969,6 +2969,39 @@ class NavigationService {
2969
2969
  }
2970
2970
  const navigationService = new NavigationService();
2971
2971
 
2972
+ var CustomFundTypes;
2973
+ (function (CustomFundTypes) {
2974
+ CustomFundTypes["MyOwnFund"] = "Existing super fund";
2975
+ CustomFundTypes["DefaultFund"] = "Default super fund";
2976
+ CustomFundTypes["SelfManagedFund"] = "Self-managed super fund";
2977
+ CustomFundTypes["FeaturedFunds"] = "Featured super funds";
2978
+ })(CustomFundTypes || (CustomFundTypes = {}));
2979
+ const initialStateCustomFund = {
2980
+ myOwnFundForm: {
2981
+ fundUsi: none,
2982
+ fundName: none,
2983
+ memberNumber: none,
2984
+ memberFirstName: none,
2985
+ memberFamilyName: none
2986
+ },
2987
+ selfManagedFundForm: {
2988
+ fundName: '',
2989
+ fundAbn: '',
2990
+ fundEsa: '',
2991
+ addressLine1: '',
2992
+ addressLine2: '',
2993
+ state: '',
2994
+ postcode: '',
2995
+ city: '',
2996
+ bankAccountName: '',
2997
+ bsb: '',
2998
+ bankAccountNumber: '',
2999
+ memberFirstName: '',
3000
+ memberFamilyName: ''
3001
+ }
3002
+ };
3003
+ const { state: state$1, reset } = createStore(initialStateCustomFund);
3004
+
2972
3005
  class EventTrackingApi {
2973
3006
  static get Instance() {
2974
3007
  return this.instance || (this.instance = new this());
@@ -3135,4 +3168,4 @@ class CustomFundChoiceApi {
3135
3168
  }
3136
3169
  const customFundChoiceApi = new CustomFundChoiceApi();
3137
3170
 
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 };
3171
+ export { CustomFundTypes as C, EventTrackingService as E, Option as O, SuperSelectionAppRoutes as S, superSelectionAppService as a, navigationService as b, injectHistory as c, superSelectionApi as d, customFundChoiceApi as e, isNone as f, getPromotedFundId as g, buildBackendApiClient as h, isSome as i, getSuperChoiceUsi as j, getSuperChoiceMemberNumber as k, state$1 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 };
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, F as Fragment, g as getAssetPath, H as Host, c as createEvent, s as setErrorHandler, a as getElement, d as getContext } from './index-107d7c24.js';
2
2
  import { f as from, m as map, S as SimpleOuterSubscriber, a as SimpleInnerSubscriber, i as innerSubscribe, b as isArray, O as Observable, c as isFunction, d as async, g as Subscriber, h as distinctUntilChanged, j as filter, k as StoreConfig, l as Store, Q as Query } from './datorama-akita-127aea91.js';
3
- import { n as none, i as isSome, s as some, a as superSelectionAppService, b as navigationService, S as SuperSelectionAppRoutes, c as injectHistory, d as createStore, e as superSelectionApi, O as Option, E as EventTrackingService, f as customFundChoiceApi, g as isNone, h as getPromotedFundId, j as buildBackendApiClient, k as getSuperChoiceUsi, l as getSuperChoiceMemberNumber, m as state$1, t as toUndefined, o as slate, p as SuperCampaignComponentStatus, q as iframe, r as superSelectionAppStencilRoutes, u as factory, v as fromNullable } from './custom-fund-choice.api-b7f9d60c.js';
3
+ import { n as none, i as isSome, s as some, a as superSelectionAppService, b as navigationService, S as SuperSelectionAppRoutes, c as injectHistory, C as CustomFundTypes, d as superSelectionApi, O as Option, E as EventTrackingService, e as customFundChoiceApi, f as isNone, g as getPromotedFundId, h as buildBackendApiClient, j as getSuperChoiceUsi, k as getSuperChoiceMemberNumber, l as state, m as state$1, t as toUndefined, o as slate, p as SuperCampaignComponentStatus, q as iframe, r as superSelectionAppStencilRoutes, u as factory, v as fromNullable } from './custom-fund-choice.api-1d1d018f.js';
4
4
  import { A as ActiveRouter } from './active-router-d18b36fb.js';
5
5
 
6
6
  function noop() { }
@@ -261,7 +261,7 @@ class TapSubscriber extends Subscriber {
261
261
  }
262
262
  }
263
263
 
264
- const AppVersion = '5.60.18811';
264
+ const AppVersion = '5.62.19178';
265
265
 
266
266
  class Lazy {
267
267
  constructor(factory) {
@@ -853,39 +853,6 @@ const ChoiceRouter = class {
853
853
  };
854
854
  injectHistory(ChoiceRouter);
855
855
 
856
- var CustomFundTypes;
857
- (function (CustomFundTypes) {
858
- CustomFundTypes["MyOwnFund"] = "Existing super fund";
859
- CustomFundTypes["DefaultFund"] = "Default super fund";
860
- CustomFundTypes["SelfManagedFund"] = "Self-managed super fund";
861
- CustomFundTypes["FeaturedFunds"] = "Featured super funds";
862
- })(CustomFundTypes || (CustomFundTypes = {}));
863
- const initialStateCustomFund = {
864
- myOwnFundForm: {
865
- fundUsi: none,
866
- fundName: none,
867
- memberNumber: none,
868
- memberFirstName: none,
869
- memberFamilyName: none
870
- },
871
- selfManagedFundForm: {
872
- fundName: '',
873
- fundAbn: '',
874
- fundEsa: '',
875
- addressLine1: '',
876
- addressLine2: '',
877
- state: '',
878
- postcode: '',
879
- city: '',
880
- bankAccountName: '',
881
- bsb: '',
882
- bankAccountNumber: '',
883
- memberFirstName: '',
884
- memberFamilyName: ''
885
- }
886
- };
887
- const { state, reset } = createStore(initialStateCustomFund);
888
-
889
856
  const myOwnFundCustomOption = {
890
857
  label: CustomFundTypes.MyOwnFund,
891
858
  value: SuperSelectionAppRoutes.MyOwnFund
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-107d7c24.js';
2
- import { E as EventTrackingService, a as superSelectionAppService, O as Option, b as navigationService, f as customFundChoiceApi, S as SuperSelectionAppRoutes, c as injectHistory } from './custom-fund-choice.api-b7f9d60c.js';
2
+ import { E as EventTrackingService, a as superSelectionAppService, O as Option, l as state, b as navigationService, S as SuperSelectionAppRoutes, e as customFundChoiceApi, c as injectHistory } from './custom-fund-choice.api-1d1d018f.js';
3
3
  import './active-router-d18b36fb.js';
4
4
 
5
5
  const LoadWaitingTimeout = 30000;
@@ -37,6 +37,18 @@ const SuperByofHost = class {
37
37
  };
38
38
  this.byofCompleted = async (event) => {
39
39
  if (event.detail.sender === 'super-byof') {
40
+ state.myOwnFundForm = {
41
+ fundUsi: Option.fromNullable(event.detail.fundUsi),
42
+ fundName: Option.fromNullable(event.detail.fundName),
43
+ memberNumber: Option.fromNullable(event.detail.memberNumber),
44
+ memberFirstName: Option.fromNullable(event.detail.memberFirstName),
45
+ memberFamilyName: Option.fromNullable(event.detail.memberLastName)
46
+ };
47
+ if (superSelectionAppService.isBringYourOwnFundCustomStepEnabled &&
48
+ superSelectionAppService.isUsingSuperCampaign) {
49
+ navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.MyOwnFundEngagementStep);
50
+ return;
51
+ }
40
52
  navigationService.navigateInternallyToStandardChoice({
41
53
  history: this.history,
42
54
  fundName: event.detail.fundName,