@gisce/react-ooui 2.0.0-alpha.30 → 2.0.0-alpha.32
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/actionbar/FormActionBar.d.ts.map +1 -1
- package/dist/actionbar/TreeActionBar.d.ts.map +1 -1
- package/dist/hooks/useExport.d.ts.map +1 -1
- package/dist/react-ooui.es.js +7 -4
- package/dist/react-ooui.es.js.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/actionbar/FormActionBar.tsx +2 -1
- package/src/actionbar/TreeActionBar.tsx +1 -0
- package/src/hooks/useExport.ts +1 -0
- package/src/types/index.ts +1 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormActionBar.d.ts","sourceRoot":"","sources":["../../src/actionbar/FormActionBar.tsx"],"names":[],"mappings":"AA0CA,iBAAS,aAAa,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,GAAG,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"FormActionBar.d.ts","sourceRoot":"","sources":["../../src/actionbar/FormActionBar.tsx"],"names":[],"mappings":"AA0CA,iBAAS,aAAa,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,GAAG,CAAA;CAAE,kDAwanD;AAmBD,eAAe,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TreeActionBar.d.ts","sourceRoot":"","sources":["../../src/actionbar/TreeActionBar.tsx"],"names":[],"mappings":"AAkCA,KAAK,KAAK,GAAG;IACX,aAAa,CAAC,EAAE,GAAG,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE,GAAG,CAAC;CACd,CAAC;AAEF,iBAAS,aAAa,CAAC,KAAK,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"TreeActionBar.d.ts","sourceRoot":"","sources":["../../src/actionbar/TreeActionBar.tsx"],"names":[],"mappings":"AAkCA,KAAK,KAAK,GAAG;IACX,aAAa,CAAC,EAAE,GAAG,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE,GAAG,CAAC;CACd,CAAC;AAEF,iBAAS,aAAa,CAAC,KAAK,EAAE,KAAK,2CA0UlC;AAMD,eAAe,aAAa,CAAC"}
|
|
@@ -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,EACtB,MAAM,iCAAiC,CAAC;AAOzC,eAAO,MAAM,SAAS;WASb,MAAM;aACJ,GAAG;YACJ,MAAM;;YAEN,GAAG,EAAE;;aAEJ,MAAM,IAAI;;;;;;;;;4BA2DL,MAAM;;;;;;;wBArDF,aAAa;;;;;;;;;;;;sCAiHb,gBAAgB;;;;;wCAoChB,gBAAgB;
|
|
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,EACtB,MAAM,iCAAiC,CAAC;AAOzC,eAAO,MAAM,SAAS;WASb,MAAM;aACJ,GAAG;YACJ,MAAM;;YAEN,GAAG,EAAE;;aAEJ,MAAM,IAAI;;;;;;;;;4BA2DL,MAAM;;;;;;;wBArDF,aAAa;;;;;;;;;;;;sCAiHb,gBAAgB;;;;;wCAoChB,gBAAgB;CAmCnC,CAAC"}
|
package/dist/react-ooui.es.js
CHANGED
|
@@ -6178,7 +6178,8 @@ const { useToken: Wl } = Pe, { TextArea: kn } = ot, jl = (t) => {
|
|
|
6178
6178
|
async (y) => {
|
|
6179
6179
|
await D.getHandler().deleteObjects({
|
|
6180
6180
|
model: "ir.exports",
|
|
6181
|
-
ids: [y.id]
|
|
6181
|
+
ids: [y.id],
|
|
6182
|
+
context: e
|
|
6182
6183
|
});
|
|
6183
6184
|
},
|
|
6184
6185
|
[]
|
|
@@ -6992,7 +6993,8 @@ function yc({ toolbar: t }) {
|
|
|
6992
6993
|
try {
|
|
6993
6994
|
p == null || p(!0), await D.getHandler().deleteObjects({
|
|
6994
6995
|
model: m,
|
|
6995
|
-
ids: [l]
|
|
6996
|
+
ids: [l],
|
|
6997
|
+
context: C.current.getContext()
|
|
6996
6998
|
});
|
|
6997
6999
|
const k = d == null ? void 0 : d.filter((ee) => ee.id !== l);
|
|
6998
7000
|
w == null || w(k);
|
|
@@ -7012,7 +7014,7 @@ function yc({ toolbar: t }) {
|
|
|
7012
7014
|
model: m,
|
|
7013
7015
|
context: C.current.getContext()
|
|
7014
7016
|
});
|
|
7015
|
-
k && await (x == null ? void 0 : x(k));
|
|
7017
|
+
k && await (x == null ? void 0 : x([k]));
|
|
7016
7018
|
} catch (k) {
|
|
7017
7019
|
on(JSON.stringify(k));
|
|
7018
7020
|
} finally {
|
|
@@ -7798,7 +7800,8 @@ function Vc(t) {
|
|
|
7798
7800
|
try {
|
|
7799
7801
|
s == null || s(!0), await D.getHandler().deleteObjects({
|
|
7800
7802
|
model: u,
|
|
7801
|
-
ids: o.map((G) => G.id)
|
|
7803
|
+
ids: o.map((G) => G.id),
|
|
7804
|
+
context: { ...x }
|
|
7802
7805
|
}), f == null || f(void 0), m == null || m(void 0), (Y = c == null ? void 0 : c.current) == null || Y.refreshResults();
|
|
7803
7806
|
} catch (G) {
|
|
7804
7807
|
ze(G);
|