@mychoice/mychoice-sdk-modules 2.2.10 → 2.2.12

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 CHANGED
@@ -3200,12 +3200,12 @@ const SectionCoverage = () => {
3200
3200
  };
3201
3201
 
3202
3202
  const PageCoverage = () => {
3203
- const { appConfigState: { appType } } = mychoiceSdkStore.useStoreAppConfig();
3203
+ const { appConfigState: { appType }, } = mychoiceSdkStore.useStoreAppConfig();
3204
3204
  const { coverageFormIsValid, coverageFormValidate } = mychoiceSdkStore.useValidationCoverage();
3205
+ // Initialize autofill data if provided in query parameter
3206
+ mychoiceSdkStore.useAutofillLifeForm();
3205
3207
  const validateForm = () => coverageFormValidate(false);
3206
- return (jsxRuntime.jsx("div", { className: "form-container", children: jsxRuntime.jsxs("div", { className: "form-section-container", children: [jsxRuntime.jsx(SectionCoverage, {}), appType === mychoiceSdkComponents.AppTypes.TheBig
3207
- ? (jsxRuntime.jsx(NavigationBottomTheBig, { formSteps: formSteps[mychoiceSdkComponents.InsuranceTypes.Life], validateForm: validateForm, formIsValid: coverageFormIsValid }))
3208
- : (jsxRuntime.jsx(NavigationBottom, { formSteps: formSteps[mychoiceSdkComponents.InsuranceTypes.Life], validateForm: validateForm, formIsValid: coverageFormIsValid }))] }) }));
3208
+ return (jsxRuntime.jsx("div", { className: "form-container", children: jsxRuntime.jsxs("div", { className: "form-section-container", children: [jsxRuntime.jsx(SectionCoverage, {}), appType === mychoiceSdkComponents.AppTypes.TheBig ? (jsxRuntime.jsx(NavigationBottomTheBig, { formSteps: formSteps[mychoiceSdkComponents.InsuranceTypes.Life], validateForm: validateForm, formIsValid: coverageFormIsValid })) : (jsxRuntime.jsx(NavigationBottom, { formSteps: formSteps[mychoiceSdkComponents.InsuranceTypes.Life], validateForm: validateForm, formIsValid: coverageFormIsValid }))] }) }));
3209
3209
  };
3210
3210
 
3211
3211
  const BlockNextPageInfo = () => {