@fileverse-dev/fortune-react 1.1.88 → 1.1.89

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.
@@ -282,7 +282,7 @@ export var useColumnDragAndDrop = function useColumnDragAndDrop(containerRef, se
282
282
  item.c = item.c + 1;
283
283
  }
284
284
  });
285
- (_d = window === null || window === void 0 ? void 0 : window.updateDataBlockCalcFunctionAfterRowDrag) === null || _d === void 0 ? void 0 : _d.call(window, sourceIndex_1, targetIndex, 'column');
285
+ (_d = window === null || window === void 0 ? void 0 : window.updateDataBlockCalcFunctionAfterRowDrag) === null || _d === void 0 ? void 0 : _d.call(window, sourceIndex_1, targetIndex, 'column', context.currentSheetId);
286
286
  });
287
287
  }
288
288
  }
@@ -263,7 +263,8 @@ export var useRowDragAndDrop = function useRowDragAndDrop(containerRef, selected
263
263
  item.r = item.r + 1;
264
264
  }
265
265
  });
266
- (_b = window === null || window === void 0 ? void 0 : window.updateDataBlockCalcFunctionAfterRowDrag) === null || _b === void 0 ? void 0 : _b.call(window, sourceIndex_1, targetIndex, 'row');
266
+ console.log("_sheet.calcChain", _sheet.calcChain);
267
+ (_b = window === null || window === void 0 ? void 0 : window.updateDataBlockCalcFunctionAfterRowDrag) === null || _b === void 0 ? void 0 : _b.call(window, sourceIndex_1, targetIndex, 'row', context.currentSheetId);
267
268
  });
268
269
  }
269
270
  }
@@ -290,7 +290,7 @@ var useColumnDragAndDrop = exports.useColumnDragAndDrop = function useColumnDrag
290
290
  item.c = item.c + 1;
291
291
  }
292
292
  });
293
- (_d = window === null || window === void 0 ? void 0 : window.updateDataBlockCalcFunctionAfterRowDrag) === null || _d === void 0 ? void 0 : _d.call(window, sourceIndex_1, targetIndex, 'column');
293
+ (_d = window === null || window === void 0 ? void 0 : window.updateDataBlockCalcFunctionAfterRowDrag) === null || _d === void 0 ? void 0 : _d.call(window, sourceIndex_1, targetIndex, 'column', context.currentSheetId);
294
294
  });
295
295
  }
296
296
  }
@@ -270,7 +270,8 @@ var useRowDragAndDrop = exports.useRowDragAndDrop = function useRowDragAndDrop(c
270
270
  item.r = item.r + 1;
271
271
  }
272
272
  });
273
- (_b = window === null || window === void 0 ? void 0 : window.updateDataBlockCalcFunctionAfterRowDrag) === null || _b === void 0 ? void 0 : _b.call(window, sourceIndex_1, targetIndex, 'row');
273
+ console.log("_sheet.calcChain", _sheet.calcChain);
274
+ (_b = window === null || window === void 0 ? void 0 : window.updateDataBlockCalcFunctionAfterRowDrag) === null || _b === void 0 ? void 0 : _b.call(window, sourceIndex_1, targetIndex, 'row', context.currentSheetId);
274
275
  });
275
276
  }
276
277
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/fortune-react",
3
- "version": "1.1.88",
3
+ "version": "1.1.89",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "module": "es/index.js",
@@ -16,7 +16,7 @@
16
16
  "tsc": "tsc"
17
17
  },
18
18
  "dependencies": {
19
- "@fileverse-dev/fortune-core": "1.1.88",
19
+ "@fileverse-dev/fortune-core": "1.1.89",
20
20
  "@fileverse/ui": "^4.1.7-patch-21",
21
21
  "@tippyjs/react": "^4.2.6",
22
22
  "@types/regenerator-runtime": "^0.13.6",