idmission-web-sdk 2.2.87 → 2.2.89
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/id_capture/IdCaptureGuidesCommon.d.ts.map +1 -1
- package/dist/components/id_capture/IdCaptureOrUploadScreen.d.ts.map +1 -1
- package/dist/sdk2.cjs.development.js +66 -45
- 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 +66 -45
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +66 -45
- 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/themes/index.d.ts +2 -0
- package/dist/themes/index.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +3 -3
|
@@ -211,7 +211,7 @@
|
|
|
211
211
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
212
212
|
};
|
|
213
213
|
|
|
214
|
-
var webSdkVersion = '2.2.
|
|
214
|
+
var webSdkVersion = '2.2.89';
|
|
215
215
|
|
|
216
216
|
function getPlatform() {
|
|
217
217
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -15966,8 +15966,8 @@
|
|
|
15966
15966
|
});
|
|
15967
15967
|
var LoadingListContainer$1 = styled.div(templateObject_9$3 || (templateObject_9$3 = __makeTemplateObject(["\n display: flex;\n position: relative;\n z-index: 2;\n"], ["\n display: flex;\n position: relative;\n z-index: 2;\n"])));
|
|
15968
15968
|
var LoadingList$1 = styled.ul(templateObject_10$2 || (templateObject_10$2 = __makeTemplateObject(["\n display: block;\n margin: auto;\n list-style: none;\n padding: 0;\n"], ["\n display: block;\n margin: auto;\n list-style: none;\n padding: 0;\n"])));
|
|
15969
|
-
var LoadingListItem$1 = styled.li(templateObject_11$
|
|
15970
|
-
var ProgressContainer$1 = styled.div(templateObject_12$
|
|
15969
|
+
var LoadingListItem$1 = styled.li(templateObject_11$2 || (templateObject_11$2 = __makeTemplateObject(["\n display: inline-flex;\n justify-content: center;\n align-items: center;\n padding: 2px 1.25rem 2px 0;\n line-height: 1rem;\n"], ["\n display: inline-flex;\n justify-content: center;\n align-items: center;\n padding: 2px 1.25rem 2px 0;\n line-height: 1rem;\n"])));
|
|
15970
|
+
var ProgressContainer$1 = styled.div(templateObject_12$2 || (templateObject_12$2 = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n"])));
|
|
15971
15971
|
var ProgressBarBackground$1 = styled.div(templateObject_13$1 || (templateObject_13$1 = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: ", ";\n opacity: ", ";\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: ", ";\n opacity: ", ";\n"])), function (props) {
|
|
15972
15972
|
var _a, _b, _c, _d;
|
|
15973
15973
|
return (_d = (_c = (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.idCapture) === null || _b === void 0 ? void 0 : _b.loadingOverlay) === null || _c === void 0 ? void 0 : _c.progressBarBackgroundColor) !== null && _d !== void 0 ? _d : 'var(--idm-color-positive-600)';
|
|
@@ -15991,7 +15991,7 @@
|
|
|
15991
15991
|
var _a, _b, _c, _d, _e, _f;
|
|
15992
15992
|
return ((_c = (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.idCapture) === null || _b === void 0 ? void 0 : _b.loadingOverlay) === null || _c === void 0 ? void 0 : _c.continueBtnBorder) ? "border: ".concat((_f = (_e = (_d = props.theme) === null || _d === void 0 ? void 0 : _d.idCapture) === null || _e === void 0 ? void 0 : _e.loadingOverlay) === null || _f === void 0 ? void 0 : _f.continueBtnBorder, ";") : '';
|
|
15993
15993
|
});
|
|
15994
|
-
var templateObject_1$z, templateObject_2$u, templateObject_3$m, templateObject_4$g, templateObject_5$b, templateObject_6$9, templateObject_7$6, templateObject_8$3, templateObject_9$3, templateObject_10$2, templateObject_11$
|
|
15994
|
+
var templateObject_1$z, templateObject_2$u, templateObject_3$m, templateObject_4$g, templateObject_5$b, templateObject_6$9, templateObject_7$6, templateObject_8$3, templateObject_9$3, templateObject_10$2, templateObject_11$2, templateObject_12$2, templateObject_13$1, templateObject_14$1, templateObject_15$1, templateObject_16, templateObject_17, templateObject_18;
|
|
15995
15995
|
|
|
15996
15996
|
function _createForOfIteratorHelperLoose(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (t) return (t = t.call(r)).next.bind(t); if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e) { t && (r = t); var o = 0; return function () { return o >= r.length ? { done: !0 } : { done: !1, value: r[o++] }; }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
15997
15997
|
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
@@ -16372,29 +16372,29 @@
|
|
|
16372
16372
|
return props.$isInvisible ? 'opacity: 0;' : '';
|
|
16373
16373
|
});
|
|
16374
16374
|
function IdCardBorder(_a) {
|
|
16375
|
-
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
16375
|
+
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
16376
16376
|
var children = _a.children,
|
|
16377
|
-
|
|
16378
|
-
status =
|
|
16379
|
-
|
|
16380
|
-
borderWidth =
|
|
16381
|
-
|
|
16382
|
-
borderRadius =
|
|
16383
|
-
|
|
16384
|
-
borderColor =
|
|
16377
|
+
_s = _a.status,
|
|
16378
|
+
status = _s === void 0 ? 'ready' : _s,
|
|
16379
|
+
_t = _a.borderWidth,
|
|
16380
|
+
borderWidth = _t === void 0 ? 20 : _t,
|
|
16381
|
+
_u = _a.borderRadius,
|
|
16382
|
+
borderRadius = _u === void 0 ? 25 : _u,
|
|
16383
|
+
_v = _a.borderColor,
|
|
16384
|
+
borderColor = _v === void 0 ? 'white' : _v,
|
|
16385
16385
|
aspectRatio = _a.aspectRatio,
|
|
16386
|
-
|
|
16387
|
-
progress =
|
|
16386
|
+
_w = _a.progress,
|
|
16387
|
+
progress = _w === void 0 ? 0 : _w,
|
|
16388
16388
|
props = __rest(_a, ["children", "status", "borderWidth", "borderRadius", "borderColor", "aspectRatio", "progress"]);
|
|
16389
|
-
var
|
|
16390
|
-
ref =
|
|
16391
|
-
|
|
16392
|
-
width =
|
|
16393
|
-
|
|
16394
|
-
height =
|
|
16395
|
-
var
|
|
16396
|
-
progressResets =
|
|
16397
|
-
setProgressResets =
|
|
16389
|
+
var _x = useResizeObserver(),
|
|
16390
|
+
ref = _x.ref,
|
|
16391
|
+
_y = _x.width,
|
|
16392
|
+
width = _y === void 0 ? 0 : _y,
|
|
16393
|
+
_z = _x.height,
|
|
16394
|
+
height = _z === void 0 ? 0 : _z;
|
|
16395
|
+
var _0 = React.useState(0),
|
|
16396
|
+
progressResets = _0[0],
|
|
16397
|
+
setProgressResets = _0[1];
|
|
16398
16398
|
React.useEffect(function () {
|
|
16399
16399
|
if (progress === 0 && status === 'capturing') {
|
|
16400
16400
|
setProgressResets(function (n) {
|
|
@@ -16406,7 +16406,8 @@
|
|
|
16406
16406
|
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;
|
|
16407
16407
|
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';
|
|
16408
16408
|
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 : '#287ec6';
|
|
16409
|
-
var
|
|
16409
|
+
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 : borderColor;
|
|
16410
|
+
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;
|
|
16410
16411
|
return /*#__PURE__*/React.createElement(IdCardBorderContainer, _assign({}, props), /*#__PURE__*/React.createElement("div", {
|
|
16411
16412
|
ref: ref,
|
|
16412
16413
|
style: {
|
|
@@ -16440,7 +16441,7 @@
|
|
|
16440
16441
|
width: width,
|
|
16441
16442
|
height: height,
|
|
16442
16443
|
borderRadius: borderRadius,
|
|
16443
|
-
borderColor:
|
|
16444
|
+
borderColor: progressBarIndicatorColor,
|
|
16444
16445
|
borderWidth: progressBarWidth,
|
|
16445
16446
|
className: "idmSdkWavesOrigin"
|
|
16446
16447
|
}), (status === 'capturing' || progress > 0) && ( /*#__PURE__*/React.createElement(IdCardBorderSvg, {
|
|
@@ -16449,7 +16450,7 @@
|
|
|
16449
16450
|
height: height,
|
|
16450
16451
|
borderRadius: borderRadius,
|
|
16451
16452
|
borderColor: progressBarColor,
|
|
16452
|
-
borderWidth:
|
|
16453
|
+
borderWidth: progressBarWidth,
|
|
16453
16454
|
isProgressBar: true,
|
|
16454
16455
|
progress: progress,
|
|
16455
16456
|
progressPaused: progress > 0 && status !== 'capturing'
|
|
@@ -18266,12 +18267,8 @@
|
|
|
18266
18267
|
payload: 'passport'
|
|
18267
18268
|
});
|
|
18268
18269
|
}
|
|
18269
|
-
}, verbiage.passportText, /*#__PURE__*/React.createElement(ArrowIcon, null))), /*#__PURE__*/React.createElement(
|
|
18270
|
-
className: classNames.selectIdCardTypePanel
|
|
18271
|
-
style: {
|
|
18272
|
-
background: 'white',
|
|
18273
|
-
padding: '80px 0'
|
|
18274
|
-
}
|
|
18270
|
+
}, verbiage.passportText, /*#__PURE__*/React.createElement(ArrowIcon, null))), /*#__PURE__*/React.createElement(SelectIdCardScreenPanel, {
|
|
18271
|
+
className: classNames.selectIdCardTypePanel
|
|
18275
18272
|
}, /*#__PURE__*/React.createElement(IdDocumentIcon, {
|
|
18276
18273
|
className: classNames.selectIdCardTypeIcon
|
|
18277
18274
|
}), /*#__PURE__*/React.createElement(Button, {
|
|
@@ -18288,7 +18285,7 @@
|
|
|
18288
18285
|
onClick: function onClick() {
|
|
18289
18286
|
return setSelectIdTypeModalOpen(false);
|
|
18290
18287
|
}
|
|
18291
|
-
},
|
|
18288
|
+
}, /*#__PURE__*/React.createElement(XIcon, null)))));
|
|
18292
18289
|
}
|
|
18293
18290
|
function PassportUploadScreen(_a) {
|
|
18294
18291
|
var _b = _a.classNames,
|
|
@@ -18477,17 +18474,39 @@
|
|
|
18477
18474
|
return (_a = props.theme) === null || _a === void 0 ? void 0 : _a.fontFamily;
|
|
18478
18475
|
});
|
|
18479
18476
|
var ScreenPanel = styled.div(templateObject_2$j || (templateObject_2$j = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 100%;\n flex-grow: 1;\n background: #f7f6fb;\n box-sizing: border-box;\n padding: 40px;\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 100%;\n flex-grow: 1;\n background: #f7f6fb;\n box-sizing: border-box;\n padding: 40px;\n"])));
|
|
18480
|
-
var
|
|
18481
|
-
var
|
|
18482
|
-
var
|
|
18483
|
-
var
|
|
18484
|
-
var
|
|
18485
|
-
var
|
|
18486
|
-
var
|
|
18477
|
+
var SelectIdCardScreenPanel = styled(ScreenPanel)(templateObject_3$f || (templateObject_3$f = __makeTemplateObject(["\n background: white;\n padding: 80px 0;\n\n @media (max-height: 1000px) {\n padding: 40px 0;\n }\n"], ["\n background: white;\n padding: 80px 0;\n\n @media (max-height: 1000px) {\n padding: 40px 0;\n }\n"])));
|
|
18478
|
+
var ScreenPanelHeading = styled.h3(templateObject_4$9 || (templateObject_4$9 = __makeTemplateObject(["\n margin: 0 0 30px;\n"], ["\n margin: 0 0 30px;\n"])));
|
|
18479
|
+
var ScreenActionsBar = styled.div(templateObject_5$5 || (templateObject_5$5 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: end;\n gap: 20px;\n padding: 20px;\n width: 100%;\n box-sizing: border-box;\n border-top: 1px solid #ccc;\n\n @media (max-width: 600px) {\n justify-content: center;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: end;\n gap: 20px;\n padding: 20px;\n width: 100%;\n box-sizing: border-box;\n border-top: 1px solid #ccc;\n\n @media (max-width: 600px) {\n justify-content: center;\n }\n"])));
|
|
18480
|
+
var DashedSeparator = styled.div(templateObject_6$4 || (templateObject_6$4 = __makeTemplateObject(["\n width: 100%;\n height: 0;\n border-top: 2px solid #606060;\n border-top-style: dashed;\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n width: 100%;\n height: 0;\n border-top: 2px solid #606060;\n border-top-style: dashed;\n display: flex;\n align-items: center;\n justify-content: center;\n"])));
|
|
18481
|
+
var OrWrapper = styled.div(templateObject_7$3 || (templateObject_7$3 = __makeTemplateObject(["\n color: #323232;\n font-weight: bold;\n background: white;\n border-radius: 50%;\n top: -2px;\n position: relative;\n width: 60px;\n height: 60px;\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n color: #323232;\n font-weight: bold;\n background: white;\n border-radius: 50%;\n top: -2px;\n position: relative;\n width: 60px;\n height: 60px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])));
|
|
18482
|
+
var Button = styled(WideBorderButton)(templateObject_8$1 || (templateObject_8$1 = __makeTemplateObject(["\n width: auto;\n font-weight: 500;\n padding-left: 40px;\n padding-right: 40px;\n transition: background-color 0.3s ease;\n background-color: #ffffff;\n white-space: nowrap;\n\n &:disabled,\n &.disabled {\n background-color: #f1f1f1 !important;\n border-color: #dbdbdb !important;\n color: #323232 !important;\n }\n\n &:hover {\n filter: none;\n background-color: #fafafa !important;\n }\n"], ["\n width: auto;\n font-weight: 500;\n padding-left: 40px;\n padding-right: 40px;\n transition: background-color 0.3s ease;\n background-color: #ffffff;\n white-space: nowrap;\n\n &:disabled,\n &.disabled {\n background-color: #f1f1f1 !important;\n border-color: #dbdbdb !important;\n color: #323232 !important;\n }\n\n &:hover {\n filter: none;\n background-color: #fafafa !important;\n }\n"])));
|
|
18483
|
+
var Modal = styled.div(templateObject_9$1 || (templateObject_9$1 = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: rgba(0, 0, 0, 0.5);\n z-index: 10000;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: rgba(0, 0, 0, 0.5);\n z-index: 10000;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n"])));
|
|
18484
|
+
var Dialog = styled.div(templateObject_10$1 || (templateObject_10$1 = __makeTemplateObject(["\n width: 100%;\n max-width: 500px;\n height: 100%;\n max-height: 600px;\n background: white;\n border-radius: 25px;\n overflow: auto;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);\n font-family: ", ";\n //margin: 25px;\n"], ["\n width: 100%;\n max-width: 500px;\n height: 100%;\n max-height: 600px;\n background: white;\n border-radius: 25px;\n overflow: auto;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);\n font-family: ", ";\n //margin: 25px;\n"])), function (props) {
|
|
18487
18485
|
var _a;
|
|
18488
18486
|
return (_a = props.theme) === null || _a === void 0 ? void 0 : _a.fontFamily;
|
|
18489
18487
|
});
|
|
18490
|
-
var ModalCloseButton = styled.button(
|
|
18488
|
+
var ModalCloseButton = styled.button(templateObject_11$1 || (templateObject_11$1 = __makeTemplateObject(["\n width: 60px;\n height: 60px;\n background: black;\n color: whitesmoke;\n border-radius: 50%;\n font-size: 32px;\n border: none;\n cursor: pointer;\n margin: 20px 0;\n box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);\n transition: background 0.3s ease;\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n padding: 0;\n\n &:hover {\n background: #222;\n color: white;\n }\n"], ["\n width: 60px;\n height: 60px;\n background: black;\n color: whitesmoke;\n border-radius: 50%;\n font-size: 32px;\n border: none;\n cursor: pointer;\n margin: 20px 0;\n box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);\n transition: background 0.3s ease;\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n padding: 0;\n\n &:hover {\n background: #222;\n color: white;\n }\n"])));
|
|
18489
|
+
function XIcon(props) {
|
|
18490
|
+
return /*#__PURE__*/React.createElement("svg", _assign({
|
|
18491
|
+
width: "25",
|
|
18492
|
+
height: "25",
|
|
18493
|
+
viewBox: "0 0 25 25",
|
|
18494
|
+
fill: "none",
|
|
18495
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
18496
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
18497
|
+
d: "M2.08435 23.0832L22.4206 2.42073",
|
|
18498
|
+
stroke: "white",
|
|
18499
|
+
strokeWidth: "3",
|
|
18500
|
+
strokeLinecap: "round",
|
|
18501
|
+
strokeLinejoin: "round"
|
|
18502
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
18503
|
+
d: "M1.91724 2.08386L22.5797 22.4201",
|
|
18504
|
+
stroke: "white",
|
|
18505
|
+
strokeWidth: "3",
|
|
18506
|
+
strokeLinecap: "round",
|
|
18507
|
+
strokeLinejoin: "round"
|
|
18508
|
+
}));
|
|
18509
|
+
}
|
|
18491
18510
|
function CameraIcon(props) {
|
|
18492
18511
|
return /*#__PURE__*/React.createElement("svg", _assign({
|
|
18493
18512
|
width: "91",
|
|
@@ -18568,7 +18587,7 @@
|
|
|
18568
18587
|
}));
|
|
18569
18588
|
}
|
|
18570
18589
|
function ArrowIcon(props) {
|
|
18571
|
-
return /*#__PURE__*/React.createElement(
|
|
18590
|
+
return /*#__PURE__*/React.createElement(InlineSvg, _assign({
|
|
18572
18591
|
width: "18",
|
|
18573
18592
|
height: "12",
|
|
18574
18593
|
viewBox: "0 0 18 12",
|
|
@@ -18717,6 +18736,7 @@
|
|
|
18717
18736
|
strokeWidth: "3"
|
|
18718
18737
|
}));
|
|
18719
18738
|
}
|
|
18739
|
+
var InlineSvg = styled.svg(templateObject_12$1 || (templateObject_12$1 = __makeTemplateObject(["\n display: inline;\n"], ["\n display: inline;\n"])));
|
|
18720
18740
|
function humanFileSize(bytes, si, dp) {
|
|
18721
18741
|
if (si === void 0) {
|
|
18722
18742
|
si = false;
|
|
@@ -18737,7 +18757,7 @@
|
|
|
18737
18757
|
} while (Math.round(Math.abs(bytes) * r) / r >= thresh && u < units.length - 1);
|
|
18738
18758
|
return bytes.toFixed(dp) + ' ' + units[u];
|
|
18739
18759
|
}
|
|
18740
|
-
var templateObject_1$l, templateObject_2$j, templateObject_3$f, templateObject_4$9, templateObject_5$5, templateObject_6$4, templateObject_7$3, templateObject_8$1, templateObject_9$1, templateObject_10$1;
|
|
18760
|
+
var templateObject_1$l, templateObject_2$j, templateObject_3$f, templateObject_4$9, templateObject_5$5, templateObject_6$4, templateObject_7$3, templateObject_8$1, templateObject_9$1, templateObject_10$1, templateObject_11$1, templateObject_12$1;
|
|
18741
18761
|
|
|
18742
18762
|
var IdCaptureWizard = function IdCaptureWizard(_a) {
|
|
18743
18763
|
var _b, _c, _d, _e, _f, _g;
|
|
@@ -20952,7 +20972,7 @@
|
|
|
20952
20972
|
var ProgressContainer = styled.div(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n"])));
|
|
20953
20973
|
var ProgressBarBackground = styled.div(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: ", ";\n opacity: ", ";\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: ", ";\n opacity: ", ";\n"])), function (props) {
|
|
20954
20974
|
var _a, _b, _c, _d;
|
|
20955
|
-
return (_d = (_c = (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.selfieCapture) === null || _b === void 0 ? void 0 : _b.loadingOverlay) === null || _c === void 0 ? void 0 : _c.
|
|
20975
|
+
return (_d = (_c = (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.selfieCapture) === null || _b === void 0 ? void 0 : _b.loadingOverlay) === null || _c === void 0 ? void 0 : _c.progressBarColor) !== null && _d !== void 0 ? _d : 'var(--idm-color-positive-600)';
|
|
20956
20976
|
}, function (props) {
|
|
20957
20977
|
var _a, _b, _c, _d;
|
|
20958
20978
|
return (_d = (_c = (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.selfieCapture) === null || _b === void 0 ? void 0 : _b.loadingOverlay) === null || _c === void 0 ? void 0 : _c.progressBarBackgroundOpacity) !== null && _d !== void 0 ? _d : 0.75;
|
|
@@ -24534,6 +24554,7 @@
|
|
|
24534
24554
|
wavesDisabled: false,
|
|
24535
24555
|
wavesColor: '#287ec6',
|
|
24536
24556
|
progressBarColor: '#287ec6',
|
|
24557
|
+
progressBarIndicatorColor: 'white',
|
|
24537
24558
|
progressBarWidth: '2.5%'
|
|
24538
24559
|
}
|
|
24539
24560
|
},
|