@leankylin-sheet/react 5.2.18 → 5.2.19

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.
@@ -119,6 +119,7 @@ export declare function generateAPIs(context: Context, setContext: (recipe: (ctx
119
119
  }[]) => void;
120
120
  handleUndo: () => void;
121
121
  handleRedo: () => void;
122
+ updateFunctionGroup: () => void;
122
123
  calculateFormula: (sheetId?: string, isrefresh?: boolean) => void;
123
124
  calculateSheetByCells: (cells: any) => void;
124
125
  dataToCelldata: (data: CellMatrix | undefined) => CellWithRowAndCol[];
@@ -127,6 +127,7 @@ declare const Workbook: React.ForwardRefExoticComponent<Settings & AdditionalPro
127
127
  }[]) => void;
128
128
  handleUndo: () => void;
129
129
  handleRedo: () => void;
130
+ updateFunctionGroup: () => void;
130
131
  calculateFormula: (sheetId?: string | undefined, isrefresh?: boolean) => void;
131
132
  calculateSheetByCells: (cells: any) => void;
132
133
  dataToCelldata: (data: CellMatrix | undefined) => CellWithRowAndCol[];
package/dist/index.esm.js CHANGED
@@ -10276,6 +10276,11 @@ function generateAPIs(context, setContext, handleUndo, handleRedo, settings, cel
10276
10276
  },
10277
10277
  handleUndo: handleUndo,
10278
10278
  handleRedo: handleRedo,
10279
+ updateFunctionGroup: function updateFunctionGroup() {
10280
+ return setContext(function (draftCtx) {
10281
+ api.updateFunctionGroup(draftCtx);
10282
+ });
10283
+ },
10279
10284
  calculateFormula: function calculateFormula(sheetId) {
10280
10285
  var isrefresh = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
10281
10286
  setContext(function (draftCtx) {
package/dist/index.js CHANGED
@@ -10286,6 +10286,11 @@ function generateAPIs(context, setContext, handleUndo, handleRedo, settings, cel
10286
10286
  },
10287
10287
  handleUndo: handleUndo,
10288
10288
  handleRedo: handleRedo,
10289
+ updateFunctionGroup: function updateFunctionGroup() {
10290
+ return setContext(function (draftCtx) {
10291
+ core.api.updateFunctionGroup(draftCtx);
10292
+ });
10293
+ },
10289
10294
  calculateFormula: function calculateFormula(sheetId) {
10290
10295
  var isrefresh = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
10291
10296
  setContext(function (draftCtx) {
package/dist/index.umd.js CHANGED
@@ -115155,6 +115155,11 @@
115155
115155
  },
115156
115156
  handleUndo: handleUndo,
115157
115157
  handleRedo: handleRedo,
115158
+ updateFunctionGroup: function updateFunctionGroup() {
115159
+ return setContext(function (draftCtx) {
115160
+ index.updateFunctionGroup(draftCtx);
115161
+ });
115162
+ },
115158
115163
  calculateFormula: function calculateFormula(sheetId) {
115159
115164
  var isrefresh = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
115160
115165
  setContext(function (draftCtx) {