@mychoice/mychoice-sdk-store 2.2.0 → 2.2.6-alpha.0

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/cjs/index.js CHANGED
@@ -1887,6 +1887,7 @@ exports.StoreFormCarDiscountActionTypes = void 0;
1887
1887
  StoreFormCarDiscountActionTypes["FormCarDiscountQuoterBrokerInfoSet"] = "FormCarDiscountQuoterBrokerInfoSet";
1888
1888
  StoreFormCarDiscountActionTypes["FormCarDiscountQuoterUtmSourceSet"] = "FormCarDiscountQuoterUtmSourceSet";
1889
1889
  StoreFormCarDiscountActionTypes["FormCarDiscountQuoterUtmCampaignSet"] = "FormCarDiscountQuoterUtmCampaignSet";
1890
+ StoreFormCarDiscountActionTypes["FormCarDiscountQuoterUtmProducerSet"] = "FormCarDiscountQuoterUtmProducerSet";
1890
1891
  StoreFormCarDiscountActionTypes["FormCarDiscountQuoterInitialSet"] = "FormCarDiscountQuoterInitialSet";
1891
1892
  })(exports.StoreFormCarDiscountActionTypes || (exports.StoreFormCarDiscountActionTypes = {}));
1892
1893
 
@@ -2018,6 +2019,8 @@ const formCarDiscountStateReducer = (state = { ...formCarDiscountStateInitialSta
2018
2019
  return setLocalDiscounts$1(action.localIndex, setDiscountQuoterProperty(state, 'utmSource', action.payload.utmSource));
2019
2020
  case exports.StoreFormCarDiscountActionTypes.FormCarDiscountQuoterUtmCampaignSet:
2020
2021
  return setLocalDiscounts$1(action.localIndex, setDiscountQuoterProperty(state, 'utmCampaign', action.payload.utmCampaign));
2022
+ case exports.StoreFormCarDiscountActionTypes.FormCarDiscountQuoterUtmProducerSet:
2023
+ return setLocalDiscounts$1(action.localIndex, setDiscountQuoterProperty(state, 'utmProducer', action.payload.utmProducer));
2021
2024
  case exports.StoreFormCarDiscountActionTypes.FormCarDiscountQuoterInitialSet:
2022
2025
  return setLocalDiscounts$1(action.localIndex, setDiscountQuoterProperty(state, 'initial', action.payload.initial));
2023
2026
  case exports.StoreFormCarDiscountActionTypes.FormCarDiscountQuoterBrokerInfoSet:
@@ -2862,6 +2865,7 @@ exports.StoreFormHomeDiscountActionTypes = void 0;
2862
2865
  StoreFormHomeDiscountActionTypes["FormHomeQuoterPhoneSet"] = "FormHomeQuoterPhoneSet";
2863
2866
  StoreFormHomeDiscountActionTypes["FormHomeUtmCampaignSet"] = "FormHomeUtmCampaignSet";
2864
2867
  StoreFormHomeDiscountActionTypes["FormHomeUtmSourceSet"] = "FormHomeUtmSourceSet";
2868
+ StoreFormHomeDiscountActionTypes["FormHomeUtmProducerSet"] = "FormHomeUtmProducerSet";
2865
2869
  StoreFormHomeDiscountActionTypes["FormHomeQuoterBrokerInfoSet"] = "FormHomeQuoterBrokerInfoSet";
2866
2870
  StoreFormHomeDiscountActionTypes["FormHomeDiscountQuoterInitialSet"] = "FormHomeDiscountQuoterInitialSet";
2867
2871
  })(exports.StoreFormHomeDiscountActionTypes || (exports.StoreFormHomeDiscountActionTypes = {}));
@@ -2923,6 +2927,8 @@ const formHomeDiscountStateReducer = (state = { ...formHomeDiscountStateInitialS
2923
2927
  return setLocalDiscounts(action.localIndex, setStateProperty(state, 'utmSource', action.payload.utmSource, 'quoterInfo'));
2924
2928
  case exports.StoreFormHomeDiscountActionTypes.FormHomeUtmCampaignSet:
2925
2929
  return setLocalDiscounts(action.localIndex, setStateProperty(state, 'utmCampaign', action.payload.utmCampaign, 'quoterInfo'));
2930
+ case exports.StoreFormHomeDiscountActionTypes.FormHomeUtmProducerSet:
2931
+ return setLocalDiscounts(action.localIndex, setStateProperty(state, 'utmProducer', action.payload.utmProducer, 'quoterInfo'));
2926
2932
  case exports.StoreFormHomeDiscountActionTypes.FormHomeDiscountQuoterInitialSet:
2927
2933
  return setLocalDiscounts(action.localIndex, setStateProperty(state, 'initial', action.payload.initial, 'quoterInfo'));
2928
2934
  case exports.StoreFormHomeDiscountActionTypes.FormHomeQuoterBrokerInfoSet:
@@ -3110,6 +3116,7 @@ exports.StoreFormLifeApplicantActionTypes = void 0;
3110
3116
  StoreFormLifeApplicantActionTypes["FormLifeQuoterPhoneSet"] = "FormLifeQuoterPhoneSet";
3111
3117
  StoreFormLifeApplicantActionTypes["FormLifeUtmCampaignSet"] = "FormLifeUtmCampaignSet";
3112
3118
  StoreFormLifeApplicantActionTypes["FormLifeUtmSourceSet"] = "FormLifeUtmSourceSet";
3119
+ StoreFormLifeApplicantActionTypes["FormLifeUtmProducerSet"] = "FormLifeUtmProducerSet";
3113
3120
  })(exports.StoreFormLifeApplicantActionTypes || (exports.StoreFormLifeApplicantActionTypes = {}));
3114
3121
 
3115
3122
  const formLifeApplicantStateReducer = (state = { ...lifeFormApplicantInitialState }, action) => {
@@ -3147,6 +3154,8 @@ const formLifeApplicantStateReducer = (state = { ...lifeFormApplicantInitialStat
3147
3154
  return setLocalApplicant(action?.localIndex, setStateProperty(state, 'utmSource', action.payload.utmSource, 'quoterInfo'));
3148
3155
  case exports.StoreFormLifeApplicantActionTypes.FormLifeUtmCampaignSet:
3149
3156
  return setLocalApplicant(action?.localIndex, setStateProperty(state, 'utmCampaign', action.payload.utmCampaign, 'quoterInfo'));
3157
+ case exports.StoreFormLifeApplicantActionTypes.FormLifeUtmProducerSet:
3158
+ return setLocalApplicant(action?.localIndex, setStateProperty(state, 'utmProducer', action.payload.utmProducer, 'quoterInfo'));
3150
3159
  default:
3151
3160
  return state;
3152
3161
  }