fansunited-management-components 1.31.3-RC2 → 1.31.3-RC4

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/index.es.js CHANGED
@@ -29098,7 +29098,7 @@ const l2 = Qe(/* @__PURE__ */ u.jsx("path", {
29098
29098
  /* @__PURE__ */ u.jsx(be, { whiteSpace: "wrap", children: M.status })
29099
29099
  ] })
29100
29100
  ] }),
29101
- !e.readonly && /* @__PURE__ */ u.jsxs(ue, { children: [
29101
+ !e.readOnly && /* @__PURE__ */ u.jsxs(ue, { children: [
29102
29102
  /* @__PURE__ */ u.jsx(Ne, { title: e.labels.edit, children: /* @__PURE__ */ u.jsx(tn, { onClick: () => I(z, M), children: /* @__PURE__ */ u.jsx(kp, {}) }) }),
29103
29103
  /* @__PURE__ */ u.jsx(Ne, { title: e.labels.delete, children: /* @__PURE__ */ u.jsx(tn, { onClick: H, children: /* @__PURE__ */ u.jsx(Zc, {}) }) })
29104
29104
  ] }),
@@ -29120,7 +29120,7 @@ const l2 = Qe(/* @__PURE__ */ u.jsx("path", {
29120
29120
  },
29121
29121
  `scheduled-task-${e.entityId}-${e.entityType}-${M.id}`
29122
29122
  )),
29123
- !e.readonly && /* @__PURE__ */ u.jsxs(
29123
+ !e.readOnly && /* @__PURE__ */ u.jsxs(
29124
29124
  ue,
29125
29125
  {
29126
29126
  sx: {
@@ -34771,8 +34771,8 @@ const b0 = Qe(/* @__PURE__ */ u.jsx("path", {
34771
34771
  listeners: void 0,
34772
34772
  ref() {
34773
34773
  }
34774
- }), MF = ({ disabled: e = !1 }) => {
34775
- const { attributes: t, listeners: n, ref: r } = zt(cl);
34774
+ }), MF = () => {
34775
+ const { attributes: e, listeners: t, ref: n } = zt(cl);
34776
34776
  return /* @__PURE__ */ u.jsx(
34777
34777
  ze,
34778
34778
  J(N(N({
@@ -34787,9 +34787,8 @@ const b0 = Qe(/* @__PURE__ */ u.jsx("path", {
34787
34787
  backgroundColor: "transparent"
34788
34788
  }
34789
34789
  }
34790
- }, t), n), {
34791
- ref: r,
34792
- disabled: e,
34790
+ }, e), t), {
34791
+ ref: n,
34793
34792
  children: /* @__PURE__ */ u.jsx(b0, {})
34794
34793
  })
34795
34794
  );
@@ -34819,7 +34818,7 @@ const b0 = Qe(/* @__PURE__ */ u.jsx("path", {
34819
34818
  variant: o,
34820
34819
  ref: c,
34821
34820
  style: m,
34822
- startAction: i ? /* @__PURE__ */ u.jsx(MF, { disabled: !i }) : /* @__PURE__ */ u.jsx(u.Fragment, {}),
34821
+ startAction: i ? /* @__PURE__ */ u.jsx(MF, {}) : /* @__PURE__ */ u.jsx(u.Fragment, {}),
34823
34822
  endAction: i ? /* @__PURE__ */ u.jsx(Ne, { title: n, children: /* @__PURE__ */ u.jsx(ze, { variant: "outlined", color: "danger", onClick: r, sx: { ml: "auto", p: 0.5 }, size: "sm", children: /* @__PURE__ */ u.jsx(Pp, {}) }) }) : /* @__PURE__ */ u.jsx(u.Fragment, {}),
34824
34823
  sx: { p: 2, borderRadius: "sm" },
34825
34824
  children: e
@@ -34867,7 +34866,7 @@ const b0 = Qe(/* @__PURE__ */ u.jsx("path", {
34867
34866
  tooltipTitle: t.removeEntity,
34868
34867
  useDraggable: !n,
34869
34868
  children: [
34870
- /* @__PURE__ */ u.jsx(be, { ml: 2.5, children: c.title || c.name }),
34869
+ /* @__PURE__ */ u.jsx(be, { ml: n ? 0 : 2.5, children: c.title || c.name }),
34871
34870
  c.type && /* @__PURE__ */ u.jsx(an, { color: Xj(c.type), sx: { marginLeft: 2 }, children: Zj(c.type) })
34872
34871
  ]
34873
34872
  },