@incodetech/web 2.1.1 → 2.2.0-rc.0
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 +7 -4
- package/dist/antifraud/antifraud.es.js +6 -6
- package/dist/authentication/authentication.es.js +7 -7
- package/dist/{autoFocusTitle-CuRu2lPg.js → autoFocusTitle-gLba2mgp.js} +6 -3
- package/dist/{back-horizontal-hint-xTnSQbzn.js → back-horizontal-hint-BBGuJ75y.js} +1 -1
- package/dist/{back-vertical-hint-BWWlHfX2.js → back-vertical-hint-B9usJ5lY.js} +1 -1
- package/dist/base.css +425 -3290
- package/dist/{bottomSheet-CnWbbUAM.js → bottomSheet-Cp8DLulN.js} +7 -8
- package/dist/certificate-issuance/certificate-issuance.es.js +34 -87
- package/dist/certificate-issuance/styles.css +0 -41
- package/dist/{checkbox-1wUHSoaK.js → checkbox-C38Elx0O.js} +5 -5
- package/dist/connectionError-DAeXp8sE.js +45 -0
- package/dist/consent/consent.es.js +10 -12
- package/dist/consent/styles.css +5 -4
- package/dist/{countrySelector-SvUOyPo0.js → countrySelector-2t-ZTgGo.js} +3 -3
- package/dist/cross-document-data-match/cross-document-data-match.es.js +13 -10
- package/dist/curp-validation/curp-validation.es.js +28 -29
- package/dist/curp-validation/styles.css +47 -0
- package/dist/{customFields-BDsXR7A-.js → customFields-B8HQZ7Mh.js} +13 -14
- package/dist/{customWatchlist-CYoRNCim.js → customWatchlist-_tUmZ855.js} +9 -9
- package/dist/dashboardTheme-CVliZSR-.js +223 -0
- package/dist/{dateInputComposed-DuaofcBl.js → dateInputComposed-eRcbt_SL.js} +5 -5
- package/dist/dateInputComposed-ks0-opuq.js +1 -0
- package/dist/document-capture/document-capture.es.js +1 -1
- package/dist/document-capture/styles.css +85 -70
- package/dist/{documentCapture-DhbO-A-V.js → documentCapture-BvEGCYj-.js} +218 -136
- package/dist/documentCapture-DdHdRPzR.js +2 -0
- package/dist/{dropdownComposed-CoU0enG6.js → dropdownComposed-OHDHzt1Q.js} +18 -11
- package/dist/dropdownComposed-kjG4UblM.js +1 -0
- package/dist/dynamic-forms/styles.css +58 -6
- package/dist/{dynamicForms-BifGbC9F.js → dynamicForms-P-4E42IA.js} +53 -45
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/ekyb/styles.css +1 -28
- package/dist/ekybModule-CiaxFHXo.js +2 -0
- package/dist/{ekybModule-DGnTw5UV.js → ekybModule-DmjkzVWE.js} +51 -27
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/ekyc/styles.css +2 -2
- package/dist/ekycModule-BVt10kgv.js +2 -0
- package/dist/{ekycModule-Dxpdd0ns.js → ekycModule-Da1Fm7ai.js} +45 -19
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{ae-signature → electronic-signature}/styles.css +2 -2
- package/dist/{electronic-signature-Ueoffasr.js → electronic-signature-yamI6zHM.js} +31 -23
- package/dist/email/email.es.js +10 -11
- package/dist/{emailInput-DsLkDtER.js → emailInput-B0P2Q-pk.js} +4 -4
- package/dist/{expiredId-BZXLrLk-.js → expiredId-BXXE3srN.js} +6 -6
- package/dist/{extensibility-7sRIN0JC.js → extensibility-iJYzpW6H.js} +440 -374
- package/dist/extensibility.es.js +24 -28
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/face-match/styles.css +9 -609
- package/dist/faceMatch-D4XFihTc.js +2 -0
- package/dist/{faceMatch-DyTBoMDm.js → faceMatch-VtEZvsen.js} +71 -79
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/fieldComparison-B_r9Bal7.js +2 -0
- package/dist/{fieldComparison-L_knHqgw.js → fieldComparison-NLdDSOEh.js} +11 -12
- package/dist/finalSuccessScreen-DryADx1n.js +500 -0
- package/dist/fiscal-qr/fiscal-qr.es.js +12 -12
- package/dist/flip-animation-CvN8FLNc.js +6996 -0
- package/dist/flow/flow.es.js +81 -45
- package/dist/flow/styles.css +908 -5423
- package/dist/{front-horizontal-hint-B84GgTO1.js → front-horizontal-hint-D3CrWViZ.js} +1 -1
- package/dist/{front-vertical-hint-Bs_avngq.js → front-vertical-hint-BoLZvyx5.js} +1 -1
- package/dist/geolocation/geolocation.es.js +36 -13
- package/dist/geolocation/styles.css +1 -1
- package/dist/government-validation/government-validation.es.js +11 -12
- package/dist/{homeScreen-B6T0JVh8.js → homeScreen-Pv3v_0ji.js} +7 -9
- package/dist/{icons-CJJbIpBq.js → icons--ezYG2Fb.js} +92 -7
- package/dist/id/id.es.js +222 -52
- package/dist/id/styles.css +290 -10
- package/dist/id-back-of-card-DO593HH8.js +83 -0
- package/dist/id-back-of-card-vertical-DArEQ0hE.js +88 -0
- package/dist/id-front-of-card-Bcit7Pnq.js +308 -0
- package/dist/id-front-of-card-vertical-Bcr-KXcl.js +278 -0
- package/dist/id-laser-h-BaUHzX-d.js +480 -0
- package/dist/{id-laser-v-BiUXkM4x.js → id-laser-v-Dv9yEYJE.js} +7 -17
- package/dist/id-selfie-flow/id-selfie-flow.es.js +239 -0
- package/dist/id-selfie-flow/styles.css +749 -0
- package/dist/id-verification/id-verification.es.js +13 -9
- package/dist/{idOcr-WFBvqy3b.js → idOcr-gsIXHq6R.js} +14 -15
- package/dist/identity-reuse/identity-reuse.es.js +6 -8
- package/dist/identity-reuse/styles.css +1 -1
- package/dist/{incode-logo-57XFniXU.js → incode-logo-rGFjZHqi.js} +64 -1
- package/dist/incodeComponent-K9ZWg302.js +713 -0
- package/dist/incodeModule-CcLzar_X.js +25 -0
- package/dist/index.es.js +16 -5
- package/dist/{inputComposed-C1R2LAa3.js → inputComposed-BeROn635.js} +9 -9
- package/dist/inputComposed-CADVQW-o.js +1 -0
- package/dist/{mandatoryConsent-D0GTKu-H.js → mandatoryConsent-BtqB-FxY.js} +9 -11
- package/dist/{capture-CkGvdDNH.js → manualCaptureButton-quGa2ufS.js} +68 -198
- package/dist/manualCaptureButton-t_oIol88.js +300 -0
- package/dist/{modal-OxkFuuiR.js → modal-BjjJFpZu.js} +4 -4
- package/dist/{modal.hooks-ZrzmHAUa.js → modal.hooks-BvXzNWvY.js} +1 -1
- package/dist/{numberedStep-CEb-lFJm.js → numberedStep-DUs77Gy3.js} +1 -1
- package/dist/{optionAccessibleLabel-gfF-58Mv.js → optionAccessibleLabel-DgfHD_mx.js} +6 -6
- package/dist/{otpInput-CnDc6pQm.js → otpInput-D5dLXrmC.js} +72 -36
- package/dist/{passport-horizontal-hint-Bj0ZJY0g.js → passport-horizontal-hint-DgnU-8bl.js} +1 -1
- package/dist/{passport-vertical-hint-Dfk77xUJ.js → passport-vertical-hint-Dd2Wknw7.js} +1 -1
- package/dist/{pdf-BqtJTlor.js → pdf-BUoY_2gv.js} +1 -1
- package/dist/pdfViewer-CZb6obcZ.js +2 -0
- package/dist/{pdfViewer-B97DmT9m.js → pdfViewer-vud1VZv6.js} +5 -7
- package/dist/phone/phone.es.js +13 -12
- package/dist/{phoneInputComposed-DMiXfF-1.js → phoneInputComposed-CeVWTS_O.js} +7 -6
- package/dist/{processing-BeUMfdJJ.js → processing-BsvHyDWa.js} +2 -2
- package/dist/qe-signature/qe-signature.es.js +7 -4
- package/dist/{radioGroupComposed-DuQxslB2.js → radioGroupComposed-DzNGUbZQ.js} +16 -15
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +132 -45
- package/dist/redirect-to-mobile/styles.css +20 -10
- package/dist/{registerIncodeElement-DaNjbAwZ.js → registerIncodeElement-BduCekz5.js} +1 -1
- package/dist/{richText-CB1fmegc.js → richText-CTHBpZOw.js} +3 -1607
- package/dist/selfie/selfie.es.js +10 -10
- package/dist/selfie/styles.css +16 -949
- package/dist/signature/signature.es.js +27 -19
- package/dist/{ae-signature/styles2.css → signature/styles.css} +4 -4
- package/dist/{snackbar-DS7Mv62v.js → snackbar-C9Mqrh0e.js} +2 -2
- package/dist/spacer-CDlQd12V.js +2344 -0
- package/dist/{spinner-BMeIEK1d.js → spinner-CLZ2fz4u.js} +45 -4
- package/dist/statusPage--GVFSUJp.js +36 -0
- package/dist/{successIcon-B5mGvdx1.js → successIcon-Bj8Y9CuI.js} +1 -1
- package/dist/{tabs-C__chW-u.js → tabs-DweBZTV2.js} +4 -3
- package/dist/themes/dark.css +35 -0
- package/dist/themes/light.css +35 -0
- package/dist/{tutorial-CCfPuVKX.js → tutorial-BZZC93Ur.js} +222 -180
- package/dist/types/ae-signature.d.ts +91 -5
- package/dist/types/antifraud.d.ts +86 -3
- package/dist/types/authentication.d.ts +86 -3
- package/dist/types/certificate-issuance.d.ts +86 -3
- package/dist/types/consent.d.ts +86 -3
- package/dist/types/cross-document-data-match.d.ts +88 -4
- package/dist/types/curp-validation.d.ts +86 -3
- package/dist/types/document-capture.d.ts +88 -4
- package/dist/types/ekyb.d.ts +88 -4
- package/dist/types/ekyc.d.ts +88 -4
- package/dist/types/electronic-signature.d.ts +87 -4
- package/dist/types/email.d.ts +82 -22
- package/dist/types/extensibility.d.ts +157 -5
- package/dist/types/face-match.d.ts +84 -22
- package/dist/types/field-comparison.d.ts +86 -3
- package/dist/types/fiscal-qr.d.ts +89 -5
- package/dist/types/flow.d.ts +92 -2
- package/dist/types/geolocation.d.ts +86 -3
- package/dist/types/government-validation.d.ts +86 -3
- package/dist/types/id-selfie-flow.d.ts +161 -0
- package/dist/types/id-verification.d.ts +87 -4
- package/dist/types/id.d.ts +88 -5
- package/dist/types/identity-reuse.d.ts +82 -2
- package/dist/types/index.d.ts +106 -1
- package/dist/types/phone.d.ts +83 -24
- package/dist/types/qe-signature.d.ts +91 -5
- package/dist/types/redirect-to-mobile.d.ts +4 -1
- package/dist/types/selfie.d.ts +86 -3
- package/dist/types/signature.d.ts +91 -5
- package/dist/types/video-selfie.d.ts +83 -6
- package/dist/types/watchlist.d.ts +91 -5
- package/dist/types/workflow.d.ts +85 -2
- package/dist/{i18n-CU4xq8qC.js → uiConfig-B5ASPUL4.js} +26 -3
- package/dist/{useModuleLoader-Bi26kJbg.js → useModuleLoader-D_YpuVsS.js} +37 -248
- package/dist/{vendor-preact-DThS2ZQ_.js → vendor-preact-mvwZ8mJj.js} +1 -1
- package/dist/{verificationResult-BWWkmeiA.js → verificationResult-B8HwR07t.js} +26 -15
- package/dist/video-selfie/styles.css +349 -1202
- package/dist/video-selfie/video-selfie.es.js +120 -381
- package/dist/watchlist/watchlist.es.js +16 -13
- package/dist/{watchlistForBusiness-D2Uo_TwF.js → watchlistForBusiness-D8Is99bZ.js} +12 -13
- package/dist/workflow/styles.css +501 -3977
- package/dist/workflow/workflow.es.js +25 -18
- package/package.json +22 -20
- package/dist/button-Dz6AsbmF.js +0 -40
- package/dist/cameraView-DIEzM5ru.js +0 -47
- package/dist/cpf-ocr/cpf-ocr.es.js +0 -2
- package/dist/cpf-ocr/styles.css +0 -45
- package/dist/cpfOcr-B79245-3.js +0 -2
- package/dist/cpfOcr-BhxT-lRN.js +0 -92
- package/dist/dateInputComposed-DRzZi6uy.js +0 -1
- package/dist/documentCapture-DXYYyxZl.js +0 -2
- package/dist/dropdownComposed-BAoxIIsE.js +0 -1
- package/dist/ekybModule-C6Nttked.js +0 -2
- package/dist/ekycModule-CDIEjI6V.js +0 -2
- package/dist/errorIcon-BA4T6iy-.js +0 -26
- package/dist/faceMatch-B_HvxLm_.js +0 -2
- package/dist/fieldComparison-DfNEuEE5.js +0 -2
- package/dist/flip-animation-CZYSUtMm.js +0 -6983
- package/dist/hooks-CNu7o-v8.js +0 -186
- package/dist/id-laser-h-CzPegPMn.js +0 -467
- package/dist/incodeComponent-CfzJGETt.js +0 -64
- package/dist/incodeModule-B-4_3JrK.js +0 -13
- package/dist/inputComposed-BaY5q9WM.js +0 -1
- package/dist/loadingIcon-B0ysgiNq.js +0 -148
- package/dist/page-DidH_RkX.js +0 -171
- package/dist/spinner-BCDCoi9C.js +0 -1
- package/dist/statusPage-Bk8nJwXV.js +0 -28
- package/dist/transitionSpinner-CuNCqHNi.js +0 -30
- package/dist/types/cpf-ocr.d.ts +0 -12
- package/dist/typography-BZIpjo97.js +0 -45
- package/dist/uiConfig-D2_wawvr.js +0 -25
- /package/dist/{aligndevicelottie-DFscByAI.js → aligndevicelottie-CfoZ5Uus.js} +0 -0
- /package/dist/{back-tutorial-cI_4VHmE.js → back-tutorial-BHyRHyET.js} +0 -0
- /package/dist/{backdevicelottie-COyhTrxM.js → backdevicelottie-yKkczgFy.js} +0 -0
- /package/dist/{blurdevicelottie-BLVeJHEG.js → blurdevicelottie-8BbophdM.js} +0 -0
- /package/dist/{browser-ponyfill-Df13Th-G.js → browser-ponyfill-CBjGwwPW.js} +0 -0
- /package/dist/{defineProperty-Qjefk7Uf.js → defineProperty-BbpBna-2.js} +0 -0
- /package/dist/{frontdevicelottie-B4tE2PYQ.js → frontdevicelottie-CFcahVLk.js} +0 -0
- /package/dist/{glaredevicelottie-D1pR73sx.js → glaredevicelottie-Cnvah0kz.js} +0 -0
- /package/dist/{id-tutorial-DwO90SAm.js → id-tutorial-BOOsXlAJ.js} +0 -0
- /package/dist/{lottie_light-C6B2ec41.js → lottie_light-Bv56F2Ae.js} +0 -0
- /package/dist/{passport-tutorial-D9JNsMsM.js → passport-tutorial-CeSup6m9.js} +0 -0
- /package/dist/{requiredLabelHint-D0RhuMed.js → requiredLabelHint-Dx0WS2cR.js} +0 -0
- /package/dist/{selfieTutorial-pB-N-fj5.js → selfieTutorial-CYa8bq6B.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { v as u } from "./vendor-preact-
|
|
1
|
+
import { v as u } from "./vendor-preact-mvwZ8mJj.js";
|
|
2
2
|
//#region src/modules/id/capture/assets/hints/front-horizontal-hint.svg?react
|
|
3
3
|
var SvgFrontHorizontalHint = (props) => /* @__PURE__ */ u("svg", {
|
|
4
4
|
width: 800,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { v as u } from "./vendor-preact-
|
|
1
|
+
import { v as u } from "./vendor-preact-mvwZ8mJj.js";
|
|
2
2
|
//#region src/modules/id/capture/assets/hints/front-vertical-hint.svg?react
|
|
3
3
|
var SvgFrontVerticalHint = (props) => /* @__PURE__ */ u("svg", {
|
|
4
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import { r as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as NumberedStep } from "../numberedStep-
|
|
9
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
1
|
+
import { i as useTranslation, r as Trans } from "../uiConfig-B5ASPUL4.js";
|
|
2
|
+
import { S as k, v as u } from "../vendor-preact-mvwZ8mJj.js";
|
|
3
|
+
import { _ as useModuleTerminalCallbacks, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, y as useManager } from "../incodeComponent-K9ZWg302.js";
|
|
4
|
+
import { t as Spacer } from "../spacer-CDlQd12V.js";
|
|
5
|
+
import { r as Button } from "../incode-logo-rGFjZHqi.js";
|
|
6
|
+
import { t as VerificationResult } from "../verificationResult-B8HwR07t.js";
|
|
7
|
+
import { t as ConnectionError } from "../connectionError-DAeXp8sE.js";
|
|
8
|
+
import { t as NumberedStep } from "../numberedStep-DUs77Gy3.js";
|
|
9
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-CcLzar_X.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
|
|
@@ -755,6 +755,7 @@ var GeolocationPageLayout = ({ icon: Icon, title, subtitle, onContinue, isLoadin
|
|
|
755
755
|
subtitle,
|
|
756
756
|
children: [/* @__PURE__ */ u("div", {
|
|
757
757
|
class: "IncodeGeolocationIconWrapper",
|
|
758
|
+
tabIndex: isLoading ? 0 : void 0,
|
|
758
759
|
children: /* @__PURE__ */ u(Icon, {})
|
|
759
760
|
}), /* @__PURE__ */ u("div", {
|
|
760
761
|
class: "IncodeGeolocationButtonWrapper",
|
|
@@ -771,14 +772,16 @@ var GeolocationPageLayout = ({ icon: Icon, title, subtitle, onContinue, isLoadin
|
|
|
771
772
|
};
|
|
772
773
|
var GeolocationContent = ({ config, manager: externalManager, onFinish, onError: _onError }) => {
|
|
773
774
|
const { t } = useTranslation();
|
|
775
|
+
const reloadPage = () => window.location.reload();
|
|
774
776
|
const [state, manager] = useManager(() => {
|
|
775
777
|
if (externalManager) return externalManager;
|
|
776
778
|
if (!config) throw new Error("Geolocation config is required");
|
|
777
779
|
return createGeolocationManager({ config });
|
|
778
780
|
}, { manageLifecycle: !externalManager });
|
|
779
781
|
useModuleTerminalCallbacks({
|
|
780
|
-
status: state.status === "finished"
|
|
781
|
-
onFinish
|
|
782
|
+
status: state.status === "finished" || state.status === "closed" ? state.status : "loading",
|
|
783
|
+
onFinish,
|
|
784
|
+
onError: _onError
|
|
782
785
|
});
|
|
783
786
|
const isLoading = state.status === "requestingLocation" || state.status === "submitting";
|
|
784
787
|
if (state.status === "idle" || state.status === "requestingLocation" || state.status === "submitting") return /* @__PURE__ */ u(GeolocationPageLayout, {
|
|
@@ -796,17 +799,37 @@ var GeolocationContent = ({ config, manager: externalManager, onFinish, onError:
|
|
|
796
799
|
if (state.status === "permissionDenied") return /* @__PURE__ */ u(GeolocationPermissionDenied, {
|
|
797
800
|
canSkip: state.canSkip,
|
|
798
801
|
onSkip: () => manager.skip(),
|
|
799
|
-
onRefresh:
|
|
802
|
+
onRefresh: reloadPage
|
|
800
803
|
});
|
|
804
|
+
if (state.status === "error") {
|
|
805
|
+
const errorAction = state.attemptsRemaining > 0 ? {
|
|
806
|
+
btnLabel: t("common.tryAgain"),
|
|
807
|
+
subtitle: t("geolocation.tryAgain.subtitle"),
|
|
808
|
+
action: manager.retry
|
|
809
|
+
} : {
|
|
810
|
+
btnLabel: t(state.canSkip ? "geolocationv2.skip" : "geolocation.error.quitProcess"),
|
|
811
|
+
subtitle: t(state.canSkip ? "geolocation.errorWithSkip.subtitle" : "geolocation.errorWithQuitProcess.subtitle"),
|
|
812
|
+
action: state.canSkip ? manager.skip : manager.quit
|
|
813
|
+
};
|
|
814
|
+
return /* @__PURE__ */ u(VerificationResult, {
|
|
815
|
+
status: "warning",
|
|
816
|
+
warningTitle: t("geolocation.error.title"),
|
|
817
|
+
errorMessage: errorAction.subtitle,
|
|
818
|
+
onRetry: errorAction.action,
|
|
819
|
+
retryLabel: errorAction.btnLabel
|
|
820
|
+
});
|
|
821
|
+
}
|
|
822
|
+
if (state.status === "noNetwork") return /* @__PURE__ */ u(ConnectionError, { onRefresh: reloadPage });
|
|
801
823
|
if (state.status === "finished") return null;
|
|
802
824
|
return null;
|
|
803
825
|
};
|
|
804
|
-
var
|
|
826
|
+
var GeolocationWithLocalConfig = ({ config, manager, onFinish, onError }) => /* @__PURE__ */ u(IncodeComponent, { children: config ? /* @__PURE__ */ u(GeolocationContent, {
|
|
805
827
|
config,
|
|
806
828
|
manager,
|
|
807
829
|
onFinish,
|
|
808
830
|
onError
|
|
809
831
|
}) : null });
|
|
832
|
+
var Geolocation = withStandaloneModuleBootstrap(GeolocationWithLocalConfig, "GEOLOCATION", { supportsExternalManager: true });
|
|
810
833
|
registerIncodeModuleElement(Geolocation, "incode-geolocation");
|
|
811
834
|
//#endregion
|
|
812
835
|
export { Geolocation };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
|
|
2
2
|
@layer properties {
|
|
3
3
|
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
|
|
4
|
-
*, :before, :after, ::backdrop {
|
|
4
|
+
.IncodeComponent, .IncodeComponent *, .IncodeComponent :before, .IncodeComponent :after, .IncodeComponent ::backdrop {
|
|
5
5
|
--tw-leading: initial;
|
|
6
6
|
--tw-font-weight: initial;
|
|
7
7
|
}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import
|
|
6
|
-
import { t as
|
|
7
|
-
import "../
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as OtpInput } from "../otpInput-CnDc6pQm.js";
|
|
11
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-B-4_3JrK.js";
|
|
1
|
+
import { i as useTranslation } from "../uiConfig-B5ASPUL4.js";
|
|
2
|
+
import { S as k, v as u } from "../vendor-preact-mvwZ8mJj.js";
|
|
3
|
+
import { _ as useModuleTerminalCallbacks, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, y as useManager } from "../incodeComponent-K9ZWg302.js";
|
|
4
|
+
import { t as Spacer } from "../spacer-CDlQd12V.js";
|
|
5
|
+
import "../extensibility-iJYzpW6H.js";
|
|
6
|
+
import { t as AutoFocusTitle } from "../autoFocusTitle-gLba2mgp.js";
|
|
7
|
+
import { t as VerificationResult } from "../verificationResult-B8HwR07t.js";
|
|
8
|
+
import { t as OtpInput } from "../otpInput-D5dLXrmC.js";
|
|
9
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-CcLzar_X.js";
|
|
12
10
|
import { createGovernmentValidationManager } from "@incodetech/core/government-validation";
|
|
13
11
|
//#region src/modules/government-validation/governmentIncodeLogo.tsx
|
|
14
12
|
var VerifiedByGovIncodeLogo = () => {
|
|
@@ -156,12 +154,13 @@ var GovernmentValidationContent = ({ config, onFinish }) => {
|
|
|
156
154
|
})
|
|
157
155
|
] });
|
|
158
156
|
};
|
|
159
|
-
var
|
|
157
|
+
var GovernmentValidationWithLocalConfig = ({ config, onFinish }) => {
|
|
160
158
|
return /* @__PURE__ */ u(IncodeComponent, { children: config ? /* @__PURE__ */ u(GovernmentValidationContent, {
|
|
161
159
|
config,
|
|
162
160
|
onFinish
|
|
163
161
|
}) : null });
|
|
164
162
|
};
|
|
163
|
+
var GovernmentValidation = withStandaloneModuleBootstrap(GovernmentValidationWithLocalConfig, "GOVT_VALIDATION_PROVISIONING");
|
|
165
164
|
registerIncodeModuleElement(GovernmentValidation, "incode-government-validation");
|
|
166
165
|
//#endregion
|
|
167
166
|
export { GovernmentValidation };
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as y, d as T, l as A, p as d, v as u } from "./vendor-preact-
|
|
3
|
-
import {
|
|
4
|
-
import { r as
|
|
5
|
-
import "./
|
|
6
|
-
import { t as
|
|
7
|
-
import
|
|
8
|
-
import { t as DropdownComposed } from "./dropdownComposed-CoU0enG6.js";
|
|
9
|
-
import "./dropdownComposed-BAoxIIsE.js";
|
|
1
|
+
import { i as useTranslation, l as getLanguageEmoji, n as useUiConfig, u as supportedLanguages } from "./uiConfig-B5ASPUL4.js";
|
|
2
|
+
import { _ as y, d as T, l as A, p as d, v as u } from "./vendor-preact-mvwZ8mJj.js";
|
|
3
|
+
import { t as Spacer } from "./spacer-CDlQd12V.js";
|
|
4
|
+
import { r as Button } from "./incode-logo-rGFjZHqi.js";
|
|
5
|
+
import { t as Modal } from "./modal-BjjJFpZu.js";
|
|
6
|
+
import { t as DropdownComposed } from "./dropdownComposed-OHDHzt1Q.js";
|
|
7
|
+
import "./dropdownComposed-kjG4UblM.js";
|
|
10
8
|
//#region src/shared/homeScreen/language.ts
|
|
11
9
|
function capitalizeLabel(text, locale) {
|
|
12
10
|
const [firstCharacter, ...rest] = Array.from(text);
|
|
@@ -1,19 +1,26 @@
|
|
|
1
|
-
import { m as g, v as u } from "./vendor-preact-
|
|
2
|
-
import "./
|
|
3
|
-
import "./successIcon-
|
|
1
|
+
import { m as g, v as u } from "./vendor-preact-mvwZ8mJj.js";
|
|
2
|
+
import "./incode-logo-rGFjZHqi.js";
|
|
3
|
+
import "./successIcon-Bj8Y9CuI.js";
|
|
4
4
|
//#region src/shared/icons/warningIcon.tsx
|
|
5
5
|
var WarningIcon = ({ size = 32 }) => {
|
|
6
6
|
return /* @__PURE__ */ u("svg", {
|
|
7
7
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8
8
|
width: size,
|
|
9
9
|
height: size,
|
|
10
|
-
viewBox: "0 0
|
|
10
|
+
viewBox: "0 0 64 64",
|
|
11
11
|
fill: "none",
|
|
12
12
|
class: "IncodeWarningIcon",
|
|
13
13
|
"aria-hidden": "true",
|
|
14
|
-
children: [/* @__PURE__ */ u("
|
|
15
|
-
|
|
14
|
+
children: [/* @__PURE__ */ u("path", {
|
|
15
|
+
"fill-rule": "evenodd",
|
|
16
|
+
"clip-rule": "evenodd",
|
|
17
|
+
d: "M32.0001 6.66699C18.0321 6.66699 6.66675 18.0323 6.66675 32.0003C6.66675 45.971 18.0321 57.3337 32.0001 57.3337C45.9681 57.3337 57.3334 45.971 57.3334 32.0003C57.3334 18.0323 45.9681 6.66699 32.0001 6.66699Z",
|
|
16
18
|
fill: "var(--icon-status-warning)"
|
|
19
|
+
}), /* @__PURE__ */ u("path", {
|
|
20
|
+
"fill-rule": "evenodd",
|
|
21
|
+
"clip-rule": "evenodd",
|
|
22
|
+
d: "M31.9999 43.917C30.8959 43.917 29.9999 43.085 29.9999 41.9783V41.853C29.9999 40.749 30.8959 39.853 31.9999 39.853C33.1039 39.853 33.9999 40.749 33.9999 41.853C33.9999 42.957 33.1039 43.917 31.9999 43.917ZM29.9893 22.1543C29.9893 21.0503 30.8853 20.1543 31.9893 20.1543C33.0933 20.1543 33.9893 21.0503 33.9893 22.1543V33.6183C33.9893 34.7223 33.0933 35.6183 31.9893 35.6183C30.8853 35.6183 29.9893 34.7223 29.9893 33.6183V22.1543Z",
|
|
23
|
+
fill: "white"
|
|
17
24
|
})]
|
|
18
25
|
});
|
|
19
26
|
};
|
|
@@ -251,6 +258,84 @@ var CloseIcon = ({ width = 14, height = 14, class: className, fillColor = "var(-
|
|
|
251
258
|
});
|
|
252
259
|
};
|
|
253
260
|
//#endregion
|
|
261
|
+
//#region src/shared/icons/ellipseIcon.tsx
|
|
262
|
+
var EllipseIcon = ({ size = 16 }) => {
|
|
263
|
+
return /* @__PURE__ */ u("svg", {
|
|
264
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
265
|
+
width: size,
|
|
266
|
+
height: size,
|
|
267
|
+
viewBox: "0 0 16 16",
|
|
268
|
+
fill: "none",
|
|
269
|
+
class: "IncodeEllipseIcon",
|
|
270
|
+
"aria-hidden": "true",
|
|
271
|
+
children: /* @__PURE__ */ u("circle", {
|
|
272
|
+
cx: "8",
|
|
273
|
+
cy: "8",
|
|
274
|
+
r: "5.585",
|
|
275
|
+
stroke: "var(--icon-neutral-500)",
|
|
276
|
+
"stroke-width": "1.5"
|
|
277
|
+
})
|
|
278
|
+
});
|
|
279
|
+
};
|
|
280
|
+
//#endregion
|
|
281
|
+
//#region src/shared/icons/eyeIcon.tsx
|
|
282
|
+
var EyeIcon = ({ size = 24 }) => {
|
|
283
|
+
return /* @__PURE__ */ u("svg", {
|
|
284
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
285
|
+
width: size,
|
|
286
|
+
height: size,
|
|
287
|
+
viewBox: "0 0 24 24",
|
|
288
|
+
fill: "none",
|
|
289
|
+
class: "IncodeEyeIcon",
|
|
290
|
+
"aria-hidden": "true",
|
|
291
|
+
children: /* @__PURE__ */ u("path", {
|
|
292
|
+
"fill-rule": "evenodd",
|
|
293
|
+
"clip-rule": "evenodd",
|
|
294
|
+
d: "M12.0028 4C16.1388 4.003 19.8527 6.902 21.9387 11.756C22.0208 11.945 22.0208 12.159 21.9387 12.348C19.8537 17.203 16.1388 20.102 12.0028 20.105H11.9967C7.86075 20.102 4.14675 17.203 2.06075 12.348C1.97975 12.159 1.97975 11.945 2.06075 11.756C4.14675 6.902 7.86175 4.003 11.9967 4H12.0028ZM11.9998 5.5C8.56375 5.501 5.42975 7.944 3.56975 12.052C5.42975 16.161 8.56275 18.604 11.9998 18.605C15.4368 18.604 18.5697 16.161 20.4297 12.052C18.5697 7.944 15.4368 5.501 11.9998 5.5ZM11.9995 8.1408C14.1565 8.1408 15.9115 9.8958 15.9115 12.0528C15.9115 14.2088 14.1565 15.9628 11.9995 15.9628C9.84245 15.9628 8.08845 14.2088 8.08845 12.0528C8.08845 9.8958 9.84245 8.1408 11.9995 8.1408ZM11.9995 9.6408C10.6695 9.6408 9.58845 10.7228 9.58845 12.0528C9.58845 13.3818 10.6695 14.4628 11.9995 14.4628C13.3295 14.4628 14.4115 13.3818 14.4115 12.0528C14.4115 10.7228 13.3295 9.6408 11.9995 9.6408Z",
|
|
295
|
+
fill: "var(--icon-neutral-500)"
|
|
296
|
+
})
|
|
297
|
+
});
|
|
298
|
+
};
|
|
299
|
+
//#endregion
|
|
300
|
+
//#region src/shared/icons/eyeOffIcon.tsx
|
|
301
|
+
var EyeOffIcon = ({ size = 24 }) => {
|
|
302
|
+
return /* @__PURE__ */ u("svg", {
|
|
303
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
304
|
+
width: size,
|
|
305
|
+
height: size,
|
|
306
|
+
viewBox: "0 0 24 24",
|
|
307
|
+
fill: "none",
|
|
308
|
+
class: "IncodeEyeOffIcon",
|
|
309
|
+
"aria-hidden": "true",
|
|
310
|
+
children: [
|
|
311
|
+
/* @__PURE__ */ u("path", {
|
|
312
|
+
"fill-rule": "evenodd",
|
|
313
|
+
"clip-rule": "evenodd",
|
|
314
|
+
d: "M3.68489 7.2992C4.06098 7.12561 4.50658 7.28977 4.68016 7.66585C7.61203 14.0179 16.3863 14.0179 19.3182 7.66585C19.4918 7.28977 19.9374 7.12561 20.3135 7.2992C20.6896 7.47278 20.8537 7.91838 20.6801 8.29447C17.212 15.8084 6.78637 15.8084 3.31824 8.29447C3.14465 7.91838 3.30881 7.47278 3.68489 7.2992Z",
|
|
315
|
+
fill: "var(--icon-neutral-500)"
|
|
316
|
+
}),
|
|
317
|
+
/* @__PURE__ */ u("path", {
|
|
318
|
+
"fill-rule": "evenodd",
|
|
319
|
+
"clip-rule": "evenodd",
|
|
320
|
+
d: "M7.30352 10.9128C7.63844 11.1565 7.71238 11.6256 7.46867 11.9605L4.60966 15.8895C4.36595 16.2244 3.89686 16.2984 3.56194 16.0547C3.22701 15.8109 3.15307 15.3419 3.39678 15.0069L6.25579 11.0779C6.49951 10.743 6.96859 10.6691 7.30352 10.9128Z",
|
|
321
|
+
fill: "var(--icon-neutral-500)"
|
|
322
|
+
}),
|
|
323
|
+
/* @__PURE__ */ u("path", {
|
|
324
|
+
"fill-rule": "evenodd",
|
|
325
|
+
"clip-rule": "evenodd",
|
|
326
|
+
d: "M16.7026 10.9127C17.0376 10.669 17.5067 10.7431 17.7503 11.078L20.6083 15.007C20.852 15.342 20.778 15.8111 20.443 16.0547C20.1081 16.2984 19.639 16.2244 19.3953 15.8894L16.5373 11.9604C16.2936 11.6254 16.3677 11.1564 16.7026 10.9127Z",
|
|
327
|
+
fill: "var(--icon-neutral-500)"
|
|
328
|
+
}),
|
|
329
|
+
/* @__PURE__ */ u("path", {
|
|
330
|
+
"fill-rule": "evenodd",
|
|
331
|
+
"clip-rule": "evenodd",
|
|
332
|
+
d: "M11.9992 12.4333C12.4134 12.4333 12.7492 12.7691 12.7492 13.1833V17.0493C12.7492 17.4635 12.4134 17.7993 11.9992 17.7993C11.585 17.7993 11.2492 17.4635 11.2492 17.0493V13.1833C11.2492 12.7691 11.585 12.4333 11.9992 12.4333Z",
|
|
333
|
+
fill: "var(--icon-neutral-500)"
|
|
334
|
+
})
|
|
335
|
+
]
|
|
336
|
+
});
|
|
337
|
+
};
|
|
338
|
+
//#endregion
|
|
254
339
|
//#region src/shared/icons/fileIcon.tsx
|
|
255
340
|
var FileIcon = ({ size = 24 }) => {
|
|
256
341
|
return /* @__PURE__ */ u("svg", {
|
|
@@ -357,4 +442,4 @@ var SvgLightningIcon = (props) => /* @__PURE__ */ u("svg", {
|
|
|
357
442
|
}) })]
|
|
358
443
|
});
|
|
359
444
|
//#endregion
|
|
360
|
-
export { FileIcon as a,
|
|
445
|
+
export { CalendarIcon as _, FileIcon as a, EllipseIcon as c, ChevronLeftIcon as d, ChevronDown as f, CameraIcon as g, CaptureButtonIcon as h, HelpIcon as i, CloseIcon as l, CheckmarkIcon as m, SearchIcon as n, EyeOffIcon as o, CheckmarkCompactIcon as p, LockIcon as r, EyeIcon as s, SvgLightningIcon as t, ChevronRightIcon as u, WarningIcon as v };
|