idmission-web-sdk 2.2.89 → 2.2.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/sdk2.cjs.development.js +7 -7
- 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 +7 -7
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +7 -7
- 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 +3 -3
|
@@ -234,7 +234,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
234
234
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
235
235
|
};
|
|
236
236
|
|
|
237
|
-
var webSdkVersion = '2.2.
|
|
237
|
+
var webSdkVersion = '2.2.91';
|
|
238
238
|
|
|
239
239
|
function getPlatform() {
|
|
240
240
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -7362,8 +7362,8 @@ function IdCardBorder(_a) {
|
|
|
7362
7362
|
var theme = styled.useTheme();
|
|
7363
7363
|
var wavesDisabled = (_d = (_c = (_b = theme.idCapture) === null || _b === void 0 ? void 0 : _b.guideBox) === null || _c === void 0 ? void 0 : _c.wavesDisabled) !== null && _d !== void 0 ? _d : false;
|
|
7364
7364
|
var wavesColor = (_g = (_f = (_e = theme.idCapture) === null || _e === void 0 ? void 0 : _e.guideBox) === null || _f === void 0 ? void 0 : _f.wavesColor) !== null && _g !== void 0 ? _g : '#287ec6';
|
|
7365
|
-
var progressBarColor = (_k = (_j = (_h = theme.idCapture) === null || _h === void 0 ? void 0 : _h.guideBox) === null || _j === void 0 ? void 0 : _j.progressBarColor) !== null && _k !== void 0 ? _k :
|
|
7366
|
-
var progressBarIndicatorColor = (_o = (_m = (_l = theme.idCapture) === null || _l === void 0 ? void 0 : _l.guideBox) === null || _m === void 0 ? void 0 : _m.progressBarIndicatorColor) !== null && _o !== void 0 ? _o :
|
|
7365
|
+
var progressBarColor = (_k = (_j = (_h = theme.idCapture) === null || _h === void 0 ? void 0 : _h.guideBox) === null || _j === void 0 ? void 0 : _j.progressBarColor) !== null && _k !== void 0 ? _k : borderColor;
|
|
7366
|
+
var progressBarIndicatorColor = (_o = (_m = (_l = theme.idCapture) === null || _l === void 0 ? void 0 : _l.guideBox) === null || _m === void 0 ? void 0 : _m.progressBarIndicatorColor) !== null && _o !== void 0 ? _o : '#287ec6';
|
|
7367
7367
|
var progressBarWidth = (_r = (_q = (_p = theme.idCapture) === null || _p === void 0 ? void 0 : _p.guideBox) === null || _q === void 0 ? void 0 : _q.progressBarWidth) !== null && _r !== void 0 ? _r : borderWidth;
|
|
7368
7368
|
return /*#__PURE__*/React__namespace.default.createElement(IdCardBorderContainer, _assign({}, props), /*#__PURE__*/React__namespace.default.createElement("div", {
|
|
7369
7369
|
ref: ref,
|
|
@@ -7398,7 +7398,7 @@ function IdCardBorder(_a) {
|
|
|
7398
7398
|
width: width,
|
|
7399
7399
|
height: height,
|
|
7400
7400
|
borderRadius: borderRadius,
|
|
7401
|
-
borderColor:
|
|
7401
|
+
borderColor: progressBarColor,
|
|
7402
7402
|
borderWidth: progressBarWidth,
|
|
7403
7403
|
className: "idmSdkWavesOrigin"
|
|
7404
7404
|
}), (status === 'capturing' || progress > 0) && ( /*#__PURE__*/React__namespace.default.createElement(IdCardBorderSvg, {
|
|
@@ -7406,7 +7406,7 @@ function IdCardBorder(_a) {
|
|
|
7406
7406
|
width: width,
|
|
7407
7407
|
height: height,
|
|
7408
7408
|
borderRadius: borderRadius,
|
|
7409
|
-
borderColor:
|
|
7409
|
+
borderColor: progressBarIndicatorColor,
|
|
7410
7410
|
borderWidth: progressBarWidth,
|
|
7411
7411
|
isProgressBar: true,
|
|
7412
7412
|
progress: progress,
|
|
@@ -14742,8 +14742,8 @@ var defaultTheme = {
|
|
|
14742
14742
|
imagePadding: 50,
|
|
14743
14743
|
wavesDisabled: false,
|
|
14744
14744
|
wavesColor: '#287ec6',
|
|
14745
|
-
progressBarColor: '
|
|
14746
|
-
progressBarIndicatorColor: '
|
|
14745
|
+
progressBarColor: 'white',
|
|
14746
|
+
progressBarIndicatorColor: '#287ec6',
|
|
14747
14747
|
progressBarWidth: '2.5%'
|
|
14748
14748
|
}
|
|
14749
14749
|
},
|