@regulaforensics/ui-components 8.1.476-rc → 8.1.478-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 +8 -3
- package/dist/main/index.cjs +1 -1
- package/dist/main/index.js +8 -3
- package/package.json +2 -2
package/dist/core/index.js
CHANGED
|
@@ -35567,7 +35567,7 @@ const rVt = () => ue("dc87716ea86ebf584e6de7d3249457b2"), _Vt = "_container_f5fu
|
|
|
35567
35567
|
{
|
|
35568
35568
|
name: ((A = e.find((S) => S.pageIndex === a)) == null ? void 0 : A.documentName) || `Page ${a + 1}`,
|
|
35569
35569
|
status: I,
|
|
35570
|
-
open: _.has(String(i))
|
|
35570
|
+
open: _.has(String(i)),
|
|
35571
35571
|
onOpen: (S) => n(S, a, String(i)),
|
|
35572
35572
|
children: /* @__PURE__ */ T("div", { className: KD["image-quality"], children: c.map(({ checkType: S, checkResult: R }) => /* @__PURE__ */ T(P0, { name: S, status: R, shift: 24 }, S)) })
|
|
35573
35573
|
},
|
|
@@ -35584,8 +35584,13 @@ const rVt = () => ue("dc87716ea86ebf584e6de7d3249457b2"), _Vt = "_container_f5fu
|
|
|
35584
35584
|
const { setScroll: r } = wT(), { openFields: o, addOpenField: a, removeOpenField: c, resetOpenField: I } = cA(), i = (S, R, C) => {
|
|
35585
35585
|
S ? (n(R), a("imageQuality", C)) : c("imageQuality", C);
|
|
35586
35586
|
}, A = r ? (S) => r("imageQuality", S) : void 0;
|
|
35587
|
-
return Ge(() =>
|
|
35588
|
-
|
|
35587
|
+
return Ge(() => {
|
|
35588
|
+
if (t.length !== 1)
|
|
35589
|
+
return t.forEach((S, R) => {
|
|
35590
|
+
S.checkResult === Z.ERROR && a("imageQuality", String(R));
|
|
35591
|
+
}), () => {
|
|
35592
|
+
I("imageQuality");
|
|
35593
|
+
};
|
|
35589
35594
|
}, [t]), /* @__PURE__ */ T(
|
|
35590
35595
|
uVt,
|
|
35591
35596
|
{
|