@incodetech/web 2.4.1-agentic → 2.4.1-agentic.10

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 (352) hide show
  1. package/THIRD_PARTY_NOTICES.txt +1 -4
  2. package/dist/{GeolocationPermissionDenied-CUt-uebQ.js → GeolocationPermissionDenied-Dag9fchQ.js} +23 -8
  3. package/dist/Password-4ht2vsqv.js +212 -0
  4. package/dist/RadioGroup-Cf6xDIm5.js +123 -0
  5. package/dist/RequiredLegend-DwaAzhid.js +16 -0
  6. package/dist/RequiredMarker-CGQR8lsb.js +16 -0
  7. package/dist/TextField-o3qwE7KD.js +166 -0
  8. package/dist/ae-signature/ae-signature.es.js +4 -4
  9. package/dist/{af-ZA-BWKMRc6V.js → af-ZA-CdJRBJEg.js} +107 -881
  10. package/dist/{ageVerification-CMIp0I--.js → ageVerification-u2zo-WUl.js} +10 -8
  11. package/dist/{am-DPyjIvQV.js → am-Df9uoE6e.js} +107 -881
  12. package/dist/antifraud/antifraud.es.js +5 -4
  13. package/dist/{applyStudioConfig-DxtP9221.js → applyStudioConfig-Deh55YNW.js} +2 -2
  14. package/dist/{ar-AE-CxCvbyoW.js → ar-AE-CAoWsgnA.js} +107 -881
  15. package/dist/{ar-EG-B1hHB55j.js → ar-EG-CXi0p-DV.js} +107 -881
  16. package/dist/{ar-10SoqF1i.js → ar-hyEIwsq9.js} +108 -882
  17. package/dist/assertClassBrand-CuHX5JcR.js +17 -0
  18. package/dist/authentication/authentication.es.js +7 -5
  19. package/dist/autoFocusTitle-CNeT8ydU.js +19 -0
  20. package/dist/{az-cmuBNn_5.js → az-CUehzrK3.js} +107 -881
  21. package/dist/{back-horizontal-hint-Dl2C4J4u.js → back-horizontal-hint-D5xvRtEe.js} +1 -1
  22. package/dist/{back-vertical-hint-CM4_HjWk.js → back-vertical-hint-DoKJSQhY.js} +1 -1
  23. package/dist/base.css +1 -1
  24. package/dist/{baseTutorial-BGU2Gcly.js → baseTutorial-xDkp34JC.js} +9 -7
  25. package/dist/{bn-CuGYlngZ.js → bn-DStUscj0.js} +107 -881
  26. package/dist/{bottomSheet-x20yd6eP.js → bottomSheet-COrgITc6.js} +3 -3
  27. package/dist/{bs-vwpJzaHm.js → bs-Lq1FPKJj.js} +107 -881
  28. package/dist/{ca-DXZs5vtr.js → ca-K83Ys4Fe.js} +107 -881
  29. package/dist/cameraOverlay-Bciqav_0.js +2 -0
  30. package/dist/{cameraOverlayHeader-BxutAKy-.js → cameraOverlayHeader-C7Pi5eIm.js} +9 -8
  31. package/dist/{cameraView-DVzaEGW8.js → cameraView-B7l40Opf.js} +3 -3
  32. package/dist/capture-D7HVD1ht.js +754 -0
  33. package/dist/capture-Do7z-u0d.js +3 -0
  34. package/dist/{tutorial-BKPHj5To.js → capture-I1enj-0M.js} +28 -68
  35. package/dist/capture-WaSNv1Wn.js +2 -0
  36. package/dist/captureButtonIcon-DVbAZ8TK.js +1 -0
  37. package/dist/captureFocusContext-CNtkY3Lk.js +718 -0
  38. package/dist/captureFooter-CucCxqz-.js +47 -0
  39. package/dist/{ceb-CmhS_VOs.js → ceb-NR8sWgTh.js} +107 -881
  40. package/dist/certificate-issuance/certificate-issuance.es.js +68 -41
  41. package/dist/certificate-issuance/styles.css +1 -1
  42. package/dist/certificate-issuance/styles.css.js +1 -1
  43. package/dist/{checkbox-BC26Qbxh.js → checkbox-C5k2pepr.js} +4 -4
  44. package/dist/chooser-CNm0MKQl.js +1517 -0
  45. package/dist/connectionError-Bs3TO2RP.js +100 -0
  46. package/dist/consent/consent.es.js +16 -12
  47. package/dist/{countryFlag-DXSVHiby.js → countryFlag-CZUyZ06G.js} +1 -1
  48. package/dist/{countrySelector-0PDDFsZF.js → countrySelector-CPgaMT7n.js} +4 -4
  49. package/dist/cross-document-data-match/cross-document-data-match.es.js +5 -4
  50. package/dist/{cs-CZ-Dg5O-Vom.js → cs-CZ-KpSXcWZT.js} +107 -881
  51. package/dist/{cs-CoJlE7De.js → cs-UYoUjOrG.js} +107 -881
  52. package/dist/curp-validation/curp-validation.es.js +97 -96
  53. package/dist/curp-validation/styles.css +1 -1
  54. package/dist/curp-validation/styles.css.js +1 -1
  55. package/dist/{customFields-COYGTuuK.js → customFields-BcubL9au.js} +33 -19
  56. package/dist/{customWatchlist-B0wY6Rwb.js → customWatchlist-D4RK0ow6.js} +11 -8
  57. package/dist/{da-DK-C_JAndM-.js → da-DK-Bds8n-Rj.js} +107 -881
  58. package/dist/dashboardTheme-DQaxmEq3.js +383 -0
  59. package/dist/dateInputComposed-BrpUtswb.js +1 -0
  60. package/dist/{dateInputComposed-QkmLGLHg.js → dateInputComposed-BzCDzTM3.js} +4 -5
  61. package/dist/{de-11hHLedu.js → de-CZlvE1Xz.js} +107 -881
  62. package/dist/denied-BeVKpBem.js +272 -0
  63. package/dist/devWarn-B4kGEiva.js +1056 -0
  64. package/dist/{deviceWallet-BeTpokSL.js → deviceWallet-7b1VpcGm.js} +4 -4
  65. package/dist/{digitalIdRedirect-BnljwZV3.js → digitalIdRedirect-CG9jzrQh.js} +4 -4
  66. package/dist/{digitalIdUpload-DNhqqMHT.js → digitalIdUpload-BUJcgYY5.js} +37 -15
  67. package/dist/document-capture/document-capture.es.js +1 -1
  68. package/dist/document-capture/styles.css +1 -1
  69. package/dist/document-capture/styles.css.js +1 -1
  70. package/dist/documentCapture-BdEStEoH.js +2 -0
  71. package/dist/{documentCapture-uAKPK1U-.js → documentCapture-JcxukEgT.js} +113 -59
  72. package/dist/dropdownComposed-C36c9ZOm.js +1 -0
  73. package/dist/{dropdownComposed-D_RQd0Z9.js → dropdownComposed-yNmLuHxU.js} +8 -6
  74. package/dist/dynamic-forms/dynamic-forms.es.js +62 -35
  75. package/dist/ekyb/ekyb.es.js +1 -1
  76. package/dist/{ekybModule-Bsqag_MS.js → ekybModule-Cp-7fs23.js} +109 -89
  77. package/dist/ekybModule-ccZRVb7E.js +2 -0
  78. package/dist/ekyc/ekyc.es.js +1 -1
  79. package/dist/ekyc-prefill/ekyc-prefill.es.js +2 -0
  80. package/dist/ekyc-prefill/styles.css +2 -0
  81. package/dist/ekyc-prefill/styles.css.js +1 -0
  82. package/dist/ekycModule-CcZTIgGK.js +2 -0
  83. package/dist/ekycModule-DKUZp3Ww.js +358 -0
  84. package/dist/ekycPrefillModule-Bou_Ig42.js +2 -0
  85. package/dist/ekycPrefillModule-DJoeviHP.js +233 -0
  86. package/dist/{el-CRGmVrep.js → el-C6tFl9i9.js} +107 -881
  87. package/dist/{el-GR-CjtJiRTo.js → el-GR-BLkQ_dbO.js} +107 -881
  88. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  89. package/dist/{electronic-signature-Cm2BEiQu.js → electronic-signature-D-4uTJdE.js} +55 -36
  90. package/dist/email/email.es.js +21 -16
  91. package/dist/{emailInput-JmK2JIFS.js → emailInput-C5VHG66O.js} +23 -12
  92. package/dist/{en-DG-Cruu6Woh.js → en-DG-BEuiDKtl.js} +107 -881
  93. package/dist/{en-CSjoG3e4.js → en-DNBypQuu.js} +107 -881
  94. package/dist/{errorContent-zY4jb6uY.js → errorContent-BC8mDFld.js} +21 -20
  95. package/dist/{formField-C3MNhFKI.js → errorParams-W7NX72mI.js} +2 -33
  96. package/dist/es-419-BCIRYhZK.js +5 -0
  97. package/dist/{es-C_LAY-Yu.js → es-DjQEM4f9.js} +108 -882
  98. package/dist/{es-ES-D7O0P5Mg.js → es-ES-Q6nMptUM.js} +107 -881
  99. package/dist/{es-MX-DVzFaANh.js → es-MX-Df5g3bAX.js} +107 -881
  100. package/dist/{et-DdSwjU5d.js → et-BYRhgB8X.js} +108 -882
  101. package/dist/expiredId-BVa13c9u.js +67 -0
  102. package/dist/extensibility.es.js +368 -42
  103. package/dist/{fa-IR-CdK8XLkS.js → fa-IR-DP-FPc-r.js} +107 -881
  104. package/dist/face-match/face-match.es.js +1 -1
  105. package/dist/face-match/styles.css +1 -1
  106. package/dist/face-match/styles.css.js +1 -1
  107. package/dist/faceMatch-B2n0FPIm.js +2 -0
  108. package/dist/{faceMatch-B0IzR9_u.js → faceMatch-C5QmR3Vt.js} +44 -53
  109. package/dist/{fi-FI-CYlEPu44.js → fi-FI-rnIjEC7X.js} +107 -881
  110. package/dist/field-comparison/field-comparison.es.js +1 -1
  111. package/dist/fieldComparison-CDGiqzsu.js +126 -0
  112. package/dist/fieldComparison-D-LmR1LR.js +2 -0
  113. package/dist/{fieldLabelHint-gdoE5nLQ.js → fieldLabelHint-eF42wLDJ.js} +3 -3
  114. package/dist/{finalSuccessScreen-BM9oeJDH.js → finalSuccessScreen-vOR061dK.js} +31 -22
  115. package/dist/fiscal-qr/fiscal-qr.es.js +25 -22
  116. package/dist/flipAnimation-CGP9Fu9J.js +46 -0
  117. package/dist/flipCapturedCardEligibility-C8wQ0_No.js +210 -0
  118. package/dist/flow/flow.es.js +216 -191
  119. package/dist/flow/shell/styles.css +1 -1
  120. package/dist/flow/shell/styles.css.js +1 -1
  121. package/dist/flow/styles.css +1 -1
  122. package/dist/formField-DrSwXufE.js +49 -0
  123. package/dist/{fr-CA-DD_s9NuV.js → fr-CA-vPsubqTC.js} +107 -881
  124. package/dist/{fr-C4cP8ZNE.js → fr-P8YbBMxT.js} +107 -881
  125. package/dist/{front-horizontal-hint-Dol0Lpc6.js → front-horizontal-hint-CDHj9LQF.js} +1 -1
  126. package/dist/{front-vertical-hint-CAhAzw92.js → front-vertical-hint-B_pU27Iv.js} +1 -1
  127. package/dist/geolocation/geolocation.es.js +15 -10
  128. package/dist/government-validation/government-validation.es.js +7 -6
  129. package/dist/{he-D3fvMZAl.js → he-DfptjOXC.js} +107 -881
  130. package/dist/{hi-DLf6_opn.js → hi-C7tSzMcB.js} +107 -881
  131. package/dist/{hmn-DzoODzbN.js → hmn-jKsUYgaq.js} +107 -881
  132. package/dist/{homeScreen-D1Xd93In.js → homeScreen-C1b8yg4y.js} +21 -14
  133. package/dist/{incodeComponent-C1Bz5Qou.js → hooks-COiwxC3h.js} +39 -325
  134. package/dist/{hr-C-jP0DrB.js → hr-ehtrddz3.js} +107 -881
  135. package/dist/{ht-CVt9koJf.js → ht-CA5NNkri.js} +107 -881
  136. package/dist/{hu-9fSzIeAd.js → hu-DYgOdNXH.js} +107 -881
  137. package/dist/{icons-BdiCuWFP.js → icons-CLoob8B-.js} +129 -56
  138. package/dist/id/id.es.js +166 -197
  139. package/dist/id/styles.css +1 -1
  140. package/dist/id/styles.css.js +1 -1
  141. package/dist/{id-Dgi5uGHK.js → id-CMBxWcTV.js} +107 -881
  142. package/dist/{id-back-of-card-CHFxXTEq.js → id-back-of-card-BEAthtU0.js} +1 -1
  143. package/dist/{id-back-of-card-vertical-CUBdKGbw.js → id-back-of-card-vertical-Ce0d7tp5.js} +1 -1
  144. package/dist/{id-front-of-card-DplNJr13.js → id-front-of-card-DS0lS9jP.js} +1 -1
  145. package/dist/{id-front-of-card-vertical-D1duHEsV.js → id-front-of-card-vertical-BLWn85NX.js} +1 -1
  146. package/dist/id-selfie-flow/id-selfie-flow.es.js +13 -11
  147. package/dist/id-selfie-flow/styles.css +1 -1
  148. package/dist/id-verification/id-verification.es.js +6 -5
  149. package/dist/idFlipTransition-3z8Lqcab.js +154 -0
  150. package/dist/{idOcr-sknZwQNF.js → idOcr-qPEZSG5D.js} +64 -37
  151. package/dist/identity-reuse/identity-reuse.es.js +36 -24
  152. package/dist/incodeComponent-CxWTvgqz.js +235 -0
  153. package/dist/{incodeModule-DJToJb00.js → incodeModule-BQVPjhJE.js} +5 -5
  154. package/dist/index.es.js +3 -3
  155. package/dist/{inputComposed-BuE0iZlw.js → inputComposed-oWeKvdES.js} +4 -4
  156. package/dist/{it-CEFstYFG.js → it-DNcyH3GL.js} +107 -881
  157. package/dist/{ja-BNdVd9B6.js → ja-BkVsn7yw.js} +107 -881
  158. package/dist/{ja-JP-B5TPMV1q.js → ja-JP-BI4iShf-.js} +108 -882
  159. package/dist/{jv-CMxkkXUk.js → jv-Bpp0lYl-.js} +107 -881
  160. package/dist/{ka-C70bUmEK.js → ka-__y8BNrb.js} +107 -881
  161. package/dist/{kk-C_55EmWt.js → kk-C8RZv7Y9.js} +107 -881
  162. package/dist/{km-D4Ig0NhN.js → km-CdNpEVlv.js} +114 -888
  163. package/dist/{ko-DfUa3dzQ.js → ko-Db8jh_Pq.js} +107 -881
  164. package/dist/{ko-KP-BwBB8ahu.js → ko-KP-Cn4RuF_b.js} +107 -881
  165. package/dist/{ky-CnJichOm.js → ky-DljlRCIf.js} +107 -881
  166. package/dist/kyb-checks/kyb-checks.es.js +2 -0
  167. package/dist/kyb-checks/styles.css +2 -0
  168. package/dist/kyb-checks/styles.css.js +1 -0
  169. package/dist/kybChecksModule-B2nSWMuy.js +2 -0
  170. package/dist/kybChecksModule-DGXAS1Sc.js +345 -0
  171. package/dist/{lo-ww1DXVAP.js → lo-DXJI47k7.js} +107 -881
  172. package/dist/{lt-IJ8qpluI.js → lt-CUHwdgrq.js} +107 -881
  173. package/dist/{lv-DMfsmqyK.js → lv-BFrYWmGH.js} +107 -881
  174. package/dist/{mandatoryConsent-Bp8sQoiu.js → mandatoryConsent-Dc0PQou0.js} +20 -14
  175. package/dist/{manualCaptureButton-Cd-FY05-.js → manualCaptureButton-DIlebb4i.js} +8 -7
  176. package/dist/{manualCaptureButton-BXOTp2PS.js → manualCaptureButton-t0b_hCKH.js} +15 -12
  177. package/dist/{mk-ByafmFak.js → mk-BRpnPevj.js} +107 -881
  178. package/dist/{mn-DjO9p3xN.js → mn-tly7Lz7o.js} +107 -881
  179. package/dist/{ms-3Vf1QpHl.js → ms-DFpRACK3.js} +107 -881
  180. package/dist/{my-C5hpE5P1.js → my-G2jJl4tA.js} +107 -881
  181. package/dist/{nb-NO-DGCWCOul.js → nb-NO-CaDPgzxb.js} +107 -881
  182. package/dist/{ne-CpJxcVhV.js → ne-BaCq8Imv.js} +107 -881
  183. package/dist/{nl-R2RykJHB.js → nl-BK-jT4yQ.js} +107 -881
  184. package/dist/{optionAccessibleLabel-BQl8HooZ.js → optionAccessibleLabel-CDKKh7c3.js} +25 -10
  185. package/dist/otpInput-B4mH5be-.js +245 -0
  186. package/dist/{page-utEpSa9Z.js → page-5CklyQnq.js} +86 -44
  187. package/dist/{pageUiConfig-rOL18JSI.js → pageUiConfig-DZQHreIo.js} +67 -25
  188. package/dist/{passport-horizontal-hint-BfTXA2LB.js → passport-horizontal-hint-JdWoLKa5.js} +1 -1
  189. package/dist/{passport-vertical-hint-C7dzd2ks.js → passport-vertical-hint-BgtJXbvC.js} +1 -1
  190. package/dist/passwordRequirements-bbbHZACR.js +49 -0
  191. package/dist/{pdf-BnPw8ZaT.js → pdf-CLcY9ugT.js} +2 -17
  192. package/dist/pdfViewer-2NTW2bZn.js +2 -0
  193. package/dist/{pdfViewer-DNMZsDFD.js → pdfViewer-D4xu2J13.js} +11 -14
  194. package/dist/permissionInstructionList-Dmy2y4cX.js +43 -0
  195. package/dist/{permissions-CCEc9lKM.js → permissions-BPh2QNoI.js} +84 -53
  196. package/dist/phone/phone.es.js +16 -12
  197. package/dist/{phoneInputComposed-ByiK_6Hu.js → phoneInputComposed-Dzt9xdrF.js} +6 -6
  198. package/dist/{pl-B1LgnPj1.js → pl-CoWZGdbr.js} +107 -881
  199. package/dist/preloadableLazy-2hqV2Q8z.js +43 -0
  200. package/dist/{processing-Ci_Kl-Rh.js → processing-DStiN9XK.js} +2 -2
  201. package/dist/{progressBar-Caj-Vu1e.js → progressBar-CJqJXzAh.js} +2 -2
  202. package/dist/{pt-CPVeH0hD.js → pt-BDByRgpr.js} +107 -881
  203. package/dist/{pt-BR-DSJDHb-K.js → pt-BR-BRMyrqIN.js} +107 -881
  204. package/dist/{pt-PT-BWJTVPZY.js → pt-PT-CfwlYo6V.js} +107 -881
  205. package/dist/qe-signature/qe-signature.es.js +4 -4
  206. package/dist/redirect-to-mobile/redirect-to-mobile.es.js +34 -33
  207. package/dist/redirect-to-mobile/styles.css +1 -1
  208. package/dist/redirect-to-mobile/styles.css.js +1 -1
  209. package/dist/{registerIncodeElement-Dtw9dM3O.js → registerIncodeElement-B5W7SqS3.js} +1 -1
  210. package/dist/{resendTimer-ODOCcKyh.js → resendTimer-COMRdeDC.js} +2 -2
  211. package/dist/richText-BMvr5dhl.js +1761 -0
  212. package/dist/{ro-8gGEWeHO.js → ro-ju058j4P.js} +107 -881
  213. package/dist/{ru-C4EVku5S.js → ru-DYwhf4Hw.js} +107 -881
  214. package/dist/{ru-RU-Dr0NOGjg.js → ru-RU-BAvJW-vp.js} +107 -881
  215. package/dist/{sanitizeSvg-ilJ8VQmH.js → sanitizeSvg-BZoCoRr0.js} +1 -1
  216. package/dist/selfie/selfie.es.js +30 -14
  217. package/dist/selfie/styles.css +1 -1
  218. package/dist/selfie/styles.css.js +1 -1
  219. package/dist/signature/signature.es.js +18 -13
  220. package/dist/{sk-BSTzMa__.js → sk-Cl6F-Kaz.js} +108 -882
  221. package/dist/{sl-_HvO-HVX.js → sl-BxsNneWx.js} +107 -881
  222. package/dist/{smsTabContent-CWBrtP4u.js → smsTabContent-BLJM1Hbk.js} +40 -27
  223. package/dist/{so-pyCaqonl.js → so-D8izvKPD.js} +107 -881
  224. package/dist/spacer-NanHQwzu.js +1100 -0
  225. package/dist/spinner-bRH4yw9e.js +69 -0
  226. package/dist/{sr-Bpxtt0kk.js → sr-BtsYxFKz.js} +107 -881
  227. package/dist/{sr-Latn-BjueCJSI.js → sr-Latn-BTn5o62j.js} +112 -886
  228. package/dist/sr-YU-BNViLYA5.js +5 -0
  229. package/dist/step-up/step-up.es.js +483 -0
  230. package/dist/step-up/styles.css +2 -0
  231. package/dist/{sv-SE-sv5v6ZWe.js → sv-SE-f5R8i8ue.js} +107 -881
  232. package/dist/{sw-BseJSmdR.js → sw-BgHNoEGs.js} +107 -881
  233. package/dist/{th-TH-D0WNW-3l.js → th-TH-DmfU-a6A.js} +107 -881
  234. package/dist/{th-C2G8Ur12.js → th-aFkhFNxp.js} +107 -881
  235. package/dist/themes/dark.css +1 -1
  236. package/dist/themes/light.css +1 -1
  237. package/dist/{tl-CBOmxz5r.js → tl-CA42NVfv.js} +107 -881
  238. package/dist/{tl-PH-CwafDrED.js → tl-PH-DMCUe7pP.js} +107 -881
  239. package/dist/{tr-C4iH8UJx.js → tr-BVjID0jl.js} +108 -882
  240. package/dist/{transitionSpinner-DbrWrpRU.js → transitionSpinner-MclJtdHE.js} +5 -5
  241. package/dist/tutorial-fC2iei2v.js +28 -0
  242. package/dist/types/ae-signature.d.ts +7 -3
  243. package/dist/types/antifraud.d.ts +7 -3
  244. package/dist/types/authentication.d.ts +7 -3
  245. package/dist/types/certificate-issuance.d.ts +7 -3
  246. package/dist/types/consent.d.ts +7 -3
  247. package/dist/types/cross-document-data-match.d.ts +7 -3
  248. package/dist/types/curp-validation.d.ts +7 -3
  249. package/dist/types/document-capture.d.ts +7 -3
  250. package/dist/types/dynamic-forms.d.ts +7 -3
  251. package/dist/types/ekyb.d.ts +7 -3
  252. package/dist/types/ekyc-prefill.d.ts +213 -0
  253. package/dist/types/ekyc.d.ts +7 -3
  254. package/dist/types/electronic-signature.d.ts +7 -3
  255. package/dist/types/email.d.ts +7 -3
  256. package/dist/types/extensibility.d.ts +63 -17
  257. package/dist/types/face-match.d.ts +7 -3
  258. package/dist/types/field-comparison.d.ts +7 -3
  259. package/dist/types/fiscal-qr.d.ts +7 -3
  260. package/dist/types/flow.d.ts +16 -3
  261. package/dist/types/geolocation.d.ts +7 -3
  262. package/dist/types/government-validation.d.ts +7 -3
  263. package/dist/types/id-selfie-flow.d.ts +7 -3
  264. package/dist/types/id-verification.d.ts +7 -3
  265. package/dist/types/id.d.ts +7 -3
  266. package/dist/types/identity-reuse.d.ts +7 -3
  267. package/dist/types/index.d.ts +4 -0
  268. package/dist/types/kyb-checks.d.ts +213 -0
  269. package/dist/types/phone.d.ts +7 -3
  270. package/dist/types/qe-signature.d.ts +7 -3
  271. package/dist/types/selfie.d.ts +7 -3
  272. package/dist/types/signature.d.ts +7 -3
  273. package/dist/types/step-up.d.ts +85 -0
  274. package/dist/types/watchlist.d.ts +7 -3
  275. package/dist/types/workflow.d.ts +7 -3
  276. package/dist/{typography-BF9d8wEc.js → typography-Dncyo-3D.js} +3 -11
  277. package/dist/{uk-BGYlvKb_.js → uk-HjZTXCOA.js} +107 -881
  278. package/dist/{uk-UA-CbxzkCL_.js → uk-UA-ChpoWDcU.js} +108 -882
  279. package/dist/{ur-BQgtsAfv.js → ur-CZkQHBM4.js} +107 -881
  280. package/dist/{useCameraPreview-BmkAmzAs.js → useCameraPreview-DrteOjaq.js} +1 -1
  281. package/dist/useCaptureHelpButton-B5zEGcaB.js +43 -0
  282. package/dist/{useIsDarkTheme-COJZngNK.js → useIsDarkTheme-DAs5RhsW.js} +1 -1
  283. package/dist/{useModuleLoader-CceEKjsh.js → useModuleLoader-C2fbLotc.js} +8 -3
  284. package/dist/{uz-DqOg1Fdv.js → uz-BCp_m_Om.js} +107 -881
  285. package/dist/{vendor-preact-C0jX1Cbq.js → vendor-preact-HIccnts1.js} +19 -1
  286. package/dist/{verificationResult-m99Ragq6.js → verificationResult-sh4xut0K.js} +30 -27
  287. package/dist/{vi-COxdKkHn.js → vi-BvxcvDgc.js} +107 -881
  288. package/dist/video-selfie/styles.css +1 -1
  289. package/dist/video-selfie/styles.css.js +1 -1
  290. package/dist/video-selfie/video-selfie.es.js +64 -42
  291. package/dist/watchlist/watchlist.es.js +12 -8
  292. package/dist/{watchlistForBusiness-C2zxbavl.js → watchlistForBusiness-DnS1r-Ml.js} +38 -22
  293. package/dist/{withEndScreenTexts-BwNU-8-X.js → withEndScreenTexts-CHWofhk5.js} +212 -46
  294. package/dist/workflow/styles.css +1 -1
  295. package/dist/workflow/workflow.es.js +1 -530
  296. package/dist/workflow-DBS9eyu4.js +533 -0
  297. package/dist/{zh-CN-DfvYQGdE.js → zh-CN-DZRia1ir.js} +108 -882
  298. package/dist/{zh-CPQoDPxf.js → zh-DN_kUZaR.js} +107 -881
  299. package/dist/{zh-HANT-B4LzHH2y.js → zh-HANT-DisU_Tal.js} +107 -881
  300. package/dist/{zh-TW-DtvvhBYL.js → zh-TW-BJzCsdPP.js} +107 -881
  301. package/package.json +44 -12
  302. package/dist/autoFocusTitle-BxsSeMSB.js +0 -32
  303. package/dist/browser-ponyfill-CHlXHPpU.js +0 -441
  304. package/dist/cameraOverlay-Be1PFI8S.js +0 -2
  305. package/dist/check-icon-BWTjhSuA.js +0 -48
  306. package/dist/dashboardTheme-COBidrbH.js +0 -246
  307. package/dist/dateInputComposed-CONPVayx.js +0 -1
  308. package/dist/denied-Btt81vUD.js +0 -1871
  309. package/dist/devWarn-Cr7MglXv.js +0 -2628
  310. package/dist/documentCapture-DGCraCO3.js +0 -2
  311. package/dist/dropdownComposed-DyZXfcTf.js +0 -1
  312. package/dist/ekybModule-D-czIusz.js +0 -2
  313. package/dist/ekycModule-CkBRa6h2.js +0 -2
  314. package/dist/ekycModule-WlhVn8AO.js +0 -321
  315. package/dist/es-419-CTB15v-l.js +0 -3231
  316. package/dist/esm-BTUEHyry.js +0 -430
  317. package/dist/expiredId-DpbWqSzB.js +0 -80
  318. package/dist/faceMatch-CRbIcwK2.js +0 -2
  319. package/dist/fieldComparison-DKQNK0-r.js +0 -2
  320. package/dist/fieldComparison-OwGIeOM5.js +0 -109
  321. package/dist/flipAnimation-D-5tokFC.js +0 -3275
  322. package/dist/inputComposed-5mLbxAZJ.js +0 -1
  323. package/dist/numberedStep-CqgNwc_a.js +0 -13
  324. package/dist/otpInput-B_iLvmIn.js +0 -157
  325. package/dist/passwordInputComposed-NtiseM85.js +0 -74
  326. package/dist/pdfViewer-7FzYV8l3.js +0 -2
  327. package/dist/radioGroupComposed-CocqpoKe.js +0 -160
  328. package/dist/radioGroupComposed-DlQ-fNrF.js +0 -1
  329. package/dist/reload-icon-BR1POqkD.js +0 -70
  330. package/dist/richText-CRWB2afV.js +0 -1549
  331. package/dist/spacer-CwyNauIk.js +0 -733
  332. package/dist/spinner-DEZJxLSc.js +0 -88
  333. package/dist/sr-YU-xCb5qxap.js +0 -3235
  334. package/dist/useCaptureHelpButton-D40hYyD7.js +0 -88
  335. /package/dist/{aligndevicelottie-BHWuptBk.js → aligndevicelottie-DroBRtbt.js} +0 -0
  336. /package/dist/{back-tutorial-BYZr11eV.js → back-tutorial-ydxRtY-Y.js} +0 -0
  337. /package/dist/{backdevicelottie-JflQKxT_.js → backdevicelottie-hv8vbwYH.js} +0 -0
  338. /package/dist/{blurdevicelottie-CWuMQEHL.js → blurdevicelottie-Cgu4hKn7.js} +0 -0
  339. /package/dist/{countryDefinitions-6FOOLcB2.js → countryDefinitions-DlsV3Tf8.js} +0 -0
  340. /package/dist/{defineProperty-CUC2zCmh.js → defineProperty-CRYuXE79.js} +0 -0
  341. /package/dist/{flip-animation-BqTKEBcW.js → flip-animation-CJhh7l_J.js} +0 -0
  342. /package/dist/{frontdevicelottie-BWD-NCfG.js → frontdevicelottie-vyO3BJJe.js} +0 -0
  343. /package/dist/{glaredevicelottie-Cjy50jGc.js → glaredevicelottie-DrgkRjFh.js} +0 -0
  344. /package/dist/{id-laser-h-By7lMim8.js → id-laser-h-CUz29uFc.js} +0 -0
  345. /package/dist/{id-laser-v-BCPAN2x5.js → id-laser-v-Bnf10QJp.js} +0 -0
  346. /package/dist/{id-tutorial-B9cUQuf0.js → id-tutorial-DGwvKAMs.js} +0 -0
  347. /package/dist/{lottie_light-DywVSPMT.js → lottie_light-BXXuEKyZ.js} +0 -0
  348. /package/dist/{passport-tutorial-TSZzEGqb.js → passport-tutorial-DoqqyBXo.js} +0 -0
  349. /package/dist/{pdf.worker.min-D7ZNTVBZ.js → pdf.worker.min-Cm2oniEB.js} +0 -0
  350. /package/dist/{policyUrls-Bpacx_pp.js → policyUrls-Hvb4jPfF.js} +0 -0
  351. /package/dist/{purify.es-DZazHwBu.js → purify.es-DIIgrZ-E.js} +0 -0
  352. /package/dist/{selfieTutorial-CLJAEuXG.js → selfieTutorial-BTewRjM5.js} +0 -0
@@ -0,0 +1,67 @@
1
+ import { d as useTranslation } from "./devWarn-B4kGEiva.js";
2
+ import { b as u, l as A, y } from "./vendor-preact-HIccnts1.js";
3
+ import { b as PrizmaButton } from "./icons-CLoob8B-.js";
4
+ import { n as Title } from "./spacer-NanHQwzu.js";
5
+ import { t as Page } from "./page-5CklyQnq.js";
6
+ import "./typography-Dncyo-3D.js";
7
+ //#region src/shared/expiredId/expiredId.tsx
8
+ /**
9
+ * Shown when the backend reports `isDocumentExpired: true`. Exactly one of
10
+ * `onRetry` / `onContinue` should be provided; if both are passed, retry
11
+ * takes precedence.
12
+ *
13
+ * Visual contract mirrors the SDK 1 UXv2 Expired ID screen (red strike icon,
14
+ * centered title + subtitle, full-width primary button anchored near the
15
+ * bottom). The optional attempts counter (added by core PR #439 / SDK 1
16
+ * `IdError` parity) renders only when `attemptsRemaining` is supplied.
17
+ */
18
+ var ExpiredId = ({ onRetry, onContinue, attemptsRemaining, isBackSide }) => {
19
+ const { t } = useTranslation();
20
+ const titleRef = A(null);
21
+ y(() => {
22
+ titleRef.current?.focus();
23
+ }, []);
24
+ return /* @__PURE__ */ u(Page, {
25
+ hideHeader: true,
26
+ hideFooterBranding: true,
27
+ className: "IncodeIdExpiredPage",
28
+ "data-testid": "expired-id",
29
+ children: [/* @__PURE__ */ u("div", {
30
+ class: "IncodeIdExpiredContent",
31
+ role: "alert",
32
+ children: /* @__PURE__ */ u(Title, {
33
+ ref: titleRef,
34
+ tabIndex: -1,
35
+ className: "IncodeIdExpiredTitle",
36
+ showSubtitle: true,
37
+ subtitle: isBackSide ? t("idv2.digitalIdUpload.wrongDocumentTypeScreen.errorSubtitle") : t("idv2.capture.expiredId.pleaseTryWithADifferentId"),
38
+ subtitleProps: { className: "IncodeIdExpiredSubtitle" },
39
+ icon: {
40
+ type: "status",
41
+ status: "error"
42
+ },
43
+ children: t("idv2.capture.notifications.expiredId")
44
+ })
45
+ }), /* @__PURE__ */ u("div", { children: [attemptsRemaining !== void 0 ? /* @__PURE__ */ u("p", {
46
+ class: "IncodeIdExpiredAttemptsCounter",
47
+ "data-testid": "expired-id-attempts-counter",
48
+ children: `${attemptsRemaining} ${t("idv2.capture.processing.attemptsRemainingLabel")}`
49
+ }) : null, onRetry ? /* @__PURE__ */ u(PrizmaButton, {
50
+ size: "L",
51
+ className: "IncodeButton IncodeButtonPrimary IncodeButtonL",
52
+ variant: "primary",
53
+ onClick: onRetry,
54
+ "data-testid": "expired-id-retry",
55
+ children: t("idv2.capture.processing.tryAgain")
56
+ }) : onContinue ? /* @__PURE__ */ u(PrizmaButton, {
57
+ size: "L",
58
+ className: "IncodeButton IncodeButtonPrimary IncodeButtonL",
59
+ variant: "primary",
60
+ onClick: onContinue,
61
+ "data-testid": "expired-id-continue",
62
+ children: t("idv2.capture.processing.continue")
63
+ }) : null] })]
64
+ });
65
+ };
66
+ //#endregion
67
+ export { ExpiredId as t };
@@ -1,42 +1,45 @@
1
- import { c as useTranslation, i as setUiConfig } from "./devWarn-Cr7MglXv.js";
2
- 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";
3
- import { t as applyStudioConfig } from "./applyStudioConfig-DxtP9221.js";
4
- import { o as Lottie, t as Spacer, u as cn } from "./spacer-CwyNauIk.js";
5
- import { _ as CheckmarkIcon, a as LockIcon, b as CalendarIcon, c as EyeOffIcon, d as EllipseIcon, f as CloseIcon, g as CheckmarkCompactIcon, h as ChevronDown, i as SearchIcon, l as EyeIcon, m as ChevronLeftIcon, n as WarningIcon, o as HelpIcon, p as ChevronRightIcon, r as SuccessIcon, s as FileIcon, t as LightningIcon, u as ErrorIcon, v as CaptureButtonIcon, x as Button, y as CameraIcon } from "./icons-BdiCuWFP.js";
6
- import { a as TypographyH5, i as TypographyH4, n as TypographyH1, o as TypographyP, r as TypographyH3, t as Title } from "./typography-BF9d8wEc.js";
7
- import { t as Page } from "./page-utEpSa9Z.js";
8
- import { r as Modal } from "./pageUiConfig-rOL18JSI.js";
9
- import { b as useScreenOrientation, n as LandscapeBlocker, t as IncodeComponent, w as ConnectionError, x as useManager } from "./incodeComponent-C1Bz5Qou.js";
10
- import { t as Spinner } from "./spinner-DEZJxLSc.js";
11
- import "./transitionSpinner-DbrWrpRU.js";
12
- import { t as Processing } from "./processing-Ci_Kl-Rh.js";
13
- import { t as ErrorContent } from "./errorContent-zY4jb6uY.js";
14
- import { t as VerificationResult } from "./verificationResult-m99Ragq6.js";
15
- import { n as Capture$1, t as Tutorial$1 } from "./tutorial-BKPHj5To.js";
16
- import { t as ProgressBar } from "./progressBar-Caj-Vu1e.js";
17
- import { n as Input, t as InputComposed } from "./inputComposed-BuE0iZlw.js";
18
- import { t as FieldLabelHint } from "./fieldLabelHint-gdoE5nLQ.js";
19
- import "./inputComposed-5mLbxAZJ.js";
20
- import { t as PasswordInputComposed } from "./passwordInputComposed-NtiseM85.js";
21
- import { t as OtpInput } from "./otpInput-B_iLvmIn.js";
22
- import { t as Checkbox } from "./checkbox-BC26Qbxh.js";
23
- import { t as FormField } from "./formField-C3MNhFKI.js";
24
- import { i as getCountryByCode, n as countries, r as getCountryByCallingCode, t as PhoneInputComposed } from "./phoneInputComposed-ByiK_6Hu.js";
25
- import { t as DropdownComposed } from "./dropdownComposed-D_RQd0Z9.js";
26
- import "./dropdownComposed-DyZXfcTf.js";
27
- import { t as DateInputComposed } from "./dateInputComposed-QkmLGLHg.js";
28
- import "./dateInputComposed-CONPVayx.js";
29
- import { n as RadioButtonComposed, t as RadioGroupComposed } from "./radioGroupComposed-CocqpoKe.js";
30
- import "./radioGroupComposed-DlQ-fNrF.js";
31
- import { b as VerificationOptionCard, c as IdExpired, i as Capture, l as IdError, n as Chooser, r as Tutorial, t as FlipAnimation, x as VerificationOptionCardList } from "./flipAnimation-D-5tokFC.js";
32
- import { t as BottomSheet } from "./bottomSheet-x20yd6eP.js";
33
- import { n as CameraFrame, t as CameraView } from "./cameraView-DVzaEGW8.js";
34
- import { n as CameraOverlay, t as CameraOverlayHeader } from "./cameraOverlayHeader-BxutAKy-.js";
35
- import { t as useCameraPreview } from "./useCameraPreview-BmkAmzAs.js";
36
- import "./cameraOverlay-Be1PFI8S.js";
37
- import { n as CaptureFooter } from "./useCaptureHelpButton-D40hYyD7.js";
38
- import { t as BaseTutorial } from "./baseTutorial-BGU2Gcly.js";
39
- import { t as Permissions } from "./permissions-CCEc9lKM.js";
1
+ import { d as useTranslation, i as setUiConfig } from "./devWarn-B4kGEiva.js";
2
+ import { T as k, _ as q, b as u, d as T, f as _, i as D, l as A, m as d, y } from "./vendor-preact-HIccnts1.js";
3
+ import { t as applyStudioConfig } from "./applyStudioConfig-Deh55YNW.js";
4
+ import { _ as CaptureButtonIcon, a as HelpIcon, b as PrizmaButton, c as EyeIcon, d as CloseIcon, f as ChevronRightIcon, g as CheckmarkIcon, h as CheckmarkCompactIcon, i as LockIcon, l as ErrorIcon, m as ChevronDown, n as SuccessIcon, o as FileIcon, p as ChevronLeftIcon, r as SearchIcon, s as EyeOffIcon, t as LightningIcon, u as EllipseIcon, v as CameraIcon, y as CalendarIcon } from "./icons-CLoob8B-.js";
5
+ import { a as AnimatedAsset, c as useAnimation, f as isActiveOverride, h as cn, i as Asset, l as useAsset, n as Title, p as Lottie, t as Spacer } from "./spacer-NanHQwzu.js";
6
+ import { t as Page } from "./page-5CklyQnq.js";
7
+ import { r as Modal } from "./pageUiConfig-DZQHreIo.js";
8
+ import { t as ConnectionError } from "./connectionError-Bs3TO2RP.js";
9
+ import { b as useManager, y as useScreenOrientation } from "./hooks-COiwxC3h.js";
10
+ import { a as TypographyP, i as TypographyH5, n as TypographyH3, r as TypographyH4, t as TypographyH1 } from "./typography-Dncyo-3D.js";
11
+ import { t as Spinner } from "./spinner-bRH4yw9e.js";
12
+ import "./transitionSpinner-MclJtdHE.js";
13
+ import { n as LandscapeBlocker, t as IncodeComponent } from "./incodeComponent-CxWTvgqz.js";
14
+ import { t as Processing } from "./processing-DStiN9XK.js";
15
+ import { t as ErrorContent } from "./errorContent-BC8mDFld.js";
16
+ import { t as VerificationResult } from "./verificationResult-sh4xut0K.js";
17
+ import { t as Capture$1 } from "./capture-I1enj-0M.js";
18
+ import { t as ProgressBar } from "./progressBar-CJqJXzAh.js";
19
+ import { n as Input, t as InputComposed } from "./inputComposed-oWeKvdES.js";
20
+ import { t as FieldLabelHint } from "./fieldLabelHint-eF42wLDJ.js";
21
+ import { t as DateInputComposed } from "./dateInputComposed-BzCDzTM3.js";
22
+ import { t as PasswordRequirements } from "./passwordRequirements-bbbHZACR.js";
23
+ import { t as OtpInput } from "./otpInput-B4mH5be-.js";
24
+ import { t as Checkbox } from "./checkbox-C5k2pepr.js";
25
+ import { t as FormField } from "./formField-DrSwXufE.js";
26
+ import { i as getCountryByCode, n as countries, r as getCountryByCallingCode, t as PhoneInputComposed } from "./phoneInputComposed-Dzt9xdrF.js";
27
+ import { t as DropdownComposed } from "./dropdownComposed-yNmLuHxU.js";
28
+ import "./dropdownComposed-C36c9ZOm.js";
29
+ import "./dateInputComposed-BrpUtswb.js";
30
+ import { i as VerificationOptionCardList, n as Tutorial, r as VerificationOptionCard, t as Chooser } from "./chooser-CNm0MKQl.js";
31
+ import { t as BottomSheet } from "./bottomSheet-COrgITc6.js";
32
+ import { n as CameraFrame, t as CameraView } from "./cameraView-B7l40Opf.js";
33
+ import { n as CameraOverlay, t as CameraOverlayHeader } from "./cameraOverlayHeader-C7Pi5eIm.js";
34
+ import { t as useCameraPreview } from "./useCameraPreview-DrteOjaq.js";
35
+ import "./cameraOverlay-Bciqav_0.js";
36
+ import { t as CaptureFooter } from "./captureFooter-CucCxqz-.js";
37
+ import { t as BaseTutorial } from "./baseTutorial-xDkp34JC.js";
38
+ import { t as Permissions } from "./permissions-BPh2QNoI.js";
39
+ import { t as Tutorial$1 } from "./tutorial-fC2iei2v.js";
40
+ import { c as IdError, s as IdExpired } from "./captureFocusContext-CNtkY3Lk.js";
41
+ import { t as Capture } from "./capture-D7HVD1ht.js";
42
+ import { t as FlipAnimation } from "./flipAnimation-CGP9Fu9J.js";
40
43
  //#region src/shared/overlay/overlay.tsx
41
44
  var Overlay = ({ children, "aria-labelledby": ariaLabelledBy, class: className }) => {
42
45
  return /* @__PURE__ */ u("div", {
@@ -54,6 +57,174 @@ var Overlay = ({ children, "aria-labelledby": ariaLabelledBy, class: className }
54
57
  });
55
58
  };
56
59
  //#endregion
60
+ //#region src/shared/loader/loadingIcon.tsx
61
+ /**
62
+ * Duration of the CSS spin animation on `.IncodeLoadingIcon`.
63
+ * Must stay in sync with the `animation-duration` declared in the stylesheet.
64
+ */
65
+ var SPIN_DURATION_MS = 1e3;
66
+ var SpinnerPrimary = ({ size, className }) => {
67
+ return /* @__PURE__ */ u("svg", {
68
+ width: size,
69
+ height: size,
70
+ viewBox: "0 0 31 31",
71
+ fill: "none",
72
+ xmlns: "http://www.w3.org/2000/svg",
73
+ class: cn("IncodeLoadingIconPrimaryIcon", className),
74
+ "aria-hidden": "true",
75
+ children: /* @__PURE__ */ u("path", { d: "M28.161 15.284c1.292 0 2.358-1.054 2.157-2.33A15 15 0 0 0 17.83.466c-1.276-.2-2.329.865-2.329 2.156s1.06 2.313 2.319 2.603a10.32 10.32 0 0 1 7.74 7.74c.29 1.259 1.31 2.319 2.602 2.319Z" })
76
+ });
77
+ };
78
+ var SpinnerSecondary = ({ size, className }) => {
79
+ return /* @__PURE__ */ u("svg", {
80
+ width: size,
81
+ height: size,
82
+ viewBox: "0 0 31 31",
83
+ fill: "none",
84
+ xmlns: "http://www.w3.org/2000/svg",
85
+ class: cn("IncodeLoadingIconSecondaryIcon", className),
86
+ "aria-hidden": "true",
87
+ children: [/* @__PURE__ */ u("title", { children: "Spinner Outer part" }), /* @__PURE__ */ u("path", { d: "M30.5 15.284c0 8.284-6.716 15-15 15s-15-6.716-15-15c0-8.285 6.716-15 15-15s15 6.715 15 15Zm-25.323 0c0 5.7 4.622 10.322 10.323 10.322s10.323-4.621 10.323-10.322S21.2 4.96 15.5 4.96 5.177 9.583 5.177 15.284Z" })]
88
+ });
89
+ };
90
+ /**
91
+ * Legacy loading glyph, kept only for the legacy `Button` so the SDK can roll
92
+ * back to it. New code uses `PrizmaLoadingSpinner` with `useLoaderOverride`.
93
+ */
94
+ var LoadingIcon = ({ size = 30, secondaryClass, primaryClass }) => {
95
+ const ref = A(null);
96
+ const overrideRef = A(null);
97
+ const animation = useAnimation("loader.spinner");
98
+ const svg = useAsset("loader.spinner");
99
+ const hasAnimationOverride = isActiveOverride(animation);
100
+ const hasSvgOverride = isActiveOverride(svg);
101
+ const [overrideFailed, setOverrideFailed] = d(false);
102
+ const handleFallback = q(() => setOverrideFailed(true), []);
103
+ const hasOverride = (hasAnimationOverride || hasSvgOverride) && !overrideFailed;
104
+ /**
105
+ * Cross-module loaders (e.g. ID processing → selfie initialising) unmount
106
+ * and remount this component as the user moves between flow steps. By
107
+ * default each remount restarts the CSS spin animation from frame 0, which
108
+ * reads as a visible "stutter" or reset of the spinner during otherwise
109
+ * seamless transitions.
110
+ *
111
+ * To keep the rotation continuous across remounts we anchor the animation
112
+ * to a wall-clock offset: `performance.now() % SPIN_DURATION_MS` tells us
113
+ * how far into the current spin cycle we are, and applying it as a
114
+ * negative `animation-delay` makes the new instance pick up exactly where
115
+ * the previous one left off. (Built-in default only.)
116
+ */
117
+ _(() => {
118
+ if (hasOverride || !ref.current) return;
119
+ const offsetMs = performance.now() % SPIN_DURATION_MS;
120
+ ref.current.style.animationDelay = `-${offsetMs}ms`;
121
+ }, [hasOverride]);
122
+ _(() => {
123
+ if (!overrideRef.current) return;
124
+ overrideRef.current.style.width = `${size}px`;
125
+ overrideRef.current.style.height = `${size}px`;
126
+ }, [size, hasOverride]);
127
+ if (hasOverride) return /* @__PURE__ */ u("div", {
128
+ ref: overrideRef,
129
+ class: "IncodeLoadingIconOverride",
130
+ children: hasAnimationOverride ? /* @__PURE__ */ u(AnimatedAsset, {
131
+ name: "loader.spinner",
132
+ loop: true,
133
+ onFallback: handleFallback
134
+ }) : /* @__PURE__ */ u(Asset, {
135
+ name: "loader.spinner",
136
+ onFallback: handleFallback
137
+ })
138
+ });
139
+ return /* @__PURE__ */ u("div", {
140
+ ref,
141
+ class: "IncodeLoadingIcon",
142
+ children: [/* @__PURE__ */ u(SpinnerSecondary, {
143
+ size,
144
+ className: secondaryClass
145
+ }), /* @__PURE__ */ u("div", {
146
+ class: "IncodeLoadingIconPrimary",
147
+ children: /* @__PURE__ */ u(SpinnerPrimary, {
148
+ size,
149
+ className: primaryClass
150
+ })
151
+ })]
152
+ });
153
+ };
154
+ //#endregion
155
+ //#region src/shared/button/button.tsx
156
+ var LOADER_SIZE = 30;
157
+ var variantClass = {
158
+ primary: "IncodeButtonPrimary",
159
+ secondary: "IncodeButtonSecondary",
160
+ link: "IncodeButtonLink"
161
+ };
162
+ var sizeClass = {
163
+ L: "IncodeButtonL",
164
+ M: "IncodeButtonM",
165
+ S: "IncodeButtonS",
166
+ inline: "IncodeButtonInline"
167
+ };
168
+ var Button = D((props, ref) => {
169
+ const { isLoading = false, variant = "primary", size = "L", icon, class: className, type = "button", children, disabled, ...rest } = props;
170
+ const iconOnly = !children && !!icon;
171
+ const showLoader = isLoading && size === "L";
172
+ const renderContent = () => {
173
+ if (showLoader) return /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u(LoadingIcon, { size: LOADER_SIZE }), children ? /* @__PURE__ */ u("span", {
174
+ class: "IncodeButtonLoadingLabel",
175
+ children
176
+ }) : null] });
177
+ if (iconOnly) return icon;
178
+ if (icon) return /* @__PURE__ */ u(k, { children: [children, icon] });
179
+ return children;
180
+ };
181
+ return /* @__PURE__ */ u("button", {
182
+ ref,
183
+ ...rest,
184
+ class: cn("IncodeButton", variantClass[variant], sizeClass[size], showLoader ? "IncodeButtonLoading" : "", iconOnly ? "IncodeButtonIconOnly" : "", className),
185
+ disabled: disabled || showLoader,
186
+ "aria-busy": showLoader || void 0,
187
+ type,
188
+ children: renderContent()
189
+ });
190
+ });
191
+ //#endregion
192
+ //#region src/shared/passwordInputComposed/passwordInputComposed.tsx
193
+ var PasswordInputComposed = D(({ id, value, class: className, invalid, showPasswordAriaLabel, hidePasswordAriaLabel, defaultVisible = false, requirementsHeading, requirements = [], requirementMetLabel, requirementUnmetLabel, ...restProps }, ref) => {
194
+ const [visible, setVisible] = d(defaultVisible);
195
+ const hasValue = !!(value && String(value).length > 0);
196
+ const allMet = requirements.every((requirement) => requirement.met);
197
+ const showRequirementsError = hasValue && requirements.length > 0 && !allMet;
198
+ return /* @__PURE__ */ u("div", {
199
+ class: cn("IncodePasswordInputComposed", className),
200
+ children: [/* @__PURE__ */ u(InputComposed, {
201
+ ...restProps,
202
+ id,
203
+ ref,
204
+ value,
205
+ type: visible ? "text" : "password",
206
+ invalid: showRequirementsError || invalid,
207
+ rightIcon: /* @__PURE__ */ u("button", {
208
+ type: "button",
209
+ class: "IncodePasswordInputComposedToggle",
210
+ "aria-label": visible ? hidePasswordAriaLabel : showPasswordAriaLabel,
211
+ "aria-pressed": visible,
212
+ "aria-controls": id,
213
+ "data-testid": `${id}-toggle-visibility`,
214
+ onClick: () => setVisible((currentlyVisible) => !currentlyVisible),
215
+ children: visible ? /* @__PURE__ */ u(EyeOffIcon, { size: 24 }) : /* @__PURE__ */ u(EyeIcon, { size: 24 })
216
+ })
217
+ }), /* @__PURE__ */ u(PasswordRequirements, {
218
+ id,
219
+ heading: requirementsHeading,
220
+ requirements,
221
+ invalid: showRequirementsError,
222
+ requirementMetLabel,
223
+ requirementUnmetLabel
224
+ })]
225
+ });
226
+ });
227
+ //#endregion
57
228
  //#region src/shared/segmentedDateInput/segmentedDateInput.tsx
58
229
  /**
59
230
  * ⚠️ EXPERIMENTAL — DO NOT USE IN FORMS.
@@ -573,6 +744,161 @@ var SegmentedDateInput = D(({ id, label, labelHint, "aria-label": ariaLabel, err
573
744
  });
574
745
  SegmentedDateInput.displayName = "SegmentedDateInput";
575
746
  //#endregion
747
+ //#region src/shared/radioButtonComposed/radioButtonComposed.tsx
748
+ var textSizeClass = {
749
+ M: "IncodeRadioButtonTextM",
750
+ S: "IncodeRadioButtonTextS"
751
+ };
752
+ var RadioButtonComposed = D(({ id, label, labelHint, checked, defaultChecked, disabled = false, required = false, name, value, onChange, error, helper, showErrorIcon = true, textSize = "M", class: className, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, "aria-describedby": ariaDescribedBy, ...restProps }, ref) => {
753
+ const [internalChecked, setInternalChecked] = d(!!defaultChecked);
754
+ const isControlled = checked !== void 0;
755
+ const isChecked = isControlled ? !!checked : internalChecked;
756
+ const isDisabled = !!disabled;
757
+ const handleChange = (event) => {
758
+ if (!isControlled) setInternalChecked(event.target.checked);
759
+ onChange?.(event);
760
+ };
761
+ const helperTextId = helper ? `${id}-helper` : void 0;
762
+ const errorTextId = error ? `${id}-error` : void 0;
763
+ const describedBy = [
764
+ ariaDescribedBy,
765
+ errorTextId,
766
+ helperTextId
767
+ ].filter(Boolean).join(" ") || void 0;
768
+ return /* @__PURE__ */ u("div", {
769
+ class: cn("IncodeRadioButton", className),
770
+ children: [
771
+ /* @__PURE__ */ u("label", {
772
+ class: cn("IncodeRadioButtonLabel", { IncodeRadioButtonLabelDisabled: isDisabled }),
773
+ htmlFor: id,
774
+ children: [/* @__PURE__ */ u("div", {
775
+ class: "IncodeRadioButtonControl",
776
+ children: [/* @__PURE__ */ u("input", {
777
+ ref,
778
+ type: "radio",
779
+ class: "IncodeRadioButtonInput",
780
+ id,
781
+ name,
782
+ value,
783
+ ...isControlled ? { checked } : { defaultChecked },
784
+ disabled,
785
+ required,
786
+ onChange: handleChange,
787
+ "aria-label": ariaLabel,
788
+ "aria-labelledby": ariaLabelledBy,
789
+ "aria-describedby": describedBy,
790
+ ...restProps
791
+ }), /* @__PURE__ */ u("div", {
792
+ class: cn("IncodeRadioButtonVisual", {
793
+ IncodeRadioButtonVisualChecked: isChecked,
794
+ IncodeRadioButtonVisualDisabled: isDisabled,
795
+ IncodeRadioButtonVisualError: !!error
796
+ }),
797
+ "aria-hidden": "true",
798
+ children: /* @__PURE__ */ u("span", { class: cn("IncodeRadioButtonDot", { IncodeRadioButtonDotVisible: isChecked }) })
799
+ })]
800
+ }), label && /* @__PURE__ */ u("span", {
801
+ class: cn(textSizeClass[textSize], { IncodeRadioButtonTextDisabled: isDisabled }),
802
+ "aria-hidden": ariaLabelledBy ? "true" : void 0,
803
+ children: [label, /* @__PURE__ */ u(FieldLabelHint, {
804
+ className: "IncodeRadioButtonLabelHint",
805
+ hint: labelHint,
806
+ required,
807
+ testId: `${id}-label-hint`
808
+ })]
809
+ })]
810
+ }),
811
+ error && /* @__PURE__ */ u("div", {
812
+ class: "IncodeRadioButtonMessageWrapper",
813
+ "data-testid": `${id}-error-wrapper`,
814
+ children: [showErrorIcon && /* @__PURE__ */ u("div", {
815
+ class: "IncodeRadioButtonIconWrapper",
816
+ children: /* @__PURE__ */ u(ErrorIcon, { size: 17 })
817
+ }), /* @__PURE__ */ u("p", {
818
+ id: errorTextId,
819
+ class: "IncodeRadioButtonErrorText",
820
+ children: error
821
+ })]
822
+ }),
823
+ helper && !error && /* @__PURE__ */ u("div", {
824
+ class: "IncodeRadioButtonMessageWrapper",
825
+ "data-testid": `${id}-helper-wrapper`,
826
+ children: /* @__PURE__ */ u("p", {
827
+ id: helperTextId,
828
+ class: "IncodeRadioButtonHelperText",
829
+ children: helper
830
+ })
831
+ })
832
+ ]
833
+ });
834
+ });
835
+ //#endregion
836
+ //#region src/shared/radioGroupComposed/radioGroupComposed.tsx
837
+ var RadioGroupComposed = D(({ id, label, labelHint, options, value, defaultValue, error, helper, required = false, disabled = false, name, orientation = "row", onChange, onBlur, class: className, "data-testid": dataTestId }, ref) => {
838
+ const [internalValue, setInternalValue] = d(defaultValue ?? "");
839
+ const isControlled = value !== void 0;
840
+ const currentValue = isControlled ? value : internalValue;
841
+ const labelId = `${id}-label`;
842
+ const errorId = error ? `${id}-error` : void 0;
843
+ const helperId = helper && !error ? `${id}-helper` : void 0;
844
+ const describedBy = errorId ?? helperId;
845
+ const groupName = name ?? id;
846
+ const handleChange = (optionValue, event) => {
847
+ if (!isControlled) setInternalValue(optionValue);
848
+ onChange?.(optionValue, event);
849
+ };
850
+ return /* @__PURE__ */ u("div", {
851
+ ref,
852
+ class: cn("IncodeRadioGroupComposed", className),
853
+ "data-testid": dataTestId,
854
+ children: [
855
+ /* @__PURE__ */ u("span", {
856
+ id: labelId,
857
+ class: "IncodeRadioGroupComposedLabel",
858
+ children: [label, /* @__PURE__ */ u(FieldLabelHint, {
859
+ className: "IncodeRadioGroupComposedLabelHint",
860
+ hint: labelHint,
861
+ required,
862
+ testId: `${id}-label-hint`
863
+ })]
864
+ }),
865
+ /* @__PURE__ */ u("div", {
866
+ class: "IncodeRadioGroupComposedOptions",
867
+ role: "radiogroup",
868
+ "aria-labelledby": labelId,
869
+ "aria-required": required || void 0,
870
+ "aria-invalid": error ? true : void 0,
871
+ "aria-describedby": describedBy,
872
+ "data-orientation": orientation,
873
+ children: options.map((option) => /* @__PURE__ */ u(RadioButtonComposed, {
874
+ id: `${id}-${option.value}`,
875
+ name: groupName,
876
+ label: option.label,
877
+ value: option.value,
878
+ checked: currentValue === option.value,
879
+ disabled: disabled || option.disabled,
880
+ showErrorIcon: false,
881
+ "aria-invalid": error ? true : void 0,
882
+ "aria-describedby": describedBy,
883
+ onChange: (event) => handleChange(option.value, event),
884
+ onBlur
885
+ }, option.value))
886
+ }),
887
+ error && /* @__PURE__ */ u("p", {
888
+ id: errorId,
889
+ class: "IncodeRadioGroupComposedError",
890
+ role: "alert",
891
+ children: error
892
+ }),
893
+ helper && !error && /* @__PURE__ */ u("p", {
894
+ id: helperId,
895
+ class: "IncodeRadioGroupComposedHelper",
896
+ children: helper
897
+ })
898
+ ]
899
+ });
900
+ });
901
+ //#endregion
576
902
  //#region src/shared/textArea/textArea.tsx
577
903
  var TextArea = D((props, ref) => {
578
904
  const { class: className, rows = 4, ...restProps } = props;
@@ -688,12 +1014,12 @@ var ManualCapture = ({ stream, onCapture, disabled }) => {
688
1014
  })]
689
1015
  }), /* @__PURE__ */ u("div", {
690
1016
  class: "IncodeManualCaptureButtonContainer",
691
- children: /* @__PURE__ */ u(Button, {
1017
+ children: /* @__PURE__ */ u(PrizmaButton, {
692
1018
  variant: "primary",
693
1019
  size: "L",
694
1020
  onClick: handleCapture,
695
1021
  disabled: disabled || pending,
696
- class: "IncodeManualCaptureButton",
1022
+ className: "IncodeButton IncodeButtonPrimary IncodeButtonL IncodeManualCaptureButton",
697
1023
  "aria-label": "Capture document",
698
1024
  children: "Capture"
699
1025
  })
@@ -701,4 +1027,4 @@ var ManualCapture = ({ stream, onCapture, disabled }) => {
701
1027
  });
702
1028
  };
703
1029
  //#endregion
704
- export { BaseTutorial, BottomSheet, Button, CalendarIcon, CameraFrame, CameraIcon, CameraOverlay, CameraOverlayHeader, CameraView, CaptureButtonIcon, CaptureFooter, Checkbox, CheckmarkCompactIcon, CheckmarkIcon, ChevronDown, ChevronLeftIcon, ChevronRightIcon, CloseIcon, ConnectionError, DateInputComposed, DropdownComposed, EllipseIcon, ErrorContent, ErrorIcon, EyeIcon, EyeOffIcon, FileIcon, FormField, HelpIcon, Capture as IdCapture, Chooser as IdChooser, IdError, IdExpired, FlipAnimation as IdFlipAnimation, Tutorial as IdTutorial, IncodeComponent, Input, InputComposed, LandscapeBlocker, LightningIcon, LockIcon, Lottie, ManualCapture, Modal, OtpInput, Overlay, Page, PasswordInputComposed, Permissions, PhoneInputComposed, Processing, ProgressBar, RadioButtonComposed, RadioGroupComposed, SearchIcon, SegmentedDateInput, Capture$1 as SelfieCapture, Tutorial$1 as SelfieTutorial, Spacer, Spinner, SuccessIcon, TextArea, TextAreaComposed, Title, TypographyH1, TypographyH3, TypographyH4, TypographyH5, TypographyP, VerificationOptionCard, VerificationOptionCardList, VerificationResult, WarningIcon, applyStudioConfig, countries, getCountryByCallingCode, getCountryByCode, setUiConfig, useManager, useScreenOrientation };
1030
+ export { BaseTutorial, BottomSheet, Button, CalendarIcon, CameraFrame, CameraIcon, CameraOverlay, CameraOverlayHeader, CameraView, CaptureButtonIcon, CaptureFooter, Checkbox, CheckmarkCompactIcon, CheckmarkIcon, ChevronDown, ChevronLeftIcon, ChevronRightIcon, CloseIcon, ConnectionError, DateInputComposed, DropdownComposed, EllipseIcon, ErrorContent, ErrorIcon, EyeIcon, EyeOffIcon, FileIcon, FormField, HelpIcon, Capture as IdCapture, Chooser as IdChooser, IdError, IdExpired, FlipAnimation as IdFlipAnimation, Tutorial as IdTutorial, IncodeComponent, Input, InputComposed, LandscapeBlocker, LightningIcon, LockIcon, Lottie, ManualCapture, Modal, OtpInput, Overlay, Page, PasswordInputComposed, Permissions, PhoneInputComposed, Processing, ProgressBar, RadioButtonComposed, RadioGroupComposed, SearchIcon, SegmentedDateInput, Capture$1 as SelfieCapture, Tutorial$1 as SelfieTutorial, Spacer, Spinner, SuccessIcon, TextArea, TextAreaComposed, Title, TypographyH1, TypographyH3, TypographyH4, TypographyH5, TypographyP, VerificationOptionCard, VerificationOptionCardList, VerificationResult, applyStudioConfig, countries, getCountryByCallingCode, getCountryByCode, setUiConfig, useManager, useScreenOrientation };