@fileverse-dev/fortune-react 1.2.86-pinyin-4 → 1.2.86-pinyin-5

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.
@@ -250,8 +250,12 @@ var Workbook = /*#__PURE__*/React.forwardRef(function (_a, ref) {
250
250
  }, [emitOp]);
251
251
  var repaint = function repaint() {
252
252
  var _a, _b, _c, _d, _e;
253
- console.log("repaint");
253
+ console.log("repaint is calling");
254
254
  var tableCanvas = new Canvas(refs.canvas.current, context);
255
+ console.log(context.config.borderInfo, "global context");
256
+ setContextWithProduce(function (draftCtx) {
257
+ console.log(draftCtx.config.borderInfo, "local context");
258
+ });
255
259
  var freeze = (_a = refs.globalCache.freezen) === null || _a === void 0 ? void 0 : _a[sheet.id];
256
260
  if (((_b = freeze === null || freeze === void 0 ? void 0 : freeze.horizontal) === null || _b === void 0 ? void 0 : _b.freezenhorizontaldata) || ((_c = freeze === null || freeze === void 0 ? void 0 : freeze.vertical) === null || _c === void 0 ? void 0 : _c.freezenverticaldata)) {
257
261
  var horizontalData = (_d = freeze === null || freeze === void 0 ? void 0 : freeze.horizontal) === null || _d === void 0 ? void 0 : _d.freezenhorizontaldata;
@@ -259,8 +259,12 @@ var Workbook = /*#__PURE__*/_react.default.forwardRef(function (_a, ref) {
259
259
  }, [emitOp]);
260
260
  var repaint = function repaint() {
261
261
  var _a, _b, _c, _d, _e;
262
- console.log("repaint");
262
+ console.log("repaint is calling");
263
263
  var tableCanvas = new _fortuneCore.Canvas(refs.canvas.current, context);
264
+ console.log(context.config.borderInfo, "global context");
265
+ setContextWithProduce(function (draftCtx) {
266
+ console.log(draftCtx.config.borderInfo, "local context");
267
+ });
264
268
  var freeze = (_a = refs.globalCache.freezen) === null || _a === void 0 ? void 0 : _a[sheet.id];
265
269
  if (((_b = freeze === null || freeze === void 0 ? void 0 : freeze.horizontal) === null || _b === void 0 ? void 0 : _b.freezenhorizontaldata) || ((_c = freeze === null || freeze === void 0 ? void 0 : freeze.vertical) === null || _c === void 0 ? void 0 : _c.freezenverticaldata)) {
266
270
  var horizontalData = (_d = freeze === null || freeze === void 0 ? void 0 : freeze.horizontal) === null || _d === void 0 ? void 0 : _d.freezenhorizontaldata;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/fortune-react",
3
- "version": "1.2.86-pinyin-4",
3
+ "version": "1.2.86-pinyin-5",
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.2.86-pinyin-4",
19
+ "@fileverse-dev/fortune-core": "1.2.86-pinyin-5",
20
20
  "@fileverse/ui": "^4.1.7-patch-40",
21
21
  "@tippyjs/react": "^4.2.6",
22
22
  "@types/regenerator-runtime": "^0.13.6",