@mychoice/mychoice-sdk-modules 2.1.17 → 2.1.18
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 +3 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/init/StoryAppWrapper/StoryAppWrapper.d.ts +1 -1
- package/dist/cjs/init/StoryAppWrapper/interfaces.d.ts +1 -1
- package/dist/cjs/insurances/car/pages/{three-point-five/BestOfferFirst.d.ts → quote/PageAllQuotes.d.ts} +1 -1
- package/dist/cjs/insurances/car/pages/quote/sections/blocks/BlockConfirmImages.d.ts +1 -0
- package/dist/cjs/insurances/car/pages/quote/sections/blocks/BlockQuoteStatistics.d.ts +2 -0
- package/dist/cjs/shared/sections/quotes/OfferSection/BestOfferSection.d.ts +3 -0
- package/dist/cjs/shared/sections/quotes/OfferSection/DummyOfferSection.d.ts +3 -0
- package/dist/esm/index.js +3 -4
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/init/StoryAppWrapper/StoryAppWrapper.d.ts +1 -1
- package/dist/esm/init/StoryAppWrapper/interfaces.d.ts +1 -1
- package/dist/esm/insurances/car/pages/{three-point-five/BestOfferFirst.d.ts → quote/PageAllQuotes.d.ts} +1 -1
- package/dist/esm/insurances/car/pages/quote/sections/blocks/BlockConfirmImages.d.ts +1 -0
- package/dist/esm/insurances/car/pages/quote/sections/blocks/BlockQuoteStatistics.d.ts +2 -0
- package/dist/esm/shared/sections/quotes/OfferSection/BestOfferSection.d.ts +3 -0
- package/dist/esm/shared/sections/quotes/OfferSection/DummyOfferSection.d.ts +3 -0
- package/package.json +2 -2
- package/dist/cjs/insurances/car/pages/three-point-five/index.d.ts +0 -1
- package/dist/cjs/insurances/car/pages/three-point-five/sections/OfferSectionCopy.d.ts +0 -3
- package/dist/cjs/insurances/car/pages/three-point-five/sections/OfferSectionDupe.d.ts +0 -3
- package/dist/cjs/insurances/car/pages/three-point-five/sections/index.d.ts +0 -1
- package/dist/esm/insurances/car/pages/three-point-five/index.d.ts +0 -1
- package/dist/esm/insurances/car/pages/three-point-five/sections/OfferSectionCopy.d.ts +0 -3
- package/dist/esm/insurances/car/pages/three-point-five/sections/OfferSectionDupe.d.ts +0 -3
- package/dist/esm/insurances/car/pages/three-point-five/sections/index.d.ts +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { SdkFC } from '@groksmith/mychoice-sdk-components';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const PageAllQuotes: SdkFC;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BlockConfirmImages: () => import("react/jsx-runtime").JSX.Element;
|
package/dist/esm/index.js
CHANGED
|
@@ -304,11 +304,10 @@ const ModalPostal = () => {
|
|
|
304
304
|
};
|
|
305
305
|
|
|
306
306
|
const getVehicleYearRange = () => {
|
|
307
|
-
const currentDate = new Date();
|
|
308
307
|
const vehicleYear = [];
|
|
309
|
-
const currentYear =
|
|
308
|
+
const currentYear = 2024;
|
|
310
309
|
const minYear = currentYear - 25;
|
|
311
|
-
for (let year = (
|
|
310
|
+
for (let year = (currentYear); year > minYear; year -= 1) {
|
|
312
311
|
vehicleYear.push({ name: `${year}`, value: `${year}` });
|
|
313
312
|
}
|
|
314
313
|
vehicleYear.push({ name: `${minYear} or older`, value: `${minYear}` });
|
|
@@ -1837,7 +1836,7 @@ const PageCarQuote = () => {
|
|
|
1837
1836
|
const { appDeviceType } = useStoreDeviceType();
|
|
1838
1837
|
const { items, quoteConfirm } = quoteState;
|
|
1839
1838
|
const isTheBig = appType === AppTypes.TheBig;
|
|
1840
|
-
const hasConfirmStep = items?.length && !isTheBig && items[0]?.confirmQuote && quoteConfirm;
|
|
1839
|
+
const hasConfirmStep = !!(items?.length && !isTheBig && items[0]?.confirmQuote && quoteConfirm);
|
|
1841
1840
|
const quoteItems = hasConfirmStep ? items?.slice(0, 2) : items;
|
|
1842
1841
|
const showContentWhileLoading = hasConfirmStep ? true : !appLoaderState.isOpen;
|
|
1843
1842
|
useEffectOnce(() => {
|