@sekyro/react 0.1.0-rc.26 → 0.1.0-rc.28
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/CHANGELOG.md +41 -0
- package/dist/chunk-2UDX3MRT.js +2 -0
- package/dist/chunk-3MCTR3RI.js +2 -0
- package/dist/chunk-5V26KZGZ.js +2 -0
- package/dist/{chunk-H52ULGOP.js → chunk-A7UG6YDG.js} +1 -1
- package/dist/{chunk-X3RL4N3W.js → chunk-CBQYUAKA.js} +1 -1
- package/dist/{chunk-RTYAGWRR.js → chunk-DTXKBOS4.js} +1 -1
- package/dist/chunk-FE6AS435.js +2 -0
- package/dist/{chunk-BDXOOTQL.js → chunk-HO5RMTZU.js} +1 -1
- package/dist/{chunk-J2W5XO7Q.js → chunk-KGUF5KAK.js} +1 -1
- package/dist/chunk-U5GKKEZQ.js +2 -0
- package/dist/{chunk-UNYAD2GI.js → chunk-VN4C5C2R.js} +1 -1
- package/dist/{chunk-YE6VVNPZ.js → chunk-VOIZLJLI.js} +1 -1
- package/dist/{chunk-MJ6TE26G.js → chunk-WVYPT45I.js} +1 -1
- package/dist/chunk-ZARKJW2C.js +2 -0
- package/dist/{chunk-6ZRCWVYJ.js → chunk-ZTCQFWDM.js} +1 -1
- package/dist/document-capture-view-5FWUD45F.js +2 -0
- package/dist/{eid-view-7CTFIZ5R.js → eid-view-U2HL2IX7.js} +1 -1
- package/dist/{email-otp-view-MB334KKV.js → email-otp-view-CMJHROOH.js} +1 -1
- package/dist/flow-views-O3KBN7YF.js +2 -0
- package/dist/form-view-WVPN7ZUY.js +2 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/overlay-de-PVJMYZGV.js +2 -0
- package/dist/overlay-es-PZCE25XM.js +2 -0
- package/dist/overlay-pt-PZ3L6DR7.js +2 -0
- package/dist/{portrait-capture-view-DSUGE7PI.js → portrait-capture-view-UYISOXXV.js} +1 -1
- package/dist/portrait-review-view-67VI2Q6K.js +2 -0
- package/dist/proof-of-address-view-EIQXYYM3.js +2 -0
- package/dist/{theme-quu7XV_Y.d.ts → theme-CMvkgsqM.d.cts} +2 -0
- package/dist/{theme-quu7XV_Y.d.cts → theme-CMvkgsqM.d.ts} +2 -0
- package/dist/verification/index.cjs +1 -1
- package/dist/verification/index.d.cts +89 -5
- package/dist/verification/index.d.ts +89 -5
- package/dist/verification/index.js +1 -1
- package/dist/verification.css +80 -10
- package/package.json +2 -2
- package/sbom.cdx.json +4 -4
- package/dist/chunk-ND4YIVDH.js +0 -2
- package/dist/chunk-Q32AQDEB.js +0 -2
- package/dist/chunk-TXFU3GMZ.js +0 -2
- package/dist/chunk-XCX4NPBX.js +0 -2
- package/dist/document-capture-view-ZKT3W6UE.js +0 -2
- package/dist/flow-views-SRAXHC6K.js +0 -2
- package/dist/overlay-de-ILMZBGZH.js +0 -2
- package/dist/overlay-es-YLDY73HJ.js +0 -2
- package/dist/overlay-pt-GZXT2S6D.js +0 -2
- package/dist/portrait-review-view-PPYEEMYM.js +0 -2
- package/dist/proof-of-address-view-2M6UDK76.js +0 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as SekyroLocale, S as Strings, g as SekyroTheme, q as VoiceOptions, d as LivenessCaptureProps } from '../theme-
|
|
2
|
-
export { k as StringKey, A as retakeHintStringKey } from '../theme-
|
|
1
|
+
import { a as SekyroLocale, S as Strings, g as SekyroTheme, q as VoiceOptions, d as LivenessCaptureProps } from '../theme-CMvkgsqM.cjs';
|
|
2
|
+
export { k as StringKey, A as retakeHintStringKey } from '../theme-CMvkgsqM.cjs';
|
|
3
3
|
import * as react from 'react';
|
|
4
4
|
import { ReactNode } from 'react';
|
|
5
|
-
import { Verification, VerificationStep, PhoneOtpStepHandle, EmailOtpStepHandle, EidStepHandle, MethodStepHandle, RegistryStepHandle, DocumentStepHandle, DocumentLiveMrzOptions, PortraitStepHandle, ProofOfAddressStepHandle, VerificationResult, ResultStepHandle, CapturedArtifacts } from '@sekyro/web';
|
|
5
|
+
import { Verification, VerificationStep, PhoneOtpStepHandle, EmailOtpStepHandle, EidStepHandle, MethodStepHandle, RegistryStepHandle, DocumentStepHandle, DocumentLiveMrzOptions, PortraitStepHandle, ProofOfAddressStepHandle, FormStepHandle, VerificationResult, ResultStepHandle, CapturedArtifacts } from '@sekyro/web';
|
|
6
6
|
|
|
7
7
|
/** Copy of the `@sekyro/react/verification` steps (hosted catalog paths; the optional keys load with their step). */
|
|
8
8
|
interface StepStrings {
|
|
@@ -59,6 +59,7 @@ interface StepStrings {
|
|
|
59
59
|
"otp.phoneLengthError": string;
|
|
60
60
|
"otp.or": string;
|
|
61
61
|
"otp.otherCountry": string;
|
|
62
|
+
"otp.countrySearch": string;
|
|
62
63
|
"otp.reason_otp_number_invalid": string;
|
|
63
64
|
"otp.reason_otp_number_not_mobile": string;
|
|
64
65
|
"session.steps.population.title": string;
|
|
@@ -93,6 +94,8 @@ interface StepStrings {
|
|
|
93
94
|
"doc.reason_unreadable": string;
|
|
94
95
|
"doc.reason_document_type_mismatch": string;
|
|
95
96
|
"doc.reason_document_number_invalid": string;
|
|
97
|
+
"doc.reason_document_sides_mismatch": string;
|
|
98
|
+
"doc.reason_document_type_not_supported": string;
|
|
96
99
|
"doc.reason_provider_unavailable": string;
|
|
97
100
|
"doc.process_failed": string;
|
|
98
101
|
"doc.uploading": string;
|
|
@@ -255,6 +258,7 @@ interface StepStrings {
|
|
|
255
258
|
"session.processing.proof_of_address.title": string;
|
|
256
259
|
"session.processing.proof_of_address.description": string;
|
|
257
260
|
"section.documents": string;
|
|
261
|
+
"section.form": string;
|
|
258
262
|
"population.recheck.title": string;
|
|
259
263
|
"population.recheck.description": string;
|
|
260
264
|
"otp.phoneInvalid": string;
|
|
@@ -485,6 +489,58 @@ interface StepStrings {
|
|
|
485
489
|
"reasons.holder_letter_required"?: string;
|
|
486
490
|
"reasons.holder_letter_missing"?: string;
|
|
487
491
|
"reasons.address_mismatch"?: string;
|
|
492
|
+
"form.title"?: string;
|
|
493
|
+
"form.lead"?: string;
|
|
494
|
+
"form.optional"?: string;
|
|
495
|
+
"form.continue"?: string;
|
|
496
|
+
"form.sending"?: string;
|
|
497
|
+
"form.yes"?: string;
|
|
498
|
+
"form.no"?: string;
|
|
499
|
+
"form.chooseAny"?: string;
|
|
500
|
+
"form.choose"?: string;
|
|
501
|
+
"form.openLink"?: string;
|
|
502
|
+
"form.consents"?: string;
|
|
503
|
+
"form.date.day"?: string;
|
|
504
|
+
"form.date.month"?: string;
|
|
505
|
+
"form.date.year"?: string;
|
|
506
|
+
"form.fields.full_name.label"?: string;
|
|
507
|
+
"form.fields.full_name.help"?: string;
|
|
508
|
+
"form.fields.birth_date.label"?: string;
|
|
509
|
+
"form.fields.email.label"?: string;
|
|
510
|
+
"form.fields.phone.label"?: string;
|
|
511
|
+
"form.fields.address.label"?: string;
|
|
512
|
+
"form.fields.address.help"?: string;
|
|
513
|
+
"form.fields.country.label"?: string;
|
|
514
|
+
"form.fields.occupation.label"?: string;
|
|
515
|
+
"form.address.line1"?: string;
|
|
516
|
+
"form.address.line2"?: string;
|
|
517
|
+
"form.address.city"?: string;
|
|
518
|
+
"form.address.postcode"?: string;
|
|
519
|
+
"form.address.country"?: string;
|
|
520
|
+
"form.address.addLine"?: string;
|
|
521
|
+
"form.phoneCountry"?: string;
|
|
522
|
+
"form.errors.summary"?: string;
|
|
523
|
+
"form.errors.required"?: string;
|
|
524
|
+
"form.errors.choiceRequired"?: string;
|
|
525
|
+
"form.errors.consentRequired"?: string;
|
|
526
|
+
"form.errors.tooLong"?: string;
|
|
527
|
+
"form.errors.tooShort"?: string;
|
|
528
|
+
"form.errors.email"?: string;
|
|
529
|
+
"form.errors.phone"?: string;
|
|
530
|
+
"form.errors.date"?: string;
|
|
531
|
+
"form.errors.datePast"?: string;
|
|
532
|
+
"form.errors.dateFuture"?: string;
|
|
533
|
+
"form.errors.dateMin"?: string;
|
|
534
|
+
"form.errors.dateMax"?: string;
|
|
535
|
+
"form.errors.number"?: string;
|
|
536
|
+
"form.errors.numberInteger"?: string;
|
|
537
|
+
"form.errors.numberDecimals"?: string;
|
|
538
|
+
"form.errors.numberMin"?: string;
|
|
539
|
+
"form.errors.numberMax"?: string;
|
|
540
|
+
"form.errors.choice"?: string;
|
|
541
|
+
"form.errors.cardNumber"?: string;
|
|
542
|
+
"form.errors.address"?: string;
|
|
543
|
+
"form.errors.failed"?: string;
|
|
488
544
|
"native.doc.introTitle"?: string;
|
|
489
545
|
"native.doc.introLead"?: string;
|
|
490
546
|
"native.doc.tip.flat"?: string;
|
|
@@ -561,6 +617,18 @@ interface StepStrings {
|
|
|
561
617
|
"inApp.copied"?: string;
|
|
562
618
|
"inApp.copyFailed"?: string;
|
|
563
619
|
"inApp.continueAnyway"?: string;
|
|
620
|
+
"needsApp.capture.title"?: string;
|
|
621
|
+
"needsApp.capture.description"?: string;
|
|
622
|
+
"needsApp.capture.descriptionSekyro"?: string;
|
|
623
|
+
"needsApp.capture.descriptionNoOrg"?: string;
|
|
624
|
+
"needsApp.capture.descriptionNoOrgSekyro"?: string;
|
|
625
|
+
"needsApp.capture.openSekyro"?: string;
|
|
626
|
+
"needsApp.capture.getApp"?: string;
|
|
627
|
+
"needsApp.capture.appStore"?: string;
|
|
628
|
+
"needsApp.capture.googlePlay"?: string;
|
|
629
|
+
"needsApp.capture.scan"?: string;
|
|
630
|
+
"needsApp.capture.qrAlt"?: string;
|
|
631
|
+
"needsApp.capture.waiting"?: string;
|
|
564
632
|
"inApp.openBrowser"?: string;
|
|
565
633
|
"testerGate.action"?: string;
|
|
566
634
|
"testerGate.title"?: string;
|
|
@@ -660,10 +728,12 @@ declare function NniEntry(input: StepComponentProps & {
|
|
|
660
728
|
step: RegistryStepHandle;
|
|
661
729
|
}): react.JSX.Element;
|
|
662
730
|
|
|
663
|
-
declare function DocumentCapture({ step, locale, strings, className, liveMrz, }: StepComponentProps & {
|
|
731
|
+
declare function DocumentCapture({ step, locale, strings, className, liveMrz, barcodeAssetBaseUrl, }: StepComponentProps & {
|
|
664
732
|
step: DocumentStepHandle;
|
|
665
733
|
/** Web live MRZ (on-device MRZ read on MRZ faces; obeys the session's server tuning). */
|
|
666
734
|
liveMrz?: DocumentLiveMrzOptions;
|
|
735
|
+
/** Where the barcode decoder binary is served (spec 2026-11-11 D10; default: Sekyro AI's asset host). */
|
|
736
|
+
barcodeAssetBaseUrl?: string;
|
|
667
737
|
}): react.JSX.Element;
|
|
668
738
|
|
|
669
739
|
declare function PortraitCapture({ step, locale, strings, className, assetBaseUrl, verification, }: StepComponentProps & {
|
|
@@ -686,6 +756,15 @@ declare function ProofOfAddress({ step, locale, strings, className }: StepCompon
|
|
|
686
756
|
step: ProofOfAddressStepHandle;
|
|
687
757
|
}): react.JSX.Element;
|
|
688
758
|
|
|
759
|
+
/**
|
|
760
|
+
* The Form step: one screen with the partner's questions in their order, then the consents and one "Continue". The
|
|
761
|
+
* partner's text keeps its own language and direction; labels of the ready-made fields, buttons and errors follow the
|
|
762
|
+
* page. Prefilled answers are shown and stay editable.
|
|
763
|
+
*/
|
|
764
|
+
declare function FormStep({ step, locale, strings, className, onError }: StepComponentProps & {
|
|
765
|
+
step: FormStepHandle;
|
|
766
|
+
}): react.JSX.Element;
|
|
767
|
+
|
|
689
768
|
/** `system` follows the device (prefers-color-scheme). */
|
|
690
769
|
type SekyroColorScheme = "light" | "dark" | "system";
|
|
691
770
|
|
|
@@ -714,6 +793,11 @@ interface SekyroVerificationProps {
|
|
|
714
793
|
* `assetBaseUrl` (self-hosted OCR assets) or `mode: "off"`. The session's server tuning decides when it runs.
|
|
715
794
|
*/
|
|
716
795
|
documentLiveMrz?: DocumentLiveMrzOptions;
|
|
796
|
+
/**
|
|
797
|
+
* Where the barcode decoder binary is served for the document step (default: Sekyro AI's asset host). Self-host
|
|
798
|
+
* `zxing_reader.wasm` of the `zxing-wasm` version `@sekyro/web` pins as `<base>/<sha12>/zxing_reader.wasm`.
|
|
799
|
+
*/
|
|
800
|
+
documentBarcodeAssetBaseUrl?: string;
|
|
717
801
|
voice?: false | VoiceOptions;
|
|
718
802
|
livenessProps?: Omit<LivenessCaptureProps, "verification" | "locale" | "dir" | "strings" | "assetBaseUrl" | "voice" | "onCaptured" | "onResult">;
|
|
719
803
|
/**
|
|
@@ -774,4 +858,4 @@ declare function VerificationResultScreen({ step, locale, strings, className, on
|
|
|
774
858
|
onClose?: () => void;
|
|
775
859
|
}): react.JSX.Element;
|
|
776
860
|
|
|
777
|
-
export { DocumentCapture, EidStep, type EidStepProps, EmailOtpStep, type EmailOtpStepProps, IdNumberEntry, MethodChoice, NniEntry, PhoneOtpStep, type PhoneOtpStepProps, PortraitCapture, ProofOfAddress, type SekyroCloseEvent, type SekyroColorScheme, SekyroFlow, type SekyroFlowProps, SekyroLocale, type SekyroStringKey, type SekyroStrings, SekyroVerification, type SekyroVerificationProps, type StepComponentProps, type StepI18n, StepI18nProvider, type StepStrings, type StepTranslate, Strings, VerificationResultScreen, arSteps, enSteps, formatTemplate, frSteps, isInAppBrowser, loadSekyroLocale, resolveSekyroStrings, useStepI18n, useVerificationStep };
|
|
861
|
+
export { DocumentCapture, EidStep, type EidStepProps, EmailOtpStep, type EmailOtpStepProps, FormStep, IdNumberEntry, MethodChoice, NniEntry, PhoneOtpStep, type PhoneOtpStepProps, PortraitCapture, ProofOfAddress, type SekyroCloseEvent, type SekyroColorScheme, SekyroFlow, type SekyroFlowProps, SekyroLocale, type SekyroStringKey, type SekyroStrings, SekyroVerification, type SekyroVerificationProps, type StepComponentProps, type StepI18n, StepI18nProvider, type StepStrings, type StepTranslate, Strings, VerificationResultScreen, arSteps, enSteps, formatTemplate, frSteps, isInAppBrowser, loadSekyroLocale, resolveSekyroStrings, useStepI18n, useVerificationStep };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as SekyroLocale, S as Strings, g as SekyroTheme, q as VoiceOptions, d as LivenessCaptureProps } from '../theme-
|
|
2
|
-
export { k as StringKey, A as retakeHintStringKey } from '../theme-
|
|
1
|
+
import { a as SekyroLocale, S as Strings, g as SekyroTheme, q as VoiceOptions, d as LivenessCaptureProps } from '../theme-CMvkgsqM.js';
|
|
2
|
+
export { k as StringKey, A as retakeHintStringKey } from '../theme-CMvkgsqM.js';
|
|
3
3
|
import * as react from 'react';
|
|
4
4
|
import { ReactNode } from 'react';
|
|
5
|
-
import { Verification, VerificationStep, PhoneOtpStepHandle, EmailOtpStepHandle, EidStepHandle, MethodStepHandle, RegistryStepHandle, DocumentStepHandle, DocumentLiveMrzOptions, PortraitStepHandle, ProofOfAddressStepHandle, VerificationResult, ResultStepHandle, CapturedArtifacts } from '@sekyro/web';
|
|
5
|
+
import { Verification, VerificationStep, PhoneOtpStepHandle, EmailOtpStepHandle, EidStepHandle, MethodStepHandle, RegistryStepHandle, DocumentStepHandle, DocumentLiveMrzOptions, PortraitStepHandle, ProofOfAddressStepHandle, FormStepHandle, VerificationResult, ResultStepHandle, CapturedArtifacts } from '@sekyro/web';
|
|
6
6
|
|
|
7
7
|
/** Copy of the `@sekyro/react/verification` steps (hosted catalog paths; the optional keys load with their step). */
|
|
8
8
|
interface StepStrings {
|
|
@@ -59,6 +59,7 @@ interface StepStrings {
|
|
|
59
59
|
"otp.phoneLengthError": string;
|
|
60
60
|
"otp.or": string;
|
|
61
61
|
"otp.otherCountry": string;
|
|
62
|
+
"otp.countrySearch": string;
|
|
62
63
|
"otp.reason_otp_number_invalid": string;
|
|
63
64
|
"otp.reason_otp_number_not_mobile": string;
|
|
64
65
|
"session.steps.population.title": string;
|
|
@@ -93,6 +94,8 @@ interface StepStrings {
|
|
|
93
94
|
"doc.reason_unreadable": string;
|
|
94
95
|
"doc.reason_document_type_mismatch": string;
|
|
95
96
|
"doc.reason_document_number_invalid": string;
|
|
97
|
+
"doc.reason_document_sides_mismatch": string;
|
|
98
|
+
"doc.reason_document_type_not_supported": string;
|
|
96
99
|
"doc.reason_provider_unavailable": string;
|
|
97
100
|
"doc.process_failed": string;
|
|
98
101
|
"doc.uploading": string;
|
|
@@ -255,6 +258,7 @@ interface StepStrings {
|
|
|
255
258
|
"session.processing.proof_of_address.title": string;
|
|
256
259
|
"session.processing.proof_of_address.description": string;
|
|
257
260
|
"section.documents": string;
|
|
261
|
+
"section.form": string;
|
|
258
262
|
"population.recheck.title": string;
|
|
259
263
|
"population.recheck.description": string;
|
|
260
264
|
"otp.phoneInvalid": string;
|
|
@@ -485,6 +489,58 @@ interface StepStrings {
|
|
|
485
489
|
"reasons.holder_letter_required"?: string;
|
|
486
490
|
"reasons.holder_letter_missing"?: string;
|
|
487
491
|
"reasons.address_mismatch"?: string;
|
|
492
|
+
"form.title"?: string;
|
|
493
|
+
"form.lead"?: string;
|
|
494
|
+
"form.optional"?: string;
|
|
495
|
+
"form.continue"?: string;
|
|
496
|
+
"form.sending"?: string;
|
|
497
|
+
"form.yes"?: string;
|
|
498
|
+
"form.no"?: string;
|
|
499
|
+
"form.chooseAny"?: string;
|
|
500
|
+
"form.choose"?: string;
|
|
501
|
+
"form.openLink"?: string;
|
|
502
|
+
"form.consents"?: string;
|
|
503
|
+
"form.date.day"?: string;
|
|
504
|
+
"form.date.month"?: string;
|
|
505
|
+
"form.date.year"?: string;
|
|
506
|
+
"form.fields.full_name.label"?: string;
|
|
507
|
+
"form.fields.full_name.help"?: string;
|
|
508
|
+
"form.fields.birth_date.label"?: string;
|
|
509
|
+
"form.fields.email.label"?: string;
|
|
510
|
+
"form.fields.phone.label"?: string;
|
|
511
|
+
"form.fields.address.label"?: string;
|
|
512
|
+
"form.fields.address.help"?: string;
|
|
513
|
+
"form.fields.country.label"?: string;
|
|
514
|
+
"form.fields.occupation.label"?: string;
|
|
515
|
+
"form.address.line1"?: string;
|
|
516
|
+
"form.address.line2"?: string;
|
|
517
|
+
"form.address.city"?: string;
|
|
518
|
+
"form.address.postcode"?: string;
|
|
519
|
+
"form.address.country"?: string;
|
|
520
|
+
"form.address.addLine"?: string;
|
|
521
|
+
"form.phoneCountry"?: string;
|
|
522
|
+
"form.errors.summary"?: string;
|
|
523
|
+
"form.errors.required"?: string;
|
|
524
|
+
"form.errors.choiceRequired"?: string;
|
|
525
|
+
"form.errors.consentRequired"?: string;
|
|
526
|
+
"form.errors.tooLong"?: string;
|
|
527
|
+
"form.errors.tooShort"?: string;
|
|
528
|
+
"form.errors.email"?: string;
|
|
529
|
+
"form.errors.phone"?: string;
|
|
530
|
+
"form.errors.date"?: string;
|
|
531
|
+
"form.errors.datePast"?: string;
|
|
532
|
+
"form.errors.dateFuture"?: string;
|
|
533
|
+
"form.errors.dateMin"?: string;
|
|
534
|
+
"form.errors.dateMax"?: string;
|
|
535
|
+
"form.errors.number"?: string;
|
|
536
|
+
"form.errors.numberInteger"?: string;
|
|
537
|
+
"form.errors.numberDecimals"?: string;
|
|
538
|
+
"form.errors.numberMin"?: string;
|
|
539
|
+
"form.errors.numberMax"?: string;
|
|
540
|
+
"form.errors.choice"?: string;
|
|
541
|
+
"form.errors.cardNumber"?: string;
|
|
542
|
+
"form.errors.address"?: string;
|
|
543
|
+
"form.errors.failed"?: string;
|
|
488
544
|
"native.doc.introTitle"?: string;
|
|
489
545
|
"native.doc.introLead"?: string;
|
|
490
546
|
"native.doc.tip.flat"?: string;
|
|
@@ -561,6 +617,18 @@ interface StepStrings {
|
|
|
561
617
|
"inApp.copied"?: string;
|
|
562
618
|
"inApp.copyFailed"?: string;
|
|
563
619
|
"inApp.continueAnyway"?: string;
|
|
620
|
+
"needsApp.capture.title"?: string;
|
|
621
|
+
"needsApp.capture.description"?: string;
|
|
622
|
+
"needsApp.capture.descriptionSekyro"?: string;
|
|
623
|
+
"needsApp.capture.descriptionNoOrg"?: string;
|
|
624
|
+
"needsApp.capture.descriptionNoOrgSekyro"?: string;
|
|
625
|
+
"needsApp.capture.openSekyro"?: string;
|
|
626
|
+
"needsApp.capture.getApp"?: string;
|
|
627
|
+
"needsApp.capture.appStore"?: string;
|
|
628
|
+
"needsApp.capture.googlePlay"?: string;
|
|
629
|
+
"needsApp.capture.scan"?: string;
|
|
630
|
+
"needsApp.capture.qrAlt"?: string;
|
|
631
|
+
"needsApp.capture.waiting"?: string;
|
|
564
632
|
"inApp.openBrowser"?: string;
|
|
565
633
|
"testerGate.action"?: string;
|
|
566
634
|
"testerGate.title"?: string;
|
|
@@ -660,10 +728,12 @@ declare function NniEntry(input: StepComponentProps & {
|
|
|
660
728
|
step: RegistryStepHandle;
|
|
661
729
|
}): react.JSX.Element;
|
|
662
730
|
|
|
663
|
-
declare function DocumentCapture({ step, locale, strings, className, liveMrz, }: StepComponentProps & {
|
|
731
|
+
declare function DocumentCapture({ step, locale, strings, className, liveMrz, barcodeAssetBaseUrl, }: StepComponentProps & {
|
|
664
732
|
step: DocumentStepHandle;
|
|
665
733
|
/** Web live MRZ (on-device MRZ read on MRZ faces; obeys the session's server tuning). */
|
|
666
734
|
liveMrz?: DocumentLiveMrzOptions;
|
|
735
|
+
/** Where the barcode decoder binary is served (spec 2026-11-11 D10; default: Sekyro AI's asset host). */
|
|
736
|
+
barcodeAssetBaseUrl?: string;
|
|
667
737
|
}): react.JSX.Element;
|
|
668
738
|
|
|
669
739
|
declare function PortraitCapture({ step, locale, strings, className, assetBaseUrl, verification, }: StepComponentProps & {
|
|
@@ -686,6 +756,15 @@ declare function ProofOfAddress({ step, locale, strings, className }: StepCompon
|
|
|
686
756
|
step: ProofOfAddressStepHandle;
|
|
687
757
|
}): react.JSX.Element;
|
|
688
758
|
|
|
759
|
+
/**
|
|
760
|
+
* The Form step: one screen with the partner's questions in their order, then the consents and one "Continue". The
|
|
761
|
+
* partner's text keeps its own language and direction; labels of the ready-made fields, buttons and errors follow the
|
|
762
|
+
* page. Prefilled answers are shown and stay editable.
|
|
763
|
+
*/
|
|
764
|
+
declare function FormStep({ step, locale, strings, className, onError }: StepComponentProps & {
|
|
765
|
+
step: FormStepHandle;
|
|
766
|
+
}): react.JSX.Element;
|
|
767
|
+
|
|
689
768
|
/** `system` follows the device (prefers-color-scheme). */
|
|
690
769
|
type SekyroColorScheme = "light" | "dark" | "system";
|
|
691
770
|
|
|
@@ -714,6 +793,11 @@ interface SekyroVerificationProps {
|
|
|
714
793
|
* `assetBaseUrl` (self-hosted OCR assets) or `mode: "off"`. The session's server tuning decides when it runs.
|
|
715
794
|
*/
|
|
716
795
|
documentLiveMrz?: DocumentLiveMrzOptions;
|
|
796
|
+
/**
|
|
797
|
+
* Where the barcode decoder binary is served for the document step (default: Sekyro AI's asset host). Self-host
|
|
798
|
+
* `zxing_reader.wasm` of the `zxing-wasm` version `@sekyro/web` pins as `<base>/<sha12>/zxing_reader.wasm`.
|
|
799
|
+
*/
|
|
800
|
+
documentBarcodeAssetBaseUrl?: string;
|
|
717
801
|
voice?: false | VoiceOptions;
|
|
718
802
|
livenessProps?: Omit<LivenessCaptureProps, "verification" | "locale" | "dir" | "strings" | "assetBaseUrl" | "voice" | "onCaptured" | "onResult">;
|
|
719
803
|
/**
|
|
@@ -774,4 +858,4 @@ declare function VerificationResultScreen({ step, locale, strings, className, on
|
|
|
774
858
|
onClose?: () => void;
|
|
775
859
|
}): react.JSX.Element;
|
|
776
860
|
|
|
777
|
-
export { DocumentCapture, EidStep, type EidStepProps, EmailOtpStep, type EmailOtpStepProps, IdNumberEntry, MethodChoice, NniEntry, PhoneOtpStep, type PhoneOtpStepProps, PortraitCapture, ProofOfAddress, type SekyroCloseEvent, type SekyroColorScheme, SekyroFlow, type SekyroFlowProps, SekyroLocale, type SekyroStringKey, type SekyroStrings, SekyroVerification, type SekyroVerificationProps, type StepComponentProps, type StepI18n, StepI18nProvider, type StepStrings, type StepTranslate, Strings, VerificationResultScreen, arSteps, enSteps, formatTemplate, frSteps, isInAppBrowser, loadSekyroLocale, resolveSekyroStrings, useStepI18n, useVerificationStep };
|
|
861
|
+
export { DocumentCapture, EidStep, type EidStepProps, EmailOtpStep, type EmailOtpStepProps, FormStep, IdNumberEntry, MethodChoice, NniEntry, PhoneOtpStep, type PhoneOtpStepProps, PortraitCapture, ProofOfAddress, type SekyroCloseEvent, type SekyroColorScheme, SekyroFlow, type SekyroFlowProps, SekyroLocale, type SekyroStringKey, type SekyroStrings, SekyroVerification, type SekyroVerificationProps, type StepComponentProps, type StepI18n, StepI18nProvider, type StepStrings, type StepTranslate, Strings, VerificationResultScreen, arSteps, enSteps, formatTemplate, frSteps, isInAppBrowser, loadSekyroLocale, resolveSekyroStrings, useStepI18n, useVerificationStep };
|