@gisce/react-ooui 2.0.0-alpha.60 → 2.0.0-alpha.62
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/helpers/treeHelper.d.ts.map +1 -1
- package/dist/react-ooui.es.js +5 -2
- package/dist/react-ooui.es.js.map +1 -1
- package/dist/widgets/views/Tree/treeComponents.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/helpers/treeHelper.tsx +4 -3
- package/src/widgets/views/Tree/treeComponents.tsx +8 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"treeHelper.d.ts","sourceRoot":"","sources":["../../src/helpers/treeHelper.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,IAAI,QAAQ,EAKjB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAE3C,QAAA,MAAM,OAAO,aAAc,QAAQ,KAAG,QAMrC,CAAC;
|
|
1
|
+
{"version":3,"file":"treeHelper.d.ts","sourceRoot":"","sources":["../../src/helpers/treeHelper.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,IAAI,QAAQ,EAKjB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAE3C,QAAA,MAAM,OAAO,aAAc,QAAQ,KAAG,QAMrC,CAAC;AAYF,QAAA,MAAM,eAAe,SACb,QAAQ,cACF,GAAG,WACN,GAAG,KACX,MAAM,EA+CR,CAAC;AAEF,QAAA,MAAM,aAAa,aAAc,QAAQ,WAAW,GAAG,EAAE,KAAG,GAAG,EAkC9D,CAAC;AAEF,iBAAS,eAAe,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,GAAG,CAAC;IAAC,MAAM,EAAE,GAAG,CAAA;CAAE,WAOxE;AAED,iBAAS,wBAAwB,CAAC,EAChC,MAAM,EACN,MAAM,GACP,EAAE;IACD,MAAM,EAAE,GAAG,CAAC;IACZ,MAAM,EAAE,GAAG,CAAC;CACb,OAWA;AAED,iBAAS,WAAW,CAAC,WAAW,EAAE,GAAG,OAEpC;AAED,iBAAS,YAAY,CAAC,MAAM,EAAE,GAAG,OAEhC;AAaD,iBAAS,WAAW,CAAC,EACnB,aAAa,EACb,MAAM,EACN,MAAM,GACP,EAAE;IACD,aAAa,EAAE,GAAG,EAAE,CAAC;IACrB,MAAM,EAAE,GAAG,CAAC;IACZ,MAAM,EAAE,GAAG,CAAC;CACb,SA+BA;AAED,iBAAS,eAAe,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,OAAO,CAS1D;AAED,OAAO,EACL,eAAe,EACf,aAAa,EACb,OAAO,EACP,wBAAwB,EACxB,eAAe,EACf,WAAW,EACX,YAAY,EACZ,WAAW,EACX,eAAe,GAChB,CAAC"}
|
package/dist/react-ooui.es.js
CHANGED
|
@@ -1208,7 +1208,7 @@ const Es = (e) => {
|
|
|
1208
1208
|
return i.parse(t), i;
|
|
1209
1209
|
};
|
|
1210
1210
|
function Ls(e) {
|
|
1211
|
-
return typeof e == "number" || typeof e == "string" || typeof e == "boolean" || e === null;
|
|
1211
|
+
return typeof e == "number" || typeof e == "string" || typeof e == "boolean" || e === null || e === void 0;
|
|
1212
1212
|
}
|
|
1213
1213
|
const $s = (e, t, r) => e.columns.map((o) => {
|
|
1214
1214
|
const s = o.type, a = o.id, l = t == null ? void 0 : t[s];
|
|
@@ -4125,7 +4125,10 @@ const rl = (e) => {
|
|
|
4125
4125
|
key: t,
|
|
4126
4126
|
ooui: r,
|
|
4127
4127
|
context: i
|
|
4128
|
-
}) => ke(() =>
|
|
4128
|
+
}) => ke(() => {
|
|
4129
|
+
let o = e;
|
|
4130
|
+
return Array.isArray(e) && e.length === 2 && (o = e[0]), /* @__PURE__ */ n(J, { children: r.selectionValues.get(o) });
|
|
4131
|
+
}, [r, e]), gl = ({
|
|
4129
4132
|
value: e,
|
|
4130
4133
|
key: t,
|
|
4131
4134
|
ooui: r,
|