@univerjs/preset-docs-thread-comment 0.25.0 → 1.0.0-alpha.0
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 +3 -3
- package/lib/cjs/index.js +29 -1
- package/lib/cjs/locales/ar-SA.js +11 -1
- package/lib/cjs/locales/ca-ES.js +11 -1
- package/lib/cjs/locales/de-DE.js +11 -1
- package/lib/cjs/locales/en-US.js +11 -1
- package/lib/cjs/locales/es-ES.js +11 -1
- package/lib/cjs/locales/fa-IR.js +11 -1
- package/lib/cjs/locales/fr-FR.js +11 -1
- package/lib/cjs/locales/id-ID.js +11 -1
- package/lib/cjs/locales/it-IT.js +11 -1
- package/lib/cjs/locales/ja-JP.js +11 -1
- package/lib/cjs/locales/ko-KR.js +11 -1
- package/lib/cjs/locales/pl-PL.js +11 -1
- package/lib/cjs/locales/pt-BR.js +11 -1
- package/lib/cjs/locales/ru-RU.js +11 -1
- package/lib/cjs/locales/sk-SK.js +11 -1
- package/lib/cjs/locales/vi-VN.js +11 -1
- package/lib/cjs/locales/zh-CN.js +11 -1
- package/lib/cjs/locales/zh-HK.js +11 -1
- package/lib/cjs/locales/zh-TW.js +11 -1
- package/lib/cjs/rolldown-runtime-C_NdSu1c.js +34 -0
- package/lib/es/index.js +18 -12
- package/lib/es/locales/ar-SA.js +8 -10
- package/lib/es/locales/ca-ES.js +8 -10
- package/lib/es/locales/de-DE.js +8 -10
- package/lib/es/locales/en-US.js +8 -10
- package/lib/es/locales/es-ES.js +8 -10
- package/lib/es/locales/fa-IR.js +8 -10
- package/lib/es/locales/fr-FR.js +8 -10
- package/lib/es/locales/id-ID.js +8 -10
- package/lib/es/locales/it-IT.js +8 -10
- package/lib/es/locales/ja-JP.js +8 -10
- package/lib/es/locales/ko-KR.js +8 -10
- package/lib/es/locales/pl-PL.js +8 -10
- package/lib/es/locales/pt-BR.js +8 -10
- package/lib/es/locales/ru-RU.js +8 -10
- package/lib/es/locales/sk-SK.js +8 -10
- package/lib/es/locales/vi-VN.js +8 -10
- package/lib/es/locales/zh-CN.js +8 -10
- package/lib/es/locales/zh-HK.js +8 -10
- package/lib/es/locales/zh-TW.js +8 -10
- package/lib/index.css +358 -1
- package/lib/index.js +18 -12
- package/lib/locales/ar-SA.js +8 -10
- package/lib/locales/ca-ES.js +8 -10
- package/lib/locales/de-DE.js +8 -10
- package/lib/locales/en-US.js +8 -10
- package/lib/locales/es-ES.js +8 -10
- package/lib/locales/fa-IR.js +8 -10
- package/lib/locales/fr-FR.js +8 -10
- package/lib/locales/id-ID.js +8 -10
- package/lib/locales/it-IT.js +8 -10
- package/lib/locales/ja-JP.js +8 -10
- package/lib/locales/ko-KR.js +8 -10
- package/lib/locales/pl-PL.js +8 -10
- package/lib/locales/pt-BR.js +8 -10
- package/lib/locales/ru-RU.js +8 -10
- package/lib/locales/sk-SK.js +8 -10
- package/lib/locales/vi-VN.js +8 -10
- package/lib/locales/zh-CN.js +8 -10
- package/lib/locales/zh-HK.js +8 -10
- package/lib/locales/zh-TW.js +8 -10
- package/lib/types/index.d.ts +16 -1
- package/lib/types/locales/ar-SA.d.ts +39 -1
- package/lib/types/locales/ca-ES.d.ts +39 -1
- package/lib/types/locales/de-DE.d.ts +39 -1
- package/lib/types/locales/en-US.d.ts +39 -1
- package/lib/types/locales/es-ES.d.ts +39 -1
- package/lib/types/locales/fa-IR.d.ts +39 -1
- package/lib/types/locales/fr-FR.d.ts +39 -1
- package/lib/types/locales/id-ID.d.ts +39 -1
- package/lib/types/locales/it-IT.d.ts +39 -1
- package/lib/types/locales/ja-JP.d.ts +39 -1
- package/lib/types/locales/ko-KR.d.ts +39 -1
- package/lib/types/locales/pl-PL.d.ts +39 -1
- package/lib/types/locales/pt-BR.d.ts +39 -1
- package/lib/types/locales/ru-RU.d.ts +39 -1
- package/lib/types/locales/sk-SK.d.ts +39 -1
- package/lib/types/locales/vi-VN.d.ts +39 -1
- package/lib/types/locales/zh-CN.d.ts +39 -1
- package/lib/types/locales/zh-HK.d.ts +39 -1
- package/lib/types/locales/zh-TW.d.ts +39 -1
- package/lib/types/preset.d.ts +24 -0
- package/package.json +14 -16
- package/lib/types/types.d.ts +0 -11
- package/lib/types/umd.d.ts +0 -10
- package/lib/umd/index.js +0 -15
- package/lib/umd/locales/ar-SA.js +0 -8
- package/lib/umd/locales/ca-ES.js +0 -8
- package/lib/umd/locales/de-DE.js +0 -8
- package/lib/umd/locales/en-US.js +0 -8
- package/lib/umd/locales/es-ES.js +0 -8
- package/lib/umd/locales/fa-IR.js +0 -8
- package/lib/umd/locales/fr-FR.js +0 -8
- package/lib/umd/locales/id-ID.js +0 -8
- package/lib/umd/locales/it-IT.js +0 -8
- package/lib/umd/locales/ja-JP.js +0 -8
- package/lib/umd/locales/ko-KR.js +0 -8
- package/lib/umd/locales/pl-PL.js +0 -8
- package/lib/umd/locales/pt-BR.js +0 -8
- package/lib/umd/locales/ru-RU.js +0 -8
- package/lib/umd/locales/sk-SK.js +0 -8
- package/lib/umd/locales/vi-VN.js +0 -8
- package/lib/umd/locales/zh-CN.js +0 -8
- package/lib/umd/locales/zh-HK.js +0 -8
- package/lib/umd/locales/zh-TW.js +0 -8
|
@@ -1,4 +1,42 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
|
|
2
|
+
'docs-thread-comment-ui': {
|
|
3
|
+
panel: {
|
|
4
|
+
title: string;
|
|
5
|
+
addComment: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
} & {
|
|
9
|
+
'thread-comment-ui': {
|
|
10
|
+
panel: {
|
|
11
|
+
title: string;
|
|
12
|
+
empty: string;
|
|
13
|
+
filterEmpty: string;
|
|
14
|
+
reset: string;
|
|
15
|
+
addComment: string;
|
|
16
|
+
solved: string;
|
|
17
|
+
};
|
|
18
|
+
editor: {
|
|
19
|
+
placeholder: string;
|
|
20
|
+
reply: string;
|
|
21
|
+
cancel: string;
|
|
22
|
+
save: string;
|
|
23
|
+
};
|
|
24
|
+
item: {
|
|
25
|
+
edit: string;
|
|
26
|
+
delete: string;
|
|
27
|
+
};
|
|
28
|
+
filter: {
|
|
29
|
+
sheet: {
|
|
30
|
+
all: string;
|
|
31
|
+
current: string;
|
|
32
|
+
};
|
|
33
|
+
status: {
|
|
34
|
+
all: string;
|
|
35
|
+
resolved: string;
|
|
36
|
+
unsolved: string;
|
|
37
|
+
concernMe: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
3
41
|
};
|
|
4
42
|
export default _default;
|
|
@@ -1,4 +1,42 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
|
|
2
|
+
'docs-thread-comment-ui': {
|
|
3
|
+
panel: {
|
|
4
|
+
title: string;
|
|
5
|
+
addComment: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
} & {
|
|
9
|
+
'thread-comment-ui': {
|
|
10
|
+
panel: {
|
|
11
|
+
title: string;
|
|
12
|
+
empty: string;
|
|
13
|
+
filterEmpty: string;
|
|
14
|
+
reset: string;
|
|
15
|
+
addComment: string;
|
|
16
|
+
solved: string;
|
|
17
|
+
};
|
|
18
|
+
editor: {
|
|
19
|
+
placeholder: string;
|
|
20
|
+
reply: string;
|
|
21
|
+
cancel: string;
|
|
22
|
+
save: string;
|
|
23
|
+
};
|
|
24
|
+
item: {
|
|
25
|
+
edit: string;
|
|
26
|
+
delete: string;
|
|
27
|
+
};
|
|
28
|
+
filter: {
|
|
29
|
+
sheet: {
|
|
30
|
+
all: string;
|
|
31
|
+
current: string;
|
|
32
|
+
};
|
|
33
|
+
status: {
|
|
34
|
+
all: string;
|
|
35
|
+
resolved: string;
|
|
36
|
+
unsolved: string;
|
|
37
|
+
concernMe: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
3
41
|
};
|
|
4
42
|
export default _default;
|
|
@@ -1,4 +1,42 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
|
|
2
|
+
'docs-thread-comment-ui': {
|
|
3
|
+
panel: {
|
|
4
|
+
title: string;
|
|
5
|
+
addComment: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
} & {
|
|
9
|
+
'thread-comment-ui': {
|
|
10
|
+
panel: {
|
|
11
|
+
title: string;
|
|
12
|
+
empty: string;
|
|
13
|
+
filterEmpty: string;
|
|
14
|
+
reset: string;
|
|
15
|
+
addComment: string;
|
|
16
|
+
solved: string;
|
|
17
|
+
};
|
|
18
|
+
editor: {
|
|
19
|
+
placeholder: string;
|
|
20
|
+
reply: string;
|
|
21
|
+
cancel: string;
|
|
22
|
+
save: string;
|
|
23
|
+
};
|
|
24
|
+
item: {
|
|
25
|
+
edit: string;
|
|
26
|
+
delete: string;
|
|
27
|
+
};
|
|
28
|
+
filter: {
|
|
29
|
+
sheet: {
|
|
30
|
+
all: string;
|
|
31
|
+
current: string;
|
|
32
|
+
};
|
|
33
|
+
status: {
|
|
34
|
+
all: string;
|
|
35
|
+
resolved: string;
|
|
36
|
+
unsolved: string;
|
|
37
|
+
concernMe: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
3
41
|
};
|
|
4
42
|
export default _default;
|
|
@@ -1,4 +1,42 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
|
|
2
|
+
'docs-thread-comment-ui': {
|
|
3
|
+
panel: {
|
|
4
|
+
title: string;
|
|
5
|
+
addComment: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
} & {
|
|
9
|
+
'thread-comment-ui': {
|
|
10
|
+
panel: {
|
|
11
|
+
title: string;
|
|
12
|
+
empty: string;
|
|
13
|
+
filterEmpty: string;
|
|
14
|
+
reset: string;
|
|
15
|
+
addComment: string;
|
|
16
|
+
solved: string;
|
|
17
|
+
};
|
|
18
|
+
editor: {
|
|
19
|
+
placeholder: string;
|
|
20
|
+
reply: string;
|
|
21
|
+
cancel: string;
|
|
22
|
+
save: string;
|
|
23
|
+
};
|
|
24
|
+
item: {
|
|
25
|
+
edit: string;
|
|
26
|
+
delete: string;
|
|
27
|
+
};
|
|
28
|
+
filter: {
|
|
29
|
+
sheet: {
|
|
30
|
+
all: string;
|
|
31
|
+
current: string;
|
|
32
|
+
};
|
|
33
|
+
status: {
|
|
34
|
+
all: string;
|
|
35
|
+
resolved: string;
|
|
36
|
+
unsolved: string;
|
|
37
|
+
concernMe: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
3
41
|
};
|
|
4
42
|
export default _default;
|
|
@@ -1,4 +1,42 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
|
|
2
|
+
'docs-thread-comment-ui': {
|
|
3
|
+
panel: {
|
|
4
|
+
title: string;
|
|
5
|
+
addComment: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
} & {
|
|
9
|
+
'thread-comment-ui': {
|
|
10
|
+
panel: {
|
|
11
|
+
title: string;
|
|
12
|
+
empty: string;
|
|
13
|
+
filterEmpty: string;
|
|
14
|
+
reset: string;
|
|
15
|
+
addComment: string;
|
|
16
|
+
solved: string;
|
|
17
|
+
};
|
|
18
|
+
editor: {
|
|
19
|
+
placeholder: string;
|
|
20
|
+
reply: string;
|
|
21
|
+
cancel: string;
|
|
22
|
+
save: string;
|
|
23
|
+
};
|
|
24
|
+
item: {
|
|
25
|
+
edit: string;
|
|
26
|
+
delete: string;
|
|
27
|
+
};
|
|
28
|
+
filter: {
|
|
29
|
+
sheet: {
|
|
30
|
+
all: string;
|
|
31
|
+
current: string;
|
|
32
|
+
};
|
|
33
|
+
status: {
|
|
34
|
+
all: string;
|
|
35
|
+
resolved: string;
|
|
36
|
+
unsolved: string;
|
|
37
|
+
concernMe: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
3
41
|
};
|
|
4
42
|
export default _default;
|
|
@@ -1,4 +1,42 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
|
|
2
|
+
'docs-thread-comment-ui': {
|
|
3
|
+
panel: {
|
|
4
|
+
title: string;
|
|
5
|
+
addComment: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
} & {
|
|
9
|
+
'thread-comment-ui': {
|
|
10
|
+
panel: {
|
|
11
|
+
title: string;
|
|
12
|
+
empty: string;
|
|
13
|
+
filterEmpty: string;
|
|
14
|
+
reset: string;
|
|
15
|
+
addComment: string;
|
|
16
|
+
solved: string;
|
|
17
|
+
};
|
|
18
|
+
editor: {
|
|
19
|
+
placeholder: string;
|
|
20
|
+
reply: string;
|
|
21
|
+
cancel: string;
|
|
22
|
+
save: string;
|
|
23
|
+
};
|
|
24
|
+
item: {
|
|
25
|
+
edit: string;
|
|
26
|
+
delete: string;
|
|
27
|
+
};
|
|
28
|
+
filter: {
|
|
29
|
+
sheet: {
|
|
30
|
+
all: string;
|
|
31
|
+
current: string;
|
|
32
|
+
};
|
|
33
|
+
status: {
|
|
34
|
+
all: string;
|
|
35
|
+
resolved: string;
|
|
36
|
+
unsolved: string;
|
|
37
|
+
concernMe: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
3
41
|
};
|
|
4
42
|
export default _default;
|
|
@@ -1,4 +1,42 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
|
|
2
|
+
'docs-thread-comment-ui': {
|
|
3
|
+
panel: {
|
|
4
|
+
title: string;
|
|
5
|
+
addComment: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
} & {
|
|
9
|
+
'thread-comment-ui': {
|
|
10
|
+
panel: {
|
|
11
|
+
title: string;
|
|
12
|
+
empty: string;
|
|
13
|
+
filterEmpty: string;
|
|
14
|
+
reset: string;
|
|
15
|
+
addComment: string;
|
|
16
|
+
solved: string;
|
|
17
|
+
};
|
|
18
|
+
editor: {
|
|
19
|
+
placeholder: string;
|
|
20
|
+
reply: string;
|
|
21
|
+
cancel: string;
|
|
22
|
+
save: string;
|
|
23
|
+
};
|
|
24
|
+
item: {
|
|
25
|
+
edit: string;
|
|
26
|
+
delete: string;
|
|
27
|
+
};
|
|
28
|
+
filter: {
|
|
29
|
+
sheet: {
|
|
30
|
+
all: string;
|
|
31
|
+
current: string;
|
|
32
|
+
};
|
|
33
|
+
status: {
|
|
34
|
+
all: string;
|
|
35
|
+
resolved: string;
|
|
36
|
+
unsolved: string;
|
|
37
|
+
concernMe: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
3
41
|
};
|
|
4
42
|
export default _default;
|
|
@@ -1,4 +1,42 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
|
|
2
|
+
'docs-thread-comment-ui': {
|
|
3
|
+
panel: {
|
|
4
|
+
title: string;
|
|
5
|
+
addComment: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
} & {
|
|
9
|
+
'thread-comment-ui': {
|
|
10
|
+
panel: {
|
|
11
|
+
title: string;
|
|
12
|
+
empty: string;
|
|
13
|
+
filterEmpty: string;
|
|
14
|
+
reset: string;
|
|
15
|
+
addComment: string;
|
|
16
|
+
solved: string;
|
|
17
|
+
};
|
|
18
|
+
editor: {
|
|
19
|
+
placeholder: string;
|
|
20
|
+
reply: string;
|
|
21
|
+
cancel: string;
|
|
22
|
+
save: string;
|
|
23
|
+
};
|
|
24
|
+
item: {
|
|
25
|
+
edit: string;
|
|
26
|
+
delete: string;
|
|
27
|
+
};
|
|
28
|
+
filter: {
|
|
29
|
+
sheet: {
|
|
30
|
+
all: string;
|
|
31
|
+
current: string;
|
|
32
|
+
};
|
|
33
|
+
status: {
|
|
34
|
+
all: string;
|
|
35
|
+
resolved: string;
|
|
36
|
+
unsolved: string;
|
|
37
|
+
concernMe: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
3
41
|
};
|
|
4
42
|
export default _default;
|
|
@@ -1,4 +1,42 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
|
|
2
|
+
'docs-thread-comment-ui': {
|
|
3
|
+
panel: {
|
|
4
|
+
title: string;
|
|
5
|
+
addComment: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
} & {
|
|
9
|
+
'thread-comment-ui': {
|
|
10
|
+
panel: {
|
|
11
|
+
title: string;
|
|
12
|
+
empty: string;
|
|
13
|
+
filterEmpty: string;
|
|
14
|
+
reset: string;
|
|
15
|
+
addComment: string;
|
|
16
|
+
solved: string;
|
|
17
|
+
};
|
|
18
|
+
editor: {
|
|
19
|
+
placeholder: string;
|
|
20
|
+
reply: string;
|
|
21
|
+
cancel: string;
|
|
22
|
+
save: string;
|
|
23
|
+
};
|
|
24
|
+
item: {
|
|
25
|
+
edit: string;
|
|
26
|
+
delete: string;
|
|
27
|
+
};
|
|
28
|
+
filter: {
|
|
29
|
+
sheet: {
|
|
30
|
+
all: string;
|
|
31
|
+
current: string;
|
|
32
|
+
};
|
|
33
|
+
status: {
|
|
34
|
+
all: string;
|
|
35
|
+
resolved: string;
|
|
36
|
+
unsolved: string;
|
|
37
|
+
concernMe: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
3
41
|
};
|
|
4
42
|
export default _default;
|
|
@@ -1,4 +1,42 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
|
|
2
|
+
'docs-thread-comment-ui': {
|
|
3
|
+
panel: {
|
|
4
|
+
title: string;
|
|
5
|
+
addComment: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
} & {
|
|
9
|
+
'thread-comment-ui': {
|
|
10
|
+
panel: {
|
|
11
|
+
title: string;
|
|
12
|
+
empty: string;
|
|
13
|
+
filterEmpty: string;
|
|
14
|
+
reset: string;
|
|
15
|
+
addComment: string;
|
|
16
|
+
solved: string;
|
|
17
|
+
};
|
|
18
|
+
editor: {
|
|
19
|
+
placeholder: string;
|
|
20
|
+
reply: string;
|
|
21
|
+
cancel: string;
|
|
22
|
+
save: string;
|
|
23
|
+
};
|
|
24
|
+
item: {
|
|
25
|
+
edit: string;
|
|
26
|
+
delete: string;
|
|
27
|
+
};
|
|
28
|
+
filter: {
|
|
29
|
+
sheet: {
|
|
30
|
+
all: string;
|
|
31
|
+
current: string;
|
|
32
|
+
};
|
|
33
|
+
status: {
|
|
34
|
+
all: string;
|
|
35
|
+
resolved: string;
|
|
36
|
+
unsolved: string;
|
|
37
|
+
concernMe: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
3
41
|
};
|
|
4
42
|
export default _default;
|
|
@@ -1,4 +1,42 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
|
|
2
|
+
'docs-thread-comment-ui': {
|
|
3
|
+
panel: {
|
|
4
|
+
title: string;
|
|
5
|
+
addComment: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
} & {
|
|
9
|
+
'thread-comment-ui': {
|
|
10
|
+
panel: {
|
|
11
|
+
title: string;
|
|
12
|
+
empty: string;
|
|
13
|
+
filterEmpty: string;
|
|
14
|
+
reset: string;
|
|
15
|
+
addComment: string;
|
|
16
|
+
solved: string;
|
|
17
|
+
};
|
|
18
|
+
editor: {
|
|
19
|
+
placeholder: string;
|
|
20
|
+
reply: string;
|
|
21
|
+
cancel: string;
|
|
22
|
+
save: string;
|
|
23
|
+
};
|
|
24
|
+
item: {
|
|
25
|
+
edit: string;
|
|
26
|
+
delete: string;
|
|
27
|
+
};
|
|
28
|
+
filter: {
|
|
29
|
+
sheet: {
|
|
30
|
+
all: string;
|
|
31
|
+
current: string;
|
|
32
|
+
};
|
|
33
|
+
status: {
|
|
34
|
+
all: string;
|
|
35
|
+
resolved: string;
|
|
36
|
+
unsolved: string;
|
|
37
|
+
concernMe: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
3
41
|
};
|
|
4
42
|
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type { IPreset } from '@univerjs/presets';
|
|
17
|
+
export interface IUniverDocsThreadCommentPresetConfig {
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* This preset add thread comment features into your application.
|
|
21
|
+
*
|
|
22
|
+
* @param {Partial<IUniverDocsThreadCommentPresetConfig>} config - The configuration object.
|
|
23
|
+
*/
|
|
24
|
+
export declare function UniverDocsThreadCommentPreset(_config?: Partial<IUniverDocsThreadCommentPresetConfig>): IPreset;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/preset-docs-thread-comment",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0-alpha.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Preset for thread comments in Univer Docs.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
"homepage": "https://univer.ai",
|
|
13
13
|
"repository": {
|
|
14
14
|
"type": "git",
|
|
15
|
-
"url": "https://github.com/dream-num/univer
|
|
15
|
+
"url": "https://github.com/dream-num/univer"
|
|
16
16
|
},
|
|
17
17
|
"bugs": {
|
|
18
|
-
"url": "https://github.com/dream-num/univer
|
|
18
|
+
"url": "https://github.com/dream-num/univer/issues"
|
|
19
19
|
},
|
|
20
20
|
"keywords": [
|
|
21
21
|
"univer",
|
|
@@ -32,11 +32,6 @@
|
|
|
32
32
|
"require": "./lib/cjs/index.js",
|
|
33
33
|
"types": "./lib/types/index.d.ts"
|
|
34
34
|
},
|
|
35
|
-
"./*": {
|
|
36
|
-
"import": "./lib/es/*",
|
|
37
|
-
"require": "./lib/cjs/*",
|
|
38
|
-
"types": "./lib/types/index.d.ts"
|
|
39
|
-
},
|
|
40
35
|
"./locales/*": {
|
|
41
36
|
"import": "./lib/es/locales/*.js",
|
|
42
37
|
"require": "./lib/cjs/locales/*.js",
|
|
@@ -51,6 +46,7 @@
|
|
|
51
46
|
"directories": {
|
|
52
47
|
"lib": "lib"
|
|
53
48
|
},
|
|
49
|
+
"types": "./lib/types/index.d.ts",
|
|
54
50
|
"files": [
|
|
55
51
|
"lib"
|
|
56
52
|
],
|
|
@@ -60,21 +56,23 @@
|
|
|
60
56
|
"rxjs": ">=7.0.0"
|
|
61
57
|
},
|
|
62
58
|
"dependencies": {
|
|
63
|
-
"@univerjs/docs-thread-comment-ui": "0.
|
|
64
|
-
"@univerjs/thread-comment": "0.
|
|
65
|
-
"@univerjs/thread-comment
|
|
59
|
+
"@univerjs/docs-thread-comment-ui": "1.0.0-alpha.0",
|
|
60
|
+
"@univerjs/thread-comment-ui": "1.0.0-alpha.0",
|
|
61
|
+
"@univerjs/thread-comment": "1.0.0-alpha.0"
|
|
66
62
|
},
|
|
67
63
|
"devDependencies": {
|
|
68
|
-
"@univerjs/core": "0.25.0",
|
|
69
64
|
"react": "18.3.1",
|
|
70
65
|
"react-dom": "18.3.1",
|
|
71
|
-
"rxjs": "7.8.2",
|
|
66
|
+
"rxjs": "^7.8.2",
|
|
72
67
|
"typescript": "^6.0.3",
|
|
73
|
-
"@univerjs-infra/shared": "0.
|
|
68
|
+
"@univerjs-infra/shared": "1.0.0-alpha.0",
|
|
69
|
+
"@univerjs/core": "1.0.0-alpha.0",
|
|
70
|
+
"@univerjs/presets": "1.0.0-alpha.0"
|
|
74
71
|
},
|
|
75
72
|
"scripts": {
|
|
76
|
-
"
|
|
77
|
-
"build:
|
|
73
|
+
"build:bundle": "univer-cli preset build --cleanup",
|
|
74
|
+
"build:types": "tsc -p tsconfig.node.json",
|
|
75
|
+
"build": "pnpm run build:bundle && pnpm run build:types",
|
|
78
76
|
"typecheck": "tsc --noEmit"
|
|
79
77
|
},
|
|
80
78
|
"module": "./lib/es/index.js"
|
package/lib/types/types.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IUniverConfig, Plugin, PluginCtor } from '@univerjs/core';
|
|
2
|
-
/**
|
|
3
|
-
* A collection of plugins and their default configs.
|
|
4
|
-
*/
|
|
5
|
-
export interface IPreset {
|
|
6
|
-
plugins: Array<PluginCtor<Plugin> | [PluginCtor<Plugin>, ConstructorParameters<PluginCtor<Plugin>>[0]]>;
|
|
7
|
-
locales?: IUniverConfig['locales'];
|
|
8
|
-
}
|
|
9
|
-
export interface IPresetOptions {
|
|
10
|
-
lazy?: boolean;
|
|
11
|
-
}
|
package/lib/types/umd.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { IPreset } from './types';
|
|
2
|
-
import '@univerjs/thread-comment-ui/lib/index.css';
|
|
3
|
-
export interface IUniverDocsThreadCommentPresetConfig {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* This preset add thread comment features into your application.
|
|
7
|
-
*
|
|
8
|
-
* @param {Partial<IUniverDocsThreadCommentPresetConfig>} config - The configuration object.
|
|
9
|
-
*/
|
|
10
|
-
export declare function UniverDocsThreadCommentPreset(_config?: Partial<IUniverDocsThreadCommentPresetConfig>): IPreset;
|