@univerjs/engine-formula 0.1.1 → 0.1.3
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/README.md +6 -2
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +4431 -3502
- package/lib/types/basics/__tests__/regex.spec.d.ts +16 -0
- package/lib/types/basics/common.d.ts +9 -5
- package/lib/types/basics/date.d.ts +8 -0
- package/lib/types/basics/match-token.d.ts +5 -0
- package/lib/types/basics/regex.d.ts +8 -6
- package/lib/types/basics/runtime.d.ts +2 -1
- package/lib/types/basics/token-type.d.ts +1 -0
- package/lib/types/basics/token.d.ts +1 -0
- package/lib/types/commands/mutations/set-formula-calculation.mutation.d.ts +2 -2
- package/lib/types/engine/analysis/lexer-tree-builder.d.ts +5 -1
- package/lib/types/engine/analysis/parser.d.ts +0 -1
- package/lib/types/engine/ast-node/reference-node.d.ts +3 -3
- package/lib/types/engine/reference-object/base-reference-object.d.ts +2 -0
- package/lib/types/engine/utils/__tests__/math-kit.spec.d.ts +16 -0
- package/lib/types/engine/utils/__tests__/object-covert.spec.d.ts +16 -0
- package/lib/types/engine/utils/ast-node-tool.d.ts +18 -0
- package/lib/types/engine/utils/compare.d.ts +1 -0
- package/lib/types/engine/utils/math-kit.d.ts +7 -0
- package/lib/types/engine/utils/object-covert.d.ts +18 -0
- package/lib/types/engine/utils/prefixHandler.d.ts +24 -0
- package/lib/types/engine/utils/r1c1-reference.d.ts +2 -3
- package/lib/types/engine/utils/reference.d.ts +3 -11
- package/lib/types/engine/value-object/array-value-object.d.ts +26 -5
- package/lib/types/engine/value-object/base-value-object.d.ts +13 -0
- package/lib/types/engine/value-object/cube-value-object.d.ts +29 -0
- package/lib/types/engine/value-object/primitive-object.d.ts +3 -0
- package/lib/types/functions/base-function.d.ts +11 -1
- package/lib/types/functions/compatibility/function-map.d.ts +3 -1
- package/lib/types/functions/date/day/index.d.ts +1 -0
- package/lib/types/functions/date/month/index.d.ts +1 -0
- package/lib/types/functions/date/year/index.d.ts +1 -0
- package/lib/types/functions/information/iserr/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/information/iserr/index.d.ts +20 -0
- package/lib/types/functions/information/iserror/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/information/iserror/index.d.ts +20 -0
- package/lib/types/functions/information/islogical/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/information/islogical/index.d.ts +20 -0
- package/lib/types/functions/information/isna/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/information/isna/index.d.ts +20 -0
- package/lib/types/functions/information/isnontext/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/information/isnontext/index.d.ts +20 -0
- package/lib/types/functions/information/isnumber/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/information/isnumber/index.d.ts +20 -0
- package/lib/types/functions/information/isref/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/information/isref/index.d.ts +22 -0
- package/lib/types/functions/information/istext/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/information/istext/index.d.ts +20 -0
- package/lib/types/functions/logical/function-map.d.ts +2 -1
- package/lib/types/functions/logical/iferror/index.d.ts +2 -1
- package/lib/types/functions/lookup/column/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/lookup/column/index.d.ts +21 -0
- package/lib/types/functions/lookup/columns/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/lookup/columns/index.d.ts +20 -0
- package/lib/types/functions/lookup/function-map.d.ts +6 -1
- package/lib/types/functions/lookup/index/__test__/index.spec.d.ts +16 -0
- package/lib/types/functions/lookup/index/index.d.ts +24 -0
- package/lib/types/functions/lookup/lookup/index.d.ts +1 -0
- package/lib/types/functions/lookup/row/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/lookup/row/index.d.ts +21 -0
- package/lib/types/functions/lookup/rows/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/lookup/rows/index.d.ts +20 -0
- package/lib/types/functions/lookup/xlookup/index.d.ts +1 -1
- package/lib/types/functions/math/function-map.d.ts +3 -1
- package/lib/types/functions/math/mod/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/math/mod/index.d.ts +20 -0
- package/lib/types/functions/math/power/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/math/power/index.d.ts +2 -3
- package/lib/types/functions/math/product/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/math/product/index.d.ts +21 -0
- package/lib/types/functions/math/subtotal/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/math/subtotal/index.d.ts +38 -0
- package/lib/types/functions/math/sum/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/meta/cube/index.d.ts +20 -0
- package/lib/types/functions/meta/function-map.d.ts +2 -2
- package/lib/types/functions/meta/function-names.d.ts +2 -1
- package/lib/types/functions/statistical/average/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/statistical/count/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/statistical/counta/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/statistical/counta/index.d.ts +1 -1
- package/lib/types/functions/statistical/function-map.d.ts +2 -2
- package/lib/types/functions/statistical/max/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/statistical/min/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/statistical/stdev-p/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/statistical/stdev-p/index.d.ts +20 -0
- package/lib/types/functions/statistical/stdev-s/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/statistical/stdev-s/index.d.ts +20 -0
- package/lib/types/functions/statistical/stdeva/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/statistical/stdeva/index.d.ts +20 -0
- package/lib/types/functions/statistical/stdevpa/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/statistical/stdevpa/index.d.ts +20 -0
- package/lib/types/functions/statistical/var-p/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/statistical/var-p/index.d.ts +20 -0
- package/lib/types/functions/statistical/var-s/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/statistical/var-s/index.d.ts +20 -0
- package/lib/types/functions/statistical/vara/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/statistical/vara/index.d.ts +20 -0
- package/lib/types/functions/statistical/varpa/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/statistical/varpa/index.d.ts +20 -0
- package/lib/types/index.d.ts +4 -3
- package/lib/umd/index.js +1 -1
- package/package.json +7 -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.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "UniverSheet normal base-formula-engine",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
"npm": ">=8.0.0"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"@wendellhu/redi": "
|
|
51
|
+
"@wendellhu/redi": "0.13.0",
|
|
52
52
|
"rxjs": ">=7.0.0",
|
|
53
|
-
"@univerjs/core": "0.1.
|
|
53
|
+
"@univerjs/core": "0.1.3"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"big.js": "^6.2.1"
|
|
@@ -60,11 +60,11 @@
|
|
|
60
60
|
"@wendellhu/redi": "^0.13.0",
|
|
61
61
|
"less": "^4.2.0",
|
|
62
62
|
"rxjs": "^7.8.1",
|
|
63
|
-
"typescript": "^5.
|
|
64
|
-
"vite": "^5.1.
|
|
63
|
+
"typescript": "^5.4.2",
|
|
64
|
+
"vite": "^5.1.6",
|
|
65
65
|
"vitest": "^1.3.1",
|
|
66
|
-
"@univerjs/
|
|
67
|
-
"@univerjs/
|
|
66
|
+
"@univerjs/shared": "0.1.3",
|
|
67
|
+
"@univerjs/core": "0.1.3"
|
|
68
68
|
},
|
|
69
69
|
"scripts": {
|
|
70
70
|
"test": "vitest run",
|