@espresso-lab/mantine-data-table 1.9.36 → 1.9.37
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/index.es.js +2 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -8361,11 +8361,11 @@ function Hd(t) {
|
|
|
8361
8361
|
e[25] !== P || e[26] !== J || e[27] !== U || e[28] !== a || e[29] !== o || e[30] !== g ? (_e = (a.some(rh) || g) && /* @__PURE__ */ w.jsxs(Dt, { shadow: "md", children: [
|
|
8362
8362
|
/* @__PURE__ */ w.jsx(Dt.Target, { children: /* @__PURE__ */ w.jsx(ft, { variant: "outline", rightSection: /* @__PURE__ */ w.jsx(qs, { size: 14 }), disabled: !o.length, children: "Aktionen" }) }),
|
|
8363
8363
|
/* @__PURE__ */ w.jsxs(Dt.Dropdown, { children: [
|
|
8364
|
-
a.find(th) && (!U || U(o[0])) && /* @__PURE__ */ w.jsx(Dt.Item, { leftSection: /* @__PURE__ */ w.jsx(Vs, { size: 14 }), onClick: () => ue(!0), disabled: o.length !== 1, children: "Bearbeiten" }),
|
|
8364
|
+
a.find(th) && (!U || o.length > 0 && U(o[0])) && /* @__PURE__ */ w.jsx(Dt.Item, { leftSection: /* @__PURE__ */ w.jsx(Vs, { size: 14 }), onClick: () => ue(!0), disabled: o.length !== 1, children: "Bearbeiten" }),
|
|
8365
8365
|
(P ?? []).map((ye, Se) => /* @__PURE__ */ xr(Dt.Item, { ...ye.icon && {
|
|
8366
8366
|
leftSection: ye.icon
|
|
8367
8367
|
}, key: `custom_action_${Se}`, onClick: () => ye.onClick(o) }, ye.label)),
|
|
8368
|
-
a.find(eh) && (!J || J(o[0])) && /* @__PURE__ */ w.jsx(Dt.Item, { leftSection: /* @__PURE__ */ w.jsx(Hs, { size: 14 }), onClick: () => te(!0), color: "red", children: "Löschen" })
|
|
8368
|
+
a.find(eh) && (!J || o.length > 0 && J(o[0])) && /* @__PURE__ */ w.jsx(Dt.Item, { leftSection: /* @__PURE__ */ w.jsx(Hs, { size: 14 }), onClick: () => te(!0), color: "red", children: "Löschen" })
|
|
8369
8369
|
] })
|
|
8370
8370
|
] }), e[25] = P, e[26] = J, e[27] = U, e[28] = a, e[29] = o, e[30] = g, e[31] = _e) : _e = e[31];
|
|
8371
8371
|
let Ne;
|