@incodetech/web 0.0.0-dev-20260708-662a43f2 → 0.0.0-dev-20260708-9a43c068
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/certificate-issuance/certificate-issuance.es.js +1 -1
- package/dist/document-capture/document-capture.es.js +1 -1
- package/dist/documentCapture-Cj-lBESD.js +2 -0
- package/dist/{documentCapture-BRxX-KJn.js → documentCapture-DbTVd-H4.js} +63 -34
- package/dist/{dynamicForms-AmV00-en.js → dynamicForms-Y4OLvIFo.js} +1 -1
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/{ekybModule-DGnTw5UV.js → ekybModule-C6lxzMPq.js} +1 -1
- package/dist/ekybModule-COBoYgku.js +2 -0
- package/dist/email/email.es.js +1 -1
- package/dist/{emailInput-DsLkDtER.js → emailInput-CSC_bN1d.js} +1 -1
- package/dist/{extensibility-7sRIN0JC.js → extensibility-CBQXjap0.js} +1 -1
- package/dist/extensibility.es.js +2 -2
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/{fieldComparison-L_knHqgw.js → fieldComparison-C9uNKgH_.js} +1 -1
- package/dist/fieldComparison-DYahormP.js +2 -0
- package/dist/fiscal-qr/fiscal-qr.es.js +1 -1
- package/dist/flow/flow.es.js +1 -1
- package/dist/government-validation/government-validation.es.js +1 -1
- package/dist/id/id.es.js +2 -2
- package/dist/{idOcr-CbUkZ5Do.js → idOcr-mIG_46I8.js} +1 -1
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +1 -1
- package/dist/selfie/selfie.es.js +1 -1
- package/dist/signature/signature.es.js +1 -1
- package/dist/{tutorial-CCfPuVKX.js → tutorial-DJ3kpqnL.js} +2 -2
- package/dist/{useModuleLoader-DhzDDkE5.js → useModuleLoader-BsLUC9cQ.js} +6 -6
- package/dist/workflow/workflow.es.js +1 -1
- package/package.json +2 -2
- package/dist/documentCapture-BcmtynYb.js +0 -2
- package/dist/ekybModule-C6Nttked.js +0 -2
- package/dist/fieldComparison-DfNEuEE5.js +0 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { v as u } from "../vendor-preact-DThS2ZQ_.js";
|
|
2
2
|
import { c as useModuleTerminalCallbacks, s as isTerminalModuleState, u as useManager } from "../hooks-CNu7o-v8.js";
|
|
3
3
|
import { t as IncodeComponent } from "../incodeComponent-CfzJGETt.js";
|
|
4
|
-
import { n as Capture, t as Tutorial } from "../tutorial-
|
|
4
|
+
import { n as Capture, t as Tutorial } from "../tutorial-DJ3kpqnL.js";
|
|
5
5
|
import { i as Permissions } from "../capture-CkGvdDNH.js";
|
|
6
6
|
import { t as registerIncodeModuleElement } from "../incodeModule-B-4_3JrK.js";
|
|
7
7
|
import { createAuthenticationManager } from "@incodetech/core/authentication";
|
|
@@ -4,7 +4,7 @@ import { c as useModuleTerminalCallbacks, u as useManager } from "../hooks-CNu7o
|
|
|
4
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-
|
|
7
|
+
import "../extensibility-CBQXjap0.js";
|
|
8
8
|
import { a as TypographyH5, o as TypographyP } from "../typography-BZIpjo97.js";
|
|
9
9
|
import { t as Button } from "../button-Dz6AsbmF.js";
|
|
10
10
|
import "../icons-CJJbIpBq.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as DocumentCapture } from "../documentCapture-
|
|
1
|
+
import { t as DocumentCapture } from "../documentCapture-DbTVd-H4.js";
|
|
2
2
|
export { DocumentCapture };
|
|
@@ -4,12 +4,12 @@ import { a as useIsMobileDeviceWidth, c as useModuleTerminalCallbacks, u as useM
|
|
|
4
4
|
import { t as IncodeComponent } from "./incodeComponent-CfzJGETt.js";
|
|
5
5
|
import { n as cn, r as Spacer } from "./loadingIcon-B0ysgiNq.js";
|
|
6
6
|
import { t as Page } from "./page-DidH_RkX.js";
|
|
7
|
-
import { _ as ProgressBar, d as CameraOverlay, l as CaptureFooter, u as CameraOverlayHeader, v as Overlay } from "./extensibility-
|
|
7
|
+
import { _ as ProgressBar, d as CameraOverlay, l as CaptureFooter, u as CameraOverlayHeader, v as Overlay } from "./extensibility-CBQXjap0.js";
|
|
8
8
|
import { t as Spinner } from "./spinner-BMeIEK1d.js";
|
|
9
9
|
import { t as Button } from "./button-Dz6AsbmF.js";
|
|
10
10
|
import { a as FileIcon, p as CameraIcon, r as LockIcon } from "./icons-CJJbIpBq.js";
|
|
11
11
|
import { t as SuccessIcon } from "./successIcon-B5mGvdx1.js";
|
|
12
|
-
import { a as ErrorContent } from "./tutorial-
|
|
12
|
+
import { a as ErrorContent } from "./tutorial-DJ3kpqnL.js";
|
|
13
13
|
import { t as BottomSheet } from "./bottomSheet-CnWbbUAM.js";
|
|
14
14
|
import { n as CameraFrame, t as CameraView } from "./cameraView-DIEzM5ru.js";
|
|
15
15
|
import { i as Permissions } from "./capture-CkGvdDNH.js";
|
|
@@ -636,22 +636,43 @@ function fileToBase64(file) {
|
|
|
636
636
|
}
|
|
637
637
|
//#endregion
|
|
638
638
|
//#region src/modules/document-capture/documentTutorial.tsx
|
|
639
|
-
var DocumentTutorial = ({ manager, title: titleProp, text: textProp, allowSkipDocumentCapture,
|
|
639
|
+
var DocumentTutorial = ({ manager, title: titleProp, text: textProp, allowSkipDocumentCapture, onlyCapture, onlyUpload, methodSelectionOpen, error, pageNumber, onlyPdf = false, directFilePick = false }) => {
|
|
640
640
|
const { t } = useTranslation();
|
|
641
|
-
const isMobileWidth = useIsMobileDeviceWidth();
|
|
642
641
|
const fileInputRef = A(null);
|
|
643
|
-
const
|
|
642
|
+
const fileAccept = onlyPdf ? "application/pdf" : "image/*,application/pdf";
|
|
643
|
+
const isCaptureOnly = onlyCapture;
|
|
644
|
+
const isUploadOnly = onlyUpload;
|
|
645
|
+
const isBoth = !onlyCapture && !onlyUpload;
|
|
644
646
|
const prefix = pageNumber > 1 ? "documentCapture.tutorial.multiPageDocument" : "documentCapture.tutorial";
|
|
647
|
+
const subtitleKey = pageNumber > 1 ? `${prefix}.subtitle` : isCaptureOnly ? "documentCapture.tutorial.captureOnlySubtitle" : isUploadOnly ? "documentCapture.tutorial.uploadOnlySubtitle" : "documentCapture.tutorial.subtitle";
|
|
645
648
|
const title = titleProp?.trim() ? titleProp : t(`${prefix}.title`);
|
|
646
|
-
const text = textProp?.trim() ? textProp : t(
|
|
647
|
-
const showBottomSheet = captureMode === "camera" && isMobileWidth;
|
|
648
|
-
const closeBottomSheet = q(() => setIsBottomSheetOpen(false), []);
|
|
649
|
+
const text = textProp?.trim() ? textProp : t(subtitleKey);
|
|
649
650
|
const openFilePicker = () => {
|
|
650
651
|
fileInputRef.current?.click();
|
|
651
652
|
};
|
|
652
653
|
const handlePrimaryClick = () => {
|
|
653
|
-
if (
|
|
654
|
-
|
|
654
|
+
if (directFilePick) {
|
|
655
|
+
openFilePicker();
|
|
656
|
+
return;
|
|
657
|
+
}
|
|
658
|
+
if (isCaptureOnly) {
|
|
659
|
+
manager.capture();
|
|
660
|
+
return;
|
|
661
|
+
}
|
|
662
|
+
if (isUploadOnly) {
|
|
663
|
+
manager.openMethodSelection();
|
|
664
|
+
openFilePicker();
|
|
665
|
+
return;
|
|
666
|
+
}
|
|
667
|
+
manager.openMethodSelection();
|
|
668
|
+
};
|
|
669
|
+
const handleSelectorUpload = () => {
|
|
670
|
+
manager.selectUploadMethod();
|
|
671
|
+
openFilePicker();
|
|
672
|
+
};
|
|
673
|
+
const handlePickerDismissed = () => {
|
|
674
|
+
if (isUploadOnly) manager.closeMethodSelection();
|
|
675
|
+
else if (isBoth) manager.deselectUploadMethod();
|
|
655
676
|
};
|
|
656
677
|
const handleFileChange = async (e) => {
|
|
657
678
|
const target = e.target;
|
|
@@ -659,14 +680,13 @@ var DocumentTutorial = ({ manager, title: titleProp, text: textProp, allowSkipDo
|
|
|
659
680
|
if (file) {
|
|
660
681
|
const base64 = await fileToBase64(file);
|
|
661
682
|
manager.setFile(file, base64);
|
|
662
|
-
|
|
663
|
-
}
|
|
683
|
+
} else handlePickerDismissed();
|
|
664
684
|
target.value = "";
|
|
665
685
|
};
|
|
666
|
-
const
|
|
667
|
-
|
|
668
|
-
manager.capture();
|
|
686
|
+
const handleFileCancel = () => {
|
|
687
|
+
handlePickerDismissed();
|
|
669
688
|
};
|
|
689
|
+
const primaryLabel = isCaptureOnly ? t("documentCapture.tutorial.captureDocument") : isUploadOnly ? t("documentCapture.tutorial.uploadDocument") : t("documentCapture.tutorial.continue");
|
|
670
690
|
return /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u(Page, {
|
|
671
691
|
className: "IncodeDocumentCapturePageTutorial",
|
|
672
692
|
title,
|
|
@@ -676,8 +696,9 @@ var DocumentTutorial = ({ manager, title: titleProp, text: textProp, allowSkipDo
|
|
|
676
696
|
/* @__PURE__ */ u("input", {
|
|
677
697
|
ref: fileInputRef,
|
|
678
698
|
type: "file",
|
|
679
|
-
accept:
|
|
699
|
+
accept: fileAccept,
|
|
680
700
|
onChange: handleFileChange,
|
|
701
|
+
onCancel: handleFileCancel,
|
|
681
702
|
"aria-hidden": true,
|
|
682
703
|
tabIndex: -1,
|
|
683
704
|
class: "IncodeDocumentCaptureFileInput",
|
|
@@ -701,7 +722,7 @@ var DocumentTutorial = ({ manager, title: titleProp, text: textProp, allowSkipDo
|
|
|
701
722
|
children: [/* @__PURE__ */ u(Button, {
|
|
702
723
|
onClick: handlePrimaryClick,
|
|
703
724
|
"data-testid": "document-capture-continue-button",
|
|
704
|
-
children:
|
|
725
|
+
children: primaryLabel
|
|
705
726
|
}), allowSkipDocumentCapture ? /* @__PURE__ */ u("div", {
|
|
706
727
|
class: "IncodeDocumentCaptureSkipWrapper",
|
|
707
728
|
children: /* @__PURE__ */ u(Button, {
|
|
@@ -713,25 +734,26 @@ var DocumentTutorial = ({ manager, title: titleProp, text: textProp, allowSkipDo
|
|
|
713
734
|
}) : null]
|
|
714
735
|
})
|
|
715
736
|
]
|
|
716
|
-
}),
|
|
717
|
-
isOpen:
|
|
718
|
-
onClose:
|
|
719
|
-
onCameraClick:
|
|
720
|
-
onUploadClick:
|
|
737
|
+
}), isBoth ? /* @__PURE__ */ u(DocumentCaptureBottomSheet, {
|
|
738
|
+
isOpen: methodSelectionOpen,
|
|
739
|
+
onClose: () => manager.closeMethodSelection(),
|
|
740
|
+
onCameraClick: () => manager.capture(),
|
|
741
|
+
onUploadClick: handleSelectorUpload,
|
|
721
742
|
cameraOptionTestId: "camera-option",
|
|
722
743
|
uploadOptionTestId: "file-option"
|
|
723
744
|
}) : null] });
|
|
724
745
|
};
|
|
725
746
|
//#endregion
|
|
726
747
|
//#region src/modules/document-capture/nextDocumentPage.tsx
|
|
727
|
-
var NextDocumentPage = ({ manager, nextPageType,
|
|
748
|
+
var NextDocumentPage = ({ manager, nextPageType, onlyUpload, onlyPdf = false }) => {
|
|
728
749
|
const { t } = useTranslation();
|
|
729
750
|
const isMobileWidth = useIsMobileDeviceWidth();
|
|
730
751
|
const fileInputRef = A(null);
|
|
731
752
|
const [isBottomSheetOpen, setIsBottomSheetOpen] = d(false);
|
|
753
|
+
const fileAccept = onlyPdf ? "application/pdf" : "image/jpeg,image/png";
|
|
732
754
|
const prefix = "documentCapture.tutorial.multiPageDocument";
|
|
733
755
|
const subtitle = t(nextPageType === "optional" ? `${prefix}.optionalPage.subtitle` : `${prefix}.subtitle`);
|
|
734
|
-
const showBottomSheet =
|
|
756
|
+
const showBottomSheet = !onlyUpload && isMobileWidth;
|
|
735
757
|
const closeBottomSheet = q(() => setIsBottomSheetOpen(false), []);
|
|
736
758
|
const openFilePicker = () => {
|
|
737
759
|
fileInputRef.current?.click();
|
|
@@ -764,7 +786,7 @@ var NextDocumentPage = ({ manager, nextPageType, captureMode }) => {
|
|
|
764
786
|
/* @__PURE__ */ u("input", {
|
|
765
787
|
ref: fileInputRef,
|
|
766
788
|
type: "file",
|
|
767
|
-
accept:
|
|
789
|
+
accept: fileAccept,
|
|
768
790
|
onChange: handleNextPageFileChange,
|
|
769
791
|
"aria-hidden": true,
|
|
770
792
|
tabIndex: -1,
|
|
@@ -824,7 +846,6 @@ var DocumentCaptureContent = ({ config, manager: externalManager, onFinish, onEr
|
|
|
824
846
|
if (!config) throw new Error("DocumentCapture config is required when no manager is provided");
|
|
825
847
|
return createDocumentCaptureManager({ config });
|
|
826
848
|
}, { manageLifecycle: !externalManager });
|
|
827
|
-
const [isCommonIssuesOpen, setIsCommonIssuesOpen] = d(false);
|
|
828
849
|
const { t } = useTranslation();
|
|
829
850
|
useModuleTerminalCallbacks({
|
|
830
851
|
status: state.status,
|
|
@@ -837,36 +858,44 @@ var DocumentCaptureContent = ({ config, manager: externalManager, onFinish, onEr
|
|
|
837
858
|
title: state.title,
|
|
838
859
|
text: state.text,
|
|
839
860
|
allowSkipDocumentCapture: state.allowSkipDocumentCapture,
|
|
840
|
-
|
|
861
|
+
onlyCapture: state.onlyCapture,
|
|
862
|
+
onlyUpload: state.onlyUpload,
|
|
863
|
+
methodSelectionOpen: state.methodSelectionOpen,
|
|
864
|
+
onlyPdf: state.onlyPdf,
|
|
841
865
|
error: state.error,
|
|
842
866
|
pageNumber: state.pageNumber
|
|
843
867
|
});
|
|
844
868
|
if (state.status === "nextPage") return /* @__PURE__ */ u(NextDocumentPage, {
|
|
845
869
|
manager,
|
|
846
870
|
nextPageType: state.nextPageType,
|
|
847
|
-
|
|
871
|
+
onlyUpload: state.onlyUpload,
|
|
872
|
+
onlyPdf: state.onlyPdf
|
|
848
873
|
});
|
|
849
|
-
if (state.status === "capturing" && state.
|
|
874
|
+
if (state.status === "capturing" && (state.captureMethod === "file" || state.captureMethod === "gallery")) return /* @__PURE__ */ u(DocumentTutorial, {
|
|
850
875
|
manager,
|
|
851
876
|
title: config?.title,
|
|
852
877
|
text: config?.text,
|
|
853
878
|
allowSkipDocumentCapture: false,
|
|
854
|
-
|
|
879
|
+
onlyCapture: false,
|
|
880
|
+
onlyUpload: true,
|
|
881
|
+
methodSelectionOpen: false,
|
|
882
|
+
onlyPdf: state.onlyPdf,
|
|
855
883
|
error: state.error,
|
|
856
|
-
pageNumber: state.pageNumber
|
|
884
|
+
pageNumber: state.pageNumber,
|
|
885
|
+
directFilePick: true
|
|
857
886
|
});
|
|
858
887
|
if (state.status === "permissions") return /* @__PURE__ */ u(Permissions, {
|
|
859
888
|
manager,
|
|
860
889
|
permissionStatus: state.permissionStatus
|
|
861
890
|
});
|
|
862
891
|
if (state.status === "initializingCamera") return /* @__PURE__ */ u(DocumentCaptureLoading, {});
|
|
863
|
-
if (state.status === "capturing"
|
|
892
|
+
if (state.status === "capturing") {
|
|
864
893
|
if (!state.stream) return /* @__PURE__ */ u(DocumentCaptureLoading, {});
|
|
865
894
|
return /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u(DocumentCameraView, {
|
|
866
895
|
stream: state.stream,
|
|
867
896
|
manager,
|
|
868
|
-
onOpenHelp: () =>
|
|
869
|
-
}),
|
|
897
|
+
onOpenHelp: () => manager.openHelp()
|
|
898
|
+
}), state.helpOpen ? /* @__PURE__ */ u(DocumentCommonIssues, { onClose: () => manager.closeHelp() }) : null] });
|
|
870
899
|
}
|
|
871
900
|
if (state.status === "finalizing") return /* @__PURE__ */ u(DocumentCaptureLoading, { title: t("common.processing") });
|
|
872
901
|
if (state.status === "preview" || state.status === "uploading" || state.status === "success" || state.status === "failure") return /* @__PURE__ */ u(DocumentReview, {
|
|
@@ -11,7 +11,7 @@ import { t as DropdownComposed } from "./dropdownComposed-CoU0enG6.js";
|
|
|
11
11
|
import { t as DateInputComposed } from "./dateInputComposed-DuaofcBl.js";
|
|
12
12
|
import { t as registerIncodeModuleElement } from "./incodeModule-B-4_3JrK.js";
|
|
13
13
|
import { n as getRequiredHintMode, t as getFieldHint } from "./requiredLabelHint-D0RhuMed.js";
|
|
14
|
-
import { t as EmailInput } from "./emailInput-
|
|
14
|
+
import { t as EmailInput } from "./emailInput-CSC_bN1d.js";
|
|
15
15
|
import { formatCPF, isValidCPF } from "@incodetech/core/cpf-ocr";
|
|
16
16
|
import { createDynamicFormsManager } from "@incodetech/core/dynamic-forms";
|
|
17
17
|
//#region src/modules/dynamic-forms/dynamicForms.tsx
|
package/dist/ekyb/ekyb.es.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as EkybModule } from "../ekybModule-
|
|
1
|
+
import { t as EkybModule } from "../ekybModule-C6lxzMPq.js";
|
|
2
2
|
export { EkybModule };
|
|
@@ -4,7 +4,7 @@ import { c as useModuleTerminalCallbacks, o as useFormScrollable, u as useManage
|
|
|
4
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-
|
|
7
|
+
import "./extensibility-CBQXjap0.js";
|
|
8
8
|
import { t as Spinner } from "./spinner-BMeIEK1d.js";
|
|
9
9
|
import { t as Button } from "./button-Dz6AsbmF.js";
|
|
10
10
|
import { t as VerificationResult } from "./verificationResult-BWWkmeiA.js";
|
package/dist/email/email.es.js
CHANGED
|
@@ -7,7 +7,7 @@ import { t as Page } from "../page-DidH_RkX.js";
|
|
|
7
7
|
import { t as Button } from "../button-Dz6AsbmF.js";
|
|
8
8
|
import { t as OtpInput } from "../otpInput-CnDc6pQm.js";
|
|
9
9
|
import { t as registerIncodeModuleElement } from "../incodeModule-B-4_3JrK.js";
|
|
10
|
-
import { t as EmailInput } from "../emailInput-
|
|
10
|
+
import { t as EmailInput } from "../emailInput-CSC_bN1d.js";
|
|
11
11
|
import { createEmailManager } from "@incodetech/core/email";
|
|
12
12
|
//#region src/modules/email/email.tsx
|
|
13
13
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as useTranslation } from "./i18n-CU4xq8qC.js";
|
|
2
2
|
import { v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
3
|
-
import "./extensibility-
|
|
3
|
+
import "./extensibility-CBQXjap0.js";
|
|
4
4
|
import { t as InputComposed } from "./inputComposed-C1R2LAa3.js";
|
|
5
5
|
//#region src/modules/email/emailInput.tsx
|
|
6
6
|
var EMAIL_REGEX = /^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/;
|
|
@@ -14,7 +14,7 @@ import { t as ErrorIcon } from "./errorIcon-BA4T6iy-.js";
|
|
|
14
14
|
import { f as CaptureButtonIcon, i as HelpIcon, m as CalendarIcon, r as LockIcon, s as ChevronRightIcon, t as SvgLightningIcon } from "./icons-CJJbIpBq.js";
|
|
15
15
|
import { t as SuccessIcon } from "./successIcon-B5mGvdx1.js";
|
|
16
16
|
import { t as Modal } from "./modal-OxkFuuiR.js";
|
|
17
|
-
import { i as Lottie, r as BaseTutorial } from "./tutorial-
|
|
17
|
+
import { i as Lottie, r as BaseTutorial } from "./tutorial-DJ3kpqnL.js";
|
|
18
18
|
import "./verificationResult-BWWkmeiA.js";
|
|
19
19
|
import "./inputComposed-C1R2LAa3.js";
|
|
20
20
|
import "./inputComposed-BaY5q9WM.js";
|
package/dist/extensibility.es.js
CHANGED
|
@@ -4,7 +4,7 @@ import { l as useScreenOrientation, u as useManager } from "./hooks-CNu7o-v8.js"
|
|
|
4
4
|
import { n as LandscapeBlocker, 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 { _ as ProgressBar, c as ManualCapture, d as CameraOverlay, f as VerificationOptionCard, g as SegmentedDateInput, h as TextArea, i as Capture, l as CaptureFooter, m as TextAreaComposed, n as Chooser, o as IdExpired, p as VerificationOptionCardList, r as Tutorial, s as IdError, t as FlipAnimation, u as CameraOverlayHeader, v as Overlay } from "./extensibility-
|
|
7
|
+
import { _ as ProgressBar, c as ManualCapture, d as CameraOverlay, f as VerificationOptionCard, g as SegmentedDateInput, h as TextArea, i as Capture, l as CaptureFooter, m as TextAreaComposed, n as Chooser, o as IdExpired, p as VerificationOptionCardList, r as Tutorial, s as IdError, t as FlipAnimation, u as CameraOverlayHeader, v as Overlay } from "./extensibility-CBQXjap0.js";
|
|
8
8
|
import { a as TypographyH5, i as TypographyH4, n as TypographyH1, o as TypographyP, r as TypographyH3, t as Title } from "./typography-BZIpjo97.js";
|
|
9
9
|
import { t as Spinner } from "./spinner-BMeIEK1d.js";
|
|
10
10
|
import { t as Processing } from "./processing-BeUMfdJJ.js";
|
|
@@ -13,7 +13,7 @@ import { t as ErrorIcon } from "./errorIcon-BA4T6iy-.js";
|
|
|
13
13
|
import { a as FileIcon, c as ChevronLeftIcon, d as CheckmarkIcon, f as CaptureButtonIcon, h as WarningIcon, i as HelpIcon, l as ChevronDown, m as CalendarIcon, n as SearchIcon, o as CloseIcon, p as CameraIcon, r as LockIcon, s as ChevronRightIcon, t as SvgLightningIcon, u as CheckmarkCompactIcon } from "./icons-CJJbIpBq.js";
|
|
14
14
|
import { t as SuccessIcon } from "./successIcon-B5mGvdx1.js";
|
|
15
15
|
import { t as Modal } from "./modal-OxkFuuiR.js";
|
|
16
|
-
import { a as ErrorContent, i as Lottie, n as Capture$1, r as BaseTutorial, t as Tutorial$1 } from "./tutorial-
|
|
16
|
+
import { a as ErrorContent, i as Lottie, n as Capture$1, r as BaseTutorial, t as Tutorial$1 } from "./tutorial-DJ3kpqnL.js";
|
|
17
17
|
import { t as VerificationResult } from "./verificationResult-BWWkmeiA.js";
|
|
18
18
|
import { n as Input, t as InputComposed } from "./inputComposed-C1R2LAa3.js";
|
|
19
19
|
import { t as OtpInput } from "./otpInput-CnDc6pQm.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as FieldComparison } from "../fieldComparison-
|
|
1
|
+
import { t as FieldComparison } from "../fieldComparison-C9uNKgH_.js";
|
|
2
2
|
export { FieldComparison };
|
|
@@ -4,7 +4,7 @@ import { c as useModuleTerminalCallbacks, u as useManager } from "./hooks-CNu7o-
|
|
|
4
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-
|
|
7
|
+
import "./extensibility-CBQXjap0.js";
|
|
8
8
|
import { t as Button } from "./button-Dz6AsbmF.js";
|
|
9
9
|
import { t as VerificationResult } from "./verificationResult-BWWkmeiA.js";
|
|
10
10
|
import { t as InputComposed } from "./inputComposed-C1R2LAa3.js";
|
|
@@ -4,7 +4,7 @@ import { c as useModuleTerminalCallbacks, u as useManager } from "../hooks-CNu7o
|
|
|
4
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 { d as CameraOverlay, u as CameraOverlayHeader } from "../extensibility-
|
|
7
|
+
import { d as CameraOverlay, u as CameraOverlayHeader } from "../extensibility-CBQXjap0.js";
|
|
8
8
|
import { t as Button } from "../button-Dz6AsbmF.js";
|
|
9
9
|
import { t as VerificationResult } from "../verificationResult-BWWkmeiA.js";
|
|
10
10
|
import { n as CameraFrame, t as CameraView } from "../cameraView-DIEzM5ru.js";
|
package/dist/flow/flow.es.js
CHANGED
|
@@ -5,7 +5,7 @@ import { u as useManager } from "../hooks-CNu7o-v8.js";
|
|
|
5
5
|
import { t as IncodeComponent } from "../incodeComponent-CfzJGETt.js";
|
|
6
6
|
import { t as TransitionSpinner } from "../transitionSpinner-CuNCqHNi.js";
|
|
7
7
|
import { t as registerIncodeModuleElement } from "../incodeModule-B-4_3JrK.js";
|
|
8
|
-
import { a as resolveApiKey, b as TerminalErrorPage, c as HEADLESS_FLOW_MODULE_KEYS, d as fetchTheme, f as initializeFlowManager, g as preloadRedirectToMobile, h as preloadHomeScreen, l as LAZY_UI_MODULES, m as preloadFirstModule, n as useModulePreloader, o as extractIncodeStatus, p as isDesktopOrEmulated, r as usePrefetchNextModule, s as UnsupportedModule, t as useModuleLoader, u as createFlowManager, v as warmupWasmIfNeeded } from "../useModuleLoader-
|
|
8
|
+
import { a as resolveApiKey, b as TerminalErrorPage, c as HEADLESS_FLOW_MODULE_KEYS, d as fetchTheme, f as initializeFlowManager, g as preloadRedirectToMobile, h as preloadHomeScreen, l as LAZY_UI_MODULES, m as preloadFirstModule, n as useModulePreloader, o as extractIncodeStatus, p as isDesktopOrEmulated, r as usePrefetchNextModule, s as UnsupportedModule, t as useModuleLoader, u as createFlowManager, v as warmupWasmIfNeeded } from "../useModuleLoader-BsLUC9cQ.js";
|
|
9
9
|
import { getRequiredWasmPipelines } from "@incodetech/core/flow";
|
|
10
10
|
import { bootstrapSession, refreshQrUrlUuid } from "@incodetech/core/session";
|
|
11
11
|
//#region src/shared/processing/useDelayedFlag.ts
|
|
@@ -4,7 +4,7 @@ import { c as useModuleTerminalCallbacks, u as useManager } from "../hooks-CNu7o
|
|
|
4
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-
|
|
7
|
+
import "../extensibility-CBQXjap0.js";
|
|
8
8
|
import { t as AutoFocusTitle } from "../autoFocusTitle-CuRu2lPg.js";
|
|
9
9
|
import { t as VerificationResult } from "../verificationResult-BWWkmeiA.js";
|
|
10
10
|
import { t as OtpInput } from "../otpInput-CnDc6pQm.js";
|
package/dist/id/id.es.js
CHANGED
|
@@ -4,7 +4,7 @@ import { c as useModuleTerminalCallbacks, u as useManager } from "../hooks-CNu7o
|
|
|
4
4
|
import { t as IncodeComponent } from "../incodeComponent-CfzJGETt.js";
|
|
5
5
|
import { n as cn } from "../loadingIcon-B0ysgiNq.js";
|
|
6
6
|
import { t as Page } from "../page-DidH_RkX.js";
|
|
7
|
-
import { _ as ProgressBar, a as IdNoAttempts, i as Capture, n as Chooser, o as IdExpired, r as Tutorial, s as IdError, t as FlipAnimation } from "../extensibility-
|
|
7
|
+
import { _ as ProgressBar, a as IdNoAttempts, i as Capture, n as Chooser, o as IdExpired, r as Tutorial, s as IdError, t as FlipAnimation } from "../extensibility-CBQXjap0.js";
|
|
8
8
|
import { t as Spinner } from "../spinner-BMeIEK1d.js";
|
|
9
9
|
import "../spinner-BCDCoi9C.js";
|
|
10
10
|
import { t as TransitionSpinner } from "../transitionSpinner-CuNCqHNi.js";
|
|
@@ -13,7 +13,7 @@ import { t as Button } from "../button-Dz6AsbmF.js";
|
|
|
13
13
|
import { t as ErrorIcon } from "../errorIcon-BA4T6iy-.js";
|
|
14
14
|
import { s as ChevronRightIcon } from "../icons-CJJbIpBq.js";
|
|
15
15
|
import { t as SuccessIcon } from "../successIcon-B5mGvdx1.js";
|
|
16
|
-
import { a as ErrorContent, i as Lottie } from "../tutorial-
|
|
16
|
+
import { a as ErrorContent, i as Lottie } from "../tutorial-DJ3kpqnL.js";
|
|
17
17
|
import { i as Permissions } from "../capture-CkGvdDNH.js";
|
|
18
18
|
import { t as PdfViewer } from "../pdfViewer-B97DmT9m.js";
|
|
19
19
|
import { t as registerIncodeModuleElement } from "../incodeModule-B-4_3JrK.js";
|
|
@@ -3,7 +3,7 @@ import { d as T, v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
|
3
3
|
import { c as useModuleTerminalCallbacks, u as useManager } from "./hooks-CNu7o-v8.js";
|
|
4
4
|
import { t as IncodeComponent } from "./incodeComponent-CfzJGETt.js";
|
|
5
5
|
import { t as Page } from "./page-DidH_RkX.js";
|
|
6
|
-
import "./extensibility-
|
|
6
|
+
import "./extensibility-CBQXjap0.js";
|
|
7
7
|
import { t as Button } from "./button-Dz6AsbmF.js";
|
|
8
8
|
import { t as VerificationResult } from "./verificationResult-BWWkmeiA.js";
|
|
9
9
|
import { t as InputComposed } from "./inputComposed-C1R2LAa3.js";
|
|
@@ -6,7 +6,7 @@ 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-
|
|
9
|
+
import "../extensibility-CBQXjap0.js";
|
|
10
10
|
import { t as TransitionSpinner } from "../transitionSpinner-CuNCqHNi.js";
|
|
11
11
|
import { t as Button } from "../button-Dz6AsbmF.js";
|
|
12
12
|
import "../icons-CJJbIpBq.js";
|
package/dist/selfie/selfie.es.js
CHANGED
|
@@ -3,7 +3,7 @@ import { c as useModuleTerminalCallbacks, s as isTerminalModuleState, u as useMa
|
|
|
3
3
|
import { t as IncodeComponent } from "../incodeComponent-CfzJGETt.js";
|
|
4
4
|
import { t as TransitionSpinner } from "../transitionSpinner-CuNCqHNi.js";
|
|
5
5
|
import { t as Processing } from "../processing-BeUMfdJJ.js";
|
|
6
|
-
import { n as Capture, t as Tutorial } from "../tutorial-
|
|
6
|
+
import { n as Capture, t as Tutorial } from "../tutorial-DJ3kpqnL.js";
|
|
7
7
|
import { i as Permissions } from "../capture-CkGvdDNH.js";
|
|
8
8
|
import { t as registerIncodeModuleElement } from "../incodeModule-B-4_3JrK.js";
|
|
9
9
|
import { createSelfieManager } from "@incodetech/core/selfie";
|
|
@@ -4,7 +4,7 @@ import { c as useModuleTerminalCallbacks, u as useManager } from "../hooks-CNu7o
|
|
|
4
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-
|
|
7
|
+
import "../extensibility-CBQXjap0.js";
|
|
8
8
|
import { t as Button } from "../button-Dz6AsbmF.js";
|
|
9
9
|
import { t as VerificationResult } from "../verificationResult-BWWkmeiA.js";
|
|
10
10
|
import { t as registerIncodeModuleElement } from "../incodeModule-B-4_3JrK.js";
|
|
@@ -53,10 +53,10 @@ var ErrorContent = ({ title, description, attemptsRemaining, onButtonClick, "dat
|
|
|
53
53
|
}), /* @__PURE__ */ u("div", {
|
|
54
54
|
class: "IncodeErrorContentAttemptsContainer",
|
|
55
55
|
children: [
|
|
56
|
-
!noMoreAttempts ? /* @__PURE__ */ u("p", {
|
|
56
|
+
!noMoreAttempts ? /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u("p", {
|
|
57
57
|
class: "IncodeErrorContentAttemptsText",
|
|
58
58
|
children: t("common.attemptsRemaining", { count: attemptsRemaining })
|
|
59
|
-
}) : null,
|
|
59
|
+
}), /* @__PURE__ */ u(Spacer, { size: 24 })] }) : null,
|
|
60
60
|
/* @__PURE__ */ u(Button, {
|
|
61
61
|
onClick: onButtonClick,
|
|
62
62
|
children: noMoreAttempts ? t("common.continue") : t("common.tryAgain")
|
|
@@ -296,14 +296,14 @@ var LAZY_UI_MODULES = {
|
|
|
296
296
|
INE_VALIDATION: () => import("./government-validation/government-validation.es.js").then((m) => m.GovernmentValidation),
|
|
297
297
|
GEOLOCATION: () => import("./geolocation/geolocation.es.js").then((m) => m.Geolocation),
|
|
298
298
|
EXTERNAL_VERIFICATION: () => import("./ekycModule-CDIEjI6V.js").then((m) => m.EkycModule),
|
|
299
|
-
EKYB: () => import("./ekybModule-
|
|
300
|
-
DOCUMENT_CAPTURE: () => import("./documentCapture-
|
|
301
|
-
ADDRESS: () => import("./documentCapture-
|
|
299
|
+
EKYB: () => import("./ekybModule-COBoYgku.js").then((m) => m.EkybModule),
|
|
300
|
+
DOCUMENT_CAPTURE: () => import("./documentCapture-Cj-lBESD.js").then((m) => m.DocumentCapture),
|
|
301
|
+
ADDRESS: () => import("./documentCapture-Cj-lBESD.js").then((m) => m.DocumentCapture),
|
|
302
302
|
COMBINED_CONSENT: () => import("./consent/consent.es.js").then((m) => m.Consent),
|
|
303
303
|
MANDATORY_CONSENT: () => import("./mandatoryConsent-D0GTKu-H.js").then((m) => m.MandatoryConsent),
|
|
304
304
|
ML_CONSENT: () => import("./mandatoryConsent-D0GTKu-H.js").then((m) => m.MandatoryConsent),
|
|
305
305
|
SIGNATURE: () => import("./signature/signature.es.js").then((m) => m.Signature),
|
|
306
|
-
ID_OCR: () => import("./idOcr-
|
|
306
|
+
ID_OCR: () => import("./idOcr-mIG_46I8.js").then((m) => m.IdOcr),
|
|
307
307
|
CPF_OCR: () => import("./cpfOcr-B79245-3.js").then((m) => m.CpfOcr),
|
|
308
308
|
ANTIFRAUD: () => import("./antifraud/antifraud.es.js").then((m) => m.Antifraud),
|
|
309
309
|
CUSTOM_FIELDS: () => import("./customFields-BDsXR7A-.js").then((m) => m.CustomFields),
|
|
@@ -313,9 +313,9 @@ var LAZY_UI_MODULES = {
|
|
|
313
313
|
AE_SIGNATURE: () => import("./ae-signature/ae-signature.es.js").then((m) => m.AeSignature),
|
|
314
314
|
QE_SIGNATURE: () => import("./qe-signature/qe-signature.es.js").then((m) => m.QeSignature),
|
|
315
315
|
CROSS_DOCUMENT_DATA_MATCH: () => import("./cross-document-data-match/cross-document-data-match.es.js").then((m) => m.CrossDocumentDataMatch),
|
|
316
|
-
DYNAMIC_FORMS: () => import("./dynamicForms-
|
|
316
|
+
DYNAMIC_FORMS: () => import("./dynamicForms-Y4OLvIFo.js").then((m) => m.DynamicForms),
|
|
317
317
|
CERTIFICATE_ISSUANCE: () => import("./certificate-issuance/certificate-issuance.es.js").then((m) => m.CertificateIssuance),
|
|
318
|
-
FIELD_COMPARISON: () => import("./fieldComparison-
|
|
318
|
+
FIELD_COMPARISON: () => import("./fieldComparison-DYahormP.js").then((m) => m.FieldComparison),
|
|
319
319
|
FISCAL_QR: () => import("./fiscal-qr/fiscal-qr.es.js").then((m) => m.FiscalQr),
|
|
320
320
|
VIDEO_ONBOARDING: () => import("./video-selfie/video-selfie.es.js").then((m) => m.VideoSelfie)
|
|
321
321
|
};
|
|
@@ -7,7 +7,7 @@ import { t as Page } from "../page-DidH_RkX.js";
|
|
|
7
7
|
import { t as TransitionSpinner } from "../transitionSpinner-CuNCqHNi.js";
|
|
8
8
|
import { t as AutoFocusTitle } from "../autoFocusTitle-CuRu2lPg.js";
|
|
9
9
|
import { t as registerIncodeModuleElement } from "../incodeModule-B-4_3JrK.js";
|
|
10
|
-
import { _ as setupSDK, a as resolveApiKey, b as TerminalErrorPage, i as HEADLESS_WORKFLOW_MODULE_KEYS, l as LAZY_UI_MODULES, o as extractIncodeStatus, p as isDesktopOrEmulated, s as UnsupportedModule, t as useModuleLoader, y as fetchAndApplyTheme } from "../useModuleLoader-
|
|
10
|
+
import { _ as setupSDK, a as resolveApiKey, b as TerminalErrorPage, i as HEADLESS_WORKFLOW_MODULE_KEYS, l as LAZY_UI_MODULES, o as extractIncodeStatus, p as isDesktopOrEmulated, s as UnsupportedModule, t as useModuleLoader, y as fetchAndApplyTheme } from "../useModuleLoader-BsLUC9cQ.js";
|
|
11
11
|
import { resolveWasmConfig, upgradeToWasmHttpClient, warmupWasm } from "@incodetech/core/wasm";
|
|
12
12
|
import { classifyScoreStatus } from "@incodetech/core/flow";
|
|
13
13
|
import { bootstrapSession, refreshQrUrlUuid } from "@incodetech/core/session";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@incodetech/web",
|
|
3
|
-
"version": "0.0.0-dev-20260708-
|
|
3
|
+
"version": "0.0.0-dev-20260708-9a43c068",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/IncodeTechnologies/incode-web-sdk.git"
|
|
@@ -291,7 +291,7 @@
|
|
|
291
291
|
"qrcode": "^1.5.4",
|
|
292
292
|
"signature_pad": "^5.1.3",
|
|
293
293
|
"tailwindcss": "^4.1.17",
|
|
294
|
-
"@incodetech/core": "0.0.0-dev-20260708-
|
|
294
|
+
"@incodetech/core": "0.0.0-dev-20260708-9a43c068"
|
|
295
295
|
},
|
|
296
296
|
"devDependencies": {
|
|
297
297
|
"@microsoft/api-extractor": "^7.53.3",
|