@univer-cli/headless-univer 1.0.0-beta.2
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 +55 -0
- package/README.zh-CN.md +60 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +63 -0
- package/dist/index.mjs +1 -0
- package/package.json +76 -0
package/README.md
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# @univer-cli/headless-univer
|
|
2
|
+
|
|
3
|
+
English | [简体中文](./README.zh-CN.md)
|
|
4
|
+
|
|
5
|
+
Provides a standard headless Univer factory for Node.js that can be used directly in production compositions.
|
|
6
|
+
|
|
7
|
+
The factory registers Sheet, Doc, Slide, Base, and Board content plugins; Facade extensions; locale, formula, and network dependencies; and returns an exclusive `Univer` instance with no target Unit loaded.
|
|
8
|
+
|
|
9
|
+
## Installation
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
pnpm add @univer-cli/headless-univer
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Requires Node.js 22.12 or higher. The caller must also satisfy the Univer / Univer Pro peer and runtime dependencies declared in the package manifest.
|
|
16
|
+
|
|
17
|
+
## Quick Start
|
|
18
|
+
|
|
19
|
+
The most common usage is to inject a standard factory into the Collaboration Runtime:
|
|
20
|
+
|
|
21
|
+
```ts
|
|
22
|
+
import { createStandardHeadlessUniverFactory } from "@univer-cli/headless-univer";
|
|
23
|
+
import {
|
|
24
|
+
createUniverCollaborationRuntimeFactory,
|
|
25
|
+
type CollaborationRuntimeBackend,
|
|
26
|
+
} from "@univer-cli/univer-collaboration-runtime";
|
|
27
|
+
|
|
28
|
+
export function createRuntimeFactory(backend: CollaborationRuntimeBackend) {
|
|
29
|
+
return createUniverCollaborationRuntimeFactory({
|
|
30
|
+
backend,
|
|
31
|
+
createUniver: createStandardHeadlessUniverFactory({
|
|
32
|
+
license: process.env.UNIVER_LICENSE ?? "",
|
|
33
|
+
}),
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
The returned factory also works with any custom runtime that accepts the same Univer factory shape; this package does not depend on Collaboration Runtime.
|
|
39
|
+
|
|
40
|
+
## Factory behavior
|
|
41
|
+
|
|
42
|
+
The standard composition:
|
|
43
|
+
|
|
44
|
+
- Registers standard content and Pro plugins for Sheet, Doc, Slide, Base, and Board.
|
|
45
|
+
- Registers the corresponding Facade extensions.
|
|
46
|
+
- Uses a fixed locale and the Rust formula engine.
|
|
47
|
+
- Sets initial formula calculation to `NO_CALCULATION`.
|
|
48
|
+
- Accepts optional `embedPluginConfig`.
|
|
49
|
+
- Creates `FUniver` on the same dependency graph through `createStandardHeadlessUniverFacade(univer)`.
|
|
50
|
+
|
|
51
|
+
Each factory call returns a new exclusive Univer instance. Its lifecycle owner must dispose of it after use.
|
|
52
|
+
|
|
53
|
+
## Responsibility boundaries
|
|
54
|
+
|
|
55
|
+
The package is responsible only for standard Univer composition. It does not load Snapshot or UnitData, capture mutations, or manage revisions, OT, commits, worker pools, daemons, authentication, or server transport. Applications that need a different plugin combination can implement their own `HeadlessUniverFactory` without forking this package.
|
package/README.zh-CN.md
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# @univer-cli/headless-univer
|
|
2
|
+
|
|
3
|
+
[English](./README.md) | 简体中文
|
|
4
|
+
|
|
5
|
+
为 Node.js 提供一套可直接用于生产组合的标准 headless Univer factory。
|
|
6
|
+
|
|
7
|
+
Factory 集中注册 Sheet、Doc、Slide、Base 和 Board 的内容插件、Facade extensions、locale、formula 与 network
|
|
8
|
+
依赖,并返回尚未加载目标 Unit 的独占 `Univer` instance。
|
|
9
|
+
|
|
10
|
+
## 安装
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
pnpm add @univer-cli/headless-univer
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
要求 Node.js 22.12 或更高版本。调用方还需要满足 package manifest 中的 Univer / Univer Pro peer 与 runtime
|
|
17
|
+
dependencies。
|
|
18
|
+
|
|
19
|
+
## 快速开始
|
|
20
|
+
|
|
21
|
+
最常见的用法是把标准 factory 注入 Collaboration Runtime:
|
|
22
|
+
|
|
23
|
+
```ts
|
|
24
|
+
import { createStandardHeadlessUniverFactory } from "@univer-cli/headless-univer";
|
|
25
|
+
import {
|
|
26
|
+
createUniverCollaborationRuntimeFactory,
|
|
27
|
+
type CollaborationRuntimeBackend,
|
|
28
|
+
} from "@univer-cli/univer-collaboration-runtime";
|
|
29
|
+
|
|
30
|
+
export function createRuntimeFactory(backend: CollaborationRuntimeBackend) {
|
|
31
|
+
return createUniverCollaborationRuntimeFactory({
|
|
32
|
+
backend,
|
|
33
|
+
createUniver: createStandardHeadlessUniverFactory({
|
|
34
|
+
license: process.env.UNIVER_LICENSE ?? "",
|
|
35
|
+
}),
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
返回的 factory 也可以用于任何接受同类 Univer factory 的自定义 runtime;本 package 不依赖 Collaboration
|
|
41
|
+
Runtime。
|
|
42
|
+
|
|
43
|
+
## Factory 行为
|
|
44
|
+
|
|
45
|
+
标准 composition:
|
|
46
|
+
|
|
47
|
+
- 注册 Sheet、Doc、Slide、Base 和 Board 的标准内容与 Pro plugins;
|
|
48
|
+
- 注册这些 Unit 对应的 Facade extensions;
|
|
49
|
+
- 使用固定 locale 与 Rust formula engine;
|
|
50
|
+
- 将 initial formula computing 设为 `NO_CALCULATION`;
|
|
51
|
+
- 接收可选的 `embedPluginConfig`;
|
|
52
|
+
- 通过 `createStandardHeadlessUniverFacade(univer)` 创建同一 dependency graph 上的 `FUniver`。
|
|
53
|
+
|
|
54
|
+
每次 factory 调用都返回新的独占 Univer。Lifecycle owner 必须在使用结束后正确 dispose。
|
|
55
|
+
|
|
56
|
+
## 职责边界
|
|
57
|
+
|
|
58
|
+
Package 只负责标准 Univer composition,不加载 Snapshot 或 UnitData,不捕获 mutation,也不管理 revision、OT、
|
|
59
|
+
commit、worker pool、daemon、认证或 server transport。需要不同插件组合时,application 可以实现自己的
|
|
60
|
+
`HeadlessUniverFactory`,无需 fork 本 package。
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';module['exports']=require('./index.mjs');
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { UniverEmbedPlugin } from "@univerjs-pro/embed";
|
|
2
|
+
import { Univer, UniverInstanceType } from "@univerjs/core";
|
|
3
|
+
import { FUniver } from "@univerjs/core/facade";
|
|
4
|
+
import "@univerjs/docs/facade";
|
|
5
|
+
import "@univerjs/docs-drawing/facade";
|
|
6
|
+
import "@univerjs-pro/boards/facade";
|
|
7
|
+
import "@univerjs-pro/boards-chart/facade";
|
|
8
|
+
import "@univerjs-pro/boards-mind/facade";
|
|
9
|
+
import "@univerjs-pro/boards-table/facade";
|
|
10
|
+
import "@univerjs-pro/docs-latex/facade";
|
|
11
|
+
import "@univerjs-pro/ink/facade";
|
|
12
|
+
import "@univerjs-pro/docs-callout/facade";
|
|
13
|
+
import "@univerjs-pro/docs-chart/facade";
|
|
14
|
+
import "@univerjs-pro/docs-code/facade";
|
|
15
|
+
import "@univerjs-pro/docs-column/facade";
|
|
16
|
+
import "@univerjs-pro/docs-list/facade";
|
|
17
|
+
import "@univerjs-pro/docs-quote/facade";
|
|
18
|
+
import "@univerjs-pro/docs-shape/facade";
|
|
19
|
+
import "@univerjs-pro/docs-table/facade";
|
|
20
|
+
import "@univerjs-pro/embed/facade";
|
|
21
|
+
import "@univerjs-pro/engine-chart/facade";
|
|
22
|
+
import "@univerjs-pro/engine-formula/facade";
|
|
23
|
+
import "@univerjs-pro/engine-shape/facade";
|
|
24
|
+
import "@univerjs/engine-formula/facade";
|
|
25
|
+
import "@univerjs/network/facade";
|
|
26
|
+
import "@univerjs/sheets/facade";
|
|
27
|
+
import "@univerjs/sheets-conditional-formatting/facade";
|
|
28
|
+
import "@univerjs/sheets-data-validation/facade";
|
|
29
|
+
import "@univerjs/sheets-drawing/facade";
|
|
30
|
+
import "@univerjs/sheets-filter/facade";
|
|
31
|
+
import "@univerjs/sheets-formula/facade";
|
|
32
|
+
import "@univerjs/sheets-hyper-link/facade";
|
|
33
|
+
import "@univerjs/sheets-note/facade";
|
|
34
|
+
import "@univerjs/sheets-numfmt/facade";
|
|
35
|
+
import "@univerjs/sheets-sort/facade";
|
|
36
|
+
import "@univerjs/sheets-table/facade";
|
|
37
|
+
import "@univerjs/sheets-thread-comment/facade";
|
|
38
|
+
import "@univerjs-pro/bases/facade";
|
|
39
|
+
import "@univerjs-pro/range-preprocess/facade";
|
|
40
|
+
import "@univerjs-pro/shape-editor/facade";
|
|
41
|
+
import "@univerjs-pro/slides/facade";
|
|
42
|
+
import "@univerjs-pro/sheets-chart/facade";
|
|
43
|
+
import "@univerjs-pro/sheets-outline/facade";
|
|
44
|
+
import "@univerjs-pro/sheets-pivot/facade";
|
|
45
|
+
import "@univerjs-pro/sheets-shape/facade";
|
|
46
|
+
import "@univerjs-pro/sheets-sparkline/facade";
|
|
47
|
+
import "@univerjs-pro/slides-chart/facade";
|
|
48
|
+
import "@univerjs-pro/slides-table/facade";
|
|
49
|
+
//#region src/index.d.ts
|
|
50
|
+
interface HeadlessUniverFactoryContext {
|
|
51
|
+
readonly unitId: string;
|
|
52
|
+
readonly unitType: UniverInstanceType;
|
|
53
|
+
}
|
|
54
|
+
interface StandardHeadlessUniverFactoryOptions {
|
|
55
|
+
readonly license: string;
|
|
56
|
+
readonly embedPluginConfig?: ConstructorParameters<typeof UniverEmbedPlugin>[0];
|
|
57
|
+
}
|
|
58
|
+
type HeadlessUniverFactory = (context: HeadlessUniverFactoryContext) => Promise<Univer>;
|
|
59
|
+
/** Create a Facade API from the same Univer dependency graph as the standard headless runtime. */
|
|
60
|
+
declare function createStandardHeadlessUniverFacade(univer: Univer): FUniver;
|
|
61
|
+
declare function createStandardHeadlessUniverFactory(options: StandardHeadlessUniverFactoryOptions): HeadlessUniverFactory;
|
|
62
|
+
//#endregion
|
|
63
|
+
export { HeadlessUniverFactory, HeadlessUniverFactoryContext, StandardHeadlessUniverFactoryOptions, createStandardHeadlessUniverFacade, createStandardHeadlessUniverFactory };
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(_0x274d94,_0x5924d2){const _0x111875=_0x45cc,_0x121b85=_0x274d94();while(!![]){try{const _0x58ec46=parseInt(_0x111875(0x174))/0x1+-parseInt(_0x111875(0x16d))/0x2+parseInt(_0x111875(0x16e))/0x3*(-parseInt(_0x111875(0x177))/0x4)+-parseInt(_0x111875(0x16c))/0x5+-parseInt(_0x111875(0x171))/0x6+-parseInt(_0x111875(0x175))/0x7+parseInt(_0x111875(0x16b))/0x8;if(_0x58ec46===_0x5924d2)break;else _0x121b85['push'](_0x121b85['shift']());}catch(_0x3354f3){_0x121b85['push'](_0x121b85['shift']());}}}(_0x1b68,0x5d732));import{UniverBasesPlugin as _0x2f5501}from'@univerjs-pro/bases';import _0x27d8a3 from'@univerjs-pro/bases/locale/en-US';import{UniverBoardsPlugin as _0x554584}from'@univerjs-pro/boards';import{UniverBoardsChartPlugin as _0x3e0b7b}from'@univerjs-pro/boards-chart';import{UniverBoardsMindPlugin as _0x28a955}from'@univerjs-pro/boards-mind';import{UniverBoardsTablePlugin as _0x4208a5}from'@univerjs-pro/boards-table';import{UniverDocsCalloutPlugin as _0x548ea8}from'@univerjs-pro/docs-callout';import{UniverDocsChartPlugin as _0x54b674}from'@univerjs-pro/docs-chart';import{UniverDocsCodePlugin as _0x57ff39}from'@univerjs-pro/docs-code';import{UniverDocsColumnPlugin as _0x1ad46c}from'@univerjs-pro/docs-column';import{UniverDocsLatexPlugin as _0x1bc664}from'@univerjs-pro/docs-latex';import{UniverDocsListPlugin as _0x3c5dd9}from'@univerjs-pro/docs-list';import{UniverDocsQuotePlugin as _0x3fe02d}from'@univerjs-pro/docs-quote';import{UniverDocsShapePlugin as _0x3f3bbf}from'@univerjs-pro/docs-shape';import{UniverDocsTablePlugin as _0x369129}from'@univerjs-pro/docs-table';import{UniverEmbedPlugin as _0x2c8081}from'@univerjs-pro/embed';import{UniverRustFormulaEnginePlugin as _0x5f416d}from'@univerjs-pro/engine-formula-rust';import{UniverInkPlugin as _0x2db7b0}from'@univerjs-pro/ink';import{UniverLicensePlugin as _0x410cab}from'@univerjs-pro/license';import{UniverRangePreprocessPlugin as _0xcb3301}from'@univerjs-pro/range-preprocess';import{UniverShapeEditorPlugin as _0x3fd261}from'@univerjs-pro/shape-editor';import{UniverSheetsChartPlugin as _0x19cf0f}from'@univerjs-pro/sheets-chart';import _0x21ed8e from'@univerjs-pro/sheets-chart/locale/en-US';import{UniverSheetsOutlinePlugin as _0x447995}from'@univerjs-pro/sheets-outline';import{UniverSheetsPivotTablePlugin as _0x4dd9dd}from'@univerjs-pro/sheets-pivot';import _0x18866c from'@univerjs-pro/sheets-pivot/locale/en-US';import{UniverSheetsShapePlugin as _0x56d0e9}from'@univerjs-pro/sheets-shape';import{UniverSheetSparklinePlugin as _0x55446e}from'@univerjs-pro/sheets-sparkline';import{UniverSlidesPlugin as _0x3e0b3d}from'@univerjs-pro/slides';import{UniverSlidesChartPlugin as _0x1c4af9}from'@univerjs-pro/slides-chart';import{UniverSlidesTablePlugin as _0x35c128}from'@univerjs-pro/slides-table';import{LocaleType as _0x1a5bce,Univer as _0x4d442d,mergeLocales as _0x21686b}from'@univerjs/core';import{FUniver as _0x408faf}from'@univerjs/core/facade';function _0x45cc(_0x39c46d,_0x32f54c){_0x39c46d=_0x39c46d-0x16a;const _0x1b6816=_0x1b68();let _0x45cc8c=_0x1b6816[_0x39c46d];return _0x45cc8c;}import{UniverDataValidationPlugin as _0x2776ee}from'@univerjs/data-validation';import _0x5ba48a from'@univerjs/data-validation/locale/en-US';import{UniverDocsPlugin as _0x44d77b}from'@univerjs/docs';import{UniverDocsDrawingPlugin as _0x3e1532}from'@univerjs/docs-drawing';import{UniverDocsHyperLinkPlugin as _0x35fd84}from'@univerjs/docs-hyper-link';import{UniverDrawingPlugin as _0x1d2bc9}from'@univerjs/drawing';import{UniverRenderEnginePlugin as _0x5d0610}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x3523db}from'@univerjs/network';import{UniverSheetsPlugin as _0x23039f}from'@univerjs/sheets';import _0x58644c from'@univerjs/sheets/locale/en-US';import{UniverSheetsConditionalFormattingPlugin as _0x5d4cb3}from'@univerjs/sheets-conditional-formatting';import _0x3fd11e from'@univerjs/sheets-conditional-formatting/locale/en-US';import{UniverSheetsDataValidationPlugin as _0x160ffb}from'@univerjs/sheets-data-validation';import _0x2f9adb from'@univerjs/sheets-data-validation/locale/en-US';import{UniverSheetsDrawingPlugin as _0x19b74c}from'@univerjs/sheets-drawing';function _0x1b68(){const _0x3da425=['NO_CALCULATION','3291810yxTRrk','embedPluginConfig','dispose','483917oXWTus','3000550hPDIcs','EN_US','555620rhpKDk','license','20164040cjApch','3514795CPNkpc','1049386jRkvgr','9knYRuz','registerPlugin'];_0x1b68=function(){return _0x3da425;};return _0x1b68();}import{UniverSheetsFilterPlugin as _0x5086db}from'@univerjs/sheets-filter';import _0x44ce41 from'@univerjs/sheets-filter/locale/en-US';import{CalculationMode as _0x3e5561,UniverSheetsFormulaPlugin as _0x5662c5}from'@univerjs/sheets-formula';import _0x13865e from'@univerjs/sheets-formula/locale/en-US';import{UniverSheetsHyperLinkPlugin as _0x176b7a}from'@univerjs/sheets-hyper-link';import _0x9d6252 from'@univerjs/sheets-hyper-link/locale/en-US';import{UniverSheetsNotePlugin as _0x5446dd}from'@univerjs/sheets-note';import{UniverSheetsNumfmtPlugin as _0x28fb30}from'@univerjs/sheets-numfmt';import{UniverSheetsSortPlugin as _0x44a4be}from'@univerjs/sheets-sort';import{UniverSheetsTablePlugin as _0x660c34}from'@univerjs/sheets-table';import _0x26433a from'@univerjs/sheets-table/locale/en-US';import{UniverSheetsThreadCommentPlugin as _0x3649eb}from'@univerjs/sheets-thread-comment';import{UniverThreadCommentPlugin as _0x3b7280}from'@univerjs/thread-comment';import'@univerjs/docs/facade';import'@univerjs/docs-drawing/facade';import'@univerjs-pro/boards/facade';import'@univerjs-pro/boards-chart/facade';import'@univerjs-pro/boards-mind/facade';import'@univerjs-pro/boards-table/facade';import'@univerjs-pro/docs-latex/facade';import'@univerjs-pro/ink/facade';import'@univerjs-pro/docs-callout/facade';import'@univerjs-pro/docs-chart/facade';import'@univerjs-pro/docs-code/facade';import'@univerjs-pro/docs-column/facade';import'@univerjs-pro/docs-list/facade';import'@univerjs-pro/docs-quote/facade';import'@univerjs-pro/docs-shape/facade';import'@univerjs-pro/docs-table/facade';import'@univerjs-pro/embed/facade';import'@univerjs-pro/engine-chart/facade';import'@univerjs-pro/engine-formula/facade';import'@univerjs-pro/engine-shape/facade';import'@univerjs/engine-formula/facade';import'@univerjs/network/facade';import'@univerjs/sheets/facade';import'@univerjs/sheets-conditional-formatting/facade';import'@univerjs/sheets-data-validation/facade';import'@univerjs/sheets-drawing/facade';import'@univerjs/sheets-filter/facade';import'@univerjs/sheets-formula/facade';import'@univerjs/sheets-hyper-link/facade';import'@univerjs/sheets-note/facade';import'@univerjs/sheets-numfmt/facade';import'@univerjs/sheets-sort/facade';import'@univerjs/sheets-table/facade';import'@univerjs/sheets-thread-comment/facade';import'@univerjs-pro/bases/facade';import'@univerjs-pro/range-preprocess/facade';import'@univerjs-pro/shape-editor/facade';import'@univerjs-pro/slides/facade';import'@univerjs-pro/sheets-chart/facade';import'@univerjs-pro/sheets-outline/facade';import'@univerjs-pro/sheets-pivot/facade';import'@univerjs-pro/sheets-shape/facade';import'@univerjs-pro/sheets-sparkline/facade';import'@univerjs-pro/slides-chart/facade';import'@univerjs-pro/slides-table/facade';function ue(_0x3f676b){return _0x408faf['newAPI'](_0x3f676b);}function de(_0x2528af){return async()=>{const _0x5bf027=_0x45cc;let _0xe7d181=new _0x4d442d({'locale':_0x1a5bce[_0x5bf027(0x176)],'locales':fe()});try{return _0xe7d181['registerPlugin'](_0x410cab,{'license':_0x2528af[_0x5bf027(0x16a)]}),pe(_0xe7d181,_0x2528af),_0xe7d181;}catch(_0x1c7cd5){throw _0xe7d181[_0x5bf027(0x173)](),_0x1c7cd5;}};}function fe(){let _0x5bc73a=_0x21686b(_0x58644c,_0x27d8a3,_0x13865e,_0x5ba48a,_0x3fd11e,_0x2f9adb,_0x44ce41,_0x9d6252,_0x26433a,_0x21ed8e,_0x18866c);return{[_0x1a5bce['EN_US']]:_0x5bc73a};}function pe(_0x1d28c7,_0x470f1a){const _0x225b9d=_0x45cc;_0x1d28c7[_0x225b9d(0x16f)](_0x5d0610),_0x1d28c7[_0x225b9d(0x16f)](_0x1d2bc9),_0x1d28c7[_0x225b9d(0x16f)](_0x44d77b),_0x1d28c7[_0x225b9d(0x16f)](_0x1bc664),_0x1d28c7[_0x225b9d(0x16f)](_0x554584),_0x1d28c7[_0x225b9d(0x16f)](_0x3e0b7b),_0x1d28c7['registerPlugin'](_0x2db7b0),_0x1d28c7[_0x225b9d(0x16f)](_0x28a955),_0x1d28c7[_0x225b9d(0x16f)](_0x4208a5),_0x1d28c7[_0x225b9d(0x16f)](_0x3e1532),_0x1d28c7[_0x225b9d(0x16f)](_0x35fd84),_0x1d28c7['registerPlugin'](_0x548ea8),_0x1d28c7[_0x225b9d(0x16f)](_0x54b674),_0x1d28c7[_0x225b9d(0x16f)](_0x57ff39),_0x1d28c7[_0x225b9d(0x16f)](_0x1ad46c),_0x1d28c7[_0x225b9d(0x16f)](_0x3c5dd9),_0x1d28c7[_0x225b9d(0x16f)](_0x3fe02d),_0x1d28c7[_0x225b9d(0x16f)](_0x3f3bbf),_0x1d28c7[_0x225b9d(0x16f)](_0x369129),_0x1d28c7[_0x225b9d(0x16f)](_0x2c8081,_0x470f1a[_0x225b9d(0x172)]),_0x1d28c7[_0x225b9d(0x16f)](_0x23039f),_0x1d28c7['registerPlugin'](_0x5f416d),_0x1d28c7['registerPlugin'](_0x3fd261),_0x1d28c7['registerPlugin'](_0x5662c5,{'initialFormulaComputing':_0x3e5561[_0x225b9d(0x170)]}),_0x1d28c7[_0x225b9d(0x16f)](_0x3523db),_0x1d28c7[_0x225b9d(0x16f)](_0x2f5501),_0x1d28c7[_0x225b9d(0x16f)](_0x3e0b3d),_0x1d28c7[_0x225b9d(0x16f)](_0x1c4af9),_0x1d28c7['registerPlugin'](_0x35c128),_0x1d28c7[_0x225b9d(0x16f)](_0x28fb30),_0x1d28c7[_0x225b9d(0x16f)](_0x5d4cb3),_0x1d28c7[_0x225b9d(0x16f)](_0x5086db),_0x1d28c7['registerPlugin'](_0x44a4be),_0x1d28c7[_0x225b9d(0x16f)](_0x660c34),_0x1d28c7[_0x225b9d(0x16f)](_0x19b74c),_0x1d28c7[_0x225b9d(0x16f)](_0x19cf0f),_0x1d28c7[_0x225b9d(0x16f)](_0x447995),_0x1d28c7[_0x225b9d(0x16f)](_0x4dd9dd),_0x1d28c7[_0x225b9d(0x16f)](_0x56d0e9),_0x1d28c7[_0x225b9d(0x16f)](_0x55446e),_0x1d28c7[_0x225b9d(0x16f)](_0x2776ee),_0x1d28c7[_0x225b9d(0x16f)](_0x160ffb),_0x1d28c7[_0x225b9d(0x16f)](_0x176b7a),_0x1d28c7[_0x225b9d(0x16f)](_0x5446dd),_0x1d28c7[_0x225b9d(0x16f)](_0x3b7280),_0x1d28c7[_0x225b9d(0x16f)](_0x3649eb),_0x1d28c7[_0x225b9d(0x16f)](_0xcb3301);}export{ue as createStandardHeadlessUniverFacade,de as createStandardHeadlessUniverFactory};
|
package/package.json
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@univer-cli/headless-univer",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "1.0.0-beta.2",
|
|
5
|
+
"main": "./dist/index.cjs",
|
|
6
|
+
"module": "./dist/index.mjs",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.mjs",
|
|
12
|
+
"require": "./dist/index.cjs"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist",
|
|
17
|
+
"README.md",
|
|
18
|
+
"README.zh-CN.md"
|
|
19
|
+
],
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"@univerjs-pro/bases": "1.0.0-beta.2",
|
|
22
|
+
"@univerjs-pro/boards": "1.0.0-beta.2",
|
|
23
|
+
"@univerjs-pro/boards-chart": "1.0.0-beta.2",
|
|
24
|
+
"@univerjs-pro/boards-mind": "1.0.0-beta.2",
|
|
25
|
+
"@univerjs-pro/boards-table": "1.0.0-beta.2",
|
|
26
|
+
"@univerjs-pro/docs-callout": "1.0.0-beta.2",
|
|
27
|
+
"@univerjs-pro/docs-chart": "1.0.0-beta.2",
|
|
28
|
+
"@univerjs-pro/docs-code": "1.0.0-beta.2",
|
|
29
|
+
"@univerjs-pro/docs-column": "1.0.0-beta.2",
|
|
30
|
+
"@univerjs-pro/docs-latex": "1.0.0-beta.2",
|
|
31
|
+
"@univerjs-pro/docs-list": "1.0.0-beta.2",
|
|
32
|
+
"@univerjs-pro/docs-quote": "1.0.0-beta.2",
|
|
33
|
+
"@univerjs-pro/docs-shape": "1.0.0-beta.2",
|
|
34
|
+
"@univerjs-pro/docs-table": "1.0.0-beta.2",
|
|
35
|
+
"@univerjs-pro/embed": "1.0.0-beta.2",
|
|
36
|
+
"@univerjs-pro/engine-chart": "1.0.0-beta.2",
|
|
37
|
+
"@univerjs-pro/engine-formula": "1.0.0-beta.2",
|
|
38
|
+
"@univerjs-pro/engine-formula-rust": "1.0.0-beta.2",
|
|
39
|
+
"@univerjs-pro/engine-pivot": "1.0.0-beta.2",
|
|
40
|
+
"@univerjs-pro/engine-shape": "1.0.0-beta.2",
|
|
41
|
+
"@univerjs-pro/ink": "1.0.0-beta.2",
|
|
42
|
+
"@univerjs-pro/license": "1.0.0-beta.2",
|
|
43
|
+
"@univerjs-pro/range-preprocess": "1.0.0-beta.2",
|
|
44
|
+
"@univerjs-pro/shape-editor": "1.0.0-beta.2",
|
|
45
|
+
"@univerjs-pro/sheets-chart": "1.0.0-beta.2",
|
|
46
|
+
"@univerjs-pro/sheets-outline": "1.0.0-beta.2",
|
|
47
|
+
"@univerjs-pro/sheets-pivot": "1.0.0-beta.2",
|
|
48
|
+
"@univerjs-pro/sheets-shape": "1.0.0-beta.2",
|
|
49
|
+
"@univerjs-pro/sheets-sparkline": "1.0.0-beta.2",
|
|
50
|
+
"@univerjs-pro/slides": "1.0.0-beta.2",
|
|
51
|
+
"@univerjs-pro/slides-chart": "1.0.0-beta.2",
|
|
52
|
+
"@univerjs-pro/slides-table": "1.0.0-beta.2",
|
|
53
|
+
"@univerjs/core": "1.0.0-beta.2",
|
|
54
|
+
"@univerjs/data-validation": "1.0.0-beta.2",
|
|
55
|
+
"@univerjs/docs": "1.0.0-beta.2",
|
|
56
|
+
"@univerjs/docs-drawing": "1.0.0-beta.2",
|
|
57
|
+
"@univerjs/docs-hyper-link": "1.0.0-beta.2",
|
|
58
|
+
"@univerjs/drawing": "1.0.0-beta.2",
|
|
59
|
+
"@univerjs/engine-formula": "1.0.0-beta.2",
|
|
60
|
+
"@univerjs/engine-render": "1.0.0-beta.2",
|
|
61
|
+
"@univerjs/network": "1.0.0-beta.2",
|
|
62
|
+
"@univerjs/sheets": "1.0.0-beta.2",
|
|
63
|
+
"@univerjs/sheets-conditional-formatting": "1.0.0-beta.2",
|
|
64
|
+
"@univerjs/sheets-data-validation": "1.0.0-beta.2",
|
|
65
|
+
"@univerjs/sheets-drawing": "1.0.0-beta.2",
|
|
66
|
+
"@univerjs/sheets-filter": "1.0.0-beta.2",
|
|
67
|
+
"@univerjs/sheets-formula": "1.0.0-beta.2",
|
|
68
|
+
"@univerjs/sheets-hyper-link": "1.0.0-beta.2",
|
|
69
|
+
"@univerjs/sheets-note": "1.0.0-beta.2",
|
|
70
|
+
"@univerjs/sheets-numfmt": "1.0.0-beta.2",
|
|
71
|
+
"@univerjs/sheets-sort": "1.0.0-beta.2",
|
|
72
|
+
"@univerjs/sheets-table": "1.0.0-beta.2",
|
|
73
|
+
"@univerjs/sheets-thread-comment": "1.0.0-beta.2",
|
|
74
|
+
"@univerjs/thread-comment": "1.0.0-beta.2"
|
|
75
|
+
}
|
|
76
|
+
}
|