@leankylin-sheet/react 5.2.21 → 5.2.22

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
@@ -3631,6 +3631,13 @@ var CellTipRender = function CellTipRender() {
3631
3631
  }
3632
3632
  return _list;
3633
3633
  }, [currentSheet.data]);
3634
+ function hiddenFilter(index) {
3635
+ var _context$config$colhi;
3636
+ if (((_context$config$colhi = context.config.colhidden) === null || _context$config$colhi === void 0 ? void 0 : _context$config$colhi[index]) === 0) {
3637
+ return true;
3638
+ }
3639
+ return false;
3640
+ }
3634
3641
  return /*#__PURE__*/React.createElement("div", {
3635
3642
  className: "leankylin-cell-tip",
3636
3643
  style: {
@@ -3639,6 +3646,9 @@ var CellTipRender = function CellTipRender() {
3639
3646
  }
3640
3647
  }, list === null || list === void 0 ? void 0 : list.map(function (item) {
3641
3648
  var _refs$globalCache$fre, _refs$globalCache$fre2, _refs$globalCache$fre3, _refs$globalCache$fre4, _refs$globalCache$fre5, _refs$globalCache$fre6, _refs$globalCache$fre7, _refs$globalCache$fre8, _refs$globalCache$fre9, _refs$globalCache$fre10, _settings$renderCellT;
3649
+ if (hiddenFilter(item.c)) {
3650
+ return null;
3651
+ }
3642
3652
  var _colLocationByIndex = colLocationByIndex(item.c, context.visibledatacolumn),
3643
3653
  _colLocationByIndex2 = _slicedToArray(_colLocationByIndex, 2),
3644
3654
  left = _colLocationByIndex2[0],
package/dist/index.js CHANGED
@@ -3641,6 +3641,13 @@ var CellTipRender = function CellTipRender() {
3641
3641
  }
3642
3642
  return _list;
3643
3643
  }, [currentSheet.data]);
3644
+ function hiddenFilter(index) {
3645
+ var _context$config$colhi;
3646
+ if (((_context$config$colhi = context.config.colhidden) === null || _context$config$colhi === void 0 ? void 0 : _context$config$colhi[index]) === 0) {
3647
+ return true;
3648
+ }
3649
+ return false;
3650
+ }
3644
3651
  return /*#__PURE__*/React__default['default'].createElement("div", {
3645
3652
  className: "leankylin-cell-tip",
3646
3653
  style: {
@@ -3649,6 +3656,9 @@ var CellTipRender = function CellTipRender() {
3649
3656
  }
3650
3657
  }, list === null || list === void 0 ? void 0 : list.map(function (item) {
3651
3658
  var _refs$globalCache$fre, _refs$globalCache$fre2, _refs$globalCache$fre3, _refs$globalCache$fre4, _refs$globalCache$fre5, _refs$globalCache$fre6, _refs$globalCache$fre7, _refs$globalCache$fre8, _refs$globalCache$fre9, _refs$globalCache$fre10, _settings$renderCellT;
3659
+ if (hiddenFilter(item.c)) {
3660
+ return null;
3661
+ }
3652
3662
  var _colLocationByIndex = core.colLocationByIndex(item.c, context.visibledatacolumn),
3653
3663
  _colLocationByIndex2 = _slicedToArray(_colLocationByIndex, 2),
3654
3664
  left = _colLocationByIndex2[0],
package/dist/index.umd.js CHANGED
@@ -108510,6 +108510,13 @@
108510
108510
  }
108511
108511
  return _list;
108512
108512
  }, [currentSheet.data]);
108513
+ function hiddenFilter(index) {
108514
+ var _context$config$colhi;
108515
+ if (((_context$config$colhi = context.config.colhidden) === null || _context$config$colhi === void 0 ? void 0 : _context$config$colhi[index]) === 0) {
108516
+ return true;
108517
+ }
108518
+ return false;
108519
+ }
108513
108520
  return /*#__PURE__*/React__default['default'].createElement("div", {
108514
108521
  className: "leankylin-cell-tip",
108515
108522
  style: {
@@ -108518,6 +108525,9 @@
108518
108525
  }
108519
108526
  }, list === null || list === void 0 ? void 0 : list.map(function (item) {
108520
108527
  var _refs$globalCache$fre, _refs$globalCache$fre2, _refs$globalCache$fre3, _refs$globalCache$fre4, _refs$globalCache$fre5, _refs$globalCache$fre6, _refs$globalCache$fre7, _refs$globalCache$fre8, _refs$globalCache$fre9, _refs$globalCache$fre10, _settings$renderCellT;
108528
+ if (hiddenFilter(item.c)) {
108529
+ return null;
108530
+ }
108521
108531
  var _colLocationByIndex = colLocationByIndex(item.c, context.visibledatacolumn),
108522
108532
  _colLocationByIndex2 = _slicedToArray(_colLocationByIndex, 2),
108523
108533
  left = _colLocationByIndex2[0],