@nivaro/react 0.1.224 → 0.1.225
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/index.js +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -12710,6 +12710,7 @@ function K5({
|
|
|
12710
12710
|
var st, Tt, ot, ht;
|
|
12711
12711
|
const Z = (Tt = (st = yt.current) == null ? void 0 : st.lockReasons) == null ? void 0 : Tt[P];
|
|
12712
12712
|
if (!Z) return "Set automatically for this row";
|
|
12713
|
+
if (Z.reason) return `Locked — ${Z.reason}`;
|
|
12713
12714
|
const oe = Z.field ? Ht.find((Ut) => Ut.field === Z.field) : void 0, ge = (oe == null ? void 0 : oe.label) || (Z.field ? Ot(Z.field) : "a rule"), Ae = Z.field ? (ot = yt.current) == null ? void 0 : ot.draft[Z.field] : void 0, Fe = Z.field ? Fr.get(Z.field) : void 0, et = Ae == null || Ae === "" ? null : Fe != null && Fe.one_collection ? ((ht = on[Fe.one_collection]) == null ? void 0 : ht[String(Ae)]) ?? String(Ae) : String(Ae);
|
|
12714
12715
|
if (et) return `Locked — ${ge} is ${et}`;
|
|
12715
12716
|
const He = Z.op === "neq" ? "is not" : Z.op === "null" ? "is empty" : Z.op === "nnull" ? "is set" : Z.op === "in" ? "is one of" : Z.op === "contains" ? "contains" : "is";
|