@incodetech/web 0.0.0-dev-20260313-486e658 → 0.0.0-dev-20260313-bc2dab4
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/{AsYouType-BtKe6-rC.js → AsYouType-CpH-Rmtj.js} +1 -1
- package/dist/{Trans-C2X8WLEu.js → Trans-CA9a3vKp.js} +1 -1
- package/dist/authentication/authentication.es.js +25 -20
- package/dist/base.css +9 -4
- package/dist/{browser-ponyfill-CLXJUgvu.js → browser-ponyfill-B6W6hHVY.js} +49 -46
- package/dist/{incodeModule-DLGHhn9E.js → button-Ca1tRSTI.js} +153 -239
- package/dist/{captureFooter-C2Yrou50.js → captureFooter-X2qN1773.js} +72 -70
- package/dist/{chevronDown-D5uHEaU-.js → chevronDown-BUaOuf9J.js} +1 -1
- package/dist/{closeIcon-BMPoRQCd.js → closeIcon-BM7WLbKp.js} +1 -1
- package/dist/{countries-3p5tkqcx.js → countries-C9bhJe4u.js} +3 -3
- package/dist/curp-validation/curp-validation.es.js +26 -25
- package/dist/{dateInputComposed-CqHIiKPV.js → dateInputComposed-CvFmQpJ0.js} +11 -10
- package/dist/document-capture/styles.css +1 -0
- package/dist/{documentCapture-CzGmGxzA.js → documentCapture-PdKA2frR.js} +113 -157
- package/dist/{dropdownComposed-BgGKKaXv.js → dropdownComposed-DBm7cotT.js} +8 -6
- package/dist/{ekybModule-Bttpjr3j.js → ekybModule-DiFpO2sE.js} +16 -14
- package/dist/ekycModule-DdD1iChB.js +370 -0
- package/dist/email/email.es.js +86 -63
- package/dist/{errorContent-6xl4ArMV.js → errorContent-yUAdbZ5o.js} +5 -5
- package/dist/{errorIcon-Cxcv4ISP.js → errorIcon-BL647nVh.js} +1 -1
- package/dist/extensibility.es.js +290 -0
- package/dist/face-match/styles.css +8 -0
- package/dist/{faceMatch-DKqzUCml.js → faceMatch-BjdNG_e0.js} +12 -11
- package/dist/fileIcon-DOyMcRWU.js +52 -0
- package/dist/flipAnimation-DoMQoFPb.js +1355 -0
- package/dist/flow/flow.es.js +157 -157
- package/dist/flow/styles.css +15 -3
- package/dist/formField-C91ckby4.js +94 -0
- package/dist/geolocation/geolocation.es.js +15 -14
- package/dist/governmentValidation/governmentValidation.es.js +19 -18
- package/dist/id/id.es.js +30 -1354
- package/dist/id/styles.css +2 -0
- package/dist/incodeModule-aE-LkKwM.js +96 -0
- package/dist/index.es.js +7 -7
- package/dist/{otpInput-BT0ZXrAt.js → otpInput-cazUY73p.js} +1 -1
- package/dist/{page-BJDfLRpO.js → page-BVHG3h0V.js} +1 -1
- package/dist/permissions-DwF2Ez1N.js +754 -0
- package/dist/phone/phone.es.js +53 -30
- package/dist/{phoneInput-d3sq4X5R.js → phoneInput-Duuochsh.js} +4 -4
- package/dist/phoneInputComposed-B1gXoSzr.js +107 -0
- package/dist/{processing-CGb_3dSE.js → processing-CDgOueI3.js} +3 -3
- package/dist/selfie/selfie.es.js +29 -18
- package/dist/selfie/styles.css +12 -3
- package/dist/{spinner--i134wYq.js → spinner-Cx3FPUCD.js} +13 -11
- package/dist/{successIcon-1BcPFhum.js → successIcon-BybULRRU.js} +1 -1
- package/dist/{tutorial-DXgOS41l.js → tutorial-Dagmccxh.js} +21 -21
- package/dist/types/authentication.d.ts +10 -3
- package/dist/types/curp-validation.d.ts +5 -1
- package/dist/types/email.d.ts +8 -3
- package/dist/types/extensibility.d.ts +671 -0
- package/dist/types/flow.d.ts +5 -1
- package/dist/types/geolocation.d.ts +5 -1
- package/dist/types/governmentValidation.d.ts +5 -1
- package/dist/types/id.d.ts +8 -3
- package/dist/types/phone.d.ts +8 -3
- package/dist/types/selfie.d.ts +8 -3
- package/dist/{uiConfig-DisZ_yFB.js → uiConfig-Z6RT23Sl.js} +3 -3
- package/dist/useFormScrollable-3O3GeT4m.js +15 -0
- package/dist/{warningIcon-WqI5X7cK.js → warningIcon-DyoKeqDd.js} +1 -1
- package/package.json +6 -2
- package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
- package/dist/baseTutorial-hbezn8sT.js +0 -755
- package/dist/ekycModule-DfwZMKdL.js +0 -467
- package/dist/verificationResult-CKZqPXb9.js +0 -106
|
@@ -5,12 +5,16 @@ export declare const GovernmentValidation: FC<GovernmentValidationProps>;
|
|
|
5
5
|
|
|
6
6
|
declare type GovernmentValidationProps = IncodeModuleProps<GovernmentValidationConfig>;
|
|
7
7
|
|
|
8
|
-
declare type IncodeModuleProps<TConfig, TResult = void> = {
|
|
8
|
+
declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown> = {
|
|
9
9
|
/**
|
|
10
10
|
* Module configuration required to render the flow.
|
|
11
11
|
* For Web Components, this is typically assigned via `element.config = ...`.
|
|
12
12
|
*/
|
|
13
13
|
config?: TConfig;
|
|
14
|
+
/**
|
|
15
|
+
* Optional pre-built manager. When provided, the module does not create or manage the manager lifecycle.
|
|
16
|
+
*/
|
|
17
|
+
manager?: TManager;
|
|
14
18
|
/**
|
|
15
19
|
* Callback invoked when the module completes successfully.
|
|
16
20
|
* @param result - Optional result data from the module completion
|
package/dist/types/id.d.ts
CHANGED
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
import { FC } from 'preact/compat';
|
|
2
2
|
import { IdCaptureConfig } from '@incodetech/core/id';
|
|
3
|
+
import { IdCaptureManager } from '@incodetech/core/id';
|
|
3
4
|
|
|
4
5
|
export declare const Id: FC<IdProps>;
|
|
5
6
|
|
|
6
|
-
declare type IdProps = IncodeModuleProps<IdCaptureConfig>;
|
|
7
|
+
declare type IdProps = IncodeModuleProps<IdCaptureConfig, void, IdCaptureManager>;
|
|
7
8
|
|
|
8
|
-
declare type IncodeModuleProps<TConfig, TResult = void> = {
|
|
9
|
+
declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown> = {
|
|
9
10
|
/**
|
|
10
11
|
* Module configuration required to render the flow.
|
|
11
12
|
* For Web Components, this is typically assigned via `element.config = ...`.
|
|
12
13
|
*/
|
|
13
14
|
config?: TConfig;
|
|
15
|
+
/**
|
|
16
|
+
* Optional pre-built manager. When provided, the module does not create or manage the manager lifecycle.
|
|
17
|
+
*/
|
|
18
|
+
manager?: TManager;
|
|
14
19
|
/**
|
|
15
20
|
* Callback invoked when the module completes successfully.
|
|
16
21
|
* @param result - Optional result data from the module completion
|
|
@@ -26,6 +31,6 @@ export { }
|
|
|
26
31
|
|
|
27
32
|
declare global {
|
|
28
33
|
interface HTMLElementTagNameMap {
|
|
29
|
-
'incode-id': HTMLElement & IncodeModuleProps<IdCaptureConfig>;
|
|
34
|
+
'incode-id': HTMLElement & IncodeModuleProps<IdCaptureConfig, void, IdCaptureManager>;
|
|
30
35
|
}
|
|
31
36
|
}
|
package/dist/types/phone.d.ts
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import { FC } from 'preact/compat';
|
|
2
2
|
import { PhoneConfig } from '@incodetech/core/phone';
|
|
3
|
+
import { PhoneManager } from '@incodetech/core/phone';
|
|
3
4
|
|
|
4
|
-
declare type IncodeModuleProps<TConfig, TResult = void> = {
|
|
5
|
+
declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown> = {
|
|
5
6
|
/**
|
|
6
7
|
* Module configuration required to render the flow.
|
|
7
8
|
* For Web Components, this is typically assigned via `element.config = ...`.
|
|
8
9
|
*/
|
|
9
10
|
config?: TConfig;
|
|
11
|
+
/**
|
|
12
|
+
* Optional pre-built manager. When provided, the module does not create or manage the manager lifecycle.
|
|
13
|
+
*/
|
|
14
|
+
manager?: TManager;
|
|
10
15
|
/**
|
|
11
16
|
* Callback invoked when the module completes successfully.
|
|
12
17
|
* @param result - Optional result data from the module completion
|
|
@@ -47,12 +52,12 @@ export declare const Phone: FC<PhoneProps>;
|
|
|
47
52
|
/**
|
|
48
53
|
* Props for the Phone component
|
|
49
54
|
*/
|
|
50
|
-
declare type PhoneProps = IncodeModuleProps<PhoneConfig>;
|
|
55
|
+
declare type PhoneProps = IncodeModuleProps<PhoneConfig, void, PhoneManager>;
|
|
51
56
|
|
|
52
57
|
export { }
|
|
53
58
|
|
|
54
59
|
declare global {
|
|
55
60
|
interface HTMLElementTagNameMap {
|
|
56
|
-
'incode-phone': HTMLElement & IncodeModuleProps<PhoneConfig>;
|
|
61
|
+
'incode-phone': HTMLElement & IncodeModuleProps<PhoneConfig, void, PhoneManager>;
|
|
57
62
|
}
|
|
58
63
|
}
|
package/dist/types/selfie.d.ts
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import { FC } from 'preact/compat';
|
|
2
2
|
import { SelfieConfig } from '@incodetech/core/selfie';
|
|
3
|
+
import { SelfieManager } from '@incodetech/core/selfie';
|
|
3
4
|
|
|
4
|
-
declare type IncodeModuleProps<TConfig, TResult = void> = {
|
|
5
|
+
declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown> = {
|
|
5
6
|
/**
|
|
6
7
|
* Module configuration required to render the flow.
|
|
7
8
|
* For Web Components, this is typically assigned via `element.config = ...`.
|
|
8
9
|
*/
|
|
9
10
|
config?: TConfig;
|
|
11
|
+
/**
|
|
12
|
+
* Optional pre-built manager. When provided, the module does not create or manage the manager lifecycle.
|
|
13
|
+
*/
|
|
14
|
+
manager?: TManager;
|
|
10
15
|
/**
|
|
11
16
|
* Callback invoked when the module completes successfully.
|
|
12
17
|
* @param result - Optional result data from the module completion
|
|
@@ -20,12 +25,12 @@ declare type IncodeModuleProps<TConfig, TResult = void> = {
|
|
|
20
25
|
|
|
21
26
|
export declare const Selfie: FC<SelfieProps>;
|
|
22
27
|
|
|
23
|
-
declare type SelfieProps = IncodeModuleProps<SelfieConfig>;
|
|
28
|
+
declare type SelfieProps = IncodeModuleProps<SelfieConfig, void, SelfieManager>;
|
|
24
29
|
|
|
25
30
|
export { }
|
|
26
31
|
|
|
27
32
|
declare global {
|
|
28
33
|
interface HTMLElementTagNameMap {
|
|
29
|
-
'incode-selfie': HTMLElement & IncodeModuleProps<SelfieConfig>;
|
|
34
|
+
'incode-selfie': HTMLElement & IncodeModuleProps<SelfieConfig, void, SelfieManager>;
|
|
30
35
|
}
|
|
31
36
|
}
|
|
@@ -1732,7 +1732,7 @@ typeof ActiveXObject == "function" && (typeof global < "u" && global.ActiveXObje
|
|
|
1732
1732
|
typeof E != "function" && (E = void 0);
|
|
1733
1733
|
if (!E && !X && !ee)
|
|
1734
1734
|
try {
|
|
1735
|
-
import("./browser-ponyfill-
|
|
1735
|
+
import("./browser-ponyfill-B6W6hHVY.js").then((s) => s.b).then(function(s) {
|
|
1736
1736
|
E = s.default;
|
|
1737
1737
|
}).catch(function() {
|
|
1738
1738
|
});
|
|
@@ -2174,10 +2174,10 @@ function pn() {
|
|
|
2174
2174
|
return ot(on, an);
|
|
2175
2175
|
}
|
|
2176
2176
|
export {
|
|
2177
|
-
|
|
2177
|
+
pn as a,
|
|
2178
2178
|
cn as b,
|
|
2179
2179
|
rn as c,
|
|
2180
2180
|
dn as g,
|
|
2181
2181
|
hn as s,
|
|
2182
|
-
|
|
2182
|
+
fn as u
|
|
2183
2183
|
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { d as n, y as i } from "./vendor-preact-BXf0bkEs.js";
|
|
2
|
+
function a(r, c) {
|
|
3
|
+
const [s, l] = n(!1);
|
|
4
|
+
return i(() => {
|
|
5
|
+
const e = r.current;
|
|
6
|
+
if (!e) return;
|
|
7
|
+
const o = () => l(e.scrollHeight > e.clientHeight);
|
|
8
|
+
o();
|
|
9
|
+
const t = new ResizeObserver(o);
|
|
10
|
+
return t.observe(e), () => t.disconnect();
|
|
11
|
+
}, [c, r]), s;
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
a as u
|
|
15
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@incodetech/web",
|
|
3
|
-
"version": "0.0.0-dev-20260313-
|
|
3
|
+
"version": "0.0.0-dev-20260313-bc2dab4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.es.js",
|
|
6
6
|
"types": "./dist/types/index.d.ts",
|
|
@@ -95,6 +95,10 @@
|
|
|
95
95
|
"./document-capture/styles.css": {
|
|
96
96
|
"default": "./dist/document-capture/styles.css"
|
|
97
97
|
},
|
|
98
|
+
"./extensibility": {
|
|
99
|
+
"types": "./dist/types/extensibility.d.ts",
|
|
100
|
+
"import": "./dist/extensibility.es.js"
|
|
101
|
+
},
|
|
98
102
|
"./redirect-to-mobile": {
|
|
99
103
|
"types": "./dist/types/redirect-to-mobile.d.ts",
|
|
100
104
|
"import": "./dist/redirect-to-mobile/redirect-to-mobile.es.js"
|
|
@@ -115,7 +119,7 @@
|
|
|
115
119
|
"preact-custom-element": "^4.6.0",
|
|
116
120
|
"qrcode": "^1.5.4",
|
|
117
121
|
"tailwindcss": "^4.1.17",
|
|
118
|
-
"@incodetech/core": "0.0.0-dev-20260313-
|
|
122
|
+
"@incodetech/core": "0.0.0-dev-20260313-bc2dab4"
|
|
119
123
|
},
|
|
120
124
|
"devDependencies": {
|
|
121
125
|
"@microsoft/api-extractor": "^7.53.3",
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
var o = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
2
|
-
function l(e) {
|
|
3
|
-
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
4
|
-
}
|
|
5
|
-
export {
|
|
6
|
-
o as c,
|
|
7
|
-
l as g
|
|
8
|
-
};
|