@univerjs/engine-formula 0.1.17 → 0.2.1

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.
Files changed (67) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/es/index.js +4919 -4338
  3. package/lib/types/basics/date.d.ts +12 -0
  4. package/lib/types/basics/regex.d.ts +5 -5
  5. package/lib/types/commands/mutations/set-formula-calculation.mutation.d.ts +3 -1
  6. package/lib/types/engine/analysis/__tests__/create-command-test-bed.d.ts +6 -6
  7. package/lib/types/engine/ast-node/function-node.d.ts +1 -0
  8. package/lib/types/engine/dependency/dependency-tree.d.ts +1 -0
  9. package/lib/types/engine/reference-object/base-reference-object.d.ts +6 -6
  10. package/lib/types/engine/utils/math-kit.d.ts +6 -0
  11. package/lib/types/engine/utils/value-object.d.ts +27 -0
  12. package/lib/types/engine/value-object/primitive-object.d.ts +4 -2
  13. package/lib/types/functions/__tests__/create-function-test-bed.d.ts +6 -6
  14. package/lib/types/functions/date/datevalue/__tests__/index.spec.d.ts +16 -0
  15. package/lib/types/functions/date/datevalue/index.d.ts +9 -0
  16. package/lib/types/functions/date/now/__tests__/index.spec.d.ts +16 -0
  17. package/lib/types/functions/date/now/index.d.ts +8 -0
  18. package/lib/types/functions/date/time/__tests__/index.spec.d.ts +16 -0
  19. package/lib/types/functions/date/time/index.d.ts +9 -0
  20. package/lib/types/functions/date/timevalue/__tests__/index.spec.d.ts +16 -0
  21. package/lib/types/functions/date/timevalue/index.d.ts +9 -0
  22. package/lib/types/functions/date/today/index.d.ts +1 -2
  23. package/lib/types/functions/information/isref/index.d.ts +2 -2
  24. package/lib/types/functions/math/asin/__tests__/index.spec.d.ts +16 -0
  25. package/lib/types/functions/math/asin/index.d.ts +8 -0
  26. package/lib/types/functions/math/asinh/__tests__/index.spec.d.ts +16 -0
  27. package/lib/types/functions/math/asinh/index.d.ts +8 -0
  28. package/lib/types/functions/math/atan/__tests__/index.spec.d.ts +16 -0
  29. package/lib/types/functions/math/atan/index.d.ts +8 -0
  30. package/lib/types/functions/math/atan2/__tests__/index.spec.d.ts +16 -0
  31. package/lib/types/functions/math/atan2/index.d.ts +8 -0
  32. package/lib/types/functions/math/atanh/__tests__/index.spec.d.ts +16 -0
  33. package/lib/types/functions/math/atanh/index.d.ts +8 -0
  34. package/lib/types/functions/math/cos/__tests__/index.spec.d.ts +16 -0
  35. package/lib/types/functions/math/cos/index.d.ts +8 -0
  36. package/lib/types/functions/math/sumifs/index.d.ts +3 -2
  37. package/lib/types/functions/math/tan/__tests__/index.spec.d.ts +16 -0
  38. package/lib/types/functions/math/tan/index.d.ts +8 -0
  39. package/lib/types/functions/math/tanh/__tests__/index.spec.d.ts +16 -0
  40. package/lib/types/functions/math/tanh/index.d.ts +8 -0
  41. package/lib/types/functions/meta/compare/__tests__/index.spec.d.ts +16 -0
  42. package/lib/types/functions/statistical/avedev/__tests__/index.spec.d.ts +16 -0
  43. package/lib/types/functions/statistical/avedev/index.d.ts +8 -0
  44. package/lib/types/functions/statistical/averageif/__tests__/index.spec.d.ts +16 -0
  45. package/lib/types/functions/statistical/averageif/index.d.ts +18 -0
  46. package/lib/types/functions/statistical/averageifs/__tests__/index.spec.d.ts +16 -0
  47. package/lib/types/functions/statistical/averageifs/index.d.ts +10 -0
  48. package/lib/types/functions/statistical/countblank/__tests__/index.spec.d.ts +16 -0
  49. package/lib/types/functions/statistical/countblank/index.d.ts +8 -0
  50. package/lib/types/functions/statistical/countif/__tests__/index.spec.d.ts +16 -0
  51. package/lib/types/functions/statistical/countif/index.d.ts +10 -0
  52. package/lib/types/functions/statistical/countifs/__tests__/index.spec.d.ts +16 -0
  53. package/lib/types/functions/statistical/countifs/index.d.ts +12 -0
  54. package/lib/types/functions/statistical/function-map.d.ts +2 -1
  55. package/lib/types/functions/statistical/maxa/__tests__/index.spec.d.ts +16 -0
  56. package/lib/types/functions/statistical/maxa/index.d.ts +9 -0
  57. package/lib/types/functions/statistical/maxifs/index.d.ts +1 -0
  58. package/lib/types/functions/statistical/mina/__tests__/index.spec.d.ts +16 -0
  59. package/lib/types/functions/statistical/mina/index.d.ts +9 -0
  60. package/lib/types/functions/statistical/minifs/__tests__/index.spec.d.ts +16 -0
  61. package/lib/types/functions/statistical/minifs/index.d.ts +10 -0
  62. package/lib/types/index.d.ts +9 -9
  63. package/lib/types/models/__tests__/create-command-test-bed.d.ts +6 -6
  64. package/lib/types/services/dependency-manager.service.d.ts +2 -2
  65. package/lib/types/services/runtime.service.d.ts +5 -0
  66. package/lib/umd/index.js +1 -1
  67. package/package.json +10 -10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/engine-formula",
3
- "version": "0.1.17",
3
+ "version": "0.2.1",
4
4
  "private": false,
5
5
  "description": "UniverSheet normal base-formula-engine",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -46,10 +46,10 @@
46
46
  "lib"
47
47
  ],
48
48
  "peerDependencies": {
49
- "@wendellhu/redi": "0.15.4",
49
+ "@wendellhu/redi": "0.15.5",
50
50
  "rxjs": ">=7.0.0",
51
- "@univerjs/core": "0.1.17",
52
- "@univerjs/rpc": "0.1.17"
51
+ "@univerjs/core": "0.2.1",
52
+ "@univerjs/rpc": "0.2.1"
53
53
  },
54
54
  "dependencies": {
55
55
  "big.js": "^6.2.1",
@@ -57,14 +57,14 @@
57
57
  },
58
58
  "devDependencies": {
59
59
  "@types/big.js": "^6.2.2",
60
- "@wendellhu/redi": "0.15.4",
60
+ "@wendellhu/redi": "0.15.5",
61
61
  "rxjs": "^7.8.1",
62
- "typescript": "^5.4.5",
63
- "vite": "^5.3.1",
62
+ "typescript": "^5.5.3",
63
+ "vite": "^5.3.3",
64
64
  "vitest": "^1.6.0",
65
- "@univerjs/core": "0.1.17",
66
- "@univerjs/rpc": "0.1.17",
67
- "@univerjs/shared": "0.1.17"
65
+ "@univerjs/rpc": "0.2.1",
66
+ "@univerjs/core": "0.2.1",
67
+ "@univerjs/shared": "0.2.1"
68
68
  },
69
69
  "univerSpace": {
70
70
  ".": {