@incodetech/web 2.3.0-rc.0 → 2.3.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ae-signature/ae-signature.es.js +3 -3
- package/dist/{af-ZA-DTqKc5t4.js → af-ZA-CiGNWICE.js} +2 -0
- package/dist/{am-EGNy2cbo.js → am-C5YehVGG.js} +2 -0
- package/dist/antifraud/antifraud.es.js +3 -3
- package/dist/{ar-AE-Cb55U6s-.js → ar-AE-BMJuIKTB.js} +4 -2
- package/dist/{ar-MUpu33jy.js → ar-CUw7KMHb.js} +3 -1
- package/dist/{ar-EG-C8ucZII6.js → ar-EG-ojf2Ene5.js} +3 -1
- package/dist/authentication/authentication.es.js +4 -4
- package/dist/{autoFocusTitle-CIbcUW_x.js → autoFocusTitle-CVjuQOGZ.js} +1 -1
- package/dist/{az-DlXjPSya.js → az-DsqjgKhY.js} +2 -0
- package/dist/{baseTutorial-DkL0vjUa.js → baseTutorial-BM2Ho3QZ.js} +3 -3
- package/dist/{bn-BuTjJr44.js → bn-Bbn6O_i2.js} +2 -0
- package/dist/{bottomSheet-DtUFrIAG.js → bottomSheet-Cixb81_b.js} +1 -1
- package/dist/{bs-DUzGtLhU.js → bs-CYW5eATI.js} +2 -0
- package/dist/{ca-B6SY43GQ.js → ca-D5u2Z71o.js} +2 -0
- package/dist/cameraOverlay-MpL3OBQu.js +2 -0
- package/dist/{cameraOverlayHeader-CsokPtuL.js → cameraOverlayHeader-BarDrIC9.js} +2 -2
- package/dist/{cameraView-DrTBPNWX.js → cameraView-BNqv7JUh.js} +2 -2
- package/dist/{captureFooter-DWCaAdIU.js → captureFooter-De74TCQi.js} +3 -3
- package/dist/{ceb-DmXy5txv.js → ceb-tXsl4nyX.js} +2 -0
- package/dist/certificate-issuance/certificate-issuance.es.js +8 -8
- package/dist/{checkbox-D0wfscwg.js → checkbox-BR-RTI4R.js} +2 -2
- package/dist/{connectionError-B61O7L3N.js → connectionError-Haw33Di8.js} +3 -3
- package/dist/consent/consent.es.js +6 -6
- package/dist/{countrySelector-C60Cdc5P.js → countrySelector-Zbe2eGzy.js} +2 -2
- package/dist/cross-document-data-match/cross-document-data-match.es.js +3 -3
- package/dist/{cs-CZ-Gn3ZmW27.js → cs-CZ-BUx_DNTa.js} +3 -1
- package/dist/{cs-dsQ7umNS.js → cs-D_6Vg3XS.js} +3 -1
- package/dist/curp-validation/curp-validation.es.js +11 -11
- package/dist/{customFields-BdnLB6L1.js → customFields-CEFWn2wC.js} +9 -9
- package/dist/{customWatchlist-DzeHJAa3.js → customWatchlist-Xn3d-zbf.js} +6 -6
- package/dist/{da-DK-CFQaOERk.js → da-DK-CsmjiCBo.js} +3 -1
- package/dist/{dashboardTheme-BwKtcRSO.js → dashboardTheme-B_YjGFDU.js} +1 -1
- package/dist/dateInputComposed-0tUVTT0_.js +1 -0
- package/dist/{dateInputComposed-BcmKKwRL.js → dateInputComposed-ByhgHDX8.js} +4 -4
- package/dist/{de-BqG02U9o.js → de-BsJlhx6J.js} +3 -1
- package/dist/{permissions-DowRodJj.js → denied-CB1v3PyY.js} +154 -212
- package/dist/document-capture/document-capture.es.js +1 -1
- package/dist/{documentCapture-CoMsW_gC.js → documentCapture-Cj8G5Wgb.js} +15 -15
- package/dist/documentCapture-D0o4Xh1J.js +2 -0
- package/dist/dropdownComposed-BsEtJjhn.js +1 -0
- package/dist/{dropdownComposed-DYdI3B4r.js → dropdownComposed-DptsxuHA.js} +2 -2
- package/dist/dynamic-forms/dynamic-forms.es.js +10 -10
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/ekybModule-B-gioC08.js +2 -0
- package/dist/{ekybModule-BRh9D01p.js → ekybModule-DqA0hfNQ.js} +12 -12
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/ekycModule-CjkpPQ3f.js +2 -0
- package/dist/{ekycModule-Da6Bl3jg.js → ekycModule-bRC6FW2H.js} +12 -12
- package/dist/{el-BP_RmMeB.js → el-Dq-L-4X5.js} +4 -2
- package/dist/{el-GR-9I2fVd-W.js → el-GR-c9roJIs_.js} +3 -1
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-KFF7qbid.js → electronic-signature-DRMdCzdF.js} +8 -8
- package/dist/email/email.es.js +7 -7
- package/dist/{emailInput-B_qAEKBC.js → emailInput-Dz8ukhAE.js} +3 -3
- package/dist/{en-DnIfMNS1.js → en-CmZT05w8.js} +3 -1
- package/dist/{en-DG-poeSJZ7W.js → en-DG-BQHfwiXE.js} +3 -1
- package/dist/{errorContent-CMNfCIo_.js → errorContent-aJuo21I4.js} +5 -5
- package/dist/{es-419-DgAnO5DV.js → es-419-CoqfXTDl.js} +3 -1
- package/dist/{es-2x55EFTs.js → es-DXFWBB40.js} +3 -1
- package/dist/{es-ES-BSnroYMU.js → es-ES-TOSb7vSR.js} +3 -1
- package/dist/{es-MX-CfztSSs4.js → es-MX-CpubyuFB.js} +3 -1
- package/dist/{et-CPoI8fYI.js → et-dg12JfIX.js} +4 -2
- package/dist/{expiredId-DJYL_--M.js → expiredId-BPgVum6e.js} +5 -5
- package/dist/extensibility.es.js +34 -34
- package/dist/{fa-IR-CVf6F8GG.js → fa-IR-TKcZgrd1.js} +2 -0
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/{faceMatch-CwoYbKBB.js → faceMatch-BcScQR2O.js} +6 -6
- package/dist/faceMatch-BvaN_Ggn.js +2 -0
- package/dist/{fi-FI-A4oUFztt.js → fi-FI-BP9vgY5F.js} +2 -0
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/fieldComparison-D4YoXJKX.js +2 -0
- package/dist/{fieldComparison-D2WI5cYb.js → fieldComparison-UKZsi875.js} +7 -7
- package/dist/{finalSuccessScreen-BtJ5o2pi.js → finalSuccessScreen-7OX0TdIz.js} +9 -9
- package/dist/fiscal-qr/fiscal-qr.es.js +15 -9
- package/dist/{flipAnimation-Bb5FQVF-.js → flipAnimation-BwI4pEJc.js} +13 -13
- package/dist/flow/flow.es.js +7 -7
- package/dist/{formField-CBwWQ7wD.js → formField-DWExlgnz.js} +2 -2
- package/dist/{fr-ON88Zj-c.js → fr-B4LoNDGy.js} +3 -1
- package/dist/{fr-CA-CI4CD8PC.js → fr-CA-CjN8CDsE.js} +3 -1
- package/dist/geolocation/geolocation.es.js +8 -8
- package/dist/government-validation/government-validation.es.js +3 -3
- package/dist/{he-pbmbYdr4.js → he-CJNS0xku.js} +2 -0
- package/dist/{hi-DUIfQ6FS.js → hi-CoHu7PnX.js} +2 -0
- package/dist/{hmn-DL-aQCTc.js → hmn-qubMIB6T.js} +2 -0
- package/dist/{homeScreen-vLMuzGDq.js → homeScreen-CqLbJbhW.js} +6 -6
- package/dist/{hr-DfJZSVnR.js → hr-N3Dy9ndd.js} +2 -0
- package/dist/{ht-DkZi3f0t.js → ht-iHGiGZhO.js} +2 -0
- package/dist/{hu-ClhgOpVy.js → hu-hlQUlAJs.js} +3 -1
- package/dist/{icons-eIgP34nj.js → icons-DNXYxUPA.js} +1 -1
- package/dist/id/id.es.js +20 -19
- package/dist/{id-DzyWelEE.js → id-Dhk7ywrq.js} +3 -1
- package/dist/id-selfie-flow/id-selfie-flow.es.js +8 -8
- package/dist/id-verification/id-verification.es.js +4 -4
- package/dist/{idOcr-C5R3RWuL.js → idOcr-Bt0V72id.js} +11 -11
- package/dist/identity-reuse/identity-reuse.es.js +5 -5
- package/dist/{incodeComponent-D3_BSWan.js → incodeComponent-DeVV0gEn.js} +7 -7
- package/dist/{incodeModule-BQgvYKyr.js → incodeModule-Do8qpZk7.js} +1 -1
- package/dist/index.es.js +2 -2
- package/dist/{inputComposed-CTZnsHLi.js → inputComposed-9aPipTS_.js} +2 -2
- package/dist/inputComposed-DZokKK4c.js +1 -0
- package/dist/{it-D_u7w6N4.js → it-CXYuJ5BQ.js} +4 -2
- package/dist/{ja-Drh4oAoU.js → ja-B5OkMrWD.js} +3 -1
- package/dist/{ja-JP-Pdxq82Pi.js → ja-JP-SlPp7xE2.js} +4 -2
- package/dist/{jv-DFcKF0Jp.js → jv-DduD6MhM.js} +2 -0
- package/dist/{ka--2y3Ae63.js → ka-CG2wabuB.js} +2 -0
- package/dist/{kk-CAs7inco.js → kk-D984nBRQ.js} +2 -0
- package/dist/{km-BlxkLYfw.js → km-B-DaaNxL.js} +9 -7
- package/dist/{ko-B1XhW0dx.js → ko-B8I6YPOu.js} +3 -1
- package/dist/{ko-KP-DO1TCCY3.js → ko-KP-BTQZdVex.js} +3 -1
- package/dist/{ky-BN92RThU.js → ky-p_wAYlXq.js} +2 -0
- package/dist/{lo-DPUo8xJT.js → lo-CS-RhXrt.js} +2 -0
- package/dist/{lt-CYBwI4Sq.js → lt-C1yAMYTU.js} +4 -2
- package/dist/{lv-eBlwWu05.js → lv-CiHCsaN9.js} +3 -1
- package/dist/{mandatoryConsent-D96_9XTp.js → mandatoryConsent-BJcDf3s-.js} +6 -6
- package/dist/{manualCaptureButton-C9H2_SJS.js → manualCaptureButton-2RTC1vZC.js} +3 -3
- package/dist/{manualCaptureButton-igyQk3Yb.js → manualCaptureButton-CqwPCE8h.js} +3 -3
- package/dist/{mk-QMUTND8Y.js → mk-VumecXcv.js} +2 -0
- package/dist/{mn-CCTUOA1D.js → mn-DGMJpCs6.js} +2 -0
- package/dist/{modal-CmF_MYIK.js → modal-H_YHBjxJ.js} +2 -2
- package/dist/{ms-BKJgaJfx.js → ms-CBk2NkZ1.js} +2 -0
- package/dist/{my-DyLbN8b0.js → my-BWcPvvs5.js} +2 -0
- package/dist/{nb-NO-TVHxhuqB.js → nb-NO-D7azau2s.js} +2 -0
- package/dist/{ne-gBLZraiK.js → ne-D9CU-qx6.js} +2 -0
- package/dist/{nl-CrO6Mvej.js → nl-BVhLZVXm.js} +3 -1
- package/dist/{optionAccessibleLabel-CqBUOBxK.js → optionAccessibleLabel-C0BRq4LF.js} +5 -5
- package/dist/{otpInput-tEovwPs7.js → otpInput-C8mlw_Cm.js} +6 -6
- package/dist/{passwordInputComposed-DNlYgHHW.js → passwordInputComposed-CDbxJKHR.js} +4 -4
- package/dist/pdfViewer-CCu7pBQv.js +2 -0
- package/dist/{pdfViewer-4u14PDPr.js → pdfViewer-DTwxqwSD.js} +2 -2
- package/dist/permissions-B0ctl0V9.js +212 -0
- package/dist/phone/phone.es.js +8 -8
- package/dist/{phoneInputComposed-B6sv-uB2.js → phoneInputComposed-Bz37hY_u.js} +3 -3
- package/dist/{pl-Bde7cCcc.js → pl-DWKpY783.js} +3 -1
- package/dist/{processing-s6GfNwuL.js → processing-CrNgzN1u.js} +1 -1
- package/dist/{pt-DhDCeOLY.js → pt-B2_-n4Z3.js} +3 -1
- package/dist/{pt-BR-DFr2fPNi.js → pt-BR-CC8MxgMX.js} +3 -1
- package/dist/{pt-PT-CpiPMuNf.js → pt-PT-vo9--bzz.js} +3 -1
- package/dist/qe-signature/qe-signature.es.js +3 -3
- package/dist/radioGroupComposed-BFzxJVpZ.js +1 -0
- package/dist/{radioGroupComposed-DmoMukus.js → radioGroupComposed-BrawV4FU.js} +2 -2
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +7 -7
- package/dist/{resendTimer-Cskll9rx.js → resendTimer-C0HqF9VE.js} +1 -1
- package/dist/{resolveApiKey-CB1_7ISm.js → resolveApiKey-DU0APKTv.js} +17 -17
- package/dist/{richText-C8-Ny2SD.js → richText-BEuqr0as.js} +1 -1
- package/dist/{ro-B_ITJxYh.js → ro-DOhwcTr3.js} +3 -1
- package/dist/{ru-Cg4U-rYv.js → ru-CD71PeIH.js} +3 -1
- package/dist/{ru-RU-fR_tbAfz.js → ru-RU-DLHiNY0O.js} +3 -1
- package/dist/selfie/selfie.es.js +9 -9
- package/dist/signature/signature.es.js +6 -6
- package/dist/{sk-DbraxlnX.js → sk-DaVWjX4k.js} +4 -2
- package/dist/{sl-DXgvmUsz.js → sl-YiCpfUol.js} +3 -1
- package/dist/{smsTabContent-Dado9q8t.js → smsTabContent-C1C1g4GT.js} +6 -6
- package/dist/{so-HI13bXme.js → so-B2bRmOT5.js} +2 -0
- package/dist/{spacer-ayyj5lMa.js → spacer-DZ-t7RMQ.js} +1 -1
- package/dist/{spinner-Z-5sEEDQ.js → spinner-hjbTcmA1.js} +2 -2
- package/dist/{sr-DAb2JkvB.js → sr-BbjKCO-a.js} +2 -0
- package/dist/{sr-Latn-DzSc6KyA.js → sr-Latn-D-xKaOqV.js} +7 -5
- package/dist/{sr-YU-C9HskKa8.js → sr-YU-1ULH6b8i.js} +2 -0
- package/dist/{statusPage-Bqz3Ci4f.js → statusPage-DeP-KBHD.js} +3 -3
- package/dist/{sv-SE-B3X2fvQj.js → sv-SE-5wAQ-CsE.js} +3 -1
- package/dist/{sw-BVL9Boua.js → sw-DVj-0--U.js} +2 -0
- package/dist/{tabs-B-ERCzA4.js → tabs-C8WsKO4V.js} +1 -1
- package/dist/{th-TH-CY5gd6Bd.js → th-TH-DAqLZmwn.js} +2 -0
- package/dist/{th-Cq87oDI8.js → th-ubpxty9O.js} +2 -0
- package/dist/{tl-DUm9tRZ_.js → tl-DCL6tS5T.js} +2 -0
- package/dist/{tl-PH-CNYNkY1M.js → tl-PH-Wftt86RZ.js} +2 -0
- package/dist/{tr-Cg3WJqb6.js → tr-B58sWy89.js} +3 -1
- package/dist/{tutorial-CHNfV-I3.js → tutorial-BP1F722m.js} +10 -10
- package/dist/{typography-ikD4-Z8S.js → typography-CYO7ELEl.js} +1 -1
- package/dist/{uiConfig-C1jdTj-i.js → uiConfig-BcjOx3PY.js} +83 -83
- package/dist/{uk-C7hhE-77.js → uk-BaklGIxd.js} +3 -1
- package/dist/{uk-UA-DRsynQ5S.js → uk-UA-BoawOp_y.js} +4 -2
- package/dist/{ur-BEX50SCe.js → ur-MYw3j3wD.js} +2 -0
- package/dist/{uz-BYlUXaIK.js → uz-DWfToWrZ.js} +2 -0
- package/dist/{verificationResult-B26DDXFT.js → verificationResult-Bre5Fb7M.js} +6 -6
- package/dist/{vi-DddAM-WF.js → vi-IY_487Pk.js} +2 -0
- package/dist/video-selfie/video-selfie.es.js +10 -10
- package/dist/watchlist/watchlist.es.js +6 -6
- package/dist/{watchlistForBusiness-o4F6Czxp.js → watchlistForBusiness-BIrl-mYj.js} +8 -8
- package/dist/workflow/workflow.es.js +7 -7
- package/dist/{zh-aG_wPYUs.js → zh-B1yRDjHf.js} +3 -1
- package/dist/{zh-CN-B8y9prPe.js → zh-CN-B2Yvvabk.js} +4 -2
- package/dist/{zh-HANT-ChrXbHBA.js → zh-HANT-CdNxQtKM.js} +3 -1
- package/dist/{zh-TW-DrkMIR_e.js → zh-TW-BgqFmnMA.js} +3 -1
- package/package.json +2 -2
- package/dist/cameraOverlay-Dn0r4NR9.js +0 -2
- package/dist/dateInputComposed-DPM6l_SL.js +0 -1
- package/dist/documentCapture-DMxz9eqT.js +0 -2
- package/dist/dropdownComposed-CXwC9j18.js +0 -1
- package/dist/ekybModule-C5NPsc0F.js +0 -2
- package/dist/ekycModule-DwKPvgA8.js +0 -2
- package/dist/faceMatch-DCkrehin.js +0 -2
- package/dist/fieldComparison-OwqIkMRe.js +0 -2
- package/dist/inputComposed-wy0-orhJ.js +0 -1
- package/dist/pdfViewer-e2o97yIv.js +0 -2
- package/dist/radioGroupComposed-CJkzLiFc.js +0 -1
- package/dist/useCoverMedia-VLw3OYN_.js +0 -149
- /package/dist/{numberedStep-DYznpDKc.js → numberedStep-C8e_uPaz.js} +0 -0
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
import { o as useTranslation } from "./uiConfig-BcjOx3PY.js";
|
|
2
|
+
import { _ as y, c as A, v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
3
|
+
import { _ as useIsMobileDeviceWidth, c as Page, d as TransitionSpinner } from "./incodeComponent-DeVV0gEn.js";
|
|
4
|
+
import { i as TypographyH4, t as Title } from "./typography-CYO7ELEl.js";
|
|
5
|
+
import { n as WarningIcon, x as Button } from "./icons-DNXYxUPA.js";
|
|
6
|
+
import { t as AutoFocusTitle } from "./autoFocusTitle-CVjuQOGZ.js";
|
|
7
|
+
import { t as Modal } from "./modal-H_YHBjxJ.js";
|
|
8
|
+
import { t as BottomSheet } from "./bottomSheet-Cixb81_b.js";
|
|
9
|
+
import { a as SvgCheckIcon, o as SvgCameraIcon, s as SvgBankCardIcon, t as Denied } from "./denied-CB1v3PyY.js";
|
|
10
|
+
import "@incodetech/core/camera";
|
|
11
|
+
//#region src/shared/permissions/camera/learnMore.tsx
|
|
12
|
+
var learnMoreInstructions = [
|
|
13
|
+
{
|
|
14
|
+
icon: SvgCameraIcon,
|
|
15
|
+
textKey: "idv2.permissions.learnMorePage.instructions.1"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
icon: SvgBankCardIcon,
|
|
19
|
+
textKey: "idv2.permissions.learnMorePage.instructions.2"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
icon: SvgCheckIcon,
|
|
23
|
+
textKey: "idv2.permissions.learnMorePage.instructions.4"
|
|
24
|
+
}
|
|
25
|
+
];
|
|
26
|
+
var LearnMore = ({ onAllowPermissions, onQuitProcess, "data-testid": dataTestId, "data-permission-status": dataPermissionStatus }) => {
|
|
27
|
+
const { t } = useTranslation();
|
|
28
|
+
const titleRef = A(null);
|
|
29
|
+
y(() => {
|
|
30
|
+
titleRef.current?.focus();
|
|
31
|
+
}, []);
|
|
32
|
+
return /* @__PURE__ */ u(Page, {
|
|
33
|
+
className: "IncodeLearnMorePage",
|
|
34
|
+
hideHeader: true,
|
|
35
|
+
hideFooterBranding: true,
|
|
36
|
+
"data-testid": dataTestId,
|
|
37
|
+
"data-permission-status": dataPermissionStatus,
|
|
38
|
+
children: [/* @__PURE__ */ u("div", {
|
|
39
|
+
class: "IncodeLearnMoreContainer",
|
|
40
|
+
children: [/* @__PURE__ */ u("div", {
|
|
41
|
+
class: "IncodeLearnMoreTitleContainer",
|
|
42
|
+
children: [/* @__PURE__ */ u(WarningIcon, { size: 32 }), /* @__PURE__ */ u(Title, {
|
|
43
|
+
ref: titleRef,
|
|
44
|
+
tabIndex: -1,
|
|
45
|
+
children: t("idv2.permissions.learnMorePage.title")
|
|
46
|
+
})]
|
|
47
|
+
}), /* @__PURE__ */ u("ul", {
|
|
48
|
+
class: "IncodeLearnMoreInstructionsContainer",
|
|
49
|
+
role: "list",
|
|
50
|
+
children: learnMoreInstructions.map(({ icon: Icon, ...instruction }) => /* @__PURE__ */ u("li", {
|
|
51
|
+
class: "IncodeLearnMoreInstruction",
|
|
52
|
+
children: [/* @__PURE__ */ u("div", {
|
|
53
|
+
class: "IncodeLearnMoreInstructionIcon",
|
|
54
|
+
"aria-hidden": "true",
|
|
55
|
+
children: /* @__PURE__ */ u(Icon, {
|
|
56
|
+
height: 32,
|
|
57
|
+
width: 32
|
|
58
|
+
})
|
|
59
|
+
}), /* @__PURE__ */ u(TypographyH4, { children: t(instruction.textKey) })]
|
|
60
|
+
}, instruction.textKey))
|
|
61
|
+
})]
|
|
62
|
+
}), /* @__PURE__ */ u("div", {
|
|
63
|
+
class: "IncodeLearnMoreActions",
|
|
64
|
+
children: [/* @__PURE__ */ u(Button, {
|
|
65
|
+
variant: "link",
|
|
66
|
+
onClick: onQuitProcess,
|
|
67
|
+
children: t("idv2.permissions.learnMorePage.quitProcess")
|
|
68
|
+
}), /* @__PURE__ */ u(Button, {
|
|
69
|
+
onClick: onAllowPermissions,
|
|
70
|
+
children: t("idv2.permissions.learnMorePage.allowPermissions")
|
|
71
|
+
})]
|
|
72
|
+
})]
|
|
73
|
+
});
|
|
74
|
+
};
|
|
75
|
+
//#endregion
|
|
76
|
+
//#region src/shared/permissions/camera/permissionsBottomSheet.tsx
|
|
77
|
+
function PermissionsBottomSheet({ onAllowPermissions, onDenyPermissions, showDenyButton = true, isRequestingPermissions = false, onClose }) {
|
|
78
|
+
const { t } = useTranslation();
|
|
79
|
+
return /* @__PURE__ */ u(BottomSheet, {
|
|
80
|
+
isOpen: true,
|
|
81
|
+
labelledById: "permissions-dialog-title",
|
|
82
|
+
manageInitialFocus: false,
|
|
83
|
+
onClose,
|
|
84
|
+
children: /* @__PURE__ */ u("div", {
|
|
85
|
+
className: "IncodePermissionsBottomSheet",
|
|
86
|
+
children: [/* @__PURE__ */ u("div", {
|
|
87
|
+
class: "IncodePermissionsBottomSheetTitleContainer",
|
|
88
|
+
children: [/* @__PURE__ */ u(AutoFocusTitle, {
|
|
89
|
+
id: "permissions-dialog-title",
|
|
90
|
+
className: "IncodePermissionsBottomSheetTitle",
|
|
91
|
+
children: t("idv2.permissions.allowPermissionsV2")
|
|
92
|
+
}), /* @__PURE__ */ u("p", {
|
|
93
|
+
className: "IncodePermissionsBottomSheetSubtitle",
|
|
94
|
+
children: t("idv2.permissions.subtitleV2")
|
|
95
|
+
})]
|
|
96
|
+
}), /* @__PURE__ */ u("div", {
|
|
97
|
+
class: "IncodePermissionsBottomSheetActions",
|
|
98
|
+
children: [showDenyButton && /* @__PURE__ */ u(Button, {
|
|
99
|
+
variant: "secondary",
|
|
100
|
+
onClick: onDenyPermissions,
|
|
101
|
+
disabled: isRequestingPermissions,
|
|
102
|
+
children: t("idv2.permissions.dontAllow")
|
|
103
|
+
}), /* @__PURE__ */ u(Button, {
|
|
104
|
+
onClick: onAllowPermissions,
|
|
105
|
+
disabled: isRequestingPermissions,
|
|
106
|
+
isLoading: isRequestingPermissions,
|
|
107
|
+
children: t("idv2.permissions.allowV2")
|
|
108
|
+
})]
|
|
109
|
+
})]
|
|
110
|
+
})
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
//#endregion
|
|
114
|
+
//#region src/shared/permissions/camera/permissionsDialog.tsx
|
|
115
|
+
function createHandlers(manager, canDismiss) {
|
|
116
|
+
if (!canDismiss) return {
|
|
117
|
+
handleDismiss: void 0,
|
|
118
|
+
handleOpenChange: void 0,
|
|
119
|
+
handleClose: manager.close
|
|
120
|
+
};
|
|
121
|
+
const handleDismiss = () => {
|
|
122
|
+
manager.back?.();
|
|
123
|
+
};
|
|
124
|
+
const handleOpenChange = (open) => {
|
|
125
|
+
if (open) return;
|
|
126
|
+
manager.back?.();
|
|
127
|
+
};
|
|
128
|
+
return {
|
|
129
|
+
handleDismiss,
|
|
130
|
+
handleOpenChange,
|
|
131
|
+
handleClose: void 0
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
var PermissionsDialog = ({ manager, permissionStatus, isDismissible }) => {
|
|
135
|
+
const isMobileWidth = useIsMobileDeviceWidth();
|
|
136
|
+
const { t } = useTranslation();
|
|
137
|
+
const isMotionOnly = permissionStatus === "motionOnly";
|
|
138
|
+
const isRequestingPermissions = permissionStatus === "requesting";
|
|
139
|
+
const canDismiss = Boolean(isDismissible) && !isRequestingPermissions;
|
|
140
|
+
const dismissible = !isRequestingPermissions;
|
|
141
|
+
const { handleDismiss, handleOpenChange, handleClose } = createHandlers(manager, canDismiss);
|
|
142
|
+
if (isMobileWidth) return /* @__PURE__ */ u(PermissionsBottomSheet, {
|
|
143
|
+
showDenyButton: !isMotionOnly,
|
|
144
|
+
onAllowPermissions: () => manager.requestPermission(),
|
|
145
|
+
onDenyPermissions: () => manager.goToLearnMore(),
|
|
146
|
+
isRequestingPermissions,
|
|
147
|
+
onClose: handleDismiss
|
|
148
|
+
});
|
|
149
|
+
return /* @__PURE__ */ u(Modal.Root, {
|
|
150
|
+
open: true,
|
|
151
|
+
dismissible,
|
|
152
|
+
onOpenChange: handleOpenChange,
|
|
153
|
+
children: /* @__PURE__ */ u(Modal.Content, { children: [
|
|
154
|
+
/* @__PURE__ */ u(Modal.Close, {
|
|
155
|
+
"aria-label": t("common.close"),
|
|
156
|
+
title: t("common.close"),
|
|
157
|
+
onClick: handleClose
|
|
158
|
+
}),
|
|
159
|
+
/* @__PURE__ */ u(Modal.TitleSection, { children: [/* @__PURE__ */ u(Modal.Title, {
|
|
160
|
+
class: "IncodePermissionsModalTitle",
|
|
161
|
+
children: t("idv2.permissions.allowPermissionsV2")
|
|
162
|
+
}), /* @__PURE__ */ u(Modal.Subtitle, { children: t("idv2.permissions.subtitleV2") })] }),
|
|
163
|
+
/* @__PURE__ */ u(Modal.Actions, { children: [!isMotionOnly && /* @__PURE__ */ u(Button, {
|
|
164
|
+
variant: "secondary",
|
|
165
|
+
onClick: manager.goToLearnMore,
|
|
166
|
+
disabled: isRequestingPermissions,
|
|
167
|
+
children: t("idv2.permissions.dontAllow")
|
|
168
|
+
}), /* @__PURE__ */ u(Button, {
|
|
169
|
+
variant: "primary",
|
|
170
|
+
onClick: manager.requestPermission,
|
|
171
|
+
disabled: isRequestingPermissions,
|
|
172
|
+
isLoading: isRequestingPermissions,
|
|
173
|
+
children: t("idv2.permissions.allowV2")
|
|
174
|
+
})] })
|
|
175
|
+
] })
|
|
176
|
+
});
|
|
177
|
+
};
|
|
178
|
+
//#endregion
|
|
179
|
+
//#region src/shared/permissions/camera/permissions.tsx
|
|
180
|
+
var Permissions = ({ manager, permissionStatus }) => {
|
|
181
|
+
if (permissionStatus === "checking") return null;
|
|
182
|
+
if (permissionStatus === "requesting") return /* @__PURE__ */ u(TransitionSpinner, {
|
|
183
|
+
className: "IncodePermissionsRequestingPage",
|
|
184
|
+
presentational: true,
|
|
185
|
+
titleKey: "loadingCircle.holdOn",
|
|
186
|
+
subtitleKey: "loadingCircle.preparingCamera"
|
|
187
|
+
});
|
|
188
|
+
if (permissionStatus === "learnMore") return /* @__PURE__ */ u(LearnMore, {
|
|
189
|
+
onAllowPermissions: () => manager.requestPermission(),
|
|
190
|
+
onQuitProcess: () => manager.close(),
|
|
191
|
+
"data-testid": "permissions",
|
|
192
|
+
"data-permission-status": "learnMore"
|
|
193
|
+
});
|
|
194
|
+
if (permissionStatus === "denied") return /* @__PURE__ */ u(Denied, {
|
|
195
|
+
onRefresh: () => window.location.reload(),
|
|
196
|
+
"data-testid": "permissions",
|
|
197
|
+
"data-permission-status": "denied"
|
|
198
|
+
});
|
|
199
|
+
return /* @__PURE__ */ u(Page, {
|
|
200
|
+
className: "IncodePermissionsPage",
|
|
201
|
+
hideHeader: true,
|
|
202
|
+
hideFooterBranding: true,
|
|
203
|
+
"data-testid": "permissions",
|
|
204
|
+
"data-permission-status": permissionStatus,
|
|
205
|
+
children: /* @__PURE__ */ u(PermissionsDialog, {
|
|
206
|
+
manager,
|
|
207
|
+
permissionStatus
|
|
208
|
+
})
|
|
209
|
+
});
|
|
210
|
+
};
|
|
211
|
+
//#endregion
|
|
212
|
+
export { PermissionsDialog as n, Permissions as t };
|
package/dist/phone/phone.es.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { o as useTranslation } from "../uiConfig-
|
|
1
|
+
import { o as useTranslation } from "../uiConfig-BcjOx3PY.js";
|
|
2
2
|
import { h as q, 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, y as isTerminalModuleState } from "../incodeComponent-
|
|
4
|
-
import { t as Spacer } from "../spacer-
|
|
5
|
-
import { x as Button } from "../icons-
|
|
6
|
-
import { t as OtpInput } from "../otpInput-
|
|
7
|
-
import { t as Checkbox } from "../checkbox-
|
|
8
|
-
import { t as PhoneInputComposed } from "../phoneInputComposed-
|
|
9
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
3
|
+
import { S as useManager, b as useModuleTerminalCallbacks, c as Page, i as withStandaloneModuleBootstrap, t as IncodeComponent, y as isTerminalModuleState } from "../incodeComponent-DeVV0gEn.js";
|
|
4
|
+
import { t as Spacer } from "../spacer-DZ-t7RMQ.js";
|
|
5
|
+
import { x as Button } from "../icons-DNXYxUPA.js";
|
|
6
|
+
import { t as OtpInput } from "../otpInput-C8mlw_Cm.js";
|
|
7
|
+
import { t as Checkbox } from "../checkbox-BR-RTI4R.js";
|
|
8
|
+
import { t as PhoneInputComposed } from "../phoneInputComposed-Bz37hY_u.js";
|
|
9
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-Do8qpZk7.js";
|
|
10
10
|
import { createPhoneManager } from "@incodetech/core/phone";
|
|
11
11
|
//#region src/modules/phone/phone.tsx
|
|
12
12
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { S as k, _ as y, c as A, f as d, h as q, i as D, u as T, v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
2
|
-
import { b as ErrorIcon, r as SuccessIcon } from "./icons-
|
|
3
|
-
import { t as InputComposed } from "./inputComposed-
|
|
2
|
+
import { b as ErrorIcon, r as SuccessIcon } from "./icons-DNXYxUPA.js";
|
|
3
|
+
import { t as InputComposed } from "./inputComposed-9aPipTS_.js";
|
|
4
4
|
import { t as FieldLabelHint } from "./fieldLabelHint-CxjArYkQ.js";
|
|
5
5
|
import { a as getCountryByCode, c as getCountryCallingCode, d as isObject, f as withMetadataArgument, l as isSupportedCountry, o as getCountryCallingCode$1, p as metadata_min_json_default, r as countries, s as Metadata, u as validateMetadata } from "./countries-5e8kwG_m.js";
|
|
6
|
-
import { t as DropdownComposed } from "./dropdownComposed-
|
|
6
|
+
import { t as DropdownComposed } from "./dropdownComposed-DptsxuHA.js";
|
|
7
7
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/helpers/mergeArrays.js
|
|
8
8
|
function _createForOfIteratorHelperLoose$7(r, e) {
|
|
9
9
|
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
@@ -1002,6 +1002,7 @@ var pl_default = {
|
|
|
1002
1002
|
"MX": { "taxId": { "label": "RFC" } },
|
|
1003
1003
|
"postalCode": "Kod pocztowy",
|
|
1004
1004
|
"prefill": {
|
|
1005
|
+
"AT": { "taxId": { "subtitle": "Wprowadź numer FN lub numer VAT firmy" } },
|
|
1005
1006
|
"AU": { "taxId": { "subtitle": "Wprowadź numer ACN (9 cyfr) lub ABN (11 cyfr) firmy" } },
|
|
1006
1007
|
"BE": { "taxId": { "subtitle": "Wprowadź numer BCE/KBO lub numer VAT firmy" } },
|
|
1007
1008
|
"DE": { "taxId": { "subtitle": "Wprowadź numer rejestru handlowego HRB/HRA, numer identyfikacyjny podatnika (USt-IdNr) lub numer SafeNo przedsiębiorstwa" } },
|
|
@@ -1500,6 +1501,7 @@ var pl_default = {
|
|
|
1500
1501
|
"subtitle": "Upewnij się, że Twój paszport jest czytelny",
|
|
1501
1502
|
"title": "Skanowanie paszportu"
|
|
1502
1503
|
},
|
|
1504
|
+
"permissionInCamera": { "subtitle": "Zezwól na dalszy dostęp do kamery" },
|
|
1503
1505
|
"processing": {
|
|
1504
1506
|
"analyzing": "Analiza...",
|
|
1505
1507
|
"attemptRemainingLabel": "pozostała próba",
|
|
@@ -1859,7 +1861,7 @@ var pl_default = {
|
|
|
1859
1861
|
"title": "Działa to najlepiej w domyślnej przeglądarce"
|
|
1860
1862
|
},
|
|
1861
1863
|
"ineCheck": {
|
|
1862
|
-
"checkingYourInformation": "
|
|
1864
|
+
"checkingYourInformation": "Weryfikacja Twoich danych w rejestrach rządowych",
|
|
1863
1865
|
"failure1": "Tożsamość nie",
|
|
1864
1866
|
"failure2": "zweryfikowany",
|
|
1865
1867
|
"identity": "tożsamość",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
2
|
-
import { d as TransitionSpinner } from "./incodeComponent-
|
|
2
|
+
import { d as TransitionSpinner } from "./incodeComponent-DeVV0gEn.js";
|
|
3
3
|
//#region src/shared/processing/processing.tsx
|
|
4
4
|
var Processing = () => {
|
|
5
5
|
return /* @__PURE__ */ u(TransitionSpinner, {});
|
|
@@ -1000,6 +1000,7 @@ var pt_default = {
|
|
|
1000
1000
|
"MX": { "taxId": { "label": "RFC" } },
|
|
1001
1001
|
"postalCode": "Código Postal",
|
|
1002
1002
|
"prefill": {
|
|
1003
|
+
"AT": { "taxId": { "subtitle": "Introduza o número FN ou o número de IVA da empresa" } },
|
|
1003
1004
|
"AU": { "taxId": { "subtitle": "Introduza o ACN (9 dígitos) ou o ABN (11 dígitos) da empresa" } },
|
|
1004
1005
|
"BE": { "taxId": { "subtitle": "Introduza o número BCE/KBO ou o número de IVA da empresa" } },
|
|
1005
1006
|
"DE": { "taxId": { "subtitle": "Introduza o número de registo comercial HRB/HRA, o USt-IdNr (IVA) ou o SafeNo da empresa" } },
|
|
@@ -1496,6 +1497,7 @@ var pt_default = {
|
|
|
1496
1497
|
"subtitle": "Certificar-se de que o seu passaporte é legível",
|
|
1497
1498
|
"title": "Digitalizar o passaporte"
|
|
1498
1499
|
},
|
|
1500
|
+
"permissionInCamera": { "subtitle": "Permitir que o acesso à câmara continue" },
|
|
1499
1501
|
"processing": {
|
|
1500
1502
|
"analyzing": "Analisar...",
|
|
1501
1503
|
"attemptRemainingLabel": "tentativa restante",
|
|
@@ -1853,7 +1855,7 @@ var pt_default = {
|
|
|
1853
1855
|
"title": "Isto funciona melhor no seu browser predefinido"
|
|
1854
1856
|
},
|
|
1855
1857
|
"ineCheck": {
|
|
1856
|
-
"checkingYourInformation": "Verificar
|
|
1858
|
+
"checkingYourInformation": "Verificar os seus dados nos registos oficiais",
|
|
1857
1859
|
"failure1": "Identidade não",
|
|
1858
1860
|
"failure2": "verificado",
|
|
1859
1861
|
"identity": "identidade",
|
|
@@ -1000,6 +1000,7 @@ var pt_BR_default = {
|
|
|
1000
1000
|
"MX": { "taxId": { "label": "RFC" } },
|
|
1001
1001
|
"postalCode": "Código Postal",
|
|
1002
1002
|
"prefill": {
|
|
1003
|
+
"AT": { "taxId": { "subtitle": "Insira o número FN ou o número de IVA da empresa" } },
|
|
1003
1004
|
"AU": { "taxId": { "subtitle": "Insira o ACN (9 dígitos) ou o ABN (11 dígitos) da empresa" } },
|
|
1004
1005
|
"BE": { "taxId": { "subtitle": "Insira o número BCE/KBO ou o número de CPF da empresa" } },
|
|
1005
1006
|
"DE": { "taxId": { "subtitle": "Insira o número de registro comercial HRB/HRA, o USt-IdNr (IVA) ou o SafeNo da empresa" } },
|
|
@@ -1496,6 +1497,7 @@ var pt_BR_default = {
|
|
|
1496
1497
|
"subtitle": "Certifique-se de que seu passaporte esteja legível",
|
|
1497
1498
|
"title": "Digitalize seu passaporte"
|
|
1498
1499
|
},
|
|
1500
|
+
"permissionInCamera": { "subtitle": "Permitir que o acesso à câmera continue" },
|
|
1499
1501
|
"processing": {
|
|
1500
1502
|
"analyzing": "Analisando...",
|
|
1501
1503
|
"attemptRemainingLabel": "tentativa restante",
|
|
@@ -1853,7 +1855,7 @@ var pt_BR_default = {
|
|
|
1853
1855
|
"title": "Isso funciona melhor em seu navegador padrão"
|
|
1854
1856
|
},
|
|
1855
1857
|
"ineCheck": {
|
|
1856
|
-
"checkingYourInformation": "Verificação de suas informações
|
|
1858
|
+
"checkingYourInformation": "Verificação de suas informações nos registros do governo",
|
|
1857
1859
|
"failure1": "Identidade não",
|
|
1858
1860
|
"failure2": "verificado",
|
|
1859
1861
|
"identity": "identidade",
|
|
@@ -1000,6 +1000,7 @@ var pt_PT_default = {
|
|
|
1000
1000
|
"MX": { "taxId": { "label": "RFC" } },
|
|
1001
1001
|
"postalCode": "Código Postal",
|
|
1002
1002
|
"prefill": {
|
|
1003
|
+
"AT": { "taxId": { "subtitle": "Introduza o número FN ou o número de IVA da empresa" } },
|
|
1003
1004
|
"AU": { "taxId": { "subtitle": "Introduza o ACN (9 dígitos) ou o ABN (11 dígitos) da empresa" } },
|
|
1004
1005
|
"BE": { "taxId": { "subtitle": "Introduza o número BCE/KBO ou o número de IVA da empresa" } },
|
|
1005
1006
|
"DE": { "taxId": { "subtitle": "Introduza o número de registo comercial HRB/HRA, o USt-IdNr (IVA) ou o SafeNo da empresa" } },
|
|
@@ -1496,6 +1497,7 @@ var pt_PT_default = {
|
|
|
1496
1497
|
"subtitle": "Certificar-se de que o seu passaporte é legível",
|
|
1497
1498
|
"title": "Digitalizar o passaporte"
|
|
1498
1499
|
},
|
|
1500
|
+
"permissionInCamera": { "subtitle": "Permitir que o acesso à câmara continue" },
|
|
1499
1501
|
"processing": {
|
|
1500
1502
|
"analyzing": "Analisar...",
|
|
1501
1503
|
"attemptRemainingLabel": "tentativa restante",
|
|
@@ -1853,7 +1855,7 @@ var pt_PT_default = {
|
|
|
1853
1855
|
"title": "Isso funciona melhor no seu navegador padrão"
|
|
1854
1856
|
},
|
|
1855
1857
|
"ineCheck": {
|
|
1856
|
-
"checkingYourInformation": "Verificar
|
|
1858
|
+
"checkingYourInformation": "Verificar os seus dados junto dos registos oficiais",
|
|
1857
1859
|
"failure1": "Identidade não",
|
|
1858
1860
|
"failure2": "válida",
|
|
1859
1861
|
"identity": "identidade",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { v as u } from "../vendor-preact-C0jX1Cbq.js";
|
|
2
|
-
import { i as withStandaloneModuleBootstrap } from "../incodeComponent-
|
|
3
|
-
import { n as ElectronicSignature } from "../electronic-signature-
|
|
4
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
2
|
+
import { i as withStandaloneModuleBootstrap } from "../incodeComponent-DeVV0gEn.js";
|
|
3
|
+
import { n as ElectronicSignature } from "../electronic-signature-DRMdCzdF.js";
|
|
4
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-Do8qpZk7.js";
|
|
5
5
|
//#region src/modules/qe-signature/qe-signature.tsx
|
|
6
6
|
var QeSignatureWithLocalConfig = ({ config, manager, onFinish, onError }) => {
|
|
7
7
|
return /* @__PURE__ */ u(ElectronicSignature, {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./radioGroupComposed-BrawV4FU.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { f as d, i as D, v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
2
|
-
import { d as cn } from "./spacer-
|
|
3
|
-
import { b as ErrorIcon } from "./icons-
|
|
2
|
+
import { d as cn } from "./spacer-DZ-t7RMQ.js";
|
|
3
|
+
import { b as ErrorIcon } from "./icons-DNXYxUPA.js";
|
|
4
4
|
import { t as FieldLabelHint } from "./fieldLabelHint-CxjArYkQ.js";
|
|
5
5
|
//#region src/shared/radioButtonComposed/radioButtonComposed.tsx
|
|
6
6
|
var textSizeClass = {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as __commonJSMin } from "../rolldown-runtime--E5BIlTp.js";
|
|
2
|
-
import { o as useTranslation } from "../uiConfig-
|
|
2
|
+
import { o as useTranslation } from "../uiConfig-BcjOx3PY.js";
|
|
3
3
|
import { S as k, _ as y, c as A, f as d, h as q, p as g, v as u } from "../vendor-preact-C0jX1Cbq.js";
|
|
4
|
-
import { S as useManager, b as useModuleTerminalCallbacks, d as TransitionSpinner, i as withStandaloneModuleBootstrap, l as VerifiedByIncodeLogo, r as Snackbar, t as IncodeComponent, u as usePageUiConfig } from "../incodeComponent-
|
|
5
|
-
import { t as Spacer } from "../spacer-
|
|
6
|
-
import { r as SuccessIcon, x as Button } from "../icons-
|
|
4
|
+
import { S as useManager, b as useModuleTerminalCallbacks, d as TransitionSpinner, i as withStandaloneModuleBootstrap, l as VerifiedByIncodeLogo, r as Snackbar, t as IncodeComponent, u as usePageUiConfig } from "../incodeComponent-DeVV0gEn.js";
|
|
5
|
+
import { t as Spacer } from "../spacer-DZ-t7RMQ.js";
|
|
6
|
+
import { r as SuccessIcon, x as Button } from "../icons-DNXYxUPA.js";
|
|
7
7
|
import { t as incode_logo_default } from "../incode-logo-BzJOZr3f.js";
|
|
8
|
-
import { t as AutoFocusTitle } from "../autoFocusTitle-
|
|
8
|
+
import { t as AutoFocusTitle } from "../autoFocusTitle-CVjuQOGZ.js";
|
|
9
9
|
import { t as registerIncodeElement } from "../registerIncodeElement-CbZczi4S.js";
|
|
10
10
|
import { t as useLazyComponentLoader } from "../useModuleLoader-DpcbSKBH.js";
|
|
11
|
-
import { t as Tabs } from "../tabs-
|
|
11
|
+
import { t as Tabs } from "../tabs-C8WsKO4V.js";
|
|
12
12
|
import { createRedirectToMobileManager } from "@incodetech/core/redirect-to-mobile";
|
|
13
13
|
//#region src/modules/redirect-to-mobile/redirectHeader.tsx
|
|
14
14
|
var RedirectHeader = ({ logoSrc }) => {
|
|
@@ -2532,7 +2532,7 @@ var QrTabContent = ({ redirectUrl, onQrReady }) => {
|
|
|
2532
2532
|
};
|
|
2533
2533
|
//#endregion
|
|
2534
2534
|
//#region src/modules/redirect-to-mobile/qrScreen.tsx
|
|
2535
|
-
var loadSmsTabContent = () => import("../smsTabContent-
|
|
2535
|
+
var loadSmsTabContent = () => import("../smsTabContent-C1C1g4GT.js").then((module) => module.SmsTabContent);
|
|
2536
2536
|
var LazySmsTabContent = (props) => {
|
|
2537
2537
|
const { t } = useTranslation();
|
|
2538
2538
|
const state = useLazyComponentLoader({ loader: loadSmsTabContent });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as useTranslation } from "./uiConfig-
|
|
1
|
+
import { o as useTranslation } from "./uiConfig-BcjOx3PY.js";
|
|
2
2
|
import { _ as y, c as A, h as q } from "./vendor-preact-C0jX1Cbq.js";
|
|
3
3
|
//#region src/shared/resendTimer.ts
|
|
4
4
|
var formatResendTimer = (seconds) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as setI18nInstance, l as createI18n, s as hasI18nInstance } from "./uiConfig-
|
|
1
|
+
import { c as setI18nInstance, l as createI18n, s as hasI18nInstance } from "./uiConfig-BcjOx3PY.js";
|
|
2
2
|
import { v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
3
|
-
import { a as getStandaloneSetupPolicy, n as preloadDashboardTheme } from "./dashboardTheme-
|
|
4
|
-
import "./incodeComponent-
|
|
5
|
-
import { x as Button } from "./icons-
|
|
3
|
+
import { a as getStandaloneSetupPolicy, n as preloadDashboardTheme } from "./dashboardTheme-B_YjGFDU.js";
|
|
4
|
+
import "./incodeComponent-DeVV0gEn.js";
|
|
5
|
+
import { x as Button } from "./icons-DNXYxUPA.js";
|
|
6
6
|
import { initializeWasmUtil, resolveWasmConfigForPipelines, setWasmConfig, upgradeToWasmHttpClient, warmupWasm } from "@incodetech/core/wasm";
|
|
7
7
|
import { isDesktopOrEmulated } from "@incodetech/core/device";
|
|
8
8
|
import { createOrchestratedFlowManager, getFlow } from "@incodetech/core/flow";
|
|
@@ -33,7 +33,7 @@ function isDesktopOrEmulated$1() {
|
|
|
33
33
|
//#endregion
|
|
34
34
|
//#region src/modules/flow/flowInit.ts
|
|
35
35
|
var lazyIdModule = () => import("./id/id.es.js").then((m) => m.Id);
|
|
36
|
-
var loadLazyHomeScreen = () => import("./homeScreen-
|
|
36
|
+
var loadLazyHomeScreen = () => import("./homeScreen-CqLbJbhW.js").then((m) => m.HomeScreen);
|
|
37
37
|
var homeScreenPreloadPromise;
|
|
38
38
|
/**
|
|
39
39
|
* Headless flow keys: backend-only steps with no UI. `<incode-flow>` renders
|
|
@@ -97,31 +97,31 @@ var LAZY_UI_MODULES = {
|
|
|
97
97
|
ID_CAPTURE: lazyIdModule,
|
|
98
98
|
TUTORIAL_ID: lazyIdModule,
|
|
99
99
|
SECOND_ID: lazyIdModule,
|
|
100
|
-
FACE_MATCH: () => import("./faceMatch-
|
|
100
|
+
FACE_MATCH: () => import("./faceMatch-BvaN_Ggn.js").then((m) => m.FaceMatch),
|
|
101
101
|
CURP_VALIDATION: () => import("./curp-validation/curp-validation.es.js").then((m) => m.CurpValidation),
|
|
102
102
|
GOVT_VALIDATION_PROVISIONING: () => import("./government-validation/government-validation.es.js").then((m) => m.GovernmentValidation),
|
|
103
103
|
INE_VALIDATION: () => import("./government-validation/government-validation.es.js").then((m) => m.GovernmentValidation),
|
|
104
104
|
GEOLOCATION: () => import("./geolocation/geolocation.es.js").then((m) => m.Geolocation),
|
|
105
|
-
EXTERNAL_VERIFICATION: () => import("./ekycModule-
|
|
106
|
-
EKYB: () => import("./ekybModule-
|
|
107
|
-
DOCUMENT_CAPTURE: () => import("./documentCapture-
|
|
108
|
-
ADDRESS: () => import("./documentCapture-
|
|
105
|
+
EXTERNAL_VERIFICATION: () => import("./ekycModule-CjkpPQ3f.js").then((m) => m.EkycModule),
|
|
106
|
+
EKYB: () => import("./ekybModule-B-gioC08.js").then((m) => m.EkybModule),
|
|
107
|
+
DOCUMENT_CAPTURE: () => import("./documentCapture-D0o4Xh1J.js").then((m) => m.DocumentCapture),
|
|
108
|
+
ADDRESS: () => import("./documentCapture-D0o4Xh1J.js").then((m) => m.DocumentCapture),
|
|
109
109
|
COMBINED_CONSENT: () => import("./consent/consent.es.js").then((m) => m.Consent),
|
|
110
|
-
MANDATORY_CONSENT: () => import("./mandatoryConsent-
|
|
111
|
-
ML_CONSENT: () => import("./mandatoryConsent-
|
|
110
|
+
MANDATORY_CONSENT: () => import("./mandatoryConsent-BJcDf3s-.js").then((m) => m.MandatoryConsent),
|
|
111
|
+
ML_CONSENT: () => import("./mandatoryConsent-BJcDf3s-.js").then((m) => m.MandatoryConsent),
|
|
112
112
|
SIGNATURE: () => import("./signature/signature.es.js").then((m) => m.Signature),
|
|
113
|
-
ID_OCR: () => import("./idOcr-
|
|
113
|
+
ID_OCR: () => import("./idOcr-Bt0V72id.js").then((m) => m.IdOcr),
|
|
114
114
|
ANTIFRAUD: () => import("./antifraud/antifraud.es.js").then((m) => m.Antifraud),
|
|
115
|
-
CUSTOM_FIELDS: () => import("./customFields-
|
|
115
|
+
CUSTOM_FIELDS: () => import("./customFields-CEFWn2wC.js").then((m) => m.CustomFields),
|
|
116
116
|
WATCHLIST: () => import("./watchlist/watchlist.es.js").then((m) => m.Watchlist),
|
|
117
|
-
WATCHLIST_BUSINESS: () => import("./watchlistForBusiness-
|
|
118
|
-
INCODE_WATCHLIST: () => import("./customWatchlist-
|
|
117
|
+
WATCHLIST_BUSINESS: () => import("./watchlistForBusiness-BIrl-mYj.js").then((m) => m.WatchlistForBusiness),
|
|
118
|
+
INCODE_WATCHLIST: () => import("./customWatchlist-Xn3d-zbf.js").then((m) => m.CustomWatchlist),
|
|
119
119
|
AE_SIGNATURE: () => import("./ae-signature/ae-signature.es.js").then((m) => m.AeSignature),
|
|
120
120
|
QE_SIGNATURE: () => import("./qe-signature/qe-signature.es.js").then((m) => m.QeSignature),
|
|
121
121
|
CROSS_DOCUMENT_DATA_MATCH: () => import("./cross-document-data-match/cross-document-data-match.es.js").then((m) => m.CrossDocumentDataMatch),
|
|
122
122
|
DYNAMIC_FORMS: () => import("./dynamic-forms/dynamic-forms.es.js").then((m) => m.DynamicForms),
|
|
123
123
|
CERTIFICATE_ISSUANCE: () => import("./certificate-issuance/certificate-issuance.es.js").then((m) => m.CertificateIssuance),
|
|
124
|
-
FIELD_COMPARISON: () => import("./fieldComparison-
|
|
124
|
+
FIELD_COMPARISON: () => import("./fieldComparison-D4YoXJKX.js").then((m) => m.FieldComparison),
|
|
125
125
|
FISCAL_QR: () => import("./fiscal-qr/fiscal-qr.es.js").then((m) => m.FiscalQr),
|
|
126
126
|
VIDEO_ONBOARDING: () => import("./video-selfie/video-selfie.es.js").then((m) => m.VideoSelfie)
|
|
127
127
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
2
|
-
import { u as purify } from "./spacer-
|
|
2
|
+
import { u as purify } from "./spacer-DZ-t7RMQ.js";
|
|
3
3
|
import { t as _defineProperty } from "./defineProperty-BojnCa44.js";
|
|
4
4
|
//#region ../../node_modules/.pnpm/marked@17.0.5/node_modules/marked/lib/marked.esm.js
|
|
5
5
|
var _Class;
|
|
@@ -1001,6 +1001,7 @@ var ro_default = {
|
|
|
1001
1001
|
"MX": { "taxId": { "label": "RFC" } },
|
|
1002
1002
|
"postalCode": "Cod poștal",
|
|
1003
1003
|
"prefill": {
|
|
1004
|
+
"AT": { "taxId": { "subtitle": "Introduceți numărul FN sau numărul de TVA al întreprinderii" } },
|
|
1004
1005
|
"AU": { "taxId": { "subtitle": "Introduceți codul ACN (9 cifre) sau ABN (11 cifre) al întreprinderii" } },
|
|
1005
1006
|
"BE": { "taxId": { "subtitle": "Introduceți numărul BCE/KBO sau numărul de TVA al întreprinderii" } },
|
|
1006
1007
|
"DE": { "taxId": { "subtitle": "Introduceți numărul de înregistrare în registrul comerțului HRB/HRA, numărul de identificare fiscală (USt-IdNr) sau numărul SafeNo al întreprinderii" } },
|
|
@@ -1498,6 +1499,7 @@ var ro_default = {
|
|
|
1498
1499
|
"subtitle": "Asigurați-vă că pașaportul dumneavoastră este lizibil",
|
|
1499
1500
|
"title": "Scanați-vă pașaportul"
|
|
1500
1501
|
},
|
|
1502
|
+
"permissionInCamera": { "subtitle": "Permiteți continuarea accesului la cameră" },
|
|
1501
1503
|
"processing": {
|
|
1502
1504
|
"analyzing": "Analizând...",
|
|
1503
1505
|
"attemptRemainingLabel": "încercare rămasă",
|
|
@@ -1856,7 +1858,7 @@ var ro_default = {
|
|
|
1856
1858
|
"title": "Acest lucru funcționează cel mai bine pe browserul dvs. implicit"
|
|
1857
1859
|
},
|
|
1858
1860
|
"ineCheck": {
|
|
1859
|
-
"checkingYourInformation": "Verificarea
|
|
1861
|
+
"checkingYourInformation": "Verificarea datelor dumneavoastră în registrele oficiale",
|
|
1860
1862
|
"failure1": "Identitate nu",
|
|
1861
1863
|
"failure2": "verificate",
|
|
1862
1864
|
"identity": "identitate",
|
|
@@ -1002,6 +1002,7 @@ var ru_default = {
|
|
|
1002
1002
|
"MX": { "taxId": { "label": "RFC" } },
|
|
1003
1003
|
"postalCode": "Почтовый индекс",
|
|
1004
1004
|
"prefill": {
|
|
1005
|
+
"AT": { "taxId": { "subtitle": "Введите регистрационный номер (FN) или номер плательщика НДС предприятия" } },
|
|
1005
1006
|
"AU": { "taxId": { "subtitle": "Введите номер ACN (9 цифр) или ABN (11 цифр) компании" } },
|
|
1006
1007
|
"BE": { "taxId": { "subtitle": "Введите номер BCE/KBO или номер НДС предприятия" } },
|
|
1007
1008
|
"DE": { "taxId": { "subtitle": "Введите номер компании в торговом реестре (HRB/HRA), идентификационный номер плательщика НДС (USt-IdNr) или номер SafeNo" } },
|
|
@@ -1500,6 +1501,7 @@ var ru_default = {
|
|
|
1500
1501
|
"subtitle": "Убедитесь, что ваш паспорт читаем",
|
|
1501
1502
|
"title": "Отсканируйте свой паспорт"
|
|
1502
1503
|
},
|
|
1504
|
+
"permissionInCamera": { "subtitle": "Разрешить камере продолжить работу" },
|
|
1503
1505
|
"processing": {
|
|
1504
1506
|
"analyzing": "Анализируя...",
|
|
1505
1507
|
"attemptRemainingLabel": "оставшаяся попытка",
|
|
@@ -1859,7 +1861,7 @@ var ru_default = {
|
|
|
1859
1861
|
"title": "Лучше всего это работает в браузере по умолчанию"
|
|
1860
1862
|
},
|
|
1861
1863
|
"ineCheck": {
|
|
1862
|
-
"checkingYourInformation": "
|
|
1864
|
+
"checkingYourInformation": "Сверка ваших данных с государственными реестрами",
|
|
1863
1865
|
"failure1": "Идентичность не",
|
|
1864
1866
|
"failure2": "проверено",
|
|
1865
1867
|
"identity": "личность",
|
|
@@ -1002,6 +1002,7 @@ var ru_RU_default = {
|
|
|
1002
1002
|
"MX": { "taxId": { "label": "RFC" } },
|
|
1003
1003
|
"postalCode": "Почтовый индекс",
|
|
1004
1004
|
"prefill": {
|
|
1005
|
+
"AT": { "taxId": { "subtitle": "Введите регистрационный номер (FN) или номер плательщика НДС компании" } },
|
|
1005
1006
|
"AU": { "taxId": { "subtitle": "Введите номер ACN (9 цифр) или ABN (11 цифр) компании" } },
|
|
1006
1007
|
"BE": { "taxId": { "subtitle": "Введите номер BCE/KBO или номер НДС предприятия" } },
|
|
1007
1008
|
"DE": { "taxId": { "subtitle": "Введите номер компании в торговом реестре (HRB/HRA), идентификационный номер плательщика НДС (USt-IdNr) или номер SafeNo" } },
|
|
@@ -1500,6 +1501,7 @@ var ru_RU_default = {
|
|
|
1500
1501
|
"subtitle": "Убедитесь, что ваш паспорт читаем",
|
|
1501
1502
|
"title": "Отсканируйте свой паспорт"
|
|
1502
1503
|
},
|
|
1504
|
+
"permissionInCamera": { "subtitle": "Разрешить камере продолжить работу" },
|
|
1503
1505
|
"processing": {
|
|
1504
1506
|
"analyzing": "Анализируя...",
|
|
1505
1507
|
"attemptRemainingLabel": "оставшаяся попытка",
|
|
@@ -1859,7 +1861,7 @@ var ru_RU_default = {
|
|
|
1859
1861
|
"title": "Лучше всего это работает в браузере по умолчанию"
|
|
1860
1862
|
},
|
|
1861
1863
|
"ineCheck": {
|
|
1862
|
-
"checkingYourInformation": "
|
|
1864
|
+
"checkingYourInformation": "Сверка ваших данных с государственными реестрами",
|
|
1863
1865
|
"failure1": "Идентичность не",
|
|
1864
1866
|
"failure2": "проверено",
|
|
1865
1867
|
"identity": "личность",
|
package/dist/selfie/selfie.es.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { o as useTranslation } from "../uiConfig-
|
|
1
|
+
import { o as useTranslation } from "../uiConfig-BcjOx3PY.js";
|
|
2
2
|
import { S as k, _ as y, c as A, 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, y as isTerminalModuleState } from "../incodeComponent-
|
|
4
|
-
import { i as preloadAnimations } from "../spacer-
|
|
5
|
-
import { t as Spinner } from "../spinner-
|
|
6
|
-
import { b as ErrorIcon, f as ChevronRightIcon, r as SuccessIcon, x as Button } from "../icons-
|
|
7
|
-
import { t as Processing } from "../processing-
|
|
8
|
-
import { t as Permissions } from "../permissions-
|
|
9
|
-
import { n as Capture, t as Tutorial } from "../tutorial-
|
|
10
|
-
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, y as isTerminalModuleState } from "../incodeComponent-DeVV0gEn.js";
|
|
4
|
+
import { i as preloadAnimations } from "../spacer-DZ-t7RMQ.js";
|
|
5
|
+
import { t as Spinner } from "../spinner-hjbTcmA1.js";
|
|
6
|
+
import { b as ErrorIcon, f as ChevronRightIcon, r as SuccessIcon, x as Button } from "../icons-DNXYxUPA.js";
|
|
7
|
+
import { t as Processing } from "../processing-CrNgzN1u.js";
|
|
8
|
+
import { t as Permissions } from "../permissions-B0ctl0V9.js";
|
|
9
|
+
import { n as Capture, t as Tutorial } from "../tutorial-BP1F722m.js";
|
|
10
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-Do8qpZk7.js";
|
|
11
11
|
import { createSelfieManager } from "@incodetech/core/selfie";
|
|
12
12
|
//#region src/modules/selfie/manualUpload/manualUploadError.tsx
|
|
13
13
|
/** `role="alert"` announces the rejection once on insert (SC 4.1.3). */
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { o as useTranslation } from "../uiConfig-
|
|
1
|
+
import { o as useTranslation } from "../uiConfig-BcjOx3PY.js";
|
|
2
2
|
import { _ as y, c as A, f as d, h as q, i as D, l as F, 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 registerIncodeModuleElement } from "../incodeModule-
|
|
3
|
+
import { S as useManager, b as useModuleTerminalCallbacks, c as Page, i as withStandaloneModuleBootstrap, t as IncodeComponent } from "../incodeComponent-DeVV0gEn.js";
|
|
4
|
+
import { t as Spacer } from "../spacer-DZ-t7RMQ.js";
|
|
5
|
+
import { x as Button } from "../icons-DNXYxUPA.js";
|
|
6
|
+
import { t as VerificationResult } from "../verificationResult-Bre5Fb7M.js";
|
|
7
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-Do8qpZk7.js";
|
|
8
8
|
import { t as _defineProperty } from "../defineProperty-BojnCa44.js";
|
|
9
9
|
import { createSignatureManager } from "@incodetech/core/signature";
|
|
10
10
|
//#region ../../node_modules/.pnpm/signature_pad@5.1.3/node_modules/signature_pad/dist/signature_pad.js
|