@leankylin-sheet/react 3.1.17 → 3.1.18

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.esm.js CHANGED
@@ -7424,7 +7424,7 @@ var ContextMenu = function ContextMenu() {
7424
7424
  show: canShowHidePs
7425
7425
  }].filter(function (item) {
7426
7426
  var _context$hooks2, _context$hooks3;
7427
- return ((_context$hooks2 = context.hooks) === null || _context$hooks2 === void 0 ? void 0 : _context$hooks2.showCommentsMenu) ? (_context$hooks3 = context.hooks) === null || _context$hooks3 === void 0 ? void 0 : _context$hooks3.showCommentsMenu(item) : item.show;
7427
+ return ((_context$hooks2 = context.hooks) === null || _context$hooks2 === void 0 ? void 0 : _context$hooks2.showCommentsMenu) ? (_context$hooks3 = context.hooks) === null || _context$hooks3 === void 0 ? void 0 : _context$hooks3.showCommentsMenu(item, row_index, col_index) : item.show;
7428
7428
  });
7429
7429
  return itemData.map(function (item) {
7430
7430
  return /*#__PURE__*/React.createElement(Menu, {
package/dist/index.js CHANGED
@@ -7434,7 +7434,7 @@ var ContextMenu = function ContextMenu() {
7434
7434
  show: canShowHidePs
7435
7435
  }].filter(function (item) {
7436
7436
  var _context$hooks2, _context$hooks3;
7437
- return ((_context$hooks2 = context.hooks) === null || _context$hooks2 === void 0 ? void 0 : _context$hooks2.showCommentsMenu) ? (_context$hooks3 = context.hooks) === null || _context$hooks3 === void 0 ? void 0 : _context$hooks3.showCommentsMenu(item) : item.show;
7437
+ return ((_context$hooks2 = context.hooks) === null || _context$hooks2 === void 0 ? void 0 : _context$hooks2.showCommentsMenu) ? (_context$hooks3 = context.hooks) === null || _context$hooks3 === void 0 ? void 0 : _context$hooks3.showCommentsMenu(item, row_index, col_index) : item.show;
7438
7438
  });
7439
7439
  return itemData.map(function (item) {
7440
7440
  return /*#__PURE__*/React__default['default'].createElement(Menu, {
package/dist/index.umd.js CHANGED
@@ -110470,7 +110470,7 @@
110470
110470
  show: canShowHidePs
110471
110471
  }].filter(function (item) {
110472
110472
  var _context$hooks2, _context$hooks3;
110473
- return ((_context$hooks2 = context.hooks) === null || _context$hooks2 === void 0 ? void 0 : _context$hooks2.showCommentsMenu) ? (_context$hooks3 = context.hooks) === null || _context$hooks3 === void 0 ? void 0 : _context$hooks3.showCommentsMenu(item) : item.show;
110473
+ return ((_context$hooks2 = context.hooks) === null || _context$hooks2 === void 0 ? void 0 : _context$hooks2.showCommentsMenu) ? (_context$hooks3 = context.hooks) === null || _context$hooks3 === void 0 ? void 0 : _context$hooks3.showCommentsMenu(item, row_index, col_index) : item.show;
110474
110474
  });
110475
110475
  return itemData.map(function (item) {
110476
110476
  return /*#__PURE__*/React__default['default'].createElement(Menu, {