Univer Office SDK

repository·dev·Indexed 12 days ago

https://github.com/dream-num/univer

A full-stack, isomorphic office SDK for building spreadsheet, document, and presentation experiences. It features a plugin-based architecture, a unified Facade API compatible with browsers and Node.js, and a core runtime providing dependency injection, command/mutation services, and data models. Version 1.0.0-beta.0.

Tokens
241.6K
Snippets
919
Records
1.2K
Agent score
95%

What's inside Univer

  1. What is Univer?

    dev

    Univer is an open-source, isomorphic SDK designed for building spreadsheet, document, and presentation experiences. It is a framework for building productivity surfaces rather than just a file viewer.

    Key capabilities include:

    • Embeddable UI: Integrate spreadsheet or document editing into SaaS products, BI workflows, or AI applications.
    • Isomorphic Execution: Run the same architecture in the browser for UI or in Node.js for headless server-side processing (e.g., for AI agents or automation).
    • Plugin Architecture: Compose, replace, or extend features using a plugin-first approach.
    • Unified API: Access workbooks, ranges, formulas, and documents through a consistent Facade API across different environments.
  2. Overview of @univerjs/docs-ui capabilities

    dev

    @univerjs/docs-ui provides the editor UI layer for Univer Docs. Its core responsibilities include:

    • Selection rendering
    • Clipboard support
    • Menus
    • Document interaction services
    FeatureDetail
    UMD globalUniverDocsUi
    CSSSupported
    LocalesSupported
    Facade entrySupported
  3. Overview of @univerjs/core

    dev

    The @univerjs/core package serves as the foundation of the Univer ecosystem. It provides the following essential services:

    • Univer Runtime: The central execution environment.
    • Dependency Injection: For managing service lifecycles and dependencies.
    • Command and Mutation Services: For handling state changes and operations.
    • Data Models: The underlying data structures for Univer.
    • Configuration and Localization: Global settings and language support.
    • Facade Entry Point: The shared interface used by higher-level packages to interact with the core.
  4. Overview of Univer SDK capabilities

    dev

    Univer is an open-source, isomorphic office SDK designed for building embeddable spreadsheet, document, and presentation experiences. It is compatible with both browsers and Node.js environments.

    Core Capabilities

    • Runtime & Infrastructure: Includes a plugin system, command and service infrastructure, a Facade API, a formula engine, and a Canvas rendering engine.
    • Office Models: Provides composable models and editing capabilities for Sheets, Docs, and Slides.
    • Shared Features: Includes shared drawing, commenting, data validation, formatting, and localization infrastructure.
    • Integration Paths: Supports Browser, Node.js, and Web Worker environments. It provides React-based UI components and adapters for Vue 3 and Web Components.
  5. Overview of @univerjs/action-recorder

    dev

    The @univerjs/action-recorder package allows you to record user actions within Univer. These recorded actions can be replayed for several purposes:

    • Debugging: Reproduce specific user behaviors to find bugs.
    • Demos: Show specific workflows in a controlled manner.
    • Automated Workflows: Reproduce sequences of actions for automation.
  6. Overview of @univerjs/engine-formula

    dev

    The @univerjs/engine-formula package serves as Univer's formula runtime. Its core responsibilities include:

    • Parsing formulas
    • Registering functions and descriptions
    • Managing formula dependencies
    • Calculating formula results
    • Exposing shared formula editor helpers
    PropertyValue
    UMD globalUniverEngineFormula
    CSSNo
    LocalesYes
    Facade entryYes