@mychoice/mychoice-sdk-modules 2.1.22 → 2.1.23
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 +4 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +4 -2
- package/dist/esm/index.js.map +1 -1
- package/package.json +2 -2
package/dist/cjs/index.js
CHANGED
|
@@ -259,8 +259,10 @@ const LoaderPrimary = () => {
|
|
|
259
259
|
const { appLoaderState } = mychoiceSdkStore.useStoreAppLoader();
|
|
260
260
|
const { appConfigState } = mychoiceSdkStore.useStoreAppConfig();
|
|
261
261
|
const isLastPage = window.location.pathname.includes('discount') || window.location.pathname.includes('/life/applicant');
|
|
262
|
-
|
|
263
|
-
|
|
262
|
+
return (jsxRuntime.jsxs("div", { className: "loader-wrapper", children: [appConfigState.appType === mychoiceSdkComponents.AppTypes.TheBig || !isLastPage ? jsxRuntime.jsx(mychoiceSdkComponents.IconLoaderPrimary, {}) : jsxRuntime.jsx(LoaderVid, {}), !!appLoaderState.description && appLoaderState.description.includes('accurate')
|
|
263
|
+
? (jsxRuntime.jsx("h4", { children: appLoaderState.description.split('\n').map((line, index) => (jsxRuntime.jsxs("div", { children: [line, jsxRuntime.jsx("br", {})] }, index))) }))
|
|
264
|
+
// eslint-disable-next-line react/no-unescaped-entities
|
|
265
|
+
: !appLoaderState.description && jsxRuntime.jsx("h4", { children: "'Hang tight, while we collect and process information about your property'" })] }));
|
|
264
266
|
};
|
|
265
267
|
|
|
266
268
|
const ModalConfirm = () => {
|