@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.
- 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/core/index.js
CHANGED
|
@@ -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
|
-
|
|
17965
|
-
|
|
17966
|
-
|
|
17967
|
-
|
|
17968
|
-
|
|
17969
|
-
|
|
17970
|
-
|
|
17971
|
-
|
|
17972
|
-
|
|
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
|
};
|