@regulaforensics/idv-gui 3.10.627-rc → 3.10.629-rc
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/main.iife.js +1 -1
- package/dist/main.js +11 -6
- package/dist/main.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -1381,9 +1381,13 @@ var vn = () => {
|
|
|
1381
1381
|
//#region src/screens/status-screen/index.tsx
|
|
1382
1382
|
R();
|
|
1383
1383
|
var Tn = ({ header: e, footer: t, image: n, title: r, description: i, buttons: a, backgroundColor: o, backgroundImage: s }) => {
|
|
1384
|
-
let c = F(null),
|
|
1384
|
+
let c = F(null), l = F(null), [u, d] = N(!1);
|
|
1385
1385
|
return P(() => {
|
|
1386
|
-
|
|
1386
|
+
var e;
|
|
1387
|
+
let t = l.current, n = c.current;
|
|
1388
|
+
if (!t || !n) return;
|
|
1389
|
+
let r = (e = n.getBoundingClientRect().height) == null ? 0 : e, i = t.getBoundingClientRect().height;
|
|
1390
|
+
d(r > i + 2);
|
|
1387
1391
|
}, []), /* @__PURE__ */ B(Cn, {
|
|
1388
1392
|
header: e,
|
|
1389
1393
|
buttons: a,
|
|
@@ -1394,7 +1398,7 @@ var Tn = ({ header: e, footer: t, image: n, title: r, description: i, buttons: a
|
|
|
1394
1398
|
part: "gui-status-screen",
|
|
1395
1399
|
style: {
|
|
1396
1400
|
display: "flex",
|
|
1397
|
-
justifyContent:
|
|
1401
|
+
justifyContent: u ? "flex-start" : "center",
|
|
1398
1402
|
alignItems: "center",
|
|
1399
1403
|
alignContent: "center",
|
|
1400
1404
|
flex: 1,
|
|
@@ -1407,12 +1411,13 @@ var Tn = ({ header: e, footer: t, image: n, title: r, description: i, buttons: a
|
|
|
1407
1411
|
children: /* @__PURE__ */ B(W, z({}, n))
|
|
1408
1412
|
}),
|
|
1409
1413
|
(r == null ? void 0 : r.text) && /* @__PURE__ */ B("div", {
|
|
1410
|
-
ref:
|
|
1414
|
+
ref: l,
|
|
1411
1415
|
style: {
|
|
1412
1416
|
width: "100%",
|
|
1413
|
-
overflow:
|
|
1417
|
+
overflow: u ? "auto" : "hidden"
|
|
1414
1418
|
},
|
|
1415
1419
|
children: /* @__PURE__ */ B("div", {
|
|
1420
|
+
ref: c,
|
|
1416
1421
|
style: {
|
|
1417
1422
|
margin: "0 auto",
|
|
1418
1423
|
fontSize: "20px",
|
|
@@ -1422,7 +1427,7 @@ var Tn = ({ header: e, footer: t, image: n, title: r, description: i, buttons: a
|
|
|
1422
1427
|
lineHeight: "1.2",
|
|
1423
1428
|
display: "flex",
|
|
1424
1429
|
flexDirection: "column",
|
|
1425
|
-
justifyContent:
|
|
1430
|
+
justifyContent: u ? "flex-start" : "center",
|
|
1426
1431
|
alignItems: "center",
|
|
1427
1432
|
alignContent: "center"
|
|
1428
1433
|
},
|