@incodetech/web 2.0.1-rc.0 → 2.1.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 +15 -13
- package/dist/ae-signature/styles.css +3 -17
- package/dist/ae-signature/styles2.css +15 -5
- package/dist/aligndevicelottie-DY_bX_p8.js +12769 -0
- package/dist/antifraud/antifraud.es.js +23 -16
- package/dist/authentication/authentication.es.js +42 -27
- package/dist/autoFocusTitle-BzkUiELM.js +29 -0
- package/dist/{back-horizontal-hint-B8Brxh3U.js → back-horizontal-hint-D_8LptLm.js} +26 -26
- package/dist/back-tutorial-vb1MxlrT.js +14597 -0
- package/dist/{back-vertical-hint-BBo36dxn.js → back-vertical-hint-C1evxxq2.js} +27 -27
- package/dist/backdevicelottie-HypPqBz7.js +16690 -0
- package/dist/base.css +1258 -104
- package/dist/blurdevicelottie-CBXtBFiJ.js +15951 -0
- package/dist/bottomSheet-F1GJfQx_.js +39 -0
- package/dist/browser-ponyfill-CLLvZCVg.js +441 -0
- package/dist/button-CM_hgyIP.js +35 -0
- package/dist/checkbox-BoeLHKgp.js +96 -0
- package/dist/consent/consent.es.js +89 -73
- package/dist/consent/styles.css +35 -22
- package/dist/countrySelector-mSWyHSy4.js +60 -0
- package/dist/cpf-ocr/cpf-ocr.es.js +2 -0
- package/dist/cpfOcr-MtpRztkG.js +92 -0
- package/dist/cpfOcr-jJkYCfsX.js +2 -0
- package/dist/cross-document-data-match/cross-document-data-match.es.js +20 -16
- package/dist/curp-validation/curp-validation.es.js +247 -203
- package/dist/customFields-DXXt9HGM.js +140 -0
- package/dist/customWatchlist-DsW04UF6.js +36 -0
- package/dist/dateInputComposed-C_mh4XBg.js +69 -0
- package/dist/dateInputComposed-Cy6a7ymh.js +1 -0
- package/dist/defineProperty-mefzVtTv.js +39 -0
- package/dist/document-capture/document-capture.es.js +2 -0
- package/dist/document-capture/styles.css +2 -5
- package/dist/documentCapture-8ypBJehw.js +2 -0
- package/dist/documentCapture-BDV_921m.js +880 -0
- package/dist/dropdownComposed-CEWBSdGl.js +1 -0
- package/dist/dropdownComposed-_fgAlo_C.js +380 -0
- package/dist/dynamic-forms/styles.css +25 -13
- package/dist/dynamicForms-DyfnsS7E.js +352 -0
- package/dist/ekyb/ekyb.es.js +2 -2
- package/dist/ekyb/styles.css +2 -0
- package/dist/ekybModule-CIPGmCvD.js +279 -0
- package/dist/ekybModule-DFoYpheB.js +2 -0
- package/dist/ekyc/ekyc.es.js +2 -2
- package/dist/ekyc/styles.css +9 -7
- package/dist/ekycModule-BGzwgjl1.js +2 -0
- package/dist/ekycModule-BuTaC5ct.js +257 -0
- package/dist/electronic-signature/electronic-signature.es.js +2 -2
- package/dist/electronic-signature-B-Q7M0wK.js +430 -0
- package/dist/email/email.es.js +199 -66
- package/dist/emailInput-KZmhjOdZ.js +39 -0
- package/dist/errorIcon-DJRZpd8j.js +26 -0
- package/dist/expiredId-Q1t6aVpk.js +85 -0
- package/dist/extensibility-Cs3KQQdC.js +3070 -0
- package/dist/extensibility.es.js +26 -25
- package/dist/face-match/face-match.es.js +2 -2
- package/dist/face-match/styles.css +0 -4
- package/dist/faceMatch--RDHJe4t.js +343 -0
- package/dist/faceMatch-yEKPYaym.js +2 -0
- package/dist/field-comparison/field-comparison.es.js +2 -0
- package/dist/field-comparison/styles.css +16 -0
- package/dist/fieldComparison-CAF86bTC.js +88 -0
- package/dist/fieldComparison-D0an7T_g.js +2 -0
- package/dist/fiscal-qr/fiscal-qr.es.js +224 -0
- package/dist/fiscal-qr/styles.css +71 -0
- package/dist/{flip-animation-CgwRsEmK.js → flip-animation-BGRvygw9.js} +4221 -4221
- package/dist/flow/flow.es.js +619 -484
- package/dist/flow/styles.css +378 -418
- package/dist/{front-horizontal-hint-DGGGi8e1.js → front-horizontal-hint-Uf5bHCsd.js} +70 -70
- package/dist/{front-vertical-hint-CNr5mE6Q.js → front-vertical-hint-DdWNA45v.js} +81 -81
- package/dist/frontdevicelottie-CLqitJhG.js +17314 -0
- package/dist/geolocation/geolocation.es.js +486 -395
- package/dist/glaredevicelottie-BS04U6Fc.js +14478 -0
- package/dist/governmentValidation/governmentValidation.es.js +166 -93
- package/dist/governmentValidation/styles.css +0 -17
- package/dist/homeScreen-BZnIEDrV.js +264 -0
- package/dist/hooks-Da_yP_Dr.js +149 -0
- package/dist/i18n-CoCO2ZuN.js +2971 -0
- package/dist/icons-Dbs9ZfYM.js +360 -0
- package/dist/id/id.es.js +583 -414
- package/dist/id/styles.css +59 -43
- package/dist/id-laser-h-DX8UbVNH.js +467 -0
- package/dist/id-laser-v-DhnHdjlB.js +490 -0
- package/dist/id-tutorial-lj4iKtYT.js +13165 -0
- package/dist/id-verification/id-verification.es.js +21 -17
- package/dist/idOcr-CjGbb4dB.js +123 -0
- package/dist/identity-reuse/identity-reuse.es.js +311 -182
- package/dist/identity-reuse/styles.css +134 -80
- package/dist/incode-logo-57XFniXU.js +4 -0
- package/dist/incodeComponent-wfnHlnXx.js +63 -0
- package/dist/incodeModule-BUDoTwT9.js +13 -0
- package/dist/index.es.js +16 -13
- package/dist/inputComposed-BEn7_nZd.js +1 -0
- package/dist/inputComposed-CQ4AsvZg.js +99 -0
- package/dist/loadingIcon-B0ysgiNq.js +148 -0
- package/dist/lottie_light-Dp9Bz3mf.js +9031 -0
- package/dist/mandatoryConsent-r0PQHmv-.js +107 -0
- package/dist/modal-nTSaG7nB.js +139 -0
- package/dist/modal.hooks-D2xhIuHA.js +195 -0
- package/dist/numberedStep-CEtwZqLp.js +13 -0
- package/dist/optionAccessibleLabel-CnA-mNAU.js +202 -0
- package/dist/otpInput-_JmtVwa0.js +195 -0
- package/dist/page-DxGQj7Gk.js +71 -0
- package/dist/{passport-horizontal-hint-Bgquwtac.js → passport-horizontal-hint-Bbm2mvSn.js} +55 -55
- package/dist/{passport-tutorial-DwRwtPVX.js → passport-tutorial-zT1ZoA-D.js} +7096 -7084
- package/dist/{passport-vertical-hint-BT1D5BrW.js → passport-vertical-hint-DJbCtBiM.js} +49 -49
- package/dist/pdf-BZA70WbM.js +22398 -0
- package/dist/pdfViewer-BK-yVIve.js +114 -0
- package/dist/phone/phone.es.js +214 -70
- package/dist/phoneInputComposed-DjNdsmPE.js +12142 -0
- package/dist/processing-BM-wT-1W.js +8 -0
- package/dist/qe-signature/qe-signature.es.js +15 -13
- package/dist/radioGroupComposed-BNuaopVr.js +215 -0
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +2774 -0
- package/dist/redirect-to-mobile/styles.css +19 -269
- package/dist/registerIncodeElement-77NGCDsy.js +11 -0
- package/dist/requiredLabelHint-DEadtiwx.js +17 -0
- package/dist/richText-Cf9aMOCk.js +3153 -0
- package/dist/rolldown-runtime--E5BIlTp.js +33 -0
- package/dist/selfie/selfie.es.js +54 -37
- package/dist/selfie/styles.css +0 -4
- package/dist/selfieTutorial-CtruLyO2.js +2689 -0
- package/dist/signature/signature.es.js +778 -405
- package/dist/snackbar-CxepGC3e.js +16 -0
- package/dist/spinner-B6RxGFrI.js +1 -0
- package/dist/spinner-D8a_2LvW.js +42 -0
- package/dist/statusPage-DMYPUwRZ.js +28 -0
- package/dist/successIcon-BAyDPT7I.js +30 -0
- package/dist/tabs-C8npVBbk.js +103 -0
- package/dist/themes/dark.css +5 -0
- package/dist/themes/light.css +4 -0
- package/dist/transitionSpinner-DRRz-NV8.js +26 -0
- package/dist/{tutorial-9vHAHvMK.js → tutorial-D1qaY2Tm.js} +1105 -856
- package/dist/types/ae-signature.d.ts +4 -1
- package/dist/types/antifraud.d.ts +9 -3
- package/dist/types/authentication.d.ts +4 -1
- package/dist/types/consent.d.ts +4 -1
- package/dist/types/cpf-ocr.d.ts +12 -0
- package/dist/types/cross-document-data-match.d.ts +4 -1
- package/dist/types/curp-validation.d.ts +9 -3
- package/dist/types/document-capture.d.ts +37 -0
- package/dist/types/ekyb.d.ts +4 -1
- package/dist/types/ekyc.d.ts +4 -1
- package/dist/types/electronic-signature.d.ts +4 -1
- package/dist/types/email.d.ts +4 -1
- package/dist/types/extensibility.d.ts +40 -15
- package/dist/types/face-match.d.ts +4 -1
- package/dist/types/field-comparison.d.ts +38 -0
- package/dist/types/fiscal-qr.d.ts +43 -0
- package/dist/types/flow.d.ts +5 -2
- package/dist/types/geolocation.d.ts +4 -1
- package/dist/types/governmentValidation.d.ts +4 -1
- package/dist/types/id-verification.d.ts +4 -1
- package/dist/types/id.d.ts +4 -1
- package/dist/types/identity-reuse.d.ts +4 -1
- package/dist/types/index.d.ts +20 -2
- package/dist/types/phone.d.ts +4 -1
- package/dist/types/qe-signature.d.ts +4 -1
- package/dist/types/redirect-to-mobile.d.ts +17 -0
- package/dist/types/selfie.d.ts +4 -1
- package/dist/types/signature.d.ts +4 -1
- package/dist/types/watchlist.d.ts +4 -1
- package/dist/types/workflow.d.ts +55 -11
- package/dist/typography-YLgHHuao.js +45 -0
- package/dist/uiConfig-D2_wawvr.js +25 -0
- package/dist/useModuleLoader-CeJ2jL25.js +672 -0
- package/dist/vendor-preact-DThS2ZQ_.js +955 -0
- package/dist/verificationResult-Do5SpZ6X.js +64 -0
- package/dist/verifiedByIncode-DjXOdCml.js +103 -0
- package/dist/watchlist/watchlist.es.js +31 -28
- package/dist/watchlistForBusiness-BFFXC9d-.js +80 -0
- package/dist/workflow/styles.css +449 -427
- package/dist/workflow/workflow.es.js +268 -182
- package/package.json +32 -10
- package/dist/aligndevicelottie-DoV8xKjh.js +0 -12757
- package/dist/autoFocusTitle-QexamZ4i.js +0 -16
- package/dist/back-tutorial-1NOQobGO.js +0 -14585
- package/dist/backdevicelottie-C_ceuqY7.js +0 -16678
- package/dist/blurdevicelottie-UO14Y0WC.js +0 -15939
- package/dist/bottomSheet-DE_8TFEC.js +0 -31
- package/dist/browser-ponyfill-jOkuz57z.js +0 -299
- package/dist/button-DcCUEn2n.js +0 -24
- package/dist/checkbox-Cl57ltq_.js +0 -85
- package/dist/countrySelector-CE-JgIsv.js +0 -58
- package/dist/cpfOcr-D_tbwbvh.js +0 -78
- package/dist/customFields-CW38fQUv.js +0 -127
- package/dist/customWatchlist-D9_yjEQd.js +0 -33
- package/dist/dateInputComposed-BpAGsjN6.js +0 -55
- package/dist/dateInputComposed-DU3o6PAV.js +0 -1
- package/dist/defineProperty-Dh8nSJpJ.js +0 -39
- package/dist/documentCapture-xX-JT7ZY.js +0 -763
- package/dist/dropdownComposed-DFRBG22E.js +0 -284
- package/dist/dropdownComposed-DwTzc2YU.js +0 -1
- package/dist/dynamicForms-CJP1Ia6Q.js +0 -262
- package/dist/ekybModule-BSs7mndb.js +0 -280
- package/dist/ekybModule-D9M3E2Gm.js +0 -2
- package/dist/ekycModule-CU9pt5YN.js +0 -246
- package/dist/ekycModule-CZw9cLno.js +0 -2
- package/dist/electronic-signature-COYXjGdd.js +0 -410
- package/dist/emailInput-DppGf9pv.js +0 -37
- package/dist/expiredId-BnmzE8T3.js +0 -70
- package/dist/extensibility-CzEJfRwo.js +0 -2586
- package/dist/faceMatch-B8j0g0Yo.js +0 -2
- package/dist/faceMatch-BV8UD7tj.js +0 -201
- package/dist/frontdevicelottie-Bu6f9fDE.js +0 -17302
- package/dist/glaredevicelottie-B10axYs_.js +0 -14466
- package/dist/homeScreen-DnP1jw9A.js +0 -227
- package/dist/hooks-BVnGysT7.js +0 -80
- package/dist/i18n-9s4OSqwi.js +0 -2010
- package/dist/icons-Cc7zwchP.js +0 -310
- package/dist/id-laser-h-mBAzHVOK.js +0 -467
- package/dist/id-laser-v-CrFg4bcJ.js +0 -483
- package/dist/id-tutorial-BCr42Pnn.js +0 -13153
- package/dist/idOcr-CCjfWQvH.js +0 -94
- package/dist/incode-logo-DX016usY.js +0 -4
- package/dist/incodeComponent-C1o4M0ZK.js +0 -50
- package/dist/incodeModule-BqCjVgEI.js +0 -18
- package/dist/inputComposed-APSw8C7o.js +0 -89
- package/dist/inputComposed-XYrarFxS.js +0 -1
- package/dist/loadingIcon-BN5YRQUb.js +0 -104
- package/dist/mandatoryConsent-DssKMC3v.js +0 -100
- package/dist/modal-NMxsQHAO.js +0 -135
- package/dist/modal.hooks-CAjcIFZK.js +0 -126
- package/dist/numberedStep-CT-alrK5.js +0 -11
- package/dist/optionAccessibleLabel-CzEeX3Q4.js +0 -140
- package/dist/otpInput-DqRA_egd.js +0 -145
- package/dist/page-C1yT4DLb.js +0 -69
- package/dist/pdf-BurGZ08w.js +0 -14967
- package/dist/pdfViewer-BGBNL1Ea.js +0 -63
- package/dist/phoneInputComposed-bvWhGLFZ.js +0 -11206
- package/dist/processing-G_y3o32b.js +0 -6
- package/dist/radioGroupComposed-BbmvxmD2.js +0 -177
- package/dist/redirectToMobile-C3k1gloW.js +0 -1514
- package/dist/requiredLabelHint-BLwgqozE.js +0 -13
- package/dist/richText-DbJ5sl2n.js +0 -1973
- package/dist/rolldown-runtime-CYMK-g2i.js +0 -20
- package/dist/selfieTutorial-BgrlUMXP.js +0 -2677
- package/dist/snackbar-BDp8x7Cv.js +0 -14
- package/dist/spinner-B4dcie2T.js +0 -1
- package/dist/spinner-CKnjVHxw.js +0 -39
- package/dist/statusPage-CUI7ApcU.js +0 -28
- package/dist/successIcon-DbILeIz_.js +0 -28
- package/dist/tabs-DaPyP71c.js +0 -78
- package/dist/transitionSpinner-PIEPU2Vx.js +0 -17
- package/dist/types/cpf-ocr/styles.d.ts +0 -1
- package/dist/types/document-capture/styles.d.ts +0 -1
- package/dist/types/redirect-to-mobile/styles.d.ts +0 -1
- package/dist/typography-CxjaknHN.js +0 -28
- package/dist/uiConfig-CwpQ-IM6.js +0 -20
- package/dist/useModuleLoader-BFiVA41N.js +0 -432
- package/dist/vendor-preact-D6SntenC.js +0 -958
- package/dist/verificationResult-BrVbUJ4U.js +0 -97
- package/dist/verifiedByIncode-ChZBpqNy.js +0 -101
- package/dist/watchlistForBusiness-BcSNtHCV.js +0 -77
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { n as useTranslation } from "./i18n-CoCO2ZuN.js";
|
|
2
|
+
import { v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
3
|
+
import { c as useManager, o as useModuleTerminalCallbacks } from "./hooks-Da_yP_Dr.js";
|
|
4
|
+
import { t as IncodeComponent } from "./incodeComponent-wfnHlnXx.js";
|
|
5
|
+
import { r as Spacer } from "./loadingIcon-B0ysgiNq.js";
|
|
6
|
+
import { t as Page } from "./page-DxGQj7Gk.js";
|
|
7
|
+
import "./extensibility-Cs3KQQdC.js";
|
|
8
|
+
import { t as Button } from "./button-CM_hgyIP.js";
|
|
9
|
+
import { t as VerificationResult } from "./verificationResult-Do5SpZ6X.js";
|
|
10
|
+
import { t as InputComposed } from "./inputComposed-CQ4AsvZg.js";
|
|
11
|
+
import { t as registerIncodeModuleElement } from "./incodeModule-BUDoTwT9.js";
|
|
12
|
+
import { createFieldComparisonManager } from "@incodetech/core/field-comparison";
|
|
13
|
+
//#region src/modules/field-comparison/fieldComparison.tsx
|
|
14
|
+
var FieldComparisonContent = ({ config, manager: externalManager, onFinish }) => {
|
|
15
|
+
const { t } = useTranslation();
|
|
16
|
+
const [state, manager] = useManager(() => externalManager ?? createFieldComparisonManager({ config }), {
|
|
17
|
+
manageLifecycle: !externalManager,
|
|
18
|
+
autoLoad: true
|
|
19
|
+
});
|
|
20
|
+
useModuleTerminalCallbacks({
|
|
21
|
+
status: state.status === "finished" ? "finished" : "loading",
|
|
22
|
+
onFinish
|
|
23
|
+
});
|
|
24
|
+
const handleSubmit = (e) => {
|
|
25
|
+
e.preventDefault();
|
|
26
|
+
manager.submit();
|
|
27
|
+
};
|
|
28
|
+
if (state.status === "finished") return null;
|
|
29
|
+
if (state.status === "error") return /* @__PURE__ */ u(VerificationResult, {
|
|
30
|
+
status: "failure",
|
|
31
|
+
onRetry: manager.retry,
|
|
32
|
+
onSkip: manager.skip
|
|
33
|
+
});
|
|
34
|
+
if (state.status === "success") return /* @__PURE__ */ u(VerificationResult, {
|
|
35
|
+
status: "success",
|
|
36
|
+
successTitle: t("customFields.completed")
|
|
37
|
+
});
|
|
38
|
+
if (state.status === "submitting" || state.status === "inputting") {
|
|
39
|
+
const isDisabled = state.status === "submitting";
|
|
40
|
+
const canSubmit = state.status === "inputting" && state.canSubmit;
|
|
41
|
+
return /* @__PURE__ */ u(Page, {
|
|
42
|
+
className: "IncodeFieldComparisonPage",
|
|
43
|
+
title: t("fieldComparison.title"),
|
|
44
|
+
hideFooterBranding: true,
|
|
45
|
+
children: /* @__PURE__ */ u("div", {
|
|
46
|
+
class: "IncodeFieldComparisonForm",
|
|
47
|
+
children: [
|
|
48
|
+
/* @__PURE__ */ u(InputComposed, {
|
|
49
|
+
id: "field-comparison-first-name",
|
|
50
|
+
name: "firstName",
|
|
51
|
+
label: t("verification.labels.firstName"),
|
|
52
|
+
disabled: isDisabled,
|
|
53
|
+
value: state.fields.firstName,
|
|
54
|
+
onInput: (e) => {
|
|
55
|
+
manager.setField("firstName", e.target.value);
|
|
56
|
+
}
|
|
57
|
+
}),
|
|
58
|
+
/* @__PURE__ */ u(InputComposed, {
|
|
59
|
+
id: "field-comparison-last-name",
|
|
60
|
+
name: "lastName",
|
|
61
|
+
label: t("verification.labels.lastName"),
|
|
62
|
+
disabled: isDisabled,
|
|
63
|
+
value: state.fields.lastName,
|
|
64
|
+
onInput: (e) => {
|
|
65
|
+
manager.setField("lastName", e.target.value);
|
|
66
|
+
}
|
|
67
|
+
}),
|
|
68
|
+
/* @__PURE__ */ u(Spacer, {}),
|
|
69
|
+
/* @__PURE__ */ u(Button, {
|
|
70
|
+
type: "submit",
|
|
71
|
+
disabled: !canSubmit || isDisabled,
|
|
72
|
+
onClick: handleSubmit,
|
|
73
|
+
children: t("common.continue")
|
|
74
|
+
})
|
|
75
|
+
]
|
|
76
|
+
})
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
return null;
|
|
80
|
+
};
|
|
81
|
+
var FieldComparison = ({ config = {}, manager, onFinish }) => /* @__PURE__ */ u(IncodeComponent, { children: /* @__PURE__ */ u(FieldComparisonContent, {
|
|
82
|
+
config,
|
|
83
|
+
manager,
|
|
84
|
+
onFinish
|
|
85
|
+
}) });
|
|
86
|
+
registerIncodeModuleElement(FieldComparison, "incode-field-comparison");
|
|
87
|
+
//#endregion
|
|
88
|
+
export { FieldComparison as t };
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
import { n as useTranslation } from "../i18n-CoCO2ZuN.js";
|
|
2
|
+
import { v as u } from "../vendor-preact-DThS2ZQ_.js";
|
|
3
|
+
import { c as useManager, o as useModuleTerminalCallbacks } from "../hooks-Da_yP_Dr.js";
|
|
4
|
+
import { t as IncodeComponent } from "../incodeComponent-wfnHlnXx.js";
|
|
5
|
+
import { r as Spacer } from "../loadingIcon-B0ysgiNq.js";
|
|
6
|
+
import { t as Page } from "../page-DxGQj7Gk.js";
|
|
7
|
+
import { d as CameraOverlayHeader, f as CameraOverlay, p as CameraFrame, u as CameraView } from "../extensibility-Cs3KQQdC.js";
|
|
8
|
+
import { t as Button } from "../button-CM_hgyIP.js";
|
|
9
|
+
import { t as VerificationResult } from "../verificationResult-Do5SpZ6X.js";
|
|
10
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-BUDoTwT9.js";
|
|
11
|
+
import { createFiscalQrManager } from "@incodetech/core/fiscal-qr";
|
|
12
|
+
//#region src/modules/fiscal-qr/fiscalQrCapture.tsx
|
|
13
|
+
function getFrameState(status) {
|
|
14
|
+
switch (status) {
|
|
15
|
+
case "capturing": return "capturing";
|
|
16
|
+
case "success": return "success";
|
|
17
|
+
case "error": return "error";
|
|
18
|
+
default: return "idle";
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
var FiscalQrCapture = ({ manager, state }) => {
|
|
22
|
+
const { t } = useTranslation();
|
|
23
|
+
const showError = state.status === "error";
|
|
24
|
+
return /* @__PURE__ */ u(Page, {
|
|
25
|
+
hideHeader: true,
|
|
26
|
+
hideFooterBranding: true,
|
|
27
|
+
className: "IncodeFiscalQrPage IncodeFiscalQrCapturePage",
|
|
28
|
+
children: /* @__PURE__ */ u(CameraView, {
|
|
29
|
+
stream: state.stream,
|
|
30
|
+
"data-testid": "fiscal-qr-camera",
|
|
31
|
+
children: /* @__PURE__ */ u(CameraOverlay, {
|
|
32
|
+
className: "IncodeFiscalQrOverlay",
|
|
33
|
+
children: [
|
|
34
|
+
/* @__PURE__ */ u("div", {
|
|
35
|
+
class: "IncodeFiscalQrCaptureTopSection",
|
|
36
|
+
children: /* @__PURE__ */ u(CameraOverlayHeader, {
|
|
37
|
+
title: t("fiscalQr.scanning.title"),
|
|
38
|
+
titleId: "fiscal-qr-capture-heading"
|
|
39
|
+
})
|
|
40
|
+
}),
|
|
41
|
+
/* @__PURE__ */ u(CameraFrame, {
|
|
42
|
+
variant: "locked",
|
|
43
|
+
orientation: "vertical",
|
|
44
|
+
aspectRatio: "1/1",
|
|
45
|
+
frameState: getFrameState(state.status),
|
|
46
|
+
className: "IncodeFiscalQrCaptureFrame"
|
|
47
|
+
}),
|
|
48
|
+
/* @__PURE__ */ u("div", {
|
|
49
|
+
class: "IncodeFiscalQrCaptureBottomSection",
|
|
50
|
+
children: showError && /* @__PURE__ */ u("p", {
|
|
51
|
+
class: "IncodeFiscalQrError",
|
|
52
|
+
role: "alert",
|
|
53
|
+
children: t("fiscalQr.invalidQr")
|
|
54
|
+
})
|
|
55
|
+
}),
|
|
56
|
+
/* @__PURE__ */ u("div", {
|
|
57
|
+
className: "IncodeFiscalQrButtonWrapper",
|
|
58
|
+
children: /* @__PURE__ */ u(Button, {
|
|
59
|
+
variant: "link",
|
|
60
|
+
onClick: () => manager.skip(),
|
|
61
|
+
children: t("common.skip")
|
|
62
|
+
})
|
|
63
|
+
})
|
|
64
|
+
]
|
|
65
|
+
})
|
|
66
|
+
})
|
|
67
|
+
});
|
|
68
|
+
};
|
|
69
|
+
//#endregion
|
|
70
|
+
//#region src/modules/fiscal-qr/fiscalQrIcon.tsx
|
|
71
|
+
var fiscalQrIcon = () => /* @__PURE__ */ u("svg", {
|
|
72
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
73
|
+
width: "278",
|
|
74
|
+
height: "252",
|
|
75
|
+
viewBox: "0 0 278 252",
|
|
76
|
+
fill: "none",
|
|
77
|
+
"aria-hidden": "true",
|
|
78
|
+
children: [
|
|
79
|
+
/* @__PURE__ */ u("title", { children: "Fiscal QR" }),
|
|
80
|
+
/* @__PURE__ */ u("rect", {
|
|
81
|
+
x: "46.4517",
|
|
82
|
+
y: "33.4517",
|
|
83
|
+
width: "185.097",
|
|
84
|
+
height: "185.097",
|
|
85
|
+
rx: "14.5174",
|
|
86
|
+
stroke: "var(--icon-brand-500-static)",
|
|
87
|
+
strokeWidth: "2.90347"
|
|
88
|
+
}),
|
|
89
|
+
/* @__PURE__ */ u("g", {
|
|
90
|
+
opacity: "0.4",
|
|
91
|
+
children: [
|
|
92
|
+
/* @__PURE__ */ u("path", {
|
|
93
|
+
d: "M149.035 141.38V136.759C149.035 136.121 149.552 135.604 150.19 135.604H154.811C156.087 135.604 157.121 136.638 157.121 137.914V142.535C157.121 143.811 156.087 144.846 154.811 144.846H151.345C150.069 144.846 149.035 145.88 149.035 147.156V149.467C149.035 150.743 150.069 151.777 151.345 151.777H154.811C156.087 151.777 157.121 152.812 157.121 154.088V157.553C157.121 158.829 156.087 159.864 154.811 159.864H144.414C143.137 159.864 142.103 158.829 142.103 157.553V146.001C142.103 144.725 143.137 143.69 144.414 143.69H146.724C148 143.69 149.035 142.656 149.035 141.38Z",
|
|
94
|
+
fill: "#A3A8B8"
|
|
95
|
+
}),
|
|
96
|
+
/* @__PURE__ */ u("path", {
|
|
97
|
+
d: "M211.418 127.517V124.051C211.418 122.775 212.453 121.74 213.729 121.74H217.195C218.471 121.74 219.505 122.775 219.505 124.051V127.517C219.505 128.793 218.471 129.827 217.195 129.827H213.729C212.453 129.827 211.418 128.793 211.418 127.517Z",
|
|
98
|
+
fill: "#A3A8B8"
|
|
99
|
+
}),
|
|
100
|
+
/* @__PURE__ */ u("path", {
|
|
101
|
+
d: "M203.332 111.343V107.877C203.332 106.601 204.366 105.566 205.642 105.566H217.195C218.471 105.566 219.505 106.601 219.505 107.877V111.343C219.505 112.619 218.471 113.653 217.195 113.653H205.642C204.366 113.653 203.332 112.619 203.332 111.343Z",
|
|
102
|
+
fill: "#A3A8B8"
|
|
103
|
+
}),
|
|
104
|
+
/* @__PURE__ */ u("path", {
|
|
105
|
+
d: "M135.172 72.0643V67.4433C135.172 66.1673 134.137 65.1328 132.861 65.1328H123.619C122.343 65.1328 121.309 66.1673 121.309 67.4433V72.0643C121.309 73.3404 122.343 74.3749 123.619 74.3749H132.861C134.137 74.3749 135.172 73.3404 135.172 72.0643Z",
|
|
106
|
+
fill: "#A3A8B8"
|
|
107
|
+
}),
|
|
108
|
+
/* @__PURE__ */ u("path", {
|
|
109
|
+
d: "M71.6328 118.274V107.877C71.6328 106.601 72.6673 105.566 73.9433 105.566H85.4959C86.7719 105.566 87.8064 106.601 87.8064 107.877V111.343C87.8064 112.619 86.7719 113.653 85.4959 113.653H84.3406C83.0646 113.653 82.0301 114.688 82.0301 115.964V118.274C82.0301 119.55 83.0646 120.585 84.3406 120.585H93.5827C94.8587 120.585 95.8932 121.619 95.8932 122.895V126.361C95.8932 127.637 96.9276 128.672 98.2037 128.672H100.514C101.79 128.672 102.825 127.637 102.825 126.361V122.895C102.825 121.619 103.859 120.585 105.135 120.585H108.601C109.877 120.585 110.912 121.619 110.912 122.895V128.672C110.912 129.948 109.877 130.982 108.601 130.982H105.135C103.859 130.982 102.825 132.016 102.825 133.293C102.825 134.569 103.859 135.603 105.135 135.603H107.446C108.722 135.603 109.756 136.638 109.756 137.914V141.379C109.756 142.655 108.722 143.69 107.446 143.69H73.9433C72.6673 143.69 71.6328 142.655 71.6328 141.379V137.914C71.6328 136.638 72.6673 135.603 73.9433 135.603H77.4091C78.6852 135.603 79.7196 134.569 79.7196 133.293V122.895C79.7196 121.619 78.6852 120.585 77.4091 120.585H73.9433C72.6673 120.585 71.6328 119.55 71.6328 118.274Z",
|
|
110
|
+
fill: "#A3A8B8"
|
|
111
|
+
}),
|
|
112
|
+
/* @__PURE__ */ u("path", {
|
|
113
|
+
d: "M62.3905 105.566H58.9248C57.6487 105.566 56.6143 106.601 56.6143 107.877V141.379C56.6143 142.655 57.6487 143.69 58.9248 143.69H62.3905C63.6666 143.69 64.701 142.655 64.701 141.379V107.877C64.701 106.601 63.6666 105.566 62.3905 105.566Z",
|
|
114
|
+
fill: "#A3A8B8"
|
|
115
|
+
}),
|
|
116
|
+
/* @__PURE__ */ u("rect", {
|
|
117
|
+
x: "58.9248",
|
|
118
|
+
y: "46.6484",
|
|
119
|
+
width: "48.5207",
|
|
120
|
+
height: "48.5207",
|
|
121
|
+
rx: "2.31051",
|
|
122
|
+
stroke: "#A3A8B8",
|
|
123
|
+
strokeWidth: "8.08679"
|
|
124
|
+
}),
|
|
125
|
+
/* @__PURE__ */ u("rect", {
|
|
126
|
+
x: "167.519",
|
|
127
|
+
y: "46.6484",
|
|
128
|
+
width: "48.5207",
|
|
129
|
+
height: "48.5207",
|
|
130
|
+
rx: "2.31051",
|
|
131
|
+
stroke: "#A3A8B8",
|
|
132
|
+
strokeWidth: "8.08679"
|
|
133
|
+
}),
|
|
134
|
+
/* @__PURE__ */ u("path", {
|
|
135
|
+
d: "M123.619 59.3562H121.309C120.033 59.3562 118.998 58.3218 118.998 57.0457V46.6484C118.998 45.3723 120.033 44.3379 121.309 44.3379H139.793C141.069 44.3379 142.103 45.3723 142.103 46.6484V57.0457C142.103 58.3218 143.138 59.3562 144.414 59.3562H147.88C149.156 59.3562 150.19 58.3218 150.19 57.0457V46.6484C150.19 45.3723 151.225 44.3379 152.501 44.3379H153.656C154.932 44.3379 155.966 45.3723 155.966 46.6484V62.822C155.966 64.098 154.932 65.1325 153.656 65.1325H152.501C151.225 65.1325 150.19 66.1669 150.19 67.443V81.3061C150.19 82.5821 151.225 83.6166 152.501 83.6166H153.656C154.932 83.6166 155.966 84.651 155.966 85.9271V111.343C155.966 112.619 157.001 113.653 158.277 113.653H162.898C164.174 113.653 165.208 112.619 165.208 111.343V106.722C165.208 105.446 166.243 104.411 167.519 104.411H169.829C171.106 104.411 172.14 105.446 172.14 106.722V117.119C172.14 118.395 171.106 119.43 169.829 119.43H150.19C148.914 119.43 147.88 120.464 147.88 121.74V133.293C147.88 134.569 146.845 135.603 145.569 135.603H144.414C143.138 135.603 142.103 136.638 142.103 137.914V141.379C142.103 142.655 141.069 143.69 139.793 143.69H136.327C135.051 143.69 134.017 144.724 134.017 146V149.466C134.017 150.742 132.982 151.777 131.706 151.777H128.24C126.964 151.777 125.93 152.811 125.93 154.087V157.553C125.93 158.829 126.964 159.863 128.24 159.863H132.861C134.137 159.863 135.172 160.898 135.172 162.174V165.64C135.172 166.916 136.206 167.95 137.482 167.95H139.793C141.069 167.95 142.103 168.985 142.103 170.261V174.882C142.103 176.158 143.138 177.192 144.414 177.192H147.88C149.156 177.192 150.19 178.227 150.19 179.503V181.813C150.19 183.089 151.225 184.124 152.501 184.124H154.811C156.087 184.124 157.122 185.158 157.122 186.434C157.122 187.71 158.156 188.745 159.432 188.745H162.898C164.174 188.745 165.208 187.71 165.208 186.434V177.192C165.208 175.916 164.174 174.882 162.898 174.882H152.501C151.225 174.882 150.19 173.847 150.19 172.571V170.261C150.19 168.985 151.225 167.95 152.501 167.95H170.985C172.261 167.95 173.295 166.916 173.295 165.64V154.087C173.295 152.811 174.33 151.777 175.606 151.777H177.916C179.192 151.777 180.227 152.811 180.227 154.087V159.863C180.227 161.14 181.261 162.174 182.537 162.174H184.848C186.124 162.174 187.158 163.208 187.158 164.484V172.571C187.158 173.847 188.193 174.882 189.469 174.882H206.798C208.074 174.882 209.108 173.847 209.108 172.571V170.261C209.108 168.985 208.074 167.95 206.798 167.95H196.4C195.124 167.95 194.09 166.916 194.09 165.64V162.174C194.09 160.898 193.055 159.863 191.779 159.863H189.469C188.193 159.863 187.158 158.829 187.158 157.553V146C187.158 144.724 188.193 143.69 189.469 143.69H192.935C194.211 143.69 195.245 142.655 195.245 141.379V137.914C195.245 136.638 194.211 135.603 192.935 135.603H182.537C181.261 135.603 180.227 136.638 180.227 137.914V141.379C180.227 142.655 179.192 143.69 177.916 143.69H175.606C174.33 143.69 173.295 142.655 173.295 141.379V137.914C173.295 136.638 172.261 135.603 170.985 135.603H167.519C166.243 135.603 165.208 134.569 165.208 133.293V130.982C165.208 129.706 166.243 128.672 167.519 128.672H184.848C186.124 128.672 187.158 127.637 187.158 126.361V106.722C187.158 105.446 188.193 104.411 189.469 104.411H192.935C194.211 104.411 195.245 105.446 195.245 106.722V119.43C195.245 120.706 196.28 121.74 197.556 121.74H202.177C203.453 121.74 204.487 122.774 204.487 124.051V141.379C204.487 142.655 203.453 143.69 202.177 143.69H199.866C198.59 143.69 197.556 144.724 197.556 146V157.553C197.556 158.829 198.59 159.863 199.866 159.863H209.108C210.384 159.863 211.419 160.898 211.419 162.174V165.64C211.419 166.916 212.453 167.95 213.729 167.95H218.35C219.626 167.95 220.661 168.985 220.661 170.261V172.571C220.661 173.847 219.626 174.882 218.35 174.882H213.729C212.453 174.882 211.419 175.916 211.419 177.192V181.813C211.419 183.089 210.384 184.124 209.108 184.124H182.537C181.261 184.124 180.227 185.158 180.227 186.434V194.521C180.227 195.797 181.261 196.832 182.537 196.832H187.158C188.434 196.832 189.469 197.866 189.469 199.142V204.918C189.469 206.195 188.434 207.229 187.158 207.229H182.537C181.261 207.229 180.227 206.195 180.227 204.918V201.453C180.227 200.177 179.192 199.142 177.916 199.142H174.45C173.174 199.142 172.14 198.108 172.14 196.832V193.366C172.14 192.09 171.106 191.055 169.829 191.055H168.674C167.398 191.055 166.364 192.09 166.364 193.366V206.074C166.364 207.35 165.329 208.384 164.053 208.384H158.277C157.001 208.384 155.966 207.35 155.966 206.074V193.366C155.966 192.09 154.932 191.055 153.656 191.055H150.19C148.914 191.055 147.88 190.021 147.88 188.745V186.434C147.88 185.158 146.845 184.124 145.569 184.124H144.414C143.138 184.124 142.103 185.158 142.103 186.434V196.832C142.103 198.108 141.069 199.142 139.793 199.142H136.327C135.051 199.142 134.017 200.177 134.017 201.453V204.918C134.017 206.195 132.982 207.229 131.706 207.229H118.998C117.722 207.229 116.688 206.195 116.688 204.918V199.142C116.688 197.866 117.722 196.832 118.998 196.832H131.706C132.982 196.832 134.017 195.797 134.017 194.521V193.366C134.017 192.09 132.982 191.055 131.706 191.055H123.619C122.343 191.055 121.309 190.021 121.309 188.745V177.192C121.309 175.916 122.343 174.882 123.619 174.882H131.706C132.982 174.882 134.017 173.847 134.017 172.571V170.261C134.017 168.985 132.982 167.95 131.706 167.95H121.309C120.033 167.95 118.998 166.916 118.998 165.64V146C118.998 144.724 120.033 143.69 121.309 143.69H124.774C126.051 143.69 127.085 142.655 127.085 141.379V137.914C127.085 136.638 128.119 135.603 129.395 135.603H131.706C132.982 135.603 134.017 134.569 134.017 133.293V121.74C134.017 120.464 132.982 119.43 131.706 119.43H128.24C126.964 119.43 125.93 120.464 125.93 121.74V133.293C125.93 134.569 124.895 135.603 123.619 135.603C122.343 135.603 121.309 134.569 121.309 133.293V115.964C121.309 114.688 122.343 113.653 123.619 113.653C124.895 113.653 125.93 112.619 125.93 111.343V109.032C125.93 107.756 124.895 106.722 123.619 106.722H121.309C120.033 106.722 118.998 107.756 118.998 109.032V111.343C118.998 112.619 117.964 113.653 116.688 113.653H98.2036C96.9275 113.653 95.8931 112.619 95.8931 111.343V106.722C95.8931 105.446 96.9275 104.411 98.2036 104.411H116.688C117.964 104.411 118.998 103.377 118.998 102.101V92.8586C118.998 91.5826 120.033 90.5481 121.309 90.5481H123.619C124.895 90.5481 125.93 91.5826 125.93 92.8586V96.3244C125.93 97.6005 126.964 98.6349 128.24 98.6349H131.706C132.982 98.6349 134.017 97.6005 134.017 96.3244V92.8586C134.017 91.5826 135.051 90.5481 136.327 90.5481H137.482C138.758 90.5481 139.793 91.5826 139.793 92.8586V97.4797C139.793 98.7557 138.758 99.7902 137.482 99.7902H136.327C135.051 99.7902 134.017 100.825 134.017 102.101V111.343C134.017 112.619 135.051 113.653 136.327 113.653H139.793C141.069 113.653 142.103 112.619 142.103 111.343V100.945C142.103 99.6694 143.138 98.6349 144.414 98.6349H147.88C149.156 98.6349 150.19 97.6005 150.19 96.3244V90.5481C150.19 89.2721 149.156 88.2376 147.88 88.2376H144.414C143.138 88.2376 142.103 87.2032 142.103 85.9271V67.443C142.103 66.1669 141.069 65.1325 139.793 65.1325H137.482C136.206 65.1325 135.172 64.098 135.172 62.822V53.5799C135.172 52.3039 134.137 51.2694 132.861 51.2694H128.24C126.964 51.2694 125.93 52.3039 125.93 53.5799V57.0457C125.93 58.3218 124.895 59.3562 123.619 59.3562Z",
|
|
136
|
+
fill: "#A3A8B8"
|
|
137
|
+
}),
|
|
138
|
+
/* @__PURE__ */ u("rect", {
|
|
139
|
+
x: "58.9248",
|
|
140
|
+
y: "155.242",
|
|
141
|
+
width: "48.5207",
|
|
142
|
+
height: "48.5207",
|
|
143
|
+
rx: "2.31051",
|
|
144
|
+
stroke: "#A3A8B8",
|
|
145
|
+
strokeWidth: "8.08679"
|
|
146
|
+
}),
|
|
147
|
+
/* @__PURE__ */ u("rect", {
|
|
148
|
+
x: "72.7881",
|
|
149
|
+
y: "60.5117",
|
|
150
|
+
width: "20.7946",
|
|
151
|
+
height: "20.7946",
|
|
152
|
+
rx: "2.31051",
|
|
153
|
+
fill: "#A3A8B8"
|
|
154
|
+
}),
|
|
155
|
+
/* @__PURE__ */ u("rect", {
|
|
156
|
+
x: "181.382",
|
|
157
|
+
y: "60.5117",
|
|
158
|
+
width: "20.7946",
|
|
159
|
+
height: "20.7946",
|
|
160
|
+
rx: "2.31051",
|
|
161
|
+
fill: "#A3A8B8"
|
|
162
|
+
}),
|
|
163
|
+
/* @__PURE__ */ u("rect", {
|
|
164
|
+
x: "72.7881",
|
|
165
|
+
y: "169.105",
|
|
166
|
+
width: "20.7946",
|
|
167
|
+
height: "20.7946",
|
|
168
|
+
rx: "2.31051",
|
|
169
|
+
fill: "#A3A8B8"
|
|
170
|
+
})
|
|
171
|
+
]
|
|
172
|
+
})
|
|
173
|
+
]
|
|
174
|
+
});
|
|
175
|
+
//#endregion
|
|
176
|
+
//#region src/modules/fiscal-qr/fiscal-qr.tsx
|
|
177
|
+
var FiscalQrContent = ({ config, manager: externalManager, onFinish }) => {
|
|
178
|
+
const { t } = useTranslation();
|
|
179
|
+
const [state, manager] = useManager(() => externalManager ?? createFiscalQrManager({ config: config ?? {} }), {
|
|
180
|
+
manageLifecycle: !externalManager,
|
|
181
|
+
autoLoad: true
|
|
182
|
+
});
|
|
183
|
+
useModuleTerminalCallbacks({
|
|
184
|
+
status: state.status === "finished" ? "finished" : "loading",
|
|
185
|
+
onFinish
|
|
186
|
+
});
|
|
187
|
+
if (state.status === "finished") return null;
|
|
188
|
+
if (state.status === "scanning" || state.status === "capturing" || state.status === "success" || state.status === "error") return /* @__PURE__ */ u(FiscalQrCapture, {
|
|
189
|
+
manager,
|
|
190
|
+
state
|
|
191
|
+
});
|
|
192
|
+
if (state.status === "processing") return /* @__PURE__ */ u(VerificationResult, {
|
|
193
|
+
status: "submitting",
|
|
194
|
+
submittingTitle: t("common.holdOnASec"),
|
|
195
|
+
submittingSubtitle: t("idv2.barCodeDetection.processingSubtitle")
|
|
196
|
+
});
|
|
197
|
+
if (state.status === "verified") return /* @__PURE__ */ u(VerificationResult, {
|
|
198
|
+
status: "success",
|
|
199
|
+
successTitle: t("idOcr.successTitle")
|
|
200
|
+
});
|
|
201
|
+
return /* @__PURE__ */ u(Page, {
|
|
202
|
+
title: t("fiscalQr.tutorial.v2.title"),
|
|
203
|
+
subtitle: t("fiscalQr.tutorial.v2.subtitle"),
|
|
204
|
+
className: "IncodeFiscalQrPage",
|
|
205
|
+
children: /* @__PURE__ */ u("div", {
|
|
206
|
+
class: "IncodeFiscalQrTutorialContent",
|
|
207
|
+
children: [
|
|
208
|
+
/* @__PURE__ */ u(fiscalQrIcon, {}),
|
|
209
|
+
/* @__PURE__ */ u(Spacer, {}),
|
|
210
|
+
/* @__PURE__ */ u(Button, {
|
|
211
|
+
onClick: () => manager.continue(),
|
|
212
|
+
children: t("common.continue")
|
|
213
|
+
})
|
|
214
|
+
]
|
|
215
|
+
})
|
|
216
|
+
});
|
|
217
|
+
};
|
|
218
|
+
var FiscalQr = ({ config = {}, onFinish }) => /* @__PURE__ */ u(IncodeComponent, { children: /* @__PURE__ */ u(FiscalQrContent, {
|
|
219
|
+
config,
|
|
220
|
+
onFinish
|
|
221
|
+
}) });
|
|
222
|
+
registerIncodeModuleElement(FiscalQr, "incode-fiscal-qr");
|
|
223
|
+
//#endregion
|
|
224
|
+
export { FiscalQr };
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
|
|
2
|
+
.IncodeFiscalQrPage {
|
|
3
|
+
width: 100%;
|
|
4
|
+
height: 100%;
|
|
5
|
+
animation: fadeIn var(--motion-fade-in-duration, .7s) ease-out;
|
|
6
|
+
animation-fill-mode: both;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.IncodeFiscalQrPage .IncodeFiscalQrTutorialContent {
|
|
10
|
+
margin-top: var(--spacing-32, var(--spacing-32, 32px));
|
|
11
|
+
margin-bottom: var(--spacing-16, var(--spacing-16, 16px));
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
flex: 1;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
align-items: center;
|
|
16
|
+
display: flex;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@media (min-width: 48rem) {
|
|
20
|
+
.IncodeFiscalQrPage.IncodeFiscalQrCapturePage {
|
|
21
|
+
background-color: var(--color-black, #000);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.IncodeFiscalQrPage.IncodeFiscalQrCapturePage .IncodePageInner {
|
|
26
|
+
padding: var(--spacing-0, var(--spacing-none, 0px));
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.IncodeFiscalQrPage.IncodeFiscalQrCapturePage .IncodeFiscalQrOverlay {
|
|
30
|
+
padding-inline: var(--spacing-24, var(--spacing-24, 24px));
|
|
31
|
+
padding-block: var(--spacing-16, var(--spacing-16, 16px));
|
|
32
|
+
align-items: center;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.IncodeFiscalQrPage.IncodeFiscalQrCapturePage .IncodeFiscalQrOverlay .IncodeFiscalQrCaptureTopSection {
|
|
36
|
+
z-index: 10;
|
|
37
|
+
margin-top: var(--spacing-40, var(--spacing-40, 40px));
|
|
38
|
+
padding-top: var(--spacing-4, var(--spacing-4, 4px));
|
|
39
|
+
flex-direction: column;
|
|
40
|
+
flex: 1;
|
|
41
|
+
align-items: center;
|
|
42
|
+
display: flex;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.IncodeFiscalQrPage.IncodeFiscalQrCapturePage .IncodeFiscalQrOverlay .IncodeFiscalQrCaptureBottomSection {
|
|
46
|
+
flex: 1;
|
|
47
|
+
justify-content: center;
|
|
48
|
+
align-items: flex-start;
|
|
49
|
+
display: flex;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.IncodeFiscalQrPage.IncodeFiscalQrCapturePage .IncodeFiscalQrOverlay .IncodeFiscalQrCaptureBottomSection .IncodeFiscalQrError {
|
|
53
|
+
z-index: 10;
|
|
54
|
+
margin-top: var(--spacing-8, var(--spacing-8, 8px));
|
|
55
|
+
text-align: center;
|
|
56
|
+
font-family: var(--typography-headline-family);
|
|
57
|
+
font-size: var(--typography-headline-h5-size);
|
|
58
|
+
font-weight: var(--typography-headline-h5-weight);
|
|
59
|
+
line-height: var(--typography-headline-h5-line-height);
|
|
60
|
+
letter-spacing: var(--typography-headline-h5-letter-spacing);
|
|
61
|
+
color: var(--color-text-status-negative, var(--text-status-negative));
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.IncodeFiscalQrPage.IncodeFiscalQrCapturePage .IncodeFiscalQrButtonWrapper {
|
|
65
|
+
pointer-events: auto;
|
|
66
|
+
z-index: 10;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.IncodeFiscalQrPage.IncodeFiscalQrCapturePage .IncodeFiscalQrButtonWrapper .IncodeButtonLink {
|
|
70
|
+
color: var(--color-text-body-0-static, var(--text-body-0-static));
|
|
71
|
+
}
|