@univerjs/engine-formula 0.1.6 → 0.1.8

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 (46) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/es/index.js +3715 -3356
  3. package/lib/types/basics/common.d.ts +9 -8
  4. package/lib/types/commands/mutations/set-array-formula-data.mutation.d.ts +3 -2
  5. package/lib/types/commands/mutations/set-defined-name.mutation.d.ts +1 -7
  6. package/lib/types/commands/mutations/set-formula-calculation.mutation.d.ts +1 -2
  7. package/lib/types/commands/mutations/set-formula-data.mutation.d.ts +3 -0
  8. package/lib/types/controller/calculate.controller.d.ts +2 -2
  9. package/lib/types/controller/set-dependency.controller.d.ts +10 -0
  10. package/lib/types/controller/set-other-formula.controller.d.ts +3 -1
  11. package/lib/types/engine/analysis/__tests__/create-command-test-bed.d.ts +3 -3
  12. package/lib/types/engine/analysis/lexer-tree-builder.d.ts +6 -2
  13. package/lib/types/engine/ast-node/function-node.d.ts +6 -2
  14. package/lib/types/engine/ast-node/reference-node.d.ts +1 -0
  15. package/lib/types/engine/dependency/dependency-tree.d.ts +2 -0
  16. package/lib/types/engine/dependency/formula-dependency.d.ts +9 -1
  17. package/lib/types/engine/reference-object/base-reference-object.d.ts +16 -6
  18. package/lib/types/engine/utils/reference.d.ts +10 -1
  19. package/lib/types/engine/utils/sequence.d.ts +2 -1
  20. package/lib/types/engine/utils/value-object.d.ts +7 -0
  21. package/lib/types/engine/value-object/array-value-object.d.ts +7 -1
  22. package/lib/types/functions/__tests__/create-function-test-bed.d.ts +3 -3
  23. package/lib/types/functions/base-function.d.ts +12 -0
  24. package/lib/types/functions/information/iseven/iseven.d.ts +7 -0
  25. package/lib/types/functions/information/iseven/iseven.spec.d.ts +16 -0
  26. package/lib/types/functions/information/isodd/isodd.d.ts +7 -0
  27. package/lib/types/functions/information/isodd/isodd.spec.d.ts +16 -0
  28. package/lib/types/functions/information/isref/index.d.ts +1 -1
  29. package/lib/types/functions/lookup/indirect/index.d.ts +8 -0
  30. package/lib/types/functions/math/subtotal/index.d.ts +1 -1
  31. package/lib/types/functions/statistical/maxifs/__tests__/index.spec.d.ts +16 -0
  32. package/lib/types/functions/statistical/maxifs/index.d.ts +7 -0
  33. package/lib/types/functions/text/lower/__test__/index.spec.d.ts +16 -0
  34. package/lib/types/functions/text/lower/index.d.ts +7 -0
  35. package/lib/types/index.d.ts +6 -7
  36. package/lib/types/models/__tests__/create-command-test-bed.d.ts +1 -1
  37. package/lib/types/models/formula-data.model.d.ts +16 -17
  38. package/lib/types/models/utils/formula-data-util.d.ts +10 -0
  39. package/lib/types/plugin.d.ts +1 -1
  40. package/lib/types/services/current-data.service.d.ts +9 -5
  41. package/lib/types/services/defined-names.service.d.ts +2 -0
  42. package/lib/types/services/dependency-manager.service.d.ts +74 -0
  43. package/lib/types/services/runtime.service.d.ts +1 -5
  44. package/lib/umd/index.js +1 -1
  45. package/package.json +9 -9
  46. package/lib/types/commands/mutations/set-numfmt-formula-data.mutation.d.ts +0 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/engine-formula",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "private": false,
5
5
  "description": "UniverSheet normal base-formula-engine",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -50,9 +50,9 @@
50
50
  "npm": ">=8.0.0"
51
51
  },
52
52
  "peerDependencies": {
53
- "@wendellhu/redi": "0.13.0",
53
+ "@wendellhu/redi": "^0.13.3",
54
54
  "rxjs": ">=7.0.0",
55
- "@univerjs/core": "0.1.6"
55
+ "@univerjs/core": "0.1.8"
56
56
  },
57
57
  "dependencies": {
58
58
  "big.js": "^6.2.1",
@@ -60,13 +60,13 @@
60
60
  },
61
61
  "devDependencies": {
62
62
  "@types/big.js": "^6.2.2",
63
- "@wendellhu/redi": "^0.13.0",
63
+ "@wendellhu/redi": "^0.13.3",
64
64
  "rxjs": "^7.8.1",
65
- "typescript": "^5.4.3",
66
- "vite": "^5.2.7",
67
- "vitest": "^1.4.0",
68
- "@univerjs/shared": "0.1.6",
69
- "@univerjs/core": "0.1.6"
65
+ "typescript": "^5.4.5",
66
+ "vite": "^5.2.10",
67
+ "vitest": "^1.5.0",
68
+ "@univerjs/shared": "0.1.8",
69
+ "@univerjs/core": "0.1.8"
70
70
  },
71
71
  "scripts": {
72
72
  "test": "vitest run",
@@ -1,7 +0,0 @@
1
- import { INumfmtItemMap } from '../../basics/common';
2
- import { IMutation } from '@univerjs/core';
3
-
4
- export interface ISetNumfmtFormulaDataMutationParams {
5
- numfmtItemMap: INumfmtItemMap;
6
- }
7
- export declare const SetNumfmtFormulaDataMutation: IMutation<ISetNumfmtFormulaDataMutationParams>;