@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/esm/index.js
CHANGED
|
@@ -2885,7 +2885,7 @@ const formHomeDiscountStateReducer = (state = { ...formHomeDiscountStateInitialS
|
|
|
2885
2885
|
case StoreFormHomeDiscountActionTypes.FormHomeDiscountQuoterInitialSet:
|
|
2886
2886
|
return setLocalDiscounts(action.localIndex, setStateProperty(state, 'initial', action.payload.initial, 'quoterInfo'));
|
|
2887
2887
|
case StoreFormHomeDiscountActionTypes.FormHomeQuoterBrokerInfoSet:
|
|
2888
|
-
return setLocalDiscounts(action.localIndex, setStateProperty(state, 'brokerInfo', action.payload
|
|
2888
|
+
return setLocalDiscounts(action.localIndex, setStateProperty(state, 'brokerInfo', action.payload, 'quoterInfo'));
|
|
2889
2889
|
case StoreFormHomeDiscountActionTypes.FormHomeDiscountClear:
|
|
2890
2890
|
return setLocalDiscounts(action.localIndex, { ...formHomeDiscountStateInitialState });
|
|
2891
2891
|
default:
|
|
@@ -5161,11 +5161,12 @@ const CarQuoteDataHandler = () => {
|
|
|
5161
5161
|
}
|
|
5162
5162
|
else if (!isRequested) {
|
|
5163
5163
|
if (!isRecalc) {
|
|
5164
|
+
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.';
|
|
5164
5165
|
if (appConfigState.appType === AppTypes.TheBig) {
|
|
5165
5166
|
openLoader('Please wait while we fetch your lowest rates from our insurance partners.');
|
|
5166
5167
|
}
|
|
5167
5168
|
else {
|
|
5168
|
-
openLoader(
|
|
5169
|
+
openLoader(stringWithLineBreak);
|
|
5169
5170
|
}
|
|
5170
5171
|
}
|
|
5171
5172
|
else {
|
|
@@ -5457,11 +5458,13 @@ const HomeQuoteDataHandler = () => {
|
|
|
5457
5458
|
}
|
|
5458
5459
|
else if (!isRequested) {
|
|
5459
5460
|
if (!isRecalc) {
|
|
5461
|
+
// eslint-disable-next-line no-useless-concat
|
|
5462
|
+
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.';
|
|
5460
5463
|
if (appConfigState.appType === AppTypes.TheBig) {
|
|
5461
5464
|
openLoader('Please wait while we fetch your lowest rates from our insurance partners.');
|
|
5462
5465
|
}
|
|
5463
5466
|
else {
|
|
5464
|
-
openLoader(
|
|
5467
|
+
openLoader(stringWithLineBreak);
|
|
5465
5468
|
}
|
|
5466
5469
|
}
|
|
5467
5470
|
else {
|
|
@@ -5598,8 +5601,10 @@ const LifeQuoteDataHandler = () => {
|
|
|
5598
5601
|
checkIsExpiredWithModal();
|
|
5599
5602
|
}
|
|
5600
5603
|
else if (!isRequested) {
|
|
5604
|
+
// eslint-disable-next-line no-useless-concat
|
|
5605
|
+
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.';
|
|
5601
5606
|
if (!isRecalc) {
|
|
5602
|
-
openLoader(
|
|
5607
|
+
openLoader(stringWithLineBreak);
|
|
5603
5608
|
}
|
|
5604
5609
|
else {
|
|
5605
5610
|
openLoader('Please wait while we fetch your lowest rates from our insurance partners.');
|