@leankylin-sheet/react 5.2.4 → 5.2.6

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 CHANGED
@@ -10275,13 +10275,7 @@ 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, function (sheet_obj) {
10282
- api.updateFunctionGroup(draftCtx, sheet_obj.id);
10283
- });
10284
- }
10278
+ api.updateFunctionGroup(draftCtx);
10285
10279
  if (sheetId) {
10286
10280
  api.calculateSheetFromula(draftCtx, sheetId);
10287
10281
  } else {
package/dist/index.js CHANGED
@@ -10285,13 +10285,7 @@ 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, function (sheet_obj) {
10292
- core.api.updateFunctionGroup(draftCtx, sheet_obj.id);
10293
- });
10294
- }
10288
+ core.api.updateFunctionGroup(draftCtx);
10295
10289
  if (sheetId) {
10296
10290
  core.api.calculateSheetFromula(draftCtx, sheetId);
10297
10291
  } else {
package/dist/index.umd.js CHANGED
@@ -115124,13 +115124,7 @@
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, function (sheet_obj) {
115131
- index.updateFunctionGroup(draftCtx, sheet_obj.id);
115132
- });
115133
- }
115127
+ index.updateFunctionGroup(draftCtx);
115134
115128
  if (sheetId) {
115135
115129
  index.calculateSheetFromula(draftCtx, sheetId);
115136
115130
  } else {