@univerjs/core 0.1.0-beta.3 → 0.1.0-beta.5
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 +4 -4
- package/lib/es/index.js +1876 -1715
- package/lib/types/basics/registry.d.ts +5 -5
- package/lib/types/docs/data-model/__tests__/common.spec.d.ts +16 -0
- package/lib/types/docs/data-model/{mutation-types.d.ts → action-types.d.ts} +8 -3
- package/lib/types/docs/data-model/document-data-model.d.ts +2 -2
- package/lib/types/docs/data-model/text-x/__tests__/action-iterator.spec.d.ts +16 -0
- package/lib/types/docs/data-model/text-x/__tests__/compose.spec.d.ts +16 -0
- package/lib/types/docs/data-model/text-x/__tests__/utils.spec.d.ts +16 -0
- package/lib/types/docs/data-model/text-x/action-iterator.d.ts +29 -0
- package/lib/types/docs/data-model/text-x/text-x.d.ts +2 -1
- package/lib/types/docs/data-model/text-x/utils.d.ts +21 -0
- package/lib/types/index.d.ts +5 -2
- package/lib/types/services/locale/__tests__/locale.service.spec.d.ts +16 -0
- package/lib/types/services/locale/locale.service.d.ts +26 -5
- package/lib/types/services/undoredo/undoredo.service.d.ts +16 -14
- package/lib/types/sheets/range.d.ts +1 -1
- package/lib/types/sheets/sheet-snapshot-utils.d.ts +36 -0
- package/lib/types/sheets/workbook.d.ts +16 -12
- package/lib/types/sheets/worksheet.d.ts +12 -26
- package/lib/types/types/const/const.d.ts +3 -13
- package/lib/types/types/interfaces/i-document-data.d.ts +5 -0
- package/lib/types/types/interfaces/i-style-data.d.ts +1 -1
- package/lib/types/types/interfaces/i-worksheet-data.d.ts +11 -21
- package/lib/umd/index.js +4 -4
- package/package.json +24 -16
package/package.json
CHANGED
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/core",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Core library for Univer.",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
|
-
"
|
|
8
|
+
"funding": {
|
|
9
|
+
"type": "opencollective",
|
|
10
|
+
"url": "https://opencollective.com/univer"
|
|
11
|
+
},
|
|
12
|
+
"homepage": "https://univer.ai",
|
|
9
13
|
"repository": {
|
|
10
14
|
"type": "git",
|
|
11
|
-
"url": "https://github.com/dream-num/univer
|
|
15
|
+
"url": "https://github.com/dream-num/univer"
|
|
16
|
+
},
|
|
17
|
+
"bugs": {
|
|
18
|
+
"url": "https://github.com/dream-num/univer/issues"
|
|
12
19
|
},
|
|
13
20
|
"keywords": [],
|
|
14
21
|
"exports": {
|
|
@@ -21,11 +28,18 @@
|
|
|
21
28
|
"import": "./lib/es/*",
|
|
22
29
|
"require": "./lib/cjs/*",
|
|
23
30
|
"types": "./lib/types/index.d.ts"
|
|
24
|
-
}
|
|
31
|
+
},
|
|
32
|
+
"./lib/*": "./lib/*"
|
|
25
33
|
},
|
|
26
34
|
"main": "./lib/cjs/index.js",
|
|
27
35
|
"module": "./lib/es/index.js",
|
|
28
36
|
"types": "./lib/types/index.d.ts",
|
|
37
|
+
"publishConfig": {
|
|
38
|
+
"access": "public"
|
|
39
|
+
},
|
|
40
|
+
"directories": {
|
|
41
|
+
"lib": "lib"
|
|
42
|
+
},
|
|
29
43
|
"files": [
|
|
30
44
|
"lib"
|
|
31
45
|
],
|
|
@@ -33,29 +47,23 @@
|
|
|
33
47
|
"node": ">=16.0.0",
|
|
34
48
|
"npm": ">=8.0.0"
|
|
35
49
|
},
|
|
36
|
-
"publishConfig": {
|
|
37
|
-
"access": "public"
|
|
38
|
-
},
|
|
39
|
-
"directories": {
|
|
40
|
-
"lib": "lib"
|
|
41
|
-
},
|
|
42
50
|
"peerDependencies": {
|
|
43
|
-
"@wendellhu/redi": "
|
|
51
|
+
"@wendellhu/redi": "^0.13.0",
|
|
44
52
|
"rxjs": ">=7.0.0"
|
|
45
53
|
},
|
|
46
54
|
"dependencies": {
|
|
47
55
|
"dayjs": "^1.11.10",
|
|
48
|
-
"nanoid": "5.0.
|
|
56
|
+
"nanoid": "5.0.6",
|
|
49
57
|
"numeral": "^2.0.6"
|
|
50
58
|
},
|
|
51
59
|
"devDependencies": {
|
|
52
60
|
"@types/numeral": "^2.0.5",
|
|
53
|
-
"@wendellhu/redi": "^0.
|
|
61
|
+
"@wendellhu/redi": "^0.13.0",
|
|
54
62
|
"rxjs": "^7.8.1",
|
|
55
63
|
"typescript": "^5.3.3",
|
|
56
|
-
"vite": "^5.
|
|
57
|
-
"vitest": "^1.
|
|
58
|
-
"@univerjs/shared": "0.1.0-beta.
|
|
64
|
+
"vite": "^5.1.4",
|
|
65
|
+
"vitest": "^1.3.1",
|
|
66
|
+
"@univerjs/shared": "0.1.0-beta.5"
|
|
59
67
|
},
|
|
60
68
|
"scripts": {
|
|
61
69
|
"test": "vitest run",
|