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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (352) hide show
  1. package/THIRD_PARTY_NOTICES.txt +1 -4
  2. package/dist/{GeolocationPermissionDenied-CUt-uebQ.js → GeolocationPermissionDenied-Dag9fchQ.js} +23 -8
  3. package/dist/Password-4ht2vsqv.js +212 -0
  4. package/dist/RadioGroup-Cf6xDIm5.js +123 -0
  5. package/dist/RequiredLegend-DwaAzhid.js +16 -0
  6. package/dist/RequiredMarker-CGQR8lsb.js +16 -0
  7. package/dist/TextField-o3qwE7KD.js +166 -0
  8. package/dist/ae-signature/ae-signature.es.js +4 -4
  9. package/dist/{af-ZA-BWKMRc6V.js → af-ZA-CdJRBJEg.js} +107 -881
  10. package/dist/{ageVerification-CMIp0I--.js → ageVerification-u2zo-WUl.js} +10 -8
  11. package/dist/{am-DPyjIvQV.js → am-Df9uoE6e.js} +107 -881
  12. package/dist/antifraud/antifraud.es.js +5 -4
  13. package/dist/{applyStudioConfig-DxtP9221.js → applyStudioConfig-Deh55YNW.js} +2 -2
  14. package/dist/{ar-AE-CxCvbyoW.js → ar-AE-CAoWsgnA.js} +107 -881
  15. package/dist/{ar-EG-B1hHB55j.js → ar-EG-CXi0p-DV.js} +107 -881
  16. package/dist/{ar-10SoqF1i.js → ar-hyEIwsq9.js} +108 -882
  17. package/dist/assertClassBrand-CuHX5JcR.js +17 -0
  18. package/dist/authentication/authentication.es.js +7 -5
  19. package/dist/autoFocusTitle-CNeT8ydU.js +19 -0
  20. package/dist/{az-cmuBNn_5.js → az-CUehzrK3.js} +107 -881
  21. package/dist/{back-horizontal-hint-Dl2C4J4u.js → back-horizontal-hint-D5xvRtEe.js} +1 -1
  22. package/dist/{back-vertical-hint-CM4_HjWk.js → back-vertical-hint-DoKJSQhY.js} +1 -1
  23. package/dist/base.css +1 -1
  24. package/dist/{baseTutorial-BGU2Gcly.js → baseTutorial-xDkp34JC.js} +9 -7
  25. package/dist/{bn-CuGYlngZ.js → bn-DStUscj0.js} +107 -881
  26. package/dist/{bottomSheet-x20yd6eP.js → bottomSheet-COrgITc6.js} +3 -3
  27. package/dist/{bs-vwpJzaHm.js → bs-Lq1FPKJj.js} +107 -881
  28. package/dist/{ca-DXZs5vtr.js → ca-K83Ys4Fe.js} +107 -881
  29. package/dist/cameraOverlay-Bciqav_0.js +2 -0
  30. package/dist/{cameraOverlayHeader-BxutAKy-.js → cameraOverlayHeader-C7Pi5eIm.js} +9 -8
  31. package/dist/{cameraView-DVzaEGW8.js → cameraView-B7l40Opf.js} +3 -3
  32. package/dist/capture-D7HVD1ht.js +754 -0
  33. package/dist/capture-Do7z-u0d.js +3 -0
  34. package/dist/{tutorial-BKPHj5To.js → capture-I1enj-0M.js} +28 -68
  35. package/dist/capture-WaSNv1Wn.js +2 -0
  36. package/dist/captureButtonIcon-DVbAZ8TK.js +1 -0
  37. package/dist/captureFocusContext-CNtkY3Lk.js +718 -0
  38. package/dist/captureFooter-CucCxqz-.js +47 -0
  39. package/dist/{ceb-CmhS_VOs.js → ceb-NR8sWgTh.js} +107 -881
  40. package/dist/certificate-issuance/certificate-issuance.es.js +68 -41
  41. package/dist/certificate-issuance/styles.css +1 -1
  42. package/dist/certificate-issuance/styles.css.js +1 -1
  43. package/dist/{checkbox-BC26Qbxh.js → checkbox-C5k2pepr.js} +4 -4
  44. package/dist/chooser-CNm0MKQl.js +1517 -0
  45. package/dist/connectionError-Bs3TO2RP.js +100 -0
  46. package/dist/consent/consent.es.js +16 -12
  47. package/dist/{countryFlag-DXSVHiby.js → countryFlag-CZUyZ06G.js} +1 -1
  48. package/dist/{countrySelector-0PDDFsZF.js → countrySelector-CPgaMT7n.js} +4 -4
  49. package/dist/cross-document-data-match/cross-document-data-match.es.js +5 -4
  50. package/dist/{cs-CZ-Dg5O-Vom.js → cs-CZ-KpSXcWZT.js} +107 -881
  51. package/dist/{cs-CoJlE7De.js → cs-UYoUjOrG.js} +107 -881
  52. package/dist/curp-validation/curp-validation.es.js +97 -96
  53. package/dist/curp-validation/styles.css +1 -1
  54. package/dist/curp-validation/styles.css.js +1 -1
  55. package/dist/{customFields-COYGTuuK.js → customFields-BcubL9au.js} +33 -19
  56. package/dist/{customWatchlist-B0wY6Rwb.js → customWatchlist-D4RK0ow6.js} +11 -8
  57. package/dist/{da-DK-C_JAndM-.js → da-DK-Bds8n-Rj.js} +107 -881
  58. package/dist/dashboardTheme-DQaxmEq3.js +383 -0
  59. package/dist/dateInputComposed-BrpUtswb.js +1 -0
  60. package/dist/{dateInputComposed-QkmLGLHg.js → dateInputComposed-BzCDzTM3.js} +4 -5
  61. package/dist/{de-11hHLedu.js → de-CZlvE1Xz.js} +107 -881
  62. package/dist/denied-BeVKpBem.js +272 -0
  63. package/dist/devWarn-B4kGEiva.js +1056 -0
  64. package/dist/{deviceWallet-BeTpokSL.js → deviceWallet-7b1VpcGm.js} +4 -4
  65. package/dist/{digitalIdRedirect-BnljwZV3.js → digitalIdRedirect-CG9jzrQh.js} +4 -4
  66. package/dist/{digitalIdUpload-DNhqqMHT.js → digitalIdUpload-BUJcgYY5.js} +37 -15
  67. package/dist/document-capture/document-capture.es.js +1 -1
  68. package/dist/document-capture/styles.css +1 -1
  69. package/dist/document-capture/styles.css.js +1 -1
  70. package/dist/documentCapture-BdEStEoH.js +2 -0
  71. package/dist/{documentCapture-uAKPK1U-.js → documentCapture-JcxukEgT.js} +113 -59
  72. package/dist/dropdownComposed-C36c9ZOm.js +1 -0
  73. package/dist/{dropdownComposed-D_RQd0Z9.js → dropdownComposed-yNmLuHxU.js} +8 -6
  74. package/dist/dynamic-forms/dynamic-forms.es.js +62 -35
  75. package/dist/ekyb/ekyb.es.js +1 -1
  76. package/dist/{ekybModule-Bsqag_MS.js → ekybModule-Cp-7fs23.js} +109 -89
  77. package/dist/ekybModule-ccZRVb7E.js +2 -0
  78. package/dist/ekyc/ekyc.es.js +1 -1
  79. package/dist/ekyc-prefill/ekyc-prefill.es.js +2 -0
  80. package/dist/ekyc-prefill/styles.css +2 -0
  81. package/dist/ekyc-prefill/styles.css.js +1 -0
  82. package/dist/ekycModule-CcZTIgGK.js +2 -0
  83. package/dist/ekycModule-DKUZp3Ww.js +358 -0
  84. package/dist/ekycPrefillModule-Bou_Ig42.js +2 -0
  85. package/dist/ekycPrefillModule-DJoeviHP.js +233 -0
  86. package/dist/{el-CRGmVrep.js → el-C6tFl9i9.js} +107 -881
  87. package/dist/{el-GR-CjtJiRTo.js → el-GR-BLkQ_dbO.js} +107 -881
  88. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  89. package/dist/{electronic-signature-Cm2BEiQu.js → electronic-signature-D-4uTJdE.js} +55 -36
  90. package/dist/email/email.es.js +21 -16
  91. package/dist/{emailInput-JmK2JIFS.js → emailInput-C5VHG66O.js} +23 -12
  92. package/dist/{en-DG-Cruu6Woh.js → en-DG-BEuiDKtl.js} +107 -881
  93. package/dist/{en-CSjoG3e4.js → en-DNBypQuu.js} +107 -881
  94. package/dist/{errorContent-zY4jb6uY.js → errorContent-BC8mDFld.js} +21 -20
  95. package/dist/{formField-C3MNhFKI.js → errorParams-W7NX72mI.js} +2 -33
  96. package/dist/es-419-BCIRYhZK.js +5 -0
  97. package/dist/{es-C_LAY-Yu.js → es-DjQEM4f9.js} +108 -882
  98. package/dist/{es-ES-D7O0P5Mg.js → es-ES-Q6nMptUM.js} +107 -881
  99. package/dist/{es-MX-DVzFaANh.js → es-MX-Df5g3bAX.js} +107 -881
  100. package/dist/{et-DdSwjU5d.js → et-BYRhgB8X.js} +108 -882
  101. package/dist/expiredId-BVa13c9u.js +67 -0
  102. package/dist/extensibility.es.js +368 -42
  103. package/dist/{fa-IR-CdK8XLkS.js → fa-IR-DP-FPc-r.js} +107 -881
  104. package/dist/face-match/face-match.es.js +1 -1
  105. package/dist/face-match/styles.css +1 -1
  106. package/dist/face-match/styles.css.js +1 -1
  107. package/dist/faceMatch-B2n0FPIm.js +2 -0
  108. package/dist/{faceMatch-B0IzR9_u.js → faceMatch-C5QmR3Vt.js} +44 -53
  109. package/dist/{fi-FI-CYlEPu44.js → fi-FI-rnIjEC7X.js} +107 -881
  110. package/dist/field-comparison/field-comparison.es.js +1 -1
  111. package/dist/fieldComparison-CDGiqzsu.js +126 -0
  112. package/dist/fieldComparison-D-LmR1LR.js +2 -0
  113. package/dist/{fieldLabelHint-gdoE5nLQ.js → fieldLabelHint-eF42wLDJ.js} +3 -3
  114. package/dist/{finalSuccessScreen-BM9oeJDH.js → finalSuccessScreen-vOR061dK.js} +31 -22
  115. package/dist/fiscal-qr/fiscal-qr.es.js +25 -22
  116. package/dist/flipAnimation-CGP9Fu9J.js +46 -0
  117. package/dist/flipCapturedCardEligibility-C8wQ0_No.js +210 -0
  118. package/dist/flow/flow.es.js +216 -191
  119. package/dist/flow/shell/styles.css +1 -1
  120. package/dist/flow/shell/styles.css.js +1 -1
  121. package/dist/flow/styles.css +1 -1
  122. package/dist/formField-DrSwXufE.js +49 -0
  123. package/dist/{fr-CA-DD_s9NuV.js → fr-CA-vPsubqTC.js} +107 -881
  124. package/dist/{fr-C4cP8ZNE.js → fr-P8YbBMxT.js} +107 -881
  125. package/dist/{front-horizontal-hint-Dol0Lpc6.js → front-horizontal-hint-CDHj9LQF.js} +1 -1
  126. package/dist/{front-vertical-hint-CAhAzw92.js → front-vertical-hint-B_pU27Iv.js} +1 -1
  127. package/dist/geolocation/geolocation.es.js +15 -10
  128. package/dist/government-validation/government-validation.es.js +7 -6
  129. package/dist/{he-D3fvMZAl.js → he-DfptjOXC.js} +107 -881
  130. package/dist/{hi-DLf6_opn.js → hi-C7tSzMcB.js} +107 -881
  131. package/dist/{hmn-DzoODzbN.js → hmn-jKsUYgaq.js} +107 -881
  132. package/dist/{homeScreen-D1Xd93In.js → homeScreen-C1b8yg4y.js} +21 -14
  133. package/dist/{incodeComponent-C1Bz5Qou.js → hooks-COiwxC3h.js} +39 -325
  134. package/dist/{hr-C-jP0DrB.js → hr-ehtrddz3.js} +107 -881
  135. package/dist/{ht-CVt9koJf.js → ht-CA5NNkri.js} +107 -881
  136. package/dist/{hu-9fSzIeAd.js → hu-DYgOdNXH.js} +107 -881
  137. package/dist/{icons-BdiCuWFP.js → icons-CLoob8B-.js} +129 -56
  138. package/dist/id/id.es.js +166 -197
  139. package/dist/id/styles.css +1 -1
  140. package/dist/id/styles.css.js +1 -1
  141. package/dist/{id-Dgi5uGHK.js → id-CMBxWcTV.js} +107 -881
  142. package/dist/{id-back-of-card-CHFxXTEq.js → id-back-of-card-BEAthtU0.js} +1 -1
  143. package/dist/{id-back-of-card-vertical-CUBdKGbw.js → id-back-of-card-vertical-Ce0d7tp5.js} +1 -1
  144. package/dist/{id-front-of-card-DplNJr13.js → id-front-of-card-DS0lS9jP.js} +1 -1
  145. package/dist/{id-front-of-card-vertical-D1duHEsV.js → id-front-of-card-vertical-BLWn85NX.js} +1 -1
  146. package/dist/id-selfie-flow/id-selfie-flow.es.js +13 -11
  147. package/dist/id-selfie-flow/styles.css +1 -1
  148. package/dist/id-verification/id-verification.es.js +6 -5
  149. package/dist/idFlipTransition-3z8Lqcab.js +154 -0
  150. package/dist/{idOcr-sknZwQNF.js → idOcr-qPEZSG5D.js} +64 -37
  151. package/dist/identity-reuse/identity-reuse.es.js +36 -24
  152. package/dist/incodeComponent-CxWTvgqz.js +235 -0
  153. package/dist/{incodeModule-DJToJb00.js → incodeModule-BQVPjhJE.js} +5 -5
  154. package/dist/index.es.js +3 -3
  155. package/dist/{inputComposed-BuE0iZlw.js → inputComposed-oWeKvdES.js} +4 -4
  156. package/dist/{it-CEFstYFG.js → it-DNcyH3GL.js} +107 -881
  157. package/dist/{ja-BNdVd9B6.js → ja-BkVsn7yw.js} +107 -881
  158. package/dist/{ja-JP-B5TPMV1q.js → ja-JP-BI4iShf-.js} +108 -882
  159. package/dist/{jv-CMxkkXUk.js → jv-Bpp0lYl-.js} +107 -881
  160. package/dist/{ka-C70bUmEK.js → ka-__y8BNrb.js} +107 -881
  161. package/dist/{kk-C_55EmWt.js → kk-C8RZv7Y9.js} +107 -881
  162. package/dist/{km-D4Ig0NhN.js → km-CdNpEVlv.js} +114 -888
  163. package/dist/{ko-DfUa3dzQ.js → ko-Db8jh_Pq.js} +107 -881
  164. package/dist/{ko-KP-BwBB8ahu.js → ko-KP-Cn4RuF_b.js} +107 -881
  165. package/dist/{ky-CnJichOm.js → ky-DljlRCIf.js} +107 -881
  166. package/dist/kyb-checks/kyb-checks.es.js +2 -0
  167. package/dist/kyb-checks/styles.css +2 -0
  168. package/dist/kyb-checks/styles.css.js +1 -0
  169. package/dist/kybChecksModule-B2nSWMuy.js +2 -0
  170. package/dist/kybChecksModule-DGXAS1Sc.js +345 -0
  171. package/dist/{lo-ww1DXVAP.js → lo-DXJI47k7.js} +107 -881
  172. package/dist/{lt-IJ8qpluI.js → lt-CUHwdgrq.js} +107 -881
  173. package/dist/{lv-DMfsmqyK.js → lv-BFrYWmGH.js} +107 -881
  174. package/dist/{mandatoryConsent-Bp8sQoiu.js → mandatoryConsent-Dc0PQou0.js} +20 -14
  175. package/dist/{manualCaptureButton-Cd-FY05-.js → manualCaptureButton-DIlebb4i.js} +8 -7
  176. package/dist/{manualCaptureButton-BXOTp2PS.js → manualCaptureButton-t0b_hCKH.js} +15 -12
  177. package/dist/{mk-ByafmFak.js → mk-BRpnPevj.js} +107 -881
  178. package/dist/{mn-DjO9p3xN.js → mn-tly7Lz7o.js} +107 -881
  179. package/dist/{ms-3Vf1QpHl.js → ms-DFpRACK3.js} +107 -881
  180. package/dist/{my-C5hpE5P1.js → my-G2jJl4tA.js} +107 -881
  181. package/dist/{nb-NO-DGCWCOul.js → nb-NO-CaDPgzxb.js} +107 -881
  182. package/dist/{ne-CpJxcVhV.js → ne-BaCq8Imv.js} +107 -881
  183. package/dist/{nl-R2RykJHB.js → nl-BK-jT4yQ.js} +107 -881
  184. package/dist/{optionAccessibleLabel-BQl8HooZ.js → optionAccessibleLabel-CDKKh7c3.js} +25 -10
  185. package/dist/otpInput-B4mH5be-.js +245 -0
  186. package/dist/{page-utEpSa9Z.js → page-5CklyQnq.js} +86 -44
  187. package/dist/{pageUiConfig-rOL18JSI.js → pageUiConfig-DZQHreIo.js} +67 -25
  188. package/dist/{passport-horizontal-hint-BfTXA2LB.js → passport-horizontal-hint-JdWoLKa5.js} +1 -1
  189. package/dist/{passport-vertical-hint-C7dzd2ks.js → passport-vertical-hint-BgtJXbvC.js} +1 -1
  190. package/dist/passwordRequirements-bbbHZACR.js +49 -0
  191. package/dist/{pdf-BnPw8ZaT.js → pdf-CLcY9ugT.js} +2 -17
  192. package/dist/pdfViewer-2NTW2bZn.js +2 -0
  193. package/dist/{pdfViewer-DNMZsDFD.js → pdfViewer-D4xu2J13.js} +11 -14
  194. package/dist/permissionInstructionList-Dmy2y4cX.js +43 -0
  195. package/dist/{permissions-CCEc9lKM.js → permissions-BPh2QNoI.js} +84 -53
  196. package/dist/phone/phone.es.js +16 -12
  197. package/dist/{phoneInputComposed-ByiK_6Hu.js → phoneInputComposed-Dzt9xdrF.js} +6 -6
  198. package/dist/{pl-B1LgnPj1.js → pl-CoWZGdbr.js} +107 -881
  199. package/dist/preloadableLazy-2hqV2Q8z.js +43 -0
  200. package/dist/{processing-Ci_Kl-Rh.js → processing-DStiN9XK.js} +2 -2
  201. package/dist/{progressBar-Caj-Vu1e.js → progressBar-CJqJXzAh.js} +2 -2
  202. package/dist/{pt-CPVeH0hD.js → pt-BDByRgpr.js} +107 -881
  203. package/dist/{pt-BR-DSJDHb-K.js → pt-BR-BRMyrqIN.js} +107 -881
  204. package/dist/{pt-PT-BWJTVPZY.js → pt-PT-CfwlYo6V.js} +107 -881
  205. package/dist/qe-signature/qe-signature.es.js +4 -4
  206. package/dist/redirect-to-mobile/redirect-to-mobile.es.js +34 -33
  207. package/dist/redirect-to-mobile/styles.css +1 -1
  208. package/dist/redirect-to-mobile/styles.css.js +1 -1
  209. package/dist/{registerIncodeElement-Dtw9dM3O.js → registerIncodeElement-B5W7SqS3.js} +1 -1
  210. package/dist/{resendTimer-ODOCcKyh.js → resendTimer-COMRdeDC.js} +2 -2
  211. package/dist/richText-BMvr5dhl.js +1761 -0
  212. package/dist/{ro-8gGEWeHO.js → ro-ju058j4P.js} +107 -881
  213. package/dist/{ru-C4EVku5S.js → ru-DYwhf4Hw.js} +107 -881
  214. package/dist/{ru-RU-Dr0NOGjg.js → ru-RU-BAvJW-vp.js} +107 -881
  215. package/dist/{sanitizeSvg-ilJ8VQmH.js → sanitizeSvg-BZoCoRr0.js} +1 -1
  216. package/dist/selfie/selfie.es.js +30 -14
  217. package/dist/selfie/styles.css +1 -1
  218. package/dist/selfie/styles.css.js +1 -1
  219. package/dist/signature/signature.es.js +18 -13
  220. package/dist/{sk-BSTzMa__.js → sk-Cl6F-Kaz.js} +108 -882
  221. package/dist/{sl-_HvO-HVX.js → sl-BxsNneWx.js} +107 -881
  222. package/dist/{smsTabContent-CWBrtP4u.js → smsTabContent-BLJM1Hbk.js} +40 -27
  223. package/dist/{so-pyCaqonl.js → so-D8izvKPD.js} +107 -881
  224. package/dist/spacer-NanHQwzu.js +1100 -0
  225. package/dist/spinner-bRH4yw9e.js +69 -0
  226. package/dist/{sr-Bpxtt0kk.js → sr-BtsYxFKz.js} +107 -881
  227. package/dist/{sr-Latn-BjueCJSI.js → sr-Latn-BTn5o62j.js} +112 -886
  228. package/dist/sr-YU-BNViLYA5.js +5 -0
  229. package/dist/step-up/step-up.es.js +483 -0
  230. package/dist/step-up/styles.css +2 -0
  231. package/dist/{sv-SE-sv5v6ZWe.js → sv-SE-f5R8i8ue.js} +107 -881
  232. package/dist/{sw-BseJSmdR.js → sw-BgHNoEGs.js} +107 -881
  233. package/dist/{th-TH-D0WNW-3l.js → th-TH-DmfU-a6A.js} +107 -881
  234. package/dist/{th-C2G8Ur12.js → th-aFkhFNxp.js} +107 -881
  235. package/dist/themes/dark.css +1 -1
  236. package/dist/themes/light.css +1 -1
  237. package/dist/{tl-CBOmxz5r.js → tl-CA42NVfv.js} +107 -881
  238. package/dist/{tl-PH-CwafDrED.js → tl-PH-DMCUe7pP.js} +107 -881
  239. package/dist/{tr-C4iH8UJx.js → tr-BVjID0jl.js} +108 -882
  240. package/dist/{transitionSpinner-DbrWrpRU.js → transitionSpinner-MclJtdHE.js} +5 -5
  241. package/dist/tutorial-fC2iei2v.js +28 -0
  242. package/dist/types/ae-signature.d.ts +7 -3
  243. package/dist/types/antifraud.d.ts +7 -3
  244. package/dist/types/authentication.d.ts +7 -3
  245. package/dist/types/certificate-issuance.d.ts +7 -3
  246. package/dist/types/consent.d.ts +7 -3
  247. package/dist/types/cross-document-data-match.d.ts +7 -3
  248. package/dist/types/curp-validation.d.ts +7 -3
  249. package/dist/types/document-capture.d.ts +7 -3
  250. package/dist/types/dynamic-forms.d.ts +7 -3
  251. package/dist/types/ekyb.d.ts +7 -3
  252. package/dist/types/ekyc-prefill.d.ts +213 -0
  253. package/dist/types/ekyc.d.ts +7 -3
  254. package/dist/types/electronic-signature.d.ts +7 -3
  255. package/dist/types/email.d.ts +7 -3
  256. package/dist/types/extensibility.d.ts +63 -17
  257. package/dist/types/face-match.d.ts +7 -3
  258. package/dist/types/field-comparison.d.ts +7 -3
  259. package/dist/types/fiscal-qr.d.ts +7 -3
  260. package/dist/types/flow.d.ts +16 -3
  261. package/dist/types/geolocation.d.ts +7 -3
  262. package/dist/types/government-validation.d.ts +7 -3
  263. package/dist/types/id-selfie-flow.d.ts +7 -3
  264. package/dist/types/id-verification.d.ts +7 -3
  265. package/dist/types/id.d.ts +7 -3
  266. package/dist/types/identity-reuse.d.ts +7 -3
  267. package/dist/types/index.d.ts +4 -0
  268. package/dist/types/kyb-checks.d.ts +213 -0
  269. package/dist/types/phone.d.ts +7 -3
  270. package/dist/types/qe-signature.d.ts +7 -3
  271. package/dist/types/selfie.d.ts +7 -3
  272. package/dist/types/signature.d.ts +7 -3
  273. package/dist/types/step-up.d.ts +85 -0
  274. package/dist/types/watchlist.d.ts +7 -3
  275. package/dist/types/workflow.d.ts +7 -3
  276. package/dist/{typography-BF9d8wEc.js → typography-Dncyo-3D.js} +3 -11
  277. package/dist/{uk-BGYlvKb_.js → uk-HjZTXCOA.js} +107 -881
  278. package/dist/{uk-UA-CbxzkCL_.js → uk-UA-ChpoWDcU.js} +108 -882
  279. package/dist/{ur-BQgtsAfv.js → ur-CZkQHBM4.js} +107 -881
  280. package/dist/{useCameraPreview-BmkAmzAs.js → useCameraPreview-DrteOjaq.js} +1 -1
  281. package/dist/useCaptureHelpButton-B5zEGcaB.js +43 -0
  282. package/dist/{useIsDarkTheme-COJZngNK.js → useIsDarkTheme-DAs5RhsW.js} +1 -1
  283. package/dist/{useModuleLoader-CceEKjsh.js → useModuleLoader-C2fbLotc.js} +8 -3
  284. package/dist/{uz-DqOg1Fdv.js → uz-BCp_m_Om.js} +107 -881
  285. package/dist/{vendor-preact-C0jX1Cbq.js → vendor-preact-HIccnts1.js} +19 -1
  286. package/dist/{verificationResult-m99Ragq6.js → verificationResult-sh4xut0K.js} +30 -27
  287. package/dist/{vi-COxdKkHn.js → vi-BvxcvDgc.js} +107 -881
  288. package/dist/video-selfie/styles.css +1 -1
  289. package/dist/video-selfie/styles.css.js +1 -1
  290. package/dist/video-selfie/video-selfie.es.js +64 -42
  291. package/dist/watchlist/watchlist.es.js +12 -8
  292. package/dist/{watchlistForBusiness-C2zxbavl.js → watchlistForBusiness-DnS1r-Ml.js} +38 -22
  293. package/dist/{withEndScreenTexts-BwNU-8-X.js → withEndScreenTexts-CHWofhk5.js} +212 -46
  294. package/dist/workflow/styles.css +1 -1
  295. package/dist/workflow/workflow.es.js +1 -530
  296. package/dist/workflow-DBS9eyu4.js +533 -0
  297. package/dist/{zh-CN-DfvYQGdE.js → zh-CN-DZRia1ir.js} +108 -882
  298. package/dist/{zh-CPQoDPxf.js → zh-DN_kUZaR.js} +107 -881
  299. package/dist/{zh-HANT-B4LzHH2y.js → zh-HANT-DisU_Tal.js} +107 -881
  300. package/dist/{zh-TW-DtvvhBYL.js → zh-TW-BJzCsdPP.js} +107 -881
  301. package/package.json +44 -12
  302. package/dist/autoFocusTitle-BxsSeMSB.js +0 -32
  303. package/dist/browser-ponyfill-CHlXHPpU.js +0 -441
  304. package/dist/cameraOverlay-Be1PFI8S.js +0 -2
  305. package/dist/check-icon-BWTjhSuA.js +0 -48
  306. package/dist/dashboardTheme-COBidrbH.js +0 -246
  307. package/dist/dateInputComposed-CONPVayx.js +0 -1
  308. package/dist/denied-Btt81vUD.js +0 -1871
  309. package/dist/devWarn-Cr7MglXv.js +0 -2628
  310. package/dist/documentCapture-DGCraCO3.js +0 -2
  311. package/dist/dropdownComposed-DyZXfcTf.js +0 -1
  312. package/dist/ekybModule-D-czIusz.js +0 -2
  313. package/dist/ekycModule-CkBRa6h2.js +0 -2
  314. package/dist/ekycModule-WlhVn8AO.js +0 -321
  315. package/dist/es-419-CTB15v-l.js +0 -3231
  316. package/dist/esm-BTUEHyry.js +0 -430
  317. package/dist/expiredId-DpbWqSzB.js +0 -80
  318. package/dist/faceMatch-CRbIcwK2.js +0 -2
  319. package/dist/fieldComparison-DKQNK0-r.js +0 -2
  320. package/dist/fieldComparison-OwGIeOM5.js +0 -109
  321. package/dist/flipAnimation-D-5tokFC.js +0 -3275
  322. package/dist/inputComposed-5mLbxAZJ.js +0 -1
  323. package/dist/numberedStep-CqgNwc_a.js +0 -13
  324. package/dist/otpInput-B_iLvmIn.js +0 -157
  325. package/dist/passwordInputComposed-NtiseM85.js +0 -74
  326. package/dist/pdfViewer-7FzYV8l3.js +0 -2
  327. package/dist/radioGroupComposed-CocqpoKe.js +0 -160
  328. package/dist/radioGroupComposed-DlQ-fNrF.js +0 -1
  329. package/dist/reload-icon-BR1POqkD.js +0 -70
  330. package/dist/richText-CRWB2afV.js +0 -1549
  331. package/dist/spacer-CwyNauIk.js +0 -733
  332. package/dist/spinner-DEZJxLSc.js +0 -88
  333. package/dist/sr-YU-xCb5qxap.js +0 -3235
  334. package/dist/useCaptureHelpButton-D40hYyD7.js +0 -88
  335. /package/dist/{aligndevicelottie-BHWuptBk.js → aligndevicelottie-DroBRtbt.js} +0 -0
  336. /package/dist/{back-tutorial-BYZr11eV.js → back-tutorial-ydxRtY-Y.js} +0 -0
  337. /package/dist/{backdevicelottie-JflQKxT_.js → backdevicelottie-hv8vbwYH.js} +0 -0
  338. /package/dist/{blurdevicelottie-CWuMQEHL.js → blurdevicelottie-Cgu4hKn7.js} +0 -0
  339. /package/dist/{countryDefinitions-6FOOLcB2.js → countryDefinitions-DlsV3Tf8.js} +0 -0
  340. /package/dist/{defineProperty-CUC2zCmh.js → defineProperty-CRYuXE79.js} +0 -0
  341. /package/dist/{flip-animation-BqTKEBcW.js → flip-animation-CJhh7l_J.js} +0 -0
  342. /package/dist/{frontdevicelottie-BWD-NCfG.js → frontdevicelottie-vyO3BJJe.js} +0 -0
  343. /package/dist/{glaredevicelottie-Cjy50jGc.js → glaredevicelottie-DrgkRjFh.js} +0 -0
  344. /package/dist/{id-laser-h-By7lMim8.js → id-laser-h-CUz29uFc.js} +0 -0
  345. /package/dist/{id-laser-v-BCPAN2x5.js → id-laser-v-Bnf10QJp.js} +0 -0
  346. /package/dist/{id-tutorial-B9cUQuf0.js → id-tutorial-DGwvKAMs.js} +0 -0
  347. /package/dist/{lottie_light-DywVSPMT.js → lottie_light-BXXuEKyZ.js} +0 -0
  348. /package/dist/{passport-tutorial-TSZzEGqb.js → passport-tutorial-DoqqyBXo.js} +0 -0
  349. /package/dist/{pdf.worker.min-D7ZNTVBZ.js → pdf.worker.min-Cm2oniEB.js} +0 -0
  350. /package/dist/{policyUrls-Bpacx_pp.js → policyUrls-Hvb4jPfF.js} +0 -0
  351. /package/dist/{purify.es-DZazHwBu.js → purify.es-DIIgrZ-E.js} +0 -0
  352. /package/dist/{selfieTutorial-CLJAEuXG.js → selfieTutorial-BTewRjM5.js} +0 -0
@@ -1,9 +1,10 @@
1
- import { c as useTranslation } from "./devWarn-Cr7MglXv.js";
2
- import { _ as y, c as A, f as d, h as q, v as u } from "./vendor-preact-C0jX1Cbq.js";
3
- import { h as useIsMobileDeviceWidth } from "./incodeComponent-C1Bz5Qou.js";
4
- import { t as InputComposed } from "./inputComposed-BuE0iZlw.js";
5
- import { n as translateError } from "./formField-C3MNhFKI.js";
6
- import { t as BottomSheet } from "./bottomSheet-x20yd6eP.js";
1
+ import { d as useTranslation } from "./devWarn-B4kGEiva.js";
2
+ import { _ as q, b as u, l as A, m as d, y } from "./vendor-preact-HIccnts1.js";
3
+ import { t as PrizmaTextField } from "./TextField-o3qwE7KD.js";
4
+ import { m as useIsMobileDeviceWidth } from "./hooks-COiwxC3h.js";
5
+ import { t as FieldLabelHint } from "./fieldLabelHint-eF42wLDJ.js";
6
+ import { n as translateError } from "./errorParams-W7NX72mI.js";
7
+ import { t as BottomSheet } from "./bottomSheet-COrgITc6.js";
7
8
  //#region src/shared/addressAutocomplete/addressAutocomplete.tsx
8
9
  var AddressAutocomplete = ({ label, value, error, errorParams, suggestions, readonly, disabled, required, labelHint, onChange, onSearch, onSelect, onBlur }) => {
9
10
  const { t } = useTranslation();
@@ -20,6 +21,7 @@ var AddressAutocomplete = ({ label, value, error, errorParams, suggestions, read
20
21
  const mobileTitleId = "ekyc-address-modal-title";
21
22
  const isMobile = useIsMobileDeviceWidth();
22
23
  const translatedLabel = t(label);
24
+ const errorText = translateError(t, error, errorParams);
23
25
  y(() => {
24
26
  function handleClickOutside(e) {
25
27
  if (containerRef.current && !containerRef.current.contains(e.target)) setShowSuggestions(false);
@@ -90,16 +92,29 @@ var AddressAutocomplete = ({ label, value, error, errorParams, suggestions, read
90
92
  className: "IncodeAddressAutocomplete",
91
93
  ref: containerRef,
92
94
  children: [
93
- /* @__PURE__ */ u(InputComposed, {
95
+ labelHint && /* @__PURE__ */ u("label", {
96
+ class: "IncodeInputComposedLabel",
97
+ htmlFor: "ekyc-street",
98
+ children: [translatedLabel, /* @__PURE__ */ u(FieldLabelHint, {
99
+ className: "IncodeInputComposedLabelHint",
100
+ hint: labelHint,
101
+ required,
102
+ testId: "ekyc-street-label-hint"
103
+ })]
104
+ }),
105
+ /* @__PURE__ */ u(PrizmaTextField, {
106
+ className: "IncodeInputComposed",
107
+ inputClassName: "IncodeInput",
108
+ clearable: false,
94
109
  id: "ekyc-street",
95
- label: translatedLabel,
96
- labelHint,
110
+ label: labelHint ? void 0 : translatedLabel,
97
111
  name: "street",
98
112
  value,
99
113
  readOnly: readonly,
100
114
  disabled,
101
115
  required,
102
- error: translateError(t, error, errorParams),
116
+ error: !!errorText,
117
+ errorText,
103
118
  onInput: (e) => handleInput(e.target.value),
104
119
  onKeyDown: handleKeyDown,
105
120
  onBlur,
@@ -0,0 +1,245 @@
1
+ import { d as useTranslation } from "./devWarn-B4kGEiva.js";
2
+ import { _ as q, b as u, h as g, i as D, l as A, m as d, y } from "./vendor-preact-HIccnts1.js";
3
+ import { b as PrizmaButton } from "./icons-CLoob8B-.js";
4
+ import { _ as PrizmaLoadingSpinner, g as mergeAriaIds, h as cn, t as Spacer } from "./spacer-NanHQwzu.js";
5
+ import { n as useResendTimerAnnouncements, t as formatResendTimer } from "./resendTimer-COMRdeDC.js";
6
+ //#region ../../node_modules/.pnpm/@incodetech+prizma-core-web@0.20.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@incodetech/prizma-core-web/dist/Otp.js
7
+ var IconFailCircle = () => u("svg", {
8
+ viewBox: "0 0 16 16",
9
+ xmlns: "http://www.w3.org/2000/svg",
10
+ "aria-hidden": "true",
11
+ children: [u("path", {
12
+ className: "prizma-input-otp__err-circle",
13
+ fillRule: "evenodd",
14
+ clipRule: "evenodd",
15
+ d: "M8 1.66667C4.508 1.66667 1.66667 4.508 1.66667 8C1.66667 11.4927 4.508 14.3333 8 14.3333C11.492 14.3333 14.3333 11.4927 14.3333 8C14.3333 4.508 11.492 1.66667 8 1.66667Z"
16
+ }), u("path", {
17
+ className: "prizma-input-otp__err-x",
18
+ fillRule: "evenodd",
19
+ clipRule: "evenodd",
20
+ d: "M6.0931 6.0898 C6.2884 5.8946 6.605 5.8946 6.8002 6.0898 L8.002 7.2916 L9.2028 6.0908 C9.398 5.8955 9.7146 5.8955 9.9098 6.0908 C10.1051 6.2861 10.1051 6.6026 9.9098 6.7979 L8.7091 7.9986 L9.9138 9.2034 C10.109 9.3986 10.109 9.7152 9.9138 9.9104 C9.7185 10.1057 9.4019 10.1057 9.2067 9.9104 L8.002 8.7058 L6.8015 9.9062 C6.6063 10.1015 6.2897 10.1015 6.0944 9.9062 C5.8992 9.711 5.8992 9.3944 6.0944 9.1991 L7.2949 7.9986 L6.0931 6.797 C5.8979 6.6017 5.8979 6.2851 6.0931 6.0898 Z"
21
+ })]
22
+ });
23
+ var PrizmaOtp = D((props, ref) => {
24
+ const { errorText, disabled = false, readOnly = false, loading = false, error = false, length = 6, pattern = "[A-Za-z0-9]*", inputMode = "numeric", autoComplete = "one-time-code", onValueChange, onComplete, id, value: controlledValue, defaultValue = "", className, inputClassName, style, onChange, ...inputRest } = props;
25
+ const reactId = g();
26
+ const inputId = id ?? `otp-${reactId}`;
27
+ const messageId = `${inputId}-msg`;
28
+ const isControlled = controlledValue !== void 0;
29
+ const [internalValue, setInternalValue] = d(String(defaultValue ?? ""));
30
+ const value = isControlled ? controlledValue : internalValue;
31
+ const hasValue = value !== "" && value !== void 0;
32
+ const showError = error && !!errorText;
33
+ const handleChange = (e) => {
34
+ const next = e.target.value;
35
+ if (!isControlled) setInternalValue(next);
36
+ onChange?.(e);
37
+ onValueChange?.(next);
38
+ if (next.length === length) onComplete?.(next);
39
+ };
40
+ return u("div", {
41
+ className: [
42
+ "prizma-input-otp",
43
+ hasValue ? "prizma-input-otp--filled" : "",
44
+ error ? "prizma-input-otp--error" : "",
45
+ disabled ? "prizma-input-otp--disabled" : "",
46
+ readOnly ? "prizma-input-otp--readonly" : "",
47
+ loading ? "prizma-input-otp--loading" : "",
48
+ className ?? ""
49
+ ].filter(Boolean).join(" "),
50
+ style,
51
+ "aria-disabled": disabled ? "true" : void 0,
52
+ "aria-busy": loading ? "true" : void 0,
53
+ children: [u("div", {
54
+ className: "prizma-input-otp__field",
55
+ children: loading ? u(PrizmaLoadingSpinner, {}) : u("input", {
56
+ ...inputRest,
57
+ ref,
58
+ id: inputId,
59
+ type: "text",
60
+ inputMode,
61
+ autoComplete,
62
+ pattern,
63
+ maxLength: length,
64
+ className: ["prizma-input-otp__input", inputClassName].filter(Boolean).join(" "),
65
+ value,
66
+ disabled,
67
+ readOnly,
68
+ "aria-invalid": inputRest["aria-invalid"] ?? (error ? "true" : void 0),
69
+ "aria-describedby": mergeAriaIds(inputRest["aria-describedby"], showError ? messageId : void 0),
70
+ onChange: handleChange
71
+ })
72
+ }), showError && u("div", {
73
+ className: "prizma-input-otp__error",
74
+ id: messageId,
75
+ role: "alert",
76
+ children: [u("span", {
77
+ className: "prizma-input-otp__error-icon",
78
+ children: u(IconFailCircle, {})
79
+ }), u("span", {
80
+ className: "prizma-input-otp__error-text",
81
+ children: errorText
82
+ })]
83
+ })]
84
+ });
85
+ });
86
+ PrizmaOtp.displayName = "PrizmaOtp";
87
+ //#endregion
88
+ //#region src/shared/otpInput/otpInput.tsx
89
+ var normalizeOtp = (value, maxLength) => {
90
+ return value.replace(/[^a-zA-Z0-9]/g, "").toUpperCase().slice(0, maxLength);
91
+ };
92
+ var OtpInput = ({ value, otpLength, resendTimer, canResend, error, validationError, isValid = true, onSubmit, onChange, onValidate, onResend, onBack, backLinkText = "otp.changePhoneNumber", disabled = false, isLoading = false }) => {
93
+ const { t } = useTranslation();
94
+ const inputRef = A(null);
95
+ const prevCodeLengthRef = A(value.length);
96
+ const lastSubmittedCodeRef = A(null);
97
+ const liveRef = useResendTimerAnnouncements({
98
+ canResend,
99
+ resendTimer
100
+ });
101
+ y(() => {
102
+ if (error) {
103
+ lastSubmittedCodeRef.current = null;
104
+ setTimeout(() => {
105
+ inputRef.current?.focus();
106
+ }, 0);
107
+ }
108
+ }, [error]);
109
+ const submitCode = q((rawCode) => {
110
+ const normalized = normalizeOtp(rawCode, otpLength);
111
+ if (normalized.length !== otpLength || isLoading) return;
112
+ if (lastSubmittedCodeRef.current === normalized) return;
113
+ lastSubmittedCodeRef.current = normalized;
114
+ onSubmit(normalized);
115
+ }, [
116
+ isLoading,
117
+ onSubmit,
118
+ otpLength
119
+ ]);
120
+ y(() => {
121
+ const reachedMax = value.length === otpLength && prevCodeLengthRef.current < otpLength;
122
+ prevCodeLengthRef.current = value.length;
123
+ if (reachedMax) submitCode(value);
124
+ }, [
125
+ value,
126
+ otpLength,
127
+ submitCode
128
+ ]);
129
+ const handleChange = (e) => {
130
+ const target = e.target;
131
+ onChange(normalizeOtp(target.value, otpLength));
132
+ };
133
+ const handlePaste = (e) => {
134
+ e.preventDefault();
135
+ const normalized = normalizeOtp(e.clipboardData?.getData("text") || "", otpLength);
136
+ if (normalized) onChange(normalized);
137
+ };
138
+ const handleSubmitClick = () => {
139
+ if (value.length < otpLength) {
140
+ onValidate?.();
141
+ inputRef.current?.focus();
142
+ return;
143
+ }
144
+ submitCode(value);
145
+ };
146
+ const displayedError = error ?? validationError;
147
+ const renderActions = () => {
148
+ if (!canResend && resendTimer > 0) return /* @__PURE__ */ u("div", {
149
+ class: "IncodeOtpInputActions",
150
+ "data-testid": "otp-timer",
151
+ children: /* @__PURE__ */ u(PrizmaButton, {
152
+ size: "L",
153
+ className: "IncodeButton IncodeButtonLink IncodeButtonL",
154
+ variant: "tertiary-link",
155
+ disabled: true,
156
+ children: t("otp.resendCountdown", { time: formatResendTimer(resendTimer) })
157
+ })
158
+ });
159
+ const handleResend = () => {
160
+ lastSubmittedCodeRef.current = null;
161
+ onChange("");
162
+ onResend();
163
+ };
164
+ const handleBack = () => {
165
+ lastSubmittedCodeRef.current = null;
166
+ onChange("");
167
+ onBack();
168
+ };
169
+ return /* @__PURE__ */ u("div", {
170
+ class: "IncodeOtpInputActions",
171
+ children: /* @__PURE__ */ u("p", {
172
+ class: `IncodeOtpInputResendText ${disabled ? "IncodeOtpInputResendTextDisabled" : ""}`,
173
+ "data-testid": "otp-resend-section",
174
+ children: [
175
+ t("otp.didYouNotGetIt"),
176
+ /* @__PURE__ */ u(PrizmaButton, {
177
+ variant: "tertiary-link",
178
+ size: "L",
179
+ onClick: handleResend,
180
+ disabled: disabled || !canResend,
181
+ "data-testid": "otp-resend",
182
+ className: "IncodeButton IncodeButtonLink IncodeButtonInline",
183
+ children: t("otp.resendCode")
184
+ }),
185
+ ` ${t("otp.or")} `,
186
+ /* @__PURE__ */ u(PrizmaButton, {
187
+ variant: "tertiary-link",
188
+ size: "L",
189
+ onClick: handleBack,
190
+ disabled,
191
+ "data-testid": "otp-back",
192
+ className: "IncodeButton IncodeButtonLink IncodeButtonInline",
193
+ children: t(backLinkText)
194
+ })
195
+ ]
196
+ })
197
+ });
198
+ };
199
+ return /* @__PURE__ */ u("div", {
200
+ class: `IncodeOtpInput IncodeOtpInputComposed`,
201
+ children: [
202
+ /* @__PURE__ */ u("div", {
203
+ ref: liveRef,
204
+ class: "IncodeSrOnly",
205
+ "aria-live": "polite",
206
+ "aria-atomic": "true"
207
+ }),
208
+ /* @__PURE__ */ u(PrizmaOtp, {
209
+ className: "IncodeInputComposed IncodeOtpSingleInput",
210
+ inputClassName: "IncodeInput",
211
+ id: "otp-code",
212
+ inputMode: "text",
213
+ ref: inputRef,
214
+ length: otpLength,
215
+ value,
216
+ error: !!displayedError,
217
+ errorText: displayedError,
218
+ onInput: handleChange,
219
+ onBlur: onValidate,
220
+ onPaste: handlePaste,
221
+ disabled: disabled || isLoading,
222
+ required: true,
223
+ "aria-required": "true",
224
+ autoComplete: "one-time-code",
225
+ "data-testid": "otp-input-0",
226
+ "aria-label": t("otp.verificationCode")
227
+ }),
228
+ /* @__PURE__ */ u(Spacer, {}),
229
+ /* @__PURE__ */ u(PrizmaButton, {
230
+ variant: "primary",
231
+ size: "L",
232
+ className: cn("IncodeButton IncodeButtonPrimary IncodeButtonL", isLoading && "IncodeButtonLoading"),
233
+ onClick: handleSubmitClick,
234
+ disabled: disabled || isLoading || !isValid,
235
+ loading: isLoading,
236
+ "data-testid": "otp-submit",
237
+ children: t("common.continue")
238
+ }),
239
+ /* @__PURE__ */ u(Spacer, { size: 12 }),
240
+ renderActions()
241
+ ]
242
+ });
243
+ };
244
+ //#endregion
245
+ export { OtpInput as t };
@@ -1,21 +1,27 @@
1
- import { a as useUiConfig, c as useTranslation } from "./devWarn-Cr7MglXv.js";
2
- import { S as k, _ as y, b as Q, c as A, f as d, g as x, i as D, v as u } from "./vendor-preact-C0jX1Cbq.js";
1
+ import { d as useTranslation, o as useUiConfig } from "./devWarn-B4kGEiva.js";
2
+ import { C as Q, T as k, a as M, b as u, g as h, i as D, l as A, m as d, v as x } from "./vendor-preact-HIccnts1.js";
3
3
  import { t as DEFAULT_HELP_BUTTON_POSITION } from "./helpButtonConfig-BFragC_J.js";
4
- import { t as Spacer, u as cn } from "./spacer-CwyNauIk.js";
5
- import { f as CloseIcon, x as Button } from "./icons-BdiCuWFP.js";
6
- import { n as incode_logo_default, r as Modal, t as usePageUiConfig } from "./pageUiConfig-rOL18JSI.js";
4
+ import { b as PrizmaButton, d as CloseIcon } from "./icons-CLoob8B-.js";
5
+ import { h as cn, t as Spacer } from "./spacer-NanHQwzu.js";
6
+ import { t as AutoFocusTitle } from "./autoFocusTitle-CNeT8ydU.js";
7
+ import { n as IncodeLogo, r as Modal, t as usePageUiConfig } from "./pageUiConfig-DZQHreIo.js";
7
8
  //#region src/shared/closeButton/closeButton.tsx
8
9
  /** The "X" button that cancels the current module. Purely presentational. */
9
10
  var CloseButton = D(({ onClick, ariaLabel, class: className, size = "S", iconSize = 24, color = "var(--icon-neutral-500)", "data-testid": dataTestId }, ref) => {
10
- return /* @__PURE__ */ u(Button, {
11
+ return /* @__PURE__ */ u(PrizmaButton, {
12
+ ...size === "L" || size === "inline" ? {
13
+ variant: "tertiary-link",
14
+ size: "L"
15
+ } : {
16
+ variant: "icon",
17
+ size
18
+ },
11
19
  ref,
12
- size,
13
- variant: "link",
14
20
  onClick,
15
21
  "aria-label": ariaLabel,
16
- class: cn("IncodeCloseButton", className),
22
+ className: cn("IncodeButton IncodeButtonLink IncodeButtonIconOnly IncodeCloseButton", size === "inline" ? "IncodeButtonInline" : `IncodeButton${size}`, className),
17
23
  "data-testid": dataTestId,
18
- icon: /* @__PURE__ */ u(CloseIcon, {
24
+ children: /* @__PURE__ */ u(CloseIcon, {
19
25
  width: iconSize,
20
26
  height: iconSize,
21
27
  fillColor: color
@@ -36,12 +42,16 @@ function QuitConfirmDialog({ open, onOpenChange, onConfirm, returnFocusRef }) {
36
42
  onOpenChange,
37
43
  returnFocusRef,
38
44
  "data-testid": "quit-confirm-dialog",
39
- children: /* @__PURE__ */ u(Modal.Content, { children: [/* @__PURE__ */ u(Modal.TitleSection, { children: /* @__PURE__ */ u(Modal.Title, { children: t("page.close.confirmQuit") }) }), /* @__PURE__ */ u(Modal.Actions, { children: [/* @__PURE__ */ u(Button, {
45
+ children: /* @__PURE__ */ u(Modal.Content, { children: [/* @__PURE__ */ u(Modal.Header, { title: t("page.close.confirmQuit") }), /* @__PURE__ */ u(Modal.Actions, { children: [/* @__PURE__ */ u(PrizmaButton, {
46
+ size: "L",
47
+ className: "IncodeButton IncodeButtonSecondary IncodeButtonL",
40
48
  variant: "secondary",
41
49
  onClick: () => onOpenChange(false),
42
50
  "data-testid": "quit-confirm-cancel",
43
51
  children: t("page.close.cancel")
44
- }), /* @__PURE__ */ u(Button, {
52
+ }), /* @__PURE__ */ u(PrizmaButton, {
53
+ size: "L",
54
+ className: "IncodeButton IncodeButtonPrimary IncodeButtonL",
45
55
  variant: "primary",
46
56
  onClick: onConfirm,
47
57
  "data-testid": "quit-confirm-confirm",
@@ -130,8 +140,53 @@ function useCloseButton() {
130
140
  };
131
141
  }
132
142
  //#endregion
143
+ //#region src/shared/page/logoQuality.ts
144
+ /** An SVG never blurs, so it may fill its box. Any other URL counts as raster. */
145
+ var isVectorLogo = (src) => /^data:image\/svg\+xml|\.svg([?#]|$)/i.test(src);
146
+ //#endregion
147
+ //#region src/shared/page/useLogoShape.ts
148
+ /** Narrower than 1.5:1 is squarish (mark, badge, stacked lockup). */
149
+ var SQUARISH_MAX_RATIO = 1.5;
150
+ /** Shape per logo URL, so later screens get the right box straight away. */
151
+ var squarishBySrc = /* @__PURE__ */ new Map();
152
+ /** Whether a logo is squarish, read from its natural size once it loads. */
153
+ function useLogoShape(src) {
154
+ const [, rerender] = h((n) => n + 1, 0);
155
+ const onLoad = (event) => {
156
+ const { naturalWidth, naturalHeight } = event.currentTarget;
157
+ if (!naturalWidth || !naturalHeight) return;
158
+ if (!squarishBySrc.has(src)) {
159
+ const isSquarish = naturalWidth / naturalHeight < SQUARISH_MAX_RATIO;
160
+ squarishBySrc.set(src, isSquarish);
161
+ }
162
+ if (squarishBySrc.get(src)) rerender(0);
163
+ };
164
+ return {
165
+ isSquarish: squarishBySrc.get(src) === true,
166
+ onLoad
167
+ };
168
+ }
169
+ //#endregion
170
+ //#region src/shared/page/logo.tsx
171
+ /** Customer logo, sized by shape (see `logo.css`). */
172
+ var CustomLogo = ({ src, class: className }) => {
173
+ const { isSquarish, onLoad } = useLogoShape(src);
174
+ return /* @__PURE__ */ u("img", {
175
+ src,
176
+ class: cn("IncodePageLogo", "IncodePageLogoCustom", isSquarish && "IncodePageLogoSquarish", isVectorLogo(src) && "IncodePageLogoVector", className),
177
+ onLoad,
178
+ "aria-hidden": "true",
179
+ alt: ""
180
+ });
181
+ };
182
+ /** Header logo: the customer's if there is one, otherwise Incode's. */
183
+ var Logo = ({ src, class: className }) => src ? /* @__PURE__ */ u(CustomLogo, {
184
+ src,
185
+ class: className
186
+ }) : /* @__PURE__ */ u(IncodeLogo, { class: cn("IncodePageLogo", className) });
187
+ //#endregion
133
188
  //#region src/shared/page/verifiedByIncode.tsx
134
- var VerifiedByIncodeLogo = () => {
189
+ var VerifiedByIncodeLogo = M(function VerifiedByIncodeLogo() {
135
190
  return /* @__PURE__ */ u("svg", {
136
191
  width: "121",
137
192
  height: "15",
@@ -201,20 +256,15 @@ var VerifiedByIncodeLogo = () => {
201
256
  }) })
202
257
  ]
203
258
  });
204
- };
259
+ });
205
260
  //#endregion
206
261
  //#region src/shared/page/page.tsx
207
262
  var Page = ({ title, titleId, subtitle, titleTopSlot, className, logo, children, hideHeader, hideFooterBranding, footerBrandingSlot, theme, "data-testid": dataTestId, "data-permission-status": dataPermissionStatus }) => {
208
- const titleRef = A(null);
209
263
  const closeButton = useCloseButton();
210
- y(() => {
211
- titleRef.current?.focus();
212
- }, []);
213
264
  const uiConfig = usePageUiConfig({
214
265
  hideHeader,
215
266
  hideFooterBranding,
216
267
  logo,
217
- defaultLogoSrc: incode_logo_default,
218
268
  theme
219
269
  });
220
270
  const shouldShowHeader = title || subtitle || titleTopSlot;
@@ -228,13 +278,7 @@ var Page = ({ title, titleId, subtitle, titleTopSlot, className, logo, children,
228
278
  children: [
229
279
  !uiConfig.hideHeader && /* @__PURE__ */ u("header", {
230
280
  class: "IncodePageHeader",
231
- children: [/* @__PURE__ */ u("img", {
232
- src: uiConfig.logoSrc,
233
- height: uiConfig.logoHeightPx,
234
- class: "IncodePageLogo",
235
- "aria-hidden": "true",
236
- alt: ""
237
- }), closeButton ? /* @__PURE__ */ u(CloseButtonWithConfirm, {
281
+ children: [/* @__PURE__ */ u(Logo, { src: uiConfig.logoSrc }), closeButton ? /* @__PURE__ */ u(CloseButtonWithConfirm, {
238
282
  onConfirm: closeButton.onQuit,
239
283
  ariaLabel: closeButton.ariaLabel,
240
284
  "data-testid": "page-close-button",
@@ -243,23 +287,21 @@ var Page = ({ title, titleId, subtitle, titleTopSlot, className, logo, children,
243
287
  }),
244
288
  shouldShowHeader ? /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u(Spacer, { size: uiConfig.hideHeader ? 40 : 24 }), /* @__PURE__ */ u("div", {
245
289
  class: "IncodePageTitleContainer",
246
- children: [
247
- titleTopSlot ? /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u("div", {
248
- class: "IncodePageTitleTopSlot",
249
- children: titleTopSlot
250
- }), /* @__PURE__ */ u(Spacer, { size: 12 })] }) : null,
251
- title ? /* @__PURE__ */ u("h2", {
252
- ref: titleRef,
253
- id: titleId,
254
- class: "IncodePageTitle",
255
- tabIndex: -1,
256
- children: title
257
- }) : null,
258
- subtitle ? /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u(Spacer, { size: 12 }), /* @__PURE__ */ u("p", {
259
- class: "IncodePageSubtitle",
260
- children: subtitle
261
- })] }) : null
262
- ]
290
+ children: [titleTopSlot ? /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u("div", {
291
+ class: "IncodePageTitleTopSlot",
292
+ children: titleTopSlot
293
+ }), /* @__PURE__ */ u(Spacer, { size: 12 })] }) : null, title ? /* @__PURE__ */ u(AutoFocusTitle, {
294
+ id: titleId,
295
+ className: "IncodePageTitle",
296
+ tabIndex: -1,
297
+ showSubtitle: Boolean(subtitle),
298
+ subtitle,
299
+ subtitleProps: { className: "IncodePageSubtitle" },
300
+ children: title
301
+ }) : subtitle ? /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u(Spacer, { size: 12 }), /* @__PURE__ */ u("p", {
302
+ class: "IncodePageSubtitle",
303
+ children: subtitle
304
+ })] }) : null]
263
305
  })] }) : null,
264
306
  /* @__PURE__ */ u("div", {
265
307
  class: "IncodePageContent",
@@ -277,4 +319,4 @@ var Page = ({ title, titleId, subtitle, titleTopSlot, className, logo, children,
277
319
  });
278
320
  };
279
321
  //#endregion
280
- export { useModuleCancelContext as a, ModuleCancelProvider as i, VerifiedByIncodeLogo as n, resolveCornerControls as o, useCloseButton as r, CloseButtonWithConfirm as s, Page as t };
322
+ export { ModuleCancelProvider as a, CloseButtonWithConfirm as c, useCloseButton as i, VerifiedByIncodeLogo as n, useModuleCancelContext as o, Logo as r, resolveCornerControls as s, Page as t };
@@ -1,8 +1,8 @@
1
- import { a as useUiConfig } from "./devWarn-Cr7MglXv.js";
2
- 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";
3
- import { r as useIsDarkTheme } from "./useIsDarkTheme-COJZngNK.js";
4
- import { u as cn } from "./spacer-CwyNauIk.js";
5
- import { f as CloseIcon } from "./icons-BdiCuWFP.js";
1
+ import { o as useUiConfig } from "./devWarn-B4kGEiva.js";
2
+ import { C as Q, _ as q, a as M, b as u, d as T, f as _, l as A, m as d, n as $, v as x, y } from "./vendor-preact-HIccnts1.js";
3
+ import { r as useIsDarkTheme } from "./useIsDarkTheme-DAs5RhsW.js";
4
+ import { d as CloseIcon } from "./icons-CLoob8B-.js";
5
+ import { h as cn, n as Title } from "./spacer-NanHQwzu.js";
6
6
  //#region src/shared/modal/modal.hooks.ts
7
7
  var MODAL_SCROLL_LOCK_CLASS = "IncodeModalScrollLock";
8
8
  /** `id` of the `Modal.Title` heading; also the dialog's `aria-labelledby`. */
@@ -110,8 +110,8 @@ function useModalEscapeDismiss(open, dismissible, onRequestClose) {
110
110
  ]);
111
111
  }
112
112
  /**
113
- * When `active` becomes true, moves focus to the first tabbable inside the dialog,
114
- * 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
115
115
  * `returnFocusRef` if provided, otherwise to the previously focused element.
116
116
  *
117
117
  * An explicit `returnFocusRef` is strongly recommended for dialogs opened via
@@ -123,7 +123,7 @@ function useModalEscapeDismiss(open, dismissible, onRequestClose) {
123
123
  * so focus runs after the dialog node exists.
124
124
  */
125
125
  function useModalFocusCapture(active, dialogRef, manageInitialFocus = true, returnFocusRef) {
126
- y(() => {
126
+ _(() => {
127
127
  if (!active) return;
128
128
  const previous = document.activeElement;
129
129
  const explicitReturnTarget = returnFocusRef?.current ?? null;
@@ -174,7 +174,7 @@ function useModalVisualViewportBounds(active, targetRef) {
174
174
  * Keeps Tab / Shift+Tab cycling within the dialog while `active` is true.
175
175
  */
176
176
  function useModalTabCycle(active, dialogRef) {
177
- y(() => {
177
+ _(() => {
178
178
  if (!active) return;
179
179
  const onKeyDown = (event) => {
180
180
  if (event.key !== "Tab") return;
@@ -299,7 +299,7 @@ function ModalTitleSection({ children, align = "center" }) {
299
299
  });
300
300
  }
301
301
  function ModalTitle({ children, ref, class: className }) {
302
- return /* @__PURE__ */ u("h2", {
302
+ return /* @__PURE__ */ u(Title, {
303
303
  id: MODAL_TITLE_ID,
304
304
  ref,
305
305
  tabIndex: -1,
@@ -307,12 +307,43 @@ function ModalTitle({ children, ref, class: className }) {
307
307
  children
308
308
  });
309
309
  }
310
- function ModalSubtitle({ children, class: className }) {
310
+ function useModalDescription(visible) {
311
311
  const { setHasDescription } = useModalContext();
312
312
  _(() => {
313
- setHasDescription(true);
313
+ setHasDescription(visible);
314
314
  return () => setHasDescription(false);
315
- }, [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);
316
347
  return /* @__PURE__ */ u("p", {
317
348
  id: "incode-modal-description",
318
349
  className: cn("IncodeModalSubtitle", className),
@@ -330,6 +361,7 @@ var Modal = {
330
361
  Root: ModalRoot,
331
362
  Content: ModalContent,
332
363
  Close: ModalClose,
364
+ Header: ModalHeader,
333
365
  Icon: ModalIcon,
334
366
  TitleSection: ModalTitleSection,
335
367
  Title: ModalTitle,
@@ -337,26 +369,36 @@ var Modal = {
337
369
  Actions: ModalActions
338
370
  };
339
371
  //#endregion
340
- //#region src/shared/page/incode-logo.svg
341
- 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
+ });
342
392
  //#endregion
343
393
  //#region src/shared/page/pageUiConfig.ts
344
394
  function resolveFirst(values) {
345
395
  for (const value of values) if (value !== void 0) return value;
346
396
  }
347
- function parseLogoHeight(height) {
348
- if (!height) return void 0;
349
- if (/^\d+$/.test(height)) return Number(height);
350
- const px = height.match(/^(\d+)px$/);
351
- if (px) return Number(px[1]);
352
- }
353
397
  function resolvePageUiConfig(args) {
354
- const logoHeight = resolveFirst([args.logo?.height, args.uiConfig.logoHeight]);
355
398
  return {
356
399
  hideHeader: resolveFirst([args.hideHeader, args.uiConfig.hideHeader]) ?? false,
357
400
  hideFooterBranding: Boolean(args.hideFooterBranding || args.uiConfig.hideFooterBranding),
358
- logoSrc: args.logo?.src || (args.isDark ? args.uiConfig.logoDarkSrc : void 0) || args.uiConfig.logoSrc || args.defaultLogoSrc,
359
- logoHeightPx: parseLogoHeight(logoHeight) ?? 80
401
+ logoSrc: args.logo?.src || (args.isDark ? args.uiConfig.logoDarkSrc : void 0) || args.uiConfig.logoSrc || void 0
360
402
  };
361
403
  }
362
404
  function usePageUiConfig(args) {
@@ -370,4 +412,4 @@ function usePageUiConfig(args) {
370
412
  });
371
413
  }
372
414
  //#endregion
373
- export { useModalEscapeDismiss as a, useModalVisualViewportBounds as c, useModalBodyScrollLock as i, incode_logo_default as n, useModalFocusCapture as o, Modal as r, useModalTabCycle as s, usePageUiConfig 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 };