@univerjs/core 0.1.1 → 0.1.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 +22 -2
- package/lib/cjs/index.js +6 -6
- package/lib/es/index.js +379 -283
- package/lib/types/docs/data-model/__tests__/replacement.spec.d.ts +16 -0
- package/lib/types/docs/data-model/replacement.d.ts +17 -0
- package/lib/types/docs/data-model/text-x/text-x.d.ts +3 -3
- package/lib/types/index.d.ts +4 -0
- package/lib/types/services/context/context.d.ts +1 -0
- package/lib/types/shared/debounce.d.ts +18 -0
- package/lib/types/shared/generate.d.ts +1 -1
- package/lib/types/shared/index.d.ts +1 -0
- package/lib/types/sheets/__tests__/worksheet.spec.d.ts +16 -0
- package/lib/types/sheets/worksheet.d.ts +22 -0
- package/lib/types/types/interfaces/i-document-data.d.ts +1 -1
- package/lib/umd/index.js +6 -6
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -5,12 +5,32 @@
|
|
|
5
5
|
|
|
6
6
|
## Introduction
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
`@univerjs/core` as its name shows, is the core package of Univer, and provides foundational capabilities including:
|
|
9
|
+
|
|
10
|
+
* Provision of the Univer type, which serves as the entry point for applications and a mounting point for other plugins, as well as the UniverDoc and UniverSheet types for managing different document types
|
|
11
|
+
* Basic models for each document type
|
|
12
|
+
* Definition or implementation of several fundamental services, such as:
|
|
13
|
+
* Permission control
|
|
14
|
+
* Command system
|
|
15
|
+
* Undo/Redo
|
|
16
|
+
* Configuration system
|
|
17
|
+
* Logging system
|
|
18
|
+
* Context system
|
|
19
|
+
* Lifecycle
|
|
20
|
+
* Local storage
|
|
21
|
+
* Internationalization
|
|
22
|
+
* Resource management
|
|
23
|
+
|
|
24
|
+
For more information about `@univerjs/core`'s API, please refer to the API documentation.
|
|
9
25
|
|
|
10
26
|
## Usage
|
|
11
27
|
|
|
12
28
|
### Installation
|
|
13
29
|
|
|
14
30
|
```shell
|
|
15
|
-
|
|
31
|
+
# Using npm
|
|
32
|
+
npm install @univerjs/core
|
|
33
|
+
|
|
34
|
+
# Using pnpm
|
|
35
|
+
pnpm add @univerjs/core
|
|
16
36
|
```
|