@univerjs/engine-formula 0.2.11 → 0.2.13

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 (94) hide show
  1. package/lib/cjs/index.js +2 -2
  2. package/lib/es/index.js +2101 -501
  3. package/lib/types/basics/__tests__/math.spec.d.ts +16 -0
  4. package/lib/types/basics/math.d.ts +21 -0
  5. package/lib/types/controller/config.schema.d.ts +10 -0
  6. package/lib/types/controller/formula.controller.d.ts +3 -5
  7. package/lib/types/controller/set-dependency.controller.d.ts +1 -1
  8. package/lib/types/engine/analysis/__tests__/create-command-test-bed.d.ts +6 -6
  9. package/lib/types/engine/dependency/dependency-tree.d.ts +22 -2
  10. package/lib/types/engine/dependency/range-block-util.d.ts +15 -0
  11. package/lib/types/engine/reference-object/base-reference-object.d.ts +6 -6
  12. package/lib/types/engine/value-object/array-value-object.d.ts +1 -1
  13. package/lib/types/engine/value-object/lambda-value-object.d.ts +3 -2
  14. package/lib/types/functions/__tests__/create-function-test-bed.d.ts +6 -6
  15. package/lib/types/functions/base-function.d.ts +1 -1
  16. package/lib/types/functions/information/isformula/__tests__/index.spec.d.ts +16 -0
  17. package/lib/types/functions/information/isformula/index.d.ts +9 -0
  18. package/lib/types/functions/information/n/__tests__/index.spec.d.ts +16 -0
  19. package/lib/types/functions/information/n/index.d.ts +7 -0
  20. package/lib/types/functions/information/na/__tests__/index.spec.d.ts +16 -0
  21. package/lib/types/functions/information/na/index.d.ts +7 -0
  22. package/lib/types/functions/logical/bycol/__test__/index.spec.d.ts +16 -0
  23. package/lib/types/functions/logical/bycol/index.d.ts +7 -0
  24. package/lib/types/functions/logical/byrow/__test__/index.spec.d.ts +16 -0
  25. package/lib/types/functions/logical/byrow/index.d.ts +7 -0
  26. package/lib/types/functions/logical/function-map.d.ts +1 -1
  27. package/lib/types/functions/logical/map/__test__/index.spec.d.ts +16 -0
  28. package/lib/types/functions/logical/map/index.d.ts +8 -0
  29. package/lib/types/functions/logical/reduce/__test__/index.spec.d.ts +16 -0
  30. package/lib/types/functions/logical/reduce/index.d.ts +8 -0
  31. package/lib/types/functions/logical/scan/__test__/index.spec.d.ts +16 -0
  32. package/lib/types/functions/logical/scan/index.d.ts +8 -0
  33. package/lib/types/functions/lookup/drop/__tests__/index.spec.d.ts +16 -0
  34. package/lib/types/functions/lookup/drop/index.d.ts +9 -0
  35. package/lib/types/functions/lookup/expand/__tests__/index.spec.d.ts +16 -0
  36. package/lib/types/functions/lookup/expand/index.d.ts +9 -0
  37. package/lib/types/functions/lookup/function-map.d.ts +1 -1
  38. package/lib/types/functions/lookup/take/__tests__/index.spec.d.ts +16 -0
  39. package/lib/types/functions/lookup/take/index.d.ts +9 -0
  40. package/lib/types/functions/lookup/tocol/__tests__/index.spec.d.ts +16 -0
  41. package/lib/types/functions/lookup/tocol/index.d.ts +10 -0
  42. package/lib/types/functions/lookup/torow/__tests__/index.spec.d.ts +16 -0
  43. package/lib/types/functions/lookup/torow/index.d.ts +10 -0
  44. package/lib/types/functions/lookup/wrapcols/__tests__/index.spec.d.ts +16 -0
  45. package/lib/types/functions/lookup/wrapcols/index.d.ts +8 -0
  46. package/lib/types/functions/lookup/wraprows/__tests__/index.spec.d.ts +16 -0
  47. package/lib/types/functions/lookup/wraprows/index.d.ts +8 -0
  48. package/lib/types/functions/math/combin/__tests__/index.spec.d.ts +16 -0
  49. package/lib/types/functions/math/combin/index.d.ts +7 -0
  50. package/lib/types/functions/math/combina/__tests__/index.spec.d.ts +16 -0
  51. package/lib/types/functions/math/combina/index.d.ts +7 -0
  52. package/lib/types/functions/math/fact/__tests__/index.spec.d.ts +16 -0
  53. package/lib/types/functions/math/fact/index.d.ts +8 -0
  54. package/lib/types/functions/math/factdouble/__tests__/index.spec.d.ts +16 -0
  55. package/lib/types/functions/math/factdouble/index.d.ts +8 -0
  56. package/lib/types/functions/math/gcd/__tests__/index.spec.d.ts +16 -0
  57. package/lib/types/functions/math/gcd/index.d.ts +8 -0
  58. package/lib/types/functions/math/int/__tests__/index.spec.d.ts +16 -0
  59. package/lib/types/functions/math/int/index.d.ts +8 -0
  60. package/lib/types/functions/math/lcm/__tests__/index.spec.d.ts +16 -0
  61. package/lib/types/functions/math/lcm/index.d.ts +8 -0
  62. package/lib/types/functions/math/mdeterm/__tests__/index.spec.d.ts +16 -0
  63. package/lib/types/functions/math/mdeterm/index.d.ts +7 -0
  64. package/lib/types/functions/math/minverse/__tests__/index.spec.d.ts +16 -0
  65. package/lib/types/functions/math/minverse/index.d.ts +7 -0
  66. package/lib/types/functions/math/mmult/__tests__/index.spec.d.ts +16 -0
  67. package/lib/types/functions/math/mmult/index.d.ts +9 -0
  68. package/lib/types/functions/math/mod/index.d.ts +1 -1
  69. package/lib/types/functions/math/multinomial/__tests__/index.spec.d.ts +16 -0
  70. package/lib/types/functions/math/multinomial/index.d.ts +8 -0
  71. package/lib/types/functions/math/munit/__tests__/index.spec.d.ts +16 -0
  72. package/lib/types/functions/math/munit/index.d.ts +8 -0
  73. package/lib/types/functions/math/quotient/__tests__/index.spec.d.ts +16 -0
  74. package/lib/types/functions/math/quotient/index.d.ts +7 -0
  75. package/lib/types/functions/math/sequence/__tests__/index.spec.d.ts +16 -0
  76. package/lib/types/functions/math/sequence/index.d.ts +8 -0
  77. package/lib/types/functions/math/seriessum/__tests__/index.spec.d.ts +16 -0
  78. package/lib/types/functions/math/seriessum/index.d.ts +8 -0
  79. package/lib/types/functions/math/sign/__tests__/index.spec.d.ts +16 -0
  80. package/lib/types/functions/math/sign/index.d.ts +8 -0
  81. package/lib/types/models/__tests__/create-command-test-bed.d.ts +6 -6
  82. package/lib/types/models/formula-data.model.d.ts +3 -2
  83. package/lib/types/plugin.d.ts +5 -10
  84. package/lib/types/services/active-dirty-manager.service.d.ts +1 -1
  85. package/lib/types/services/current-data.service.d.ts +1 -1
  86. package/lib/types/services/defined-names.service.d.ts +1 -1
  87. package/lib/types/services/dependency-manager.service.d.ts +5 -10
  88. package/lib/types/services/feature-calculation-manager.service.d.ts +1 -1
  89. package/lib/types/services/function.service.d.ts +1 -1
  90. package/lib/types/services/other-formula-manager.service.d.ts +1 -1
  91. package/lib/types/services/runtime.service.d.ts +1 -1
  92. package/lib/types/services/super-table.service.d.ts +1 -1
  93. package/lib/umd/index.js +2 -2
  94. package/package.json +9 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/engine-formula",
3
- "version": "0.2.11",
3
+ "version": "0.2.13",
4
4
  "private": false,
5
5
  "description": "UniverSheet normal base-formula-engine",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -47,21 +47,21 @@
47
47
  ],
48
48
  "peerDependencies": {
49
49
  "rxjs": ">=7.0.0",
50
- "@univerjs/core": "0.2.11",
51
- "@univerjs/rpc": "0.2.11"
50
+ "@univerjs/rpc": "0.2.13",
51
+ "@univerjs/core": "0.2.13"
52
52
  },
53
53
  "dependencies": {
54
54
  "decimal.js": "^10.4.3",
55
- "numfmt": "^2.5.2"
55
+ "numfmt": "^2.5.2",
56
+ "@univerjs/core": "0.2.13",
57
+ "@univerjs/rpc": "0.2.13"
56
58
  },
57
59
  "devDependencies": {
58
60
  "rxjs": "^7.8.1",
59
- "typescript": "^5.5.4",
60
- "vite": "^5.4.2",
61
+ "typescript": "^5.6.2",
62
+ "vite": "^5.4.4",
61
63
  "vitest": "^2.0.5",
62
- "@univerjs/core": "0.2.11",
63
- "@univerjs/rpc": "0.2.11",
64
- "@univerjs/shared": "0.2.11"
64
+ "@univerjs-infra/shared": "0.2.13"
65
65
  },
66
66
  "univerSpace": {
67
67
  ".": {