@univerjs/thread-comment-ui 0.24.0 → 0.25.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/lib/cjs/index.js +182 -124
- package/lib/cjs/locale/ar-SA.js +37 -0
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +37 -0
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +37 -0
- package/lib/cjs/locale/it-IT.js +37 -0
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +37 -0
- package/lib/cjs/locale/pt-BR.js +37 -0
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +37 -0
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +182 -124
- package/lib/es/locale/ar-SA.js +36 -0
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +36 -0
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +36 -0
- package/lib/es/locale/it-IT.js +36 -0
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +36 -0
- package/lib/es/locale/pt-BR.js +36 -0
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +36 -0
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +182 -124
- package/lib/locale/ar-SA.js +36 -0
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +36 -0
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +36 -0
- package/lib/locale/it-IT.js +36 -0
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +36 -0
- package/lib/locale/pt-BR.js +36 -0
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +36 -0
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/locale/ar-SA.d.ts +18 -0
- package/lib/types/locale/de-DE.d.ts +18 -0
- package/lib/types/locale/en-US.d.ts +1 -1
- package/lib/types/locale/id-ID.d.ts +18 -0
- package/lib/types/locale/it-IT.d.ts +18 -0
- package/lib/types/locale/pl-PL.d.ts +18 -0
- package/lib/types/locale/pt-BR.d.ts +18 -0
- package/lib/types/locale/zh-HK.d.ts +18 -0
- package/lib/types/views/thread-comment-editor/util.d.ts +8 -0
- package/lib/types/views/thread-comment-panel/util.d.ts +18 -0
- package/lib/types/views/thread-comment-tree/util.d.ts +25 -0
- package/lib/umd/index.js +4 -4
- package/lib/umd/locale/ar-SA.js +1 -0
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -0
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -0
- package/lib/umd/locale/it-IT.js +1 -0
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -0
- package/lib/umd/locale/pt-BR.js +1 -0
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -0
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
//#region src/locale/ar-SA.ts
|
|
2
|
+
const locale = { "thread-comment-ui": {
|
|
3
|
+
panel: {
|
|
4
|
+
title: "إدارة التعليقات",
|
|
5
|
+
empty: "لا توجد تعليقات بعد",
|
|
6
|
+
filterEmpty: "لا توجد نتائج مطابقة",
|
|
7
|
+
reset: "إعادة ضبط التصفية",
|
|
8
|
+
addComment: "إضافة تعليق",
|
|
9
|
+
solved: "تم الحل"
|
|
10
|
+
},
|
|
11
|
+
editor: {
|
|
12
|
+
placeholder: "رد أو إشارة إلى آخرين باستخدام @",
|
|
13
|
+
reply: "تعليق",
|
|
14
|
+
cancel: "إلغاء",
|
|
15
|
+
save: "حفظ"
|
|
16
|
+
},
|
|
17
|
+
item: {
|
|
18
|
+
edit: "تحرير",
|
|
19
|
+
delete: "حذف هذا التعليق"
|
|
20
|
+
},
|
|
21
|
+
filter: {
|
|
22
|
+
sheet: {
|
|
23
|
+
all: "كل الأوراق",
|
|
24
|
+
current: "الورقة الحالية"
|
|
25
|
+
},
|
|
26
|
+
status: {
|
|
27
|
+
all: "كل التعليقات",
|
|
28
|
+
resolved: "تم الحل",
|
|
29
|
+
unsolved: "لم يتم الحل",
|
|
30
|
+
concernMe: "يتعلق بي"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
} };
|
|
34
|
+
|
|
35
|
+
//#endregion
|
|
36
|
+
export { locale as default };
|
package/lib/locale/ca-ES.js
CHANGED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
//#region src/locale/de-DE.ts
|
|
2
|
+
const locale = { "thread-comment-ui": {
|
|
3
|
+
panel: {
|
|
4
|
+
title: "Kommentarverwaltung",
|
|
5
|
+
empty: "Noch keine Kommentare",
|
|
6
|
+
filterEmpty: "Kein Treffer",
|
|
7
|
+
reset: "Filter zurücksetzen",
|
|
8
|
+
addComment: "Kommentar hinzufügen",
|
|
9
|
+
solved: "Gelöst"
|
|
10
|
+
},
|
|
11
|
+
editor: {
|
|
12
|
+
placeholder: "Antworten oder andere mit @ erwähnen",
|
|
13
|
+
reply: "Kommentar",
|
|
14
|
+
cancel: "Abbrechen",
|
|
15
|
+
save: "Speichern"
|
|
16
|
+
},
|
|
17
|
+
item: {
|
|
18
|
+
edit: "Bearbeiten",
|
|
19
|
+
delete: "Diesen Kommentar löschen"
|
|
20
|
+
},
|
|
21
|
+
filter: {
|
|
22
|
+
sheet: {
|
|
23
|
+
all: "Alle Blätter",
|
|
24
|
+
current: "Aktuelles Blatt"
|
|
25
|
+
},
|
|
26
|
+
status: {
|
|
27
|
+
all: "Alle Kommentare",
|
|
28
|
+
resolved: "Gelöst",
|
|
29
|
+
unsolved: "Ungelöst",
|
|
30
|
+
concernMe: "Betrifft mich"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
} };
|
|
34
|
+
|
|
35
|
+
//#endregion
|
|
36
|
+
export { locale as default };
|
package/lib/locale/en-US.js
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
const locale = {
|
|
17
|
+
const locale = { "thread-comment-ui": {
|
|
18
18
|
panel: {
|
|
19
19
|
title: "Comment Management",
|
|
20
20
|
empty: "No comments yet",
|
package/lib/locale/es-ES.js
CHANGED
package/lib/locale/fa-IR.js
CHANGED
package/lib/locale/fr-FR.js
CHANGED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
//#region src/locale/id-ID.ts
|
|
2
|
+
const locale = { "thread-comment-ui": {
|
|
3
|
+
panel: {
|
|
4
|
+
title: "Manajemen Komentar",
|
|
5
|
+
empty: "Belum ada komentar",
|
|
6
|
+
filterEmpty: "Tidak ada hasil yang cocok",
|
|
7
|
+
reset: "Atur Ulang Filter",
|
|
8
|
+
addComment: "Tambah Komentar",
|
|
9
|
+
solved: "Terselesaikan"
|
|
10
|
+
},
|
|
11
|
+
editor: {
|
|
12
|
+
placeholder: "Balas atau tambahkan orang lain dengan @",
|
|
13
|
+
reply: "Komentar",
|
|
14
|
+
cancel: "Batal",
|
|
15
|
+
save: "Simpan"
|
|
16
|
+
},
|
|
17
|
+
item: {
|
|
18
|
+
edit: "Edit",
|
|
19
|
+
delete: "Hapus Komentar Ini"
|
|
20
|
+
},
|
|
21
|
+
filter: {
|
|
22
|
+
sheet: {
|
|
23
|
+
all: "Semua lembar",
|
|
24
|
+
current: "Lembar saat ini"
|
|
25
|
+
},
|
|
26
|
+
status: {
|
|
27
|
+
all: "Semua komentar",
|
|
28
|
+
resolved: "Terselesaikan",
|
|
29
|
+
unsolved: "Belum terselesaikan",
|
|
30
|
+
concernMe: "Yang menyangkut saya"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
} };
|
|
34
|
+
|
|
35
|
+
//#endregion
|
|
36
|
+
export { locale as default };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
//#region src/locale/it-IT.ts
|
|
2
|
+
const locale = { "thread-comment-ui": {
|
|
3
|
+
panel: {
|
|
4
|
+
title: "Gestione commenti",
|
|
5
|
+
empty: "Nessun commento",
|
|
6
|
+
filterEmpty: "Nessun risultato",
|
|
7
|
+
reset: "Reimposta filtro",
|
|
8
|
+
addComment: "Aggiungi commento",
|
|
9
|
+
solved: "Risolto"
|
|
10
|
+
},
|
|
11
|
+
editor: {
|
|
12
|
+
placeholder: "Rispondi o aggiungi altri con @",
|
|
13
|
+
reply: "Commenta",
|
|
14
|
+
cancel: "Annulla",
|
|
15
|
+
save: "Salva"
|
|
16
|
+
},
|
|
17
|
+
item: {
|
|
18
|
+
edit: "Modifica",
|
|
19
|
+
delete: "Elimina questo commento"
|
|
20
|
+
},
|
|
21
|
+
filter: {
|
|
22
|
+
sheet: {
|
|
23
|
+
all: "Tutti i fogli",
|
|
24
|
+
current: "Foglio corrente"
|
|
25
|
+
},
|
|
26
|
+
status: {
|
|
27
|
+
all: "Tutti i commenti",
|
|
28
|
+
resolved: "Risolti",
|
|
29
|
+
unsolved: "Non risolti",
|
|
30
|
+
concernMe: "Mi riguardano"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
} };
|
|
34
|
+
|
|
35
|
+
//#endregion
|
|
36
|
+
export { locale as default };
|
package/lib/locale/ja-JP.js
CHANGED
package/lib/locale/ko-KR.js
CHANGED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
//#region src/locale/pl-PL.ts
|
|
2
|
+
const locale = { "thread-comment-ui": {
|
|
3
|
+
panel: {
|
|
4
|
+
title: "Zarządzanie komentarzami",
|
|
5
|
+
empty: "Brak komentarzy",
|
|
6
|
+
filterEmpty: "Brak wyników",
|
|
7
|
+
reset: "Resetuj filtr",
|
|
8
|
+
addComment: "Dodaj komentarz",
|
|
9
|
+
solved: "Rozwiązane"
|
|
10
|
+
},
|
|
11
|
+
editor: {
|
|
12
|
+
placeholder: "Odpowiedz lub dodaj innych za pomocą @",
|
|
13
|
+
reply: "Komentarz",
|
|
14
|
+
cancel: "Anuluj",
|
|
15
|
+
save: "Zapisz"
|
|
16
|
+
},
|
|
17
|
+
item: {
|
|
18
|
+
edit: "Edytuj",
|
|
19
|
+
delete: "Usuń ten komentarz"
|
|
20
|
+
},
|
|
21
|
+
filter: {
|
|
22
|
+
sheet: {
|
|
23
|
+
all: "Wszystkie arkusze",
|
|
24
|
+
current: "Bieżący arkusz"
|
|
25
|
+
},
|
|
26
|
+
status: {
|
|
27
|
+
all: "Wszystkie komentarze",
|
|
28
|
+
resolved: "Rozwiązane",
|
|
29
|
+
unsolved: "Nierozwiązane",
|
|
30
|
+
concernMe: "Dotyczące mnie"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
} };
|
|
34
|
+
|
|
35
|
+
//#endregion
|
|
36
|
+
export { locale as default };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
//#region src/locale/pt-BR.ts
|
|
2
|
+
const locale = { "thread-comment-ui": {
|
|
3
|
+
panel: {
|
|
4
|
+
title: "Gerenciamento de Comentários",
|
|
5
|
+
empty: "Nenhum comentário ainda",
|
|
6
|
+
filterEmpty: "Nenhum resultado correspondente",
|
|
7
|
+
reset: "Redefinir Filtro",
|
|
8
|
+
addComment: "Adicionar Comentário",
|
|
9
|
+
solved: "Resolvido"
|
|
10
|
+
},
|
|
11
|
+
editor: {
|
|
12
|
+
placeholder: "Responder ou mencionar outros com @",
|
|
13
|
+
reply: "Comentar",
|
|
14
|
+
cancel: "Cancelar",
|
|
15
|
+
save: "Salvar"
|
|
16
|
+
},
|
|
17
|
+
item: {
|
|
18
|
+
edit: "Editar",
|
|
19
|
+
delete: "Excluir Este Comentário"
|
|
20
|
+
},
|
|
21
|
+
filter: {
|
|
22
|
+
sheet: {
|
|
23
|
+
all: "Todas as planilhas",
|
|
24
|
+
current: "Planilha atual"
|
|
25
|
+
},
|
|
26
|
+
status: {
|
|
27
|
+
all: "Todos os comentários",
|
|
28
|
+
resolved: "Resolvidos",
|
|
29
|
+
unsolved: "Não resolvidos",
|
|
30
|
+
concernMe: "Me envolvem"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
} };
|
|
34
|
+
|
|
35
|
+
//#endregion
|
|
36
|
+
export { locale as default };
|
package/lib/locale/ru-RU.js
CHANGED
package/lib/locale/sk-SK.js
CHANGED
package/lib/locale/vi-VN.js
CHANGED
package/lib/locale/zh-CN.js
CHANGED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
//#region src/locale/zh-HK.ts
|
|
2
|
+
const locale = { "thread-comment-ui": {
|
|
3
|
+
panel: {
|
|
4
|
+
title: "評論管理",
|
|
5
|
+
empty: "暫無評論",
|
|
6
|
+
filterEmpty: "沒有符合的結果",
|
|
7
|
+
reset: "重置",
|
|
8
|
+
addComment: "新增評論",
|
|
9
|
+
solved: "已解決"
|
|
10
|
+
},
|
|
11
|
+
editor: {
|
|
12
|
+
placeholder: "回覆",
|
|
13
|
+
reply: "回覆",
|
|
14
|
+
cancel: "取消",
|
|
15
|
+
save: "儲存"
|
|
16
|
+
},
|
|
17
|
+
item: {
|
|
18
|
+
edit: "編輯",
|
|
19
|
+
delete: "刪除"
|
|
20
|
+
},
|
|
21
|
+
filter: {
|
|
22
|
+
sheet: {
|
|
23
|
+
all: "所有表格",
|
|
24
|
+
current: "當前表格"
|
|
25
|
+
},
|
|
26
|
+
status: {
|
|
27
|
+
all: "所有評論",
|
|
28
|
+
resolved: "已解決",
|
|
29
|
+
unsolved: "未解決",
|
|
30
|
+
concernMe: "與我有關"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
} };
|
|
34
|
+
|
|
35
|
+
//#endregion
|
|
36
|
+
export { locale as default };
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -0,0 +1,18 @@
|
|
|
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 enUS from './en-US';
|
|
17
|
+
declare const locale: typeof enUS;
|
|
18
|
+
export default locale;
|
|
@@ -0,0 +1,18 @@
|
|
|
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 enUS from './en-US';
|
|
17
|
+
declare const locale: typeof enUS;
|
|
18
|
+
export default locale;
|
|
@@ -0,0 +1,18 @@
|
|
|
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 enUS from './en-US';
|
|
17
|
+
declare const locale: typeof enUS;
|
|
18
|
+
export default locale;
|
|
@@ -0,0 +1,18 @@
|
|
|
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 enUS from './en-US';
|
|
17
|
+
declare const locale: typeof enUS;
|
|
18
|
+
export default locale;
|
|
@@ -0,0 +1,18 @@
|
|
|
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 enUS from './en-US';
|
|
17
|
+
declare const locale: typeof enUS;
|
|
18
|
+
export default locale;
|
|
@@ -0,0 +1,18 @@
|
|
|
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 enUS from './en-US';
|
|
17
|
+
declare const locale: typeof enUS;
|
|
18
|
+
export default locale;
|
|
@@ -0,0 +1,18 @@
|
|
|
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 enUS from './en-US';
|
|
17
|
+
declare const locale: typeof enUS;
|
|
18
|
+
export default locale;
|
|
@@ -15,6 +15,12 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import type { IDocumentBody } from '@univerjs/core';
|
|
17
17
|
import type { IThreadCommentMention } from '@univerjs/thread-comment';
|
|
18
|
+
interface IThreadCommentEditorFocusService {
|
|
19
|
+
focus: (editorId: string) => void;
|
|
20
|
+
}
|
|
21
|
+
interface IFocusableThreadCommentEditor {
|
|
22
|
+
focus: () => void;
|
|
23
|
+
}
|
|
18
24
|
export type TextNode = {
|
|
19
25
|
type: 'text';
|
|
20
26
|
content: string;
|
|
@@ -24,3 +30,5 @@ export type TextNode = {
|
|
|
24
30
|
};
|
|
25
31
|
export declare const transformDocument2TextNodes: (doc: IDocumentBody) => TextNode[][];
|
|
26
32
|
export declare const transformTextNodes2Document: (nodes: TextNode[]) => IDocumentBody;
|
|
33
|
+
export declare function focusThreadCommentEditor(editorService: IThreadCommentEditorFocusService, editorId: string, editor?: IFocusableThreadCommentEditor | null): void;
|
|
34
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
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 { IThreadComment } from '@univerjs/thread-comment';
|
|
17
|
+
export type ThreadCommentPanelSection = 'unsolved' | 'solved';
|
|
18
|
+
export declare function getThreadCommentPanelItemKey(comment: IThreadComment, index: number, section: ThreadCommentPanelSection): string;
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { ThreadCommentTreeLocation } from '../thread-comment-tree';
|
|
17
|
+
interface IGetThreadCommentEditorIdParams {
|
|
18
|
+
location: ThreadCommentTreeLocation;
|
|
19
|
+
unitId: string;
|
|
20
|
+
subUnitId: string;
|
|
21
|
+
commentId?: string;
|
|
22
|
+
fallbackId: string;
|
|
23
|
+
}
|
|
24
|
+
export declare function getThreadCommentEditorId(params: IGetThreadCommentEditorIdParams): string;
|
|
25
|
+
export {};
|