@mychoice/mychoice-sdk-store 2.1.16 → 2.1.19
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 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +9 -4
- package/dist/esm/index.js.map +1 -1
- package/package.json +2 -2
package/dist/cjs/index.js
CHANGED
|
@@ -2894,7 +2894,7 @@ const formHomeDiscountStateReducer = (state = { ...formHomeDiscountStateInitialS
|
|
|
2894
2894
|
case exports.StoreFormHomeDiscountActionTypes.FormHomeDiscountQuoterInitialSet:
|
|
2895
2895
|
return setLocalDiscounts(action.localIndex, setStateProperty(state, 'initial', action.payload.initial, 'quoterInfo'));
|
|
2896
2896
|
case exports.StoreFormHomeDiscountActionTypes.FormHomeQuoterBrokerInfoSet:
|
|
2897
|
-
return setLocalDiscounts(action.localIndex, setStateProperty(state, 'brokerInfo', action.payload
|
|
2897
|
+
return setLocalDiscounts(action.localIndex, setStateProperty(state, 'brokerInfo', action.payload, 'quoterInfo'));
|
|
2898
2898
|
case exports.StoreFormHomeDiscountActionTypes.FormHomeDiscountClear:
|
|
2899
2899
|
return setLocalDiscounts(action.localIndex, { ...formHomeDiscountStateInitialState });
|
|
2900
2900
|
default:
|
|
@@ -5170,11 +5170,12 @@ const CarQuoteDataHandler = () => {
|
|
|
5170
5170
|
}
|
|
5171
5171
|
else if (!isRequested) {
|
|
5172
5172
|
if (!isRecalc) {
|
|
5173
|
+
const stringWithLineBreak = 'Sit tight, while we work hard to save you money...\nPlease note: As insurance premiums are based on the information you provide it is important that it be 100% accurate and up to date. If you are not sure it is best to check and edit your information in the next step.';
|
|
5173
5174
|
if (appConfigState.appType === mychoiceSdkComponents.AppTypes.TheBig) {
|
|
5174
5175
|
openLoader('Please wait while we fetch your lowest rates from our insurance partners.');
|
|
5175
5176
|
}
|
|
5176
5177
|
else {
|
|
5177
|
-
openLoader(
|
|
5178
|
+
openLoader(stringWithLineBreak);
|
|
5178
5179
|
}
|
|
5179
5180
|
}
|
|
5180
5181
|
else {
|
|
@@ -5466,11 +5467,13 @@ const HomeQuoteDataHandler = () => {
|
|
|
5466
5467
|
}
|
|
5467
5468
|
else if (!isRequested) {
|
|
5468
5469
|
if (!isRecalc) {
|
|
5470
|
+
// eslint-disable-next-line no-useless-concat
|
|
5471
|
+
const stringWithLineBreak = 'Sit tight, while we work hard to save you money...\nPlease note: As insurance premiums are based on the information you provide it is important that it be 100% accurate and up to date. If you are not sure it is best to check and edit your information in the next step.';
|
|
5469
5472
|
if (appConfigState.appType === mychoiceSdkComponents.AppTypes.TheBig) {
|
|
5470
5473
|
openLoader('Please wait while we fetch your lowest rates from our insurance partners.');
|
|
5471
5474
|
}
|
|
5472
5475
|
else {
|
|
5473
|
-
openLoader(
|
|
5476
|
+
openLoader(stringWithLineBreak);
|
|
5474
5477
|
}
|
|
5475
5478
|
}
|
|
5476
5479
|
else {
|
|
@@ -5607,8 +5610,10 @@ const LifeQuoteDataHandler = () => {
|
|
|
5607
5610
|
checkIsExpiredWithModal();
|
|
5608
5611
|
}
|
|
5609
5612
|
else if (!isRequested) {
|
|
5613
|
+
// eslint-disable-next-line no-useless-concat
|
|
5614
|
+
const stringWithLineBreak = 'Sit tight, while we work hard to save you money...\nPlease note: As insurance premiums are based on the information you provide it is important that it be 100% accurate and up to date. If you are not sure it is best to check and edit your information in the next step.';
|
|
5610
5615
|
if (!isRecalc) {
|
|
5611
|
-
openLoader(
|
|
5616
|
+
openLoader(stringWithLineBreak);
|
|
5612
5617
|
}
|
|
5613
5618
|
else {
|
|
5614
5619
|
openLoader('Please wait while we fetch your lowest rates from our insurance partners.');
|