Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@univerjs/sheets
Advanced tools
Package Name | UMD Namespace | Version | License | Downloads | Contains CSS | Contains i18n locales |
---|---|---|---|---|---|---|
@univerjs/sheets | UniverSheets | ❌ | ⭕️ |
@univerjs/sheets
serves as the foundation for the core business logic of spreadsheets, with base-sheets designed to be UI-agnostic, allowing for functionality such as collaborative editing to be implemented in a Node.js environment.
@univerjs/sheets
provides the following capabilities for Univer Sheet:
# Using npm
npm install @univerjs/sheets
# Using pnpm
pnpm add @univerjs/sheets
SheetInterceptorService
SheetInterceptorService
is a more specialized service provided by @univerjs/sheets
that allows higher-level business to modify the results of operations such as obtaining cell data, retrieving row/column hiding information from a Worksheet, and supplementing mutations or operations at specific command executions. This service's primary goal is to enable specific functionalities, including:
For detailed usage, please refer to the API documentation.
SheetInterceptorService
and when not to?Use SheetInterceptorService
when multiple features need to operate on the same data or state, but do not have a clear dependency relationship. For example: pivot tables, formulas, conditional formatting, data validation, and raw cell data can all affect how other features retrieve a cell's value, but they do not depend on each other. In this case, using SheetInterceptorService
to implement these features is appropriate.
However, if one feature relies explicitly on another feature, such as a formula needing to perform certain actions when the fill down or copy-paste functions are called, the formula module should directly depend on the fill down and copy-paste modules, instead of using SheetInterceptorService
for implementation.
FAQs
UniverSheet normal base-sheets
The npm package @univerjs/sheets receives a total of 5 weekly downloads. As such, @univerjs/sheets popularity was classified as not popular.
We found that @univerjs/sheets demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.