@incodetech/web 0.0.0-dev-20260930-745d12fa → 0.0.0-dev-20260930-d4ff5ab8
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/{GeolocationPermissionDenied-D_Mp2G-e.js → GeolocationPermissionDenied-WfgdZSCw.js} +2 -2
- package/dist/ae-signature/ae-signature.es.js +3 -3
- package/dist/antifraud/antifraud.es.js +2 -2
- package/dist/authentication/authentication.es.js +4 -4
- package/dist/{baseTutorial-NQtukT1O.js → baseTutorial-BHryBUio.js} +2 -2
- package/dist/{bottomSheet-thPsBxei.js → bottomSheet-CAwHMdzc.js} +1 -1
- package/dist/cameraOverlay-AUOXgZH_.js +2 -0
- package/dist/{cameraOverlayHeader-DcW3DQjT.js → cameraOverlayHeader-BnnexMYK.js} +2 -2
- package/dist/certificate-issuance/certificate-issuance.es.js +6 -6
- package/dist/{checkbox-DiEUkSgz.js → checkbox-DNLQdD-t.js} +1 -1
- package/dist/{connectionError-qyMX-eeF.js → connectionError-BwYQhymn.js} +2 -2
- package/dist/consent/consent.es.js +5 -5
- package/dist/{countryFlag-33dQ3DJy.js → countryFlag-DS33VRIP.js} +1 -1
- package/dist/{countrySelector-BATVPZ3E.js → countrySelector-BpUlsiLE.js} +2 -2
- package/dist/cross-document-data-match/cross-document-data-match.es.js +2 -2
- package/dist/curp-validation/curp-validation.es.js +9 -9
- package/dist/{customFields-CuLVEdLQ.js → customFields-CqdqHbRu.js} +8 -8
- package/dist/{customWatchlist-n8Topnbw.js → customWatchlist-BCUtuEAS.js} +4 -4
- package/dist/dateInputComposed-Bv48QGtW.js +1 -0
- package/dist/{dateInputComposed-DTfoJfYN.js → dateInputComposed-w4j9RRsy.js} +3 -3
- package/dist/{denied-BSoeJE1E.js → denied-Dgs8UCNi.js} +2 -2
- package/dist/document-capture/document-capture.es.js +1 -1
- package/dist/{documentCapture-CCzg2s3r.js → documentCapture-BVcNX0X4.js} +10 -10
- package/dist/documentCapture-Bw6o3N5U.js +2 -0
- package/dist/dropdownComposed-C3LsQJYO.js +1 -0
- package/dist/{dropdownComposed-Bz8NpijY.js → dropdownComposed-kRViL6gh.js} +1 -1
- package/dist/dynamic-forms/dynamic-forms.es.js +10 -10
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/{ekybModule-CZZm2PKU.js → ekybModule-BYH9t2ks.js} +10 -10
- package/dist/ekybModule-Nso6AY_7.js +2 -0
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/{ekycModule-Ck3Y6G51.js → ekycModule-BiXBeEtb.js} +12 -12
- package/dist/ekycModule-Dk0PUTOR.js +2 -0
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-BK0L8bNw.js → electronic-signature-r3sb2FWZ.js} +6 -6
- package/dist/email/email.es.js +6 -6
- package/dist/{emailInput-CiwQYriF.js → emailInput-CJvvDx4n.js} +2 -2
- package/dist/{errorContent-BB_0haqy.js → errorContent-Cbwz3myE.js} +3 -3
- package/dist/{expiredId-CGP5kXX_.js → expiredId-BXIW1Oix.js} +2 -2
- package/dist/extensibility.es.js +30 -30
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/faceMatch-BPma5hbz.js +2 -0
- package/dist/{faceMatch-DIqgHUil.js → faceMatch-ChjJwtHr.js} +4 -4
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/fieldComparison-CoaVtKdU.js +2 -0
- package/dist/{fieldComparison-DNLgn6zw.js → fieldComparison-Dpa1MgxT.js} +6 -6
- package/dist/{finalSuccessScreen-CgJ_b6UW.js → finalSuccessScreen-QCIRPhFg.js} +6 -6
- package/dist/fiscal-qr/fiscal-qr.es.js +8 -8
- package/dist/{flipAnimation-BXmFdUjd.js → flipAnimation-DVTFT-BK.js} +11 -11
- package/dist/flow/flow.es.js +6 -6
- package/dist/{formField-wxpNUW58.js → formField-DpAYxeQG.js} +1 -1
- package/dist/geolocation/geolocation.es.js +7 -7
- package/dist/government-validation/government-validation.es.js +3 -3
- package/dist/{homeScreen-0v3X91Ug.js → homeScreen-B19m9TTt.js} +4 -4
- package/dist/{icons-s7luFYsP.js → icons-_6VTEfit.js} +4 -1
- package/dist/id/id.es.js +13 -13
- package/dist/id-selfie-flow/id-selfie-flow.es.js +6 -6
- package/dist/id-verification/id-verification.es.js +3 -3
- package/dist/{idOcr-0UdIN9YE.js → idOcr-04INZ6fq.js} +11 -11
- package/dist/identity-reuse/identity-reuse.es.js +6 -6
- package/dist/{incode-logo-8KUwPEr-.js → incode-logo-BtCRocJv.js} +1 -1
- package/dist/{incodeComponent-BfS28X9c.js → incodeComponent-QANeLUlt.js} +2 -2
- package/dist/{incodeModule-DbWxTqpG.js → incodeModule-cyY6mFRn.js} +1 -1
- package/dist/inputComposed-DwA0fcJJ.js +1 -0
- package/dist/{inputComposed-BXnAoAV1.js → inputComposed-DzKSsmPB.js} +1 -1
- package/dist/{mandatoryConsent-rW16diB3.js → mandatoryConsent-CzlnC4Ah.js} +5 -5
- package/dist/{manualCaptureButton-DJOLIIp0.js → manualCaptureButton-B-BAsXJB.js} +1 -1
- package/dist/{manualCaptureButton-e-oGp1ux.js → manualCaptureButton-BQ7aZcLr.js} +1 -1
- package/dist/{optionAccessibleLabel-CPHaOPGS.js → optionAccessibleLabel-DeU5avOo.js} +4 -4
- package/dist/{otpInput-DjMUfqZq.js → otpInput-BEFA6mXF.js} +3 -3
- package/dist/{page-B2vmWfGz.js → page-C_UpHKFE.js} +2 -2
- package/dist/{passwordInputComposed-D1r42sgo.js → passwordInputComposed-CJyl2NVg.js} +3 -3
- package/dist/{permissions-BPoQ0nC0.js → permissions-BHF4eeRd.js} +6 -6
- package/dist/phone/phone.es.js +7 -7
- package/dist/phoneInputComposed-Dfcs9ZZZ.js +189 -0
- package/dist/{processing-CQBBF0SF.js → processing-DZDmNtKM.js} +1 -1
- package/dist/qe-signature/qe-signature.es.js +3 -3
- package/dist/radioGroupComposed-D1CUskMJ.js +1 -0
- package/dist/{radioGroupComposed-wTuxNyMx.js → radioGroupComposed-yD-8Wwfy.js} +1 -1
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +5 -5
- package/dist/{resolveApiKey-DnbLl50p.js → resolveApiKey-Bu5vntnL.js} +15 -15
- package/dist/selfie/selfie.es.js +5 -5
- package/dist/signature/signature.es.js +5 -5
- package/dist/{smsTabContent-387vTnsJ.js → smsTabContent-BarTuY2J.js} +2 -2
- package/dist/{statusPage-BR4_VPQO.js → statusPage-CbGrKjvy.js} +1 -1
- package/dist/{tutorial-RUHelwVB.js → tutorial-ROgBWYau.js} +7 -7
- package/dist/types/ae-signature.d.ts +1 -3
- package/dist/types/antifraud.d.ts +1 -3
- package/dist/types/authentication.d.ts +1 -3
- package/dist/types/certificate-issuance.d.ts +1 -3
- package/dist/types/consent.d.ts +1 -1
- package/dist/types/cross-document-data-match.d.ts +6 -0
- package/dist/types/curp-validation.d.ts +1 -3
- package/dist/types/document-capture.d.ts +6 -0
- package/dist/types/dynamic-forms.d.ts +1 -3
- package/dist/types/ekyb.d.ts +6 -0
- package/dist/types/ekyc.d.ts +6 -0
- package/dist/types/electronic-signature.d.ts +1 -3
- package/dist/types/email.d.ts +1 -1
- package/dist/types/extensibility.d.ts +2 -4
- package/dist/types/face-match.d.ts +6 -0
- package/dist/types/field-comparison.d.ts +6 -0
- package/dist/types/fiscal-qr.d.ts +1 -1
- package/dist/types/flow.d.ts +1 -1
- package/dist/types/geolocation.d.ts +1 -1
- package/dist/types/government-validation.d.ts +6 -0
- package/dist/types/id-selfie-flow.d.ts +1 -1
- package/dist/types/id-verification.d.ts +1 -3
- package/dist/types/id.d.ts +1 -1
- package/dist/types/identity-reuse.d.ts +1 -3
- package/dist/types/phone.d.ts +1 -1
- package/dist/types/qe-signature.d.ts +1 -3
- package/dist/types/selfie.d.ts +1 -1
- package/dist/types/signature.d.ts +1 -3
- package/dist/types/video-selfie.d.ts +1 -1
- package/dist/types/watchlist.d.ts +1 -3
- package/dist/types/workflow.d.ts +1 -2
- package/dist/{useCaptureHelpButton-ByL3Oglj.js → useCaptureHelpButton-Ggms_JQR.js} +3 -3
- package/dist/{verificationResult-CEzLKfEZ.js → verificationResult-Dmhbihmv.js} +2 -2
- package/dist/video-selfie/video-selfie.es.js +7 -7
- package/dist/watchlist/watchlist.es.js +4 -4
- package/dist/{watchlistForBusiness-2S8VoMRB.js → watchlistForBusiness-Cmu1ccIm.js} +7 -7
- package/dist/workflow/workflow.es.js +5 -5
- package/package.json +5 -5
- package/dist/cameraOverlay-BmqYtHJu.js +0 -2
- package/dist/dateInputComposed-CeCgrviE.js +0 -1
- package/dist/documentCapture-Cm6OX4Fr.js +0 -2
- package/dist/dropdownComposed-Db3thzQI.js +0 -1
- package/dist/ekybModule-BSqdiVnA.js +0 -2
- package/dist/ekycModule-BeYcknRr.js +0 -2
- package/dist/faceMatch-BpYRZGqH.js +0 -2
- package/dist/fieldComparison-DI1hzz-q.js +0 -2
- package/dist/inputComposed-BniyowNq.js +0 -1
- package/dist/phoneInputComposed-QfRozoBZ.js +0 -11784
- package/dist/radioGroupComposed-BOKwZeM2.js +0 -1
- /package/dist/{countryDefinitions--cMU_Kz7.js → countryDefinitions-CNBB-gAl.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { o as useTranslation, r as useUiConfig } from "./uiConfig-BVawPHYQ.js";
|
|
2
2
|
import { S as k, _ as y, b as Q, c as A, f as d, g as x, i as D, v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
3
3
|
import { d as cn, t as Spacer } from "./spacer-BfI-BpuX.js";
|
|
4
|
-
import { d as CloseIcon, x as Button } from "./icons-
|
|
5
|
-
import { n as Modal, t as incode_logo_default } from "./incode-logo-
|
|
4
|
+
import { d as CloseIcon, x as Button } from "./icons-_6VTEfit.js";
|
|
5
|
+
import { n as Modal, t as incode_logo_default } from "./incode-logo-BtCRocJv.js";
|
|
6
6
|
//#region src/shared/closeButton/closeButton.tsx
|
|
7
7
|
/** The "X" button that cancels the current module. Purely presentational. */
|
|
8
8
|
var CloseButton = D(({ onClick, ariaLabel, class: className, size = "S", iconSize = 24, color = "var(--icon-neutral-500)", "data-testid": dataTestId }, ref) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { f as d, i as D, v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
2
2
|
import { d as cn } from "./spacer-BfI-BpuX.js";
|
|
3
|
-
import { b as ErrorIcon, c as EyeOffIcon, l as EyeIcon, r as SuccessIcon, u as EllipseIcon } from "./icons-
|
|
4
|
-
import { t as InputComposed } from "./inputComposed-
|
|
5
|
-
import "./inputComposed-
|
|
3
|
+
import { b as ErrorIcon, c as EyeOffIcon, l as EyeIcon, r as SuccessIcon, u as EllipseIcon } from "./icons-_6VTEfit.js";
|
|
4
|
+
import { t as InputComposed } from "./inputComposed-DzKSsmPB.js";
|
|
5
|
+
import "./inputComposed-DwA0fcJJ.js";
|
|
6
6
|
//#region src/shared/passwordInputComposed/passwordInputComposed.tsx
|
|
7
7
|
var PasswordInputComposed = D(({ id, value, class: className, invalid, showPasswordAriaLabel, hidePasswordAriaLabel, defaultVisible = false, requirementsHeading, requirements = [], requirementMetLabel, requirementUnmetLabel, ...restProps }, ref) => {
|
|
8
8
|
const [visible, setVisible] = d(defaultVisible);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { o as useTranslation } from "./uiConfig-BVawPHYQ.js";
|
|
2
2
|
import { _ as y, a as P, c as A, s as z, v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
3
|
-
import { c as TransitionSpinner, h as useIsMobileDeviceWidth } from "./incodeComponent-
|
|
3
|
+
import { c as TransitionSpinner, h as useIsMobileDeviceWidth } from "./incodeComponent-QANeLUlt.js";
|
|
4
4
|
import { i as TypographyH4, t as Title } from "./typography-3kRNt19J.js";
|
|
5
|
-
import { n as WarningIcon, x as Button } from "./icons-
|
|
6
|
-
import { t as Page } from "./page-
|
|
7
|
-
import { n as Modal } from "./incode-logo-
|
|
5
|
+
import { n as WarningIcon, x as Button } from "./icons-_6VTEfit.js";
|
|
6
|
+
import { t as Page } from "./page-C_UpHKFE.js";
|
|
7
|
+
import { n as Modal } from "./incode-logo-BtCRocJv.js";
|
|
8
8
|
import { t as AutoFocusTitle } from "./autoFocusTitle-CvIX4-a7.js";
|
|
9
|
-
import { t as BottomSheet } from "./bottomSheet-
|
|
9
|
+
import { t as BottomSheet } from "./bottomSheet-CAwHMdzc.js";
|
|
10
10
|
import { n as SvgCameraIcon, r as SvgBankCardIcon, t as SvgCheckIcon } from "./check-icon-5Oa1QKpT.js";
|
|
11
11
|
import "@incodetech/core/camera";
|
|
12
12
|
//#region src/shared/permissions/camera/learnMore.tsx
|
|
@@ -178,7 +178,7 @@ var PermissionsDialog = ({ manager, permissionStatus, isDismissible }) => {
|
|
|
178
178
|
};
|
|
179
179
|
//#endregion
|
|
180
180
|
//#region src/shared/permissions/camera/permissions.tsx
|
|
181
|
-
var Denied = z(() => import("./denied-
|
|
181
|
+
var Denied = z(() => import("./denied-Dgs8UCNi.js").then((module) => ({ default: module.Denied })));
|
|
182
182
|
var Permissions = ({ manager, permissionStatus }) => {
|
|
183
183
|
if (permissionStatus === "checking") return null;
|
|
184
184
|
if (permissionStatus === "requesting") return /* @__PURE__ */ u(TransitionSpinner, {
|
package/dist/phone/phone.es.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { o as useTranslation } from "../uiConfig-BVawPHYQ.js";
|
|
2
2
|
import { h as q, v as u } from "../vendor-preact-C0jX1Cbq.js";
|
|
3
|
-
import { _ as isTerminalModuleState, b as useManager, i as withStandaloneModuleBootstrap, t as IncodeComponent, v as useModuleTerminalCallbacks } from "../incodeComponent-
|
|
3
|
+
import { _ as isTerminalModuleState, b as useManager, i as withStandaloneModuleBootstrap, t as IncodeComponent, v as useModuleTerminalCallbacks } from "../incodeComponent-QANeLUlt.js";
|
|
4
4
|
import { t as Spacer } from "../spacer-BfI-BpuX.js";
|
|
5
|
-
import { x as Button } from "../icons-
|
|
6
|
-
import { t as Page } from "../page-
|
|
7
|
-
import { t as OtpInput } from "../otpInput-
|
|
8
|
-
import { t as Checkbox } from "../checkbox-
|
|
9
|
-
import { t as PhoneInputComposed } from "../phoneInputComposed-
|
|
10
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
5
|
+
import { x as Button } from "../icons-_6VTEfit.js";
|
|
6
|
+
import { t as Page } from "../page-C_UpHKFE.js";
|
|
7
|
+
import { t as OtpInput } from "../otpInput-BEFA6mXF.js";
|
|
8
|
+
import { t as Checkbox } from "../checkbox-DNLQdD-t.js";
|
|
9
|
+
import { t as PhoneInputComposed } from "../phoneInputComposed-Dfcs9ZZZ.js";
|
|
10
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-cyY6mFRn.js";
|
|
11
11
|
import { createPhoneManager } from "@incodetech/core/phone";
|
|
12
12
|
//#region src/modules/phone/phone.tsx
|
|
13
13
|
/**
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import { S as k, _ as y, c as A, f as d, h as q, i as D, u as T, v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
2
|
+
import { b as ErrorIcon, r as SuccessIcon } from "./icons-_6VTEfit.js";
|
|
3
|
+
import { t as InputComposed } from "./inputComposed-DzKSsmPB.js";
|
|
4
|
+
import { t as FieldLabelHint } from "./fieldLabelHint-DX9HLqgU.js";
|
|
5
|
+
import { t as countryDefinitions } from "./countryDefinitions-CNBB-gAl.js";
|
|
6
|
+
import { t as DropdownComposed } from "./dropdownComposed-kRViL6gh.js";
|
|
7
|
+
import { formatExamplePhoneNumber, formatPhoneAsYouType, getCallingCode, isValidPhoneNumber, parsePhoneNumber } from "@incodetech/core/phone-number";
|
|
8
|
+
//#region src/shared/countries/countries.ts
|
|
9
|
+
var countries = Object.entries(countryDefinitions).map(([code, data]) => ({
|
|
10
|
+
code,
|
|
11
|
+
alpha3: data.alpha3,
|
|
12
|
+
emoji: data.emoji,
|
|
13
|
+
name: data.name,
|
|
14
|
+
callingCode: getCallingCode(code)
|
|
15
|
+
})).filter((c) => c.callingCode !== "").sort((a, b) => a.name.localeCompare(b.name));
|
|
16
|
+
function getCountryByCode(code) {
|
|
17
|
+
if (!code) return void 0;
|
|
18
|
+
return countries.find((c) => c.code === code || c.code === code.toUpperCase());
|
|
19
|
+
}
|
|
20
|
+
function getCountryByCallingCode(callingCode) {
|
|
21
|
+
const normalized = callingCode.startsWith("+") ? callingCode : `+${callingCode}`;
|
|
22
|
+
return countries.find((c) => c.callingCode === normalized);
|
|
23
|
+
}
|
|
24
|
+
//#endregion
|
|
25
|
+
//#region src/shared/phoneInputComposed/phoneInputComposed.tsx
|
|
26
|
+
var HARDCODED_PLACEHOLDERS = {
|
|
27
|
+
US: "(123) 456-7890",
|
|
28
|
+
CA: "(123) 456-7890"
|
|
29
|
+
};
|
|
30
|
+
function getPhonePlaceholder(code) {
|
|
31
|
+
return HARDCODED_PLACEHOLDERS[code] || formatExamplePhoneNumber(code);
|
|
32
|
+
}
|
|
33
|
+
var PhoneInputComposed = D(({ id, label, labelHint, countryCode = "US", value, placeholder, error, showFormatHintInError = false, helper, showErrorIcon, showHelperIcon, disabled = false, disableCountrySelector = false, required, onChange, formatHintBuilder, countryAriaLabelBuilder, "aria-labelledby": ariaLabelledBy, "data-testid": dataTestId, ...restProps }, ref) => {
|
|
34
|
+
const [selectedCountryCode, setSelectedCountryCode] = d(countryCode);
|
|
35
|
+
const [localPhone, setLocalPhone] = d("");
|
|
36
|
+
const initialised = A(false);
|
|
37
|
+
const dropdownOptions = T(() => countries.map((c) => ({
|
|
38
|
+
value: c.code,
|
|
39
|
+
label: `${c.emoji} ${c.callingCode} ${c.name}`,
|
|
40
|
+
ariaLabel: `${c.callingCode} ${c.name}`
|
|
41
|
+
})), []);
|
|
42
|
+
const selectedCountry = T(() => getCountryByCode(selectedCountryCode) ?? getCountryByCode("US"), [selectedCountryCode]);
|
|
43
|
+
const effectivePlaceholder = T(() => placeholder ?? getPhonePlaceholder(selectedCountryCode), [placeholder, selectedCountryCode]);
|
|
44
|
+
const formatHintId = `${id}-phone-format-hint`;
|
|
45
|
+
const formatHintText = T(() => formatHintBuilder?.(effectivePlaceholder), [formatHintBuilder, effectivePlaceholder]);
|
|
46
|
+
const formatHintTextForSr = T(() => formatHintText?.replace(/\d/g, "$& ").trim(), [formatHintText]);
|
|
47
|
+
const showStandaloneFormatHint = !error && !!formatHintText;
|
|
48
|
+
const showErrorFormatHint = showFormatHintInError && !!error && !!formatHintText;
|
|
49
|
+
y(() => {
|
|
50
|
+
if (initialised.current || !value || !selectedCountry) return;
|
|
51
|
+
initialised.current = true;
|
|
52
|
+
const parsed = parsePhoneNumber(value.startsWith("+") ? value : `+${value}`);
|
|
53
|
+
if (parsed) {
|
|
54
|
+
if (parsed.country !== selectedCountryCode) setSelectedCountryCode(parsed.country);
|
|
55
|
+
setLocalPhone(parsed.national);
|
|
56
|
+
}
|
|
57
|
+
}, [
|
|
58
|
+
value,
|
|
59
|
+
selectedCountry,
|
|
60
|
+
selectedCountryCode
|
|
61
|
+
]);
|
|
62
|
+
const validateAndNotify = q((rawDigits, country) => {
|
|
63
|
+
const digits = rawDigits.replace(/\D/g, "");
|
|
64
|
+
const full = digits ? `${country.callingCode}${digits}` : "";
|
|
65
|
+
onChange?.(full, isValidPhoneNumber(full, country.code));
|
|
66
|
+
}, [onChange]);
|
|
67
|
+
const handleCountryChange = q((newCode) => {
|
|
68
|
+
setSelectedCountryCode(newCode);
|
|
69
|
+
const country = getCountryByCode(newCode);
|
|
70
|
+
if (country && localPhone) validateAndNotify(localPhone, country);
|
|
71
|
+
}, [localPhone, validateAndNotify]);
|
|
72
|
+
const handlePhoneInput = q((e) => {
|
|
73
|
+
const raw = e.target.value;
|
|
74
|
+
if (!selectedCountry) {
|
|
75
|
+
setLocalPhone(raw);
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
setLocalPhone(formatPhoneAsYouType(raw, selectedCountry.code));
|
|
79
|
+
validateAndNotify(raw, selectedCountry);
|
|
80
|
+
}, [selectedCountry, validateAndNotify]);
|
|
81
|
+
const countryDropdownId = `${id}-country`;
|
|
82
|
+
const phoneInputId = `${id}-phone`;
|
|
83
|
+
const helperId = `${phoneInputId}-helper`;
|
|
84
|
+
const errorId = `${phoneInputId}-error`;
|
|
85
|
+
const describedByIds = [
|
|
86
|
+
showStandaloneFormatHint ? formatHintId : null,
|
|
87
|
+
helper ? helperId : null,
|
|
88
|
+
error ? errorId : null
|
|
89
|
+
].filter(Boolean).join(" ");
|
|
90
|
+
return /* @__PURE__ */ u("div", {
|
|
91
|
+
class: "IncodePhoneInputComposed",
|
|
92
|
+
children: [
|
|
93
|
+
label && /* @__PURE__ */ u("label", {
|
|
94
|
+
class: "IncodePhoneInputComposedLabel",
|
|
95
|
+
htmlFor: phoneInputId,
|
|
96
|
+
"data-testid": `${id}-label`,
|
|
97
|
+
children: [label, /* @__PURE__ */ u(FieldLabelHint, {
|
|
98
|
+
className: "IncodePhoneInputComposedLabelHint",
|
|
99
|
+
hint: labelHint,
|
|
100
|
+
required,
|
|
101
|
+
testId: `${id}-label-hint`
|
|
102
|
+
})]
|
|
103
|
+
}),
|
|
104
|
+
/* @__PURE__ */ u(DropdownComposed, {
|
|
105
|
+
id: countryDropdownId,
|
|
106
|
+
options: dropdownOptions,
|
|
107
|
+
value: selectedCountryCode,
|
|
108
|
+
onChange: handleCountryChange,
|
|
109
|
+
disabled: disabled || disableCountrySelector,
|
|
110
|
+
required,
|
|
111
|
+
searchable: true,
|
|
112
|
+
searchPlaceholder: "Search countries...",
|
|
113
|
+
suppressMessages: true,
|
|
114
|
+
"aria-label": countryAriaLabelBuilder?.({
|
|
115
|
+
callingCode: selectedCountry.callingCode,
|
|
116
|
+
countryName: selectedCountry.name
|
|
117
|
+
}) ?? `Country code ${selectedCountry.callingCode}, ${selectedCountry.name}`,
|
|
118
|
+
renderSelectedLabel: (option) => {
|
|
119
|
+
const c = getCountryByCode(option.value);
|
|
120
|
+
return c ? `${c.emoji} ${c.callingCode}` : option.label;
|
|
121
|
+
},
|
|
122
|
+
"data-testid": `${countryDropdownId}-selector`,
|
|
123
|
+
class: "IncodePhoneInputComposedDropdown",
|
|
124
|
+
siblingElement: /* @__PURE__ */ u(InputComposed, {
|
|
125
|
+
id: phoneInputId,
|
|
126
|
+
ref,
|
|
127
|
+
type: "tel",
|
|
128
|
+
value: localPhone,
|
|
129
|
+
onInput: handlePhoneInput,
|
|
130
|
+
placeholder: effectivePlaceholder,
|
|
131
|
+
error,
|
|
132
|
+
disabled,
|
|
133
|
+
required,
|
|
134
|
+
suppressMessages: true,
|
|
135
|
+
"aria-label": !label ? "Phone number" : void 0,
|
|
136
|
+
"aria-labelledby": ariaLabelledBy,
|
|
137
|
+
"aria-describedby": describedByIds || void 0,
|
|
138
|
+
"aria-invalid": error ? "true" : void 0,
|
|
139
|
+
"data-testid": dataTestId,
|
|
140
|
+
...restProps
|
|
141
|
+
})
|
|
142
|
+
}),
|
|
143
|
+
showStandaloneFormatHint && /* @__PURE__ */ u("span", {
|
|
144
|
+
id: formatHintId,
|
|
145
|
+
class: "IncodeSrOnly",
|
|
146
|
+
"data-testid": `${id}-format-hint`,
|
|
147
|
+
children: formatHintTextForSr
|
|
148
|
+
}),
|
|
149
|
+
error && /* @__PURE__ */ u("div", {
|
|
150
|
+
class: "IncodePhoneInputComposedErrorWrapper",
|
|
151
|
+
role: "alert",
|
|
152
|
+
"data-testid": `${id}-error-wrapper`,
|
|
153
|
+
children: [showErrorIcon && /* @__PURE__ */ u("div", {
|
|
154
|
+
class: "IncodePhoneInputComposedIconWrapper",
|
|
155
|
+
children: /* @__PURE__ */ u(ErrorIcon, { size: 16 })
|
|
156
|
+
}), /* @__PURE__ */ u("p", {
|
|
157
|
+
id: errorId,
|
|
158
|
+
class: "IncodePhoneInputComposedError",
|
|
159
|
+
children: [error, showErrorFormatHint && /* @__PURE__ */ u(k, { children: [
|
|
160
|
+
" ",
|
|
161
|
+
/* @__PURE__ */ u("span", {
|
|
162
|
+
"aria-hidden": "true",
|
|
163
|
+
children: formatHintText
|
|
164
|
+
}),
|
|
165
|
+
/* @__PURE__ */ u("span", {
|
|
166
|
+
class: "IncodeSrOnly",
|
|
167
|
+
children: formatHintTextForSr
|
|
168
|
+
})
|
|
169
|
+
] })]
|
|
170
|
+
})]
|
|
171
|
+
}),
|
|
172
|
+
helper && !error && /* @__PURE__ */ u("div", {
|
|
173
|
+
class: "IncodePhoneInputComposedHelperWrapper",
|
|
174
|
+
"data-testid": `${id}-helper-wrapper`,
|
|
175
|
+
children: [showHelperIcon && /* @__PURE__ */ u("div", {
|
|
176
|
+
class: "IncodePhoneInputComposedIconWrapper",
|
|
177
|
+
children: /* @__PURE__ */ u(SuccessIcon, { size: 16 })
|
|
178
|
+
}), /* @__PURE__ */ u("p", {
|
|
179
|
+
id: helperId,
|
|
180
|
+
class: "IncodePhoneInputComposedHelper",
|
|
181
|
+
children: helper
|
|
182
|
+
})]
|
|
183
|
+
})
|
|
184
|
+
]
|
|
185
|
+
});
|
|
186
|
+
});
|
|
187
|
+
PhoneInputComposed.displayName = "PhoneInputComposed";
|
|
188
|
+
//#endregion
|
|
189
|
+
export { getCountryByCode as i, countries as n, getCountryByCallingCode as r, PhoneInputComposed as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
2
|
-
import { c as TransitionSpinner } from "./incodeComponent-
|
|
2
|
+
import { c as TransitionSpinner } from "./incodeComponent-QANeLUlt.js";
|
|
3
3
|
//#region src/shared/processing/processing.tsx
|
|
4
4
|
var Processing = () => {
|
|
5
5
|
return /* @__PURE__ */ u(TransitionSpinner, {});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { v as u } from "../vendor-preact-C0jX1Cbq.js";
|
|
2
|
-
import { i as withStandaloneModuleBootstrap } from "../incodeComponent-
|
|
3
|
-
import { n as ElectronicSignature } from "../electronic-signature-
|
|
4
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
2
|
+
import { i as withStandaloneModuleBootstrap } from "../incodeComponent-QANeLUlt.js";
|
|
3
|
+
import { n as ElectronicSignature } from "../electronic-signature-r3sb2FWZ.js";
|
|
4
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-cyY6mFRn.js";
|
|
5
5
|
//#region src/modules/qe-signature/qe-signature.tsx
|
|
6
6
|
var QeSignatureWithLocalConfig = ({ config, manager, onFinish, onError }) => {
|
|
7
7
|
return /* @__PURE__ */ u(ElectronicSignature, {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./radioGroupComposed-yD-8Wwfy.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { f as d, i as D, v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
2
2
|
import { d as cn } from "./spacer-BfI-BpuX.js";
|
|
3
|
-
import { b as ErrorIcon } from "./icons-
|
|
3
|
+
import { b as ErrorIcon } from "./icons-_6VTEfit.js";
|
|
4
4
|
import { t as FieldLabelHint } from "./fieldLabelHint-DX9HLqgU.js";
|
|
5
5
|
//#region src/shared/radioButtonComposed/radioButtonComposed.tsx
|
|
6
6
|
var textSizeClass = {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __commonJSMin } from "../rolldown-runtime--E5BIlTp.js";
|
|
2
2
|
import { o as useTranslation } from "../uiConfig-BVawPHYQ.js";
|
|
3
3
|
import { S as k, _ as y, b as Q, c as A, f as d, g as x, h as q, p as g, v as u } from "../vendor-preact-C0jX1Cbq.js";
|
|
4
|
-
import { b as useManager, c as TransitionSpinner, i as withStandaloneModuleBootstrap, r as Snackbar, t as IncodeComponent, v as useModuleTerminalCallbacks } from "../incodeComponent-
|
|
4
|
+
import { b as useManager, c as TransitionSpinner, i as withStandaloneModuleBootstrap, r as Snackbar, t as IncodeComponent, v as useModuleTerminalCallbacks } from "../incodeComponent-QANeLUlt.js";
|
|
5
5
|
import { d as cn, t as Spacer } from "../spacer-BfI-BpuX.js";
|
|
6
|
-
import { r as SuccessIcon, x as Button } from "../icons-
|
|
7
|
-
import { n as VerifiedByIncodeLogo, r as usePageUiConfig } from "../page-
|
|
8
|
-
import { t as incode_logo_default } from "../incode-logo-
|
|
6
|
+
import { r as SuccessIcon, x as Button } from "../icons-_6VTEfit.js";
|
|
7
|
+
import { n as VerifiedByIncodeLogo, r as usePageUiConfig } from "../page-C_UpHKFE.js";
|
|
8
|
+
import { t as incode_logo_default } from "../incode-logo-BtCRocJv.js";
|
|
9
9
|
import { t as AutoFocusTitle } from "../autoFocusTitle-CvIX4-a7.js";
|
|
10
10
|
import { t as registerIncodeElement } from "../registerIncodeElement-CbZczi4S.js";
|
|
11
11
|
import { t as useLazyComponentLoader } from "../useModuleLoader-Byr5mQQz.js";
|
|
@@ -2633,7 +2633,7 @@ var QrTabContent = ({ redirectUrl, onQrReady }) => {
|
|
|
2633
2633
|
};
|
|
2634
2634
|
//#endregion
|
|
2635
2635
|
//#region src/modules/redirect-to-mobile/qrScreen.tsx
|
|
2636
|
-
var loadSmsTabContent = () => import("../smsTabContent-
|
|
2636
|
+
var loadSmsTabContent = () => import("../smsTabContent-BarTuY2J.js").then((module) => module.SmsTabContent);
|
|
2637
2637
|
var LazySmsTabContent = (props) => {
|
|
2638
2638
|
const { t } = useTranslation();
|
|
2639
2639
|
const state = useLazyComponentLoader({ loader: loadSmsTabContent });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as setI18nInstance, l as createI18n, s as hasI18nInstance } from "./uiConfig-BVawPHYQ.js";
|
|
2
2
|
import { v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
3
3
|
import { a as getStandaloneSetupPolicy, n as preloadDashboardTheme } from "./dashboardTheme-BaLcB-3A.js";
|
|
4
|
-
import "./incodeComponent-
|
|
5
|
-
import { x as Button } from "./icons-
|
|
4
|
+
import "./incodeComponent-QANeLUlt.js";
|
|
5
|
+
import { x as Button } from "./icons-_6VTEfit.js";
|
|
6
6
|
import { initializeWasmUtil, resolveWasmConfigForPipelines, setWasmConfig, upgradeToWasmHttpClient, warmupWasm } from "@incodetech/core/wasm";
|
|
7
7
|
import { getFinishStatus, initializeSession } from "@incodetech/core/session";
|
|
8
8
|
import { isDesktopOrEmulated } from "@incodetech/core/device";
|
|
@@ -33,7 +33,7 @@ function isDesktopOrEmulated$1() {
|
|
|
33
33
|
//#endregion
|
|
34
34
|
//#region src/modules/flow/flowInit.ts
|
|
35
35
|
var lazyIdModule = () => import("./id/id.es.js").then((m) => m.Id);
|
|
36
|
-
var loadLazyHomeScreen = () => import("./homeScreen-
|
|
36
|
+
var loadLazyHomeScreen = () => import("./homeScreen-B19m9TTt.js").then((m) => m.HomeScreen);
|
|
37
37
|
var homeScreenPreloadPromise;
|
|
38
38
|
/**
|
|
39
39
|
* Headless flow keys: backend-only steps with no UI. `<incode-flow>` renders
|
|
@@ -97,31 +97,31 @@ var LAZY_UI_MODULES = {
|
|
|
97
97
|
ID_CAPTURE: lazyIdModule,
|
|
98
98
|
TUTORIAL_ID: lazyIdModule,
|
|
99
99
|
SECOND_ID: lazyIdModule,
|
|
100
|
-
FACE_MATCH: () => import("./faceMatch-
|
|
100
|
+
FACE_MATCH: () => import("./faceMatch-BPma5hbz.js").then((m) => m.FaceMatch),
|
|
101
101
|
CURP_VALIDATION: () => import("./curp-validation/curp-validation.es.js").then((m) => m.CurpValidation),
|
|
102
102
|
GOVT_VALIDATION_PROVISIONING: () => import("./government-validation/government-validation.es.js").then((m) => m.GovernmentValidation),
|
|
103
103
|
INE_VALIDATION: () => import("./government-validation/government-validation.es.js").then((m) => m.GovernmentValidation),
|
|
104
104
|
GEOLOCATION: () => import("./geolocation/geolocation.es.js").then((m) => m.Geolocation),
|
|
105
|
-
EXTERNAL_VERIFICATION: () => import("./ekycModule-
|
|
106
|
-
EKYB: () => import("./ekybModule-
|
|
107
|
-
DOCUMENT_CAPTURE: () => import("./documentCapture-
|
|
108
|
-
ADDRESS: () => import("./documentCapture-
|
|
105
|
+
EXTERNAL_VERIFICATION: () => import("./ekycModule-Dk0PUTOR.js").then((m) => m.EkycModule),
|
|
106
|
+
EKYB: () => import("./ekybModule-Nso6AY_7.js").then((m) => m.EkybModule),
|
|
107
|
+
DOCUMENT_CAPTURE: () => import("./documentCapture-Bw6o3N5U.js").then((m) => m.DocumentCapture),
|
|
108
|
+
ADDRESS: () => import("./documentCapture-Bw6o3N5U.js").then((m) => m.DocumentCapture),
|
|
109
109
|
COMBINED_CONSENT: () => import("./consent/consent.es.js").then((m) => m.Consent),
|
|
110
|
-
MANDATORY_CONSENT: () => import("./mandatoryConsent-
|
|
111
|
-
ML_CONSENT: () => import("./mandatoryConsent-
|
|
110
|
+
MANDATORY_CONSENT: () => import("./mandatoryConsent-CzlnC4Ah.js").then((m) => m.MandatoryConsent),
|
|
111
|
+
ML_CONSENT: () => import("./mandatoryConsent-CzlnC4Ah.js").then((m) => m.MandatoryConsent),
|
|
112
112
|
SIGNATURE: () => import("./signature/signature.es.js").then((m) => m.Signature),
|
|
113
|
-
ID_OCR: () => import("./idOcr-
|
|
113
|
+
ID_OCR: () => import("./idOcr-04INZ6fq.js").then((m) => m.IdOcr),
|
|
114
114
|
ANTIFRAUD: () => import("./antifraud/antifraud.es.js").then((m) => m.Antifraud),
|
|
115
|
-
CUSTOM_FIELDS: () => import("./customFields-
|
|
115
|
+
CUSTOM_FIELDS: () => import("./customFields-CqdqHbRu.js").then((m) => m.CustomFields),
|
|
116
116
|
WATCHLIST: () => import("./watchlist/watchlist.es.js").then((m) => m.Watchlist),
|
|
117
|
-
WATCHLIST_BUSINESS: () => import("./watchlistForBusiness-
|
|
118
|
-
INCODE_WATCHLIST: () => import("./customWatchlist-
|
|
117
|
+
WATCHLIST_BUSINESS: () => import("./watchlistForBusiness-Cmu1ccIm.js").then((m) => m.WatchlistForBusiness),
|
|
118
|
+
INCODE_WATCHLIST: () => import("./customWatchlist-BCUtuEAS.js").then((m) => m.CustomWatchlist),
|
|
119
119
|
AE_SIGNATURE: () => import("./ae-signature/ae-signature.es.js").then((m) => m.AeSignature),
|
|
120
120
|
QE_SIGNATURE: () => import("./qe-signature/qe-signature.es.js").then((m) => m.QeSignature),
|
|
121
121
|
CROSS_DOCUMENT_DATA_MATCH: () => import("./cross-document-data-match/cross-document-data-match.es.js").then((m) => m.CrossDocumentDataMatch),
|
|
122
122
|
DYNAMIC_FORMS: () => import("./dynamic-forms/dynamic-forms.es.js").then((m) => m.DynamicForms),
|
|
123
123
|
CERTIFICATE_ISSUANCE: () => import("./certificate-issuance/certificate-issuance.es.js").then((m) => m.CertificateIssuance),
|
|
124
|
-
FIELD_COMPARISON: () => import("./fieldComparison-
|
|
124
|
+
FIELD_COMPARISON: () => import("./fieldComparison-CoaVtKdU.js").then((m) => m.FieldComparison),
|
|
125
125
|
FISCAL_QR: () => import("./fiscal-qr/fiscal-qr.es.js").then((m) => m.FiscalQr),
|
|
126
126
|
VIDEO_ONBOARDING: () => import("./video-selfie/video-selfie.es.js").then((m) => m.VideoSelfie)
|
|
127
127
|
};
|
package/dist/selfie/selfie.es.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { _ as y, v as u } from "../vendor-preact-C0jX1Cbq.js";
|
|
2
|
-
import { _ as isTerminalModuleState, b as useManager, c as TransitionSpinner, i as withStandaloneModuleBootstrap, t as IncodeComponent, v as useModuleTerminalCallbacks } from "../incodeComponent-
|
|
2
|
+
import { _ as isTerminalModuleState, b as useManager, c as TransitionSpinner, i as withStandaloneModuleBootstrap, t as IncodeComponent, v as useModuleTerminalCallbacks } from "../incodeComponent-QANeLUlt.js";
|
|
3
3
|
import { i as preloadAnimations } from "../spacer-BfI-BpuX.js";
|
|
4
|
-
import { t as Processing } from "../processing-
|
|
5
|
-
import { t as Permissions } from "../permissions-
|
|
6
|
-
import { n as Capture, t as Tutorial } from "../tutorial-
|
|
7
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
4
|
+
import { t as Processing } from "../processing-DZDmNtKM.js";
|
|
5
|
+
import { t as Permissions } from "../permissions-BHF4eeRd.js";
|
|
6
|
+
import { n as Capture, t as Tutorial } from "../tutorial-ROgBWYau.js";
|
|
7
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-cyY6mFRn.js";
|
|
8
8
|
import { createSelfieManager } from "@incodetech/core/selfie";
|
|
9
9
|
//#region src/modules/selfie/preloadTutorialAssets.ts
|
|
10
10
|
var started = false;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { o as useTranslation } from "../uiConfig-BVawPHYQ.js";
|
|
2
2
|
import { _ as y, c as A, f as d, h as q, i as D, l as F, v as u } from "../vendor-preact-C0jX1Cbq.js";
|
|
3
|
-
import { b as useManager, i as withStandaloneModuleBootstrap, t as IncodeComponent, v as useModuleTerminalCallbacks } from "../incodeComponent-
|
|
3
|
+
import { b as useManager, i as withStandaloneModuleBootstrap, t as IncodeComponent, v as useModuleTerminalCallbacks } from "../incodeComponent-QANeLUlt.js";
|
|
4
4
|
import { t as Spacer } from "../spacer-BfI-BpuX.js";
|
|
5
|
-
import { x as Button } from "../icons-
|
|
6
|
-
import { t as Page } from "../page-
|
|
7
|
-
import { t as VerificationResult } from "../verificationResult-
|
|
8
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
5
|
+
import { x as Button } from "../icons-_6VTEfit.js";
|
|
6
|
+
import { t as Page } from "../page-C_UpHKFE.js";
|
|
7
|
+
import { t as VerificationResult } from "../verificationResult-Dmhbihmv.js";
|
|
8
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-cyY6mFRn.js";
|
|
9
9
|
import { t as _defineProperty } from "../defineProperty-Dt62XeCZ.js";
|
|
10
10
|
import { createSignatureManager } from "@incodetech/core/signature";
|
|
11
11
|
//#region ../../node_modules/.pnpm/signature_pad@5.1.3/node_modules/signature_pad/dist/signature_pad.js
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { a as Trans, o as useTranslation } from "./uiConfig-BVawPHYQ.js";
|
|
2
2
|
import { S as k, f as d, h as q, v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
3
3
|
import { t as Spacer } from "./spacer-BfI-BpuX.js";
|
|
4
|
-
import { b as ErrorIcon, r as SuccessIcon, x as Button } from "./icons-
|
|
4
|
+
import { b as ErrorIcon, r as SuccessIcon, x as Button } from "./icons-_6VTEfit.js";
|
|
5
5
|
import { t as AutoFocusTitle } from "./autoFocusTitle-CvIX4-a7.js";
|
|
6
6
|
import { n as useResendTimerAnnouncements, t as formatResendTimer } from "./resendTimer-CTZVop2g.js";
|
|
7
|
-
import { r as getCountryByCallingCode, t as PhoneInputComposed } from "./phoneInputComposed-
|
|
7
|
+
import { r as getCountryByCallingCode, t as PhoneInputComposed } from "./phoneInputComposed-Dfcs9ZZZ.js";
|
|
8
8
|
//#region src/modules/redirect-to-mobile/smsSentView.tsx
|
|
9
9
|
var SmsSentView = ({ formattedPhone, hasError, resendTimer, canResendSms, onResend, onChangePhone }) => {
|
|
10
10
|
const { t } = useTranslation();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as g, v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
2
2
|
import { t as Spacer } from "./spacer-BfI-BpuX.js";
|
|
3
|
-
import { t as Page } from "./page-
|
|
3
|
+
import { t as Page } from "./page-C_UpHKFE.js";
|
|
4
4
|
import { t as AutoFocusTitle } from "./autoFocusTitle-CvIX4-a7.js";
|
|
5
5
|
//#region src/shared/statusPage/statusPage.tsx
|
|
6
6
|
var StatusPage = ({ variant, icon, title, subtitle, hideFooterBranding, actions, isLive }) => {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { o as useTranslation } from "./uiConfig-BVawPHYQ.js";
|
|
2
2
|
import { S as k, _ as y, c as A, f as d, h as q, p as g, v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
3
|
-
import { c as TransitionSpinner } from "./incodeComponent-
|
|
3
|
+
import { c as TransitionSpinner } from "./incodeComponent-QANeLUlt.js";
|
|
4
4
|
import { a as useAnimationData, d as cn, n as LoadingIcon, t as Spacer } from "./spacer-BfI-BpuX.js";
|
|
5
5
|
import { t as Title } from "./typography-3kRNt19J.js";
|
|
6
|
-
import { r as SuccessIcon } from "./icons-
|
|
7
|
-
import { t as Page } from "./page-
|
|
8
|
-
import { t as ErrorContent } from "./errorContent-
|
|
9
|
-
import { t as ConnectionError } from "./connectionError-
|
|
6
|
+
import { r as SuccessIcon } from "./icons-_6VTEfit.js";
|
|
7
|
+
import { t as Page } from "./page-C_UpHKFE.js";
|
|
8
|
+
import { t as ErrorContent } from "./errorContent-Cbwz3myE.js";
|
|
9
|
+
import { t as ConnectionError } from "./connectionError-BwYQhymn.js";
|
|
10
10
|
import { t as useCoverMedia } from "./useCoverMedia-Zla_lqcT.js";
|
|
11
|
-
import { t as BaseTutorial } from "./baseTutorial-
|
|
12
|
-
import { t as ManualCaptureButton } from "./manualCaptureButton-
|
|
11
|
+
import { t as BaseTutorial } from "./baseTutorial-BHryBUio.js";
|
|
12
|
+
import { t as ManualCaptureButton } from "./manualCaptureButton-BQ7aZcLr.js";
|
|
13
13
|
//#region src/shared/capture/faceOutline.tsx
|
|
14
14
|
var FaceOutline = () => {
|
|
15
15
|
return /* @__PURE__ */ u("svg", {
|
|
@@ -178,8 +178,6 @@ export { }
|
|
|
178
178
|
|
|
179
179
|
declare global {
|
|
180
180
|
interface HTMLElementTagNameMap {
|
|
181
|
-
'incode-ae-signature': HTMLElement &
|
|
182
|
-
void,
|
|
183
|
-
AeSignatureManager>;
|
|
181
|
+
'incode-ae-signature': HTMLElement & import('preact').ComponentProps<typeof AeSignature>;
|
|
184
182
|
}
|
|
185
183
|
}
|
|
@@ -178,8 +178,6 @@ export { }
|
|
|
178
178
|
|
|
179
179
|
declare global {
|
|
180
180
|
interface HTMLElementTagNameMap {
|
|
181
|
-
'incode-antifraud': HTMLElement &
|
|
182
|
-
void,
|
|
183
|
-
AntifraudManager>;
|
|
181
|
+
'incode-antifraud': HTMLElement & import('preact').ComponentProps<typeof Antifraud>;
|
|
184
182
|
}
|
|
185
183
|
}
|
|
@@ -180,8 +180,6 @@ export { }
|
|
|
180
180
|
|
|
181
181
|
declare global {
|
|
182
182
|
interface HTMLElementTagNameMap {
|
|
183
|
-
'incode-authentication': HTMLElement &
|
|
184
|
-
void,
|
|
185
|
-
AuthenticationManager>;
|
|
183
|
+
'incode-authentication': HTMLElement & import('preact').ComponentProps<typeof Authentication>;
|
|
186
184
|
}
|
|
187
185
|
}
|
|
@@ -178,8 +178,6 @@ export { }
|
|
|
178
178
|
|
|
179
179
|
declare global {
|
|
180
180
|
interface HTMLElementTagNameMap {
|
|
181
|
-
'incode-certificate-issuance': HTMLElement &
|
|
182
|
-
void,
|
|
183
|
-
CertificateIssuanceManager>;
|
|
181
|
+
'incode-certificate-issuance': HTMLElement & import('preact').ComponentProps<typeof CertificateIssuance>;
|
|
184
182
|
}
|
|
185
183
|
}
|
package/dist/types/consent.d.ts
CHANGED
|
@@ -178,6 +178,6 @@ export { }
|
|
|
178
178
|
|
|
179
179
|
declare global {
|
|
180
180
|
interface HTMLElementTagNameMap {
|
|
181
|
-
'incode-consent': HTMLElement &
|
|
181
|
+
'incode-consent': HTMLElement & import('preact').ComponentProps<typeof Consent>;
|
|
182
182
|
}
|
|
183
183
|
}
|
|
@@ -175,3 +175,9 @@ declare type SpinnerSize = 'small' | 'medium' | 'large';
|
|
|
175
175
|
declare type SvgComponent = FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
176
176
|
|
|
177
177
|
export { }
|
|
178
|
+
|
|
179
|
+
declare global {
|
|
180
|
+
interface HTMLElementTagNameMap {
|
|
181
|
+
'incode-cross-document-data-match': HTMLElement & import('preact').ComponentProps<typeof CrossDocumentDataMatch>;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
@@ -178,8 +178,6 @@ export { }
|
|
|
178
178
|
|
|
179
179
|
declare global {
|
|
180
180
|
interface HTMLElementTagNameMap {
|
|
181
|
-
'incode-curp-validation': HTMLElement &
|
|
182
|
-
void,
|
|
183
|
-
CurpValidationManager>;
|
|
181
|
+
'incode-curp-validation': HTMLElement & import('preact').ComponentProps<typeof CurpValidation>;
|
|
184
182
|
}
|
|
185
183
|
}
|
|
@@ -175,3 +175,9 @@ declare type SpinnerSize = 'small' | 'medium' | 'large';
|
|
|
175
175
|
declare type SvgComponent = FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
176
176
|
|
|
177
177
|
export { }
|
|
178
|
+
|
|
179
|
+
declare global {
|
|
180
|
+
interface HTMLElementTagNameMap {
|
|
181
|
+
'incode-document-capture': HTMLElement & import('preact').ComponentProps<typeof DocumentCapture>;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
@@ -178,8 +178,6 @@ export { }
|
|
|
178
178
|
|
|
179
179
|
declare global {
|
|
180
180
|
interface HTMLElementTagNameMap {
|
|
181
|
-
'incode-dynamic-forms': HTMLElement &
|
|
182
|
-
void,
|
|
183
|
-
DynamicFormsManager>;
|
|
181
|
+
'incode-dynamic-forms': HTMLElement & import('preact').ComponentProps<typeof DynamicForms>;
|
|
184
182
|
}
|
|
185
183
|
}
|
package/dist/types/ekyb.d.ts
CHANGED
|
@@ -175,3 +175,9 @@ declare type SpinnerSize = 'small' | 'medium' | 'large';
|
|
|
175
175
|
declare type SvgComponent = FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
176
176
|
|
|
177
177
|
export { }
|
|
178
|
+
|
|
179
|
+
declare global {
|
|
180
|
+
interface HTMLElementTagNameMap {
|
|
181
|
+
'incode-ekyb': HTMLElement & import('preact').ComponentProps<typeof EkybModule>;
|
|
182
|
+
}
|
|
183
|
+
}
|
package/dist/types/ekyc.d.ts
CHANGED
|
@@ -175,3 +175,9 @@ declare type SpinnerSize = 'small' | 'medium' | 'large';
|
|
|
175
175
|
declare type SvgComponent = FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
176
176
|
|
|
177
177
|
export { }
|
|
178
|
+
|
|
179
|
+
declare global {
|
|
180
|
+
interface HTMLElementTagNameMap {
|
|
181
|
+
'incode-ekyc': HTMLElement & import('preact').ComponentProps<typeof EkycModule>;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
@@ -178,8 +178,6 @@ export { }
|
|
|
178
178
|
|
|
179
179
|
declare global {
|
|
180
180
|
interface HTMLElementTagNameMap {
|
|
181
|
-
'incode-electronic-signature': HTMLElement &
|
|
182
|
-
void,
|
|
183
|
-
ElectronicSignatureManager>;
|
|
181
|
+
'incode-electronic-signature': HTMLElement & import('preact').ComponentProps<typeof ElectronicSignature>;
|
|
184
182
|
}
|
|
185
183
|
}
|
package/dist/types/email.d.ts
CHANGED