@univerjs/engine-formula 1.0.0-alpha.2 → 1.0.0-alpha.4

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 (87) hide show
  1. package/lib/cjs/facade.js +9 -5
  2. package/lib/cjs/index.js +2017 -356
  3. package/lib/es/facade.js +9 -5
  4. package/lib/es/index.js +1999 -359
  5. package/lib/facade.js +9 -5
  6. package/lib/index.js +1999 -359
  7. package/lib/types/basics/common.d.ts +16 -1
  8. package/lib/types/basics/date.d.ts +2 -2
  9. package/lib/types/basics/regex.d.ts +4 -4
  10. package/lib/types/commands/mutations/set-super-table.mutation.d.ts +4 -1
  11. package/lib/types/controllers/formula-calculation-trigger.controller.d.ts +20 -0
  12. package/lib/types/controllers/super-table-active-dirty.controller.d.ts +22 -0
  13. package/lib/types/engine/analysis/lexer-node.d.ts +3 -3
  14. package/lib/types/engine/analysis/lexer-tree-builder.d.ts +2 -1
  15. package/lib/types/engine/analysis/lexer.d.ts +2 -1
  16. package/lib/types/engine/analysis/parser.d.ts +2 -1
  17. package/lib/types/engine/ast-node/function-node.d.ts +9 -2
  18. package/lib/types/engine/ast-node/operator-node.d.ts +1 -0
  19. package/lib/types/engine/ast-node/prefix-node.d.ts +1 -0
  20. package/lib/types/engine/ast-node/reference-node.d.ts +14 -4
  21. package/lib/types/engine/interpreter/interpreter.d.ts +11 -0
  22. package/lib/types/engine/reference-object/base-reference-object.d.ts +3 -0
  23. package/lib/types/engine/reference-object/cell-reference-object.d.ts +1 -0
  24. package/lib/types/engine/reference-object/table-reference-object.d.ts +2 -0
  25. package/lib/types/engine/utils/generate-ast-node.d.ts +1 -1
  26. package/lib/types/engine/utils/math-kit.d.ts +5 -0
  27. package/lib/types/engine/utils/reference.d.ts +3 -5
  28. package/lib/types/engine/utils/unit-qualifier.d.ts +32 -0
  29. package/lib/types/engine/value-object/array-value-object.d.ts +5 -0
  30. package/lib/types/engine/value-object/base-value-object.d.ts +6 -0
  31. package/lib/types/facade/f-formula.d.ts +9 -5
  32. package/lib/types/functions/base-function.d.ts +21 -1
  33. package/lib/types/functions/cube/cubekpimember/index.d.ts +20 -0
  34. package/lib/types/functions/cube/cubemember/index.d.ts +20 -0
  35. package/lib/types/functions/cube/cubememberproperty/index.d.ts +20 -0
  36. package/lib/types/functions/cube/cuberankedmember/index.d.ts +20 -0
  37. package/lib/types/functions/cube/cubeset/index.d.ts +20 -0
  38. package/lib/types/functions/cube/cubesetcount/index.d.ts +20 -0
  39. package/lib/types/functions/cube/cubevalue/index.d.ts +20 -0
  40. package/lib/types/functions/financial/amordegrc/index.d.ts +20 -0
  41. package/lib/types/functions/information/info/index.d.ts +20 -0
  42. package/lib/types/functions/information/isomitted/index.d.ts +20 -0
  43. package/lib/types/functions/logical/function-map.d.ts +3 -2
  44. package/lib/types/functions/logical/function-names.d.ts +2 -0
  45. package/lib/types/functions/logical/groupby/index.d.ts +46 -0
  46. package/lib/types/functions/logical/if/index.d.ts +5 -0
  47. package/lib/types/functions/logical/iferror/index.d.ts +4 -1
  48. package/lib/types/functions/logical/percentof/index.d.ts +27 -0
  49. package/lib/types/functions/lookup/anchorarray/index.d.ts +23 -0
  50. package/lib/types/functions/lookup/function-names.d.ts +1 -0
  51. package/lib/types/functions/lookup/getpivotdata/index.d.ts +20 -0
  52. package/lib/types/functions/lookup/hlookup/index.d.ts +1 -0
  53. package/lib/types/functions/lookup/indirect/index.d.ts +2 -0
  54. package/lib/types/functions/lookup/rtd/index.d.ts +20 -0
  55. package/lib/types/functions/lookup/vlookup/index.d.ts +2 -0
  56. package/lib/types/functions/lookup/xlookup/index.d.ts +2 -0
  57. package/lib/types/functions/math/iso-ceiling/index.d.ts +20 -0
  58. package/lib/types/functions/math/sum/index.d.ts +1 -0
  59. package/lib/types/functions/meta/compare/index.d.ts +1 -0
  60. package/lib/types/functions/not-implemented-function.d.ts +23 -0
  61. package/lib/types/functions/statistical/average/index.d.ts +1 -0
  62. package/lib/types/functions/statistical/countifs/index.d.ts +1 -0
  63. package/lib/types/functions/statistical/forecast-ets/index.d.ts +20 -0
  64. package/lib/types/functions/statistical/forecast-ets-confint/index.d.ts +20 -0
  65. package/lib/types/functions/statistical/forecast-ets-seasonality/index.d.ts +20 -0
  66. package/lib/types/functions/statistical/forecast-ets-stat/index.d.ts +20 -0
  67. package/lib/types/functions/statistical/linest/index.d.ts +1 -0
  68. package/lib/types/functions/text/call/index.d.ts +20 -0
  69. package/lib/types/functions/text/euroconvert/index.d.ts +20 -0
  70. package/lib/types/functions/text/function-names.d.ts +1 -0
  71. package/lib/types/functions/text/phonetic/index.d.ts +20 -0
  72. package/lib/types/functions/text/register-id/index.d.ts +20 -0
  73. package/lib/types/functions/text/textsplit/index.d.ts +1 -0
  74. package/lib/types/functions/web/filterxml/index.d.ts +22 -0
  75. package/lib/types/functions/web/function-map.d.ts +2 -2
  76. package/lib/types/functions/web/webservice/index.d.ts +20 -0
  77. package/lib/types/index.d.ts +7 -2
  78. package/lib/types/models/formula-data.model.d.ts +4 -2
  79. package/lib/types/services/active-dirty-manager.service.d.ts +2 -1
  80. package/lib/types/services/calculate-formula.service.d.ts +2 -2
  81. package/lib/types/services/current-data.service.d.ts +6 -1
  82. package/lib/types/services/defined-names.service.d.ts +2 -2
  83. package/lib/types/services/formula-calculation-trigger.service.d.ts +43 -0
  84. package/lib/types/services/runtime.service.d.ts +6 -0
  85. package/lib/types/services/unit-reference-resolver.service.d.ts +39 -0
  86. package/lib/umd/index.js +5 -2
  87. package/package.json +5 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/engine-formula",
3
- "version": "1.0.0-alpha.2",
3
+ "version": "1.0.0-alpha.4",
4
4
  "private": false,
5
5
  "description": "Formula parsing, dependency management, and calculation engine for Univer.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -64,14 +64,14 @@
64
64
  "dependencies": {
65
65
  "@flatten-js/interval-tree": "1.1.3",
66
66
  "decimal.js": "^10.6.0",
67
- "@univerjs/core": "1.0.0-alpha.2",
68
- "@univerjs/rpc": "1.0.0-alpha.2"
67
+ "@univerjs/core": "1.0.0-alpha.4",
68
+ "@univerjs/rpc": "1.0.0-alpha.4"
69
69
  },
70
70
  "devDependencies": {
71
71
  "rxjs": "^7.8.2",
72
72
  "typescript": "^6.0.3",
73
- "vitest": "^4.1.9",
74
- "@univerjs-infra/shared": "1.0.0-alpha.2"
73
+ "vitest": "^4.1.10",
74
+ "@univerjs-infra/shared": "1.0.0-alpha.4"
75
75
  },
76
76
  "scripts": {
77
77
  "test": "vitest run",