@regulaforensics/idv-capture-web 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.js CHANGED
@@ -3769,7 +3769,7 @@ var ea = () => {
3769
3769
  osVersion: `${ei.osVersion}`,
3770
3770
  hostAppId: ea(),
3771
3771
  host: ea(),
3772
- sdkVersion: (t = "3.10.627-rc") == null ? void 0 : t.trim(),
3772
+ sdkVersion: (t = "3.10.629-rc") == null ? void 0 : t.trim(),
3773
3773
  name: navigator.userAgent,
3774
3774
  deviceModel: `${ei.osName}/${ei.osVersion} ${ei.browserName}/${ei.fullBrowserVersion}`,
3775
3775
  hostAppVersion: `${ei.browserName}/${ei.fullBrowserVersion}`,
@@ -5127,9 +5127,13 @@ var ts = () => {
5127
5127
  //#region ../idv-gui/src/screens/status-screen/index.tsx
5128
5128
  Rn();
5129
5129
  var cs = ({ header: e, footer: t, image: n, title: r, description: i, buttons: a, backgroundColor: o, backgroundImage: s }) => {
5130
- let c = dn(null), [l, u] = I(!1);
5130
+ let c = dn(null), l = dn(null), [u, d] = I(!1);
5131
5131
  return ln(() => {
5132
- c.current && u(c.current.scrollHeight > c.current.clientHeight + 2);
5132
+ var e;
5133
+ let t = l.current, n = c.current;
5134
+ if (!t || !n) return;
5135
+ let r = (e = n.getBoundingClientRect().height) == null ? 0 : e, i = t.getBoundingClientRect().height;
5136
+ d(r > i + 2);
5133
5137
  }, []), /* @__PURE__ */ W(os, {
5134
5138
  header: e,
5135
5139
  buttons: a,
@@ -5140,7 +5144,7 @@ var cs = ({ header: e, footer: t, image: n, title: r, description: i, buttons: a
5140
5144
  part: "gui-status-screen",
5141
5145
  style: {
5142
5146
  display: "flex",
5143
- justifyContent: l ? "flex-start" : "center",
5147
+ justifyContent: u ? "flex-start" : "center",
5144
5148
  alignItems: "center",
5145
5149
  alignContent: "center",
5146
5150
  flex: 1,
@@ -5153,12 +5157,13 @@ var cs = ({ header: e, footer: t, image: n, title: r, description: i, buttons: a
5153
5157
  children: /* @__PURE__ */ W(Xo, P({}, n))
5154
5158
  }),
5155
5159
  (r == null ? void 0 : r.text) && /* @__PURE__ */ W("div", {
5156
- ref: c,
5160
+ ref: l,
5157
5161
  style: {
5158
5162
  width: "100%",
5159
- overflow: l ? "auto" : "hidden"
5163
+ overflow: u ? "auto" : "hidden"
5160
5164
  },
5161
5165
  children: /* @__PURE__ */ W("div", {
5166
+ ref: c,
5162
5167
  style: {
5163
5168
  margin: "0 auto",
5164
5169
  fontSize: "20px",
@@ -5168,7 +5173,7 @@ var cs = ({ header: e, footer: t, image: n, title: r, description: i, buttons: a
5168
5173
  lineHeight: "1.2",
5169
5174
  display: "flex",
5170
5175
  flexDirection: "column",
5171
- justifyContent: l ? "flex-start" : "center",
5176
+ justifyContent: u ? "flex-start" : "center",
5172
5177
  alignItems: "center",
5173
5178
  alignContent: "center"
5174
5179
  },
@@ -15573,7 +15578,7 @@ var vp = Ur((...e) => P(P(P({}, ga(...e)), lp(...e)), hp(...e))), yp = (e) => /^
15573
15578
  return (!this._currentScreenElement || !this._isTheSameModuleAndScreen(e)) && (this._currentScreenElement = bp(e.id, t), this._currentScreenModuleId = e.id, this._currentScreenConfig = this.currentScreenConfig), this._currentScreenElement;
15574
15579
  }
15575
15580
  get version() {
15576
- return "3.10.627-rc";
15581
+ return "3.10.629-rc";
15577
15582
  }
15578
15583
  disconnectedCallback() {
15579
15584
  var e;
@@ -15692,7 +15697,7 @@ var Ep = class {
15692
15697
  }
15693
15698
  get version() {
15694
15699
  var e;
15695
- return (e = "3.10.627-rc") == null ? "Version unavailable. Something went wrong" : e;
15700
+ return (e = "3.10.629-rc") == null ? "Version unavailable. Something went wrong" : e;
15696
15701
  }
15697
15702
  get currentSessionId() {
15698
15703
  return vp.getState().getCurrentSessionId();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/idv-capture-web",
3
- "version": "3.10.627-rc",
3
+ "version": "3.10.629-rc",
4
4
  "description": "Regula framework agnostic web components to work with webcamera",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/main.js",