@univerjs/engine-formula 0.2.9 → 0.2.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 +7 -1
- package/lib/es/index.js +4798 -1189
- package/lib/types/basics/__tests__/engineering.spec.d.ts +16 -0
- package/lib/types/basics/complex.d.ts +57 -0
- package/lib/types/basics/date.d.ts +15 -6
- package/lib/types/basics/engineering.d.ts +2 -2
- package/lib/types/basics/error-type.d.ts +1 -0
- package/lib/types/basics/financial.d.ts +19 -15
- package/lib/types/basics/format.d.ts +1 -1
- package/lib/types/engine/analysis/lexer-tree-builder.d.ts +8 -0
- package/lib/types/engine/utils/check-variant-error.d.ts +9 -0
- package/lib/types/engine/utils/math-kit.d.ts +0 -5
- package/lib/types/engine/value-object/primitive-object.d.ts +4 -0
- package/lib/types/functions/engineering/besseli/index.d.ts +2 -3
- package/lib/types/functions/engineering/besselj/index.d.ts +2 -3
- package/lib/types/functions/engineering/besselk/index.d.ts +2 -3
- package/lib/types/functions/engineering/bessely/index.d.ts +2 -3
- package/lib/types/functions/engineering/bin2dec/index.d.ts +2 -3
- package/lib/types/functions/engineering/bin2hex/index.d.ts +2 -3
- package/lib/types/functions/engineering/bin2oct/index.d.ts +2 -3
- package/lib/types/functions/engineering/complex/index.d.ts +2 -3
- package/lib/types/functions/engineering/convert/index.d.ts +2 -3
- package/lib/types/functions/engineering/dec2bin/index.d.ts +2 -3
- package/lib/types/functions/engineering/dec2hex/index.d.ts +2 -3
- package/lib/types/functions/engineering/dec2oct/index.d.ts +2 -3
- package/lib/types/functions/engineering/delta/index.d.ts +2 -3
- package/lib/types/functions/engineering/erf/index.d.ts +2 -3
- package/lib/types/functions/engineering/erf-precise/index.d.ts +2 -3
- package/lib/types/functions/engineering/erfc/index.d.ts +2 -3
- package/lib/types/functions/engineering/erfc-precise/index.d.ts +2 -3
- package/lib/types/functions/engineering/function-map.d.ts +3 -2
- package/lib/types/functions/engineering/gestep/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/engineering/gestep/index.d.ts +7 -0
- package/lib/types/functions/engineering/hex2bin/index.d.ts +2 -3
- package/lib/types/functions/engineering/hex2dec/index.d.ts +2 -3
- package/lib/types/functions/engineering/hex2oct/index.d.ts +2 -3
- package/lib/types/functions/engineering/imabs/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/engineering/imabs/index.d.ts +7 -0
- package/lib/types/functions/engineering/imaginary/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/engineering/imaginary/index.d.ts +7 -0
- package/lib/types/functions/engineering/imargument/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/engineering/imargument/index.d.ts +7 -0
- package/lib/types/functions/engineering/imconjugate/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/engineering/imconjugate/index.d.ts +7 -0
- package/lib/types/functions/engineering/imcos/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/engineering/imcos/index.d.ts +7 -0
- package/lib/types/functions/engineering/imcosh/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/engineering/imcosh/index.d.ts +7 -0
- package/lib/types/functions/engineering/imcot/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/engineering/imcot/index.d.ts +7 -0
- package/lib/types/functions/engineering/imcsc/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/engineering/imcsc/index.d.ts +7 -0
- package/lib/types/functions/engineering/imcsch/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/engineering/imcsch/index.d.ts +7 -0
- package/lib/types/functions/engineering/imdiv/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/engineering/imdiv/index.d.ts +7 -0
- package/lib/types/functions/engineering/imexp/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/engineering/imexp/index.d.ts +7 -0
- package/lib/types/functions/engineering/imln/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/engineering/imln/index.d.ts +7 -0
- package/lib/types/functions/engineering/imlog10/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/engineering/imlog10/index.d.ts +7 -0
- package/lib/types/functions/engineering/imlog2/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/engineering/imlog2/index.d.ts +7 -0
- package/lib/types/functions/engineering/impower/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/engineering/impower/index.d.ts +7 -0
- package/lib/types/functions/engineering/improduct/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/engineering/improduct/index.d.ts +8 -0
- package/lib/types/functions/engineering/imreal/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/engineering/imreal/index.d.ts +7 -0
- package/lib/types/functions/engineering/imsec/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/engineering/imsec/index.d.ts +7 -0
- package/lib/types/functions/engineering/imsech/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/engineering/imsech/index.d.ts +7 -0
- package/lib/types/functions/engineering/imsin/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/engineering/imsin/index.d.ts +7 -0
- package/lib/types/functions/engineering/imsinh/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/engineering/imsinh/index.d.ts +7 -0
- package/lib/types/functions/engineering/imsqrt/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/engineering/imsqrt/index.d.ts +7 -0
- package/lib/types/functions/engineering/imsub/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/engineering/imsub/index.d.ts +7 -0
- package/lib/types/functions/engineering/imsum/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/engineering/imsum/index.d.ts +8 -0
- package/lib/types/functions/engineering/imtan/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/engineering/imtan/index.d.ts +7 -0
- package/lib/types/functions/engineering/oct2bin/index.d.ts +2 -3
- package/lib/types/functions/engineering/oct2dec/index.d.ts +2 -3
- package/lib/types/functions/engineering/oct2hex/index.d.ts +2 -3
- package/lib/types/functions/financial/accrint/index.d.ts +2 -3
- package/lib/types/functions/financial/accrintm/index.d.ts +2 -3
- package/lib/types/functions/financial/amorlinc/index.d.ts +2 -3
- package/lib/types/functions/financial/coupdaybs/index.d.ts +2 -3
- package/lib/types/functions/financial/coupdays/index.d.ts +2 -3
- package/lib/types/functions/financial/coupdaysnc/index.d.ts +2 -3
- package/lib/types/functions/financial/coupncd/index.d.ts +2 -3
- package/lib/types/functions/financial/coupnum/index.d.ts +2 -3
- package/lib/types/functions/financial/couppcd/index.d.ts +2 -3
- package/lib/types/functions/financial/cumipmt/index.d.ts +2 -3
- package/lib/types/functions/financial/cumprinc/index.d.ts +2 -3
- package/lib/types/functions/financial/ddb/index.d.ts +0 -1
- package/lib/types/functions/financial/disc/index.d.ts +2 -3
- package/lib/types/functions/financial/dollarde/index.d.ts +2 -3
- package/lib/types/functions/financial/dollarfr/index.d.ts +2 -3
- package/lib/types/functions/financial/duration/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/financial/duration/index.d.ts +7 -0
- package/lib/types/functions/financial/effect/index.d.ts +2 -3
- package/lib/types/functions/financial/function-map.d.ts +7 -3
- package/lib/types/functions/financial/fvschedule/index.d.ts +2 -3
- package/lib/types/functions/financial/intrate/index.d.ts +2 -3
- package/lib/types/functions/financial/irr/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/financial/irr/index.d.ts +10 -0
- package/lib/types/functions/financial/mduration/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/financial/mduration/index.d.ts +7 -0
- package/lib/types/functions/financial/mirr/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/financial/mirr/index.d.ts +11 -0
- package/lib/types/functions/financial/nominal/index.d.ts +2 -3
- package/lib/types/functions/financial/npv/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/financial/npv/index.d.ts +9 -0
- package/lib/types/functions/financial/oddfprice/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/financial/oddfprice/index.d.ts +9 -0
- package/lib/types/functions/financial/oddfyield/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/financial/oddfyield/index.d.ts +10 -0
- package/lib/types/functions/financial/oddlprice/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/financial/oddlprice/index.d.ts +11 -0
- package/lib/types/functions/financial/oddlyield/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/financial/oddlyield/index.d.ts +11 -0
- package/lib/types/functions/financial/pduration/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/financial/pduration/index.d.ts +7 -0
- package/lib/types/functions/financial/price/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/financial/price/index.d.ts +7 -0
- package/lib/types/functions/financial/pricedisc/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/financial/pricedisc/index.d.ts +7 -0
- package/lib/types/functions/financial/pricemat/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/financial/pricemat/index.d.ts +8 -0
- package/lib/types/functions/financial/received/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/financial/received/index.d.ts +7 -0
- package/lib/types/functions/financial/rri/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/financial/rri/index.d.ts +7 -0
- package/lib/types/functions/financial/sln/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/financial/sln/index.d.ts +7 -0
- package/lib/types/functions/financial/syd/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/financial/syd/index.d.ts +7 -0
- package/lib/types/functions/financial/tbilleq/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/financial/tbilleq/index.d.ts +7 -0
- package/lib/types/functions/financial/tbillprice/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/financial/tbillprice/index.d.ts +7 -0
- package/lib/types/functions/financial/tbillyield/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/financial/tbillyield/index.d.ts +7 -0
- package/lib/types/functions/financial/vdb/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/financial/vdb/index.d.ts +10 -0
- package/lib/types/functions/financial/xirr/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/financial/xirr/index.d.ts +12 -0
- package/lib/types/functions/financial/xnpv/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/financial/xnpv/index.d.ts +10 -0
- package/lib/types/functions/financial/yield/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/financial/yield/index.d.ts +8 -0
- package/lib/types/functions/financial/yielddisc/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/financial/yielddisc/index.d.ts +7 -0
- package/lib/types/functions/financial/yieldmat/__tests__/index.spec.d.ts +16 -0
- package/lib/types/functions/financial/yieldmat/index.d.ts +8 -0
- package/lib/types/services/function.service.d.ts +1 -1
- package/lib/umd/index.js +7 -1
- package/package.json +8 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/engine-formula",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.11",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "UniverSheet normal base-formula-engine",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -47,20 +47,21 @@
|
|
|
47
47
|
],
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"rxjs": ">=7.0.0",
|
|
50
|
-
"@univerjs/core": "0.2.
|
|
51
|
-
"@univerjs/rpc": "0.2.
|
|
50
|
+
"@univerjs/core": "0.2.11",
|
|
51
|
+
"@univerjs/rpc": "0.2.11"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
+
"decimal.js": "^10.4.3",
|
|
54
55
|
"numfmt": "^2.5.2"
|
|
55
56
|
},
|
|
56
57
|
"devDependencies": {
|
|
57
58
|
"rxjs": "^7.8.1",
|
|
58
59
|
"typescript": "^5.5.4",
|
|
59
|
-
"vite": "^5.4.
|
|
60
|
+
"vite": "^5.4.2",
|
|
60
61
|
"vitest": "^2.0.5",
|
|
61
|
-
"@univerjs/core": "0.2.
|
|
62
|
-
"@univerjs/
|
|
63
|
-
"@univerjs/
|
|
62
|
+
"@univerjs/core": "0.2.11",
|
|
63
|
+
"@univerjs/rpc": "0.2.11",
|
|
64
|
+
"@univerjs/shared": "0.2.11"
|
|
64
65
|
},
|
|
65
66
|
"univerSpace": {
|
|
66
67
|
".": {
|