@gisce/react-ooui 1.2.0-rc.3 → 1.2.0-rc.4
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/TreeActionBar.d.ts.map +1 -1
- package/dist/react-ooui.es.js +41 -8
- package/dist/react-ooui.es.js.map +1 -1
- package/dist/react-ooui.umd.js +1 -1
- package/dist/react-ooui.umd.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/TreeActionBar.tsx +42 -8
- package/src/types/index.ts +1 -0
- package/src/views/actionViews/TreeActionView.tsx +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TreeActionBar.d.ts","sourceRoot":"","sources":["TreeActionBar.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"TreeActionBar.d.ts","sourceRoot":"","sources":["TreeActionBar.tsx"],"names":[],"mappings":";AAiCA,aAAK,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,eAgTlC;AAMD,eAAe,aAAa,CAAC"}
|
package/dist/react-ooui.es.js
CHANGED
|
@@ -28749,14 +28749,47 @@ function TreeActionBar(e) {
|
|
|
28749
28749
|
previousView: w,
|
|
28750
28750
|
disabled: I
|
|
28751
28751
|
})]
|
|
28752
|
-
}), separator$1(), /* @__PURE__ */ jsx(
|
|
28753
|
-
icon: /* @__PURE__ */ jsx(
|
|
28752
|
+
}), separator$1(), /* @__PURE__ */ jsx(DropdownButton, {
|
|
28753
|
+
icon: /* @__PURE__ */ jsx(Icon, {
|
|
28754
|
+
component: () => /* @__PURE__ */ jsxs("svg", {
|
|
28755
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
28756
|
+
className: "icon icon-tabler icon-tabler-database-export",
|
|
28757
|
+
width: "18",
|
|
28758
|
+
height: "18",
|
|
28759
|
+
viewBox: "0 0 24 24",
|
|
28760
|
+
"stroke-width": "1.5",
|
|
28761
|
+
stroke: "#2c3e50",
|
|
28762
|
+
fill: "none",
|
|
28763
|
+
"stroke-linecap": "round",
|
|
28764
|
+
"stroke-linejoin": "round",
|
|
28765
|
+
children: [/* @__PURE__ */ jsx("path", {
|
|
28766
|
+
stroke: "none",
|
|
28767
|
+
d: "M0 0h24v24H0z",
|
|
28768
|
+
fill: "none"
|
|
28769
|
+
}), /* @__PURE__ */ jsx("ellipse", {
|
|
28770
|
+
cx: "12",
|
|
28771
|
+
cy: "6",
|
|
28772
|
+
rx: "8",
|
|
28773
|
+
ry: "3"
|
|
28774
|
+
}), /* @__PURE__ */ jsx("path", {
|
|
28775
|
+
d: "M4 6v6c0 1.657 3.582 3 8 3a19.84 19.84 0 0 0 3.302 -.267m4.698 -2.733v-6"
|
|
28776
|
+
}), /* @__PURE__ */ jsx("path", {
|
|
28777
|
+
d: "M4 12v6c0 1.599 3.335 2.905 7.538 2.995m8.462 -6.995v-2m-6 7h7m-3 -3l3 3l-3 3"
|
|
28778
|
+
})]
|
|
28779
|
+
})
|
|
28780
|
+
}),
|
|
28754
28781
|
tooltip: W("export"),
|
|
28755
|
-
|
|
28756
|
-
|
|
28757
|
-
|
|
28758
|
-
|
|
28759
|
-
|
|
28782
|
+
items: [{
|
|
28783
|
+
id: "print_screen",
|
|
28784
|
+
name: "Imprimir pantalla"
|
|
28785
|
+
}, {
|
|
28786
|
+
id: "export",
|
|
28787
|
+
name: "Exportaci\xF3n avanzada"
|
|
28788
|
+
}],
|
|
28789
|
+
onItemClick: (xe) => {
|
|
28790
|
+
!xe || we(xe);
|
|
28791
|
+
},
|
|
28792
|
+
disabled: d || c || I
|
|
28760
28793
|
}), separator$1(), /* @__PURE__ */ jsx(DropdownButton, {
|
|
28761
28794
|
icon: /* @__PURE__ */ jsx(ThunderboltOutlined, {}),
|
|
28762
28795
|
disabled: !(s && (s == null ? void 0 : s.length) > 0) || I,
|
|
@@ -28817,7 +28850,7 @@ const TreeActionView = (e) => {
|
|
|
28817
28850
|
return r ? /* @__PURE__ */ jsxs(Fragment, {
|
|
28818
28851
|
children: [/* @__PURE__ */ jsx(TitleHeader, {
|
|
28819
28852
|
children: /* @__PURE__ */ jsx(TreeActionBar, {
|
|
28820
|
-
toolbar:
|
|
28853
|
+
toolbar: c == null ? void 0 : c.toolbar,
|
|
28821
28854
|
parentContext: s,
|
|
28822
28855
|
treeExpandable: (c == null ? void 0 : c.isExpandable) || !1
|
|
28823
28856
|
})
|