@incodetech/web 2.4.0 → 2.4.1-agentic.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (345) hide show
  1. package/THIRD_PARTY_NOTICES.txt +1 -4
  2. package/dist/{GeolocationPermissionDenied-NCe8TBk4.js → GeolocationPermissionDenied-ClGp0a23.js} +13 -8
  3. package/dist/ae-signature/ae-signature.es.js +4 -4
  4. package/dist/{af-ZA-BbU0OdlG.js → af-ZA-BKpmmWDe.js} +165 -869
  5. package/dist/{ageVerification-B5ownHdO.js → ageVerification-CtuJDuRV.js} +11 -8
  6. package/dist/{am-BuvQtV50.js → am-CW_ro5Ws.js} +165 -869
  7. package/dist/antifraud/antifraud.es.js +5 -4
  8. package/dist/applyStudioConfig-C6-Ak0q6.js +127 -0
  9. package/dist/{ar-AE-Bdk7NfI2.js → ar-AE-D9h8UMbm.js} +165 -869
  10. package/dist/{ar-Ba-wMBXP.js → ar-B5ToweVl.js} +166 -870
  11. package/dist/{ar-EG-C9FVwsEB.js → ar-EG-DQqE9B26.js} +165 -869
  12. package/dist/assertClassBrand-DJr5K93j.js +17 -0
  13. package/dist/asset-Ctwd_20H.js +355 -0
  14. package/dist/authentication/authentication.es.js +7 -5
  15. package/dist/{autoFocusTitle-BQltp_Nn.js → autoFocusTitle-CzaCWWW5.js} +2 -2
  16. package/dist/{az-DHRJfgCV.js → az-DAZq-CQj.js} +165 -869
  17. package/dist/{back-horizontal-hint-BztyPanp.js → back-horizontal-hint-qzSaNkEU.js} +1 -1
  18. package/dist/{back-vertical-hint-BSzA4QbJ.js → back-vertical-hint-DkYLOege.js} +1 -1
  19. package/dist/base.css +1 -1
  20. package/dist/{baseTutorial-CL2A9XLh.js → baseTutorial-CF6WiVYt.js} +10 -7
  21. package/dist/{bn-BfE2MHPG.js → bn-DRTyq2Y9.js} +165 -869
  22. package/dist/{bottomSheet-DU4SrMOH.js → bottomSheet-DylE2INk.js} +3 -3
  23. package/dist/{bs-Ck9dCVYh.js → bs-B8q0B86-.js} +164 -868
  24. package/dist/{ca-yJUG5zqw.js → ca-DvsHXRB-.js} +164 -868
  25. package/dist/cameraOverlay-DNf0PEF4.js +2 -0
  26. package/dist/{cameraOverlayHeader-Bp7NCrl9.js → cameraOverlayHeader-CuVGnyXI.js} +9 -8
  27. package/dist/{cameraView-CLlWARBI.js → cameraView-D9ZxLKtA.js} +13 -14
  28. package/dist/capture-0jMDSGCE.js +762 -0
  29. package/dist/{tutorial-Bwt7rxfr.js → capture-BlGlXoTx.js} +212 -51
  30. package/dist/capture-DKBA5j5A.js +3 -0
  31. package/dist/capture-D_Dwrj1F.js +2 -0
  32. package/dist/captureButtonIcon-A9kn2E_m.js +1 -0
  33. package/dist/captureFocusContext-9789qOe3.js +729 -0
  34. package/dist/captureFooter-B6WUFQCV.js +47 -0
  35. package/dist/{ceb-oov4R9JM.js → ceb-pvlomXHV.js} +165 -869
  36. package/dist/certificate-issuance/certificate-issuance.es.js +23 -13
  37. package/dist/{check-icon-BpjpKqhJ.js → check-icon-BdHltEK6.js} +1 -1
  38. package/dist/{checkbox-DbYUeTao.js → checkbox-BwUQ0Rs9.js} +4 -4
  39. package/dist/chooser-CmG71-lh.js +1589 -0
  40. package/dist/connectionError-DexRpKWs.js +90 -0
  41. package/dist/consent/consent.es.js +19 -14
  42. package/dist/consent/styles.css +1 -1
  43. package/dist/consent/styles.css.js +1 -1
  44. package/dist/{countryFlag-2Vj85OIZ.js → countryFlag-CQMfCnE9.js} +1 -1
  45. package/dist/{countrySelector-El6_zLMs.js → countrySelector-C0OEKMqL.js} +6 -5
  46. package/dist/cross-document-data-match/cross-document-data-match.es.js +5 -4
  47. package/dist/{cs-CZ-B9jWzmE_.js → cs-CZ-GgvnJLMj.js} +164 -868
  48. package/dist/{cs-ovOFxGB0.js → cs-DB5PLEdt.js} +164 -868
  49. package/dist/curp-validation/curp-validation.es.js +34 -19
  50. package/dist/curp-validation/styles.css +1 -1
  51. package/dist/curp-validation/styles.css.js +1 -1
  52. package/dist/{customFields-BlYfgYje.js → customFields-DQgRumW0.js} +17 -12
  53. package/dist/{customWatchlist-BsBTzCCN.js → customWatchlist-BbC0fA-6.js} +8 -7
  54. package/dist/{da-DK-C0l5MGWM.js → da-DK-ZhpcfE_F.js} +164 -868
  55. package/dist/{dashboardTheme-MVQerNVn.js → dashboardTheme-DtXsx9IK.js} +22 -23
  56. package/dist/{dateInputComposed-DXCc1HRe.js → dateInputComposed-1IcnucPq.js} +5 -5
  57. package/dist/dateInputComposed-BFlCk-sg.js +1 -0
  58. package/dist/{de-B0IRPjwJ.js → de-DEBjzaow.js} +164 -868
  59. package/dist/{denied-wXsbFjy_.js → denied-CwdVWAUw.js} +12 -9
  60. package/dist/devWarn-CW20j1Qd.js +9 -0
  61. package/dist/deviceWallet-CMjguFJO.js +37 -0
  62. package/dist/{digitalIdRedirect-CF7zG3wS.js → digitalIdRedirect-MNty16-5.js} +4 -4
  63. package/dist/{digitalIdUpload-CbPm090z.js → digitalIdUpload-CUzTaoaI.js} +39 -15
  64. package/dist/document-capture/document-capture.es.js +1 -1
  65. package/dist/document-capture/styles.css +1 -1
  66. package/dist/document-capture/styles.css.js +1 -1
  67. package/dist/{documentCapture-CgpHXm_8.js → documentCapture-BUMyJ8vw.js} +115 -44
  68. package/dist/documentCapture-rECLkwpi.js +2 -0
  69. package/dist/dropdownComposed-C9sLQE6i.js +1 -0
  70. package/dist/{dropdownComposed-qb9GgX5X.js → dropdownComposed-x3ewHxbT.js} +4 -4
  71. package/dist/dynamic-forms/dynamic-forms.es.js +20 -15
  72. package/dist/ekyb/ekyb.es.js +1 -1
  73. package/dist/ekyb/styles.css +1 -1
  74. package/dist/ekyb/styles.css.js +1 -1
  75. package/dist/ekybModule-B5IEiSyi.js +2 -0
  76. package/dist/{ekybModule-BgZIkVVl.js → ekybModule-C5hEBLMs.js} +27 -23
  77. package/dist/ekyc/ekyc.es.js +1 -1
  78. package/dist/ekyc/styles.css +1 -1
  79. package/dist/ekyc/styles.css.js +1 -1
  80. package/dist/ekycModule-B7OFnP3H.js +2 -0
  81. package/dist/{ekycModule-DEVrRrnH.js → ekycModule-TVKk0qdS.js} +71 -44
  82. package/dist/{el-Do7wYurZ.js → el-Dplr_D5N.js} +164 -868
  83. package/dist/{el-GR-BZEKLkvc.js → el-GR-IZ4reOR7.js} +164 -868
  84. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  85. package/dist/{electronic-signature-DE6FJfvu.js → electronic-signature-BMda_cf3.js} +49 -34
  86. package/dist/email/email.es.js +15 -11
  87. package/dist/{emailInput-Cp77LavN.js → emailInput-BI8gWC0D.js} +4 -4
  88. package/dist/{en-DG-Cvwm0nfj.js → en-DG-C6tsWvHi.js} +165 -869
  89. package/dist/{en-CJ6l68pH.js → en-Db1L_u7B.js} +165 -869
  90. package/dist/{errorContent-YeJNVb1U.js → errorContent-pPAgyy2i.js} +10 -7
  91. package/dist/es-419-DxKrJq7W.js +5 -0
  92. package/dist/{es-rayGAvsH.js → es-C5unKsaF.js} +164 -868
  93. package/dist/{es-ES-B8h3jMgN.js → es-ES-sHbsufzT.js} +164 -868
  94. package/dist/{es-MX-DA__jQOC.js → es-MX-Cd_DCR0A.js} +164 -868
  95. package/dist/{et-DvX7tm-R.js → et-BoGq2cx8.js} +165 -869
  96. package/dist/{expiredId-CsKNCK5M.js → expiredId-DWjw94rT.js} +12 -8
  97. package/dist/extensibility.es.js +100 -55
  98. package/dist/{fa-IR-DfrzWcH0.js → fa-IR-DuUxGXrf.js} +165 -869
  99. package/dist/face-match/face-match.es.js +1 -1
  100. package/dist/face-match/styles.css +1 -1
  101. package/dist/face-match/styles.css.js +1 -1
  102. package/dist/faceMatch-B2aMz3X2.js +2 -0
  103. package/dist/{faceMatch-Bqspq0cw.js → faceMatch-DV7NxYu_.js} +15 -20
  104. package/dist/{fi-FI-CcFDkeiE.js → fi-FI-DMOBNTjA.js} +164 -868
  105. package/dist/field-comparison/field-comparison.es.js +1 -1
  106. package/dist/fieldComparison-BY2XXsp3.js +2 -0
  107. package/dist/{fieldComparison-CmQN2MEj.js → fieldComparison-CFLU1h6n.js} +15 -11
  108. package/dist/{fieldLabelHint-CxjArYkQ.js → fieldLabelHint-CjrLxBaj.js} +3 -3
  109. package/dist/{finalSuccessScreen-1Ea3wZWM.js → finalSuccessScreen-C50L96j9.js} +20 -16
  110. package/dist/fiscal-qr/fiscal-qr.es.js +24 -18
  111. package/dist/flipAnimation-8x-qdtF_.js +33 -0
  112. package/dist/flipCapturedCardEligibility-DLr9F2g2.js +210 -0
  113. package/dist/flow/flow.es.js +209 -186
  114. package/dist/flow/shell/styles.css +1 -1
  115. package/dist/flow/shell/styles.css.js +1 -1
  116. package/dist/flow/styles.css +1 -1
  117. package/dist/{formField-DoXWcoL9.js → formField-CfQKYeGF.js} +19 -11
  118. package/dist/{fr-CA-CeL7RQc-.js → fr-CA-DZ8jlsp3.js} +164 -868
  119. package/dist/{fr-DtdqfaF8.js → fr-DSR-AP0e.js} +164 -868
  120. package/dist/{front-horizontal-hint-DEHmtcdg.js → front-horizontal-hint-DOphQZg2.js} +1 -1
  121. package/dist/{front-vertical-hint-Cb1NO-xT.js → front-vertical-hint-S6PcS9_m.js} +1 -1
  122. package/dist/geolocation/geolocation.es.js +15 -12
  123. package/dist/government-validation/government-validation.es.js +7 -6
  124. package/dist/{he-CPeNHo0I.js → he-N5dfJeyd.js} +165 -869
  125. package/dist/helpButtonConfig-CjbrBQaV.js +24 -0
  126. package/dist/{hi-DIbkmie6.js → hi-JR6K9zbd.js} +165 -869
  127. package/dist/{hmn-CscGik4W.js → hmn-j2YA7FxW.js} +165 -869
  128. package/dist/{homeScreen-C0j_8KKD.js → homeScreen-C3pPw52y.js} +24 -13
  129. package/dist/{incodeComponent-CMBg2gpq.js → hooks-BFP0WaJM.js} +192 -262
  130. package/dist/{hr-DWUsAZnf.js → hr-8cOdwB0t.js} +164 -868
  131. package/dist/{ht-DgaboG3c.js → ht-DDNL4C__.js} +165 -869
  132. package/dist/{hu-Lz2qVC3S.js → hu-CynQQUFQ.js} +166 -870
  133. package/dist/i18n-Dp014ljG.js +942 -0
  134. package/dist/{icons-OQDvn5r2.js → icons-c-hFaG4L.js} +153 -56
  135. package/dist/id/id.es.js +101 -197
  136. package/dist/id/styles.css +1 -1
  137. package/dist/id/styles.css.js +1 -1
  138. package/dist/{id-back-of-card-C7Au2tqk.js → id-back-of-card-Bk6ZQUE9.js} +1 -1
  139. package/dist/{id-back-of-card-vertical-CtQBFw8w.js → id-back-of-card-vertical-BZo00s50.js} +1 -1
  140. package/dist/{id-front-of-card-BmHL_keG.js → id-front-of-card-BJ96se7u.js} +1 -1
  141. package/dist/{id-front-of-card-vertical-DkNUn2Vx.js → id-front-of-card-vertical-DSfJB0lX.js} +1 -1
  142. package/dist/{id-C5eOEjgu.js → id-o_Yg0n8W.js} +165 -869
  143. package/dist/id-selfie-flow/id-selfie-flow.es.js +12 -11
  144. package/dist/id-selfie-flow/styles.css +1 -1
  145. package/dist/id-verification/id-verification.es.js +6 -5
  146. package/dist/idFlipTransition-DXdtXYza.js +158 -0
  147. package/dist/{idOcr-C-kHrU_d.js → idOcr-CjqfkRJ7.js} +18 -14
  148. package/dist/identity-reuse/identity-reuse.es.js +28 -18
  149. package/dist/incodeComponent-DtKh-UUm.js +237 -0
  150. package/dist/incodeModule-DCHXAeYU.js +41 -0
  151. package/dist/index.es.js +5 -3
  152. package/dist/{inputComposed-CR1IW-mQ.js → inputComposed-CmVsaHOa.js} +4 -4
  153. package/dist/inputComposed-DvGrso7g.js +1 -0
  154. package/dist/{it-CQGuLrxZ.js → it-BXevrtHn.js} +165 -869
  155. package/dist/{ja-CBD-jOkP.js → ja-DiTXnTx-.js} +165 -869
  156. package/dist/{ja-JP-Dgbzh2aL.js → ja-JP-D1IRWR-p.js} +166 -870
  157. package/dist/{jv-C-E67yDR.js → jv-Us70GzGp.js} +164 -868
  158. package/dist/{ka-CcCqDmzw.js → ka-BSsWQ4yU.js} +165 -869
  159. package/dist/{kk-B_5WgCfa.js → kk-D5R6r4H7.js} +164 -868
  160. package/dist/{km-CucJh4em.js → km-CCCb2Rnt.js} +171 -875
  161. package/dist/{ko-KP-BSjl3hdX.js → ko-KP-JF4khv1Y.js} +165 -869
  162. package/dist/{ko-BEd2Jz4C.js → ko-kQioCg2w.js} +165 -869
  163. package/dist/{ky-Bb9MfmYr.js → ky-CLOemVjC.js} +164 -868
  164. package/dist/kyb-checks/kyb-checks.es.js +2 -0
  165. package/dist/kyb-checks/styles.css +2 -0
  166. package/dist/kyb-checks/styles.css.js +1 -0
  167. package/dist/kybChecksModule-C6Y9Hxpr.js +329 -0
  168. package/dist/kybChecksModule-r3MIpFhS.js +2 -0
  169. package/dist/{lo-CD_Ehkf5.js → lo-tzHUt1CQ.js} +165 -869
  170. package/dist/{lt-DHkwvJ8e.js → lt-B2ZI-Cgu.js} +165 -869
  171. package/dist/{lv-CPuPO_jU.js → lv-BJnxtSYw.js} +165 -869
  172. package/dist/{mandatoryConsent-BHMWyBUp.js → mandatoryConsent-BiQuEZRu.js} +23 -16
  173. package/dist/{manualCaptureButton-D_tGP6tv.js → manualCaptureButton-BRSmPTeR.js} +8 -7
  174. package/dist/{manualCaptureButton-D5XP3Oaf.js → manualCaptureButton-Dw0MMSkc.js} +17 -12
  175. package/dist/{mk-DO85nJp4.js → mk-Cj7Iw2Q4.js} +165 -869
  176. package/dist/{mn-D5fhne6X.js → mn-CA_rNxtz.js} +164 -868
  177. package/dist/{ms-D_FFGDor.js → ms-BydA1Zjz.js} +164 -868
  178. package/dist/{my-D1JKF20F.js → my-gFKufKaG.js} +165 -869
  179. package/dist/{nb-NO-oEMuavpl.js → nb-NO-CDsGQbOZ.js} +164 -868
  180. package/dist/{ne-Ds3QEMQ4.js → ne-Cyfi0vFI.js} +165 -869
  181. package/dist/{nl-DGyLucC1.js → nl-e1gbmAFO.js} +165 -869
  182. package/dist/{numberedStep-CvbL3ht2.js → numberedStep-CeN77hnQ.js} +1 -1
  183. package/dist/{optionAccessibleLabel-SwDCMYKc.js → optionAccessibleLabel-BTUieMxH.js} +8 -7
  184. package/dist/{otpInput-DIUf37GR.js → otpInput-D3L3QhnR.js} +24 -17
  185. package/dist/{page-BGUJaLaG.js → page-U6jZ7BBI.js} +85 -58
  186. package/dist/{incode-logo-BBYHyycP.js → pageUiConfig-Qf6ItVv9.js} +28 -4
  187. package/dist/{passport-horizontal-hint-DgNc6F0-.js → passport-horizontal-hint-Ddsh6fUS.js} +1 -1
  188. package/dist/{passport-vertical-hint-B-toVsfT.js → passport-vertical-hint-Dukxq6-T.js} +1 -1
  189. package/dist/{passwordInputComposed-Cd-3kyua.js → passwordInputComposed-CW_1DcB8.js} +5 -5
  190. package/dist/{pdf-BKHLi5Ac.js → pdf-Bd5QplFS.js} +2 -17
  191. package/dist/{pdfViewer-EDgSzrdc.js → pdfViewer-BrqSEtbr.js} +11 -14
  192. package/dist/pdfViewer-rDnnHzmw.js +2 -0
  193. package/dist/{permissions-Vh-QG2Tj.js → permissions-KUDhffd9.js} +36 -23
  194. package/dist/phone/phone.es.js +16 -12
  195. package/dist/{phoneInputComposed-wZaDiedP.js → phoneInputComposed-DlJMTavK.js} +49 -12
  196. package/dist/{pl-nEtI_VZQ.js → pl-BSMcCWS-.js} +164 -868
  197. package/dist/preloadableLazy-C8_OYaTC.js +37 -0
  198. package/dist/{processing-SzW6Mfrg.js → processing-B5EH7yNg.js} +2 -2
  199. package/dist/{progressBar-KEnpi8uj.js → progressBar-CSpS29pV.js} +2 -2
  200. package/dist/{pt-EmaaUJGm.js → pt-BNFC2quK.js} +165 -869
  201. package/dist/{pt-BR-BkLAWIbx.js → pt-BR-bH8DC2gH.js} +165 -869
  202. package/dist/{pt-PT-Py_4_Z05.js → pt-PT-B8PXmgwU.js} +165 -869
  203. package/dist/qe-signature/qe-signature.es.js +4 -4
  204. package/dist/{radioGroupComposed-CRr_78He.js → radioGroupComposed-CW8ElYSR.js} +4 -4
  205. package/dist/radioGroupComposed-flIYNffL.js +1 -0
  206. package/dist/realtimeFeedbackConfig-tBX94SOm.js +16 -0
  207. package/dist/redirect-to-mobile/redirect-to-mobile.es.js +51 -50
  208. package/dist/redirect-to-mobile/styles.css +1 -1
  209. package/dist/redirect-to-mobile/styles.css.js +1 -1
  210. package/dist/{registerIncodeElement-D_cn4dSI.js → registerIncodeElement-oiLvm6xq.js} +1 -1
  211. package/dist/{reload-icon-elAFo9-k.js → reload-icon-FD2e9Wet.js} +1 -1
  212. package/dist/{resendTimer-EhLnxeID.js → resendTimer-D1H3gwkI.js} +2 -2
  213. package/dist/richText-sUdTiRDE.js +1761 -0
  214. package/dist/{ro-BKmZhZl1.js → ro-DnN8QNYa.js} +165 -869
  215. package/dist/{ru-BYQKvZtn.js → ru-DAwUFXHq.js} +165 -869
  216. package/dist/{ru-RU-BdhCs3uF.js → ru-RU-Coxt0VCU.js} +164 -868
  217. package/dist/{sanitizeSvg-BC-qLUgS.js → sanitizeSvg-OdNh1mqY.js} +1 -1
  218. package/dist/selfie/selfie.es.js +36 -14
  219. package/dist/selfie/styles.css +1 -1
  220. package/dist/selfie/styles.css.js +1 -1
  221. package/dist/signature/signature.es.js +18 -13
  222. package/dist/{sk-CZipa19k.js → sk-AB8sSlNw.js} +166 -870
  223. package/dist/{sl-_sx3gvEv.js → sl-6Dfzfi7s.js} +165 -869
  224. package/dist/{smsTabContent-DHuEgl3E.js → smsTabContent-CBEKgzFv.js} +32 -23
  225. package/dist/{so-D3T7YyfC.js → so-X5BdrDvV.js} +165 -869
  226. package/dist/spacer-Jaru_3sb.js +82 -0
  227. package/dist/spinner-51btbot0.js +407 -0
  228. package/dist/{sr-D0lglPAd.js → sr-JHjMcbGs.js} +164 -868
  229. package/dist/{sr-Latn-Dy2rgSEv.js → sr-Latn-DgT7eTG2.js} +171 -875
  230. package/dist/sr-YU-BBhB_G63.js +5 -0
  231. package/dist/{sv-SE-VsDd4VP5.js → sv-SE-CvX8mC8T.js} +164 -868
  232. package/dist/{sw-D2VfTj6a.js → sw-CN0TdnY4.js} +165 -869
  233. package/dist/{th-BzmKSnbD.js → th-BmFntKib.js} +165 -869
  234. package/dist/{th-TH-BU_NqN97.js → th-TH-CWr4z3JK.js} +165 -869
  235. package/dist/themes/dark.css +1 -1
  236. package/dist/themes/light.css +1 -1
  237. package/dist/{tl-PH-BJJNA9rs.js → tl-PH-BRIbtBRN.js} +165 -869
  238. package/dist/{tl-GXkKKnzb.js → tl-rzkk5P_n.js} +165 -869
  239. package/dist/{tr-C1MJnwIJ.js → tr-DKuVBwqW.js} +166 -870
  240. package/dist/{transitionSpinner-Bkjw-WAJ.js → transitionSpinner-Di0XBAix.js} +5 -4
  241. package/dist/tutorial-C9psDR2i.js +28 -0
  242. package/dist/types/ae-signature.d.ts +10 -1
  243. package/dist/types/antifraud.d.ts +10 -1
  244. package/dist/types/authentication.d.ts +10 -1
  245. package/dist/types/certificate-issuance.d.ts +10 -1
  246. package/dist/types/consent.d.ts +10 -1
  247. package/dist/types/cross-document-data-match.d.ts +10 -1
  248. package/dist/types/curp-validation.d.ts +10 -1
  249. package/dist/types/document-capture.d.ts +10 -1
  250. package/dist/types/dynamic-forms.d.ts +10 -1
  251. package/dist/types/ekyb.d.ts +10 -1
  252. package/dist/types/ekyc.d.ts +10 -1
  253. package/dist/types/electronic-signature.d.ts +10 -1
  254. package/dist/types/email.d.ts +10 -1
  255. package/dist/types/extensibility.d.ts +147 -21
  256. package/dist/types/face-match.d.ts +10 -1
  257. package/dist/types/field-comparison.d.ts +10 -1
  258. package/dist/types/fiscal-qr.d.ts +10 -1
  259. package/dist/types/flow.d.ts +22 -2
  260. package/dist/types/geolocation.d.ts +10 -1
  261. package/dist/types/government-validation.d.ts +10 -1
  262. package/dist/types/id-selfie-flow.d.ts +10 -1
  263. package/dist/types/id-verification.d.ts +10 -1
  264. package/dist/types/id.d.ts +10 -1
  265. package/dist/types/identity-reuse.d.ts +10 -1
  266. package/dist/types/index.d.ts +92 -10
  267. package/dist/types/kyb-checks.d.ts +209 -0
  268. package/dist/types/phone.d.ts +10 -1
  269. package/dist/types/qe-signature.d.ts +10 -1
  270. package/dist/types/redirect-to-mobile.d.ts +1 -1
  271. package/dist/types/selfie.d.ts +10 -1
  272. package/dist/types/signature.d.ts +10 -1
  273. package/dist/types/video-selfie.d.ts +1 -1
  274. package/dist/types/watchlist.d.ts +10 -1
  275. package/dist/types/workflow.d.ts +10 -1
  276. package/dist/{typography-DKXgPZsU.js → typography-CiGhKJGx.js} +2 -2
  277. package/dist/uiConfig-BJAuZQWc.js +77 -0
  278. package/dist/{uk-DFL26I5l.js → uk-CXjqq4lX.js} +164 -868
  279. package/dist/{uk-UA-3o9Xbam-.js → uk-UA-BIE9WByU.js} +165 -869
  280. package/dist/{ur-DXJAfyQA.js → ur-vNGesC3r.js} +165 -869
  281. package/dist/useCameraPreview-Bd7AYE9h.js +93 -0
  282. package/dist/useCaptureHelpButton-Dj-jESrS.js +43 -0
  283. package/dist/useIsDarkTheme-Bu9CvKxW.js +27 -0
  284. package/dist/{useModuleLoader-BdIp6TNQ.js → useModuleLoader-BBCNkJmc.js} +2 -2
  285. package/dist/{uz-BXvj8vlH.js → uz-Gmw1XRgv.js} +165 -869
  286. package/dist/{vendor-preact-C0jX1Cbq.js → vendor-preact-DHGqBGMH.js} +19 -1
  287. package/dist/{verificationResult-BVrKFRMf.js → verificationResult-Clxdxm_s.js} +18 -10
  288. package/dist/{vi-DRfsxu1a.js → vi-DTxxRUw0.js} +165 -869
  289. package/dist/video-selfie/styles.css +1 -1
  290. package/dist/video-selfie/styles.css.js +1 -1
  291. package/dist/video-selfie/video-selfie.es.js +103 -67
  292. package/dist/watchlist/watchlist.es.js +8 -7
  293. package/dist/{watchlistForBusiness-CyAmoIrv.js → watchlistForBusiness-CpFp2EYX.js} +44 -14
  294. package/dist/{withEndScreenTexts-MHocOODe.js → withEndScreenTexts-Bd3mof3s.js} +225 -45
  295. package/dist/workflow/styles.css +1 -1
  296. package/dist/workflow/workflow.es.js +32 -21
  297. package/dist/{zh-CN-DMfj1_Nh.js → zh-CN-aB48G_R1.js} +164 -868
  298. package/dist/{zh-Ct8GKGhw.js → zh-DjtyfO4e.js} +164 -868
  299. package/dist/{zh-HANT-NZFdeKuE.js → zh-HANT-8p8SH8C3.js} +165 -869
  300. package/dist/{zh-TW-8wkrOHM8.js → zh-TW-CCsz9gKq.js} +165 -869
  301. package/package.json +35 -10
  302. package/dist/browser-ponyfill-DT11p-Ob.js +0 -441
  303. package/dist/cameraOverlay-CBTjtbNP.js +0 -2
  304. package/dist/connectionError-DX3wd4vm.js +0 -45
  305. package/dist/dateInputComposed-BzW0cv1o.js +0 -1
  306. package/dist/deviceWallet-CImevqFB.js +0 -66
  307. package/dist/documentCapture-CmWd-wNL.js +0 -2
  308. package/dist/dropdownComposed-B76j7pz9.js +0 -1
  309. package/dist/ekybModule-Bshc_ANM.js +0 -2
  310. package/dist/ekycModule-MmJYwp1l.js +0 -2
  311. package/dist/es-419-DlCbbvcc.js +0 -3145
  312. package/dist/esm-15CISqPe.js +0 -430
  313. package/dist/faceMatch-BVSCpwmA.js +0 -2
  314. package/dist/fieldComparison-nFj9pSeZ.js +0 -2
  315. package/dist/flipAnimation-DY9K2zel.js +0 -3048
  316. package/dist/incodeModule-D6oey1Mb.js +0 -68
  317. package/dist/inputComposed-45HxIMO0.js +0 -1
  318. package/dist/pdfViewer-CFkuHOV4.js +0 -2
  319. package/dist/radioGroupComposed-DJ71F9KK.js +0 -1
  320. package/dist/richText-aCnLd3j2.js +0 -1549
  321. package/dist/spacer-BvrtrwSF.js +0 -741
  322. package/dist/spinner-CkN8sW0d.js +0 -88
  323. package/dist/sr-YU-UEhyvXZ-.js +0 -3149
  324. package/dist/statusPage-3zRxvkSE.js +0 -36
  325. package/dist/uiConfig-BA7U_zLr.js +0 -2589
  326. package/dist/useCaptureHelpButton-CSG3fO48.js +0 -86
  327. package/dist/useCoverMedia-VLw3OYN_.js +0 -149
  328. /package/dist/{aligndevicelottie-BARt-rhe.js → aligndevicelottie-BEKzL4SB.js} +0 -0
  329. /package/dist/{back-tutorial-CZrMmj1_.js → back-tutorial-B9W63fa-.js} +0 -0
  330. /package/dist/{backdevicelottie-CIM3ekd8.js → backdevicelottie-DsN8QBV3.js} +0 -0
  331. /package/dist/{blurdevicelottie-BRyXfLB6.js → blurdevicelottie-DkV7Kwo4.js} +0 -0
  332. /package/dist/{countryDefinitions-BO9OSKQO.js → countryDefinitions-RBVGM1D_.js} +0 -0
  333. /package/dist/{defineProperty-CjeJoXkx.js → defineProperty-E9wRIIo9.js} +0 -0
  334. /package/dist/{flip-animation-BU5LNKYx.js → flip-animation-DJVnWWL5.js} +0 -0
  335. /package/dist/{frontdevicelottie-arpyu_Fz.js → frontdevicelottie-DiW1Wmya.js} +0 -0
  336. /package/dist/{glaredevicelottie-TwTFxe7h.js → glaredevicelottie-CK-fnX_s.js} +0 -0
  337. /package/dist/{id-laser-h-Dr-hBxrq.js → id-laser-h-6Am_cjM8.js} +0 -0
  338. /package/dist/{id-laser-v-D_r0QNY8.js → id-laser-v-DXoF3flH.js} +0 -0
  339. /package/dist/{id-tutorial-DM9Pkfs-.js → id-tutorial-DkKH3eTE.js} +0 -0
  340. /package/dist/{lottie_light-aMg9Q9iO.js → lottie_light-B819EhaL.js} +0 -0
  341. /package/dist/{passport-tutorial-CKZZuDf_.js → passport-tutorial-D3Fpk-Tj.js} +0 -0
  342. /package/dist/{pdf.worker.min-BM1b2w9V.js → pdf.worker.min-DzBNMoKS.js} +0 -0
  343. /package/dist/{policyUrls-B3M8nLRh.js → policyUrls-Benduf-R.js} +0 -0
  344. /package/dist/{purify.es-0fCPkEV1.js → purify.es-CSPoFViI.js} +0 -0
  345. /package/dist/{selfieTutorial-Dz6lDFMn.js → selfieTutorial-DnsRD1Z9.js} +0 -0
@@ -1,430 +0,0 @@
1
- import { r as __toESM } from "./rolldown-runtime--E5BIlTp.js";
2
- //#region ../../node_modules/.pnpm/i18next-http-backend@3.0.2/node_modules/i18next-http-backend/esm/utils.js
3
- function _typeof$2(o) {
4
- "@babel/helpers - typeof";
5
- return _typeof$2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
6
- return typeof o;
7
- } : function(o) {
8
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
9
- }, _typeof$2(o);
10
- }
11
- var arr = [];
12
- arr.forEach;
13
- arr.slice;
14
- function hasXMLHttpRequest() {
15
- return typeof XMLHttpRequest === "function" || (typeof XMLHttpRequest === "undefined" ? "undefined" : _typeof$2(XMLHttpRequest)) === "object";
16
- }
17
- function isPromise(maybePromise) {
18
- return !!maybePromise && typeof maybePromise.then === "function";
19
- }
20
- function makePromise(maybePromise) {
21
- if (isPromise(maybePromise)) return maybePromise;
22
- return Promise.resolve(maybePromise);
23
- }
24
- //#endregion
25
- //#region ../../node_modules/.pnpm/i18next-http-backend@3.0.2/node_modules/i18next-http-backend/esm/request.js
26
- function ownKeys$1(e, r) {
27
- var t = Object.keys(e);
28
- if (Object.getOwnPropertySymbols) {
29
- var o = Object.getOwnPropertySymbols(e);
30
- r && (o = o.filter(function(r) {
31
- return Object.getOwnPropertyDescriptor(e, r).enumerable;
32
- })), t.push.apply(t, o);
33
- }
34
- return t;
35
- }
36
- function _objectSpread$1(e) {
37
- for (var r = 1; r < arguments.length; r++) {
38
- var t = null != arguments[r] ? arguments[r] : {};
39
- r % 2 ? ownKeys$1(Object(t), !0).forEach(function(r) {
40
- _defineProperty$1(e, r, t[r]);
41
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function(r) {
42
- Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
43
- });
44
- }
45
- return e;
46
- }
47
- function _defineProperty$1(e, r, t) {
48
- return (r = _toPropertyKey$1(r)) in e ? Object.defineProperty(e, r, {
49
- value: t,
50
- enumerable: !0,
51
- configurable: !0,
52
- writable: !0
53
- }) : e[r] = t, e;
54
- }
55
- function _toPropertyKey$1(t) {
56
- var i = _toPrimitive$1(t, "string");
57
- return "symbol" == _typeof$1(i) ? i : i + "";
58
- }
59
- function _toPrimitive$1(t, r) {
60
- if ("object" != _typeof$1(t) || !t) return t;
61
- var e = t[Symbol.toPrimitive];
62
- if (void 0 !== e) {
63
- var i = e.call(t, r || "default");
64
- if ("object" != _typeof$1(i)) return i;
65
- throw new TypeError("@@toPrimitive must return a primitive value.");
66
- }
67
- return ("string" === r ? String : Number)(t);
68
- }
69
- function _typeof$1(o) {
70
- "@babel/helpers - typeof";
71
- return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
72
- return typeof o;
73
- } : function(o) {
74
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
75
- }, _typeof$1(o);
76
- }
77
- var fetchApi = typeof fetch === "function" ? fetch : void 0;
78
- if (typeof global !== "undefined" && global.fetch) fetchApi = global.fetch;
79
- else if (typeof window !== "undefined" && window.fetch) fetchApi = window.fetch;
80
- var XmlHttpRequestApi;
81
- if (hasXMLHttpRequest()) {
82
- if (typeof global !== "undefined" && global.XMLHttpRequest) XmlHttpRequestApi = global.XMLHttpRequest;
83
- else if (typeof window !== "undefined" && window.XMLHttpRequest) XmlHttpRequestApi = window.XMLHttpRequest;
84
- }
85
- var ActiveXObjectApi;
86
- if (typeof ActiveXObject === "function") {
87
- if (typeof global !== "undefined" && global.ActiveXObject) ActiveXObjectApi = global.ActiveXObject;
88
- else if (typeof window !== "undefined" && window.ActiveXObject) ActiveXObjectApi = window.ActiveXObject;
89
- }
90
- if (typeof fetchApi !== "function") fetchApi = void 0;
91
- if (!fetchApi && !XmlHttpRequestApi && !ActiveXObjectApi) try {
92
- import("./browser-ponyfill-DT11p-Ob.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1)).then(function(mod) {
93
- fetchApi = mod.default;
94
- }).catch(function() {});
95
- } catch (e) {}
96
- var addQueryString = function addQueryString(url, params) {
97
- if (params && _typeof$1(params) === "object") {
98
- var queryString = "";
99
- for (var paramName in params) queryString += "&" + encodeURIComponent(paramName) + "=" + encodeURIComponent(params[paramName]);
100
- if (!queryString) return url;
101
- url = url + (url.indexOf("?") !== -1 ? "&" : "?") + queryString.slice(1);
102
- }
103
- return url;
104
- };
105
- var fetchIt = function fetchIt(url, fetchOptions, callback, altFetch) {
106
- var resolver = function resolver(response) {
107
- if (!response.ok) return callback(response.statusText || "Error", { status: response.status });
108
- response.text().then(function(data) {
109
- callback(null, {
110
- status: response.status,
111
- data
112
- });
113
- }).catch(callback);
114
- };
115
- if (altFetch) {
116
- var altResponse = altFetch(url, fetchOptions);
117
- if (altResponse instanceof Promise) {
118
- altResponse.then(resolver).catch(callback);
119
- return;
120
- }
121
- }
122
- if (typeof fetch === "function") fetch(url, fetchOptions).then(resolver).catch(callback);
123
- else fetchApi(url, fetchOptions).then(resolver).catch(callback);
124
- };
125
- var omitFetchOptions = false;
126
- var requestWithFetch = function requestWithFetch(options, url, payload, callback) {
127
- if (options.queryStringParams) url = addQueryString(url, options.queryStringParams);
128
- var headers = _objectSpread$1({}, typeof options.customHeaders === "function" ? options.customHeaders() : options.customHeaders);
129
- if (typeof window === "undefined" && typeof global !== "undefined" && typeof global.process !== "undefined" && global.process.versions && global.process.versions.node) headers["User-Agent"] = "i18next-http-backend (node/".concat(global.process.version, "; ").concat(global.process.platform, " ").concat(global.process.arch, ")");
130
- if (payload) headers["Content-Type"] = "application/json";
131
- var reqOptions = typeof options.requestOptions === "function" ? options.requestOptions(payload) : options.requestOptions;
132
- var fetchOptions = _objectSpread$1({
133
- method: payload ? "POST" : "GET",
134
- body: payload ? options.stringify(payload) : void 0,
135
- headers
136
- }, omitFetchOptions ? {} : reqOptions);
137
- var altFetch = typeof options.alternateFetch === "function" && options.alternateFetch.length >= 1 ? options.alternateFetch : void 0;
138
- try {
139
- fetchIt(url, fetchOptions, callback, altFetch);
140
- } catch (e) {
141
- if (!reqOptions || Object.keys(reqOptions).length === 0 || !e.message || e.message.indexOf("not implemented") < 0) return callback(e);
142
- try {
143
- Object.keys(reqOptions).forEach(function(opt) {
144
- delete fetchOptions[opt];
145
- });
146
- fetchIt(url, fetchOptions, callback, altFetch);
147
- omitFetchOptions = true;
148
- } catch (err) {
149
- callback(err);
150
- }
151
- }
152
- };
153
- var requestWithXmlHttpRequest = function requestWithXmlHttpRequest(options, url, payload, callback) {
154
- if (payload && _typeof$1(payload) === "object") payload = addQueryString("", payload).slice(1);
155
- if (options.queryStringParams) url = addQueryString(url, options.queryStringParams);
156
- try {
157
- var x = XmlHttpRequestApi ? new XmlHttpRequestApi() : new ActiveXObjectApi("MSXML2.XMLHTTP.3.0");
158
- x.open(payload ? "POST" : "GET", url, 1);
159
- if (!options.crossDomain) x.setRequestHeader("X-Requested-With", "XMLHttpRequest");
160
- x.withCredentials = !!options.withCredentials;
161
- if (payload) x.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
162
- if (x.overrideMimeType) x.overrideMimeType("application/json");
163
- var h = options.customHeaders;
164
- h = typeof h === "function" ? h() : h;
165
- if (h) for (var i in h) x.setRequestHeader(i, h[i]);
166
- x.onreadystatechange = function() {
167
- x.readyState > 3 && callback(x.status >= 400 ? x.statusText : null, {
168
- status: x.status,
169
- data: x.responseText
170
- });
171
- };
172
- x.send(payload);
173
- } catch (e) {
174
- console && console.log(e);
175
- }
176
- };
177
- var request = function request(options, url, payload, callback) {
178
- if (typeof payload === "function") {
179
- callback = payload;
180
- payload = void 0;
181
- }
182
- callback = callback || function() {};
183
- if (fetchApi && url.indexOf("file:") !== 0) return requestWithFetch(options, url, payload, callback);
184
- if (hasXMLHttpRequest() || typeof ActiveXObject === "function") return requestWithXmlHttpRequest(options, url, payload, callback);
185
- callback(/* @__PURE__ */ new Error("No fetch and no xhr implementation found!"));
186
- };
187
- //#endregion
188
- //#region ../../node_modules/.pnpm/i18next-http-backend@3.0.2/node_modules/i18next-http-backend/esm/index.js
189
- function _typeof(o) {
190
- "@babel/helpers - typeof";
191
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
192
- return typeof o;
193
- } : function(o) {
194
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
195
- }, _typeof(o);
196
- }
197
- function ownKeys(e, r) {
198
- var t = Object.keys(e);
199
- if (Object.getOwnPropertySymbols) {
200
- var o = Object.getOwnPropertySymbols(e);
201
- r && (o = o.filter(function(r) {
202
- return Object.getOwnPropertyDescriptor(e, r).enumerable;
203
- })), t.push.apply(t, o);
204
- }
205
- return t;
206
- }
207
- function _objectSpread(e) {
208
- for (var r = 1; r < arguments.length; r++) {
209
- var t = null != arguments[r] ? arguments[r] : {};
210
- r % 2 ? ownKeys(Object(t), !0).forEach(function(r) {
211
- _defineProperty(e, r, t[r]);
212
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r) {
213
- Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
214
- });
215
- }
216
- return e;
217
- }
218
- function _classCallCheck(a, n) {
219
- if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
220
- }
221
- function _defineProperties(e, r) {
222
- for (var t = 0; t < r.length; t++) {
223
- var o = r[t];
224
- o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
225
- }
226
- }
227
- function _createClass(e, r, t) {
228
- return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
229
- }
230
- function _defineProperty(e, r, t) {
231
- return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
232
- value: t,
233
- enumerable: !0,
234
- configurable: !0,
235
- writable: !0
236
- }) : e[r] = t, e;
237
- }
238
- function _toPropertyKey(t) {
239
- var i = _toPrimitive(t, "string");
240
- return "symbol" == _typeof(i) ? i : i + "";
241
- }
242
- function _toPrimitive(t, r) {
243
- if ("object" != _typeof(t) || !t) return t;
244
- var e = t[Symbol.toPrimitive];
245
- if (void 0 !== e) {
246
- var i = e.call(t, r || "default");
247
- if ("object" != _typeof(i)) return i;
248
- throw new TypeError("@@toPrimitive must return a primitive value.");
249
- }
250
- return ("string" === r ? String : Number)(t);
251
- }
252
- var getDefaults = function getDefaults() {
253
- return {
254
- loadPath: "/locales/{{lng}}/{{ns}}.json",
255
- addPath: "/locales/add/{{lng}}/{{ns}}",
256
- parse: function parse(data) {
257
- return JSON.parse(data);
258
- },
259
- stringify: JSON.stringify,
260
- parsePayload: function parsePayload(namespace, key, fallbackValue) {
261
- return _defineProperty({}, key, fallbackValue || "");
262
- },
263
- parseLoadPayload: function parseLoadPayload(languages, namespaces) {},
264
- request,
265
- reloadInterval: typeof window !== "undefined" ? false : 3600 * 1e3,
266
- customHeaders: {},
267
- queryStringParams: {},
268
- crossDomain: false,
269
- withCredentials: false,
270
- overrideMimeType: false,
271
- requestOptions: {
272
- mode: "cors",
273
- credentials: "same-origin",
274
- cache: "default"
275
- }
276
- };
277
- };
278
- var Backend = function() {
279
- function Backend(services) {
280
- var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
281
- var allOptions = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
282
- _classCallCheck(this, Backend);
283
- this.services = services;
284
- this.options = options;
285
- this.allOptions = allOptions;
286
- this.type = "backend";
287
- this.init(services, options, allOptions);
288
- }
289
- return _createClass(Backend, [
290
- {
291
- key: "init",
292
- value: function init(services) {
293
- var _this = this;
294
- var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
295
- var allOptions = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
296
- this.services = services;
297
- this.options = _objectSpread(_objectSpread(_objectSpread({}, getDefaults()), this.options || {}), options);
298
- this.allOptions = allOptions;
299
- if (this.services && this.options.reloadInterval) {
300
- var timer = setInterval(function() {
301
- return _this.reload();
302
- }, this.options.reloadInterval);
303
- if (_typeof(timer) === "object" && typeof timer.unref === "function") timer.unref();
304
- }
305
- }
306
- },
307
- {
308
- key: "readMulti",
309
- value: function readMulti(languages, namespaces, callback) {
310
- this._readAny(languages, languages, namespaces, namespaces, callback);
311
- }
312
- },
313
- {
314
- key: "read",
315
- value: function read(language, namespace, callback) {
316
- this._readAny([language], language, [namespace], namespace, callback);
317
- }
318
- },
319
- {
320
- key: "_readAny",
321
- value: function _readAny(languages, loadUrlLanguages, namespaces, loadUrlNamespaces, callback) {
322
- var _this2 = this;
323
- var loadPath = this.options.loadPath;
324
- if (typeof this.options.loadPath === "function") loadPath = this.options.loadPath(languages, namespaces);
325
- loadPath = makePromise(loadPath);
326
- loadPath.then(function(resolvedLoadPath) {
327
- if (!resolvedLoadPath) return callback(null, {});
328
- var url = _this2.services.interpolator.interpolate(resolvedLoadPath, {
329
- lng: languages.join("+"),
330
- ns: namespaces.join("+")
331
- });
332
- _this2.loadUrl(url, callback, loadUrlLanguages, loadUrlNamespaces);
333
- });
334
- }
335
- },
336
- {
337
- key: "loadUrl",
338
- value: function loadUrl(url, callback, languages, namespaces) {
339
- var _this3 = this;
340
- var lng = typeof languages === "string" ? [languages] : languages;
341
- var ns = typeof namespaces === "string" ? [namespaces] : namespaces;
342
- var payload = this.options.parseLoadPayload(lng, ns);
343
- this.options.request(this.options, url, payload, function(err, res) {
344
- if (res && (res.status >= 500 && res.status < 600 || !res.status)) return callback("failed loading " + url + "; status code: " + res.status, true);
345
- if (res && res.status >= 400 && res.status < 500) return callback("failed loading " + url + "; status code: " + res.status, false);
346
- if (!res && err && err.message) {
347
- var errorMessage = err.message.toLowerCase();
348
- if ([
349
- "failed",
350
- "fetch",
351
- "network",
352
- "load"
353
- ].find(function(term) {
354
- return errorMessage.indexOf(term) > -1;
355
- })) return callback("failed loading " + url + ": " + err.message, true);
356
- }
357
- if (err) return callback(err, false);
358
- var ret, parseErr;
359
- try {
360
- if (typeof res.data === "string") ret = _this3.options.parse(res.data, languages, namespaces);
361
- else ret = res.data;
362
- } catch (e) {
363
- parseErr = "failed parsing " + url + " to json";
364
- }
365
- if (parseErr) return callback(parseErr, false);
366
- callback(null, ret);
367
- });
368
- }
369
- },
370
- {
371
- key: "create",
372
- value: function create(languages, namespace, key, fallbackValue, callback) {
373
- var _this4 = this;
374
- if (!this.options.addPath) return;
375
- if (typeof languages === "string") languages = [languages];
376
- var payload = this.options.parsePayload(namespace, key, fallbackValue);
377
- var finished = 0;
378
- var dataArray = [];
379
- var resArray = [];
380
- languages.forEach(function(lng) {
381
- var addPath = _this4.options.addPath;
382
- if (typeof _this4.options.addPath === "function") addPath = _this4.options.addPath(lng, namespace);
383
- var url = _this4.services.interpolator.interpolate(addPath, {
384
- lng,
385
- ns: namespace
386
- });
387
- _this4.options.request(_this4.options, url, payload, function(data, res) {
388
- finished += 1;
389
- dataArray.push(data);
390
- resArray.push(res);
391
- if (finished === languages.length) {
392
- if (typeof callback === "function") callback(dataArray, resArray);
393
- }
394
- });
395
- });
396
- }
397
- },
398
- {
399
- key: "reload",
400
- value: function reload() {
401
- var _this5 = this;
402
- var _this$services = this.services, backendConnector = _this$services.backendConnector, languageUtils = _this$services.languageUtils, logger = _this$services.logger;
403
- var currentLanguage = backendConnector.language;
404
- if (currentLanguage && currentLanguage.toLowerCase() === "cimode") return;
405
- var toLoad = [];
406
- var append = function append(lng) {
407
- languageUtils.toResolveHierarchy(lng).forEach(function(l) {
408
- if (toLoad.indexOf(l) < 0) toLoad.push(l);
409
- });
410
- };
411
- append(currentLanguage);
412
- if (this.allOptions.preload) this.allOptions.preload.forEach(function(l) {
413
- return append(l);
414
- });
415
- toLoad.forEach(function(lng) {
416
- _this5.allOptions.ns.forEach(function(ns) {
417
- backendConnector.read(lng, ns, "read", null, null, function(err, data) {
418
- if (err) logger.warn("loading namespace ".concat(ns, " for language ").concat(lng, " failed"), err);
419
- if (!err && data) logger.log("loaded namespace ".concat(ns, " for language ").concat(lng), data);
420
- backendConnector.loaded("".concat(lng, "|").concat(ns), err, data);
421
- });
422
- });
423
- });
424
- }
425
- }
426
- ]);
427
- }();
428
- Backend.type = "backend";
429
- //#endregion
430
- export { Backend as default };
@@ -1,2 +0,0 @@
1
- import { t as FaceMatch } from "./faceMatch-Bqspq0cw.js";
2
- export { FaceMatch };
@@ -1,2 +0,0 @@
1
- import { t as FieldComparison } from "./fieldComparison-CmQN2MEj.js";
2
- export { FieldComparison };