@fileverse-dev/fortune-react 1.0.2-mod-16 → 1.0.2-mod-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.css +2 -2
- package/dist/index.esm.css +2 -2
- package/dist/index.esm.js +6 -8
- package/dist/index.js +6 -8
- package/dist/index.umd.css +2 -2
- package/dist/index.umd.js +7 -9
- package/dist/index.umd.min.css +1 -1
- package/dist/index.umd.min.js +1 -1
- package/package.json +2 -2
package/dist/index.css
CHANGED
|
@@ -3304,8 +3304,8 @@ label {
|
|
|
3304
3304
|
height: 252px;
|
|
3305
3305
|
background: rgb(240, 240, 240);
|
|
3306
3306
|
position: absolute;
|
|
3307
|
-
bottom:
|
|
3308
|
-
left:
|
|
3307
|
+
bottom: 10px;
|
|
3308
|
+
left: 100px;
|
|
3309
3309
|
border-radius: 6px;
|
|
3310
3310
|
box-shadow: 0 2px 4px rgb(0 0 0 / 20%);
|
|
3311
3311
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
package/dist/index.esm.css
CHANGED
|
@@ -3304,8 +3304,8 @@ label {
|
|
|
3304
3304
|
height: 252px;
|
|
3305
3305
|
background: rgb(240, 240, 240);
|
|
3306
3306
|
position: absolute;
|
|
3307
|
-
bottom:
|
|
3308
|
-
left:
|
|
3307
|
+
bottom: 10px;
|
|
3308
|
+
left: 100px;
|
|
3309
3309
|
border-radius: 6px;
|
|
3310
3310
|
box-shadow: 0 2px 4px rgb(0 0 0 / 20%);
|
|
3311
3311
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
package/dist/index.esm.js
CHANGED
|
@@ -2404,8 +2404,6 @@ var NotationBoxes = function NotationBoxes() {
|
|
|
2404
2404
|
top = commentBox.top,
|
|
2405
2405
|
width = commentBox.width,
|
|
2406
2406
|
height = commentBox.height,
|
|
2407
|
-
value = commentBox.value,
|
|
2408
|
-
autoFocus = commentBox.autoFocus,
|
|
2409
2407
|
size = commentBox.size;
|
|
2410
2408
|
var isEditing = ((_context$editingComme2 = context.editingCommentBox) === null || _context$editingComme2 === void 0 ? void 0 : _context$editingComme2.rc) === rc;
|
|
2411
2409
|
var commentId = "comment-box-".concat(rc);
|
|
@@ -3751,8 +3749,8 @@ var SheetOverlay = function SheetOverlay() {
|
|
|
3751
3749
|
return _.assign({
|
|
3752
3750
|
left: selection.left,
|
|
3753
3751
|
top: selection.top,
|
|
3754
|
-
width: selection.width ? selection.width - 1.
|
|
3755
|
-
height: selection.height ? selection.height - 1.
|
|
3752
|
+
width: selection.width ? selection.width - 1.8 : selection.width,
|
|
3753
|
+
height: selection.height ? selection.height - 1.8 : selection.height,
|
|
3756
3754
|
display: "block"
|
|
3757
3755
|
}, fixRowStyleOverflowInFreeze(context, selection.row_focus || 0, selection.row_focus || 0, (_refs$globalCache$fre = refs.globalCache.freezen) === null || _refs$globalCache$fre === void 0 ? void 0 : _refs$globalCache$fre[context.currentSheetId]), fixColumnStyleOverflowInFreeze(context, selection.column_focus || 0, selection.column_focus || 0, (_refs$globalCache$fre2 = refs.globalCache.freezen) === null || _refs$globalCache$fre2 === void 0 ? void 0 : _refs$globalCache$fre2[context.currentSheetId]));
|
|
3758
3756
|
}() : {},
|
|
@@ -3811,8 +3809,8 @@ var SheetOverlay = function SheetOverlay() {
|
|
|
3811
3809
|
style: _.assign({
|
|
3812
3810
|
left: selection.left_move,
|
|
3813
3811
|
top: selection.top_move,
|
|
3814
|
-
width: selection.width_move ? selection.width_move - 1.
|
|
3815
|
-
height: selection.height_move ? selection.height_move - 1.
|
|
3812
|
+
width: selection.width_move ? selection.width_move - 1.8 : selection.width_move,
|
|
3813
|
+
height: selection.height_move ? selection.height_move - 1.8 : selection.height_move,
|
|
3816
3814
|
display: "block"
|
|
3817
3815
|
}, fixRowStyleOverflowInFreeze(context, selection.row[0], selection.row[1], (_refs$globalCache$fre3 = refs.globalCache.freezen) === null || _refs$globalCache$fre3 === void 0 ? void 0 : _refs$globalCache$fre3[context.currentSheetId]), fixColumnStyleOverflowInFreeze(context, selection.column[0], selection.column[1], (_refs$globalCache$fre4 = refs.globalCache.freezen) === null || _refs$globalCache$fre4 === void 0 ? void 0 : _refs$globalCache$fre4[context.currentSheetId])),
|
|
3818
3816
|
onMouseDown: function onMouseDown(e) {
|
|
@@ -7642,7 +7640,7 @@ var ContextMenu = function ContextMenu() {
|
|
|
7642
7640
|
var _context$lang, _context$lang2;
|
|
7643
7641
|
return /*#__PURE__*/React.createElement(Menu, {
|
|
7644
7642
|
key: "add-col-".concat(dir),
|
|
7645
|
-
onClick: function onClick(
|
|
7643
|
+
onClick: function onClick() {
|
|
7646
7644
|
var _context$luckysheet_s2, _context$luckysheet_s3, _context$luckysheet_s4;
|
|
7647
7645
|
var position = (_context$luckysheet_s2 = context.luckysheet_select_save) === null || _context$luckysheet_s2 === void 0 ? void 0 : (_context$luckysheet_s3 = _context$luckysheet_s2[0]) === null || _context$luckysheet_s3 === void 0 ? void 0 : (_context$luckysheet_s4 = _context$luckysheet_s3.column) === null || _context$luckysheet_s4 === void 0 ? void 0 : _context$luckysheet_s4[0];
|
|
7648
7646
|
if (position == null) return;
|
|
@@ -7690,7 +7688,7 @@ var ContextMenu = function ContextMenu() {
|
|
|
7690
7688
|
var _context$lang3, _context$lang4;
|
|
7691
7689
|
return /*#__PURE__*/React.createElement(Menu, {
|
|
7692
7690
|
key: "add-row-".concat(dir),
|
|
7693
|
-
onClick: function onClick(
|
|
7691
|
+
onClick: function onClick() {
|
|
7694
7692
|
var _context$luckysheet_s5, _context$luckysheet_s6, _context$luckysheet_s7;
|
|
7695
7693
|
var position = (_context$luckysheet_s5 = context.luckysheet_select_save) === null || _context$luckysheet_s5 === void 0 ? void 0 : (_context$luckysheet_s6 = _context$luckysheet_s5[0]) === null || _context$luckysheet_s6 === void 0 ? void 0 : (_context$luckysheet_s7 = _context$luckysheet_s6.row) === null || _context$luckysheet_s7 === void 0 ? void 0 : _context$luckysheet_s7[0];
|
|
7696
7694
|
if (position == null) return;
|
package/dist/index.js
CHANGED
|
@@ -2415,8 +2415,6 @@ var NotationBoxes = function NotationBoxes() {
|
|
|
2415
2415
|
top = commentBox.top,
|
|
2416
2416
|
width = commentBox.width,
|
|
2417
2417
|
height = commentBox.height,
|
|
2418
|
-
value = commentBox.value,
|
|
2419
|
-
autoFocus = commentBox.autoFocus,
|
|
2420
2418
|
size = commentBox.size;
|
|
2421
2419
|
var isEditing = ((_context$editingComme2 = context.editingCommentBox) === null || _context$editingComme2 === void 0 ? void 0 : _context$editingComme2.rc) === rc;
|
|
2422
2420
|
var commentId = "comment-box-".concat(rc);
|
|
@@ -3762,8 +3760,8 @@ var SheetOverlay = function SheetOverlay() {
|
|
|
3762
3760
|
return ___default['default'].assign({
|
|
3763
3761
|
left: selection.left,
|
|
3764
3762
|
top: selection.top,
|
|
3765
|
-
width: selection.width ? selection.width - 1.
|
|
3766
|
-
height: selection.height ? selection.height - 1.
|
|
3763
|
+
width: selection.width ? selection.width - 1.8 : selection.width,
|
|
3764
|
+
height: selection.height ? selection.height - 1.8 : selection.height,
|
|
3767
3765
|
display: "block"
|
|
3768
3766
|
}, fortuneCore.fixRowStyleOverflowInFreeze(context, selection.row_focus || 0, selection.row_focus || 0, (_refs$globalCache$fre = refs.globalCache.freezen) === null || _refs$globalCache$fre === void 0 ? void 0 : _refs$globalCache$fre[context.currentSheetId]), fortuneCore.fixColumnStyleOverflowInFreeze(context, selection.column_focus || 0, selection.column_focus || 0, (_refs$globalCache$fre2 = refs.globalCache.freezen) === null || _refs$globalCache$fre2 === void 0 ? void 0 : _refs$globalCache$fre2[context.currentSheetId]));
|
|
3769
3767
|
}() : {},
|
|
@@ -3822,8 +3820,8 @@ var SheetOverlay = function SheetOverlay() {
|
|
|
3822
3820
|
style: ___default['default'].assign({
|
|
3823
3821
|
left: selection.left_move,
|
|
3824
3822
|
top: selection.top_move,
|
|
3825
|
-
width: selection.width_move ? selection.width_move - 1.
|
|
3826
|
-
height: selection.height_move ? selection.height_move - 1.
|
|
3823
|
+
width: selection.width_move ? selection.width_move - 1.8 : selection.width_move,
|
|
3824
|
+
height: selection.height_move ? selection.height_move - 1.8 : selection.height_move,
|
|
3827
3825
|
display: "block"
|
|
3828
3826
|
}, fortuneCore.fixRowStyleOverflowInFreeze(context, selection.row[0], selection.row[1], (_refs$globalCache$fre3 = refs.globalCache.freezen) === null || _refs$globalCache$fre3 === void 0 ? void 0 : _refs$globalCache$fre3[context.currentSheetId]), fortuneCore.fixColumnStyleOverflowInFreeze(context, selection.column[0], selection.column[1], (_refs$globalCache$fre4 = refs.globalCache.freezen) === null || _refs$globalCache$fre4 === void 0 ? void 0 : _refs$globalCache$fre4[context.currentSheetId])),
|
|
3829
3827
|
onMouseDown: function onMouseDown(e) {
|
|
@@ -7653,7 +7651,7 @@ var ContextMenu = function ContextMenu() {
|
|
|
7653
7651
|
var _context$lang, _context$lang2;
|
|
7654
7652
|
return /*#__PURE__*/React__default['default'].createElement(Menu, {
|
|
7655
7653
|
key: "add-col-".concat(dir),
|
|
7656
|
-
onClick: function onClick(
|
|
7654
|
+
onClick: function onClick() {
|
|
7657
7655
|
var _context$luckysheet_s2, _context$luckysheet_s3, _context$luckysheet_s4;
|
|
7658
7656
|
var position = (_context$luckysheet_s2 = context.luckysheet_select_save) === null || _context$luckysheet_s2 === void 0 ? void 0 : (_context$luckysheet_s3 = _context$luckysheet_s2[0]) === null || _context$luckysheet_s3 === void 0 ? void 0 : (_context$luckysheet_s4 = _context$luckysheet_s3.column) === null || _context$luckysheet_s4 === void 0 ? void 0 : _context$luckysheet_s4[0];
|
|
7659
7657
|
if (position == null) return;
|
|
@@ -7701,7 +7699,7 @@ var ContextMenu = function ContextMenu() {
|
|
|
7701
7699
|
var _context$lang3, _context$lang4;
|
|
7702
7700
|
return /*#__PURE__*/React__default['default'].createElement(Menu, {
|
|
7703
7701
|
key: "add-row-".concat(dir),
|
|
7704
|
-
onClick: function onClick(
|
|
7702
|
+
onClick: function onClick() {
|
|
7705
7703
|
var _context$luckysheet_s5, _context$luckysheet_s6, _context$luckysheet_s7;
|
|
7706
7704
|
var position = (_context$luckysheet_s5 = context.luckysheet_select_save) === null || _context$luckysheet_s5 === void 0 ? void 0 : (_context$luckysheet_s6 = _context$luckysheet_s5[0]) === null || _context$luckysheet_s6 === void 0 ? void 0 : (_context$luckysheet_s7 = _context$luckysheet_s6.row) === null || _context$luckysheet_s7 === void 0 ? void 0 : _context$luckysheet_s7[0];
|
|
7707
7705
|
if (position == null) return;
|
package/dist/index.umd.css
CHANGED
|
@@ -3304,8 +3304,8 @@ label {
|
|
|
3304
3304
|
height: 252px;
|
|
3305
3305
|
background: rgb(240, 240, 240);
|
|
3306
3306
|
position: absolute;
|
|
3307
|
-
bottom:
|
|
3308
|
-
left:
|
|
3307
|
+
bottom: 10px;
|
|
3308
|
+
left: 100px;
|
|
3309
3309
|
border-radius: 6px;
|
|
3310
3310
|
box-shadow: 0 2px 4px rgb(0 0 0 / 20%);
|
|
3311
3311
|
border: 1px solid rgba(0, 0, 0, 0.2);
|