@univerjs/sheets-formula 0.8.0-beta.0 → 0.8.0-beta.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.
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import { Disposable, ICommandService } from '@univerjs/core';
|
|
1
|
+
import { Disposable, ICommandService, IConfigService } from '@univerjs/core';
|
|
2
2
|
import { FormulaDataModel } from '@univerjs/engine-formula';
|
|
3
3
|
import { SheetInterceptorService } from '@univerjs/sheets';
|
|
4
4
|
export declare class ArrayFormulaCellInterceptorController extends Disposable {
|
|
5
5
|
private readonly _commandService;
|
|
6
|
+
private readonly _configService;
|
|
6
7
|
private _sheetInterceptorService;
|
|
7
8
|
private readonly _formulaDataModel;
|
|
8
|
-
constructor(_commandService: ICommandService, _sheetInterceptorService: SheetInterceptorService, _formulaDataModel: FormulaDataModel);
|
|
9
|
+
constructor(_commandService: ICommandService, _configService: IConfigService, _sheetInterceptorService: SheetInterceptorService, _formulaDataModel: FormulaDataModel);
|
|
9
10
|
private _initialize;
|
|
10
11
|
private _commandExecutedListener;
|
|
12
|
+
private _writeArrayFormulaToSnapshot;
|
|
11
13
|
private _initInterceptorCellContent;
|
|
12
14
|
}
|
|
@@ -27,6 +27,10 @@ export interface IUniverSheetsFormulaBaseConfig {
|
|
|
27
27
|
* Define the calculation mode during initialization, default is `WHEN_EMPTY`
|
|
28
28
|
*/
|
|
29
29
|
initialFormulaComputing?: CalculationMode;
|
|
30
|
+
/**
|
|
31
|
+
* If true, the plugin will write array formula results to the snapshot. Normally you should not set this to true.
|
|
32
|
+
*/
|
|
33
|
+
writeArrayFormulaToSnapshot?: boolean;
|
|
30
34
|
}
|
|
31
35
|
export declare const defaultPluginBaseConfig: IUniverSheetsFormulaBaseConfig;
|
|
32
36
|
/**
|