@gisce/react-ooui 2.35.0-alpha.3 → 2.35.0-alpha.5

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,7 +1,7 @@
1
1
  type Props = {
2
2
  parentContext?: any;
3
3
  treeExpandable: boolean;
4
- toolbar: any;
4
+ toolbar?: any;
5
5
  };
6
6
  declare function TreeActionBar(props: Props): import("react/jsx-runtime").JSX.Element;
7
7
  export default TreeActionBar;
@@ -1 +1 @@
1
- {"version":3,"file":"TreeActionBar.d.ts","sourceRoot":"","sources":["../../src/actionbar/TreeActionBar.tsx"],"names":[],"mappings":"AAmCA,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,2CA+YlC;AAMD,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"TreeActionBar.d.ts","sourceRoot":"","sources":["../../src/actionbar/TreeActionBar.tsx"],"names":[],"mappings":"AAmCA,KAAK,KAAK,GAAG;IACX,aAAa,CAAC,EAAE,GAAG,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC;IACxB,OAAO,CAAC,EAAE,GAAG,CAAC;CACf,CAAC;AAEF,iBAAS,aAAa,CAAC,KAAK,EAAE,KAAK,2CA+YlC;AAMD,eAAe,aAAa,CAAC"}
@@ -9976,7 +9976,7 @@ function nm(e) {
9976
9976
  placement: "bottomRight",
9977
9977
  disabled: !(o && (o == null ? void 0 : o.length) > 0) || w,
9978
9978
  onRetrieveData: async () => [
9979
- { label: R("actions"), items: _ == null ? void 0 : _.action }
9979
+ { label: R("actions"), items: (_ == null ? void 0 : _.action) || [] }
9980
9980
  ],
9981
9981
  onItemClick: (U) => {
9982
9982
  U && Z(U);
@@ -9989,9 +9989,7 @@ function nm(e) {
9989
9989
  icon: /* @__PURE__ */ i(Gr, {}),
9990
9990
  placement: "bottomRight",
9991
9991
  disabled: !(o && (o == null ? void 0 : o.length) > 0) || w,
9992
- onRetrieveData: async () => [
9993
- { label: R("reports"), items: _ == null ? void 0 : _.print }
9994
- ],
9992
+ onRetrieveData: async () => [{ label: R("reports"), items: (_ == null ? void 0 : _.print) || [] }],
9995
9993
  onItemClick: (U) => {
9996
9994
  U && Z({
9997
9995
  ...U,