@fileverse-dev/fortune-core 1.2.51-patch-4 → 1.2.52

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.
@@ -906,7 +906,7 @@ export function handleOverlayMouseMove(ctx, globalCache, e, cellInput, scrollX,
906
906
  if (onImageMove(ctx, globalCache, e)) return;
907
907
  if (onImageResize(ctx, globalCache, e)) return;
908
908
  onCellsMove(ctx, globalCache, e, scrollX, scrollY, container);
909
- var containerMain = document.getElementsByClassName('fortune-cell-area')[0];
909
+ var containerMain = document.getElementsByClassName("fortune-cell-area")[0];
910
910
  var rect = containerMain === null || containerMain === void 0 ? void 0 : containerMain.getBoundingClientRect();
911
911
  if (!rect) {
912
912
  rect = container.getBoundingClientRect();
@@ -921,9 +921,7 @@ export function handleOverlayMouseMove(ctx, globalCache, e, cellInput, scrollX,
921
921
  var freeze = (_a = globalCache.freezen) === null || _a === void 0 ? void 0 : _a[ctx.currentSheetId];
922
922
  var _b = fixPositionOnFrozenCells(freeze, _x, _y, mouseX, mouseY),
923
923
  x = _b.x,
924
- y = _b.y,
925
- inHorizontalFreeze = _b.inHorizontalFreeze,
926
- inVerticalFreeze = _b.inVerticalFreeze;
924
+ y = _b.y;
927
925
  var row_location = rowLocation(y, ctx.visibledatarow);
928
926
  var row_index = row_location[2];
929
927
  var col_location = colLocation(x, ctx.visibledatacolumn);
@@ -104,7 +104,6 @@ export function getCellValue(r, c, data, attr) {
104
104
  }
105
105
  export function setCellValue(ctx, r, c, d, v) {
106
106
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
107
- console.log("setCellValue", r, c, __assign({}, v), __assign({}, v.ct));
108
107
  if (ctx.allowEdit === false || ctx.isFlvReadOnly) return;
109
108
  if (_.isNil(d)) {
110
109
  d = getFlowdata(ctx);
@@ -925,7 +925,7 @@ function handleOverlayMouseMove(ctx, globalCache, e, cellInput, scrollX, scrollY
925
925
  if ((0, _modules.onImageMove)(ctx, globalCache, e)) return;
926
926
  if ((0, _modules.onImageResize)(ctx, globalCache, e)) return;
927
927
  (0, _modules.onCellsMove)(ctx, globalCache, e, scrollX, scrollY, container);
928
- var containerMain = document.getElementsByClassName('fortune-cell-area')[0];
928
+ var containerMain = document.getElementsByClassName("fortune-cell-area")[0];
929
929
  var rect = containerMain === null || containerMain === void 0 ? void 0 : containerMain.getBoundingClientRect();
930
930
  if (!rect) {
931
931
  rect = container.getBoundingClientRect();
@@ -940,9 +940,7 @@ function handleOverlayMouseMove(ctx, globalCache, e, cellInput, scrollX, scrollY
940
940
  var freeze = (_a = globalCache.freezen) === null || _a === void 0 ? void 0 : _a[ctx.currentSheetId];
941
941
  var _b = fixPositionOnFrozenCells(freeze, _x, _y, mouseX, mouseY),
942
942
  x = _b.x,
943
- y = _b.y,
944
- inHorizontalFreeze = _b.inHorizontalFreeze,
945
- inVerticalFreeze = _b.inVerticalFreeze;
943
+ y = _b.y;
946
944
  var row_location = (0, _location.rowLocation)(y, ctx.visibledatarow);
947
945
  var row_index = row_location[2];
948
946
  var col_location = (0, _location.colLocation)(x, ctx.visibledatacolumn);
@@ -137,7 +137,6 @@ function getCellValue(r, c, data, attr) {
137
137
  }
138
138
  function setCellValue(ctx, r, c, d, v) {
139
139
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
140
- console.log("setCellValue", r, c, __assign({}, v), __assign({}, v.ct));
141
140
  if (ctx.allowEdit === false || ctx.isFlvReadOnly) return;
142
141
  if (_lodash.default.isNil(d)) {
143
142
  d = (0, _context.getFlowdata)(ctx);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/fortune-core",
3
- "version": "1.2.51-patch-4",
3
+ "version": "1.2.52",
4
4
  "main": "lib/index.js",
5
5
  "module": "es/index.js",
6
6
  "typings": "lib/index.d.ts",