@incodetech/web 2.0.0-rc.0 → 2.0.0

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 (178) hide show
  1. package/package.json +3 -3
  2. package/dist/ae-signature/ae-signature.es.js +0 -15
  3. package/dist/ae-signature/styles.css +0 -348
  4. package/dist/ae-signature/styles2.css +0 -107
  5. package/dist/aligndevicelottie-DoV8xKjh.js +0 -12757
  6. package/dist/antifraud/antifraud.es.js +0 -18
  7. package/dist/antifraud/styles.css +0 -2
  8. package/dist/authentication/authentication.es.js +0 -29
  9. package/dist/autoFocusTitle-QexamZ4i.js +0 -16
  10. package/dist/back-horizontal-hint-B8Brxh3U.js +0 -137
  11. package/dist/back-tutorial-1NOQobGO.js +0 -14585
  12. package/dist/back-vertical-hint-BBo36dxn.js +0 -128
  13. package/dist/backdevicelottie-C_ceuqY7.js +0 -16678
  14. package/dist/base.css +0 -5818
  15. package/dist/blurdevicelottie-UO14Y0WC.js +0 -15939
  16. package/dist/bottomSheet-DE_8TFEC.js +0 -31
  17. package/dist/browser-ponyfill-jOkuz57z.js +0 -299
  18. package/dist/button-DcCUEn2n.js +0 -24
  19. package/dist/checkbox-Cl57ltq_.js +0 -85
  20. package/dist/consent/consent.es.js +0 -90
  21. package/dist/consent/styles.css +0 -116
  22. package/dist/countrySelector-CE-JgIsv.js +0 -58
  23. package/dist/cpf-ocr/styles.css +0 -45
  24. package/dist/cpfOcr-D_tbwbvh.js +0 -78
  25. package/dist/cross-document-data-match/cross-document-data-match.es.js +0 -18
  26. package/dist/curp-validation/curp-validation.es.js +0 -279
  27. package/dist/curp-validation/styles.css +0 -82
  28. package/dist/custom-fields/styles.css +0 -22
  29. package/dist/customFields-CW38fQUv.js +0 -127
  30. package/dist/customWatchlist-D9_yjEQd.js +0 -33
  31. package/dist/dateInputComposed-BpAGsjN6.js +0 -55
  32. package/dist/dateInputComposed-DU3o6PAV.js +0 -1
  33. package/dist/defineProperty-Dh8nSJpJ.js +0 -39
  34. package/dist/document-capture/styles.css +0 -367
  35. package/dist/documentCapture-xX-JT7ZY.js +0 -763
  36. package/dist/dropdownComposed-DFRBG22E.js +0 -284
  37. package/dist/dropdownComposed-DwTzc2YU.js +0 -1
  38. package/dist/dynamic-forms/styles.css +0 -36
  39. package/dist/dynamicForms-CJP1Ia6Q.js +0 -262
  40. package/dist/ekyb/ekyb.es.js +0 -2
  41. package/dist/ekyb/styles.css +0 -137
  42. package/dist/ekybModule-BSs7mndb.js +0 -280
  43. package/dist/ekybModule-D9M3E2Gm.js +0 -2
  44. package/dist/ekyc/ekyc.es.js +0 -2
  45. package/dist/ekyc/styles.css +0 -106
  46. package/dist/ekycModule-CU9pt5YN.js +0 -246
  47. package/dist/ekycModule-CZw9cLno.js +0 -2
  48. package/dist/electronic-signature/electronic-signature.es.js +0 -2
  49. package/dist/electronic-signature-COYXjGdd.js +0 -410
  50. package/dist/email/email.es.js +0 -87
  51. package/dist/email/styles.css +0 -12
  52. package/dist/emailInput-DppGf9pv.js +0 -37
  53. package/dist/expiredId-BnmzE8T3.js +0 -70
  54. package/dist/extensibility-CzEJfRwo.js +0 -2586
  55. package/dist/extensibility.es.js +0 -25
  56. package/dist/face-match/face-match.es.js +0 -2
  57. package/dist/face-match/styles.css +0 -910
  58. package/dist/faceMatch-B8j0g0Yo.js +0 -2
  59. package/dist/faceMatch-BV8UD7tj.js +0 -201
  60. package/dist/flip-animation-CgwRsEmK.js +0 -6983
  61. package/dist/flow/flow.es.js +0 -661
  62. package/dist/flow/styles.css +0 -5205
  63. package/dist/front-horizontal-hint-DGGGi8e1.js +0 -380
  64. package/dist/front-vertical-hint-CNr5mE6Q.js +0 -420
  65. package/dist/frontdevicelottie-Bu6f9fDE.js +0 -17302
  66. package/dist/geolocation/geolocation.es.js +0 -857
  67. package/dist/geolocation/styles.css +0 -158
  68. package/dist/glaredevicelottie-B10axYs_.js +0 -14466
  69. package/dist/governmentValidation/governmentValidation.es.js +0 -98
  70. package/dist/governmentValidation/styles.css +0 -58
  71. package/dist/homeScreen-DnP1jw9A.js +0 -227
  72. package/dist/hooks-BVnGysT7.js +0 -80
  73. package/dist/i18n-9s4OSqwi.js +0 -2010
  74. package/dist/icons-Cc7zwchP.js +0 -310
  75. package/dist/id/id.es.js +0 -832
  76. package/dist/id/styles.css +0 -1287
  77. package/dist/id-laser-h-mBAzHVOK.js +0 -467
  78. package/dist/id-laser-v-CrFg4bcJ.js +0 -483
  79. package/dist/id-ocr/styles.css +0 -46
  80. package/dist/id-tutorial-BCr42Pnn.js +0 -13153
  81. package/dist/id-verification/id-verification.es.js +0 -20
  82. package/dist/idOcr-CCjfWQvH.js +0 -94
  83. package/dist/identity-reuse/identity-reuse.es.js +0 -198
  84. package/dist/identity-reuse/styles.css +0 -163
  85. package/dist/incode-logo-DX016usY.js +0 -4
  86. package/dist/incodeComponent-C1o4M0ZK.js +0 -50
  87. package/dist/incodeModule-BqCjVgEI.js +0 -18
  88. package/dist/index.es.js +0 -16
  89. package/dist/inputComposed-APSw8C7o.js +0 -89
  90. package/dist/inputComposed-XYrarFxS.js +0 -1
  91. package/dist/loadingIcon-BN5YRQUb.js +0 -104
  92. package/dist/mandatoryConsent-DssKMC3v.js +0 -100
  93. package/dist/modal-NMxsQHAO.js +0 -135
  94. package/dist/modal.hooks-CAjcIFZK.js +0 -126
  95. package/dist/numberedStep-CT-alrK5.js +0 -11
  96. package/dist/optionAccessibleLabel-CzEeX3Q4.js +0 -140
  97. package/dist/otpInput-DqRA_egd.js +0 -145
  98. package/dist/page-C1yT4DLb.js +0 -69
  99. package/dist/passport-horizontal-hint-Bgquwtac.js +0 -293
  100. package/dist/passport-tutorial-DwRwtPVX.js +0 -11689
  101. package/dist/passport-vertical-hint-BT1D5BrW.js +0 -267
  102. package/dist/pdf-BurGZ08w.js +0 -14967
  103. package/dist/pdfViewer-BGBNL1Ea.js +0 -63
  104. package/dist/phone/phone.es.js +0 -98
  105. package/dist/phone/styles.css +0 -11
  106. package/dist/phoneInputComposed-bvWhGLFZ.js +0 -11206
  107. package/dist/processing-G_y3o32b.js +0 -6
  108. package/dist/qe-signature/qe-signature.es.js +0 -15
  109. package/dist/radioGroupComposed-BbmvxmD2.js +0 -177
  110. package/dist/redirect-to-mobile/styles.css +0 -588
  111. package/dist/redirectToMobile-C3k1gloW.js +0 -1514
  112. package/dist/requiredLabelHint-BLwgqozE.js +0 -13
  113. package/dist/richText-DbJ5sl2n.js +0 -1973
  114. package/dist/rolldown-runtime-CYMK-g2i.js +0 -20
  115. package/dist/selfie/selfie.es.js +0 -43
  116. package/dist/selfie/styles.css +0 -706
  117. package/dist/selfieTutorial-BgrlUMXP.js +0 -2677
  118. package/dist/signature/signature.es.js +0 -546
  119. package/dist/snackbar-BDp8x7Cv.js +0 -14
  120. package/dist/spinner-B4dcie2T.js +0 -1
  121. package/dist/spinner-CKnjVHxw.js +0 -39
  122. package/dist/statusPage-CUI7ApcU.js +0 -28
  123. package/dist/successIcon-DbILeIz_.js +0 -28
  124. package/dist/tabs-DaPyP71c.js +0 -78
  125. package/dist/themes/dark.css +0 -1347
  126. package/dist/themes/light.css +0 -1225
  127. package/dist/transitionSpinner-PIEPU2Vx.js +0 -17
  128. package/dist/tutorial-9vHAHvMK.js +0 -2587
  129. package/dist/types/ae-signature.d.ts +0 -40
  130. package/dist/types/antifraud.d.ts +0 -40
  131. package/dist/types/authentication.d.ts +0 -45
  132. package/dist/types/base.d.ts +0 -1
  133. package/dist/types/consent.d.ts +0 -41
  134. package/dist/types/cpf-ocr/styles.d.ts +0 -1
  135. package/dist/types/cross-document-data-match.d.ts +0 -34
  136. package/dist/types/curp-validation.d.ts +0 -40
  137. package/dist/types/custom-fields/styles.d.ts +0 -1
  138. package/dist/types/dark.d.ts +0 -1
  139. package/dist/types/document-capture/styles.d.ts +0 -1
  140. package/dist/types/dynamic-forms/styles.d.ts +0 -1
  141. package/dist/types/ekyb.d.ts +0 -34
  142. package/dist/types/ekyc.d.ts +0 -34
  143. package/dist/types/electronic-signature.d.ts +0 -43
  144. package/dist/types/email.d.ts +0 -67
  145. package/dist/types/extensibility.d.ts +0 -981
  146. package/dist/types/face-match.d.ts +0 -59
  147. package/dist/types/flow.d.ts +0 -137
  148. package/dist/types/geolocation.d.ts +0 -41
  149. package/dist/types/governmentValidation.d.ts +0 -34
  150. package/dist/types/id-ocr/styles.d.ts +0 -1
  151. package/dist/types/id-verification.d.ts +0 -40
  152. package/dist/types/id.d.ts +0 -41
  153. package/dist/types/identity-reuse.d.ts +0 -43
  154. package/dist/types/index.d.ts +0 -32
  155. package/dist/types/light.d.ts +0 -1
  156. package/dist/types/mandatory-consent/styles.d.ts +0 -1
  157. package/dist/types/phone.d.ts +0 -68
  158. package/dist/types/qe-signature.d.ts +0 -40
  159. package/dist/types/redirect-to-mobile/styles.d.ts +0 -1
  160. package/dist/types/selfie.d.ts +0 -41
  161. package/dist/types/signature.d.ts +0 -40
  162. package/dist/types/styles.d.ts +0 -1
  163. package/dist/types/themes/dark.d.ts +0 -1
  164. package/dist/types/themes/light.d.ts +0 -1
  165. package/dist/types/watchlist-for-business/styles.d.ts +0 -1
  166. package/dist/types/watchlist.d.ts +0 -40
  167. package/dist/types/workflow.d.ts +0 -91
  168. package/dist/typography-CxjaknHN.js +0 -28
  169. package/dist/uiConfig-CwpQ-IM6.js +0 -20
  170. package/dist/useModuleLoader-BFiVA41N.js +0 -432
  171. package/dist/vendor-preact-D6SntenC.js +0 -958
  172. package/dist/verificationResult-BrVbUJ4U.js +0 -97
  173. package/dist/verifiedByIncode-ChZBpqNy.js +0 -101
  174. package/dist/watchlist/watchlist.es.js +0 -33
  175. package/dist/watchlist-for-business/styles.css +0 -18
  176. package/dist/watchlistForBusiness-BcSNtHCV.js +0 -77
  177. package/dist/workflow/styles.css +0 -4612
  178. package/dist/workflow/workflow.es.js +0 -244
@@ -1,40 +0,0 @@
1
- import { AeSignatureConfig } from '@incodetech/core/ae-signature';
2
- import { FC } from 'preact/compat';
3
-
4
- export declare const AeSignature: FC<AeSignatureModuleProps>;
5
-
6
- declare type AeSignatureModuleProps = IncodeModuleProps<AeSignatureConfig>;
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
- * @param error - Human-readable error message.
27
- * @param errorCode - Optional numeric code (e.g. HTTP status). Populated by
28
- * the workflow and flow modules on QR validation failures —
29
- * `4026` (`expiredUUID`), `4081` (`invalidQRuuid`) or `4083` (`onboardingUrlAlreadyUsed`).
30
- */
31
- onError?: (error: string | undefined, errorCode?: number) => void;
32
- };
33
-
34
- export { }
35
-
36
- declare global {
37
- interface HTMLElementTagNameMap {
38
- 'incode-ae-signature': HTMLElement & IncodeModuleProps<AeSignatureConfig>;
39
- }
40
- }
@@ -1,40 +0,0 @@
1
- import { AntifraudConfig } from '@incodetech/core/antifraud';
2
- import { FC } from 'preact/compat';
3
-
4
- export declare const Antifraud: FC<AntifraudProps>;
5
-
6
- declare type AntifraudProps = IncodeModuleProps<AntifraudConfig>;
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
- * @param error - Human-readable error message.
27
- * @param errorCode - Optional numeric code (e.g. HTTP status). Populated by
28
- * the workflow and flow modules on QR validation failures —
29
- * `4026` (`expiredUUID`), `4081` (`invalidQRuuid`) or `4083` (`onboardingUrlAlreadyUsed`).
30
- */
31
- onError?: (error: string | undefined, errorCode?: number) => void;
32
- };
33
-
34
- export { }
35
-
36
- declare global {
37
- interface HTMLElementTagNameMap {
38
- 'incode-antifraud': HTMLElement & IncodeModuleProps<AntifraudConfig>;
39
- }
40
- }
@@ -1,45 +0,0 @@
1
- import { AuthenticationConfig } from '@incodetech/core/authentication';
2
- import { AuthenticationManager } from '@incodetech/core/authentication';
3
- import { FC } from 'preact/compat';
4
-
5
- export declare const Authentication: FC<AuthenticationProps>;
6
-
7
- declare type AuthenticationProps = IncodeModuleProps<AuthenticationConfig & {
8
- authHint?: string;
9
- }, void, AuthenticationManager>;
10
-
11
- declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown> = {
12
- /**
13
- * Module configuration required to render the flow.
14
- * For Web Components, this is typically assigned via `element.config = ...`.
15
- */
16
- config?: TConfig;
17
- /**
18
- * Optional pre-built manager. When provided, the module does not create or manage the manager lifecycle.
19
- */
20
- manager?: TManager;
21
- /**
22
- * Callback invoked when the module completes successfully.
23
- * @param result - Optional result data from the module completion
24
- */
25
- onFinish?: (result?: TResult) => void;
26
- /**
27
- * Callback invoked when a fatal module error occurs.
28
- *
29
- * @param error - Human-readable error message.
30
- * @param errorCode - Optional numeric code (e.g. HTTP status). Populated by
31
- * the workflow and flow modules on QR validation failures —
32
- * `4026` (`expiredUUID`), `4081` (`invalidQRuuid`) or `4083` (`onboardingUrlAlreadyUsed`).
33
- */
34
- onError?: (error: string | undefined, errorCode?: number) => void;
35
- };
36
-
37
- export { }
38
-
39
- declare global {
40
- interface HTMLElementTagNameMap {
41
- 'incode-authentication': HTMLElement & IncodeModuleProps<AuthenticationConfig & { authHint?: string },
42
- void,
43
- AuthenticationManager>;
44
- }
45
- }
@@ -1 +0,0 @@
1
- export { }
@@ -1,41 +0,0 @@
1
- import { ConsentConfig } from '@incodetech/core/consent';
2
- import { ConsentManager } from '@incodetech/core/consent';
3
- import { FC } from 'preact/compat';
4
-
5
- export declare const Consent: FC<ConsentProps>;
6
-
7
- declare type ConsentProps = IncodeModuleProps<ConsentConfig, void, ConsentManager>;
8
-
9
- declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown> = {
10
- /**
11
- * Module configuration required to render the flow.
12
- * For Web Components, this is typically assigned via `element.config = ...`.
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;
19
- /**
20
- * Callback invoked when the module completes successfully.
21
- * @param result - Optional result data from the module completion
22
- */
23
- onFinish?: (result?: TResult) => void;
24
- /**
25
- * Callback invoked when a fatal module error occurs.
26
- *
27
- * @param error - Human-readable error message.
28
- * @param errorCode - Optional numeric code (e.g. HTTP status). Populated by
29
- * the workflow and flow modules on QR validation failures —
30
- * `4026` (`expiredUUID`), `4081` (`invalidQRuuid`) or `4083` (`onboardingUrlAlreadyUsed`).
31
- */
32
- onError?: (error: string | undefined, errorCode?: number) => void;
33
- };
34
-
35
- export { }
36
-
37
- declare global {
38
- interface HTMLElementTagNameMap {
39
- 'incode-consent': HTMLElement & IncodeModuleProps<ConsentConfig, void, ConsentManager>;
40
- }
41
- }
@@ -1 +0,0 @@
1
- export {}
@@ -1,34 +0,0 @@
1
- import { CrossDocumentDataMatchConfig } from '@incodetech/core/cross-document-data-match';
2
- import { FC } from 'preact/compat';
3
-
4
- export declare const CrossDocumentDataMatch: FC<CrossDocumentDataMatchProps>;
5
-
6
- declare type CrossDocumentDataMatchProps = IncodeModuleProps<CrossDocumentDataMatchConfig>;
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
- * @param error - Human-readable error message.
27
- * @param errorCode - Optional numeric code (e.g. HTTP status). Populated by
28
- * the workflow and flow modules on QR validation failures —
29
- * `4026` (`expiredUUID`), `4081` (`invalidQRuuid`) or `4083` (`onboardingUrlAlreadyUsed`).
30
- */
31
- onError?: (error: string | undefined, errorCode?: number) => void;
32
- };
33
-
34
- export { }
@@ -1,40 +0,0 @@
1
- import { CurpValidationConfig } from '@incodetech/core/curp-validation';
2
- import { FC } from 'preact/compat';
3
-
4
- export declare const CurpValidation: FC<CurpValidationProps>;
5
-
6
- declare type CurpValidationProps = IncodeModuleProps<CurpValidationConfig>;
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
- * @param error - Human-readable error message.
27
- * @param errorCode - Optional numeric code (e.g. HTTP status). Populated by
28
- * the workflow and flow modules on QR validation failures —
29
- * `4026` (`expiredUUID`), `4081` (`invalidQRuuid`) or `4083` (`onboardingUrlAlreadyUsed`).
30
- */
31
- onError?: (error: string | undefined, errorCode?: number) => void;
32
- };
33
-
34
- export { }
35
-
36
- declare global {
37
- interface HTMLElementTagNameMap {
38
- 'incode-curp-validation': HTMLElement & IncodeModuleProps<CurpValidationConfig>;
39
- }
40
- }
@@ -1 +0,0 @@
1
- export {}
@@ -1 +0,0 @@
1
- export { }
@@ -1 +0,0 @@
1
- export {}
@@ -1 +0,0 @@
1
- export {}
@@ -1,34 +0,0 @@
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
- * @param error - Human-readable error message.
27
- * @param errorCode - Optional numeric code (e.g. HTTP status). Populated by
28
- * the workflow and flow modules on QR validation failures —
29
- * `4026` (`expiredUUID`), `4081` (`invalidQRuuid`) or `4083` (`onboardingUrlAlreadyUsed`).
30
- */
31
- onError?: (error: string | undefined, errorCode?: number) => void;
32
- };
33
-
34
- export { }
@@ -1,34 +0,0 @@
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
- * @param error - Human-readable error message.
27
- * @param errorCode - Optional numeric code (e.g. HTTP status). Populated by
28
- * the workflow and flow modules on QR validation failures —
29
- * `4026` (`expiredUUID`), `4081` (`invalidQRuuid`) or `4083` (`onboardingUrlAlreadyUsed`).
30
- */
31
- onError?: (error: string | undefined, errorCode?: number) => void;
32
- };
33
-
34
- export { }
@@ -1,43 +0,0 @@
1
- import { ElectronicSignatureConfig } from '@incodetech/core/electronic-signature';
2
- import { FC } from 'preact/compat';
3
-
4
- /** @deprecated Use {@link ElectronicSignature} */
5
- export declare const AeSignature: FC<ElectronicSignatureModuleProps>;
6
-
7
- export declare const ElectronicSignature: FC<ElectronicSignatureModuleProps>;
8
-
9
- declare type ElectronicSignatureModuleProps = IncodeModuleProps<ElectronicSignatureConfig>;
10
-
11
- declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown> = {
12
- /**
13
- * Module configuration required to render the flow.
14
- * For Web Components, this is typically assigned via `element.config = ...`.
15
- */
16
- config?: TConfig;
17
- /**
18
- * Optional pre-built manager. When provided, the module does not create or manage the manager lifecycle.
19
- */
20
- manager?: TManager;
21
- /**
22
- * Callback invoked when the module completes successfully.
23
- * @param result - Optional result data from the module completion
24
- */
25
- onFinish?: (result?: TResult) => void;
26
- /**
27
- * Callback invoked when a fatal module error occurs.
28
- *
29
- * @param error - Human-readable error message.
30
- * @param errorCode - Optional numeric code (e.g. HTTP status). Populated by
31
- * the workflow and flow modules on QR validation failures —
32
- * `4026` (`expiredUUID`), `4081` (`invalidQRuuid`) or `4083` (`onboardingUrlAlreadyUsed`).
33
- */
34
- onError?: (error: string | undefined, errorCode?: number) => void;
35
- };
36
-
37
- export { }
38
-
39
- declare global {
40
- interface HTMLElementTagNameMap {
41
- 'incode-electronic-signature': HTMLElement & IncodeModuleProps<ElectronicSignatureConfig>;
42
- }
43
- }
@@ -1,67 +0,0 @@
1
- import { EmailConfig } from '@incodetech/core/email';
2
- import { EmailManager } from '@incodetech/core/email';
3
- import { FC } from 'preact/compat';
4
-
5
- /**
6
- * Email verification UI component.
7
- *
8
- * Provides a complete email verification experience including:
9
- * - Email address input with validation
10
- * - OTP code entry with resend functionality
11
- * - Loading states and error handling
12
- *
13
- * @example Basic usage
14
- * ```tsx
15
- * <Email
16
- * config={{
17
- * otpVerification: true,
18
- * otpExpirationInMinutes: 5,
19
- * prefill: false,
20
- * }}
21
- * onFinish={() => router.push('/next-step')}
22
- * onError={(err) => toast.error(err)}
23
- * />
24
- * ```
25
- *
26
- * @see {@link createEmailManager} for headless usage
27
- */
28
- export declare const Email: FC<EmailProps>;
29
-
30
- /**
31
- * Props for the Email component
32
- */
33
- declare type EmailProps = IncodeModuleProps<EmailConfig, void, EmailManager>;
34
-
35
- declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown> = {
36
- /**
37
- * Module configuration required to render the flow.
38
- * For Web Components, this is typically assigned via `element.config = ...`.
39
- */
40
- config?: TConfig;
41
- /**
42
- * Optional pre-built manager. When provided, the module does not create or manage the manager lifecycle.
43
- */
44
- manager?: TManager;
45
- /**
46
- * Callback invoked when the module completes successfully.
47
- * @param result - Optional result data from the module completion
48
- */
49
- onFinish?: (result?: TResult) => void;
50
- /**
51
- * Callback invoked when a fatal module error occurs.
52
- *
53
- * @param error - Human-readable error message.
54
- * @param errorCode - Optional numeric code (e.g. HTTP status). Populated by
55
- * the workflow and flow modules on QR validation failures —
56
- * `4026` (`expiredUUID`), `4081` (`invalidQRuuid`) or `4083` (`onboardingUrlAlreadyUsed`).
57
- */
58
- onError?: (error: string | undefined, errorCode?: number) => void;
59
- };
60
-
61
- export { }
62
-
63
- declare global {
64
- interface HTMLElementTagNameMap {
65
- 'incode-email': HTMLElement & IncodeModuleProps<EmailConfig, void, EmailManager>;
66
- }
67
- }