@mychoice/mychoice-sdk-modules 2.1.31 → 2.1.33
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 +73 -25
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/shared/navigations/interfaces.d.ts +1 -0
- package/dist/esm/index.js +73 -25
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/shared/navigations/interfaces.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/package.json +2 -2
package/dist/cjs/index.js
CHANGED
|
@@ -3133,29 +3133,21 @@ const PageLifeQuote = () => {
|
|
|
3133
3133
|
behavior: 'smooth',
|
|
3134
3134
|
});
|
|
3135
3135
|
});
|
|
3136
|
-
|
|
3137
|
-
// Check if the company is already added and if so, whether the current item has a lower priceMonthly.
|
|
3138
|
-
if (!acc[currentItem.company] || currentItem.priceMonthly < acc[currentItem.company].priceMonthly) {
|
|
3139
|
-
acc[currentItem.company] = currentItem; // Add or update the item for the company
|
|
3140
|
-
}
|
|
3141
|
-
return acc;
|
|
3142
|
-
}, {});
|
|
3143
|
-
const result = Object.values(uniqueItems);
|
|
3144
|
-
console.log(result, "ach");
|
|
3136
|
+
console.log(items, "items");
|
|
3145
3137
|
return (jsxRuntime.jsx("div", { className: "quote-page-content", children: !appLoaderState.isOpen
|
|
3146
|
-
&& (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsxs("div", { className: "form-section-container", children: [appDeviceType === mychoiceSdkComponents.DeviceTypes.Mobile && (jsxRuntime.jsx(jsxRuntime.Fragment, { children: !!
|
|
3147
|
-
? (jsxRuntime.jsx("div", { className: "offer-container", children: jsxRuntime.jsx(OfferSection, { isBestOffer: true, offerCompany:
|
|
3148
|
-
monthly:
|
|
3149
|
-
yearly:
|
|
3138
|
+
&& (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsxs("div", { className: "form-section-container", children: [appDeviceType === mychoiceSdkComponents.DeviceTypes.Mobile && (jsxRuntime.jsx(jsxRuntime.Fragment, { children: !!items?.length && (jsxRuntime.jsx(jsxRuntime.Fragment, { children: !quoteState.showCallMessage
|
|
3139
|
+
? (jsxRuntime.jsx("div", { className: "offer-container", children: jsxRuntime.jsx(OfferSection, { isBestOffer: true, offerCompany: items[0]?.company, brokerCompany: items[0]?.brokerProfile, offerPrice: {
|
|
3140
|
+
monthly: items[0]?.priceMonthly,
|
|
3141
|
+
yearly: items[0]?.priceYearly,
|
|
3150
3142
|
}, operationHours: {
|
|
3151
|
-
saturdayHours:
|
|
3152
|
-
sundayHours:
|
|
3153
|
-
weekdayHours:
|
|
3143
|
+
saturdayHours: items[0]?.brokerProfile.hoursSaturday,
|
|
3144
|
+
sundayHours: items[0]?.brokerProfile.hoursSunday,
|
|
3145
|
+
weekdayHours: items[0]?.brokerProfile.hoursWorkdays,
|
|
3154
3146
|
}, phoneNumber: formatPhoneObject(items[0]?.brokerProfile.phone), redirectUrl: items[0]?.brokerProfile.redirectUrl || '' }) }))
|
|
3155
3147
|
: jsxRuntime.jsx(SplashScreen, {}) })) })), jsxRuntime.jsx(SectionQuoteEdit, {})] }), appDeviceType !== mychoiceSdkComponents.DeviceTypes.Mobile && quoteState.showCallMessage
|
|
3156
3148
|
&& jsxRuntime.jsx(SplashScreen, {}), !quoteState.showCallMessage
|
|
3157
|
-
&& (jsxRuntime.jsx("div", { className: "offer-container", children: !!
|
|
3158
|
-
&&
|
|
3149
|
+
&& (jsxRuntime.jsx("div", { className: "offer-container", children: !!items?.length
|
|
3150
|
+
&& items.map(({ company, brokerProfile, priceMonthly, priceYearly, }, index) => (jsxRuntime.jsx("div", { children: (appDeviceType !== mychoiceSdkComponents.DeviceTypes.Mobile || (appDeviceType === mychoiceSdkComponents.DeviceTypes.Mobile && index !== 0)) && (jsxRuntime.jsx(OfferSection, { isBestOffer: index === 0, offerCompany: company, brokerCompany: brokerProfile, offerPrice: {
|
|
3159
3151
|
monthly: priceMonthly,
|
|
3160
3152
|
yearly: priceYearly,
|
|
3161
3153
|
}, operationHours: {
|
|
@@ -3254,7 +3246,9 @@ const ModalQuoteRequest = ({ title, description, phoneNumber, }) => (jsxRuntime.
|
|
|
3254
3246
|
&& jsxRuntime.jsx("p", { children: description }), jsxRuntime.jsxs("div", { className: "modal-buttons", children: [jsxRuntime.jsx(mychoiceSdkComponents.ButtonBase, { type: mychoiceSdkComponents.ButtonTypes.Button, label: "OK", category: mychoiceSdkComponents.CategoryTypes.Filled, color: mychoiceSdkComponents.ColorTypes.Primary, variant: mychoiceSdkComponents.ButtonVariantTypes.Rectangle, size: mychoiceSdkComponents.SizeTypes.Large }), phoneNumber
|
|
3255
3247
|
&& (jsxRuntime.jsx("a", { target: "_blank", rel: "noreferrer noopener", href: `tel:1${phoneNumber}`, className: "phoneNumber", children: "Call the Broker" }))] })] }));
|
|
3256
3248
|
|
|
3257
|
-
const PostalCodeDataBox = ({ title, postalCode, className
|
|
3249
|
+
const PostalCodeDataBox = ({ title, postalCode, className, id }) => {
|
|
3250
|
+
return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsxs("div", { id: id, className: `${className} postal-code-data-box`, children: [jsxRuntime.jsx("h2", { children: title }), postalCode && (jsxRuntime.jsxs("p", { children: ["Your postal code:", ' ', postalCode] }))] }) }));
|
|
3251
|
+
};
|
|
3258
3252
|
PostalCodeDataBox.defaultProps = {
|
|
3259
3253
|
title: '',
|
|
3260
3254
|
postalCode: '',
|
|
@@ -3268,6 +3262,16 @@ const StepsBox = ({ formSteps, validationHooks, propertyIsCompleted, }) => {
|
|
|
3268
3262
|
// const { dispatchAppModalState } = useStoreAppModal();
|
|
3269
3263
|
// const [steps, setSteps] = useState(formSteps);
|
|
3270
3264
|
// const [validations, setValidations] = useState(validationHooks);
|
|
3265
|
+
const [showContent, setShowContent] = React.useState(false);
|
|
3266
|
+
React.useEffect(() => {
|
|
3267
|
+
const checkTime = () => {
|
|
3268
|
+
const currentHour = new Date().getUTCHours() - 5; // EST is UTC-5
|
|
3269
|
+
setShowContent(currentHour >= 9 && currentHour < 18);
|
|
3270
|
+
};
|
|
3271
|
+
checkTime(); // Initial check
|
|
3272
|
+
const interval = setInterval(checkTime, 60000); // Check every minute
|
|
3273
|
+
return () => clearInterval(interval); // Cleanup
|
|
3274
|
+
}, []); // Run effect only once on component mount
|
|
3271
3275
|
const { pathname } = reactRouterDom.useLocation();
|
|
3272
3276
|
const currentPath = pathname.split('/');
|
|
3273
3277
|
const activeStep = formSteps.find((step) => currentPath[currentPath.length - 1] === step.path?.substring(1));
|
|
@@ -3331,6 +3335,22 @@ const StepsBox = ({ formSteps, validationHooks, propertyIsCompleted, }) => {
|
|
|
3331
3335
|
}
|
|
3332
3336
|
}
|
|
3333
3337
|
};
|
|
3338
|
+
const [showQR, setShowQr] = React.useState(false);
|
|
3339
|
+
const containerRef = React.useRef(null);
|
|
3340
|
+
React.useEffect(() => {
|
|
3341
|
+
const handleClickOutside = (event) => {
|
|
3342
|
+
if (containerRef.current && !containerRef.current.contains(event.target)) {
|
|
3343
|
+
setShowQr(false);
|
|
3344
|
+
}
|
|
3345
|
+
};
|
|
3346
|
+
document.addEventListener('mousedown', handleClickOutside);
|
|
3347
|
+
return () => {
|
|
3348
|
+
document.removeEventListener('mousedown', handleClickOutside);
|
|
3349
|
+
};
|
|
3350
|
+
}, []);
|
|
3351
|
+
const handleHelpButton = () => {
|
|
3352
|
+
setShowQr(!showQR);
|
|
3353
|
+
};
|
|
3334
3354
|
return (jsxRuntime.jsxs("ol", { className: appType === mychoiceSdkComponents.AppTypes.MyChoice ? 'mychoice-navigation-steps-container' : 'navigation-steps-container', children: [!isMobile ? (jsxRuntime.jsx(jsxRuntime.Fragment, { children: formSteps?.map((item, index) => {
|
|
3335
3355
|
let cls;
|
|
3336
3356
|
switch (true) {
|
|
@@ -3347,9 +3367,11 @@ const StepsBox = ({ formSteps, validationHooks, propertyIsCompleted, }) => {
|
|
|
3347
3367
|
return jsxRuntime.jsx(jsxRuntime.Fragment, {});
|
|
3348
3368
|
}
|
|
3349
3369
|
return (jsxRuntime.jsx("div", { role: "presentation", className: appType === mychoiceSdkComponents.AppTypes.MyChoice ? navigationCls : 'navigation-step-container', onKeyDown: handleStepClick(item, index), onClick: handleStepClick(item, index), children: appType === mychoiceSdkComponents.AppTypes.MyChoice
|
|
3350
|
-
? jsxRuntime.jsx(mychoiceSdkComponents.MychoiceStep, { className: cls, item: item, index: index }, `${index}-${item?.title}`)
|
|
3370
|
+
? jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(mychoiceSdkComponents.MychoiceStep, { className: cls, item: item, index: index }, `${index}-${item?.title}`), jsxRuntime.jsx(mychoiceSdkComponents.ButtonBase, {})] })
|
|
3351
3371
|
: jsxRuntime.jsx(mychoiceSdkComponents.Step, { className: cls, item: item, index: index }, `${index}-${item?.title}`) }, `${index}-${item?.title}`));
|
|
3352
|
-
}) })) : jsxRuntime.jsx(mychoiceSdkComponents.Step, { item: formSteps[activeIndex], index: activeIndex, itemsCount: formSteps.length, isMobile: true }), appType === mychoiceSdkComponents.AppTypes.MyChoice && (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx("hr", {}), jsxRuntime.jsxs("div", { className: "estimated-minutes", children: [jsxRuntime.jsx(mychoiceSdkComponents.IconClock, {}), jsxRuntime.jsxs("div", { children: ["Estimated", ' ', jsxRuntime.jsxs("span", { className: "time", children: [formSteps.length - activeIndex - 1, ' ', formSteps.length - activeIndex - 1 > 1 ? 'minutes' : 'minute'] }), ' ', "to complete"] })] })
|
|
3372
|
+
}) })) : jsxRuntime.jsx(mychoiceSdkComponents.Step, { item: formSteps[activeIndex], index: activeIndex, itemsCount: formSteps.length, isMobile: true }), appType === mychoiceSdkComponents.AppTypes.MyChoice && (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx("hr", {}), jsxRuntime.jsxs("div", { className: "estimated-minutes", children: [jsxRuntime.jsx(mychoiceSdkComponents.IconClock, {}), jsxRuntime.jsxs("div", { children: ["Estimated", ' ', jsxRuntime.jsxs("span", { className: "time", children: [formSteps.length - activeIndex - 1, ' ', formSteps.length - activeIndex - 1 > 1 ? 'minutes' : 'minute'] }), ' ', "to complete"] })] }), showContent && appType === mychoiceSdkComponents.AppTypes.MyChoice && (jsxRuntime.jsxs("div", { style: { gap: "1em", display: "flex", flexDirection: "column", marginTop: "1em", alignItems: "center", justifyContent: "center", marginLeft: "2em" }, children: [jsxRuntime.jsx("p", { style: { fontWeight: "600" }, children: "Need help? Call us at" }), jsxRuntime.jsxs("div", { ref: containerRef, style: { position: "relative", width: '180px' }, children: [jsxRuntime.jsx(mychoiceSdkComponents.ButtonBase, { size: mychoiceSdkComponents.SizeTypes.Medium, className: "button-with-text button-circle-medium", category: mychoiceSdkComponents.CategoryTypes.Filled, color: mychoiceSdkComponents.ColorTypes.Secondary, variant: mychoiceSdkComponents.ButtonVariantTypes.Circle, onClick: handleHelpButton, children: jsxRuntime.jsx("span", { style: { padding: "0 1rem", fontWeight: "700" }, children: "1-888-453-4644" }) }), showQR && (jsxRuntime.jsx("img", { style: { position: 'absolute', top: '355%', left: '50%', transform: 'translate(-50%, -50%)', opacity: 0, transition: 'opacity 500ms ease-in-out' }, onLoad: (e) => {
|
|
3373
|
+
e.currentTarget.style.opacity = '1';
|
|
3374
|
+
}, src: "https://www.mychoice.ca/wp-content/themes/mychoice-theme/img/svg/qr-phone-with-text.svg", alt: "QR code scan to call" }))] })] }))] }))] }));
|
|
3353
3375
|
};
|
|
3354
3376
|
StepsBox.defaultProps = {
|
|
3355
3377
|
partnerId: '',
|
|
@@ -3434,7 +3456,7 @@ ButtonsBox.defaultProps = {
|
|
|
3434
3456
|
activeIndex: 0,
|
|
3435
3457
|
};
|
|
3436
3458
|
|
|
3437
|
-
const NavigationTop = ({ title, postalCode, validationHooks, formSteps, clearForm, propertyIsCompleted, }) => {
|
|
3459
|
+
const NavigationTop = ({ title, postalCode, validationHooks, formSteps, clearForm, propertyIsCompleted, id, }) => {
|
|
3438
3460
|
const { pathname } = reactRouterDom.useLocation();
|
|
3439
3461
|
const { appConfigState: { appType, localIndex } } = mychoiceSdkStore.useStoreAppConfig();
|
|
3440
3462
|
const isTheBig = appType === mychoiceSdkComponents.AppTypes.TheBig;
|
|
@@ -3462,8 +3484,8 @@ const NavigationTop = ({ title, postalCode, validationHooks, formSteps, clearFor
|
|
|
3462
3484
|
return `rgba(${r}, ${g}, ${b}, ${alpha})`;
|
|
3463
3485
|
}
|
|
3464
3486
|
}
|
|
3465
|
-
return (jsxRuntime.jsx("div", { className: localIndex !== mychoiceSdkComponents.defaultLocalIndex ? 'navigation-container-partner' : 'navigation-container', children: jsxRuntime.jsxs("div", { className: `content ${appType === mychoiceSdkComponents.AppTypes.MyChoice ? 'mychoice' : ''}`, children: [jsxRuntime.jsx(PostalCodeDataBox, { className: isTheBig ? 'thebig' : '', title: title, postalCode: postalCode }), appType === mychoiceSdkComponents.AppTypes.MyChoice
|
|
3466
|
-
? (jsxRuntime.jsx(jsxRuntime.Fragment, { children: !isDesktop && (formSteps.length - activeIndex - 1) ? (jsxRuntime.jsxs("div", { className: "estimated-minutes", children: [jsxRuntime.jsx(mychoiceSdkComponents.IconClock, {}), jsxRuntime.jsxs("div", { children: [isMobile ? (jsxRuntime.jsx("div", { children: jsxRuntime.jsxs("span", { className: "time", children: [formSteps.length - activeIndex - 1, ' ', formSteps.length - activeIndex - 1 > 1 ? 'minutes' : 'minute'] }) })) : (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsxs("div", { children: ["Estimated", ' ', jsxRuntime.jsxs("span", { className: "time", children: [formSteps.length - activeIndex - 1, ' ', formSteps.length - activeIndex - 1 > 1 ? 'minutes' : 'minute'] }), ' ', "to complete"] }) })), jsxRuntime.jsx("span", { children: `Step ${activeIndex + 1}/${formSteps.length - 1}` })] })] })) : jsxRuntime.jsx("span", {}) })) : (jsxRuntime.jsx(StepsBox, { formSteps: formSteps, validationHooks: validationHooks, propertyIsCompleted: propertyIsCompleted })), jsxRuntime.jsx(ButtonsBox, { formSteps: formSteps, validationHooks: validationHooks, clearForm: clearForm, propertyIsCompleted: propertyIsCompleted })] }) }));
|
|
3487
|
+
return (jsxRuntime.jsx("div", { id: id, className: localIndex !== mychoiceSdkComponents.defaultLocalIndex ? 'navigation-container-partner' : 'navigation-container', children: jsxRuntime.jsxs("div", { className: `content ${appType === mychoiceSdkComponents.AppTypes.MyChoice ? 'mychoice' : ''}`, children: [jsxRuntime.jsx(PostalCodeDataBox, { className: isTheBig ? 'thebig' : '', title: title, postalCode: postalCode }), appType === mychoiceSdkComponents.AppTypes.MyChoice
|
|
3488
|
+
? (jsxRuntime.jsx(jsxRuntime.Fragment, { children: !isDesktop && (formSteps.length - activeIndex - 1) ? (jsxRuntime.jsxs("div", { className: "estimated-minutes", children: [jsxRuntime.jsx(mychoiceSdkComponents.IconClock, {}), jsxRuntime.jsxs("div", { children: [isMobile ? (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsx("div", { children: jsxRuntime.jsxs("span", { className: "time", children: [formSteps.length - activeIndex - 1, ' ', formSteps.length - activeIndex - 1 > 1 ? 'minutes' : 'minute'] }) }) })) : (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsxs("div", { children: ["Estimated", ' ', jsxRuntime.jsxs("span", { className: "time", children: [formSteps.length - activeIndex - 1, ' ', formSteps.length - activeIndex - 1 > 1 ? 'minutes' : 'minute'] }), ' ', "to complete"] }) })), jsxRuntime.jsx("span", { children: `Step ${activeIndex + 1}/${formSteps.length - 1}` })] })] })) : jsxRuntime.jsx("span", {}) })) : (jsxRuntime.jsx(StepsBox, { formSteps: formSteps, validationHooks: validationHooks, propertyIsCompleted: propertyIsCompleted })), jsxRuntime.jsx(ButtonsBox, { formSteps: formSteps, validationHooks: validationHooks, clearForm: clearForm, propertyIsCompleted: propertyIsCompleted })] }) }));
|
|
3467
3489
|
};
|
|
3468
3490
|
NavigationTop.defaultProps = {
|
|
3469
3491
|
isMobile: false,
|
|
@@ -3966,6 +3988,16 @@ const AppRouteWrapper = (props) => {
|
|
|
3966
3988
|
const [steps, setSteps] = React.useState(formSteps[insuranceType]);
|
|
3967
3989
|
const [validationHooks, setValidationHooks] = React.useState(formValidationHooks[insuranceType]);
|
|
3968
3990
|
const [progressLength, setProgressLength] = React.useState('');
|
|
3991
|
+
const [showContent, setShowContent] = React.useState(false);
|
|
3992
|
+
React.useEffect(() => {
|
|
3993
|
+
const checkTime = () => {
|
|
3994
|
+
const currentHour = new Date().getUTCHours() - 5; // EST is UTC-5
|
|
3995
|
+
setShowContent(currentHour >= 9 && currentHour < 18);
|
|
3996
|
+
};
|
|
3997
|
+
checkTime(); // Initial check
|
|
3998
|
+
const interval = setInterval(checkTime, 60000); // Check every minute
|
|
3999
|
+
return () => clearInterval(interval); // Cleanup
|
|
4000
|
+
}, []); // Run effect only once on component mount
|
|
3969
4001
|
React.useEffect(() => {
|
|
3970
4002
|
let filteredSteps = formSteps[insuranceType];
|
|
3971
4003
|
let filteredHooks = formValidationHooks[insuranceType];
|
|
@@ -4036,7 +4068,23 @@ const AppRouteWrapper = (props) => {
|
|
|
4036
4068
|
}
|
|
4037
4069
|
}
|
|
4038
4070
|
}, [carPostal, homePostal, lifePostal, isReady]);
|
|
4039
|
-
|
|
4071
|
+
const isMobile = appDeviceType === mychoiceSdkComponents.DeviceTypes.Mobile;
|
|
4072
|
+
const [showStickyBanner, setShowStickyBanner] = React.useState(false);
|
|
4073
|
+
React.useEffect(() => {
|
|
4074
|
+
const handleScroll = () => {
|
|
4075
|
+
const postalCodeDataBox = document.getElementById('postalCodeData');
|
|
4076
|
+
if (postalCodeDataBox) {
|
|
4077
|
+
const postalCodeDataBoxRect = postalCodeDataBox.getBoundingClientRect();
|
|
4078
|
+
const isScrolledPast = postalCodeDataBoxRect.bottom <= 0; // Change to <= if you want the banner to appear when the bottom of the box touches the top of the viewport
|
|
4079
|
+
setShowStickyBanner(isScrolledPast);
|
|
4080
|
+
}
|
|
4081
|
+
};
|
|
4082
|
+
window.addEventListener('scroll', handleScroll);
|
|
4083
|
+
return () => {
|
|
4084
|
+
window.removeEventListener('scroll', handleScroll);
|
|
4085
|
+
};
|
|
4086
|
+
}, []);
|
|
4087
|
+
return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: isReady && (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(AppHeader, {}), jsxRuntime.jsx(AppModal, {}), insuranceType && (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsx(NavigationTop, { title: `${insuranceType.replace(/^./, insuranceType[0].toUpperCase())} Insurance Quote`, postalCode: postalCode, formSteps: steps, validationHooks: validationHooks, clearForm: clearFormData, propertyIsCompleted: isCompleted, id: "postalCodeData" }) })), showStickyBanner && showContent && isMobile && appType === mychoiceSdkComponents.AppTypes.MyChoice && (jsxRuntime.jsxs("div", { id: "stickyBanner", style: { position: "sticky", top: 0, color: "#FFFFFF", backgroundColor: "#8ED6DC", width: "100%", height: "75px", zIndex: 5000, display: "flex", flexDirection: "column", alignItems: "center", justifyContent: "center" }, children: [jsxRuntime.jsx("p", { style: { fontWeight: 700, fontSize: "22px" }, children: "Need Help? Give us a call at" }), jsxRuntime.jsx("a", { style: { marginTop: "5px" }, href: "tel:18884534644", children: "1-888-453-4644" })] })), insuranceType && appType === mychoiceSdkComponents.AppTypes.MyChoice && (jsxRuntime.jsx("div", { className: localIndex !== mychoiceSdkComponents.defaultLocalIndex ? 'step-progress-bar-partner' : 'step-progress-bar', children: jsxRuntime.jsx("span", { style: { width: progressLength } }) })), jsxRuntime.jsx("div", { className: `${insuranceType ? 'form-page-content' : ''} ${insuranceType && appType === mychoiceSdkComponents.AppTypes.MyChoice ? 'mychoice' : ''}`, children: insuranceType && appType === mychoiceSdkComponents.AppTypes.MyChoice && isDesktop && progressLength ? (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsxs("div", { className: "mychoice-content", children: [jsxRuntime.jsx(StepsBox, { className: "step-box", formSteps: steps, validationHooks: validationHooks, propertyIsCompleted: isCompleted }), children, jsxRuntime.jsx("div", { className: "empty-steps-container" })] }) })) : children }), isMychoice && !appLoaderState.isOpen && jsxRuntime.jsx(ProviderImageFooter, {})] })) }));
|
|
4040
4088
|
};
|
|
4041
4089
|
const NestedRoutes = () => {
|
|
4042
4090
|
const insuranceType = mychoiceSdkComponents.getInsuranceType();
|