react-base-data-table 0.5.2 → 0.5.3

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 CHANGED
@@ -2390,7 +2390,8 @@ const Gm = ur((e) => {
2390
2390
  onMouseEnter: () => {
2391
2391
  },
2392
2392
  onContextMenu: (x) => {
2393
- x.preventDefault(), d(x, e.header.id), o({
2393
+ var S;
2394
+ x.preventDefault(), d(x, e.header.id), ((S = i == null ? void 0 : i.contextMenu) == null ? void 0 : S.showOnHeader) !== !1 && o({
2394
2395
  x: x.clientX,
2395
2396
  y: x.clientY,
2396
2397
  header: e.header
@@ -22513,6 +22514,7 @@ const UF = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAQAAAC0NkA6AA
22513
22514
  onMouseDown: Q,
22514
22515
  onMouseEnter: R,
22515
22516
  onContextMenu: (z) => {
22517
+ var re;
22516
22518
  l(
22517
22519
  {
22518
22520
  rowIndex: e.rowIndex,
@@ -22520,7 +22522,7 @@ const UF = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAQAAAC0NkA6AA
22520
22522
  fromArrayData: e.fromArrayData
22521
22523
  },
22522
22524
  z
22523
- ), E({
22525
+ ), ((re = C == null ? void 0 : C.contextMenu) == null ? void 0 : re.showOnCell) !== !1 && E({
22524
22526
  x: z.clientX,
22525
22527
  y: z.clientY,
22526
22528
  cellCoordinate: {