@regulaforensics/idv-gui 0.1.114-nightly → 0.1.115-nightly

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.
Files changed (2) hide show
  1. package/dist/main.js +11 -2
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -3265,11 +3265,20 @@ var _r = function(r) {
3265
3265
  }, v = p2(!0), C = z7(v, 2), d = C[0], h = C[1], g = d && n, S = function() {
3266
3266
  h(!1);
3267
3267
  };
3268
+ if (i)
3269
+ return /* @__PURE__ */ a.jsx("img", { style: {
3270
+ width: "100%",
3271
+ height: "100%",
3272
+ objectFit: f(u),
3273
+ borderRadius: l,
3274
+ backgroundColor: c,
3275
+ display: g ? "none" : "block"
3276
+ }, src: i });
3268
3277
  if (t) {
3269
3278
  var j = t in d2 ? t : "default";
3270
3279
  return /* @__PURE__ */ a.jsx(K7, { type: j });
3271
3280
  }
3272
- if (i || n)
3281
+ if (n)
3273
3282
  return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
3274
3283
  g && /* @__PURE__ */ a.jsx("div", { style: {
3275
3284
  width: "100%",
@@ -3284,7 +3293,7 @@ var _r = function(r) {
3284
3293
  borderRadius: l,
3285
3294
  backgroundColor: c,
3286
3295
  display: g ? "none" : "block"
3287
- }, src: i || n, onLoad: S })
3296
+ }, src: n, onLoad: S })
3288
3297
  ] });
3289
3298
  }, rn = function(r) {
3290
3299
  var t = r.signature;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/idv-gui",
3
- "version": "0.1.114-nightly",
3
+ "version": "0.1.115-nightly",
4
4
  "description": "Regula framework agnostic web components to work with gui idv",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/main.iife.js",