@incodetech/web 0.0.0-dev-20260417-00f663d → 0.0.0-dev-20260417-d5a60c8
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/{addressAutocomplete-BPpO7rrX.js → addressAutocomplete-fYGYUvGo.js} +3 -3
- package/dist/ae-signature/ae-signature.es.js +1 -1
- package/dist/antifraud/antifraud.es.js +1 -1
- package/dist/authentication/authentication.es.js +2 -2
- package/dist/consent/consent.es.js +2 -2
- package/dist/cross-document-data-match/cross-document-data-match.es.js +1 -1
- package/dist/curp-validation/curp-validation.es.js +2 -2
- package/dist/{documentCapture-BAvYoKZ7.js → documentCapture-CyvfOunw.js} +4 -4
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/{ekybModule-Dm6NrgtW.js → ekybModule-5cpFwW1d.js} +5 -5
- package/dist/ekybModule-CRH3ldkx.js +2 -0
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/{ekycModule-ChHA8VPJ.js → ekycModule-B5rZ5PMp.js} +5 -5
- package/dist/ekycModule-CqB6X3sB.js +2 -0
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-CPfLwg-x.js → electronic-signature-CjfrZ5Ka.js} +3 -3
- package/dist/email/email.es.js +4 -4
- package/dist/{extensibility-t-H5EpZ8.js → extensibility-B7cG7wBG.js} +7 -7
- package/dist/extensibility.es.js +8 -8
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/faceMatch-DTqkmvAB.js +2 -0
- package/dist/{faceMatch-ClWhkFUE.js → faceMatch-DgoLJDGX.js} +2 -2
- package/dist/flow/flow.es.js +96 -93
- package/dist/{formField-9ouSScYr.js → formField-uYKTz1T8.js} +1 -1
- package/dist/geolocation/geolocation.es.js +2 -2
- package/dist/governmentValidation/governmentValidation.es.js +3 -3
- package/dist/{homeScreen-C0-81utl.js → homeScreen-DISgp8BK.js} +2 -2
- package/dist/{i18n-BpEDCZi_.js → i18n-DhqfF41o.js} +125 -122
- package/dist/id/id.es.js +5 -5
- package/dist/identity-reuse/identity-reuse.es.js +2 -2
- package/dist/{incodeComponent-DIb7wDAq.js → incodeComponent-CutyB4AE.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{mandatoryConsent-BVrqZJDU.js → mandatoryConsent-DM10Au24.js} +2 -2
- package/dist/{otpInput-OtCx4bG4.js → otpInput-CRZ2V8VY.js} +1 -1
- package/dist/phone/phone.es.js +3 -3
- package/dist/{processing-LdRzxpWv.js → processing-CB6Hv9CT.js} +1 -1
- package/dist/qe-signature/qe-signature.es.js +1 -1
- package/dist/{redirectToMobile-1oLWg6QJ.js → redirectToMobile-D3URatKn.js} +2 -2
- package/dist/selfie/selfie.es.js +3 -3
- package/dist/{setup-D7-7VjBv.js → setup-DSZs9HKu.js} +1 -1
- package/dist/signature/signature.es.js +2 -2
- package/dist/{tutorial-DMwavp-V.js → tutorial-8ygdgcyM.js} +2 -2
- package/dist/{useModuleLoader-B6JxxJWR.js → useModuleLoader-CjYPWq6s.js} +38 -29
- package/dist/{verificationResult-WLz8qNU8.js → verificationResult-Jnh8hLLR.js} +1 -1
- package/dist/watchlist/watchlist.es.js +2 -2
- package/dist/workflow/workflow.es.js +4 -4
- package/package.json +2 -2
- package/dist/ekybModule-BeYiTLFg.js +0 -2
- package/dist/ekycModule-zakzAXhB.js +0 -2
- package/dist/faceMatch-B74pDVYi.js +0 -2
|
@@ -1332,7 +1332,7 @@ var R = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, we = function(e, t) {
|
|
|
1332
1332
|
let { lookupLocalStorage: n } = t;
|
|
1333
1333
|
n && Oe() && window.localStorage.setItem(n, e);
|
|
1334
1334
|
}
|
|
1335
|
-
}, V = null,
|
|
1335
|
+
}, V = null, H = () => {
|
|
1336
1336
|
if (V !== null) return V;
|
|
1337
1337
|
try {
|
|
1338
1338
|
if (V = typeof window < "u" && window.sessionStorage !== null, !V) return !1;
|
|
@@ -1342,17 +1342,17 @@ var R = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, we = function(e, t) {
|
|
|
1342
1342
|
V = !1;
|
|
1343
1343
|
}
|
|
1344
1344
|
return V;
|
|
1345
|
-
},
|
|
1345
|
+
}, Ae = {
|
|
1346
1346
|
name: "sessionStorage",
|
|
1347
1347
|
lookup(e) {
|
|
1348
1348
|
let { lookupSessionStorage: t } = e;
|
|
1349
|
-
if (t &&
|
|
1349
|
+
if (t && H()) return window.sessionStorage.getItem(t) || void 0;
|
|
1350
1350
|
},
|
|
1351
1351
|
cacheUserLanguage(e, t) {
|
|
1352
1352
|
let { lookupSessionStorage: n } = t;
|
|
1353
|
-
n &&
|
|
1353
|
+
n && H() && window.sessionStorage.setItem(n, e);
|
|
1354
1354
|
}
|
|
1355
|
-
},
|
|
1355
|
+
}, je = {
|
|
1356
1356
|
name: "navigator",
|
|
1357
1357
|
lookup(e) {
|
|
1358
1358
|
let t = [];
|
|
@@ -1363,13 +1363,13 @@ var R = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, we = function(e, t) {
|
|
|
1363
1363
|
}
|
|
1364
1364
|
return t.length > 0 ? t : void 0;
|
|
1365
1365
|
}
|
|
1366
|
-
},
|
|
1366
|
+
}, Me = {
|
|
1367
1367
|
name: "htmlTag",
|
|
1368
1368
|
lookup(e) {
|
|
1369
1369
|
let { htmlTag: t } = e, n, r = t || (typeof document < "u" ? document.documentElement : null);
|
|
1370
1370
|
return r && typeof r.getAttribute == "function" && (n = r.getAttribute("lang")), n;
|
|
1371
1371
|
}
|
|
1372
|
-
},
|
|
1372
|
+
}, Ne = {
|
|
1373
1373
|
name: "path",
|
|
1374
1374
|
lookup(e) {
|
|
1375
1375
|
let { lookupFromPathIndex: t } = e;
|
|
@@ -1377,17 +1377,17 @@ var R = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, we = function(e, t) {
|
|
|
1377
1377
|
let n = window.location.pathname.match(/\/([a-zA-Z-]*)/g);
|
|
1378
1378
|
if (Array.isArray(n)) return n[typeof t == "number" ? t : 0]?.replace("/", "");
|
|
1379
1379
|
}
|
|
1380
|
-
},
|
|
1380
|
+
}, Pe = {
|
|
1381
1381
|
name: "subdomain",
|
|
1382
1382
|
lookup(e) {
|
|
1383
1383
|
let { lookupFromSubdomainIndex: t } = e, n = typeof t == "number" ? t + 1 : 1, r = typeof window < "u" && window.location?.hostname?.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);
|
|
1384
1384
|
if (r) return r[n];
|
|
1385
1385
|
}
|
|
1386
|
-
},
|
|
1386
|
+
}, Fe = !1;
|
|
1387
1387
|
try {
|
|
1388
|
-
document.cookie,
|
|
1388
|
+
document.cookie, Fe = !0;
|
|
1389
1389
|
} catch {}
|
|
1390
|
-
var
|
|
1390
|
+
var Ie = [
|
|
1391
1391
|
"querystring",
|
|
1392
1392
|
"cookie",
|
|
1393
1393
|
"localStorage",
|
|
@@ -1395,9 +1395,9 @@ var Le = [
|
|
|
1395
1395
|
"navigator",
|
|
1396
1396
|
"htmlTag"
|
|
1397
1397
|
];
|
|
1398
|
-
|
|
1399
|
-
var
|
|
1400
|
-
order:
|
|
1398
|
+
Fe || Ie.splice(1, 1);
|
|
1399
|
+
var Le = () => ({
|
|
1400
|
+
order: Ie,
|
|
1401
1401
|
lookupQuerystring: "lng",
|
|
1402
1402
|
lookupCookie: "i18next",
|
|
1403
1403
|
lookupLocalStorage: "i18nextLng",
|
|
@@ -1405,14 +1405,14 @@ var Re = () => ({
|
|
|
1405
1405
|
caches: ["localStorage"],
|
|
1406
1406
|
excludeCacheFor: ["cimode"],
|
|
1407
1407
|
convertDetectedLanguage: (e) => e
|
|
1408
|
-
}),
|
|
1408
|
+
}), Re = class {
|
|
1409
1409
|
constructor(e) {
|
|
1410
1410
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1411
1411
|
this.type = "languageDetector", this.detectors = {}, this.init(e, t);
|
|
1412
1412
|
}
|
|
1413
1413
|
init() {
|
|
1414
1414
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : { languageUtils: {} }, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
1415
|
-
this.services = e, this.options = Se(t, this.options || {},
|
|
1415
|
+
this.services = e, this.options = Se(t, this.options || {}, Le()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = (e) => e.replace("-", "_")), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = n, this.addDetector(Te), this.addDetector(Ee), this.addDetector(ke), this.addDetector(Ae), this.addDetector(je), this.addDetector(Me), this.addDetector(Ne), this.addDetector(Pe), this.addDetector(De);
|
|
1416
1416
|
}
|
|
1417
1417
|
addDetector(e) {
|
|
1418
1418
|
return this.detectors[e.name] = e, this;
|
|
@@ -1433,31 +1433,31 @@ var Re = () => ({
|
|
|
1433
1433
|
}));
|
|
1434
1434
|
}
|
|
1435
1435
|
};
|
|
1436
|
-
|
|
1436
|
+
Re.type = "languageDetector";
|
|
1437
1437
|
//#endregion
|
|
1438
1438
|
//#region ../../node_modules/.pnpm/i18next-http-backend@3.0.2/node_modules/i18next-http-backend/esm/utils.js
|
|
1439
|
-
function
|
|
1439
|
+
function U(e) {
|
|
1440
1440
|
"@babel/helpers - typeof";
|
|
1441
|
-
return
|
|
1441
|
+
return U = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
1442
1442
|
return typeof e;
|
|
1443
1443
|
} : function(e) {
|
|
1444
1444
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
1445
|
-
},
|
|
1445
|
+
}, U(e);
|
|
1446
1446
|
}
|
|
1447
|
-
var
|
|
1448
|
-
|
|
1449
|
-
function
|
|
1450
|
-
return typeof XMLHttpRequest == "function" || (typeof XMLHttpRequest > "u" ? "undefined" :
|
|
1447
|
+
var ze = [];
|
|
1448
|
+
ze.forEach, ze.slice;
|
|
1449
|
+
function Be() {
|
|
1450
|
+
return typeof XMLHttpRequest == "function" || (typeof XMLHttpRequest > "u" ? "undefined" : U(XMLHttpRequest)) === "object";
|
|
1451
1451
|
}
|
|
1452
|
-
function
|
|
1452
|
+
function Ve(e) {
|
|
1453
1453
|
return !!e && typeof e.then == "function";
|
|
1454
1454
|
}
|
|
1455
|
-
function
|
|
1456
|
-
return
|
|
1455
|
+
function He(e) {
|
|
1456
|
+
return Ve(e) ? e : Promise.resolve(e);
|
|
1457
1457
|
}
|
|
1458
1458
|
//#endregion
|
|
1459
1459
|
//#region ../../node_modules/.pnpm/i18next-http-backend@3.0.2/node_modules/i18next-http-backend/esm/request.js
|
|
1460
|
-
function
|
|
1460
|
+
function Ue(e, t) {
|
|
1461
1461
|
var n = Object.keys(e);
|
|
1462
1462
|
if (Object.getOwnPropertySymbols) {
|
|
1463
1463
|
var r = Object.getOwnPropertySymbols(e);
|
|
@@ -1467,66 +1467,66 @@ function We(e, t) {
|
|
|
1467
1467
|
}
|
|
1468
1468
|
return n;
|
|
1469
1469
|
}
|
|
1470
|
-
function
|
|
1470
|
+
function We(e) {
|
|
1471
1471
|
for (var t = 1; t < arguments.length; t++) {
|
|
1472
1472
|
var n = arguments[t] == null ? {} : arguments[t];
|
|
1473
|
-
t % 2 ?
|
|
1474
|
-
|
|
1475
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
1473
|
+
t % 2 ? Ue(Object(n), !0).forEach(function(t) {
|
|
1474
|
+
Ge(e, t, n[t]);
|
|
1475
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ue(Object(n)).forEach(function(t) {
|
|
1476
1476
|
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
1477
1477
|
});
|
|
1478
1478
|
}
|
|
1479
1479
|
return e;
|
|
1480
1480
|
}
|
|
1481
|
-
function
|
|
1482
|
-
return (t =
|
|
1481
|
+
function Ge(e, t, n) {
|
|
1482
|
+
return (t = Ke(t)) in e ? Object.defineProperty(e, t, {
|
|
1483
1483
|
value: n,
|
|
1484
1484
|
enumerable: !0,
|
|
1485
1485
|
configurable: !0,
|
|
1486
1486
|
writable: !0
|
|
1487
1487
|
}) : e[t] = n, e;
|
|
1488
1488
|
}
|
|
1489
|
-
function
|
|
1490
|
-
var t =
|
|
1491
|
-
return
|
|
1489
|
+
function Ke(e) {
|
|
1490
|
+
var t = qe(e, "string");
|
|
1491
|
+
return W(t) == "symbol" ? t : t + "";
|
|
1492
1492
|
}
|
|
1493
|
-
function
|
|
1494
|
-
if (
|
|
1493
|
+
function qe(e, t) {
|
|
1494
|
+
if (W(e) != "object" || !e) return e;
|
|
1495
1495
|
var n = e[Symbol.toPrimitive];
|
|
1496
1496
|
if (n !== void 0) {
|
|
1497
1497
|
var r = n.call(e, t || "default");
|
|
1498
|
-
if (
|
|
1498
|
+
if (W(r) != "object") return r;
|
|
1499
1499
|
throw TypeError("@@toPrimitive must return a primitive value.");
|
|
1500
1500
|
}
|
|
1501
1501
|
return (t === "string" ? String : Number)(e);
|
|
1502
1502
|
}
|
|
1503
|
-
function
|
|
1503
|
+
function W(e) {
|
|
1504
1504
|
"@babel/helpers - typeof";
|
|
1505
|
-
return
|
|
1505
|
+
return W = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
1506
1506
|
return typeof e;
|
|
1507
1507
|
} : function(e) {
|
|
1508
1508
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
1509
|
-
},
|
|
1509
|
+
}, W(e);
|
|
1510
1510
|
}
|
|
1511
|
-
var
|
|
1512
|
-
typeof global < "u" && global.fetch ?
|
|
1513
|
-
var G;
|
|
1514
|
-
Ve() && (typeof global < "u" && global.XMLHttpRequest ? G = global.XMLHttpRequest : typeof window < "u" && window.XMLHttpRequest && (G = window.XMLHttpRequest));
|
|
1511
|
+
var G = typeof fetch == "function" ? fetch : void 0;
|
|
1512
|
+
typeof global < "u" && global.fetch ? G = global.fetch : typeof window < "u" && window.fetch && (G = window.fetch);
|
|
1515
1513
|
var K;
|
|
1516
|
-
|
|
1514
|
+
Be() && (typeof global < "u" && global.XMLHttpRequest ? K = global.XMLHttpRequest : typeof window < "u" && window.XMLHttpRequest && (K = window.XMLHttpRequest));
|
|
1515
|
+
var q;
|
|
1516
|
+
if (typeof ActiveXObject == "function" && (typeof global < "u" && global.ActiveXObject ? q = global.ActiveXObject : typeof window < "u" && window.ActiveXObject && (q = window.ActiveXObject)), typeof G != "function" && (G = void 0), !G && !K && !q) try {
|
|
1517
1517
|
import("./browser-ponyfill-CRq2EKxP.js").then((t) => /* @__PURE__ */ e(t.default, 1)).then(function(e) {
|
|
1518
|
-
|
|
1518
|
+
G = e.default;
|
|
1519
1519
|
}).catch(function() {});
|
|
1520
1520
|
} catch {}
|
|
1521
|
-
var
|
|
1522
|
-
if (t &&
|
|
1521
|
+
var J = function(e, t) {
|
|
1522
|
+
if (t && W(t) === "object") {
|
|
1523
1523
|
var n = "";
|
|
1524
1524
|
for (var r in t) n += "&" + encodeURIComponent(r) + "=" + encodeURIComponent(t[r]);
|
|
1525
1525
|
if (!n) return e;
|
|
1526
1526
|
e = e + (e.indexOf("?") === -1 ? "?" : "&") + n.slice(1);
|
|
1527
1527
|
}
|
|
1528
1528
|
return e;
|
|
1529
|
-
},
|
|
1529
|
+
}, Je = function(e, t, n, r) {
|
|
1530
1530
|
var i = function(e) {
|
|
1531
1531
|
if (!e.ok) return n(e.statusText || "Error", { status: e.status });
|
|
1532
1532
|
e.text().then(function(t) {
|
|
@@ -1543,32 +1543,32 @@ var q = function(e, t) {
|
|
|
1543
1543
|
return;
|
|
1544
1544
|
}
|
|
1545
1545
|
}
|
|
1546
|
-
typeof fetch == "function" ? fetch(e, t).then(i).catch(n) :
|
|
1547
|
-
},
|
|
1548
|
-
e.queryStringParams && (t =
|
|
1549
|
-
var i =
|
|
1546
|
+
typeof fetch == "function" ? fetch(e, t).then(i).catch(n) : G(e, t).then(i).catch(n);
|
|
1547
|
+
}, Ye = !1, Xe = function(e, t, n, r) {
|
|
1548
|
+
e.queryStringParams && (t = J(t, e.queryStringParams));
|
|
1549
|
+
var i = We({}, typeof e.customHeaders == "function" ? e.customHeaders() : e.customHeaders);
|
|
1550
1550
|
typeof window > "u" && typeof global < "u" && global.process !== void 0 && global.process.versions && global.process.versions.node && (i["User-Agent"] = `i18next-http-backend (node/${global.process.version}; ${global.process.platform} ${global.process.arch})`), n && (i["Content-Type"] = "application/json");
|
|
1551
|
-
var a = typeof e.requestOptions == "function" ? e.requestOptions(n) : e.requestOptions, o =
|
|
1551
|
+
var a = typeof e.requestOptions == "function" ? e.requestOptions(n) : e.requestOptions, o = We({
|
|
1552
1552
|
method: n ? "POST" : "GET",
|
|
1553
1553
|
body: n ? e.stringify(n) : void 0,
|
|
1554
1554
|
headers: i
|
|
1555
|
-
},
|
|
1555
|
+
}, Ye ? {} : a), s = typeof e.alternateFetch == "function" && e.alternateFetch.length >= 1 ? e.alternateFetch : void 0;
|
|
1556
1556
|
try {
|
|
1557
|
-
|
|
1557
|
+
Je(t, o, r, s);
|
|
1558
1558
|
} catch (e) {
|
|
1559
1559
|
if (!a || Object.keys(a).length === 0 || !e.message || e.message.indexOf("not implemented") < 0) return r(e);
|
|
1560
1560
|
try {
|
|
1561
1561
|
Object.keys(a).forEach(function(e) {
|
|
1562
1562
|
delete o[e];
|
|
1563
|
-
}),
|
|
1563
|
+
}), Je(t, o, r, s), Ye = !0;
|
|
1564
1564
|
} catch (e) {
|
|
1565
1565
|
r(e);
|
|
1566
1566
|
}
|
|
1567
1567
|
}
|
|
1568
|
-
},
|
|
1569
|
-
n &&
|
|
1568
|
+
}, Ze = function(e, t, n, r) {
|
|
1569
|
+
n && W(n) === "object" && (n = J("", n).slice(1)), e.queryStringParams && (t = J(t, e.queryStringParams));
|
|
1570
1570
|
try {
|
|
1571
|
-
var i =
|
|
1571
|
+
var i = K ? new K() : new q("MSXML2.XMLHTTP.3.0");
|
|
1572
1572
|
i.open(n ? "POST" : "GET", t, 1), e.crossDomain || i.setRequestHeader("X-Requested-With", "XMLHttpRequest"), i.withCredentials = !!e.withCredentials, n && i.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"), i.overrideMimeType && i.overrideMimeType("application/json");
|
|
1573
1573
|
var a = e.customHeaders;
|
|
1574
1574
|
if (a = typeof a == "function" ? a() : a, a) for (var o in a) i.setRequestHeader(o, a[o]);
|
|
@@ -1581,22 +1581,22 @@ var q = function(e, t) {
|
|
|
1581
1581
|
} catch (e) {
|
|
1582
1582
|
console && console.log(e);
|
|
1583
1583
|
}
|
|
1584
|
-
},
|
|
1585
|
-
if (typeof n == "function" && (r = n, n = void 0), r ||= function() {},
|
|
1586
|
-
if (
|
|
1584
|
+
}, Qe = function(e, t, n, r) {
|
|
1585
|
+
if (typeof n == "function" && (r = n, n = void 0), r ||= function() {}, G && t.indexOf("file:") !== 0) return Xe(e, t, n, r);
|
|
1586
|
+
if (Be() || typeof ActiveXObject == "function") return Ze(e, t, n, r);
|
|
1587
1587
|
r(/* @__PURE__ */ Error("No fetch and no xhr implementation found!"));
|
|
1588
1588
|
};
|
|
1589
1589
|
//#endregion
|
|
1590
1590
|
//#region ../../node_modules/.pnpm/i18next-http-backend@3.0.2/node_modules/i18next-http-backend/esm/index.js
|
|
1591
|
-
function
|
|
1591
|
+
function Y(e) {
|
|
1592
1592
|
"@babel/helpers - typeof";
|
|
1593
|
-
return
|
|
1593
|
+
return Y = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
1594
1594
|
return typeof e;
|
|
1595
1595
|
} : function(e) {
|
|
1596
1596
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
1597
|
-
},
|
|
1597
|
+
}, Y(e);
|
|
1598
1598
|
}
|
|
1599
|
-
function
|
|
1599
|
+
function $e(e, t) {
|
|
1600
1600
|
var n = Object.keys(e);
|
|
1601
1601
|
if (Object.getOwnPropertySymbols) {
|
|
1602
1602
|
var r = Object.getOwnPropertySymbols(e);
|
|
@@ -1606,52 +1606,52 @@ function et(e, t) {
|
|
|
1606
1606
|
}
|
|
1607
1607
|
return n;
|
|
1608
1608
|
}
|
|
1609
|
-
function
|
|
1609
|
+
function X(e) {
|
|
1610
1610
|
for (var t = 1; t < arguments.length; t++) {
|
|
1611
1611
|
var n = arguments[t] == null ? {} : arguments[t];
|
|
1612
|
-
t % 2 ?
|
|
1613
|
-
|
|
1614
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
1612
|
+
t % 2 ? $e(Object(n), !0).forEach(function(t) {
|
|
1613
|
+
rt(e, t, n[t]);
|
|
1614
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $e(Object(n)).forEach(function(t) {
|
|
1615
1615
|
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
1616
1616
|
});
|
|
1617
1617
|
}
|
|
1618
1618
|
return e;
|
|
1619
1619
|
}
|
|
1620
|
-
function
|
|
1620
|
+
function et(e, t) {
|
|
1621
1621
|
if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
|
|
1622
1622
|
}
|
|
1623
|
-
function
|
|
1623
|
+
function tt(e, t) {
|
|
1624
1624
|
for (var n = 0; n < t.length; n++) {
|
|
1625
1625
|
var r = t[n];
|
|
1626
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e,
|
|
1626
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, it(r.key), r);
|
|
1627
1627
|
}
|
|
1628
1628
|
}
|
|
1629
|
-
function
|
|
1630
|
-
return t &&
|
|
1629
|
+
function nt(e, t, n) {
|
|
1630
|
+
return t && tt(e.prototype, t), n && tt(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
1631
1631
|
}
|
|
1632
|
-
function
|
|
1633
|
-
return (t =
|
|
1632
|
+
function rt(e, t, n) {
|
|
1633
|
+
return (t = it(t)) in e ? Object.defineProperty(e, t, {
|
|
1634
1634
|
value: n,
|
|
1635
1635
|
enumerable: !0,
|
|
1636
1636
|
configurable: !0,
|
|
1637
1637
|
writable: !0
|
|
1638
1638
|
}) : e[t] = n, e;
|
|
1639
1639
|
}
|
|
1640
|
-
function
|
|
1641
|
-
var t =
|
|
1642
|
-
return
|
|
1640
|
+
function it(e) {
|
|
1641
|
+
var t = at(e, "string");
|
|
1642
|
+
return Y(t) == "symbol" ? t : t + "";
|
|
1643
1643
|
}
|
|
1644
|
-
function
|
|
1645
|
-
if (
|
|
1644
|
+
function at(e, t) {
|
|
1645
|
+
if (Y(e) != "object" || !e) return e;
|
|
1646
1646
|
var n = e[Symbol.toPrimitive];
|
|
1647
1647
|
if (n !== void 0) {
|
|
1648
1648
|
var r = n.call(e, t || "default");
|
|
1649
|
-
if (
|
|
1649
|
+
if (Y(r) != "object") return r;
|
|
1650
1650
|
throw TypeError("@@toPrimitive must return a primitive value.");
|
|
1651
1651
|
}
|
|
1652
1652
|
return (t === "string" ? String : Number)(e);
|
|
1653
1653
|
}
|
|
1654
|
-
var
|
|
1654
|
+
var ot = function() {
|
|
1655
1655
|
return {
|
|
1656
1656
|
loadPath: "/locales/{{lng}}/{{ns}}.json",
|
|
1657
1657
|
addPath: "/locales/add/{{lng}}/{{ns}}",
|
|
@@ -1660,10 +1660,10 @@ var st = function() {
|
|
|
1660
1660
|
},
|
|
1661
1661
|
stringify: JSON.stringify,
|
|
1662
1662
|
parsePayload: function(e, t, n) {
|
|
1663
|
-
return
|
|
1663
|
+
return rt({}, t, n || "");
|
|
1664
1664
|
},
|
|
1665
1665
|
parseLoadPayload: function(e, t) {},
|
|
1666
|
-
request:
|
|
1666
|
+
request: Qe,
|
|
1667
1667
|
reloadInterval: typeof window < "u" ? !1 : 3600 * 1e3,
|
|
1668
1668
|
customHeaders: {},
|
|
1669
1669
|
queryStringParams: {},
|
|
@@ -1676,21 +1676,21 @@ var st = function() {
|
|
|
1676
1676
|
cache: "default"
|
|
1677
1677
|
}
|
|
1678
1678
|
};
|
|
1679
|
-
},
|
|
1679
|
+
}, st = function() {
|
|
1680
1680
|
function e(t) {
|
|
1681
1681
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
1682
|
-
|
|
1682
|
+
et(this, e), this.services = t, this.options = n, this.allOptions = r, this.type = "backend", this.init(t, n, r);
|
|
1683
1683
|
}
|
|
1684
|
-
return
|
|
1684
|
+
return nt(e, [
|
|
1685
1685
|
{
|
|
1686
1686
|
key: "init",
|
|
1687
1687
|
value: function(e) {
|
|
1688
1688
|
var t = this, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
1689
|
-
if (this.services = e, this.options =
|
|
1689
|
+
if (this.services = e, this.options = X(X(X({}, ot()), this.options || {}), n), this.allOptions = r, this.services && this.options.reloadInterval) {
|
|
1690
1690
|
var i = setInterval(function() {
|
|
1691
1691
|
return t.reload();
|
|
1692
1692
|
}, this.options.reloadInterval);
|
|
1693
|
-
|
|
1693
|
+
Y(i) === "object" && typeof i.unref == "function" && i.unref();
|
|
1694
1694
|
}
|
|
1695
1695
|
}
|
|
1696
1696
|
},
|
|
@@ -1710,7 +1710,7 @@ var st = function() {
|
|
|
1710
1710
|
key: "_readAny",
|
|
1711
1711
|
value: function(e, t, n, r, i) {
|
|
1712
1712
|
var a = this, o = this.options.loadPath;
|
|
1713
|
-
typeof this.options.loadPath == "function" && (o = this.options.loadPath(e, n)), o =
|
|
1713
|
+
typeof this.options.loadPath == "function" && (o = this.options.loadPath(e, n)), o = He(o), o.then(function(o) {
|
|
1714
1714
|
if (!o) return i(null, {});
|
|
1715
1715
|
var s = a.services.interpolator.interpolate(o, {
|
|
1716
1716
|
lng: e.join("+"),
|
|
@@ -1795,10 +1795,10 @@ var st = function() {
|
|
|
1795
1795
|
}
|
|
1796
1796
|
]);
|
|
1797
1797
|
}();
|
|
1798
|
-
|
|
1798
|
+
st.type = "backend";
|
|
1799
1799
|
//#endregion
|
|
1800
1800
|
//#region src/i18n/languageMetadata.ts
|
|
1801
|
-
var
|
|
1801
|
+
var Z = {
|
|
1802
1802
|
en: { emoji: "🇺🇸" },
|
|
1803
1803
|
"en-DG": { emoji: "🇬🇧" },
|
|
1804
1804
|
es: { emoji: "🇪🇸" },
|
|
@@ -1882,38 +1882,38 @@ var X = {
|
|
|
1882
1882
|
ur: { emoji: "🇵🇰" },
|
|
1883
1883
|
uz: { emoji: "🇺🇿" },
|
|
1884
1884
|
hr: { emoji: "🇭🇷" }
|
|
1885
|
-
},
|
|
1886
|
-
function
|
|
1887
|
-
let t =
|
|
1888
|
-
return t ? t.emoji :
|
|
1885
|
+
}, Q = Object.keys(Z);
|
|
1886
|
+
function ct(e) {
|
|
1887
|
+
let t = Z[e];
|
|
1888
|
+
return t ? t.emoji : Z[e.split("-")[0] || e]?.emoji ?? "🌐";
|
|
1889
1889
|
}
|
|
1890
1890
|
//#endregion
|
|
1891
1891
|
//#region src/i18n/setup.ts
|
|
1892
|
-
var ut = (e) => {
|
|
1892
|
+
var lt = "incode:i18n:language", ut = (e) => {
|
|
1893
1893
|
let t = e.replace(/([A-Z])/g, " $1");
|
|
1894
1894
|
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
1895
1895
|
}, dt = (e) => {
|
|
1896
1896
|
let t = e.split("."), n = t[t.length - 1];
|
|
1897
1897
|
return ut(n || "missing key");
|
|
1898
|
-
}, ft = new
|
|
1898
|
+
}, ft = new Re();
|
|
1899
1899
|
ft.addDetector({
|
|
1900
1900
|
name: "navigatorOnlyLanguage",
|
|
1901
1901
|
lookup() {
|
|
1902
1902
|
if (typeof navigator > "u") return "en";
|
|
1903
1903
|
let e = navigator.language;
|
|
1904
|
-
return
|
|
1904
|
+
return Q.includes(e) ? e : e.split("-")[0];
|
|
1905
1905
|
}
|
|
1906
1906
|
});
|
|
1907
1907
|
var pt = "https://api.i18nexus.com/project_resources/translations/{{lng}}/{{ns}}.json?api_key=cg41dUINoxdp8BaHDQLJhA";
|
|
1908
|
-
function
|
|
1908
|
+
function mt(e, t) {
|
|
1909
1909
|
for (let [n, r] of Object.entries(t)) r && e.addResourceBundle(n, "default", r, !0, !0);
|
|
1910
1910
|
}
|
|
1911
|
-
function
|
|
1911
|
+
function ht(e = {}) {
|
|
1912
1912
|
let { lang: t, translations: n } = e, r = L.createInstance();
|
|
1913
|
-
return r.use(
|
|
1913
|
+
return r.use(st).use(ft).init({
|
|
1914
1914
|
lng: t,
|
|
1915
1915
|
fallbackLng: "en",
|
|
1916
|
-
supportedLngs:
|
|
1916
|
+
supportedLngs: Q,
|
|
1917
1917
|
ns: ["default"],
|
|
1918
1918
|
defaultNS: "default",
|
|
1919
1919
|
partialBundledLanguages: !0,
|
|
@@ -1931,26 +1931,29 @@ function mt(e = {}) {
|
|
|
1931
1931
|
"path",
|
|
1932
1932
|
"subdomain"
|
|
1933
1933
|
],
|
|
1934
|
-
lookupQuerystring: "lang"
|
|
1934
|
+
lookupQuerystring: "lang",
|
|
1935
|
+
lookupLocalStorage: lt,
|
|
1936
|
+
lookupSessionStorage: lt,
|
|
1937
|
+
caches: ["localStorage"]
|
|
1935
1938
|
},
|
|
1936
1939
|
initImmediate: !1,
|
|
1937
1940
|
parseMissingKeyHandler: dt
|
|
1938
|
-
}), n && (
|
|
1939
|
-
|
|
1941
|
+
}), n && (mt(r, n), r.on("loaded", () => {
|
|
1942
|
+
mt(r, n);
|
|
1940
1943
|
})), r;
|
|
1941
1944
|
}
|
|
1942
1945
|
//#endregion
|
|
1943
1946
|
//#region src/i18n/instance.ts
|
|
1944
1947
|
var $ = null;
|
|
1945
|
-
function
|
|
1948
|
+
function gt(e) {
|
|
1946
1949
|
$ = e;
|
|
1947
1950
|
}
|
|
1948
|
-
function
|
|
1949
|
-
return $ ||=
|
|
1951
|
+
function _t() {
|
|
1952
|
+
return $ ||= ht(), $;
|
|
1950
1953
|
}
|
|
1951
1954
|
//#endregion
|
|
1952
1955
|
//#region src/shared/icons/arrowIcon.tsx
|
|
1953
|
-
var
|
|
1956
|
+
var vt = ({ class: e }) => /* @__PURE__ */ o("svg", {
|
|
1954
1957
|
width: "13",
|
|
1955
1958
|
height: "14",
|
|
1956
1959
|
viewBox: "0 0 13 14",
|
|
@@ -1965,8 +1968,8 @@ var _t = ({ class: e }) => /* @__PURE__ */ o("svg", {
|
|
|
1965
1968
|
});
|
|
1966
1969
|
//#endregion
|
|
1967
1970
|
//#region src/i18n/useTranslation.ts
|
|
1968
|
-
function
|
|
1969
|
-
let e =
|
|
1971
|
+
function yt() {
|
|
1972
|
+
let e = _t(), [, t] = a(0), [r, o] = a(e.isInitialized);
|
|
1970
1973
|
return n(() => {
|
|
1971
1974
|
let n = () => {
|
|
1972
1975
|
t((e) => e + 1);
|
|
@@ -1984,13 +1987,13 @@ function vt() {
|
|
|
1984
1987
|
}
|
|
1985
1988
|
//#endregion
|
|
1986
1989
|
//#region src/i18n/Trans.tsx
|
|
1987
|
-
var
|
|
1988
|
-
let { t: c } =
|
|
1990
|
+
var bt = ({ i18nKey: e, boldClass: n = "IncodeTransBold", arrowClass: i = "IncodeTransArrow", components: a, defaultValue: s }) => {
|
|
1991
|
+
let { t: c } = yt(), l = s ? c(e, { defaultValue: s }) : c(e), u = "<strong>|<\\/strong>|<br\\s*\\/?>|<arrow\\s*\\/>", d = a ? Object.keys(a).map((e) => `<${e}>|<\\/${e}>`).join("|") : "", f = d ? `${u}|${d}` : u, p = l.split(RegExp(`(${f})`, "g")), m = !1, h = null;
|
|
1989
1992
|
return /* @__PURE__ */ o(t, { children: p.map((e, s) => {
|
|
1990
1993
|
if (e === "<strong>") return m = !0, null;
|
|
1991
1994
|
if (e === "</strong>") return m = !1, null;
|
|
1992
1995
|
if (/^<br\s*\/?>$/.test(e)) return /* @__PURE__ */ o("br", {}, s);
|
|
1993
|
-
if (/^<arrow\s*\/>$/.test(e)) return /* @__PURE__ */ o(
|
|
1996
|
+
if (/^<arrow\s*\/>$/.test(e)) return /* @__PURE__ */ o(vt, { class: i }, s);
|
|
1994
1997
|
if (a) {
|
|
1995
1998
|
let t = e.match(/^<(\w+)>$/);
|
|
1996
1999
|
if (t && a[t[1]]) return h = t[1], null;
|
|
@@ -2004,4 +2007,4 @@ var yt = ({ i18nKey: e, boldClass: n = "IncodeTransBold", arrowClass: i = "Incod
|
|
|
2004
2007
|
}) });
|
|
2005
2008
|
};
|
|
2006
2009
|
//#endregion
|
|
2007
|
-
export {
|
|
2010
|
+
export { ct as a, ht as i, yt as n, Q as o, gt as r, bt as t };
|
package/dist/id/id.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as e, c as t, o as n, v as r } from "../vendor-preact-D6SntenC.js";
|
|
2
|
-
import { o as i, t as a } from "../incodeComponent-
|
|
3
|
-
import { a as o, i as s, n as c, o as l, r as u, t as d } from "../extensibility-
|
|
4
|
-
import { t as f } from "../processing-
|
|
5
|
-
import { r as p } from "../tutorial-
|
|
2
|
+
import { o as i, t as a } from "../incodeComponent-CutyB4AE.js";
|
|
3
|
+
import { a as o, i as s, n as c, o as l, r as u, t as d } from "../extensibility-B7cG7wBG.js";
|
|
4
|
+
import { t as f } from "../processing-CB6Hv9CT.js";
|
|
5
|
+
import { r as p } from "../tutorial-8ygdgcyM.js";
|
|
6
6
|
import { t as m } from "../incodeModule-D_r2n18O.js";
|
|
7
7
|
import { createIdCaptureManager as h } from "@incodetech/core/id";
|
|
8
8
|
//#region src/shared/fonts/preloadDisplayFont.ts
|
|
@@ -19,7 +19,7 @@ function v() {
|
|
|
19
19
|
}
|
|
20
20
|
//#endregion
|
|
21
21
|
//#region src/modules/id/id.tsx
|
|
22
|
-
var y = t(() => import("../mandatoryConsent-
|
|
22
|
+
var y = t(() => import("../mandatoryConsent-DM10Au24.js").then((e) => ({ default: e.MandatoryConsent }))), b = ({ config: e, manager: t, onFinish: a, onError: m }) => {
|
|
23
23
|
v();
|
|
24
24
|
let [g, _] = i(() => {
|
|
25
25
|
if (t) return t;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as e } from "../i18n-
|
|
1
|
+
import { n as e } from "../i18n-DhqfF41o.js";
|
|
2
2
|
import { _ as t, v as n } from "../vendor-preact-D6SntenC.js";
|
|
3
|
-
import { o as r, t as i } from "../incodeComponent-
|
|
3
|
+
import { o as r, t as i } from "../incodeComponent-CutyB4AE.js";
|
|
4
4
|
import { t as a } from "../page-D5Mt-0zn.js";
|
|
5
5
|
import { t as o } from "../spinner-l6dvYqCg.js";
|
|
6
6
|
import { t as s } from "../button-wmLHLQxG.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
1
|
+
import { n as e } from "./i18n-DhqfF41o.js";
|
|
2
2
|
import { _ as t, l as n, p as r, r as i, s as a, v as o } from "./vendor-preact-D6SntenC.js";
|
|
3
3
|
import { ScreenOrientationProvider as s, createScreenOrientationObserver as c, getDeviceClass as l, isIPad as u } from "@incodetech/core/device";
|
|
4
4
|
import "@incodetech/core/events";
|
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { t as e } from "./uiConfig-CwpQ-IM6.js";
|
|
2
|
-
import { t } from "./setup-
|
|
2
|
+
import { t } from "./setup-DSZs9HKu.js";
|
|
3
3
|
import { DEFAULT_WASM_VERSION as n } from "@incodetech/core/wasm";
|
|
4
4
|
export { n as DEFAULT_WASM_VERSION, e as setUiConfig, t as setup };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
1
|
+
import { n as e } from "./i18n-DhqfF41o.js";
|
|
2
2
|
import { _ as t, v as n } from "./vendor-preact-D6SntenC.js";
|
|
3
|
-
import { o as r, t as i } from "./incodeComponent-
|
|
3
|
+
import { o as r, t as i } from "./incodeComponent-CutyB4AE.js";
|
|
4
4
|
import { t as a } from "./page-D5Mt-0zn.js";
|
|
5
5
|
import { t as o } from "./spinner-l6dvYqCg.js";
|
|
6
6
|
import "./spinner-CFvndzMU.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
1
|
+
import { n as e } from "./i18n-DhqfF41o.js";
|
|
2
2
|
import { _ as t, h as n, l as r, p as i, v as a } from "./vendor-preact-D6SntenC.js";
|
|
3
3
|
import { t as o } from "./spacer-DCljE53A.js";
|
|
4
4
|
import { t as s } from "./button-wmLHLQxG.js";
|
package/dist/phone/phone.es.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as e } from "../i18n-
|
|
1
|
+
import { n as e } from "../i18n-DhqfF41o.js";
|
|
2
2
|
import { p as t, v as n } from "../vendor-preact-D6SntenC.js";
|
|
3
|
-
import { o as r, t as i } from "../incodeComponent-
|
|
3
|
+
import { o as r, t as i } from "../incodeComponent-CutyB4AE.js";
|
|
4
4
|
import { t as a } from "../spacer-DCljE53A.js";
|
|
5
5
|
import { t as o } from "../page-D5Mt-0zn.js";
|
|
6
6
|
import { t as s } from "../button-wmLHLQxG.js";
|
|
7
|
-
import { t as c } from "../otpInput-
|
|
7
|
+
import { t as c } from "../otpInput-CRZ2V8VY.js";
|
|
8
8
|
import { t as l } from "../checkbox-CM72oZfM.js";
|
|
9
9
|
import { t as u } from "../phoneInputComposed-DOuz7g1p.js";
|
|
10
10
|
import { t as d } from "../incodeModule-D_r2n18O.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { v as e } from "../vendor-preact-D6SntenC.js";
|
|
2
|
-
import { n as t } from "../electronic-signature-
|
|
2
|
+
import { n as t } from "../electronic-signature-CjfrZ5Ka.js";
|
|
3
3
|
import { t as n } from "../incodeModule-D_r2n18O.js";
|
|
4
4
|
//#region src/modules/qe-signature/qe-signature.tsx
|
|
5
5
|
var r = ({ config: n, onFinish: r, onError: i }) => /* @__PURE__ */ e(t, {
|