@regulaforensics/ui-components 7.5.123-rc → 7.5.129-rc

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/index.js +6 -16
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -12749,7 +12749,7 @@ const aN = [
12749
12749
  let T = E.groups.findIndex((O) => O.group === A.Type);
12750
12750
  T === -1 && (E.groups.push(Xr.fromPlain({
12751
12751
  group: A.Type,
12752
- checkResult: m.WAS_NOT_DONE,
12752
+ checkResult: s.Result,
12753
12753
  checks: []
12754
12754
  })), T = E.groups.length - 1), E.groups[T].checks.push(jS.fromPlain({
12755
12755
  colorValues: A.ColorValues,
@@ -12770,7 +12770,7 @@ const aN = [
12770
12770
  let O = E.groups.findIndex((N) => N.group === A.Type);
12771
12771
  O === -1 && (E.groups.push(Xr.fromPlain({
12772
12772
  group: A.Type,
12773
- checkResult: m.WAS_NOT_DONE,
12773
+ checkResult: s.Result,
12774
12774
  checks: []
12775
12775
  })), O = E.groups.length - 1), E.groups[O].checks.push(JS.fromPlain({
12776
12776
  checkType: A.Type,
@@ -12790,7 +12790,7 @@ const aN = [
12790
12790
  s.List.forEach((T) => {
12791
12791
  A === -1 && (E.groups.push(Xr.fromPlain({
12792
12792
  group: T.Type,
12793
- checkResult: m.WAS_NOT_DONE,
12793
+ checkResult: s.Result,
12794
12794
  checks: []
12795
12795
  })), A = E.groups.length - 1), E.groups[A].checks.push(qS.fromPlain({
12796
12796
  reference: {
@@ -12824,7 +12824,7 @@ const aN = [
12824
12824
  let D = E.groups.findIndex((u) => u.group === A.Type);
12825
12825
  D === -1 && (E.groups.push(Xr.fromPlain({
12826
12826
  group: A.Type,
12827
- checkResult: m.WAS_NOT_DONE,
12827
+ checkResult: s.Result,
12828
12828
  checks: []
12829
12829
  })), D = E.groups.length - 1), E.groups[D].checks.push(zS.fromPlain({
12830
12830
  checkType: A.Type,
@@ -12842,7 +12842,7 @@ const aN = [
12842
12842
  s.List.forEach((T) => {
12843
12843
  aN.includes(T.ElementType) || (A === -1 && (E.groups.push(Xr.fromPlain({
12844
12844
  group: T.Type,
12845
- checkResult: m.WAS_NOT_DONE,
12845
+ checkResult: s.Result,
12846
12846
  checks: []
12847
12847
  })), A = E.groups.length - 1), E.groups[A].checks.push(QS.fromPlain({
12848
12848
  checkType: T.Type,
@@ -12860,17 +12860,7 @@ const aN = [
12860
12860
  checks: []
12861
12861
  }));
12862
12862
  }
12863
- }), E.groups.forEach((s, c) => {
12864
- if (s.checks.sort((a, A) => a.checkResult - A.checkResult), s.checks.every(({ checkResult: a }) => a === m.OK)) {
12865
- E.groups[c].checkResult = m.OK;
12866
- return;
12867
- }
12868
- if (s.checks.some(({ checkResult: a }) => a === m.WAS_NOT_DONE)) {
12869
- E.groups[c].checkResult = m.WAS_NOT_DONE;
12870
- return;
12871
- }
12872
- E.groups[c].checkResult = m.ERROR;
12873
- });
12863
+ }), E.groups.forEach((s) => s.checks.sort((c, a) => c.checkResult - a.checkResult));
12874
12864
  const o = E.groups.map(({ checkResult: s }) => s);
12875
12865
  E.checkResult = QU(o), E.groups.sort((s, c) => s.checkResult - c.checkResult), n.push(E);
12876
12866
  }), n.sort((r, e) => r.page - e.page);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/ui-components",
3
- "version": "7.5.123-rc",
3
+ "version": "7.5.129-rc",
4
4
  "description": "Regula UI components",
5
5
  "author": "Regula Forensics, Inc.",
6
6
  "license": "MIT",
@@ -51,7 +51,7 @@
51
51
  "react-dom": ">=18.0.0"
52
52
  },
53
53
  "dependencies": {
54
- "@regulaforensics/document-reader-typings": "^7.5.123-rc",
54
+ "@regulaforensics/document-reader-typings": "^7.5.129-rc",
55
55
  "@uiw/react-json-view": "^2.0.0-alpha.26",
56
56
  "classnames": "^2.5.1",
57
57
  "i18next": "^23.14.0",