@univerjs/engine-formula 0.1.1 → 0.1.2

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 (88) hide show
  1. package/README.md +6 -2
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/es/index.js +4630 -3883
  4. package/lib/types/basics/__tests__/regex.spec.d.ts +16 -0
  5. package/lib/types/basics/common.d.ts +3 -1
  6. package/lib/types/basics/date.d.ts +8 -0
  7. package/lib/types/basics/regex.d.ts +8 -6
  8. package/lib/types/engine/reference-object/base-reference-object.d.ts +2 -0
  9. package/lib/types/engine/utils/__tests__/math-kit.spec.d.ts +16 -0
  10. package/lib/types/engine/utils/__tests__/object-covert.spec.d.ts +16 -0
  11. package/lib/types/engine/utils/math-kit.d.ts +7 -0
  12. package/lib/types/engine/utils/object-covert.d.ts +18 -0
  13. package/lib/types/engine/utils/reference.d.ts +0 -3
  14. package/lib/types/engine/value-object/array-value-object.d.ts +26 -5
  15. package/lib/types/engine/value-object/base-value-object.d.ts +12 -0
  16. package/lib/types/engine/value-object/primitive-object.d.ts +3 -0
  17. package/lib/types/functions/base-function.d.ts +11 -1
  18. package/lib/types/functions/compatibility/function-map.d.ts +3 -1
  19. package/lib/types/functions/date/day/index.d.ts +1 -0
  20. package/lib/types/functions/date/month/index.d.ts +1 -0
  21. package/lib/types/functions/date/year/index.d.ts +1 -0
  22. package/lib/types/functions/information/iserr/__tests__/index.spec.d.ts +16 -0
  23. package/lib/types/functions/information/iserr/index.d.ts +20 -0
  24. package/lib/types/functions/information/iserror/__tests__/index.spec.d.ts +16 -0
  25. package/lib/types/functions/information/iserror/index.d.ts +20 -0
  26. package/lib/types/functions/information/islogical/__tests__/index.spec.d.ts +16 -0
  27. package/lib/types/functions/information/islogical/index.d.ts +20 -0
  28. package/lib/types/functions/information/isna/__tests__/index.spec.d.ts +16 -0
  29. package/lib/types/functions/information/isna/index.d.ts +20 -0
  30. package/lib/types/functions/information/isnontext/__tests__/index.spec.d.ts +16 -0
  31. package/lib/types/functions/information/isnontext/index.d.ts +20 -0
  32. package/lib/types/functions/information/isnumber/__tests__/index.spec.d.ts +16 -0
  33. package/lib/types/functions/information/isnumber/index.d.ts +20 -0
  34. package/lib/types/functions/information/isref/__tests__/index.spec.d.ts +16 -0
  35. package/lib/types/functions/information/isref/index.d.ts +22 -0
  36. package/lib/types/functions/information/istext/__tests__/index.spec.d.ts +16 -0
  37. package/lib/types/functions/information/istext/index.d.ts +20 -0
  38. package/lib/types/functions/logical/function-map.d.ts +2 -1
  39. package/lib/types/functions/logical/iferror/index.d.ts +2 -1
  40. package/lib/types/functions/lookup/column/__tests__/index.spec.d.ts +16 -0
  41. package/lib/types/functions/lookup/column/index.d.ts +21 -0
  42. package/lib/types/functions/lookup/columns/__tests__/index.spec.d.ts +16 -0
  43. package/lib/types/functions/lookup/columns/index.d.ts +20 -0
  44. package/lib/types/functions/lookup/function-map.d.ts +6 -1
  45. package/lib/types/functions/lookup/index/__test__/index.spec.d.ts +16 -0
  46. package/lib/types/functions/lookup/index/index.d.ts +24 -0
  47. package/lib/types/functions/lookup/lookup/index.d.ts +1 -0
  48. package/lib/types/functions/lookup/row/__tests__/index.spec.d.ts +16 -0
  49. package/lib/types/functions/lookup/row/index.d.ts +21 -0
  50. package/lib/types/functions/lookup/rows/__tests__/index.spec.d.ts +16 -0
  51. package/lib/types/functions/lookup/rows/index.d.ts +20 -0
  52. package/lib/types/functions/lookup/xlookup/index.d.ts +1 -1
  53. package/lib/types/functions/math/function-map.d.ts +3 -1
  54. package/lib/types/functions/math/mod/__tests__/index.spec.d.ts +16 -0
  55. package/lib/types/functions/math/mod/index.d.ts +20 -0
  56. package/lib/types/functions/math/power/__tests__/index.spec.d.ts +16 -0
  57. package/lib/types/functions/math/power/index.d.ts +2 -3
  58. package/lib/types/functions/math/product/__tests__/index.spec.d.ts +16 -0
  59. package/lib/types/functions/math/product/index.d.ts +21 -0
  60. package/lib/types/functions/math/subtotal/__tests__/index.spec.d.ts +16 -0
  61. package/lib/types/functions/math/subtotal/index.d.ts +38 -0
  62. package/lib/types/functions/math/sum/__tests__/index.spec.d.ts +16 -0
  63. package/lib/types/functions/statistical/average/__tests__/index.spec.d.ts +16 -0
  64. package/lib/types/functions/statistical/count/__tests__/index.spec.d.ts +16 -0
  65. package/lib/types/functions/statistical/counta/__tests__/index.spec.d.ts +16 -0
  66. package/lib/types/functions/statistical/counta/index.d.ts +1 -1
  67. package/lib/types/functions/statistical/function-map.d.ts +2 -2
  68. package/lib/types/functions/statistical/max/__tests__/index.spec.d.ts +16 -0
  69. package/lib/types/functions/statistical/min/__tests__/index.spec.d.ts +16 -0
  70. package/lib/types/functions/statistical/stdev-p/__tests__/index.spec.d.ts +16 -0
  71. package/lib/types/functions/statistical/stdev-p/index.d.ts +20 -0
  72. package/lib/types/functions/statistical/stdev-s/__tests__/index.spec.d.ts +16 -0
  73. package/lib/types/functions/statistical/stdev-s/index.d.ts +20 -0
  74. package/lib/types/functions/statistical/stdeva/__tests__/index.spec.d.ts +16 -0
  75. package/lib/types/functions/statistical/stdeva/index.d.ts +20 -0
  76. package/lib/types/functions/statistical/stdevpa/__tests__/index.spec.d.ts +16 -0
  77. package/lib/types/functions/statistical/stdevpa/index.d.ts +20 -0
  78. package/lib/types/functions/statistical/var-p/__tests__/index.spec.d.ts +16 -0
  79. package/lib/types/functions/statistical/var-p/index.d.ts +20 -0
  80. package/lib/types/functions/statistical/var-s/__tests__/index.spec.d.ts +16 -0
  81. package/lib/types/functions/statistical/var-s/index.d.ts +20 -0
  82. package/lib/types/functions/statistical/vara/__tests__/index.spec.d.ts +16 -0
  83. package/lib/types/functions/statistical/vara/index.d.ts +20 -0
  84. package/lib/types/functions/statistical/varpa/__tests__/index.spec.d.ts +16 -0
  85. package/lib/types/functions/statistical/varpa/index.d.ts +20 -0
  86. package/lib/types/index.d.ts +3 -3
  87. package/lib/umd/index.js +1 -1
  88. package/package.json +4 -4
package/README.md CHANGED
@@ -5,12 +5,16 @@
5
5
 
6
6
  ## Introduction
7
7
 
8
- > This plugin provides formula services to other modules of Univer.
8
+ The `@univerjs/engine-formula` is a formula engine that provides fundamental capabilities for formula computation, including but not limited to: formula string parsing, formula calculation, and formula dependency analysis.
9
9
 
10
10
  ## Usage
11
11
 
12
12
  ### Installation
13
13
 
14
14
  ```shell
15
- npm i @univerjs/engine-formula
15
+ # Using npm
16
+ npm install @univerjs/engine-formula
17
+
18
+ # Using pnpm
19
+ pnpm add @univerjs/engine-formula
16
20
  ```