@hybr1d-tech/charizard 0.7.75 → 0.7.76

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/hybr1d-ui.js CHANGED
@@ -9466,12 +9466,21 @@ function Rg({
9466
9466
  isError: n = !1,
9467
9467
  emptyText: t = "No requests",
9468
9468
  paginationConfig: s,
9469
- onClicks: r
9469
+ onClicks: r,
9470
+ hideMenuItems: i = !1
9470
9471
  }) {
9471
- const i = !c && !n && (!l || (l == null ? void 0 : l.length) === 0);
9472
- return /* @__PURE__ */ a.jsx("div", { className: S2.taskCardContainer, children: i ? /* @__PURE__ */ a.jsx(Dm, { emptyText: t }) : /* @__PURE__ */ a.jsxs("div", { className: x(S2.taskCard), children: [
9472
+ const o = !c && !n && (!l || (l == null ? void 0 : l.length) === 0);
9473
+ return /* @__PURE__ */ a.jsx("div", { className: S2.taskCardContainer, children: o ? /* @__PURE__ */ a.jsx(Dm, { emptyText: t }) : /* @__PURE__ */ a.jsxs("div", { className: x(S2.taskCard), children: [
9473
9474
  /* @__PURE__ */ a.jsx(Gr, { headers: e }),
9474
- c ? /* @__PURE__ */ a.jsx(n4, { containerStyle: { height: "164px" } }) : n ? /* @__PURE__ */ a.jsx(km, {}) : l == null ? void 0 : l.map((o, u) => /* @__PURE__ */ a.jsx(Rr, { data: o, onClicks: r == null ? void 0 : r[u], hideMenuItems: !0 }, u)),
9475
+ c ? /* @__PURE__ */ a.jsx(n4, { containerStyle: { height: "164px" } }) : n ? /* @__PURE__ */ a.jsx(km, {}) : l == null ? void 0 : l.map((u, d) => /* @__PURE__ */ a.jsx(
9476
+ Rr,
9477
+ {
9478
+ data: u,
9479
+ onClicks: r == null ? void 0 : r[d],
9480
+ hideMenuItems: i
9481
+ },
9482
+ d
9483
+ )),
9475
9484
  typeof s == "object" && !!s.metaData && /* @__PURE__ */ a.jsx("div", { className: S2.pagination, children: /* @__PURE__ */ a.jsx(T6, { paginationConfig: s }) })
9476
9485
  ] }) });
9477
9486
  }