@conboai/app.db.query 0.8.69 → 0.8.70

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.
@@ -131239,7 +131239,7 @@ const Ii = Wl((e) => ({
131239
131239
  label: ys(s),
131240
131240
  subLabel: ys(i)
131241
131241
  };
131242
- }), GQe = (e) => ({
131242
+ }), GQe = (e, t) => ({
131243
131243
  position: "relative",
131244
131244
  top: 0,
131245
131245
  right: 0,
@@ -131256,6 +131256,7 @@ const Ii = Wl((e) => ({
131256
131256
  width: "100%",
131257
131257
  marginBottom: e ? "16px" : "5px",
131258
131258
  alignItems: "center",
131259
+ cursor: t ? "pointer" : "default",
131259
131260
  ".MuiTypography-root": {
131260
131261
  fontSize: "14px"
131261
131262
  }
@@ -131286,14 +131287,25 @@ const Ii = Wl((e) => ({
131286
131287
  isExpandedAllowed: o = !1
131287
131288
  }) => {
131288
131289
  const [i, s] = Ue(!1), a = () => {
131289
- s((l) => !l);
131290
+ o && s((l) => !l);
131290
131291
  };
131291
131292
  return /* @__PURE__ */ se.jsxs(Xe, { mb: i ? "24px" : "5px", children: [
131292
- /* @__PURE__ */ se.jsxs(Xe, { sx: GQe(i), children: [
131293
- /* @__PURE__ */ se.jsx(Wt, { sx: XQe, children: n }),
131294
- /* @__PURE__ */ se.jsx(Wt, { sx: JQe, children: t }),
131295
- o && /* @__PURE__ */ se.jsx(Xe, { sx: KQe, children: /* @__PURE__ */ se.jsx(ug, { onClick: a, sx: ZQe, children: i ? /* @__PURE__ */ se.jsx(tHe, {}) : /* @__PURE__ */ se.jsx(eHe, {}) }) })
131296
- ] }),
131293
+ /* @__PURE__ */ se.jsxs(
131294
+ Xe,
131295
+ {
131296
+ sx: GQe(i, o),
131297
+ onClick: a,
131298
+ children: [
131299
+ /* @__PURE__ */ se.jsxs(Wt, { sx: XQe, children: [
131300
+ n,
131301
+ "/",
131302
+ e == null ? void 0 : e.elementSerialNumber
131303
+ ] }),
131304
+ /* @__PURE__ */ se.jsx(Wt, { sx: JQe, children: t }),
131305
+ o && /* @__PURE__ */ se.jsx(Xe, { sx: KQe, children: /* @__PURE__ */ se.jsx(ug, { sx: ZQe, children: i ? /* @__PURE__ */ se.jsx(tHe, {}) : /* @__PURE__ */ se.jsx(eHe, {}) }) })
131306
+ ]
131307
+ }
131308
+ ),
131297
131309
  /* @__PURE__ */ se.jsx(bse, { in: i, children: /* @__PURE__ */ se.jsx(
131298
131310
  fZ,
131299
131311
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conboai/app.db.query",
3
- "version": "0.8.69",
3
+ "version": "0.8.70",
4
4
  "type": "module",
5
5
  "main": "dist/app.db.query.js",
6
6
  "types": "dist/build/index.d.ts",