@incodetech/web 2.4.1-agentic.1 → 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 (345) hide show
  1. package/dist/{GeolocationPermissionDenied-ClGp0a23.js → GeolocationPermissionDenied-Dag9fchQ.js} +16 -6
  2. package/dist/Password-4ht2vsqv.js +212 -0
  3. package/dist/RadioGroup-Cf6xDIm5.js +123 -0
  4. package/dist/RequiredLegend-DwaAzhid.js +16 -0
  5. package/dist/RequiredMarker-CGQR8lsb.js +16 -0
  6. package/dist/TextField-o3qwE7KD.js +166 -0
  7. package/dist/ae-signature/ae-signature.es.js +4 -4
  8. package/dist/{af-ZA-BKpmmWDe.js → af-ZA-CdJRBJEg.js} +58 -42
  9. package/dist/{ageVerification-CtuJDuRV.js → ageVerification-u2zo-WUl.js} +5 -6
  10. package/dist/{am-CW_ro5Ws.js → am-Df9uoE6e.js} +58 -42
  11. package/dist/antifraud/antifraud.es.js +5 -5
  12. package/dist/{applyStudioConfig-C6-Ak0q6.js → applyStudioConfig-Deh55YNW.js} +4 -5
  13. package/dist/{ar-AE-D9h8UMbm.js → ar-AE-CAoWsgnA.js} +58 -42
  14. package/dist/{ar-EG-DQqE9B26.js → ar-EG-CXi0p-DV.js} +58 -42
  15. package/dist/{ar-B5ToweVl.js → ar-hyEIwsq9.js} +59 -43
  16. package/dist/authentication/authentication.es.js +7 -7
  17. package/dist/autoFocusTitle-CNeT8ydU.js +19 -0
  18. package/dist/{az-DAZq-CQj.js → az-CUehzrK3.js} +58 -42
  19. package/dist/{back-horizontal-hint-qzSaNkEU.js → back-horizontal-hint-D5xvRtEe.js} +1 -1
  20. package/dist/{back-vertical-hint-DkYLOege.js → back-vertical-hint-DoKJSQhY.js} +1 -1
  21. package/dist/base.css +1 -1
  22. package/dist/{baseTutorial-CF6WiVYt.js → baseTutorial-xDkp34JC.js} +4 -5
  23. package/dist/{bn-DRTyq2Y9.js → bn-DStUscj0.js} +58 -42
  24. package/dist/{bottomSheet-DylE2INk.js → bottomSheet-COrgITc6.js} +3 -3
  25. package/dist/{bs-B8q0B86-.js → bs-Lq1FPKJj.js} +58 -42
  26. package/dist/{ca-DvsHXRB-.js → ca-K83Ys4Fe.js} +58 -42
  27. package/dist/cameraOverlay-Bciqav_0.js +2 -0
  28. package/dist/{cameraOverlayHeader-CuVGnyXI.js → cameraOverlayHeader-C7Pi5eIm.js} +5 -5
  29. package/dist/{cameraView-D9ZxLKtA.js → cameraView-B7l40Opf.js} +3 -3
  30. package/dist/{capture-0jMDSGCE.js → capture-D7HVD1ht.js} +25 -33
  31. package/dist/capture-Do7z-u0d.js +3 -0
  32. package/dist/{capture-BlGlXoTx.js → capture-I1enj-0M.js} +27 -44
  33. package/dist/capture-WaSNv1Wn.js +2 -0
  34. package/dist/captureButtonIcon-DVbAZ8TK.js +1 -0
  35. package/dist/{captureFocusContext-9789qOe3.js → captureFocusContext-CNtkY3Lk.js} +53 -64
  36. package/dist/{captureFooter-B6WUFQCV.js → captureFooter-CucCxqz-.js} +5 -5
  37. package/dist/{ceb-pvlomXHV.js → ceb-NR8sWgTh.js} +58 -42
  38. package/dist/certificate-issuance/certificate-issuance.es.js +56 -39
  39. package/dist/certificate-issuance/styles.css +1 -1
  40. package/dist/certificate-issuance/styles.css.js +1 -1
  41. package/dist/{checkbox-BwUQ0Rs9.js → checkbox-C5k2pepr.js} +4 -4
  42. package/dist/chooser-CNm0MKQl.js +1517 -0
  43. package/dist/{connectionError-DexRpKWs.js → connectionError-Bs3TO2RP.js} +25 -15
  44. package/dist/consent/consent.es.js +11 -11
  45. package/dist/{countryFlag-CQMfCnE9.js → countryFlag-CZUyZ06G.js} +1 -1
  46. package/dist/{countrySelector-C0OEKMqL.js → countrySelector-CPgaMT7n.js} +4 -4
  47. package/dist/cross-document-data-match/cross-document-data-match.es.js +5 -5
  48. package/dist/{cs-CZ-GgvnJLMj.js → cs-CZ-KpSXcWZT.js} +58 -42
  49. package/dist/{cs-DB5PLEdt.js → cs-UYoUjOrG.js} +58 -42
  50. package/dist/curp-validation/curp-validation.es.js +82 -96
  51. package/dist/curp-validation/styles.css +1 -1
  52. package/dist/curp-validation/styles.css.js +1 -1
  53. package/dist/{customFields-DQgRumW0.js → customFields-BcubL9au.js} +29 -21
  54. package/dist/{customWatchlist-BbC0fA-6.js → customWatchlist-D4RK0ow6.js} +11 -10
  55. package/dist/{da-DK-ZhpcfE_F.js → da-DK-Bds8n-Rj.js} +58 -42
  56. package/dist/dashboardTheme-DQaxmEq3.js +383 -0
  57. package/dist/dateInputComposed-BrpUtswb.js +1 -0
  58. package/dist/{dateInputComposed-1IcnucPq.js → dateInputComposed-BzCDzTM3.js} +4 -5
  59. package/dist/{de-DEBjzaow.js → de-CZlvE1Xz.js} +58 -42
  60. package/dist/denied-BeVKpBem.js +272 -0
  61. package/dist/{i18n-Dp014ljG.js → devWarn-B4kGEiva.js} +204 -90
  62. package/dist/{deviceWallet-CMjguFJO.js → deviceWallet-7b1VpcGm.js} +4 -4
  63. package/dist/{digitalIdRedirect-MNty16-5.js → digitalIdRedirect-CG9jzrQh.js} +4 -4
  64. package/dist/{digitalIdUpload-CUzTaoaI.js → digitalIdUpload-BUJcgYY5.js} +7 -9
  65. package/dist/document-capture/document-capture.es.js +1 -1
  66. package/dist/document-capture/styles.css +1 -1
  67. package/dist/document-capture/styles.css.js +1 -1
  68. package/dist/documentCapture-BdEStEoH.js +2 -0
  69. package/dist/{documentCapture-BUMyJ8vw.js → documentCapture-JcxukEgT.js} +41 -49
  70. package/dist/dropdownComposed-C36c9ZOm.js +1 -0
  71. package/dist/{dropdownComposed-x3ewHxbT.js → dropdownComposed-yNmLuHxU.js} +8 -6
  72. package/dist/dynamic-forms/dynamic-forms.es.js +57 -35
  73. package/dist/ekyb/ekyb.es.js +1 -1
  74. package/dist/{ekybModule-C5hEBLMs.js → ekybModule-Cp-7fs23.js} +101 -85
  75. package/dist/ekybModule-ccZRVb7E.js +2 -0
  76. package/dist/ekyc/ekyc.es.js +1 -1
  77. package/dist/ekyc-prefill/ekyc-prefill.es.js +2 -0
  78. package/dist/ekyc-prefill/styles.css +2 -0
  79. package/dist/ekyc-prefill/styles.css.js +1 -0
  80. package/dist/ekycModule-CcZTIgGK.js +2 -0
  81. package/dist/ekycModule-DKUZp3Ww.js +358 -0
  82. package/dist/ekycPrefillModule-Bou_Ig42.js +2 -0
  83. package/dist/ekycPrefillModule-DJoeviHP.js +233 -0
  84. package/dist/{el-Dplr_D5N.js → el-C6tFl9i9.js} +58 -42
  85. package/dist/{el-GR-IZ4reOR7.js → el-GR-BLkQ_dbO.js} +58 -42
  86. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  87. package/dist/{electronic-signature-BMda_cf3.js → electronic-signature-D-4uTJdE.js} +18 -14
  88. package/dist/email/email.es.js +16 -15
  89. package/dist/{emailInput-BI8gWC0D.js → emailInput-C5VHG66O.js} +23 -12
  90. package/dist/{en-DG-C6tsWvHi.js → en-DG-BEuiDKtl.js} +58 -42
  91. package/dist/{en-Db1L_u7B.js → en-DNBypQuu.js} +58 -42
  92. package/dist/{errorContent-pPAgyy2i.js → errorContent-BC8mDFld.js} +17 -19
  93. package/dist/{formField-CfQKYeGF.js → errorParams-W7NX72mI.js} +2 -33
  94. package/dist/{es-419-DxKrJq7W.js → es-419-BCIRYhZK.js} +1 -1
  95. package/dist/{es-C5unKsaF.js → es-DjQEM4f9.js} +59 -43
  96. package/dist/{es-ES-sHbsufzT.js → es-ES-Q6nMptUM.js} +58 -42
  97. package/dist/{es-MX-Cd_DCR0A.js → es-MX-Df5g3bAX.js} +58 -42
  98. package/dist/{et-BoGq2cx8.js → et-BYRhgB8X.js} +58 -42
  99. package/dist/{expiredId-DWjw94rT.js → expiredId-BVa13c9u.js} +20 -37
  100. package/dist/extensibility.es.js +329 -47
  101. package/dist/{fa-IR-DuUxGXrf.js → fa-IR-DP-FPc-r.js} +58 -42
  102. package/dist/face-match/face-match.es.js +1 -1
  103. package/dist/face-match/styles.css +1 -1
  104. package/dist/face-match/styles.css.js +1 -1
  105. package/dist/faceMatch-B2n0FPIm.js +2 -0
  106. package/dist/{faceMatch-DV7NxYu_.js → faceMatch-C5QmR3Vt.js} +40 -54
  107. package/dist/{fi-FI-DMOBNTjA.js → fi-FI-rnIjEC7X.js} +58 -42
  108. package/dist/field-comparison/field-comparison.es.js +1 -1
  109. package/dist/fieldComparison-CDGiqzsu.js +126 -0
  110. package/dist/fieldComparison-D-LmR1LR.js +2 -0
  111. package/dist/{fieldLabelHint-CjrLxBaj.js → fieldLabelHint-eF42wLDJ.js} +1 -1
  112. package/dist/{finalSuccessScreen-C50L96j9.js → finalSuccessScreen-vOR061dK.js} +25 -20
  113. package/dist/fiscal-qr/fiscal-qr.es.js +16 -19
  114. package/dist/flipAnimation-CGP9Fu9J.js +46 -0
  115. package/dist/{flipCapturedCardEligibility-DLr9F2g2.js → flipCapturedCardEligibility-C8wQ0_No.js} +4 -4
  116. package/dist/flow/flow.es.js +45 -36
  117. package/dist/flow/shell/styles.css +1 -1
  118. package/dist/flow/shell/styles.css.js +1 -1
  119. package/dist/flow/styles.css +1 -1
  120. package/dist/formField-DrSwXufE.js +49 -0
  121. package/dist/{fr-CA-DZ8jlsp3.js → fr-CA-vPsubqTC.js} +58 -42
  122. package/dist/{fr-DSR-AP0e.js → fr-P8YbBMxT.js} +58 -42
  123. package/dist/{front-horizontal-hint-DOphQZg2.js → front-horizontal-hint-CDHj9LQF.js} +1 -1
  124. package/dist/{front-vertical-hint-S6PcS9_m.js → front-vertical-hint-B_pU27Iv.js} +1 -1
  125. package/dist/geolocation/geolocation.es.js +10 -10
  126. package/dist/government-validation/government-validation.es.js +7 -7
  127. package/dist/{he-N5dfJeyd.js → he-DfptjOXC.js} +58 -42
  128. package/dist/{hi-JR6K9zbd.js → hi-C7tSzMcB.js} +58 -42
  129. package/dist/{hmn-j2YA7FxW.js → hmn-jKsUYgaq.js} +58 -42
  130. package/dist/{homeScreen-C3pPw52y.js → homeScreen-C1b8yg4y.js} +12 -11
  131. package/dist/{hooks-BFP0WaJM.js → hooks-COiwxC3h.js} +33 -25
  132. package/dist/{hr-8cOdwB0t.js → hr-ehtrddz3.js} +58 -42
  133. package/dist/{ht-DDNL4C__.js → ht-CA5NNkri.js} +58 -42
  134. package/dist/{hu-CynQQUFQ.js → hu-DYgOdNXH.js} +58 -42
  135. package/dist/{icons-c-hFaG4L.js → icons-CLoob8B-.js} +3 -27
  136. package/dist/id/id.es.js +104 -39
  137. package/dist/id/styles.css +1 -1
  138. package/dist/id/styles.css.js +1 -1
  139. package/dist/{id-o_Yg0n8W.js → id-CMBxWcTV.js} +58 -42
  140. package/dist/{id-back-of-card-Bk6ZQUE9.js → id-back-of-card-BEAthtU0.js} +1 -1
  141. package/dist/{id-back-of-card-vertical-BZo00s50.js → id-back-of-card-vertical-Ce0d7tp5.js} +1 -1
  142. package/dist/{id-front-of-card-BJ96se7u.js → id-front-of-card-DS0lS9jP.js} +1 -1
  143. package/dist/{id-front-of-card-vertical-DSfJB0lX.js → id-front-of-card-vertical-BLWn85NX.js} +1 -1
  144. package/dist/id-selfie-flow/id-selfie-flow.es.js +13 -12
  145. package/dist/id-selfie-flow/styles.css +1 -1
  146. package/dist/id-verification/id-verification.es.js +6 -6
  147. package/dist/{idFlipTransition-DXdtXYza.js → idFlipTransition-3z8Lqcab.js} +22 -26
  148. package/dist/{idOcr-CjqfkRJ7.js → idOcr-qPEZSG5D.js} +60 -37
  149. package/dist/identity-reuse/identity-reuse.es.js +21 -19
  150. package/dist/{incodeComponent-DtKh-UUm.js → incodeComponent-CxWTvgqz.js} +10 -12
  151. package/dist/{incodeModule-DCHXAeYU.js → incodeModule-BQVPjhJE.js} +5 -5
  152. package/dist/index.es.js +3 -4
  153. package/dist/{inputComposed-CmVsaHOa.js → inputComposed-oWeKvdES.js} +4 -4
  154. package/dist/{it-BXevrtHn.js → it-DNcyH3GL.js} +58 -42
  155. package/dist/{ja-DiTXnTx-.js → ja-BkVsn7yw.js} +58 -42
  156. package/dist/{ja-JP-D1IRWR-p.js → ja-JP-BI4iShf-.js} +59 -43
  157. package/dist/{jv-Us70GzGp.js → jv-Bpp0lYl-.js} +58 -42
  158. package/dist/{ka-BSsWQ4yU.js → ka-__y8BNrb.js} +58 -42
  159. package/dist/{kk-D5R6r4H7.js → kk-C8RZv7Y9.js} +58 -42
  160. package/dist/{km-CCCb2Rnt.js → km-CdNpEVlv.js} +65 -49
  161. package/dist/{ko-kQioCg2w.js → ko-Db8jh_Pq.js} +58 -42
  162. package/dist/{ko-KP-JF4khv1Y.js → ko-KP-Cn4RuF_b.js} +58 -42
  163. package/dist/{ky-CLOemVjC.js → ky-DljlRCIf.js} +58 -42
  164. package/dist/kyb-checks/kyb-checks.es.js +1 -1
  165. package/dist/kybChecksModule-B2nSWMuy.js +2 -0
  166. package/dist/{kybChecksModule-C6Y9Hxpr.js → kybChecksModule-DGXAS1Sc.js} +83 -67
  167. package/dist/{lo-tzHUt1CQ.js → lo-DXJI47k7.js} +58 -42
  168. package/dist/{lt-B2ZI-Cgu.js → lt-CUHwdgrq.js} +59 -43
  169. package/dist/{lv-BJnxtSYw.js → lv-BFrYWmGH.js} +59 -43
  170. package/dist/{mandatoryConsent-BiQuEZRu.js → mandatoryConsent-Dc0PQou0.js} +11 -11
  171. package/dist/{manualCaptureButton-BRSmPTeR.js → manualCaptureButton-DIlebb4i.js} +4 -4
  172. package/dist/{manualCaptureButton-Dw0MMSkc.js → manualCaptureButton-t0b_hCKH.js} +12 -13
  173. package/dist/{mk-Cj7Iw2Q4.js → mk-BRpnPevj.js} +58 -42
  174. package/dist/{mn-CA_rNxtz.js → mn-tly7Lz7o.js} +58 -42
  175. package/dist/{ms-BydA1Zjz.js → ms-DFpRACK3.js} +58 -42
  176. package/dist/{my-gFKufKaG.js → my-G2jJl4tA.js} +58 -42
  177. package/dist/{nb-NO-CDsGQbOZ.js → nb-NO-CaDPgzxb.js} +58 -42
  178. package/dist/{ne-Cyfi0vFI.js → ne-BaCq8Imv.js} +58 -42
  179. package/dist/{nl-e1gbmAFO.js → nl-BK-jT4yQ.js} +58 -42
  180. package/dist/{optionAccessibleLabel-BTUieMxH.js → optionAccessibleLabel-CDKKh7c3.js} +25 -10
  181. package/dist/{otpInput-D3L3QhnR.js → otpInput-B4mH5be-.js} +96 -15
  182. package/dist/{page-U6jZ7BBI.js → page-5CklyQnq.js} +32 -36
  183. package/dist/{pageUiConfig-Qf6ItVv9.js → pageUiConfig-DZQHreIo.js} +67 -17
  184. package/dist/{passport-horizontal-hint-Ddsh6fUS.js → passport-horizontal-hint-JdWoLKa5.js} +1 -1
  185. package/dist/{passport-vertical-hint-Dukxq6-T.js → passport-vertical-hint-BgtJXbvC.js} +1 -1
  186. package/dist/passwordRequirements-bbbHZACR.js +49 -0
  187. package/dist/{pdf-Bd5QplFS.js → pdf-CLcY9ugT.js} +2 -2
  188. package/dist/pdfViewer-2NTW2bZn.js +2 -0
  189. package/dist/{pdfViewer-BrqSEtbr.js → pdfViewer-D4xu2J13.js} +4 -4
  190. package/dist/permissionInstructionList-Dmy2y4cX.js +43 -0
  191. package/dist/{permissions-KUDhffd9.js → permissions-BPh2QNoI.js} +61 -43
  192. package/dist/phone/phone.es.js +11 -11
  193. package/dist/{phoneInputComposed-DlJMTavK.js → phoneInputComposed-Dzt9xdrF.js} +6 -6
  194. package/dist/{pl-BSMcCWS-.js → pl-CoWZGdbr.js} +58 -42
  195. package/dist/{preloadableLazy-C8_OYaTC.js → preloadableLazy-2hqV2Q8z.js} +11 -5
  196. package/dist/{processing-B5EH7yNg.js → processing-DStiN9XK.js} +2 -2
  197. package/dist/{progressBar-CSpS29pV.js → progressBar-CJqJXzAh.js} +2 -2
  198. package/dist/{pt-BNFC2quK.js → pt-BDByRgpr.js} +58 -42
  199. package/dist/{pt-BR-bH8DC2gH.js → pt-BR-BRMyrqIN.js} +58 -42
  200. package/dist/{pt-PT-B8PXmgwU.js → pt-PT-CfwlYo6V.js} +58 -42
  201. package/dist/qe-signature/qe-signature.es.js +4 -4
  202. package/dist/redirect-to-mobile/redirect-to-mobile.es.js +29 -26
  203. package/dist/{registerIncodeElement-oiLvm6xq.js → registerIncodeElement-B5W7SqS3.js} +1 -1
  204. package/dist/{resendTimer-D1H3gwkI.js → resendTimer-COMRdeDC.js} +2 -2
  205. package/dist/{richText-sUdTiRDE.js → richText-BMvr5dhl.js} +4 -4
  206. package/dist/{ro-DnN8QNYa.js → ro-ju058j4P.js} +58 -42
  207. package/dist/{ru-DAwUFXHq.js → ru-DYwhf4Hw.js} +58 -42
  208. package/dist/{ru-RU-Coxt0VCU.js → ru-RU-BAvJW-vp.js} +58 -42
  209. package/dist/{sanitizeSvg-OdNh1mqY.js → sanitizeSvg-BZoCoRr0.js} +1 -1
  210. package/dist/selfie/selfie.es.js +11 -11
  211. package/dist/signature/signature.es.js +10 -10
  212. package/dist/{sk-AB8sSlNw.js → sk-Cl6F-Kaz.js} +61 -45
  213. package/dist/{sl-6Dfzfi7s.js → sl-BxsNneWx.js} +58 -42
  214. package/dist/{smsTabContent-CBEKgzFv.js → smsTabContent-BLJM1Hbk.js} +15 -11
  215. package/dist/{so-X5BdrDvV.js → so-D8izvKPD.js} +58 -42
  216. package/dist/spacer-NanHQwzu.js +1100 -0
  217. package/dist/spinner-bRH4yw9e.js +69 -0
  218. package/dist/{sr-JHjMcbGs.js → sr-BtsYxFKz.js} +58 -42
  219. package/dist/{sr-Latn-DgT7eTG2.js → sr-Latn-BTn5o62j.js} +64 -48
  220. package/dist/{sr-YU-BBhB_G63.js → sr-YU-BNViLYA5.js} +1 -1
  221. package/dist/step-up/step-up.es.js +483 -0
  222. package/dist/step-up/styles.css +2 -0
  223. package/dist/{sv-SE-CvX8mC8T.js → sv-SE-f5R8i8ue.js} +58 -42
  224. package/dist/{sw-CN0TdnY4.js → sw-BgHNoEGs.js} +58 -42
  225. package/dist/{th-TH-CWr4z3JK.js → th-TH-DmfU-a6A.js} +58 -42
  226. package/dist/{th-BmFntKib.js → th-aFkhFNxp.js} +58 -42
  227. package/dist/themes/dark.css +1 -1
  228. package/dist/themes/light.css +1 -1
  229. package/dist/{tl-rzkk5P_n.js → tl-CA42NVfv.js} +58 -42
  230. package/dist/{tl-PH-BRIbtBRN.js → tl-PH-DMCUe7pP.js} +58 -42
  231. package/dist/{tr-DKuVBwqW.js → tr-BVjID0jl.js} +58 -42
  232. package/dist/{transitionSpinner-Di0XBAix.js → transitionSpinner-MclJtdHE.js} +5 -6
  233. package/dist/{tutorial-C9psDR2i.js → tutorial-fC2iei2v.js} +4 -4
  234. package/dist/types/ae-signature.d.ts +7 -3
  235. package/dist/types/antifraud.d.ts +7 -3
  236. package/dist/types/authentication.d.ts +7 -3
  237. package/dist/types/certificate-issuance.d.ts +7 -3
  238. package/dist/types/consent.d.ts +7 -3
  239. package/dist/types/cross-document-data-match.d.ts +7 -3
  240. package/dist/types/curp-validation.d.ts +7 -3
  241. package/dist/types/document-capture.d.ts +7 -3
  242. package/dist/types/dynamic-forms.d.ts +7 -3
  243. package/dist/types/ekyb.d.ts +7 -3
  244. package/dist/types/ekyc-prefill.d.ts +213 -0
  245. package/dist/types/ekyc.d.ts +7 -3
  246. package/dist/types/electronic-signature.d.ts +7 -3
  247. package/dist/types/email.d.ts +7 -3
  248. package/dist/types/extensibility.d.ts +57 -16
  249. package/dist/types/face-match.d.ts +7 -3
  250. package/dist/types/field-comparison.d.ts +7 -3
  251. package/dist/types/fiscal-qr.d.ts +7 -3
  252. package/dist/types/flow.d.ts +16 -3
  253. package/dist/types/geolocation.d.ts +7 -3
  254. package/dist/types/government-validation.d.ts +7 -3
  255. package/dist/types/id-selfie-flow.d.ts +7 -3
  256. package/dist/types/id-verification.d.ts +7 -3
  257. package/dist/types/id.d.ts +7 -3
  258. package/dist/types/identity-reuse.d.ts +7 -3
  259. package/dist/types/kyb-checks.d.ts +7 -3
  260. package/dist/types/phone.d.ts +7 -3
  261. package/dist/types/qe-signature.d.ts +7 -3
  262. package/dist/types/selfie.d.ts +7 -3
  263. package/dist/types/signature.d.ts +7 -3
  264. package/dist/types/step-up.d.ts +85 -0
  265. package/dist/types/watchlist.d.ts +7 -3
  266. package/dist/types/workflow.d.ts +7 -3
  267. package/dist/{typography-CiGhKJGx.js → typography-Dncyo-3D.js} +3 -11
  268. package/dist/{uk-CXjqq4lX.js → uk-HjZTXCOA.js} +58 -42
  269. package/dist/{uk-UA-BIE9WByU.js → uk-UA-ChpoWDcU.js} +59 -43
  270. package/dist/{ur-vNGesC3r.js → ur-CZkQHBM4.js} +58 -42
  271. package/dist/{useCameraPreview-Bd7AYE9h.js → useCameraPreview-DrteOjaq.js} +1 -1
  272. package/dist/{useCaptureHelpButton-Dj-jESrS.js → useCaptureHelpButton-B5zEGcaB.js} +3 -3
  273. package/dist/{useIsDarkTheme-Bu9CvKxW.js → useIsDarkTheme-DAs5RhsW.js} +1 -1
  274. package/dist/{useModuleLoader-BBCNkJmc.js → useModuleLoader-C2fbLotc.js} +7 -2
  275. package/dist/{uz-Gmw1XRgv.js → uz-BCp_m_Om.js} +58 -42
  276. package/dist/{vendor-preact-DHGqBGMH.js → vendor-preact-HIccnts1.js} +1 -1
  277. package/dist/{verificationResult-Clxdxm_s.js → verificationResult-sh4xut0K.js} +19 -24
  278. package/dist/{vi-DTxxRUw0.js → vi-BvxcvDgc.js} +58 -42
  279. package/dist/video-selfie/styles.css +1 -1
  280. package/dist/video-selfie/styles.css.js +1 -1
  281. package/dist/video-selfie/video-selfie.es.js +30 -25
  282. package/dist/watchlist/watchlist.es.js +12 -10
  283. package/dist/{watchlistForBusiness-CpFp2EYX.js → watchlistForBusiness-DnS1r-Ml.js} +34 -23
  284. package/dist/{withEndScreenTexts-Bd3mof3s.js → withEndScreenTexts-CHWofhk5.js} +28 -25
  285. package/dist/workflow/styles.css +1 -1
  286. package/dist/workflow/workflow.es.js +1 -534
  287. package/dist/workflow-DBS9eyu4.js +533 -0
  288. package/dist/{zh-CN-aB48G_R1.js → zh-CN-DZRia1ir.js} +58 -42
  289. package/dist/{zh-DjtyfO4e.js → zh-DN_kUZaR.js} +58 -42
  290. package/dist/{zh-HANT-8p8SH8C3.js → zh-HANT-DisU_Tal.js} +58 -42
  291. package/dist/{zh-TW-CCsz9gKq.js → zh-TW-BJzCsdPP.js} +58 -42
  292. package/package.json +27 -7
  293. package/dist/asset-Ctwd_20H.js +0 -355
  294. package/dist/autoFocusTitle-CzaCWWW5.js +0 -32
  295. package/dist/cameraOverlay-DNf0PEF4.js +0 -2
  296. package/dist/capture-DKBA5j5A.js +0 -3
  297. package/dist/capture-D_Dwrj1F.js +0 -2
  298. package/dist/captureButtonIcon-A9kn2E_m.js +0 -1
  299. package/dist/check-icon-BdHltEK6.js +0 -48
  300. package/dist/chooser-CmG71-lh.js +0 -1589
  301. package/dist/dashboardTheme-DtXsx9IK.js +0 -246
  302. package/dist/dateInputComposed-BFlCk-sg.js +0 -1
  303. package/dist/denied-CwdVWAUw.js +0 -1874
  304. package/dist/devWarn-CW20j1Qd.js +0 -9
  305. package/dist/documentCapture-rECLkwpi.js +0 -2
  306. package/dist/dropdownComposed-C9sLQE6i.js +0 -1
  307. package/dist/ekybModule-B5IEiSyi.js +0 -2
  308. package/dist/ekycModule-B7OFnP3H.js +0 -2
  309. package/dist/ekycModule-TVKk0qdS.js +0 -327
  310. package/dist/faceMatch-B2aMz3X2.js +0 -2
  311. package/dist/fieldComparison-BY2XXsp3.js +0 -2
  312. package/dist/fieldComparison-CFLU1h6n.js +0 -113
  313. package/dist/flipAnimation-8x-qdtF_.js +0 -33
  314. package/dist/inputComposed-DvGrso7g.js +0 -1
  315. package/dist/kybChecksModule-r3MIpFhS.js +0 -2
  316. package/dist/numberedStep-CeN77hnQ.js +0 -13
  317. package/dist/passwordInputComposed-CW_1DcB8.js +0 -74
  318. package/dist/pdfViewer-rDnnHzmw.js +0 -2
  319. package/dist/radioGroupComposed-CW8ElYSR.js +0 -160
  320. package/dist/radioGroupComposed-flIYNffL.js +0 -1
  321. package/dist/reload-icon-FD2e9Wet.js +0 -70
  322. package/dist/spacer-Jaru_3sb.js +0 -82
  323. package/dist/spinner-51btbot0.js +0 -407
  324. package/dist/uiConfig-BJAuZQWc.js +0 -77
  325. /package/dist/{aligndevicelottie-BEKzL4SB.js → aligndevicelottie-DroBRtbt.js} +0 -0
  326. /package/dist/{assertClassBrand-DJr5K93j.js → assertClassBrand-CuHX5JcR.js} +0 -0
  327. /package/dist/{back-tutorial-B9W63fa-.js → back-tutorial-ydxRtY-Y.js} +0 -0
  328. /package/dist/{backdevicelottie-DsN8QBV3.js → backdevicelottie-hv8vbwYH.js} +0 -0
  329. /package/dist/{blurdevicelottie-DkV7Kwo4.js → blurdevicelottie-Cgu4hKn7.js} +0 -0
  330. /package/dist/{countryDefinitions-RBVGM1D_.js → countryDefinitions-DlsV3Tf8.js} +0 -0
  331. /package/dist/{defineProperty-E9wRIIo9.js → defineProperty-CRYuXE79.js} +0 -0
  332. /package/dist/{flip-animation-DJVnWWL5.js → flip-animation-CJhh7l_J.js} +0 -0
  333. /package/dist/{frontdevicelottie-DiW1Wmya.js → frontdevicelottie-vyO3BJJe.js} +0 -0
  334. /package/dist/{glaredevicelottie-CK-fnX_s.js → glaredevicelottie-DrgkRjFh.js} +0 -0
  335. /package/dist/{helpButtonConfig-CjbrBQaV.js → helpButtonConfig-BFragC_J.js} +0 -0
  336. /package/dist/{id-laser-h-6Am_cjM8.js → id-laser-h-CUz29uFc.js} +0 -0
  337. /package/dist/{id-laser-v-DXoF3flH.js → id-laser-v-Bnf10QJp.js} +0 -0
  338. /package/dist/{id-tutorial-DkKH3eTE.js → id-tutorial-DGwvKAMs.js} +0 -0
  339. /package/dist/{lottie_light-B819EhaL.js → lottie_light-BXXuEKyZ.js} +0 -0
  340. /package/dist/{passport-tutorial-D3Fpk-Tj.js → passport-tutorial-DoqqyBXo.js} +0 -0
  341. /package/dist/{pdf.worker.min-DzBNMoKS.js → pdf.worker.min-Cm2oniEB.js} +0 -0
  342. /package/dist/{policyUrls-Benduf-R.js → policyUrls-Hvb4jPfF.js} +0 -0
  343. /package/dist/{purify.es-CSPoFViI.js → purify.es-DIIgrZ-E.js} +0 -0
  344. /package/dist/{realtimeFeedbackConfig-tBX94SOm.js → realtimeFeedbackConfig-DeZksjlR.js} +0 -0
  345. /package/dist/{selfieTutorial-DnsRD1Z9.js → selfieTutorial-BTewRjM5.js} +0 -0
@@ -1,407 +0,0 @@
1
- import { r as __toESM } from "./rolldown-runtime--E5BIlTp.js";
2
- import { _ as q, b as u, f as _, l as A, m as d, w as k, y } from "./vendor-preact-DHGqBGMH.js";
3
- import "./devWarn-CW20j1Qd.js";
4
- import { n as cn, t as Spacer } from "./spacer-Jaru_3sb.js";
5
- import { t as Title } from "./typography-CiGhKJGx.js";
6
- import { a as animationRegistry, i as isActiveOverride, n as useAnimation, r as useAsset, t as Asset } from "./asset-Ctwd_20H.js";
7
- //#region src/shared/lottie/lottie.tsx
8
- var lottiePromise = null;
9
- var lottiePlayer;
10
- async function loadLottie() {
11
- if (lottiePromise) return lottiePromise;
12
- lottiePromise = import("./lottie_light-B819EhaL.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1)).then((mod) => {
13
- lottiePlayer = mod.default;
14
- return lottiePlayer;
15
- }, (error) => {
16
- lottiePromise = null;
17
- throw error;
18
- });
19
- return lottiePromise;
20
- }
21
- var AUTO_STOP_AFTER_MS = 5e3;
22
- function Lottie({ animationData, loop = true, autoplay = true, reverse = false, style, className, onComplete, autoStop = false, stopFramePosition }) {
23
- const containerRef = A(null);
24
- const effectiveAutoplay = reverse ? false : autoplay;
25
- const animationOptionsRef = A({
26
- container: containerRef.current,
27
- renderer: "svg",
28
- loop,
29
- autoplay: effectiveAutoplay,
30
- animationData
31
- });
32
- y(() => {
33
- animationOptionsRef.current = {
34
- container: containerRef.current,
35
- renderer: "svg",
36
- loop,
37
- autoplay: effectiveAutoplay,
38
- animationData
39
- };
40
- }, [
41
- animationData,
42
- loop,
43
- effectiveAutoplay
44
- ]);
45
- _(() => {
46
- const container = containerRef.current;
47
- if (!container) return;
48
- let anim;
49
- let stopTimer;
50
- let isMounted = true;
51
- const start = (lottie) => {
52
- if (!isMounted) return;
53
- container.replaceChildren();
54
- anim = lottie.loadAnimation({
55
- ...animationOptionsRef.current,
56
- container
57
- });
58
- if (reverse) {
59
- anim.setDirection(-1);
60
- anim.goToAndPlay(anim.totalFrames - 1, true);
61
- }
62
- if (onComplete) anim.addEventListener("complete", onComplete);
63
- if (autoStop) stopTimer = window.setTimeout(() => {
64
- const current = anim;
65
- if (!current) return;
66
- if (!stopFramePosition) {
67
- current.pause();
68
- return;
69
- }
70
- const totalFrames = current.totalFrames;
71
- if (!totalFrames || totalFrames <= 0) {
72
- current.stop();
73
- return;
74
- }
75
- const targetFrame = stopFramePosition === "last" ? Math.max(totalFrames - 1, 0) : stopFramePosition === "first" ? 0 : Math.floor((totalFrames - 1) / 2);
76
- current.goToAndStop(targetFrame, true);
77
- }, AUTO_STOP_AFTER_MS);
78
- };
79
- if (lottiePlayer) start(lottiePlayer);
80
- else loadLottie().then(start, () => void 0);
81
- return () => {
82
- isMounted = false;
83
- if (stopTimer !== void 0) window.clearTimeout(stopTimer);
84
- if (anim) {
85
- if (onComplete) anim.removeEventListener("complete", onComplete);
86
- const frame = container.firstElementChild?.cloneNode(true);
87
- anim.destroy();
88
- if (frame) container.appendChild(frame);
89
- }
90
- };
91
- }, [
92
- onComplete,
93
- reverse,
94
- autoStop,
95
- stopFramePosition
96
- ]);
97
- return /* @__PURE__ */ u("div", {
98
- ref: containerRef,
99
- style,
100
- className,
101
- "aria-hidden": "true"
102
- });
103
- }
104
- //#endregion
105
- //#region src/shared/assets/animatedAsset.tsx
106
- var overrideUrlCache = /* @__PURE__ */ new Map();
107
- function fetchAnimation(url) {
108
- const cached = overrideUrlCache.get(url);
109
- if (cached) return cached;
110
- const pending = fetch(url).then((response) => {
111
- if (!response.ok) throw new Error(`Request for "${url}" failed with status ${response.status}.`);
112
- return response.json();
113
- });
114
- overrideUrlCache.set(url, pending);
115
- pending.catch(() => overrideUrlCache.delete(url));
116
- return pending;
117
- }
118
- function loadAnimationDefault(def, orientation) {
119
- if (def === null) return Promise.resolve(null);
120
- if (typeof def === "function") return def();
121
- return def[orientation]();
122
- }
123
- var defaultCache = /* @__PURE__ */ new Map();
124
- function defaultCacheKey(name, orientation) {
125
- return `${name}|${orientation}`;
126
- }
127
- function loadDefaultCached(name, orientation) {
128
- const cacheKey = defaultCacheKey(name, orientation);
129
- if (defaultCache.has(cacheKey)) return Promise.resolve(defaultCache.get(cacheKey) ?? null);
130
- return loadAnimationDefault(animationRegistry[name]?.default ?? null, orientation).then((value) => {
131
- defaultCache.set(cacheKey, value);
132
- return value;
133
- });
134
- }
135
- /**
136
- * Warms the built-in animation cache for the given catalog keys so a later
137
- * render is synchronous (no flash). Best-effort; call it before the screen
138
- * mounts.
139
- */
140
- function preloadAnimations(keys, orientation = "vertical") {
141
- for (const key of keys) loadDefaultCached(key, orientation).catch(() => {});
142
- }
143
- /**
144
- * Resolves the winning animation to parsed `animationData` plus whether it came
145
- * from a customer override. Reads the default cache synchronously on first
146
- * render, so a preloaded animation shows with no flash. A failed override URL
147
- * silently falls back to the built-in default.
148
- *
149
- * Shared by `AnimatedAsset` and by tutorial surfaces that render Lottie
150
- * themselves (e.g. `BaseTutorial`, which recolors only built-in defaults).
151
- *
152
- * `onFallback`, if given, fires only when a *configured* override actually
153
- * fails to load (never when there was simply no override to begin with) —
154
- * for a caller whose true fallback lives outside this system entirely, so it
155
- * can react to a real failure instead of committing to render this component before
156
- * knowing whether the override will actually work.
157
- */
158
- function useAnimationData(name, orientation = "vertical", onFallback) {
159
- const resolved = useAnimation(name);
160
- const type = resolved?.type;
161
- const isOverride = isActiveOverride(resolved);
162
- const overrideUrl = resolved?.type === "override-url" ? resolved.url : void 0;
163
- const overrideData = resolved?.type === "override-data" ? resolved.animationData : void 0;
164
- const [data, setData] = d(() => {
165
- if (type === "override-data") return overrideData ?? null;
166
- if (type === "default") return defaultCache.get(defaultCacheKey(name, orientation)) ?? null;
167
- return null;
168
- });
169
- const [overrideFailed, setOverrideFailed] = d(false);
170
- y(() => {
171
- let active = true;
172
- setOverrideFailed(false);
173
- if (type === void 0) setData(null);
174
- else if (type === "override-data") setData(overrideData ?? null);
175
- else if (type === "override-url" && overrideUrl !== void 0) fetchAnimation(overrideUrl).then((value) => {
176
- if (active) setData(value);
177
- }, (error) => {
178
- `${name}`;
179
- if (active) {
180
- setOverrideFailed(true);
181
- loadDefaultCached(name, orientation).then((value) => {
182
- if (active) setData(value);
183
- }, () => {});
184
- }
185
- });
186
- else loadDefaultCached(name, orientation).then((value) => {
187
- if (active) setData(value);
188
- }, (error) => {
189
- if (active) {
190
- setData(null);
191
- `${name}`;
192
- }
193
- });
194
- return () => {
195
- active = false;
196
- };
197
- }, [
198
- name,
199
- orientation,
200
- type,
201
- overrideUrl,
202
- overrideData
203
- ]);
204
- y(() => {
205
- if (overrideFailed) onFallback?.();
206
- }, [overrideFailed, onFallback]);
207
- return {
208
- data,
209
- isOverride
210
- };
211
- }
212
- /**
213
- * Renders a Lottie animation by catalog key, honoring the resolved precedence
214
- * (per-instance → global → built-in default). Renders nothing while pending or
215
- * when there is no Lottie to show; the container is `aria-hidden` (all catalog
216
- * animations are decorative).
217
- */
218
- function AnimatedAsset({ name, autoStop, stopFramePosition, orientation = "vertical", loop, reverse, onComplete, class: className, onFallback }) {
219
- const { data } = useAnimationData(name, orientation, onFallback);
220
- if (data === null) return null;
221
- return /* @__PURE__ */ u(Lottie, {
222
- animationData: data,
223
- autoStop,
224
- stopFramePosition,
225
- loop,
226
- reverse,
227
- onComplete,
228
- className
229
- });
230
- }
231
- //#endregion
232
- //#region src/shared/loader/loadingIcon.tsx
233
- /**
234
- * Duration of the CSS spin animation on `.IncodeLoadingIcon`.
235
- * Must stay in sync with the `animation-duration` declared in the stylesheet.
236
- */
237
- var SPIN_DURATION_MS = 1e3;
238
- var SpinnerPrimary = ({ size, className }) => {
239
- return /* @__PURE__ */ u("svg", {
240
- width: size,
241
- height: size,
242
- viewBox: "0 0 31 31",
243
- fill: "none",
244
- xmlns: "http://www.w3.org/2000/svg",
245
- class: cn("IncodeLoadingIconPrimaryIcon", className),
246
- "aria-hidden": "true",
247
- children: /* @__PURE__ */ u("path", { d: "M28.161 15.284c1.292 0 2.358-1.054 2.157-2.33A15 15 0 0 0 17.83.466c-1.276-.2-2.329.865-2.329 2.156s1.06 2.313 2.319 2.603a10.32 10.32 0 0 1 7.74 7.74c.29 1.259 1.31 2.319 2.602 2.319Z" })
248
- });
249
- };
250
- var SpinnerSecondary = ({ size, className }) => {
251
- return /* @__PURE__ */ u("svg", {
252
- width: size,
253
- height: size,
254
- viewBox: "0 0 31 31",
255
- fill: "none",
256
- xmlns: "http://www.w3.org/2000/svg",
257
- class: cn("IncodeLoadingIconSecondaryIcon", className),
258
- "aria-hidden": "true",
259
- children: [/* @__PURE__ */ u("title", { children: "Spinner Outer part" }), /* @__PURE__ */ u("path", { d: "M30.5 15.284c0 8.284-6.716 15-15 15s-15-6.716-15-15c0-8.285 6.716-15 15-15s15 6.715 15 15Zm-25.323 0c0 5.7 4.622 10.322 10.323 10.322s10.323-4.621 10.323-10.322S21.2 4.96 15.5 4.96 5.177 9.583 5.177 15.284Z" })]
260
- });
261
- };
262
- var LoadingIcon = ({ size = 30, secondaryClass, primaryClass }) => {
263
- const ref = A(null);
264
- const overrideRef = A(null);
265
- const animation = useAnimation("loader.spinner");
266
- const svg = useAsset("loader.spinner");
267
- const hasAnimationOverride = isActiveOverride(animation);
268
- const hasSvgOverride = isActiveOverride(svg);
269
- const [overrideFailed, setOverrideFailed] = d(false);
270
- const handleFallback = q(() => setOverrideFailed(true), []);
271
- const hasOverride = (hasAnimationOverride || hasSvgOverride) && !overrideFailed;
272
- /**
273
- * Cross-module loaders (e.g. ID processing → selfie initialising) unmount
274
- * and remount this component as the user moves between flow steps. By
275
- * default each remount restarts the CSS spin animation from frame 0, which
276
- * reads as a visible "stutter" or reset of the spinner during otherwise
277
- * seamless transitions.
278
- *
279
- * To keep the rotation continuous across remounts we anchor the animation
280
- * to a wall-clock offset: `performance.now() % SPIN_DURATION_MS` tells us
281
- * how far into the current spin cycle we are, and applying it as a
282
- * negative `animation-delay` makes the new instance pick up exactly where
283
- * the previous one left off. (Built-in default only.)
284
- */
285
- _(() => {
286
- if (hasOverride || !ref.current) return;
287
- const offsetMs = performance.now() % SPIN_DURATION_MS;
288
- ref.current.style.animationDelay = `-${offsetMs}ms`;
289
- }, [hasOverride]);
290
- _(() => {
291
- if (!overrideRef.current) return;
292
- overrideRef.current.style.width = `${size}px`;
293
- overrideRef.current.style.height = `${size}px`;
294
- }, [size, hasOverride]);
295
- if (hasOverride) return /* @__PURE__ */ u("div", {
296
- ref: overrideRef,
297
- class: "IncodeLoadingIconOverride",
298
- children: hasAnimationOverride ? /* @__PURE__ */ u(AnimatedAsset, {
299
- name: "loader.spinner",
300
- loop: true,
301
- onFallback: handleFallback
302
- }) : /* @__PURE__ */ u(Asset, {
303
- name: "loader.spinner",
304
- onFallback: handleFallback
305
- })
306
- });
307
- return /* @__PURE__ */ u("div", {
308
- ref,
309
- class: "IncodeLoadingIcon",
310
- children: [/* @__PURE__ */ u(SpinnerSecondary, {
311
- size,
312
- className: secondaryClass
313
- }), /* @__PURE__ */ u("div", {
314
- class: "IncodeLoadingIconPrimary",
315
- children: /* @__PURE__ */ u(SpinnerPrimary, {
316
- size,
317
- className: primaryClass
318
- })
319
- })]
320
- });
321
- };
322
- //#endregion
323
- //#region src/shared/spinner/spinnerHelpers.ts
324
- function getSpinnerClasses({ fullScreen, alwaysDark, hideIcon, className }) {
325
- const container = ["IncodeSpinner"];
326
- let loadingPrimary = [];
327
- let loadingSecondary = [];
328
- if (fullScreen) container.push("IncodeSpinnerFullScreen");
329
- if (alwaysDark) {
330
- container.push("IncodeSpinnerAlwaysDark");
331
- loadingPrimary.push("IncodeSpinnerAlwaysDarkLoadingPrimary");
332
- loadingSecondary.push("IncodeSpinnerAlwaysDarkLoadingSecondary");
333
- }
334
- if (hideIcon) {
335
- container.push("IncodeSpinnerTextOnly");
336
- loadingPrimary = [];
337
- loadingSecondary = [];
338
- }
339
- if (className) container.push(className);
340
- return {
341
- containerClass: cn(...container),
342
- loadingPrimaryClass: cn(...loadingPrimary),
343
- loadingSecondaryClass: cn(...loadingSecondary)
344
- };
345
- }
346
- //#endregion
347
- //#region src/shared/spinner/spinner.tsx
348
- var sizeMap = {
349
- small: 24,
350
- medium: 48,
351
- large: 64
352
- };
353
- var Spinner = ({ title, subtitle, ariaLabel, size = "medium", fullScreen = true, className, presentational = false, hideIcon = false, alwaysDark = false }) => {
354
- const iconSize = sizeMap[size];
355
- const titleRef = A(null);
356
- const containerRef = A(null);
357
- y(() => {
358
- if (presentational) return;
359
- if (ariaLabel) containerRef.current?.focus();
360
- else if (title) titleRef.current?.focus();
361
- }, [
362
- title,
363
- ariaLabel,
364
- presentational
365
- ]);
366
- const { containerClass, loadingPrimaryClass, loadingSecondaryClass } = getSpinnerClasses({
367
- fullScreen,
368
- alwaysDark,
369
- hideIcon,
370
- className
371
- });
372
- return /* @__PURE__ */ u("div", {
373
- ref: containerRef,
374
- class: containerClass,
375
- "data-testid": "spinner",
376
- "data-title": title,
377
- "data-subtitle": subtitle,
378
- "data-size": size,
379
- role: presentational ? void 0 : "status",
380
- "aria-live": presentational ? void 0 : "polite",
381
- "aria-label": presentational ? void 0 : ariaLabel,
382
- "aria-hidden": presentational ? true : void 0,
383
- tabIndex: !presentational && ariaLabel ? -1 : void 0,
384
- children: /* @__PURE__ */ u("div", {
385
- class: "IncodeSpinnerContent",
386
- "aria-hidden": ariaLabel ? true : void 0,
387
- children: [!hideIcon && /* @__PURE__ */ u(LoadingIcon, {
388
- size: iconSize,
389
- primaryClass: loadingPrimaryClass,
390
- secondaryClass: loadingSecondaryClass
391
- }), (title || subtitle) && /* @__PURE__ */ u(k, { children: [!hideIcon && /* @__PURE__ */ u(Spacer, { size: 16 }), /* @__PURE__ */ u("div", {
392
- class: "IncodeSpinnerText",
393
- children: [title && /* @__PURE__ */ u(Title, {
394
- ref: titleRef,
395
- tabIndex: -1,
396
- className: "IncodeSpinnerTitle",
397
- children: title
398
- }), subtitle && /* @__PURE__ */ u(k, { children: [title && /* @__PURE__ */ u(Spacer, { size: 12 }), /* @__PURE__ */ u("p", {
399
- class: "IncodeSpinnerSubtitle",
400
- children: subtitle
401
- })] })]
402
- })] })]
403
- })
404
- });
405
- };
406
- //#endregion
407
- export { useAnimationData as a, preloadAnimations as i, LoadingIcon as n, Lottie as o, AnimatedAsset as r, loadLottie as s, Spinner as t };
@@ -1,77 +0,0 @@
1
- import { r as C } from "./vendor-preact-DHGqBGMH.js";
2
- //#region src/shared/uiConfig/uiConfig.ts
3
- /** Tier 1: set by the host via `setup({ uiConfig })` / `setUiConfig`. Wins. */
4
- var hostUiConfig = {};
5
- /** Tier 2: derived from the tenant's dashboard theme. Fills the gaps. */
6
- var themeUiConfig = {};
7
- /**
8
- * Cached composition of the two tiers. `useSyncExternalStore` requires
9
- * `getSnapshot` to return a referentially stable value — composing on every
10
- * call would hand Preact a new object each time and loop forever — so the
11
- * merge happens once per write instead.
12
- */
13
- var snapshot = {};
14
- var listeners = /* @__PURE__ */ new Set();
15
- function withoutUndefined(value) {
16
- const defined = {};
17
- for (const key of Object.keys(value)) if (value[key] !== void 0) defined[key] = value[key];
18
- return defined;
19
- }
20
- /**
21
- * Host fields win over theme fields; a host field left `undefined` counts as
22
- * "not specified" and lets the theme through, rather than blanking it.
23
- */
24
- function publish() {
25
- snapshot = {
26
- ...themeUiConfig,
27
- ...withoutUndefined(hostUiConfig)
28
- };
29
- for (const listener of listeners) listener();
30
- }
31
- function subscribe(listener) {
32
- listeners.add(listener);
33
- return () => {
34
- listeners.delete(listener);
35
- };
36
- }
37
- function getSnapshot() {
38
- return snapshot;
39
- }
40
- /**
41
- * Sets global UI configuration defaults for `@incodetech/web`.
42
- *
43
- * Replaces (does not merge with) the previous host-supplied config, so omitting
44
- * a field clears it. The dashboard theme is held separately and is unaffected.
45
- */
46
- function setUiConfig(next) {
47
- hostUiConfig = next;
48
- publish();
49
- }
50
- /**
51
- * Merges fields into the host config, leaving unlisted fields as they are.
52
- *
53
- * Unlike {@link setUiConfig}, which replaces, this applies one source of
54
- * config without disturbing what the host set elsewhere — so applying a
55
- * Studio export cannot drop a host's `assets` or `spinner`. `undefined`
56
- * values are skipped, so an unset field never clears a good one.
57
- */
58
- function patchUiConfig(partial) {
59
- hostUiConfig = {
60
- ...hostUiConfig,
61
- ...withoutUndefined(partial)
62
- };
63
- publish();
64
- }
65
- /**
66
- * Internal: publishes the branding fields derived from the tenant's dashboard
67
- * theme. Not exported from the package — hosts use {@link setUiConfig}.
68
- */
69
- function setThemeUiConfig(next) {
70
- themeUiConfig = next;
71
- publish();
72
- }
73
- function useUiConfig() {
74
- return C(subscribe, getSnapshot);
75
- }
76
- //#endregion
77
- export { useUiConfig as i, setThemeUiConfig as n, setUiConfig as r, patchUiConfig as t };