snapshot of https://github.com/dream-num/univer.git (dev, 2026-09-16; blobs > 131072B omitted)
Some checks failed
📦 Build / build (push) Has been cancelled
🧪 CI Test / test shard (1/4) (push) Has been cancelled
🧪 CI Test / test shard (2/4) (push) Has been cancelled
🧪 CI Test / test shard (3/4) (push) Has been cancelled
🧪 CI Test / test shard (4/4) (push) Has been cancelled
🧪 CI Test / test (push) Has been cancelled
🧪 CI Test / eslint (push) Has been cancelled
🧪 CI Test / typecheck (push) Has been cancelled
🔫 Sync to Pro / dispatch-sync (push) Has been cancelled
🔮 Sync Mirror / sync (push) Has been cancelled
Some checks failed
📦 Build / build (push) Has been cancelled
🧪 CI Test / test shard (1/4) (push) Has been cancelled
🧪 CI Test / test shard (2/4) (push) Has been cancelled
🧪 CI Test / test shard (3/4) (push) Has been cancelled
🧪 CI Test / test shard (4/4) (push) Has been cancelled
🧪 CI Test / test (push) Has been cancelled
🧪 CI Test / eslint (push) Has been cancelled
🧪 CI Test / typecheck (push) Has been cancelled
🔫 Sync to Pro / dispatch-sync (push) Has been cancelled
🔮 Sync Mirror / sync (push) Has been cancelled
This commit is contained in:
49
packages/sheets-formula/README.md
Normal file
49
packages/sheets-formula/README.md
Normal file
@@ -0,0 +1,49 @@
|
||||
# @univerjs/sheets-formula
|
||||
|
||||
[](https://npmjs.com/package/@univerjs/sheets-formula)
|
||||
[](https://npmjs.com/package/@univerjs/sheets-formula)
|
||||
[](https://npmjs.com/package/@univerjs/sheets-formula)
|
||||
|
||||
`@univerjs/sheets-formula` connects the formula engine to Univer Sheets, including formula data services, dependency handling, and sheet-aware calculation.
|
||||
|
||||
## Package Overview
|
||||
|
||||
| Package | UMD global | CSS | Locales | Facade entry |
|
||||
| --- | --- | :---: | :---: | :---: |
|
||||
| `@univerjs/sheets-formula` | `UniverSheetsFormula` | No | Yes | Yes |
|
||||
|
||||
## Installation
|
||||
|
||||
```sh
|
||||
pnpm add @univerjs/sheets-formula
|
||||
# or
|
||||
npm install @univerjs/sheets-formula
|
||||
```
|
||||
|
||||
Keep all `@univerjs/*` packages on the same version.
|
||||
|
||||
## Usage
|
||||
|
||||
```ts
|
||||
import EnUS from '@univerjs/sheets-formula/locale/en-US';
|
||||
import { UniverSheetsFormulaPlugin } from '@univerjs/sheets-formula';
|
||||
|
||||
univer.registerPlugin(UniverSheetsFormulaPlugin);
|
||||
|
||||
// Merge EnUS into your Univer locale map when this package contributes UI text.
|
||||
```
|
||||
|
||||
Exported plugin classes:
|
||||
|
||||
- `UniverSheetsFormulaPlugin`
|
||||
- `UniverRemoteSheetsFormulaPlugin`
|
||||
|
||||
## Integration Notes
|
||||
|
||||
Register this package with `@univerjs/engine-formula` and `@univerjs/sheets` before adding formula UI packages.
|
||||
|
||||
## Resources
|
||||
|
||||
- [Documentation](https://docs.univer.ai)
|
||||
- [NPM package](https://npmjs.com/package/@univerjs/sheets-formula)
|
||||
- [GitHub repository](https://github.com/dream-num/univer)
|
||||
Reference in New Issue
Block a user