@ckeditor/ckeditor5-comments 38.0.1 → 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.
Files changed (71) hide show
  1. package/build/comments.js +1 -1
  2. package/build/translations/en-au.js +1 -1
  3. package/build/translations/it.js +1 -1
  4. package/build/translations/lv.js +1 -1
  5. package/build/translations/pt-br.js +1 -1
  6. package/build/translations/sk.js +1 -1
  7. package/build/translations/sq.js +1 -0
  8. package/lang/translations/en-au.po +1 -1
  9. package/lang/translations/it.po +1 -1
  10. package/lang/translations/lv.po +1 -1
  11. package/lang/translations/pt-br.po +1 -1
  12. package/lang/translations/sk.po +1 -1
  13. package/lang/translations/sq.po +111 -0
  14. package/package.json +10 -8
  15. package/src/annotations/annotation.js +1 -1
  16. package/src/annotations/annotationcollection.js +1 -1
  17. package/src/annotations/annotations.d.ts +1 -1
  18. package/src/annotations/annotations.js +1 -1
  19. package/src/annotations/annotationsuis.d.ts +4 -3
  20. package/src/annotations/annotationsuis.js +1 -1
  21. package/src/annotations/editorannotations.d.ts +4 -3
  22. package/src/annotations/editorannotations.js +1 -1
  23. package/src/annotations/inlineannotations.d.ts +6 -4
  24. package/src/annotations/inlineannotations.js +1 -1
  25. package/src/annotations/narrowsidebar.d.ts +6 -5
  26. package/src/annotations/narrowsidebar.js +1 -1
  27. package/src/annotations/sidebar.d.ts +1 -1
  28. package/src/annotations/sidebar.js +1 -1
  29. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  30. package/src/annotations/view/annotationview.js +1 -1
  31. package/src/annotations/view/sidebaritemview.js +1 -1
  32. package/src/annotations/view/sidebarview.js +1 -1
  33. package/src/annotations/widesidebar.d.ts +6 -5
  34. package/src/annotations/widesidebar.js +1 -1
  35. package/src/comments/addcommentthreadcommand.js +1 -1
  36. package/src/comments/commentsarchive.d.ts +6 -4
  37. package/src/comments/commentsarchive.js +1 -1
  38. package/src/comments/commentsarchiveui.d.ts +6 -4
  39. package/src/comments/commentsarchiveui.js +1 -1
  40. package/src/comments/commentsediting.d.ts +7 -3
  41. package/src/comments/commentsediting.js +1 -1
  42. package/src/comments/commentsrepository.d.ts +9 -5
  43. package/src/comments/commentsrepository.js +1 -1
  44. package/src/comments/commentsui.d.ts +7 -3
  45. package/src/comments/commentsui.js +1 -1
  46. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  47. package/src/comments/integrations/importword.js +1 -1
  48. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  49. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  50. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  51. package/src/comments/ui/commentthreadcontroller.d.ts +1 -1
  52. package/src/comments/ui/commentthreadcontroller.js +1 -1
  53. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  54. package/src/comments/ui/view/basecommentview.js +1 -1
  55. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  56. package/src/comments/ui/view/commentcontentview.js +1 -1
  57. package/src/comments/ui/view/commentinputview.js +1 -1
  58. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  59. package/src/comments/ui/view/commentslistview.js +1 -1
  60. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  61. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  62. package/src/comments/ui/view/commentthreadview.js +1 -1
  63. package/src/comments/ui/view/commentview.js +1 -1
  64. package/src/comments.d.ts +12 -3
  65. package/src/comments.js +1 -1
  66. package/src/commentsonly.d.ts +4 -3
  67. package/src/commentsonly.js +1 -1
  68. package/src/index.d.ts +3 -1
  69. package/src/index.js +1 -1
  70. package/src/utils/common-translations.js +1 -1
  71. 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={}));
@@ -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={}));
@@ -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={}));
@@ -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?"
@@ -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?"
@@ -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?"
@@ -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.0.1",
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": "^38.0.1",
49
- "ckeditor5-collaboration": "^38.0.1",
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 _0x12b6=['_assertCorrectTarget','_id','view','focusTracker','element','isArray','set','annotation-invalid-target','add','isVisible','stopListening','render','target','destroy','_target','every','length','targetRect','updateTargetRect','isActive','getClientRects','offsetParent','_type','clear','refreshVisibility','type','_getNormalizedTarget','focusableElements','filter','nodeType','object','function','item','mainView','remove'];(function(_0x5de36c,_0x12b680){const _0x49a0dc=function(_0x389b50){while(--_0x389b50){_0x5de36c['push'](_0x5de36c['shift']());}};_0x49a0dc(++_0x12b680);}(_0x12b6,0x1ee));const _0x49a0=function(_0x5de36c,_0x12b680){_0x5de36c=_0x5de36c-0x0;let _0x49a0dc=_0x12b6[_0x5de36c];return _0x49a0dc;};import{CKEditorError as _0x3a18d8,Rect as _0x3409ee,Collection as _0x52e967,ObservableMixin as _0x1c1938}from'ckeditor5/src/utils';export default class d extends _0x1c1938(){constructor({view:_0x3f9b37,target:_0x4df7d0,type:_0x212c57,isVisible:_0x1e54e1=!0x0}){super(),this[_0x49a0('0x21')]=_0x3f9b37,this[_0x49a0('0x21')][_0x49a0('0x0')]||this[_0x49a0('0x21')][_0x49a0('0x7')](),this[_0x49a0('0x12')]=_0x212c57,this[_0x49a0('0xa')]=_0x4df7d0,d[_0x49a0('0x1f')](this[_0x49a0('0x16')]()),this[_0x49a0('0x17')]=new _0x52e967([this['view']['element']],{'idProperty':_0x49a0('0x20')}),this['focusableElements']['on']('add',(_0x459142,_0x23f858)=>{this['view'][_0x49a0('0x22')][_0x49a0('0x4')](_0x23f858);}),this[_0x49a0('0x17')]['on'](_0x49a0('0x1e'),(_0x1d6f17,_0x19cf96)=>{this[_0x49a0('0x21')][_0x49a0('0x22')]['remove'](_0x19cf96);}),this[_0x49a0('0x2')](_0x49a0('0x5'),_0x1e54e1);}get[_0x49a0('0x15')](){return _0x49a0('0x1b')==typeof this[_0x49a0('0x12')]?this[_0x49a0('0x12')]():this[_0x49a0('0x12')];}get['innerView'](){return this['view'][_0x49a0('0x1d')];}get[_0x49a0('0x8')](){const _0x5ec695=this[_0x49a0('0x16')]();return d[_0x49a0('0x1f')](_0x5ec695),_0x5ec695;}get[_0x49a0('0xd')](){const _0x2df38e=this['target'];if(null===_0x2df38e)return null;if(_0x2df38e instanceof _0x3409ee)return _0x2df38e;const _0x41caf6=_0x2df38e[_0x49a0('0x18')](_0x5f08b3=>function(_0x22cad7){const _0x329101=_0x22cad7[_0x49a0('0x11')];if(_0x329101)return!0x0;const _0xa8d700=_0x22cad7[_0x49a0('0x10')]()[_0x49a0('0x1c')](0x0);return!!_0xa8d700;}(_0x5f08b3));return 0x0===_0x41caf6[_0x49a0('0xc')]?null:new _0x3409ee(_0x41caf6[0x0]['getClientRects']()[_0x49a0('0x1c')](0x0));}get[_0x49a0('0xf')](){return this[_0x49a0('0x21')]['isActive'];}set[_0x49a0('0xf')](_0x954b48){this[_0x49a0('0x21')]['isActive']=_0x954b48,this[_0x49a0('0x21')]['mainView'][_0x49a0('0xf')]=_0x954b48;}[_0x49a0('0xe')](){this[_0x49a0('0x21')][_0x49a0('0xd')]=this['targetRect'];}[_0x49a0('0x9')](){this[_0x49a0('0x17')][_0x49a0('0x6')](),this[_0x49a0('0x17')][_0x49a0('0x13')](),this[_0x49a0('0x6')]();}[_0x49a0('0x14')](){this[_0x49a0('0x5')]=!!this['targetRect'];}static[_0x49a0('0x1f')](_0x15f91b){if(!(null===_0x15f91b||_0x15f91b instanceof _0x3409ee||Array[_0x49a0('0x1')](_0x15f91b)&&_0x15f91b[_0x49a0('0xb')](_0x1456b4=>y(_0x1456b4))))throw new _0x3a18d8(_0x49a0('0x3'),null,{'target':_0x15f91b});}[_0x49a0('0x16')](){const _0x1b9c13=_0x49a0('0x1b')==typeof this[_0x49a0('0xa')]?this[_0x49a0('0xa')]():this['_target'];return y(_0x1b9c13)?[_0x1b9c13]:_0x1b9c13;}}function y(_0x5c4b6d){return null!==_0x5c4b6d&&_0x49a0('0x1a')==typeof _0x5c4b6d&&_0x49a0('0x19')in _0x5c4b6d&&0x1===_0x5c4b6d[_0x49a0('0x19')];}
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 _0x1708=['has','top','getByView','updateTargetRect','delete','_focusTracker','change:isFocused','focusTracker','from','isFocused','add','listenTo','fire','stopListening','left','length','view','_viewToAnnotation','clear','destroy','_sort','blur','annotationcollection-not-existing-item','get','annotationcollection-duplicated-item','_innerViewToAnnotation','remove','innerView','set','targetRect','focusableElements','_getOrderInContent','getByInnerView'];(function(_0x314aaa,_0x170822){const _0x1eccc0=function(_0x5ab52d){while(--_0x5ab52d){_0x314aaa['push'](_0x314aaa['shift']());}};_0x1eccc0(++_0x170822);}(_0x1708,0x133));const _0x1ecc=function(_0x314aaa,_0x170822){_0x314aaa=_0x314aaa-0x0;let _0x1eccc0=_0x1708[_0x314aaa];return _0x1eccc0;};import{CKEditorError as _0x312820,Collection as _0x38037a,FocusTracker as _0x2b8a64}from'ckeditor5/src/utils';export default class x extends _0x38037a{constructor(_0xd3e954=[]){super(),this[_0x1ecc('0xf')]=new Map(),this['_viewToAnnotation']=new Map(),this['_focusTracker']=new _0x2b8a64(),this[_0x1ecc('0x1c')]['on'](_0x1ecc('0x1d'),(_0x55c6ea,_0x588ee6,_0xc72de5)=>{_0xc72de5||this[_0x1ecc('0x2')](_0x1ecc('0xb'));});for(const _0x266f9b of _0xd3e954)this[_0x1ecc('0x0')](_0x266f9b);}get[_0x1ecc('0x20')](){return this['_focusTracker']['isFocused'];}[_0x1ecc('0x0')](_0x1ab854){if(this[_0x1ecc('0x17')](_0x1ab854))throw new _0x312820(_0x1ecc('0xe'),null);this[_0x1ecc('0xf')][_0x1ecc('0x12')](_0x1ab854[_0x1ecc('0x11')],_0x1ab854),this[_0x1ecc('0x7')][_0x1ecc('0x12')](_0x1ab854[_0x1ecc('0x6')],_0x1ab854);for(const _0x2764e3 of _0x1ab854[_0x1ecc('0x14')])this[_0x1ecc('0x1c')][_0x1ecc('0x0')](_0x2764e3);this[_0x1ecc('0x1')](_0x1ab854[_0x1ecc('0x14')],'add',(_0x34d1ac,_0x220273)=>{this[_0x1ecc('0x1c')][_0x1ecc('0x0')](_0x220273);}),this[_0x1ecc('0x1')](_0x1ab854['focusableElements'],_0x1ecc('0x10'),(_0xd4f16b,_0x4e99e8)=>{this['_focusTracker']['remove'](_0x4e99e8);}),this[_0x1ecc('0x1')](_0x1ab854['view'][_0x1ecc('0x1e')],_0x1ecc('0x1d'),(_0x47e616,_0x397b91,_0x3b4fc8)=>{_0x3b4fc8&&this[_0x1ecc('0x2')]('focus',_0x1ab854);}),_0x1ab854[_0x1ecc('0x1a')]();const _0x4f59c5=this[_0x1ecc('0x15')](_0x1ab854[_0x1ecc('0x6')][_0x1ecc('0x13')]);return super[_0x1ecc('0x0')](_0x1ab854,_0x4f59c5);}[_0x1ecc('0x10')](_0x188a85){if(!this[_0x1ecc('0x17')](_0x188a85))throw new _0x312820(_0x1ecc('0xc'),null);this[_0x1ecc('0x3')](_0x188a85[_0x1ecc('0x6')][_0x1ecc('0x1e')]),this['stopListening'](_0x188a85[_0x1ecc('0x14')]);for(const _0x5deb53 of _0x188a85[_0x1ecc('0x14')])this[_0x1ecc('0x1c')][_0x1ecc('0x10')](_0x5deb53);return this[_0x1ecc('0x7')][_0x1ecc('0x1b')](_0x188a85[_0x1ecc('0x6')]),this[_0x1ecc('0xf')][_0x1ecc('0x1b')](_0x188a85[_0x1ecc('0x11')]),super[_0x1ecc('0x10')](_0x188a85);}[_0x1ecc('0x16')](_0x5e58c5){return this[_0x1ecc('0xf')][_0x1ecc('0xd')](_0x5e58c5);}[_0x1ecc('0x19')](_0x27d52c){return this[_0x1ecc('0x7')][_0x1ecc('0xd')](_0x27d52c);}[_0x1ecc('0x9')](){super[_0x1ecc('0x8')](),this[_0x1ecc('0x3')](),this['_innerViewToAnnotation']['clear'](),this[_0x1ecc('0x7')][_0x1ecc('0x8')](),this['_focusTracker'][_0x1ecc('0x9')]();}['refreshPositioning'](){for(const _0x1ff83a of this)_0x1ff83a[_0x1ecc('0x1a')]();this[_0x1ecc('0xa')]();}['_sort'](){const _0x50d2f9=Array[_0x1ecc('0x1f')](this)['sort']((_0x531c44,_0x5caa93)=>v(_0x531c44[_0x1ecc('0x6')][_0x1ecc('0x13')],_0x5caa93[_0x1ecc('0x6')][_0x1ecc('0x13')]));for(let _0x232c86=_0x50d2f9[_0x1ecc('0x5')]-0x1;_0x232c86>0x0;_0x232c86--){const _0x341244=_0x50d2f9[_0x232c86];_0x232c86!==this['getIndex'](_0x341244)&&(this[_0x1ecc('0x10')](_0x341244),this['add'](_0x341244));}}[_0x1ecc('0x15')](_0x46a904){let _0x159192=0x0;if(!_0x46a904)return this[_0x1ecc('0x5')];for(const _0x1e9b65 of this){const _0x3b1ebb=_0x1e9b65['view']['targetRect'];if(_0x3b1ebb){if(v(_0x46a904,_0x3b1ebb)<0x0)return _0x159192;_0x159192++;}}return _0x159192;}}export function bindAnnotationCollections({source:_0x3c88d5,target:_0x1d83a4,filter:_0x197684}){for(const _0x150e8f of _0x3c88d5)_0x197684(_0x150e8f)&&_0x1d83a4['add'](_0x150e8f);_0x1d83a4[_0x1ecc('0x1')](_0x3c88d5,_0x1ecc('0x0'),(_0x291dda,_0x57dad6)=>{_0x197684(_0x57dad6)&&_0x1d83a4[_0x1ecc('0x0')](_0x57dad6);}),_0x1d83a4[_0x1ecc('0x1')](_0x3c88d5,_0x1ecc('0x10'),(_0x49cb9d,_0x52f842)=>{_0x1d83a4[_0x1ecc('0x17')](_0x52f842)&&_0x1d83a4[_0x1ecc('0x10')](_0x52f842);});}function v(_0x339779,_0x3f9b48){if(null===_0x339779&&null===_0x3f9b48)return 0x0;if(null===_0x339779)return-0x1;if(null===_0x3f9b48)return 0x1;const _0x2610ac=_0x339779[_0x1ecc('0x18')]-_0x3f9b48[_0x1ecc('0x18')];return 0x0==_0x2610ac?_0x339779[_0x1ecc('0x4')]-_0x3f9b48[_0x1ecc('0x4')]:_0x2610ac;}
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;}
@@ -39,7 +39,7 @@ export default class Annotations extends ContextPlugin {
39
39
  /**
40
40
  * @inheritDoc
41
41
  */
42
- static get pluginName(): 'Annotations';
42
+ static get pluginName(): "Annotations";
43
43
  /**
44
44
  * @inheritDoc
45
45
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ef3=['focusTracker','_activateAnnotation','activate','pluginName','remove','element','fire','has','view','_visibleAnnotations','stopListening','change:isVisible','delete','_bindAnnotationsToVisibleAnnotations','set','getByInnerView','refreshVisibility','createAnnotation','activeAnnotations','deactivateAll','collection','_deactivateAllAnnotations','refreshPositioning','Annotations','destroy','isVisible','add','_addActiveAnnotation','listenTo'];(function(_0x44be8a,_0x3ef349){const _0x3cdf36=function(_0x1ae04c){while(--_0x1ae04c){_0x44be8a['push'](_0x44be8a['shift']());}};_0x3cdf36(++_0x3ef349);}(_0x3ef3,0x185));const _0x3cdf=function(_0x44be8a,_0x3ef349){_0x44be8a=_0x44be8a-0x0;let _0x3cdf36=_0x3ef3[_0x44be8a];return _0x3cdf36;};import{ContextPlugin as _0x412276}from'ckeditor5/src/core';import _0x50a871 from'./annotation';import _0x3d4cad from'./annotationcollection';import _0x49d498 from'./view/annotationview';export default class b extends _0x412276{static get[_0x3cdf('0x14')](){return _0x3cdf('0xb');}constructor(_0x4f2fe6){super(_0x4f2fe6),this[_0x3cdf('0x8')]=new _0x3d4cad(),this[_0x3cdf('0x1a')]=new _0x3d4cad(),this[_0x3cdf('0x2')](_0x3cdf('0x6'),new Set()),this[_0x3cdf('0x1')]();}['add'](_0xfe5309){this['collection'][_0x3cdf('0xe')](_0xfe5309);}[_0x3cdf('0x15')](_0x1028cb){this[_0x3cdf('0x8')][_0x3cdf('0x15')](_0x1028cb),_0x1028cb[_0x3cdf('0xc')]();}[_0x3cdf('0x4')](){for(const _0xe984ef of this[_0x3cdf('0x8')])_0xe984ef[_0x3cdf('0x4')]();}[_0x3cdf('0xa')](){this[_0x3cdf('0x1a')]['refreshPositioning']();}[_0x3cdf('0x3')](_0x5c1648){return this[_0x3cdf('0x8')][_0x3cdf('0x3')](_0x5c1648);}[_0x3cdf('0x7')](){this[_0x3cdf('0x17')](_0x3cdf('0x9'));}[_0x3cdf('0xc')](){for(const _0xe5110a of this[_0x3cdf('0x8')])_0xe5110a[_0x3cdf('0xc')]();this['_visibleAnnotations'][_0x3cdf('0xc')](),this[_0x3cdf('0x8')]['destroy'](),super[_0x3cdf('0xc')]();}[_0x3cdf('0x13')](_0x198da2){this[_0x3cdf('0x17')](_0x3cdf('0x12'),_0x198da2);}[_0x3cdf('0x5')](_0x381fa7){return new _0x50a871(_0x381fa7);}['createAnnotationView'](_0x1c4690,_0x2e1e8d){return new _0x49d498(_0x1c4690,_0x2e1e8d);}[_0x3cdf('0xf')](_0x55f747){const _0x2b1eb7=new Set(this['activeAnnotations']);_0x2b1eb7[_0x3cdf('0xe')](_0x55f747),this[_0x3cdf('0x6')]=_0x2b1eb7;}['_removeActiveAnnotation'](_0x11cc41){const _0x2a1466=new Set(this[_0x3cdf('0x6')]);_0x2a1466[_0x3cdf('0x0')](_0x11cc41),this[_0x3cdf('0x6')]=_0x2a1466;}[_0x3cdf('0x1')](){const _0x5f14dd=this[_0x3cdf('0x8')],_0x3b9e58=this['_visibleAnnotations'];function _0x4cc03a(_0x8cd276){const _0x23b968=_0x8cd276['source'];_0x23b968[_0x3cdf('0xd')]&&!_0x3b9e58[_0x3cdf('0x18')](_0x23b968)?_0x3b9e58['add'](_0x23b968):!_0x23b968['isVisible']&&_0x3b9e58['has'](_0x23b968)&&_0x3b9e58[_0x3cdf('0x15')](_0x23b968),_0x23b968[_0x3cdf('0x19')][_0x3cdf('0x11')]['remove'](_0x23b968[_0x3cdf('0x19')][_0x3cdf('0x16')]),_0x23b968[_0x3cdf('0x19')]['focusTracker'][_0x3cdf('0xe')](_0x23b968[_0x3cdf('0x19')][_0x3cdf('0x16')]);}this['listenTo'](_0x5f14dd,_0x3cdf('0xe'),(_0x5cecfa,_0x12f230)=>{_0x12f230['isVisible']&&_0x3b9e58['add'](_0x12f230),this[_0x3cdf('0x10')](_0x12f230,'change:isVisible',_0x4cc03a);}),this[_0x3cdf('0x10')](_0x5f14dd,'remove',(_0x5cd805,_0x582a2c)=>{_0x3b9e58[_0x3cdf('0x18')](_0x582a2c)&&_0x3b9e58[_0x3cdf('0x15')](_0x582a2c),this[_0x3cdf('0x1b')](_0x582a2c,_0x3cdf('0x1c'),_0x4cc03a);});}}
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 PluginDependencies, type Editor, type Context } from 'ckeditor5/src/core';
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(): PluginDependencies<Context | Editor>;
60
+ static get requires(): readonly [typeof Annotations];
60
61
  /**
61
62
  * @inheritDoc
62
63
  */
63
- static get pluginName(): 'AnnotationsUIs';
64
+ static get pluginName(): "AnnotationsUIs";
64
65
  /**
65
66
  * @inheritDoc
66
67
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e97=['size','type','stopListening','remove','pluginName','_setSelectedAnnotations','init','_addActiveAnnotation','_assertAnnotationDoesNotBelongToMultipleUIs','destroy','length','_removeActiveAnnotation','listenTo','_uis','context','activeUIs','collection','hasActive','get','attach','filter','deactivate','activate','isActive','deactivateAll','_uisData','_visibleAnnotations','delete','set','annotationsuis-register-already-registered','find','from','requires','has','add','function','annotationsuis-missing-ui','change:activeAnnotation','setActiveAnnotation','plugins','_activateAnnotation'];(function(_0x427d13,_0x4e9734){const _0x1b35c1=function(_0x3669d2){while(--_0x3669d2){_0x427d13['push'](_0x427d13['shift']());}};_0x1b35c1(++_0x4e9734);}(_0x4e97,0x75));const _0x1b35=function(_0x427d13,_0x4e9734){_0x427d13=_0x427d13-0x0;let _0x1b35c1=_0x4e97[_0x427d13];return _0x1b35c1;};import{ContextPlugin as _0x18c0d2}from'ckeditor5/src/core';import{CKEditorError as _0x450074}from'ckeditor5/src/utils';import _0x16765c,{bindAnnotationCollections as _0x291319}from'./annotationcollection';import _0x426561 from'./annotations';export default class M extends _0x18c0d2{static get[_0x1b35('0x26')](){return[_0x426561];}static get[_0x1b35('0xa')](){return'AnnotationsUIs';}constructor(_0x2691a2){super(_0x2691a2),this[_0x1b35('0x15')]=new Set(),this[_0x1b35('0x13')]=new Map(),this[_0x1b35('0x1f')]=new Map();}[_0x1b35('0xc')](){const _0x2ec387=this['context'][_0x1b35('0x4')][_0x1b35('0x18')](_0x426561);this[_0x1b35('0x12')](_0x2ec387,_0x1b35('0x5'),(_0x211d50,_0x5e49f4)=>{for(const _0x207956 of this[_0x1b35('0x15')]){const _0x22eb11=this['_uis']['get'](_0x207956);(0x0,this['_uisData'][_0x1b35('0x18')](_0x207956)[_0x1b35('0x1a')])(_0x5e49f4)&&_0x22eb11[_0x1b35('0x3')](_0x5e49f4);}}),this['listenTo'](_0x2ec387,'_deactivateAllAnnotations',()=>{for(const _0x3cbff7 of this[_0x1b35('0x15')]){this[_0x1b35('0x13')][_0x1b35('0x18')](_0x3cbff7)[_0x1b35('0x3')](null);}}),this[_0x1b35('0x12')](_0x2ec387[_0x1b35('0x20')],_0x1b35('0x28'),(_0xe49227,_0x12d3c4)=>{this[_0x1b35('0xe')](_0x12d3c4);});}[_0x1b35('0x17')](){return this[_0x1b35('0x15')][_0x1b35('0x6')]>0x0;}[_0x1b35('0x1d')](_0x356df5){return this[_0x1b35('0x15')][_0x1b35('0x27')](_0x356df5);}[_0x1b35('0x1c')](_0x14de3c,_0x570f6a=()=>!0x0){const _0x103b50=this[_0x1b35('0x14')][_0x1b35('0x4')]['get'](_0x426561);if(!this[_0x1b35('0x13')]['has'](_0x14de3c))throw new _0x450074(_0x1b35('0x1'),this,{'uiName':_0x14de3c});this[_0x1b35('0x1d')](_0x14de3c)&&this['deactivate'](_0x14de3c),this[_0x1b35('0x15')][_0x1b35('0x28')](_0x14de3c);const _0x4acb72=new _0x16765c(),_0x4113e3=_0x103b50[_0x1b35('0x20')];_0x291319({'source':_0x4113e3,'target':_0x4acb72,'filter':_0x570f6a}),this['_uisData'][_0x1b35('0x22')](_0x14de3c,{'collection':_0x4acb72,'filter':_0x570f6a});const _0x950aab=this[_0x1b35('0x13')][_0x1b35('0x18')](_0x14de3c);_0x950aab['attach'](_0x4acb72),this['listenTo'](_0x950aab,_0x1b35('0x2'),(_0x44fead,_0x5d2b19,_0xbbaf7f,_0x38e735)=>{_0x38e735&&_0x103b50[_0x1b35('0x11')](_0x38e735),_0xbbaf7f&&_0x103b50[_0x1b35('0xd')](_0xbbaf7f);});}[_0x1b35('0x1b')](_0x23e501){if(this[_0x1b35('0x15')][_0x1b35('0x21')](_0x23e501),!this[_0x1b35('0x13')][_0x1b35('0x27')](_0x23e501))throw new _0x450074('annotationsuis-missing-ui',this,{'uiName':_0x23e501});const _0x3c96a0=this[_0x1b35('0x13')][_0x1b35('0x18')](_0x23e501);_0x3c96a0['detach'](),this[_0x1b35('0x8')](_0x3c96a0),this[_0x1b35('0x1f')][_0x1b35('0x18')](_0x23e501)[_0x1b35('0x16')][_0x1b35('0xf')](),this[_0x1b35('0x1f')][_0x1b35('0x21')](_0x23e501);}['switchTo'](_0xfd968f){if(!this['_uis']['has'](_0xfd968f))throw new _0x450074(_0x1b35('0x1'),this,{'uiName':_0xfd968f});const _0xaf70ba=this['context'][_0x1b35('0x4')][_0x1b35('0x18')](_0x426561),_0x5f0f73=Array[_0x1b35('0x25')](_0xaf70ba['activeAnnotations'])[0x0]||null;this[_0x1b35('0x1e')](),this[_0x1b35('0x1c')](_0xfd968f);const _0xd65824=this['_uis'][_0x1b35('0x18')](_0xfd968f);_0xd65824[_0x1b35('0x3')](_0x5f0f73),_0xd65824[_0x1b35('0xb')]&&_0x5f0f73&&_0xd65824['_setSelectedAnnotations']([_0x5f0f73]);}[_0x1b35('0x1e')](){for(const _0x4ee47e of this[_0x1b35('0x15')])this['deactivate'](_0x4ee47e);}['register'](_0x4c599d,_0x55b00a){if(this['_uis']['has'](_0x4c599d))throw new _0x450074(_0x1b35('0x23'));if('function'!=typeof _0x55b00a[_0x1b35('0x19')]||_0x1b35('0x0')!=typeof _0x55b00a['detach']||_0x1b35('0x0')!=typeof _0x55b00a['setActiveAnnotation'])throw new _0x450074('annotationsuis-register-invalid-interface',null);this[_0x1b35('0x13')][_0x1b35('0x22')](_0x4c599d,_0x55b00a);}['refilterAnnotations'](){const _0x523b8d=this[_0x1b35('0x14')][_0x1b35('0x4')][_0x1b35('0x18')](_0x426561)[_0x1b35('0x16')],_0x27a432=new Map(),_0x2494d9=Array[_0x1b35('0x25')](this[_0x1b35('0x15')]);for(const _0x1909e1 of this[_0x1b35('0x15')]){const _0x26b7b4=this[_0x1b35('0x1f')]['get'](_0x1909e1)['collection'];for(const _0xf8a2ab of _0x26b7b4)_0x27a432[_0x1b35('0x22')](_0xf8a2ab,_0x1909e1);}for(const _0x10366e of _0x523b8d){const _0x2f0f12=_0x27a432[_0x1b35('0x18')](_0x10366e);this[_0x1b35('0xe')](_0x10366e);const _0x530328=_0x2494d9[_0x1b35('0x24')](_0x3f109b=>this['_uisData'][_0x1b35('0x18')](_0x3f109b)[_0x1b35('0x1a')](_0x10366e));_0x2f0f12!==_0x530328&&(_0x2f0f12&&this['_uisData']['get'](_0x2f0f12)[_0x1b35('0x16')][_0x1b35('0x9')](_0x10366e),_0x530328&&this['_uisData'][_0x1b35('0x18')](_0x530328)['collection'][_0x1b35('0x28')](_0x10366e));}}[_0x1b35('0xf')](){this[_0x1b35('0x1e')](),super[_0x1b35('0xf')]();}[_0x1b35('0xe')](_0x377521){const _0x2af917=[];for(const _0x5491d6 of this[_0x1b35('0x15')]){(0x0,this['_uisData'][_0x1b35('0x18')](_0x5491d6)[_0x1b35('0x1a')])(_0x377521)&&_0x2af917['push'](_0x5491d6);}if(_0x2af917[_0x1b35('0x10')]>0x1)throw new _0x450074('annotationsuis-annotation-mismatch',null,{'matchedUIs':_0x2af917,'annotationType':_0x377521[_0x1b35('0x7')]});}}
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 PluginDependencies, type Editor } from 'ckeditor5/src/core';
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(): PluginDependencies;
26
+ static get requires(): readonly [typeof Annotations];
26
27
  /**
27
28
  * @inheritDoc
28
29
  */
29
- static get pluginName(): 'EditorAnnotations';
30
+ static get pluginName(): "EditorAnnotations";
30
31
  /**
31
32
  * @inheritDoc
32
33
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd25d=['focusTracker','getOrderedSelectedAnnotations','hasDomSelection','addSourceCollector','_editorAnnotationsData','fire','editorannotations-invalid-source-callback','_dataCollectors','listenTo','function','collection','remove','editor','requires','_editorAnnotations','from','document','isCollapsed','add','set','get','map','isEqual','push','containsRange','directChange','editing','getByInnerView','change:range','blur','refreshSelectedViews','selection','view','EditorAnnotations','has','cancel','uiUpdate','update','registerAnnotation','annotation','init','model','delete','isReadOnly','innerView'];(function(_0x220a37,_0xd25dde){const _0x27ce18=function(_0x3110b3){while(--_0x3110b3){_0x220a37['push'](_0x220a37['shift']());}};_0x27ce18(++_0xd25dde);}(_0xd25d,0xf3));const _0x27ce=function(_0x220a37,_0xd25dde){_0x220a37=_0x220a37-0x0;let _0x27ce18=_0xd25d[_0x220a37];return _0x27ce18;};import{Plugin as _0x1c438b}from'ckeditor5/src/core';import{CKEditorError as _0x5aef46}from'ckeditor5/src/utils';import{debounce as _0x14ebaa}from'lodash-es';import _0x8ce792 from'./annotations';export default class k extends _0x1c438b{static get[_0x27ce('0x28')](){return[_0x8ce792];}static get['pluginName'](){return _0x27ce('0xf');}constructor(_0xe806f3){super(_0xe806f3),this[_0x27ce('0x22')]=new Set(),this['_editorAnnotations']=new Set();}[_0x27ce('0x16')](){const _0xa7a14b=this[_0x27ce('0x27')],_0x4c8815=_0xa7a14b[_0x27ce('0x17')][_0x27ce('0x2b')]['selection'],_0x478762=_0x14ebaa(()=>this[_0x27ce('0xc')](),0xa);_0x4c8815['on'](_0x27ce('0xa'),(_0x4f7278,_0x491ea9)=>{_0x491ea9[_0x27ce('0x7')]&&(_0x478762[_0x27ce('0x11')](),this[_0x27ce('0xc')]());}),this['listenTo'](_0xa7a14b['editing'][_0x27ce('0xe')][_0x27ce('0x2b')],'change:isFocused',(_0x3fe8c4,_0x52633a,_0xada5dc)=>{_0xada5dc&&_0x478762();}),this[_0x27ce('0x23')](_0xa7a14b['ui'][_0x27ce('0x1b')],'change:isFocused',(_0x5923d9,_0x3df636,_0x587203)=>{_0x587203||_0xa7a14b[_0x27ce('0x19')]||this[_0x27ce('0x20')](_0x27ce('0xb'),{'isAnnotationTracked':_0x4b91cc=>this['_editorAnnotationsData']['has'](_0x4b91cc[_0x27ce('0x1a')])});}),this[_0x27ce('0x23')](this[_0x27ce('0x27')]['ui'],_0x27ce('0x13'),()=>this[_0x27ce('0x20')](_0x27ce('0x12')));}[_0x27ce('0x14')](_0x58f683){if(this[_0x27ce('0x29')][_0x27ce('0x10')](_0x58f683[_0x27ce('0xe')]))return;this[_0x27ce('0x29')][_0x27ce('0x0')](_0x58f683['view']),this['editor']['ui'][_0x27ce('0x1b')][_0x27ce('0x0')](_0x58f683[_0x27ce('0xe')]['element']);const _0x2a356e=this[_0x27ce('0x27')]['plugins'][_0x27ce('0x2')](_0x8ce792);this[_0x27ce('0x23')](_0x2a356e[_0x27ce('0x25')],'remove',(_0x1bc321,_0x26f61f)=>{this[_0x27ce('0x27')]['ui']['focusTracker'][_0x27ce('0x26')](_0x26f61f[_0x27ce('0xe')]['element']),this['_editorAnnotations'][_0x27ce('0x18')](_0x26f61f['view']);});}[_0x27ce('0x1d')](){return this[_0x27ce('0x27')][_0x27ce('0x8')]['view'][_0x27ce('0x1d')];}[_0x27ce('0x1e')](_0xd47e10){if(_0x27ce('0x24')!=typeof _0xd47e10)throw new _0x5aef46(_0x27ce('0x21'));this[_0x27ce('0x22')][_0x27ce('0x0')](_0xd47e10);}[_0x27ce('0xc')](){this[_0x27ce('0x20')]('refresh');}[_0x27ce('0x1c')]({activeAnnotation:_0x4bf162,annotations:_0x1d96d1}){const _0x537327=[],_0x4305ce=this[_0x27ce('0x27')][_0x27ce('0x17')]['document'][_0x27ce('0xd')],_0x27c5b2=Array[_0x27ce('0x2a')](_0x4305ce['getRanges']());for(const [_0x2184ad,_0x103892]of this[_0x27ce('0x1f')]){const _0x1a2aaf=_0x412034(_0x103892),_0x1494bd=_0x1d96d1[_0x27ce('0x9')](_0x2184ad);_0x1a2aaf&&_0x1494bd&&_0x537327[_0x27ce('0x5')]({'annotation':_0x1494bd,'range':_0x1a2aaf});}function _0x412034(_0x53d257){for(const _0x35d430 of _0x53d257)for(const _0x1f5a10 of _0x27c5b2)if(_0x35d430[_0x27ce('0x6')](_0x1f5a10,!_0x4305ce[_0x27ce('0x2c')]))return _0x35d430;return null;}return _0x537327['sort']((_0x33c93b,_0x41a1de)=>{const _0x135d00=_0x33c93b['range'],_0x43e8ef=_0x41a1de['range'];if(!_0x135d00[_0x27ce('0x4')](_0x43e8ef)){if(_0x135d00[_0x27ce('0x6')](_0x43e8ef,!0x0))return 0x1;if(_0x43e8ef[_0x27ce('0x6')](_0x135d00,!0x0))return-0x1;}return _0x33c93b[_0x27ce('0x15')]==_0x4bf162?-0x1:_0x41a1de[_0x27ce('0x15')]==_0x4bf162?0x1:0x0;})[_0x27ce('0x3')](_0x10004e=>_0x10004e[_0x27ce('0x15')]);}get['_editorAnnotationsData'](){const _0x51f52f=new Map();for(const _0x2bf3a3 of Array[_0x27ce('0x2a')](this[_0x27ce('0x22')]))for(const [_0x10dd44,_0x558970]of _0x2bf3a3())_0x51f52f[_0x27ce('0x1')](_0x10dd44,_0x558970);return _0x51f52f;}}
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 PluginDependencies, type Editor } from 'ckeditor5/src/core';
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(): PluginDependencies;
53
+ static get requires(): readonly [typeof EditorAnnotations, typeof ContextualBalloon, typeof AnnotationsUIs];
52
54
  /**
53
55
  * @inheritDoc
54
56
  */
55
- static get pluginName(): 'InlineAnnotations';
57
+ static get pluginName(): "InlineAnnotations";
56
58
  /**
57
59
  * @inheritDoc
58
60
  */