@univerjs/sheets-formula 0.1.9 → 0.1.11

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 (57) hide show
  1. package/README.md +3 -768
  2. package/lib/cjs/index.js +8 -8
  3. package/lib/es/index.js +3432 -2216
  4. package/lib/types/commands/operations/__tests__/create-command-test-bed.d.ts +2 -2
  5. package/lib/types/commands/operations/editor-formula.operation.d.ts +3 -3
  6. package/lib/types/common/selection.d.ts +1 -1
  7. package/lib/types/controllers/__tests__/create-command-test-bed.d.ts +1 -1
  8. package/lib/types/controllers/active-dirty.controller.d.ts +1 -1
  9. package/lib/types/controllers/array-formula-display.controller.d.ts +2 -2
  10. package/lib/types/controllers/defined-name.controller.d.ts +2 -2
  11. package/lib/types/controllers/formula-alert.controller.d.ts +12 -0
  12. package/lib/types/controllers/formula-auto-fill.controller.d.ts +2 -2
  13. package/lib/types/controllers/formula-clipboard.controller.d.ts +3 -3
  14. package/lib/types/controllers/formula-editor-show.controller.d.ts +7 -6
  15. package/lib/types/controllers/formula-render.controller.d.ts +11 -0
  16. package/lib/types/controllers/formula-ui.controller.d.ts +6 -3
  17. package/lib/types/controllers/menu.d.ts +1 -1
  18. package/lib/types/controllers/prompt.controller.d.ts +8 -8
  19. package/lib/types/controllers/trigger-calculation.controller.d.ts +3 -3
  20. package/lib/types/controllers/update-formula.controller.d.ts +4 -3
  21. package/lib/types/controllers/utils/__tests__/utils.spec.d.ts +16 -0
  22. package/lib/types/controllers/utils/offset-formula-data.d.ts +4 -2
  23. package/lib/types/controllers/utils/ref-range-formula.d.ts +1 -1
  24. package/lib/types/controllers/utils/utils.d.ts +8 -1
  25. package/lib/types/formula-ui-plugin.d.ts +3 -3
  26. package/lib/types/index.d.ts +1 -1
  27. package/lib/types/locale/en-US.d.ts +15 -0
  28. package/lib/types/locale/function-list/array/ru-RU.d.ts +3 -0
  29. package/lib/types/locale/function-list/compatibility/ru-RU.d.ts +3 -0
  30. package/lib/types/locale/function-list/cube/ru-RU.d.ts +144 -0
  31. package/lib/types/locale/function-list/database/ru-RU.d.ts +234 -0
  32. package/lib/types/locale/function-list/date/ru-RU.d.ts +3 -0
  33. package/lib/types/locale/function-list/engineering/ru-RU.d.ts +3 -0
  34. package/lib/types/locale/function-list/financial/ru-RU.d.ts +3 -0
  35. package/lib/types/locale/function-list/information/ru-RU.d.ts +3 -0
  36. package/lib/types/locale/function-list/logical/ru-RU.d.ts +3 -0
  37. package/lib/types/locale/function-list/lookup/ru-RU.d.ts +3 -0
  38. package/lib/types/locale/function-list/math/ru-RU.d.ts +3 -0
  39. package/lib/types/locale/function-list/statistical/ru-RU.d.ts +3 -0
  40. package/lib/types/locale/function-list/text/ru-RU.d.ts +852 -0
  41. package/lib/types/locale/function-list/univer/ru-RU.d.ts +17 -0
  42. package/lib/types/locale/function-list/web/ru-RU.d.ts +72 -0
  43. package/lib/types/locale/index.d.ts +1 -0
  44. package/lib/types/locale/ru-RU.d.ts +9276 -0
  45. package/lib/types/locale/zh-CN.d.ts +15 -0
  46. package/lib/types/services/description.service.d.ts +4 -4
  47. package/lib/types/services/formula-custom-function.service.d.ts +4 -5
  48. package/lib/types/services/formula-ref-range.service.d.ts +3 -3
  49. package/lib/types/services/prompt.service.d.ts +4 -4
  50. package/lib/types/services/register-function.service.d.ts +6 -7
  51. package/lib/types/services/register-other-formula.service.d.ts +2 -2
  52. package/lib/types/services/utils.d.ts +2 -1
  53. package/lib/types/views/more-functions/function-help/FunctionHelp.d.ts +15 -1
  54. package/lib/types/views/more-functions/input-params/InputParams.d.ts +1 -1
  55. package/lib/types/views/more-functions/select-function/SelectFunction.d.ts +1 -1
  56. package/lib/umd/index.js +7 -7
  57. package/package.json +27 -24
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/sheets-formula",
3
- "version": "0.1.9",
3
+ "version": "0.1.11",
4
4
  "private": false,
5
5
  "author": "DreamNum <developer@univer.ai>",
6
6
  "license": "Apache-2.0",
@@ -49,43 +49,46 @@
49
49
  "npm": ">=8.0.0"
50
50
  },
51
51
  "peerDependencies": {
52
- "@wendellhu/redi": "^0.13.3",
52
+ "@wendellhu/redi": "^0.15.1",
53
53
  "react": "^16.9.0 || ^17.0.0 || ^18.0.0",
54
54
  "rxjs": ">=7.0.0",
55
- "@univerjs/design": "0.1.9",
56
- "@univerjs/docs": "0.1.9",
57
- "@univerjs/engine-render": "0.1.9",
58
- "@univerjs/core": "0.1.9",
59
- "@univerjs/engine-formula": "0.1.9",
60
- "@univerjs/sheets": "0.1.9",
61
- "@univerjs/sheets-ui": "0.1.9",
62
- "@univerjs/ui": "0.1.9"
55
+ "@univerjs/core": "0.1.11",
56
+ "@univerjs/design": "0.1.11",
57
+ "@univerjs/engine-formula": "0.1.11",
58
+ "@univerjs/docs": "0.1.11",
59
+ "@univerjs/sheets": "0.1.11",
60
+ "@univerjs/engine-render": "0.1.11",
61
+ "@univerjs/sheets-ui": "0.1.11",
62
+ "@univerjs/ui": "0.1.11"
63
63
  },
64
64
  "dependencies": {
65
- "@univerjs/icons": "^0.1.44"
65
+ "@univerjs/icons": "^0.1.45"
66
66
  },
67
67
  "devDependencies": {
68
68
  "@types/react": "^18.2.79",
69
69
  "@vitejs/plugin-react": "^4.2.1",
70
- "@wendellhu/redi": "^0.13.3",
70
+ "@wendellhu/redi": "^0.15.1",
71
71
  "less": "^4.2.0",
72
72
  "react": "18.2.0",
73
73
  "rxjs": "^7.8.1",
74
74
  "typescript": "^5.4.5",
75
- "vite": "^5.2.10",
76
- "vitest": "^1.5.0",
77
- "@univerjs/core": "0.1.9",
78
- "@univerjs/design": "0.1.9",
79
- "@univerjs/docs": "0.1.9",
80
- "@univerjs/engine-formula": "0.1.9",
81
- "@univerjs/engine-render": "0.1.9",
82
- "@univerjs/shared": "0.1.9",
83
- "@univerjs/sheets": "0.1.9",
84
- "@univerjs/sheets-numfmt": "0.1.9",
85
- "@univerjs/ui": "0.1.9",
86
- "@univerjs/sheets-ui": "0.1.9"
75
+ "vite": "^5.2.11",
76
+ "vitest": "^1.6.0",
77
+ "@univerjs/design": "0.1.11",
78
+ "@univerjs/docs": "0.1.11",
79
+ "@univerjs/core": "0.1.11",
80
+ "@univerjs/engine-formula": "0.1.11",
81
+ "@univerjs/engine-render": "0.1.11",
82
+ "@univerjs/shared": "0.1.11",
83
+ "@univerjs/sheets": "0.1.11",
84
+ "@univerjs/sheets-ui": "0.1.11",
85
+ "@univerjs/ui": "0.1.11",
86
+ "@univerjs/sheets-numfmt": "0.1.11"
87
87
  },
88
88
  "scripts": {
89
+ "test": "vitest run",
90
+ "test:watch": "vitest",
91
+ "coverage": "vitest run --coverage",
89
92
  "lint:types": "tsc --noEmit",
90
93
  "build": "tsc && vite build"
91
94
  }