@incodetech/web 0.0.0-dev-20260403-eccc51c → 0.0.0-dev-20260407-4580f1c
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/AsYouType-DPWqJvFu.js +2482 -0
- package/dist/addressAutocomplete-B3f6PGTT.js +108 -0
- package/dist/aligndevicelottie-C9xl1spu.js +12757 -0
- package/dist/antifraud/antifraud.es.js +17 -18
- package/dist/antifraud/styles.css +1 -1
- package/dist/authentication/authentication.es.js +28 -50
- package/dist/back-horizontal-hint-Be3dUGk6.js +137 -0
- package/dist/back-tutorial-BNTyW-1N.js +14584 -0
- package/dist/back-vertical-hint-Bz_rnhd-.js +128 -0
- package/dist/backdevicelottie-DBB1YCtW.js +16678 -0
- package/dist/base.css +327 -67
- package/dist/blurdevicelottie-9WvZCZ6C.js +15939 -0
- package/dist/browser-ponyfill-B4Qc6yfW.js +299 -0
- package/dist/button-DhL5eRT3.js +123 -0
- package/dist/checkbox-l8NxPf4o.js +85 -0
- package/dist/consent/consent.es.js +82 -89
- package/dist/consent/styles.css +1 -1
- package/dist/countries-y2ydYDhN.js +8323 -0
- package/dist/curp-validation/curp-validation.es.js +271 -313
- package/dist/curp-validation/styles.css +1 -1
- package/dist/dateInputComposed-B9WqdYx9.js +2 -0
- package/dist/dateInputComposed-ndsGHX1M.js +94 -0
- package/dist/defineProperty-brqHEHA_.js +39 -0
- package/dist/document-capture/styles.css +1 -1
- package/dist/documentCapture-wDgRLdon.js +784 -0
- package/dist/dropdownComposed-_Ey7wJNG.js +258 -0
- package/dist/ekyb/ekyb.es.js +2 -0
- package/dist/ekyb/styles.css +1 -1
- package/dist/ekybModule-BBOm1y49.js +2 -0
- package/dist/ekybModule-fz6i9ZRt.js +286 -0
- package/dist/ekyc/ekyc.es.js +2 -0
- package/dist/ekyc/styles.css +1 -1
- package/dist/ekycModule-SeTFG3AJ.js +233 -0
- package/dist/ekycModule-hxIcNX8n.js +2 -0
- package/dist/email/email.es.js +110 -154
- package/dist/email/styles.css +1 -1
- package/dist/extensibility-DJihqIzM.js +2248 -0
- package/dist/extensibility.es.js +22 -150
- package/dist/face-match/styles.css +147 -73
- package/dist/faceMatch-DH8sLx34.js +191 -0
- package/dist/flip-animation-DOJzdXB-.js +6983 -0
- package/dist/flow/flow.es.js +2273 -2613
- package/dist/flow/styles.css +432 -73
- package/dist/formField-BRTbY8w9.js +100 -0
- package/dist/front-horizontal-hint-aGAhadA2.js +380 -0
- package/dist/front-vertical-hint-DZz1VeNp.js +420 -0
- package/dist/frontdevicelottie-DadDp6be.js +17302 -0
- package/dist/geolocation/geolocation.es.js +852 -832
- package/dist/geolocation/styles.css +1 -1
- package/dist/glaredevicelottie-BfI84cPw.js +14466 -0
- package/dist/governmentValidation/governmentValidation.es.js +100 -106
- package/dist/governmentValidation/styles.css +1 -1
- package/dist/i18n-DZOHbK9q.js +1916 -0
- package/dist/icons-BHbofCgJ.js +245 -0
- package/dist/id/id.es.js +53 -59
- package/dist/id/styles.css +1 -1
- package/dist/id-laser-h-BWyU3VgL.js +467 -0
- package/dist/id-laser-v-JiWXUlv0.js +467 -0
- package/dist/id-tutorial-Cc9xg5_J.js +13152 -0
- package/dist/incodeModule-Bf6yJ8RB.js +18 -0
- package/dist/index.es.js +4 -25
- package/dist/inputComposed-BhbfD8Ru.js +77 -0
- package/dist/loadingIcon-CeQt7Zgb.js +146 -0
- package/dist/mandatoryConsent-LBS8E0rj.js +101 -0
- package/dist/numberedStep-CQVRixRP.js +11 -0
- package/dist/otpInput-CDIG9el7.js +143 -0
- package/dist/page-SvlJWUfz.js +61 -0
- package/dist/passport-horizontal-hint-CFsGs7Dp.js +293 -0
- package/dist/passport-tutorial-z0LN7Hsp.js +11688 -0
- package/dist/passport-vertical-hint-BnCpKWeN.js +267 -0
- package/dist/phone/phone.es.js +87 -121
- package/dist/phone/styles.css +1 -1
- package/dist/phoneInput-C9T_8FJt.js +138 -0
- package/dist/phoneInputComposed-B-0zieIW.js +407 -0
- package/dist/processing-B5zhNH6I.js +15 -0
- package/dist/redirect-to-mobile/styles.css +1 -1
- package/dist/richText-Db0PfpkE.js +1973 -0
- package/dist/rolldown-runtime-CjdbFOpI.js +13 -0
- package/dist/selfie/selfie.es.js +29 -50
- package/dist/selfie/styles.css +170 -66
- package/dist/selfieTutorial-B0MIyPrk.js +2676 -0
- package/dist/setup-Dq2bzNKH.js +15 -0
- package/dist/signature/signature.es.js +557 -707
- package/dist/signature/styles.css +1 -1
- package/dist/spacer-DCljE53A.js +59 -0
- package/dist/spinner-Bk0YuoLu.js +1 -0
- package/dist/spinner-snIGzmm8.js +41 -0
- package/dist/successIcon-AHrfmJvv.js +17 -0
- package/dist/tutorial-DNOd11tg.js +2780 -0
- package/dist/types/ekyb.d.ts +29 -0
- package/dist/types/ekyc.d.ts +29 -0
- package/dist/types/index.d.ts +0 -8
- package/dist/typography-BNbFNFek.js +1 -0
- package/dist/typography-DvHeVWfY.js +29 -0
- package/dist/uiConfig-CwpQ-IM6.js +20 -0
- package/dist/vendor-preact-D6SntenC.js +958 -0
- package/dist/warningIcon-Cvj-ayg1.js +17 -0
- package/package.json +8 -11
- package/dist/AsYouType-D1H_js4X.js +0 -2607
- package/dist/Trans-aTzdT_SA.js +0 -55
- package/dist/addressAutocomplete-C8-wL1j_.js +0 -153
- package/dist/aligndevicelottie-DlQCRPfM.js +0 -29
- package/dist/back-horizontal-hint-CSlf9KI1.js +0 -5
- package/dist/back-tutorial-An9AcMSe.js +0 -29
- package/dist/back-vertical-hint-CNieqiCr.js +0 -5
- package/dist/backdevicelottie-B4NgyWmX.js +0 -29
- package/dist/blurdevicelottie-_BZRug1c.js +0 -29
- package/dist/browser-ponyfill-B6W6hHVY.js +0 -344
- package/dist/button-CE9kRlem.js +0 -184
- package/dist/cameraView-C2X7klNb.js +0 -55
- package/dist/captureOverlay-tCb4R4WE.js +0 -592
- package/dist/checkbox-B5X-mfqq.js +0 -137
- package/dist/chevronDown-DSHaPKbi.js +0 -23
- package/dist/closeIcon-9Hc97omv.js +0 -28
- package/dist/countries-DfLkrF0x.js +0 -616
- package/dist/dateInputComposed-C7PCzh-U.js +0 -173
- package/dist/documentCapture-C0mO-RGE.js +0 -692
- package/dist/dropdownComposed-BpinYlrx.js +0 -367
- package/dist/ekybModule-Dr6LJUg-.js +0 -357
- package/dist/ekycModule-C3mswduI.js +0 -291
- package/dist/errorContent-Cb8nmQAE.js +0 -44
- package/dist/errorIcon-DEARBrGx.js +0 -26
- package/dist/faceMatch-DbDp7D3d.js +0 -237
- package/dist/fileIcon-CCSvS10T.js +0 -52
- package/dist/flip-animation-COR596wy.js +0 -29
- package/dist/flipAnimation-BqV462TA.js +0 -2059
- package/dist/formField-CP6wDdfA.js +0 -106
- package/dist/front-horizontal-hint-lRLKd7vY.js +0 -7
- package/dist/front-vertical-hint-qQoJXRE3.js +0 -7
- package/dist/frontdevicelottie-KhKxT5n9.js +0 -29
- package/dist/glaredevicelottie-DLuIStvb.js +0 -29
- package/dist/id-laser-h-BBV3r3rz.js +0 -29
- package/dist/id-laser-v-BTHJaSfx.js +0 -29
- package/dist/id-tutorial-B-F5Q28m.js +0 -29
- package/dist/incodeModule-C4XIllao.js +0 -96
- package/dist/inputComposed-fUbAGrDy.js +0 -103
- package/dist/instance-BWYzq8dk.js +0 -2163
- package/dist/loadingIcon-DmuPXh70.js +0 -195
- package/dist/mandatoryConsent-5xPI0cor.js +0 -94
- package/dist/manualCaptureButton-BvFmTyJe.js +0 -372
- package/dist/numberedStep-DwUB__mh.js +0 -5
- package/dist/otpInput-BFXhqFRT.js +0 -156
- package/dist/page-SrUl0qtN.js +0 -69
- package/dist/passport-horizontal-hint-BCtpMp1Y.js +0 -5
- package/dist/passport-tutorial-CaYBFTqt.js +0 -29
- package/dist/passport-vertical-hint-GaLnzqHP.js +0 -5
- package/dist/permissions-DT4Fz9MR.js +0 -709
- package/dist/phoneInput-CGr8TxOO.js +0 -158
- package/dist/phoneInputComposed-Cm9O2Jba.js +0 -206
- package/dist/processing-szVOCQwZ.js +0 -19
- package/dist/richText-cspvNz2a.js +0 -1807
- package/dist/selfieTutorial-Dm_p0ke9.js +0 -29
- package/dist/spinner-DygONskw.js +0 -60
- package/dist/successIcon-Bjsdc4lF.js +0 -26
- package/dist/tutorial-Cdz1025D.js +0 -473
- package/dist/types/ekyb/styles.d.ts +0 -1
- package/dist/types/ekyc/styles.d.ts +0 -1
- package/dist/typography-BDACYR5i.js +0 -14
- package/dist/uiConfig-Dnt-2YWB.js +0 -23
- package/dist/useMediaQuery-lJdQBmC2.js +0 -18
- package/dist/vendor-preact-BoMmvSgn.js +0 -694
- package/dist/warningIcon-DQq_MrOB.js +0 -26
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
import { m as e, v as t } from "./vendor-preact-D6SntenC.js";
|
|
2
|
+
import "./successIcon-AHrfmJvv.js";
|
|
3
|
+
//#region src/shared/icons/errorIcon.tsx
|
|
4
|
+
var n = ({ size: e = 32 }) => /* @__PURE__ */ t("svg", {
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
+
width: e,
|
|
7
|
+
height: e,
|
|
8
|
+
viewBox: "0 0 32 32",
|
|
9
|
+
fill: "none",
|
|
10
|
+
class: "IncodeErrorIcon",
|
|
11
|
+
"aria-hidden": "true",
|
|
12
|
+
children: [/* @__PURE__ */ t("title", { children: "Error" }), /* @__PURE__ */ t("path", {
|
|
13
|
+
d: "M16 0C24.8219 0 32 7.17642 32 16C32 24.8219 24.8219 32 16 32C7.17811 32 0 24.8219 0 16C0 7.17642 7.17811 0 16 0ZM13.1553 11.3701C12.6618 10.8767 11.8636 10.8767 11.3701 11.3701C10.8767 11.8636 10.8767 12.6618 11.3701 13.1553L14.4053 16.1924L11.3721 19.2256C10.8803 19.7191 10.8803 20.5173 11.3721 21.0107C11.8656 21.504 12.6658 21.5041 13.1592 21.0107L16.1924 17.9775L19.2334 21.0205C19.481 21.2664 19.8029 21.3916 20.1279 21.3916C20.4513 21.3916 20.7746 21.2664 21.0205 21.0205C21.514 20.527 21.514 19.7269 21.0205 19.2334L17.9775 16.1924L21.0107 13.1572C21.5041 12.6638 21.504 11.8639 21.0107 11.3721C20.5173 10.8786 19.7191 10.8786 19.2256 11.3721L16.1904 14.4053L13.1553 11.3701Z",
|
|
14
|
+
fill: "var(--icon-status-negative)"
|
|
15
|
+
})]
|
|
16
|
+
}), r = ({ class: n }) => {
|
|
17
|
+
let r = e();
|
|
18
|
+
return /* @__PURE__ */ t("svg", {
|
|
19
|
+
width: "24",
|
|
20
|
+
height: "24",
|
|
21
|
+
viewBox: "0 0 24 24",
|
|
22
|
+
fill: "none",
|
|
23
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
24
|
+
role: "img",
|
|
25
|
+
"aria-labelledby": r,
|
|
26
|
+
class: n,
|
|
27
|
+
children: [
|
|
28
|
+
/* @__PURE__ */ t("title", {
|
|
29
|
+
id: r,
|
|
30
|
+
children: "Calendar icon"
|
|
31
|
+
}),
|
|
32
|
+
/* @__PURE__ */ t("path", {
|
|
33
|
+
fillRule: "evenodd",
|
|
34
|
+
clipRule: "evenodd",
|
|
35
|
+
d: "M7.50244 10.1563C7.50244 9.74204 7.83823 9.40625 8.25244 9.40625H16.7485C17.1627 9.40625 17.4985 9.74204 17.4985 10.1563C17.4985 10.5705 17.1627 10.9063 16.7485 10.9063H8.25244C7.83823 10.9063 7.50244 10.5705 7.50244 10.1563Z",
|
|
36
|
+
fill: "currentColor"
|
|
37
|
+
}),
|
|
38
|
+
/* @__PURE__ */ t("path", {
|
|
39
|
+
fillRule: "evenodd",
|
|
40
|
+
clipRule: "evenodd",
|
|
41
|
+
d: "M16.1406 2.25C16.5548 2.25 16.8906 2.58579 16.8906 3V5.96174C16.8906 6.37595 16.5548 6.71174 16.1406 6.71174C15.7264 6.71174 15.3906 6.37595 15.3906 5.96174V3C15.3906 2.58579 15.7264 2.25 16.1406 2.25Z",
|
|
42
|
+
fill: "currentColor"
|
|
43
|
+
}),
|
|
44
|
+
/* @__PURE__ */ t("path", {
|
|
45
|
+
fillRule: "evenodd",
|
|
46
|
+
clipRule: "evenodd",
|
|
47
|
+
d: "M8.86816 2.25C9.28238 2.25 9.61816 2.58579 9.61816 3V5.96174C9.61816 6.37595 9.28238 6.71174 8.86816 6.71174C8.45395 6.71174 8.11816 6.37595 8.11816 5.96174V3C8.11816 2.58579 8.45395 2.25 8.86816 2.25Z",
|
|
48
|
+
fill: "currentColor"
|
|
49
|
+
}),
|
|
50
|
+
/* @__PURE__ */ t("path", {
|
|
51
|
+
fillRule: "evenodd",
|
|
52
|
+
clipRule: "evenodd",
|
|
53
|
+
d: "M5.0392 4.95256C5.95822 4.07897 7.23731 3.67188 8.69414 3.67188H16.3145C17.7746 3.67188 19.0544 4.07865 19.9721 4.95323C20.8955 5.83327 21.3546 7.094 21.3504 8.60132C21.3504 8.6011 21.3504 8.60154 21.3504 8.60132V16.8137C21.3504 18.3212 20.8891 19.5831 19.9657 20.4646C19.0476 21.341 17.768 21.7504 16.3067 21.7504H8.69414C7.23281 21.7504 5.95209 21.3322 5.03394 20.4423C4.11207 19.5488 3.65039 18.2716 3.65039 16.7456V8.59984C3.65039 7.09167 4.11438 5.83167 5.0392 4.95256ZM6.07265 6.03976C5.51149 6.57317 5.15039 7.40215 5.15039 8.59984V16.7456C5.15039 17.9683 5.5138 18.8185 6.0779 19.3652C6.64573 19.9156 7.51189 20.2504 8.69414 20.2504H16.3067C17.4968 20.2504 18.364 19.9198 18.93 19.3796C19.4906 18.8445 19.8504 18.013 19.8504 16.8137V8.59984V8.59768C19.8539 7.39945 19.4958 6.57144 18.9372 6.03908C18.3728 5.50115 17.5058 5.17187 16.3145 5.17187H8.69414C7.50739 5.17187 6.6396 5.50083 6.07265 6.03976Z",
|
|
54
|
+
fill: "currentColor"
|
|
55
|
+
})
|
|
56
|
+
]
|
|
57
|
+
});
|
|
58
|
+
}, i = ({ size: e = 24 }) => /* @__PURE__ */ t("svg", {
|
|
59
|
+
width: e,
|
|
60
|
+
height: e,
|
|
61
|
+
viewBox: "0 0 24 24",
|
|
62
|
+
fill: "none",
|
|
63
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
64
|
+
children: /* @__PURE__ */ t("path", {
|
|
65
|
+
d: "M13.9648 3.9375C14.9748 3.9375 15.899 4.49179 16.376 5.38379C16.7907 6.16122 16.9686 6.3825 17.0127 6.43164C17.2557 6.68564 17.594 6.83756 17.957 6.85156C19.9019 6.85158 21.4998 8.4483 21.5 10.4121V16.0566C21.4999 18.5966 19.4335 20.6631 16.8936 20.6631H7.10645C4.56749 20.6631 2.50008 18.5966 2.5 16.0566V10.4141C2.50324 8.45242 4.09989 6.8567 6.06152 6.85645C6.40549 6.84145 6.74412 6.68871 6.99512 6.42676C7.04412 6.37276 7.22513 6.13959 7.66211 5.34863C8.14207 4.47871 9.05884 3.9376 10.0527 3.9375H13.9648ZM11.999 9.5625C9.8801 9.5625 8.15637 11.2864 8.15625 13.4053C8.15625 15.5243 9.88002 17.248 11.999 17.248C14.118 17.248 15.8418 15.5243 15.8418 13.4053C15.8417 11.2864 14.1179 9.56251 11.999 9.5625ZM11.999 11.0625C13.2909 11.0625 14.3417 12.1134 14.3418 13.4053C14.3418 14.6973 13.291 15.748 11.999 15.748C10.7071 15.748 9.65625 14.6972 9.65625 13.4053C9.65637 12.1134 10.7071 11.0625 11.999 11.0625ZM17.1729 9.4082C16.7589 9.40829 16.4229 9.77355 16.4229 10.1875C16.4229 10.6015 16.7589 10.9374 17.1729 10.9375C17.5869 10.9375 17.9229 10.6015 17.9229 10.1875V10.1289C17.9229 9.71491 17.5869 9.4082 17.1729 9.4082Z",
|
|
66
|
+
fill: "#262831"
|
|
67
|
+
})
|
|
68
|
+
}), a = ({ className: e }) => /* @__PURE__ */ t("svg", {
|
|
69
|
+
width: "68",
|
|
70
|
+
height: "68",
|
|
71
|
+
viewBox: "0 0 68 68",
|
|
72
|
+
fill: "none",
|
|
73
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
74
|
+
class: e,
|
|
75
|
+
"aria-hidden": "true",
|
|
76
|
+
children: [/* @__PURE__ */ t("path", {
|
|
77
|
+
fillRule: "evenodd",
|
|
78
|
+
clipRule: "evenodd",
|
|
79
|
+
d: "M34.0001 68C52.7779 68 68.0003 52.7777 68.0003 34C68.0003 15.2223 52.7779 0 34.0001 0C15.2224 0 0 15.2223 0 34C0 52.7777 15.2224 68 34.0001 68ZM34 63.5265C50.307 63.5265 63.5265 50.3071 63.5265 34.0002C63.5265 17.6932 50.307 4.47385 34 4.47385C17.693 4.47385 4.4736 17.6932 4.4736 34.0002C4.4736 50.3071 17.693 63.5265 34 63.5265Z",
|
|
80
|
+
fill: "white"
|
|
81
|
+
}), /* @__PURE__ */ t("circle", {
|
|
82
|
+
cx: "33.5926",
|
|
83
|
+
cy: "33.9996",
|
|
84
|
+
r: "25.4187",
|
|
85
|
+
fill: "white"
|
|
86
|
+
})]
|
|
87
|
+
}), o = ({ size: e = 28 }) => /* @__PURE__ */ t("svg", {
|
|
88
|
+
width: e,
|
|
89
|
+
height: e,
|
|
90
|
+
viewBox: "0 0 28 28",
|
|
91
|
+
fill: "none",
|
|
92
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
93
|
+
"aria-hidden": "true",
|
|
94
|
+
children: [/* @__PURE__ */ t("title", { children: "checkmark" }), /* @__PURE__ */ t("path", {
|
|
95
|
+
"fill-rule": "evenodd",
|
|
96
|
+
"clip-rule": "evenodd",
|
|
97
|
+
d: "M19.3321 10.2929C19.7226 10.6834 19.7226 11.3166 19.3321 11.7071L13.3321 17.7071C12.9416 18.0976 12.3084 18.0976 11.9179 17.7071L9.29289 15.0821C8.90237 14.6916 8.90237 14.0584 9.29289 13.6679C9.68342 13.2774 10.3166 13.2774 10.7071 13.6679L12.625 15.5858L17.9179 10.2929C18.3084 9.90237 18.9416 9.90237 19.3321 10.2929Z",
|
|
98
|
+
fill: "var(--checkbox-icon-default)"
|
|
99
|
+
})]
|
|
100
|
+
}), s = ({ class: e }) => /* @__PURE__ */ t("svg", {
|
|
101
|
+
width: "24",
|
|
102
|
+
height: "24",
|
|
103
|
+
viewBox: "0 0 24 24",
|
|
104
|
+
fill: "none",
|
|
105
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
106
|
+
class: e,
|
|
107
|
+
"aria-hidden": "true",
|
|
108
|
+
children: /* @__PURE__ */ t("path", {
|
|
109
|
+
d: "M4.76734 9.18066C4.39163 8.77605 4.41468 8.14342 4.8191 7.76758C5.22371 7.39187 5.85635 7.41491 6.23219 7.81934L11.9998 14.0312L17.7673 7.81934L17.8406 7.74805C18.2212 7.41355 18.8011 7.41532 19.1804 7.76758C19.5849 8.14341 19.6079 8.77605 19.2322 9.18066L12.7322 16.1807C12.543 16.3842 12.2777 16.5 11.9998 16.5C11.7218 16.5 11.4565 16.3842 11.2673 16.1807L4.76734 9.18066Z",
|
|
110
|
+
fill: "currentColor"
|
|
111
|
+
})
|
|
112
|
+
}), c = ({ size: e, class: n, variant: r = "xs" }) => {
|
|
113
|
+
let i = e ?? (r === "xs" ? 14 : 24);
|
|
114
|
+
return r === "xs" ? /* @__PURE__ */ t("svg", {
|
|
115
|
+
width: i,
|
|
116
|
+
height: i,
|
|
117
|
+
viewBox: "0 0 14 14",
|
|
118
|
+
fill: "none",
|
|
119
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
120
|
+
class: n,
|
|
121
|
+
"aria-hidden": "true",
|
|
122
|
+
focusable: "false",
|
|
123
|
+
children: /* @__PURE__ */ t("path", {
|
|
124
|
+
d: "M5.25 3.5L8.75 7L5.25 10.5",
|
|
125
|
+
stroke: "currentColor",
|
|
126
|
+
"stroke-width": "2",
|
|
127
|
+
"stroke-linecap": "round",
|
|
128
|
+
"stroke-linejoin": "round"
|
|
129
|
+
})
|
|
130
|
+
}) : /* @__PURE__ */ t("svg", {
|
|
131
|
+
width: i,
|
|
132
|
+
height: i,
|
|
133
|
+
viewBox: "0 0 24 24",
|
|
134
|
+
fill: "none",
|
|
135
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
136
|
+
class: n,
|
|
137
|
+
"aria-hidden": "true",
|
|
138
|
+
focusable: "false",
|
|
139
|
+
children: /* @__PURE__ */ t("path", {
|
|
140
|
+
d: "M9.68042 19.2322C9.27581 19.6079 8.64317 19.5848 8.26733 19.1804C7.89162 18.7758 7.91467 18.1432 8.31909 17.7673L14.531 11.9997L8.31909 6.23217L8.2478 6.15893C7.9133 5.77827 7.91508 5.19843 8.26734 4.81908C8.64317 4.41466 9.27581 4.39161 9.68042 4.76732L16.6804 11.2673C16.884 11.4565 16.9998 11.7218 16.9998 11.9997C16.9998 12.2777 16.884 12.543 16.6804 12.7322L9.68042 19.2322Z",
|
|
141
|
+
fill: "currentColor"
|
|
142
|
+
})
|
|
143
|
+
});
|
|
144
|
+
}, l = ({ width: e = 14, height: n = 14, class: r, fillColor: i = "var(--icon-neutral-800)" }) => /* @__PURE__ */ t("svg", {
|
|
145
|
+
width: e,
|
|
146
|
+
height: n,
|
|
147
|
+
viewBox: "0 0 32 32",
|
|
148
|
+
fill: "none",
|
|
149
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
150
|
+
class: `IncodeCloseIcon ${r || ""}`,
|
|
151
|
+
"aria-hidden": "true",
|
|
152
|
+
children: /* @__PURE__ */ t("path", {
|
|
153
|
+
d: "M24.0578 6.05722C24.5785 5.53676 25.422 5.53667 25.9426 6.05722C26.4633 6.57792 26.4633 7.42226 25.9426 7.94296L17.885 15.9996L25.9426 24.0572C26.4633 24.5779 26.4633 25.4223 25.9426 25.943C25.422 26.4633 24.5785 26.4632 24.0578 25.943L16.0002 17.8853L7.94259 25.943C7.422 26.4633 6.57847 26.4632 6.05782 25.943C5.53712 25.4223 5.53712 24.5779 6.05782 24.0572L14.1145 15.9996L6.05782 7.94296C5.53712 7.42226 5.53712 6.57792 6.05782 6.05722C6.57851 5.53677 7.42196 5.53667 7.94259 6.05722L16.0002 14.1148L24.0578 6.05722Z",
|
|
154
|
+
fill: i
|
|
155
|
+
})
|
|
156
|
+
}), u = ({ size: e = 24 }) => /* @__PURE__ */ t("svg", {
|
|
157
|
+
width: e,
|
|
158
|
+
height: e,
|
|
159
|
+
viewBox: "0 0 24 24",
|
|
160
|
+
fill: "none",
|
|
161
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
162
|
+
children: /* @__PURE__ */ t("path", {
|
|
163
|
+
d: "M13.2525 2C13.5 2 13.7079 2.21 13.7079 2.46V5.68C13.7079 7.51 15.1931 9.01 17.0149 9.02C17.7574 9.02 18.3515 9.03 18.8069 9.03C19.1139 9.03 19.6188 9.02 20.0446 9.02C20.2921 9.02 20.5 9.22 20.5 9.47V17.51C20.5 19.99 18.5 22 16.0446 22H8.17327C5.58911 22 3.5 19.89 3.5 17.29V6.51C3.5 4.03 5.4901 2 7.96535 2H13.2525ZM11.6386 8.74C11.5396 8.74 11.4406 8.76 11.3515 8.8C11.2624 8.84 11.1832 8.89 11.1139 8.96L8.28218 11.84C7.99505 12.13 7.99505 12.6 8.28218 12.89C8.56931 13.18 9.03465 13.18 9.32178 12.89L10.896 11.29V16.12C10.896 16.53 11.2228 16.86 11.6386 16.86C12.0446 16.86 12.3713 16.53 12.3713 16.12V11.29L13.9455 12.89C14.2327 13.18 14.698 13.18 14.9851 12.89C15.2822 12.6 15.2822 12.13 14.995 11.84L12.1535 8.96C12.0842 8.89 12.005 8.84 11.9158 8.8C11.8267 8.76 11.7376 8.74 11.6386 8.74ZM15.1452 2.906C15.1452 2.475 15.6621 2.261 15.9581 2.572C17.0294 3.696 18.8997 5.661 19.9452 6.759C20.2334 7.062 20.0215 7.565 19.6047 7.566C18.7908 7.569 17.8324 7.566 17.1423 7.559C16.0472 7.559 15.1452 6.648 15.1452 5.542V2.906Z",
|
|
164
|
+
fill: "#262831"
|
|
165
|
+
})
|
|
166
|
+
}), d = ({ className: e }) => /* @__PURE__ */ t("svg", {
|
|
167
|
+
width: "30",
|
|
168
|
+
height: "30",
|
|
169
|
+
viewBox: "0 0 30 30",
|
|
170
|
+
fill: "none",
|
|
171
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
172
|
+
class: e,
|
|
173
|
+
"aria-hidden": "true",
|
|
174
|
+
children: [/* @__PURE__ */ t("path", {
|
|
175
|
+
fillRule: "evenodd",
|
|
176
|
+
clipRule: "evenodd",
|
|
177
|
+
d: "M15 0C6.7279 0 0 6.72947 0 15C0 23.2705 6.7279 30 15 30C23.2705 30 30 23.2705 30 15C30 6.72947 23.2705 0 15 0Z",
|
|
178
|
+
fill: "white"
|
|
179
|
+
}), /* @__PURE__ */ t("path", {
|
|
180
|
+
fillRule: "evenodd",
|
|
181
|
+
clipRule: "evenodd",
|
|
182
|
+
d: "M17.3532 16.0616L17.1305 16.1863C16.1074 16.7579 15.7458 17.0516 15.7537 17.5537C15.7616 18.2074 15.2389 18.7442 14.5853 18.7537H14.5695C13.9221 18.7537 13.3932 18.2342 13.3853 17.5853C13.3584 15.5832 14.9958 14.6674 15.9732 14.1211L16.1958 13.9947C17.0942 13.5005 17.5426 12.8153 17.5426 11.9532C17.5426 10.5274 16.3821 9.36842 14.9563 9.36842C13.5053 9.36842 12.3684 10.5037 12.3684 11.9532C12.3684 12.6068 11.8379 13.1374 11.1842 13.1374C10.5305 13.1374 10 12.6068 10 11.9532C10 9.22158 12.2232 7 14.9563 7C17.6879 7 19.9111 9.22158 19.9111 11.9532C19.9111 13.6947 19.0016 15.1537 17.3532 16.0616ZM14.5711 22.6379C13.9174 22.6379 13.3868 22.1311 13.3868 21.4774V21.43C13.3868 20.7763 13.9174 20.2458 14.5711 20.2458C15.2247 20.2458 15.7553 20.7763 15.7553 21.43C15.7553 22.0837 15.2247 22.6379 14.5711 22.6379Z",
|
|
183
|
+
fill: "black"
|
|
184
|
+
})]
|
|
185
|
+
}), f = ({ className: e }) => /* @__PURE__ */ t("svg", {
|
|
186
|
+
width: "16",
|
|
187
|
+
height: "16",
|
|
188
|
+
viewBox: "0 0 16 16",
|
|
189
|
+
fill: "none",
|
|
190
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
191
|
+
class: e,
|
|
192
|
+
"aria-hidden": "true",
|
|
193
|
+
children: /* @__PURE__ */ t("path", {
|
|
194
|
+
d: "M8 2.83368C9.38071 2.83368 10.5 3.95297 10.5 5.33368V6.66669H11.333C11.7012 6.66669 12 6.96549 12 7.33368V11.9997C12 12.3679 11.7012 12.6667 11.333 12.6667H4.66699C4.2988 12.6667 4 12.3679 4 11.9997V7.33368C4 6.96549 4.2988 6.66669 4.66699 6.66669H5.5V5.33368C5.5 3.95297 6.61929 2.83368 8 2.83368ZM8 3.83368C7.17157 3.83368 6.5 4.50525 6.5 5.33368V6.66669H9.5V5.33368C9.5 4.50525 8.82843 3.83368 8 3.83368Z",
|
|
195
|
+
fill: "currentColor"
|
|
196
|
+
})
|
|
197
|
+
}), p = ({ size: e = 20 }) => /* @__PURE__ */ t("svg", {
|
|
198
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
199
|
+
width: e,
|
|
200
|
+
height: e,
|
|
201
|
+
viewBox: "0 0 20 20",
|
|
202
|
+
fill: "none",
|
|
203
|
+
class: "IncodeSearchIcon",
|
|
204
|
+
"aria-hidden": "true",
|
|
205
|
+
children: [
|
|
206
|
+
/* @__PURE__ */ t("title", { children: "Search" }),
|
|
207
|
+
/* @__PURE__ */ t("path", {
|
|
208
|
+
d: "M9 17C13.4183 17 17 13.4183 17 9C17 4.58172 13.4183 1 9 1C4.58172 1 1 4.58172 1 9C1 13.4183 4.58172 17 9 17Z",
|
|
209
|
+
stroke: "var(--icon-neutral-300)",
|
|
210
|
+
"stroke-width": "2",
|
|
211
|
+
"stroke-linecap": "round",
|
|
212
|
+
"stroke-linejoin": "round"
|
|
213
|
+
}),
|
|
214
|
+
/* @__PURE__ */ t("path", {
|
|
215
|
+
d: "M19 19L14.65 14.65",
|
|
216
|
+
stroke: "var(--icon-neutral-300)",
|
|
217
|
+
"stroke-width": "2",
|
|
218
|
+
"stroke-linecap": "round",
|
|
219
|
+
"stroke-linejoin": "round"
|
|
220
|
+
})
|
|
221
|
+
]
|
|
222
|
+
}), m = (e) => /* @__PURE__ */ t("svg", {
|
|
223
|
+
width: 10,
|
|
224
|
+
height: 10,
|
|
225
|
+
viewBox: "0 0 10 10",
|
|
226
|
+
fill: "none",
|
|
227
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
228
|
+
...e,
|
|
229
|
+
children: [/* @__PURE__ */ t("g", {
|
|
230
|
+
clipPath: "url(#clip0_6394_10544)",
|
|
231
|
+
children: /* @__PURE__ */ t("path", {
|
|
232
|
+
d: "M8.3538 4.90039L3.9788 9.58789C3.93243 9.63737 3.87124 9.67042 3.80444 9.68207C3.73764 9.69372 3.66887 9.68332 3.60849 9.65245C3.54812 9.62158 3.49943 9.57191 3.46976 9.51094C3.4401 9.44997 3.43106 9.38101 3.44403 9.31445L4.01669 6.45L1.76552 5.60468C1.71717 5.5866 1.67405 5.55682 1.64002 5.51801C1.60599 5.4792 1.58211 5.43256 1.5705 5.38226C1.5589 5.33196 1.55993 5.27957 1.57351 5.22977C1.58709 5.17997 1.61279 5.13431 1.64833 5.09687L6.02333 0.409372C6.06969 0.359894 6.13089 0.326837 6.19769 0.315191C6.26448 0.303545 6.33326 0.313941 6.39363 0.34481C6.454 0.375679 6.50269 0.425347 6.53236 0.486318C6.56203 0.547289 6.57106 0.616255 6.55809 0.68281L5.98387 3.55039L8.23505 4.39453C8.28304 4.41273 8.32581 4.44248 8.35957 4.48114C8.39333 4.5198 8.41706 4.56618 8.42864 4.61618C8.44023 4.66619 8.43931 4.71828 8.42599 4.76784C8.41266 4.81741 8.38733 4.86293 8.35223 4.90039H8.3538Z",
|
|
233
|
+
fill: "var(--icon-brand-500-static)"
|
|
234
|
+
})
|
|
235
|
+
}), /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ t("clipPath", {
|
|
236
|
+
id: "clip0_6394_10544",
|
|
237
|
+
children: /* @__PURE__ */ t("rect", {
|
|
238
|
+
width: 10,
|
|
239
|
+
height: 10,
|
|
240
|
+
fill: "white"
|
|
241
|
+
})
|
|
242
|
+
}) })]
|
|
243
|
+
});
|
|
244
|
+
//#endregion
|
|
245
|
+
export { u as a, s as c, i as d, r as f, d as i, o as l, p as n, l as o, n as p, f as r, c as s, m as t, a as u };
|
package/dist/id/id.es.js
CHANGED
|
@@ -1,60 +1,54 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as e, o as t, v as n } from "../vendor-preact-D6SntenC.js";
|
|
2
|
+
import { c as r, r as i } from "../loadingIcon-CeQt7Zgb.js";
|
|
3
|
+
import { a, i as o, n as s, o as c, r as l, t as u } from "../extensibility-DJihqIzM.js";
|
|
4
|
+
import { t as d } from "../processing-B5zhNH6I.js";
|
|
5
|
+
import { r as f } from "../tutorial-DNOd11tg.js";
|
|
6
|
+
import { t as p } from "../incodeModule-Bf6yJ8RB.js";
|
|
2
7
|
import { createIdCaptureManager as m } from "@incodetech/core/id";
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
})
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
{
|
|
51
|
-
config: s,
|
|
52
|
-
manager: e,
|
|
53
|
-
onFinish: o,
|
|
54
|
-
onError: i
|
|
55
|
-
}
|
|
56
|
-
) : null });
|
|
57
|
-
l(E, "incode-id");
|
|
58
|
-
export {
|
|
59
|
-
E as Id
|
|
60
|
-
};
|
|
8
|
+
//#region src/modules/id/id.tsx
|
|
9
|
+
var h = e(() => import("../mandatoryConsent-LBS8E0rj.js").then((e) => ({ default: e.MandatoryConsent }))), g = ({ config: e, manager: i, onFinish: p, onError: g }) => {
|
|
10
|
+
let [_, v] = r(() => {
|
|
11
|
+
if (i) return i;
|
|
12
|
+
if (!e) throw Error("ID capture config is required when no manager is provided");
|
|
13
|
+
return m({ config: e });
|
|
14
|
+
}, { manageLifecycle: !i });
|
|
15
|
+
return _.status === "idle" || _.status === "loading" ? null : _.status === "chooser" ? /* @__PURE__ */ n(s, {
|
|
16
|
+
manager: v,
|
|
17
|
+
state: _
|
|
18
|
+
}) : _.status === "tutorial" ? /* @__PURE__ */ n(l, {
|
|
19
|
+
manager: v,
|
|
20
|
+
state: _
|
|
21
|
+
}) : _.status === "permissions" ? /* @__PURE__ */ n(f, {
|
|
22
|
+
manager: v,
|
|
23
|
+
permissionStatus: _.permissionStatus
|
|
24
|
+
}) : _.status === "frontFinished" ? /* @__PURE__ */ n(u, {
|
|
25
|
+
manager: v,
|
|
26
|
+
direction: "toBack"
|
|
27
|
+
}) : _.status === "backFinished" ? /* @__PURE__ */ n(u, {
|
|
28
|
+
manager: v,
|
|
29
|
+
direction: "toFront"
|
|
30
|
+
}) : _.status === "capture" ? /* @__PURE__ */ n(o, {
|
|
31
|
+
manager: v,
|
|
32
|
+
state: _,
|
|
33
|
+
onFinish: () => p?.()
|
|
34
|
+
}) : _.status === "mandatoryConsent" ? /* @__PURE__ */ n(t, {
|
|
35
|
+
fallback: null,
|
|
36
|
+
children: /* @__PURE__ */ n(h, {
|
|
37
|
+
config: { consentType: _.regulationType },
|
|
38
|
+
onFinish: () => v.acceptMandatoryConsent(),
|
|
39
|
+
onError: () => v.cancelMandatoryConsent()
|
|
40
|
+
})
|
|
41
|
+
}) : _.status === "processing" ? /* @__PURE__ */ n(d, {}) : _.status === "expired" ? /* @__PURE__ */ n(a, { manager: v }) : _.status === "finished" ? (p?.(), null) : _.status === "closed" ? (g?.(void 0), null) : _.status === "error" ? /* @__PURE__ */ n(c, {
|
|
42
|
+
manager: v,
|
|
43
|
+
state: _,
|
|
44
|
+
onError: g
|
|
45
|
+
}) : null;
|
|
46
|
+
}, _ = ({ config: e, manager: t, onFinish: r, onError: a }) => /* @__PURE__ */ n(i, { children: e || t ? /* @__PURE__ */ n(g, {
|
|
47
|
+
config: e,
|
|
48
|
+
manager: t,
|
|
49
|
+
onFinish: r,
|
|
50
|
+
onError: a
|
|
51
|
+
}) : null });
|
|
52
|
+
p(_, "incode-id");
|
|
53
|
+
//#endregion
|
|
54
|
+
export { _ as Id };
|
package/dist/id/styles.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! tailwindcss v4.
|
|
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
4
|
*, :before, :after, ::backdrop {
|