@gisce/react-ooui 2.20.0-rc.3 → 2.20.0
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
|
@@ -7929,13 +7929,13 @@ const { useToken: gd } = je, { TextArea: Wn } = ot, yd = (e) => {
|
|
|
7929
7929
|
}) => {
|
|
7930
7930
|
const n = [];
|
|
7931
7931
|
for (const o of Object.keys(e)) {
|
|
7932
|
-
const r = e[o], s = si(r);
|
|
7932
|
+
const r = e[o], s = si(r), a = r.is_function === !0, c = s && !a;
|
|
7933
7933
|
n.push({
|
|
7934
7934
|
key: Cd({ key: o, parentKey: t }),
|
|
7935
7935
|
title: r.string,
|
|
7936
7936
|
tooltip: r.help,
|
|
7937
7937
|
required: r.required,
|
|
7938
|
-
isLeaf: !
|
|
7938
|
+
isLeaf: !c
|
|
7939
7939
|
});
|
|
7940
7940
|
}
|
|
7941
7941
|
return n;
|
|
@@ -8005,8 +8005,8 @@ const { useToken: gd } = je, { TextArea: Wn } = ot, yd = (e) => {
|
|
|
8005
8005
|
keys: e,
|
|
8006
8006
|
fields: t
|
|
8007
8007
|
}) => e.map((n) => {
|
|
8008
|
-
const o = Gn(n), s = Yn(n, t)[o];
|
|
8009
|
-
return
|
|
8008
|
+
const o = Gn(n), s = Yn(n, t)[o], a = si(s), c = s.is_function === !0;
|
|
8009
|
+
return a && !c ? `${n}/id` : n;
|
|
8010
8010
|
}), Fd = (e) => {
|
|
8011
8011
|
const t = /* @__PURE__ */ new Map(), n = [];
|
|
8012
8012
|
for (const o of e) {
|