@regulaforensics/idv-capture-web 3.2.277-nightly → 3.2.279-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
@@ -2582,7 +2582,7 @@ const Es = () => {
2582
2582
  osVersion: `${Je.osVersion}`,
2583
2583
  hostAppId: Es(),
2584
2584
  host: Es(),
2585
- sdkVersion: "3.2.277-nightly".trim(),
2585
+ sdkVersion: "3.2.279-rc".trim(),
2586
2586
  name: navigator.userAgent,
2587
2587
  deviceModel: `${Je.osName}/${Je.osVersion} ${Je.browserName}/${Je.fullBrowserVersion}`,
2588
2588
  hostAppVersion: `${Je.browserName}/${Je.fullBrowserVersion}`,
@@ -3173,7 +3173,7 @@ const rn = uo(void 0), js = ({ perform: t, children: e, setIsProcessingCallback:
3173
3173
  [pe.DEFAULT]: () => ""
3174
3174
  }, Va = ({ type: t, color: e }) => {
3175
3175
  const r = Jn[t] || Jn[pe.DEFAULT], i = r == null ? void 0 : r(e);
3176
- return t === pe.SPINNER ? /* @__PURE__ */ T(Al, { dataUrl: i }) : /* @__PURE__ */ T("img", { src: i });
3176
+ return t === pe.SPINNER ? /* @__PURE__ */ T(Al, { dataUrl: i }) : /* @__PURE__ */ T("img", { src: i, style: { width: "auto", height: "auto", maxWidth: "100%", maxHeight: "100%" } });
3177
3177
  }, Xr = "#005fcc", $i = "idv-gui", Hi = {
3178
3178
  DECODING_FAILED: "DECODING_FAILED"
3179
3179
  }, Un = {
@@ -3259,8 +3259,10 @@ const wl = (t, e) => t.reduce((r, i) => {
3259
3259
  "img",
3260
3260
  {
3261
3261
  style: {
3262
- width: "100%",
3263
- height: "100%",
3262
+ width: "auto",
3263
+ height: "auto",
3264
+ maxWidth: "100%",
3265
+ maxHeight: "100%",
3264
3266
  objectFit: s(i),
3265
3267
  borderRadius: n,
3266
3268
  backgroundColor: ge(o) || "transparent",
@@ -3290,8 +3292,10 @@ const wl = (t, e) => t.reduce((r, i) => {
3290
3292
  "img",
3291
3293
  {
3292
3294
  style: {
3293
- width: "100%",
3294
- height: "100%",
3295
+ width: "auto",
3296
+ height: "auto",
3297
+ maxWidth: "100%",
3298
+ maxHeight: "100%",
3295
3299
  objectFit: s(i),
3296
3300
  borderRadius: n,
3297
3301
  backgroundColor: o,
@@ -5010,7 +5014,7 @@ const Sr = (t, e) => {
5010
5014
  alignItems: "flex-start",
5011
5015
  alignContent: "center",
5012
5016
  flexWrap: "wrap",
5013
- width: "100%"
5017
+ width: r ? "calc(100% - 63px)" : "100%"
5014
5018
  },
5015
5019
  children: [
5016
5020
  !D.length && /* @__PURE__ */ T(
@@ -5316,7 +5320,8 @@ const Sr = (t, e) => {
5316
5320
  style: j({
5317
5321
  display: "flex",
5318
5322
  alignItems: "center",
5319
- alignContent: "center"
5323
+ alignContent: "center",
5324
+ flexShrink: 0
5320
5325
  }, M),
5321
5326
  children: /* @__PURE__ */ T(Pe, j({}, I ? u.image : d.image))
5322
5327
  }
@@ -8267,7 +8272,7 @@ const vo = class vo extends Lr {
8267
8272
  return (!this._currentScreenElement || !this._isTheSameModuleAndScreen(e)) && (this._currentScreenElement = Ys(e.id, r), this._currentScreenModuleId = e.id, this._currentScreenConfig = this.currentScreenConfig), this._currentScreenElement;
8268
8273
  }
8269
8274
  get version() {
8270
- return `${"3.2.277-nightly".trim()}`;
8275
+ return `${"3.2.279-rc".trim()}`;
8271
8276
  }
8272
8277
  disconnectedCallback() {
8273
8278
  var e;
@@ -8357,7 +8362,7 @@ class MM {
8357
8362
  }
8358
8363
  /** service commands */
8359
8364
  get version() {
8360
- return "3.2.277-nightly";
8365
+ return "3.2.279-rc";
8361
8366
  }
8362
8367
  set nonce(e) {
8363
8368
  Ue.getState().setNonce(e);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/idv-capture-web",
3
- "version": "3.2.277-nightly",
3
+ "version": "3.2.279-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",