@univerjs/sheets-formula 0.21.0 → 0.21.1-insiders.20260509-bf98cad
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.
- package/README.md +33 -22
- package/lib/cjs/index.js +257 -235
- package/lib/es/index.js +258 -236
- package/lib/index.js +258 -236
- package/lib/types/controllers/defined-name.controller.d.ts +2 -2
- package/lib/types/services/description.service.d.ts +7 -18
- package/lib/umd/index.js +1 -1
- package/package.json +17 -12
- package/LICENSE +0 -176
package/README.md
CHANGED
|
@@ -1,39 +1,50 @@
|
|
|
1
1
|
# @univerjs/sheets-formula
|
|
2
2
|
|
|
3
|
+
[](https://npmjs.com/package/@univerjs/sheets-formula)
|
|
4
|
+
[](https://npmjs.com/package/@univerjs/sheets-formula)
|
|
5
|
+
[](https://npmjs.com/package/@univerjs/sheets-formula)
|
|
6
|
+
|
|
7
|
+
`@univerjs/sheets-formula` connects the formula engine to Univer Sheets, including formula data services, dependency handling, and sheet-aware calculation.
|
|
8
|
+
|
|
3
9
|
## Package Overview
|
|
4
10
|
|
|
5
|
-
| Package
|
|
6
|
-
| --- | --- |
|
|
7
|
-
| `@univerjs/sheets-formula` | `UniverSheetsFormula` |
|
|
11
|
+
| Package | UMD global | CSS | Locales | Facade entry |
|
|
12
|
+
| --- | --- | :---: | :---: | :---: |
|
|
13
|
+
| `@univerjs/sheets-formula` | `UniverSheetsFormula` | No | Yes | Yes |
|
|
8
14
|
|
|
9
|
-
##
|
|
15
|
+
## Installation
|
|
10
16
|
|
|
11
|
-
|
|
17
|
+
```sh
|
|
18
|
+
pnpm add @univerjs/sheets-formula
|
|
19
|
+
# or
|
|
20
|
+
npm install @univerjs/sheets-formula
|
|
21
|
+
```
|
|
12
22
|
|
|
13
|
-
|
|
14
|
-
> Formula calculation is one of the core functionalities of spreadsheets, and formula calculation scheduling is done in `@univerjs/sheets`.
|
|
23
|
+
Keep all `@univerjs/*` packages on the same version.
|
|
15
24
|
|
|
16
25
|
## Usage
|
|
17
26
|
|
|
18
|
-
|
|
27
|
+
```ts
|
|
28
|
+
import EnUS from '@univerjs/sheets-formula/locale/en-US';
|
|
29
|
+
import { UniverSheetsFormulaPlugin } from '@univerjs/sheets-formula';
|
|
19
30
|
|
|
20
|
-
|
|
21
|
-
# Using npm
|
|
22
|
-
npm install @univerjs/sheets-formula
|
|
31
|
+
univer.registerPlugin(UniverSheetsFormulaPlugin);
|
|
23
32
|
|
|
24
|
-
|
|
25
|
-
pnpm add @univerjs/sheets-formula
|
|
33
|
+
// Merge EnUS into your Univer locale map when this package contributes UI text.
|
|
26
34
|
```
|
|
27
35
|
|
|
28
|
-
|
|
36
|
+
Exported plugin classes:
|
|
37
|
+
|
|
38
|
+
- `UniverSheetsFormulaPlugin`
|
|
39
|
+
- `UniverRemoteSheetsFormulaPlugin`
|
|
40
|
+
|
|
41
|
+
## Integration Notes
|
|
42
|
+
|
|
43
|
+
Register this package with `@univerjs/engine-formula` and `@univerjs/sheets` before adding formula UI packages.
|
|
29
44
|
|
|
30
|
-
|
|
45
|
+
## Resources
|
|
31
46
|
|
|
32
|
-
- [
|
|
33
|
-
- [
|
|
47
|
+
- [Documentation](https://docs.univer.ai)
|
|
48
|
+
- [NPM package](https://npmjs.com/package/@univerjs/sheets-formula)
|
|
49
|
+
- [GitHub repository](https://github.com/dream-num/univer)
|
|
34
50
|
|
|
35
|
-
<!-- Links -->
|
|
36
|
-
[npm-version-shield]: https://img.shields.io/npm/v/@univerjs/sheets-formula?style=flat-square
|
|
37
|
-
[npm-version-link]: https://npmjs.com/package/@univerjs/sheets-formula
|
|
38
|
-
[npm-license-shield]: https://img.shields.io/npm/l/@univerjs/sheets-formula?style=flat-square
|
|
39
|
-
[npm-downloads-shield]: https://img.shields.io/npm/dm/@univerjs/sheets-formula?style=flat-square
|