@incodetech/web 0.0.0-dev-20260403-eccc51c → 0.0.0-dev-20260407-4677d7f

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.
Files changed (164) hide show
  1. package/dist/AsYouType-DPWqJvFu.js +2482 -0
  2. package/dist/addressAutocomplete-t809rK3N.js +108 -0
  3. package/dist/aligndevicelottie-C9xl1spu.js +12757 -0
  4. package/dist/antifraud/antifraud.es.js +17 -18
  5. package/dist/antifraud/styles.css +1 -1
  6. package/dist/authentication/authentication.es.js +28 -50
  7. package/dist/back-horizontal-hint-Be3dUGk6.js +137 -0
  8. package/dist/back-tutorial-BNTyW-1N.js +14584 -0
  9. package/dist/back-vertical-hint-Bz_rnhd-.js +128 -0
  10. package/dist/backdevicelottie-DBB1YCtW.js +16678 -0
  11. package/dist/base.css +327 -67
  12. package/dist/blurdevicelottie-9WvZCZ6C.js +15939 -0
  13. package/dist/browser-ponyfill-B4Qc6yfW.js +299 -0
  14. package/dist/button-DrtZRYJX.js +123 -0
  15. package/dist/checkbox-kZerHUek.js +85 -0
  16. package/dist/consent/consent.es.js +82 -89
  17. package/dist/consent/styles.css +1 -1
  18. package/dist/countries-y2ydYDhN.js +8323 -0
  19. package/dist/curp-validation/curp-validation.es.js +271 -313
  20. package/dist/curp-validation/styles.css +1 -1
  21. package/dist/dateInputComposed-9zbxhNlX.js +94 -0
  22. package/dist/dateInputComposed-B36DI9FJ.js +2 -0
  23. package/dist/defineProperty-brqHEHA_.js +39 -0
  24. package/dist/document-capture/styles.css +1 -1
  25. package/dist/documentCapture-CY-g1OUT.js +784 -0
  26. package/dist/dropdownComposed-CWxUwv7E.js +258 -0
  27. package/dist/ekyb/ekyb.es.js +2 -0
  28. package/dist/ekyb/styles.css +1 -1
  29. package/dist/ekybModule-DGOhCY0S.js +286 -0
  30. package/dist/ekybModule-mBTq_Apn.js +2 -0
  31. package/dist/ekyc/ekyc.es.js +2 -0
  32. package/dist/ekyc/styles.css +1 -1
  33. package/dist/ekycModule-DZlqb6Bc.js +2 -0
  34. package/dist/ekycModule-rJxf46TS.js +233 -0
  35. package/dist/email/email.es.js +110 -154
  36. package/dist/email/styles.css +1 -1
  37. package/dist/extensibility-CcUfegWj.js +2248 -0
  38. package/dist/extensibility.es.js +22 -150
  39. package/dist/face-match/styles.css +147 -73
  40. package/dist/faceMatch-K9k9f1HF.js +191 -0
  41. package/dist/flip-animation-DOJzdXB-.js +6983 -0
  42. package/dist/flow/flow.es.js +2274 -2613
  43. package/dist/flow/styles.css +432 -73
  44. package/dist/formField-BBfAFfVZ.js +100 -0
  45. package/dist/front-horizontal-hint-aGAhadA2.js +380 -0
  46. package/dist/front-vertical-hint-DZz1VeNp.js +420 -0
  47. package/dist/frontdevicelottie-DadDp6be.js +17302 -0
  48. package/dist/geolocation/geolocation.es.js +852 -832
  49. package/dist/geolocation/styles.css +1 -1
  50. package/dist/glaredevicelottie-BfI84cPw.js +14466 -0
  51. package/dist/governmentValidation/governmentValidation.es.js +100 -106
  52. package/dist/governmentValidation/styles.css +1 -1
  53. package/dist/i18n-DZOHbK9q.js +1916 -0
  54. package/dist/icons-BHbofCgJ.js +245 -0
  55. package/dist/id/id.es.js +53 -59
  56. package/dist/id/styles.css +1 -1
  57. package/dist/id-laser-h-BWyU3VgL.js +467 -0
  58. package/dist/id-laser-v-JiWXUlv0.js +467 -0
  59. package/dist/id-tutorial-Cc9xg5_J.js +13152 -0
  60. package/dist/incodeModule-Bf6yJ8RB.js +18 -0
  61. package/dist/index.es.js +4 -25
  62. package/dist/inputComposed-rPAh6ptN.js +77 -0
  63. package/dist/loadingIcon-BDMR5L6z.js +147 -0
  64. package/dist/mandatoryConsent-ohmxTqe7.js +101 -0
  65. package/dist/numberedStep-CQVRixRP.js +11 -0
  66. package/dist/otpInput-DRZiayDi.js +143 -0
  67. package/dist/page-M9yWRw73.js +61 -0
  68. package/dist/passport-horizontal-hint-CFsGs7Dp.js +293 -0
  69. package/dist/passport-tutorial-z0LN7Hsp.js +11688 -0
  70. package/dist/passport-vertical-hint-BnCpKWeN.js +267 -0
  71. package/dist/phone/phone.es.js +87 -121
  72. package/dist/phone/styles.css +1 -1
  73. package/dist/phoneInput-C9T_8FJt.js +138 -0
  74. package/dist/phoneInputComposed-CXTXBQ0B.js +407 -0
  75. package/dist/processing-yJ5QEgaC.js +15 -0
  76. package/dist/redirect-to-mobile/styles.css +1 -1
  77. package/dist/richText-Db0PfpkE.js +1973 -0
  78. package/dist/rolldown-runtime-CjdbFOpI.js +13 -0
  79. package/dist/selfie/selfie.es.js +29 -50
  80. package/dist/selfie/styles.css +170 -66
  81. package/dist/selfieTutorial-B0MIyPrk.js +2676 -0
  82. package/dist/setup-Dq2bzNKH.js +15 -0
  83. package/dist/signature/signature.es.js +557 -707
  84. package/dist/signature/styles.css +1 -1
  85. package/dist/spacer-DCljE53A.js +59 -0
  86. package/dist/spinner-BK2pIUzB.js +41 -0
  87. package/dist/spinner-DjG-sUzI.js +1 -0
  88. package/dist/successIcon-AHrfmJvv.js +17 -0
  89. package/dist/tutorial-C2kSUHWe.js +2781 -0
  90. package/dist/types/ekyb.d.ts +29 -0
  91. package/dist/types/ekyc.d.ts +29 -0
  92. package/dist/types/extensibility.d.ts +3 -5
  93. package/dist/types/flow.d.ts +1 -1
  94. package/dist/types/index.d.ts +2 -10
  95. package/dist/typography-BQrJwR60.js +1 -0
  96. package/dist/typography-BtyuWjzC.js +29 -0
  97. package/dist/uiConfig-CwpQ-IM6.js +20 -0
  98. package/dist/vendor-preact-D6SntenC.js +958 -0
  99. package/dist/warningIcon-Cvj-ayg1.js +17 -0
  100. package/package.json +8 -11
  101. package/dist/AsYouType-D1H_js4X.js +0 -2607
  102. package/dist/Trans-aTzdT_SA.js +0 -55
  103. package/dist/addressAutocomplete-C8-wL1j_.js +0 -153
  104. package/dist/aligndevicelottie-DlQCRPfM.js +0 -29
  105. package/dist/back-horizontal-hint-CSlf9KI1.js +0 -5
  106. package/dist/back-tutorial-An9AcMSe.js +0 -29
  107. package/dist/back-vertical-hint-CNieqiCr.js +0 -5
  108. package/dist/backdevicelottie-B4NgyWmX.js +0 -29
  109. package/dist/blurdevicelottie-_BZRug1c.js +0 -29
  110. package/dist/browser-ponyfill-B6W6hHVY.js +0 -344
  111. package/dist/button-CE9kRlem.js +0 -184
  112. package/dist/cameraView-C2X7klNb.js +0 -55
  113. package/dist/captureOverlay-tCb4R4WE.js +0 -592
  114. package/dist/checkbox-B5X-mfqq.js +0 -137
  115. package/dist/chevronDown-DSHaPKbi.js +0 -23
  116. package/dist/closeIcon-9Hc97omv.js +0 -28
  117. package/dist/countries-DfLkrF0x.js +0 -616
  118. package/dist/dateInputComposed-C7PCzh-U.js +0 -173
  119. package/dist/documentCapture-C0mO-RGE.js +0 -692
  120. package/dist/dropdownComposed-BpinYlrx.js +0 -367
  121. package/dist/ekybModule-Dr6LJUg-.js +0 -357
  122. package/dist/ekycModule-C3mswduI.js +0 -291
  123. package/dist/errorContent-Cb8nmQAE.js +0 -44
  124. package/dist/errorIcon-DEARBrGx.js +0 -26
  125. package/dist/faceMatch-DbDp7D3d.js +0 -237
  126. package/dist/fileIcon-CCSvS10T.js +0 -52
  127. package/dist/flip-animation-COR596wy.js +0 -29
  128. package/dist/flipAnimation-BqV462TA.js +0 -2059
  129. package/dist/formField-CP6wDdfA.js +0 -106
  130. package/dist/front-horizontal-hint-lRLKd7vY.js +0 -7
  131. package/dist/front-vertical-hint-qQoJXRE3.js +0 -7
  132. package/dist/frontdevicelottie-KhKxT5n9.js +0 -29
  133. package/dist/glaredevicelottie-DLuIStvb.js +0 -29
  134. package/dist/id-laser-h-BBV3r3rz.js +0 -29
  135. package/dist/id-laser-v-BTHJaSfx.js +0 -29
  136. package/dist/id-tutorial-B-F5Q28m.js +0 -29
  137. package/dist/incodeModule-C4XIllao.js +0 -96
  138. package/dist/inputComposed-fUbAGrDy.js +0 -103
  139. package/dist/instance-BWYzq8dk.js +0 -2163
  140. package/dist/loadingIcon-DmuPXh70.js +0 -195
  141. package/dist/mandatoryConsent-5xPI0cor.js +0 -94
  142. package/dist/manualCaptureButton-BvFmTyJe.js +0 -372
  143. package/dist/numberedStep-DwUB__mh.js +0 -5
  144. package/dist/otpInput-BFXhqFRT.js +0 -156
  145. package/dist/page-SrUl0qtN.js +0 -69
  146. package/dist/passport-horizontal-hint-BCtpMp1Y.js +0 -5
  147. package/dist/passport-tutorial-CaYBFTqt.js +0 -29
  148. package/dist/passport-vertical-hint-GaLnzqHP.js +0 -5
  149. package/dist/permissions-DT4Fz9MR.js +0 -709
  150. package/dist/phoneInput-CGr8TxOO.js +0 -158
  151. package/dist/phoneInputComposed-Cm9O2Jba.js +0 -206
  152. package/dist/processing-szVOCQwZ.js +0 -19
  153. package/dist/richText-cspvNz2a.js +0 -1807
  154. package/dist/selfieTutorial-Dm_p0ke9.js +0 -29
  155. package/dist/spinner-DygONskw.js +0 -60
  156. package/dist/successIcon-Bjsdc4lF.js +0 -26
  157. package/dist/tutorial-Cdz1025D.js +0 -473
  158. package/dist/types/ekyb/styles.d.ts +0 -1
  159. package/dist/types/ekyc/styles.d.ts +0 -1
  160. package/dist/typography-BDACYR5i.js +0 -14
  161. package/dist/uiConfig-Dnt-2YWB.js +0 -23
  162. package/dist/useMediaQuery-lJdQBmC2.js +0 -18
  163. package/dist/vendor-preact-BoMmvSgn.js +0 -694
  164. package/dist/warningIcon-DQq_MrOB.js +0 -26
@@ -0,0 +1,29 @@
1
+ import { EkybConfig } from '@incodetech/core/ekyb';
2
+ import { FC } from 'preact/compat';
3
+
4
+ export declare const EkybModule: FC<EkybModuleProps>;
5
+
6
+ declare type EkybModuleProps = IncodeModuleProps<EkybConfig>;
7
+
8
+ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown> = {
9
+ /**
10
+ * Module configuration required to render the flow.
11
+ * For Web Components, this is typically assigned via `element.config = ...`.
12
+ */
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;
18
+ /**
19
+ * Callback invoked when the module completes successfully.
20
+ * @param result - Optional result data from the module completion
21
+ */
22
+ onFinish?: (result?: TResult) => void;
23
+ /**
24
+ * Callback invoked when a fatal module error occurs.
25
+ */
26
+ onError?: (error: string | undefined) => void;
27
+ };
28
+
29
+ export { }
@@ -0,0 +1,29 @@
1
+ import { EkycConfig } from '@incodetech/core/ekyc';
2
+ import { FC } from 'preact/compat';
3
+
4
+ export declare const EkycModule: FC<EkycModuleProps>;
5
+
6
+ declare type EkycModuleProps = IncodeModuleProps<EkycConfig>;
7
+
8
+ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown> = {
9
+ /**
10
+ * Module configuration required to render the flow.
11
+ * For Web Components, this is typically assigned via `element.config = ...`.
12
+ */
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;
18
+ /**
19
+ * Callback invoked when the module completes successfully.
20
+ * @param result - Optional result data from the module completion
21
+ */
22
+ onFinish?: (result?: TResult) => void;
23
+ /**
24
+ * Callback invoked when a fatal module error occurs.
25
+ */
26
+ onError?: (error: string | undefined) => void;
27
+ };
28
+
29
+ export { }
@@ -7,13 +7,11 @@ import { HTMLAttributes } from 'preact';
7
7
  import { HTMLAttributes as HTMLAttributes_2 } from 'preact/compat';
8
8
  import { i18n } from 'i18next';
9
9
  import { IdCaptureManager } from '@incodetech/core/id';
10
- import { IdCaptureManager as IdCaptureManager_2 } from '@incodetech/core';
11
10
  import { IdCaptureState } from '@incodetech/core/id';
12
- import { IdCaptureState as IdCaptureState_2 } from '@incodetech/core';
13
11
  import { InputHTMLAttributes } from 'preact';
14
12
  import { JSX } from 'preact';
15
13
  import { default as LightningIcon } from './lightningIcon.svg?react';
16
- import { PermissionStatus as PermissionStatus_2 } from '@incodetech/core';
14
+ import { PermissionStatus as PermissionStatus_2 } from '@incodetech/core/camera';
17
15
  import { PropsWithoutRef } from 'preact/compat';
18
16
  import { Ref } from 'preact';
19
17
  import { SelfieManager } from '@incodetech/core/selfie';
@@ -193,8 +191,8 @@ declare type ChevronRightIconProps = {
193
191
  };
194
192
 
195
193
  declare type ChooserProps = {
196
- manager: IdCaptureManager_2;
197
- state: Extract<IdCaptureState_2, {
194
+ manager: IdCaptureManager;
195
+ state: Extract<IdCaptureState, {
198
196
  status: 'chooser';
199
197
  }>;
200
198
  };
@@ -1,6 +1,6 @@
1
1
  import { FC } from 'preact/compat';
2
2
  import { FinishStatus } from '@incodetech/core/flow';
3
- import { WasmConfig } from '@incodetech/core';
3
+ import { WasmConfig } from '@incodetech/core/wasm';
4
4
 
5
5
  export declare type FlowConfig = {
6
6
  apiURL: string;
@@ -1,6 +1,6 @@
1
- import { DEFAULT_WASM_VERSION } from '@incodetech/core';
1
+ import { DEFAULT_WASM_VERSION } from '@incodetech/core/wasm';
2
2
  import { I18nOptions } from './setup';
3
- import { WasmConfig } from '@incodetech/core';
3
+ import { WasmConfig } from '@incodetech/core/wasm';
4
4
 
5
5
  export { DEFAULT_WASM_VERSION }
6
6
 
@@ -28,12 +28,4 @@ export declare type UiConfig = {
28
28
  hideFooterBranding?: boolean;
29
29
  };
30
30
 
31
- /**
32
- * Hook that returns whether the device is in landscape mode on mobile (excluding iPad and desktop).
33
- * Use this to show a landscape blocker overlay when true.
34
- */
35
- export declare function useScreenOrientation(): {
36
- isLandscapeMobile: boolean;
37
- };
38
-
39
31
  export { }
@@ -0,0 +1 @@
1
+ import "./typography-BtyuWjzC.js";
@@ -0,0 +1,29 @@
1
+ import { a as e, v as t } from "./vendor-preact-D6SntenC.js";
2
+ import { n } from "./loadingIcon-BDMR5L6z.js";
3
+ //#region src/shared/typography/typography.tsx
4
+ var r = e(({ children: e, className: n, ...r }, i) => /* @__PURE__ */ t("h2", {
5
+ ref: i,
6
+ class: `IncodeTitle ${n ?? ""}`,
7
+ ...r,
8
+ children: e
9
+ })), i = ({ children: e, className: r }) => /* @__PURE__ */ t("h1", {
10
+ class: n("IncodeTypographyH1", r),
11
+ children: e
12
+ }), a = ({ children: e, className: n }) => /* @__PURE__ */ t("h2", {
13
+ class: `IncodeTypographyH2 ${n ?? ""}`,
14
+ children: e
15
+ }), o = ({ children: e, className: r }) => /* @__PURE__ */ t("h3", {
16
+ class: n("IncodeTypographyH3", r),
17
+ children: e
18
+ }), s = ({ children: e, className: r }) => /* @__PURE__ */ t("h4", {
19
+ class: n("IncodeTypographyH4", r),
20
+ children: e
21
+ }), c = ({ children: e, className: r }) => /* @__PURE__ */ t("h5", {
22
+ class: n("IncodeTypographyH5", r),
23
+ children: e
24
+ }), l = ({ children: e, className: r }) => /* @__PURE__ */ t("p", {
25
+ class: n("IncodeTypographyP", r),
26
+ children: e
27
+ });
28
+ //#endregion
29
+ export { s as a, o as i, i as n, c as o, a as r, l as s, r as t };
@@ -0,0 +1,20 @@
1
+ import { i as e } from "./vendor-preact-D6SntenC.js";
2
+ //#region src/shared/uiConfig/uiConfig.ts
3
+ var t = {}, n = /* @__PURE__ */ new Set();
4
+ function r(e) {
5
+ return n.add(e), () => {
6
+ n.delete(e);
7
+ };
8
+ }
9
+ function i() {
10
+ return t;
11
+ }
12
+ function a(e) {
13
+ t = e;
14
+ for (let e of n) e();
15
+ }
16
+ function o() {
17
+ return e(r, i);
18
+ }
19
+ //#endregion
20
+ export { o as n, a as t };