@leankylin-sheet/react 3.1.20 → 3.1.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 +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
|
@@ -2190,6 +2190,7 @@ var NotationBoxes = function NotationBoxes() {
|
|
|
2190
2190
|
}
|
|
2191
2191
|
}, (_context$hooks$commen = (_context$hooks = context.hooks).commentsPreRender) === null || _context$hooks$commen === void 0 ? void 0 : _context$hooks$commen.call(_context$hooks, r, c), /*#__PURE__*/React.createElement(ContentEditable, {
|
|
2192
2192
|
id: "comment-editor-".concat(rc),
|
|
2193
|
+
className: "luckysheet-comment-editor",
|
|
2193
2194
|
autoFocus: autoFocus,
|
|
2194
2195
|
style: {
|
|
2195
2196
|
width: "100%",
|
|
@@ -7407,11 +7408,11 @@ var ContextMenu = function ContextMenu() {
|
|
|
7407
7408
|
});
|
|
7408
7409
|
}
|
|
7409
7410
|
if (name === "insert-comment") {
|
|
7410
|
-
var _flowdata$row_index, _flowdata$row_index$c
|
|
7411
|
+
var _flowdata$row_index, _flowdata$row_index$c;
|
|
7411
7412
|
var flowdata = getFlowdata(context);
|
|
7412
7413
|
var row_index = selection === null || selection === void 0 ? void 0 : selection.row[0];
|
|
7413
7414
|
var col_index = selection === null || selection === void 0 ? void 0 : selection.column[0];
|
|
7414
|
-
var hasPsValue = !!(flowdata === null || flowdata === void 0 ? void 0 : (_flowdata$row_index = flowdata[row_index]) === null || _flowdata$row_index === void 0 ? void 0 : (_flowdata$row_index$c = _flowdata$row_index[col_index]) === null || _flowdata$row_index$c === void 0 ? void 0 :
|
|
7415
|
+
var hasPsValue = !!(flowdata === null || flowdata === void 0 ? void 0 : (_flowdata$row_index = flowdata[row_index]) === null || _flowdata$row_index === void 0 ? void 0 : (_flowdata$row_index$c = _flowdata$row_index[col_index]) === null || _flowdata$row_index$c === void 0 ? void 0 : _flowdata$row_index$c.ps);
|
|
7415
7416
|
var canAddPs = !hasPsValue;
|
|
7416
7417
|
var canEditPs = hasPsValue;
|
|
7417
7418
|
var canDeletePs = hasPsValue;
|
package/dist/index.js
CHANGED
|
@@ -2200,6 +2200,7 @@ var NotationBoxes = function NotationBoxes() {
|
|
|
2200
2200
|
}
|
|
2201
2201
|
}, (_context$hooks$commen = (_context$hooks = context.hooks).commentsPreRender) === null || _context$hooks$commen === void 0 ? void 0 : _context$hooks$commen.call(_context$hooks, r, c), /*#__PURE__*/React__default['default'].createElement(ContentEditable, {
|
|
2202
2202
|
id: "comment-editor-".concat(rc),
|
|
2203
|
+
className: "luckysheet-comment-editor",
|
|
2203
2204
|
autoFocus: autoFocus,
|
|
2204
2205
|
style: {
|
|
2205
2206
|
width: "100%",
|
|
@@ -7417,11 +7418,11 @@ var ContextMenu = function ContextMenu() {
|
|
|
7417
7418
|
});
|
|
7418
7419
|
}
|
|
7419
7420
|
if (name === "insert-comment") {
|
|
7420
|
-
var _flowdata$row_index, _flowdata$row_index$c
|
|
7421
|
+
var _flowdata$row_index, _flowdata$row_index$c;
|
|
7421
7422
|
var flowdata = core.getFlowdata(context);
|
|
7422
7423
|
var row_index = selection === null || selection === void 0 ? void 0 : selection.row[0];
|
|
7423
7424
|
var col_index = selection === null || selection === void 0 ? void 0 : selection.column[0];
|
|
7424
|
-
var hasPsValue = !!(flowdata === null || flowdata === void 0 ? void 0 : (_flowdata$row_index = flowdata[row_index]) === null || _flowdata$row_index === void 0 ? void 0 : (_flowdata$row_index$c = _flowdata$row_index[col_index]) === null || _flowdata$row_index$c === void 0 ? void 0 :
|
|
7425
|
+
var hasPsValue = !!(flowdata === null || flowdata === void 0 ? void 0 : (_flowdata$row_index = flowdata[row_index]) === null || _flowdata$row_index === void 0 ? void 0 : (_flowdata$row_index$c = _flowdata$row_index[col_index]) === null || _flowdata$row_index$c === void 0 ? void 0 : _flowdata$row_index$c.ps);
|
|
7425
7426
|
var canAddPs = !hasPsValue;
|
|
7426
7427
|
var canEditPs = hasPsValue;
|
|
7427
7428
|
var canDeletePs = hasPsValue;
|
package/dist/index.umd.js
CHANGED
|
@@ -105236,6 +105236,7 @@
|
|
|
105236
105236
|
}
|
|
105237
105237
|
}, (_context$hooks$commen = (_context$hooks = context.hooks).commentsPreRender) === null || _context$hooks$commen === void 0 ? void 0 : _context$hooks$commen.call(_context$hooks, r, c), /*#__PURE__*/React__default['default'].createElement(ContentEditable, {
|
|
105238
105238
|
id: "comment-editor-".concat(rc),
|
|
105239
|
+
className: "luckysheet-comment-editor",
|
|
105239
105240
|
autoFocus: autoFocus,
|
|
105240
105241
|
style: {
|
|
105241
105242
|
width: "100%",
|
|
@@ -110453,11 +110454,11 @@
|
|
|
110453
110454
|
});
|
|
110454
110455
|
}
|
|
110455
110456
|
if (name === "insert-comment") {
|
|
110456
|
-
var _flowdata$row_index, _flowdata$row_index$c
|
|
110457
|
+
var _flowdata$row_index, _flowdata$row_index$c;
|
|
110457
110458
|
var flowdata = getFlowdata(context);
|
|
110458
110459
|
var row_index = selection === null || selection === void 0 ? void 0 : selection.row[0];
|
|
110459
110460
|
var col_index = selection === null || selection === void 0 ? void 0 : selection.column[0];
|
|
110460
|
-
var hasPsValue = !!(flowdata === null || flowdata === void 0 ? void 0 : (_flowdata$row_index = flowdata[row_index]) === null || _flowdata$row_index === void 0 ? void 0 : (_flowdata$row_index$c = _flowdata$row_index[col_index]) === null || _flowdata$row_index$c === void 0 ? void 0 :
|
|
110461
|
+
var hasPsValue = !!(flowdata === null || flowdata === void 0 ? void 0 : (_flowdata$row_index = flowdata[row_index]) === null || _flowdata$row_index === void 0 ? void 0 : (_flowdata$row_index$c = _flowdata$row_index[col_index]) === null || _flowdata$row_index$c === void 0 ? void 0 : _flowdata$row_index$c.ps);
|
|
110461
110462
|
var canAddPs = !hasPsValue;
|
|
110462
110463
|
var canEditPs = hasPsValue;
|
|
110463
110464
|
var canDeletePs = hasPsValue;
|