@regulaforensics/ui-components 9.3.865-rc → 9.3.866-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
  };