@univerjs/engine-formula 0.1.9 → 0.1.11
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 +7758 -7333
- package/lib/types/basics/function.d.ts +16 -16
- package/lib/types/commands/mutations/set-array-formula-data.mutation.d.ts +1 -1
- package/lib/types/commands/mutations/set-feature-calculation.mutation.d.ts +1 -1
- package/lib/types/commands/mutations/set-formula-calculation.mutation.d.ts +2 -2
- package/lib/types/commands/mutations/set-formula-data.mutation.d.ts +1 -1
- package/lib/types/commands/mutations/set-other-formula.mutation.d.ts +1 -1
- package/lib/types/commands/mutations/set-super-table.mutation.d.ts +2 -2
- package/lib/types/controller/calculate.controller.d.ts +2 -2
- package/lib/types/controller/formula.controller.d.ts +4 -4
- package/lib/types/controller/register-function.controller.d.ts +2 -2
- package/lib/types/controller/set-defined-name.controller.d.ts +1 -1
- package/lib/types/controller/set-dependency.controller.d.ts +1 -1
- package/lib/types/controller/set-feature-calculation.controller.d.ts +1 -1
- package/lib/types/controller/set-other-formula.controller.d.ts +2 -2
- package/lib/types/controller/set-super-table.controller.d.ts +1 -1
- package/lib/types/engine/analysis/__tests__/create-command-test-bed.d.ts +2 -2
- package/lib/types/engine/analysis/lexer-node.d.ts +1 -1
- package/lib/types/engine/analysis/lexer-tree-builder.d.ts +4 -4
- package/lib/types/engine/analysis/lexer.d.ts +4 -4
- package/lib/types/engine/analysis/parser.d.ts +13 -13
- package/lib/types/engine/ast-node/ast-root-node.d.ts +3 -3
- package/lib/types/engine/ast-node/base-ast-node-factory.d.ts +4 -4
- package/lib/types/engine/ast-node/base-ast-node.d.ts +5 -5
- package/lib/types/engine/ast-node/function-node.d.ts +10 -10
- package/lib/types/engine/ast-node/lambda-node.d.ts +5 -5
- package/lib/types/engine/ast-node/lambda-parameter-node.d.ts +3 -3
- package/lib/types/engine/ast-node/null-node.d.ts +1 -1
- package/lib/types/engine/ast-node/operator-node.d.ts +5 -5
- package/lib/types/engine/ast-node/prefix-node.d.ts +7 -7
- package/lib/types/engine/ast-node/reference-node.d.ts +8 -8
- package/lib/types/engine/ast-node/suffix-node.d.ts +6 -6
- package/lib/types/engine/ast-node/union-node.d.ts +4 -4
- package/lib/types/engine/ast-node/value-node.d.ts +3 -3
- package/lib/types/engine/dependency/dependency-tree.d.ts +2 -2
- package/lib/types/engine/dependency/formula-dependency.d.ts +10 -12
- package/lib/types/engine/interpreter/interpreter.d.ts +4 -5
- package/lib/types/engine/reference-object/base-reference-object.d.ts +6 -6
- package/lib/types/engine/reference-object/cell-reference-object.d.ts +3 -3
- package/lib/types/engine/reference-object/column-reference-object.d.ts +1 -1
- package/lib/types/engine/reference-object/range-reference-object.d.ts +1 -1
- package/lib/types/engine/reference-object/row-reference-object.d.ts +1 -1
- package/lib/types/engine/reference-object/table-reference-object.d.ts +1 -1
- package/lib/types/engine/utils/array-object.d.ts +1 -1
- package/lib/types/engine/utils/ast-node-tool.d.ts +1 -1
- package/lib/types/engine/utils/node-type.d.ts +3 -3
- package/lib/types/engine/utils/numfmt-kit.d.ts +63 -0
- package/lib/types/engine/utils/object-compare.d.ts +1 -1
- package/lib/types/engine/utils/prefixHandler.d.ts +3 -3
- package/lib/types/engine/utils/value-object.d.ts +3 -3
- package/lib/types/engine/value-object/array-value-object.d.ts +4 -4
- package/lib/types/engine/value-object/base-value-object.d.ts +5 -5
- package/lib/types/engine/value-object/cube-value-object.d.ts +2 -2
- package/lib/types/engine/value-object/lambda-value-object.d.ts +3 -3
- package/lib/types/engine/value-object/primitive-object.d.ts +3 -3
- package/lib/types/functions/__tests__/create-function-test-bed.d.ts +3 -3
- package/lib/types/functions/base-function.d.ts +15 -7
- package/lib/types/functions/compatibility/function-map.d.ts +1 -1
- package/lib/types/functions/date/date/index.d.ts +3 -1
- package/lib/types/functions/date/day/index.d.ts +3 -1
- package/lib/types/functions/date/edate/index.d.ts +3 -1
- package/lib/types/functions/date/function-map.d.ts +1 -1
- package/lib/types/functions/date/month/index.d.ts +3 -1
- package/lib/types/functions/date/today/index.d.ts +5 -3
- package/lib/types/functions/date/year/index.d.ts +3 -1
- package/lib/types/functions/information/function-map.d.ts +1 -1
- package/lib/types/functions/information/isblank/index.d.ts +3 -1
- package/lib/types/functions/information/iserr/index.d.ts +3 -1
- package/lib/types/functions/information/iserror/index.d.ts +3 -1
- package/lib/types/functions/information/iseven/iseven.d.ts +4 -2
- package/lib/types/functions/information/islogical/index.d.ts +3 -1
- package/lib/types/functions/information/isna/index.d.ts +3 -1
- package/lib/types/functions/information/isnontext/index.d.ts +3 -1
- package/lib/types/functions/information/isnumber/index.d.ts +3 -1
- package/lib/types/functions/information/isodd/__tests__/isodd.spec.d.ts +16 -0
- package/lib/types/functions/information/isodd/isodd.d.ts +4 -2
- package/lib/types/functions/information/isref/index.d.ts +5 -3
- package/lib/types/functions/information/istext/index.d.ts +3 -1
- package/lib/types/functions/logical/and/index.d.ts +3 -1
- package/lib/types/functions/logical/function-map.d.ts +3 -3
- package/lib/types/functions/logical/if/index.d.ts +3 -1
- package/lib/types/functions/logical/iferror/index.d.ts +4 -2
- package/lib/types/functions/logical/lambda/index.d.ts +3 -1
- package/lib/types/functions/logical/makearray/index.d.ts +4 -2
- package/lib/types/functions/logical/or/index.d.ts +3 -1
- package/lib/types/functions/lookup/address/index.d.ts +3 -1
- package/lib/types/functions/lookup/column/index.d.ts +4 -2
- package/lib/types/functions/lookup/columns/index.d.ts +4 -2
- package/lib/types/functions/lookup/function-map.d.ts +10 -10
- package/lib/types/functions/lookup/hlookup/index.d.ts +3 -1
- package/lib/types/functions/lookup/index/index.d.ts +6 -2
- package/lib/types/functions/lookup/indirect/index.d.ts +4 -2
- package/lib/types/functions/lookup/lookup/index.d.ts +4 -2
- package/lib/types/functions/lookup/match/index.d.ts +4 -2
- package/lib/types/functions/lookup/offset/index.d.ts +3 -1
- package/lib/types/functions/lookup/row/index.d.ts +4 -2
- package/lib/types/functions/lookup/rows/index.d.ts +4 -2
- package/lib/types/functions/lookup/vlookup/index.d.ts +4 -2
- package/lib/types/functions/lookup/xlookup/index.d.ts +4 -2
- package/lib/types/functions/lookup/xmatch/index.d.ts +4 -2
- package/lib/types/functions/math/abs/index.d.ts +3 -1
- package/lib/types/functions/math/acos/index.d.ts +3 -1
- package/lib/types/functions/math/acosh/index.d.ts +3 -1
- package/lib/types/functions/math/acot/index.d.ts +3 -1
- package/lib/types/functions/math/function-map.d.ts +3 -3
- package/lib/types/functions/math/mod/index.d.ts +3 -1
- package/lib/types/functions/math/power/index.d.ts +3 -1
- package/lib/types/functions/math/product/index.d.ts +3 -1
- package/lib/types/functions/math/subtotal/index.d.ts +4 -2
- package/lib/types/functions/math/sum/index.d.ts +3 -1
- package/lib/types/functions/math/sumif/index.d.ts +3 -1
- package/lib/types/functions/math/sumifs/index.d.ts +4 -2
- package/lib/types/functions/meta/compare/index.d.ts +4 -2
- package/lib/types/functions/meta/cube/index.d.ts +3 -1
- package/lib/types/functions/meta/divided/index.d.ts +3 -1
- package/lib/types/functions/meta/function-map.d.ts +1 -1
- package/lib/types/functions/meta/minus/index.d.ts +3 -1
- package/lib/types/functions/meta/multiply/index.d.ts +3 -1
- package/lib/types/functions/meta/plus/index.d.ts +3 -1
- package/lib/types/functions/statistical/average/index.d.ts +3 -1
- package/lib/types/functions/statistical/count/index.d.ts +3 -1
- package/lib/types/functions/statistical/counta/index.d.ts +3 -1
- package/lib/types/functions/statistical/function-map.d.ts +1 -1
- package/lib/types/functions/statistical/max/index.d.ts +3 -1
- package/lib/types/functions/statistical/maxifs/index.d.ts +4 -2
- package/lib/types/functions/statistical/min/index.d.ts +3 -1
- package/lib/types/functions/statistical/stdev-p/index.d.ts +3 -1
- package/lib/types/functions/statistical/stdev-s/index.d.ts +3 -1
- package/lib/types/functions/statistical/stdeva/index.d.ts +3 -1
- package/lib/types/functions/statistical/stdevpa/index.d.ts +3 -1
- package/lib/types/functions/statistical/var-p/index.d.ts +3 -1
- package/lib/types/functions/statistical/var-s/index.d.ts +3 -1
- package/lib/types/functions/statistical/vara/index.d.ts +3 -1
- package/lib/types/functions/statistical/varpa/index.d.ts +3 -1
- package/lib/types/functions/text/concatenate/index.d.ts +3 -1
- package/lib/types/functions/text/function-map.d.ts +1 -1
- package/lib/types/functions/text/len/index.d.ts +3 -1
- package/lib/types/functions/text/lenb/index.d.ts +3 -1
- package/lib/types/functions/text/lower/index.d.ts +3 -1
- package/lib/types/functions/text/text/index.d.ts +3 -1
- package/lib/types/index.d.ts +1 -0
- package/lib/types/models/__tests__/create-command-test-bed.d.ts +1 -1
- package/lib/types/models/formula-data.model.d.ts +9 -8
- package/lib/types/models/utils/formula-data-util.d.ts +1 -1
- package/lib/types/plugin.d.ts +3 -3
- package/lib/types/services/active-dirty-manager.service.d.ts +1 -1
- package/lib/types/services/calculate-formula.service.d.ts +8 -9
- package/lib/types/services/current-data.service.d.ts +1 -1
- package/lib/types/services/defined-names.service.d.ts +1 -1
- package/lib/types/services/dependency-manager.service.d.ts +1 -1
- package/lib/types/services/feature-calculation-manager.service.d.ts +2 -2
- package/lib/types/services/function.service.d.ts +5 -4
- package/lib/types/services/other-formula-manager.service.d.ts +1 -1
- package/lib/types/services/runtime.service.d.ts +4 -4
- package/lib/types/services/super-table.service.d.ts +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +8 -8
- /package/lib/types/{functions/information/iseven/iseven.spec.d.ts → engine/utils/__tests__/numfmt-kit.spec.d.ts} +0 -0
- /package/lib/types/functions/information/{isodd/isodd.spec.d.ts → iseven/__tests__/iseven.spec.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/engine-formula",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.11",
|
|
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.
|
|
53
|
+
"@wendellhu/redi": "^0.15.1",
|
|
54
54
|
"rxjs": ">=7.0.0",
|
|
55
|
-
"@univerjs/core": "0.1.
|
|
55
|
+
"@univerjs/core": "0.1.11"
|
|
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.
|
|
63
|
+
"@wendellhu/redi": "^0.15.1",
|
|
64
64
|
"rxjs": "^7.8.1",
|
|
65
65
|
"typescript": "^5.4.5",
|
|
66
|
-
"vite": "^5.2.
|
|
67
|
-
"vitest": "^1.
|
|
68
|
-
"@univerjs/
|
|
69
|
-
"@univerjs/
|
|
66
|
+
"vite": "^5.2.11",
|
|
67
|
+
"vitest": "^1.6.0",
|
|
68
|
+
"@univerjs/core": "0.1.11",
|
|
69
|
+
"@univerjs/shared": "0.1.11"
|
|
70
70
|
},
|
|
71
71
|
"scripts": {
|
|
72
72
|
"test": "vitest run",
|
|
File without changes
|
/package/lib/types/functions/information/{isodd/isodd.spec.d.ts → iseven/__tests__/iseven.spec.d.ts}
RENAMED
|
File without changes
|