@leankylin-sheet/react 5.2.2 → 5.2.3
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.esm.js +7 -0
- package/dist/index.js +7 -0
- package/dist/index.umd.js +7 -0
- package/dist/index.umd.min.js +3 -3
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
|
@@ -10275,6 +10275,13 @@ function generateAPIs(context, setContext, handleUndo, handleRedo, settings, cel
|
|
|
10275
10275
|
handleRedo: handleRedo,
|
|
10276
10276
|
calculateFormula: function calculateFormula(sheetId) {
|
|
10277
10277
|
setContext(function (draftCtx) {
|
|
10278
|
+
if (sheetId) {
|
|
10279
|
+
api.updateFunctionGroup(draftCtx, sheetId);
|
|
10280
|
+
} else {
|
|
10281
|
+
_.forEach(draftCtx.luckysheetfile, function (sheet_obj) {
|
|
10282
|
+
api.updateFunctionGroup(draftCtx, sheet_obj.id);
|
|
10283
|
+
});
|
|
10284
|
+
}
|
|
10278
10285
|
if (sheetId) {
|
|
10279
10286
|
api.calculateSheetFromula(draftCtx, sheetId);
|
|
10280
10287
|
} else {
|
package/dist/index.js
CHANGED
|
@@ -10285,6 +10285,13 @@ function generateAPIs(context, setContext, handleUndo, handleRedo, settings, cel
|
|
|
10285
10285
|
handleRedo: handleRedo,
|
|
10286
10286
|
calculateFormula: function calculateFormula(sheetId) {
|
|
10287
10287
|
setContext(function (draftCtx) {
|
|
10288
|
+
if (sheetId) {
|
|
10289
|
+
core.api.updateFunctionGroup(draftCtx, sheetId);
|
|
10290
|
+
} else {
|
|
10291
|
+
___default['default'].forEach(draftCtx.luckysheetfile, function (sheet_obj) {
|
|
10292
|
+
core.api.updateFunctionGroup(draftCtx, sheet_obj.id);
|
|
10293
|
+
});
|
|
10294
|
+
}
|
|
10288
10295
|
if (sheetId) {
|
|
10289
10296
|
core.api.calculateSheetFromula(draftCtx, sheetId);
|
|
10290
10297
|
} else {
|
package/dist/index.umd.js
CHANGED
|
@@ -115124,6 +115124,13 @@
|
|
|
115124
115124
|
handleRedo: handleRedo,
|
|
115125
115125
|
calculateFormula: function calculateFormula(sheetId) {
|
|
115126
115126
|
setContext(function (draftCtx) {
|
|
115127
|
+
if (sheetId) {
|
|
115128
|
+
index.updateFunctionGroup(draftCtx, sheetId);
|
|
115129
|
+
} else {
|
|
115130
|
+
lodash.forEach(draftCtx.luckysheetfile, function (sheet_obj) {
|
|
115131
|
+
index.updateFunctionGroup(draftCtx, sheet_obj.id);
|
|
115132
|
+
});
|
|
115133
|
+
}
|
|
115127
115134
|
if (sheetId) {
|
|
115128
115135
|
index.calculateSheetFromula(draftCtx, sheetId);
|
|
115129
115136
|
} else {
|