@incodetech/welcome 1.85.0-20251031213627.0 → 1.85.0-20251103134647.0
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/onBoarding.mjs +13 -11
- package/dist/onBoarding.umd.js +3 -3
- package/package.json +1 -1
package/dist/onBoarding.mjs
CHANGED
|
@@ -8372,7 +8372,7 @@ class MlWasmJSApi {
|
|
|
8372
8372
|
);
|
|
8373
8373
|
}
|
|
8374
8374
|
}
|
|
8375
|
-
const MlWasmJSApi$1 = MlWasmJSApi.getInstance(), version$4 = "1.85.0-
|
|
8375
|
+
const MlWasmJSApi$1 = MlWasmJSApi.getInstance(), version$4 = "1.85.0-20251103134647.0";
|
|
8376
8376
|
function e$2(Be, Le) {
|
|
8377
8377
|
return function(Ye, tt) {
|
|
8378
8378
|
return Object.prototype.hasOwnProperty.call(Ye, tt);
|
|
@@ -23219,14 +23219,16 @@ const initialState = {
|
|
|
23219
23219
|
} = useToggle(!1);
|
|
23220
23220
|
useEffect(() => {
|
|
23221
23221
|
It(Array.from(kt.values()));
|
|
23222
|
-
const
|
|
23223
|
-
Rt(
|
|
23222
|
+
const qt = kt.get(Be) ?? kt.get("MX");
|
|
23223
|
+
Rt(qt);
|
|
23224
23224
|
}, [Be, kt]), useLayoutEffect(() => {
|
|
23225
23225
|
Dt && Pt.current && Bt.current && (Pt.current.style.left = "0", Pt.current.style.top = `${Bt.current.offsetHeight}px`);
|
|
23226
23226
|
}, [Dt]);
|
|
23227
|
-
const Wt = (
|
|
23228
|
-
const
|
|
23229
|
-
Lt(),
|
|
23227
|
+
const Wt = (qt) => {
|
|
23228
|
+
const Ht = bt(qt);
|
|
23229
|
+
Lt(), Ht && Rt(Ht);
|
|
23230
|
+
}, $t = (qt) => {
|
|
23231
|
+
qt.preventDefault(), yt || Ot();
|
|
23230
23232
|
};
|
|
23231
23233
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(PhoneContextProvider, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(PhoneContainer$1, { className: "phone-container", children: [
|
|
23232
23234
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(PhoneSelectorWrapper, { className: "phone-container", children: [
|
|
@@ -23241,7 +23243,7 @@ const initialState = {
|
|
|
23241
23243
|
CountryButtonSelector,
|
|
23242
23244
|
{
|
|
23243
23245
|
role: "combobox",
|
|
23244
|
-
onClick:
|
|
23246
|
+
onClick: $t,
|
|
23245
23247
|
"aria-expanded": Dt,
|
|
23246
23248
|
"aria-controls": "country-list",
|
|
23247
23249
|
"aria-haspopup": "listbox",
|
|
@@ -179561,9 +179563,9 @@ class FaceFlowManager extends AbstractFlowManager {
|
|
|
179561
179563
|
if (Le)
|
|
179562
179564
|
return {
|
|
179563
179565
|
showTutorial: Le.showTutorial,
|
|
179564
|
-
selfieCaptureAttempts: Le.captureAttempts ?? Le.numberOfAttempts,
|
|
179566
|
+
selfieCaptureAttempts: Le.captureAttempts ?? Le.numberOfAttempts ?? 3,
|
|
179565
179567
|
timeout: Le.autoCaptureTimeout * 1e3,
|
|
179566
|
-
numberOfTries: Le.captureAttempts ?? Le.numberOfAttempts,
|
|
179568
|
+
numberOfTries: Le.captureAttempts ?? Le.numberOfAttempts ?? 3,
|
|
179567
179569
|
maskCheckEnabled: Le.maskCheckEnabled ?? Le.validateFaceMask,
|
|
179568
179570
|
lensesCheckEnabled: Le.lensesCheckEnabled ?? Le.validateLenses,
|
|
179569
179571
|
hatCheckEnabled: Le.hatCheckEnabled ?? Le.validateHeadCover,
|
|
@@ -179600,10 +179602,10 @@ class FaceFlowManager extends AbstractFlowManager {
|
|
|
179600
179602
|
assistedOnboarding: Le.assistedOnboarding,
|
|
179601
179603
|
showTutorial: Le.showTutorial,
|
|
179602
179604
|
mergeSessionRecordings: !1,
|
|
179603
|
-
selfieCaptureAttempts: Le.captureAttempts,
|
|
179605
|
+
selfieCaptureAttempts: Le.captureAttempts ?? Le.numberOfAttempts ?? 3,
|
|
179604
179606
|
timeout: Le.autoCaptureTimeout * 1e3,
|
|
179605
179607
|
ageAssurance: Le.ageAssurance,
|
|
179606
|
-
numberOfTries: Le.captureAttempts,
|
|
179608
|
+
numberOfTries: Le.captureAttempts ?? Le.numberOfAttempts ?? 3,
|
|
179607
179609
|
maskCheckEnabled: Le.maskCheckEnabled,
|
|
179608
179610
|
lensesCheckEnabled: Le.lensesCheckEnabled,
|
|
179609
179611
|
hatCheckEnabled: Le.hatCheckEnabled,
|