@gisce/react-ooui 1.2.0-rc.57 → 1.2.0-rc.59
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/one2manyHelper.d.ts.map +1 -1
- package/dist/react-ooui.es.js +10 -7
- package/dist/react-ooui.es.js.map +1 -1
- package/dist/react-ooui.umd.js +2 -2
- package/dist/react-ooui.umd.js.map +1 -1
- package/dist/widgets/base/Separator.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/helpers/one2manyHelper.ts +3 -2
- package/src/stories/Separator.stories.tsx +12 -0
- package/src/widgets/base/Separator.tsx +9 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"one2manyHelper.d.ts","sourceRoot":"","sources":["one2manyHelper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAErE,OAAO,EAAkB,QAAQ,EAAE,MAAM,SAAS,CAAC;AAGnD,aAAK,uBAAuB,GAAG;IAC7B,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,WAAW,EAAE,QAAQ,CAAC;IACtB,QAAQ,EAAE;QACR,MAAM,EAAE,GAAG,CAAC;KACb,CAAC;IACF,QAAQ,EAAE;QACR,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,GAAG,CAAC;KACb,CAAC;CACH,CAAC;AAEF,QAAA,MAAM,gBAAgB,YACX,uBAAuB,KAC/B,QAAQ,CAAC,YAAY,EAAE,EAAE,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"one2manyHelper.d.ts","sourceRoot":"","sources":["one2manyHelper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAErE,OAAO,EAAkB,QAAQ,EAAE,MAAM,SAAS,CAAC;AAGnD,aAAK,uBAAuB,GAA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586
|
let d = [], f;
|
|
13587
13587
|
if (s === "tree" && (a == null ? void 0 : a.arch)) {
|
|
13588
|
-
const y = await ConnectionProvider.getHandler().readEvalUiObjects({
|
|
13588
|
+
const y = (m = getTree(a)) == null ? void 0 : m.colors, x = await ConnectionProvider.getHandler().readEvalUiObjects({
|
|
13589
13589
|
model: r,
|
|
13590
13590
|
ids: l,
|
|
13591
13591
|
arch: a == null ? void 0 : a.arch,
|
|
13592
13592
|
fields: a.fields,
|
|
13593
13593
|
context: o,
|
|
13594
|
-
attrs: {
|
|
13595
|
-
colors:
|
|
13594
|
+
attrs: y && {
|
|
13595
|
+
colors: y
|
|
13596
13596
|
}
|
|
13597
13597
|
});
|
|
13598
|
-
d =
|
|
13598
|
+
d = x[0], f = getColorMap(x[1]);
|
|
13599
13599
|
} else
|
|
13600
13600
|
d = await ConnectionProvider.getHandler().readObjects({
|
|
13601
13601
|
model: r,
|
|
@@ -21924,12 +21924,15 @@ const {
|
|
|
21924
21924
|
const {
|
|
21925
21925
|
ooui: t
|
|
21926
21926
|
} = e, {
|
|
21927
|
-
label: r
|
|
21928
|
-
|
|
21927
|
+
label: r,
|
|
21928
|
+
icon: n
|
|
21929
|
+
} = t, a = iconMapper(n || "");
|
|
21929
21930
|
return /* @__PURE__ */ jsx(Divider, {
|
|
21930
21931
|
orientation: "left",
|
|
21931
21932
|
className: "text-sm",
|
|
21932
|
-
children:
|
|
21933
|
+
children: /* @__PURE__ */ jsxs(Space, {
|
|
21934
|
+
children: [a ? /* @__PURE__ */ jsx(a, {}) : null, r]
|
|
21935
|
+
})
|
|
21933
21936
|
});
|
|
21934
21937
|
}, useExport = ({
|
|
21935
21938
|
model: e,
|