idmission-web-sdk 2.3.71 → 2.3.73
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/components/customer_flows/IdValidation.d.ts +5 -0
- package/dist/components/customer_flows/IdValidation.d.ts.map +1 -1
- package/dist/components/id_capture/FocusModelProvider.d.ts +2 -2
- package/dist/components/id_capture/FocusModelProvider.d.ts.map +1 -1
- package/dist/components/id_capture/IdCaptureStateProvider.d.ts +2 -11
- package/dist/components/id_capture/IdCaptureStateProvider.d.ts.map +1 -1
- package/dist/components/id_capture/IdCaptureWizard.d.ts +7 -1
- package/dist/components/id_capture/IdCaptureWizard.d.ts.map +1 -1
- package/dist/components/video_signature_capture/VideoSignatureContext.d.ts +2 -11
- package/dist/components/video_signature_capture/VideoSignatureContext.d.ts.map +1 -1
- package/dist/lib/camera/useVideoRecorder.d.ts +2 -11
- package/dist/lib/camera/useVideoRecorder.d.ts.map +1 -1
- package/dist/sdk2.cjs.development.js +130 -105
- package/dist/sdk2.cjs.development.js.map +1 -1
- package/dist/sdk2.cjs.production.js +1 -1
- package/dist/sdk2.cjs.production.js.map +1 -1
- package/dist/sdk2.esm.js +130 -105
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +373 -171
- package/dist/sdk2.umd.development.js.map +1 -1
- package/dist/sdk2.umd.production.js +1 -1
- package/dist/sdk2.umd.production.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/sdk2.esm.js
CHANGED
|
@@ -205,7 +205,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
205
205
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
206
206
|
};
|
|
207
207
|
|
|
208
|
-
var webSdkVersion = '2.3.
|
|
208
|
+
var webSdkVersion = '2.3.73';
|
|
209
209
|
|
|
210
210
|
function getPlatform() {
|
|
211
211
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -5541,8 +5541,8 @@ function FocusModelProvider(_a) {
|
|
|
5541
5541
|
var children = _a.children,
|
|
5542
5542
|
_b = _a.focusModelPath,
|
|
5543
5543
|
focusModelPath = _b === void 0 ? defaultFocusModelPath : _b,
|
|
5544
|
-
_c = _a.
|
|
5545
|
-
|
|
5544
|
+
_c = _a.modelLoadTimeoutMs,
|
|
5545
|
+
modelLoadTimeoutMs = _c === void 0 ? defaultFocusModelLoadTimeoutMs : _c,
|
|
5546
5546
|
onFocusModelError = _a.onFocusModelError,
|
|
5547
5547
|
_d = _a.showCanvases,
|
|
5548
5548
|
showCanvases = _d === void 0 ? false : _d,
|
|
@@ -5562,7 +5562,7 @@ function FocusModelProvider(_a) {
|
|
|
5562
5562
|
}, []);
|
|
5563
5563
|
var _h = useLoadFocusModel({
|
|
5564
5564
|
modelPath: focusModelPath,
|
|
5565
|
-
modelLoadTimeoutMs:
|
|
5565
|
+
modelLoadTimeoutMs: modelLoadTimeoutMs,
|
|
5566
5566
|
onModelError: onFocusModelError,
|
|
5567
5567
|
videoRef: videoRef,
|
|
5568
5568
|
shouldLoadModels: shouldLoadModels
|
|
@@ -10524,6 +10524,13 @@ function humanFileSize(bytes, si, dp) {
|
|
|
10524
10524
|
}
|
|
10525
10525
|
var templateObject_1$p, templateObject_2$n, templateObject_3$h, templateObject_4$b, templateObject_5$6, templateObject_6$2, templateObject_7$1, templateObject_8$1, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13;
|
|
10526
10526
|
|
|
10527
|
+
var lastDocumentDetectedAtDefaults = {
|
|
10528
|
+
idCardFront: null,
|
|
10529
|
+
idCardBack: null,
|
|
10530
|
+
passport: null,
|
|
10531
|
+
singlePage: null,
|
|
10532
|
+
none: null
|
|
10533
|
+
};
|
|
10527
10534
|
var IdCaptureWizard = function IdCaptureWizard(_a) {
|
|
10528
10535
|
var _b, _c, _d, _e, _f;
|
|
10529
10536
|
var onLoadingStarted = _a.onLoadingStarted,
|
|
@@ -10535,79 +10542,82 @@ var IdCaptureWizard = function IdCaptureWizard(_a) {
|
|
|
10535
10542
|
onUserCancel = _a.onUserCancel,
|
|
10536
10543
|
onLoadingOverlayDismissed = _a.onLoadingOverlayDismissed,
|
|
10537
10544
|
onDocumentCaptured = _a.onDocumentCaptured,
|
|
10538
|
-
|
|
10539
|
-
|
|
10545
|
+
onDocumentDetected = _a.onDocumentDetected,
|
|
10546
|
+
_g = _a.documentDetectionThrottleMs,
|
|
10547
|
+
documentDetectionThrottleMs = _g === void 0 ? 0 : _g,
|
|
10548
|
+
_h = _a.loadingOverlayMode,
|
|
10549
|
+
loadingOverlayMode = _h === void 0 ? 'default' : _h,
|
|
10540
10550
|
customOverlayContent = _a.customOverlayContent,
|
|
10541
10551
|
precapturedDocuments = _a.precapturedDocuments,
|
|
10542
|
-
|
|
10543
|
-
captureRequirement =
|
|
10544
|
-
|
|
10545
|
-
allowSinglePageIdCapture =
|
|
10546
|
-
|
|
10547
|
-
separateIdCardCaptureSequence =
|
|
10548
|
-
|
|
10549
|
-
thresholds =
|
|
10550
|
-
|
|
10551
|
-
skipSuccessScreen =
|
|
10552
|
+
_j = _a.captureRequirement,
|
|
10553
|
+
captureRequirement = _j === void 0 ? 'idCardOrPassport' : _j,
|
|
10554
|
+
_k = _a.allowSinglePageIdCapture,
|
|
10555
|
+
allowSinglePageIdCapture = _k === void 0 ? false : _k,
|
|
10556
|
+
_l = _a.separateIdCardCaptureSequence,
|
|
10557
|
+
separateIdCardCaptureSequence = _l === void 0 ? false : _l,
|
|
10558
|
+
_m = _a.thresholds,
|
|
10559
|
+
thresholds = _m === void 0 ? defaultIdCaptureThresholds : _m,
|
|
10560
|
+
_o = _a.skipSuccessScreen,
|
|
10561
|
+
skipSuccessScreen = _o === void 0 ? false : _o,
|
|
10552
10562
|
instructions = _a.instructions,
|
|
10553
|
-
|
|
10554
|
-
releaseCameraAccessOnExit =
|
|
10555
|
-
|
|
10556
|
-
guideType =
|
|
10557
|
-
|
|
10558
|
-
portraitGuidesOnMobile =
|
|
10559
|
-
|
|
10560
|
-
rotateLoadingOverlayImageWhenPortrait =
|
|
10561
|
-
|
|
10562
|
-
silentFallback =
|
|
10563
|
-
|
|
10564
|
-
forceFallbackMode =
|
|
10565
|
-
|
|
10566
|
-
allowIdCardBackToFrontCapture =
|
|
10567
|
-
|
|
10568
|
-
enableOverrideWrongDocumentTypeDialog =
|
|
10569
|
-
|
|
10570
|
-
allowOverrideWrongDocumentTypeAfterMs =
|
|
10571
|
-
|
|
10572
|
-
allowUploadingDocumentsFromStorage =
|
|
10573
|
-
|
|
10574
|
-
guideImages =
|
|
10575
|
-
|
|
10576
|
-
assets =
|
|
10577
|
-
|
|
10578
|
-
classNames =
|
|
10579
|
-
|
|
10580
|
-
colors =
|
|
10581
|
-
|
|
10582
|
-
verbiage =
|
|
10583
|
-
|
|
10584
|
-
debugMode =
|
|
10563
|
+
_p = _a.releaseCameraAccessOnExit,
|
|
10564
|
+
releaseCameraAccessOnExit = _p === void 0 ? true : _p,
|
|
10565
|
+
_q = _a.guideType,
|
|
10566
|
+
guideType = _q === void 0 ? 'fit' : _q,
|
|
10567
|
+
_r = _a.portraitGuidesOnMobile,
|
|
10568
|
+
portraitGuidesOnMobile = _r === void 0 ? true : _r,
|
|
10569
|
+
_s = _a.rotateLoadingOverlayImageWhenPortrait,
|
|
10570
|
+
rotateLoadingOverlayImageWhenPortrait = _s === void 0 ? true : _s,
|
|
10571
|
+
_t = _a.silentFallback,
|
|
10572
|
+
silentFallback = _t === void 0 ? false : _t,
|
|
10573
|
+
_u = _a.forceFallbackMode,
|
|
10574
|
+
forceFallbackMode = _u === void 0 ? false : _u,
|
|
10575
|
+
_v = _a.allowIdCardBackToFrontCapture,
|
|
10576
|
+
allowIdCardBackToFrontCapture = _v === void 0 ? false : _v,
|
|
10577
|
+
_w = _a.enableOverrideWrongDocumentTypeDialog,
|
|
10578
|
+
enableOverrideWrongDocumentTypeDialog = _w === void 0 ? false : _w,
|
|
10579
|
+
_x = _a.allowOverrideWrongDocumentTypeAfterMs,
|
|
10580
|
+
allowOverrideWrongDocumentTypeAfterMs = _x === void 0 ? 8000 : _x,
|
|
10581
|
+
_y = _a.allowUploadingDocumentsFromStorage,
|
|
10582
|
+
allowUploadingDocumentsFromStorage = _y === void 0 ? false : _y,
|
|
10583
|
+
_z = _a.guideImages,
|
|
10584
|
+
guideImages = _z === void 0 ? defaultIdCaptureGuideImages : _z,
|
|
10585
|
+
_0 = _a.assets,
|
|
10586
|
+
assets = _0 === void 0 ? {} : _0,
|
|
10587
|
+
_1 = _a.classNames,
|
|
10588
|
+
classNames = _1 === void 0 ? {} : _1,
|
|
10589
|
+
_2 = _a.colors,
|
|
10590
|
+
colors = _2 === void 0 ? {} : _2,
|
|
10591
|
+
_3 = _a.verbiage,
|
|
10592
|
+
verbiage = _3 === void 0 ? {} : _3,
|
|
10593
|
+
_4 = _a.debugMode,
|
|
10594
|
+
debugMode = _4 === void 0 ? false : _4;
|
|
10585
10595
|
var state = useIdCaptureStore();
|
|
10586
|
-
var
|
|
10587
|
-
cameraAccessDenied =
|
|
10588
|
-
requestCameraAccess =
|
|
10589
|
-
releaseCameraAccess =
|
|
10590
|
-
var
|
|
10591
|
-
overlayDismissed =
|
|
10592
|
-
setOverlayDismissed =
|
|
10593
|
-
var
|
|
10594
|
-
submissionStatus =
|
|
10595
|
-
setIdFrontImage =
|
|
10596
|
-
setIdBackImage =
|
|
10597
|
-
setPassportImage =
|
|
10598
|
-
setIdFrontIrImage =
|
|
10599
|
-
setIdBackIrImage =
|
|
10600
|
-
setIdFrontUvImage =
|
|
10601
|
-
setIdBackUvImage =
|
|
10602
|
-
logIdFrontCaptureAttempt =
|
|
10603
|
-
logIdBackCaptureAttempt =
|
|
10604
|
-
var
|
|
10605
|
-
start =
|
|
10606
|
-
stop =
|
|
10607
|
-
onPredictionMade =
|
|
10608
|
-
setRequiredDocumentType =
|
|
10609
|
-
modelError =
|
|
10610
|
-
resetBestFrame =
|
|
10596
|
+
var _5 = useCameraStore(),
|
|
10597
|
+
cameraAccessDenied = _5.cameraAccessDenied,
|
|
10598
|
+
requestCameraAccess = _5.requestCameraAccess,
|
|
10599
|
+
releaseCameraAccess = _5.releaseCameraAccess;
|
|
10600
|
+
var _6 = useState(false),
|
|
10601
|
+
overlayDismissed = _6[0],
|
|
10602
|
+
setOverlayDismissed = _6[1];
|
|
10603
|
+
var _7 = useContext(SubmissionContext),
|
|
10604
|
+
submissionStatus = _7.submissionStatus,
|
|
10605
|
+
setIdFrontImage = _7.setIdFrontImage,
|
|
10606
|
+
setIdBackImage = _7.setIdBackImage,
|
|
10607
|
+
setPassportImage = _7.setPassportImage,
|
|
10608
|
+
setIdFrontIrImage = _7.setIdFrontIrImage,
|
|
10609
|
+
setIdBackIrImage = _7.setIdBackIrImage,
|
|
10610
|
+
setIdFrontUvImage = _7.setIdFrontUvImage,
|
|
10611
|
+
setIdBackUvImage = _7.setIdBackUvImage,
|
|
10612
|
+
logIdFrontCaptureAttempt = _7.logIdFrontCaptureAttempt,
|
|
10613
|
+
logIdBackCaptureAttempt = _7.logIdBackCaptureAttempt;
|
|
10614
|
+
var _8 = useIdCaptureModelsContext(),
|
|
10615
|
+
start = _8.start,
|
|
10616
|
+
stop = _8.stop,
|
|
10617
|
+
onPredictionMade = _8.onPredictionMade,
|
|
10618
|
+
setRequiredDocumentType = _8.setRequiredDocumentType,
|
|
10619
|
+
modelError = _8.modelError,
|
|
10620
|
+
resetBestFrame = _8.resetBestFrame;
|
|
10611
10621
|
useEffect(function () {
|
|
10612
10622
|
dispatchIdCaptureAction({
|
|
10613
10623
|
type: 'configureWizard',
|
|
@@ -10627,6 +10637,7 @@ var IdCaptureWizard = function IdCaptureWizard(_a) {
|
|
|
10627
10637
|
if (documentCount) resetBestFrame();
|
|
10628
10638
|
}, [documentCount, resetBestFrame]);
|
|
10629
10639
|
var isFallbackMode = forceFallbackMode || modelError;
|
|
10640
|
+
var lastDocumentDetectedAt = useRef(_assign({}, lastDocumentDetectedAtDefaults));
|
|
10630
10641
|
var logCaptureMetadata = useCallback(function (metadata) {
|
|
10631
10642
|
var _a = useIdCaptureStore.getState(),
|
|
10632
10643
|
captureState = _a.captureState,
|
|
@@ -10649,12 +10660,20 @@ var IdCaptureWizard = function IdCaptureWizard(_a) {
|
|
|
10649
10660
|
}, [overlayDismissed, start, state.captureState]);
|
|
10650
10661
|
useEffect(function () {
|
|
10651
10662
|
onPredictionMade(function (prediction) {
|
|
10652
|
-
var _a
|
|
10653
|
-
|
|
10654
|
-
|
|
10663
|
+
var _a;
|
|
10664
|
+
var _b = useIdCaptureStore.getState(),
|
|
10665
|
+
captureState = _b.captureState,
|
|
10666
|
+
requestedDocumentType = _b.requestedDocumentType;
|
|
10655
10667
|
var k = "".concat(requestedDocumentType, "DetectionThresholdMet");
|
|
10656
10668
|
var thresholdMet = prediction[k];
|
|
10657
10669
|
if (captureState === 'capturing') {
|
|
10670
|
+
if (prediction.detectedDocumentType !== 'none') {
|
|
10671
|
+
var now = Date.now();
|
|
10672
|
+
if (!lastDocumentDetectedAt.current[prediction.detectedDocumentType] || documentDetectionThrottleMs && now - ((_a = lastDocumentDetectedAt.current[prediction.detectedDocumentType]) !== null && _a !== void 0 ? _a : 0) > documentDetectionThrottleMs) {
|
|
10673
|
+
lastDocumentDetectedAt.current[prediction.detectedDocumentType] = now;
|
|
10674
|
+
onDocumentDetected === null || onDocumentDetected === void 0 ? void 0 : onDocumentDetected(prediction.detectedDocumentType);
|
|
10675
|
+
}
|
|
10676
|
+
}
|
|
10658
10677
|
dispatchIdCaptureAction({
|
|
10659
10678
|
type: 'objectsDetected',
|
|
10660
10679
|
payload: {
|
|
@@ -10675,6 +10694,7 @@ var IdCaptureWizard = function IdCaptureWizard(_a) {
|
|
|
10675
10694
|
var onCapture = useCallback(function (imageData, width, height, documentType, metadata) {
|
|
10676
10695
|
logCaptureMetadata(metadata);
|
|
10677
10696
|
onDocumentCaptured === null || onDocumentCaptured === void 0 ? void 0 : onDocumentCaptured(metadata);
|
|
10697
|
+
lastDocumentDetectedAt.current = _assign({}, lastDocumentDetectedAtDefaults);
|
|
10678
10698
|
dispatchIdCaptureAction({
|
|
10679
10699
|
type: 'documentCaptured',
|
|
10680
10700
|
payload: {
|
|
@@ -10720,9 +10740,9 @@ var IdCaptureWizard = function IdCaptureWizard(_a) {
|
|
|
10720
10740
|
type: 'resetWizard'
|
|
10721
10741
|
});
|
|
10722
10742
|
}, []);
|
|
10723
|
-
var
|
|
10724
|
-
attempt =
|
|
10725
|
-
setAttempt =
|
|
10743
|
+
var _9 = useState(0),
|
|
10744
|
+
attempt = _9[0],
|
|
10745
|
+
setAttempt = _9[1];
|
|
10726
10746
|
var onExit = useCallback(function () {
|
|
10727
10747
|
releaseCameraAccess();
|
|
10728
10748
|
setOverlayDismissed(false);
|
|
@@ -10813,9 +10833,9 @@ var IdCaptureWizard = function IdCaptureWizard(_a) {
|
|
|
10813
10833
|
});
|
|
10814
10834
|
});
|
|
10815
10835
|
}, []);
|
|
10816
|
-
var
|
|
10817
|
-
progressStarted =
|
|
10818
|
-
setProgressStarted =
|
|
10836
|
+
var _10 = useState(false),
|
|
10837
|
+
progressStarted = _10[0],
|
|
10838
|
+
setProgressStarted = _10[1];
|
|
10819
10839
|
useEffect(function () {
|
|
10820
10840
|
if (state.captureState === 'capturing') {
|
|
10821
10841
|
setProgressStarted(false);
|
|
@@ -16446,28 +16466,31 @@ var IdValidation = function IdValidation(_a) {
|
|
|
16446
16466
|
onCameraAccessDenied = _a.onCameraAccessDenied,
|
|
16447
16467
|
onCameraTamperingDetected = _a.onCameraTamperingDetected,
|
|
16448
16468
|
onDocumentCaptured = _a.onDocumentCaptured,
|
|
16449
|
-
|
|
16450
|
-
|
|
16451
|
-
|
|
16452
|
-
|
|
16453
|
-
|
|
16454
|
-
|
|
16455
|
-
|
|
16456
|
-
|
|
16457
|
-
|
|
16458
|
-
|
|
16459
|
-
|
|
16460
|
-
|
|
16461
|
-
|
|
16462
|
-
|
|
16463
|
-
|
|
16464
|
-
|
|
16465
|
-
|
|
16466
|
-
|
|
16467
|
-
|
|
16468
|
-
|
|
16469
|
-
|
|
16470
|
-
|
|
16469
|
+
onDocumentDetected = _a.onDocumentDetected,
|
|
16470
|
+
_w = _a.documentDetectionThrottleMs,
|
|
16471
|
+
documentDetectionThrottleMs = _w === void 0 ? 0 : _w,
|
|
16472
|
+
_x = _a.theme,
|
|
16473
|
+
theme = _x === void 0 ? 'default' : _x,
|
|
16474
|
+
_y = _a.assets,
|
|
16475
|
+
assets = _y === void 0 ? {} : _y,
|
|
16476
|
+
_z = _a.classNames,
|
|
16477
|
+
classNames = _z === void 0 ? {} : _z,
|
|
16478
|
+
_0 = _a.colors,
|
|
16479
|
+
colors = _0 === void 0 ? {} : _0,
|
|
16480
|
+
_1 = _a.verbiage,
|
|
16481
|
+
verbiage = _1 === void 0 ? {} : _1,
|
|
16482
|
+
_2 = _a.captureSignature,
|
|
16483
|
+
captureSignature = _2 === void 0 ? false : _2,
|
|
16484
|
+
_3 = _a.captureSignatureVideo,
|
|
16485
|
+
captureSignatureVideo = _3 === void 0 ? false : _3,
|
|
16486
|
+
_4 = _a.captureAdditionalDocuments,
|
|
16487
|
+
captureAdditionalDocuments = _4 === void 0 ? [] : _4,
|
|
16488
|
+
_5 = _a.geolocationEnabled,
|
|
16489
|
+
geolocationEnabled = _5 === void 0 ? true : _5,
|
|
16490
|
+
_6 = _a.geolocationRequired,
|
|
16491
|
+
geolocationRequired = _6 === void 0 ? false : _6,
|
|
16492
|
+
_7 = _a.debugMode,
|
|
16493
|
+
debugMode = _7 === void 0 ? false : _7;
|
|
16471
16494
|
useLanguage(lang);
|
|
16472
16495
|
useDebugLogging(debugMode);
|
|
16473
16496
|
var idCaptureProps = useMemo(function () {
|
|
@@ -16480,6 +16503,8 @@ var IdValidation = function IdValidation(_a) {
|
|
|
16480
16503
|
onUserCancel: onUserCancel,
|
|
16481
16504
|
onModelError: onModelError,
|
|
16482
16505
|
onDocumentCaptured: onDocumentCaptured,
|
|
16506
|
+
onDocumentDetected: onDocumentDetected,
|
|
16507
|
+
documentDetectionThrottleMs: documentDetectionThrottleMs,
|
|
16483
16508
|
precapturedDocuments: precapturedDocuments,
|
|
16484
16509
|
captureRequirement: idCaptureRequirement,
|
|
16485
16510
|
allowSinglePageIdCapture: allowSinglePageIdCapture,
|
|
@@ -16507,7 +16532,7 @@ var IdValidation = function IdValidation(_a) {
|
|
|
16507
16532
|
verbiage: verbiage,
|
|
16508
16533
|
debugMode: debugMode
|
|
16509
16534
|
};
|
|
16510
|
-
}, [onLoadingStarted, onLoadingProgress, onLoadingCompleted, onLoadingFailed, onExitCapture, onUserCancel, onModelError, onDocumentCaptured, precapturedDocuments, idCaptureRequirement, allowSinglePageIdCapture, separateIdCardCaptureSequence, idCaptureThresholds, skipSuccessScreen, loadingOverlayMode, customOverlayContent, onLoadingOverlayDismissed, forceFallbackMode, silentFallback, allowIdCardBackToFrontCapture, allowUploadingDocumentsFromStorage, instructions, guideType, guideImages, portraitGuidesOnMobile, rotateLoadingOverlayImageWhenPortrait, modelLoadTimeoutMs, enableOverrideWrongDocumentTypeDialog, allowOverrideWrongDocumentTypeAfterMs, assets, classNames, colors, verbiage, debugMode]);
|
|
16535
|
+
}, [onLoadingStarted, onLoadingProgress, onLoadingCompleted, onLoadingFailed, onExitCapture, onUserCancel, onModelError, onDocumentCaptured, onDocumentDetected, documentDetectionThrottleMs, precapturedDocuments, idCaptureRequirement, allowSinglePageIdCapture, separateIdCardCaptureSequence, idCaptureThresholds, skipSuccessScreen, loadingOverlayMode, customOverlayContent, onLoadingOverlayDismissed, forceFallbackMode, silentFallback, allowIdCardBackToFrontCapture, allowUploadingDocumentsFromStorage, instructions, guideType, guideImages, portraitGuidesOnMobile, rotateLoadingOverlayImageWhenPortrait, modelLoadTimeoutMs, enableOverrideWrongDocumentTypeDialog, allowOverrideWrongDocumentTypeAfterMs, assets, classNames, colors, verbiage, debugMode]);
|
|
16511
16536
|
var additionalDocumentCaptureProps = useMemo(function () {
|
|
16512
16537
|
return {
|
|
16513
16538
|
documents: captureAdditionalDocuments,
|