@univerjs/engine-formula 0.1.6 → 0.1.8
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/index.js +3715 -3356
- package/lib/types/basics/common.d.ts +9 -8
- package/lib/types/commands/mutations/set-array-formula-data.mutation.d.ts +3 -2
- package/lib/types/commands/mutations/set-defined-name.mutation.d.ts +1 -7
- package/lib/types/commands/mutations/set-formula-calculation.mutation.d.ts +1 -2
- package/lib/types/commands/mutations/set-formula-data.mutation.d.ts +3 -0
- package/lib/types/controller/calculate.controller.d.ts +2 -2
- package/lib/types/controller/set-dependency.controller.d.ts +10 -0
- package/lib/types/controller/set-other-formula.controller.d.ts +3 -1
- package/lib/types/engine/analysis/__tests__/create-command-test-bed.d.ts +3 -3
- package/lib/types/engine/analysis/lexer-tree-builder.d.ts +6 -2
- package/lib/types/engine/ast-node/function-node.d.ts +6 -2
- package/lib/types/engine/ast-node/reference-node.d.ts +1 -0
- package/lib/types/engine/dependency/dependency-tree.d.ts +2 -0
- package/lib/types/engine/dependency/formula-dependency.d.ts +9 -1
- package/lib/types/engine/reference-object/base-reference-object.d.ts +16 -6
- package/lib/types/engine/utils/reference.d.ts +10 -1
- package/lib/types/engine/utils/sequence.d.ts +2 -1
- package/lib/types/engine/utils/value-object.d.ts +7 -0
- package/lib/types/engine/value-object/array-value-object.d.ts +7 -1
- package/lib/types/functions/__tests__/create-function-test-bed.d.ts +3 -3
- package/lib/types/functions/base-function.d.ts +12 -0
- package/lib/types/functions/information/iseven/iseven.d.ts +7 -0
- package/lib/types/functions/information/iseven/iseven.spec.d.ts +16 -0
- package/lib/types/functions/information/isodd/isodd.d.ts +7 -0
- package/lib/types/functions/information/isodd/isodd.spec.d.ts +16 -0
- package/lib/types/functions/information/isref/index.d.ts +1 -1
- package/lib/types/functions/lookup/indirect/index.d.ts +8 -0
- package/lib/types/functions/math/subtotal/index.d.ts +1 -1
- package/lib/types/functions/statistical/maxifs/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/statistical/maxifs/index.d.ts +7 -0
- package/lib/types/functions/text/lower/__test__/index.spec.d.ts +16 -0
- package/lib/types/functions/text/lower/index.d.ts +7 -0
- package/lib/types/index.d.ts +6 -7
- package/lib/types/models/__tests__/create-command-test-bed.d.ts +1 -1
- package/lib/types/models/formula-data.model.d.ts +16 -17
- package/lib/types/models/utils/formula-data-util.d.ts +10 -0
- package/lib/types/plugin.d.ts +1 -1
- package/lib/types/services/current-data.service.d.ts +9 -5
- package/lib/types/services/defined-names.service.d.ts +2 -0
- package/lib/types/services/dependency-manager.service.d.ts +74 -0
- package/lib/types/services/runtime.service.d.ts +1 -5
- package/lib/umd/index.js +1 -1
- package/package.json +9 -9
- package/lib/types/commands/mutations/set-numfmt-formula-data.mutation.d.ts +0 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/engine-formula",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "UniverSheet normal base-formula-engine",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
"npm": ">=8.0.0"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"@wendellhu/redi": "0.13.
|
|
53
|
+
"@wendellhu/redi": "^0.13.3",
|
|
54
54
|
"rxjs": ">=7.0.0",
|
|
55
|
-
"@univerjs/core": "0.1.
|
|
55
|
+
"@univerjs/core": "0.1.8"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"big.js": "^6.2.1",
|
|
@@ -60,13 +60,13 @@
|
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@types/big.js": "^6.2.2",
|
|
63
|
-
"@wendellhu/redi": "^0.13.
|
|
63
|
+
"@wendellhu/redi": "^0.13.3",
|
|
64
64
|
"rxjs": "^7.8.1",
|
|
65
|
-
"typescript": "^5.4.
|
|
66
|
-
"vite": "^5.2.
|
|
67
|
-
"vitest": "^1.
|
|
68
|
-
"@univerjs/shared": "0.1.
|
|
69
|
-
"@univerjs/core": "0.1.
|
|
65
|
+
"typescript": "^5.4.5",
|
|
66
|
+
"vite": "^5.2.10",
|
|
67
|
+
"vitest": "^1.5.0",
|
|
68
|
+
"@univerjs/shared": "0.1.8",
|
|
69
|
+
"@univerjs/core": "0.1.8"
|
|
70
70
|
},
|
|
71
71
|
"scripts": {
|
|
72
72
|
"test": "vitest run",
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { INumfmtItemMap } from '../../basics/common';
|
|
2
|
-
import { IMutation } from '@univerjs/core';
|
|
3
|
-
|
|
4
|
-
export interface ISetNumfmtFormulaDataMutationParams {
|
|
5
|
-
numfmtItemMap: INumfmtItemMap;
|
|
6
|
-
}
|
|
7
|
-
export declare const SetNumfmtFormulaDataMutation: IMutation<ISetNumfmtFormulaDataMutationParams>;
|