@ckeditor/ckeditor5-comments 38.0.0 → 38.1.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/build/comments.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sq.js +1 -0
- package/lang/translations/en-au.po +1 -1
- package/lang/translations/it.po +1 -1
- package/lang/translations/lv.po +1 -1
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/sk.po +1 -1
- package/lang/translations/sq.po +111 -0
- package/package.json +10 -8
- package/src/annotations/annotation.js +1 -1
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.d.ts +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.d.ts +4 -3
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.d.ts +4 -3
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.d.ts +6 -4
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.d.ts +6 -5
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.d.ts +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.d.ts +6 -5
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.d.ts +6 -4
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.d.ts +6 -4
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.d.ts +7 -3
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.d.ts +9 -5
- package/src/comments/commentsrepository.js +1 -1
- package/src/comments/commentsui.d.ts +7 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +1 -1
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.d.ts +1 -1
- package/src/comments/ui/commentthreadcontroller.js +1 -1
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +1 -1
- package/src/comments/ui/view/commentview.js +1 -1
- package/src/comments.d.ts +12 -3
- package/src/comments.js +1 -1
- package/src/commentsonly.d.ts +4 -3
- package/src/commentsonly.js +1 -1
- package/src/index.d.ts +3 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e){const o=e["en-au"]=e["en-au"]||{};o.dictionary=Object.assign(o.dictionary||{},{Comment:"Comment","Comment editor":"Comment editor","Comment was made on an element":"Comment was made on an element",COMMENTS_ARCHIVE:"Comments archive","Delete comment thread?":"Delete comment thread?","Delete comment?":"Delete comment?",Edit:"Edit",EMPTY_COMMENTS_ARCHIVE:"There are no archived comment threads.",EXTERNAL_AVATAR:"Displayed author name comes from external source (added by %0)",EXTERNAL_COMMENT:"This comment comes from an external source.",EXTERNAL_IMPORT_WORD_AVATAR:"Displayed author name comes from a Word document imported by %0",EXTERNAL_IMPORT_WORD_COMMENT:"This comment comes from an imported Word file.","Marked as resolved":"Marked as resolved",NUMBER_OF_COMMENTS:["%0 Comment","%0 Comments"],PENDING_ACTION_COMMENT_THREAD:"Unsaved change in comment thread.",Remove:"Remove",Reopen:"Reopen",Reply:"","Reply to reopen discussion...":"Reply to reopen discussion...","Reply...":"Reply...",Resolve:"Resolve",TOO_LONG_COMMENT_ALERT:"Comment content is too long. Your comment has %0 characters but the limit is %1 characters.","Write a comment...":"Write a comment..."})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(e){const o=e["en-au"]=e["en-au"]||{};o.dictionary=Object.assign(o.dictionary||{},{Comment:"Comment","Comment editor":"Comment editor","Comment was made on an element":"Comment was made on an element",COMMENTS_ARCHIVE:"Comments archive","Delete comment thread?":"Delete comment thread?","Delete comment?":"Delete comment?",Edit:"Edit",EMPTY_COMMENTS_ARCHIVE:"There are no archived comment threads.",EXTERNAL_AVATAR:"Displayed author name comes from external source (added by %0)",EXTERNAL_COMMENT:"This comment comes from an external source.",EXTERNAL_IMPORT_WORD_AVATAR:"Displayed author name comes from a Word document imported by %0",EXTERNAL_IMPORT_WORD_COMMENT:"This comment comes from an imported Word file.","Marked as resolved":"Marked as resolved",NUMBER_OF_COMMENTS:["%0 Comment","%0 Comments"],PENDING_ACTION_COMMENT_THREAD:"Unsaved change in comment thread.",Remove:"Remove",Reopen:"Reopen",Reply:"Reply","Reply to reopen discussion...":"Reply to reopen discussion...","Reply...":"Reply...",Resolve:"Resolve",TOO_LONG_COMMENT_ALERT:"Comment content is too long. Your comment has %0 characters but the limit is %1 characters.","Write a comment...":"Write a comment..."})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/it.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e){const o=e.it=e.it||{};o.dictionary=Object.assign(o.dictionary||{},{Comment:"Commento","Comment editor":"Editor di commenti","Comment was made on an element":"È stato fatto un commento su un elemento",COMMENTS_ARCHIVE:"Archivio commenti","Delete comment thread?":"Eliminare la conversazione del commento?","Delete comment?":"Eliminare il commento?",Edit:"Modifica",EMPTY_COMMENTS_ARCHIVE:"Non ci sono thread di commenti archiviati.",EXTERNAL_AVATAR:"Il nome dell'autore visualizzato proviene da una fonte esterna (aggiunto da %0)",EXTERNAL_COMMENT:"Questo commento proviene da una fonte esterna.",EXTERNAL_IMPORT_WORD_AVATAR:"Il nome dell'autore visualizzato proviene da un documento di Word importato da %0",EXTERNAL_IMPORT_WORD_COMMENT:"Questo suggerimento proviene da un file di Word importato.","Marked as resolved":"Contrassegnato come risolto",NUMBER_OF_COMMENTS:["%0 commento","%0 commenti","%0 commenti"],PENDING_ACTION_COMMENT_THREAD:"Modifica non salvata nella discussione dei commenti.",Remove:"Rimuovi",Reopen:"Riapri",Reply:"","Reply to reopen discussion...":"Rispondi per riaprire la discussione...","Reply...":"Rispondi...",Resolve:"Risolvi",TOO_LONG_COMMENT_ALERT:"Il contenuto del commento è troppo lungo. Il commento è lungo %0 caratteri, mentre il limite è di %1 caratteri.","Write a comment...":"Scrivere un commento..."})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(e){const o=e.it=e.it||{};o.dictionary=Object.assign(o.dictionary||{},{Comment:"Commento","Comment editor":"Editor di commenti","Comment was made on an element":"È stato fatto un commento su un elemento",COMMENTS_ARCHIVE:"Archivio commenti","Delete comment thread?":"Eliminare la conversazione del commento?","Delete comment?":"Eliminare il commento?",Edit:"Modifica",EMPTY_COMMENTS_ARCHIVE:"Non ci sono thread di commenti archiviati.",EXTERNAL_AVATAR:"Il nome dell'autore visualizzato proviene da una fonte esterna (aggiunto da %0)",EXTERNAL_COMMENT:"Questo commento proviene da una fonte esterna.",EXTERNAL_IMPORT_WORD_AVATAR:"Il nome dell'autore visualizzato proviene da un documento di Word importato da %0",EXTERNAL_IMPORT_WORD_COMMENT:"Questo suggerimento proviene da un file di Word importato.","Marked as resolved":"Contrassegnato come risolto",NUMBER_OF_COMMENTS:["%0 commento","%0 commenti","%0 commenti"],PENDING_ACTION_COMMENT_THREAD:"Modifica non salvata nella discussione dei commenti.",Remove:"Rimuovi",Reopen:"Riapri",Reply:"Rispondi","Reply to reopen discussion...":"Rispondi per riaprire la discussione...","Reply...":"Rispondi...",Resolve:"Risolvi",TOO_LONG_COMMENT_ALERT:"Il contenuto del commento è troppo lungo. Il commento è lungo %0 caratteri, mentre il limite è di %1 caratteri.","Write a comment...":"Scrivere un commento..."})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/lv.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t){const e=t.lv=t.lv||{};e.dictionary=Object.assign(e.dictionary||{},{Comment:"Komentārs","Comment editor":"Komentāri","Comment was made on an element":"Tika komentēts par elementu",COMMENTS_ARCHIVE:"Komentāru arhīvs","Delete comment thread?":"Dzēst komentāra saraksti?","Delete comment?":"Dzēst komentāru?",Edit:"Labot",EMPTY_COMMENTS_ARCHIVE:"Nav arhivētas komentāru sarakstes.",EXTERNAL_AVATAR:"Attēlotais autora vārds nāk no ārēja avota (pievienoja %0)",EXTERNAL_COMMENT:"Šī komentāra izcelsme ir ārējs avots.",EXTERNAL_IMPORT_WORD_AVATAR:"Attēlotais autora vārds nāk no Word dokumenta, ko importējis %0",EXTERNAL_IMPORT_WORD_COMMENT:"Šis komentārs nāk no importēta Word faila.","Marked as resolved":"Atzīmēts kā atrisināts",NUMBER_OF_COMMENTS:["%0 Komentāru","%0 Komentārs","%0 Komentāri"],PENDING_ACTION_COMMENT_THREAD:"Nesaglabātas komentāra izmaiņas.",Remove:"Noņemt",Reopen:"Atkārtoti atvērt",Reply:"","Reply to reopen discussion...":"Atbildēt, lai atsāktu diskusiju...","Reply...":"Atbilde...",Resolve:"Atrisināt",TOO_LONG_COMMENT_ALERT:"Komentāra saturs ir pārāk garš. Komentārs nedrīkst pārsniegt %1 rakstzīmes, šobrīd ir %0 rakstzīmju.","Write a comment...":"Rakstiet komentāru..."})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(t){const e=t.lv=t.lv||{};e.dictionary=Object.assign(e.dictionary||{},{Comment:"Komentārs","Comment editor":"Komentāri","Comment was made on an element":"Tika komentēts par elementu",COMMENTS_ARCHIVE:"Komentāru arhīvs","Delete comment thread?":"Dzēst komentāra saraksti?","Delete comment?":"Dzēst komentāru?",Edit:"Labot",EMPTY_COMMENTS_ARCHIVE:"Nav arhivētas komentāru sarakstes.",EXTERNAL_AVATAR:"Attēlotais autora vārds nāk no ārēja avota (pievienoja %0)",EXTERNAL_COMMENT:"Šī komentāra izcelsme ir ārējs avots.",EXTERNAL_IMPORT_WORD_AVATAR:"Attēlotais autora vārds nāk no Word dokumenta, ko importējis %0",EXTERNAL_IMPORT_WORD_COMMENT:"Šis komentārs nāk no importēta Word faila.","Marked as resolved":"Atzīmēts kā atrisināts",NUMBER_OF_COMMENTS:["%0 Komentāru","%0 Komentārs","%0 Komentāri"],PENDING_ACTION_COMMENT_THREAD:"Nesaglabātas komentāra izmaiņas.",Remove:"Noņemt",Reopen:"Atkārtoti atvērt",Reply:"Atbildēt","Reply to reopen discussion...":"Atbildēt, lai atsāktu diskusiju...","Reply...":"Atbilde...",Resolve:"Atrisināt",TOO_LONG_COMMENT_ALERT:"Komentāra saturs ir pārāk garš. Komentārs nedrīkst pārsniegt %1 rakstzīmes, šobrīd ir %0 rakstzīmju.","Write a comment...":"Rakstiet komentāru..."})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(o){const e=o["pt-br"]=o["pt-br"]||{};e.dictionary=Object.assign(e.dictionary||{},{Comment:"Comentário","Comment editor":"Editar comentário","Comment was made on an element":"O comentário foi feito em um elemento",COMMENTS_ARCHIVE:"Arquivo de comentários","Delete comment thread?":"Excluir segmento de comentários?","Delete comment?":"Excluir comentário?",Edit:"Editar",EMPTY_COMMENTS_ARCHIVE:"Não há tópicos de comentários arquivados.",EXTERNAL_AVATAR:"Nome do autor mostrado vem de uma fonte externa (adicionado por %0)",EXTERNAL_COMMENT:"Este comentário vem de uma fonte externa.",EXTERNAL_IMPORT_WORD_AVATAR:"Nome do autor mostrado vem de de um arquivo Word importado, importado por %0",EXTERNAL_IMPORT_WORD_COMMENT:"Este comentário vem de um arquivo Word importado.","Marked as resolved":"Marcado como solucionado",NUMBER_OF_COMMENTS:["%0 Comentários","%0 Comentários","%0 Comentários"],PENDING_ACTION_COMMENT_THREAD:"Alteração não salva no segmento de comentários.",Remove:"Remover",Reopen:"Reabrir",Reply:"","Reply to reopen discussion...":"Responder para reabrir a discussão...","Reply...":"Responder...",Resolve:"Solucionar",TOO_LONG_COMMENT_ALERT:"O conteúdo do comentário é muito longo. Seu comentário possui %0 caracteres, mas o limite é de %1 caracteres.","Write a comment...":"Escrever um comentário..."})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(o){const e=o["pt-br"]=o["pt-br"]||{};e.dictionary=Object.assign(e.dictionary||{},{Comment:"Comentário","Comment editor":"Editar comentário","Comment was made on an element":"O comentário foi feito em um elemento",COMMENTS_ARCHIVE:"Arquivo de comentários","Delete comment thread?":"Excluir segmento de comentários?","Delete comment?":"Excluir comentário?",Edit:"Editar",EMPTY_COMMENTS_ARCHIVE:"Não há tópicos de comentários arquivados.",EXTERNAL_AVATAR:"Nome do autor mostrado vem de uma fonte externa (adicionado por %0)",EXTERNAL_COMMENT:"Este comentário vem de uma fonte externa.",EXTERNAL_IMPORT_WORD_AVATAR:"Nome do autor mostrado vem de de um arquivo Word importado, importado por %0",EXTERNAL_IMPORT_WORD_COMMENT:"Este comentário vem de um arquivo Word importado.","Marked as resolved":"Marcado como solucionado",NUMBER_OF_COMMENTS:["%0 Comentários","%0 Comentários","%0 Comentários"],PENDING_ACTION_COMMENT_THREAD:"Alteração não salva no segmento de comentários.",Remove:"Remover",Reopen:"Reabrir",Reply:"Responder","Reply to reopen discussion...":"Responder para reabrir a discussão...","Reply...":"Responder...",Resolve:"Solucionar",TOO_LONG_COMMENT_ALERT:"O conteúdo do comentário é muito longo. Seu comentário possui %0 caracteres, mas o limite é de %1 caracteres.","Write a comment...":"Escrever um comentário..."})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/sk.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(o){const e=o.sk=o.sk||{};e.dictionary=Object.assign(e.dictionary||{},{Comment:"Komentár","Comment editor":"Editor komentárov","Comment was made on an element":"K prvku bol pridaný komentár",COMMENTS_ARCHIVE:"Archív komentárov","Delete comment thread?":"Vymazať vlákno komentáru?","Delete comment?":"Vymazať komentár?",Edit:"Upraviť",EMPTY_COMMENTS_ARCHIVE:"Neexistujú žiadne archivované vlákna komentárov.",EXTERNAL_AVATAR:"Zobrazené meno autora pochádza z externého zdroja (pridal %0)",EXTERNAL_COMMENT:"Tento komentár pochádza z externého zdroja.",EXTERNAL_IMPORT_WORD_AVATAR:"Zobrazené meno autora pochádza z dokumentu programu Word, ktorý importoval %0",EXTERNAL_IMPORT_WORD_COMMENT:"Tento komentár pochádza z importovaného súboru programu Word.","Marked as resolved":"Označené ako vyriešené",NUMBER_OF_COMMENTS:["%0 Komentár","%0 Komentáre","%0 Komentárov","%0 komentárov"],PENDING_ACTION_COMMENT_THREAD:"Vo vlákne komentáru sú neuložené zmeny.",Remove:"Odstrániť",Reopen:"Znovu otvoriť",Reply:"","Reply to reopen discussion...":"Odpovedzte na opätovné otvorenie diskusie...","Reply...":"Odpovedať...",Resolve:"Vyriešiť",TOO_LONG_COMMENT_ALERT:"Obsah komentára je príliš dlhý. Komentár ma %0 znakov, limit je %1 znakov.","Write a comment...":"Vložiť komentár..."})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(o){const e=o.sk=o.sk||{};e.dictionary=Object.assign(e.dictionary||{},{Comment:"Komentár","Comment editor":"Editor komentárov","Comment was made on an element":"K prvku bol pridaný komentár",COMMENTS_ARCHIVE:"Archív komentárov","Delete comment thread?":"Vymazať vlákno komentáru?","Delete comment?":"Vymazať komentár?",Edit:"Upraviť",EMPTY_COMMENTS_ARCHIVE:"Neexistujú žiadne archivované vlákna komentárov.",EXTERNAL_AVATAR:"Zobrazené meno autora pochádza z externého zdroja (pridal %0)",EXTERNAL_COMMENT:"Tento komentár pochádza z externého zdroja.",EXTERNAL_IMPORT_WORD_AVATAR:"Zobrazené meno autora pochádza z dokumentu programu Word, ktorý importoval %0",EXTERNAL_IMPORT_WORD_COMMENT:"Tento komentár pochádza z importovaného súboru programu Word.","Marked as resolved":"Označené ako vyriešené",NUMBER_OF_COMMENTS:["%0 Komentár","%0 Komentáre","%0 Komentárov","%0 komentárov"],PENDING_ACTION_COMMENT_THREAD:"Vo vlákne komentáru sú neuložené zmeny.",Remove:"Odstrániť",Reopen:"Znovu otvoriť",Reply:"Odpovedať","Reply to reopen discussion...":"Odpovedzte na opätovné otvorenie diskusie...","Reply...":"Odpovedať...",Resolve:"Vyriešiť",TOO_LONG_COMMENT_ALERT:"Obsah komentára je príliš dlhý. Komentár ma %0 znakov, limit je %1 znakov.","Write a comment...":"Vložiť komentár..."})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e){const R=e.sq=e.sq||{};R.dictionary=Object.assign(R.dictionary||{},{Comment:"","Comment editor":"Redaktuesi i komenteve","Comment was made on an element":"",COMMENTS_ARCHIVE:"","Delete comment thread?":"","Delete comment?":"",Edit:"",EMPTY_COMMENTS_ARCHIVE:"",EXTERNAL_AVATAR:"",EXTERNAL_COMMENT:"",EXTERNAL_IMPORT_WORD_AVATAR:"",EXTERNAL_IMPORT_WORD_COMMENT:"","Marked as resolved":"",NUMBER_OF_COMMENTS:["",""],PENDING_ACTION_COMMENT_THREAD:"",Remove:"Largo",Reopen:"",Reply:"","Reply to reopen discussion...":"","Reply...":"",Resolve:"",TOO_LONG_COMMENT_ALERT:"","Write a comment...":"Shkruaj një koment..."})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -64,7 +64,7 @@ msgstr "Remove"
|
|
|
64
64
|
|
|
65
65
|
msgctxt "The label for for the button that adds a reply to a comment thread."
|
|
66
66
|
msgid "Reply"
|
|
67
|
-
msgstr ""
|
|
67
|
+
msgstr "Reply"
|
|
68
68
|
|
|
69
69
|
msgctxt "The confirmation message shown after pressing the delete comment button."
|
|
70
70
|
msgid "Delete comment?"
|
package/lang/translations/it.po
CHANGED
|
@@ -65,7 +65,7 @@ msgstr "Rimuovi"
|
|
|
65
65
|
|
|
66
66
|
msgctxt "The label for for the button that adds a reply to a comment thread."
|
|
67
67
|
msgid "Reply"
|
|
68
|
-
msgstr ""
|
|
68
|
+
msgstr "Rispondi"
|
|
69
69
|
|
|
70
70
|
msgctxt "The confirmation message shown after pressing the delete comment button."
|
|
71
71
|
msgid "Delete comment?"
|
package/lang/translations/lv.po
CHANGED
|
@@ -65,7 +65,7 @@ msgstr "Noņemt"
|
|
|
65
65
|
|
|
66
66
|
msgctxt "The label for for the button that adds a reply to a comment thread."
|
|
67
67
|
msgid "Reply"
|
|
68
|
-
msgstr ""
|
|
68
|
+
msgstr "Atbildēt"
|
|
69
69
|
|
|
70
70
|
msgctxt "The confirmation message shown after pressing the delete comment button."
|
|
71
71
|
msgid "Delete comment?"
|
|
@@ -65,7 +65,7 @@ msgstr "Remover"
|
|
|
65
65
|
|
|
66
66
|
msgctxt "The label for for the button that adds a reply to a comment thread."
|
|
67
67
|
msgid "Reply"
|
|
68
|
-
msgstr ""
|
|
68
|
+
msgstr "Responder"
|
|
69
69
|
|
|
70
70
|
msgctxt "The confirmation message shown after pressing the delete comment button."
|
|
71
71
|
msgid "Delete comment?"
|
package/lang/translations/sk.po
CHANGED
|
@@ -66,7 +66,7 @@ msgstr "Odstrániť"
|
|
|
66
66
|
|
|
67
67
|
msgctxt "The label for for the button that adds a reply to a comment thread."
|
|
68
68
|
msgid "Reply"
|
|
69
|
-
msgstr ""
|
|
69
|
+
msgstr "Odpovedať"
|
|
70
70
|
|
|
71
71
|
msgctxt "The confirmation message shown after pressing the delete comment button."
|
|
72
72
|
msgid "Delete comment?"
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Albanian (https://app.transifex.com/ckeditor/teams/11143/sq/)\n"
|
|
16
|
+
"Language: sq\n"
|
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "The label for the comment editor."
|
|
20
|
+
msgid "Comment editor"
|
|
21
|
+
msgstr "Redaktuesi i komenteve"
|
|
22
|
+
|
|
23
|
+
msgctxt "The label for the number of comments."
|
|
24
|
+
msgid "NUMBER_OF_COMMENTS"
|
|
25
|
+
msgid_plural "%0 Comments"
|
|
26
|
+
msgstr[0] ""
|
|
27
|
+
msgstr[1] ""
|
|
28
|
+
|
|
29
|
+
msgctxt "The alert displayed for a comment that is too long."
|
|
30
|
+
msgid "TOO_LONG_COMMENT_ALERT"
|
|
31
|
+
msgstr ""
|
|
32
|
+
|
|
33
|
+
msgctxt "The placeholder for the reply field."
|
|
34
|
+
msgid "Reply..."
|
|
35
|
+
msgstr ""
|
|
36
|
+
|
|
37
|
+
msgctxt "The placeholder for the reply field when the comment thread is resolved."
|
|
38
|
+
msgid "Reply to reopen discussion..."
|
|
39
|
+
msgstr ""
|
|
40
|
+
|
|
41
|
+
msgctxt "The placeholder for the new commend field."
|
|
42
|
+
msgid "Write a comment..."
|
|
43
|
+
msgstr "Shkruaj një koment..."
|
|
44
|
+
|
|
45
|
+
msgctxt "The information that comment was made on element and has no context"
|
|
46
|
+
msgid "Comment was made on an element"
|
|
47
|
+
msgstr ""
|
|
48
|
+
|
|
49
|
+
msgctxt "The label for the button that enables editing a comment."
|
|
50
|
+
msgid "Edit"
|
|
51
|
+
msgstr ""
|
|
52
|
+
|
|
53
|
+
msgctxt "The label for the button that resolves a comment thread."
|
|
54
|
+
msgid "Resolve"
|
|
55
|
+
msgstr ""
|
|
56
|
+
|
|
57
|
+
msgctxt "The label for the button that reopens a resolved comment thread."
|
|
58
|
+
msgid "Reopen"
|
|
59
|
+
msgstr ""
|
|
60
|
+
|
|
61
|
+
msgctxt "The label for the button that deletes a comment."
|
|
62
|
+
msgid "Remove"
|
|
63
|
+
msgstr "Largo"
|
|
64
|
+
|
|
65
|
+
msgctxt "The label for for the button that adds a reply to a comment thread."
|
|
66
|
+
msgid "Reply"
|
|
67
|
+
msgstr ""
|
|
68
|
+
|
|
69
|
+
msgctxt "The confirmation message shown after pressing the delete comment button."
|
|
70
|
+
msgid "Delete comment?"
|
|
71
|
+
msgstr ""
|
|
72
|
+
|
|
73
|
+
msgctxt "The confirmation message shown after pressing the delete comment thread button."
|
|
74
|
+
msgid "Delete comment thread?"
|
|
75
|
+
msgstr ""
|
|
76
|
+
|
|
77
|
+
msgctxt "A message informing that the comment has been resolved"
|
|
78
|
+
msgid "Marked as resolved"
|
|
79
|
+
msgstr ""
|
|
80
|
+
|
|
81
|
+
msgctxt "The tooltip for the comment toolbar button and the button that submits a comment thread."
|
|
82
|
+
msgid "Comment"
|
|
83
|
+
msgstr ""
|
|
84
|
+
|
|
85
|
+
msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
|
|
86
|
+
msgid "PENDING_ACTION_COMMENT_THREAD"
|
|
87
|
+
msgstr ""
|
|
88
|
+
|
|
89
|
+
msgctxt "The additional information that comments comes from external source."
|
|
90
|
+
msgid "EXTERNAL_COMMENT"
|
|
91
|
+
msgstr ""
|
|
92
|
+
|
|
93
|
+
msgctxt "The additional information that comments comes from imported Word file."
|
|
94
|
+
msgid "EXTERNAL_IMPORT_WORD_COMMENT"
|
|
95
|
+
msgstr ""
|
|
96
|
+
|
|
97
|
+
msgctxt "The additional information that displayed author name comes from an external source."
|
|
98
|
+
msgid "EXTERNAL_AVATAR"
|
|
99
|
+
msgstr ""
|
|
100
|
+
|
|
101
|
+
msgctxt "The additional information that displayed author name comes from imported Word file."
|
|
102
|
+
msgid "EXTERNAL_IMPORT_WORD_AVATAR"
|
|
103
|
+
msgstr ""
|
|
104
|
+
|
|
105
|
+
msgctxt "The label for the comments archive dropdown UI."
|
|
106
|
+
msgid "COMMENTS_ARCHIVE"
|
|
107
|
+
msgstr ""
|
|
108
|
+
|
|
109
|
+
msgctxt "The information that comments archive is empty."
|
|
110
|
+
msgid "EMPTY_COMMENTS_ARCHIVE"
|
|
111
|
+
msgstr ""
|
package/package.json
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-comments",
|
|
3
|
-
"version": "38.
|
|
3
|
+
"version": "38.1.0",
|
|
4
4
|
"description": "Collaborative comments feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
7
|
+
"bugs": {
|
|
8
|
+
"url": "https://support.ckeditor.com/hc/en-us/requests/new"
|
|
9
|
+
},
|
|
7
10
|
"homepage": "https://ckeditor.com/collaboration/comments/",
|
|
8
11
|
"keywords": [
|
|
9
12
|
"CKEditor",
|
|
@@ -39,16 +42,15 @@
|
|
|
39
42
|
"ckeditor5-metadata.json",
|
|
40
43
|
"CHANGELOG.md"
|
|
41
44
|
],
|
|
42
|
-
"scripts": {
|
|
43
|
-
"dll:build": "webpack",
|
|
44
|
-
"build": "tsc -p ./tsconfig.json",
|
|
45
|
-
"postversion": "npm run build"
|
|
46
|
-
},
|
|
47
45
|
"dependencies": {
|
|
48
|
-
"ckeditor5": "
|
|
49
|
-
"ckeditor5-collaboration": "
|
|
46
|
+
"ckeditor5": "38.1.0",
|
|
47
|
+
"ckeditor5-collaboration": "38.1.0",
|
|
50
48
|
"lodash-es": "^4.17.11"
|
|
51
49
|
},
|
|
50
|
+
"engines": {
|
|
51
|
+
"node": ">=16.0.0",
|
|
52
|
+
"npm": ">=5.7.1"
|
|
53
|
+
},
|
|
52
54
|
"types": "src/index.d.ts",
|
|
53
55
|
"obfuscated": true
|
|
54
56
|
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1017=['filter','every','object','nodeType','mainView','remove','annotation-invalid-target','function','target','length','_type','type','_getNormalizedTarget','_target','_assertCorrectTarget','add','getClientRects','clear','updateTargetRect','isActive','render','item','focusableElements','focusTracker','set','targetRect','element','stopListening','view','isVisible'];(function(_0x571c0e,_0x101768){const _0x4c8dc4=function(_0x1fb7cc){while(--_0x1fb7cc){_0x571c0e['push'](_0x571c0e['shift']());}};_0x4c8dc4(++_0x101768);}(_0x1017,0x1d2));const _0x4c8d=function(_0x571c0e,_0x101768){_0x571c0e=_0x571c0e-0x0;let _0x4c8dc4=_0x1017[_0x571c0e];return _0x4c8dc4;};import{CKEditorError as _0x3cee42,Rect as _0x59c401,Collection as _0x253e52,ObservableMixin as _0x85e21b}from'ckeditor5/src/utils';export default class d extends _0x85e21b(){constructor({view:_0x2d1a65,target:_0x1f1fee,type:_0x28cc96,isVisible:_0x614c51=!0x0}){super(),this[_0x4c8d('0xc')]=_0x2d1a65,this['view'][_0x4c8d('0xa')]||this[_0x4c8d('0xc')][_0x4c8d('0x4')](),this[_0x4c8d('0x18')]=_0x28cc96,this['_target']=_0x1f1fee,d[_0x4c8d('0x1c')](this[_0x4c8d('0x1a')]()),this[_0x4c8d('0x6')]=new _0x253e52([this[_0x4c8d('0xc')]['element']],{'idProperty':'_id'}),this[_0x4c8d('0x6')]['on'](_0x4c8d('0x1d'),(_0x1b3ebc,_0x1d18b0)=>{this[_0x4c8d('0xc')][_0x4c8d('0x7')][_0x4c8d('0x1d')](_0x1d18b0);}),this[_0x4c8d('0x6')]['on'](_0x4c8d('0x13'),(_0x3e7f6b,_0x2f7354)=>{this['view']['focusTracker']['remove'](_0x2f7354);}),this[_0x4c8d('0x8')](_0x4c8d('0xd'),_0x614c51);}get[_0x4c8d('0x19')](){return _0x4c8d('0x15')==typeof this[_0x4c8d('0x18')]?this[_0x4c8d('0x18')]():this[_0x4c8d('0x18')];}get['innerView'](){return this[_0x4c8d('0xc')][_0x4c8d('0x12')];}get['target'](){const _0x3e8f1d=this[_0x4c8d('0x1a')]();return d[_0x4c8d('0x1c')](_0x3e8f1d),_0x3e8f1d;}get['targetRect'](){const _0x53dd64=this[_0x4c8d('0x16')];if(null===_0x53dd64)return null;if(_0x53dd64 instanceof _0x59c401)return _0x53dd64;const _0x252f6c=_0x53dd64[_0x4c8d('0xe')](_0x2c4d71=>function(_0x26113f){const _0x243d3f=_0x26113f['offsetParent'];if(_0x243d3f)return!0x0;const _0x480f00=_0x26113f[_0x4c8d('0x0')]()['item'](0x0);return!!_0x480f00;}(_0x2c4d71));return 0x0===_0x252f6c[_0x4c8d('0x17')]?null:new _0x59c401(_0x252f6c[0x0]['getClientRects']()[_0x4c8d('0x5')](0x0));}get[_0x4c8d('0x3')](){return this[_0x4c8d('0xc')][_0x4c8d('0x3')];}set[_0x4c8d('0x3')](_0x59f3d6){this[_0x4c8d('0xc')][_0x4c8d('0x3')]=_0x59f3d6,this['view'][_0x4c8d('0x12')][_0x4c8d('0x3')]=_0x59f3d6;}[_0x4c8d('0x2')](){this[_0x4c8d('0xc')][_0x4c8d('0x9')]=this[_0x4c8d('0x9')];}['destroy'](){this[_0x4c8d('0x6')][_0x4c8d('0xb')](),this['focusableElements'][_0x4c8d('0x1')](),this[_0x4c8d('0xb')]();}['refreshVisibility'](){this['isVisible']=!!this[_0x4c8d('0x9')];}static[_0x4c8d('0x1c')](_0x436876){if(!(null===_0x436876||_0x436876 instanceof _0x59c401||Array['isArray'](_0x436876)&&_0x436876[_0x4c8d('0xf')](_0x55b098=>y(_0x55b098))))throw new _0x3cee42(_0x4c8d('0x14'),null,{'target':_0x436876});}[_0x4c8d('0x1a')](){const _0x119115='function'==typeof this[_0x4c8d('0x1b')]?this[_0x4c8d('0x1b')]():this[_0x4c8d('0x1b')];return y(_0x119115)?[_0x119115]:_0x119115;}}function y(_0x23d6e4){return null!==_0x23d6e4&&_0x4c8d('0x10')==typeof _0x23d6e4&&_0x4c8d('0x11')in _0x23d6e4&&0x1===_0x23d6e4[_0x4c8d('0x11')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3f61=['change:isFocused','_getOrderInContent','getByInnerView','focusTracker','add','delete','_innerViewToAnnotation','focusableElements','_viewToAnnotation','has','clear','set','listenTo','updateTargetRect','remove','annotationcollection-not-existing-item','annotationcollection-duplicated-item','length','isFocused','focus','stopListening','_sort','sort','top','blur','get','left','targetRect','_focusTracker','view'];(function(_0x456261,_0x3f615e){const _0x5b07f6=function(_0x2c62e5){while(--_0x2c62e5){_0x456261['push'](_0x456261['shift']());}};_0x5b07f6(++_0x3f615e);}(_0x3f61,0x187));const _0x5b07=function(_0x456261,_0x3f615e){_0x456261=_0x456261-0x0;let _0x5b07f6=_0x3f61[_0x456261];return _0x5b07f6;};import{CKEditorError as _0x4527de,Collection as _0x320652,FocusTracker as _0xe0323d}from'ckeditor5/src/utils';export default class x extends _0x320652{constructor(_0x22d127=[]){super(),this[_0x5b07('0x5')]=new Map(),this[_0x5b07('0x7')]=new Map(),this['_focusTracker']=new _0xe0323d(),this[_0x5b07('0x1b')]['on'](_0x5b07('0x1d'),(_0x516174,_0x4fd536,_0x3167f9)=>{_0x3167f9||this['fire'](_0x5b07('0x17'));});for(const _0x664003 of _0x22d127)this[_0x5b07('0x3')](_0x664003);}get[_0x5b07('0x11')](){return this[_0x5b07('0x1b')]['isFocused'];}['add'](_0x298b10){if(this[_0x5b07('0x8')](_0x298b10))throw new _0x4527de(_0x5b07('0xf'),null);this['_innerViewToAnnotation'][_0x5b07('0xa')](_0x298b10['innerView'],_0x298b10),this[_0x5b07('0x7')][_0x5b07('0xa')](_0x298b10[_0x5b07('0x1c')],_0x298b10);for(const _0x480fc0 of _0x298b10['focusableElements'])this[_0x5b07('0x1b')][_0x5b07('0x3')](_0x480fc0);this[_0x5b07('0xb')](_0x298b10[_0x5b07('0x6')],_0x5b07('0x3'),(_0x421717,_0x37e18a)=>{this[_0x5b07('0x1b')]['add'](_0x37e18a);}),this[_0x5b07('0xb')](_0x298b10[_0x5b07('0x6')],_0x5b07('0xd'),(_0xc87293,_0x5eb134)=>{this[_0x5b07('0x1b')]['remove'](_0x5eb134);}),this['listenTo'](_0x298b10[_0x5b07('0x1c')][_0x5b07('0x2')],_0x5b07('0x1d'),(_0x146b9c,_0x1dadb1,_0x4560cd)=>{_0x4560cd&&this['fire'](_0x5b07('0x12'),_0x298b10);}),_0x298b10[_0x5b07('0xc')]();const _0x4e36f7=this[_0x5b07('0x0')](_0x298b10[_0x5b07('0x1c')]['targetRect']);return super[_0x5b07('0x3')](_0x298b10,_0x4e36f7);}['remove'](_0x1274ae){if(!this[_0x5b07('0x8')](_0x1274ae))throw new _0x4527de(_0x5b07('0xe'),null);this[_0x5b07('0x13')](_0x1274ae[_0x5b07('0x1c')][_0x5b07('0x2')]),this['stopListening'](_0x1274ae[_0x5b07('0x6')]);for(const _0x23ec91 of _0x1274ae[_0x5b07('0x6')])this[_0x5b07('0x1b')][_0x5b07('0xd')](_0x23ec91);return this['_viewToAnnotation'][_0x5b07('0x4')](_0x1274ae[_0x5b07('0x1c')]),this['_innerViewToAnnotation'][_0x5b07('0x4')](_0x1274ae['innerView']),super[_0x5b07('0xd')](_0x1274ae);}[_0x5b07('0x1')](_0xe697fe){return this['_innerViewToAnnotation'][_0x5b07('0x18')](_0xe697fe);}['getByView'](_0x3d8be9){return this[_0x5b07('0x7')][_0x5b07('0x18')](_0x3d8be9);}['destroy'](){super[_0x5b07('0x9')](),this[_0x5b07('0x13')](),this[_0x5b07('0x5')][_0x5b07('0x9')](),this[_0x5b07('0x7')]['clear'](),this[_0x5b07('0x1b')]['destroy']();}['refreshPositioning'](){for(const _0x153265 of this)_0x153265['updateTargetRect']();this['_sort']();}[_0x5b07('0x14')](){const _0x3fbc4d=Array['from'](this)[_0x5b07('0x15')]((_0x4242c0,_0x2a8dbc)=>v(_0x4242c0[_0x5b07('0x1c')][_0x5b07('0x1a')],_0x2a8dbc['view'][_0x5b07('0x1a')]));for(let _0x543ac9=_0x3fbc4d[_0x5b07('0x10')]-0x1;_0x543ac9>0x0;_0x543ac9--){const _0x2fa871=_0x3fbc4d[_0x543ac9];_0x543ac9!==this['getIndex'](_0x2fa871)&&(this[_0x5b07('0xd')](_0x2fa871),this[_0x5b07('0x3')](_0x2fa871));}}[_0x5b07('0x0')](_0x53af32){let _0x531b64=0x0;if(!_0x53af32)return this[_0x5b07('0x10')];for(const _0x133aed of this){const _0x353d02=_0x133aed[_0x5b07('0x1c')][_0x5b07('0x1a')];if(_0x353d02){if(v(_0x53af32,_0x353d02)<0x0)return _0x531b64;_0x531b64++;}}return _0x531b64;}}export function bindAnnotationCollections({source:_0x59fdc6,target:_0x43d254,filter:_0x8715f}){for(const _0x2d2da7 of _0x59fdc6)_0x8715f(_0x2d2da7)&&_0x43d254['add'](_0x2d2da7);_0x43d254[_0x5b07('0xb')](_0x59fdc6,_0x5b07('0x3'),(_0x39fded,_0x183034)=>{_0x8715f(_0x183034)&&_0x43d254[_0x5b07('0x3')](_0x183034);}),_0x43d254[_0x5b07('0xb')](_0x59fdc6,'remove',(_0x2b9ca4,_0x3f91d1)=>{_0x43d254['has'](_0x3f91d1)&&_0x43d254[_0x5b07('0xd')](_0x3f91d1);});}function v(_0x4946d3,_0x4e7714){if(null===_0x4946d3&&null===_0x4e7714)return 0x0;if(null===_0x4946d3)return-0x1;if(null===_0x4e7714)return 0x1;const _0x49e40d=_0x4946d3[_0x5b07('0x16')]-_0x4e7714[_0x5b07('0x16')];return 0x0==_0x49e40d?_0x4946d3[_0x5b07('0x19')]-_0x4e7714['left']:_0x49e40d;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2be5=['activeAnnotations','change:isVisible','refreshVisibility','has','add','_bindAnnotationsToVisibleAnnotations','collection','getByInnerView','source','focusTracker','delete','activate','isVisible','_visibleAnnotations','Annotations','refreshPositioning','listenTo','remove','view','createAnnotationView','stopListening','_deactivateAllAnnotations','createAnnotation','destroy','_activateAnnotation','fire','element'];(function(_0x356176,_0x2be5e7){const _0x4fd0f4=function(_0x43e435){while(--_0x43e435){_0x356176['push'](_0x356176['shift']());}};_0x4fd0f4(++_0x2be5e7);}(_0x2be5,0x144));const _0x4fd0=function(_0x356176,_0x2be5e7){_0x356176=_0x356176-0x0;let _0x4fd0f4=_0x2be5[_0x356176];return _0x4fd0f4;};import{ContextPlugin as _0x4ea427}from'ckeditor5/src/core';import _0x2eeece from'./annotation';import _0x4afb55 from'./annotationcollection';import _0x421896 from'./view/annotationview';export default class b extends _0x4ea427{static get['pluginName'](){return _0x4fd0('0xe');}constructor(_0x74ec50){super(_0x74ec50),this[_0x4fd0('0x6')]=new _0x4afb55(),this[_0x4fd0('0xd')]=new _0x4afb55(),this['set'](_0x4fd0('0x0'),new Set()),this[_0x4fd0('0x5')]();}[_0x4fd0('0x4')](_0x28947c){this[_0x4fd0('0x6')]['add'](_0x28947c);}[_0x4fd0('0x11')](_0x335d07){this[_0x4fd0('0x6')][_0x4fd0('0x11')](_0x335d07),_0x335d07[_0x4fd0('0x17')]();}[_0x4fd0('0x2')](){for(const _0x59dea7 of this[_0x4fd0('0x6')])_0x59dea7['refreshVisibility']();}[_0x4fd0('0xf')](){this[_0x4fd0('0xd')][_0x4fd0('0xf')]();}[_0x4fd0('0x7')](_0x11d2e0){return this[_0x4fd0('0x6')][_0x4fd0('0x7')](_0x11d2e0);}['deactivateAll'](){this[_0x4fd0('0x19')](_0x4fd0('0x15'));}['destroy'](){for(const _0x1f286e of this['collection'])_0x1f286e['destroy']();this[_0x4fd0('0xd')][_0x4fd0('0x17')](),this[_0x4fd0('0x6')][_0x4fd0('0x17')](),super['destroy']();}[_0x4fd0('0xb')](_0x23d5d2){this['fire'](_0x4fd0('0x18'),_0x23d5d2);}[_0x4fd0('0x16')](_0x3f2f48){return new _0x2eeece(_0x3f2f48);}[_0x4fd0('0x13')](_0x3548ba,_0x49f93c){return new _0x421896(_0x3548ba,_0x49f93c);}['_addActiveAnnotation'](_0x3d8fcf){const _0x10b582=new Set(this[_0x4fd0('0x0')]);_0x10b582['add'](_0x3d8fcf),this[_0x4fd0('0x0')]=_0x10b582;}['_removeActiveAnnotation'](_0x266c2b){const _0x32006f=new Set(this[_0x4fd0('0x0')]);_0x32006f[_0x4fd0('0xa')](_0x266c2b),this[_0x4fd0('0x0')]=_0x32006f;}[_0x4fd0('0x5')](){const _0x333502=this[_0x4fd0('0x6')],_0x17471c=this[_0x4fd0('0xd')];function _0x44ec2d(_0x1a26ac){const _0x6d3d68=_0x1a26ac[_0x4fd0('0x8')];_0x6d3d68[_0x4fd0('0xc')]&&!_0x17471c[_0x4fd0('0x3')](_0x6d3d68)?_0x17471c[_0x4fd0('0x4')](_0x6d3d68):!_0x6d3d68[_0x4fd0('0xc')]&&_0x17471c[_0x4fd0('0x3')](_0x6d3d68)&&_0x17471c[_0x4fd0('0x11')](_0x6d3d68),_0x6d3d68['view'][_0x4fd0('0x9')]['remove'](_0x6d3d68[_0x4fd0('0x12')][_0x4fd0('0x1a')]),_0x6d3d68[_0x4fd0('0x12')][_0x4fd0('0x9')]['add'](_0x6d3d68['view']['element']);}this[_0x4fd0('0x10')](_0x333502,_0x4fd0('0x4'),(_0x8755a6,_0x4593e7)=>{_0x4593e7[_0x4fd0('0xc')]&&_0x17471c[_0x4fd0('0x4')](_0x4593e7),this[_0x4fd0('0x10')](_0x4593e7,_0x4fd0('0x1'),_0x44ec2d);}),this[_0x4fd0('0x10')](_0x333502,_0x4fd0('0x11'),(_0x58fda2,_0x3c4a8a)=>{_0x17471c[_0x4fd0('0x3')](_0x3c4a8a)&&_0x17471c[_0x4fd0('0x11')](_0x3c4a8a),this[_0x4fd0('0x14')](_0x3c4a8a,'change:isVisible',_0x44ec2d);});}}
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
* @module comments/annotations/annotationsuis
|
|
3
3
|
* @publicApi
|
|
4
4
|
*/
|
|
5
|
-
import { ContextPlugin, type Plugin, type
|
|
5
|
+
import { ContextPlugin, type Plugin, type Editor, type Context } from 'ckeditor5/src/core';
|
|
6
6
|
import { type Emitter } from 'ckeditor5/src/utils';
|
|
7
7
|
import AnnotationCollection from './annotationcollection';
|
|
8
|
+
import Annotations from './annotations';
|
|
8
9
|
import type Annotation from './annotation';
|
|
9
10
|
/**
|
|
10
11
|
* A repository of annotations UIs.
|
|
@@ -56,11 +57,11 @@ export default class AnnotationsUIs extends ContextPlugin {
|
|
|
56
57
|
/**
|
|
57
58
|
* @inheritDoc
|
|
58
59
|
*/
|
|
59
|
-
static get requires():
|
|
60
|
+
static get requires(): readonly [typeof Annotations];
|
|
60
61
|
/**
|
|
61
62
|
* @inheritDoc
|
|
62
63
|
*/
|
|
63
|
-
static get pluginName():
|
|
64
|
+
static get pluginName(): "AnnotationsUIs";
|
|
64
65
|
/**
|
|
65
66
|
* @inheritDoc
|
|
66
67
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x35c6=['_addActiveAnnotation','AnnotationsUIs','has','pluginName','annotationsuis-missing-ui','attach','init','deactivate','function','add','_uisData','destroy','get','collection','annotationsuis-register-invalid-interface','stopListening','hasActive','register','requires','deactivateAll','listenTo','_uis','_setSelectedAnnotations','set','isActive','activate','push','annotationsuis-annotation-mismatch','setActiveAnnotation','plugins','type','delete','_assertAnnotationDoesNotBelongToMultipleUIs','from','context','activeAnnotations','change:activeAnnotation','size','_removeActiveAnnotation','find','refilterAnnotations','annotationsuis-register-already-registered','detach','activeUIs'];(function(_0x1067c9,_0x35c6d4){const _0x4c5668=function(_0x1b8aa0){while(--_0x1b8aa0){_0x1067c9['push'](_0x1067c9['shift']());}};_0x4c5668(++_0x35c6d4);}(_0x35c6,0xa8));const _0x4c56=function(_0x1067c9,_0x35c6d4){_0x1067c9=_0x1067c9-0x0;let _0x4c5668=_0x35c6[_0x1067c9];return _0x4c5668;};import{ContextPlugin as _0x58ad58}from'ckeditor5/src/core';import{CKEditorError as _0x14be17}from'ckeditor5/src/utils';import _0x10e232,{bindAnnotationCollections as _0x37865e}from'./annotationcollection';import _0x5c8203 from'./annotations';export default class M extends _0x58ad58{static get[_0x4c56('0x1a')](){return[_0x5c8203];}static get[_0x4c56('0xb')](){return _0x4c56('0x9');}constructor(_0x520ac1){super(_0x520ac1),this[_0x4c56('0x7')]=new Set(),this['_uis']=new Map(),this[_0x4c56('0x12')]=new Map();}[_0x4c56('0xe')](){const _0x26b9a7=this[_0x4c56('0x2a')][_0x4c56('0x25')]['get'](_0x5c8203);this['listenTo'](_0x26b9a7,'_activateAnnotation',(_0x4ba91e,_0x1a9483)=>{for(const _0x4e65fe of this[_0x4c56('0x7')]){const _0x27fba1=this[_0x4c56('0x1d')]['get'](_0x4e65fe);(0x0,this[_0x4c56('0x12')][_0x4c56('0x14')](_0x4e65fe)['filter'])(_0x1a9483)&&_0x27fba1[_0x4c56('0x24')](_0x1a9483);}}),this['listenTo'](_0x26b9a7,'_deactivateAllAnnotations',()=>{for(const _0x1b287b of this[_0x4c56('0x7')]){this[_0x4c56('0x1d')][_0x4c56('0x14')](_0x1b287b)[_0x4c56('0x24')](null);}}),this[_0x4c56('0x1c')](_0x26b9a7['_visibleAnnotations'],_0x4c56('0x11'),(_0x43fc90,_0x5640b9)=>{this[_0x4c56('0x28')](_0x5640b9);});}[_0x4c56('0x18')](){return this[_0x4c56('0x7')][_0x4c56('0x1')]>0x0;}[_0x4c56('0x20')](_0x3379c0){return this[_0x4c56('0x7')][_0x4c56('0xa')](_0x3379c0);}[_0x4c56('0x21')](_0x3a7e3f,_0x5217a4=()=>!0x0){const _0x3c3b85=this['context']['plugins'][_0x4c56('0x14')](_0x5c8203);if(!this['_uis']['has'](_0x3a7e3f))throw new _0x14be17(_0x4c56('0xc'),this,{'uiName':_0x3a7e3f});this[_0x4c56('0x20')](_0x3a7e3f)&&this[_0x4c56('0xf')](_0x3a7e3f),this[_0x4c56('0x7')][_0x4c56('0x11')](_0x3a7e3f);const _0x5e2157=new _0x10e232(),_0x2ffc07=_0x3c3b85['_visibleAnnotations'];_0x37865e({'source':_0x2ffc07,'target':_0x5e2157,'filter':_0x5217a4}),this[_0x4c56('0x12')][_0x4c56('0x1f')](_0x3a7e3f,{'collection':_0x5e2157,'filter':_0x5217a4});const _0x2738c4=this[_0x4c56('0x1d')][_0x4c56('0x14')](_0x3a7e3f);_0x2738c4[_0x4c56('0xd')](_0x5e2157),this[_0x4c56('0x1c')](_0x2738c4,_0x4c56('0x0'),(_0x5ab60e,_0x24f319,_0x49aabe,_0x3439ad)=>{_0x3439ad&&_0x3c3b85[_0x4c56('0x2')](_0x3439ad),_0x49aabe&&_0x3c3b85[_0x4c56('0x8')](_0x49aabe);});}[_0x4c56('0xf')](_0x663e70){if(this[_0x4c56('0x7')][_0x4c56('0x27')](_0x663e70),!this[_0x4c56('0x1d')][_0x4c56('0xa')](_0x663e70))throw new _0x14be17('annotationsuis-missing-ui',this,{'uiName':_0x663e70});const _0x2750e4=this[_0x4c56('0x1d')][_0x4c56('0x14')](_0x663e70);_0x2750e4[_0x4c56('0x6')](),this[_0x4c56('0x17')](_0x2750e4),this[_0x4c56('0x12')][_0x4c56('0x14')](_0x663e70)[_0x4c56('0x15')][_0x4c56('0x13')](),this[_0x4c56('0x12')][_0x4c56('0x27')](_0x663e70);}['switchTo'](_0x131ba4){if(!this[_0x4c56('0x1d')]['has'](_0x131ba4))throw new _0x14be17(_0x4c56('0xc'),this,{'uiName':_0x131ba4});const _0x3d5220=this['context'][_0x4c56('0x25')][_0x4c56('0x14')](_0x5c8203),_0x234eda=Array[_0x4c56('0x29')](_0x3d5220[_0x4c56('0x2b')])[0x0]||null;this[_0x4c56('0x1b')](),this[_0x4c56('0x21')](_0x131ba4);const _0x4a6d59=this[_0x4c56('0x1d')][_0x4c56('0x14')](_0x131ba4);_0x4a6d59['setActiveAnnotation'](_0x234eda),_0x4a6d59[_0x4c56('0x1e')]&&_0x234eda&&_0x4a6d59[_0x4c56('0x1e')]([_0x234eda]);}['deactivateAll'](){for(const _0x6c1198 of this[_0x4c56('0x7')])this[_0x4c56('0xf')](_0x6c1198);}[_0x4c56('0x19')](_0x5dc3c9,_0x300198){if(this[_0x4c56('0x1d')][_0x4c56('0xa')](_0x5dc3c9))throw new _0x14be17(_0x4c56('0x5'));if('function'!=typeof _0x300198['attach']||'function'!=typeof _0x300198[_0x4c56('0x6')]||_0x4c56('0x10')!=typeof _0x300198['setActiveAnnotation'])throw new _0x14be17(_0x4c56('0x16'),null);this[_0x4c56('0x1d')]['set'](_0x5dc3c9,_0x300198);}[_0x4c56('0x4')](){const _0x7f77db=this[_0x4c56('0x2a')][_0x4c56('0x25')][_0x4c56('0x14')](_0x5c8203)[_0x4c56('0x15')],_0x50d137=new Map(),_0x3402c1=Array[_0x4c56('0x29')](this[_0x4c56('0x7')]);for(const _0x325279 of this['activeUIs']){const _0x49ebc9=this[_0x4c56('0x12')]['get'](_0x325279)[_0x4c56('0x15')];for(const _0x16a67f of _0x49ebc9)_0x50d137[_0x4c56('0x1f')](_0x16a67f,_0x325279);}for(const _0x1d58fe of _0x7f77db){const _0x3273ae=_0x50d137[_0x4c56('0x14')](_0x1d58fe);this[_0x4c56('0x28')](_0x1d58fe);const _0x517691=_0x3402c1[_0x4c56('0x3')](_0x1d3581=>this['_uisData'][_0x4c56('0x14')](_0x1d3581)['filter'](_0x1d58fe));_0x3273ae!==_0x517691&&(_0x3273ae&&this[_0x4c56('0x12')]['get'](_0x3273ae)['collection']['remove'](_0x1d58fe),_0x517691&&this[_0x4c56('0x12')][_0x4c56('0x14')](_0x517691)[_0x4c56('0x15')][_0x4c56('0x11')](_0x1d58fe));}}['destroy'](){this[_0x4c56('0x1b')](),super[_0x4c56('0x13')]();}[_0x4c56('0x28')](_0x5cad45){const _0x487955=[];for(const _0x3f2ce3 of this[_0x4c56('0x7')]){(0x0,this[_0x4c56('0x12')][_0x4c56('0x14')](_0x3f2ce3)['filter'])(_0x5cad45)&&_0x487955[_0x4c56('0x22')](_0x3f2ce3);}if(_0x487955['length']>0x1)throw new _0x14be17(_0x4c56('0x23'),null,{'matchedUIs':_0x487955,'annotationType':_0x5cad45[_0x4c56('0x26')]});}}
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* @module comments/annotations/editorannotations
|
|
3
3
|
* @publicApi
|
|
4
4
|
*/
|
|
5
|
-
import { Plugin, type
|
|
5
|
+
import { Plugin, type Editor } from 'ckeditor5/src/core';
|
|
6
|
+
import Annotations from './annotations';
|
|
6
7
|
import type Annotation from './annotation';
|
|
7
8
|
import type AnnotationCollection from './annotationcollection';
|
|
8
9
|
/**
|
|
@@ -22,11 +23,11 @@ export default class EditorAnnotations extends Plugin {
|
|
|
22
23
|
/**
|
|
23
24
|
* @inheritDoc
|
|
24
25
|
*/
|
|
25
|
-
static get requires():
|
|
26
|
+
static get requires(): readonly [typeof Annotations];
|
|
26
27
|
/**
|
|
27
28
|
* @inheritDoc
|
|
28
29
|
*/
|
|
29
|
-
static get pluginName():
|
|
30
|
+
static get pluginName(): "EditorAnnotations";
|
|
30
31
|
/**
|
|
31
32
|
* @inheritDoc
|
|
32
33
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1614=['isCollapsed','change:isFocused','uiUpdate','editorannotations-invalid-source-callback','view','annotation','has','directChange','listenTo','add','remove','delete','from','document','cancel','range','change:range','fire','isReadOnly','pluginName','containsRange','_editorAnnotations','addSourceCollector','selection','requires','push','editing','isEqual','focusTracker','_editorAnnotationsData','update','innerView','registerAnnotation','refreshSelectedViews','collection','getRanges','map','editor','plugins','model','element','set','hasDomSelection','init','sort','blur','_dataCollectors'];(function(_0xbd48ee,_0x1614fe){const _0x52d83b=function(_0x4b7d42){while(--_0x4b7d42){_0xbd48ee['push'](_0xbd48ee['shift']());}};_0x52d83b(++_0x1614fe);}(_0x1614,0x95));const _0x52d8=function(_0xbd48ee,_0x1614fe){_0xbd48ee=_0xbd48ee-0x0;let _0x52d83b=_0x1614[_0xbd48ee];return _0x52d83b;};import{Plugin as _0x47fa28}from'ckeditor5/src/core';import{CKEditorError as _0x47250c}from'ckeditor5/src/utils';import{debounce as _0x1dab99}from'lodash-es';import _0x2b0ba4 from'./annotations';export default class k extends _0x47fa28{static get[_0x52d8('0x10')](){return[_0x2b0ba4];}static get[_0x52d8('0xb')](){return'EditorAnnotations';}constructor(_0x247029){super(_0x247029),this['_dataCollectors']=new Set(),this[_0x52d8('0xd')]=new Set();}[_0x52d8('0x23')](){const _0x2e0e09=this['editor'],_0x25da80=_0x2e0e09[_0x52d8('0x1f')][_0x52d8('0x5')][_0x52d8('0xf')],_0x29bb7f=_0x1dab99(()=>this['refreshSelectedViews'](),0xa);_0x25da80['on'](_0x52d8('0x8'),(_0x25c16f,_0x1bac87)=>{_0x1bac87[_0x52d8('0x2e')]&&(_0x29bb7f[_0x52d8('0x6')](),this[_0x52d8('0x19')]());}),this[_0x52d8('0x0')](_0x2e0e09[_0x52d8('0x12')][_0x52d8('0x2b')][_0x52d8('0x5')],_0x52d8('0x28'),(_0x263ab5,_0x2a9de7,_0x30f865)=>{_0x30f865&&_0x29bb7f();}),this[_0x52d8('0x0')](_0x2e0e09['ui'][_0x52d8('0x14')],'change:isFocused',(_0x3a33e2,_0x247629,_0x172467)=>{_0x172467||_0x2e0e09[_0x52d8('0xa')]||this[_0x52d8('0x9')](_0x52d8('0x25'),{'isAnnotationTracked':_0x1fee9f=>this[_0x52d8('0x15')][_0x52d8('0x2d')](_0x1fee9f[_0x52d8('0x17')])});}),this['listenTo'](this[_0x52d8('0x1d')]['ui'],_0x52d8('0x16'),()=>this[_0x52d8('0x9')](_0x52d8('0x29')));}[_0x52d8('0x18')](_0x49fc1c){if(this['_editorAnnotations'][_0x52d8('0x2d')](_0x49fc1c[_0x52d8('0x2b')]))return;this[_0x52d8('0xd')]['add'](_0x49fc1c['view']),this[_0x52d8('0x1d')]['ui'][_0x52d8('0x14')][_0x52d8('0x1')](_0x49fc1c[_0x52d8('0x2b')][_0x52d8('0x20')]);const _0x137e23=this[_0x52d8('0x1d')][_0x52d8('0x1e')]['get'](_0x2b0ba4);this[_0x52d8('0x0')](_0x137e23[_0x52d8('0x1a')],'remove',(_0xdc57c0,_0x376087)=>{this[_0x52d8('0x1d')]['ui'][_0x52d8('0x14')][_0x52d8('0x2')](_0x376087[_0x52d8('0x2b')]['element']),this[_0x52d8('0xd')][_0x52d8('0x3')](_0x376087['view']);});}[_0x52d8('0x22')](){return this['editor']['editing']['view'][_0x52d8('0x22')];}[_0x52d8('0xe')](_0x4a4032){if('function'!=typeof _0x4a4032)throw new _0x47250c(_0x52d8('0x2a'));this[_0x52d8('0x26')][_0x52d8('0x1')](_0x4a4032);}[_0x52d8('0x19')](){this['fire']('refresh');}['getOrderedSelectedAnnotations']({activeAnnotation:_0x37804e,annotations:_0x305138}){const _0x4af3f6=[],_0x51b232=this[_0x52d8('0x1d')][_0x52d8('0x1f')][_0x52d8('0x5')][_0x52d8('0xf')],_0x226aba=Array[_0x52d8('0x4')](_0x51b232[_0x52d8('0x1b')]());for(const [_0x295ec4,_0xc3222b]of this[_0x52d8('0x15')]){const _0x262f2d=_0x3350e1(_0xc3222b),_0x15ba0b=_0x305138['getByInnerView'](_0x295ec4);_0x262f2d&&_0x15ba0b&&_0x4af3f6[_0x52d8('0x11')]({'annotation':_0x15ba0b,'range':_0x262f2d});}function _0x3350e1(_0x2190e1){for(const _0x9d02b9 of _0x2190e1)for(const _0x5a8bb5 of _0x226aba)if(_0x9d02b9['containsRange'](_0x5a8bb5,!_0x51b232[_0x52d8('0x27')]))return _0x9d02b9;return null;}return _0x4af3f6[_0x52d8('0x24')]((_0x4ad68f,_0x43c0b4)=>{const _0x1ca454=_0x4ad68f[_0x52d8('0x7')],_0x34e822=_0x43c0b4[_0x52d8('0x7')];if(!_0x1ca454[_0x52d8('0x13')](_0x34e822)){if(_0x1ca454['containsRange'](_0x34e822,!0x0))return 0x1;if(_0x34e822[_0x52d8('0xc')](_0x1ca454,!0x0))return-0x1;}return _0x4ad68f[_0x52d8('0x2c')]==_0x37804e?-0x1:_0x43c0b4[_0x52d8('0x2c')]==_0x37804e?0x1:0x0;})[_0x52d8('0x1c')](_0x34aab0=>_0x34aab0[_0x52d8('0x2c')]);}get[_0x52d8('0x15')](){const _0x45d1ca=new Map();for(const _0x53dc34 of Array[_0x52d8('0x4')](this[_0x52d8('0x26')]))for(const [_0x102106,_0x1db288]of _0x53dc34())_0x45d1ca[_0x52d8('0x21')](_0x102106,_0x1db288);return _0x45d1ca;}}
|
|
@@ -2,8 +2,10 @@
|
|
|
2
2
|
* @module comments/annotations/inlineannotations
|
|
3
3
|
* @publicApi
|
|
4
4
|
*/
|
|
5
|
-
import { Plugin, type
|
|
6
|
-
import { type AnnotationsUI } from './annotationsuis';
|
|
5
|
+
import { Plugin, type Editor } from 'ckeditor5/src/core';
|
|
6
|
+
import AnnotationsUIs, { type AnnotationsUI } from './annotationsuis';
|
|
7
|
+
import EditorAnnotations from './editorannotations';
|
|
8
|
+
import { ContextualBalloon } from 'ckeditor5/src/ui';
|
|
7
9
|
import './../../theme/annotation-inline.css';
|
|
8
10
|
import type Annotation from './annotation';
|
|
9
11
|
import type AnnotationCollection from './annotationcollection';
|
|
@@ -48,11 +50,11 @@ export default class InlineAnnotations extends Plugin implements AnnotationsUI<P
|
|
|
48
50
|
/**
|
|
49
51
|
* @inheritDoc
|
|
50
52
|
*/
|
|
51
|
-
static get requires():
|
|
53
|
+
static get requires(): readonly [typeof EditorAnnotations, typeof ContextualBalloon, typeof AnnotationsUIs];
|
|
52
54
|
/**
|
|
53
55
|
* @inheritDoc
|
|
54
56
|
*/
|
|
55
|
-
static get pluginName():
|
|
57
|
+
static get pluginName(): "InlineAnnotations";
|
|
56
58
|
/**
|
|
57
59
|
* @inheritDoc
|
|
58
60
|
*/
|