@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
@@ -1,6 +1,8 @@
1
- import { _ as y, b as Q, c as A, d as _, f as d, g as x, h as q, n as $, u as T, v as u } from "./vendor-preact-C0jX1Cbq.js";
2
- import { d as cn } from "./spacer-lcnhSC-5.js";
3
- import { d as CloseIcon } from "./icons-C2LgNjXy.js";
1
+ import { o as useUiConfig } from "./devWarn-SLn4Qexk.js";
2
+ import { C as Q, a as M, b as y, f as T, h as d, n as $, p as _, u as A, v as q, x as u, y as x } from "./vendor-preact-CjnloSla.js";
3
+ import { r as useIsDarkTheme } from "./useIsDarkTheme-DoOFy9TN.js";
4
+ import { d as CloseIcon } from "./icons-DLZTxOV2.js";
5
+ import { h as cn, n as Title } from "./spacer-DQdgPJjU.js";
4
6
  //#region src/shared/modal/modal.hooks.ts
5
7
  var MODAL_SCROLL_LOCK_CLASS = "IncodeModalScrollLock";
6
8
  /** `id` of the `Modal.Title` heading; also the dialog's `aria-labelledby`. */
@@ -108,8 +110,8 @@ function useModalEscapeDismiss(open, dismissible, onRequestClose) {
108
110
  ]);
109
111
  }
110
112
  /**
111
- * When `active` becomes true, moves focus to the first tabbable inside the dialog,
112
- * or the dialog surface. Otherwise restores focus on cleanup — to the element in
113
+ * When `active` becomes true, moves focus to the dialog's initial focus target.
114
+ * Restores focus on cleanup to the element in
113
115
  * `returnFocusRef` if provided, otherwise to the previously focused element.
114
116
  *
115
117
  * An explicit `returnFocusRef` is strongly recommended for dialogs opened via
@@ -121,7 +123,7 @@ function useModalEscapeDismiss(open, dismissible, onRequestClose) {
121
123
  * so focus runs after the dialog node exists.
122
124
  */
123
125
  function useModalFocusCapture(active, dialogRef, manageInitialFocus = true, returnFocusRef) {
124
- y(() => {
126
+ _(() => {
125
127
  if (!active) return;
126
128
  const previous = document.activeElement;
127
129
  const explicitReturnTarget = returnFocusRef?.current ?? null;
@@ -172,7 +174,7 @@ function useModalVisualViewportBounds(active, targetRef) {
172
174
  * Keeps Tab / Shift+Tab cycling within the dialog while `active` is true.
173
175
  */
174
176
  function useModalTabCycle(active, dialogRef) {
175
- y(() => {
177
+ _(() => {
176
178
  if (!active) return;
177
179
  const onKeyDown = (event) => {
178
180
  if (event.key !== "Tab") return;
@@ -297,7 +299,7 @@ function ModalTitleSection({ children, align = "center" }) {
297
299
  });
298
300
  }
299
301
  function ModalTitle({ children, ref, class: className }) {
300
- return /* @__PURE__ */ u("h2", {
302
+ return /* @__PURE__ */ u(Title, {
301
303
  id: MODAL_TITLE_ID,
302
304
  ref,
303
305
  tabIndex: -1,
@@ -305,12 +307,43 @@ function ModalTitle({ children, ref, class: className }) {
305
307
  children
306
308
  });
307
309
  }
308
- function ModalSubtitle({ children, class: className }) {
310
+ function useModalDescription(visible) {
309
311
  const { setHasDescription } = useModalContext();
310
312
  _(() => {
311
- setHasDescription(true);
313
+ setHasDescription(visible);
312
314
  return () => setHasDescription(false);
313
- }, [setHasDescription]);
315
+ }, [setHasDescription, visible]);
316
+ }
317
+ function ModalHeader({ title, subtitle, showSubtitle = Boolean(subtitle), icon, variant = "centered", headingProps, headingRef, subtitleProps, titleTopSlot, class: className }) {
318
+ useModalDescription(showSubtitle && Boolean(subtitle));
319
+ const hasTitleTopSlot = titleTopSlot != null && titleTopSlot !== false;
320
+ const subtitleClassName = subtitleProps?.className;
321
+ return /* @__PURE__ */ u("div", {
322
+ class: cn("IncodeModalHeader", className),
323
+ children: [hasTitleTopSlot && /* @__PURE__ */ u(ModalIcon, { children: titleTopSlot }), /* @__PURE__ */ u(ModalTitleSection, {
324
+ align: variant === "left" ? "left" : "center",
325
+ children: /* @__PURE__ */ u(Title, {
326
+ variant,
327
+ icon: hasTitleTopSlot ? { type: "none" } : icon,
328
+ headingRef,
329
+ headingProps,
330
+ id: MODAL_TITLE_ID,
331
+ tabIndex: -1,
332
+ className: "IncodeModalTitle",
333
+ subtitle,
334
+ showSubtitle,
335
+ subtitleProps: {
336
+ ...subtitleProps,
337
+ id: "incode-modal-description",
338
+ className: cn("IncodeModalSubtitle", typeof subtitleClassName === "object" ? subtitleClassName.value : subtitleClassName)
339
+ },
340
+ children: title
341
+ })
342
+ })]
343
+ });
344
+ }
345
+ function ModalSubtitle({ children, class: className }) {
346
+ useModalDescription(true);
314
347
  return /* @__PURE__ */ u("p", {
315
348
  id: "incode-modal-description",
316
349
  className: cn("IncodeModalSubtitle", className),
@@ -328,6 +361,7 @@ var Modal = {
328
361
  Root: ModalRoot,
329
362
  Content: ModalContent,
330
363
  Close: ModalClose,
364
+ Header: ModalHeader,
331
365
  Icon: ModalIcon,
332
366
  TitleSection: ModalTitleSection,
333
367
  Title: ModalTitle,
@@ -335,7 +369,47 @@ var Modal = {
335
369
  Actions: ModalActions
336
370
  };
337
371
  //#endregion
338
- //#region src/shared/page/incode-logo.svg
339
- var incode_logo_default = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='76'%20height='20'%20fill='none'%20viewBox='0%200%2076%2020'%3e%3cpath%20fill='%23006aff'%20fill-rule='evenodd'%20d='M40.169%206.018c2.062%200%203.624.579%204.676%201.742q1.57%201.739%201.568%204.998.001%203.259-1.619%205.036c-1.084%201.188-2.621%201.78-4.6%201.78-2.046%200-3.597-.584-4.64-1.755l-.127-.149q-1.43-1.741-1.429-4.912c0-4.471%202.072-6.74%206.17-6.74m28.944%200c2.001%200%203.482.651%204.424%201.955q1.337%201.853%201.37%205.09l-.001.461h-8.791c.102%201.11.445%201.95%201.026%202.53.608.608%201.478.914%202.623.914q1.132%200%202.157-.282a8%208%200%200%200%201.814-.721l.246-.138v2.839l-.099.043q-1.982.865-4.544.864c-1.93%200-3.453-.587-4.561-1.764-1.107-1.174-1.659-2.837-1.659-4.976q-.002-3.283%201.568-5.048c1.05-1.179%202.53-1.767%204.427-1.767m-8.715-4.95v15.315c0%20.717-.298%201.326-.886%201.815q-.855.711-2.14%201.046-1.269.33-2.619.33c-1.823%200-3.33-.518-4.512-1.554-1.193-1.045-1.782-2.852-1.782-5.413q-.001-3.08%201.516-4.833c1.019-1.172%202.523-1.756%204.503-1.756q.695%200%201.596.176.762.152%201.39.429V1.067zM27.91%206.041q2.058%200%203.915.762l.103.042v2.712l-.23-.097q-1.873-.789-3.413-.788c-1.276%200-2.218.315-2.834.939-.615.623-.928%201.628-.928%203.021%200%201.463.306%202.52.907%203.176.598.653%201.571.983%202.93.983q1.665%200%203.355-.808l.237-.113v2.72l-.098.043a9.5%209.5%200%200%201-3.919.814q-2.581%200-4.35-1.42l-.174-.145-.132-.12c-1.128-1.056-1.689-2.704-1.689-4.93%200-2.377.595-4.11%201.794-5.186%201.19-1.07%202.702-1.605%204.526-1.605m-23.8.35L4.135%2019.2H1.153V6.393zm9.466-.35c1.788%200%203.118.377%203.987%201.142q1.308%201.156%201.307%203.55v8.464h-2.958v-8.114c0-1.655-.914-2.46-2.812-2.46q-1.188%200-2.288.336l-.273.089v10.15H7.581V7.405l.09-.046q1.146-.584%202.78-.952l.36-.077a14%2014%200%200%201%202.766-.289m26.592%202.506c-1.168%200-1.988.35-2.48%201.043q-.755%201.065-.757%203.167.002%202.102.782%203.192c.508.711%201.32%201.068%202.455%201.068%202.2%200%203.287-1.393%203.287-4.26%200-1.433-.267-2.495-.792-3.187-.517-.68-1.344-1.023-2.495-1.023m14.685.05c-2.27%200-3.388%201.33-3.388%204.06q.002%202.054.773%203.195c.499.742%201.38%201.115%202.665%201.115q1.128%200%201.884-.265c.428-.15.64-.325.672-.517l.005-.053V9.254l-.187-.098a5%205%200%200%200-1.027-.375%205.7%205.7%200%200%200-1.398-.183m14.184-.1c-.846%200-1.497.22-1.964.656q-.617.574-.864%201.896l-.033.192h5.701l-.03-.197q-.207-1.254-.802-1.859c-.45-.456-1.116-.687-2.008-.687M4.21%201.943v2.706H1.077V1.942z'%20clip-rule='evenodd'/%3e%3c/svg%3e";
372
+ //#region src/shared/page/incodeLogo.tsx
373
+ var IncodeLogo = M(function IncodeLogo({ class: className, "data-testid": dataTestId }) {
374
+ return /* @__PURE__ */ u("svg", {
375
+ width: "76",
376
+ height: "20",
377
+ viewBox: "0 0 76 20",
378
+ fill: "none",
379
+ xmlns: "http://www.w3.org/2000/svg",
380
+ class: className,
381
+ "data-testid": dataTestId,
382
+ "aria-hidden": "true",
383
+ focusable: "false",
384
+ children: /* @__PURE__ */ u("path", {
385
+ fill: "var(--icon-brand-500-static)",
386
+ fillRule: "evenodd",
387
+ clipRule: "evenodd",
388
+ d: "M40.169 6.018c2.062 0 3.624.579 4.676 1.742q1.57 1.739 1.568 4.998.001 3.259-1.619 5.036c-1.084 1.188-2.621 1.78-4.6 1.78-2.046 0-3.597-.584-4.64-1.755l-.127-.149q-1.43-1.741-1.429-4.912c0-4.471 2.072-6.74 6.17-6.74m28.944 0c2.001 0 3.482.651 4.424 1.955q1.337 1.853 1.37 5.09l-.001.461h-8.791c.102 1.11.445 1.95 1.026 2.53.608.608 1.478.914 2.623.914q1.132 0 2.157-.282a8 8 0 0 0 1.814-.721l.246-.138v2.839l-.099.043q-1.982.865-4.544.864c-1.93 0-3.453-.587-4.561-1.764-1.107-1.174-1.659-2.837-1.659-4.976q-.002-3.283 1.568-5.048c1.05-1.179 2.53-1.767 4.427-1.767m-8.715-4.95v15.315c0 .717-.298 1.326-.886 1.815q-.855.711-2.14 1.046-1.269.33-2.619.33c-1.823 0-3.33-.518-4.512-1.554-1.193-1.045-1.782-2.852-1.782-5.413q-.001-3.08 1.516-4.833c1.019-1.172 2.523-1.756 4.503-1.756q.695 0 1.596.176.762.152 1.39.429V1.067zM27.91 6.041q2.058 0 3.915.762l.103.042v2.712l-.23-.097q-1.873-.789-3.413-.788c-1.276 0-2.218.315-2.834.939-.615.623-.928 1.628-.928 3.021 0 1.463.306 2.52.907 3.176.598.653 1.571.983 2.93.983q1.665 0 3.355-.808l.237-.113v2.72l-.098.043a9.5 9.5 0 0 1-3.919.814q-2.581 0-4.35-1.42l-.174-.145-.132-.12c-1.128-1.056-1.689-2.704-1.689-4.93 0-2.377.595-4.11 1.794-5.186 1.19-1.07 2.702-1.605 4.526-1.605m-23.8.35L4.135 19.2H1.153V6.393zm9.466-.35c1.788 0 3.118.377 3.987 1.142q1.308 1.156 1.307 3.55v8.464h-2.958v-8.114c0-1.655-.914-2.46-2.812-2.46q-1.188 0-2.288.336l-.273.089v10.15H7.581V7.405l.09-.046q1.146-.584 2.78-.952l.36-.077a14 14 0 0 1 2.766-.289m26.592 2.506c-1.168 0-1.988.35-2.48 1.043q-.755 1.065-.757 3.167.002 2.102.782 3.192c.508.711 1.32 1.068 2.455 1.068 2.2 0 3.287-1.393 3.287-4.26 0-1.433-.267-2.495-.792-3.187-.517-.68-1.344-1.023-2.495-1.023m14.685.05c-2.27 0-3.388 1.33-3.388 4.06q.002 2.054.773 3.195c.499.742 1.38 1.115 2.665 1.115q1.128 0 1.884-.265c.428-.15.64-.325.672-.517l.005-.053V9.254l-.187-.098a5 5 0 0 0-1.027-.375 5.7 5.7 0 0 0-1.398-.183m14.184-.1c-.846 0-1.497.22-1.964.656q-.617.574-.864 1.896l-.033.192h5.701l-.03-.197q-.207-1.254-.802-1.859c-.45-.456-1.116-.687-2.008-.687M4.21 1.943v2.706H1.077V1.942z"
389
+ })
390
+ });
391
+ });
392
+ //#endregion
393
+ //#region src/shared/page/pageUiConfig.ts
394
+ function resolveFirst(values) {
395
+ for (const value of values) if (value !== void 0) return value;
396
+ }
397
+ function resolvePageUiConfig(args) {
398
+ return {
399
+ hideHeader: resolveFirst([args.hideHeader, args.uiConfig.hideHeader]) ?? false,
400
+ hideFooterBranding: Boolean(args.hideFooterBranding || args.uiConfig.hideFooterBranding),
401
+ logoSrc: args.logo?.src || (args.isDark ? args.uiConfig.logoDarkSrc : void 0) || args.uiConfig.logoSrc || void 0
402
+ };
403
+ }
404
+ function usePageUiConfig(args) {
405
+ const uiConfig = useUiConfig();
406
+ const documentIsDark = useIsDarkTheme();
407
+ const isDark = args.theme ? args.theme === "dark" : documentIsDark;
408
+ return resolvePageUiConfig({
409
+ ...args,
410
+ uiConfig,
411
+ isDark
412
+ });
413
+ }
340
414
  //#endregion
341
- export { useModalFocusCapture as a, useModalEscapeDismiss as i, Modal as n, useModalTabCycle as o, useModalBodyScrollLock as r, useModalVisualViewportBounds as s, incode_logo_default as t };
415
+ export { useModalEscapeDismiss as a, useModalVisualViewportBounds as c, useModalBodyScrollLock as i, IncodeLogo as n, useModalFocusCapture as o, Modal as r, useModalTabCycle as s, usePageUiConfig as t };
@@ -1,4 +1,4 @@
1
- import { v as u } from "./vendor-preact-C0jX1Cbq.js";
1
+ import { x as u } from "./vendor-preact-CjnloSla.js";
2
2
  //#region src/modules/id/capture/assets/hints/passport-horizontal-hint.svg?react
3
3
  var SvgPassportHorizontalHint = (props) => /* @__PURE__ */ u("svg", {
4
4
  xmlns: "http://www.w3.org/2000/svg",
@@ -1,4 +1,4 @@
1
- import { v as u } from "./vendor-preact-C0jX1Cbq.js";
1
+ import { x as u } from "./vendor-preact-CjnloSla.js";
2
2
  //#region src/modules/id/capture/assets/hints/passport-vertical-hint.svg?react
3
3
  var SvgPassportVerticalHint = (props) => /* @__PURE__ */ u("svg", {
4
4
  xmlns: "http://www.w3.org/2000/svg",
@@ -0,0 +1,49 @@
1
+ import { x as u } from "./vendor-preact-CjnloSla.js";
2
+ import { l as ErrorIcon, n as SuccessIcon, u as EllipseIcon } from "./icons-DLZTxOV2.js";
3
+ //#region src/shared/passwordInputComposed/passwordRequirements.tsx
4
+ var PasswordRequirements = ({ id, heading, requirements, invalid, requirementMetLabel, requirementUnmetLabel }) => {
5
+ if (requirements.length === 0) return null;
6
+ const headingId = `${id}-requirements-heading`;
7
+ return /* @__PURE__ */ u("div", {
8
+ class: "IncodePasswordInputComposedRequirements",
9
+ children: [heading && /* @__PURE__ */ u("p", {
10
+ id: headingId,
11
+ class: "IncodePasswordInputComposedRequirementsHeading",
12
+ "data-invalid": invalid,
13
+ "data-testid": headingId,
14
+ children: [invalid && /* @__PURE__ */ u("span", {
15
+ class: "IncodePasswordInputComposedRequirementsHeadingIcon",
16
+ "aria-hidden": "true",
17
+ children: /* @__PURE__ */ u(ErrorIcon, { size: 16 })
18
+ }), heading]
19
+ }), /* @__PURE__ */ u("ul", {
20
+ class: "IncodePasswordInputComposedRequirementsList",
21
+ "aria-live": "polite",
22
+ "aria-labelledby": heading ? headingId : void 0,
23
+ "data-testid": `${id}-requirements`,
24
+ children: requirements.map(({ key, label, met }) => /* @__PURE__ */ u("li", {
25
+ id: `${id}-requirement-${key}`,
26
+ class: "IncodePasswordInputComposedRequirement",
27
+ "data-met": met,
28
+ "data-testid": `${id}-requirement-${key}`,
29
+ children: [
30
+ /* @__PURE__ */ u("span", {
31
+ "aria-hidden": "true",
32
+ class: "IncodePasswordInputComposedRequirementIcon",
33
+ children: met ? /* @__PURE__ */ u(SuccessIcon, { size: 16 }) : /* @__PURE__ */ u(EllipseIcon, { size: 16 })
34
+ }),
35
+ /* @__PURE__ */ u("span", {
36
+ class: "IncodePasswordInputComposedRequirementLabel",
37
+ children: label
38
+ }),
39
+ (requirementMetLabel || requirementUnmetLabel) && /* @__PURE__ */ u("span", {
40
+ class: "IncodeSrOnly",
41
+ children: met ? requirementMetLabel : requirementUnmetLabel
42
+ })
43
+ ]
44
+ }, key))
45
+ })]
46
+ });
47
+ };
48
+ //#endregion
49
+ export { PasswordRequirements as t };
@@ -1,20 +1,5 @@
1
- import { t as _defineProperty } from "./defineProperty-CjeJoXkx.js";
2
- //#region \0@oxc-project+runtime@0.122.0/helpers/assertClassBrand.js
3
- function _assertClassBrand(e, t, n) {
4
- if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
5
- throw new TypeError("Private element is not present on this object");
6
- }
7
- //#endregion
8
- //#region \0@oxc-project+runtime@0.122.0/helpers/checkPrivateRedeclaration.js
9
- function _checkPrivateRedeclaration(e, t) {
10
- if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object");
11
- }
12
- //#endregion
13
- //#region \0@oxc-project+runtime@0.122.0/helpers/classPrivateMethodInitSpec.js
14
- function _classPrivateMethodInitSpec(e, a) {
15
- _checkPrivateRedeclaration(e, a), a.add(e);
16
- }
17
- //#endregion
1
+ import { t as _defineProperty } from "./defineProperty-B4FQTz14.js";
2
+ import { n as _classPrivateMethodInitSpec, r as _checkPrivateRedeclaration, t as _assertClassBrand } from "./assertClassBrand-F6pL6aIr.js";
18
3
  //#region \0@oxc-project+runtime@0.122.0/helpers/classPrivateFieldInitSpec.js
19
4
  function _classPrivateFieldInitSpec(e, t, a) {
20
5
  _checkPrivateRedeclaration(e, t), t.set(e, a);
@@ -0,0 +1,2 @@
1
+ import { t as PdfViewer } from "./pdfViewer-D_sXx3SF.js";
2
+ export { PdfViewer };
@@ -1,6 +1,6 @@
1
- import { _ as y, c as A, f as d, v as u } from "./vendor-preact-C0jX1Cbq.js";
2
- import { d as cn } from "./spacer-lcnhSC-5.js";
3
- import { t as Spinner } from "./spinner-B8BswhBb.js";
1
+ import { b as y, h as d, u as A, x as u } from "./vendor-preact-CjnloSla.js";
2
+ import { h as cn } from "./spacer-DQdgPJjU.js";
3
+ import { t as Spinner } from "./spinner-DQf6JseL.js";
4
4
  //#region src/shared/pdfViewer/pdfViewer.tsx
5
5
  var DPR = typeof window !== "undefined" ? window.devicePixelRatio ?? 1 : 1;
6
6
  /** `blob:` URL of the pdf.js worker, created on the first PDF render. */
@@ -76,7 +76,7 @@ var PdfViewer = ({ url, mode = "full", "aria-label": ariaLabel, className, onErr
76
76
  setStatus("loading");
77
77
  (async () => {
78
78
  try {
79
- const [pdfjs, { default: workerSource }] = await Promise.all([import("./pdf-BKHLi5Ac.js"), import("./pdf.worker.min-BM1b2w9V.js")]);
79
+ const [pdfjs, { default: workerSource }] = await Promise.all([import("./pdf-DO_HvE8T.js"), import("./pdf.worker.min-D0hm-8jN.js")]);
80
80
  workerSrc ??= URL.createObjectURL(new Blob([workerSource], { type: "text/javascript" }));
81
81
  pdfjs.GlobalWorkerOptions.workerSrc = workerSrc;
82
82
  if (cancelled) return;
@@ -99,16 +99,13 @@ var PdfViewer = ({ url, mode = "full", "aria-label": ariaLabel, className, onErr
99
99
  const canvas = document.createElement("canvas");
100
100
  canvas.className = "IncodePdfViewerCanvas";
101
101
  pagesHost.appendChild(canvas);
102
- await renderPage(page, canvas, targetWidth);
103
- if (includeTextLayer && textHost) {
104
- const pageText = await extractPageText(page);
105
- if (cancelled) return;
106
- if (pageText) {
107
- const pageTextEl = document.createElement("div");
108
- pageTextEl.className = "IncodePdfViewerTextPage";
109
- pageTextEl.textContent = pageText;
110
- textHost.appendChild(pageTextEl);
111
- }
102
+ const [, pageText] = await Promise.all([renderPage(page, canvas, targetWidth), includeTextLayer && textHost ? extractPageText(page) : void 0]);
103
+ if (cancelled) return;
104
+ if (pageText && textHost) {
105
+ const pageTextEl = document.createElement("div");
106
+ pageTextEl.className = "IncodePdfViewerTextPage";
107
+ pageTextEl.textContent = pageText;
108
+ textHost.appendChild(pageTextEl);
112
109
  }
113
110
  page.cleanup();
114
111
  }
@@ -0,0 +1,43 @@
1
+ import { u as useTranslation } from "./devWarn-SLn4Qexk.js";
2
+ import { x as u } from "./vendor-preact-CjnloSla.js";
3
+ import { h as cn } from "./spacer-DQdgPJjU.js";
4
+ //#region src/shared/permissions/assets/recovery/camera.svg?react
5
+ var SvgCamera = (props) => /* @__PURE__ */ u("svg", {
6
+ xmlns: "http://www.w3.org/2000/svg",
7
+ width: 24,
8
+ height: 24,
9
+ fill: "currentColor",
10
+ viewBox: "0 0 24 24",
11
+ ...props,
12
+ children: [/* @__PURE__ */ u("path", { d: "M13.966 3.236q1.875 0 2.762 1.658.418.78.575.96.27.278.654.296 1.63.006 2.783 1.16 1.16 1.16 1.16 2.801v5.645q0 2.074-1.466 3.54-1.467 1.466-3.54 1.466H7.106q-2.074 0-3.54-1.466T2.1 15.756v-5.642q.005-3.948 3.94-3.958.387-.02.657-.298.16-.182.615-1.004.894-1.618 2.742-1.618Zm0 1.8h-3.912q-.786 0-1.167.69-.566 1.022-.864 1.35l-.014.016q-.781.818-1.912.863l-.035.001q-2.16 0-2.162 2.158v5.642q0 1.328.938 2.268.94.938 2.268.938h9.788q3.206 0 3.206-3.206v-5.645q0-.895-.634-1.527-.632-.634-1.528-.634l-.032-.001q-1.132-.04-1.915-.86l-.013-.016q-.307-.336-.836-1.33-.38-.707-1.176-.707" }), /* @__PURE__ */ u("path", { d: "M18.073 9.828v.059q0 .373-.264.636-.264.264-.636.264-.373 0-.637-.264-.263-.263-.263-.636v-.059q0-.372.263-.636.264-.264.637-.264.372 0 .636.264t.264.636m-2.081 3.277q0 3.993-3.993 3.993t-3.993-3.993q0-1.653 1.17-2.823t2.823-1.17 2.825 1.17q1.168 1.17 1.168 2.823m-1.8 0q0-2.193-2.193-2.193t-2.193 2.193 2.193 2.193 2.193-2.193" })]
13
+ });
14
+ //#endregion
15
+ //#region src/shared/permissions/camera/permissionInstructionList.tsx
16
+ /**
17
+ * Icon + sentence rows shared by the denied and Learn More screens. Each row's
18
+ * text is one complete sentence, so it is also the row's accessible name; the
19
+ * icon only illustrates it.
20
+ */
21
+ var PermissionInstructionList = ({ items, ordered = false, "data-testid": dataTestId }) => {
22
+ const { t } = useTranslation();
23
+ return /* @__PURE__ */ u(ordered ? "ol" : "ul", {
24
+ class: "IncodePermissionInstructionList",
25
+ role: "list",
26
+ "data-testid": dataTestId,
27
+ children: items.map(({ textKey, icon: Icon, mirrorInRtl }) => /* @__PURE__ */ u("li", {
28
+ class: "IncodePermissionInstruction",
29
+ children: [/* @__PURE__ */ u(Icon, {
30
+ class: cn("IncodePermissionInstructionIcon", mirrorInRtl && "IncodePermissionInstructionIconMirrored"),
31
+ width: 24,
32
+ height: 24,
33
+ "aria-hidden": "true",
34
+ focusable: "false"
35
+ }), /* @__PURE__ */ u("p", {
36
+ class: "IncodePermissionInstructionText",
37
+ children: t(textKey)
38
+ })]
39
+ }, textKey))
40
+ });
41
+ };
42
+ //#endregion
43
+ export { SvgCamera as n, PermissionInstructionList as t };
@@ -1,27 +1,53 @@
1
- import { o as useTranslation } from "./uiConfig-CwGL3QjP.js";
2
- import { _ as y, a as P, b as Q, c as A, g as x, s as z, v as u } from "./vendor-preact-C0jX1Cbq.js";
3
- import { h as useIsMobileDeviceWidth } from "./incodeComponent-B-lwJJCV.js";
4
- import { i as TypographyH4, t as Title } from "./typography-8iwtPQbj.js";
5
- import { t as TransitionSpinner } from "./transitionSpinner-BZO916B1.js";
6
- import { n as WarningIcon, x as Button } from "./icons-C2LgNjXy.js";
7
- import { t as Page } from "./page-DINsqGIw.js";
8
- import { n as Modal } from "./incode-logo-B1bl2S0z.js";
9
- import { t as AutoFocusTitle } from "./autoFocusTitle-Cy0J3lvr.js";
10
- import { t as BottomSheet } from "./bottomSheet-B4REej8W.js";
11
- import { n as SvgCameraIcon, r as SvgBankCardIcon, t as SvgCheckIcon } from "./check-icon-BpjpKqhJ.js";
12
- import "@incodetech/core/camera";
1
+ import { u as useTranslation } from "./devWarn-SLn4Qexk.js";
2
+ import { C as Q, b as y, l as z, o as P, u as A, x as u, y as x } from "./vendor-preact-CjnloSla.js";
3
+ import { b as PrizmaButton } from "./icons-DLZTxOV2.js";
4
+ import { h as cn, n as Title } from "./spacer-DQdgPJjU.js";
5
+ import { t as AutoFocusTitle } from "./autoFocusTitle-C2Ro8zdn.js";
6
+ import { t as Page } from "./page-b7Hx6klV.js";
7
+ import { r as Modal } from "./pageUiConfig-BlsOWl2d.js";
8
+ import { p as useIsMobileDeviceWidth } from "./hooks-C6m_ILVe.js";
9
+ import "./typography-CyT20XIA.js";
10
+ import { t as TransitionSpinner } from "./transitionSpinner-BTr1yrwy.js";
11
+ import { t as BottomSheet } from "./bottomSheet-DRRJstLk.js";
12
+ import { n as SvgCamera, t as PermissionInstructionList } from "./permissionInstructionList-CGo9uSeQ.js";
13
+ //#region src/shared/permissions/assets/recovery/circle-check.svg?react
14
+ var SvgCircleCheck = (props) => /* @__PURE__ */ u("svg", {
15
+ xmlns: "http://www.w3.org/2000/svg",
16
+ width: 24,
17
+ height: 24,
18
+ fill: "currentColor",
19
+ viewBox: "0 0 24 24",
20
+ ...props,
21
+ children: [/* @__PURE__ */ u("path", { d: "M21.9 12q0 4.1-2.9 7t-7 2.9T5 19t-2.9-7T5 5t7-2.9T19 5t2.9 7m-1.8 0q0-3.355-2.372-5.728Q15.355 3.9 12 3.9T6.272 6.272Q3.9 8.645 3.9 12t2.372 5.728Q8.645 20.1 12 20.1t5.728-2.372Q20.1 15.355 20.1 12" }), /* @__PURE__ */ u("path", { d: "m9.172 11.364 1.674 1.673 3.981-3.982q.264-.264.636-.264.373 0 .637.264.263.264.263.636 0 .373-.263.637l-4.618 4.618q-.263.263-.636.263-.372 0-.636-.263L7.9 12.637q-.264-.264-.264-.637 0-.372.264-.636.262-.264.636-.264.373 0 .636.264" })]
22
+ });
23
+ //#endregion
24
+ //#region src/shared/permissions/assets/recovery/document-search.svg?react
25
+ var SvgDocumentSearch = (props) => /* @__PURE__ */ u("svg", {
26
+ xmlns: "http://www.w3.org/2000/svg",
27
+ width: 24,
28
+ height: 24,
29
+ fill: "currentColor",
30
+ viewBox: "0 0 24 24",
31
+ ...props,
32
+ children: [
33
+ /* @__PURE__ */ u("path", { d: "M20.1 11.272V8.506q0-1.294-.914-2.208-.915-.915-2.208-.915H7.022q-1.293 0-2.206.913-.916.916-.916 2.21v6.938q0 1.561.781 2.341.78.781 2.341.781H11.9q.372 0 .636.264.264.263.264.636 0 .374-.264.636-.264.264-.636.264H7.022q-2.04 0-3.482-1.44-1.44-1.442-1.44-3.482V8.506q0-2.042 1.44-3.482 1.441-1.44 3.482-1.44h9.956q2.04 0 3.48 1.44Q21.9 6.463 21.9 8.505v2.766q0 .372-.264.636-.263.264-.636.264t-.636-.264-.264-.636" }),
34
+ /* @__PURE__ */ u("path", { d: "M3.005 8.863h17.99v1.8H3.005Zm14.073 3.017q2.01 0 3.014 1.003 1.004 1.005 1.004 3.013 0 4.018-4.018 4.018-4.016 0-4.017-4.018.001-4.017 4.017-4.016m0 1.8q-.918 0-1.568.648-.65.65-.65 1.568 0 2.218 2.218 2.218 1.11 0 1.664-.554.554-.555.554-1.664 0-1.107-.554-1.662-.555-.554-1.664-.554" }),
35
+ /* @__PURE__ */ u("path", { d: "m20.17 17.734 1.155 1.155q.26.26.26.628t-.26.627q-.259.26-.626.26-.369 0-.628-.26l-1.155-1.156q-.26-.26-.26-.627 0-.368.26-.627.259-.26.626-.26.368 0 .628.26" })
36
+ ]
37
+ });
38
+ //#endregion
13
39
  //#region src/shared/permissions/camera/learnMore.tsx
14
- var learnMoreInstructions = [
40
+ var cameraPermissionReasons = [
15
41
  {
16
- icon: SvgCameraIcon,
42
+ icon: SvgCamera,
17
43
  textKey: "idv2.permissions.learnMorePage.instructions.1"
18
44
  },
19
45
  {
20
- icon: SvgBankCardIcon,
46
+ icon: SvgDocumentSearch,
21
47
  textKey: "idv2.permissions.learnMorePage.instructions.2"
22
48
  },
23
49
  {
24
- icon: SvgCheckIcon,
50
+ icon: SvgCircleCheck,
25
51
  textKey: "idv2.permissions.learnMorePage.instructions.4"
26
52
  }
27
53
  ];
@@ -34,40 +60,34 @@ var LearnMore = ({ onAllowPermissions, onQuitProcess, "data-testid": dataTestId,
34
60
  return /* @__PURE__ */ u(Page, {
35
61
  className: "IncodeLearnMorePage",
36
62
  hideHeader: true,
37
- hideFooterBranding: true,
38
63
  "data-testid": dataTestId,
39
64
  "data-permission-status": dataPermissionStatus,
40
65
  children: [/* @__PURE__ */ u("div", {
41
66
  class: "IncodeLearnMoreContainer",
42
67
  children: [/* @__PURE__ */ u("div", {
43
68
  class: "IncodeLearnMoreTitleContainer",
44
- children: [/* @__PURE__ */ u(WarningIcon, { size: 32 }), /* @__PURE__ */ u(Title, {
69
+ children: /* @__PURE__ */ u(Title, {
45
70
  ref: titleRef,
46
71
  tabIndex: -1,
72
+ icon: {
73
+ type: "status",
74
+ status: "warning"
75
+ },
47
76
  children: t("idv2.permissions.learnMorePage.title")
48
- })]
49
- }), /* @__PURE__ */ u("ul", {
50
- class: "IncodeLearnMoreInstructionsContainer",
51
- role: "list",
52
- children: learnMoreInstructions.map(({ icon: Icon, ...instruction }) => /* @__PURE__ */ u("li", {
53
- class: "IncodeLearnMoreInstruction",
54
- children: [/* @__PURE__ */ u("div", {
55
- class: "IncodeLearnMoreInstructionIcon",
56
- "aria-hidden": "true",
57
- children: /* @__PURE__ */ u(Icon, {
58
- height: 32,
59
- width: 32
60
- })
61
- }), /* @__PURE__ */ u(TypographyH4, { children: t(instruction.textKey) })]
62
- }, instruction.textKey))
63
- })]
77
+ })
78
+ }), /* @__PURE__ */ u(PermissionInstructionList, { items: cameraPermissionReasons })]
64
79
  }), /* @__PURE__ */ u("div", {
65
80
  class: "IncodeLearnMoreActions",
66
- children: [/* @__PURE__ */ u(Button, {
67
- variant: "link",
81
+ children: [/* @__PURE__ */ u(PrizmaButton, {
82
+ size: "L",
83
+ className: "IncodeButton IncodeButtonLink IncodeButtonL",
84
+ variant: "tertiary-link",
68
85
  onClick: onQuitProcess,
69
86
  children: t("idv2.permissions.learnMorePage.quitProcess")
70
- }), /* @__PURE__ */ u(Button, {
87
+ }), /* @__PURE__ */ u(PrizmaButton, {
88
+ variant: "primary",
89
+ size: "L",
90
+ className: "IncodeButton IncodeButtonPrimary IncodeButtonL",
71
91
  onClick: onAllowPermissions,
72
92
  children: t("idv2.permissions.learnMorePage.allowPermissions")
73
93
  })]
@@ -106,25 +126,31 @@ function PermissionsBottomSheet({ onAllowPermissions, onDenyPermissions, showDen
106
126
  className: "IncodePermissionsBottomSheet",
107
127
  children: [/* @__PURE__ */ u("div", {
108
128
  class: "IncodePermissionsBottomSheetTitleContainer",
109
- children: [/* @__PURE__ */ u(AutoFocusTitle, {
129
+ children: /* @__PURE__ */ u(AutoFocusTitle, {
110
130
  id: "permissions-dialog-title",
131
+ variant: "left",
111
132
  className: "IncodePermissionsBottomSheetTitle",
133
+ showSubtitle: true,
134
+ subtitle: t("idv2.permissions.subtitleV2"),
135
+ subtitleProps: { className: "IncodePermissionsBottomSheetSubtitle" },
112
136
  children: t("idv2.permissions.allowPermissionsV2")
113
- }), /* @__PURE__ */ u("p", {
114
- className: "IncodePermissionsBottomSheetSubtitle",
115
- children: t("idv2.permissions.subtitleV2")
116
- })]
137
+ })
117
138
  }), /* @__PURE__ */ u("div", {
118
139
  class: "IncodePermissionsBottomSheetActions",
119
- children: [showDenyButton && /* @__PURE__ */ u(Button, {
140
+ children: [showDenyButton && /* @__PURE__ */ u(PrizmaButton, {
141
+ size: "L",
142
+ className: "IncodeButton IncodeButtonSecondary IncodeButtonL",
120
143
  variant: "secondary",
121
144
  onClick: onDenyPermissions,
122
145
  disabled: isRequestingPermissions,
123
146
  children: t("idv2.permissions.dontAllow")
124
- }), /* @__PURE__ */ u(Button, {
147
+ }), /* @__PURE__ */ u(PrizmaButton, {
148
+ variant: "primary",
149
+ size: "L",
150
+ className: cn("IncodeButton IncodeButtonPrimary IncodeButtonL", isRequestingPermissions && "IncodeButtonLoading"),
125
151
  onClick: onAllowPermissions,
126
152
  disabled: isRequestingPermissions,
127
- isLoading: isRequestingPermissions,
153
+ loading: isRequestingPermissions,
128
154
  children: t("idv2.permissions.allowV2")
129
155
  })]
130
156
  })]
@@ -177,20 +203,25 @@ var PermissionsDialog = ({ manager, permissionStatus, isDismissible }) => {
177
203
  title: t("common.close"),
178
204
  onClick: handleClose
179
205
  }),
180
- /* @__PURE__ */ u(Modal.TitleSection, { children: [/* @__PURE__ */ u(Modal.Title, {
181
- class: "IncodePermissionsModalTitle",
182
- children: t("idv2.permissions.allowPermissionsV2")
183
- }), /* @__PURE__ */ u(Modal.Subtitle, { children: t("idv2.permissions.subtitleV2") })] }),
184
- /* @__PURE__ */ u(Modal.Actions, { children: [!isMotionOnly && /* @__PURE__ */ u(Button, {
206
+ /* @__PURE__ */ u(Modal.Header, {
207
+ title: t("idv2.permissions.allowPermissionsV2"),
208
+ subtitle: t("idv2.permissions.subtitleV2"),
209
+ headingProps: { className: "IncodePermissionsModalTitle" }
210
+ }),
211
+ /* @__PURE__ */ u(Modal.Actions, { children: [!isMotionOnly && /* @__PURE__ */ u(PrizmaButton, {
212
+ size: "L",
213
+ className: "IncodeButton IncodeButtonSecondary IncodeButtonL",
185
214
  variant: "secondary",
186
215
  onClick: manager.goToLearnMore,
187
216
  disabled: isRequestingPermissions,
188
217
  children: t("idv2.permissions.dontAllow")
189
- }), /* @__PURE__ */ u(Button, {
218
+ }), /* @__PURE__ */ u(PrizmaButton, {
219
+ size: "L",
220
+ className: cn("IncodeButton IncodeButtonPrimary IncodeButtonL", isRequestingPermissions && "IncodeButtonLoading"),
190
221
  variant: "primary",
191
222
  onClick: manager.requestPermission,
192
223
  disabled: isRequestingPermissions,
193
- isLoading: isRequestingPermissions,
224
+ loading: isRequestingPermissions,
194
225
  children: t("idv2.permissions.allowV2")
195
226
  })] })
196
227
  ] })
@@ -198,7 +229,7 @@ var PermissionsDialog = ({ manager, permissionStatus, isDismissible }) => {
198
229
  };
199
230
  //#endregion
200
231
  //#region src/shared/permissions/camera/permissions.tsx
201
- var Denied = z(() => import("./denied-ByGDWkTW.js").then((module) => ({ default: module.Denied })));
232
+ var Denied = z(() => import("./denied-D4oFpTuV.js").then((module) => ({ default: module.Denied })));
202
233
  var Permissions = ({ manager, permissionStatus }) => {
203
234
  const { alwaysDark } = usePermissionsContext();
204
235
  if (permissionStatus === "checking") return null;
@@ -1,13 +1,14 @@
1
- import { o as useTranslation } from "../uiConfig-CwGL3QjP.js";
2
- import { h as q, v as u } from "../vendor-preact-C0jX1Cbq.js";
3
- import { a as withStandaloneModuleBootstrap, t as IncodeComponent, v as isTerminalModuleState, x as useManager, y as useModuleTerminalCallbacks } from "../incodeComponent-B-lwJJCV.js";
4
- import { t as Spacer } from "../spacer-lcnhSC-5.js";
5
- import { x as Button } from "../icons-C2LgNjXy.js";
6
- import { t as Page } from "../page-DINsqGIw.js";
7
- import { t as OtpInput } from "../otpInput-_B7xEZUU.js";
8
- import { t as Checkbox } from "../checkbox-CALR7EFM.js";
9
- import { t as PhoneInputComposed } from "../phoneInputComposed-Di4acsc0.js";
10
- import { t as registerIncodeModuleElement } from "../incodeModule-DiVtqekm.js";
1
+ import { u as useTranslation } from "../devWarn-SLn4Qexk.js";
2
+ import { v as q, x as u } from "../vendor-preact-CjnloSla.js";
3
+ import { b as PrizmaButton } from "../icons-DLZTxOV2.js";
4
+ import { h as cn, t as Spacer } from "../spacer-DQdgPJjU.js";
5
+ import { t as Page } from "../page-b7Hx6klV.js";
6
+ import { _ as useModuleTerminalCallbacks, g as isTerminalModuleState, t as withStandaloneModuleBootstrap, y as useManager } from "../hooks-C6m_ILVe.js";
7
+ import { t as IncodeComponent } from "../incodeComponent-DPY-ikO3.js";
8
+ import { t as OtpInput } from "../otpInput-Bn8PHFh7.js";
9
+ import { t as Checkbox } from "../checkbox-tpW2Q3Zi.js";
10
+ import { t as PhoneInputComposed } from "../phoneInputComposed-Dc2lHg4Z.js";
11
+ import { t as registerIncodeModuleElement } from "../incodeModule-Dyy5PfM4.js";
11
12
  import { createPhoneManager } from "@incodetech/core/phone";
12
13
  //#region src/modules/phone/phone.tsx
13
14
  /**
@@ -164,10 +165,13 @@ var PhoneContent = ({ config, manager: externalManager, onFinish, onError }) =>
164
165
  ]
165
166
  }),
166
167
  /* @__PURE__ */ u(Spacer, {}),
167
- /* @__PURE__ */ u(Button, {
168
+ /* @__PURE__ */ u(PrizmaButton, {
169
+ variant: "primary",
170
+ size: "L",
171
+ className: cn("IncodeButton IncodeButtonPrimary IncodeButtonL", isLoading && "IncodeButtonLoading"),
168
172
  onClick: () => manager.submit(),
169
173
  disabled: !isValid,
170
- isLoading,
174
+ loading: isLoading,
171
175
  "data-testid": "phone-submit",
172
176
  children: t("common.continue")
173
177
  })