@gisce/react-ooui 2.74.2 → 2.74.3
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useExport.d.ts","sourceRoot":"","sources":["../../src/hooks/useExport.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,aAAa,EACb,gBAAgB,EAChB,qBAAqB,EAEtB,MAAM,iCAAiC,CAAC;AAMzC,eAAO,MAAM,SAAS;WAQb,MAAM;aACJ,GAAG;;YAEJ,GAAG,EAAE;;aAEJ,MAAM,IAAI;;;;;;;;;4BA4DL,MAAM;;;;;;;wBArDF,aAAa;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"useExport.d.ts","sourceRoot":"","sources":["../../src/hooks/useExport.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,aAAa,EACb,gBAAgB,EAChB,qBAAqB,EAEtB,MAAM,iCAAiC,CAAC;AAMzC,eAAO,MAAM,SAAS;WAQb,MAAM;aACJ,GAAG;;YAEJ,GAAG,EAAE;;aAEJ,MAAM,IAAI;;;;;;;;;4BA4DL,MAAM;;;;;;;wBArDF,aAAa;;;;;;;;;;;;sCA0Jb,gBAAgB;;;;;wCA5BhB,gBAAgB;CAuEnC,CAAC"}
|
package/dist/react-ooui.es.js
CHANGED
|
@@ -13291,7 +13291,12 @@ const { useToken: Kg } = Xe, { TextArea: Co } = ht, qg = (e) => {
|
|
|
13291
13291
|
predefinedExports: g.map((_) => ({
|
|
13292
13292
|
..._,
|
|
13293
13293
|
fields: _.fields.map((C) => {
|
|
13294
|
-
const x = To(C.key),
|
|
13294
|
+
const x = To(C.key), R = Io(C.key, i.current);
|
|
13295
|
+
if (!R)
|
|
13296
|
+
return {
|
|
13297
|
+
key: C.key
|
|
13298
|
+
};
|
|
13299
|
+
const T = R[x];
|
|
13295
13300
|
return T ? {
|
|
13296
13301
|
key: C.key,
|
|
13297
13302
|
title: T.string
|
|
@@ -13380,7 +13385,7 @@ const { useToken: Kg } = Xe, { TextArea: Co } = ht, qg = (e) => {
|
|
|
13380
13385
|
return e;
|
|
13381
13386
|
const t = e.split("/");
|
|
13382
13387
|
return t[t.length - 1];
|
|
13383
|
-
}, Io = (e, t) => e.indexOf("/") === -1 ? t["/"] : t[xo(e)], Zg = ({
|
|
13388
|
+
}, Io = (e, t) => e.indexOf("/") === -1 ? t["/"] : t == null ? void 0 : t[xo(e)], Zg = ({
|
|
13384
13389
|
title: e,
|
|
13385
13390
|
parentTitle: t
|
|
13386
13391
|
}) => `${t ? t + " → " : ""}${e}`, ey = async ({
|