@incodetech/web 0.0.0-dev-20260713-506b2caa → 0.0.0-dev-20260714-84eb7a5b
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/certificate-issuance/certificate-issuance.es.js +1 -1
- package/dist/document-capture/document-capture.es.js +1 -1
- package/dist/{documentCapture-CG7dUtjZ.js → documentCapture-C1lGeAAE.js} +1 -1
- package/dist/documentCapture-l1DB8Zag.js +2 -0
- package/dist/{dynamicForms-3G-EFHga.js → dynamicForms-D9wzEF4G.js} +1 -1
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/ekybModule-BtaABaHv.js +2 -0
- package/dist/{ekybModule-KkxbUGbh.js → ekybModule-DETayLNn.js} +3 -3
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/ekyc/styles.css +2 -2
- package/dist/ekycModule-BVaeu3_l.js +2 -0
- package/dist/{ekycModule-DY0nDa0S.js → ekycModule-daV0VadG.js} +33 -6
- package/dist/email/email.es.js +1 -1
- package/dist/{emailInput-Cq5na0Qx.js → emailInput-C3SlxU6A.js} +1 -1
- package/dist/{extensibility-DXmFX41n.js → extensibility-CP2kziBc.js} +1 -1
- package/dist/extensibility.es.js +2 -2
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/fieldComparison-Cihw46KX.js +2 -0
- package/dist/{fieldComparison-CvAYnrcm.js → fieldComparison-DxNRWb8x.js} +1 -1
- package/dist/fiscal-qr/fiscal-qr.es.js +1 -1
- package/dist/flow/flow.es.js +1 -1
- package/dist/flow/styles.css +2 -2
- package/dist/government-validation/government-validation.es.js +1 -1
- package/dist/id/id.es.js +1 -1
- package/dist/{idOcr-CqUWg11B.js → idOcr-DfIOwlGi.js} +2 -2
- package/dist/{optionAccessibleLabel-kzfbS107.js → optionAccessibleLabel-DkVt0KwB.js} +1 -1
- package/dist/{radioGroupComposed-B4-DaLKh.js → radioGroupComposed-Ceyx9-xF.js} +2 -1
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +1 -1
- package/dist/signature/signature.es.js +1 -1
- package/dist/types/ekyc.d.ts +2 -1
- package/dist/types/extensibility.d.ts +1 -0
- package/dist/{useModuleLoader-BdiUSBj0.js → useModuleLoader-DtWjpKDk.js} +7 -7
- package/dist/workflow/styles.css +2 -2
- package/dist/workflow/workflow.es.js +1 -1
- package/package.json +2 -2
- package/dist/documentCapture-BGCt8ye5.js +0 -2
- package/dist/ekybModule-CObpRbQ9.js +0 -2
- package/dist/ekycModule-ONlsfMYY.js +0 -2
- package/dist/fieldComparison-DE1-wJJW.js +0 -2
|
@@ -4,7 +4,7 @@ import { c as useModuleTerminalCallbacks, u as useManager } from "../hooks-CNu7o
|
|
|
4
4
|
import { t as IncodeComponent } from "../incodeComponent-CfzJGETt.js";
|
|
5
5
|
import { r as Spacer } from "../loadingIcon-B0ysgiNq.js";
|
|
6
6
|
import { t as Page } from "../page-DidH_RkX.js";
|
|
7
|
-
import { _ as PasswordInputComposed } from "../extensibility-
|
|
7
|
+
import { _ as PasswordInputComposed } from "../extensibility-CP2kziBc.js";
|
|
8
8
|
import { a as TypographyH5 } from "../typography-BZIpjo97.js";
|
|
9
9
|
import { t as Button } from "../button-Dz6AsbmF.js";
|
|
10
10
|
import { t as SuccessIcon } from "../successIcon-B5mGvdx1.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as DocumentCapture } from "../documentCapture-
|
|
1
|
+
import { t as DocumentCapture } from "../documentCapture-C1lGeAAE.js";
|
|
2
2
|
export { DocumentCapture };
|
|
@@ -4,7 +4,7 @@ import { a as useIsMobileDeviceWidth, c as useModuleTerminalCallbacks, u as useM
|
|
|
4
4
|
import { t as IncodeComponent } from "./incodeComponent-CfzJGETt.js";
|
|
5
5
|
import { n as cn, r as Spacer } from "./loadingIcon-B0ysgiNq.js";
|
|
6
6
|
import { t as Page } from "./page-DidH_RkX.js";
|
|
7
|
-
import { d as CameraOverlay, l as CaptureFooter, u as CameraOverlayHeader, v as ProgressBar, y as Overlay } from "./extensibility-
|
|
7
|
+
import { d as CameraOverlay, l as CaptureFooter, u as CameraOverlayHeader, v as ProgressBar, y as Overlay } from "./extensibility-CP2kziBc.js";
|
|
8
8
|
import { t as Spinner } from "./spinner-BMeIEK1d.js";
|
|
9
9
|
import { t as Button } from "./button-Dz6AsbmF.js";
|
|
10
10
|
import { a as FileIcon, g as CameraIcon, r as LockIcon } from "./icons-Bi3GbaZc.js";
|
|
@@ -11,7 +11,7 @@ import { t as DropdownComposed } from "./dropdownComposed-W_J_3a8D.js";
|
|
|
11
11
|
import { t as DateInputComposed } from "./dateInputComposed-b385OXwu.js";
|
|
12
12
|
import { t as registerIncodeModuleElement } from "./incodeModule-B-4_3JrK.js";
|
|
13
13
|
import { n as getRequiredHintMode, t as getFieldHint } from "./requiredLabelHint-D0RhuMed.js";
|
|
14
|
-
import { t as EmailInput } from "./emailInput-
|
|
14
|
+
import { t as EmailInput } from "./emailInput-C3SlxU6A.js";
|
|
15
15
|
import { formatCPF, isValidCPF } from "@incodetech/core/cpf-ocr";
|
|
16
16
|
import { createDynamicFormsManager } from "@incodetech/core/dynamic-forms";
|
|
17
17
|
//#region src/modules/dynamic-forms/dynamicForms.tsx
|
package/dist/ekyb/ekyb.es.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as EkybModule } from "../ekybModule-
|
|
1
|
+
import { t as EkybModule } from "../ekybModule-DETayLNn.js";
|
|
2
2
|
export { EkybModule };
|
|
@@ -4,16 +4,16 @@ import { c as useModuleTerminalCallbacks, o as useFormScrollable, u as useManage
|
|
|
4
4
|
import { t as IncodeComponent } from "./incodeComponent-CfzJGETt.js";
|
|
5
5
|
import { r as Spacer } from "./loadingIcon-B0ysgiNq.js";
|
|
6
6
|
import { t as Page } from "./page-DidH_RkX.js";
|
|
7
|
-
import "./extensibility-
|
|
7
|
+
import "./extensibility-CP2kziBc.js";
|
|
8
8
|
import { t as Spinner } from "./spinner-BMeIEK1d.js";
|
|
9
9
|
import { t as Button } from "./button-Dz6AsbmF.js";
|
|
10
10
|
import { t as VerificationResult } from "./verificationResult-Omhu8yft.js";
|
|
11
11
|
import { t as InputComposed } from "./inputComposed-Dd00iePQ.js";
|
|
12
|
-
import { i as translateError, r as FormField } from "./radioGroupComposed-
|
|
12
|
+
import { i as translateError, r as FormField } from "./radioGroupComposed-Ceyx9-xF.js";
|
|
13
13
|
import { t as DropdownComposed } from "./dropdownComposed-W_J_3a8D.js";
|
|
14
14
|
import { t as registerIncodeModuleElement } from "./incodeModule-B-4_3JrK.js";
|
|
15
15
|
import { n as getRequiredHintMode, t as getFieldHint } from "./requiredLabelHint-D0RhuMed.js";
|
|
16
|
-
import { n as AddressAutocomplete, t as getAccessibleOptionLabel } from "./optionAccessibleLabel-
|
|
16
|
+
import { n as AddressAutocomplete, t as getAccessibleOptionLabel } from "./optionAccessibleLabel-DkVt0KwB.js";
|
|
17
17
|
import { t as CountrySelector$1 } from "./countrySelector-DvFXo4Oi.js";
|
|
18
18
|
import { DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager } from "@incodetech/core/ekyb";
|
|
19
19
|
//#region src/modules/ekyb/countrySelector.tsx
|
package/dist/ekyc/ekyc.es.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as EkycModule } from "../ekycModule-
|
|
1
|
+
import { t as EkycModule } from "../ekycModule-daV0VadG.js";
|
|
2
2
|
export { EkycModule };
|
package/dist/ekyc/styles.css
CHANGED
|
@@ -79,9 +79,9 @@
|
|
|
79
79
|
|
|
80
80
|
@media (min-width: 768px) {
|
|
81
81
|
.IncodeEkycPage.IncodePageContainer {
|
|
82
|
-
height: 100dvh;
|
|
83
|
-
max-height: none;
|
|
84
82
|
margin-top: var(--spacing-0, var(--spacing-none, 0px));
|
|
83
|
+
height: 100%;
|
|
84
|
+
max-height: none;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
.IncodeEkycPage .IncodePageInner {
|
|
@@ -6,18 +6,41 @@ import { t as Page } from "./page-DidH_RkX.js";
|
|
|
6
6
|
import { t as Spinner } from "./spinner-BMeIEK1d.js";
|
|
7
7
|
import { t as Button } from "./button-Dz6AsbmF.js";
|
|
8
8
|
import { t as VerificationResult } from "./verificationResult-Omhu8yft.js";
|
|
9
|
-
import { i as translateError, r as FormField, t as RadioGroupComposed } from "./radioGroupComposed-
|
|
9
|
+
import { i as translateError, r as FormField, t as RadioGroupComposed } from "./radioGroupComposed-Ceyx9-xF.js";
|
|
10
10
|
import { t as PhoneInputComposed } from "./phoneInputComposed-B6qzvzgI.js";
|
|
11
11
|
import { t as DropdownComposed } from "./dropdownComposed-W_J_3a8D.js";
|
|
12
12
|
import { t as DateInputComposed } from "./dateInputComposed-b385OXwu.js";
|
|
13
13
|
import { t as registerIncodeModuleElement } from "./incodeModule-B-4_3JrK.js";
|
|
14
14
|
import { n as getRequiredHintMode, t as getFieldHint } from "./requiredLabelHint-D0RhuMed.js";
|
|
15
|
-
import { n as AddressAutocomplete, t as getAccessibleOptionLabel } from "./optionAccessibleLabel-
|
|
15
|
+
import { n as AddressAutocomplete, t as getAccessibleOptionLabel } from "./optionAccessibleLabel-DkVt0KwB.js";
|
|
16
16
|
import { createEkycManager } from "@incodetech/core/ekyc";
|
|
17
17
|
//#region src/modules/ekyc/ekycModule.tsx
|
|
18
|
-
|
|
18
|
+
/**
|
|
19
|
+
* WCAG 2.2 SC 1.3.5 (Identify Input Purpose) — maps eKYC field names to the
|
|
20
|
+
* standard HTML `autocomplete` token so browsers/password managers can offer
|
|
21
|
+
* the right value. Only personal-info fields with an unambiguous token are
|
|
22
|
+
* listed; unmapped fields (IDs, SSNs, dropdowns, address-search combobox) fall
|
|
23
|
+
* through to `undefined`.
|
|
24
|
+
*/
|
|
25
|
+
var EKYC_AUTOCOMPLETE_TOKENS = {
|
|
26
|
+
firstName: "given-name",
|
|
27
|
+
middleName: "additional-name",
|
|
28
|
+
surName: "family-name",
|
|
29
|
+
email: "email",
|
|
30
|
+
phone: "tel",
|
|
31
|
+
city: "address-level2",
|
|
32
|
+
state: "address-level1",
|
|
33
|
+
postalCode: "postal-code",
|
|
34
|
+
dateOfBirth: "bday"
|
|
35
|
+
};
|
|
36
|
+
var getEkycAutocomplete = (name) => EKYC_AUTOCOMPLETE_TOKENS[name];
|
|
37
|
+
var EkycContent = ({ config, manager: externalManager, onFinish }) => {
|
|
19
38
|
const { t } = useTranslation();
|
|
20
|
-
const [state, manager] = useManager(() =>
|
|
39
|
+
const [state, manager] = useManager(() => {
|
|
40
|
+
if (externalManager) return externalManager;
|
|
41
|
+
if (!config) throw new Error("Ekyc config is required when no manager is provided");
|
|
42
|
+
return createEkycManager({ config });
|
|
43
|
+
}, { manageLifecycle: !externalManager });
|
|
21
44
|
useModuleTerminalCallbacks({
|
|
22
45
|
status: state.status === "closed" ? "finished" : state.status,
|
|
23
46
|
onFinish
|
|
@@ -155,6 +178,7 @@ var EkycForm = ({ state, manager }) => {
|
|
|
155
178
|
id: `ekyc-${field.name}`,
|
|
156
179
|
label: dateLabel,
|
|
157
180
|
labelHint,
|
|
181
|
+
autoComplete: getEkycAutocomplete(field.name),
|
|
158
182
|
value: fieldValue,
|
|
159
183
|
error: translateError$1(fieldError),
|
|
160
184
|
disabled: isReadonly,
|
|
@@ -173,6 +197,7 @@ var EkycForm = ({ state, manager }) => {
|
|
|
173
197
|
id: `ekyc-${field.name}`,
|
|
174
198
|
label: phoneLabel,
|
|
175
199
|
labelHint,
|
|
200
|
+
autoComplete: getEkycAutocomplete(field.name),
|
|
176
201
|
countryCode: fieldsCountry,
|
|
177
202
|
value: fieldValue,
|
|
178
203
|
placeholder: field.placeholder,
|
|
@@ -207,6 +232,7 @@ var EkycForm = ({ state, manager }) => {
|
|
|
207
232
|
name: field.name,
|
|
208
233
|
label: field.label,
|
|
209
234
|
displayLabel: field.displayLabel,
|
|
235
|
+
autoComplete: getEkycAutocomplete(field.name),
|
|
210
236
|
value: fieldValue,
|
|
211
237
|
error: fieldError?.key,
|
|
212
238
|
errorParams: fieldError?.params,
|
|
@@ -246,9 +272,10 @@ var EkycForm = ({ state, manager }) => {
|
|
|
246
272
|
})]
|
|
247
273
|
});
|
|
248
274
|
};
|
|
249
|
-
var EkycModule = ({ config, onFinish }) => {
|
|
250
|
-
return /* @__PURE__ */ u(IncodeComponent, { children: config ? /* @__PURE__ */ u(EkycContent, {
|
|
275
|
+
var EkycModule = ({ config, manager, onFinish }) => {
|
|
276
|
+
return /* @__PURE__ */ u(IncodeComponent, { children: config || manager ? /* @__PURE__ */ u(EkycContent, {
|
|
251
277
|
config,
|
|
278
|
+
manager,
|
|
252
279
|
onFinish
|
|
253
280
|
}) : null });
|
|
254
281
|
};
|
package/dist/email/email.es.js
CHANGED
|
@@ -7,7 +7,7 @@ import { t as Page } from "../page-DidH_RkX.js";
|
|
|
7
7
|
import { t as Button } from "../button-Dz6AsbmF.js";
|
|
8
8
|
import { t as OtpInput } from "../otpInput-BxFIc1FA.js";
|
|
9
9
|
import { t as registerIncodeModuleElement } from "../incodeModule-B-4_3JrK.js";
|
|
10
|
-
import { t as EmailInput } from "../emailInput-
|
|
10
|
+
import { t as EmailInput } from "../emailInput-C3SlxU6A.js";
|
|
11
11
|
import { createEmailManager } from "@incodetech/core/email";
|
|
12
12
|
//#region src/modules/email/email.tsx
|
|
13
13
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as useTranslation } from "./i18n-CU4xq8qC.js";
|
|
2
2
|
import { v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
3
|
-
import "./extensibility-
|
|
3
|
+
import "./extensibility-CP2kziBc.js";
|
|
4
4
|
import { t as InputComposed } from "./inputComposed-Dd00iePQ.js";
|
|
5
5
|
//#region src/modules/email/emailInput.tsx
|
|
6
6
|
var EMAIL_REGEX = /^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/;
|
|
@@ -20,7 +20,7 @@ import { t as InputComposed } from "./inputComposed-Dd00iePQ.js";
|
|
|
20
20
|
import "./inputComposed-opx2KOfG.js";
|
|
21
21
|
import "./otpInput-BxFIc1FA.js";
|
|
22
22
|
import "./checkbox-DU3dczAM.js";
|
|
23
|
-
import "./radioGroupComposed-
|
|
23
|
+
import "./radioGroupComposed-Ceyx9-xF.js";
|
|
24
24
|
import "./phoneInputComposed-B6qzvzgI.js";
|
|
25
25
|
import "./dropdownComposed-4yiomZY5.js";
|
|
26
26
|
import "./dateInputComposed-D21Pu12e.js";
|
package/dist/extensibility.es.js
CHANGED
|
@@ -4,7 +4,7 @@ import { l as useScreenOrientation, u as useManager } from "./hooks-CNu7o-v8.js"
|
|
|
4
4
|
import { n as LandscapeBlocker, t as IncodeComponent } from "./incodeComponent-CfzJGETt.js";
|
|
5
5
|
import { r as Spacer } from "./loadingIcon-B0ysgiNq.js";
|
|
6
6
|
import { t as Page } from "./page-DidH_RkX.js";
|
|
7
|
-
import { _ as PasswordInputComposed, c as ManualCapture, d as CameraOverlay, f as VerificationOptionCard, g as SegmentedDateInput, h as TextArea, i as Capture, l as CaptureFooter, m as TextAreaComposed, n as Chooser, o as IdExpired, p as VerificationOptionCardList, r as Tutorial, s as IdError, t as FlipAnimation, u as CameraOverlayHeader, v as ProgressBar, y as Overlay } from "./extensibility-
|
|
7
|
+
import { _ as PasswordInputComposed, c as ManualCapture, d as CameraOverlay, f as VerificationOptionCard, g as SegmentedDateInput, h as TextArea, i as Capture, l as CaptureFooter, m as TextAreaComposed, n as Chooser, o as IdExpired, p as VerificationOptionCardList, r as Tutorial, s as IdError, t as FlipAnimation, u as CameraOverlayHeader, v as ProgressBar, y as Overlay } from "./extensibility-CP2kziBc.js";
|
|
8
8
|
import { a as TypographyH5, i as TypographyH4, n as TypographyH1, o as TypographyP, r as TypographyH3, t as Title } from "./typography-BZIpjo97.js";
|
|
9
9
|
import { t as Spinner } from "./spinner-BMeIEK1d.js";
|
|
10
10
|
import { t as Processing } from "./processing-BeUMfdJJ.js";
|
|
@@ -18,7 +18,7 @@ import { t as VerificationResult } from "./verificationResult-Omhu8yft.js";
|
|
|
18
18
|
import { n as Input, t as InputComposed } from "./inputComposed-Dd00iePQ.js";
|
|
19
19
|
import { t as OtpInput } from "./otpInput-BxFIc1FA.js";
|
|
20
20
|
import { t as Checkbox } from "./checkbox-DU3dczAM.js";
|
|
21
|
-
import { n as RadioButtonComposed, r as FormField, t as RadioGroupComposed } from "./radioGroupComposed-
|
|
21
|
+
import { n as RadioButtonComposed, r as FormField, t as RadioGroupComposed } from "./radioGroupComposed-Ceyx9-xF.js";
|
|
22
22
|
import { i as getCountryByCode, n as countries, r as getCountryByCallingCode, t as PhoneInputComposed } from "./phoneInputComposed-B6qzvzgI.js";
|
|
23
23
|
import { t as DropdownComposed } from "./dropdownComposed-W_J_3a8D.js";
|
|
24
24
|
import { t as DateInputComposed } from "./dateInputComposed-b385OXwu.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as FieldComparison } from "../fieldComparison-
|
|
1
|
+
import { t as FieldComparison } from "../fieldComparison-DxNRWb8x.js";
|
|
2
2
|
export { FieldComparison };
|
|
@@ -4,7 +4,7 @@ import { c as useModuleTerminalCallbacks, u as useManager } from "./hooks-CNu7o-
|
|
|
4
4
|
import { t as IncodeComponent } from "./incodeComponent-CfzJGETt.js";
|
|
5
5
|
import { r as Spacer } from "./loadingIcon-B0ysgiNq.js";
|
|
6
6
|
import { t as Page } from "./page-DidH_RkX.js";
|
|
7
|
-
import "./extensibility-
|
|
7
|
+
import "./extensibility-CP2kziBc.js";
|
|
8
8
|
import { t as Button } from "./button-Dz6AsbmF.js";
|
|
9
9
|
import { t as VerificationResult } from "./verificationResult-Omhu8yft.js";
|
|
10
10
|
import { t as InputComposed } from "./inputComposed-Dd00iePQ.js";
|
|
@@ -4,7 +4,7 @@ import { c as useModuleTerminalCallbacks, u as useManager } from "../hooks-CNu7o
|
|
|
4
4
|
import { t as IncodeComponent } from "../incodeComponent-CfzJGETt.js";
|
|
5
5
|
import { r as Spacer } from "../loadingIcon-B0ysgiNq.js";
|
|
6
6
|
import { t as Page } from "../page-DidH_RkX.js";
|
|
7
|
-
import { d as CameraOverlay, u as CameraOverlayHeader } from "../extensibility-
|
|
7
|
+
import { d as CameraOverlay, u as CameraOverlayHeader } from "../extensibility-CP2kziBc.js";
|
|
8
8
|
import { t as Button } from "../button-Dz6AsbmF.js";
|
|
9
9
|
import { t as VerificationResult } from "../verificationResult-Omhu8yft.js";
|
|
10
10
|
import { n as CameraFrame, t as CameraView } from "../cameraView-DIEzM5ru.js";
|
package/dist/flow/flow.es.js
CHANGED
|
@@ -5,7 +5,7 @@ import { u as useManager } from "../hooks-CNu7o-v8.js";
|
|
|
5
5
|
import { t as IncodeComponent } from "../incodeComponent-CfzJGETt.js";
|
|
6
6
|
import { t as TransitionSpinner } from "../transitionSpinner-CuNCqHNi.js";
|
|
7
7
|
import { t as registerIncodeModuleElement } from "../incodeModule-B-4_3JrK.js";
|
|
8
|
-
import { _ as warmupWasmIfNeeded, a as resolveApiKey, c as HEADLESS_FLOW_MODULE_KEYS, d as fetchTheme, f as initializeFlowManager, h as preloadRedirectToMobile, l as LAZY_UI_MODULES, m as preloadHomeScreen, n as useModulePreloader, o as extractIncodeStatus, p as preloadFirstModule, r as usePrefetchNextModule, s as UnsupportedModule, t as useModuleLoader, u as createFlowManager, y as TerminalErrorPage } from "../useModuleLoader-
|
|
8
|
+
import { _ as warmupWasmIfNeeded, a as resolveApiKey, c as HEADLESS_FLOW_MODULE_KEYS, d as fetchTheme, f as initializeFlowManager, h as preloadRedirectToMobile, l as LAZY_UI_MODULES, m as preloadHomeScreen, n as useModulePreloader, o as extractIncodeStatus, p as preloadFirstModule, r as usePrefetchNextModule, s as UnsupportedModule, t as useModuleLoader, u as createFlowManager, y as TerminalErrorPage } from "../useModuleLoader-DtWjpKDk.js";
|
|
9
9
|
import { getDeviceClass } from "@incodetech/core/device";
|
|
10
10
|
import { getRequiredWasmPipelines } from "@incodetech/core/flow";
|
|
11
11
|
import { bootstrapSession, refreshQrUrlUuid } from "@incodetech/core/session";
|
package/dist/flow/styles.css
CHANGED
|
@@ -7852,9 +7852,9 @@
|
|
|
7852
7852
|
|
|
7853
7853
|
@media (min-width: 768px) {
|
|
7854
7854
|
.IncodeEkycPage.IncodePageContainer {
|
|
7855
|
-
height: 100dvh;
|
|
7856
|
-
max-height: none;
|
|
7857
7855
|
margin-top: var(--spacing-0, var(--spacing-none, 0px));
|
|
7856
|
+
height: 100%;
|
|
7857
|
+
max-height: none;
|
|
7858
7858
|
}
|
|
7859
7859
|
|
|
7860
7860
|
.IncodeEkycPage .IncodePageInner {
|
|
@@ -4,7 +4,7 @@ import { c as useModuleTerminalCallbacks, u as useManager } from "../hooks-CNu7o
|
|
|
4
4
|
import { t as IncodeComponent } from "../incodeComponent-CfzJGETt.js";
|
|
5
5
|
import { r as Spacer } from "../loadingIcon-B0ysgiNq.js";
|
|
6
6
|
import { t as Page } from "../page-DidH_RkX.js";
|
|
7
|
-
import "../extensibility-
|
|
7
|
+
import "../extensibility-CP2kziBc.js";
|
|
8
8
|
import { t as AutoFocusTitle } from "../autoFocusTitle-uXtAKBTO.js";
|
|
9
9
|
import { t as VerificationResult } from "../verificationResult-Omhu8yft.js";
|
|
10
10
|
import { t as OtpInput } from "../otpInput-BxFIc1FA.js";
|
package/dist/id/id.es.js
CHANGED
|
@@ -4,7 +4,7 @@ import { c as useModuleTerminalCallbacks, u as useManager } from "../hooks-CNu7o
|
|
|
4
4
|
import { t as IncodeComponent } from "../incodeComponent-CfzJGETt.js";
|
|
5
5
|
import { n as cn } from "../loadingIcon-B0ysgiNq.js";
|
|
6
6
|
import { t as Page } from "../page-DidH_RkX.js";
|
|
7
|
-
import { a as IdNoAttempts, i as Capture, n as Chooser, o as IdExpired, r as Tutorial, s as IdError, t as FlipAnimation, v as ProgressBar } from "../extensibility-
|
|
7
|
+
import { a as IdNoAttempts, i as Capture, n as Chooser, o as IdExpired, r as Tutorial, s as IdError, t as FlipAnimation, v as ProgressBar } from "../extensibility-CP2kziBc.js";
|
|
8
8
|
import { t as Spinner } from "../spinner-BMeIEK1d.js";
|
|
9
9
|
import "../spinner-BCDCoi9C.js";
|
|
10
10
|
import { t as TransitionSpinner } from "../transitionSpinner-CuNCqHNi.js";
|
|
@@ -3,11 +3,11 @@ import { d as T, v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
|
3
3
|
import { c as useModuleTerminalCallbacks, u as useManager } from "./hooks-CNu7o-v8.js";
|
|
4
4
|
import { t as IncodeComponent } from "./incodeComponent-CfzJGETt.js";
|
|
5
5
|
import { t as Page } from "./page-DidH_RkX.js";
|
|
6
|
-
import "./extensibility-
|
|
6
|
+
import "./extensibility-CP2kziBc.js";
|
|
7
7
|
import { t as Button } from "./button-Dz6AsbmF.js";
|
|
8
8
|
import { t as VerificationResult } from "./verificationResult-Omhu8yft.js";
|
|
9
9
|
import { t as InputComposed } from "./inputComposed-Dd00iePQ.js";
|
|
10
|
-
import { t as RadioGroupComposed } from "./radioGroupComposed-
|
|
10
|
+
import { t as RadioGroupComposed } from "./radioGroupComposed-Ceyx9-xF.js";
|
|
11
11
|
import { t as DateInputComposed } from "./dateInputComposed-b385OXwu.js";
|
|
12
12
|
import { t as registerIncodeModuleElement } from "./incodeModule-B-4_3JrK.js";
|
|
13
13
|
import { n as getRequiredHintMode, t as getFieldHint } from "./requiredLabelHint-D0RhuMed.js";
|
|
@@ -2,7 +2,7 @@ import { n as useTranslation } from "./i18n-CU4xq8qC.js";
|
|
|
2
2
|
import { _ as y, h as q, l as A, p as d, v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
3
3
|
import { a as useIsMobileDeviceWidth } from "./hooks-CNu7o-v8.js";
|
|
4
4
|
import { t as InputComposed } from "./inputComposed-Dd00iePQ.js";
|
|
5
|
-
import { i as translateError } from "./radioGroupComposed-
|
|
5
|
+
import { i as translateError } from "./radioGroupComposed-Ceyx9-xF.js";
|
|
6
6
|
import { t as BottomSheet } from "./bottomSheet-CnWbbUAM.js";
|
|
7
7
|
//#region src/shared/addressAutocomplete/addressAutocomplete.tsx
|
|
8
8
|
var AddressAutocomplete = ({ label, value, error, errorParams, suggestions, readonly, required, labelHint, onChange, onSearch, onSelect, onBlur }) => {
|
|
@@ -32,7 +32,7 @@ function translateError(t, error, params) {
|
|
|
32
32
|
}
|
|
33
33
|
//#endregion
|
|
34
34
|
//#region src/shared/formField/formField.tsx
|
|
35
|
-
var FormField = ({ name, label, displayLabel: displayLabelProp, value = "", error, errorParams, type = "text", placeholder, placeholderParams, required, readonly, maxLength, disabled, labelHint, onChange, onBlur }) => {
|
|
35
|
+
var FormField = ({ name, label, displayLabel: displayLabelProp, value = "", error, errorParams, type = "text", placeholder, placeholderParams, required, readonly, maxLength, disabled, autoComplete, labelHint, onChange, onBlur }) => {
|
|
36
36
|
const { t } = useTranslation();
|
|
37
37
|
return /* @__PURE__ */ u("div", {
|
|
38
38
|
className: "IncodeFormField",
|
|
@@ -42,6 +42,7 @@ var FormField = ({ name, label, displayLabel: displayLabelProp, value = "", erro
|
|
|
42
42
|
labelHint,
|
|
43
43
|
name,
|
|
44
44
|
type,
|
|
45
|
+
autoComplete,
|
|
45
46
|
value,
|
|
46
47
|
placeholder: placeholder ? t(placeholder, placeholderParams) : void 0,
|
|
47
48
|
readOnly: readonly,
|
|
@@ -6,7 +6,7 @@ import { t as IncodeComponent } from "../incodeComponent-CfzJGETt.js";
|
|
|
6
6
|
import { r as Spacer } from "../loadingIcon-B0ysgiNq.js";
|
|
7
7
|
import { t as incode_logo_default } from "../incode-logo-57XFniXU.js";
|
|
8
8
|
import { n as VerifiedByIncodeLogo, r as usePageUiConfig } from "../page-DidH_RkX.js";
|
|
9
|
-
import "../extensibility-
|
|
9
|
+
import "../extensibility-CP2kziBc.js";
|
|
10
10
|
import { t as TransitionSpinner } from "../transitionSpinner-CuNCqHNi.js";
|
|
11
11
|
import { t as Button } from "../button-Dz6AsbmF.js";
|
|
12
12
|
import "../icons-Bi3GbaZc.js";
|
|
@@ -4,7 +4,7 @@ import { c as useModuleTerminalCallbacks, u as useManager } from "../hooks-CNu7o
|
|
|
4
4
|
import { t as IncodeComponent } from "../incodeComponent-CfzJGETt.js";
|
|
5
5
|
import { r as Spacer } from "../loadingIcon-B0ysgiNq.js";
|
|
6
6
|
import { t as Page } from "../page-DidH_RkX.js";
|
|
7
|
-
import "../extensibility-
|
|
7
|
+
import "../extensibility-CP2kziBc.js";
|
|
8
8
|
import { t as Button } from "../button-Dz6AsbmF.js";
|
|
9
9
|
import { t as VerificationResult } from "../verificationResult-Omhu8yft.js";
|
|
10
10
|
import { t as registerIncodeModuleElement } from "../incodeModule-B-4_3JrK.js";
|
package/dist/types/ekyc.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { EkycConfig } from '@incodetech/core/ekyc';
|
|
2
|
+
import { EkycManager } from '@incodetech/core/ekyc';
|
|
2
3
|
import { FC } from 'preact/compat';
|
|
3
4
|
|
|
4
5
|
export declare const EkycModule: FC<EkycModuleProps>;
|
|
5
6
|
|
|
6
|
-
declare type EkycModuleProps = IncodeModuleProps<EkycConfig>;
|
|
7
|
+
declare type EkycModuleProps = IncodeModuleProps<EkycConfig, void, EkycManager>;
|
|
7
8
|
|
|
8
9
|
/**
|
|
9
10
|
* Extra context passed to `onFinish` alongside the result. Lets a host decide
|
|
@@ -375,6 +375,7 @@ declare type FormFieldProps = {
|
|
|
375
375
|
readonly?: boolean;
|
|
376
376
|
maxLength?: number;
|
|
377
377
|
disabled?: boolean;
|
|
378
|
+
autoComplete?: string;
|
|
378
379
|
/**
|
|
379
380
|
* Pre-translated text rendered next to the label (e.g. "(optional)").
|
|
380
381
|
* Forms derive this via the majority rule (`getRequiredHintMode` +
|
|
@@ -295,15 +295,15 @@ var LAZY_UI_MODULES = {
|
|
|
295
295
|
GOVT_VALIDATION_PROVISIONING: () => import("./government-validation/government-validation.es.js").then((m) => m.GovernmentValidation),
|
|
296
296
|
INE_VALIDATION: () => import("./government-validation/government-validation.es.js").then((m) => m.GovernmentValidation),
|
|
297
297
|
GEOLOCATION: () => import("./geolocation/geolocation.es.js").then((m) => m.Geolocation),
|
|
298
|
-
EXTERNAL_VERIFICATION: () => import("./ekycModule-
|
|
299
|
-
EKYB: () => import("./ekybModule-
|
|
300
|
-
DOCUMENT_CAPTURE: () => import("./documentCapture-
|
|
301
|
-
ADDRESS: () => import("./documentCapture-
|
|
298
|
+
EXTERNAL_VERIFICATION: () => import("./ekycModule-BVaeu3_l.js").then((m) => m.EkycModule),
|
|
299
|
+
EKYB: () => import("./ekybModule-BtaABaHv.js").then((m) => m.EkybModule),
|
|
300
|
+
DOCUMENT_CAPTURE: () => import("./documentCapture-l1DB8Zag.js").then((m) => m.DocumentCapture),
|
|
301
|
+
ADDRESS: () => import("./documentCapture-l1DB8Zag.js").then((m) => m.DocumentCapture),
|
|
302
302
|
COMBINED_CONSENT: () => import("./consent/consent.es.js").then((m) => m.Consent),
|
|
303
303
|
MANDATORY_CONSENT: () => import("./mandatoryConsent-KjP5BavC.js").then((m) => m.MandatoryConsent),
|
|
304
304
|
ML_CONSENT: () => import("./mandatoryConsent-KjP5BavC.js").then((m) => m.MandatoryConsent),
|
|
305
305
|
SIGNATURE: () => import("./signature/signature.es.js").then((m) => m.Signature),
|
|
306
|
-
ID_OCR: () => import("./idOcr-
|
|
306
|
+
ID_OCR: () => import("./idOcr-DfIOwlGi.js").then((m) => m.IdOcr),
|
|
307
307
|
CPF_OCR: () => import("./cpfOcr-BQ84bwe3.js").then((m) => m.CpfOcr),
|
|
308
308
|
ANTIFRAUD: () => import("./antifraud/antifraud.es.js").then((m) => m.Antifraud),
|
|
309
309
|
CUSTOM_FIELDS: () => import("./customFields-CExo7_8A.js").then((m) => m.CustomFields),
|
|
@@ -313,9 +313,9 @@ var LAZY_UI_MODULES = {
|
|
|
313
313
|
AE_SIGNATURE: () => import("./ae-signature/ae-signature.es.js").then((m) => m.AeSignature),
|
|
314
314
|
QE_SIGNATURE: () => import("./qe-signature/qe-signature.es.js").then((m) => m.QeSignature),
|
|
315
315
|
CROSS_DOCUMENT_DATA_MATCH: () => import("./cross-document-data-match/cross-document-data-match.es.js").then((m) => m.CrossDocumentDataMatch),
|
|
316
|
-
DYNAMIC_FORMS: () => import("./dynamicForms-
|
|
316
|
+
DYNAMIC_FORMS: () => import("./dynamicForms-D9wzEF4G.js").then((m) => m.DynamicForms),
|
|
317
317
|
CERTIFICATE_ISSUANCE: () => import("./certificate-issuance/certificate-issuance.es.js").then((m) => m.CertificateIssuance),
|
|
318
|
-
FIELD_COMPARISON: () => import("./fieldComparison-
|
|
318
|
+
FIELD_COMPARISON: () => import("./fieldComparison-Cihw46KX.js").then((m) => m.FieldComparison),
|
|
319
319
|
FISCAL_QR: () => import("./fiscal-qr/fiscal-qr.es.js").then((m) => m.FiscalQr),
|
|
320
320
|
VIDEO_ONBOARDING: () => import("./video-selfie/video-selfie.es.js").then((m) => m.VideoSelfie)
|
|
321
321
|
};
|
package/dist/workflow/styles.css
CHANGED
|
@@ -6488,9 +6488,9 @@
|
|
|
6488
6488
|
|
|
6489
6489
|
@media (min-width: 768px) {
|
|
6490
6490
|
.IncodeEkycPage.IncodePageContainer {
|
|
6491
|
-
height: 100dvh;
|
|
6492
|
-
max-height: none;
|
|
6493
6491
|
margin-top: var(--spacing-0, var(--spacing-none, 0px));
|
|
6492
|
+
height: 100%;
|
|
6493
|
+
max-height: none;
|
|
6494
6494
|
}
|
|
6495
6495
|
|
|
6496
6496
|
.IncodeEkycPage .IncodePageInner {
|
|
@@ -7,7 +7,7 @@ import { t as Page } from "../page-DidH_RkX.js";
|
|
|
7
7
|
import { t as TransitionSpinner } from "../transitionSpinner-CuNCqHNi.js";
|
|
8
8
|
import { t as AutoFocusTitle } from "../autoFocusTitle-uXtAKBTO.js";
|
|
9
9
|
import { t as registerIncodeModuleElement } from "../incodeModule-B-4_3JrK.js";
|
|
10
|
-
import { a as resolveApiKey, g as setupSDK, i as HEADLESS_WORKFLOW_MODULE_KEYS, l as LAZY_UI_MODULES, o as extractIncodeStatus, s as UnsupportedModule, t as useModuleLoader, v as fetchAndApplyTheme, y as TerminalErrorPage } from "../useModuleLoader-
|
|
10
|
+
import { a as resolveApiKey, g as setupSDK, i as HEADLESS_WORKFLOW_MODULE_KEYS, l as LAZY_UI_MODULES, o as extractIncodeStatus, s as UnsupportedModule, t as useModuleLoader, v as fetchAndApplyTheme, y as TerminalErrorPage } from "../useModuleLoader-DtWjpKDk.js";
|
|
11
11
|
import { resolveWasmConfig, upgradeToWasmHttpClient, warmupWasm } from "@incodetech/core/wasm";
|
|
12
12
|
import { getDeviceClass } from "@incodetech/core/device";
|
|
13
13
|
import { classifyScoreStatus } from "@incodetech/core/flow";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@incodetech/web",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20260714-84eb7a5b",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/IncodeTechnologies/incode-web-sdk.git"
|
|
@@ -291,7 +291,7 @@
|
|
|
291
291
|
"qrcode": "^1.5.4",
|
|
292
292
|
"signature_pad": "^5.1.3",
|
|
293
293
|
"tailwindcss": "^4.1.17",
|
|
294
|
-
"@incodetech/core": "0.0.0-dev-
|
|
294
|
+
"@incodetech/core": "0.0.0-dev-20260714-84eb7a5b"
|
|
295
295
|
},
|
|
296
296
|
"devDependencies": {
|
|
297
297
|
"@microsoft/api-extractor": "^7.53.3",
|