@leankylin-sheet/react 3.1.14 → 3.1.15
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 +3 -2
- package/dist/index.js +3 -2
- package/dist/index.umd.js +3 -2
- package/dist/index.umd.min.js +1 -1
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -2056,12 +2056,13 @@ var ImgBoxs = function ImgBoxs() {
|
|
|
2056
2056
|
};
|
|
2057
2057
|
|
|
2058
2058
|
var NotationBoxes = function NotationBoxes() {
|
|
2059
|
-
var _context$commentBoxes;
|
|
2059
|
+
var _context$visibledatac, _context$commentBoxes;
|
|
2060
2060
|
var _useContext = useContext(WorkbookContext),
|
|
2061
2061
|
context = _useContext.context,
|
|
2062
2062
|
setContext = _useContext.setContext,
|
|
2063
2063
|
refs = _useContext.refs;
|
|
2064
2064
|
var flowdata = getFlowdata(context);
|
|
2065
|
+
var length = (_context$visibledatac = context.visibledatacolumn) === null || _context$visibledatac === void 0 ? void 0 : _context$visibledatac.length;
|
|
2065
2066
|
useEffect(function () {
|
|
2066
2067
|
if (flowdata) {
|
|
2067
2068
|
var psShownCells = [];
|
|
@@ -2082,7 +2083,7 @@ var NotationBoxes = function NotationBoxes() {
|
|
|
2082
2083
|
return showComments(ctx, psShownCells);
|
|
2083
2084
|
});
|
|
2084
2085
|
}
|
|
2085
|
-
}, [flowdata, setContext]);
|
|
2086
|
+
}, [flowdata, setContext, length]);
|
|
2086
2087
|
return /*#__PURE__*/React.createElement("div", {
|
|
2087
2088
|
id: "luckysheet-postil-showBoxs"
|
|
2088
2089
|
}, _.concat((_context$commentBoxes = context.commentBoxes) === null || _context$commentBoxes === void 0 ? void 0 : _context$commentBoxes.filter(function (v) {
|
package/dist/index.js
CHANGED
|
@@ -2066,12 +2066,13 @@ var ImgBoxs = function ImgBoxs() {
|
|
|
2066
2066
|
};
|
|
2067
2067
|
|
|
2068
2068
|
var NotationBoxes = function NotationBoxes() {
|
|
2069
|
-
var _context$commentBoxes;
|
|
2069
|
+
var _context$visibledatac, _context$commentBoxes;
|
|
2070
2070
|
var _useContext = React.useContext(WorkbookContext),
|
|
2071
2071
|
context = _useContext.context,
|
|
2072
2072
|
setContext = _useContext.setContext,
|
|
2073
2073
|
refs = _useContext.refs;
|
|
2074
2074
|
var flowdata = core.getFlowdata(context);
|
|
2075
|
+
var length = (_context$visibledatac = context.visibledatacolumn) === null || _context$visibledatac === void 0 ? void 0 : _context$visibledatac.length;
|
|
2075
2076
|
React.useEffect(function () {
|
|
2076
2077
|
if (flowdata) {
|
|
2077
2078
|
var psShownCells = [];
|
|
@@ -2092,7 +2093,7 @@ var NotationBoxes = function NotationBoxes() {
|
|
|
2092
2093
|
return core.showComments(ctx, psShownCells);
|
|
2093
2094
|
});
|
|
2094
2095
|
}
|
|
2095
|
-
}, [flowdata, setContext]);
|
|
2096
|
+
}, [flowdata, setContext, length]);
|
|
2096
2097
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
2097
2098
|
id: "luckysheet-postil-showBoxs"
|
|
2098
2099
|
}, ___default['default'].concat((_context$commentBoxes = context.commentBoxes) === null || _context$commentBoxes === void 0 ? void 0 : _context$commentBoxes.filter(function (v) {
|
package/dist/index.umd.js
CHANGED
|
@@ -105102,12 +105102,13 @@
|
|
|
105102
105102
|
};
|
|
105103
105103
|
|
|
105104
105104
|
var NotationBoxes = function NotationBoxes() {
|
|
105105
|
-
var _context$commentBoxes;
|
|
105105
|
+
var _context$visibledatac, _context$commentBoxes;
|
|
105106
105106
|
var _useContext = React.useContext(WorkbookContext),
|
|
105107
105107
|
context = _useContext.context,
|
|
105108
105108
|
setContext = _useContext.setContext,
|
|
105109
105109
|
refs = _useContext.refs;
|
|
105110
105110
|
var flowdata = getFlowdata(context);
|
|
105111
|
+
var length = (_context$visibledatac = context.visibledatacolumn) === null || _context$visibledatac === void 0 ? void 0 : _context$visibledatac.length;
|
|
105111
105112
|
React.useEffect(function () {
|
|
105112
105113
|
if (flowdata) {
|
|
105113
105114
|
var psShownCells = [];
|
|
@@ -105128,7 +105129,7 @@
|
|
|
105128
105129
|
return showComments(ctx, psShownCells);
|
|
105129
105130
|
});
|
|
105130
105131
|
}
|
|
105131
|
-
}, [flowdata, setContext]);
|
|
105132
|
+
}, [flowdata, setContext, length]);
|
|
105132
105133
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
105133
105134
|
id: "luckysheet-postil-showBoxs"
|
|
105134
105135
|
}, lodash.concat((_context$commentBoxes = context.commentBoxes) === null || _context$commentBoxes === void 0 ? void 0 : _context$commentBoxes.filter(function (v) {
|