idmission-web-sdk 2.1.89 → 2.1.91
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/lib/models/defaults/Focus.d.ts +1 -1
- package/dist/sdk2.cjs.development.js +14 -14
- 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 +14 -14
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +14 -14
- 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
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
216
216
|
};
|
|
217
217
|
|
|
218
|
-
var webSdkVersion = '2.1.
|
|
218
|
+
var webSdkVersion = '2.1.91';
|
|
219
219
|
|
|
220
220
|
function getPlatform() {
|
|
221
221
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -8716,7 +8716,7 @@
|
|
|
8716
8716
|
|
|
8717
8717
|
var defaultDocumentDetectorModelPath = "".concat(DEFAULT_CDN_URL, "/models/docdetectmp20240825/model_fp16.tflite");
|
|
8718
8718
|
|
|
8719
|
-
var defaultFocusModelPath = "".concat(DEFAULT_CDN_URL, "/models/Focus/Focus-
|
|
8719
|
+
var defaultFocusModelPath = "".concat(DEFAULT_CDN_URL, "/models/Focus/Focus-20241008_102708.tflite");
|
|
8720
8720
|
|
|
8721
8721
|
var defaultFaceDetectorModelPath = "".concat(DEFAULT_CDN_URL, "/models/blazeface20240207/blaze_face_short_range.tflite");
|
|
8722
8722
|
|
|
@@ -17314,7 +17314,7 @@
|
|
|
17314
17314
|
borderOpacity: 0.25,
|
|
17315
17315
|
borderColor: wavesColor,
|
|
17316
17316
|
borderWidth: borderWidth,
|
|
17317
|
-
className: "
|
|
17317
|
+
className: "idmSdkWaves"
|
|
17318
17318
|
}), /*#__PURE__*/React.createElement(IdCardBorderSvg, {
|
|
17319
17319
|
width: width,
|
|
17320
17320
|
height: height,
|
|
@@ -17322,7 +17322,7 @@
|
|
|
17322
17322
|
borderOpacity: 0.25,
|
|
17323
17323
|
borderColor: wavesColor,
|
|
17324
17324
|
borderWidth: borderWidth,
|
|
17325
|
-
className: "
|
|
17325
|
+
className: "idmSdkWaves"
|
|
17326
17326
|
}), /*#__PURE__*/React.createElement(IdCardBorderSvg, {
|
|
17327
17327
|
width: width,
|
|
17328
17328
|
height: height,
|
|
@@ -17330,14 +17330,14 @@
|
|
|
17330
17330
|
borderOpacity: 0.25,
|
|
17331
17331
|
borderColor: wavesColor,
|
|
17332
17332
|
borderWidth: borderWidth,
|
|
17333
|
-
className: "
|
|
17333
|
+
className: "idmSdkWaves"
|
|
17334
17334
|
}))), /*#__PURE__*/React.createElement(IdCardBorderSvg, {
|
|
17335
17335
|
width: width,
|
|
17336
17336
|
height: height,
|
|
17337
17337
|
borderRadius: borderRadius,
|
|
17338
17338
|
borderColor: borderColor,
|
|
17339
17339
|
borderWidth: borderWidth,
|
|
17340
|
-
className: "
|
|
17340
|
+
className: "idmSdkWavesOrigin"
|
|
17341
17341
|
}), (status === 'capturing' || progress > 0) && ( /*#__PURE__*/React.createElement(IdCardBorderSvg, {
|
|
17342
17342
|
key: "progress".concat(progressResets),
|
|
17343
17343
|
width: width,
|
|
@@ -17401,12 +17401,12 @@
|
|
|
17401
17401
|
strokeOpacity: borderOpacity,
|
|
17402
17402
|
strokeDashoffset: isProgressBar ? resolvedProgress : undefined,
|
|
17403
17403
|
strokeDasharray: isProgressBar ? totalLength : undefined,
|
|
17404
|
-
className: isProgressBar ? "
|
|
17404
|
+
className: isProgressBar ? "idmSdkProgressBorder ".concat(progressPaused ? 'idmSdkProgressPaused' : '') : ''
|
|
17405
17405
|
}));
|
|
17406
17406
|
}
|
|
17407
|
-
var IdCardBorderContainer = styled.div(templateObject_3$j || (templateObject_3$j = __makeTemplateObject(["\n & > .
|
|
17407
|
+
var IdCardBorderContainer = styled.div(templateObject_3$j || (templateObject_3$j = __makeTemplateObject(["\n & > .idmSdkWaves {\n position: absolute;\n animation: glow-grow 2s ease-out infinite;\n\n &:nth-child(2) {\n animation-delay: 0.66s;\n }\n\n &:nth-child(3) {\n animation-delay: 1.33s;\n }\n }\n\n @keyframes glow-grow {\n 0% {\n opacity: 0;\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n }\n 100% {\n transform: scale(2);\n opacity: 0;\n }\n }\n"], ["\n & > .idmSdkWaves {\n position: absolute;\n animation: glow-grow 2s ease-out infinite;\n\n &:nth-child(2) {\n animation-delay: 0.66s;\n }\n\n &:nth-child(3) {\n animation-delay: 1.33s;\n }\n }\n\n @keyframes glow-grow {\n 0% {\n opacity: 0;\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n }\n 100% {\n transform: scale(2);\n opacity: 0;\n }\n }\n"])));
|
|
17408
17408
|
var SvgOverlay = styled.svg(templateObject_4$d || (templateObject_4$d = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n"])));
|
|
17409
|
-
var IdCardBorderRect = styled.rect(templateObject_5$8 || (templateObject_5$8 = __makeTemplateObject(["\n &.
|
|
17409
|
+
var IdCardBorderRect = styled.rect(templateObject_5$8 || (templateObject_5$8 = __makeTemplateObject(["\n &.idmSdkProgressBorder {\n animation: dash ", "\n ", ";\n }\n\n &.idmSdkProgressPaused {\n animation-play-state: paused;\n }\n\n @keyframes dash {\n to {\n stroke-dashoffset: 0;\n }\n }\n"], ["\n &.idmSdkProgressBorder {\n animation: dash ", "\n ", ";\n }\n\n &.idmSdkProgressPaused {\n animation-play-state: paused;\n }\n\n @keyframes dash {\n to {\n stroke-dashoffset: 0;\n }\n }\n"])), function (props) {
|
|
17410
17410
|
var _a;
|
|
17411
17411
|
return (_a = props.$speed) !== null && _a !== void 0 ? _a : '3s';
|
|
17412
17412
|
}, function (props) {
|
|
@@ -19733,7 +19733,7 @@
|
|
|
19733
19733
|
}))));
|
|
19734
19734
|
});
|
|
19735
19735
|
HeadGuideSvg.displayName = 'HeadGuideSvg';
|
|
19736
|
-
var PulsingHeadGuideContainer = styled.div(templateObject_1$k || (templateObject_1$k = __makeTemplateObject(["\n display: flex;\n position: relative;\n height: 100%;\n max-height: 100%;\n\n & > .
|
|
19736
|
+
var PulsingHeadGuideContainer = styled.div(templateObject_1$k || (templateObject_1$k = __makeTemplateObject(["\n display: flex;\n position: relative;\n height: 100%;\n max-height: 100%;\n\n & > .idmSdkWaves {\n position: absolute;\n animation: glow-grow 2s ease-out infinite;\n\n &:nth-child(2) {\n animation-delay: 0.66s;\n }\n\n &:nth-child(3) {\n animation-delay: 1.33s;\n }\n }\n\n & > .idmSdkWavesOrigin {\n position: relative;\n }\n\n @keyframes glow-grow {\n 0% {\n opacity: 0;\n transform: scale(1);\n }\n 80% {\n opacity: 1;\n }\n 100% {\n transform: scale(2);\n opacity: 0;\n }\n }\n"], ["\n display: flex;\n position: relative;\n height: 100%;\n max-height: 100%;\n\n & > .idmSdkWaves {\n position: absolute;\n animation: glow-grow 2s ease-out infinite;\n\n &:nth-child(2) {\n animation-delay: 0.66s;\n }\n\n &:nth-child(3) {\n animation-delay: 1.33s;\n }\n }\n\n & > .idmSdkWavesOrigin {\n position: relative;\n }\n\n @keyframes glow-grow {\n 0% {\n opacity: 0;\n transform: scale(1);\n }\n 80% {\n opacity: 1;\n }\n 100% {\n transform: scale(2);\n opacity: 0;\n }\n }\n"])));
|
|
19737
19737
|
function HeadGuide(_a) {
|
|
19738
19738
|
var _b;
|
|
19739
19739
|
var _c = _a.status,
|
|
@@ -19757,19 +19757,19 @@
|
|
|
19757
19757
|
return /*#__PURE__*/React.createElement(PulsingHeadGuideContainer, {
|
|
19758
19758
|
ref: parentRef
|
|
19759
19759
|
}, status === 'ready' && ( /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(HeadGuideSvg, _assign({}, props, {
|
|
19760
|
-
className: "
|
|
19760
|
+
className: "idmSdkWaves",
|
|
19761
19761
|
borderOpacity: 0.25,
|
|
19762
19762
|
borderColor: "#287ec6",
|
|
19763
19763
|
width: scaledWidth,
|
|
19764
19764
|
height: parentHeight
|
|
19765
19765
|
})), /*#__PURE__*/React.createElement(HeadGuideSvg, _assign({}, props, {
|
|
19766
|
-
className: "
|
|
19766
|
+
className: "idmSdkWaves",
|
|
19767
19767
|
borderOpacity: 0.25,
|
|
19768
19768
|
borderColor: "#287ec6",
|
|
19769
19769
|
width: scaledWidth,
|
|
19770
19770
|
height: parentHeight
|
|
19771
19771
|
})), /*#__PURE__*/React.createElement(HeadGuideSvg, _assign({}, props, {
|
|
19772
|
-
className: "
|
|
19772
|
+
className: "idmSdkWaves",
|
|
19773
19773
|
borderOpacity: 0.25,
|
|
19774
19774
|
borderColor: "#287ec6",
|
|
19775
19775
|
width: scaledWidth,
|
|
@@ -19777,7 +19777,7 @@
|
|
|
19777
19777
|
})))), /*#__PURE__*/React.createElement(HeadGuideSvg, _assign({}, props, {
|
|
19778
19778
|
ref: ref,
|
|
19779
19779
|
borderOpacity: 1,
|
|
19780
|
-
className: "
|
|
19780
|
+
className: "idmSdkWavesOrigin ".concat((_b = props.className) !== null && _b !== void 0 ? _b : ''),
|
|
19781
19781
|
status: status,
|
|
19782
19782
|
width: scaledWidth,
|
|
19783
19783
|
height: parentHeight
|