@incodetech/web 0.0.0-dev-20260917-1176b73f → 0.0.0-dev-20260918-2ea5eb33
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.
- package/dist/ae-signature/ae-signature.es.js +3 -3
- package/dist/{af-ZA-DmmrcQP_.js → af-ZA-BfFA-73t.js} +5 -1
- package/dist/{am-SmKt8V4z.js → am-86O9vQfo.js} +5 -1
- package/dist/antifraud/antifraud.es.js +3 -3
- package/dist/{ar-AE-DY9xUJr9.js → ar-AE-D6WWGMaR.js} +6 -2
- package/dist/{ar-WPzC_zpw.js → ar-CSV1WkDr.js} +6 -2
- package/dist/{ar-EG-BgrA461G.js → ar-EG-B52sSbMt.js} +5 -1
- package/dist/authentication/authentication.es.js +4 -4
- package/dist/{autoFocusTitle-CLL6_ZUS.js → autoFocusTitle-DlCuVRy0.js} +1 -1
- package/dist/{az-8ilAuTNz.js → az-CYe41nhK.js} +5 -1
- package/dist/base.css +4 -0
- package/dist/{baseTutorial-OhjVzcAt.js → baseTutorial-gnuDmWZu.js} +3 -3
- package/dist/{bn-BMTIe4X-.js → bn-qFhQOo2c.js} +5 -1
- package/dist/{bottomSheet-CVZGrdQw.js → bottomSheet-Cx-a2e87.js} +1 -1
- package/dist/{bs-8e1MGcBs.js → bs-CF_-tOJf.js} +5 -1
- package/dist/{ca-DiV9W25J.js → ca-I6BUI5uG.js} +5 -1
- package/dist/cameraOverlay-CFRDEX0q.js +2 -0
- package/dist/{cameraOverlayHeader-nlevm08C.js → cameraOverlayHeader-Dp_W_2pM.js} +3 -3
- package/dist/{cameraView-Dquo1xOJ.js → cameraView-DBwfS6-n.js} +2 -2
- package/dist/{ceb-D8k4G0Uk.js → ceb-WUG7wtG_.js} +5 -1
- package/dist/certificate-issuance/certificate-issuance.es.js +8 -8
- package/dist/{checkbox-CiB15eSu.js → checkbox-Br1BZgyW.js} +2 -2
- package/dist/{connectionError-BHmmESyy.js → connectionError-DI5hSA73.js} +3 -3
- package/dist/consent/consent.es.js +6 -6
- package/dist/{countrySelector-Dgy0zp0e.js → countrySelector-B4tmudxi.js} +2 -2
- package/dist/cross-document-data-match/cross-document-data-match.es.js +3 -3
- package/dist/{cs-CZ-B2enobPu.js → cs-CZ-BeRE76LT.js} +5 -1
- package/dist/{cs-BtZAKXkI.js → cs-CqJtRA_e.js} +5 -1
- package/dist/curp-validation/curp-validation.es.js +11 -11
- package/dist/{customFields-t5hWidwA.js → customFields-BM9JzdYV.js} +9 -9
- package/dist/{customWatchlist-Dqrj_ifl.js → customWatchlist-5cm1k6Az.js} +6 -6
- package/dist/{da-DK-Bg0oZ0np.js → da-DK-0yqqnpB2.js} +5 -1
- package/dist/{dashboardTheme-BRfByCop.js → dashboardTheme-BCtyI2So.js} +1 -1
- package/dist/dateInputComposed-B-mEQHwD.js +1 -0
- package/dist/{dateInputComposed-0sgVTVDS.js → dateInputComposed-mIXvCuo6.js} +4 -4
- package/dist/{de-C2dDH_5u.js → de-BzY0kWmR.js} +5 -1
- package/dist/{denied-5I0K3X1V.js → denied-Cd_jJ2fB.js} +4 -4
- package/dist/document-capture/document-capture.es.js +1 -1
- package/dist/documentCapture-Bfnu2aJ7.js +2 -0
- package/dist/{documentCapture-DVyNrAaa.js → documentCapture-DAq4Lc4f.js} +15 -15
- package/dist/{dropdownComposed-Nr4ooxq9.js → dropdownComposed-CF9fQIkg.js} +2 -2
- package/dist/dropdownComposed-DCEDlVED.js +1 -0
- package/dist/dynamic-forms/dynamic-forms.es.js +10 -10
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/ekybModule-Bz_QFp8k.js +2 -0
- package/dist/{ekybModule-BXiNK957.js → ekybModule-DtA6xzMt.js} +12 -12
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/{ekycModule-CEZTJeRG.js → ekycModule-BYnSsGfI.js} +12 -12
- package/dist/ekycModule-tIAaZn0o.js +2 -0
- package/dist/{el-C4tUaDVo.js → el-4VUzRvt_.js} +6 -2
- package/dist/{el-GR-gHmmh1m6.js → el-GR-BkaZS0R8.js} +5 -1
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-DA0424TH.js → electronic-signature-C8JySzre.js} +10 -9
- package/dist/email/email.es.js +7 -7
- package/dist/{emailInput-BOSd36i6.js → emailInput-Cf9kkMwy.js} +3 -3
- package/dist/{en-Cv48UBOv.js → en-BoIY2a0U.js} +5 -1
- package/dist/{en-DG-DlWakiDv.js → en-DG-Cbxeo9xl.js} +5 -1
- package/dist/{errorContent-BigJWZzO.js → errorContent-fEkNWTui.js} +5 -5
- package/dist/{es-419-B5kyejuM.js → es-419-CUrAk3Os.js} +5 -1
- package/dist/{es-BQocmnOt.js → es-DF4yy8NI.js} +5 -1
- package/dist/{es-ES-CV7_24H6.js → es-ES-Bp37Qwzs.js} +5 -1
- package/dist/{es-MX-CDNiFYB1.js → es-MX-Bl_WxaY5.js} +5 -1
- package/dist/{et-DOU37VZj.js → et-B-4T5J1Y.js} +5 -1
- package/dist/{expiredId-CZRW7Ybn.js → expiredId-DBeIK41y.js} +5 -5
- package/dist/extensibility.es.js +34 -34
- package/dist/{fa-IR-CKX4ttr2.js → fa-IR-CMHAH07z.js} +5 -1
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/{faceMatch-CIOPXTmy.js → faceMatch-5EYqqbpq.js} +6 -6
- package/dist/faceMatch-D1RbSbvf.js +2 -0
- package/dist/{fi-FI-DjM3a4dh.js → fi-FI-DjYP8RPz.js} +5 -1
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/fieldComparison-Dt2fM2M2.js +2 -0
- package/dist/{fieldComparison-Bc_Sb5DW.js → fieldComparison-Ne3VXgex.js} +7 -7
- package/dist/{finalSuccessScreen-C9Mjs8Se.js → finalSuccessScreen-DZGfmiDk.js} +9 -9
- package/dist/fiscal-qr/fiscal-qr.es.js +10 -10
- package/dist/{flipAnimation-ntts3556.js → flipAnimation-CgZPA_-M.js} +13 -13
- package/dist/flow/flow.es.js +10 -9
- package/dist/{formField-CRTjuNIn.js → formField-BqFQHW2R.js} +2 -2
- package/dist/{fr-UicwP0Xf.js → fr-BVK_ZR3Z.js} +5 -1
- package/dist/{fr-CA-DSKVQet1.js → fr-CA-BHVRzG8e.js} +5 -1
- package/dist/geolocation/geolocation.es.js +7 -7
- package/dist/government-validation/government-validation.es.js +3 -3
- package/dist/{he-4VZRy5s_.js → he-ChuAfDCe.js} +5 -1
- package/dist/{hi-BBTNqCra.js → hi-Zw4sM-qw.js} +5 -1
- package/dist/{hmn-Cqq58Jhl.js → hmn-Bh7tYVCA.js} +5 -1
- package/dist/{homeScreen-DPDkRuUj.js → homeScreen-D2gcxVZl.js} +6 -6
- package/dist/{hr-BkWpIuVF.js → hr-D3ieYUZT.js} +5 -1
- package/dist/{ht-BXinER2s.js → ht-BE4x5OD_.js} +5 -1
- package/dist/{hu-V8Z3BcQL.js → hu-B890xXad.js} +5 -1
- package/dist/{icons-ChbeiU1F.js → icons-CoR-lNt8.js} +1 -1
- package/dist/id/id.es.js +20 -20
- package/dist/{id-BdeD3LRn.js → id--E-Nhwjq.js} +5 -1
- package/dist/id-selfie-flow/id-selfie-flow.es.js +10 -9
- package/dist/id-verification/id-verification.es.js +6 -5
- package/dist/{idOcr-xqxBKhkH.js → idOcr-sf5u2qVK.js} +11 -11
- package/dist/identity-reuse/identity-reuse.es.js +7 -6
- package/dist/{incodeComponent-BXv-ZUvM.js → incodeComponent-C_gndce_.js} +86 -13
- package/dist/{incodeModule-D4WcMjSz.js → incodeModule-CnL68MWv.js} +1 -1
- package/dist/index.es.js +2 -2
- package/dist/{inputComposed-B3HKwHUe.js → inputComposed-DygKmx9b.js} +2 -2
- package/dist/inputComposed-lQ2lMWfH.js +1 -0
- package/dist/{it-BdWa4B_R.js → it-4g4pUWWn.js} +6 -2
- package/dist/{ja-dPxfcwiw.js → ja-BmJcal40.js} +5 -1
- package/dist/{ja-JP-F94t25a8.js → ja-JP-CJMc2JMu.js} +5 -1
- package/dist/{jv-CJAjqhgV.js → jv-D4npMIqL.js} +5 -1
- package/dist/{ka-D0dS7apI.js → ka-ap1iUsWy.js} +5 -1
- package/dist/{kk-D72DztAI.js → kk-DEuCnG3y.js} +5 -1
- package/dist/{km-BOq5twXe.js → km-Ct2KYi8P.js} +11 -7
- package/dist/{ko-KP-CE7rKRI5.js → ko-KP-DTpiWAq0.js} +5 -1
- package/dist/{ko-B4FP6-ld.js → ko-Tr6206NP.js} +5 -1
- package/dist/{ky-D6GXd3uW.js → ky-L0coJye9.js} +5 -1
- package/dist/{lo-BzwFkpRV.js → lo-D5ODs3jt.js} +5 -1
- package/dist/{lt-hYCw2Wxr.js → lt-C92jAcu_.js} +6 -2
- package/dist/{lv-Dzr48SpJ.js → lv-DVrj3SeJ.js} +5 -1
- package/dist/{mandatoryConsent-DFHk3udM.js → mandatoryConsent-C4kzzUFt.js} +6 -6
- package/dist/{manualCaptureButton-C_xl28Dq.js → manualCaptureButton-CofG7dAU.js} +3 -3
- package/dist/{manualCaptureButton-iNAMKfNQ.js → manualCaptureButton-y6LtzHJu.js} +3 -3
- package/dist/{mk-BquI4cFU.js → mk-CYQ4kqNe.js} +5 -1
- package/dist/{mn-BiuhSfFg.js → mn-BcBCo89D.js} +5 -1
- package/dist/{modal-DkFsdSC8.js → modal-CHLkFh7q.js} +2 -2
- package/dist/{ms-DtMkDM7f.js → ms-D2EfQ2aC.js} +5 -1
- package/dist/{my-BUt_VMls.js → my-iIf1KTFT.js} +5 -1
- package/dist/{nb-NO-CnkqifLA.js → nb-NO-CiEFEldo.js} +5 -1
- package/dist/{ne-B45P09m7.js → ne-_eKk5i8t.js} +5 -1
- package/dist/{nl-sdA7N8LX.js → nl-Cadpfdjb.js} +6 -2
- package/dist/{optionAccessibleLabel-Bvxbm3h7.js → optionAccessibleLabel-D2GU44LI.js} +5 -5
- package/dist/{otpInput-BXacbIjj.js → otpInput-kKJqezXt.js} +6 -6
- package/dist/{passwordInputComposed-V8PZXj4w.js → passwordInputComposed-bQsGMr5q.js} +4 -4
- package/dist/pdfViewer-DtIjnnol.js +2 -0
- package/dist/{pdfViewer-BnNIXkbM.js → pdfViewer-pnH5iVr3.js} +2 -2
- package/dist/{permissions-Im1wwvAx.js → permissions-BCe18yuZ.js} +8 -8
- package/dist/phone/phone.es.js +8 -8
- package/dist/{phoneInputComposed-33AAWge8.js → phoneInputComposed-CG6KlSdp.js} +3 -3
- package/dist/{pl-Ow8xo1iP.js → pl-DvWr6ucO.js} +5 -1
- package/dist/{processing-BvkU2cgP.js → processing-huTtclBq.js} +1 -1
- package/dist/{pt-BR-COOIb6-y.js → pt-BR-BzvqWyB-.js} +5 -1
- package/dist/{pt-DcYhKN01.js → pt-Crvg0eYx.js} +5 -1
- package/dist/{pt-PT-DAajD5DI.js → pt-PT-Cb_9ysep.js} +5 -1
- package/dist/qe-signature/qe-signature.es.js +3 -3
- package/dist/radioGroupComposed-CvLp5FzR.js +1 -0
- package/dist/{radioGroupComposed-zFPuAjVe.js → radioGroupComposed-F3KZT9wU.js} +2 -2
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +7 -7
- package/dist/{resendTimer-zjZwgWGg.js → resendTimer-Dk_OuJY4.js} +1 -1
- package/dist/{resolveApiKey-BBWLeik4.js → resolveApiKey-TTkYo040.js} +18 -18
- package/dist/{richText-CYUpc36o.js → richText-BPjLSvr_.js} +1 -1
- package/dist/{ro-Bejk1v9i.js → ro-BaBCqOY0.js} +5 -1
- package/dist/{ru-KP7UT7ZQ.js → ru-D6FA0Mai.js} +5 -1
- package/dist/{ru-RU-CedWTDru.js → ru-RU-D0DG8hcN.js} +5 -1
- package/dist/selfie/selfie.es.js +9 -9
- package/dist/signature/signature.es.js +6 -6
- package/dist/{sk-DZ_6nYfa.js → sk-BZH236jz.js} +8 -4
- package/dist/{sl-BthoPfrz.js → sl-NcBodyaq.js} +5 -1
- package/dist/{smsTabContent-D7Pbftyw.js → smsTabContent-Bts-X2hg.js} +6 -6
- package/dist/{so-CvMd2jGv.js → so-mALb5PIF.js} +5 -1
- package/dist/{spacer-CPt4HyL0.js → spacer-BOHKKZQS.js} +1 -1
- package/dist/{spinner-CfMsNujU.js → spinner-Bx8ZPiHm.js} +2 -2
- package/dist/{sr-Latn-B1BVSu4X.js → sr-Latn-DNNQJ0xN.js} +12 -8
- package/dist/{sr-D0reHH_x.js → sr-RbAwlogP.js} +5 -1
- package/dist/{sr-YU-D-Y29iGg.js → sr-YU-BXyNH_Bz.js} +5 -1
- package/dist/{statusPage-Cid6zFEq.js → statusPage-BRMErqIi.js} +3 -3
- package/dist/{sv-SE-DGUEps4k.js → sv-SE-i1fopW4V.js} +5 -1
- package/dist/{sw-CQqWEGxr.js → sw-CZwYYTBq.js} +5 -1
- package/dist/{tabs-nofQVDZH.js → tabs-Dl0_VwWh.js} +1 -1
- package/dist/{th-CHCtn72G.js → th-BwPR5bwC.js} +5 -1
- package/dist/{th-TH-CYZLwOUf.js → th-TH-BV10SXDr.js} +5 -1
- package/dist/{tl-DlzBzg--.js → tl-CCK8d3_e.js} +5 -1
- package/dist/{tl-PH-CDmXEWrc.js → tl-PH-DDKtyCRc.js} +5 -1
- package/dist/{tr-CPxhALj2.js → tr-j1GBQw1w.js} +7 -3
- package/dist/{tutorial-qTeHmK5f.js → tutorial-Czl-LbZA.js} +10 -10
- package/dist/types/ae-signature.d.ts +10 -2
- package/dist/types/antifraud.d.ts +10 -2
- package/dist/types/authentication.d.ts +10 -2
- package/dist/types/certificate-issuance.d.ts +10 -2
- package/dist/types/consent.d.ts +10 -2
- package/dist/types/cross-document-data-match.d.ts +10 -2
- package/dist/types/curp-validation.d.ts +10 -2
- package/dist/types/document-capture.d.ts +10 -2
- package/dist/types/dynamic-forms.d.ts +10 -2
- package/dist/types/ekyb.d.ts +10 -2
- package/dist/types/ekyc.d.ts +10 -2
- package/dist/types/electronic-signature.d.ts +10 -2
- package/dist/types/email.d.ts +10 -2
- package/dist/types/extensibility.d.ts +15 -2
- package/dist/types/face-match.d.ts +10 -2
- package/dist/types/field-comparison.d.ts +10 -2
- package/dist/types/fiscal-qr.d.ts +10 -2
- package/dist/types/flow.d.ts +10 -2
- package/dist/types/geolocation.d.ts +10 -2
- package/dist/types/government-validation.d.ts +10 -2
- package/dist/types/id-selfie-flow.d.ts +10 -13
- package/dist/types/id-verification.d.ts +10 -2
- package/dist/types/id.d.ts +10 -2
- package/dist/types/identity-reuse.d.ts +10 -2
- package/dist/types/phone.d.ts +10 -2
- package/dist/types/qe-signature.d.ts +10 -2
- package/dist/types/selfie.d.ts +10 -2
- package/dist/types/signature.d.ts +10 -2
- package/dist/types/video-selfie.d.ts +4 -1
- package/dist/types/watchlist.d.ts +10 -2
- package/dist/types/workflow.d.ts +10 -2
- package/dist/{typography-Bd5_vWx-.js → typography-DlD8BV4O.js} +1 -1
- package/dist/{uiConfig-CDrg5a4l.js → uiConfig-l--oejse.js} +83 -83
- package/dist/{uk-xyS0IiQT.js → uk-DQ4BZcYy.js} +5 -1
- package/dist/{uk-UA-BICmVckA.js → uk-UA-Bo6eVu_r.js} +5 -1
- package/dist/{ur-5ji5zzeY.js → ur-CnSGCZqe.js} +5 -1
- package/dist/{useCaptureHelpButton-D7viKbWI.js → useCaptureHelpButton-DXnfkutk.js} +4 -4
- package/dist/{uz-DXYcYA-2.js → uz-DE-WWaVQ.js} +5 -1
- package/dist/{verificationResult-Og71vbzN.js → verificationResult-2eP0SSLa.js} +6 -6
- package/dist/{vi-CtRa1sur.js → vi-Cf-VH4l2.js} +5 -1
- package/dist/video-selfie/video-selfie.es.js +10 -10
- package/dist/watchlist/watchlist.es.js +6 -6
- package/dist/{watchlistForBusiness-D_hnbA3-.js → watchlistForBusiness-Dnt4NHG8.js} +8 -8
- package/dist/workflow/workflow.es.js +10 -9
- package/dist/{zh-CN-DbLERlYY.js → zh-CN-CN89N6NM.js} +6 -2
- package/dist/{zh-C3m48BR9.js → zh-CxYqEti3.js} +5 -1
- package/dist/{zh-HANT-Cx-orZcq.js → zh-HANT-CEticZ-9.js} +5 -1
- package/dist/{zh-TW-CSkhn9XP.js → zh-TW-BjVsMNfE.js} +5 -1
- package/package.json +2 -2
- package/dist/cameraOverlay-BaWF8SJQ.js +0 -2
- package/dist/dateInputComposed-DL1Sy-oV.js +0 -1
- package/dist/documentCapture-BwjP0oSt.js +0 -2
- package/dist/dropdownComposed-BMGUsBEM.js +0 -1
- package/dist/ekybModule-CkgPRkOG.js +0 -2
- package/dist/ekycModule-BHctZRnI.js +0 -2
- package/dist/faceMatch-DQUlJejg.js +0 -2
- package/dist/fieldComparison-BTYIFKdx.js +0 -2
- package/dist/inputComposed-DmzpSYEl.js +0 -1
- package/dist/pdfViewer-Bd3GuOdX.js +0 -2
- package/dist/radioGroupComposed-ReViqCTL.js +0 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { o as useTranslation } from "./uiConfig-
|
|
1
|
+
import { o as useTranslation } from "./uiConfig-l--oejse.js";
|
|
2
2
|
import { S as k, _ as y, a as P, c as A, d as _, f as d, h as q, i as D, s as z, u as T, v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
3
|
-
import { c as Page, d as TransitionSpinner, f as useFeatureManagement, g as useEventListener, h as useResizeObserver, m as useTimeoutHandle, p as usePresence } from "./incodeComponent-
|
|
4
|
-
import { a as useAnimationData, d as cn, r as AnimatedAsset, t as Spacer } from "./spacer-
|
|
5
|
-
import { o as TypographyP, r as TypographyH3, t as Title } from "./typography-
|
|
6
|
-
import { t as Spinner } from "./spinner-
|
|
7
|
-
import { a as LockIcon, f as ChevronRightIcon, t as SvgLightningIcon, x as Button } from "./icons-
|
|
8
|
-
import { t as Modal } from "./modal-
|
|
9
|
-
import { n as CaptureFooter, r as ProgressBar, t as useCaptureHelpButton } from "./useCaptureHelpButton-
|
|
3
|
+
import { c as Page, d as TransitionSpinner, f as useFeatureManagement, g as useEventListener, h as useResizeObserver, m as useTimeoutHandle, p as usePresence } from "./incodeComponent-C_gndce_.js";
|
|
4
|
+
import { a as useAnimationData, d as cn, r as AnimatedAsset, t as Spacer } from "./spacer-BOHKKZQS.js";
|
|
5
|
+
import { o as TypographyP, r as TypographyH3, t as Title } from "./typography-DlD8BV4O.js";
|
|
6
|
+
import { t as Spinner } from "./spinner-Bx8ZPiHm.js";
|
|
7
|
+
import { a as LockIcon, f as ChevronRightIcon, t as SvgLightningIcon, x as Button } from "./icons-CoR-lNt8.js";
|
|
8
|
+
import { t as Modal } from "./modal-CHLkFh7q.js";
|
|
9
|
+
import { n as CaptureFooter, r as ProgressBar, t as useCaptureHelpButton } from "./useCaptureHelpButton-DXnfkutk.js";
|
|
10
10
|
import { n as getCountryDisplayName, t as countryFlagEmoji } from "./countries-5e8kwG_m.js";
|
|
11
|
-
import { n as CameraFrame, t as CameraView } from "./cameraView-
|
|
12
|
-
import { n as CameraOverlay, t as CameraOverlayHeader } from "./cameraOverlayHeader-
|
|
13
|
-
import { t as BaseTutorial } from "./baseTutorial-
|
|
14
|
-
import { n as RedStrikeIcon, t as ExpiredId } from "./expiredId-
|
|
15
|
-
import { i as usePreloadCaptureAnimations, n as CaptureNotification } from "./manualCaptureButton-
|
|
11
|
+
import { n as CameraFrame, t as CameraView } from "./cameraView-DBwfS6-n.js";
|
|
12
|
+
import { n as CameraOverlay, t as CameraOverlayHeader } from "./cameraOverlayHeader-Dp_W_2pM.js";
|
|
13
|
+
import { t as BaseTutorial } from "./baseTutorial-gnuDmWZu.js";
|
|
14
|
+
import { n as RedStrikeIcon, t as ExpiredId } from "./expiredId-DBeIK41y.js";
|
|
15
|
+
import { i as usePreloadCaptureAnimations, n as CaptureNotification } from "./manualCaptureButton-CofG7dAU.js";
|
|
16
16
|
import { eventModuleNames, recordExperimentAssignmentOnce } from "@incodetech/core/events";
|
|
17
17
|
import { ONBOARDING_WEB_SDK_PARAMETER_STORE, booleanParam, defineExperimentParams, enumParam, numberParam, resolveExperiment } from "@incodetech/core/feature-management";
|
|
18
18
|
import "@incodetech/core/id";
|
package/dist/flow/flow.es.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { o as useTranslation, t as setThemeUiConfig, u as readStoredLanguage } from "../uiConfig-
|
|
1
|
+
import { o as useTranslation, t as setThemeUiConfig, u as readStoredLanguage } from "../uiConfig-l--oejse.js";
|
|
2
2
|
import { _ as y, a as P, c as A, f as d, s as z, u as T, v as u } from "../vendor-preact-C0jX1Cbq.js";
|
|
3
|
-
import { S as useManager, a as ResolvedConfigProvider, d as TransitionSpinner, s as TerminalErrorPage, t as IncodeComponent } from "../incodeComponent-
|
|
4
|
-
import { b as ErrorIcon } from "../icons-
|
|
5
|
-
import { t as StatusPage } from "../statusPage-
|
|
6
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
7
|
-
import { a as LAZY_UI_MODULES, c as initializeFlowManager, f as warmupWasmIfNeeded, i as HEADLESS_FLOW_MODULE_KEYS, l as preloadFirstModule, m as resolveSessionLanguage, n as extractIncodeStatus, o as createFlowManager, r as UnsupportedModule, s as fetchTheme, t as resolveApiKey, u as preloadHomeScreen } from "../resolveApiKey-
|
|
3
|
+
import { C as withSessionExpiry, S as useManager, a as ResolvedConfigProvider, d as TransitionSpinner, s as TerminalErrorPage, t as IncodeComponent } from "../incodeComponent-C_gndce_.js";
|
|
4
|
+
import { b as ErrorIcon } from "../icons-CoR-lNt8.js";
|
|
5
|
+
import { t as StatusPage } from "../statusPage-BRMErqIi.js";
|
|
6
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-CnL68MWv.js";
|
|
7
|
+
import { a as LAZY_UI_MODULES, c as initializeFlowManager, f as warmupWasmIfNeeded, i as HEADLESS_FLOW_MODULE_KEYS, l as preloadFirstModule, m as resolveSessionLanguage, n as extractIncodeStatus, o as createFlowManager, r as UnsupportedModule, s as fetchTheme, t as resolveApiKey, u as preloadHomeScreen } from "../resolveApiKey-TTkYo040.js";
|
|
8
8
|
import { i as usePrefetchNextModule, n as useModuleLoader, r as useModulePreloader } from "../useModuleLoader-DpcbSKBH.js";
|
|
9
|
-
import { getNextRequiredWasmPipelines } from "@incodetech/core/flow";
|
|
10
9
|
import { bootstrapSession, refreshQrUrlUuid } from "@incodetech/core/session";
|
|
10
|
+
import { getNextRequiredWasmPipelines } from "@incodetech/core/flow";
|
|
11
11
|
//#region src/shared/processing/useDelayedFlag.ts
|
|
12
12
|
/**
|
|
13
13
|
* Returns `true` only once `isTrue` has stayed `true` continuously for
|
|
@@ -532,7 +532,7 @@ function useFlowStyles(enabled, onError, nonce) {
|
|
|
532
532
|
}
|
|
533
533
|
//#endregion
|
|
534
534
|
//#region src/modules/flow/flow.tsx
|
|
535
|
-
var LazyHomeScreen = z(() => import("../homeScreen-
|
|
535
|
+
var LazyHomeScreen = z(() => import("../homeScreen-D2gcxVZl.js").then((module) => ({ default: module.HomeScreen })));
|
|
536
536
|
var IncodeFlowInitialization = ({ config, onFinish, onError, stylesReady }) => {
|
|
537
537
|
const { i18n } = useTranslation();
|
|
538
538
|
const initialSessionLanguage = A(isSelfLoadingFlowConfig(config) ? resolveSessionLanguage(config.lang, i18n.language, readStoredLanguage()) : config.lang).current;
|
|
@@ -1087,7 +1087,7 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
1087
1087
|
}
|
|
1088
1088
|
return null;
|
|
1089
1089
|
};
|
|
1090
|
-
var
|
|
1090
|
+
var IncodeFlowContentRoot = ({ config, onFinish = () => {}, onError }) => {
|
|
1091
1091
|
const styles = useFlowStyles(config?.injectCss, onError, config?.cssNonce);
|
|
1092
1092
|
if (styles.error) return /* @__PURE__ */ u(IncodeComponent, { children: /* @__PURE__ */ u(TerminalErrorPage, {}) });
|
|
1093
1093
|
return /* @__PURE__ */ u(IncodeComponent, { children: config ? /* @__PURE__ */ u(ResolvedConfigProvider, { children: /* @__PURE__ */ u(IncodeFlowInitialization, {
|
|
@@ -1097,6 +1097,7 @@ var IncodeFlow = ({ config, onFinish = () => {}, onError }) => {
|
|
|
1097
1097
|
stylesReady: styles.ready
|
|
1098
1098
|
}) }) : null });
|
|
1099
1099
|
};
|
|
1100
|
+
var IncodeFlow = withSessionExpiry(IncodeFlowContentRoot);
|
|
1100
1101
|
registerIncodeModuleElement(IncodeFlow, "incode-flow");
|
|
1101
1102
|
//#endregion
|
|
1102
1103
|
export { IncodeFlow, preloadIncodeFlow };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { o as useTranslation } from "./uiConfig-
|
|
1
|
+
import { o as useTranslation } from "./uiConfig-l--oejse.js";
|
|
2
2
|
import { v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
3
|
-
import { t as InputComposed } from "./inputComposed-
|
|
3
|
+
import { t as InputComposed } from "./inputComposed-DygKmx9b.js";
|
|
4
4
|
//#region src/shared/errorParams.ts
|
|
5
5
|
/**
|
|
6
6
|
* Resolves error params by translating the `fieldName` key
|
|
@@ -2278,7 +2278,11 @@ var fr_default = {
|
|
|
2278
2278
|
"tryAgain": "Réessayez dans {{time}} secondes",
|
|
2279
2279
|
"verificationCode": "Code de vérification"
|
|
2280
2280
|
},
|
|
2281
|
-
"page": { "close": {
|
|
2281
|
+
"page": { "close": {
|
|
2282
|
+
"cancel": "Annuler",
|
|
2283
|
+
"confirm": "Quitter",
|
|
2284
|
+
"confirmQuit": "Êtes-vous sûr de vouloir arrêter ?"
|
|
2285
|
+
} },
|
|
2282
2286
|
"payment": { "labels": { "postalCode": "Code postal de facturation" } },
|
|
2283
2287
|
"permissionMessage": "Appuyez sur \"Autoriser\" pour continuer",
|
|
2284
2288
|
"phone": {
|
|
@@ -2278,7 +2278,11 @@ var fr_CA_default = {
|
|
|
2278
2278
|
"tryAgain": "Réessayez dans {{time}} secondes",
|
|
2279
2279
|
"verificationCode": "Code de vérification"
|
|
2280
2280
|
},
|
|
2281
|
-
"page": { "close": {
|
|
2281
|
+
"page": { "close": {
|
|
2282
|
+
"cancel": "Annuler",
|
|
2283
|
+
"confirm": "Quitter",
|
|
2284
|
+
"confirmQuit": "Êtes-vous sûr de vouloir arrêter ?"
|
|
2285
|
+
} },
|
|
2282
2286
|
"payment": { "labels": { "postalCode": "Code postal de facturation" } },
|
|
2283
2287
|
"permissionMessage": "Permettre à l'autorisation d'achever la procédure",
|
|
2284
2288
|
"phone": {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as Trans, o as useTranslation } from "../uiConfig-
|
|
1
|
+
import { a as Trans, o as useTranslation } from "../uiConfig-l--oejse.js";
|
|
2
2
|
import { S as k, v as u } from "../vendor-preact-C0jX1Cbq.js";
|
|
3
|
-
import { S as useManager, b as useModuleTerminalCallbacks, c as Page, i as withStandaloneModuleBootstrap, t as IncodeComponent } from "../incodeComponent-
|
|
4
|
-
import { t as Spacer } from "../spacer-
|
|
5
|
-
import { x as Button } from "../icons-
|
|
6
|
-
import { t as VerificationResult } from "../verificationResult-
|
|
7
|
-
import { t as ConnectionError } from "../connectionError-
|
|
3
|
+
import { S as useManager, b as useModuleTerminalCallbacks, c as Page, i as withStandaloneModuleBootstrap, t as IncodeComponent } from "../incodeComponent-C_gndce_.js";
|
|
4
|
+
import { t as Spacer } from "../spacer-BOHKKZQS.js";
|
|
5
|
+
import { x as Button } from "../icons-CoR-lNt8.js";
|
|
6
|
+
import { t as VerificationResult } from "../verificationResult-2eP0SSLa.js";
|
|
7
|
+
import { t as ConnectionError } from "../connectionError-DI5hSA73.js";
|
|
8
8
|
import { t as NumberedStep } from "../numberedStep-C8e_uPaz.js";
|
|
9
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
9
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-CnL68MWv.js";
|
|
10
10
|
import { getBrowser, getDeviceClass } from "@incodetech/core/device";
|
|
11
11
|
import { createGeolocationManager } from "@incodetech/core/geolocation";
|
|
12
12
|
//#region src/modules/geolocation/LocationActiveIcon.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { o as useTranslation } from "../uiConfig-
|
|
1
|
+
import { o as useTranslation } from "../uiConfig-l--oejse.js";
|
|
2
2
|
import { v as u } from "../vendor-preact-C0jX1Cbq.js";
|
|
3
|
-
import { S as useManager, b as useModuleTerminalCallbacks, c as Page, d as TransitionSpinner, i as withStandaloneModuleBootstrap, t as IncodeComponent } from "../incodeComponent-
|
|
4
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
3
|
+
import { S as useManager, b as useModuleTerminalCallbacks, c as Page, d as TransitionSpinner, i as withStandaloneModuleBootstrap, t as IncodeComponent } from "../incodeComponent-C_gndce_.js";
|
|
4
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-CnL68MWv.js";
|
|
5
5
|
import { createGovernmentValidationManager } from "@incodetech/core/government-validation";
|
|
6
6
|
//#region src/modules/government-validation/governmentIncodeLogo.tsx
|
|
7
7
|
var VerifiedByGovIncodeLogo = () => {
|
|
@@ -2281,7 +2281,11 @@ var he_default = {
|
|
|
2281
2281
|
"tryAgain": "נסה שוב בעוד {{time}} שניות",
|
|
2282
2282
|
"verificationCode": "קוד אימות"
|
|
2283
2283
|
},
|
|
2284
|
-
"page": { "close": {
|
|
2284
|
+
"page": { "close": {
|
|
2285
|
+
"cancel": "לְבַטֵל",
|
|
2286
|
+
"confirm": "לְהַפְסִיק",
|
|
2287
|
+
"confirmQuit": "האם אתה בטוח שאתה רוצה לפרוש?"
|
|
2288
|
+
} },
|
|
2285
2289
|
"payment": { "labels": { "postalCode": "מיקוד לחיוב" } },
|
|
2286
2290
|
"permissionMessage": "אפשר להרשאה להשלים את התהליך",
|
|
2287
2291
|
"phone": {
|
|
@@ -2275,7 +2275,11 @@ var hi_default = {
|
|
|
2275
2275
|
"tryAgain": "{{time}} सेकंड में पुनः प्रयास करें",
|
|
2276
2276
|
"verificationCode": "सत्यापन कोड"
|
|
2277
2277
|
},
|
|
2278
|
-
"page": { "close": {
|
|
2278
|
+
"page": { "close": {
|
|
2279
|
+
"cancel": "रद्द करना",
|
|
2280
|
+
"confirm": "छोड़ना",
|
|
2281
|
+
"confirmQuit": "क्या आप वाकई छोड़ना चाहते हैं?"
|
|
2282
|
+
} },
|
|
2279
2283
|
"payment": { "labels": { "postalCode": "बिलिंग पोस्टल कोड" } },
|
|
2280
2284
|
"permissionMessage": "प्रक्रिया को पूरा करने की अनुमति दें",
|
|
2281
2285
|
"phone": {
|
|
@@ -2275,7 +2275,11 @@ var hmn_default = {
|
|
|
2275
2275
|
"tryAgain": "Sim dua hauv {{time}} vib nas this",
|
|
2276
2276
|
"verificationCode": "Tus lej pov thawj"
|
|
2277
2277
|
},
|
|
2278
|
-
"page": { "close": {
|
|
2278
|
+
"page": { "close": {
|
|
2279
|
+
"cancel": "Tshem tawm",
|
|
2280
|
+
"confirm": "Tawm mus",
|
|
2281
|
+
"confirmQuit": "Koj puas paub tseeb tias koj xav tawm haujlwm?"
|
|
2282
|
+
} },
|
|
2279
2283
|
"payment": { "labels": { "postalCode": "Tus lej xa ntawv them nqi" } },
|
|
2280
2284
|
"permissionMessage": "Tso cai rau ua kom tiav cov txheej txheem",
|
|
2281
2285
|
"phone": {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { d as getLanguageEmoji, f as supportedLanguages, o as useTranslation, r as useUiConfig } from "./uiConfig-
|
|
1
|
+
import { d as getLanguageEmoji, f as supportedLanguages, o as useTranslation, r as useUiConfig } from "./uiConfig-l--oejse.js";
|
|
2
2
|
import { _ as y, c as A, f as d, u as T, v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
3
|
-
import { t as Spacer } from "./spacer-
|
|
4
|
-
import { x as Button } from "./icons-
|
|
3
|
+
import { t as Spacer } from "./spacer-BOHKKZQS.js";
|
|
4
|
+
import { x as Button } from "./icons-CoR-lNt8.js";
|
|
5
5
|
import "./incode-logo-BzJOZr3f.js";
|
|
6
|
-
import { t as Modal } from "./modal-
|
|
7
|
-
import { t as DropdownComposed } from "./dropdownComposed-
|
|
8
|
-
import "./dropdownComposed-
|
|
6
|
+
import { t as Modal } from "./modal-CHLkFh7q.js";
|
|
7
|
+
import { t as DropdownComposed } from "./dropdownComposed-CF9fQIkg.js";
|
|
8
|
+
import "./dropdownComposed-DCEDlVED.js";
|
|
9
9
|
//#region src/shared/homeScreen/language.ts
|
|
10
10
|
function capitalizeLabel(text, locale) {
|
|
11
11
|
const [firstCharacter, ...rest] = Array.from(text);
|
|
@@ -2278,7 +2278,11 @@ var hr_default = {
|
|
|
2278
2278
|
"tryAgain": "Pokušajte ponovo za {{time}} sekundi",
|
|
2279
2279
|
"verificationCode": "Verifikacijski kod"
|
|
2280
2280
|
},
|
|
2281
|
-
"page": { "close": {
|
|
2281
|
+
"page": { "close": {
|
|
2282
|
+
"cancel": "Otkazati",
|
|
2283
|
+
"confirm": "Prestati",
|
|
2284
|
+
"confirmQuit": "Jeste li sigurni da želite odustati?"
|
|
2285
|
+
} },
|
|
2282
2286
|
"payment": { "labels": { "postalCode": "Poštanski broj za naplatu" } },
|
|
2283
2287
|
"permissionMessage": "Dopustite dopuštenje za dovršetak procesa",
|
|
2284
2288
|
"phone": {
|
|
@@ -2275,7 +2275,11 @@ var ht_default = {
|
|
|
2275
2275
|
"tryAgain": "Eseye ankò nan {{time}} segonn",
|
|
2276
2276
|
"verificationCode": "Kòd verifikasyon"
|
|
2277
2277
|
},
|
|
2278
|
-
"page": { "close": {
|
|
2278
|
+
"page": { "close": {
|
|
2279
|
+
"cancel": "Anile",
|
|
2280
|
+
"confirm": "Kite",
|
|
2281
|
+
"confirmQuit": "Èske ou sèten ou vle kite?"
|
|
2282
|
+
} },
|
|
2279
2283
|
"payment": { "labels": { "postalCode": "Kòd Postal Faktirasyon" } },
|
|
2280
2284
|
"permissionMessage": "Pèmèt pèmisyon pou konplete pwosesis la",
|
|
2281
2285
|
"phone": {
|
|
@@ -2275,7 +2275,11 @@ var hu_default = {
|
|
|
2275
2275
|
"tryAgain": "Próbálja újra {{time}} másodperc múlva",
|
|
2276
2276
|
"verificationCode": "Ellenőrző kód"
|
|
2277
2277
|
},
|
|
2278
|
-
"page": { "close": {
|
|
2278
|
+
"page": { "close": {
|
|
2279
|
+
"cancel": "Mégse",
|
|
2280
|
+
"confirm": "Kilépés",
|
|
2281
|
+
"confirmQuit": "Biztos, hogy ki akarsz szállni?"
|
|
2282
|
+
} },
|
|
2279
2283
|
"payment": { "labels": { "postalCode": "Számlázási irányítószám" } },
|
|
2280
2284
|
"permissionMessage": "Engedélyezze a folyamat befejezését",
|
|
2281
2285
|
"phone": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { S as k, i as D, p as g, v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
2
|
-
import { d as cn, n as LoadingIcon } from "./spacer-
|
|
2
|
+
import { d as cn, n as LoadingIcon } from "./spacer-BOHKKZQS.js";
|
|
3
3
|
//#region src/shared/button/button.tsx
|
|
4
4
|
var LOADER_SIZE = 30;
|
|
5
5
|
var variantClass = {
|
package/dist/id/id.es.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { o as useTranslation } from "../uiConfig-
|
|
1
|
+
import { o as useTranslation } from "../uiConfig-l--oejse.js";
|
|
2
2
|
import { S as k, _ as y, a as P, c as A, f as d, h as q, s as z, u as T, v as u } from "../vendor-preact-C0jX1Cbq.js";
|
|
3
|
-
import { S as useManager, _ as useIsMobileDeviceWidth, b as useModuleTerminalCallbacks, c as Page, d as TransitionSpinner, f as useFeatureManagement, i as withStandaloneModuleBootstrap, l as VerifiedByIncodeLogo, m as useTimeoutHandle, o as useHasResolvedConfig, t as IncodeComponent } from "../incodeComponent-
|
|
4
|
-
import { d as cn, i as preloadAnimations, r as AnimatedAsset, s as Asset, t as Spacer } from "../spacer-
|
|
5
|
-
import { o as TypographyP, t as Title } from "../typography-
|
|
6
|
-
import { t as Spinner } from "../spinner-
|
|
7
|
-
import { a as LockIcon, b as ErrorIcon, f as ChevronRightIcon, r as SuccessIcon, x as Button } from "../icons-
|
|
8
|
-
import { t as AutoFocusTitle } from "../autoFocusTitle-
|
|
9
|
-
import { t as Processing } from "../processing-
|
|
10
|
-
import { t as Modal } from "../modal-
|
|
11
|
-
import { t as ErrorContent } from "../errorContent-
|
|
12
|
-
import { t as VerificationResult } from "../verificationResult-
|
|
13
|
-
import { r as ProgressBar } from "../useCaptureHelpButton-
|
|
14
|
-
import { a as IdNoAttempts, c as canFlipCapturedCard, d as CAMERA_PERMISSION_UX, f as CONTINUING_TUTORIAL_PHASES, g as PERMISSION_DIALOG_STATUS, h as ID_CAPTURE_STATUS, i as Capture, l as CaptureFrame, m as ID_CAPTURE_LOADING_PHASE, n as Chooser, o as IdExpired, p as EXPERIMENT_LIFECYCLE_STATUS, r as Tutorial, s as IdError, t as FlipAnimation, u as useIdExperiment } from "../flipAnimation-
|
|
15
|
-
import { t as BottomSheet } from "../bottomSheet-
|
|
16
|
-
import { i as SvgReloadIcon, n as SvgCheckV2Icon, r as SvgPersonCardIcon } from "../denied-
|
|
17
|
-
import { n as PermissionsDialog, t as Permissions } from "../permissions-
|
|
18
|
-
import { t as PdfViewer } from "../pdfViewer-
|
|
19
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
3
|
+
import { S as useManager, _ as useIsMobileDeviceWidth, b as useModuleTerminalCallbacks, c as Page, d as TransitionSpinner, f as useFeatureManagement, i as withStandaloneModuleBootstrap, l as VerifiedByIncodeLogo, m as useTimeoutHandle, o as useHasResolvedConfig, t as IncodeComponent } from "../incodeComponent-C_gndce_.js";
|
|
4
|
+
import { d as cn, i as preloadAnimations, r as AnimatedAsset, s as Asset, t as Spacer } from "../spacer-BOHKKZQS.js";
|
|
5
|
+
import { o as TypographyP, t as Title } from "../typography-DlD8BV4O.js";
|
|
6
|
+
import { t as Spinner } from "../spinner-Bx8ZPiHm.js";
|
|
7
|
+
import { a as LockIcon, b as ErrorIcon, f as ChevronRightIcon, r as SuccessIcon, x as Button } from "../icons-CoR-lNt8.js";
|
|
8
|
+
import { t as AutoFocusTitle } from "../autoFocusTitle-DlCuVRy0.js";
|
|
9
|
+
import { t as Processing } from "../processing-huTtclBq.js";
|
|
10
|
+
import { t as Modal } from "../modal-CHLkFh7q.js";
|
|
11
|
+
import { t as ErrorContent } from "../errorContent-fEkNWTui.js";
|
|
12
|
+
import { t as VerificationResult } from "../verificationResult-2eP0SSLa.js";
|
|
13
|
+
import { r as ProgressBar } from "../useCaptureHelpButton-DXnfkutk.js";
|
|
14
|
+
import { a as IdNoAttempts, c as canFlipCapturedCard, d as CAMERA_PERMISSION_UX, f as CONTINUING_TUTORIAL_PHASES, g as PERMISSION_DIALOG_STATUS, h as ID_CAPTURE_STATUS, i as Capture, l as CaptureFrame, m as ID_CAPTURE_LOADING_PHASE, n as Chooser, o as IdExpired, p as EXPERIMENT_LIFECYCLE_STATUS, r as Tutorial, s as IdError, t as FlipAnimation, u as useIdExperiment } from "../flipAnimation-CgZPA_-M.js";
|
|
15
|
+
import { t as BottomSheet } from "../bottomSheet-Cx-a2e87.js";
|
|
16
|
+
import { i as SvgReloadIcon, n as SvgCheckV2Icon, r as SvgPersonCardIcon } from "../denied-Cd_jJ2fB.js";
|
|
17
|
+
import { n as PermissionsDialog, t as Permissions } from "../permissions-BCe18yuZ.js";
|
|
18
|
+
import { t as PdfViewer } from "../pdfViewer-pnH5iVr3.js";
|
|
19
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-CnL68MWv.js";
|
|
20
20
|
import { t as SvgIdBackOfCard } from "../id-back-of-card-B6EcmiCs.js";
|
|
21
21
|
import { t as SvgIdBackOfCardVertical } from "../id-back-of-card-vertical-B3FXhPpj.js";
|
|
22
22
|
import { t as SvgIdFrontOfCard } from "../id-front-of-card-V_BlLaZr.js";
|
|
23
23
|
import { t as SvgIdFrontOfCardVertical } from "../id-front-of-card-vertical-CuZjL8kc.js";
|
|
24
|
-
import { t as Tabs } from "../tabs-
|
|
24
|
+
import { t as Tabs } from "../tabs-Dl0_VwWh.js";
|
|
25
25
|
import { ONBOARDING_WEB_SDK_PARAMETER_STORE } from "@incodetech/core/feature-management";
|
|
26
26
|
import { createIdCaptureManager } from "@incodetech/core/id";
|
|
27
27
|
//#region src/shared/fonts/preloadDisplayFont.ts
|
|
@@ -1591,7 +1591,7 @@ function useIdTutorialWithPermissionsUxStage(state) {
|
|
|
1591
1591
|
}
|
|
1592
1592
|
//#endregion
|
|
1593
1593
|
//#region src/modules/id/id.tsx
|
|
1594
|
-
var MandatoryConsent = z(() => import("../mandatoryConsent-
|
|
1594
|
+
var MandatoryConsent = z(() => import("../mandatoryConsent-C4kzzUFt.js").then((module) => ({ default: module.MandatoryConsent })));
|
|
1595
1595
|
var IdContent = ({ config, manager: externalManager, onFinish, onError }) => {
|
|
1596
1596
|
usePreloadDisplayFont();
|
|
1597
1597
|
y(() => {
|
|
@@ -2272,7 +2272,11 @@ var id_default = {
|
|
|
2272
2272
|
"tryAgain": "Coba lagi di {{time}} detik",
|
|
2273
2273
|
"verificationCode": "Kode verifikasi"
|
|
2274
2274
|
},
|
|
2275
|
-
"page": { "close": {
|
|
2275
|
+
"page": { "close": {
|
|
2276
|
+
"cancel": "Batal",
|
|
2277
|
+
"confirm": "Keluar",
|
|
2278
|
+
"confirmQuit": "Apakah Anda yakin ingin berhenti?"
|
|
2279
|
+
} },
|
|
2276
2280
|
"payment": { "labels": { "postalCode": "Kode Pos untuk Penagihan" } },
|
|
2277
2281
|
"permissionMessage": "Izinkan izin untuk menyelesaikan proses",
|
|
2278
2282
|
"phone": {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { o as useTranslation } from "../uiConfig-
|
|
1
|
+
import { o as useTranslation } from "../uiConfig-l--oejse.js";
|
|
2
2
|
import { _ as y, f as d, u as T, v as u } from "../vendor-preact-C0jX1Cbq.js";
|
|
3
|
-
import { S as useManager, b as useModuleTerminalCallbacks, c as Page, d as TransitionSpinner, s as TerminalErrorPage, t as IncodeComponent } from "../incodeComponent-
|
|
4
|
-
import { t as Title } from "../typography-
|
|
5
|
-
import { t as CameraView } from "../cameraView-
|
|
6
|
-
import { t as Permissions } from "../permissions-
|
|
7
|
-
import { r as preloadCaptureAnimations } from "../manualCaptureButton-
|
|
8
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
9
|
-
import { a as IdFlipModal, c as VideoSelfieTutorial, i as IdMask, l as useVideoSelfiePermissions, n as SwitchingCameraScreen, o as preloadIdFlipAnimation, r as StepsHeader, s as SelfieMask, t as VideoSelfieFinalSuccessScreen } from "../finalSuccessScreen-
|
|
3
|
+
import { C as withSessionExpiry, S as useManager, b as useModuleTerminalCallbacks, c as Page, d as TransitionSpinner, s as TerminalErrorPage, t as IncodeComponent } from "../incodeComponent-C_gndce_.js";
|
|
4
|
+
import { t as Title } from "../typography-DlD8BV4O.js";
|
|
5
|
+
import { t as CameraView } from "../cameraView-DBwfS6-n.js";
|
|
6
|
+
import { t as Permissions } from "../permissions-BCe18yuZ.js";
|
|
7
|
+
import { r as preloadCaptureAnimations } from "../manualCaptureButton-CofG7dAU.js";
|
|
8
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-CnL68MWv.js";
|
|
9
|
+
import { a as IdFlipModal, c as VideoSelfieTutorial, i as IdMask, l as useVideoSelfiePermissions, n as SwitchingCameraScreen, o as preloadIdFlipAnimation, r as StepsHeader, s as SelfieMask, t as VideoSelfieFinalSuccessScreen } from "../finalSuccessScreen-DZGfmiDk.js";
|
|
10
10
|
import { createIdSelfieFlowManager, resolveIdSelfieFlowConfig, warmupIdSelfieFlowWasm } from "@incodetech/core/id-selfie-flow";
|
|
11
11
|
import { facingModeForStep } from "@incodetech/core/video-selfie";
|
|
12
12
|
//#region src/modules/id-selfie-flow/id-selfie-flow.tsx
|
|
@@ -203,7 +203,7 @@ var IdSelfieFlowContent = ({ config, onFinish, onError }) => {
|
|
|
203
203
|
*
|
|
204
204
|
* @see {@link createIdSelfieFlowManager} for headless usage.
|
|
205
205
|
*/
|
|
206
|
-
var
|
|
206
|
+
var IdSelfieFlowContentRoot = ({ config, onFinish, onError }) => {
|
|
207
207
|
const [resolved, setResolved] = d({ status: "loading" });
|
|
208
208
|
y(() => {
|
|
209
209
|
const abortController = new AbortController();
|
|
@@ -234,6 +234,7 @@ var IdSelfieFlow = ({ config, onFinish, onError }) => {
|
|
|
234
234
|
})
|
|
235
235
|
] });
|
|
236
236
|
};
|
|
237
|
+
var IdSelfieFlow = withSessionExpiry(IdSelfieFlowContentRoot);
|
|
237
238
|
registerIncodeModuleElement(IdSelfieFlow, "incode-id-selfie-flow");
|
|
238
239
|
//#endregion
|
|
239
240
|
export { IdSelfieFlow };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { v as u } from "../vendor-preact-C0jX1Cbq.js";
|
|
2
|
-
import { S as useManager, b as useModuleTerminalCallbacks, t as IncodeComponent } from "../incodeComponent-
|
|
3
|
-
import { t as Spinner } from "../spinner-
|
|
4
|
-
import { t as ExpiredId } from "../expiredId-
|
|
5
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
2
|
+
import { C as withSessionExpiry, S as useManager, b as useModuleTerminalCallbacks, t as IncodeComponent } from "../incodeComponent-C_gndce_.js";
|
|
3
|
+
import { t as Spinner } from "../spinner-Bx8ZPiHm.js";
|
|
4
|
+
import { t as ExpiredId } from "../expiredId-DBeIK41y.js";
|
|
5
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-CnL68MWv.js";
|
|
6
6
|
import { createIdVerificationManager } from "@incodetech/core/id-verification";
|
|
7
7
|
//#region src/modules/id-verification/id-verification.tsx
|
|
8
8
|
var IdVerificationContent = ({ config, manager: externalManager, onFinish }) => {
|
|
@@ -18,11 +18,12 @@ var IdVerificationContent = ({ config, manager: externalManager, onFinish }) =>
|
|
|
18
18
|
if (state.status === "expired") return /* @__PURE__ */ u(ExpiredId, { onContinue: () => manager.continue() });
|
|
19
19
|
return /* @__PURE__ */ u(Spinner, { fullScreen: true });
|
|
20
20
|
};
|
|
21
|
-
var
|
|
21
|
+
var IdVerificationContentRoot = ({ config, manager, onFinish }) => /* @__PURE__ */ u(IncodeComponent, { children: config || manager ? /* @__PURE__ */ u(IdVerificationContent, {
|
|
22
22
|
config,
|
|
23
23
|
manager,
|
|
24
24
|
onFinish
|
|
25
25
|
}) : null });
|
|
26
|
+
var IdVerification = withSessionExpiry(IdVerificationContentRoot);
|
|
26
27
|
registerIncodeModuleElement(IdVerification, "incode-id-verification");
|
|
27
28
|
//#endregion
|
|
28
29
|
export { IdVerification };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { o as useTranslation } from "./uiConfig-
|
|
1
|
+
import { o as useTranslation } from "./uiConfig-l--oejse.js";
|
|
2
2
|
import { v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
3
|
-
import { S as useManager, b as useModuleTerminalCallbacks, c as Page, i as withStandaloneModuleBootstrap, t as IncodeComponent } from "./incodeComponent-
|
|
4
|
-
import { x as Button } from "./icons-
|
|
5
|
-
import { t as VerificationResult } from "./verificationResult-
|
|
6
|
-
import { t as InputComposed } from "./inputComposed-
|
|
7
|
-
import "./inputComposed-
|
|
8
|
-
import { t as DateInputComposed } from "./dateInputComposed-
|
|
9
|
-
import "./dateInputComposed-
|
|
10
|
-
import { t as RadioGroupComposed } from "./radioGroupComposed-
|
|
11
|
-
import "./radioGroupComposed-
|
|
12
|
-
import { t as registerIncodeModuleElement } from "./incodeModule-
|
|
3
|
+
import { S as useManager, b as useModuleTerminalCallbacks, c as Page, i as withStandaloneModuleBootstrap, t as IncodeComponent } from "./incodeComponent-C_gndce_.js";
|
|
4
|
+
import { x as Button } from "./icons-CoR-lNt8.js";
|
|
5
|
+
import { t as VerificationResult } from "./verificationResult-2eP0SSLa.js";
|
|
6
|
+
import { t as InputComposed } from "./inputComposed-DygKmx9b.js";
|
|
7
|
+
import "./inputComposed-lQ2lMWfH.js";
|
|
8
|
+
import { t as DateInputComposed } from "./dateInputComposed-mIXvCuo6.js";
|
|
9
|
+
import "./dateInputComposed-B-mEQHwD.js";
|
|
10
|
+
import { t as RadioGroupComposed } from "./radioGroupComposed-F3KZT9wU.js";
|
|
11
|
+
import "./radioGroupComposed-CvLp5FzR.js";
|
|
12
|
+
import { t as registerIncodeModuleElement } from "./incodeModule-CnL68MWv.js";
|
|
13
13
|
import { createIdOcrManager, getOcrFields } from "@incodetech/core/id-ocr";
|
|
14
14
|
//#region src/modules/id-ocr/idOcrForm.tsx
|
|
15
15
|
var TEXT_FIELD_COMPONENTS = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { o as useTranslation } from "../uiConfig-
|
|
1
|
+
import { o as useTranslation } from "../uiConfig-l--oejse.js";
|
|
2
2
|
import { _ as y, v as u } from "../vendor-preact-C0jX1Cbq.js";
|
|
3
|
-
import { S as useManager, b as useModuleTerminalCallbacks, c as Page, t as IncodeComponent } from "../incodeComponent-
|
|
4
|
-
import { t as Spinner } from "../spinner-
|
|
5
|
-
import { x as Button } from "../icons-
|
|
3
|
+
import { C as withSessionExpiry, S as useManager, b as useModuleTerminalCallbacks, c as Page, t as IncodeComponent } from "../incodeComponent-C_gndce_.js";
|
|
4
|
+
import { t as Spinner } from "../spinner-Bx8ZPiHm.js";
|
|
5
|
+
import { x as Button } from "../icons-CoR-lNt8.js";
|
|
6
6
|
import { t as countryFlagEmoji } from "../countries-5e8kwG_m.js";
|
|
7
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
7
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-CnL68MWv.js";
|
|
8
8
|
import { SCAN_NEW_DOCUMENT, createIdentityReuseManager } from "@incodetech/core/identity-reuse";
|
|
9
9
|
//#region src/modules/identity-reuse/identity-reuse.tsx
|
|
10
10
|
/**
|
|
@@ -209,12 +209,13 @@ var IdentityReuseContent = ({ config, manager: externalManager, onFinish, onErro
|
|
|
209
209
|
if (state.status === "finished") return null;
|
|
210
210
|
return null;
|
|
211
211
|
};
|
|
212
|
-
var
|
|
212
|
+
var IdentityReuseContentRoot = ({ config, manager, onFinish, onError }) => /* @__PURE__ */ u(IncodeComponent, { children: config || manager ? /* @__PURE__ */ u(IdentityReuseContent, {
|
|
213
213
|
config,
|
|
214
214
|
manager,
|
|
215
215
|
onFinish,
|
|
216
216
|
onError
|
|
217
217
|
}) : null });
|
|
218
|
+
var IdentityReuse = withSessionExpiry(IdentityReuseContentRoot);
|
|
218
219
|
registerIncodeModuleElement(IdentityReuse, "incode-identity-reuse");
|
|
219
220
|
//#endregion
|
|
220
221
|
export { IdentityReuse };
|
|
@@ -1,16 +1,87 @@
|
|
|
1
|
-
import { i as useTranslationWithFallback, o as useTranslation, r as useUiConfig } from "./uiConfig-
|
|
2
|
-
import { S as k, _ as y, b as Q, c as A, f as d, g as x, h as q, m as h, n as $, o as gn, r as C, u as T, v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
3
|
-
import { a as getStandaloneSetupPolicy, n as preloadDashboardTheme, t as getDashboardTheme } from "./dashboardTheme-
|
|
4
|
-
import { d as cn, l as useInstanceOverrides, t as Spacer } from "./spacer-
|
|
5
|
-
import { a as TypographyH5, i as TypographyH4 } from "./typography-
|
|
6
|
-
import { t as Spinner } from "./spinner-
|
|
7
|
-
import { b as ErrorIcon, r as SuccessIcon, x as Button } from "./icons-
|
|
1
|
+
import { i as useTranslationWithFallback, o as useTranslation, r as useUiConfig } from "./uiConfig-l--oejse.js";
|
|
2
|
+
import { S as k, _ as y, b as Q, c as A, d as _, f as d, g as x, h as q, m as h, n as $, o as gn, r as C, u as T, v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
3
|
+
import { a as getStandaloneSetupPolicy, n as preloadDashboardTheme, t as getDashboardTheme } from "./dashboardTheme-BCtyI2So.js";
|
|
4
|
+
import { d as cn, l as useInstanceOverrides, t as Spacer } from "./spacer-BOHKKZQS.js";
|
|
5
|
+
import { a as TypographyH5, i as TypographyH4 } from "./typography-DlD8BV4O.js";
|
|
6
|
+
import { t as Spinner } from "./spinner-Bx8ZPiHm.js";
|
|
7
|
+
import { b as ErrorIcon, r as SuccessIcon, x as Button } from "./icons-CoR-lNt8.js";
|
|
8
8
|
import { t as incode_logo_default } from "./incode-logo-BzJOZr3f.js";
|
|
9
|
-
import { t as AutoFocusTitle } from "./autoFocusTitle-
|
|
9
|
+
import { t as AutoFocusTitle } from "./autoFocusTitle-DlCuVRy0.js";
|
|
10
|
+
import { onSessionExpired } from "@incodetech/core/session";
|
|
10
11
|
import { ScreenOrientationProvider, createScreenOrientationObserver, getDeviceClass, isApplePlatform, isIPad, isSupportedBrowser } from "@incodetech/core/device";
|
|
11
12
|
import "@incodetech/core/events";
|
|
12
13
|
import { getExperiment, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, subscribeFeatureManagement, updateFeatureManagementUser } from "@incodetech/core/feature-management";
|
|
13
14
|
import { resolveDashboardModuleConfig } from "@incodetech/core/flow";
|
|
15
|
+
//#region src/shared/session/withSessionExpiry.tsx
|
|
16
|
+
var ExpiryOwner = Q(null);
|
|
17
|
+
function useSessionExpiryOwner() {
|
|
18
|
+
return x(ExpiryOwner);
|
|
19
|
+
}
|
|
20
|
+
/** The outermost mounted SDK surface owns teardown and host notification. */
|
|
21
|
+
function withSessionExpiry(Component) {
|
|
22
|
+
return function SessionExpiryBoundary(props) {
|
|
23
|
+
const parent = x(ExpiryOwner);
|
|
24
|
+
const owner = A({ expired: false }).current;
|
|
25
|
+
const scope = parent ?? owner;
|
|
26
|
+
const container = A(null);
|
|
27
|
+
const mounted = A(false);
|
|
28
|
+
const onError = A(props.onError);
|
|
29
|
+
onError.current = props.onError;
|
|
30
|
+
const [error, setError] = d();
|
|
31
|
+
_(() => {
|
|
32
|
+
mounted.current = true;
|
|
33
|
+
let unsubscribe;
|
|
34
|
+
const subscribe = () => {
|
|
35
|
+
unsubscribe = onSessionExpired((expired) => {
|
|
36
|
+
const root = container.current;
|
|
37
|
+
if (owner.expired || !root?.isConnected) return;
|
|
38
|
+
if (!root.hasChildNodes()) {
|
|
39
|
+
subscribe();
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
owner.expired = true;
|
|
43
|
+
setError(expired);
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
if (!parent) subscribe();
|
|
47
|
+
return () => {
|
|
48
|
+
mounted.current = false;
|
|
49
|
+
unsubscribe?.();
|
|
50
|
+
};
|
|
51
|
+
}, [owner, parent]);
|
|
52
|
+
_(() => {
|
|
53
|
+
if (!error) return;
|
|
54
|
+
queueMicrotask(() => {
|
|
55
|
+
if (!mounted.current || !container.current?.isConnected) return;
|
|
56
|
+
try {
|
|
57
|
+
onError.current?.(error.message, error.statusCode, error.code, error);
|
|
58
|
+
} catch {}
|
|
59
|
+
});
|
|
60
|
+
}, [error]);
|
|
61
|
+
const child = error ? null : /* @__PURE__ */ u(Component, {
|
|
62
|
+
...props,
|
|
63
|
+
onError: props.onError ? (...args) => {
|
|
64
|
+
if (mounted.current && !scope.expired) props.onError?.(...args);
|
|
65
|
+
} : void 0,
|
|
66
|
+
onFinish: props.onFinish ? (...args) => {
|
|
67
|
+
if (mounted.current && !scope.expired) props.onFinish?.(...args);
|
|
68
|
+
} : void 0,
|
|
69
|
+
onContinue: props.onContinue ? () => {
|
|
70
|
+
if (mounted.current && !scope.expired) props.onContinue?.();
|
|
71
|
+
} : void 0
|
|
72
|
+
});
|
|
73
|
+
if (parent) return child;
|
|
74
|
+
return /* @__PURE__ */ u(ExpiryOwner.Provider, {
|
|
75
|
+
value: owner,
|
|
76
|
+
children: /* @__PURE__ */ u("div", {
|
|
77
|
+
class: "IncodeSessionBoundary",
|
|
78
|
+
ref: container,
|
|
79
|
+
children: child
|
|
80
|
+
})
|
|
81
|
+
});
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
//#endregion
|
|
14
85
|
//#region src/hooks/useManager.ts
|
|
15
86
|
/**
|
|
16
87
|
* Hook for subscribing to manager state updates
|
|
@@ -20,6 +91,7 @@ import { resolveDashboardModuleConfig } from "@incodetech/core/flow";
|
|
|
20
91
|
*/
|
|
21
92
|
function useManager(factory, options = {}) {
|
|
22
93
|
const { autoLoad = true, manageLifecycle = true } = options;
|
|
94
|
+
const expiryOwner = useSessionExpiryOwner();
|
|
23
95
|
const [manager] = d(factory);
|
|
24
96
|
const [state, setState] = d(() => manager.getState());
|
|
25
97
|
y(() => {
|
|
@@ -27,12 +99,13 @@ function useManager(factory, options = {}) {
|
|
|
27
99
|
if (manageLifecycle && autoLoad && manager.load) manager.load();
|
|
28
100
|
return () => {
|
|
29
101
|
unsubscribe();
|
|
30
|
-
if (manageLifecycle) manager.stop?.();
|
|
102
|
+
if (manageLifecycle || expiryOwner?.expired) manager.stop?.();
|
|
31
103
|
};
|
|
32
104
|
}, [
|
|
33
105
|
manager,
|
|
34
106
|
autoLoad,
|
|
35
|
-
manageLifecycle
|
|
107
|
+
manageLifecycle,
|
|
108
|
+
expiryOwner
|
|
36
109
|
]);
|
|
37
110
|
return [state, manager];
|
|
38
111
|
}
|
|
@@ -831,7 +904,7 @@ function useStandaloneModuleBootstrap(moduleKey, config, skipConfigResolution) {
|
|
|
831
904
|
return state;
|
|
832
905
|
}
|
|
833
906
|
function withStandaloneModuleBootstrap(Component, moduleKey, options = {}) {
|
|
834
|
-
return function StandaloneModule(props) {
|
|
907
|
+
return withSessionExpiry(function StandaloneModule(props) {
|
|
835
908
|
const { config, manager, onError } = props;
|
|
836
909
|
const bootstrap = useStandaloneModuleBootstrap(moduleKey, config, options.supportsExternalManager === true && manager !== void 0);
|
|
837
910
|
y(() => {
|
|
@@ -843,7 +916,7 @@ function withStandaloneModuleBootstrap(Component, moduleKey, options = {}) {
|
|
|
843
916
|
...props,
|
|
844
917
|
config: bootstrap.config
|
|
845
918
|
});
|
|
846
|
-
};
|
|
919
|
+
});
|
|
847
920
|
}
|
|
848
921
|
//#endregion
|
|
849
922
|
//#region src/shared/snackbar/snackbar.tsx
|
|
@@ -1021,4 +1094,4 @@ function IncodeComponent({ children }) {
|
|
|
1021
1094
|
});
|
|
1022
1095
|
}
|
|
1023
1096
|
//#endregion
|
|
1024
|
-
export { useManager as S, useIsMobileDeviceWidth as _, ResolvedConfigProvider as a, useModuleTerminalCallbacks as b, Page as c, TransitionSpinner as d, useFeatureManagement as f, useEventListener as g, useResizeObserver as h, withStandaloneModuleBootstrap as i, VerifiedByIncodeLogo as l, useTimeoutHandle as m, LandscapeBlocker as n, useHasResolvedConfig as o, usePresence as p, Snackbar as r, TerminalErrorPage as s, IncodeComponent as t, usePageUiConfig as u, useFormScrollable as v, useScreenOrientation as x, isTerminalModuleState as y };
|
|
1097
|
+
export { withSessionExpiry as C, useManager as S, useIsMobileDeviceWidth as _, ResolvedConfigProvider as a, useModuleTerminalCallbacks as b, Page as c, TransitionSpinner as d, useFeatureManagement as f, useEventListener as g, useResizeObserver as h, withStandaloneModuleBootstrap as i, VerifiedByIncodeLogo as l, useTimeoutHandle as m, LandscapeBlocker as n, useHasResolvedConfig as o, usePresence as p, Snackbar as r, TerminalErrorPage as s, IncodeComponent as t, usePageUiConfig as u, useFormScrollable as v, useScreenOrientation as x, isTerminalModuleState as y };
|