@univerjs/core 0.1.2 → 0.1.4
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/lib/cjs/index.js +8 -5
- package/lib/es/index.js +2273 -1732
- package/lib/types/basics/univer-slide.d.ts +2 -2
- package/lib/types/basics/univer.d.ts +3 -3
- package/lib/types/common/__tests__/array.spec.d.ts +16 -0
- package/lib/types/common/array.d.ts +8 -0
- package/lib/types/common/interceptor.d.ts +1 -1
- package/lib/types/docs/data-model/empty-snapshot.d.ts +18 -0
- package/lib/types/index.d.ts +11 -2
- package/lib/types/services/command/command.service.d.ts +4 -4
- package/lib/types/services/context/context.d.ts +2 -1
- package/lib/types/services/instance/instance.service.d.ts +21 -21
- package/lib/types/services/locale/locale.service.d.ts +4 -2
- package/lib/types/services/log/context.d.ts +18 -0
- package/lib/types/services/snapshot/__tests__/snapshot-mock.d.ts +37 -0
- package/lib/types/services/snapshot/__tests__/snapshot-transform.spec.d.ts +16 -0
- package/lib/types/services/snapshot/snapshot-server.service.d.ts +57 -0
- package/lib/types/services/snapshot/snapshot-transform.d.ts +43 -0
- package/lib/types/services/snapshot/snapshot-utils.d.ts +34 -0
- package/lib/types/services/undoredo/undoredo.service.d.ts +20 -7
- package/lib/types/shared/__test__/rectangle.spec.d.ts +16 -0
- package/lib/types/shared/coder.d.ts +17 -0
- package/lib/types/shared/color/color-kit.d.ts +3 -1
- package/lib/types/shared/compare.d.ts +1 -0
- package/lib/types/shared/index.d.ts +1 -1
- package/lib/types/shared/locale.d.ts +2 -1
- package/lib/types/shared/object-matrix.d.ts +3 -0
- package/lib/types/shared/rxjs.d.ts +20 -0
- package/lib/types/shared/tools.d.ts +1 -1
- package/lib/types/sheets/__tests__/create-core-test-bed.d.ts +1 -2
- package/lib/types/sheets/row-manager.d.ts +0 -2
- package/lib/types/sheets/workbook.d.ts +1 -0
- package/lib/types/sheets/worksheet.d.ts +7 -9
- package/lib/types/slides/domain/slide-model.d.ts +3 -1
- package/lib/types/types/interfaces/i-cell-data.d.ts +6 -0
- package/lib/types/types/interfaces/i-column-data.d.ts +2 -2
- package/lib/types/types/interfaces/i-document-data.d.ts +3 -1
- package/lib/types/types/interfaces/i-range.d.ts +5 -0
- package/lib/types/types/interfaces/i-row-data.d.ts +2 -2
- package/lib/types/types/interfaces/i-selection-data.d.ts +6 -0
- package/lib/types/types/interfaces/i-slide-data.d.ts +2 -1
- package/lib/umd/index.js +8 -5
- package/package.json +12 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Core library for Univer.",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -17,7 +17,9 @@
|
|
|
17
17
|
"bugs": {
|
|
18
18
|
"url": "https://github.com/dream-num/univer/issues"
|
|
19
19
|
},
|
|
20
|
-
"keywords": [
|
|
20
|
+
"keywords": [
|
|
21
|
+
"univer"
|
|
22
|
+
],
|
|
21
23
|
"exports": {
|
|
22
24
|
".": {
|
|
23
25
|
"import": "./lib/es/index.js",
|
|
@@ -48,8 +50,9 @@
|
|
|
48
50
|
"npm": ">=8.0.0"
|
|
49
51
|
},
|
|
50
52
|
"peerDependencies": {
|
|
51
|
-
"@wendellhu/redi": "
|
|
52
|
-
"rxjs": ">=7.0.0"
|
|
53
|
+
"@wendellhu/redi": "0.13.0",
|
|
54
|
+
"rxjs": ">=7.0.0",
|
|
55
|
+
"@univerjs/protocol": "0.1.0"
|
|
53
56
|
},
|
|
54
57
|
"dependencies": {
|
|
55
58
|
"dayjs": "^1.11.10",
|
|
@@ -58,12 +61,13 @@
|
|
|
58
61
|
},
|
|
59
62
|
"devDependencies": {
|
|
60
63
|
"@types/numeral": "^2.0.5",
|
|
64
|
+
"@univerjs/protocol": "^0.1.0",
|
|
61
65
|
"@wendellhu/redi": "^0.13.0",
|
|
62
66
|
"rxjs": "^7.8.1",
|
|
63
|
-
"typescript": "^5.
|
|
64
|
-
"vite": "^5.1.
|
|
65
|
-
"vitest": "^1.
|
|
66
|
-
"@univerjs/shared": "0.1.
|
|
67
|
+
"typescript": "^5.4.2",
|
|
68
|
+
"vite": "^5.1.6",
|
|
69
|
+
"vitest": "^1.4.0",
|
|
70
|
+
"@univerjs/shared": "0.1.4"
|
|
67
71
|
},
|
|
68
72
|
"scripts": {
|
|
69
73
|
"test": "vitest run",
|