@gisce/react-ooui 2.20.0-alpha.2 → 2.20.0-alpha.4
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/react-ooui.es.js
CHANGED
|
@@ -8037,16 +8037,13 @@ const { useToken: vd } = je, { TextArea: Gn } = ot, bd = (e) => {
|
|
|
8037
8037
|
}) => {
|
|
8038
8038
|
const n = [];
|
|
8039
8039
|
for (const o of Object.keys(e)) {
|
|
8040
|
-
const r = e[o];
|
|
8041
|
-
if (r.relation && r.is_function === !0)
|
|
8042
|
-
continue;
|
|
8043
|
-
const s = si(r);
|
|
8040
|
+
const r = e[o], s = si(r), a = r.is_function === !0, c = s && !a;
|
|
8044
8041
|
n.push({
|
|
8045
8042
|
key: Td({ key: o, parentKey: t }),
|
|
8046
8043
|
title: r.string,
|
|
8047
8044
|
tooltip: r.help,
|
|
8048
8045
|
required: r.required,
|
|
8049
|
-
isLeaf: !
|
|
8046
|
+
isLeaf: !c
|
|
8050
8047
|
});
|
|
8051
8048
|
}
|
|
8052
8049
|
return n;
|
|
@@ -8116,8 +8113,8 @@ const { useToken: vd } = je, { TextArea: Gn } = ot, bd = (e) => {
|
|
|
8116
8113
|
keys: e,
|
|
8117
8114
|
fields: t
|
|
8118
8115
|
}) => e.map((n) => {
|
|
8119
|
-
const o = qn(n), s = zn(n, t)[o];
|
|
8120
|
-
return
|
|
8116
|
+
const o = qn(n), s = zn(n, t)[o], a = si(s), c = s.is_function === !0;
|
|
8117
|
+
return a && !c ? `${n}/id` : n;
|
|
8121
8118
|
}), _d = (e) => {
|
|
8122
8119
|
const t = /* @__PURE__ */ new Map(), n = [];
|
|
8123
8120
|
for (const o of e) {
|