@regulaforensics/ui-components 9.3.867-rc → 9.3.868-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.
- package/dist/core/index.cjs +1 -1
- package/dist/core/index.js +9 -13
- package/dist/main/index.cjs +1 -1
- package/dist/main/index.js +9 -13
- package/dist/typings/index.cjs +1 -1
- package/dist/typings/index.js +3 -7
- package/package.json +1 -1
package/dist/main/index.js
CHANGED
|
@@ -17962,19 +17962,15 @@ Ir = fa([
|
|
|
17962
17962
|
const e6 = (e) => {
|
|
17963
17963
|
const t = [], n = hr.fromProcessResponse(e);
|
|
17964
17964
|
return n.length && n.forEach((s) => {
|
|
17965
|
-
|
|
17966
|
-
|
|
17967
|
-
|
|
17968
|
-
|
|
17969
|
-
|
|
17970
|
-
|
|
17971
|
-
|
|
17972
|
-
|
|
17973
|
-
|
|
17974
|
-
const A = new r_();
|
|
17975
|
-
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);
|
|
17976
|
-
});
|
|
17977
|
-
}), _.bySource.length && t.push(_);
|
|
17965
|
+
s.Text.fieldList.forEach((r) => {
|
|
17966
|
+
const o = new Ir();
|
|
17967
|
+
o.type = r.fieldType, o.value = r.value, o.lcid = r.lcid, o.checkResult = r.status, o.comparisonList = r.comparisonList?.map((_) => {
|
|
17968
|
+
const a = new oE();
|
|
17969
|
+
return a.sourceLeft = _.sourceLeft, a.sourceRight = _.sourceRight, a.status = _.status, a;
|
|
17970
|
+
}) || [], o.bySource = [], r.valueList.forEach((_) => {
|
|
17971
|
+
const a = new r_(), c = r.validityList.find((i) => i.source === _.source);
|
|
17972
|
+
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);
|
|
17973
|
+
}), o.bySource.length && t.push(o);
|
|
17978
17974
|
});
|
|
17979
17975
|
}), t;
|
|
17980
17976
|
};
|