@ckeditor/ckeditor5-comments 39.0.2 → 40.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/LICENSE.md +3 -3
- package/README.md +1 -1
- package/build/comments.js +2 -2
- package/build/translations/af.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/bs.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de-ch.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/es-co.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fa.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/jv.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sq.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -1
- package/build/translations/ug.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/lang/contexts.json +2 -0
- package/lang/translations/af.po +8 -0
- package/lang/translations/ar.po +8 -0
- package/lang/translations/bg.po +8 -0
- package/lang/translations/bn.po +8 -0
- package/lang/translations/bs.po +8 -0
- package/lang/translations/ca.po +8 -0
- package/lang/translations/cs.po +8 -0
- package/lang/translations/da.po +8 -0
- package/lang/translations/de-ch.po +8 -0
- package/lang/translations/de.po +8 -0
- package/lang/translations/el.po +8 -0
- package/lang/translations/en-au.po +8 -0
- package/lang/translations/en.po +8 -0
- package/lang/translations/es-co.po +8 -0
- package/lang/translations/es.po +8 -0
- package/lang/translations/et.po +8 -0
- package/lang/translations/fa.po +8 -0
- package/lang/translations/fi.po +8 -0
- package/lang/translations/fr.po +8 -0
- package/lang/translations/gl.po +8 -0
- package/lang/translations/he.po +8 -0
- package/lang/translations/hi.po +8 -0
- package/lang/translations/hr.po +8 -0
- package/lang/translations/hu.po +8 -0
- package/lang/translations/id.po +8 -0
- package/lang/translations/it.po +8 -0
- package/lang/translations/ja.po +8 -0
- package/lang/translations/jv.po +8 -0
- package/lang/translations/ko.po +8 -0
- package/lang/translations/lt.po +8 -0
- package/lang/translations/lv.po +8 -0
- package/lang/translations/ms.po +8 -0
- package/lang/translations/nl.po +8 -0
- package/lang/translations/no.po +8 -0
- package/lang/translations/pl.po +8 -0
- package/lang/translations/pt-br.po +11 -3
- package/lang/translations/pt.po +8 -0
- package/lang/translations/ro.po +8 -0
- package/lang/translations/ru.po +8 -0
- package/lang/translations/sk.po +8 -0
- package/lang/translations/sq.po +8 -0
- package/lang/translations/sr-latn.po +8 -0
- package/lang/translations/sr.po +8 -0
- package/lang/translations/sv.po +8 -0
- package/lang/translations/th.po +8 -0
- package/lang/translations/tk.po +8 -0
- package/lang/translations/tr.po +8 -0
- package/lang/translations/tt.po +8 -0
- package/lang/translations/ug.po +8 -0
- package/lang/translations/uk.po +8 -0
- package/lang/translations/ur.po +8 -0
- package/lang/translations/vi.po +8 -0
- package/lang/translations/zh-cn.po +8 -0
- package/lang/translations/zh.po +8 -0
- package/package.json +3 -3
- package/src/annotations/annotation.js +1 -1
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +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.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.d.ts +2 -2
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.d.ts +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.d.ts +39 -15
- package/src/comments/commentsrepository.js +1 -1
- 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.js +1 -1
- package/src/comments/ui/view/basecommentthreadview.d.ts +7 -0
- 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.d.ts +1 -0
- package/src/comments/ui/view/commentthreadview.js +1 -1
- package/src/comments/ui/view/commentview.js +1 -1
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/theme/annotation-inline.css +2 -1
- package/theme/annotation.css +2 -1
- package/theme/comment.css +3 -2
- package/theme/commentinput.css +2 -1
- package/theme/commentmarker.css +2 -1
- package/theme/commentsarchive.css +2 -1
- package/theme/commentthread.css +12 -1
- package/theme/icons/add-comment.svg +1 -1
- package/theme/icons/comments-archive.svg +1 -1
- package/theme/icons/edit-comment.svg +1 -1
- package/theme/icons/remove-comment.svg +1 -1
- package/theme/sidebar-narrow.css +2 -1
- package/theme/sidebar.css +2 -1
package/lang/translations/pl.po
CHANGED
|
@@ -85,6 +85,14 @@ msgctxt "The tooltip for the comment toolbar button and the button that submits
|
|
|
85
85
|
msgid "Comment"
|
|
86
86
|
msgstr "Skomentuj"
|
|
87
87
|
|
|
88
|
+
msgctxt "A message read out by assistive technologies the moment the user selection moves into a comment."
|
|
89
|
+
msgid "ENTER_COMMENT_ANNOUNCEMENT"
|
|
90
|
+
msgstr "Przechodzenie do komentarza."
|
|
91
|
+
|
|
92
|
+
msgctxt "A message read out by assistive technologies the moment the user selection leaves a comment."
|
|
93
|
+
msgid "LEAVE_COMMENT_ANNOUNCEMENT"
|
|
94
|
+
msgstr "Opuszczanie komentarza."
|
|
95
|
+
|
|
88
96
|
msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
|
|
89
97
|
msgid "PENDING_ACTION_COMMENT_THREAD"
|
|
90
98
|
msgstr "Niezapisana zmiana w wątku komentarzy."
|
|
@@ -19,7 +19,7 @@ msgstr ""
|
|
|
19
19
|
|
|
20
20
|
msgctxt "The label for the comment editor."
|
|
21
21
|
msgid "Comment editor"
|
|
22
|
-
msgstr "
|
|
22
|
+
msgstr "Editor de comentários"
|
|
23
23
|
|
|
24
24
|
msgctxt "The label for the number of comments."
|
|
25
25
|
msgid "NUMBER_OF_COMMENTS"
|
|
@@ -82,7 +82,15 @@ msgstr "Marcado como solucionado"
|
|
|
82
82
|
|
|
83
83
|
msgctxt "The tooltip for the comment toolbar button and the button that submits a comment thread."
|
|
84
84
|
msgid "Comment"
|
|
85
|
-
msgstr "
|
|
85
|
+
msgstr "Comentar"
|
|
86
|
+
|
|
87
|
+
msgctxt "A message read out by assistive technologies the moment the user selection moves into a comment."
|
|
88
|
+
msgid "ENTER_COMMENT_ANNOUNCEMENT"
|
|
89
|
+
msgstr "Inserindo um comentário."
|
|
90
|
+
|
|
91
|
+
msgctxt "A message read out by assistive technologies the moment the user selection leaves a comment."
|
|
92
|
+
msgid "LEAVE_COMMENT_ANNOUNCEMENT"
|
|
93
|
+
msgstr "Deixando um comentário."
|
|
86
94
|
|
|
87
95
|
msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
|
|
88
96
|
msgid "PENDING_ACTION_COMMENT_THREAD"
|
|
@@ -102,7 +110,7 @@ msgstr "Nome do autor mostrado vem de uma fonte externa (adicionado por %0)"
|
|
|
102
110
|
|
|
103
111
|
msgctxt "The additional information that displayed author name comes from imported Word file."
|
|
104
112
|
msgid "EXTERNAL_IMPORT_WORD_AVATAR"
|
|
105
|
-
msgstr "Nome do autor mostrado vem de de um arquivo Word importado
|
|
113
|
+
msgstr "Nome do autor mostrado vem de de um arquivo Word importado por %0"
|
|
106
114
|
|
|
107
115
|
msgctxt "The label for the comments archive dropdown UI."
|
|
108
116
|
msgid "COMMENTS_ARCHIVE"
|
package/lang/translations/pt.po
CHANGED
|
@@ -84,6 +84,14 @@ msgctxt "The tooltip for the comment toolbar button and the button that submits
|
|
|
84
84
|
msgid "Comment"
|
|
85
85
|
msgstr "Comentário"
|
|
86
86
|
|
|
87
|
+
msgctxt "A message read out by assistive technologies the moment the user selection moves into a comment."
|
|
88
|
+
msgid "ENTER_COMMENT_ANNOUNCEMENT"
|
|
89
|
+
msgstr "Inserir um comentário."
|
|
90
|
+
|
|
91
|
+
msgctxt "A message read out by assistive technologies the moment the user selection leaves a comment."
|
|
92
|
+
msgid "LEAVE_COMMENT_ANNOUNCEMENT"
|
|
93
|
+
msgstr "Deixar um comentário."
|
|
94
|
+
|
|
87
95
|
msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
|
|
88
96
|
msgid "PENDING_ACTION_COMMENT_THREAD"
|
|
89
97
|
msgstr "Alteração não guardada na linha de comentários."
|
package/lang/translations/ro.po
CHANGED
|
@@ -84,6 +84,14 @@ msgctxt "The tooltip for the comment toolbar button and the button that submits
|
|
|
84
84
|
msgid "Comment"
|
|
85
85
|
msgstr "Comentează"
|
|
86
86
|
|
|
87
|
+
msgctxt "A message read out by assistive technologies the moment the user selection moves into a comment."
|
|
88
|
+
msgid "ENTER_COMMENT_ANNOUNCEMENT"
|
|
89
|
+
msgstr "Introducerea unui comentariu."
|
|
90
|
+
|
|
91
|
+
msgctxt "A message read out by assistive technologies the moment the user selection leaves a comment."
|
|
92
|
+
msgid "LEAVE_COMMENT_ANNOUNCEMENT"
|
|
93
|
+
msgstr "Lăsarea unui comentariu."
|
|
94
|
+
|
|
87
95
|
msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
|
|
88
96
|
msgid "PENDING_ACTION_COMMENT_THREAD"
|
|
89
97
|
msgstr "O schimbare nesalvată în firul de comentarii."
|
package/lang/translations/ru.po
CHANGED
|
@@ -85,6 +85,14 @@ msgctxt "The tooltip for the comment toolbar button and the button that submits
|
|
|
85
85
|
msgid "Comment"
|
|
86
86
|
msgstr "Комментарий"
|
|
87
87
|
|
|
88
|
+
msgctxt "A message read out by assistive technologies the moment the user selection moves into a comment."
|
|
89
|
+
msgid "ENTER_COMMENT_ANNOUNCEMENT"
|
|
90
|
+
msgstr "Ввод комментария."
|
|
91
|
+
|
|
92
|
+
msgctxt "A message read out by assistive technologies the moment the user selection leaves a comment."
|
|
93
|
+
msgid "LEAVE_COMMENT_ANNOUNCEMENT"
|
|
94
|
+
msgstr "Оставление комментария."
|
|
95
|
+
|
|
88
96
|
msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
|
|
89
97
|
msgid "PENDING_ACTION_COMMENT_THREAD"
|
|
90
98
|
msgstr "Изменения в ветке комментариев не сохранены."
|
package/lang/translations/sk.po
CHANGED
|
@@ -85,6 +85,14 @@ msgctxt "The tooltip for the comment toolbar button and the button that submits
|
|
|
85
85
|
msgid "Comment"
|
|
86
86
|
msgstr "Komentár"
|
|
87
87
|
|
|
88
|
+
msgctxt "A message read out by assistive technologies the moment the user selection moves into a comment."
|
|
89
|
+
msgid "ENTER_COMMENT_ANNOUNCEMENT"
|
|
90
|
+
msgstr "Zadávanie komentára."
|
|
91
|
+
|
|
92
|
+
msgctxt "A message read out by assistive technologies the moment the user selection leaves a comment."
|
|
93
|
+
msgid "LEAVE_COMMENT_ANNOUNCEMENT"
|
|
94
|
+
msgstr "Zanechanie komentára."
|
|
95
|
+
|
|
88
96
|
msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
|
|
89
97
|
msgid "PENDING_ACTION_COMMENT_THREAD"
|
|
90
98
|
msgstr "Vo vlákne komentáru sú neuložené zmeny."
|
package/lang/translations/sq.po
CHANGED
|
@@ -83,6 +83,14 @@ msgctxt "The tooltip for the comment toolbar button and the button that submits
|
|
|
83
83
|
msgid "Comment"
|
|
84
84
|
msgstr "Komento"
|
|
85
85
|
|
|
86
|
+
msgctxt "A message read out by assistive technologies the moment the user selection moves into a comment."
|
|
87
|
+
msgid "ENTER_COMMENT_ANNOUNCEMENT"
|
|
88
|
+
msgstr ""
|
|
89
|
+
|
|
90
|
+
msgctxt "A message read out by assistive technologies the moment the user selection leaves a comment."
|
|
91
|
+
msgid "LEAVE_COMMENT_ANNOUNCEMENT"
|
|
92
|
+
msgstr ""
|
|
93
|
+
|
|
86
94
|
msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
|
|
87
95
|
msgid "PENDING_ACTION_COMMENT_THREAD"
|
|
88
96
|
msgstr ""
|
|
@@ -84,6 +84,14 @@ msgctxt "The tooltip for the comment toolbar button and the button that submits
|
|
|
84
84
|
msgid "Comment"
|
|
85
85
|
msgstr "Napomena"
|
|
86
86
|
|
|
87
|
+
msgctxt "A message read out by assistive technologies the moment the user selection moves into a comment."
|
|
88
|
+
msgid "ENTER_COMMENT_ANNOUNCEMENT"
|
|
89
|
+
msgstr ""
|
|
90
|
+
|
|
91
|
+
msgctxt "A message read out by assistive technologies the moment the user selection leaves a comment."
|
|
92
|
+
msgid "LEAVE_COMMENT_ANNOUNCEMENT"
|
|
93
|
+
msgstr ""
|
|
94
|
+
|
|
87
95
|
msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
|
|
88
96
|
msgid "PENDING_ACTION_COMMENT_THREAD"
|
|
89
97
|
msgstr "Nesačuvana promena u niti napomena."
|
package/lang/translations/sr.po
CHANGED
|
@@ -84,6 +84,14 @@ msgctxt "The tooltip for the comment toolbar button and the button that submits
|
|
|
84
84
|
msgid "Comment"
|
|
85
85
|
msgstr "Напомена"
|
|
86
86
|
|
|
87
|
+
msgctxt "A message read out by assistive technologies the moment the user selection moves into a comment."
|
|
88
|
+
msgid "ENTER_COMMENT_ANNOUNCEMENT"
|
|
89
|
+
msgstr "Unošenje komentara."
|
|
90
|
+
|
|
91
|
+
msgctxt "A message read out by assistive technologies the moment the user selection leaves a comment."
|
|
92
|
+
msgid "LEAVE_COMMENT_ANNOUNCEMENT"
|
|
93
|
+
msgstr "Napuštanje komentara."
|
|
94
|
+
|
|
87
95
|
msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
|
|
88
96
|
msgid "PENDING_ACTION_COMMENT_THREAD"
|
|
89
97
|
msgstr "Несачувана измена у нити напомена."
|
package/lang/translations/sv.po
CHANGED
|
@@ -83,6 +83,14 @@ msgctxt "The tooltip for the comment toolbar button and the button that submits
|
|
|
83
83
|
msgid "Comment"
|
|
84
84
|
msgstr "Kommentar"
|
|
85
85
|
|
|
86
|
+
msgctxt "A message read out by assistive technologies the moment the user selection moves into a comment."
|
|
87
|
+
msgid "ENTER_COMMENT_ANNOUNCEMENT"
|
|
88
|
+
msgstr "Skriver en kommentar."
|
|
89
|
+
|
|
90
|
+
msgctxt "A message read out by assistive technologies the moment the user selection leaves a comment."
|
|
91
|
+
msgid "LEAVE_COMMENT_ANNOUNCEMENT"
|
|
92
|
+
msgstr "Kommenterar."
|
|
93
|
+
|
|
86
94
|
msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
|
|
87
95
|
msgid "PENDING_ACTION_COMMENT_THREAD"
|
|
88
96
|
msgstr "Osparad ändring i kommentarstråden."
|
package/lang/translations/th.po
CHANGED
|
@@ -82,6 +82,14 @@ msgctxt "The tooltip for the comment toolbar button and the button that submits
|
|
|
82
82
|
msgid "Comment"
|
|
83
83
|
msgstr "ข้อคิดเห็น"
|
|
84
84
|
|
|
85
|
+
msgctxt "A message read out by assistive technologies the moment the user selection moves into a comment."
|
|
86
|
+
msgid "ENTER_COMMENT_ANNOUNCEMENT"
|
|
87
|
+
msgstr "กำลังเข้าสู่ความคิดเห็น"
|
|
88
|
+
|
|
89
|
+
msgctxt "A message read out by assistive technologies the moment the user selection leaves a comment."
|
|
90
|
+
msgid "LEAVE_COMMENT_ANNOUNCEMENT"
|
|
91
|
+
msgstr "กำลังแสดงความคิดเห็น"
|
|
92
|
+
|
|
85
93
|
msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
|
|
86
94
|
msgid "PENDING_ACTION_COMMENT_THREAD"
|
|
87
95
|
msgstr "การเปลี่ยนแปลงที่ยังไม่ได้บันทึกในชุดข้อคิดเห็น"
|
package/lang/translations/tk.po
CHANGED
|
@@ -83,6 +83,14 @@ msgctxt "The tooltip for the comment toolbar button and the button that submits
|
|
|
83
83
|
msgid "Comment"
|
|
84
84
|
msgstr "Teswir"
|
|
85
85
|
|
|
86
|
+
msgctxt "A message read out by assistive technologies the moment the user selection moves into a comment."
|
|
87
|
+
msgid "ENTER_COMMENT_ANNOUNCEMENT"
|
|
88
|
+
msgstr ""
|
|
89
|
+
|
|
90
|
+
msgctxt "A message read out by assistive technologies the moment the user selection leaves a comment."
|
|
91
|
+
msgid "LEAVE_COMMENT_ANNOUNCEMENT"
|
|
92
|
+
msgstr ""
|
|
93
|
+
|
|
86
94
|
msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
|
|
87
95
|
msgid "PENDING_ACTION_COMMENT_THREAD"
|
|
88
96
|
msgstr "Teswirler bölüminde saklanmadyk üýtgeşme."
|
package/lang/translations/tr.po
CHANGED
|
@@ -83,6 +83,14 @@ msgctxt "The tooltip for the comment toolbar button and the button that submits
|
|
|
83
83
|
msgid "Comment"
|
|
84
84
|
msgstr "Yorum"
|
|
85
85
|
|
|
86
|
+
msgctxt "A message read out by assistive technologies the moment the user selection moves into a comment."
|
|
87
|
+
msgid "ENTER_COMMENT_ANNOUNCEMENT"
|
|
88
|
+
msgstr "Bir yorum giriliyor."
|
|
89
|
+
|
|
90
|
+
msgctxt "A message read out by assistive technologies the moment the user selection leaves a comment."
|
|
91
|
+
msgid "LEAVE_COMMENT_ANNOUNCEMENT"
|
|
92
|
+
msgstr "Bir yorum bırakılıyor."
|
|
93
|
+
|
|
86
94
|
msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
|
|
87
95
|
msgid "PENDING_ACTION_COMMENT_THREAD"
|
|
88
96
|
msgstr "Yorum dizisinde kaydedilmemiş değişiklikler var."
|
package/lang/translations/tt.po
CHANGED
|
@@ -82,6 +82,14 @@ msgctxt "The tooltip for the comment toolbar button and the button that submits
|
|
|
82
82
|
msgid "Comment"
|
|
83
83
|
msgstr "Аңлатма"
|
|
84
84
|
|
|
85
|
+
msgctxt "A message read out by assistive technologies the moment the user selection moves into a comment."
|
|
86
|
+
msgid "ENTER_COMMENT_ANNOUNCEMENT"
|
|
87
|
+
msgstr ""
|
|
88
|
+
|
|
89
|
+
msgctxt "A message read out by assistive technologies the moment the user selection leaves a comment."
|
|
90
|
+
msgid "LEAVE_COMMENT_ANNOUNCEMENT"
|
|
91
|
+
msgstr ""
|
|
92
|
+
|
|
85
93
|
msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
|
|
86
94
|
msgid "PENDING_ACTION_COMMENT_THREAD"
|
|
87
95
|
msgstr ""
|
package/lang/translations/ug.po
CHANGED
|
@@ -83,6 +83,14 @@ msgctxt "The tooltip for the comment toolbar button and the button that submits
|
|
|
83
83
|
msgid "Comment"
|
|
84
84
|
msgstr "ئىنكاس"
|
|
85
85
|
|
|
86
|
+
msgctxt "A message read out by assistive technologies the moment the user selection moves into a comment."
|
|
87
|
+
msgid "ENTER_COMMENT_ANNOUNCEMENT"
|
|
88
|
+
msgstr ""
|
|
89
|
+
|
|
90
|
+
msgctxt "A message read out by assistive technologies the moment the user selection leaves a comment."
|
|
91
|
+
msgid "LEAVE_COMMENT_ANNOUNCEMENT"
|
|
92
|
+
msgstr ""
|
|
93
|
+
|
|
86
94
|
msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
|
|
87
95
|
msgid "PENDING_ACTION_COMMENT_THREAD"
|
|
88
96
|
msgstr "ئىنكاس رايونىدا ساقلانمىغان ئۆزگەرتىش مەۋجۇت"
|
package/lang/translations/uk.po
CHANGED
|
@@ -85,6 +85,14 @@ msgctxt "The tooltip for the comment toolbar button and the button that submits
|
|
|
85
85
|
msgid "Comment"
|
|
86
86
|
msgstr "Коментар"
|
|
87
87
|
|
|
88
|
+
msgctxt "A message read out by assistive technologies the moment the user selection moves into a comment."
|
|
89
|
+
msgid "ENTER_COMMENT_ANNOUNCEMENT"
|
|
90
|
+
msgstr "Вхід у коментар."
|
|
91
|
+
|
|
92
|
+
msgctxt "A message read out by assistive technologies the moment the user selection leaves a comment."
|
|
93
|
+
msgid "LEAVE_COMMENT_ANNOUNCEMENT"
|
|
94
|
+
msgstr "Вихід з коментаря."
|
|
95
|
+
|
|
88
96
|
msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
|
|
89
97
|
msgid "PENDING_ACTION_COMMENT_THREAD"
|
|
90
98
|
msgstr "Незбережена зміна ланцюжка коментарів."
|
package/lang/translations/ur.po
CHANGED
|
@@ -83,6 +83,14 @@ msgctxt "The tooltip for the comment toolbar button and the button that submits
|
|
|
83
83
|
msgid "Comment"
|
|
84
84
|
msgstr "تبصرہ"
|
|
85
85
|
|
|
86
|
+
msgctxt "A message read out by assistive technologies the moment the user selection moves into a comment."
|
|
87
|
+
msgid "ENTER_COMMENT_ANNOUNCEMENT"
|
|
88
|
+
msgstr ""
|
|
89
|
+
|
|
90
|
+
msgctxt "A message read out by assistive technologies the moment the user selection leaves a comment."
|
|
91
|
+
msgid "LEAVE_COMMENT_ANNOUNCEMENT"
|
|
92
|
+
msgstr ""
|
|
93
|
+
|
|
86
94
|
msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
|
|
87
95
|
msgid "PENDING_ACTION_COMMENT_THREAD"
|
|
88
96
|
msgstr "تبصرے دھاگے میں غیر محفوظ تبدیلیاں ہیں۔"
|
package/lang/translations/vi.po
CHANGED
|
@@ -82,6 +82,14 @@ msgctxt "The tooltip for the comment toolbar button and the button that submits
|
|
|
82
82
|
msgid "Comment"
|
|
83
83
|
msgstr "Bình luận"
|
|
84
84
|
|
|
85
|
+
msgctxt "A message read out by assistive technologies the moment the user selection moves into a comment."
|
|
86
|
+
msgid "ENTER_COMMENT_ANNOUNCEMENT"
|
|
87
|
+
msgstr "Đang nhập bình luận."
|
|
88
|
+
|
|
89
|
+
msgctxt "A message read out by assistive technologies the moment the user selection leaves a comment."
|
|
90
|
+
msgid "LEAVE_COMMENT_ANNOUNCEMENT"
|
|
91
|
+
msgstr "Đang viết bình luận."
|
|
92
|
+
|
|
85
93
|
msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
|
|
86
94
|
msgid "PENDING_ACTION_COMMENT_THREAD"
|
|
87
95
|
msgstr "Nội dung thay đổi chưa lưu trong chuỗi bình luận."
|
|
@@ -82,6 +82,14 @@ msgctxt "The tooltip for the comment toolbar button and the button that submits
|
|
|
82
82
|
msgid "Comment"
|
|
83
83
|
msgstr "评论"
|
|
84
84
|
|
|
85
|
+
msgctxt "A message read out by assistive technologies the moment the user selection moves into a comment."
|
|
86
|
+
msgid "ENTER_COMMENT_ANNOUNCEMENT"
|
|
87
|
+
msgstr "进入评论。"
|
|
88
|
+
|
|
89
|
+
msgctxt "A message read out by assistive technologies the moment the user selection leaves a comment."
|
|
90
|
+
msgid "LEAVE_COMMENT_ANNOUNCEMENT"
|
|
91
|
+
msgstr "离开评论。"
|
|
92
|
+
|
|
85
93
|
msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
|
|
86
94
|
msgid "PENDING_ACTION_COMMENT_THREAD"
|
|
87
95
|
msgstr "评论区有未保存内容"
|
package/lang/translations/zh.po
CHANGED
|
@@ -82,6 +82,14 @@ msgctxt "The tooltip for the comment toolbar button and the button that submits
|
|
|
82
82
|
msgid "Comment"
|
|
83
83
|
msgstr "留言"
|
|
84
84
|
|
|
85
|
+
msgctxt "A message read out by assistive technologies the moment the user selection moves into a comment."
|
|
86
|
+
msgid "ENTER_COMMENT_ANNOUNCEMENT"
|
|
87
|
+
msgstr "正在進入留言。"
|
|
88
|
+
|
|
89
|
+
msgctxt "A message read out by assistive technologies the moment the user selection leaves a comment."
|
|
90
|
+
msgid "LEAVE_COMMENT_ANNOUNCEMENT"
|
|
91
|
+
msgstr "正在留下留言。"
|
|
92
|
+
|
|
85
93
|
msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
|
|
86
94
|
msgid "PENDING_ACTION_COMMENT_THREAD"
|
|
87
95
|
msgstr "討論串尚未儲存。"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-comments",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "40.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/)",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"CHANGELOG.md"
|
|
44
44
|
],
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"ckeditor5": "
|
|
47
|
-
"ckeditor5-collaboration": "
|
|
46
|
+
"ckeditor5": "40.1.0",
|
|
47
|
+
"ckeditor5-collaboration": "40.1.0",
|
|
48
48
|
"lodash-es": "4.17.21"
|
|
49
49
|
},
|
|
50
50
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x161e=['destroy','function','isVisible','length','element','render','focusableElements','targetRect','stopListening','refreshVisibility','set','add','item','focusTracker','_id','isArray','isActive','target','_target','_type','annotation-invalid-target','_assertCorrectTarget','nodeType','view','remove','filter','mainView','_getNormalizedTarget'];(function(_0x5a265f,_0x161e6b){const _0x2379ad=function(_0x13434a){while(--_0x13434a){_0x5a265f['push'](_0x5a265f['shift']());}};_0x2379ad(++_0x161e6b);}(_0x161e,0x1df));const _0x2379=function(_0x5a265f,_0x161e6b){_0x5a265f=_0x5a265f-0x0;let _0x2379ad=_0x161e[_0x5a265f];return _0x2379ad;};import{CKEditorError as _0x4092ee,Rect as _0xe69619,Collection as _0x414cc6,ObservableMixin as _0x192c8e}from'ckeditor5/src/utils';export default class d extends _0x192c8e(){constructor({view:_0x512b73,target:_0x39dad0,type:_0x5d872c,isVisible:_0x14b077=!0x0}){super(),this['view']=_0x512b73,this[_0x2379('0x14')][_0x2379('0x1')]||this['view'][_0x2379('0x2')](),this[_0x2379('0x10')]=_0x5d872c,this['_target']=_0x39dad0,d[_0x2379('0x12')](this[_0x2379('0x18')]()),this[_0x2379('0x3')]=new _0x414cc6([this[_0x2379('0x14')][_0x2379('0x1')]],{'idProperty':_0x2379('0xb')}),this[_0x2379('0x3')]['on'](_0x2379('0x8'),(_0x56f234,_0x5dbac2)=>{this[_0x2379('0x14')][_0x2379('0xa')][_0x2379('0x8')](_0x5dbac2);}),this['focusableElements']['on'](_0x2379('0x15'),(_0x18923d,_0x38f72b)=>{this[_0x2379('0x14')][_0x2379('0xa')][_0x2379('0x15')](_0x38f72b);}),this[_0x2379('0x7')](_0x2379('0x1b'),_0x14b077);}get['type'](){return _0x2379('0x1a')==typeof this[_0x2379('0x10')]?this[_0x2379('0x10')]():this[_0x2379('0x10')];}get['innerView'](){return this[_0x2379('0x14')][_0x2379('0x17')];}get[_0x2379('0xe')](){const _0x2ed343=this[_0x2379('0x18')]();return d['_assertCorrectTarget'](_0x2ed343),_0x2ed343;}get[_0x2379('0x4')](){const _0x1814e4=this[_0x2379('0xe')];if(null===_0x1814e4)return null;if(_0x1814e4 instanceof _0xe69619)return _0x1814e4;const _0x441d7f=_0x1814e4[_0x2379('0x16')](_0x400be6=>function(_0x2b0838){const _0x517849=_0x2b0838['offsetParent'];if(_0x517849)return!0x0;const _0x11371a=_0x2b0838['getClientRects']()[_0x2379('0x9')](0x0);return!!_0x11371a;}(_0x400be6));return 0x0===_0x441d7f[_0x2379('0x0')]?null:new _0xe69619(_0x441d7f[0x0]['getClientRects']()[_0x2379('0x9')](0x0));}get[_0x2379('0xd')](){return this['view'][_0x2379('0xd')];}set['isActive'](_0x86960b){this[_0x2379('0x14')]['isActive']=_0x86960b,this[_0x2379('0x14')][_0x2379('0x17')][_0x2379('0xd')]=_0x86960b;}['updateTargetRect'](){this[_0x2379('0x14')]['targetRect']=this[_0x2379('0x4')];}[_0x2379('0x19')](){this[_0x2379('0x3')][_0x2379('0x5')](),this[_0x2379('0x3')]['clear'](),this[_0x2379('0x5')]();}[_0x2379('0x6')](){this[_0x2379('0x1b')]=!!this[_0x2379('0x4')];}static[_0x2379('0x12')](_0x4ff387){if(!(null===_0x4ff387||_0x4ff387 instanceof _0xe69619||Array[_0x2379('0xc')](_0x4ff387)&&_0x4ff387['every'](_0x9cbdca=>y(_0x9cbdca))))throw new _0x4092ee(_0x2379('0x11'),null,{'target':_0x4ff387});}[_0x2379('0x18')](){const _0x59b30d=_0x2379('0x1a')==typeof this['_target']?this[_0x2379('0xf')]():this['_target'];return y(_0x59b30d)?[_0x59b30d]:_0x59b30d;}}function y(_0x4541bc){return null!==_0x4541bc&&'object'==typeof _0x4541bc&&_0x2379('0x13')in _0x4541bc&&0x1===_0x4541bc[_0x2379('0x13')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c1c=['fire','getByView','innerView','set','refreshPositioning','delete','from','getIndex','_innerViewToAnnotation','_getOrderInContent','left','annotationcollection-not-existing-item','stopListening','focusTracker','length','sort','get','_sort','remove','_viewToAnnotation','view','annotationcollection-duplicated-item','add','focusableElements','updateTargetRect','_focusTracker','change:isFocused','top','listenTo','blur','has','clear','isFocused','targetRect'];(function(_0x443c00,_0x1c1cae){const _0xcb4283=function(_0x2c84b0){while(--_0x2c84b0){_0x443c00['push'](_0x443c00['shift']());}};_0xcb4283(++_0x1c1cae);}(_0x1c1c,0x182));const _0xcb42=function(_0x443c00,_0x1c1cae){_0x443c00=_0x443c00-0x0;let _0xcb4283=_0x1c1c[_0x443c00];return _0xcb4283;};import{CKEditorError as _0x3bfe54,Collection as _0x304a37,FocusTracker as _0x41a0db}from'ckeditor5/src/utils';export default class x extends _0x304a37{constructor(_0x3a494e=[]){super(),this['_innerViewToAnnotation']=new Map(),this[_0xcb42('0x7')]=new Map(),this['_focusTracker']=new _0x41a0db(),this[_0xcb42('0xd')]['on'](_0xcb42('0xe'),(_0x563e11,_0x1e2ec5,_0x48d908)=>{_0x48d908||this[_0xcb42('0x16')](_0xcb42('0x11'));});for(const _0x58a9f4 of _0x3a494e)this[_0xcb42('0xa')](_0x58a9f4);}get[_0xcb42('0x14')](){return this[_0xcb42('0xd')][_0xcb42('0x14')];}[_0xcb42('0xa')](_0x162ff7){if(this[_0xcb42('0x12')](_0x162ff7))throw new _0x3bfe54(_0xcb42('0x9'),null);this[_0xcb42('0x1e')][_0xcb42('0x19')](_0x162ff7[_0xcb42('0x18')],_0x162ff7),this[_0xcb42('0x7')][_0xcb42('0x19')](_0x162ff7[_0xcb42('0x8')],_0x162ff7);for(const _0x16cae3 of _0x162ff7[_0xcb42('0xb')])this[_0xcb42('0xd')][_0xcb42('0xa')](_0x16cae3);this[_0xcb42('0x10')](_0x162ff7[_0xcb42('0xb')],_0xcb42('0xa'),(_0x2d9b0d,_0x466bf4)=>{this[_0xcb42('0xd')][_0xcb42('0xa')](_0x466bf4);}),this[_0xcb42('0x10')](_0x162ff7['focusableElements'],'remove',(_0x509400,_0xb4ca13)=>{this['_focusTracker'][_0xcb42('0x6')](_0xb4ca13);}),this[_0xcb42('0x10')](_0x162ff7[_0xcb42('0x8')]['focusTracker'],'change:isFocused',(_0x12e936,_0x1fc472,_0x13e4ff)=>{_0x13e4ff&&this[_0xcb42('0x16')]('focus',_0x162ff7);}),_0x162ff7[_0xcb42('0xc')]();const _0x34dffd=this[_0xcb42('0x1f')](_0x162ff7[_0xcb42('0x8')]['targetRect']);return super[_0xcb42('0xa')](_0x162ff7,_0x34dffd);}[_0xcb42('0x6')](_0x2fdfdf){if(!this[_0xcb42('0x12')](_0x2fdfdf))throw new _0x3bfe54(_0xcb42('0x21'),null);this[_0xcb42('0x0')](_0x2fdfdf[_0xcb42('0x8')][_0xcb42('0x1')]),this[_0xcb42('0x0')](_0x2fdfdf[_0xcb42('0xb')]);for(const _0x24785e of _0x2fdfdf[_0xcb42('0xb')])this[_0xcb42('0xd')]['remove'](_0x24785e);return this[_0xcb42('0x7')][_0xcb42('0x1b')](_0x2fdfdf[_0xcb42('0x8')]),this[_0xcb42('0x1e')][_0xcb42('0x1b')](_0x2fdfdf[_0xcb42('0x18')]),super['remove'](_0x2fdfdf);}['getByInnerView'](_0x47477d){return this['_innerViewToAnnotation'][_0xcb42('0x4')](_0x47477d);}[_0xcb42('0x17')](_0x3e6ea0){return this[_0xcb42('0x7')][_0xcb42('0x4')](_0x3e6ea0);}['destroy'](){super[_0xcb42('0x13')](),this[_0xcb42('0x0')](),this[_0xcb42('0x1e')]['clear'](),this[_0xcb42('0x7')][_0xcb42('0x13')](),this[_0xcb42('0xd')]['destroy']();}[_0xcb42('0x1a')](){for(const _0x16b08d of this)_0x16b08d[_0xcb42('0xc')]();this[_0xcb42('0x5')]();}[_0xcb42('0x5')](){const _0x54f767=Array[_0xcb42('0x1c')](this)[_0xcb42('0x3')]((_0x29ebf4,_0x4bb8fa)=>v(_0x29ebf4[_0xcb42('0x8')][_0xcb42('0x15')],_0x4bb8fa[_0xcb42('0x8')][_0xcb42('0x15')]));for(let _0x2c85dc=_0x54f767[_0xcb42('0x2')]-0x1;_0x2c85dc>0x0;_0x2c85dc--){const _0x1c9f27=_0x54f767[_0x2c85dc];_0x2c85dc!==this[_0xcb42('0x1d')](_0x1c9f27)&&(this[_0xcb42('0x6')](_0x1c9f27),this[_0xcb42('0xa')](_0x1c9f27));}}['_getOrderInContent'](_0x2ab955){let _0x4f7c7d=0x0;if(!_0x2ab955)return this[_0xcb42('0x2')];for(const _0x180f9c of this){const _0x24be7f=_0x180f9c[_0xcb42('0x8')][_0xcb42('0x15')];if(_0x24be7f){if(v(_0x2ab955,_0x24be7f)<0x0)return _0x4f7c7d;_0x4f7c7d++;}}return _0x4f7c7d;}}export function bindAnnotationCollections({source:_0x5353de,target:_0x4403f7,filter:_0x3f9b21}){for(const _0x330165 of _0x5353de)_0x3f9b21(_0x330165)&&_0x4403f7[_0xcb42('0xa')](_0x330165);_0x4403f7[_0xcb42('0x10')](_0x5353de,_0xcb42('0xa'),(_0x149eff,_0x40e1a9)=>{_0x3f9b21(_0x40e1a9)&&_0x4403f7[_0xcb42('0xa')](_0x40e1a9);}),_0x4403f7[_0xcb42('0x10')](_0x5353de,_0xcb42('0x6'),(_0x33f8c,_0x1503f1)=>{_0x4403f7[_0xcb42('0x12')](_0x1503f1)&&_0x4403f7[_0xcb42('0x6')](_0x1503f1);});}function v(_0x170a36,_0x565b6e){if(null===_0x170a36&&null===_0x565b6e)return 0x0;if(null===_0x170a36)return-0x1;if(null===_0x565b6e)return 0x1;const _0x376658=_0x170a36[_0xcb42('0xf')]-_0x565b6e['top'];return 0x0==_0x376658?_0x170a36[_0xcb42('0x20')]-_0x565b6e[_0xcb42('0x20')]:_0x376658;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1020=['add','stopListening','focusTracker','view','activate','pluginName','fire','activeAnnotations','refreshVisibility','_deactivateAllAnnotations','element','change:isVisible','isVisible','getByInnerView','destroy','source','refreshPositioning','delete','remove','createAnnotation','_activateAnnotation','collection','_removeActiveAnnotation','_addActiveAnnotation','set','createAnnotationView','listenTo','has','Annotations','_bindAnnotationsToVisibleAnnotations','_visibleAnnotations'];(function(_0xf0094a,_0x10205d){const _0x26df23=function(_0x14da1){while(--_0x14da1){_0xf0094a['push'](_0xf0094a['shift']());}};_0x26df23(++_0x10205d);}(_0x1020,0xa3));const _0x26df=function(_0xf0094a,_0x10205d){_0xf0094a=_0xf0094a-0x0;let _0x26df23=_0x1020[_0xf0094a];return _0x26df23;};import{ContextPlugin as _0x422129}from'ckeditor5/src/core';import _0x5aa74c from'./annotation';import _0x3c52f1 from'./annotationcollection';import _0x3b55d2 from'./view/annotationview';export default class b extends _0x422129{static get[_0x26df('0x1c')](){return _0x26df('0x14');}constructor(_0x294441){super(_0x294441),this[_0x26df('0xd')]=new _0x3c52f1(),this['_visibleAnnotations']=new _0x3c52f1(),this[_0x26df('0x10')](_0x26df('0x1e'),new Set()),this[_0x26df('0x15')]();}[_0x26df('0x17')](_0xa6a9b0){this[_0x26df('0xd')]['add'](_0xa6a9b0);}[_0x26df('0xa')](_0x4e9d92){this[_0x26df('0xd')][_0x26df('0xa')](_0x4e9d92),_0x4e9d92['destroy']();}['refreshVisibility'](){for(const _0x522fc4 of this['collection'])_0x522fc4[_0x26df('0x0')]();}[_0x26df('0x8')](){this[_0x26df('0x16')][_0x26df('0x8')]();}['getByInnerView'](_0x416020){return this[_0x26df('0xd')][_0x26df('0x5')](_0x416020);}['deactivateAll'](){this[_0x26df('0x1d')](_0x26df('0x1'));}[_0x26df('0x6')](){for(const _0x14821e of this[_0x26df('0xd')])_0x14821e[_0x26df('0x6')]();this['_visibleAnnotations'][_0x26df('0x6')](),this[_0x26df('0xd')][_0x26df('0x6')](),super[_0x26df('0x6')]();}[_0x26df('0x1b')](_0x259502){this['fire'](_0x26df('0xc'),_0x259502);}[_0x26df('0xb')](_0x26cdb5){return new _0x5aa74c(_0x26cdb5);}[_0x26df('0x11')](_0x128483,_0xa71a49){return new _0x3b55d2(_0x128483,_0xa71a49);}[_0x26df('0xf')](_0x2f3ca8){const _0x4ba131=new Set(this['activeAnnotations']);_0x4ba131[_0x26df('0x17')](_0x2f3ca8),this[_0x26df('0x1e')]=_0x4ba131;}[_0x26df('0xe')](_0xcedf5f){const _0x1f7ceb=new Set(this[_0x26df('0x1e')]);_0x1f7ceb[_0x26df('0x9')](_0xcedf5f),this[_0x26df('0x1e')]=_0x1f7ceb;}[_0x26df('0x15')](){const _0x35dece=this['collection'],_0x1babc0=this['_visibleAnnotations'];function _0x342878(_0x4fd65c){const _0x3e3f7c=_0x4fd65c[_0x26df('0x7')];_0x3e3f7c[_0x26df('0x4')]&&!_0x1babc0[_0x26df('0x13')](_0x3e3f7c)?_0x1babc0['add'](_0x3e3f7c):!_0x3e3f7c[_0x26df('0x4')]&&_0x1babc0[_0x26df('0x13')](_0x3e3f7c)&&_0x1babc0[_0x26df('0xa')](_0x3e3f7c),_0x3e3f7c[_0x26df('0x1a')][_0x26df('0x19')][_0x26df('0xa')](_0x3e3f7c['view'][_0x26df('0x2')]),_0x3e3f7c[_0x26df('0x1a')][_0x26df('0x19')]['add'](_0x3e3f7c[_0x26df('0x1a')][_0x26df('0x2')]);}this['listenTo'](_0x35dece,_0x26df('0x17'),(_0x302e39,_0x10f9c3)=>{_0x10f9c3[_0x26df('0x4')]&&_0x1babc0[_0x26df('0x17')](_0x10f9c3),this[_0x26df('0x12')](_0x10f9c3,'change:isVisible',_0x342878);}),this['listenTo'](_0x35dece,_0x26df('0xa'),(_0x32b0ff,_0x408062)=>{_0x1babc0[_0x26df('0x13')](_0x408062)&&_0x1babc0[_0x26df('0xa')](_0x408062),this[_0x26df('0x18')](_0x408062,_0x26df('0x3'),_0x342878);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x48f7=['_addActiveAnnotation','from','init','stopListening','annotationsuis-missing-ui','detach','annotationsuis-register-invalid-interface','has','annotationsuis-register-already-registered','refilterAnnotations','_setSelectedAnnotations','size','deactivate','length','requires','setActiveAnnotation','pluginName','hasActive','destroy','_uis','filter','activeUIs','activate','collection','_activateAnnotation','_assertAnnotationDoesNotBelongToMultipleUIs','isActive','add','_uisData','plugins','_visibleAnnotations','_removeActiveAnnotation','set','get','register','push','deactivateAll','function','activeAnnotations','AnnotationsUIs','context','delete','listenTo','switchTo','attach','change:activeAnnotation'];(function(_0x53c21a,_0x48f750){const _0x5b66d4=function(_0x5db456){while(--_0x5db456){_0x53c21a['push'](_0x53c21a['shift']());}};_0x5b66d4(++_0x48f750);}(_0x48f7,0x1c4));const _0x5b66=function(_0x53c21a,_0x48f750){_0x53c21a=_0x53c21a-0x0;let _0x5b66d4=_0x48f7[_0x53c21a];return _0x5b66d4;};import{ContextPlugin as _0x2af20a}from'ckeditor5/src/core';import{CKEditorError as _0x1b896c}from'ckeditor5/src/utils';import _0x2ae025,{bindAnnotationCollections as _0x29b1c6}from'./annotationcollection';import _0x48a389 from'./annotations';export default class M extends _0x2af20a{static get[_0x5b66('0x16')](){return[_0x48a389];}static get[_0x5b66('0x18')](){return _0x5b66('0x1');}constructor(_0x1b6391){super(_0x1b6391),this[_0x5b66('0x1d')]=new Set(),this[_0x5b66('0x1b')]=new Map(),this[_0x5b66('0x24')]=new Map();}[_0x5b66('0xa')](){const _0x5208ea=this[_0x5b66('0x2')][_0x5b66('0x25')]['get'](_0x48a389);this[_0x5b66('0x4')](_0x5208ea,_0x5b66('0x20'),(_0x56bedc,_0x3fa75f)=>{for(const _0x48eee3 of this[_0x5b66('0x1d')]){const _0xacca70=this[_0x5b66('0x1b')][_0x5b66('0x29')](_0x48eee3);(0x0,this[_0x5b66('0x24')][_0x5b66('0x29')](_0x48eee3)[_0x5b66('0x1c')])(_0x3fa75f)&&_0xacca70[_0x5b66('0x17')](_0x3fa75f);}}),this[_0x5b66('0x4')](_0x5208ea,'_deactivateAllAnnotations',()=>{for(const _0x23d6fb of this[_0x5b66('0x1d')]){this[_0x5b66('0x1b')][_0x5b66('0x29')](_0x23d6fb)[_0x5b66('0x17')](null);}}),this[_0x5b66('0x4')](_0x5208ea[_0x5b66('0x26')],_0x5b66('0x23'),(_0x44ae5a,_0x22c549)=>{this[_0x5b66('0x21')](_0x22c549);});}[_0x5b66('0x19')](){return this[_0x5b66('0x1d')][_0x5b66('0x13')]>0x0;}[_0x5b66('0x22')](_0x2bcc6c){return this[_0x5b66('0x1d')]['has'](_0x2bcc6c);}['activate'](_0x4fdd2c,_0x134e91=()=>!0x0){const _0x257303=this[_0x5b66('0x2')][_0x5b66('0x25')][_0x5b66('0x29')](_0x48a389);if(!this['_uis'][_0x5b66('0xf')](_0x4fdd2c))throw new _0x1b896c(_0x5b66('0xc'),this,{'uiName':_0x4fdd2c});this[_0x5b66('0x22')](_0x4fdd2c)&&this[_0x5b66('0x14')](_0x4fdd2c),this[_0x5b66('0x1d')]['add'](_0x4fdd2c);const _0xf9c135=new _0x2ae025(),_0x4d7e74=_0x257303['_visibleAnnotations'];_0x29b1c6({'source':_0x4d7e74,'target':_0xf9c135,'filter':_0x134e91}),this['_uisData'][_0x5b66('0x28')](_0x4fdd2c,{'collection':_0xf9c135,'filter':_0x134e91});const _0x188e9a=this[_0x5b66('0x1b')][_0x5b66('0x29')](_0x4fdd2c);_0x188e9a[_0x5b66('0x6')](_0xf9c135),this['listenTo'](_0x188e9a,_0x5b66('0x7'),(_0x30a0ae,_0xd3c332,_0x46d218,_0x1c149d)=>{_0x1c149d&&_0x257303[_0x5b66('0x27')](_0x1c149d),_0x46d218&&_0x257303[_0x5b66('0x8')](_0x46d218);});}[_0x5b66('0x14')](_0x1caf5c){if(this[_0x5b66('0x1d')]['delete'](_0x1caf5c),!this[_0x5b66('0x1b')]['has'](_0x1caf5c))throw new _0x1b896c(_0x5b66('0xc'),this,{'uiName':_0x1caf5c});const _0x5be2c0=this[_0x5b66('0x1b')][_0x5b66('0x29')](_0x1caf5c);_0x5be2c0[_0x5b66('0xd')](),this[_0x5b66('0xb')](_0x5be2c0),this['_uisData'][_0x5b66('0x29')](_0x1caf5c)[_0x5b66('0x1f')]['destroy'](),this['_uisData'][_0x5b66('0x3')](_0x1caf5c);}[_0x5b66('0x5')](_0x2a4c4a){if(!this['_uis'][_0x5b66('0xf')](_0x2a4c4a))throw new _0x1b896c(_0x5b66('0xc'),this,{'uiName':_0x2a4c4a});const _0x91250b=this[_0x5b66('0x2')][_0x5b66('0x25')][_0x5b66('0x29')](_0x48a389),_0x748d59=Array[_0x5b66('0x9')](_0x91250b[_0x5b66('0x0')])[0x0]||null;this[_0x5b66('0x2c')](),this[_0x5b66('0x1e')](_0x2a4c4a);const _0x238cef=this[_0x5b66('0x1b')][_0x5b66('0x29')](_0x2a4c4a);_0x238cef['setActiveAnnotation'](_0x748d59),_0x238cef['_setSelectedAnnotations']&&_0x748d59&&_0x238cef[_0x5b66('0x12')]([_0x748d59]);}['deactivateAll'](){for(const _0x5db296 of this[_0x5b66('0x1d')])this[_0x5b66('0x14')](_0x5db296);}[_0x5b66('0x2a')](_0x1b53b0,_0x321df4){if(this[_0x5b66('0x1b')][_0x5b66('0xf')](_0x1b53b0))throw new _0x1b896c(_0x5b66('0x10'));if(_0x5b66('0x2d')!=typeof _0x321df4['attach']||'function'!=typeof _0x321df4['detach']||'function'!=typeof _0x321df4[_0x5b66('0x17')])throw new _0x1b896c(_0x5b66('0xe'),null);this['_uis'][_0x5b66('0x28')](_0x1b53b0,_0x321df4);}[_0x5b66('0x11')](){const _0x4503e3=this[_0x5b66('0x2')][_0x5b66('0x25')][_0x5b66('0x29')](_0x48a389)[_0x5b66('0x1f')],_0x4ae021=new Map(),_0x3ad206=Array[_0x5b66('0x9')](this['activeUIs']);for(const _0x159424 of this[_0x5b66('0x1d')]){const _0x2015d4=this[_0x5b66('0x24')][_0x5b66('0x29')](_0x159424)[_0x5b66('0x1f')];for(const _0x5b5996 of _0x2015d4)_0x4ae021['set'](_0x5b5996,_0x159424);}for(const _0x312ee2 of _0x4503e3){const _0x3a0e31=_0x4ae021[_0x5b66('0x29')](_0x312ee2);this[_0x5b66('0x21')](_0x312ee2);const _0x381d81=_0x3ad206['find'](_0xcc91e3=>this[_0x5b66('0x24')][_0x5b66('0x29')](_0xcc91e3)[_0x5b66('0x1c')](_0x312ee2));_0x3a0e31!==_0x381d81&&(_0x3a0e31&&this[_0x5b66('0x24')][_0x5b66('0x29')](_0x3a0e31)[_0x5b66('0x1f')]['remove'](_0x312ee2),_0x381d81&&this['_uisData']['get'](_0x381d81)['collection']['add'](_0x312ee2));}}['destroy'](){this[_0x5b66('0x2c')](),super[_0x5b66('0x1a')]();}['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x1a582c){const _0x1a67ad=[];for(const _0x56da07 of this[_0x5b66('0x1d')]){(0x0,this[_0x5b66('0x24')][_0x5b66('0x29')](_0x56da07)[_0x5b66('0x1c')])(_0x1a582c)&&_0x1a67ad[_0x5b66('0x2b')](_0x56da07);}if(_0x1a67ad[_0x5b66('0x15')]>0x1)throw new _0x1b896c('annotationsuis-annotation-mismatch',null,{'matchedUIs':_0x1a67ad,'annotationType':_0x1a582c['type']});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x55ca=['add','isEqual','_editorAnnotationsData','_editorAnnotations','containsRange','EditorAnnotations','get','set','remove','collection','fire','element','cancel','requires','init','plugins','selection','blur','editorannotations-invalid-source-callback','document','push','editing','directChange','view','model','editor','pluginName','from','has','sort','change:isFocused','hasDomSelection','addSourceCollector','registerAnnotation','isReadOnly','_dataCollectors','listenTo','getRanges','update','focusTracker','uiUpdate','change:range','function','range','refreshSelectedViews','refresh','annotation','innerView','getOrderedSelectedAnnotations'];(function(_0x1d8972,_0x55ca5f){const _0x506895=function(_0x3a1464){while(--_0x3a1464){_0x1d8972['push'](_0x1d8972['shift']());}};_0x506895(++_0x55ca5f);}(_0x55ca,0xe0));const _0x5068=function(_0x1d8972,_0x55ca5f){_0x1d8972=_0x1d8972-0x0;let _0x506895=_0x55ca[_0x1d8972];return _0x506895;};import{Plugin as _0x494aa4}from'ckeditor5/src/core';import{CKEditorError as _0x574ef8}from'ckeditor5/src/utils';import{debounce as _0x5e5713}from'lodash-es';import _0x5a0592 from'./annotations';export default class k extends _0x494aa4{static get[_0x5068('0x22')](){return[_0x5a0592];}static get[_0x5068('0x2f')](){return _0x5068('0x1a');}constructor(_0x294844){super(_0x294844),this['_dataCollectors']=new Set(),this[_0x5068('0x18')]=new Set();}[_0x5068('0x23')](){const _0x3a87d7=this[_0x5068('0x2e')],_0x67d997=_0x3a87d7[_0x5068('0x2d')][_0x5068('0x28')][_0x5068('0x25')],_0x102272=_0x5e5713(()=>this[_0x5068('0x10')](),0xa);_0x67d997['on'](_0x5068('0xd'),(_0x42e52f,_0x54ddb5)=>{_0x54ddb5[_0x5068('0x2b')]&&(_0x102272[_0x5068('0x21')](),this[_0x5068('0x10')]());}),this[_0x5068('0x8')](_0x3a87d7['editing']['view'][_0x5068('0x28')],_0x5068('0x2'),(_0x3b0b98,_0x1dc498,_0x4b03af)=>{_0x4b03af&&_0x102272();}),this[_0x5068('0x8')](_0x3a87d7['ui'][_0x5068('0xb')],'change:isFocused',(_0x58219a,_0x9b9043,_0x276a94)=>{_0x276a94||_0x3a87d7[_0x5068('0x6')]||this[_0x5068('0x1f')](_0x5068('0x26'),{'isAnnotationTracked':_0x147be0=>this[_0x5068('0x17')]['has'](_0x147be0[_0x5068('0x13')])});}),this['listenTo'](this[_0x5068('0x2e')]['ui'],_0x5068('0xa'),()=>this[_0x5068('0x1f')](_0x5068('0xc')));}[_0x5068('0x5')](_0x17d613){if(this['_editorAnnotations'][_0x5068('0x0')](_0x17d613[_0x5068('0x2c')]))return;this[_0x5068('0x18')][_0x5068('0x15')](_0x17d613['view']),this[_0x5068('0x2e')]['ui']['focusTracker'][_0x5068('0x15')](_0x17d613[_0x5068('0x2c')][_0x5068('0x20')]);const _0x4b6fa0=this[_0x5068('0x2e')][_0x5068('0x24')][_0x5068('0x1b')](_0x5a0592);this['listenTo'](_0x4b6fa0[_0x5068('0x1e')],_0x5068('0x1d'),(_0x426107,_0xea02a4)=>{this[_0x5068('0x2e')]['ui'][_0x5068('0xb')]['remove'](_0xea02a4[_0x5068('0x2c')][_0x5068('0x20')]),this[_0x5068('0x18')]['delete'](_0xea02a4[_0x5068('0x2c')]);});}[_0x5068('0x3')](){return this[_0x5068('0x2e')][_0x5068('0x2a')][_0x5068('0x2c')][_0x5068('0x3')];}[_0x5068('0x4')](_0x5e90d7){if(_0x5068('0xe')!=typeof _0x5e90d7)throw new _0x574ef8(_0x5068('0x27'));this['_dataCollectors']['add'](_0x5e90d7);}[_0x5068('0x10')](){this[_0x5068('0x1f')](_0x5068('0x11'));}[_0x5068('0x14')]({activeAnnotation:_0x3c0759,annotations:_0x32868f}){const _0x3d96c1=[],_0xd7e5ee=this[_0x5068('0x2e')]['model'][_0x5068('0x28')]['selection'],_0x217538=Array[_0x5068('0x30')](_0xd7e5ee[_0x5068('0x9')]());for(const [_0x26504f,_0x443548]of this['_editorAnnotationsData']){const _0x15ba55=_0x1f01ab(_0x443548),_0x189d1e=_0x32868f['getByInnerView'](_0x26504f);_0x15ba55&&_0x189d1e&&_0x3d96c1[_0x5068('0x29')]({'annotation':_0x189d1e,'range':_0x15ba55});}function _0x1f01ab(_0x4e4fc4){for(const _0xaa08ad of _0x4e4fc4)for(const _0x596e0d of _0x217538)if(_0xaa08ad[_0x5068('0x19')](_0x596e0d,!_0xd7e5ee['isCollapsed']))return _0xaa08ad;return null;}return _0x3d96c1[_0x5068('0x1')]((_0x33e197,_0x5da3c0)=>{const _0x3ffea0=_0x33e197[_0x5068('0xf')],_0xc8467a=_0x5da3c0[_0x5068('0xf')];if(!_0x3ffea0[_0x5068('0x16')](_0xc8467a)){if(_0x3ffea0[_0x5068('0x19')](_0xc8467a,!0x0))return 0x1;if(_0xc8467a[_0x5068('0x19')](_0x3ffea0,!0x0))return-0x1;}return _0x33e197[_0x5068('0x12')]==_0x3c0759?-0x1:_0x5da3c0[_0x5068('0x12')]==_0x3c0759?0x1:0x0;})['map'](_0x4c8eac=>_0x4c8eac['annotation']);}get[_0x5068('0x17')](){const _0x225a8d=new Map();for(const _0x396057 of Array[_0x5068('0x30')](this[_0x5068('0x7')]))for(const [_0x19ec01,_0x3df459]of _0x396057())_0x225a8d[_0x5068('0x1c')](_0x19ec01,_0x3df459);return _0x225a8d;}}
|