@gisce/react-ooui 1.1.12 → 1.1.13-rc.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 +12 -9
- package/dist/react-ooui.es.js.map +1 -1
- package/dist/react-ooui.umd.js +15 -15
- package/dist/react-ooui.umd.js.map +1 -1
- package/dist/views/actionViews/TreeActionView.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/views/actionViews/TreeActionView.tsx +10 -1
package/dist/react-ooui.es.js
CHANGED
|
@@ -27836,7 +27836,10 @@ const TreeActionView = (e) => {
|
|
|
27836
27836
|
setCurrentView: f,
|
|
27837
27837
|
availableViews: p,
|
|
27838
27838
|
searchTreeNameSearch: h
|
|
27839
|
-
} = e
|
|
27839
|
+
} = e, {
|
|
27840
|
+
currentView: m,
|
|
27841
|
+
setPreviousView: v
|
|
27842
|
+
} = useContext(ActionViewContext);
|
|
27840
27843
|
return t ? /* @__PURE__ */ jsxs(Fragment, {
|
|
27841
27844
|
children: [/* @__PURE__ */ jsx(TitleHeader, {
|
|
27842
27845
|
children: /* @__PURE__ */ jsx(TreeActionBar, {
|
|
@@ -27853,15 +27856,15 @@ const TreeActionView = (e) => {
|
|
|
27853
27856
|
formView: a,
|
|
27854
27857
|
treeView: s,
|
|
27855
27858
|
domain: c,
|
|
27856
|
-
onRowClicked: (
|
|
27859
|
+
onRowClicked: (x) => {
|
|
27857
27860
|
const {
|
|
27858
|
-
id:
|
|
27859
|
-
} =
|
|
27860
|
-
d(
|
|
27861
|
-
const
|
|
27862
|
-
l(
|
|
27863
|
-
const
|
|
27864
|
-
f(
|
|
27861
|
+
id: I
|
|
27862
|
+
} = x;
|
|
27863
|
+
d(I);
|
|
27864
|
+
const g = u.findIndex((y) => y.id === I);
|
|
27865
|
+
v == null || v(m), l(g);
|
|
27866
|
+
const C = p.find((y) => y.type === "form");
|
|
27867
|
+
f(C);
|
|
27865
27868
|
}
|
|
27866
27869
|
})]
|
|
27867
27870
|
}) : null;
|