@ckeditor/ckeditor5-comments 44.3.0 → 45.0.0-alpha.1
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 +1 -1
- package/build/comments.js +1 -1
- package/build/translations/be.js +1 -0
- package/ckeditor5-metadata.json +2 -2
- package/dist/index.js +9 -9
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.d.ts +8 -0
- package/dist/translations/be.js +23 -0
- package/dist/translations/be.umd.js +23 -0
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/translations/be.po +178 -0
- package/package.json +19 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.d.ts +4 -0
- 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.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- 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/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/theme/icons/add-comment.svg +0 -11
- package/theme/icons/comments-archive.svg +0 -11
- package/theme/icons/edit-comment.svg +0 -11
- package/theme/icons/remove-comment.svg +0 -11
- package/theme/icons/undo.svg +0 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'zh-cn':{'dictionary':{'Comment\x20editor':'评论插件','NUMBER_OF_COMMENTS':'%0\x20条评论','TOO_LONG_COMMENT_ALERT':'评论内容过长。评论内容长度必须大于%0个字符而小于%1个字符。','Reply...':'回复...','Reply\x20to\x20reopen\x20discussion...':'回复以重新开启讨论……','Write\x20a\x20comment...':'编写评论...','Comment\x20was\x20made\x20on\x20an\x20element':'对元素进行了评论','Edit':'编辑','Resolve':'解决','Reopen':'重新开启','Remove':'删除','Reply':'回复','Delete\x20comment?':'删除这条评论?','Delete\x20comment\x20thread?':'删除这组评论?','Marked\x20as\x20resolved':'标记为已解决','Comment':'评论','Annotations\x20sidebar':'批注侧栏','Annotations\x20list':'批注列表','Thread\x20comments':'跟帖评论','THREAD_CONTEXT_LABEL':'跟帖上下文:\x20%0','COMMENT_THREAD_LABEL':'%1\x20的评论更贴。%1\x20个回复。','COMMENT_THREAD_DESCRIPTION':'按\x20Enter\x20键获取更多选项。按\x20Esc\x20键退出。','COMMENT_ARIA_LABEL':'%0\x20的评论。创建于\x20%1。%2。%3','COMMENTS_ARCHIVE_LIST_LABEL':'评论列表','ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':'用于与批注跟帖进行交互的按键(例如评论、跟踪更改建议)','ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':'当选择锚定在其标记上时,将焦点移到跟帖上','ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':'退出批注并将焦点移回编辑的内容','ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':'浏览重点批注跟帖或跟帖评论','ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':'在批注跟帖内移动','ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':'在写评论的同时提交回复','ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':'移至批注侧栏或评论存档中的上一个或下一个跟帖','ENTER_COMMENT_ANNOUNCEMENT':'正在输入带有评论的内容。按\x20%0\x20进入讨论。','LEAVE_COMMENT_ANNOUNCEMENT':'留下带有评论的内容。','PENDING_ACTION_COMMENT_THREAD':'评论区有未保存内容','EXTERNAL_COMMENT':'此评论来自外部来源。','EXTERNAL_IMPORT_WORD_COMMENT':'此评论来自导入的\x20Word\x20文件。','EXTERNAL_AVATAR':'显示的作者名来自(%0\x20添加的)外部来源','EXTERNAL_IMPORT_WORD_AVATAR':'显示的作者名来自\x20%0\x20导入的\x20Word\x20文件','COMMENTS_ARCHIVE':'评论存档','EMPTY_COMMENTS_ARCHIVE':'没有已存档的评论。'},'getPluralForm':
|
|
23
|
+
export default{'zh-cn':{'dictionary':{'Comment\x20editor':'评论插件','NUMBER_OF_COMMENTS':'%0\x20条评论','TOO_LONG_COMMENT_ALERT':'评论内容过长。评论内容长度必须大于%0个字符而小于%1个字符。','Reply...':'回复...','Reply\x20to\x20reopen\x20discussion...':'回复以重新开启讨论……','Write\x20a\x20comment...':'编写评论...','Comment\x20was\x20made\x20on\x20an\x20element':'对元素进行了评论','Edit':'编辑','Resolve':'解决','Reopen':'重新开启','Remove':'删除','Reply':'回复','Delete\x20comment?':'删除这条评论?','Delete\x20comment\x20thread?':'删除这组评论?','Marked\x20as\x20resolved':'标记为已解决','Comment':'评论','Annotations\x20sidebar':'批注侧栏','Annotations\x20list':'批注列表','Thread\x20comments':'跟帖评论','THREAD_CONTEXT_LABEL':'跟帖上下文:\x20%0','COMMENT_THREAD_LABEL':'%1\x20的评论更贴。%1\x20个回复。','COMMENT_THREAD_DESCRIPTION':'按\x20Enter\x20键获取更多选项。按\x20Esc\x20键退出。','COMMENT_ARIA_LABEL':'%0\x20的评论。创建于\x20%1。%2。%3','COMMENTS_ARCHIVE_LIST_LABEL':'评论列表','ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':'用于与批注跟帖进行交互的按键(例如评论、跟踪更改建议)','ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':'当选择锚定在其标记上时,将焦点移到跟帖上','ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':'退出批注并将焦点移回编辑的内容','ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':'浏览重点批注跟帖或跟帖评论','ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':'在批注跟帖内移动','ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':'在写评论的同时提交回复','ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':'移至批注侧栏或评论存档中的上一个或下一个跟帖','ENTER_COMMENT_ANNOUNCEMENT':'正在输入带有评论的内容。按\x20%0\x20进入讨论。','LEAVE_COMMENT_ANNOUNCEMENT':'留下带有评论的内容。','PENDING_ACTION_COMMENT_THREAD':'评论区有未保存内容','EXTERNAL_COMMENT':'此评论来自外部来源。','EXTERNAL_IMPORT_WORD_COMMENT':'此评论来自导入的\x20Word\x20文件。','EXTERNAL_AVATAR':'显示的作者名来自(%0\x20添加的)外部来源','EXTERNAL_IMPORT_WORD_AVATAR':'显示的作者名来自\x20%0\x20导入的\x20Word\x20文件','COMMENTS_ARCHIVE':'评论存档','EMPTY_COMMENTS_ARCHIVE':'没有已存档的评论。'},'getPluralForm':_0x27d232=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x304362=>{const {'zh-cn':{dictionary:_0x55cfcb,getPluralForm:_0x1e2b75}}={'zh-cn':{'dictionary':{'Comment\x20editor':'评论插件','NUMBER_OF_COMMENTS':'%0\x20条评论','TOO_LONG_COMMENT_ALERT':'评论内容过长。评论内容长度必须大于%0个字符而小于%1个字符。','Reply...':'回复...','Reply\x20to\x20reopen\x20discussion...':'回复以重新开启讨论……','Write\x20a\x20comment...':'编写评论...','Comment\x20was\x20made\x20on\x20an\x20element':'对元素进行了评论','Edit':'编辑','Resolve':'解决','Reopen':'重新开启','Remove':'删除','Reply':'回复','Delete\x20comment?':'删除这条评论?','Delete\x20comment\x20thread?':'删除这组评论?','Marked\x20as\x20resolved':'标记为已解决','Comment':'评论','Annotations\x20sidebar':'批注侧栏','Annotations\x20list':'批注列表','Thread\x20comments':'跟帖评论','THREAD_CONTEXT_LABEL':'跟帖上下文:\x20%0','COMMENT_THREAD_LABEL':'%1\x20的评论更贴。%1\x20个回复。','COMMENT_THREAD_DESCRIPTION':'按\x20Enter\x20键获取更多选项。按\x20Esc\x20键退出。','COMMENT_ARIA_LABEL':'%0\x20的评论。创建于\x20%1。%2。%3','COMMENTS_ARCHIVE_LIST_LABEL':'评论列表','ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':'用于与批注跟帖进行交互的按键(例如评论、跟踪更改建议)','ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':'当选择锚定在其标记上时,将焦点移到跟帖上','ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':'退出批注并将焦点移回编辑的内容','ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':'浏览重点批注跟帖或跟帖评论','ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':'在批注跟帖内移动','ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':'在写评论的同时提交回复','ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':'移至批注侧栏或评论存档中的上一个或下一个跟帖','ENTER_COMMENT_ANNOUNCEMENT':'正在输入带有评论的内容。按\x20%0\x20进入讨论。','LEAVE_COMMENT_ANNOUNCEMENT':'留下带有评论的内容。','PENDING_ACTION_COMMENT_THREAD':'评论区有未保存内容','EXTERNAL_COMMENT':'此评论来自外部来源。','EXTERNAL_IMPORT_WORD_COMMENT':'此评论来自导入的\x20Word\x20文件。','EXTERNAL_AVATAR':'显示的作者名来自(%0\x20添加的)外部来源','EXTERNAL_IMPORT_WORD_AVATAR':'显示的作者名来自\x20%0\x20导入的\x20Word\x20文件','COMMENTS_ARCHIVE':'评论存档','EMPTY_COMMENTS_ARCHIVE':'没有已存档的评论。'},'getPluralForm':_0x3547f7=>0x0}};_0x304362['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x304362['zh-cn']['dictionary']=Object['assign'](_0x304362['zh-cn']['dictionary'],_0x55cfcb),_0x304362['zh-cn']['getPluralForm']=_0x1e2b75;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/zh.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'zh':{'dictionary':{'Comment\x20editor':'留言編輯器','NUMBER_OF_COMMENTS':'%0\x20則留言','TOO_LONG_COMMENT_ALERT':'留言內容太長。你的留言有\x20%0\x20個字,上限字數為\x20%1。','Reply...':'回覆...','Reply\x20to\x20reopen\x20discussion...':'回覆以重新開啟討論...','Write\x20a\x20comment...':'撰寫留言...','Comment\x20was\x20made\x20on\x20an\x20element':'對元件進行的留言','Edit':'編輯','Resolve':'解決','Reopen':'重新開啟','Remove':'刪除','Reply':'回覆','Delete\x20comment?':'刪除留言?','Delete\x20comment\x20thread?':'刪除討論串?','Marked\x20as\x20resolved':'已標記為解決','Comment':'留言','Annotations\x20sidebar':'註釋側邊欄','Annotations\x20list':'註釋清單','Thread\x20comments':'討論串留言','THREAD_CONTEXT_LABEL':'討論串脈絡:%0','COMMENT_THREAD_LABEL':'留言討論串發起人:%1。%1\x20則回覆。','COMMENT_THREAD_DESCRIPTION':'按\x20Enter\x20鍵可取得更多選項。按\x20Esc\x20鍵即可退出。','COMMENT_ARIA_LABEL':'留言者:%0。建立時間:%1。%2。%3','COMMENTS_ARCHIVE_LIST_LABEL':'留言清單','ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':'能夠與註釋討論串互動的按鍵輸入(例如留言、追蹤變更建議)','ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':'當選取範圍錨定於其標記處時,將焦點移至討論串','ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':'離開註釋並將焦點移回已編輯的內容','ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':'瀏覽已聚焦的註釋討論串或討論串留言','ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':'在註釋討論串內部移動','ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':'在撰寫留言時提交回覆','ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':'移至註釋側邊欄或留言封存中的上一個或下一個討論串','ENTER_COMMENT_ANNOUNCEMENT':'正在進入含有留言的內容。按\x20%0\x20即可前往討論區。','LEAVE_COMMENT_ANNOUNCEMENT':'正在離開含有留言的內容。','PENDING_ACTION_COMMENT_THREAD':'討論串尚未儲存。','EXTERNAL_COMMENT':'此留言來自外部來源。','EXTERNAL_IMPORT_WORD_COMMENT':'此留言來自匯入的\x20Word\x20檔案。','EXTERNAL_AVATAR':'顯示的作者名稱來自外部來源(由\x20%0\x20新增)','EXTERNAL_IMPORT_WORD_AVATAR':'顯示的作者名稱來自由\x20%0\x20匯入的\x20Word\x20文件','COMMENTS_ARCHIVE':'留言封存紀錄','EMPTY_COMMENTS_ARCHIVE':'無封存的留言串。'},'getPluralForm':
|
|
23
|
+
export default{'zh':{'dictionary':{'Comment\x20editor':'留言編輯器','NUMBER_OF_COMMENTS':'%0\x20則留言','TOO_LONG_COMMENT_ALERT':'留言內容太長。你的留言有\x20%0\x20個字,上限字數為\x20%1。','Reply...':'回覆...','Reply\x20to\x20reopen\x20discussion...':'回覆以重新開啟討論...','Write\x20a\x20comment...':'撰寫留言...','Comment\x20was\x20made\x20on\x20an\x20element':'對元件進行的留言','Edit':'編輯','Resolve':'解決','Reopen':'重新開啟','Remove':'刪除','Reply':'回覆','Delete\x20comment?':'刪除留言?','Delete\x20comment\x20thread?':'刪除討論串?','Marked\x20as\x20resolved':'已標記為解決','Comment':'留言','Annotations\x20sidebar':'註釋側邊欄','Annotations\x20list':'註釋清單','Thread\x20comments':'討論串留言','THREAD_CONTEXT_LABEL':'討論串脈絡:%0','COMMENT_THREAD_LABEL':'留言討論串發起人:%1。%1\x20則回覆。','COMMENT_THREAD_DESCRIPTION':'按\x20Enter\x20鍵可取得更多選項。按\x20Esc\x20鍵即可退出。','COMMENT_ARIA_LABEL':'留言者:%0。建立時間:%1。%2。%3','COMMENTS_ARCHIVE_LIST_LABEL':'留言清單','ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':'能夠與註釋討論串互動的按鍵輸入(例如留言、追蹤變更建議)','ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':'當選取範圍錨定於其標記處時,將焦點移至討論串','ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':'離開註釋並將焦點移回已編輯的內容','ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':'瀏覽已聚焦的註釋討論串或討論串留言','ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':'在註釋討論串內部移動','ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':'在撰寫留言時提交回覆','ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':'移至註釋側邊欄或留言封存中的上一個或下一個討論串','ENTER_COMMENT_ANNOUNCEMENT':'正在進入含有留言的內容。按\x20%0\x20即可前往討論區。','LEAVE_COMMENT_ANNOUNCEMENT':'正在離開含有留言的內容。','PENDING_ACTION_COMMENT_THREAD':'討論串尚未儲存。','EXTERNAL_COMMENT':'此留言來自外部來源。','EXTERNAL_IMPORT_WORD_COMMENT':'此留言來自匯入的\x20Word\x20檔案。','EXTERNAL_AVATAR':'顯示的作者名稱來自外部來源(由\x20%0\x20新增)','EXTERNAL_IMPORT_WORD_AVATAR':'顯示的作者名稱來自由\x20%0\x20匯入的\x20Word\x20文件','COMMENTS_ARCHIVE':'留言封存紀錄','EMPTY_COMMENTS_ARCHIVE':'無封存的留言串。'},'getPluralForm':_0x39a435=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x419bce=>{const {zh:{dictionary:_0x1f4cb4,getPluralForm:_0xbcdacd}}={'zh':{'dictionary':{'Comment\x20editor':'留言編輯器','NUMBER_OF_COMMENTS':'%0\x20則留言','TOO_LONG_COMMENT_ALERT':'留言內容太長。你的留言有\x20%0\x20個字,上限字數為\x20%1。','Reply...':'回覆...','Reply\x20to\x20reopen\x20discussion...':'回覆以重新開啟討論...','Write\x20a\x20comment...':'撰寫留言...','Comment\x20was\x20made\x20on\x20an\x20element':'對元件進行的留言','Edit':'編輯','Resolve':'解決','Reopen':'重新開啟','Remove':'刪除','Reply':'回覆','Delete\x20comment?':'刪除留言?','Delete\x20comment\x20thread?':'刪除討論串?','Marked\x20as\x20resolved':'已標記為解決','Comment':'留言','Annotations\x20sidebar':'註釋側邊欄','Annotations\x20list':'註釋清單','Thread\x20comments':'討論串留言','THREAD_CONTEXT_LABEL':'討論串脈絡:%0','COMMENT_THREAD_LABEL':'留言討論串發起人:%1。%1\x20則回覆。','COMMENT_THREAD_DESCRIPTION':'按\x20Enter\x20鍵可取得更多選項。按\x20Esc\x20鍵即可退出。','COMMENT_ARIA_LABEL':'留言者:%0。建立時間:%1。%2。%3','COMMENTS_ARCHIVE_LIST_LABEL':'留言清單','ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':'能夠與註釋討論串互動的按鍵輸入(例如留言、追蹤變更建議)','ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':'當選取範圍錨定於其標記處時,將焦點移至討論串','ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':'離開註釋並將焦點移回已編輯的內容','ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':'瀏覽已聚焦的註釋討論串或討論串留言','ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':'在註釋討論串內部移動','ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':'在撰寫留言時提交回覆','ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':'移至註釋側邊欄或留言封存中的上一個或下一個討論串','ENTER_COMMENT_ANNOUNCEMENT':'正在進入含有留言的內容。按\x20%0\x20即可前往討論區。','LEAVE_COMMENT_ANNOUNCEMENT':'正在離開含有留言的內容。','PENDING_ACTION_COMMENT_THREAD':'討論串尚未儲存。','EXTERNAL_COMMENT':'此留言來自外部來源。','EXTERNAL_IMPORT_WORD_COMMENT':'此留言來自匯入的\x20Word\x20檔案。','EXTERNAL_AVATAR':'顯示的作者名稱來自外部來源(由\x20%0\x20新增)','EXTERNAL_IMPORT_WORD_AVATAR':'顯示的作者名稱來自由\x20%0\x20匯入的\x20Word\x20文件','COMMENTS_ARCHIVE':'留言封存紀錄','EMPTY_COMMENTS_ARCHIVE':'無封存的留言串。'},'getPluralForm':_0xd262da=>0x0}};_0x419bce['zh']||={'dictionary':{},'getPluralForm':null},_0x419bce['zh']['dictionary']=Object['assign'](_0x419bce['zh']['dictionary'],_0x1f4cb4),_0x419bce['zh']['getPluralForm']=_0xbcdacd;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
# Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
|
+
#
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
7
|
+
#
|
|
8
|
+
msgid ""
|
|
9
|
+
msgstr ""
|
|
10
|
+
"Language: be\n"
|
|
11
|
+
"Plural-Forms: nplurals=3; plural=(n % 10 == 1 && n % 100 != 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2);\n"
|
|
12
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
13
|
+
|
|
14
|
+
msgctxt "The label for the comment editor."
|
|
15
|
+
msgid "Comment editor"
|
|
16
|
+
msgstr ""
|
|
17
|
+
|
|
18
|
+
msgctxt "The label for the number of comments."
|
|
19
|
+
msgid "NUMBER_OF_COMMENTS"
|
|
20
|
+
msgid_plural "%0 Comments"
|
|
21
|
+
msgstr[0] ""
|
|
22
|
+
msgstr[1] ""
|
|
23
|
+
msgstr[2] ""
|
|
24
|
+
|
|
25
|
+
msgctxt "The alert displayed for a comment that is too long."
|
|
26
|
+
msgid "TOO_LONG_COMMENT_ALERT"
|
|
27
|
+
msgstr ""
|
|
28
|
+
|
|
29
|
+
msgctxt "The placeholder for the reply field."
|
|
30
|
+
msgid "Reply..."
|
|
31
|
+
msgstr ""
|
|
32
|
+
|
|
33
|
+
msgctxt "The placeholder for the reply field when the comment thread is resolved."
|
|
34
|
+
msgid "Reply to reopen discussion..."
|
|
35
|
+
msgstr ""
|
|
36
|
+
|
|
37
|
+
msgctxt "The placeholder for the new commend field."
|
|
38
|
+
msgid "Write a comment..."
|
|
39
|
+
msgstr ""
|
|
40
|
+
|
|
41
|
+
msgctxt "The information that comment was made on element and has no context"
|
|
42
|
+
msgid "Comment was made on an element"
|
|
43
|
+
msgstr ""
|
|
44
|
+
|
|
45
|
+
msgctxt "The label for the button that enables editing a comment."
|
|
46
|
+
msgid "Edit"
|
|
47
|
+
msgstr ""
|
|
48
|
+
|
|
49
|
+
msgctxt "The label for the button that resolves a comment thread."
|
|
50
|
+
msgid "Resolve"
|
|
51
|
+
msgstr ""
|
|
52
|
+
|
|
53
|
+
msgctxt "The label for the button that reopens a resolved comment thread."
|
|
54
|
+
msgid "Reopen"
|
|
55
|
+
msgstr ""
|
|
56
|
+
|
|
57
|
+
msgctxt "The label for the button that deletes a comment."
|
|
58
|
+
msgid "Remove"
|
|
59
|
+
msgstr ""
|
|
60
|
+
|
|
61
|
+
msgctxt "The label for for the button that adds a reply to a comment thread."
|
|
62
|
+
msgid "Reply"
|
|
63
|
+
msgstr ""
|
|
64
|
+
|
|
65
|
+
msgctxt "The confirmation message shown after pressing the delete comment button."
|
|
66
|
+
msgid "Delete comment?"
|
|
67
|
+
msgstr ""
|
|
68
|
+
|
|
69
|
+
msgctxt "The confirmation message shown after pressing the delete comment thread button."
|
|
70
|
+
msgid "Delete comment thread?"
|
|
71
|
+
msgstr ""
|
|
72
|
+
|
|
73
|
+
msgctxt "A message informing that the comment has been resolved"
|
|
74
|
+
msgid "Marked as resolved"
|
|
75
|
+
msgstr ""
|
|
76
|
+
|
|
77
|
+
msgctxt "The tooltip for the comment toolbar button and the button that submits a comment thread."
|
|
78
|
+
msgid "Comment"
|
|
79
|
+
msgstr ""
|
|
80
|
+
|
|
81
|
+
msgctxt "The accessible label for the annotations sidebar."
|
|
82
|
+
msgid "Annotations sidebar"
|
|
83
|
+
msgstr ""
|
|
84
|
+
|
|
85
|
+
msgctxt "The accessible label for the list annotations in the annotations sidebar."
|
|
86
|
+
msgid "Annotations list"
|
|
87
|
+
msgstr ""
|
|
88
|
+
|
|
89
|
+
msgctxt "The accessible label for the list of thread comments in an annotation."
|
|
90
|
+
msgid "Thread comments"
|
|
91
|
+
msgstr ""
|
|
92
|
+
|
|
93
|
+
msgctxt "The accessible label describing the context of the comment thread (e.g. editor content being discussed)."
|
|
94
|
+
msgid "THREAD_CONTEXT_LABEL"
|
|
95
|
+
msgstr ""
|
|
96
|
+
|
|
97
|
+
msgctxt "The accessible label describing the comment thread."
|
|
98
|
+
msgid "COMMENT_THREAD_LABEL"
|
|
99
|
+
msgid_plural "Comment thread by %1. %0 replies."
|
|
100
|
+
msgstr[0] ""
|
|
101
|
+
msgstr[1] ""
|
|
102
|
+
msgstr[2] ""
|
|
103
|
+
|
|
104
|
+
msgctxt "The accessible label providing extra information about navigation in the comment thread."
|
|
105
|
+
msgid "COMMENT_THREAD_DESCRIPTION"
|
|
106
|
+
msgstr ""
|
|
107
|
+
|
|
108
|
+
msgctxt "The accessible label for a single comment."
|
|
109
|
+
msgid "COMMENT_ARIA_LABEL"
|
|
110
|
+
msgstr ""
|
|
111
|
+
|
|
112
|
+
msgctxt "The accessible label for the list of archived comments."
|
|
113
|
+
msgid "COMMENTS_ARCHIVE_LIST_LABEL"
|
|
114
|
+
msgstr ""
|
|
115
|
+
|
|
116
|
+
msgctxt "The accessibility help dialog description of the group of keystrokes related to annotations."
|
|
117
|
+
msgid "ACCESSIBILITY_HELP_ANNOTATIONS_GROUP"
|
|
118
|
+
msgstr ""
|
|
119
|
+
|
|
120
|
+
msgctxt "The accessibility help dialog keystroke description for moving from the edited content to the annotation."
|
|
121
|
+
msgid "ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO"
|
|
122
|
+
msgstr ""
|
|
123
|
+
|
|
124
|
+
msgctxt "The accessibility help dialog keystroke description for moving away from an annotation."
|
|
125
|
+
msgid "ACCESSIBILITY_HELP_ANNOTATIONS_EXIT"
|
|
126
|
+
msgstr ""
|
|
127
|
+
|
|
128
|
+
msgctxt "The accessibility help dialog keystroke description for entering a thread."
|
|
129
|
+
msgid "ACCESSIBILITY_HELP_ANNOTATIONS_ENTER"
|
|
130
|
+
msgstr ""
|
|
131
|
+
|
|
132
|
+
msgctxt "The accessibility help dialog keystroke description for moving across the internals of a thread."
|
|
133
|
+
msgid "ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS"
|
|
134
|
+
msgstr ""
|
|
135
|
+
|
|
136
|
+
msgctxt "The accessibility help dialog keystroke description for submitting a comment."
|
|
137
|
+
msgid "ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT"
|
|
138
|
+
msgstr ""
|
|
139
|
+
|
|
140
|
+
msgctxt "The accessibility help dialog keystroke description for navigating between annotations (threads)."
|
|
141
|
+
msgid "ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS"
|
|
142
|
+
msgstr ""
|
|
143
|
+
|
|
144
|
+
msgctxt "A message read out by assistive technologies the moment the user selection moves into a comment."
|
|
145
|
+
msgid "ENTER_COMMENT_ANNOUNCEMENT"
|
|
146
|
+
msgstr ""
|
|
147
|
+
|
|
148
|
+
msgctxt "A message read out by assistive technologies the moment the user selection leaves a comment."
|
|
149
|
+
msgid "LEAVE_COMMENT_ANNOUNCEMENT"
|
|
150
|
+
msgstr ""
|
|
151
|
+
|
|
152
|
+
msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
|
|
153
|
+
msgid "PENDING_ACTION_COMMENT_THREAD"
|
|
154
|
+
msgstr ""
|
|
155
|
+
|
|
156
|
+
msgctxt "The additional information that comments comes from external source."
|
|
157
|
+
msgid "EXTERNAL_COMMENT"
|
|
158
|
+
msgstr ""
|
|
159
|
+
|
|
160
|
+
msgctxt "The additional information that comments comes from imported Word file."
|
|
161
|
+
msgid "EXTERNAL_IMPORT_WORD_COMMENT"
|
|
162
|
+
msgstr ""
|
|
163
|
+
|
|
164
|
+
msgctxt "The additional information that displayed author name comes from an external source."
|
|
165
|
+
msgid "EXTERNAL_AVATAR"
|
|
166
|
+
msgstr ""
|
|
167
|
+
|
|
168
|
+
msgctxt "The additional information that displayed author name comes from imported Word file."
|
|
169
|
+
msgid "EXTERNAL_IMPORT_WORD_AVATAR"
|
|
170
|
+
msgstr ""
|
|
171
|
+
|
|
172
|
+
msgctxt "The label for the comments archive dropdown UI."
|
|
173
|
+
msgid "COMMENTS_ARCHIVE"
|
|
174
|
+
msgstr ""
|
|
175
|
+
|
|
176
|
+
msgctxt "The information that comments archive is empty."
|
|
177
|
+
msgid "EMPTY_COMMENTS_ARCHIVE"
|
|
178
|
+
msgstr ""
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-comments",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "45.0.0-alpha.1",
|
|
4
4
|
"description": "Collaborative comments feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -45,23 +45,24 @@
|
|
|
45
45
|
"CHANGELOG.md"
|
|
46
46
|
],
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@ckeditor/ckeditor5-clipboard": "
|
|
49
|
-
"@ckeditor/ckeditor5-collaboration-core": "
|
|
50
|
-
"@ckeditor/ckeditor5-core": "
|
|
51
|
-
"@ckeditor/ckeditor5-engine": "
|
|
52
|
-
"@ckeditor/ckeditor5-enter": "
|
|
53
|
-
"@ckeditor/ckeditor5-
|
|
54
|
-
"@ckeditor/ckeditor5-
|
|
55
|
-
"@ckeditor/ckeditor5-
|
|
56
|
-
"@ckeditor/ckeditor5-
|
|
57
|
-
"@ckeditor/ckeditor5-
|
|
58
|
-
"@ckeditor/ckeditor5-
|
|
59
|
-
"@ckeditor/ckeditor5-
|
|
60
|
-
"@ckeditor/ckeditor5-
|
|
61
|
-
"@ckeditor/ckeditor5-
|
|
62
|
-
"ckeditor5": "
|
|
63
|
-
"ckeditor5
|
|
64
|
-
"
|
|
48
|
+
"@ckeditor/ckeditor5-clipboard": "45.0.0-alpha.1",
|
|
49
|
+
"@ckeditor/ckeditor5-collaboration-core": "45.0.0-alpha.1",
|
|
50
|
+
"@ckeditor/ckeditor5-core": "45.0.0-alpha.1",
|
|
51
|
+
"@ckeditor/ckeditor5-engine": "45.0.0-alpha.1",
|
|
52
|
+
"@ckeditor/ckeditor5-enter": "45.0.0-alpha.1",
|
|
53
|
+
"@ckeditor/ckeditor5-icons": "45.0.0-alpha.1",
|
|
54
|
+
"@ckeditor/ckeditor5-paragraph": "45.0.0-alpha.1",
|
|
55
|
+
"@ckeditor/ckeditor5-select-all": "45.0.0-alpha.1",
|
|
56
|
+
"@ckeditor/ckeditor5-source-editing": "45.0.0-alpha.1",
|
|
57
|
+
"@ckeditor/ckeditor5-theme-lark": "45.0.0-alpha.1",
|
|
58
|
+
"@ckeditor/ckeditor5-typing": "45.0.0-alpha.1",
|
|
59
|
+
"@ckeditor/ckeditor5-ui": "45.0.0-alpha.1",
|
|
60
|
+
"@ckeditor/ckeditor5-undo": "45.0.0-alpha.1",
|
|
61
|
+
"@ckeditor/ckeditor5-utils": "45.0.0-alpha.1",
|
|
62
|
+
"@ckeditor/ckeditor5-widget": "45.0.0-alpha.1",
|
|
63
|
+
"ckeditor5": "45.0.0-alpha.1",
|
|
64
|
+
"ckeditor5-collaboration": "45.0.0-alpha.1",
|
|
65
|
+
"es-toolkit": "1.32.0"
|
|
65
66
|
},
|
|
66
67
|
"types": "src/index.d.ts",
|
|
67
68
|
"exports": {
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x432fd8=_0xf751;(function(_0x5c28fd,_0x3141c0){const _0x2de999=_0xf751,_0x5d6266=_0x5c28fd();while(!![]){try{const _0x24520f=-parseInt(_0x2de999(0x1e5))/0x1+-parseInt(_0x2de999(0x1d5))/0x2*(parseInt(_0x2de999(0x1e3))/0x3)+parseInt(_0x2de999(0x1f1))/0x4*(-parseInt(_0x2de999(0x1eb))/0x5)+-parseInt(_0x2de999(0x1da))/0x6+parseInt(_0x2de999(0x1e4))/0x7*(parseInt(_0x2de999(0x1de))/0x8)+parseInt(_0x2de999(0x1c9))/0x9*(parseInt(_0x2de999(0x1cc))/0xa)+parseInt(_0x2de999(0x1cf))/0xb;if(_0x24520f===_0x3141c0)break;else _0x5d6266['push'](_0x5d6266['shift']());}catch(_0x1190dc){_0x5d6266['push'](_0x5d6266['shift']());}}}(_0x2855,0x2eaf0));import{CKEditorError as _0x1c8396,Rect as _0x5f5d48,Collection as _0x3c77f8,ObservableMixin as _0x1aba91}from'ckeditor5/src/utils.js';export default class d extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1aba91(){[_0x432fd8(0x1dd)];[_0x432fd8(0x1ed)];[_0x432fd8(0x1f2)];[_0x432fd8(0x1e9)];constructor({view:_0x56ac9b,target:_0x204dbe,type:_0x424d40,isVisible:_0x56fbf5=!0x0}){const _0x119225=_0x432fd8;super(),this[_0x119225(0x1dd)]=_0x56ac9b,this[_0x119225(0x1dd)][_0x119225(0x1cb)]||this[_0x119225(0x1dd)][_0x119225(0x1e6)](),this[_0x119225(0x1f2)]=_0x424d40,this[_0x119225(0x1e9)]=_0x204dbe,d[_0x119225(0x1c7)](this[_0x119225(0x1cd)]()),this[_0x119225(0x1ed)]=new _0x3c77f8([this[_0x119225(0x1dd)][_0x119225(0x1cb)]],{'idProperty':_0x119225(0x1f0)}),this[_0x119225(0x1ed)]['on'](_0x119225(0x1ef),(_0x1f3b1c,_0x2bd318)=>{const _0xb989ca=_0x119225;this[_0xb989ca(0x1dd)][_0xb989ca(0x1d8)][_0xb989ca(0x1ef)](_0x2bd318);}),this[_0x119225(0x1ed)]['on'](_0x119225(0x1c8),(_0x57da4e,_0x51809f)=>{const _0x482e66=_0x119225;this[_0x482e66(0x1dd)][_0x482e66(0x1d8)][_0x482e66(0x1c8)](_0x51809f);}),this[_0x119225(0x1d0)](_0x119225(0x1d9),_0x56fbf5);}get[_0x432fd8(0x1ec)](){const _0xd34a09=_0x432fd8;return _0xd34a09(0x1c5)==typeof this[_0xd34a09(0x1f2)]?this[_0xd34a09(0x1f2)]():this[_0xd34a09(0x1f2)];}get[_0x432fd8(0x1d1)](){const _0x33d921=_0x432fd8;return this[_0x33d921(0x1dd)][_0x33d921(0x1d2)];}get[_0x432fd8(0x1ca)](){const _0x48d76d=_0x432fd8,_0x296fed=this[_0x48d76d(0x1cd)]();return d[_0x48d76d(0x1c7)](_0x296fed),_0x296fed;}get[_0x432fd8(0x1d4)](){const _0x642902=_0x432fd8,_0x40698e=this[_0x642902(0x1ca)];if(null===_0x40698e)return null;if(_0x40698e instanceof _0x5f5d48)return _0x40698e;const _0x438c86=_0x40698e[_0x642902(0x1d3)](_0x24db8b=>function(_0x1879ef){const _0x148b9c=_0x642902,_0x3d3d21=_0x1879ef[_0x148b9c(0x1c6)];if(_0x3d3d21)return!0x0;const _0x3a0848=_0x1879ef[_0x148b9c(0x1e7)]()[_0x148b9c(0x1e1)](0x0);return!!_0x3a0848;}(_0x24db8b));return 0x0===_0x438c86[_0x642902(0x1e2)]?null:new _0x5f5d48(_0x438c86[0x0][_0x642902(0x1e7)]()[_0x642902(0x1e1)](0x0));}get[_0x432fd8(0x1ce)](){const _0xc7884f=_0x432fd8;return this[_0xc7884f(0x1dd)][_0xc7884f(0x1ce)];}set[_0x432fd8(0x1ce)](_0x13f8c1){const _0x4c13d9=_0x432fd8;this[_0x4c13d9(0x1dd)][_0x4c13d9(0x1ce)]=_0x13f8c1,this[_0x4c13d9(0x1dd)][_0x4c13d9(0x1d2)][_0x4c13d9(0x1ce)]=_0x13f8c1;}[_0x432fd8(0x1c4)](){const _0x52a973=_0x432fd8;this[_0x52a973(0x1dd)][_0x52a973(0x1d4)]=this[_0x52a973(0x1d4)];}[_0x432fd8(0x1d6)](){const _0x5c6dfd=_0x432fd8;this[_0x5c6dfd(0x1ed)][_0x5c6dfd(0x1dc)](),this[_0x5c6dfd(0x1ed)][_0x5c6dfd(0x1ee)](),this[_0x5c6dfd(0x1dc)]();}[_0x432fd8(0x1db)](){const _0x11246c=_0x432fd8;this[_0x11246c(0x1d9)]=!!this[_0x11246c(0x1d4)];}static[_0x432fd8(0x1c7)](_0x31ced5){const _0x191722=_0x432fd8;if(!(null===_0x31ced5||_0x31ced5 instanceof _0x5f5d48||Array[_0x191722(0x1ea)](_0x31ced5)&&_0x31ced5[_0x191722(0x1d7)](_0x4c7f8e=>y(_0x4c7f8e))))throw new _0x1c8396(_0x191722(0x1e8),null,{'target':_0x31ced5});}[_0x432fd8(0x1cd)](){const _0x5b8bcb=_0x432fd8,_0x400468=_0x5b8bcb(0x1c5)==typeof this[_0x5b8bcb(0x1e9)]?this[_0x5b8bcb(0x1e9)]():this[_0x5b8bcb(0x1e9)];return y(_0x400468)?[_0x400468]:_0x400468;}}function y(_0x3b780f){const _0x42c975=_0x432fd8;return null!==_0x3b780f&&_0x42c975(0x1df)==typeof _0x3b780f&&_0x42c975(0x1e0)in _0x3b780f&&0x1===_0x3b780f[_0x42c975(0x1e0)];}function _0xf751(_0x54b7bf,_0x2a3fbe){const _0x2855c9=_0x2855();return _0xf751=function(_0xf751e0,_0x4e963e){_0xf751e0=_0xf751e0-0x1c4;let _0x3d1163=_0x2855c9[_0xf751e0];return _0x3d1163;},_0xf751(_0x54b7bf,_0x2a3fbe);}function _0x2855(){const _0x43e14e=['10Gffbei','_getNormalizedTarget','isActive','6864220NfPkbX','set','innerView','mainView','filter','targetRect','2VHFQei','destroy','every','focusTracker','isVisible','128754QDEkZm','refreshVisibility','stopListening','view','8yiKzzG','object','nodeType','item','length','539607gKJXez','859761FEynAe','332960aOrgld','render','getClientRects','annotation-invalid-target','_target','isArray','5Rbtris','type','focusableElements','clear','add','_id','510640pQNvGx','_type','updateTargetRect','function','offsetParent','_assertCorrectTarget','remove','956889CnVmzU','target','element'];_0x2855=function(){return _0x43e14e;};return _0x2855();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x496f13=_0x2748;(function(_0x346bbd,_0x33f275){const _0x5bba4c=_0x2748,_0x256cf7=_0x346bbd();while(!![]){try{const _0x3068ef=parseInt(_0x5bba4c(0x1b4))/0x1*(-parseInt(_0x5bba4c(0x1c1))/0x2)+-parseInt(_0x5bba4c(0x1b3))/0x3*(-parseInt(_0x5bba4c(0x1b7))/0x4)+-parseInt(_0x5bba4c(0x1ab))/0x5+-parseInt(_0x5bba4c(0x1b5))/0x6+-parseInt(_0x5bba4c(0x1ca))/0x7+parseInt(_0x5bba4c(0x1a4))/0x8*(-parseInt(_0x5bba4c(0x1c6))/0x9)+-parseInt(_0x5bba4c(0x1a2))/0xa*(-parseInt(_0x5bba4c(0x1b6))/0xb);if(_0x3068ef===_0x33f275)break;else _0x256cf7['push'](_0x256cf7['shift']());}catch(_0x386c57){_0x256cf7['push'](_0x256cf7['shift']());}}}(_0x47a1,0xad286));import{CKEditorError as _0x148ffb,Collection as _0x2f824d,FocusTracker as _0x3c723a}from'ckeditor5/src/utils.js';export default class _ extends _0x2f824d{[_0x496f13(0x1bc)];[_0x496f13(0x1af)];[_0x496f13(0x1b2)];constructor(_0x4b9264=[]){const _0xedb00d=_0x496f13;super(),this[_0xedb00d(0x1bc)]=new Map(),this[_0xedb00d(0x1af)]=new Map(),this[_0xedb00d(0x1b2)]=new _0x3c723a(),this[_0xedb00d(0x1b2)]['on'](_0xedb00d(0x1b8),(_0x41b055,_0x3b0c2c,_0x353e5f)=>{const _0x3a5a5c=_0xedb00d;_0x353e5f||this[_0x3a5a5c(0x1b0)](_0x3a5a5c(0x1ad));});for(const _0x38d092 of _0x4b9264)this[_0xedb00d(0x1a9)](_0x38d092);}get[_0x496f13(0x1cc)](){const _0x29b5d8=_0x496f13;return this[_0x29b5d8(0x1b2)][_0x29b5d8(0x1cc)];}[_0x496f13(0x1a9)](_0x2bf243){const _0x397058=_0x496f13;if(this[_0x397058(0x1bd)](_0x2bf243))throw new _0x148ffb(_0x397058(0x1be),null);this[_0x397058(0x1bc)][_0x397058(0x1d0)](_0x2bf243[_0x397058(0x1c0)],_0x2bf243),this[_0x397058(0x1af)][_0x397058(0x1d0)](_0x2bf243[_0x397058(0x1a6)],_0x2bf243);for(const _0x2292a5 of _0x2bf243[_0x397058(0x1c4)])this[_0x397058(0x1b2)][_0x397058(0x1a9)](_0x2292a5);this[_0x397058(0x1bb)](_0x2bf243[_0x397058(0x1c4)],_0x397058(0x1a9),(_0x1a7d13,_0x38eac5)=>{const _0x5e2714=_0x397058;this[_0x5e2714(0x1b2)][_0x5e2714(0x1a9)](_0x38eac5);}),this[_0x397058(0x1bb)](_0x2bf243[_0x397058(0x1c4)],_0x397058(0x1bf),(_0x5997dc,_0x35e261)=>{const _0x49893a=_0x397058;this[_0x49893a(0x1b2)][_0x49893a(0x1bf)](_0x35e261);}),this[_0x397058(0x1bb)](_0x2bf243[_0x397058(0x1a6)][_0x397058(0x1b9)],_0x397058(0x1b8),(_0xeee87c,_0x1ccbb5,_0x15e3bf)=>{const _0x343665=_0x397058;_0x15e3bf&&this[_0x343665(0x1b0)](_0x343665(0x1d1),_0x2bf243);}),_0x2bf243[_0x397058(0x1aa)]();const _0x34f131=this[_0x397058(0x1c7)](_0x2bf243[_0x397058(0x1a6)][_0x397058(0x1c9)]);return super[_0x397058(0x1a9)](_0x2bf243,_0x34f131);}[_0x496f13(0x1bf)](_0x27885e){const _0x5e73d3=_0x496f13;if(!this[_0x5e73d3(0x1bd)](_0x27885e))throw new _0x148ffb(_0x5e73d3(0x1a5),null);this[_0x5e73d3(0x1a3)](_0x27885e[_0x5e73d3(0x1a6)][_0x5e73d3(0x1b9)]),this[_0x5e73d3(0x1a3)](_0x27885e[_0x5e73d3(0x1c4)]);for(const _0x5d1d8a of _0x27885e[_0x5e73d3(0x1c4)])this[_0x5e73d3(0x1b2)][_0x5e73d3(0x1bf)](_0x5d1d8a);return this[_0x5e73d3(0x1af)][_0x5e73d3(0x1ba)](_0x27885e[_0x5e73d3(0x1a6)]),this[_0x5e73d3(0x1bc)][_0x5e73d3(0x1ba)](_0x27885e[_0x5e73d3(0x1c0)]),super[_0x5e73d3(0x1bf)](_0x27885e);}[_0x496f13(0x1b1)](_0x258c6d){const _0x20aee4=_0x496f13;return this[_0x20aee4(0x1bc)][_0x20aee4(0x1cd)](_0x258c6d);}[_0x496f13(0x1c5)](_0x3accf8){const _0x5c37b2=_0x496f13;return this[_0x5c37b2(0x1af)][_0x5c37b2(0x1cd)](_0x3accf8);}[_0x496f13(0x1c2)](){const _0x1ab94a=_0x496f13;super[_0x1ab94a(0x1cf)](),this[_0x1ab94a(0x1a3)](),this[_0x1ab94a(0x1bc)][_0x1ab94a(0x1cf)](),this[_0x1ab94a(0x1af)][_0x1ab94a(0x1cf)](),this[_0x1ab94a(0x1b2)][_0x1ab94a(0x1c2)]();}[_0x496f13(0x1ce)](){const _0x4766d5=_0x496f13;for(const _0x3bf090 of this)_0x3bf090[_0x4766d5(0x1aa)]();this[_0x4766d5(0x1ae)]();}[_0x496f13(0x1ae)](){const _0x575380=_0x496f13,_0x19d908=Array[_0x575380(0x1cb)](this)[_0x575380(0x1c3)]((_0x2a5427,_0x262806)=>v(_0x2a5427[_0x575380(0x1a6)][_0x575380(0x1c9)],_0x262806[_0x575380(0x1a6)][_0x575380(0x1c9)]));for(let _0x5babb2=_0x19d908[_0x575380(0x1a7)]-0x1;_0x5babb2>0x0;_0x5babb2--){const _0x3bcfe2=_0x19d908[_0x5babb2];_0x5babb2!==this[_0x575380(0x1a8)](_0x3bcfe2)&&(this[_0x575380(0x1bf)](_0x3bcfe2),this[_0x575380(0x1a9)](_0x3bcfe2));}}[_0x496f13(0x1c7)](_0x550306){const _0x42c911=_0x496f13;let _0x485d39=0x0;if(!_0x550306)return this[_0x42c911(0x1a7)];for(const _0x32b73f of this){const _0x1586c2=_0x32b73f[_0x42c911(0x1a6)][_0x42c911(0x1c9)];if(_0x1586c2){if(v(_0x550306,_0x1586c2)<0x0)return _0x485d39;_0x485d39++;}}return _0x485d39;}}function _0x47a1(){const _0x3ce05e=['636392ZLhhDJ','annotationcollection-not-existing-item','view','length','getIndex','add','updateTargetRect','2349160FApYNg','left','blur','_sort','_viewToAnnotation','fire','getByInnerView','_focusTracker','224454ZMKJWS','629PiqZkS','5319150uVTQRh','10758AapJCl','64HqwdBO','change:isFocused','focusTracker','delete','listenTo','_innerViewToAnnotation','has','annotationcollection-duplicated-item','remove','innerView','1858mtvQPr','destroy','sort','focusableElements','getByView','72hOfKbg','_getOrderInContent','top','targetRect','422716GiYuYp','from','isFocused','get','refreshPositioning','clear','set','focus','21980pJxXeT','stopListening'];_0x47a1=function(){return _0x3ce05e;};return _0x47a1();}export function bindAnnotationCollections({source:_0x532ec9,target:_0xa053c7,filter:_0x4620da}){const _0x36bcaf=_0x496f13;for(const _0x5027c9 of _0x532ec9)_0x4620da(_0x5027c9)&&_0xa053c7[_0x36bcaf(0x1a9)](_0x5027c9);_0xa053c7[_0x36bcaf(0x1bb)](_0x532ec9,_0x36bcaf(0x1a9),(_0x3b73c6,_0x5e8c93)=>{const _0x5bdba9=_0x36bcaf;_0x4620da(_0x5e8c93)&&_0xa053c7[_0x5bdba9(0x1a9)](_0x5e8c93);}),_0xa053c7[_0x36bcaf(0x1bb)](_0x532ec9,_0x36bcaf(0x1bf),(_0x58eeca,_0x3bdf99)=>{const _0x5dd0c=_0x36bcaf;_0xa053c7[_0x5dd0c(0x1bd)](_0x3bdf99)&&_0xa053c7[_0x5dd0c(0x1bf)](_0x3bdf99);});}function _0x2748(_0x583475,_0xa3be1f){const _0x47a150=_0x47a1();return _0x2748=function(_0x274835,_0x18085c){_0x274835=_0x274835-0x1a2;let _0x4d4b93=_0x47a150[_0x274835];return _0x4d4b93;},_0x2748(_0x583475,_0xa3be1f);}function v(_0x25b427,_0x1d1839){const _0x365392=_0x496f13;if(null===_0x25b427&&null===_0x1d1839)return 0x0;if(null===_0x25b427)return-0x1;if(null===_0x1d1839)return 0x1;const _0x22b739=_0x25b427[_0x365392(0x1c8)]-_0x1d1839[_0x365392(0x1c8)];return 0x0==_0x22b739?_0x25b427[_0x365392(0x1ac)]-_0x1d1839[_0x365392(0x1ac)]:_0x22b739;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2c71e3=_0x2220;function _0x13d0(){const _0x34d6de=['ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT','1345704tcxkjZ','1908672WdsZNM','ACCESSIBILITY_HELP_ANNOTATIONS_GROUP','Arrowup','_removeActiveAnnotation','activate','_setupEscapeAnnotationHandling','18KtTpnU','ACCESSIBILITY_HELP_ANNOTATIONS_EXIT','accessibility','151524jPoVfw','focusTracker','push','_deactivateAllAnnotations','isVisible','view','deactivateAll','ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO','1563072GiuVHi','has','locale','collection','values','activeAnnotations','5WilFWR','editing','refreshVisibility','pluginName','escape','Tab','remove','source','_setupEnterAnnotationKeystroke','annotations','154647RdFcAE','Arrowdown','set','Ctrl+Shift+E','getByInnerView','add','createAnnotationView','contains','isOfficialPlugin','delete','_activateAnnotation','element','Shift+Tab','createAnnotation','9TvdBBE','editors','Annotations','isPremiumPlugin','2320420EZHUfm','ACCESSIBILITY_HELP_ANNOTATIONS_ENTER','11jgayxa','_addActiveAnnotation','fire','isArray','low','addKeystrokeInfoGroup','change:isVisible','ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS','listenTo','refreshPositioning','_bindAnnotationsToVisibleAnnotations','keystrokes','stopListening','ready','1862166FGtDPs','Enter','Esc','ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS','target','Ctrl+Enter','context','_visibleAnnotations','destroy','focus','domRoots'];_0x13d0=function(){return _0x34d6de;};return _0x13d0();}(function(_0x2bb4bc,_0x2d4578){const _0xa20a00=_0x2220,_0x11da08=_0x2bb4bc();while(!![]){try{const _0x48186e=parseInt(_0xa20a00(0x99))/0x1+-parseInt(_0xa20a00(0x96))/0x2*(-parseInt(_0xa20a00(0xb1))/0x3)+-parseInt(_0xa20a00(0x90))/0x4+-parseInt(_0xa20a00(0xa7))/0x5*(-parseInt(_0xa20a00(0xd3))/0x6)+-parseInt(_0xa20a00(0xa1))/0x7+parseInt(_0xa20a00(0x8f))/0x8*(-parseInt(_0xa20a00(0xbf))/0x9)+parseInt(_0xa20a00(0xc3))/0xa*(parseInt(_0xa20a00(0xc5))/0xb);if(_0x48186e===_0x2d4578)break;else _0x11da08['push'](_0x11da08['shift']());}catch(_0x3fa5f1){_0x11da08['push'](_0x11da08['shift']());}}}(_0x13d0,0x469a7));import{ContextPlugin as _0xb52c24,Editor as _0x5d0d83}from'ckeditor5/src/core.js';import{first as _0xdaf228}from'ckeditor5/src/utils.js';import _0x29a18a from'./annotation.js';import _0x52af65 from'./annotationcollection.js';import _0x4edb71 from'./view/annotationview.js';import{getTranslation as _0x51ede8}from'../utils/common-translations.js';import{FOCUS_ANNOTATION_KEYSTROKE as _0x557bec}from'@ckeditor/ckeditor5-collaboration-core';function _0x2220(_0x3a5d2d,_0x3dad14){const _0x13d0de=_0x13d0();return _0x2220=function(_0x2220fc,_0x2e9864){_0x2220fc=_0x2220fc-0x8e;let _0x456f1c=_0x13d0de[_0x2220fc];return _0x456f1c;},_0x2220(_0x3a5d2d,_0x3dad14);}export default class O extends _0xb52c24{[_0x2c71e3(0xa4)];[_0x2c71e3(0xda)];static get[_0x2c71e3(0xaa)](){const _0x263d6b=_0x2c71e3;return _0x263d6b(0xc1);}static get[_0x2c71e3(0xb9)](){return!0x0;}static get[_0x2c71e3(0xc2)](){return!0x0;}constructor(_0x396298){const _0x13feff=_0x2c71e3;if(super(_0x396298),this[_0x13feff(0xa4)]=new _0x52af65(),this[_0x13feff(0xda)]=new _0x52af65(),this[_0x13feff(0xb3)](_0x13feff(0xa6),new Set()),this[_0x13feff(0xcf)](),_0x396298 instanceof _0x5d0d83){const _0x5a98f6=_0x396298[_0x13feff(0xa3)];_0x396298[_0x13feff(0x98)][_0x13feff(0xca)]({'id':_0x13feff(0xb0),'label':_0x51ede8(_0x5a98f6,_0x13feff(0x91)),'keystrokes':[{'label':_0x51ede8(_0x5a98f6,_0x13feff(0xa0)),'keystroke':_0x13feff(0xb4)},{'label':_0x51ede8(_0x5a98f6,_0x13feff(0x97)),'keystroke':_0x13feff(0xd5)},{'label':_0x51ede8(_0x5a98f6,_0x13feff(0xc4)),'keystroke':_0x13feff(0xd4)},{'label':_0x51ede8(_0x5a98f6,_0x13feff(0xcc)),'keystroke':[[_0x13feff(0xac)],[_0x13feff(0xbd)]]},{'label':_0x51ede8(_0x5a98f6,_0x13feff(0x8e)),'keystroke':[_0x13feff(0xd8)]},{'label':_0x51ede8(_0x5a98f6,_0x13feff(0xd6)),'keystroke':[[_0x13feff(0x92)],[_0x13feff(0xb2)]]}]});}this[_0x13feff(0xaf)](),this[_0x13feff(0x95)]();}[_0x2c71e3(0xb6)](_0x29fc35){const _0x503ba6=_0x2c71e3;this[_0x503ba6(0xa4)][_0x503ba6(0xb6)](_0x29fc35);}[_0x2c71e3(0xad)](_0x477e67){const _0x5824dd=_0x2c71e3;this[_0x5824dd(0xa4)][_0x5824dd(0xad)](_0x477e67),_0x477e67[_0x5824dd(0xdb)]();}[_0x2c71e3(0xa9)](){const _0x165940=_0x2c71e3;for(const _0x155c71 of this[_0x165940(0xa4)])_0x155c71[_0x165940(0xa9)]();}[_0x2c71e3(0xce)](){const _0x1c8ef4=_0x2c71e3;this[_0x1c8ef4(0xda)][_0x1c8ef4(0xce)]();}[_0x2c71e3(0xb5)](_0x2ba1af){const _0x3d13a4=_0x2c71e3;return this[_0x3d13a4(0xa4)][_0x3d13a4(0xb5)](_0x2ba1af);}[_0x2c71e3(0x9f)](){const _0x5e0e07=_0x2c71e3;this[_0x5e0e07(0xc7)](_0x5e0e07(0x9c));}[_0x2c71e3(0xdb)](){const _0x5db258=_0x2c71e3;for(const _0x3e8da9 of this[_0x5db258(0xa4)])_0x3e8da9[_0x5db258(0xdb)]();this[_0x5db258(0xda)][_0x5db258(0xdb)](),this[_0x5db258(0xa4)][_0x5db258(0xdb)](),super[_0x5db258(0xdb)]();}[_0x2c71e3(0x94)](_0x1e6e11){const _0x21c6cf=_0x2c71e3;this[_0x21c6cf(0xc7)](_0x21c6cf(0xbb),_0x1e6e11);}[_0x2c71e3(0xbe)](_0x49abd4){return new _0x29a18a(_0x49abd4);}[_0x2c71e3(0xb7)](_0x374d8d,_0x3182f0){return new _0x4edb71(_0x374d8d,_0x3182f0);}[_0x2c71e3(0xc6)](_0x1c358c){const _0x254349=_0x2c71e3,_0x235994=new Set(this[_0x254349(0xa6)]);_0x235994[_0x254349(0xb6)](_0x1c358c),this[_0x254349(0xa6)]=_0x235994;}[_0x2c71e3(0x93)](_0x12f8b3){const _0x484488=_0x2c71e3,_0x51fdbb=new Set(this[_0x484488(0xa6)]);_0x51fdbb[_0x484488(0xba)](_0x12f8b3),this[_0x484488(0xa6)]=_0x51fdbb;}[_0x2c71e3(0xcf)](){const _0x40d1b8=_0x2c71e3,_0x4b5250=this[_0x40d1b8(0xa4)],_0x52b34e=this[_0x40d1b8(0xda)];function _0x3ea8c9(_0x4d4307){const _0x1b4d08=_0x40d1b8,_0x2da038=_0x4d4307[_0x1b4d08(0xae)];_0x2da038[_0x1b4d08(0x9d)]&&!_0x52b34e[_0x1b4d08(0xa2)](_0x2da038)?_0x52b34e[_0x1b4d08(0xb6)](_0x2da038):!_0x2da038[_0x1b4d08(0x9d)]&&_0x52b34e[_0x1b4d08(0xa2)](_0x2da038)&&_0x52b34e[_0x1b4d08(0xad)](_0x2da038),_0x2da038[_0x1b4d08(0x9e)][_0x1b4d08(0x9a)][_0x1b4d08(0xad)](_0x2da038[_0x1b4d08(0x9e)][_0x1b4d08(0xbc)]),_0x2da038[_0x1b4d08(0x9e)][_0x1b4d08(0x9a)][_0x1b4d08(0xb6)](_0x2da038[_0x1b4d08(0x9e)][_0x1b4d08(0xbc)]);}this[_0x40d1b8(0xcd)](_0x4b5250,_0x40d1b8(0xb6),(_0x2a657f,_0xf43cd9)=>{const _0x30c6a8=_0x40d1b8;_0xf43cd9[_0x30c6a8(0x9d)]&&_0x52b34e[_0x30c6a8(0xb6)](_0xf43cd9),this[_0x30c6a8(0xcd)](_0xf43cd9,_0x30c6a8(0xcb),_0x3ea8c9);}),this[_0x40d1b8(0xcd)](_0x4b5250,_0x40d1b8(0xad),(_0x39faf5,_0x1b40b0)=>{const _0x124cce=_0x40d1b8;_0x52b34e[_0x124cce(0xa2)](_0x1b40b0)&&_0x52b34e[_0x124cce(0xad)](_0x1b40b0),this[_0x124cce(0xd1)](_0x1b40b0,_0x124cce(0xcb),_0x3ea8c9);});}[_0x2c71e3(0xaf)](){const _0x47c288=_0x2c71e3,_0x21fef6=_0x59f74d=>{const _0x15288e=_0x2220;_0x59f74d['on'](_0x15288e(0xd2),()=>{const _0x2c0400=_0x15288e;_0x59f74d[_0x2c0400(0xd0)][_0x2c0400(0xb3)](_0x557bec,(_0x371e2b,_0x263e3f)=>{const _0x48e55f=_0x2c0400,_0x2239fd=_0xdaf228(this[_0x48e55f(0xa6)][_0x48e55f(0xa5)]());_0x2239fd&&(_0x2239fd[_0x48e55f(0x9e)][_0x48e55f(0xdc)](),_0x263e3f());});});};this[_0x47c288(0xd9)]instanceof _0x5d0d83?_0x21fef6(this[_0x47c288(0xd9)]):this[_0x47c288(0xd9)][_0x47c288(0xc0)]&&this[_0x47c288(0xd9)][_0x47c288(0xc0)]['on'](_0x47c288(0xb6),(_0x2e15d5,_0x676de)=>{_0x21fef6(_0x676de);});}[_0x2c71e3(0x95)](){const _0x29ccce=_0x2c71e3,_0x1e5b7b=_0xb4b139=>{const _0x152a08=_0x2220,_0x36001e=_0xb4b139[_0x152a08(0xae)],_0x2a20fd=[];let _0x5613bd;if(Array[_0x152a08(0xc8)](_0x36001e[_0x152a08(0xd7)])){_0x5613bd=_0x36001e[_0x152a08(0xd7)][0x0],this[_0x152a08(0xd9)]instanceof _0x5d0d83?_0x2a20fd[_0x152a08(0x9b)](this[_0x152a08(0xd9)]):this[_0x152a08(0xd9)][_0x152a08(0xc0)]&&_0x2a20fd[_0x152a08(0x9b)](...this[_0x152a08(0xd9)][_0x152a08(0xc0)]);for(const _0x23077a of _0x2a20fd)for(const _0x2e94ad of _0x23077a[_0x152a08(0xa8)][_0x152a08(0x9e)][_0x152a08(0xdd)][_0x152a08(0xa5)]())if(_0x2e94ad[_0x152a08(0xb8)](_0x5613bd))return void _0x23077a[_0x152a08(0xa8)][_0x152a08(0x9e)][_0x152a08(0xdc)]();_0x5613bd[_0x152a08(0xdc)]();}};this[_0x29ccce(0xcd)](this[_0x29ccce(0xa4)],_0x29ccce(0xb6),(_0x49516a,_0x4d52b4)=>{const _0x2a8e16=_0x29ccce;this[_0x2a8e16(0xcd)](_0x4d52b4,_0x2a8e16(0xab),_0x1e5b7b,{'priority':_0x2a8e16(0xc9)});}),this[_0x29ccce(0xcd)](this[_0x29ccce(0xa4)],_0x29ccce(0xad),(_0x544a82,_0xbdf6c0)=>{const _0x11c90d=_0x29ccce;this[_0x11c90d(0xd1)](_0xbdf6c0,_0x11c90d(0xab),_0x1e5b7b);});}}
|
|
@@ -149,6 +149,10 @@ export default class AnnotationsUIs extends ContextPlugin {
|
|
|
149
149
|
* @inheritDoc
|
|
150
150
|
*/
|
|
151
151
|
destroy(): void;
|
|
152
|
+
/**
|
|
153
|
+
* A default pass-by filter function that returns `true` for all annotations to be used when no filter for UI is provided.
|
|
154
|
+
*/
|
|
155
|
+
defaultFilter(): boolean;
|
|
152
156
|
}
|
|
153
157
|
/**
|
|
154
158
|
* An interface for the annotations UI plugin class.
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2620(_0x4a7824,_0x3cb702){const _0x307431=_0x3074();return _0x2620=function(_0x262019,_0x33e9a4){_0x262019=_0x262019-0x1b1;let _0x42cc2a=_0x307431[_0x262019];return _0x42cc2a;},_0x2620(_0x4a7824,_0x3cb702);}const _0x4d793d=_0x2620;(function(_0x1517b9,_0x287be0){const _0x1e1d99=_0x2620,_0x2adc79=_0x1517b9();while(!![]){try{const _0x587b3f=parseInt(_0x1e1d99(0x1d0))/0x1+parseInt(_0x1e1d99(0x1bf))/0x2+parseInt(_0x1e1d99(0x1cc))/0x3+parseInt(_0x1e1d99(0x1e7))/0x4*(-parseInt(_0x1e1d99(0x1e4))/0x5)+parseInt(_0x1e1d99(0x1ea))/0x6+-parseInt(_0x1e1d99(0x1d4))/0x7+parseInt(_0x1e1d99(0x1d1))/0x8;if(_0x587b3f===_0x287be0)break;else _0x2adc79['push'](_0x2adc79['shift']());}catch(_0x2fcb8f){_0x2adc79['push'](_0x2adc79['shift']());}}}(_0x3074,0x2c7fd));import{ContextPlugin as _0x190889}from'ckeditor5/src/core.js';import{CKEditorError as _0x5b9641}from'ckeditor5/src/utils.js';import _0x8a502c,{bindAnnotationCollections as _0x3e44b3}from'./annotationcollection.js';function _0x3074(){const _0xb35df=['has','switchTo','annotationsuis-register-invalid-interface','pluginName','_deactivateAllAnnotations','filter','size','uisData','_uis','_setSelectedAnnotations','_removeActiveAnnotation','add','function','refilterAnnotations','151926hcByjf','annotationsuis-register-already-registered','find','_visibleAnnotations','AnnotationsUIs','_assertAnnotationDoesNotBelongToMultipleUIs','activate','requires','set','detach','register','isOfficialPlugin','activeUIs','357735aSlKbT','collection','hasActive','push','97089tDqUuz','3985888apTMYC','annotationsuis-missing-ui','defaultFilter','2165254tYbeRr','deactivate','get','destroy','activeAnnotations','_addActiveAnnotation','plugins','isActive','listenTo','length','setActiveAnnotation','_activateAnnotation','init','isPremiumPlugin','type','attach','5920mzCBbc','remove','stopListening','1132AvyWwF','deactivateAll','annotationsuis-annotation-mismatch','216780QcMrXn','change:activeAnnotation','from','delete','context'];_0x3074=function(){return _0xb35df;};return _0x3074();}import _0x4251e7 from'./annotations.js';export default class M extends _0x190889{[_0x4d793d(0x1cb)];[_0x4d793d(0x1b8)];[_0x4d793d(0x1b9)];static get[_0x4d793d(0x1c6)](){return[_0x4251e7];}static get[_0x4d793d(0x1b4)](){const _0x50a50a=_0x4d793d;return _0x50a50a(0x1c3);}static get[_0x4d793d(0x1ca)](){return!0x0;}static get[_0x4d793d(0x1e1)](){return!0x0;}constructor(_0xbf9636){const _0x29f27a=_0x4d793d;super(_0xbf9636),this[_0x29f27a(0x1cb)]=new Set(),this[_0x29f27a(0x1b9)]=new Map(),this[_0x29f27a(0x1b8)]=new Map();}[_0x4d793d(0x1e0)](){const _0x3f2157=_0x4d793d,_0x7f66ab=this[_0x3f2157(0x1ee)][_0x3f2157(0x1da)][_0x3f2157(0x1d6)](_0x4251e7);this[_0x3f2157(0x1dc)](_0x7f66ab,_0x3f2157(0x1df),(_0x534d67,_0x579c29)=>{const _0x5b0d5c=_0x3f2157;for(const _0x1d0594 of this[_0x5b0d5c(0x1cb)]){const _0x54ed54=this[_0x5b0d5c(0x1b9)][_0x5b0d5c(0x1d6)](_0x1d0594);(0x0,this[_0x5b0d5c(0x1b8)][_0x5b0d5c(0x1d6)](_0x1d0594)[_0x5b0d5c(0x1b6)])(_0x579c29)&&_0x54ed54[_0x5b0d5c(0x1de)](_0x579c29);}}),this[_0x3f2157(0x1dc)](_0x7f66ab,_0x3f2157(0x1b5),()=>{const _0x2eefa7=_0x3f2157;for(const _0x1285fe of this[_0x2eefa7(0x1cb)]){this[_0x2eefa7(0x1b9)][_0x2eefa7(0x1d6)](_0x1285fe)[_0x2eefa7(0x1de)](null);}}),this[_0x3f2157(0x1dc)](_0x7f66ab[_0x3f2157(0x1c2)],_0x3f2157(0x1bc),(_0x5d845a,_0x5564a7)=>{const _0x303663=_0x3f2157;this[_0x303663(0x1c4)](_0x5564a7);});}[_0x4d793d(0x1ce)](){const _0xd611b7=_0x4d793d;return this[_0xd611b7(0x1cb)][_0xd611b7(0x1b7)]>0x0;}[_0x4d793d(0x1db)](_0x4e80bb){const _0xfd1a62=_0x4d793d;return this[_0xfd1a62(0x1cb)][_0xfd1a62(0x1b1)](_0x4e80bb);}[_0x4d793d(0x1c5)](_0x411c6e,_0x2960b3=this[_0x4d793d(0x1d3)]){const _0x2d35c7=_0x4d793d,_0x3288b6=this[_0x2d35c7(0x1ee)][_0x2d35c7(0x1da)][_0x2d35c7(0x1d6)](_0x4251e7);if(!this[_0x2d35c7(0x1b9)][_0x2d35c7(0x1b1)](_0x411c6e))throw new _0x5b9641(_0x2d35c7(0x1d2),this,{'uiName':_0x411c6e});this[_0x2d35c7(0x1db)](_0x411c6e)&&this[_0x2d35c7(0x1d5)](_0x411c6e),this[_0x2d35c7(0x1cb)][_0x2d35c7(0x1bc)](_0x411c6e);const _0x5f4993=new _0x8a502c(),_0x160eac=_0x3288b6[_0x2d35c7(0x1c2)];_0x3e44b3({'source':_0x160eac,'target':_0x5f4993,'filter':_0x2960b3}),this[_0x2d35c7(0x1b8)][_0x2d35c7(0x1c7)](_0x411c6e,{'collection':_0x5f4993,'filter':_0x2960b3});const _0x6e2ef3=this[_0x2d35c7(0x1b9)][_0x2d35c7(0x1d6)](_0x411c6e);_0x6e2ef3[_0x2d35c7(0x1e3)](_0x5f4993),this[_0x2d35c7(0x1dc)](_0x6e2ef3,_0x2d35c7(0x1eb),(_0x55a0a3,_0x3cb4e8,_0x3180e7,_0x4d273c)=>{const _0x37663b=_0x2d35c7;_0x4d273c&&_0x3288b6[_0x37663b(0x1bb)](_0x4d273c),_0x3180e7&&_0x3288b6[_0x37663b(0x1d9)](_0x3180e7);});}[_0x4d793d(0x1d5)](_0x28f658){const _0x5a5ea1=_0x4d793d;if(this[_0x5a5ea1(0x1cb)][_0x5a5ea1(0x1ed)](_0x28f658),!this[_0x5a5ea1(0x1b9)][_0x5a5ea1(0x1b1)](_0x28f658))throw new _0x5b9641(_0x5a5ea1(0x1d2),this,{'uiName':_0x28f658});const _0x204195=this[_0x5a5ea1(0x1b9)][_0x5a5ea1(0x1d6)](_0x28f658);_0x204195[_0x5a5ea1(0x1c8)](),this[_0x5a5ea1(0x1e6)](_0x204195),this[_0x5a5ea1(0x1b8)][_0x5a5ea1(0x1d6)](_0x28f658)[_0x5a5ea1(0x1cd)][_0x5a5ea1(0x1d7)](),this[_0x5a5ea1(0x1b8)][_0x5a5ea1(0x1ed)](_0x28f658);}[_0x4d793d(0x1b2)](_0xc351ce){const _0x395cfd=_0x4d793d;if(!this[_0x395cfd(0x1b9)][_0x395cfd(0x1b1)](_0xc351ce))throw new _0x5b9641(_0x395cfd(0x1d2),this,{'uiName':_0xc351ce});const _0x45523b=this[_0x395cfd(0x1ee)][_0x395cfd(0x1da)][_0x395cfd(0x1d6)](_0x4251e7),_0x52df77=Array[_0x395cfd(0x1ec)](_0x45523b[_0x395cfd(0x1d8)])[0x0]||null;this[_0x395cfd(0x1e8)](),this[_0x395cfd(0x1c5)](_0xc351ce);const _0xf8abf8=this[_0x395cfd(0x1b9)][_0x395cfd(0x1d6)](_0xc351ce);_0xf8abf8[_0x395cfd(0x1de)](_0x52df77),_0xf8abf8[_0x395cfd(0x1ba)]&&_0x52df77&&_0xf8abf8[_0x395cfd(0x1ba)]([_0x52df77]);}[_0x4d793d(0x1e8)](){const _0x2fd5dc=_0x4d793d;for(const _0x4ad4f0 of this[_0x2fd5dc(0x1cb)])this[_0x2fd5dc(0x1d5)](_0x4ad4f0);}[_0x4d793d(0x1c9)](_0x37623b,_0x12de7e){const _0x5ec662=_0x4d793d;if(this[_0x5ec662(0x1b9)][_0x5ec662(0x1b1)](_0x37623b))throw new _0x5b9641(_0x5ec662(0x1c0));if(_0x5ec662(0x1bd)!=typeof _0x12de7e[_0x5ec662(0x1e3)]||_0x5ec662(0x1bd)!=typeof _0x12de7e[_0x5ec662(0x1c8)]||_0x5ec662(0x1bd)!=typeof _0x12de7e[_0x5ec662(0x1de)])throw new _0x5b9641(_0x5ec662(0x1b3),null);this[_0x5ec662(0x1b9)][_0x5ec662(0x1c7)](_0x37623b,_0x12de7e);}[_0x4d793d(0x1be)](){const _0x13012d=_0x4d793d,_0x2c3cdc=this[_0x13012d(0x1ee)][_0x13012d(0x1da)][_0x13012d(0x1d6)](_0x4251e7)[_0x13012d(0x1cd)],_0x66dc99=new Map(),_0x36f2a0=Array[_0x13012d(0x1ec)](this[_0x13012d(0x1cb)]);for(const _0x2ef242 of this[_0x13012d(0x1cb)]){const _0x503554=this[_0x13012d(0x1b8)][_0x13012d(0x1d6)](_0x2ef242)[_0x13012d(0x1cd)];for(const _0x524557 of _0x503554)_0x66dc99[_0x13012d(0x1c7)](_0x524557,_0x2ef242);}for(const _0x1d2ec6 of _0x2c3cdc){const _0x470264=_0x66dc99[_0x13012d(0x1d6)](_0x1d2ec6);this[_0x13012d(0x1c4)](_0x1d2ec6);const _0x406809=_0x36f2a0[_0x13012d(0x1c1)](_0x411112=>this[_0x13012d(0x1b8)][_0x13012d(0x1d6)](_0x411112)[_0x13012d(0x1b6)](_0x1d2ec6));_0x470264!==_0x406809&&(_0x470264&&this[_0x13012d(0x1b8)][_0x13012d(0x1d6)](_0x470264)[_0x13012d(0x1cd)][_0x13012d(0x1e5)](_0x1d2ec6),_0x406809&&this[_0x13012d(0x1b8)][_0x13012d(0x1d6)](_0x406809)[_0x13012d(0x1cd)][_0x13012d(0x1bc)](_0x1d2ec6));}}[_0x4d793d(0x1d7)](){const _0x58fd84=_0x4d793d;this[_0x58fd84(0x1e8)](),super[_0x58fd84(0x1d7)]();}[_0x4d793d(0x1d3)](){return!0x0;}[_0x4d793d(0x1c4)](_0x120ad5){const _0x1041d5=_0x4d793d,_0x310dd7=[];for(const _0x43c1a3 of this[_0x1041d5(0x1cb)]){(0x0,this[_0x1041d5(0x1b8)][_0x1041d5(0x1d6)](_0x43c1a3)[_0x1041d5(0x1b6)])(_0x120ad5)&&_0x310dd7[_0x1041d5(0x1cf)](_0x43c1a3);}if(_0x310dd7[_0x1041d5(0x1dd)]>0x1)throw new _0x5b9641(_0x1041d5(0x1e9),null,{'matchedUIs':_0x310dd7,'annotationType':_0x120ad5[_0x1041d5(0x1e2)]});}}
|