@incodetech/web 2.1.0-rc.2 → 2.1.0-rc.3
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 +2 -2
- package/dist/ae-signature/styles.css +59 -45
- package/dist/antifraud/antifraud.es.js +4 -4
- package/dist/authentication/authentication.es.js +5 -4
- package/dist/base.css +87 -59
- package/dist/{button-Ch5-QgHB.js → button-Dz6AsbmF.js} +2 -1
- package/dist/cameraView-DIEzM5ru.js +47 -0
- package/dist/{tutorial-Cap8qKvM.js → capture-CkGvdDNH.js} +18 -568
- package/dist/certificate-issuance/certificate-issuance.es.js +7 -7
- package/dist/consent/consent.es.js +8 -8
- package/dist/{countrySelector-B4WuNUya.js → countrySelector-SvUOyPo0.js} +1 -1
- package/dist/cpf-ocr/cpf-ocr.es.js +1 -1
- package/dist/cpfOcr-B79245-3.js +2 -0
- package/dist/{cpfOcr-liTE9e70.js → cpfOcr-BhxT-lRN.js} +5 -5
- package/dist/cross-document-data-match/cross-document-data-match.es.js +4 -4
- package/dist/curp-validation/curp-validation.es.js +7 -7
- package/dist/{customFields-BQ4scZfL.js → customFields-BDsXR7A-.js} +6 -6
- package/dist/{customWatchlist-7s0_wGtE.js → customWatchlist-CYoRNCim.js} +5 -5
- package/dist/document-capture/document-capture.es.js +1 -1
- package/dist/documentCapture-DXYYyxZl.js +2 -0
- package/dist/{documentCapture-CwoSD_Iq.js → documentCapture-DhbO-A-V.js} +11 -9
- package/dist/{dynamicForms-DvTU65bW.js → dynamicForms-BifGbC9F.js} +19 -8
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/ekybModule-C6Nttked.js +2 -0
- package/dist/{ekybModule-CwZvxios.js → ekybModule-DGnTw5UV.js} +12 -12
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/ekycModule-CDIEjI6V.js +2 -0
- package/dist/{ekycModule-jkXByPXe.js → ekycModule-Dxpdd0ns.js} +10 -10
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-h1sAGg7l.js → electronic-signature-Ueoffasr.js} +37 -26
- package/dist/email/email.es.js +7 -7
- package/dist/{emailInput-BRMJMJV6.js → emailInput-DsLkDtER.js} +5 -5
- package/dist/{expiredId-D17oN5K2.js → expiredId-BZXLrLk-.js} +4 -4
- package/dist/{extensibility-CTmAsaji.js → extensibility-7sRIN0JC.js} +41 -76
- package/dist/extensibility.es.js +13 -11
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/face-match/styles.css +4 -0
- package/dist/faceMatch-B_HvxLm_.js +2 -0
- package/dist/{faceMatch-Dez_bq3n.js → faceMatch-DyTBoMDm.js} +8 -8
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/fieldComparison-DfNEuEE5.js +2 -0
- package/dist/{fieldComparison-BelzSC48.js → fieldComparison-L_knHqgw.js} +7 -7
- package/dist/fiscal-qr/fiscal-qr.es.js +8 -7
- package/dist/flow/flow.es.js +22 -9
- package/dist/flow/styles.css +4151 -3042
- package/dist/geolocation/geolocation.es.js +14 -9
- package/dist/{governmentValidation/governmentValidation.es.js → government-validation/government-validation.es.js} +10 -14
- package/dist/{homeScreen-BIdVm9KA.js → homeScreen-B6T0JVh8.js} +2 -2
- package/dist/{hooks-Da_yP_Dr.js → hooks-CNu7o-v8.js} +39 -2
- package/dist/{i18n-DoP1NB7u.js → i18n-CU4xq8qC.js} +1 -1
- package/dist/id/id.es.js +76 -46
- package/dist/id/styles.css +1 -9
- package/dist/id-ocr/styles.css +12 -2
- package/dist/id-verification/id-verification.es.js +5 -5
- package/dist/{idOcr-C4K2XVJr.js → idOcr-WFBvqy3b.js} +31 -13
- package/dist/identity-reuse/identity-reuse.es.js +6 -6
- package/dist/{incodeComponent-Cmi1rlWs.js → incodeComponent-CfzJGETt.js} +2 -2
- package/dist/{incodeModule-M8DszCee.js → incodeModule-B-4_3JrK.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{mandatoryConsent-DOQ0DKgM.js → mandatoryConsent-D0GTKu-H.js} +7 -7
- package/dist/{optionAccessibleLabel-_nvVCTSL.js → optionAccessibleLabel-gfF-58Mv.js} +3 -3
- package/dist/{otpInput-Q_kzSZeD.js → otpInput-CnDc6pQm.js} +12 -11
- package/dist/{pdf-BMUXKJuC.js → pdf-BqtJTlor.js} +1 -1
- package/dist/{pdfViewer-BewML6eg.js → pdfViewer-B97DmT9m.js} +57 -20
- package/dist/phone/phone.es.js +6 -6
- package/dist/{processing-Boki1Z8j.js → processing-BeUMfdJJ.js} +1 -1
- package/dist/qe-signature/qe-signature.es.js +2 -2
- package/dist/{radioGroupComposed-TuAWUAFK.js → radioGroupComposed-DuQxslB2.js} +1 -1
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +17 -18
- package/dist/redirect-to-mobile/styles.css +2 -2
- package/dist/{richText-DsTP4H3j.js → richText-CB1fmegc.js} +1 -1
- package/dist/selfie/selfie.es.js +8 -7
- package/dist/selfie/styles.css +133 -63
- package/dist/signature/signature.es.js +8 -8
- package/dist/spinner-BCDCoi9C.js +1 -0
- package/dist/{spinner-BRNNKqPN.js → spinner-BMeIEK1d.js} +12 -6
- package/dist/themes/dark.css +16 -0
- package/dist/themes/light.css +16 -0
- package/dist/{transitionSpinner-4rPkt-KM.js → transitionSpinner-CuNCqHNi.js} +9 -8
- package/dist/tutorial-CCfPuVKX.js +706 -0
- package/dist/types/ae-signature.d.ts +23 -1
- package/dist/types/antifraud.d.ts +23 -1
- package/dist/types/authentication.d.ts +23 -1
- package/dist/types/certificate-issuance.d.ts +23 -1
- package/dist/types/consent.d.ts +23 -1
- package/dist/types/cross-document-data-match.d.ts +23 -1
- package/dist/types/curp-validation.d.ts +23 -1
- package/dist/types/document-capture.d.ts +23 -1
- package/dist/types/ekyb.d.ts +23 -1
- package/dist/types/ekyc.d.ts +23 -1
- package/dist/types/electronic-signature.d.ts +23 -1
- package/dist/types/email.d.ts +23 -1
- package/dist/types/extensibility.d.ts +39 -2
- package/dist/types/face-match.d.ts +23 -1
- package/dist/types/field-comparison.d.ts +23 -1
- package/dist/types/fiscal-qr.d.ts +23 -1
- package/dist/types/flow.d.ts +23 -1
- package/dist/types/geolocation.d.ts +27 -2
- package/dist/types/{governmentValidation.d.ts → government-validation.d.ts} +23 -1
- package/dist/types/id-verification.d.ts +23 -1
- package/dist/types/id.d.ts +23 -1
- package/dist/types/identity-reuse.d.ts +23 -1
- package/dist/types/phone.d.ts +23 -1
- package/dist/types/qe-signature.d.ts +23 -1
- package/dist/types/selfie.d.ts +23 -1
- package/dist/types/signature.d.ts +23 -1
- package/dist/types/video-selfie.d.ts +72 -0
- package/dist/types/watchlist.d.ts +23 -1
- package/dist/types/workflow.d.ts +23 -1
- package/dist/{useModuleLoader-Kt78XfNR.js → useModuleLoader-Gvo9qscB.js} +38 -23
- package/dist/{verificationResult-B6PBXbp9.js → verificationResult-BWWkmeiA.js} +3 -3
- package/dist/video-selfie/styles.css +1644 -0
- package/dist/video-selfie/video-selfie.es.js +854 -0
- package/dist/watchlist/watchlist.es.js +5 -5
- package/dist/{watchlistForBusiness-DCKlKG81.js → watchlistForBusiness-D2Uo_TwF.js} +7 -7
- package/dist/workflow/styles.css +148 -76
- package/dist/workflow/workflow.es.js +23 -27
- package/package.json +29 -2
- package/dist/cpfOcr-BJOYoITy.js +0 -2
- package/dist/documentCapture-3RHCHepT.js +0 -2
- package/dist/ekybModule-BkVQBQvW.js +0 -2
- package/dist/ekycModule-BIbj7hr1.js +0 -2
- package/dist/faceMatch-C0-RPzrc.js +0 -2
- package/dist/fieldComparison-7FUznk_9.js +0 -2
- package/dist/spinner-zRaUjXtH.js +0 -1
- /package/dist/{aligndevicelottie-DMXPhIDs.js → aligndevicelottie-DFscByAI.js} +0 -0
- /package/dist/{back-horizontal-hint-DNIIDrEW.js → back-horizontal-hint-xTnSQbzn.js} +0 -0
- /package/dist/{back-tutorial-B8JJSJBB.js → back-tutorial-cI_4VHmE.js} +0 -0
- /package/dist/{back-vertical-hint-CW6ZS7bP.js → back-vertical-hint-BWWlHfX2.js} +0 -0
- /package/dist/{backdevicelottie-By75Bznp.js → backdevicelottie-COyhTrxM.js} +0 -0
- /package/dist/{blurdevicelottie-C_9VAHkM.js → blurdevicelottie-BLVeJHEG.js} +0 -0
- /package/dist/{browser-ponyfill-C_DpU0lQ.js → browser-ponyfill-Df13Th-G.js} +0 -0
- /package/dist/{defineProperty-CTu-cLWm.js → defineProperty-Qjefk7Uf.js} +0 -0
- /package/dist/{flip-animation-st9bra1p.js → flip-animation-CZYSUtMm.js} +0 -0
- /package/dist/{front-horizontal-hint-DvME-aVk.js → front-horizontal-hint-B84GgTO1.js} +0 -0
- /package/dist/{front-vertical-hint-BUG1VMsP.js → front-vertical-hint-Bs_avngq.js} +0 -0
- /package/dist/{frontdevicelottie-uObOEs8p.js → frontdevicelottie-B4tE2PYQ.js} +0 -0
- /package/dist/{glaredevicelottie-CsfIgqIc.js → glaredevicelottie-D1pR73sx.js} +0 -0
- /package/dist/{governmentValidation → government-validation}/styles.css +0 -0
- /package/dist/{id-laser-h-BvVSaLyU.js → id-laser-h-CzPegPMn.js} +0 -0
- /package/dist/{id-laser-v-Dj_RN_s9.js → id-laser-v-BiUXkM4x.js} +0 -0
- /package/dist/{id-tutorial-BOOsXlAJ.js → id-tutorial-DwO90SAm.js} +0 -0
- /package/dist/{lottie_light-BG-RL2Iu.js → lottie_light-C6B2ec41.js} +0 -0
- /package/dist/{numberedStep-Dc0BUU-j.js → numberedStep-CEb-lFJm.js} +0 -0
- /package/dist/{passport-horizontal-hint-BhpVt73n.js → passport-horizontal-hint-Bj0ZJY0g.js} +0 -0
- /package/dist/{passport-tutorial-CeSup6m9.js → passport-tutorial-D9JNsMsM.js} +0 -0
- /package/dist/{passport-vertical-hint-CVRBnZXS.js → passport-vertical-hint-Dfk77xUJ.js} +0 -0
- /package/dist/{registerIncodeElement-CdlNRRv5.js → registerIncodeElement-DaNjbAwZ.js} +0 -0
- /package/dist/{requiredLabelHint-DX3oVNtu.js → requiredLabelHint-D0RhuMed.js} +0 -0
- /package/dist/{selfieTutorial-CYa8bq6B.js → selfieTutorial-pB-N-fj5.js} +0 -0
- /package/dist/{snackbar-CGL6gp9u.js → snackbar-DS7Mv62v.js} +0 -0
- /package/dist/{statusPage-BUm5gtQY.js → statusPage-Bk8nJwXV.js} +0 -0
- /package/dist/{tabs-DUkWjBGk.js → tabs-C__chW-u.js} +0 -0
package/dist/phone/phone.es.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { n as useTranslation } from "../i18n-
|
|
1
|
+
import { n as useTranslation } from "../i18n-CU4xq8qC.js";
|
|
2
2
|
import { h as q, v as u } from "../vendor-preact-DThS2ZQ_.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as IncodeComponent } from "../incodeComponent-
|
|
3
|
+
import { c as useModuleTerminalCallbacks, s as isTerminalModuleState, u as useManager } from "../hooks-CNu7o-v8.js";
|
|
4
|
+
import { t as IncodeComponent } from "../incodeComponent-CfzJGETt.js";
|
|
5
5
|
import { r as Spacer } from "../loadingIcon-B0ysgiNq.js";
|
|
6
6
|
import { t as Page } from "../page-DidH_RkX.js";
|
|
7
|
-
import { t as Button } from "../button-
|
|
8
|
-
import { t as OtpInput } from "../otpInput-
|
|
7
|
+
import { t as Button } from "../button-Dz6AsbmF.js";
|
|
8
|
+
import { t as OtpInput } from "../otpInput-CnDc6pQm.js";
|
|
9
9
|
import { t as Checkbox } from "../checkbox-1wUHSoaK.js";
|
|
10
10
|
import { t as PhoneInputComposed } from "../phoneInputComposed-DMiXfF-1.js";
|
|
11
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
11
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-B-4_3JrK.js";
|
|
12
12
|
import { createPhoneManager } from "@incodetech/core/phone";
|
|
13
13
|
//#region src/modules/phone/phone.tsx
|
|
14
14
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
2
|
-
import { t as TransitionSpinner } from "./transitionSpinner-
|
|
2
|
+
import { t as TransitionSpinner } from "./transitionSpinner-CuNCqHNi.js";
|
|
3
3
|
//#region src/shared/processing/processing.tsx
|
|
4
4
|
var Processing = () => {
|
|
5
5
|
return /* @__PURE__ */ u(TransitionSpinner, {});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { v as u } from "../vendor-preact-DThS2ZQ_.js";
|
|
2
|
-
import { n as ElectronicSignature } from "../electronic-signature-
|
|
3
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
2
|
+
import { n as ElectronicSignature } from "../electronic-signature-Ueoffasr.js";
|
|
3
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-B-4_3JrK.js";
|
|
4
4
|
//#region src/modules/qe-signature/qe-signature.tsx
|
|
5
5
|
var QeSignature = ({ config, onFinish, onError }) => {
|
|
6
6
|
return /* @__PURE__ */ u(ElectronicSignature, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as useTranslation } from "./i18n-
|
|
1
|
+
import { n as useTranslation } from "./i18n-CU4xq8qC.js";
|
|
2
2
|
import { a as D, p as d, v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
3
3
|
import { n as cn } from "./loadingIcon-B0ysgiNq.js";
|
|
4
4
|
import { t as ErrorIcon } from "./errorIcon-BA4T6iy-.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { t as __commonJSMin } from "../rolldown-runtime--E5BIlTp.js";
|
|
2
|
-
import { n as useTranslation, t as Trans } from "../i18n-
|
|
2
|
+
import { n as useTranslation, t as Trans } from "../i18n-CU4xq8qC.js";
|
|
3
3
|
import { _ as y, h as q, l as A, p as d, v as u, x as k } from "../vendor-preact-DThS2ZQ_.js";
|
|
4
|
-
import { c as
|
|
5
|
-
import { t as IncodeComponent } from "../incodeComponent-
|
|
4
|
+
import { c as useModuleTerminalCallbacks, u as useManager } from "../hooks-CNu7o-v8.js";
|
|
5
|
+
import { t as IncodeComponent } from "../incodeComponent-CfzJGETt.js";
|
|
6
6
|
import { r as Spacer } from "../loadingIcon-B0ysgiNq.js";
|
|
7
7
|
import { t as incode_logo_default } from "../incode-logo-57XFniXU.js";
|
|
8
8
|
import { n as VerifiedByIncodeLogo, r as usePageUiConfig } from "../page-DidH_RkX.js";
|
|
9
|
-
import "../extensibility-
|
|
10
|
-
import { t as TransitionSpinner } from "../transitionSpinner-
|
|
11
|
-
import { t as Button } from "../button-
|
|
9
|
+
import "../extensibility-7sRIN0JC.js";
|
|
10
|
+
import { t as TransitionSpinner } from "../transitionSpinner-CuNCqHNi.js";
|
|
11
|
+
import { t as Button } from "../button-Dz6AsbmF.js";
|
|
12
12
|
import "../icons-CJJbIpBq.js";
|
|
13
13
|
import { t as SuccessIcon } from "../successIcon-B5mGvdx1.js";
|
|
14
14
|
import { t as AutoFocusTitle } from "../autoFocusTitle-CuRu2lPg.js";
|
|
15
15
|
import { r as getCountryByCallingCode, t as PhoneInputComposed } from "../phoneInputComposed-DMiXfF-1.js";
|
|
16
|
-
import { t as registerIncodeElement } from "../registerIncodeElement-
|
|
17
|
-
import { t as Snackbar } from "../snackbar-
|
|
18
|
-
import { t as Tabs } from "../tabs-
|
|
16
|
+
import { t as registerIncodeElement } from "../registerIncodeElement-DaNjbAwZ.js";
|
|
17
|
+
import { t as Snackbar } from "../snackbar-DS7Mv62v.js";
|
|
18
|
+
import { t as Tabs } from "../tabs-C__chW-u.js";
|
|
19
19
|
import { createRedirectToMobileManager } from "@incodetech/core/redirect-to-mobile";
|
|
20
20
|
//#region src/modules/redirect-to-mobile/redirectHeader.tsx
|
|
21
21
|
var RedirectHeader = ({ logoSrc }) => {
|
|
@@ -52,6 +52,7 @@ var RedirectFooter = ({ addContinueToDesktop, onContinueOnDesktop }) => {
|
|
|
52
52
|
return /* @__PURE__ */ u("footer", {
|
|
53
53
|
class: "IncodeRedirectBottomNav",
|
|
54
54
|
children: [
|
|
55
|
+
/* @__PURE__ */ u(Spacer, {}),
|
|
55
56
|
addContinueToDesktop ? /* @__PURE__ */ u("div", {
|
|
56
57
|
class: "IncodeRedirectFooterContent",
|
|
57
58
|
children: [/* @__PURE__ */ u("span", {
|
|
@@ -63,7 +64,6 @@ var RedirectFooter = ({ addContinueToDesktop, onContinueOnDesktop }) => {
|
|
|
63
64
|
children: t("redirect.continueOnDesktop")
|
|
64
65
|
})]
|
|
65
66
|
}) : null,
|
|
66
|
-
/* @__PURE__ */ u(Spacer, {}),
|
|
67
67
|
/* @__PURE__ */ u(VerifiedByIncodeLogo, {})
|
|
68
68
|
]
|
|
69
69
|
});
|
|
@@ -2522,7 +2522,7 @@ var SmsSentView = ({ formattedPhone, onResend, onChangePhone }) => {
|
|
|
2522
2522
|
return /* @__PURE__ */ u("div", {
|
|
2523
2523
|
class: "IncodeRedirectLinkSent",
|
|
2524
2524
|
children: [
|
|
2525
|
-
/* @__PURE__ */ u(SuccessIcon, { size:
|
|
2525
|
+
/* @__PURE__ */ u(SuccessIcon, { size: 40 }),
|
|
2526
2526
|
/* @__PURE__ */ u(Spacer, { size: 16 }),
|
|
2527
2527
|
/* @__PURE__ */ u(AutoFocusTitle, {
|
|
2528
2528
|
className: "IncodeRedirectLinkSentTitle",
|
|
@@ -2542,10 +2542,12 @@ var SmsSentView = ({ formattedPhone, onResend, onChangePhone }) => {
|
|
|
2542
2542
|
components: {
|
|
2543
2543
|
resend: /* @__PURE__ */ u(Button, {
|
|
2544
2544
|
variant: "link",
|
|
2545
|
+
size: "inline",
|
|
2545
2546
|
onClick: onResend
|
|
2546
2547
|
}),
|
|
2547
2548
|
changePhone: /* @__PURE__ */ u(Button, {
|
|
2548
2549
|
variant: "link",
|
|
2550
|
+
size: "inline",
|
|
2549
2551
|
onClick: onChangePhone
|
|
2550
2552
|
})
|
|
2551
2553
|
}
|
|
@@ -2570,7 +2572,7 @@ var SmsForm = ({ countryCode, error, isSending, isPhoneValid, onPhoneChange, onS
|
|
|
2570
2572
|
disabled: !isPhoneValid || isSending,
|
|
2571
2573
|
isLoading: isSending,
|
|
2572
2574
|
class: "IncodeRedirectSmsSendButton",
|
|
2573
|
-
children: t("redirect.
|
|
2575
|
+
children: t("redirect.sendLinkSms")
|
|
2574
2576
|
})] });
|
|
2575
2577
|
};
|
|
2576
2578
|
//#endregion
|
|
@@ -2637,10 +2639,7 @@ var QrScreen = ({ redirectUrl, phonePrefix, smsSent, disableSmsOption, addContin
|
|
|
2637
2639
|
class: "IncodeRedirectContainer",
|
|
2638
2640
|
children: [/* @__PURE__ */ u(ResendToast, { visible: showResendToast }), /* @__PURE__ */ u("div", {
|
|
2639
2641
|
class: "IncodeRedirectCard",
|
|
2640
|
-
children: [
|
|
2641
|
-
class: "IncodeRedirectOptions",
|
|
2642
|
-
children: /* @__PURE__ */ u(QrTabContent, { redirectUrl })
|
|
2643
|
-
})] }) : /* @__PURE__ */ u(Tabs, {
|
|
2642
|
+
children: [/* @__PURE__ */ u(Tabs, {
|
|
2644
2643
|
defaultValue: "qr",
|
|
2645
2644
|
listClassName: "IncodeRedirectTabs",
|
|
2646
2645
|
triggerClassName: "IncodeRedirectTab",
|
|
@@ -2652,7 +2651,7 @@ var QrScreen = ({ redirectUrl, phonePrefix, smsSent, disableSmsOption, addContin
|
|
|
2652
2651
|
children: [/* @__PURE__ */ u(Tabs.Trigger, {
|
|
2653
2652
|
value: "qr",
|
|
2654
2653
|
children: t("v2.redirectToMobile.tabs.0")
|
|
2655
|
-
}), /* @__PURE__ */ u(Tabs.Trigger, {
|
|
2654
|
+
}), !disableSmsOption && /* @__PURE__ */ u(Tabs.Trigger, {
|
|
2656
2655
|
value: "sms",
|
|
2657
2656
|
children: t("v2.redirectToMobile.tabs.1")
|
|
2658
2657
|
})]
|
|
@@ -2662,7 +2661,7 @@ var QrScreen = ({ redirectUrl, phonePrefix, smsSent, disableSmsOption, addContin
|
|
|
2662
2661
|
children: [/* @__PURE__ */ u(Tabs.Content, {
|
|
2663
2662
|
value: "qr",
|
|
2664
2663
|
children: /* @__PURE__ */ u(QrTabContent, { redirectUrl })
|
|
2665
|
-
}), /* @__PURE__ */ u(Tabs.Content, {
|
|
2664
|
+
}), !disableSmsOption && /* @__PURE__ */ u(Tabs.Content, {
|
|
2666
2665
|
value: "sms",
|
|
2667
2666
|
children: /* @__PURE__ */ u(SmsTabContent, {
|
|
2668
2667
|
phonePrefix,
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
gap: var(--spacing-12, var(--spacing-12, 12px));
|
|
169
169
|
border-bottom-style: var(--tw-border-style);
|
|
170
170
|
border-bottom-width: 1px;
|
|
171
|
-
border-color: var(--color-border-neutral-
|
|
171
|
+
border-color: var(--color-border-neutral-100, var(--border-neutral-100));
|
|
172
172
|
width: 100%;
|
|
173
173
|
max-width: var(--redirect-tabs-max-width);
|
|
174
174
|
display: flex;
|
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
}
|
|
200
200
|
|
|
201
201
|
.IncodeRedirectContainer .IncodeRedirectCard .IncodeRedirectTabs .IncodeRedirectTab.IncodeRedirectTabActive {
|
|
202
|
-
border-color: var(--color-
|
|
202
|
+
border-color: var(--color-border-brand-500, var(--border-brand-500));
|
|
203
203
|
color: var(--color-text-body-primary, var(--text-body-800-primary));
|
|
204
204
|
}
|
|
205
205
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as preact_markup_module_default, v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
2
|
-
import { t as _defineProperty } from "./defineProperty-
|
|
2
|
+
import { t as _defineProperty } from "./defineProperty-Qjefk7Uf.js";
|
|
3
3
|
//#region ../../node_modules/.pnpm/dompurify@3.3.3/node_modules/dompurify/dist/purify.es.mjs
|
|
4
4
|
/*! @license DOMPurify 3.3.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.3/LICENSE */
|
|
5
5
|
var { entries, setPrototypeOf, isFrozen, getPrototypeOf, getOwnPropertyDescriptor } = Object;
|
package/dist/selfie/selfie.es.js
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { _ as y, v as u } from "../vendor-preact-DThS2ZQ_.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as IncodeComponent } from "../incodeComponent-
|
|
4
|
-
import { t as TransitionSpinner } from "../transitionSpinner-
|
|
5
|
-
import { t as Processing } from "../processing-
|
|
6
|
-
import { n as Capture,
|
|
7
|
-
import {
|
|
2
|
+
import { c as useModuleTerminalCallbacks, s as isTerminalModuleState, u as useManager } from "../hooks-CNu7o-v8.js";
|
|
3
|
+
import { t as IncodeComponent } from "../incodeComponent-CfzJGETt.js";
|
|
4
|
+
import { t as TransitionSpinner } from "../transitionSpinner-CuNCqHNi.js";
|
|
5
|
+
import { t as Processing } from "../processing-BeUMfdJJ.js";
|
|
6
|
+
import { n as Capture, t as Tutorial } from "../tutorial-CCfPuVKX.js";
|
|
7
|
+
import { i as Permissions } from "../capture-CkGvdDNH.js";
|
|
8
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-B-4_3JrK.js";
|
|
8
9
|
import { createSelfieManager } from "@incodetech/core/selfie";
|
|
9
10
|
//#region src/modules/selfie/preloadTutorialAssets.ts
|
|
10
11
|
var started = false;
|
|
11
12
|
function preloadSelfieTutorialAssets() {
|
|
12
13
|
if (started) return;
|
|
13
14
|
started = true;
|
|
14
|
-
import("../selfieTutorial-
|
|
15
|
+
import("../selfieTutorial-pB-N-fj5.js");
|
|
15
16
|
}
|
|
16
17
|
//#endregion
|
|
17
18
|
//#region src/modules/selfie/selfie.tsx
|
package/dist/selfie/styles.css
CHANGED
|
@@ -449,6 +449,51 @@
|
|
|
449
449
|
}
|
|
450
450
|
}
|
|
451
451
|
|
|
452
|
+
@media (min-width: 40rem) {
|
|
453
|
+
.incode-container {
|
|
454
|
+
max-width: 40rem;
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
@media (min-width: 48rem) {
|
|
459
|
+
.incode-container {
|
|
460
|
+
max-width: 48rem;
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
@media (min-width: 64rem) {
|
|
465
|
+
.incode-container {
|
|
466
|
+
max-width: 64rem;
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
@media (min-width: 80rem) {
|
|
471
|
+
.incode-container {
|
|
472
|
+
max-width: 80rem;
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
@media (min-width: 96rem) {
|
|
477
|
+
.incode-container {
|
|
478
|
+
max-width: 96rem;
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
@media (min-width: 48rem) {
|
|
483
|
+
.incode-container {
|
|
484
|
+
max-height: var(--incode-page-max-h);
|
|
485
|
+
max-width: var(--incode-page-max-w);
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
@media not all and (min-width: 80rem) {
|
|
489
|
+
@media (orientation: landscape) {
|
|
490
|
+
.incode-container {
|
|
491
|
+
max-height: var(--incode-page-max-h-landscape);
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
|
|
452
497
|
.incode-container {
|
|
453
498
|
width: 100%;
|
|
454
499
|
}
|
|
@@ -609,6 +654,10 @@
|
|
|
609
654
|
justify-content: space-between;
|
|
610
655
|
}
|
|
611
656
|
|
|
657
|
+
.rounded {
|
|
658
|
+
border-radius: .25rem;
|
|
659
|
+
}
|
|
660
|
+
|
|
612
661
|
.border {
|
|
613
662
|
border-style: var(--tw-border-style);
|
|
614
663
|
border-width: 1px;
|
|
@@ -666,6 +715,11 @@
|
|
|
666
715
|
font-weight: var(--typography-button-m-underlined-weight);
|
|
667
716
|
line-height: var(--typography-button-m-underlined-line-height);
|
|
668
717
|
letter-spacing: var(--typography-button-m-underlined-letter-spacing);
|
|
718
|
+
font-family: var(--typography-button-family);
|
|
719
|
+
font-size: var(--typography-button-m-underlined-size);
|
|
720
|
+
font-weight: var(--typography-button-m-underlined-weight);
|
|
721
|
+
line-height: var(--typography-button-m-underlined-line-height);
|
|
722
|
+
letter-spacing: var(--typography-button-m-underlined-letter-spacing);
|
|
669
723
|
text-decoration-line: underline;
|
|
670
724
|
text-decoration-style: solid;
|
|
671
725
|
text-decoration-thickness: auto;
|
|
@@ -732,20 +786,6 @@
|
|
|
732
786
|
}
|
|
733
787
|
}
|
|
734
788
|
|
|
735
|
-
.IncodeCameraButton {
|
|
736
|
-
justify-content: center;
|
|
737
|
-
align-items: center;
|
|
738
|
-
display: flex;
|
|
739
|
-
}
|
|
740
|
-
|
|
741
|
-
.IncodeCameraButton .IncodeCameraButtonBackground {
|
|
742
|
-
fill: var(--color-icon-neutral-800-static, var(--icon-neutral-800-static));
|
|
743
|
-
}
|
|
744
|
-
|
|
745
|
-
.IncodeCameraButton .IncodeCameraButtonRing, .IncodeCameraButton .IncodeCameraButtonPath {
|
|
746
|
-
fill: var(--color-icon-neutral-50, var(--icon-neutral-50-static));
|
|
747
|
-
}
|
|
748
|
-
|
|
749
789
|
.IncodeCaptureContainer {
|
|
750
790
|
flex-direction: column;
|
|
751
791
|
flex: 1;
|
|
@@ -805,10 +845,21 @@
|
|
|
805
845
|
transform: scaleX(-1);
|
|
806
846
|
}
|
|
807
847
|
|
|
808
|
-
.
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
848
|
+
.IncodeCaptureContainer .IncodeCaptureAvatarHost {
|
|
849
|
+
width: 100%;
|
|
850
|
+
height: 100%;
|
|
851
|
+
position: absolute;
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
.IncodeCaptureContainer .IncodeCaptureAvatarElement {
|
|
855
|
+
object-fit: cover;
|
|
856
|
+
width: 100%;
|
|
857
|
+
height: 100%;
|
|
858
|
+
position: absolute;
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
.IncodeCaptureContainer .IncodeCaptureAvatarElement.IncodeCaptureAvatarMirrored {
|
|
862
|
+
transform: scaleX(-1);
|
|
812
863
|
}
|
|
813
864
|
|
|
814
865
|
.IncodeCaptureVisuallyHidden {
|
|
@@ -823,26 +874,6 @@
|
|
|
823
874
|
overflow: hidden;
|
|
824
875
|
}
|
|
825
876
|
|
|
826
|
-
.IncodeCaptureStatusPage .IncodeCaptureStatusContainer {
|
|
827
|
-
flex-direction: column;
|
|
828
|
-
flex: 1;
|
|
829
|
-
align-items: center;
|
|
830
|
-
display: flex;
|
|
831
|
-
}
|
|
832
|
-
|
|
833
|
-
.IncodeCaptureStatusPage .IncodeCaptureStatusTitle {
|
|
834
|
-
text-align: center;
|
|
835
|
-
font-size: var(--text-2xl, 1.5rem);
|
|
836
|
-
line-height: var(--tw-leading, var(--text-2xl--line-height, calc(2 / 1.5)));
|
|
837
|
-
--tw-leading: 125%;
|
|
838
|
-
--tw-font-weight: var(--font-weight-bold, var(--primitive-typography-weight-bold));
|
|
839
|
-
line-height: 125%;
|
|
840
|
-
font-weight: var(--font-weight-bold, var(--primitive-typography-weight-bold));
|
|
841
|
-
--tw-tracking: -1px;
|
|
842
|
-
letter-spacing: -1px;
|
|
843
|
-
color: var(--color-text-body-primary, var(--text-body-800-primary));
|
|
844
|
-
}
|
|
845
|
-
|
|
846
877
|
.IncodeFaceOutline {
|
|
847
878
|
width: 100%;
|
|
848
879
|
height: 100%;
|
|
@@ -868,54 +899,93 @@
|
|
|
868
899
|
transition: all 1s ease-in-out;
|
|
869
900
|
}
|
|
870
901
|
|
|
871
|
-
.
|
|
902
|
+
.IncodeNotification {
|
|
872
903
|
flex-direction: column;
|
|
873
904
|
align-items: center;
|
|
874
|
-
max-width: 275px;
|
|
875
905
|
display: flex;
|
|
876
906
|
}
|
|
877
907
|
|
|
878
|
-
.
|
|
908
|
+
.IncodeNotification .IncodeNotificationText {
|
|
879
909
|
text-align: center;
|
|
880
|
-
font-family: var(--typography-
|
|
881
|
-
font-size: var(--typography-
|
|
882
|
-
font-weight: var(--typography-
|
|
883
|
-
line-height: var(--typography-
|
|
884
|
-
letter-spacing: var(--typography-
|
|
885
|
-
color: var(--color-text-body-
|
|
910
|
+
font-family: var(--typography-feedback-family);
|
|
911
|
+
font-size: var(--typography-feedback-l-size);
|
|
912
|
+
font-weight: var(--typography-feedback-l-weight);
|
|
913
|
+
line-height: var(--typography-feedback-l-line-height);
|
|
914
|
+
letter-spacing: var(--typography-feedback-l-letter-spacing);
|
|
915
|
+
color: var(--color-text-body-primary, var(--text-body-800-primary));
|
|
886
916
|
}
|
|
887
917
|
|
|
888
|
-
.
|
|
889
|
-
|
|
890
|
-
|
|
918
|
+
.IncodeCameraButton {
|
|
919
|
+
justify-content: center;
|
|
920
|
+
align-items: center;
|
|
921
|
+
display: flex;
|
|
891
922
|
}
|
|
892
923
|
|
|
893
|
-
.
|
|
924
|
+
.IncodeCameraButton .IncodeCameraButtonBackground {
|
|
925
|
+
fill: var(--color-icon-neutral-800-static, var(--icon-neutral-800-static));
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
.IncodeCameraButton .IncodeCameraButtonRing, .IncodeCameraButton .IncodeCameraButtonPath {
|
|
929
|
+
fill: var(--color-icon-neutral-50, var(--icon-neutral-50-static));
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
.IncodeCaptureCapturingPage .IncodeCaptureCapturingActions {
|
|
933
|
+
justify-content: center;
|
|
934
|
+
margin-top: auto;
|
|
935
|
+
display: flex;
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
.IncodePrivacyLensBanner {
|
|
939
|
+
text-align: center;
|
|
940
|
+
color: #4a5568;
|
|
941
|
+
text-align: center;
|
|
942
|
+
max-width: 320px;
|
|
943
|
+
margin-inline: auto;
|
|
944
|
+
padding: 0 1rem 1rem;
|
|
945
|
+
font-size: .95rem;
|
|
946
|
+
line-height: 1.4;
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
.IncodeCaptureStatusPage .IncodeCaptureStatusContainer {
|
|
894
950
|
flex-direction: column;
|
|
951
|
+
flex: 1;
|
|
895
952
|
align-items: center;
|
|
896
953
|
display: flex;
|
|
897
954
|
}
|
|
898
955
|
|
|
899
|
-
.
|
|
956
|
+
.IncodeCaptureStatusPage .IncodeCaptureStatusTitle {
|
|
900
957
|
text-align: center;
|
|
901
|
-
font-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
958
|
+
font-size: var(--text-2xl, 1.5rem);
|
|
959
|
+
line-height: var(--tw-leading, var(--text-2xl--line-height, calc(2 / 1.5)));
|
|
960
|
+
--tw-leading: 125%;
|
|
961
|
+
--tw-font-weight: var(--font-weight-bold, var(--primitive-typography-weight-bold));
|
|
962
|
+
line-height: 125%;
|
|
963
|
+
font-weight: var(--font-weight-bold, var(--primitive-typography-weight-bold));
|
|
964
|
+
--tw-tracking: -1px;
|
|
965
|
+
letter-spacing: -1px;
|
|
906
966
|
color: var(--color-text-body-primary, var(--text-body-800-primary));
|
|
907
967
|
}
|
|
908
968
|
|
|
909
|
-
.
|
|
910
|
-
|
|
969
|
+
.IncodeSelfieManualCapture {
|
|
970
|
+
flex-direction: column;
|
|
971
|
+
align-items: center;
|
|
972
|
+
max-width: 275px;
|
|
973
|
+
display: flex;
|
|
911
974
|
}
|
|
912
975
|
|
|
913
|
-
.
|
|
914
|
-
|
|
976
|
+
.IncodeSelfieManualCaptureText {
|
|
977
|
+
text-align: center;
|
|
978
|
+
font-family: var(--typography-headline-family);
|
|
979
|
+
font-size: var(--typography-headline-h5-size);
|
|
980
|
+
font-weight: var(--typography-headline-h5-weight);
|
|
981
|
+
line-height: var(--typography-headline-h5-line-height);
|
|
982
|
+
letter-spacing: var(--typography-headline-h5-letter-spacing);
|
|
983
|
+
color: var(--color-text-body-secondary, var(--text-body-500-secondary));
|
|
915
984
|
}
|
|
916
985
|
|
|
917
|
-
.
|
|
918
|
-
|
|
986
|
+
.IncodeSelfieManualCaptureButton {
|
|
987
|
+
padding: var(--spacing-0, var(--spacing-none, 0px));
|
|
988
|
+
color: var(--color-text-body-primary, var(--text-body-800-primary));
|
|
919
989
|
}
|
|
920
990
|
|
|
921
991
|
@property --tw-rotate-x {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { n as useTranslation } from "../i18n-
|
|
1
|
+
import { n as useTranslation } from "../i18n-CU4xq8qC.js";
|
|
2
2
|
import { _ as y, a as D, h as q, l as A, p as d, u as F, v as u } from "../vendor-preact-DThS2ZQ_.js";
|
|
3
|
-
import { c as
|
|
4
|
-
import { t as IncodeComponent } from "../incodeComponent-
|
|
3
|
+
import { c as useModuleTerminalCallbacks, u as useManager } from "../hooks-CNu7o-v8.js";
|
|
4
|
+
import { t as IncodeComponent } from "../incodeComponent-CfzJGETt.js";
|
|
5
5
|
import { r as Spacer } from "../loadingIcon-B0ysgiNq.js";
|
|
6
6
|
import { t as Page } from "../page-DidH_RkX.js";
|
|
7
|
-
import "../extensibility-
|
|
8
|
-
import { t as Button } from "../button-
|
|
9
|
-
import { t as VerificationResult } from "../verificationResult-
|
|
10
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
11
|
-
import { t as _defineProperty } from "../defineProperty-
|
|
7
|
+
import "../extensibility-7sRIN0JC.js";
|
|
8
|
+
import { t as Button } from "../button-Dz6AsbmF.js";
|
|
9
|
+
import { t as VerificationResult } from "../verificationResult-BWWkmeiA.js";
|
|
10
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-B-4_3JrK.js";
|
|
11
|
+
import { t as _defineProperty } from "../defineProperty-Qjefk7Uf.js";
|
|
12
12
|
import { createSignatureManager } from "@incodetech/core/signature";
|
|
13
13
|
//#region ../../node_modules/.pnpm/signature_pad@5.1.3/node_modules/signature_pad/dist/signature_pad.js
|
|
14
14
|
/*!
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./spinner-BMeIEK1d.js";
|
|
@@ -7,14 +7,19 @@ var sizeMap = {
|
|
|
7
7
|
medium: 48,
|
|
8
8
|
large: 64
|
|
9
9
|
};
|
|
10
|
-
var Spinner = ({ title, subtitle, ariaLabel, size = "medium", fullScreen = true, className }) => {
|
|
10
|
+
var Spinner = ({ title, subtitle, ariaLabel, size = "medium", fullScreen = true, className, presentational = false }) => {
|
|
11
11
|
const iconSize = sizeMap[size];
|
|
12
12
|
const titleRef = A(null);
|
|
13
13
|
const containerRef = A(null);
|
|
14
14
|
y(() => {
|
|
15
|
+
if (presentational) return;
|
|
15
16
|
if (ariaLabel) containerRef.current?.focus();
|
|
16
17
|
else if (title) titleRef.current?.focus();
|
|
17
|
-
}, [
|
|
18
|
+
}, [
|
|
19
|
+
title,
|
|
20
|
+
ariaLabel,
|
|
21
|
+
presentational
|
|
22
|
+
]);
|
|
18
23
|
return /* @__PURE__ */ u("div", {
|
|
19
24
|
ref: containerRef,
|
|
20
25
|
class: cn("IncodeSpinner", fullScreen && "IncodeSpinnerFullScreen", className),
|
|
@@ -22,10 +27,11 @@ var Spinner = ({ title, subtitle, ariaLabel, size = "medium", fullScreen = true,
|
|
|
22
27
|
"data-title": title,
|
|
23
28
|
"data-subtitle": subtitle,
|
|
24
29
|
"data-size": size,
|
|
25
|
-
role: "status",
|
|
26
|
-
"aria-live": "polite",
|
|
27
|
-
"aria-label": ariaLabel,
|
|
28
|
-
|
|
30
|
+
role: presentational ? void 0 : "status",
|
|
31
|
+
"aria-live": presentational ? void 0 : "polite",
|
|
32
|
+
"aria-label": presentational ? void 0 : ariaLabel,
|
|
33
|
+
"aria-hidden": presentational ? true : void 0,
|
|
34
|
+
tabIndex: !presentational && ariaLabel ? -1 : void 0,
|
|
29
35
|
children: /* @__PURE__ */ u("div", {
|
|
30
36
|
class: "IncodeSpinnerContent",
|
|
31
37
|
"aria-hidden": ariaLabel ? true : void 0,
|
package/dist/themes/dark.css
CHANGED
|
@@ -1220,6 +1220,22 @@
|
|
|
1220
1220
|
--redirect-phone-input-country-code-width: 130px;
|
|
1221
1221
|
--redirect-qr-wrapper-border-radius: 21px;
|
|
1222
1222
|
|
|
1223
|
+
/* electronic signature */
|
|
1224
|
+
--electronic-signature-title-max-w: 600px;
|
|
1225
|
+
--electronic-signature-illustration-max-w: min(
|
|
1226
|
+
100cqw,
|
|
1227
|
+
calc(100cqh - 32px),
|
|
1228
|
+
297px
|
|
1229
|
+
);
|
|
1230
|
+
--electronic-signature-illustration-svg-w: 80%;
|
|
1231
|
+
--electronic-signature-illustration-svg-shift: 3%;
|
|
1232
|
+
--electronic-signature-doc-preview-max-h: 150px;
|
|
1233
|
+
--electronic-signature-doc-preview-radius: 6px;
|
|
1234
|
+
--electronic-signature-doc-row-h: 56px;
|
|
1235
|
+
--electronic-signature-doc-view-header-offset: calc(
|
|
1236
|
+
-1 * var(--page-header-height)
|
|
1237
|
+
);
|
|
1238
|
+
|
|
1223
1239
|
/* digital ID upload */
|
|
1224
1240
|
--digital-id-preview-w: 156px;
|
|
1225
1241
|
--digital-id-preview-h: 221px;
|
package/dist/themes/light.css
CHANGED
|
@@ -1220,6 +1220,22 @@
|
|
|
1220
1220
|
--redirect-phone-input-country-code-width: 130px;
|
|
1221
1221
|
--redirect-qr-wrapper-border-radius: 21px;
|
|
1222
1222
|
|
|
1223
|
+
/* electronic signature */
|
|
1224
|
+
--electronic-signature-title-max-w: 600px;
|
|
1225
|
+
--electronic-signature-illustration-max-w: min(
|
|
1226
|
+
100cqw,
|
|
1227
|
+
calc(100cqh - 32px),
|
|
1228
|
+
297px
|
|
1229
|
+
);
|
|
1230
|
+
--electronic-signature-illustration-svg-w: 80%;
|
|
1231
|
+
--electronic-signature-illustration-svg-shift: 3%;
|
|
1232
|
+
--electronic-signature-doc-preview-max-h: 150px;
|
|
1233
|
+
--electronic-signature-doc-preview-radius: 6px;
|
|
1234
|
+
--electronic-signature-doc-row-h: 56px;
|
|
1235
|
+
--electronic-signature-doc-view-header-offset: calc(
|
|
1236
|
+
-1 * var(--page-header-height)
|
|
1237
|
+
);
|
|
1238
|
+
|
|
1223
1239
|
/* digital ID upload */
|
|
1224
1240
|
--digital-id-preview-w: 156px;
|
|
1225
1241
|
--digital-id-preview-h: 221px;
|
|
@@ -1,28 +1,29 @@
|
|
|
1
|
-
import { n as useTranslation } from "./i18n-
|
|
1
|
+
import { n as useTranslation } from "./i18n-CU4xq8qC.js";
|
|
2
2
|
import { v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
3
|
-
import { t as Spinner } from "./spinner-
|
|
4
|
-
import "./spinner-
|
|
3
|
+
import { t as Spinner } from "./spinner-BMeIEK1d.js";
|
|
4
|
+
import "./spinner-BCDCoi9C.js";
|
|
5
5
|
//#region src/shared/processing/transitionSpinner.tsx
|
|
6
6
|
/**
|
|
7
7
|
* Canonical "we're getting ready / processing" loader.
|
|
8
8
|
*
|
|
9
|
-
* Renders a container-filling `Spinner` with the unified `loadingCircle.
|
|
9
|
+
* Renders a container-filling `Spinner` with the unified `loadingCircle.holdOn`
|
|
10
10
|
* / `loadingCircle.validating` copy at `size="large"` so every cross-module
|
|
11
11
|
* transition looks identical to the user. Optional `spinnerConfig` overrides
|
|
12
12
|
* any of `title`, `subtitle`, or `size` for consumers that already exposed
|
|
13
13
|
* those. Pass `hideText` to render the spinner icon on its own.
|
|
14
14
|
*/
|
|
15
|
-
var TransitionSpinner = ({ spinnerConfig, className, hideText = false }) => {
|
|
15
|
+
var TransitionSpinner = ({ spinnerConfig, className, hideText = false, presentational = false }) => {
|
|
16
16
|
const { t } = useTranslation();
|
|
17
|
-
const title = hideText ? void 0 : spinnerConfig?.title ?? t("loadingCircle.
|
|
17
|
+
const title = hideText ? void 0 : spinnerConfig?.title ?? t("loadingCircle.holdOn");
|
|
18
18
|
const subtitle = hideText ? void 0 : spinnerConfig?.subtitle ?? t("loadingCircle.validating");
|
|
19
19
|
return /* @__PURE__ */ u(Spinner, {
|
|
20
20
|
title,
|
|
21
21
|
subtitle,
|
|
22
|
-
ariaLabel: [title, subtitle].filter(Boolean).join(". ") || void 0,
|
|
22
|
+
ariaLabel: presentational ? void 0 : [title, subtitle].filter(Boolean).join(". ") || void 0,
|
|
23
23
|
size: spinnerConfig?.size ?? "large",
|
|
24
24
|
fullScreen: true,
|
|
25
|
-
className
|
|
25
|
+
className,
|
|
26
|
+
presentational
|
|
26
27
|
});
|
|
27
28
|
};
|
|
28
29
|
//#endregion
|