@leankylin-sheet/react 5.2.33 → 5.2.35
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.
|
@@ -52,6 +52,7 @@ export declare function generateAPIs(context: Context, setContext: (recipe: (ctx
|
|
|
52
52
|
mergeCells: (ranges: Range, type: string, options?: api.CommonOptions) => void;
|
|
53
53
|
cancelMerge: (ranges: Range, options?: api.CommonOptions) => void;
|
|
54
54
|
getAllSheets: () => Sheet[];
|
|
55
|
+
getVariables: () => any;
|
|
55
56
|
getSheet: (options?: api.CommonOptions) => {
|
|
56
57
|
celldata: CellWithRowAndCol[];
|
|
57
58
|
name: string;
|
|
@@ -60,6 +60,7 @@ declare const Workbook: React.ForwardRefExoticComponent<Settings & AdditionalPro
|
|
|
60
60
|
mergeCells: (ranges: import("@leankylin-sheet/core").Range, type: string, options?: import("@leankylin-sheet/core/dist/api").CommonOptions) => void;
|
|
61
61
|
cancelMerge: (ranges: import("@leankylin-sheet/core").Range, options?: import("@leankylin-sheet/core/dist/api").CommonOptions) => void;
|
|
62
62
|
getAllSheets: () => SheetType[];
|
|
63
|
+
getVariables: () => any;
|
|
63
64
|
getSheet: (options?: import("@leankylin-sheet/core/dist/api").CommonOptions) => {
|
|
64
65
|
celldata: CellWithRowAndCol[];
|
|
65
66
|
name: string;
|
package/dist/index.esm.js
CHANGED
|
@@ -8467,7 +8467,9 @@ var ContextMenu = function ContextMenu() {
|
|
|
8467
8467
|
}
|
|
8468
8468
|
}
|
|
8469
8469
|
draftCtx.contextMenu = {};
|
|
8470
|
+
console.time('jfrefreshgrid');
|
|
8470
8471
|
jfrefreshgrid(draftCtx, null, undefined);
|
|
8472
|
+
console.timeEnd('jfrefreshgrid');
|
|
8471
8473
|
});
|
|
8472
8474
|
}
|
|
8473
8475
|
}, rightclick.clearContent);
|
|
@@ -10473,6 +10475,9 @@ function generateAPIs(context, setContext, handleUndo, handleRedo, settings, cel
|
|
|
10473
10475
|
getAllSheets: function getAllSheets() {
|
|
10474
10476
|
return api.getAllSheets(context);
|
|
10475
10477
|
},
|
|
10478
|
+
getVariables: function getVariables() {
|
|
10479
|
+
return context.formulaCache.parser.variables;
|
|
10480
|
+
},
|
|
10476
10481
|
getSheet: function getSheet() {
|
|
10477
10482
|
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
10478
10483
|
return api.getSheetWithLatestCelldata(context, options);
|
package/dist/index.js
CHANGED
|
@@ -8477,7 +8477,9 @@ var ContextMenu = function ContextMenu() {
|
|
|
8477
8477
|
}
|
|
8478
8478
|
}
|
|
8479
8479
|
draftCtx.contextMenu = {};
|
|
8480
|
+
console.time('jfrefreshgrid');
|
|
8480
8481
|
core.jfrefreshgrid(draftCtx, null, undefined);
|
|
8482
|
+
console.timeEnd('jfrefreshgrid');
|
|
8481
8483
|
});
|
|
8482
8484
|
}
|
|
8483
8485
|
}, rightclick.clearContent);
|
|
@@ -10483,6 +10485,9 @@ function generateAPIs(context, setContext, handleUndo, handleRedo, settings, cel
|
|
|
10483
10485
|
getAllSheets: function getAllSheets() {
|
|
10484
10486
|
return core.api.getAllSheets(context);
|
|
10485
10487
|
},
|
|
10488
|
+
getVariables: function getVariables() {
|
|
10489
|
+
return context.formulaCache.parser.variables;
|
|
10490
|
+
},
|
|
10486
10491
|
getSheet: function getSheet() {
|
|
10487
10492
|
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
10488
10493
|
return core.api.getSheetWithLatestCelldata(context, options);
|
package/dist/index.umd.js
CHANGED
|
@@ -113498,7 +113498,9 @@
|
|
|
113498
113498
|
}
|
|
113499
113499
|
}
|
|
113500
113500
|
draftCtx.contextMenu = {};
|
|
113501
|
+
console.time('jfrefreshgrid');
|
|
113501
113502
|
jfrefreshgrid(draftCtx, null, undefined);
|
|
113503
|
+
console.timeEnd('jfrefreshgrid');
|
|
113502
113504
|
});
|
|
113503
113505
|
}
|
|
113504
113506
|
}, rightclick.clearContent);
|
|
@@ -115504,6 +115506,9 @@
|
|
|
115504
115506
|
getAllSheets: function getAllSheets() {
|
|
115505
115507
|
return index.getAllSheets(context);
|
|
115506
115508
|
},
|
|
115509
|
+
getVariables: function getVariables() {
|
|
115510
|
+
return context.formulaCache.parser.variables;
|
|
115511
|
+
},
|
|
115507
115512
|
getSheet: function getSheet() {
|
|
115508
115513
|
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
115509
115514
|
return index.getSheetWithLatestCelldata(context, options);
|