@univerjs/engine-formula 0.2.2 → 0.2.4-alpha.0

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 (71) hide show
  1. package/README.md +11 -2
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/es/index.js +4972 -4302
  4. package/lib/types/basics/date.d.ts +9 -15
  5. package/lib/types/controller/formula.controller.d.ts +1 -2
  6. package/lib/types/engine/analysis/__tests__/create-command-test-bed.d.ts +7 -8
  7. package/lib/types/engine/ast-node/function-node.d.ts +1 -1
  8. package/lib/types/engine/ast-node/prefix-node.d.ts +1 -2
  9. package/lib/types/engine/ast-node/reference-node.d.ts +1 -1
  10. package/lib/types/engine/ast-node/suffix-node.d.ts +1 -1
  11. package/lib/types/engine/reference-object/base-reference-object.d.ts +1 -0
  12. package/lib/types/engine/utils/prefixHandler.d.ts +1 -2
  13. package/lib/types/engine/value-object/array-value-object.d.ts +2 -0
  14. package/lib/types/engine/value-object/base-value-object.d.ts +1 -0
  15. package/lib/types/engine/value-object/primitive-object.d.ts +4 -1
  16. package/lib/types/functions/__tests__/create-function-test-bed.d.ts +7 -8
  17. package/lib/types/functions/custom-function.d.ts +5 -0
  18. package/lib/types/functions/date/function-map.d.ts +3 -1
  19. package/lib/types/functions/date/hour/__tests__/index.spec.d.ts +16 -0
  20. package/lib/types/functions/date/hour/index.d.ts +9 -0
  21. package/lib/types/functions/date/minute/__tests__/index.spec.d.ts +16 -0
  22. package/lib/types/functions/date/minute/index.d.ts +9 -0
  23. package/lib/types/functions/date/networkdays/__tests__/index.spec.d.ts +16 -0
  24. package/lib/types/functions/date/networkdays/index.d.ts +8 -0
  25. package/lib/types/functions/date/networkdays-intl/__tests__/index.spec.d.ts +16 -0
  26. package/lib/types/functions/date/networkdays-intl/index.d.ts +9 -0
  27. package/lib/types/functions/date/second/__tests__/index.spec.d.ts +16 -0
  28. package/lib/types/functions/date/second/index.d.ts +9 -0
  29. package/lib/types/functions/date/weekday/__tests__/index.spec.d.ts +16 -0
  30. package/lib/types/functions/date/weekday/index.d.ts +9 -0
  31. package/lib/types/functions/date/workday/__tests__/index.spec.d.ts +16 -0
  32. package/lib/types/functions/date/workday/index.d.ts +8 -0
  33. package/lib/types/functions/date/workday-intl/__tests__/index.spec.d.ts +16 -0
  34. package/lib/types/functions/date/workday-intl/index.d.ts +9 -0
  35. package/lib/types/functions/math/acoth/__tests__/index.spec.d.ts +16 -0
  36. package/lib/types/functions/math/acoth/index.d.ts +8 -0
  37. package/lib/types/functions/math/base/__tests__/index.spec.d.ts +16 -0
  38. package/lib/types/functions/math/base/index.d.ts +9 -0
  39. package/lib/types/functions/math/cosh/__tests__/index.spec.d.ts +16 -0
  40. package/lib/types/functions/math/cosh/index.d.ts +8 -0
  41. package/lib/types/functions/math/cot/__tests__/index.spec.d.ts +16 -0
  42. package/lib/types/functions/math/cot/index.d.ts +8 -0
  43. package/lib/types/functions/math/coth/__tests__/index.spec.d.ts +16 -0
  44. package/lib/types/functions/math/coth/index.d.ts +8 -0
  45. package/lib/types/functions/math/csc/__tests__/index.spec.d.ts +16 -0
  46. package/lib/types/functions/math/csc/index.d.ts +8 -0
  47. package/lib/types/functions/math/csch/__tests__/index.spec.d.ts +16 -0
  48. package/lib/types/functions/math/csch/index.d.ts +8 -0
  49. package/lib/types/functions/math/function-map.d.ts +2 -1
  50. package/lib/types/functions/math/sin/__tests__/index.spec.d.ts +16 -0
  51. package/lib/types/functions/math/sin/index.d.ts +8 -0
  52. package/lib/types/functions/math/sinh/__tests__/index.spec.d.ts +16 -0
  53. package/lib/types/functions/math/sinh/index.d.ts +8 -0
  54. package/lib/types/functions/math/sumproduct/__tests__/index.spec.d.ts +16 -0
  55. package/lib/types/functions/math/sumproduct/index.d.ts +8 -0
  56. package/lib/types/index.d.ts +1 -1
  57. package/lib/types/models/__tests__/create-command-test-bed.d.ts +7 -8
  58. package/lib/types/plugin.d.ts +1 -2
  59. package/lib/types/services/active-dirty-manager.service.d.ts +1 -1
  60. package/lib/types/services/current-data.service.d.ts +1 -1
  61. package/lib/types/services/defined-names.service.d.ts +1 -1
  62. package/lib/types/services/dependency-manager.service.d.ts +7 -1
  63. package/lib/types/services/feature-calculation-manager.service.d.ts +1 -1
  64. package/lib/types/services/function.service.d.ts +2 -3
  65. package/lib/types/services/other-formula-manager.service.d.ts +1 -1
  66. package/lib/types/services/runtime.service.d.ts +1 -1
  67. package/lib/types/services/super-table.service.d.ts +1 -1
  68. package/lib/umd/index.js +1 -1
  69. package/package.json +8 -10
  70. package/lib/types/commands/mutations/unregister-function.mutation.d.ts +0 -16
  71. package/lib/types/controller/register-function.controller.d.ts +0 -12
package/README.md CHANGED
@@ -1,7 +1,10 @@
1
1
  # @univerjs/engine-formula
2
2
 
3
- [![npm version](https://img.shields.io/npm/v/@univerjs/engine-formula)](https://npmjs.org/package/@univerjs/engine-formula)
4
- [![license](https://img.shields.io/npm/l/@univerjs/engine-formula)](https://img.shields.io/npm/l/@univerjs/engine-formula)
3
+ ## Package Overview
4
+
5
+ | Package Name | UMD Namespace | Version | License | Downloads | Contains CSS | Contains i18n locales |
6
+ | --- | --- | --- | --- | --- | :---: | :---: |
7
+ | `@univerjs/engine-formula` | `UniverEngineFormula` | [![][npm-version-shield]][npm-version-link] | ![][npm-license-shield] | ![][npm-downloads-shield] | ❌ | ❌ |
5
8
 
6
9
  ## Introduction
7
10
 
@@ -18,3 +21,9 @@ npm install @univerjs/engine-formula
18
21
  # Using pnpm
19
22
  pnpm add @univerjs/engine-formula
20
23
  ```
24
+
25
+ <!-- Links -->
26
+ [npm-version-shield]: https://img.shields.io/npm/v/@univerjs/engine-formula?style=flat-square
27
+ [npm-version-link]: https://npmjs.com/package/@univerjs/engine-formula
28
+ [npm-license-shield]: https://img.shields.io/npm/l/@univerjs/engine-formula?style=flat-square
29
+ [npm-downloads-shield]: https://img.shields.io/npm/dm/@univerjs/engine-formula?style=flat-square