@incodetech/web 0.0.0-dev-20260504-b9c5622 → 0.0.0-dev-20260505-8526ff0
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/authentication/authentication.es.js +1 -1
- package/dist/base.css +4 -0
- package/dist/cpfOcr-FEdIt1gs.js +78 -0
- package/dist/{documentCapture-fjzmYCVb.js → documentCapture-u74InNee.js} +2 -2
- package/dist/email/email.es.js +1 -1
- package/dist/{extensibility-04gn7mbK.js → extensibility-C1GVRqNn.js} +48 -41
- package/dist/extensibility.es.js +2 -2
- package/dist/face-match/styles.css +4 -0
- package/dist/flow/flow.es.js +1 -1
- package/dist/flow/styles.css +100 -0
- package/dist/id/id.es.js +156 -105
- package/dist/id/styles.css +91 -0
- package/dist/{idOcr-DXZbASy3.js → idOcr-_dvXv7sS.js} +1 -1
- package/dist/selfie/selfie.es.js +5 -2
- package/dist/selfie/styles.css +4 -0
- package/dist/signature/signature.es.js +1 -1
- package/dist/themes/dark.css +2 -0
- package/dist/themes/light.css +2 -0
- package/dist/{tutorial-BhssZo_c.js → tutorial-DA46EOWa.js} +84 -84
- package/dist/types/extensibility.d.ts +4 -1
- package/dist/{useModuleLoader-JcIcr7jR.js → useModuleLoader-SN71sRJ2.js} +4 -4
- package/dist/workflow/styles.css +100 -0
- package/dist/workflow/workflow.es.js +1 -1
- package/package.json +2 -2
- package/dist/cpfOcr-BmNgojfA.js +0 -70
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { v as e } from "../vendor-preact-D6SntenC.js";
|
|
2
2
|
import { i as t } from "../hooks-K-ks8TCv.js";
|
|
3
3
|
import { t as n } from "../incodeComponent-Brc9IhMv.js";
|
|
4
|
-
import { n as r, r as i, t as a } from "../tutorial-
|
|
4
|
+
import { n as r, r as i, t as a } from "../tutorial-DA46EOWa.js";
|
|
5
5
|
import { t as o } from "../incodeModule-BH9gV7jI.js";
|
|
6
6
|
import { createAuthenticationManager as s } from "@incodetech/core/authentication";
|
|
7
7
|
//#region src/modules/authentication/authentication.tsx
|
package/dist/base.css
CHANGED
|
@@ -220,6 +220,10 @@
|
|
|
220
220
|
border-width: 1px;
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
+
.bg-white {
|
|
224
|
+
background-color: var(--color-white, #fff);
|
|
225
|
+
}
|
|
226
|
+
|
|
223
227
|
.text-button-m-underlined {
|
|
224
228
|
font-family: var(--typography-button-family);
|
|
225
229
|
font-size: var(--typography-button-m-underlined-size);
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { _ as e, p as t, v as n } from "./vendor-preact-D6SntenC.js";
|
|
2
|
+
import { i as r } from "./hooks-K-ks8TCv.js";
|
|
3
|
+
import { t as i } from "./spacer-DCljE53A.js";
|
|
4
|
+
import { t as a } from "./page-D5Mt-0zn.js";
|
|
5
|
+
import { t as o } from "./spinner-CNteWaxs.js";
|
|
6
|
+
import "./spinner-BiPJCr9Q.js";
|
|
7
|
+
import { t as s } from "./button-4-ToV5B_.js";
|
|
8
|
+
import { t as c } from "./verificationResult-BvUseXrX.js";
|
|
9
|
+
import { t as l } from "./inputComposed-28d14HXP.js";
|
|
10
|
+
import { createCpfOcrManager as u } from "@incodetech/core/cpf-ocr";
|
|
11
|
+
//#region src/modules/cpf-ocr/cpfOcr.tsx
|
|
12
|
+
var d = (e) => e.status === "inputting" ? {
|
|
13
|
+
cpf: e.cpf,
|
|
14
|
+
isValid: e.isValid
|
|
15
|
+
} : {
|
|
16
|
+
cpf: "",
|
|
17
|
+
isValid: !1
|
|
18
|
+
}, f = ({ onFinish: f, onError: p }) => {
|
|
19
|
+
let [m, h] = r(() => u()), [g, _] = t(!1), [v, y] = t(!1), [b, x] = t(!1);
|
|
20
|
+
if (e(() => {
|
|
21
|
+
m.status === "finished" && f?.();
|
|
22
|
+
}, [m.status, f]), e(() => {
|
|
23
|
+
m.status === "error" && p?.(m.error);
|
|
24
|
+
}, [m, p]), m.status === "idle" || m.status === "loading" || m.status === "submitting") return /* @__PURE__ */ n(a, {
|
|
25
|
+
className: "IncodeCpfOcrPage",
|
|
26
|
+
children: /* @__PURE__ */ n("div", {
|
|
27
|
+
class: "IncodeCpfOcrLoading",
|
|
28
|
+
children: /* @__PURE__ */ n(o, { fullScreen: !1 })
|
|
29
|
+
})
|
|
30
|
+
});
|
|
31
|
+
if (m.status === "error") return /* @__PURE__ */ n(c, {
|
|
32
|
+
status: "failure",
|
|
33
|
+
failureTitle: "Não foi possível verificar o CPF",
|
|
34
|
+
onRetry: () => h.retry()
|
|
35
|
+
});
|
|
36
|
+
if (m.status === "finished") return null;
|
|
37
|
+
let S = d(m), C = S.cpf.replace(/\D/g, "").length === 11, w = v && !S.isValid && (C || g && !b) ? "Insira um CPF válido" : void 0;
|
|
38
|
+
return /* @__PURE__ */ n(a, {
|
|
39
|
+
className: "IncodeCpfOcrPage",
|
|
40
|
+
title: "Insira e verifique o número do seu CPF",
|
|
41
|
+
children: /* @__PURE__ */ n("div", {
|
|
42
|
+
class: "IncodeCpfOcr",
|
|
43
|
+
children: [
|
|
44
|
+
/* @__PURE__ */ n(i, { size: 32 }),
|
|
45
|
+
/* @__PURE__ */ n(l, {
|
|
46
|
+
id: "cpf-ocr-input",
|
|
47
|
+
label: "",
|
|
48
|
+
value: S.cpf,
|
|
49
|
+
placeholder: "Seu CPF",
|
|
50
|
+
maxLength: 14,
|
|
51
|
+
inputMode: "numeric",
|
|
52
|
+
"aria-label": "CPF",
|
|
53
|
+
onInput: (e) => {
|
|
54
|
+
y(!0), h.setCpf(e.target.value);
|
|
55
|
+
},
|
|
56
|
+
onFocus: () => {
|
|
57
|
+
x(!0);
|
|
58
|
+
},
|
|
59
|
+
onBlur: () => {
|
|
60
|
+
x(!1), _(!0);
|
|
61
|
+
},
|
|
62
|
+
error: w,
|
|
63
|
+
showErrorIcon: !0
|
|
64
|
+
}),
|
|
65
|
+
/* @__PURE__ */ n(i, {}),
|
|
66
|
+
/* @__PURE__ */ n(s, {
|
|
67
|
+
type: "button",
|
|
68
|
+
onClick: () => h.submit(),
|
|
69
|
+
disabled: !S.isValid,
|
|
70
|
+
"data-testid": "cpf-ocr-continue",
|
|
71
|
+
children: "Continuar"
|
|
72
|
+
})
|
|
73
|
+
]
|
|
74
|
+
})
|
|
75
|
+
});
|
|
76
|
+
};
|
|
77
|
+
//#endregion
|
|
78
|
+
export { f as CpfOcr };
|
|
@@ -4,13 +4,13 @@ import { i as c, t as l } from "./hooks-K-ks8TCv.js";
|
|
|
4
4
|
import { t as u } from "./incodeComponent-Brc9IhMv.js";
|
|
5
5
|
import { t as d } from "./spacer-DCljE53A.js";
|
|
6
6
|
import { t as f } from "./page-D5Mt-0zn.js";
|
|
7
|
-
import { _ as p, c as m, d as h, f as g, l as _, u as v, v as y } from "./extensibility-
|
|
7
|
+
import { _ as p, c as m, d as h, f as g, l as _, u as v, v as y } from "./extensibility-C1GVRqNn.js";
|
|
8
8
|
import { n as b } from "./loadingIcon-wTrHZMGC.js";
|
|
9
9
|
import { t as x } from "./spinner-CNteWaxs.js";
|
|
10
10
|
import { t as S } from "./button-4-ToV5B_.js";
|
|
11
11
|
import { a as C, p as w, r as T } from "./icons-BtdVuyUn.js";
|
|
12
12
|
import { t as E } from "./successIcon-SlKgTSty.js";
|
|
13
|
-
import { o as D } from "./tutorial-
|
|
13
|
+
import { o as D } from "./tutorial-DA46EOWa.js";
|
|
14
14
|
import { t as O } from "./bottomSheet-BXIzn-hy.js";
|
|
15
15
|
import { t as k } from "./incodeModule-BH9gV7jI.js";
|
|
16
16
|
import { createDocumentCaptureManager as A } from "@incodetech/core/document-capture";
|
package/dist/email/email.es.js
CHANGED
|
@@ -4,7 +4,7 @@ import { i } from "../hooks-K-ks8TCv.js";
|
|
|
4
4
|
import { t as a } from "../incodeComponent-Brc9IhMv.js";
|
|
5
5
|
import { t as o } from "../spacer-DCljE53A.js";
|
|
6
6
|
import { t as s } from "../page-D5Mt-0zn.js";
|
|
7
|
-
import "../extensibility-
|
|
7
|
+
import "../extensibility-C1GVRqNn.js";
|
|
8
8
|
import { t as c } from "../button-4-ToV5B_.js";
|
|
9
9
|
import { t as l } from "../inputComposed-28d14HXP.js";
|
|
10
10
|
import { t as u } from "../otpInput-BuHkqpRJ.js";
|
|
@@ -14,7 +14,7 @@ import { t as g } from "./button-4-ToV5B_.js";
|
|
|
14
14
|
import { f as _, g as v, i as y, r as b, s as x, t as S } from "./icons-BtdVuyUn.js";
|
|
15
15
|
import { t as C } from "./successIcon-SlKgTSty.js";
|
|
16
16
|
import { t as w } from "./modal-CfeQw93y.js";
|
|
17
|
-
import { a as T, i as E } from "./tutorial-
|
|
17
|
+
import { a as T, i as E } from "./tutorial-DA46EOWa.js";
|
|
18
18
|
import "./verificationResult-BvUseXrX.js";
|
|
19
19
|
import "./inputComposed-28d14HXP.js";
|
|
20
20
|
import "./inputComposed-CXXUBANr.js";
|
|
@@ -517,8 +517,8 @@ var z = ({ stream: e, onCapture: t, disabled: r }) => {
|
|
|
517
517
|
role: "presentation",
|
|
518
518
|
children: r
|
|
519
519
|
});
|
|
520
|
-
}, V = ({ imageUrl: t, orientation: n, mode: r, borderState: i, topContent: a, bottomContent: o, overlayContent: s }) => {
|
|
521
|
-
let { t:
|
|
520
|
+
}, V = ({ imageUrl: t, orientation: n, mode: r, borderState: i, topContent: a, bottomContent: o, overlayContent: s, blurImage: c }) => {
|
|
521
|
+
let { t: l } = e();
|
|
522
522
|
return /* @__PURE__ */ u(f, {
|
|
523
523
|
hideHeader: !0,
|
|
524
524
|
hideFooterBranding: !0,
|
|
@@ -539,7 +539,7 @@ var z = ({ stream: e, onCapture: t, disabled: r }) => {
|
|
|
539
539
|
src: t,
|
|
540
540
|
alt: "",
|
|
541
541
|
"aria-hidden": "true",
|
|
542
|
-
class: "IncodeIdProcessingImage"
|
|
542
|
+
class: p("IncodeIdProcessingImage", c ? "IncodeIdProcessingImageBlurred" : void 0)
|
|
543
543
|
}), s && /* @__PURE__ */ u("div", {
|
|
544
544
|
class: "IncodeIdProcessingOverlay",
|
|
545
545
|
"aria-hidden": "true",
|
|
@@ -550,40 +550,41 @@ var z = ({ stream: e, onCapture: t, disabled: r }) => {
|
|
|
550
550
|
class: "IncodeIdProcessingBottomArea",
|
|
551
551
|
children: [/* @__PURE__ */ u("div", {
|
|
552
552
|
class: "IncodeCaptureEncryptionLabel",
|
|
553
|
-
children: [/* @__PURE__ */ u(b, { className: "IncodeCaptureEncryptionIcon" }), /* @__PURE__ */ u("span", { children:
|
|
553
|
+
children: [/* @__PURE__ */ u(b, { className: "IncodeCaptureEncryptionIcon" }), /* @__PURE__ */ u("span", { children: l("v2.capture.label") })]
|
|
554
554
|
}), o]
|
|
555
555
|
})
|
|
556
556
|
]
|
|
557
557
|
})
|
|
558
558
|
})
|
|
559
559
|
});
|
|
560
|
-
}, H = ({ imageUrl: t, progress: r, orientation: i, mode: a }) => {
|
|
561
|
-
let { t:
|
|
560
|
+
}, H = ({ imageUrl: t, progress: r, orientation: i, mode: a, blurImage: o }) => {
|
|
561
|
+
let { t: c } = e(), d = s(null), f = i !== "vertical" || a === "passport", [p, h] = l(null);
|
|
562
562
|
return n(() => {
|
|
563
|
-
|
|
563
|
+
d.current?.focus();
|
|
564
564
|
}, []), n(() => {
|
|
565
|
-
|
|
566
|
-
|
|
565
|
+
f ? import("./id-laser-h-BniGIPai.js").then((e) => {
|
|
566
|
+
h(e.default);
|
|
567
567
|
}) : import("./id-laser-v-DFo-b0WI.js").then((e) => {
|
|
568
|
-
|
|
568
|
+
h(e.default);
|
|
569
569
|
});
|
|
570
|
-
}, [
|
|
570
|
+
}, [f]), /* @__PURE__ */ u(V, {
|
|
571
571
|
imageUrl: t,
|
|
572
572
|
orientation: i,
|
|
573
573
|
mode: a,
|
|
574
574
|
borderState: "analyzing",
|
|
575
|
+
blurImage: o,
|
|
575
576
|
topContent: /* @__PURE__ */ u("div", {
|
|
576
577
|
class: "IncodeAnalyzingContent",
|
|
577
578
|
children: [/* @__PURE__ */ u(O, { progress: r }), /* @__PURE__ */ u(m, {
|
|
578
|
-
ref:
|
|
579
|
+
ref: d,
|
|
579
580
|
id: "analyzing-title",
|
|
580
581
|
className: "IncodeAnalyzingTitle",
|
|
581
582
|
tabIndex: -1,
|
|
582
|
-
children:
|
|
583
|
+
children: c("idv2.capture.processing.analyzing")
|
|
583
584
|
})]
|
|
584
585
|
}),
|
|
585
|
-
overlayContent:
|
|
586
|
-
animationData:
|
|
586
|
+
overlayContent: p ? /* @__PURE__ */ u(T, {
|
|
587
|
+
animationData: p,
|
|
587
588
|
loop: !0,
|
|
588
589
|
className: "IncodeAnalyzingLottie"
|
|
589
590
|
}) : null
|
|
@@ -614,15 +615,16 @@ var z = ({ stream: e, onCapture: t, disabled: r }) => {
|
|
|
614
615
|
d: "M16.5 0C25.3219 0 32.5 7.17642 32.5 16C32.5 24.8219 25.3219 32 16.5 32C7.67811 32 0.5 24.8219 0.5 16C0.5 7.17642 7.67811 0 16.5 0ZM13.6553 11.3701C13.1618 10.8767 12.3636 10.8767 11.8701 11.3701C11.3767 11.8636 11.3767 12.6618 11.8701 13.1553L14.9053 16.1924L11.8721 19.2256C11.3803 19.7191 11.3803 20.5173 11.8721 21.0107C12.3656 21.504 13.1658 21.5041 13.6592 21.0107L16.6924 17.9775L19.7334 21.0205C19.981 21.2664 20.3029 21.3916 20.6279 21.3916C20.9513 21.3916 21.2746 21.2664 21.5205 21.0205C22.014 20.527 22.014 19.7269 21.5205 19.2334L18.4775 16.1924L21.5107 13.1572C22.0041 12.6638 22.004 11.8639 21.5107 11.3721C21.0173 10.8786 20.2191 10.8786 19.7256 11.3721L16.6904 14.4053L13.6553 11.3701Z",
|
|
615
616
|
fill: "#E71111"
|
|
616
617
|
})
|
|
617
|
-
}), G = ({ variant: r, imageUrl: i, orientation: a, mode: o, title: c, subtitle: l, buttonText: f, onButtonClick: p, attemptsRemaining: h }) => {
|
|
618
|
-
let { t:
|
|
618
|
+
}), G = ({ variant: r, imageUrl: i, orientation: a, mode: o, title: c, subtitle: l, buttonText: f, onButtonClick: p, attemptsRemaining: h, blurImage: _ }) => {
|
|
619
|
+
let { t: v } = e(), y = s(null);
|
|
619
620
|
return n(() => {
|
|
620
|
-
|
|
621
|
+
y.current?.focus();
|
|
621
622
|
}, []), /* @__PURE__ */ u(V, {
|
|
622
623
|
imageUrl: i,
|
|
623
624
|
orientation: a,
|
|
624
625
|
mode: o,
|
|
625
626
|
borderState: r,
|
|
627
|
+
blurImage: _,
|
|
626
628
|
topContent: /* @__PURE__ */ u("div", {
|
|
627
629
|
class: "IncodeIdProcessingResultContent",
|
|
628
630
|
role: "status",
|
|
@@ -630,7 +632,7 @@ var z = ({ stream: e, onCapture: t, disabled: r }) => {
|
|
|
630
632
|
u(r === "success" ? U : W, { className: "IncodeIdProcessingResultIcon" }),
|
|
631
633
|
/* @__PURE__ */ u(d, { size: 16 }),
|
|
632
634
|
c && /* @__PURE__ */ u(m, {
|
|
633
|
-
ref:
|
|
635
|
+
ref: y,
|
|
634
636
|
className: "IncodeIdProcessingResultTitle",
|
|
635
637
|
tabIndex: -1,
|
|
636
638
|
children: c
|
|
@@ -645,7 +647,7 @@ var z = ({ stream: e, onCapture: t, disabled: r }) => {
|
|
|
645
647
|
class: "IncodeIdProcessingResultButtonContainer",
|
|
646
648
|
children: [h !== void 0 && h > 0 && /* @__PURE__ */ u("p", {
|
|
647
649
|
class: "IncodeIdProcessingResultAttempts",
|
|
648
|
-
children:
|
|
650
|
+
children: v("v2.idError.attemptsLeft", { count: h })
|
|
649
651
|
}), /* @__PURE__ */ u(g, {
|
|
650
652
|
onClick: p,
|
|
651
653
|
"data-testid": "retry-button",
|
|
@@ -653,22 +655,23 @@ var z = ({ stream: e, onCapture: t, disabled: r }) => {
|
|
|
653
655
|
})]
|
|
654
656
|
})
|
|
655
657
|
});
|
|
656
|
-
}, K = ({ manager: t, state: n }) => {
|
|
657
|
-
let { t:
|
|
658
|
+
}, K = ({ manager: t, state: n, blurImage: r }) => {
|
|
659
|
+
let { t: i } = e();
|
|
658
660
|
if (!n.previewImageUrl) return null;
|
|
659
|
-
let
|
|
661
|
+
let a = n.currentMode === "passport" ? "passport" : "id";
|
|
660
662
|
return /* @__PURE__ */ u(G, {
|
|
661
663
|
variant: "success",
|
|
662
664
|
imageUrl: n.previewImageUrl,
|
|
663
665
|
orientation: n.orientation,
|
|
664
|
-
mode:
|
|
665
|
-
title:
|
|
666
|
-
subtitle: n.needsBackCapture ?
|
|
667
|
-
buttonText: n.needsBackCapture ?
|
|
668
|
-
onButtonClick: () => t.nextStep()
|
|
666
|
+
mode: a,
|
|
667
|
+
title: i("idv2.capture.processing.successTitle"),
|
|
668
|
+
subtitle: n.needsBackCapture ? i("idv2.capture.processing.successFrontSubtitle") : n.needsFrontCapture ? i("idv2.capture.processing.successBackSubtitleScanFront") : i("idv2.capture.processing.successBackSubtitle"),
|
|
669
|
+
buttonText: n.needsBackCapture ? i("idv2.capture.processing.scanBack") : n.needsFrontCapture ? i("idv2.capture.processing.scanFront") : i("idv2.capture.processing.continue"),
|
|
670
|
+
onButtonClick: () => t.nextStep(),
|
|
671
|
+
blurImage: r
|
|
669
672
|
});
|
|
670
|
-
}, q = ({ manager: t, state: n,
|
|
671
|
-
let { t:
|
|
673
|
+
}, q = ({ manager: t, state: n, blurImage: r, ...i }) => {
|
|
674
|
+
let { t: a } = e();
|
|
672
675
|
if (n.status === "error") return /* @__PURE__ */ u("div", {
|
|
673
676
|
class: "IncodeIdError",
|
|
674
677
|
role: "alert",
|
|
@@ -678,20 +681,21 @@ var z = ({ stream: e, onCapture: t, disabled: r }) => {
|
|
|
678
681
|
}), /* @__PURE__ */ u(g, {
|
|
679
682
|
onClick: () => t.reset(),
|
|
680
683
|
"data-testid": "retry-button",
|
|
681
|
-
children:
|
|
684
|
+
children: a("idv2.capture.processing.tryAgain")
|
|
682
685
|
})]
|
|
683
686
|
});
|
|
684
|
-
let
|
|
687
|
+
let o = n.currentMode === "passport" ? "passport" : "id";
|
|
685
688
|
return n.previewImageUrl ? /* @__PURE__ */ u(G, {
|
|
686
689
|
variant: "error",
|
|
687
690
|
imageUrl: n.previewImageUrl,
|
|
688
691
|
orientation: n.orientation,
|
|
689
|
-
mode:
|
|
690
|
-
title: n.uploadErrorMessage ?
|
|
691
|
-
subtitle: n.uploadErrorDescription ?
|
|
692
|
-
buttonText: n.canRetry ?
|
|
692
|
+
mode: o,
|
|
693
|
+
title: n.uploadErrorMessage ? a(n.uploadErrorMessage) : void 0,
|
|
694
|
+
subtitle: n.uploadErrorDescription ? a(n.uploadErrorDescription) : void 0,
|
|
695
|
+
buttonText: n.canRetry ? a("idv2.capture.processing.tryAgain") : a("idv2.capture.processing.continue"),
|
|
693
696
|
onButtonClick: () => t.continueFromError(),
|
|
694
|
-
attemptsRemaining: n.attemptsRemaining
|
|
697
|
+
attemptsRemaining: n.attemptsRemaining,
|
|
698
|
+
blurImage: r
|
|
695
699
|
}) : null;
|
|
696
700
|
}, J = ({ manager: t }) => {
|
|
697
701
|
let { t: r } = e(), i = s(null);
|
|
@@ -1050,15 +1054,18 @@ var ye = ({ mode: e, orientation: t, onAnimationEnd: r }) => {
|
|
|
1050
1054
|
imageUrl: t.previewImageUrl,
|
|
1051
1055
|
progress: t.uploadProgress ?? 0,
|
|
1052
1056
|
orientation: t.orientation,
|
|
1053
|
-
mode: e
|
|
1057
|
+
mode: e,
|
|
1058
|
+
blurImage: t.ageAssurance
|
|
1054
1059
|
});
|
|
1055
1060
|
}
|
|
1056
1061
|
return t.captureStatus === "success" && t.previewImageUrl ? /* @__PURE__ */ u(K, {
|
|
1057
1062
|
manager: e,
|
|
1058
|
-
state: t
|
|
1063
|
+
state: t,
|
|
1064
|
+
blurImage: t.ageAssurance
|
|
1059
1065
|
}) : t.captureStatus === "uploadError" && t.previewImageUrl ? /* @__PURE__ */ u(q, {
|
|
1060
1066
|
manager: e,
|
|
1061
|
-
state: t
|
|
1067
|
+
state: t,
|
|
1068
|
+
blurImage: t.ageAssurance
|
|
1062
1069
|
}) : /* @__PURE__ */ u(xe, {
|
|
1063
1070
|
manager: e,
|
|
1064
1071
|
state: t
|
package/dist/extensibility.es.js
CHANGED
|
@@ -4,7 +4,7 @@ import { i as n, r } from "./hooks-K-ks8TCv.js";
|
|
|
4
4
|
import { n as i, t as a } from "./incodeComponent-Brc9IhMv.js";
|
|
5
5
|
import { t as o } from "./spacer-DCljE53A.js";
|
|
6
6
|
import { t as s } from "./page-D5Mt-0zn.js";
|
|
7
|
-
import { _ as c, a as l, c as u, d, f, g as p, h as m, i as h, l as g, m as _, n as v, o as y, p as b, r as x, s as S, t as C, u as w, v as T } from "./extensibility-
|
|
7
|
+
import { _ as c, a as l, c as u, d, f, g as p, h as m, i as h, l as g, m as _, n as v, o as y, p as b, r as x, s as S, t as C, u as w, v as T } from "./extensibility-C1GVRqNn.js";
|
|
8
8
|
import { a as E, i as D, n as O, o as k, r as A, t as j } from "./typography-BU5GeRw-.js";
|
|
9
9
|
import { t as M } from "./spinner-CNteWaxs.js";
|
|
10
10
|
import { t as N } from "./processing-5g21QOQZ.js";
|
|
@@ -12,7 +12,7 @@ import { t as P } from "./button-4-ToV5B_.js";
|
|
|
12
12
|
import { a as F, c as I, d as L, f as R, g as z, h as B, i as V, l as H, m as U, n as W, o as G, p as K, r as q, s as J, t as Y, u as X } from "./icons-BtdVuyUn.js";
|
|
13
13
|
import { t as Z } from "./successIcon-SlKgTSty.js";
|
|
14
14
|
import { t as Q } from "./modal-CfeQw93y.js";
|
|
15
|
-
import { a as $, i as ee, n as te, o as ne, r as re, t as ie } from "./tutorial-
|
|
15
|
+
import { a as $, i as ee, n as te, o as ne, r as re, t as ie } from "./tutorial-DA46EOWa.js";
|
|
16
16
|
import { t as ae } from "./verificationResult-BvUseXrX.js";
|
|
17
17
|
import { n as oe, t as se } from "./inputComposed-28d14HXP.js";
|
|
18
18
|
import { t as ce } from "./otpInput-BuHkqpRJ.js";
|
|
@@ -159,6 +159,10 @@
|
|
|
159
159
|
border-width: 1px;
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
+
.bg-white {
|
|
163
|
+
background-color: var(--color-white, #fff);
|
|
164
|
+
}
|
|
165
|
+
|
|
162
166
|
.text-button-m-underlined {
|
|
163
167
|
font-family: var(--typography-button-family);
|
|
164
168
|
font-size: var(--typography-button-m-underlined-size);
|
package/dist/flow/flow.es.js
CHANGED
|
@@ -5,7 +5,7 @@ import { i as l } from "../hooks-K-ks8TCv.js";
|
|
|
5
5
|
import { t as u } from "../incodeComponent-Brc9IhMv.js";
|
|
6
6
|
import { t as d } from "../transitionSpinner-CisZoKUv.js";
|
|
7
7
|
import { t as f } from "../incodeModule-BH9gV7jI.js";
|
|
8
|
-
import { a as p, c as m, d as h, i as g, l as _, n as v, o as y, p as b, r as x, s as S, t as C, u as w } from "../useModuleLoader-
|
|
8
|
+
import { a as p, c as m, d as h, i as g, l as _, n as v, o as y, p as b, r as x, s as S, t as C, u as w } from "../useModuleLoader-SN71sRJ2.js";
|
|
9
9
|
import { getDeviceClass as T } from "@incodetech/core/device";
|
|
10
10
|
import { getRequiredWasmPipelines as E } from "@incodetech/core/flow";
|
|
11
11
|
import { QrValidationError as D, bootstrapSession as O, refreshQrUrlUuid as k } from "@incodetech/core/session";
|
package/dist/flow/styles.css
CHANGED
|
@@ -165,6 +165,10 @@
|
|
|
165
165
|
border-width: 1px;
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
+
.bg-white {
|
|
169
|
+
background-color: var(--color-white, #fff);
|
|
170
|
+
}
|
|
171
|
+
|
|
168
172
|
.text-button-m-underlined {
|
|
169
173
|
font-family: var(--typography-button-family);
|
|
170
174
|
font-size: var(--typography-button-m-underlined-size);
|
|
@@ -513,6 +517,11 @@
|
|
|
513
517
|
font-weight: var(--typography-button-m-underlined-weight);
|
|
514
518
|
line-height: var(--typography-button-m-underlined-line-height);
|
|
515
519
|
letter-spacing: var(--typography-button-m-underlined-letter-spacing);
|
|
520
|
+
font-family: var(--typography-button-family);
|
|
521
|
+
font-size: var(--typography-button-m-underlined-size);
|
|
522
|
+
font-weight: var(--typography-button-m-underlined-weight);
|
|
523
|
+
line-height: var(--typography-button-m-underlined-line-height);
|
|
524
|
+
letter-spacing: var(--typography-button-m-underlined-letter-spacing);
|
|
516
525
|
text-decoration-line: underline;
|
|
517
526
|
text-decoration-style: solid;
|
|
518
527
|
text-decoration-thickness: auto;
|
|
@@ -1666,6 +1675,91 @@
|
|
|
1666
1675
|
overflow: hidden;
|
|
1667
1676
|
}
|
|
1668
1677
|
|
|
1678
|
+
.IncodeAgeVerificationPage .IncodePageInner {
|
|
1679
|
+
padding-top: var(--spacing-8, var(--spacing-8, 8px));
|
|
1680
|
+
padding-bottom: var(--spacing-16, var(--spacing-16, 16px));
|
|
1681
|
+
}
|
|
1682
|
+
|
|
1683
|
+
.IncodeAgeVerificationPage .IncodePageHeader {
|
|
1684
|
+
height: var(--page-header-height);
|
|
1685
|
+
min-height: var(--page-header-height);
|
|
1686
|
+
}
|
|
1687
|
+
|
|
1688
|
+
.IncodeAgeVerificationPage .IncodePageLogo {
|
|
1689
|
+
height: var(--age-verification-logo-height);
|
|
1690
|
+
}
|
|
1691
|
+
|
|
1692
|
+
.IncodeAgeVerificationPage .IncodePageTitleContainer {
|
|
1693
|
+
max-width: none;
|
|
1694
|
+
}
|
|
1695
|
+
|
|
1696
|
+
.IncodeAgeVerificationPage .IncodePageContent {
|
|
1697
|
+
justify-content: center;
|
|
1698
|
+
}
|
|
1699
|
+
|
|
1700
|
+
.IncodeAgeVerificationPage .IncodePageFooter {
|
|
1701
|
+
padding-top: var(--spacing-12, var(--spacing-12, 12px));
|
|
1702
|
+
padding-bottom: var(--spacing-0, var(--spacing-none, 0px));
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1705
|
+
.IncodeAgeVerificationPage .IncodeAgeVerificationContent {
|
|
1706
|
+
justify-content: space-between;
|
|
1707
|
+
align-items: center;
|
|
1708
|
+
gap: var(--spacing-16, var(--spacing-16, 16px));
|
|
1709
|
+
flex-direction: column;
|
|
1710
|
+
flex: 1;
|
|
1711
|
+
display: flex;
|
|
1712
|
+
}
|
|
1713
|
+
|
|
1714
|
+
.IncodeAgeVerificationPage .IncodeAgeVerificationList {
|
|
1715
|
+
width: 100%;
|
|
1716
|
+
max-width: var(--incode-form-max-w);
|
|
1717
|
+
justify-content: center;
|
|
1718
|
+
gap: var(--spacing-16, var(--spacing-16, 16px));
|
|
1719
|
+
padding: var(--spacing-0, var(--spacing-none, 0px));
|
|
1720
|
+
flex-direction: column;
|
|
1721
|
+
flex: 1;
|
|
1722
|
+
margin-inline: auto;
|
|
1723
|
+
list-style-type: none;
|
|
1724
|
+
display: flex;
|
|
1725
|
+
}
|
|
1726
|
+
|
|
1727
|
+
.IncodeAgeVerificationPage .IncodeAgeVerificationItem {
|
|
1728
|
+
align-items: center;
|
|
1729
|
+
gap: var(--spacing-16, var(--spacing-16, 16px));
|
|
1730
|
+
display: flex;
|
|
1731
|
+
}
|
|
1732
|
+
|
|
1733
|
+
.IncodeAgeVerificationPage .IncodeAgeVerificationIcon {
|
|
1734
|
+
height: var(--spacing-64, var(--spacing-64, 64px));
|
|
1735
|
+
width: var(--spacing-96, var(--spacing-96, 96px));
|
|
1736
|
+
flex-shrink: 0;
|
|
1737
|
+
justify-content: center;
|
|
1738
|
+
align-items: center;
|
|
1739
|
+
display: flex;
|
|
1740
|
+
}
|
|
1741
|
+
|
|
1742
|
+
.IncodeAgeVerificationPage .IncodeAgeVerificationIcon img {
|
|
1743
|
+
width: 100%;
|
|
1744
|
+
height: 100%;
|
|
1745
|
+
}
|
|
1746
|
+
|
|
1747
|
+
.IncodeAgeVerificationPage .IncodeAgeVerificationText {
|
|
1748
|
+
font-family: var(--typography-headline-family);
|
|
1749
|
+
font-size: var(--typography-headline-h5-size);
|
|
1750
|
+
font-weight: var(--typography-headline-h5-weight);
|
|
1751
|
+
line-height: var(--typography-headline-h5-line-height);
|
|
1752
|
+
letter-spacing: var(--typography-headline-h5-letter-spacing);
|
|
1753
|
+
color: var(--color-text-body-primary, var(--text-body-800-primary));
|
|
1754
|
+
flex: 1;
|
|
1755
|
+
}
|
|
1756
|
+
|
|
1757
|
+
.IncodeAgeVerificationPage .IncodeAgeVerificationButton {
|
|
1758
|
+
width: 100%;
|
|
1759
|
+
max-width: var(--incode-form-max-w);
|
|
1760
|
+
margin-inline: auto;
|
|
1761
|
+
}
|
|
1762
|
+
|
|
1669
1763
|
.IncodeIdTutorial {
|
|
1670
1764
|
--brand-color: var(--surface-brand-500);
|
|
1671
1765
|
}
|
|
@@ -2143,6 +2237,12 @@
|
|
|
2143
2237
|
max-height: 100%;
|
|
2144
2238
|
}
|
|
2145
2239
|
|
|
2240
|
+
.IncodeIdProcessingLayout .IncodeIdProcessingLayoutContent .IncodeCaptureFrame .IncodeIdProcessingImage.IncodeIdProcessingImageBlurred {
|
|
2241
|
+
filter: blur(var(--id-processing-image-blur-radius));
|
|
2242
|
+
-webkit-backdrop-filter: blur(var(--id-processing-image-blur-radius));
|
|
2243
|
+
backdrop-filter: blur(var(--id-processing-image-blur-radius));
|
|
2244
|
+
}
|
|
2245
|
+
|
|
2146
2246
|
.IncodeIdProcessingLayout .IncodeIdProcessingLayoutContent .IncodeCaptureFrame .IncodeIdProcessingOverlay {
|
|
2147
2247
|
pointer-events: none;
|
|
2148
2248
|
z-index: 10;
|