@mychoice/mychoice-sdk-store 2.2.0 → 2.2.5
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 +9 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DiscountState/actions.d.ts +1 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DiscountState/interfaces.d.ts +6 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/DiscountState/actions.d.ts +1 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/DiscountState/interfaces.d.ts +6 -0
- package/dist/cjs/states/reducers/states/formStates/FormLifeState/ApplicantState/actions.d.ts +2 -1
- package/dist/cjs/states/reducers/states/formStates/FormLifeState/ApplicantState/interfaces.d.ts +6 -0
- package/dist/esm/index.js +9 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/states/reducers/states/formStates/FormCarState/DiscountState/actions.d.ts +1 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DiscountState/interfaces.d.ts +6 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/DiscountState/actions.d.ts +1 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/DiscountState/interfaces.d.ts +6 -0
- package/dist/esm/states/reducers/states/formStates/FormLifeState/ApplicantState/actions.d.ts +2 -1
- package/dist/esm/states/reducers/states/formStates/FormLifeState/ApplicantState/interfaces.d.ts +6 -0
- package/dist/index.d.ts +22 -1
- package/package.json +2 -2
|
@@ -23,5 +23,6 @@ export declare enum StoreFormCarDiscountActionTypes {
|
|
|
23
23
|
FormCarDiscountQuoterBrokerInfoSet = "FormCarDiscountQuoterBrokerInfoSet",
|
|
24
24
|
FormCarDiscountQuoterUtmSourceSet = "FormCarDiscountQuoterUtmSourceSet",
|
|
25
25
|
FormCarDiscountQuoterUtmCampaignSet = "FormCarDiscountQuoterUtmCampaignSet",
|
|
26
|
+
FormCarDiscountQuoterUtmProducerSet = "FormCarDiscountQuoterUtmProducerSet",
|
|
26
27
|
FormCarDiscountQuoterInitialSet = "FormCarDiscountQuoterInitialSet"
|
|
27
28
|
}
|
package/dist/cjs/states/reducers/states/formStates/FormCarState/DiscountState/interfaces.d.ts
CHANGED
|
@@ -131,6 +131,12 @@ export type FormCarDiscountStateActionType = {
|
|
|
131
131
|
utmCampaign: string;
|
|
132
132
|
};
|
|
133
133
|
localIndex?: string;
|
|
134
|
+
} | {
|
|
135
|
+
type: StoreFormCarDiscountActionTypes.FormCarDiscountQuoterUtmProducerSet;
|
|
136
|
+
payload: {
|
|
137
|
+
utmProducer: string;
|
|
138
|
+
};
|
|
139
|
+
localIndex?: string;
|
|
134
140
|
} | {
|
|
135
141
|
type: StoreFormCarDiscountActionTypes.FormCarDiscountQuoterInitialSet;
|
|
136
142
|
payload: {
|
|
@@ -15,6 +15,7 @@ export declare enum StoreFormHomeDiscountActionTypes {
|
|
|
15
15
|
FormHomeQuoterPhoneSet = "FormHomeQuoterPhoneSet",
|
|
16
16
|
FormHomeUtmCampaignSet = "FormHomeUtmCampaignSet",
|
|
17
17
|
FormHomeUtmSourceSet = "FormHomeUtmSourceSet",
|
|
18
|
+
FormHomeUtmProducerSet = "FormHomeUtmProducerSet",
|
|
18
19
|
FormHomeQuoterBrokerInfoSet = "FormHomeQuoterBrokerInfoSet",
|
|
19
20
|
FormHomeDiscountQuoterInitialSet = "FormHomeDiscountQuoterInitialSet"
|
|
20
21
|
}
|
package/dist/cjs/states/reducers/states/formStates/FormHomeState/DiscountState/interfaces.d.ts
CHANGED
|
@@ -86,6 +86,12 @@ export type FormHomeDiscountStateActionType = {
|
|
|
86
86
|
utmSource: string;
|
|
87
87
|
};
|
|
88
88
|
localIndex?: string;
|
|
89
|
+
} | {
|
|
90
|
+
type: StoreFormHomeDiscountActionTypes.FormHomeUtmProducerSet;
|
|
91
|
+
payload: {
|
|
92
|
+
utmProducer: string;
|
|
93
|
+
};
|
|
94
|
+
localIndex?: string;
|
|
89
95
|
} | {
|
|
90
96
|
type: StoreFormHomeDiscountActionTypes.FormHomeDiscountQuoterInitialSet;
|
|
91
97
|
payload: {
|
package/dist/cjs/states/reducers/states/formStates/FormLifeState/ApplicantState/actions.d.ts
CHANGED
|
@@ -14,5 +14,6 @@ export declare enum StoreFormLifeApplicantActionTypes {
|
|
|
14
14
|
FormLifeQuoterLastNameSet = "FormLifeQuoterLastNameSet",
|
|
15
15
|
FormLifeQuoterPhoneSet = "FormLifeQuoterPhoneSet",
|
|
16
16
|
FormLifeUtmCampaignSet = "FormLifeUtmCampaignSet",
|
|
17
|
-
FormLifeUtmSourceSet = "FormLifeUtmSourceSet"
|
|
17
|
+
FormLifeUtmSourceSet = "FormLifeUtmSourceSet",
|
|
18
|
+
FormLifeUtmProducerSet = "FormLifeUtmProducerSet"
|
|
18
19
|
}
|
package/dist/cjs/states/reducers/states/formStates/FormLifeState/ApplicantState/interfaces.d.ts
CHANGED
|
@@ -103,6 +103,12 @@ export type FormLifeApplicantStateActionType = {
|
|
|
103
103
|
utmSource: string;
|
|
104
104
|
};
|
|
105
105
|
localIndex?: string;
|
|
106
|
+
} | {
|
|
107
|
+
type: StoreFormLifeApplicantActionTypes.FormLifeUtmProducerSet;
|
|
108
|
+
payload: {
|
|
109
|
+
utmProducer: string;
|
|
110
|
+
};
|
|
111
|
+
localIndex?: string;
|
|
106
112
|
} | {
|
|
107
113
|
type: StoreFormLifeApplicantActionTypes.FormLifeApplicantClear;
|
|
108
114
|
payload?: null;
|
package/dist/esm/index.js
CHANGED
|
@@ -1878,6 +1878,7 @@ var StoreFormCarDiscountActionTypes;
|
|
|
1878
1878
|
StoreFormCarDiscountActionTypes["FormCarDiscountQuoterBrokerInfoSet"] = "FormCarDiscountQuoterBrokerInfoSet";
|
|
1879
1879
|
StoreFormCarDiscountActionTypes["FormCarDiscountQuoterUtmSourceSet"] = "FormCarDiscountQuoterUtmSourceSet";
|
|
1880
1880
|
StoreFormCarDiscountActionTypes["FormCarDiscountQuoterUtmCampaignSet"] = "FormCarDiscountQuoterUtmCampaignSet";
|
|
1881
|
+
StoreFormCarDiscountActionTypes["FormCarDiscountQuoterUtmProducerSet"] = "FormCarDiscountQuoterUtmProducerSet";
|
|
1881
1882
|
StoreFormCarDiscountActionTypes["FormCarDiscountQuoterInitialSet"] = "FormCarDiscountQuoterInitialSet";
|
|
1882
1883
|
})(StoreFormCarDiscountActionTypes || (StoreFormCarDiscountActionTypes = {}));
|
|
1883
1884
|
|
|
@@ -2009,6 +2010,8 @@ const formCarDiscountStateReducer = (state = { ...formCarDiscountStateInitialSta
|
|
|
2009
2010
|
return setLocalDiscounts$1(action.localIndex, setDiscountQuoterProperty(state, 'utmSource', action.payload.utmSource));
|
|
2010
2011
|
case StoreFormCarDiscountActionTypes.FormCarDiscountQuoterUtmCampaignSet:
|
|
2011
2012
|
return setLocalDiscounts$1(action.localIndex, setDiscountQuoterProperty(state, 'utmCampaign', action.payload.utmCampaign));
|
|
2013
|
+
case StoreFormCarDiscountActionTypes.FormCarDiscountQuoterUtmProducerSet:
|
|
2014
|
+
return setLocalDiscounts$1(action.localIndex, setDiscountQuoterProperty(state, 'utmProducer', action.payload.utmProducer));
|
|
2012
2015
|
case StoreFormCarDiscountActionTypes.FormCarDiscountQuoterInitialSet:
|
|
2013
2016
|
return setLocalDiscounts$1(action.localIndex, setDiscountQuoterProperty(state, 'initial', action.payload.initial));
|
|
2014
2017
|
case StoreFormCarDiscountActionTypes.FormCarDiscountQuoterBrokerInfoSet:
|
|
@@ -2853,6 +2856,7 @@ var StoreFormHomeDiscountActionTypes;
|
|
|
2853
2856
|
StoreFormHomeDiscountActionTypes["FormHomeQuoterPhoneSet"] = "FormHomeQuoterPhoneSet";
|
|
2854
2857
|
StoreFormHomeDiscountActionTypes["FormHomeUtmCampaignSet"] = "FormHomeUtmCampaignSet";
|
|
2855
2858
|
StoreFormHomeDiscountActionTypes["FormHomeUtmSourceSet"] = "FormHomeUtmSourceSet";
|
|
2859
|
+
StoreFormHomeDiscountActionTypes["FormHomeUtmProducerSet"] = "FormHomeUtmProducerSet";
|
|
2856
2860
|
StoreFormHomeDiscountActionTypes["FormHomeQuoterBrokerInfoSet"] = "FormHomeQuoterBrokerInfoSet";
|
|
2857
2861
|
StoreFormHomeDiscountActionTypes["FormHomeDiscountQuoterInitialSet"] = "FormHomeDiscountQuoterInitialSet";
|
|
2858
2862
|
})(StoreFormHomeDiscountActionTypes || (StoreFormHomeDiscountActionTypes = {}));
|
|
@@ -2914,6 +2918,8 @@ const formHomeDiscountStateReducer = (state = { ...formHomeDiscountStateInitialS
|
|
|
2914
2918
|
return setLocalDiscounts(action.localIndex, setStateProperty(state, 'utmSource', action.payload.utmSource, 'quoterInfo'));
|
|
2915
2919
|
case StoreFormHomeDiscountActionTypes.FormHomeUtmCampaignSet:
|
|
2916
2920
|
return setLocalDiscounts(action.localIndex, setStateProperty(state, 'utmCampaign', action.payload.utmCampaign, 'quoterInfo'));
|
|
2921
|
+
case StoreFormHomeDiscountActionTypes.FormHomeUtmProducerSet:
|
|
2922
|
+
return setLocalDiscounts(action.localIndex, setStateProperty(state, 'utmProducer', action.payload.utmProducer, 'quoterInfo'));
|
|
2917
2923
|
case StoreFormHomeDiscountActionTypes.FormHomeDiscountQuoterInitialSet:
|
|
2918
2924
|
return setLocalDiscounts(action.localIndex, setStateProperty(state, 'initial', action.payload.initial, 'quoterInfo'));
|
|
2919
2925
|
case StoreFormHomeDiscountActionTypes.FormHomeQuoterBrokerInfoSet:
|
|
@@ -3101,6 +3107,7 @@ var StoreFormLifeApplicantActionTypes;
|
|
|
3101
3107
|
StoreFormLifeApplicantActionTypes["FormLifeQuoterPhoneSet"] = "FormLifeQuoterPhoneSet";
|
|
3102
3108
|
StoreFormLifeApplicantActionTypes["FormLifeUtmCampaignSet"] = "FormLifeUtmCampaignSet";
|
|
3103
3109
|
StoreFormLifeApplicantActionTypes["FormLifeUtmSourceSet"] = "FormLifeUtmSourceSet";
|
|
3110
|
+
StoreFormLifeApplicantActionTypes["FormLifeUtmProducerSet"] = "FormLifeUtmProducerSet";
|
|
3104
3111
|
})(StoreFormLifeApplicantActionTypes || (StoreFormLifeApplicantActionTypes = {}));
|
|
3105
3112
|
|
|
3106
3113
|
const formLifeApplicantStateReducer = (state = { ...lifeFormApplicantInitialState }, action) => {
|
|
@@ -3138,6 +3145,8 @@ const formLifeApplicantStateReducer = (state = { ...lifeFormApplicantInitialStat
|
|
|
3138
3145
|
return setLocalApplicant(action?.localIndex, setStateProperty(state, 'utmSource', action.payload.utmSource, 'quoterInfo'));
|
|
3139
3146
|
case StoreFormLifeApplicantActionTypes.FormLifeUtmCampaignSet:
|
|
3140
3147
|
return setLocalApplicant(action?.localIndex, setStateProperty(state, 'utmCampaign', action.payload.utmCampaign, 'quoterInfo'));
|
|
3148
|
+
case StoreFormLifeApplicantActionTypes.FormLifeUtmProducerSet:
|
|
3149
|
+
return setLocalApplicant(action?.localIndex, setStateProperty(state, 'utmProducer', action.payload.utmProducer, 'quoterInfo'));
|
|
3141
3150
|
default:
|
|
3142
3151
|
return state;
|
|
3143
3152
|
}
|