@regulaforensics/ui-components 9.3.867-rc → 9.3.869-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.
@@ -17961,19 +17961,15 @@ Ir = fa([
17961
17961
  const e6 = (e) => {
17962
17962
  const t = [], n = hr.fromProcessResponse(e);
17963
17963
  return n.length && n.forEach((s) => {
17964
- const r = s.Text.availableSourceList.map((o) => o.source);
17965
- s.Text.fieldList.forEach((o) => {
17966
- const _ = new Ir();
17967
- _.type = o.fieldType, _.value = o.value, _.lcid = o.lcid, _.checkResult = o.status, _.comparisonList = o.comparisonList?.map((a) => {
17968
- const c = new oE();
17969
- return c.sourceLeft = a.sourceLeft, c.sourceRight = a.sourceRight, c.status = a.status, c;
17970
- }) || [], _.bySource = [], r.forEach((a) => {
17971
- const c = o.validityList.find((E) => E.source === a);
17972
- o.valueList.filter((E) => E.source === a).forEach((E) => {
17973
- const A = new r_();
17974
- A.checkResult = c?.status ?? V.WAS_NOT_DONE, A.source = E.source, A.value = E?.value ?? "", A.pageIndex = E?.pageIndex ?? 0, A.probability = E?.probability ?? 0, E.fieldRect && (A.rect = E.fieldRect), E.rfidOrigin && (A.rfidOrigin = E.rfidOrigin), _.bySource.push(A);
17975
- });
17976
- }), _.bySource.length && t.push(_);
17964
+ s.Text.fieldList.forEach((r) => {
17965
+ const o = new Ir();
17966
+ o.type = r.fieldType, o.value = r.value, o.lcid = r.lcid, o.checkResult = r.status, o.comparisonList = r.comparisonList?.map((_) => {
17967
+ const a = new oE();
17968
+ return a.sourceLeft = _.sourceLeft, a.sourceRight = _.sourceRight, a.status = _.status, a;
17969
+ }) || [], o.bySource = [], r.valueList.forEach((_) => {
17970
+ const a = new r_(), c = r.validityList.find((i) => i.source === _.source);
17971
+ a.checkResult = c?.status ?? V.WAS_NOT_DONE, a.source = _.source, a.value = _?.value ?? "", a.pageIndex = _?.pageIndex ?? 0, a.probability = _?.probability ?? 0, _.fieldRect && (a.rect = _.fieldRect), _.rfidOrigin && (a.rfidOrigin = _.rfidOrigin), o.bySource.push(a);
17972
+ }), o.bySource.length && t.push(o);
17977
17973
  });
17978
17974
  }), t;
17979
17975
  };
@@ -37356,7 +37352,7 @@ const nPt = () => ze("c5291d1c5e6d9464c1e104be56e67cda"), rPt = "_head_1jay9_1",
37356
37352
  }, [e]), /* @__PURE__ */ R(
37357
37353
  _E,
37358
37354
  {
37359
- src: `data:image;base64,${e}`,
37355
+ src: `data:image/jpeg;base64,${e}`,
37360
37356
  alt: t,
37361
37357
  viewer: n,
37362
37358
  magnifier: !0,
@@ -39365,7 +39361,7 @@ const qbt = () => ze("90a425db4934211fafe21693ab2e9a39"), Qbt = "_text_1wz9f_1",
39365
39361
  t ? /* @__PURE__ */ R(
39366
39362
  _E,
39367
39363
  {
39368
- src: `data:image;base64,${t}`,
39364
+ src: `data:image/jpeg;base64,${t}`,
39369
39365
  alt: String(_),
39370
39366
  magnifierImgBorderRadius: 4,
39371
39367
  draggable: !1,