@univerjs/sheets-formula 0.5.5 → 0.6.0-alpha.0
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/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +2 -2
- package/lib/es/index.js +358 -353
- package/lib/types/commands/commands/insert-function.command.d.ts +1 -0
- package/lib/types/facade/f-formula.d.ts +4 -1
- package/lib/types/facade/f-univer.d.ts +7 -1
- package/lib/umd/index.js +1 -1
- package/package.json +8 -8
- package/lib/types/controllers/utils/__tests__/offset-formula-data.spec.d.ts +0 -16
- package/lib/types/controllers/utils/__tests__/ref-range-formula.spec.d.ts +0 -16
- package/lib/types/controllers/utils/__tests__/ref-range-move.spec.d.ts +0 -16
|
@@ -2,6 +2,9 @@ import { IDisposable, ILocales } from '@univerjs/core';
|
|
|
2
2
|
import { IFunctionInfo } from '@univerjs/engine-formula';
|
|
3
3
|
import { CalculationMode, IRegisterAsyncFunction, IRegisterFunction } from '@univerjs/sheets-formula';
|
|
4
4
|
import { FFormula } from '@univerjs/engine-formula/facade';
|
|
5
|
+
/**
|
|
6
|
+
* @ignore
|
|
7
|
+
*/
|
|
5
8
|
export interface IFFormulaSheetsMixin {
|
|
6
9
|
/**
|
|
7
10
|
* Update the calculation mode of the formula.
|
|
@@ -181,7 +184,7 @@ export declare class FFormulaSheetsMixin extends FFormula implements IFFormulaSh
|
|
|
181
184
|
private _debouncedFormulaCalculation;
|
|
182
185
|
/**
|
|
183
186
|
* Initialize the FUniver instance.
|
|
184
|
-
* @
|
|
187
|
+
* @ignore
|
|
185
188
|
*/
|
|
186
189
|
_initialize(): void;
|
|
187
190
|
setInitialFormulaComputing(calculationMode: CalculationMode): void;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { IDisposable, FUniver } from '@univerjs/core';
|
|
2
2
|
import { IRegisterFunctionParams } from '@univerjs/sheets-formula';
|
|
3
|
+
/**
|
|
4
|
+
* @ignore
|
|
5
|
+
*/
|
|
3
6
|
export interface IFUniverSheetsFormulaMixin {
|
|
4
7
|
/**
|
|
5
8
|
* Register a function to the spreadsheet.
|
|
@@ -9,6 +12,9 @@ export interface IFUniverSheetsFormulaMixin {
|
|
|
9
12
|
*/
|
|
10
13
|
registerFunction(config: IRegisterFunctionParams): IDisposable;
|
|
11
14
|
}
|
|
15
|
+
/**
|
|
16
|
+
* @ignore
|
|
17
|
+
*/
|
|
12
18
|
export declare class FUniverSheetsFormulaMixin extends FUniver implements IFUniverSheetsFormulaMixin {
|
|
13
19
|
/**
|
|
14
20
|
* RegisterFunction may be executed multiple times, triggering multiple formula forced refreshes.
|
|
@@ -16,7 +22,7 @@ export declare class FUniverSheetsFormulaMixin extends FUniver implements IFUniv
|
|
|
16
22
|
private _debouncedFormulaCalculation;
|
|
17
23
|
/**
|
|
18
24
|
* Initialize the FUniver instance.
|
|
19
|
-
* @
|
|
25
|
+
* @ignore
|
|
20
26
|
*/
|
|
21
27
|
_initialize(): void;
|
|
22
28
|
registerFunction(config: IRegisterFunctionParams): IDisposable;
|