@fileverse-dev/fortune-react 1.2.99-ydoc → 1.2.99-ydoc-1
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/es/components/Sheet/index.js +1 -1
- package/es/components/Sheet/use-smooth-scroll.js +0 -1
- package/es/components/Toolbar/index.js +0 -1
- package/es/components/Workbook/api.js +0 -1
- package/lib/components/Sheet/index.js +1 -1
- package/lib/components/Sheet/use-smooth-scroll.js +0 -1
- package/lib/components/Toolbar/index.js +0 -1
- package/lib/components/Workbook/api.js +0 -1
- package/package.json +2 -2
|
@@ -149,7 +149,7 @@ var Sheet = function Sheet(_a) {
|
|
|
149
149
|
return function () {
|
|
150
150
|
return cellFadeAnimator.setOnTick(null);
|
|
151
151
|
};
|
|
152
|
-
}, [context,
|
|
152
|
+
}, [context.scrollLeft, context.scrollTop, context.rowHeaderWidth, context.columnHeaderHeight, context.visibledatarow, context.visibledatacolumn, context.config, context.currentSheetId, context.luckysheetfile, context.zoomRatio, context.devicePixelRatio, context.showGridLines, context.luckysheetTableContentHW, context.defaultFontSize, context.defaultcollen, context.ch_width, context.luckysheetcurrentisPivotTable, context.hooks, refs.canvas, sheet.id]);
|
|
153
153
|
useSmoothScroll(containerRef);
|
|
154
154
|
return /*#__PURE__*/React.createElement("div", {
|
|
155
155
|
ref: containerRef,
|
|
@@ -345,7 +345,6 @@ export var CurrencySelector = function CurrencySelector(_a) {
|
|
|
345
345
|
value: searchTerm,
|
|
346
346
|
onValueChange: function onValueChange(value) {
|
|
347
347
|
setSearchTerm(value);
|
|
348
|
-
console.log(value, "djksfgnkjsedfngskjn");
|
|
349
348
|
}
|
|
350
349
|
})), /*#__PURE__*/React.createElement("div", {
|
|
351
350
|
className: "px-4 py-2 border-b color-border-default flex items-center justify-between gap-2 text-body-sm color-text-default",
|
|
@@ -390,7 +390,6 @@ export function generateAPIs(context, setContext, handleUndo, handleRedo, settin
|
|
|
390
390
|
});
|
|
391
391
|
},
|
|
392
392
|
calculateCellReferencedSubSheetFormula: function calculateCellReferencedSubSheetFormula(id, refCell) {
|
|
393
|
-
console.log("calculateCellReferencedSubSheetFormula", id, refCell);
|
|
394
393
|
setContext(function (draftCtx) {
|
|
395
394
|
api.calculateReferencedCellSheetFromula(draftCtx, id, refCell);
|
|
396
395
|
});
|
|
@@ -158,7 +158,7 @@ var Sheet = function Sheet(_a) {
|
|
|
158
158
|
return function () {
|
|
159
159
|
return _fortuneCore.cellFadeAnimator.setOnTick(null);
|
|
160
160
|
};
|
|
161
|
-
}, [context,
|
|
161
|
+
}, [context.scrollLeft, context.scrollTop, context.rowHeaderWidth, context.columnHeaderHeight, context.visibledatarow, context.visibledatacolumn, context.config, context.currentSheetId, context.luckysheetfile, context.zoomRatio, context.devicePixelRatio, context.showGridLines, context.luckysheetTableContentHW, context.defaultFontSize, context.defaultcollen, context.ch_width, context.luckysheetcurrentisPivotTable, context.hooks, refs.canvas, sheet.id]);
|
|
162
162
|
(0, _useSmoothScroll.useSmoothScroll)(containerRef);
|
|
163
163
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
164
164
|
ref: containerRef,
|
|
@@ -354,7 +354,6 @@ var CurrencySelector = exports.CurrencySelector = function CurrencySelector(_a)
|
|
|
354
354
|
value: searchTerm,
|
|
355
355
|
onValueChange: function onValueChange(value) {
|
|
356
356
|
setSearchTerm(value);
|
|
357
|
-
console.log(value, "djksfgnkjsedfngskjn");
|
|
358
357
|
}
|
|
359
358
|
})), /*#__PURE__*/_react.default.createElement("div", {
|
|
360
359
|
className: "px-4 py-2 border-b color-border-default flex items-center justify-between gap-2 text-body-sm color-text-default",
|
|
@@ -397,7 +397,6 @@ function generateAPIs(context, setContext, handleUndo, handleRedo, settings, cel
|
|
|
397
397
|
});
|
|
398
398
|
},
|
|
399
399
|
calculateCellReferencedSubSheetFormula: function calculateCellReferencedSubSheetFormula(id, refCell) {
|
|
400
|
-
console.log("calculateCellReferencedSubSheetFormula", id, refCell);
|
|
401
400
|
setContext(function (draftCtx) {
|
|
402
401
|
_fortuneCore.api.calculateReferencedCellSheetFromula(draftCtx, id, refCell);
|
|
403
402
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fileverse-dev/fortune-react",
|
|
3
|
-
"version": "1.2.99-ydoc",
|
|
3
|
+
"version": "1.2.99-ydoc-1",
|
|
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.99-ydoc",
|
|
19
|
+
"@fileverse-dev/fortune-core": "1.2.99-ydoc-1",
|
|
20
20
|
"@fileverse/ui": "5.0.0",
|
|
21
21
|
"@tippyjs/react": "^4.2.6",
|
|
22
22
|
"@types/regenerator-runtime": "^0.13.6",
|