@incodetech/web 2.4.1 → 2.5.0-rc.1

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 (365) hide show
  1. package/THIRD_PARTY_NOTICES.txt +1 -4
  2. package/dist/{GeolocationPermissionDenied-GbB9B3J0.js → GeolocationPermissionDenied-C7oh9rAr.js} +23 -8
  3. package/dist/Password-CV69m5l9.js +212 -0
  4. package/dist/RadioGroup-DmCpmlJN.js +123 -0
  5. package/dist/RequiredLegend-CLQ0HX7d.js +16 -0
  6. package/dist/RequiredMarker-CAqxArxr.js +16 -0
  7. package/dist/TextField-D41q5WTe.js +166 -0
  8. package/dist/ae-signature/ae-signature.es.js +4 -4
  9. package/dist/{af-ZA-Dm5i-KRC.js → af-ZA-Bp16S_5w.js} +135 -881
  10. package/dist/{ageVerification-n-1fouaD.js → ageVerification-BBnJYo9K.js} +10 -8
  11. package/dist/{am-UBTEdpJv.js → am-CWJUWWuF.js} +135 -881
  12. package/dist/antifraud/antifraud.es.js +5 -4
  13. package/dist/applyStudioConfig-20qjppIu.js +126 -0
  14. package/dist/{ar-AE--KjG2EAr.js → ar-AE-O12WV51F.js} +136 -882
  15. package/dist/{ar-RFuhholc.js → ar-DgUYRgR_.js} +135 -881
  16. package/dist/{ar-EG-y8SWJjy1.js → ar-EG-C7LOd56j.js} +135 -881
  17. package/dist/assertClassBrand-F6pL6aIr.js +17 -0
  18. package/dist/authentication/authentication.es.js +9 -6
  19. package/dist/autoFocusTitle-C2Ro8zdn.js +19 -0
  20. package/dist/{az-4Z0ZZq7T.js → az-DusLpWep.js} +135 -881
  21. package/dist/{back-horizontal-hint-BztyPanp.js → back-horizontal-hint-Bci98ivl.js} +1 -1
  22. package/dist/{back-vertical-hint-BSzA4QbJ.js → back-vertical-hint-DyPCItxn.js} +1 -1
  23. package/dist/base.css +1 -1
  24. package/dist/{baseTutorial-BixkM88z.js → baseTutorial-BBwEV7AE.js} +9 -7
  25. package/dist/{bn-CNhjOqja.js → bn-CX4BixDE.js} +135 -881
  26. package/dist/{bottomSheet-B4REej8W.js → bottomSheet-DRRJstLk.js} +3 -3
  27. package/dist/{bs-Culcuxab.js → bs-DTnRhENx.js} +134 -880
  28. package/dist/{ca-h1xwo6CW.js → ca-DBI3m_a_.js} +134 -880
  29. package/dist/cameraOverlay-Bz9UJCHp.js +2 -0
  30. package/dist/{cameraOverlayHeader-D4Bjr6Fw.js → cameraOverlayHeader-VCCUFLoy.js} +9 -8
  31. package/dist/{cameraView-BpdAdfIK.js → cameraView-CKWEmlho.js} +13 -14
  32. package/dist/capture-B6vGKsRf.js +3 -0
  33. package/dist/capture-B_WX2h2H.js +2 -0
  34. package/dist/{tutorial-HfSD-QZ3.js → capture-BszIVhdg.js} +226 -82
  35. package/dist/capture-wy0SZwxu.js +754 -0
  36. package/dist/captureButtonIcon-DhTUlcGq.js +1 -0
  37. package/dist/captureFocusContext-OuX65pCg.js +718 -0
  38. package/dist/captureFooter-5KiLmkNi.js +47 -0
  39. package/dist/{ceb-pTDH3h1x.js → ceb-fG0bt_zV.js} +135 -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-CALR7EFM.js → checkbox-tpW2Q3Zi.js} +4 -4
  44. package/dist/chooser-CqCxdQx8.js +1517 -0
  45. package/dist/connectionError-D67rCsgf.js +100 -0
  46. package/dist/consent/consent.es.js +19 -14
  47. package/dist/consent/styles.css +1 -1
  48. package/dist/consent/styles.css.js +1 -1
  49. package/dist/{countryDefinitions-BO9OSKQO.js → countryDefinitions-UXJ0maPk.js} +6 -0
  50. package/dist/{countryFlag-2Vj85OIZ.js → countryFlag-CjuXF_8C.js} +1 -1
  51. package/dist/{countrySelector-DKvvYxP6.js → countrySelector-mjGgTZBA.js} +6 -5
  52. package/dist/cross-document-data-match/cross-document-data-match.es.js +5 -4
  53. package/dist/{cs-CZ-CiATe8nW.js → cs-CZ-DCggApzq.js} +134 -880
  54. package/dist/{cs-CrQuSSOI.js → cs-DsBY9V_4.js} +134 -880
  55. package/dist/curp-validation/curp-validation.es.js +97 -96
  56. package/dist/curp-validation/styles.css +1 -1
  57. package/dist/curp-validation/styles.css.js +1 -1
  58. package/dist/{customFields-DRwjotY-.js → customFields-COihEvWm.js} +33 -20
  59. package/dist/{customWatchlist-DmROVUfp.js → customWatchlist-CE5WPSMm.js} +11 -9
  60. package/dist/{da-DK-CgrU79mp.js → da-DK-B7LXeFYP.js} +134 -880
  61. package/dist/dashboardTheme-Cxl2WlSK.js +388 -0
  62. package/dist/{dateInputComposed-Bu7vM-M4.js → dateInputComposed-DqOzOxfP.js} +4 -5
  63. package/dist/dateInputComposed-kP5wiNvH.js +1 -0
  64. package/dist/{de-D0xnkswj.js → de-BhQ2hOut.js} +134 -880
  65. package/dist/denied-D4oFpTuV.js +272 -0
  66. package/dist/devWarn-SLn4Qexk.js +1034 -0
  67. package/dist/deviceWallet-CPP5AFbd.js +37 -0
  68. package/dist/{digitalIdRedirect-Dpv37Mbi.js → digitalIdRedirect-DqhYI_sj.js} +4 -4
  69. package/dist/{digitalIdUpload-DKXe-_GE.js → digitalIdUpload-p7Zcbeom.js} +37 -15
  70. package/dist/document-capture/document-capture.es.js +1 -1
  71. package/dist/document-capture/styles.css +1 -1
  72. package/dist/document-capture/styles.css.js +1 -1
  73. package/dist/{documentCapture-DlBMtLvL.js → documentCapture-DXG8TB9t.js} +136 -72
  74. package/dist/documentCapture-DczZSZ4A.js +2 -0
  75. package/dist/dropdownComposed-C3uN_APy.js +1 -0
  76. package/dist/{dropdownComposed-B-qTBcja.js → dropdownComposed-CUBU43V3.js} +8 -6
  77. package/dist/dynamic-forms/dynamic-forms.es.js +62 -35
  78. package/dist/ekyb/ekyb.es.js +1 -1
  79. package/dist/ekyb/styles.css +1 -1
  80. package/dist/ekyb/styles.css.js +1 -1
  81. package/dist/{ekybModule-qkUiNFdJ.js → ekybModule-mGfuTVTJ.js} +109 -89
  82. package/dist/ekybModule-xZtYttfn.js +2 -0
  83. package/dist/ekyc/ekyc.es.js +1 -1
  84. package/dist/ekyc/styles.css +1 -1
  85. package/dist/ekyc/styles.css.js +1 -1
  86. package/dist/ekyc-prefill/ekyc-prefill.es.js +2 -0
  87. package/dist/ekyc-prefill/styles.css +2 -0
  88. package/dist/ekyc-prefill/styles.css.js +1 -0
  89. package/dist/ekycModule-Cp-GdWbC.js +789 -0
  90. package/dist/ekycModule-DXy4cT0v.js +2 -0
  91. package/dist/ekycPrefillModule-BKbRJuek.js +233 -0
  92. package/dist/ekycPrefillModule-Cdu0zr52.js +2 -0
  93. package/dist/{el-B5gLXHxC.js → el-D-zg7VzS.js} +134 -880
  94. package/dist/{el-GR-DPUvlcvr.js → el-GR-D9eldyAW.js} +134 -880
  95. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  96. package/dist/{electronic-signature-Jx8qWrW-.js → electronic-signature-uWLkdb8_.js} +55 -36
  97. package/dist/email/email.es.js +21 -16
  98. package/dist/{emailInput-ClX3Lu8X.js → emailInput-Bd8XECrW.js} +23 -12
  99. package/dist/{en-DG-DOwBuCCl.js → en-DG-CKwP-05W.js} +135 -881
  100. package/dist/{en-DNuMvR7-.js → en-DY1lnV9V.js} +135 -881
  101. package/dist/{errorContent-B_pH1MX7.js → errorContent-CqXgrkbQ.js} +21 -20
  102. package/dist/errorParams-B7BZHaA4.js +37 -0
  103. package/dist/es-419-DCPTzJnF.js +5 -0
  104. package/dist/{es-DNl7ceDm.js → es-BKio8b3N.js} +135 -881
  105. package/dist/{es-ES-BF9vl0Um.js → es-ES-MZM-tZ4f.js} +134 -880
  106. package/dist/{es-MX-Brp4FXN8.js → es-MX-Bwa400AE.js} +134 -880
  107. package/dist/{et-D5pPP4r0.js → et-CxKV1DgL.js} +136 -882
  108. package/dist/expiredId-BGfpQzNG.js +67 -0
  109. package/dist/extensibility.es.js +382 -55
  110. package/dist/{fa-IR-BoyK-lax.js → fa-IR-C1bLFtOi.js} +135 -881
  111. package/dist/face-match/face-match.es.js +1 -1
  112. package/dist/face-match/styles.css +1 -1
  113. package/dist/face-match/styles.css.js +1 -1
  114. package/dist/faceMatch-ClTodgeI.js +2 -0
  115. package/dist/{faceMatch-Dp1AGBtg.js → faceMatch-DpccWhgb.js} +54 -71
  116. package/dist/{fi-FI-mYdAUbtG.js → fi-FI-BC_3lqbM.js} +134 -880
  117. package/dist/field-comparison/field-comparison.es.js +1 -1
  118. package/dist/fieldComparison-CXSUE89Z.js +2 -0
  119. package/dist/fieldComparison-D2c7jots.js +126 -0
  120. package/dist/{fieldLabelHint-CxjArYkQ.js → fieldLabelHint-yMZjXK6p.js} +3 -3
  121. package/dist/{finalSuccessScreen-BgPVGAr4.js → finalSuccessScreen-D1AeAOtK.js} +31 -22
  122. package/dist/fiscal-qr/fiscal-qr.es.js +32 -26
  123. package/dist/flipAnimation-DwvNk514.js +46 -0
  124. package/dist/flipCapturedCardEligibility-C8ppBgP9.js +210 -0
  125. package/dist/flow/flow.es.js +315 -287
  126. package/dist/flow/shell/styles.css +1 -1
  127. package/dist/flow/shell/styles.css.js +1 -1
  128. package/dist/flow/styles.css +1 -1
  129. package/dist/formField-Bum3oh1A.js +49 -0
  130. package/dist/{fr-B4R5fgnm.js → fr-BGr4ZZSw.js} +134 -880
  131. package/dist/{fr-CA-DJSwRuWt.js → fr-CA-COfhYgrk.js} +134 -880
  132. package/dist/{front-horizontal-hint-DEHmtcdg.js → front-horizontal-hint-LxyNVfjy.js} +1 -1
  133. package/dist/{front-vertical-hint-Cb1NO-xT.js → front-vertical-hint-BKEg_DRs.js} +1 -1
  134. package/dist/geolocation/geolocation.es.js +15 -12
  135. package/dist/government-validation/government-validation.es.js +7 -6
  136. package/dist/{he-D2RDlnbd.js → he-BGdP9Cfd.js} +135 -881
  137. package/dist/helpButtonConfig-BFragC_J.js +24 -0
  138. package/dist/{hi-DFXhGN9O.js → hi-B8upUDpu.js} +135 -881
  139. package/dist/{hmn-BlNbfL-D.js → hmn-DOK-cZdX.js} +135 -881
  140. package/dist/{homeScreen-DjzxBrYL.js → homeScreen-CPaZiLqi.js} +26 -14
  141. package/dist/{incodeComponent-B-lwJJCV.js → hooks-C6m_ILVe.js} +256 -280
  142. package/dist/{hr-DArr3n62.js → hr-BjtqyvXa.js} +134 -880
  143. package/dist/{ht-CAd-Hmi1.js → ht-CbbFp5XL.js} +135 -881
  144. package/dist/{hu-CulT8eq_.js → hu-BXk1xFve.js} +135 -881
  145. package/dist/{icons-C2LgNjXy.js → icons-DLZTxOV2.js} +153 -80
  146. package/dist/id/id.es.js +167 -197
  147. package/dist/id/styles.css +1 -1
  148. package/dist/id/styles.css.js +1 -1
  149. package/dist/{id-D2VZL6b-.js → id-BrJu1D4k.js} +134 -880
  150. package/dist/{id-back-of-card-C7Au2tqk.js → id-back-of-card-BhF5T4fC.js} +1 -1
  151. package/dist/{id-back-of-card-vertical-CtQBFw8w.js → id-back-of-card-vertical-BudLiGPR.js} +1 -1
  152. package/dist/{id-front-of-card-BmHL_keG.js → id-front-of-card-CiGcJhVW.js} +1 -1
  153. package/dist/{id-front-of-card-vertical-DkNUn2Vx.js → id-front-of-card-vertical-C_GyecLf.js} +1 -1
  154. package/dist/id-selfie-flow/id-selfie-flow.es.js +13 -11
  155. package/dist/id-selfie-flow/styles.css +1 -1
  156. package/dist/id-verification/id-verification.es.js +12 -6
  157. package/dist/idFlipTransition-DMAbw1_Y.js +154 -0
  158. package/dist/{idOcr-BWG3vj8j.js → idOcr-D9zxy2eU.js} +64 -37
  159. package/dist/identity-reuse/identity-reuse.es.js +38 -25
  160. package/dist/identity-reuse/styles.css.js +1 -0
  161. package/dist/incodeComponent-DPY-ikO3.js +235 -0
  162. package/dist/incodeModule-Dyy5PfM4.js +41 -0
  163. package/dist/index.es.js +4 -3
  164. package/dist/{inputComposed-B35soRFg.js → inputComposed-BG3XgpYE.js} +4 -4
  165. package/dist/{it-fs9OkGbv.js → it-DI-TPE-K.js} +135 -881
  166. package/dist/{ja-BvKVI6Oo.js → ja-3XIFqaXu.js} +135 -881
  167. package/dist/{ja-JP-C5-gDGuX.js → ja-JP-BAeRWiVk.js} +136 -882
  168. package/dist/{jv-CyId7aPo.js → jv-BhjQxxBl.js} +134 -880
  169. package/dist/{ka-pqIPc2el.js → ka-Bx4-RrZ_.js} +135 -881
  170. package/dist/{kk-DK7mWl6k.js → kk-Ct91ZRbP.js} +134 -880
  171. package/dist/{km-BaJYdDrm.js → km-BWQuuNXz.js} +142 -888
  172. package/dist/{ko-CdYIGTH_.js → ko-Cve9iLc7.js} +135 -881
  173. package/dist/{ko-KP-Q3GGdDp3.js → ko-KP-0iLztCuj.js} +135 -881
  174. package/dist/{ky-Bc7ZXIXy.js → ky-DGt4vj88.js} +134 -880
  175. package/dist/kyb-checks/kyb-checks.es.js +2 -0
  176. package/dist/kyb-checks/styles.css +2 -0
  177. package/dist/kyb-checks/styles.css.js +1 -0
  178. package/dist/kybChecksModule-BlLRwSFe.js +2 -0
  179. package/dist/kybChecksModule-DmjxRBhO.js +345 -0
  180. package/dist/{lo-0jgAavCe.js → lo-DPvsfR2F.js} +135 -881
  181. package/dist/{lt-DDEjR6RD.js → lt-BMI5NrHt.js} +134 -880
  182. package/dist/{lv-Ddzb_N3H.js → lv-Bpw5rGRP.js} +135 -881
  183. package/dist/{mandatoryConsent-C21a2d2-.js → mandatoryConsent-Blhxc0KK.js} +23 -16
  184. package/dist/{manualCaptureButton-1KC7N_B-.js → manualCaptureButton-B1hLcNl4.js} +8 -7
  185. package/dist/{manualCaptureButton-C5VMDamt.js → manualCaptureButton-Cr-FQ3-N.js} +16 -12
  186. package/dist/{mk-SJwou4aX.js → mk-C9Z-5xUg.js} +135 -881
  187. package/dist/{mn-7B86xjpb.js → mn-p0zBw-tm.js} +134 -880
  188. package/dist/{ms-Bb-SlQCF.js → ms-CF8aT_Qq.js} +134 -880
  189. package/dist/{my-3ci4RJZY.js → my-CqWwTa_5.js} +135 -881
  190. package/dist/{nb-NO-DpZAni0R.js → nb-NO-C7Hb8Ok5.js} +134 -880
  191. package/dist/{ne-Dncyvxqt.js → ne-B5InVJ21.js} +135 -881
  192. package/dist/{nl-C1mnzCBH.js → nl-aJiBBLFg.js} +134 -880
  193. package/dist/{optionAccessibleLabel-DG8Lks9f.js → optionAccessibleLabel-JFrEz0Ax.js} +27 -11
  194. package/dist/otpInput-Bn8PHFh7.js +245 -0
  195. package/dist/{page-DINsqGIw.js → page-b7Hx6klV.js} +102 -79
  196. package/dist/{incode-logo-B1bl2S0z.js → pageUiConfig-BlsOWl2d.js} +88 -14
  197. package/dist/{passport-horizontal-hint-DgNc6F0-.js → passport-horizontal-hint-Bn18pckF.js} +1 -1
  198. package/dist/{passport-vertical-hint-B-toVsfT.js → passport-vertical-hint-D_bvTNZY.js} +1 -1
  199. package/dist/passwordRequirements-13qw_WSJ.js +49 -0
  200. package/dist/{pdf-BKHLi5Ac.js → pdf-DO_HvE8T.js} +2 -17
  201. package/dist/pdfViewer-BT-O-Zj1.js +2 -0
  202. package/dist/{pdfViewer-C8xHykz1.js → pdfViewer-D_sXx3SF.js} +11 -14
  203. package/dist/permissionInstructionList-CGo9uSeQ.js +43 -0
  204. package/dist/{permissions-B7-lHrFm.js → permissions-CS58hLHp.js} +84 -53
  205. package/dist/phone/phone.es.js +16 -12
  206. package/dist/{phoneInputComposed-Di4acsc0.js → phoneInputComposed-Dc2lHg4Z.js} +49 -12
  207. package/dist/{pl-CWr2fVBg.js → pl-CDmSpQ_-.js} +134 -880
  208. package/dist/preloadableLazy-KWGuHoqn.js +43 -0
  209. package/dist/{processing-z5wuXrKw.js → processing-C5A54RCC.js} +2 -2
  210. package/dist/{progressBar-BcKFaXZR.js → progressBar-CmkJY5xT.js} +2 -2
  211. package/dist/{pt-AGz2XGAK.js → pt-0SO_cPU9.js} +135 -881
  212. package/dist/{pt-BR-CMvTsOqE.js → pt-BR-BEfs5M8G.js} +135 -881
  213. package/dist/{pt-PT-KzIM0vpf.js → pt-PT-ONBmg0BR.js} +135 -881
  214. package/dist/qe-signature/qe-signature.es.js +4 -4
  215. package/dist/realtimeFeedbackConfig-DeZksjlR.js +16 -0
  216. package/dist/redirect-to-mobile/redirect-to-mobile.es.js +66 -62
  217. package/dist/redirect-to-mobile/styles.css +1 -1
  218. package/dist/redirect-to-mobile/styles.css.js +1 -1
  219. package/dist/{registerIncodeElement-D_cn4dSI.js → registerIncodeElement-FoirFu19.js} +1 -1
  220. package/dist/{resendTimer-On_zrMLS.js → resendTimer-B7aR2zn3.js} +2 -2
  221. package/dist/richText-DlHC_sMB.js +1761 -0
  222. package/dist/{ro-DYdJJDKn.js → ro-ChyvDsu3.js} +135 -881
  223. package/dist/{ru-C1cguVi2.js → ru-B_vdxKv-.js} +134 -880
  224. package/dist/{ru-RU-18JeDfwz.js → ru-RU-CrvUlCJj.js} +134 -880
  225. package/dist/{sanitizeSvg-BC-qLUgS.js → sanitizeSvg-IfqLuP1N.js} +1 -1
  226. package/dist/selfie/selfie.es.js +37 -14
  227. package/dist/selfie/styles.css +1 -1
  228. package/dist/selfie/styles.css.js +1 -1
  229. package/dist/signature/signature.es.js +18 -13
  230. package/dist/{sk-CtIcnYOo.js → sk-ljMYKwHQ.js} +136 -882
  231. package/dist/{sl-DS_Gc0Wc.js → sl-BbVJSIEt.js} +135 -881
  232. package/dist/{smsTabContent-vE0WyKtg.js → smsTabContent-BOIszuLx.js} +40 -27
  233. package/dist/{so-dqMTkg5E.js → so-DTymvbrx.js} +135 -881
  234. package/dist/spacer-DQdgPJjU.js +1100 -0
  235. package/dist/spinner-DQf6JseL.js +69 -0
  236. package/dist/{sr-DgHGiiWM.js → sr-JVvblELi.js} +134 -880
  237. package/dist/{sr-Latn-Du7_x_Tr.js → sr-Latn-9I-jEoNt.js} +142 -888
  238. package/dist/sr-YU-AHJXObyx.js +5 -0
  239. package/dist/{sv-SE-Dw61hRjx.js → sv-SE-MhrEy6Di.js} +134 -880
  240. package/dist/{sw-De-Jo8XY.js → sw-2Mtjggv_.js} +135 -881
  241. package/dist/{th-BJixOgsM.js → th-CRCVvVIy.js} +135 -881
  242. package/dist/{th-TH-VyhljC5U.js → th-TH-BJP2vgt1.js} +135 -881
  243. package/dist/themes/dark.css +1 -1
  244. package/dist/themes/light.css +1 -1
  245. package/dist/{tl-DhjdqhA4.js → tl-CI98qs3U.js} +135 -881
  246. package/dist/{tl-PH-D2S2Irx7.js → tl-PH-Bwmbtl_j.js} +135 -881
  247. package/dist/{tr-BJAuvOwN.js → tr-Bjsibm46.js} +135 -881
  248. package/dist/{transitionSpinner-BZO916B1.js → transitionSpinner-BTr1yrwy.js} +7 -7
  249. package/dist/tutorial-DO3fs1fY.js +28 -0
  250. package/dist/types/ae-signature.d.ts +17 -4
  251. package/dist/types/antifraud.d.ts +17 -4
  252. package/dist/types/authentication.d.ts +17 -4
  253. package/dist/types/certificate-issuance.d.ts +17 -4
  254. package/dist/types/consent.d.ts +17 -4
  255. package/dist/types/cross-document-data-match.d.ts +17 -4
  256. package/dist/types/curp-validation.d.ts +17 -4
  257. package/dist/types/document-capture.d.ts +17 -4
  258. package/dist/types/dynamic-forms.d.ts +17 -4
  259. package/dist/types/ekyb.d.ts +17 -4
  260. package/dist/types/ekyc-prefill.d.ts +213 -0
  261. package/dist/types/ekyc.d.ts +17 -4
  262. package/dist/types/electronic-signature.d.ts +17 -4
  263. package/dist/types/email.d.ts +17 -4
  264. package/dist/types/extensibility.d.ts +204 -37
  265. package/dist/types/face-match.d.ts +17 -4
  266. package/dist/types/field-comparison.d.ts +17 -4
  267. package/dist/types/fiscal-qr.d.ts +17 -4
  268. package/dist/types/flow.d.ts +38 -5
  269. package/dist/types/geolocation.d.ts +17 -4
  270. package/dist/types/government-validation.d.ts +17 -4
  271. package/dist/types/id-selfie-flow.d.ts +17 -4
  272. package/dist/types/id-verification.d.ts +17 -4
  273. package/dist/types/id.d.ts +17 -4
  274. package/dist/types/identity-reuse.d.ts +18 -5
  275. package/dist/types/index.d.ts +92 -10
  276. package/dist/types/kyb-checks.d.ts +213 -0
  277. package/dist/types/phone.d.ts +17 -4
  278. package/dist/types/qe-signature.d.ts +17 -4
  279. package/dist/types/redirect-to-mobile.d.ts +1 -1
  280. package/dist/types/selfie.d.ts +17 -4
  281. package/dist/types/signature.d.ts +17 -4
  282. package/dist/types/video-selfie.d.ts +1 -1
  283. package/dist/types/watchlist.d.ts +17 -4
  284. package/dist/types/workflow.d.ts +17 -4
  285. package/dist/{typography-8iwtPQbj.js → typography-CyT20XIA.js} +3 -11
  286. package/dist/{uk-UA-BZR90qDZ.js → uk-UA-DmKAplUk.js} +135 -881
  287. package/dist/{uk-CcU91ee-.js → uk-fCdIfhh5.js} +134 -880
  288. package/dist/{ur-CIXtUYHK.js → ur-Dh9AF1hS.js} +135 -881
  289. package/dist/useCameraPreview-hNLhri73.js +93 -0
  290. package/dist/useCaptureHelpButton-CSuQmlEp.js +43 -0
  291. package/dist/useIsDarkTheme-DoOFy9TN.js +27 -0
  292. package/dist/{useModuleLoader-BdIp6TNQ.js → useModuleLoader-BCYS1xLP.js} +31 -18
  293. package/dist/{uz-CeLVgwAD.js → uz-DYarfGyT.js} +135 -881
  294. package/dist/{vendor-preact-C0jX1Cbq.js → vendor-preact-CjnloSla.js} +147 -5
  295. package/dist/{verificationResult-C2gxbmAo.js → verificationResult-C8jlwbOw.js} +30 -27
  296. package/dist/{vi-CgfGVVLY.js → vi-uK03Bfuc.js} +135 -881
  297. package/dist/video-selfie/styles.css +1 -1
  298. package/dist/video-selfie/styles.css.js +1 -1
  299. package/dist/video-selfie/video-selfie.es.js +120 -77
  300. package/dist/watchlist/watchlist.es.js +12 -9
  301. package/dist/{watchlistForBusiness-eOPtmu7z.js → watchlistForBusiness-DjSYKjVv.js} +63 -22
  302. package/dist/{withEndScreenTexts-aFUEeBgM.js → withEndScreenTexts-TlaaD6Qn.js} +253 -55
  303. package/dist/workflow/styles.css +1 -1
  304. package/dist/workflow/workflow.es.js +36 -28
  305. package/dist/{zh-CN-BOxod1_T.js → zh-CN-BkQoAg2R.js} +136 -882
  306. package/dist/{zh-HANT-zAahQ8nP.js → zh-HANT-DRh68ryN.js} +135 -881
  307. package/dist/{zh-B-kjeCig.js → zh-JlU3mjl9.js} +134 -880
  308. package/dist/{zh-TW-B0v7GYYG.js → zh-TW-ByGAHrvB.js} +135 -881
  309. package/package.json +48 -12
  310. package/dist/autoFocusTitle-Cy0J3lvr.js +0 -32
  311. package/dist/browser-ponyfill-DT11p-Ob.js +0 -441
  312. package/dist/cameraOverlay-DQEG24io.js +0 -2
  313. package/dist/check-icon-BpjpKqhJ.js +0 -48
  314. package/dist/connectionError-Cf6iGFyx.js +0 -45
  315. package/dist/dashboardTheme-CkyISqIs.js +0 -247
  316. package/dist/dateInputComposed-cgZGBSiu.js +0 -1
  317. package/dist/denied-ByGDWkTW.js +0 -1871
  318. package/dist/deviceWallet-C4UT05wN.js +0 -66
  319. package/dist/documentCapture-Dh1ftzGG.js +0 -2
  320. package/dist/dropdownComposed-DmT4s8VM.js +0 -1
  321. package/dist/ekybModule-BHInfPHS.js +0 -2
  322. package/dist/ekycModule-B2cfT3zi.js +0 -2
  323. package/dist/ekycModule-BQPl1KQT.js +0 -300
  324. package/dist/es-419-BU7r2Fvh.js +0 -3193
  325. package/dist/esm-15CISqPe.js +0 -430
  326. package/dist/expiredId-GIHjGAuY.js +0 -80
  327. package/dist/faceMatch-bXhejzhf.js +0 -2
  328. package/dist/fieldComparison-BirXQb7f.js +0 -2
  329. package/dist/fieldComparison-D8PL0eR1.js +0 -109
  330. package/dist/flipAnimation-BgMPQ8Ma.js +0 -3048
  331. package/dist/formField-0k8wVfXl.js +0 -60
  332. package/dist/incodeModule-DiVtqekm.js +0 -68
  333. package/dist/inputComposed-CKujYUSB.js +0 -1
  334. package/dist/numberedStep-CvbL3ht2.js +0 -13
  335. package/dist/otpInput-_B7xEZUU.js +0 -157
  336. package/dist/passwordInputComposed-B3WKjODU.js +0 -74
  337. package/dist/pdfViewer-DcB41xr7.js +0 -2
  338. package/dist/radioGroupComposed-CIbHjX4v.js +0 -160
  339. package/dist/radioGroupComposed-eXNWg1ez.js +0 -1
  340. package/dist/reload-icon-elAFo9-k.js +0 -70
  341. package/dist/richText-aCnLd3j2.js +0 -1549
  342. package/dist/spacer-lcnhSC-5.js +0 -741
  343. package/dist/spinner-B8BswhBb.js +0 -88
  344. package/dist/sr-YU-YuZu7wdb.js +0 -3197
  345. package/dist/statusPage-WIsGgf_m.js +0 -36
  346. package/dist/uiConfig-CwGL3QjP.js +0 -2589
  347. package/dist/useCaptureHelpButton-BTUZs3Ev.js +0 -86
  348. package/dist/useCoverMedia-VLw3OYN_.js +0 -149
  349. /package/dist/{aligndevicelottie-BARt-rhe.js → aligndevicelottie-BEKzL4SB.js} +0 -0
  350. /package/dist/{back-tutorial-CZrMmj1_.js → back-tutorial-B9W63fa-.js} +0 -0
  351. /package/dist/{backdevicelottie-CIM3ekd8.js → backdevicelottie-DsN8QBV3.js} +0 -0
  352. /package/dist/{blurdevicelottie-BRyXfLB6.js → blurdevicelottie-DkV7Kwo4.js} +0 -0
  353. /package/dist/{defineProperty-CjeJoXkx.js → defineProperty-B4FQTz14.js} +0 -0
  354. /package/dist/{flip-animation-BU5LNKYx.js → flip-animation-DJVnWWL5.js} +0 -0
  355. /package/dist/{frontdevicelottie-arpyu_Fz.js → frontdevicelottie-DiW1Wmya.js} +0 -0
  356. /package/dist/{glaredevicelottie-TwTFxe7h.js → glaredevicelottie-CK-fnX_s.js} +0 -0
  357. /package/dist/{id-laser-h-Dr-hBxrq.js → id-laser-h-6Am_cjM8.js} +0 -0
  358. /package/dist/{id-laser-v-D_r0QNY8.js → id-laser-v-DXoF3flH.js} +0 -0
  359. /package/dist/{id-tutorial-DM9Pkfs-.js → id-tutorial-DkKH3eTE.js} +0 -0
  360. /package/dist/{lottie_light-aMg9Q9iO.js → lottie_light-Bam05Bc9.js} +0 -0
  361. /package/dist/{passport-tutorial-CKZZuDf_.js → passport-tutorial-D3Fpk-Tj.js} +0 -0
  362. /package/dist/{pdf.worker.min-BM1b2w9V.js → pdf.worker.min-D0hm-8jN.js} +0 -0
  363. /package/dist/{policyUrls-B3M8nLRh.js → policyUrls-B3TEaluh.js} +0 -0
  364. /package/dist/{purify.es-0fCPkEV1.js → purify.es-DhY3JLdI.js} +0 -0
  365. /package/dist/{selfieTutorial-Dz6lDFMn.js → selfieTutorial-DnsRD1Z9.js} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/web",
3
- "version": "2.4.1",
3
+ "version": "2.5.0-rc.1",
4
4
  "license": "ISC",
5
5
  "repository": {
6
6
  "type": "git",
@@ -108,6 +108,15 @@
108
108
  "source": "./src/modules/face-match/styles.css",
109
109
  "default": "./dist/face-match/styles.css"
110
110
  },
111
+ "./authentication": {
112
+ "source": "./src/modules/authentication/authentication.tsx",
113
+ "types": "./dist/types/authentication.d.ts",
114
+ "import": "./dist/authentication/authentication.es.js"
115
+ },
116
+ "./authentication/styles.css": {
117
+ "source": "./src/modules/selfie/styles.css",
118
+ "default": "./dist/selfie/styles.css"
119
+ },
111
120
  "./curp-validation": {
112
121
  "source": "./src/modules/curp-validation/curp-validation.tsx",
113
122
  "types": "./dist/types/curp-validation.d.ts",
@@ -162,6 +171,24 @@
162
171
  "source": "./src/modules/ekyb/styles.css",
163
172
  "default": "./dist/ekyb/styles.css"
164
173
  },
174
+ "./kyb-checks": {
175
+ "source": "./src/modules/kyb-checks/kybChecksModule.tsx",
176
+ "types": "./dist/types/kyb-checks.d.ts",
177
+ "import": "./dist/kyb-checks/kyb-checks.es.js"
178
+ },
179
+ "./kyb-checks/styles.css": {
180
+ "source": "./src/modules/kyb-checks/styles.css",
181
+ "default": "./dist/kyb-checks/styles.css"
182
+ },
183
+ "./ekyc-prefill": {
184
+ "source": "./src/modules/ekyc-prefill/ekycPrefillModule.tsx",
185
+ "types": "./dist/types/ekyc-prefill.d.ts",
186
+ "import": "./dist/ekyc-prefill/ekyc-prefill.es.js"
187
+ },
188
+ "./ekyc-prefill/styles.css": {
189
+ "source": "./src/modules/ekyc-prefill/styles.css",
190
+ "default": "./dist/ekyc-prefill/styles.css"
191
+ },
165
192
  "./document-capture": {
166
193
  "source": "./src/modules/document-capture/documentCapture.tsx",
167
194
  "types": "./dist/types/document-capture.d.ts",
@@ -287,11 +314,14 @@
287
314
  ],
288
315
  "dependencies": {
289
316
  "preact": "^10.27.2",
290
- "@incodetech/core": "2.4.1"
317
+ "@incodetech/core": "2.5.0-rc.1"
291
318
  },
292
319
  "devDependencies": {
293
320
  "@fontsource/dm-sans": "^5.2.8",
294
321
  "@fontsource/rethink-sans": "^5.2.8",
322
+ "@incodetech/prizma-core-icons": "0.4.5",
323
+ "@incodetech/prizma-core-tokens": "^0.19.0",
324
+ "@incodetech/prizma-core-web": "0.20.0",
295
325
  "@microsoft/api-extractor": "^7.53.3",
296
326
  "@preact/preset-vite": "^2.10.5",
297
327
  "@storybook/addon-a11y": "^10.4.1",
@@ -313,12 +343,11 @@
313
343
  "dompurify": "^3.3.3",
314
344
  "happy-dom": "^20.7.0",
315
345
  "i18next": "^25.7.1",
316
- "i18next-http-backend": "^3.0.2",
317
346
  "lightningcss": "^1.32.0",
318
347
  "lottie-web": "5.13.0",
319
- "marked": "^17.0.5",
348
+ "marked": "^18.1.3",
320
349
  "pdfjs-dist": "~5.4.624",
321
- "playwright": "1.60.0",
350
+ "playwright": "1.65.0",
322
351
  "postcss": "^8.5.6",
323
352
  "postcss-import": "^16.1.1",
324
353
  "preact-custom-element": "^4.6.0",
@@ -338,24 +367,31 @@
338
367
  "@incodetech/config": "1.0.2"
339
368
  },
340
369
  "scripts": {
341
- "build": "rm -rf dist && vite build && pnpm check:i18n-bundle && pnpm check:dist-types",
342
- "build:cdn": "rm -rf dist && NODE_OPTIONS=--experimental-strip-types BUILD_TARGET=cdn vite build && pnpm check:i18n-bundle && pnpm check:dist-types",
343
- "check:css-scope": "node scripts/check-css-scope.mjs",
344
- "check:dist-types": "tsgo -p tsconfig.dist-types.json",
370
+ "build": "rm -rf dist && vite build && pnpm check:i18n-bundle && pnpm check:dist-types && pnpm check:dist-dev-imports",
371
+ "build:cdn": "rm -rf dist && NODE_OPTIONS=--experimental-strip-types BUILD_TARGET=cdn vite build && pnpm check:i18n-bundle && pnpm check:dist-types && pnpm check:dist-dev-imports && pnpm check:cdn-imports",
372
+ "check:cdn-imports": "node scripts/check-cdn-hoisted-imports.mjs",
373
+ "check:dist-dev-imports": "node scripts/check-dist-dev-imports.mjs",
374
+ "check:css-scope": "node --test scripts/check-css-scope.test.mjs && node scripts/check-css-scope.mjs",
375
+ "check:dist-types": "bun check -p tsconfig.dist-types.json --no-script",
345
376
  "check:i18n-bundle": "node scripts/check-i18n-bundle.mjs",
377
+ "generate:prizma-bridge": "node scripts/generate-prizma-bridge.mjs && prettier --write src/styles/tokens/prizmaBridge.css",
378
+ "generate:studio-theme": "node scripts/generate-studio-theme.mjs && prettier --write src/styles/tokens/studioTheme.css",
346
379
  "build:dev": "NODE_ENV=development vite build",
347
380
  "build:analyze": "rm -rf dist && ANALYZE=1 vite build && echo '\\nBundle report: packages/ui/dist/stats.html\\n'",
348
381
  "optimize:svg": "svgo -rf src --quiet",
349
382
  "test": "vitest run --project=unit",
383
+ "test:shard": "vitest run --project=unit --shard=$VITEST_SHARD",
384
+ "test:changed": "vitest run --project=unit --changed origin/main --passWithNoTests",
350
385
  "test:storybook": "vitest run --project=storybook",
351
386
  "test:a11y": "VITE_STORYBOOK_A11Y=true vitest run --project=storybook",
387
+ "test:a11y:shard": "VITE_STORYBOOK_A11Y=true vitest run --project=storybook --shard=$VITEST_SHARD --reporter=default --reporter=json --outputFile.json=test-results/a11y/results.json",
352
388
  "coverage": "vitest run --project=unit --coverage",
353
- "lint": "eslint . && pnpm lint:styles",
354
- "lint:fix": "eslint . --fix && pnpm lint:styles",
389
+ "lint": "oxlint . && pnpm lint:styles",
390
+ "lint:fix": "oxlint . --fix && pnpm lint:styles",
355
391
  "lint:styles": "stylelint \"src/**/*.css\"",
356
392
  "format": "prettier --write . --ignore-path ../../.prettierignore",
357
393
  "format:check": "prettier --check . --ignore-path ../../.prettierignore",
358
- "typecheck": "tsgo -p tsconfig.json --noEmit",
394
+ "typecheck": "bun check -p tsconfig.json --noEmit --no-script",
359
395
  "storybook": "NODE_OPTIONS=--experimental-strip-types storybook dev -p 6006",
360
396
  "build-storybook": "NODE_OPTIONS=--experimental-strip-types storybook build"
361
397
  }
@@ -1,32 +0,0 @@
1
- import { _ as y, c as A, v as u } from "./vendor-preact-C0jX1Cbq.js";
2
- import { t as Title } from "./typography-8iwtPQbj.js";
3
- //#region src/shared/autoFocusTitle/autoFocusTitle.tsx
4
- /**
5
- * `<h2>` heading that moves focus to itself on mount.
6
- *
7
- * Use when a screen or sub-section has a heading rendered mid-content
8
- * (i.e. not via `Page`'s `title` prop) and you still need keyboard /
9
- * screen-reader users to land on it. Fulfills WCAG SC 2.4.3 Focus Order
10
- * for in-page transitions where the heading is the natural starting
11
- * point.
12
- *
13
- * For page-level headings, prefer `Page`'s `title` prop — it does the
14
- * same thing, plus provides the `<main>` landmark and visual layout.
15
- */
16
- var AutoFocusTitle = ({ children, className, id, "data-testid": dataTestId, describedById }) => {
17
- const ref = A(null);
18
- y(() => {
19
- ref.current?.focus();
20
- }, []);
21
- return /* @__PURE__ */ u(Title, {
22
- ref,
23
- id,
24
- tabIndex: -1,
25
- className,
26
- "aria-describedby": describedById,
27
- "data-testid": dataTestId,
28
- children
29
- });
30
- };
31
- //#endregion
32
- export { AutoFocusTitle as t };
@@ -1,441 +0,0 @@
1
- import { t as __commonJSMin } from "./rolldown-runtime--E5BIlTp.js";
2
- //#region ../../node_modules/.pnpm/cross-fetch@4.0.0/node_modules/cross-fetch/dist/browser-ponyfill.js
3
- var require_browser_ponyfill = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4
- var __global__ = typeof globalThis !== "undefined" && globalThis || typeof self !== "undefined" && self || typeof global !== "undefined" && global;
5
- var __globalThis__ = (function() {
6
- function F() {
7
- this.fetch = false;
8
- this.DOMException = __global__.DOMException;
9
- }
10
- F.prototype = __global__;
11
- return new F();
12
- })();
13
- (function(globalThis) {
14
- (function(exports$1) {
15
- var global = typeof globalThis !== "undefined" && globalThis || typeof self !== "undefined" && self || typeof global !== "undefined" && global;
16
- var support = {
17
- searchParams: "URLSearchParams" in global,
18
- iterable: "Symbol" in global && "iterator" in Symbol,
19
- blob: "FileReader" in global && "Blob" in global && (function() {
20
- try {
21
- new Blob();
22
- return true;
23
- } catch (e) {
24
- return false;
25
- }
26
- })(),
27
- formData: "FormData" in global,
28
- arrayBuffer: "ArrayBuffer" in global
29
- };
30
- function isDataView(obj) {
31
- return obj && DataView.prototype.isPrototypeOf(obj);
32
- }
33
- if (support.arrayBuffer) {
34
- var viewClasses = [
35
- "[object Int8Array]",
36
- "[object Uint8Array]",
37
- "[object Uint8ClampedArray]",
38
- "[object Int16Array]",
39
- "[object Uint16Array]",
40
- "[object Int32Array]",
41
- "[object Uint32Array]",
42
- "[object Float32Array]",
43
- "[object Float64Array]"
44
- ];
45
- var isArrayBufferView = ArrayBuffer.isView || function(obj) {
46
- return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1;
47
- };
48
- }
49
- function normalizeName(name) {
50
- if (typeof name !== "string") name = String(name);
51
- if (/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(name) || name === "") throw new TypeError("Invalid character in header field name: \"" + name + "\"");
52
- return name.toLowerCase();
53
- }
54
- function normalizeValue(value) {
55
- if (typeof value !== "string") value = String(value);
56
- return value;
57
- }
58
- function iteratorFor(items) {
59
- var iterator = { next: function() {
60
- var value = items.shift();
61
- return {
62
- done: value === void 0,
63
- value
64
- };
65
- } };
66
- if (support.iterable) iterator[Symbol.iterator] = function() {
67
- return iterator;
68
- };
69
- return iterator;
70
- }
71
- function Headers(headers) {
72
- this.map = {};
73
- if (headers instanceof Headers) headers.forEach(function(value, name) {
74
- this.append(name, value);
75
- }, this);
76
- else if (Array.isArray(headers)) headers.forEach(function(header) {
77
- this.append(header[0], header[1]);
78
- }, this);
79
- else if (headers) Object.getOwnPropertyNames(headers).forEach(function(name) {
80
- this.append(name, headers[name]);
81
- }, this);
82
- }
83
- Headers.prototype.append = function(name, value) {
84
- name = normalizeName(name);
85
- value = normalizeValue(value);
86
- var oldValue = this.map[name];
87
- this.map[name] = oldValue ? oldValue + ", " + value : value;
88
- };
89
- Headers.prototype["delete"] = function(name) {
90
- delete this.map[normalizeName(name)];
91
- };
92
- Headers.prototype.get = function(name) {
93
- name = normalizeName(name);
94
- return this.has(name) ? this.map[name] : null;
95
- };
96
- Headers.prototype.has = function(name) {
97
- return this.map.hasOwnProperty(normalizeName(name));
98
- };
99
- Headers.prototype.set = function(name, value) {
100
- this.map[normalizeName(name)] = normalizeValue(value);
101
- };
102
- Headers.prototype.forEach = function(callback, thisArg) {
103
- for (var name in this.map) if (this.map.hasOwnProperty(name)) callback.call(thisArg, this.map[name], name, this);
104
- };
105
- Headers.prototype.keys = function() {
106
- var items = [];
107
- this.forEach(function(value, name) {
108
- items.push(name);
109
- });
110
- return iteratorFor(items);
111
- };
112
- Headers.prototype.values = function() {
113
- var items = [];
114
- this.forEach(function(value) {
115
- items.push(value);
116
- });
117
- return iteratorFor(items);
118
- };
119
- Headers.prototype.entries = function() {
120
- var items = [];
121
- this.forEach(function(value, name) {
122
- items.push([name, value]);
123
- });
124
- return iteratorFor(items);
125
- };
126
- if (support.iterable) Headers.prototype[Symbol.iterator] = Headers.prototype.entries;
127
- function consumed(body) {
128
- if (body.bodyUsed) return Promise.reject(/* @__PURE__ */ new TypeError("Already read"));
129
- body.bodyUsed = true;
130
- }
131
- function fileReaderReady(reader) {
132
- return new Promise(function(resolve, reject) {
133
- reader.onload = function() {
134
- resolve(reader.result);
135
- };
136
- reader.onerror = function() {
137
- reject(reader.error);
138
- };
139
- });
140
- }
141
- function readBlobAsArrayBuffer(blob) {
142
- var reader = new FileReader();
143
- var promise = fileReaderReady(reader);
144
- reader.readAsArrayBuffer(blob);
145
- return promise;
146
- }
147
- function readBlobAsText(blob) {
148
- var reader = new FileReader();
149
- var promise = fileReaderReady(reader);
150
- reader.readAsText(blob);
151
- return promise;
152
- }
153
- function readArrayBufferAsText(buf) {
154
- var view = new Uint8Array(buf);
155
- var chars = new Array(view.length);
156
- for (var i = 0; i < view.length; i++) chars[i] = String.fromCharCode(view[i]);
157
- return chars.join("");
158
- }
159
- function bufferClone(buf) {
160
- if (buf.slice) return buf.slice(0);
161
- else {
162
- var view = new Uint8Array(buf.byteLength);
163
- view.set(new Uint8Array(buf));
164
- return view.buffer;
165
- }
166
- }
167
- function Body() {
168
- this.bodyUsed = false;
169
- this._initBody = function(body) {
170
- this.bodyUsed = this.bodyUsed;
171
- this._bodyInit = body;
172
- if (!body) this._bodyText = "";
173
- else if (typeof body === "string") this._bodyText = body;
174
- else if (support.blob && Blob.prototype.isPrototypeOf(body)) this._bodyBlob = body;
175
- else if (support.formData && FormData.prototype.isPrototypeOf(body)) this._bodyFormData = body;
176
- else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) this._bodyText = body.toString();
177
- else if (support.arrayBuffer && support.blob && isDataView(body)) {
178
- this._bodyArrayBuffer = bufferClone(body.buffer);
179
- this._bodyInit = new Blob([this._bodyArrayBuffer]);
180
- } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) this._bodyArrayBuffer = bufferClone(body);
181
- else this._bodyText = body = Object.prototype.toString.call(body);
182
- if (!this.headers.get("content-type")) {
183
- if (typeof body === "string") this.headers.set("content-type", "text/plain;charset=UTF-8");
184
- else if (this._bodyBlob && this._bodyBlob.type) this.headers.set("content-type", this._bodyBlob.type);
185
- else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8");
186
- }
187
- };
188
- if (support.blob) {
189
- this.blob = function() {
190
- var rejected = consumed(this);
191
- if (rejected) return rejected;
192
- if (this._bodyBlob) return Promise.resolve(this._bodyBlob);
193
- else if (this._bodyArrayBuffer) return Promise.resolve(new Blob([this._bodyArrayBuffer]));
194
- else if (this._bodyFormData) throw new Error("could not read FormData body as blob");
195
- else return Promise.resolve(new Blob([this._bodyText]));
196
- };
197
- this.arrayBuffer = function() {
198
- if (this._bodyArrayBuffer) {
199
- var isConsumed = consumed(this);
200
- if (isConsumed) return isConsumed;
201
- if (ArrayBuffer.isView(this._bodyArrayBuffer)) return Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset, this._bodyArrayBuffer.byteOffset + this._bodyArrayBuffer.byteLength));
202
- else return Promise.resolve(this._bodyArrayBuffer);
203
- } else return this.blob().then(readBlobAsArrayBuffer);
204
- };
205
- }
206
- this.text = function() {
207
- var rejected = consumed(this);
208
- if (rejected) return rejected;
209
- if (this._bodyBlob) return readBlobAsText(this._bodyBlob);
210
- else if (this._bodyArrayBuffer) return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer));
211
- else if (this._bodyFormData) throw new Error("could not read FormData body as text");
212
- else return Promise.resolve(this._bodyText);
213
- };
214
- if (support.formData) this.formData = function() {
215
- return this.text().then(decode);
216
- };
217
- this.json = function() {
218
- return this.text().then(JSON.parse);
219
- };
220
- return this;
221
- }
222
- var methods = [
223
- "DELETE",
224
- "GET",
225
- "HEAD",
226
- "OPTIONS",
227
- "POST",
228
- "PUT"
229
- ];
230
- function normalizeMethod(method) {
231
- var upcased = method.toUpperCase();
232
- return methods.indexOf(upcased) > -1 ? upcased : method;
233
- }
234
- function Request(input, options) {
235
- if (!(this instanceof Request)) throw new TypeError("Please use the \"new\" operator, this DOM object constructor cannot be called as a function.");
236
- options = options || {};
237
- var body = options.body;
238
- if (input instanceof Request) {
239
- if (input.bodyUsed) throw new TypeError("Already read");
240
- this.url = input.url;
241
- this.credentials = input.credentials;
242
- if (!options.headers) this.headers = new Headers(input.headers);
243
- this.method = input.method;
244
- this.mode = input.mode;
245
- this.signal = input.signal;
246
- if (!body && input._bodyInit != null) {
247
- body = input._bodyInit;
248
- input.bodyUsed = true;
249
- }
250
- } else this.url = String(input);
251
- this.credentials = options.credentials || this.credentials || "same-origin";
252
- if (options.headers || !this.headers) this.headers = new Headers(options.headers);
253
- this.method = normalizeMethod(options.method || this.method || "GET");
254
- this.mode = options.mode || this.mode || null;
255
- this.signal = options.signal || this.signal;
256
- this.referrer = null;
257
- if ((this.method === "GET" || this.method === "HEAD") && body) throw new TypeError("Body not allowed for GET or HEAD requests");
258
- this._initBody(body);
259
- if (this.method === "GET" || this.method === "HEAD") {
260
- if (options.cache === "no-store" || options.cache === "no-cache") {
261
- var reParamSearch = /([?&])_=[^&]*/;
262
- if (reParamSearch.test(this.url)) this.url = this.url.replace(reParamSearch, "$1_=" + (/* @__PURE__ */ new Date()).getTime());
263
- else this.url += (/\?/.test(this.url) ? "&" : "?") + "_=" + (/* @__PURE__ */ new Date()).getTime();
264
- }
265
- }
266
- }
267
- Request.prototype.clone = function() {
268
- return new Request(this, { body: this._bodyInit });
269
- };
270
- function decode(body) {
271
- var form = new FormData();
272
- body.trim().split("&").forEach(function(bytes) {
273
- if (bytes) {
274
- var split = bytes.split("=");
275
- var name = split.shift().replace(/\+/g, " ");
276
- var value = split.join("=").replace(/\+/g, " ");
277
- form.append(decodeURIComponent(name), decodeURIComponent(value));
278
- }
279
- });
280
- return form;
281
- }
282
- function parseHeaders(rawHeaders) {
283
- var headers = new Headers();
284
- rawHeaders.replace(/\r?\n[\t ]+/g, " ").split("\r").map(function(header) {
285
- return header.indexOf("\n") === 0 ? header.substr(1, header.length) : header;
286
- }).forEach(function(line) {
287
- var parts = line.split(":");
288
- var key = parts.shift().trim();
289
- if (key) {
290
- var value = parts.join(":").trim();
291
- headers.append(key, value);
292
- }
293
- });
294
- return headers;
295
- }
296
- Body.call(Request.prototype);
297
- function Response(bodyInit, options) {
298
- if (!(this instanceof Response)) throw new TypeError("Please use the \"new\" operator, this DOM object constructor cannot be called as a function.");
299
- if (!options) options = {};
300
- this.type = "default";
301
- this.status = options.status === void 0 ? 200 : options.status;
302
- this.ok = this.status >= 200 && this.status < 300;
303
- this.statusText = options.statusText === void 0 ? "" : "" + options.statusText;
304
- this.headers = new Headers(options.headers);
305
- this.url = options.url || "";
306
- this._initBody(bodyInit);
307
- }
308
- Body.call(Response.prototype);
309
- Response.prototype.clone = function() {
310
- return new Response(this._bodyInit, {
311
- status: this.status,
312
- statusText: this.statusText,
313
- headers: new Headers(this.headers),
314
- url: this.url
315
- });
316
- };
317
- Response.error = function() {
318
- var response = new Response(null, {
319
- status: 0,
320
- statusText: ""
321
- });
322
- response.type = "error";
323
- return response;
324
- };
325
- var redirectStatuses = [
326
- 301,
327
- 302,
328
- 303,
329
- 307,
330
- 308
331
- ];
332
- Response.redirect = function(url, status) {
333
- if (redirectStatuses.indexOf(status) === -1) throw new RangeError("Invalid status code");
334
- return new Response(null, {
335
- status,
336
- headers: { location: url }
337
- });
338
- };
339
- exports$1.DOMException = global.DOMException;
340
- try {
341
- new exports$1.DOMException();
342
- } catch (err) {
343
- exports$1.DOMException = function(message, name) {
344
- this.message = message;
345
- this.name = name;
346
- this.stack = Error(message).stack;
347
- };
348
- exports$1.DOMException.prototype = Object.create(Error.prototype);
349
- exports$1.DOMException.prototype.constructor = exports$1.DOMException;
350
- }
351
- function fetch(input, init) {
352
- return new Promise(function(resolve, reject) {
353
- var request = new Request(input, init);
354
- if (request.signal && request.signal.aborted) return reject(new exports$1.DOMException("Aborted", "AbortError"));
355
- var xhr = new XMLHttpRequest();
356
- function abortXhr() {
357
- xhr.abort();
358
- }
359
- xhr.onload = function() {
360
- var options = {
361
- status: xhr.status,
362
- statusText: xhr.statusText,
363
- headers: parseHeaders(xhr.getAllResponseHeaders() || "")
364
- };
365
- options.url = "responseURL" in xhr ? xhr.responseURL : options.headers.get("X-Request-URL");
366
- var body = "response" in xhr ? xhr.response : xhr.responseText;
367
- setTimeout(function() {
368
- resolve(new Response(body, options));
369
- }, 0);
370
- };
371
- xhr.onerror = function() {
372
- setTimeout(function() {
373
- reject(/* @__PURE__ */ new TypeError("Network request failed"));
374
- }, 0);
375
- };
376
- xhr.ontimeout = function() {
377
- setTimeout(function() {
378
- reject(/* @__PURE__ */ new TypeError("Network request failed"));
379
- }, 0);
380
- };
381
- xhr.onabort = function() {
382
- setTimeout(function() {
383
- reject(new exports$1.DOMException("Aborted", "AbortError"));
384
- }, 0);
385
- };
386
- function fixUrl(url) {
387
- try {
388
- return url === "" && global.location.href ? global.location.href : url;
389
- } catch (e) {
390
- return url;
391
- }
392
- }
393
- xhr.open(request.method, fixUrl(request.url), true);
394
- if (request.credentials === "include") xhr.withCredentials = true;
395
- else if (request.credentials === "omit") xhr.withCredentials = false;
396
- if ("responseType" in xhr) {
397
- if (support.blob) xhr.responseType = "blob";
398
- else if (support.arrayBuffer && request.headers.get("Content-Type") && request.headers.get("Content-Type").indexOf("application/octet-stream") !== -1) xhr.responseType = "arraybuffer";
399
- }
400
- if (init && typeof init.headers === "object" && !(init.headers instanceof Headers)) Object.getOwnPropertyNames(init.headers).forEach(function(name) {
401
- xhr.setRequestHeader(name, normalizeValue(init.headers[name]));
402
- });
403
- else request.headers.forEach(function(value, name) {
404
- xhr.setRequestHeader(name, value);
405
- });
406
- if (request.signal) {
407
- request.signal.addEventListener("abort", abortXhr);
408
- xhr.onreadystatechange = function() {
409
- if (xhr.readyState === 4) request.signal.removeEventListener("abort", abortXhr);
410
- };
411
- }
412
- xhr.send(typeof request._bodyInit === "undefined" ? null : request._bodyInit);
413
- });
414
- }
415
- fetch.polyfill = true;
416
- if (!global.fetch) {
417
- global.fetch = fetch;
418
- global.Headers = Headers;
419
- global.Request = Request;
420
- global.Response = Response;
421
- }
422
- exports$1.Headers = Headers;
423
- exports$1.Request = Request;
424
- exports$1.Response = Response;
425
- exports$1.fetch = fetch;
426
- return exports$1;
427
- })({});
428
- })(__globalThis__);
429
- __globalThis__.fetch.ponyfill = true;
430
- delete __globalThis__.fetch.polyfill;
431
- var ctx = __global__.fetch ? __global__ : __globalThis__;
432
- exports = ctx.fetch;
433
- exports.default = ctx.fetch;
434
- exports.fetch = ctx.fetch;
435
- exports.Headers = ctx.Headers;
436
- exports.Request = ctx.Request;
437
- exports.Response = ctx.Response;
438
- module.exports = exports;
439
- }));
440
- //#endregion
441
- export default require_browser_ponyfill();
@@ -1,2 +0,0 @@
1
- import "./cameraView-BpdAdfIK.js";
2
- import "./cameraOverlayHeader-D4Bjr6Fw.js";
@@ -1,48 +0,0 @@
1
- import { v as u } from "./vendor-preact-C0jX1Cbq.js";
2
- //#region src/shared/permissions/assets/bank-card-icon.svg?react
3
- var SvgBankCardIcon = (props) => /* @__PURE__ */ u("svg", {
4
- xmlns: "http://www.w3.org/2000/svg",
5
- width: 32,
6
- height: 32,
7
- fill: "none",
8
- viewBox: "0 0 32 32",
9
- ...props,
10
- children: /* @__PURE__ */ u("g", {
11
- fill: "currentColor",
12
- fillRule: "evenodd",
13
- clipRule: "evenodd",
14
- children: [/* @__PURE__ */ u("path", { d: "M22.717 5.136H9.289c-3.56 0-5.951 2.502-5.951 6.226v.107a.4.4 0 0 0 .4.4h24.53a.4.4 0 0 0 .4-.4v-.107c0-3.724-2.391-6.226-5.951-6.226M3.331 19.298c0 .302.326.5.616.415a3.38 3.38 0 0 1 3.317.837l.317.317a.4.4 0 0 0 .566 0l3.45-3.463a3.344 3.344 0 0 1 4.72 0 3.344 3.344 0 0 1 0 4.72l-3.546 3.557a.4.4 0 0 0 .284.682h9.663c3.56 0 5.946-2.506 5.946-6.226V14.27a.4.4 0 0 0-.4-.4H3.731a.4.4 0 0 0-.4.4z" }), /* @__PURE__ */ u("path", { d: "M14.667 19.056a1 1 0 0 0-1.414 0l-5.391 5.398-2.252-2.252a1 1 0 1 0-1.415 1.415l2.96 2.96a1 1 0 0 0 1.415 0l6.097-6.107a1 1 0 0 0 0-1.414" })]
15
- })
16
- });
17
- //#endregion
18
- //#region src/shared/permissions/assets/camera-icon.svg?react
19
- var SvgCameraIcon = (props) => /* @__PURE__ */ u("svg", {
20
- xmlns: "http://www.w3.org/2000/svg",
21
- width: 32,
22
- height: 32,
23
- fill: "none",
24
- viewBox: "0 0 32 32",
25
- ...props,
26
- children: /* @__PURE__ */ u("path", {
27
- fill: "currentColor",
28
- d: "M19.134 4c1.293.013 2.346.68 2.96 1.878.158.316.379.778.61 1.266l.28.589.136.29.134.292c.053.093.146.16.266.16 3.2 0 5.814 2.61 5.814 5.807v7.911C29.334 25.39 26.72 28 23.52 28H8.48a5.815 5.815 0 0 1-5.813-5.807v-7.911c0-3.197 2.6-5.807 5.813-5.807.107 0 .214-.053.254-.16l.08-.16c.373-.785.826-1.744 1.093-2.277C10.52 4.679 11.56 4.013 12.854 4zM16 12.537c-1.4 0-2.72.546-3.72 1.545-.986.999-1.533 2.304-1.52 3.69A5.23 5.23 0 0 0 16 23.005c1.44 0 2.747-.587 3.694-1.532a5.28 5.28 0 0 0 1.546-3.703 5.25 5.25 0 0 0-1.533-3.702A5.22 5.22 0 0 0 16 12.537m0 1.998c.867 0 1.68.333 2.294.946a3.2 3.2 0 0 1 .946 2.29c-.013 1.785-1.453 3.237-3.24 3.237-.866 0-1.68-.333-2.293-.946a3.2 3.2 0 0 1-.947-2.29v-.014a3.13 3.13 0 0 1 .934-2.264A3.23 3.23 0 0 1 16 14.535m7.48-2.318c-.666 0-1.2.547-1.2 1.213 0 .665.534 1.198 1.2 1.198.667 0 1.214-.533 1.214-1.198 0-.666-.547-1.213-1.214-1.213"
29
- })
30
- });
31
- //#endregion
32
- //#region src/shared/permissions/assets/check-icon.svg?react
33
- var SvgCheckIcon = (props) => /* @__PURE__ */ u("svg", {
34
- xmlns: "http://www.w3.org/2000/svg",
35
- width: 32,
36
- height: 32,
37
- fill: "none",
38
- viewBox: "0 0 32 32",
39
- ...props,
40
- children: /* @__PURE__ */ u("path", {
41
- fill: "currentColor",
42
- fillRule: "evenodd",
43
- d: "m20.778 14.077-5.43 5.434a1 1 0 0 1-1.415 0l-2.636-2.64a1.003 1.003 0 0 1 .001-1.416 1.003 1.003 0 0 1 1.415 0l1.928 1.933 4.722-4.726a1 1 0 1 1 1.415 1.415m6.827-.63-.932-.931a2.25 2.25 0 0 1-.66-1.596V9.587c0-1.986-1.615-3.6-3.6-3.6h-1.335a2.24 2.24 0 0 1-1.595-.658l-.948-.946a3.61 3.61 0 0 0-5.09.014l-.93.932a2.25 2.25 0 0 1-1.597.659H9.583a3.605 3.605 0 0 0-3.6 3.6v1.33a2.24 2.24 0 0 1-.658 1.594l-.944.945-.008.008a3.604 3.604 0 0 0 .022 5.084l.932.935c.424.425.659.99.659 1.593v1.34a3.6 3.6 0 0 0 3.597 3.599h1.332a2.25 2.25 0 0 1 1.595.657l.95.948a3.57 3.57 0 0 0 2.533 1.044h.016a3.58 3.58 0 0 0 2.537-1.061l.935-.933a2.28 2.28 0 0 1 1.594-.66h1.342a3.606 3.606 0 0 0 3.598-3.594V21.08c0-.601.234-1.168.656-1.593l.948-.948a3.604 3.604 0 0 0-.014-5.091",
44
- clipRule: "evenodd"
45
- })
46
- });
47
- //#endregion
48
- export { SvgCameraIcon as n, SvgBankCardIcon as r, SvgCheckIcon as t };