@ckeditor/ckeditor5-comments 41.2.1 → 41.3.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/content-index.css +332 -0
- package/dist/editor-index.css +902 -0
- package/dist/index.css +1874 -0
- package/dist/translations/af.d.ts +8 -0
- package/dist/translations/af.js +23 -0
- package/dist/translations/ar.d.ts +8 -0
- package/dist/translations/ar.js +23 -0
- package/dist/translations/bg.d.ts +8 -0
- package/dist/translations/bg.js +23 -0
- package/dist/translations/bn.d.ts +8 -0
- package/dist/translations/bn.js +23 -0
- package/dist/translations/bs.d.ts +8 -0
- package/dist/translations/bs.js +23 -0
- package/dist/translations/ca.d.ts +8 -0
- package/dist/translations/ca.js +23 -0
- package/dist/translations/cs.d.ts +8 -0
- package/dist/translations/cs.js +23 -0
- package/dist/translations/da.d.ts +8 -0
- package/dist/translations/da.js +23 -0
- package/dist/translations/de-ch.d.ts +8 -0
- package/dist/translations/de-ch.js +23 -0
- package/dist/translations/de.d.ts +8 -0
- package/dist/translations/de.js +23 -0
- package/dist/translations/el.d.ts +8 -0
- package/dist/translations/el.js +23 -0
- package/dist/translations/en-au.d.ts +8 -0
- package/dist/translations/en-au.js +23 -0
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +23 -0
- package/dist/translations/es-co.d.ts +8 -0
- package/dist/translations/es-co.js +23 -0
- package/dist/translations/es.d.ts +8 -0
- package/dist/translations/es.js +23 -0
- package/dist/translations/et.d.ts +8 -0
- package/dist/translations/et.js +23 -0
- package/dist/translations/fa.d.ts +8 -0
- package/dist/translations/fa.js +23 -0
- package/dist/translations/fi.d.ts +8 -0
- package/dist/translations/fi.js +23 -0
- package/dist/translations/fr.d.ts +8 -0
- package/dist/translations/fr.js +23 -0
- package/dist/translations/gl.d.ts +8 -0
- package/dist/translations/gl.js +23 -0
- package/dist/translations/he.d.ts +8 -0
- package/dist/translations/he.js +23 -0
- package/dist/translations/hi.d.ts +8 -0
- package/dist/translations/hi.js +23 -0
- package/dist/translations/hr.d.ts +8 -0
- package/dist/translations/hr.js +23 -0
- package/dist/translations/hu.d.ts +8 -0
- package/dist/translations/hu.js +23 -0
- package/dist/translations/id.d.ts +8 -0
- package/dist/translations/id.js +23 -0
- package/dist/translations/it.d.ts +8 -0
- package/dist/translations/it.js +23 -0
- package/dist/translations/ja.d.ts +8 -0
- package/dist/translations/ja.js +23 -0
- package/dist/translations/jv.d.ts +8 -0
- package/dist/translations/jv.js +23 -0
- package/dist/translations/ko.d.ts +8 -0
- package/dist/translations/ko.js +23 -0
- package/dist/translations/lt.d.ts +8 -0
- package/dist/translations/lt.js +23 -0
- package/dist/translations/lv.d.ts +8 -0
- package/dist/translations/lv.js +23 -0
- package/dist/translations/ms.d.ts +8 -0
- package/dist/translations/ms.js +23 -0
- package/dist/translations/nl.d.ts +8 -0
- package/dist/translations/nl.js +23 -0
- package/dist/translations/no.d.ts +8 -0
- package/dist/translations/no.js +23 -0
- package/dist/translations/pl.d.ts +8 -0
- package/dist/translations/pl.js +23 -0
- package/dist/translations/pt-br.d.ts +8 -0
- package/dist/translations/pt-br.js +23 -0
- package/dist/translations/pt.d.ts +8 -0
- package/dist/translations/pt.js +23 -0
- package/dist/translations/ro.d.ts +8 -0
- package/dist/translations/ro.js +23 -0
- package/dist/translations/ru.d.ts +8 -0
- package/dist/translations/ru.js +23 -0
- package/dist/translations/sk.d.ts +8 -0
- package/dist/translations/sk.js +23 -0
- package/dist/translations/sq.d.ts +8 -0
- package/dist/translations/sq.js +23 -0
- package/dist/translations/sr-latn.d.ts +8 -0
- package/dist/translations/sr-latn.js +23 -0
- package/dist/translations/sr.d.ts +8 -0
- package/dist/translations/sr.js +23 -0
- package/dist/translations/sv.d.ts +8 -0
- package/dist/translations/sv.js +23 -0
- package/dist/translations/th.d.ts +8 -0
- package/dist/translations/th.js +23 -0
- package/dist/translations/tk.d.ts +8 -0
- package/dist/translations/tk.js +23 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +23 -0
- package/dist/translations/tt.d.ts +8 -0
- package/dist/translations/tt.js +23 -0
- package/dist/translations/ug.d.ts +8 -0
- package/dist/translations/ug.js +23 -0
- package/dist/translations/uk.d.ts +8 -0
- package/dist/translations/uk.js +23 -0
- package/dist/translations/ur.d.ts +8 -0
- package/dist/translations/ur.js +23 -0
- package/dist/translations/vi.d.ts +8 -0
- package/dist/translations/vi.js +23 -0
- package/dist/translations/zh-cn.d.ts +8 -0
- package/dist/translations/zh-cn.js +23 -0
- package/dist/translations/zh.d.ts +8 -0
- package/dist/translations/zh.js +23 -0
- package/dist/types/annotations/annotation.d.ts +94 -0
- package/dist/types/annotations/annotationcollection.d.ts +102 -0
- package/dist/types/annotations/annotations.d.ts +158 -0
- package/dist/types/annotations/annotationsuis.d.ts +236 -0
- package/dist/types/annotations/editorannotations.d.ts +71 -0
- package/dist/types/annotations/inlineannotations.d.ts +94 -0
- package/dist/types/annotations/narrowsidebar.d.ts +89 -0
- package/dist/types/annotations/sidebar.d.ts +104 -0
- package/dist/types/annotations/view/annotationcounterbuttonview.d.ts +33 -0
- package/dist/types/annotations/view/annotationview.d.ts +94 -0
- package/dist/types/annotations/view/sidebaritemview.d.ts +59 -0
- package/dist/types/annotations/view/sidebarview.d.ts +36 -0
- package/dist/types/annotations/widesidebar.d.ts +81 -0
- package/dist/types/augmentation.d.ts +56 -0
- package/dist/types/comments/addcommentthreadcommand.d.ts +39 -0
- package/dist/types/comments/commentsarchive.d.ts +35 -0
- package/dist/types/comments/commentsarchiveui.d.ts +42 -0
- package/dist/types/comments/commentsediting.d.ts +84 -0
- package/dist/types/comments/commentsrepository.d.ts +1134 -0
- package/dist/types/comments/commentsui.d.ts +37 -0
- package/dist/types/comments/integrations/clipboard.d.ts +30 -0
- package/dist/types/comments/integrations/commentsrestrictededitingmode.d.ts +21 -0
- package/dist/types/comments/integrations/importword.d.ts +25 -0
- package/dist/types/comments/ui/commenteditor/commenteditor.d.ts +40 -0
- package/dist/types/comments/ui/commenteditor/commenteditorui.d.ts +35 -0
- package/dist/types/comments/ui/commenteditor/commenteditoruiview.d.ts +40 -0
- package/dist/types/comments/ui/commentthreadcontroller.d.ts +68 -0
- package/dist/types/comments/ui/view/basecommentthreadview.d.ts +123 -0
- package/dist/types/comments/ui/view/basecommentview.d.ts +116 -0
- package/dist/types/comments/ui/view/collapsedcommentsview.d.ts +17 -0
- package/dist/types/comments/ui/view/commentcontentview.d.ts +18 -0
- package/dist/types/comments/ui/view/commentinputview.d.ts +90 -0
- package/dist/types/comments/ui/view/commentsarchiveview.d.ts +42 -0
- package/dist/types/comments/ui/view/commentslistview.d.ts +104 -0
- package/dist/types/comments/ui/view/commentthreadheaderview.d.ts +54 -0
- package/dist/types/comments/ui/view/commentthreadinputview.d.ts +45 -0
- package/dist/types/comments/ui/view/commentthreadview.d.ts +122 -0
- package/dist/types/comments/ui/view/commentview.d.ts +247 -0
- package/dist/types/comments.d.ts +39 -0
- package/dist/types/commentsonly.d.ts +37 -0
- package/dist/types/config.d.ts +202 -0
- package/dist/types/index.d.ts +28 -0
- package/dist/types/utils/common-translations.d.ts +13 -0
- package/dist/types/utils/createmutationobserver.d.ts +18 -0
- package/package.json +4 -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.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +1 -1
- 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/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.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +1 -1
- package/src/comments/ui/view/commentview.js +1 -1
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/config.d.ts +17 -10
- package/src/index.d.ts +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4c77(_0x2f1f4a,_0x2b1b37){const _0x13c4f1=_0x13c4();return _0x4c77=function(_0x4c77a6,_0x2fb4dc){_0x4c77a6=_0x4c77a6-0x18e;let _0x4486b6=_0x13c4f1[_0x4c77a6];return _0x4486b6;},_0x4c77(_0x2f1f4a,_0x2b1b37);}const _0x55d732=_0x4c77;(function(_0x2ba614,_0x3cbd53){const _0x3584e2=_0x4c77,_0x17f7e6=_0x2ba614();while(!![]){try{const _0x3e0ea3=-parseInt(_0x3584e2(0x1bd))/0x1+parseInt(_0x3584e2(0x193))/0x2*(-parseInt(_0x3584e2(0x1c9))/0x3)+-parseInt(_0x3584e2(0x1ca))/0x4*(parseInt(_0x3584e2(0x1b3))/0x5)+-parseInt(_0x3584e2(0x19a))/0x6*(parseInt(_0x3584e2(0x1ab))/0x7)+parseInt(_0x3584e2(0x1a2))/0x8*(parseInt(_0x3584e2(0x1a8))/0x9)+parseInt(_0x3584e2(0x1b5))/0xa+parseInt(_0x3584e2(0x1bb))/0xb*(parseInt(_0x3584e2(0x1af))/0xc);if(_0x3e0ea3===_0x3cbd53)break;else _0x17f7e6['push'](_0x17f7e6['shift']());}catch(_0x4f7d69){_0x17f7e6['push'](_0x17f7e6['shift']());}}}(_0x13c4,0xe714b));function _0x13c4(){const _0x2b2e1d=['fire','add','reopenCommentThread','contextValue','value','element','querySelector','lastIndexOf','229602DKFhBg','setTemplate','Reopen','_attachContextActions','ck-context-wrapper','isEnabled','icon','12RnsRLz','...','ck-context','bindTemplate','locale','hasContext','_createReopenButton','Comment\x20was\x20made\x20on\x20an\x20element','57432JdPwvI','_trimContextValue','.ck-context','scrollWidth','isVisible','context','648LxbVUj','span','ck-annotation__actions','6521886vamjbd','offsetWidth','remove','isResolved','12aNJhyo','substring','render','classList','520nJzyNx','tooltip','6795870FUpRSB','listenTo','_model','ck-context__value','isResolvable','mouseenter','62253851qUlDRe','ck-context--quotes','1805973oRsLVZ','mouseleave','bind','length','label','reopenButtonView','.ck-context__value','div','ck-thread__header','execute','isReadOnly','overlay','24aKepqT','50832qAlApG'];_0x13c4=function(){return _0x2b2e1d;};return _0x13c4();}import{View as _0x33789d,ButtonView as _0x3efff5}from'ckeditor5/src/ui.js';import{getTranslation as _0x7eb7a}from'../../../utils/common-translations.js';import _0x4bd7a1 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Yt extends _0x33789d{constructor(_0x17e95b,_0x271fbd){const _0xc931d5=_0x4c77;super(_0x17e95b);const _0x3f808e=this[_0xc931d5(0x19d)];this[_0xc931d5(0x1b7)]=_0x271fbd,this[_0xc931d5(0x1c2)]=this[_0xc931d5(0x1a0)](),this[_0xc931d5(0x1bf)](_0xc931d5(0x19f))['to'](this[_0xc931d5(0x1b7)],_0xc931d5(0x1a7),_0x4b8e93=>!!_0x4b8e93),this[_0xc931d5(0x1bf)](_0xc931d5(0x18e))['to'](this[_0xc931d5(0x1b7)],_0xc931d5(0x1a7),_0x14c3e0=>_0x14c3e0&&_0x14c3e0[_0xc931d5(0x18f)]?this[_0xc931d5(0x1a3)](_0x14c3e0[_0xc931d5(0x18f)]):_0x7eb7a(this[_0xc931d5(0x19e)],_0xc931d5(0x1a1))),this[_0xc931d5(0x194)]({'tag':_0xc931d5(0x1c4),'attributes':{'class':[_0xc931d5(0x1c5)]},'children':[{'tag':_0xc931d5(0x1c4),'attributes':{'class':[_0xc931d5(0x197)]},'children':[{'tag':_0xc931d5(0x1c4),'attributes':{'class':[_0xc931d5(0x19c),_0x3f808e['if'](_0xc931d5(0x19f),_0xc931d5(0x1bc))]},'children':[{'tag':_0xc931d5(0x1a9),'attributes':{'class':[_0xc931d5(0x1b8)]},'children':[{'text':_0x3f808e['to'](_0xc931d5(0x18e))}]}]}]},{'tag':_0xc931d5(0x1c4),'attributes':{'class':[_0xc931d5(0x1aa)]},'children':[this[_0xc931d5(0x1c2)]]}]});}[_0x55d732(0x1b1)](){const _0x2253e3=_0x55d732;super[_0x2253e3(0x1b1)](),this[_0x2253e3(0x196)]();}[_0x55d732(0x1a0)](){const _0x759af4=_0x55d732,_0x115100=new _0x3efff5(this[_0x759af4(0x19e)]);return _0x115100[_0x759af4(0x1c1)]=_0x7eb7a(this[_0x759af4(0x19e)],_0x759af4(0x195)),_0x115100[_0x759af4(0x1b4)]=_0x7eb7a(this[_0x759af4(0x19e)],_0x759af4(0x195)),_0x115100[_0x759af4(0x199)]=_0x4bd7a1,_0x115100[_0x759af4(0x1bf)](_0x759af4(0x198))['to'](this[_0x759af4(0x1b7)],_0x759af4(0x1c7),_0x1819c3=>!_0x1819c3),_0x115100[_0x759af4(0x1bf)](_0x759af4(0x1a6))['to'](this[_0x759af4(0x1b7)],_0x759af4(0x1b9),this[_0x759af4(0x1b7)],_0x759af4(0x1ae),(_0x2f371b,_0x2e1ed2)=>_0x2f371b&&_0x2e1ed2),_0x115100['on'](_0x759af4(0x1c6),()=>{const _0x66fda5=_0x759af4;this[_0x66fda5(0x1cb)](_0x66fda5(0x1cd),this[_0x66fda5(0x1b7)]['id']);}),_0x115100;}[_0x55d732(0x1a3)](_0x4a591a){const _0x492475=_0x55d732;if(_0x4a591a[_0x492475(0x1c0)]<0x96)return _0x4a591a;const _0x4fc6f8=_0x4a591a[_0x492475(0x192)]('\x20',0x93);return _0x4a591a[_0x492475(0x1b0)](0x0,_0x4fc6f8>-0x1?_0x4fc6f8:0x93)+_0x492475(0x19b);}[_0x55d732(0x196)](){const _0x2dafbf=_0x55d732,_0x58bf3d=this[_0x2dafbf(0x190)][_0x2dafbf(0x191)](_0x2dafbf(0x1a4)),_0x134d8f=_0x58bf3d[_0x2dafbf(0x191)](_0x2dafbf(0x1c3));this[_0x2dafbf(0x1b6)](_0x58bf3d,_0x2dafbf(0x1ba),()=>{const _0x2cc8c2=_0x2dafbf;_0x134d8f[_0x2cc8c2(0x1ac)]<_0x134d8f[_0x2cc8c2(0x1a5)]&&_0x58bf3d[_0x2cc8c2(0x1b2)][_0x2cc8c2(0x1cc)](_0x2cc8c2(0x1c8));}),this[_0x2dafbf(0x1b6)](_0x58bf3d,_0x2dafbf(0x1be),()=>{const _0x26dc15=_0x2dafbf;_0x58bf3d[_0x26dc15(0x1b2)][_0x26dc15(0x1ad)](_0x26dc15(0x1c8));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3cb875=_0x3a8e;(function(_0x5e2f13,_0x558f7c){var _0x4a62d3=_0x3a8e,_0x56d478=_0x5e2f13();while(!![]){try{var _0x26bf20=-parseInt(_0x4a62d3(0x1a4))/0x1+parseInt(_0x4a62d3(0x1a9))/0x2+parseInt(_0x4a62d3(0x1a2))/0x3+parseInt(_0x4a62d3(0x193))/0x4*(parseInt(_0x4a62d3(0x198))/0x5)+parseInt(_0x4a62d3(0x18f))/0x6*(-parseInt(_0x4a62d3(0x18d))/0x7)+-parseInt(_0x4a62d3(0x191))/0x8*(-parseInt(_0x4a62d3(0x1a5))/0x9)+-parseInt(_0x4a62d3(0x19a))/0xa;if(_0x26bf20===_0x558f7c)break;else _0x56d478['push'](_0x56d478['shift']());}catch(_0x554e8b){_0x56d478['push'](_0x56d478['shift']());}}}(_0xbc5f,0x48ec6));import{View as _0x58cf7c}from'ckeditor5/src/ui.js';import _0x55d7c6 from'./commentinputview.js';import{UserView as _0x37e54e}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3a8e(_0x5a0b1c,_0x9ed6ab){var _0xbc5fc1=_0xbc5f();return _0x3a8e=function(_0x3a8e90,_0x32e6a7){_0x3a8e90=_0x3a8e90-0x187;var _0x5dc50d=_0xbc5fc1[_0x3a8e90];return _0x5dc50d;},_0x3a8e(_0x5a0b1c,_0x9ed6ab);}function _0xbc5f(){var _0x5528f4=['ck-comment__input-container','editorDestroyed','1499004hBqIcM','showButtons','474166sRxlYD','18pAlIdW','delegate','change:showInput','ck-thread__user','1149754XUyxJD','ck-comment__input-container--active','set','ck-thread__input','value','showInput','createEditor','49wAVpmA','destroy','44178XThgTn','editor','1563664ollJNz','editorReady','4svDEPF','bind','focusTracker','commentInputView','extendTemplate','1828235SppZDH','bindTemplate','10067070mmUqFM','then','isFocused','setTemplate','userView','div'];_0xbc5f=function(){return _0x5528f4;};return _0xbc5f();}export default class Ct extends _0x58cf7c{constructor(_0x74eff7,_0x52ead0,_0x1f5508){var _0x2f5b08=_0x3a8e;super(_0x74eff7),this[_0x2f5b08(0x196)]=new _0x55d7c6(_0x74eff7,_0x1f5508),this[_0x2f5b08(0x196)][_0x2f5b08(0x194)](_0x2f5b08(0x1a3))['to'](this[_0x2f5b08(0x196)][_0x2f5b08(0x195)],_0x2f5b08(0x19c),this[_0x2f5b08(0x196)],_0x2f5b08(0x18a),(_0x29902b,_0xa3fac9)=>_0x29902b||!!_0xa3fac9),this[_0x2f5b08(0x188)](_0x2f5b08(0x18b),!0x1),this['on'](_0x2f5b08(0x1a7),()=>{var _0x5b7bce=_0x2f5b08;this[_0x5b7bce(0x18b)]&&!this[_0x5b7bce(0x196)][_0x5b7bce(0x190)]&&this[_0x5b7bce(0x196)][_0x5b7bce(0x18c)]();}),this[_0x2f5b08(0x196)][_0x2f5b08(0x1a6)](_0x2f5b08(0x192))['to'](this),this[_0x2f5b08(0x196)][_0x2f5b08(0x1a6)](_0x2f5b08(0x1a1))['to'](this),this[_0x2f5b08(0x19e)]=new _0x37e54e(_0x74eff7,_0x52ead0),this[_0x2f5b08(0x19e)][_0x2f5b08(0x197)]({'attributes':{'class':_0x2f5b08(0x1a8)}}),this[_0x2f5b08(0x196)][_0x2f5b08(0x197)]({'attributes':{'class':_0x2f5b08(0x189)}}),this[_0x2f5b08(0x19d)]({'tag':_0x2f5b08(0x19f),'attributes':{'class':[_0x2f5b08(0x1a0),this[_0x2f5b08(0x199)]['if'](_0x2f5b08(0x18b),_0x2f5b08(0x187))]},'children':[this[_0x2f5b08(0x19e)],this[_0x2f5b08(0x196)]]});}[_0x3cb875(0x18e)](){var _0x4add5f=_0x3cb875;return this[_0x4add5f(0x196)][_0x4add5f(0x18e)]()[_0x4add5f(0x19b)](()=>super[_0x4add5f(0x18e)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x4eb148=_0x1903;function _0x1903(_0x3f8342,_0xf269a0){const _0x440c6d=_0x440c();return _0x1903=function(_0x1903cd,_0xb1dc81){_0x1903cd=_0x1903cd-0xec;let _0x38ffe4=_0x440c6d[_0x1903cd];return _0x38ffe4;},_0x1903(_0x3f8342,_0xf269a0);}(function(_0x42a26a,_0x1c8db8){const _0x78e3ea=_0x1903,_0x2419ee=_0x42a26a();while(!![]){try{const _0x337d6e=parseInt(_0x78e3ea(0x111))/0x1+-parseInt(_0x78e3ea(0x103))/0x2*(parseInt(_0x78e3ea(0xfc))/0x3)+-parseInt(_0x78e3ea(0x106))/0x4*(-parseInt(_0x78e3ea(0x118))/0x5)+parseInt(_0x78e3ea(0x10b))/0x6+parseInt(_0x78e3ea(0x119))/0x7+-parseInt(_0x78e3ea(0xfd))/0x8+parseInt(_0x78e3ea(0x11a))/0x9*(parseInt(_0x78e3ea(0x129))/0xa);if(_0x337d6e===_0x1c8db8)break;else _0x2419ee['push'](_0x2419ee['shift']());}catch(_0x4901bc){_0x2419ee['push'](_0x2419ee['shift']());}}}(_0x440c,0x4a92f));function _0x440c(){const _0x5c0073=['removeButton','41324wudIyD','ck-thread','tooltip','div','icon','1757082ItiSXC','resolveButton','setTemplate','isSystemComment','showConfirm','_bindFirstCommentView','12135HqOCSx','Resolve','cancelConfirm','change:archivedAt','isActive','ck-thread__container','isEnabled','85zorPLm','2712696WMHbzC','9gigCEz','querySelector','.ck-thread__container','commentThreadHeaderView','createCollection','archivedAt','_model','removeCommentThread','commentThreadInputView','unbind','commentThreadChildren','remove','has','ck-thread--remove-confirmation','isResolved','758830QJttjL','_createResolveButton','containerElement','actionBar','element','bind','get','commentsListView','extendTemplate','fire','label','isReadOnly','isUnlinked','ck-thread--','Delete\x20comment\x20thread?','check','set','isVisible','stop','change:isActive','length','change:isReadOnly','Write\x20a\x20comment...','ck-thread--unlinked','isConfirm','ck-thread--active','actionIndicator','listenTo','getTemplate','locale','bindTemplate','ck-reset_all-excluded','commentViews','addMany','ck-comment--resolve','placeholder','execute','_cancelAllConfirms','then','1579833SrpiwQ','895632fQSFgM','render','high','_boundFirstCommentView','add','isResolvable','2mUbaZj','resolveCommentThread'];_0x440c=function(){return _0x5c0073;};return _0x440c();}import{ConfirmMixin as _0x569a7d}from'ckeditor5-collaboration/src/collaboration-core.js';import{ButtonView as _0x5150a9}from'ckeditor5/src/ui.js';import{icons as _0x30b696}from'ckeditor5/src/core.js';import _0x2ba3ac from'./basecommentthreadview.js';import{getTranslation as _0x19fde9}from'../../../utils/common-translations.js';export default class pt extends _0x569a7d(_0x2ba3ac){constructor(_0x2a3431,_0x577d6b,_0x5a597e,_0xa8d7fd){const _0x16a5f6=_0x1903;super(_0x2a3431,_0x577d6b,_0x5a597e,_0xa8d7fd),this[_0x16a5f6(0x124)]=this[_0x16a5f6(0x11e)](),this[_0x16a5f6(0x124)][_0x16a5f6(0xf6)]([this[_0x16a5f6(0x130)],this[_0x16a5f6(0x122)]]),this[_0x16a5f6(0x120)][_0x16a5f6(0x11f)]&&this[_0x16a5f6(0x124)][_0x16a5f6(0x101)](this[_0x16a5f6(0x11d)],0x0),this[_0x16a5f6(0x120)]['on'](_0x16a5f6(0x114),(_0x38646b,_0x23e062,_0x579f77)=>{const _0x3bc777=_0x16a5f6;_0x579f77?this[_0x3bc777(0x124)][_0x3bc777(0x126)](this[_0x3bc777(0x11d)])||this[_0x3bc777(0x124)][_0x3bc777(0x101)](this[_0x3bc777(0x11d)],0x0):this[_0x3bc777(0x124)][_0x3bc777(0x125)](this[_0x3bc777(0x11d)]);}),this[_0x16a5f6(0x139)](_0x16a5f6(0xef),null),this[_0x16a5f6(0x12b)]=null,this[_0x16a5f6(0x100)]=null,this[_0x16a5f6(0xf2)]=_0x2a3431,this[_0x16a5f6(0x10c)]=this[_0x16a5f6(0x12a)](),this[_0x16a5f6(0x10d)](this[_0x16a5f6(0xf1)]()),this['on'](_0x16a5f6(0x13c),(_0x4b359b,_0x994b4d,_0x314cb6)=>{const _0xf15705=_0x16a5f6;_0x314cb6||this[_0xf15705(0xfa)]();}),this[_0x16a5f6(0xf0)](this[_0x16a5f6(0x120)],_0x16a5f6(0x13e),(_0xc73122,_0x52fe11,_0xa3313)=>{const _0x17d126=_0x16a5f6;_0xa3313&&this[_0x17d126(0xfa)]();}),this[_0x16a5f6(0x13d)]>0x0&&this[_0x16a5f6(0x110)](),this[_0x16a5f6(0xf0)](this[_0x16a5f6(0x130)][_0x16a5f6(0xf5)],_0x16a5f6(0x101),()=>{const _0x2b0587=_0x16a5f6;this[_0x2b0587(0x110)]();});}[_0x4eb148(0xf1)](){const _0x184d33=_0x4eb148,_0x17fcc4=this[_0x184d33(0xf3)];return{'tag':_0x184d33(0x109),'attributes':{'class':[_0x184d33(0x107),_0x184d33(0xf4),_0x17fcc4['if'](_0x184d33(0x115),_0x184d33(0xee)),_0x17fcc4['if'](_0x184d33(0x135),_0x184d33(0xec)),_0x17fcc4['if'](_0x184d33(0xed),_0x184d33(0x127)),_0x17fcc4['to'](_0x184d33(0xef),_0x825944=>_0x825944?_0x184d33(0x136)+_0x825944:'')],'data-thread-id':this[_0x184d33(0x120)]['id'],'tabindex':-0x1},'children':[{'tag':_0x184d33(0x109),'attributes':{'class':_0x184d33(0x116)},'children':this[_0x184d33(0x124)]}]};}[_0x4eb148(0xfe)](){const _0x1b6a3a=_0x4eb148;super[_0x1b6a3a(0xfe)](),this[_0x1b6a3a(0x12b)]=this[_0x1b6a3a(0x12d)][_0x1b6a3a(0x11b)](_0x1b6a3a(0x11c));}[_0x4eb148(0xfa)](){const _0x185cd9=_0x4eb148;this[_0x185cd9(0x113)]();for(const _0x22d33e of this[_0x185cd9(0x130)][_0x185cd9(0xf5)])_0x22d33e[_0x185cd9(0x113)]();}[_0x4eb148(0x110)](){const _0x57574c=_0x4eb148,{locale:_0x458745}=this,_0x7de043=this[_0x57574c(0x130)][_0x57574c(0xf5)][_0x57574c(0x12f)](0x0);_0x7de043===this[_0x57574c(0x100)]||_0x7de043[_0x57574c(0x10e)]||(this[_0x57574c(0x100)]=_0x7de043,this[_0x57574c(0x123)](_0x57574c(0xef)),this[_0x57574c(0x12e)](_0x57574c(0xef))['to'](_0x7de043,_0x57574c(0xef),_0x1f7bd4=>_0x57574c(0x125)===_0x1f7bd4?_0x57574c(0x125):null),_0x7de043[_0x57574c(0xf8)]=_0x19fde9(_0x458745,_0x57574c(0x13f)),_0x7de043[_0x57574c(0x105)]['on'](_0x57574c(0xf9),_0x398ab3=>{const _0x107783=_0x57574c;_0x398ab3[_0x107783(0x13b)](),this[_0x107783(0x10f)](_0x19fde9(_0x458745,_0x107783(0x137)),this[_0x107783(0x12b)])[_0x107783(0xfb)](()=>{const _0x40e5a7=_0x107783;this[_0x40e5a7(0x132)](_0x40e5a7(0x121));});},{'priority':_0x57574c(0xff)}),_0x7de043[_0x57574c(0x12c)][_0x57574c(0x101)](this[_0x57574c(0x10c)],0x0));}[_0x4eb148(0x12a)](){const _0x488697=_0x4eb148,_0xc9ecd3=new _0x5150a9(this[_0x488697(0xf2)]);return _0xc9ecd3[_0x488697(0x133)]=_0x19fde9(this[_0x488697(0xf2)],_0x488697(0x112)),_0xc9ecd3[_0x488697(0x108)]=_0x19fde9(this[_0x488697(0xf2)],_0x488697(0x112)),_0xc9ecd3[_0x488697(0x10a)]=_0x30b696[_0x488697(0x138)],_0xc9ecd3[_0x488697(0x131)]({'attributes':{'class':_0x488697(0xf7)}}),_0xc9ecd3[_0x488697(0x12e)](_0x488697(0x117))['to'](this[_0x488697(0x120)],_0x488697(0x134),_0x582e8e=>!_0x582e8e),_0xc9ecd3[_0x488697(0x12e)](_0x488697(0x13a))['to'](this[_0x488697(0x120)],_0x488697(0x102),this[_0x488697(0x120)],_0x488697(0x128),(_0x5789d6,_0x3518a8)=>_0x5789d6&&!_0x3518a8),_0xc9ecd3['on'](_0x488697(0xf9),()=>{const _0x381eb0=_0x488697;this[_0x381eb0(0x132)](_0x381eb0(0x104),this[_0x381eb0(0x120)]['id']);}),_0xc9ecd3;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x48a7(_0x5ba2a4,_0x320102){const _0x2bbdbc=_0x2bbd();return _0x48a7=function(_0x48a72c,_0x43f132){_0x48a72c=_0x48a72c-0x159;let _0xab8fc3=_0x2bbdbc[_0x48a72c];return _0xab8fc3;},_0x48a7(_0x5ba2a4,_0x320102);}const _0x349bc9=_0x48a7;(function(_0x1c41f4,_0x47c921){const _0x1b6dfe=_0x48a7,_0x1b482a=_0x1c41f4();while(!![]){try{const _0x286f1c=-parseInt(_0x1b6dfe(0x1ce))/0x1+-parseInt(_0x1b6dfe(0x168))/0x2+parseInt(_0x1b6dfe(0x196))/0x3+parseInt(_0x1b6dfe(0x1bf))/0x4+-parseInt(_0x1b6dfe(0x1ac))/0x5*(parseInt(_0x1b6dfe(0x17a))/0x6)+-parseInt(_0x1b6dfe(0x175))/0x7*(parseInt(_0x1b6dfe(0x1a9))/0x8)+parseInt(_0x1b6dfe(0x1a6))/0x9;if(_0x286f1c===_0x47c921)break;else _0x1b482a['push'](_0x1b482a['shift']());}catch(_0x5caa7){_0x1b482a['push'](_0x1b482a['shift']());}}}(_0x2bbd,0x5b39a));import{ButtonView as _0x1e8ca6,createDropdown as _0x367883,ListView as _0x85efd0,ListItemView as _0x11fae9}from'ckeditor5/src/ui.js';import{icons as _0x55130a}from'ckeditor5/src/core.js';import{UserView as _0x56dee0,ConfirmMixin as _0x52434e}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2bbd(){const _0x312025=['attributes','mouseleave','10722AFoubt','ck-annotation__content-wrapper','ck-comment--remove','ck-annotation__main','EXTERNAL_COMMENT','div','dropdown','isEnabled','name','actionBar','isRemovable','importWord','extendTemplate','ck-comment--','source','formatDateTime','threeVerticalDots','items','some','buttonView','blur','listenTo','_model','Reply...','ck-comment__main','ck-comment__actions','pencil','showConfirm','1523223egVHAu','switchToEditMode','ck-comment--remove-confirmation','isVisible','isReadOnly','label','bindTemplate','ck-comment__actions--hidden','ck-annotation__user','children','ck-comment__info','ck-comment','ck-annotation__info-name','getUserViewNotificationText','_createDropdown','getTemplate','13202937KJILxs','authoredAt','execute','16oMMehH','remove','EXTERNAL_IMPORT_WORD_AVATAR','1845uOfNdt','ck-comment__info-name','getExternalCommentNote','isEditMode','ck-comment__user','_createRemoveButton','change:isRemovable','isExternal','locale','_createCommentInputView','change:isEnabled','render','isSystemComment','fire','isConfirm','author','ck-comment__external','ck-annotation__info-time','push','1306964rFHEvp','createCollection','_createEditButton','ck-annotation__actions--hidden','Delete\x20comment?','EXTERNAL_IMPORT_WORD_COMMENT','@external','placeholder','change:isVisible','userView','setTemplate','time','ck-annotation__actions','ck-comment--edit','ck-comment--info','370736Meyyia','element','_attachActions','Show\x20more\x20items','ck-comment__wrapper','Remove','focus','span','editButton','actionIndicator','withText','_config','isEditable','panelView','ck-annotation__info','visibleView','add','addMany','icon','creator','removeComment','1234632fCXHwd','cancelConfirm','ck-annotation','bind','ck-comment__info-time','mouseenter','length','Edit','edit','EXTERNAL_AVATAR','panelPosition','removeButton','resolvedAt','981267MnKnHb','then','set'];_0x2bbd=function(){return _0x312025;};return _0x2bbd();}import _0x2bd15a from'./basecommentview.js';import _0xe4bf3f from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x55e9ac}from'../../../utils/common-translations.js';export default class wt extends _0x52434e(_0x2bd15a){constructor(_0x5a5cb6,_0x273f1d,_0x3c3cb2){const _0x2ada69=_0x48a7;super(_0x5a5cb6,_0x273f1d,_0x3c3cb2),this[_0x2ada69(0x177)](_0x2ada69(0x15c),null),this[_0x2ada69(0x177)](_0x2ada69(0x1c6),_0x55e9ac(_0x5a5cb6,_0x2ada69(0x191))),this[_0x2ada69(0x16b)](_0x2ada69(0x1a7))['to'](_0x273f1d),this[_0x2ada69(0x16b)](_0x2ada69(0x174))['to'](_0x273f1d),this[_0x2ada69(0x183)]=this[_0x2ada69(0x1c0)](),this[_0x2ada69(0x1b8)]||(this[_0x2ada69(0x15b)]=this[_0x2ada69(0x1c1)](),this[_0x2ada69(0x173)]=this[_0x2ada69(0x1b1)](),this[_0x2ada69(0x18b)]=this[_0x2ada69(0x1c0)](),this[_0x2ada69(0x18b)][_0x2ada69(0x164)]([this[_0x2ada69(0x15b)],this[_0x2ada69(0x173)]]),this[_0x2ada69(0x180)]=this[_0x2ada69(0x1a4)](),this[_0x2ada69(0x183)][_0x2ada69(0x163)](this[_0x2ada69(0x180)])),this[_0x2ada69(0x1c8)]=new _0x56dee0(_0x5a5cb6,_0x273f1d[_0x2ada69(0x1bb)],this[_0x2ada69(0x1a3)]()),this[_0x2ada69(0x1c8)][_0x2ada69(0x186)]({'attributes':{'class':[_0x2ada69(0x1b0),_0x2ada69(0x19e)]}}),this[_0x2ada69(0x18f)](_0x273f1d,_0x2ada69(0x1b2),()=>this[_0x2ada69(0x169)]()),this[_0x2ada69(0x1c9)](this[_0x2ada69(0x1a5)]());}[_0x349bc9(0x1a5)](){const _0x95d7f3=_0x349bc9,_0x3add00=this[_0x95d7f3(0x19c)],_0x44af41=[{'tag':_0x95d7f3(0x17f),'attributes':{'class':[_0x95d7f3(0x1a0),_0x95d7f3(0x161)]},'children':[{'tag':_0x95d7f3(0x15a),'children':[{'text':this[_0x95d7f3(0x1c8)][_0x95d7f3(0x182)]}],'attributes':{'class':[_0x95d7f3(0x1ad),_0x95d7f3(0x1a2)]}},{'tag':_0x95d7f3(0x1ca),'attributes':{'datetime':_0x3add00['to'](_0x95d7f3(0x1a7)),'class':[_0x95d7f3(0x16c),_0x95d7f3(0x1bd)]},'children':[{'text':_0x3add00['to'](_0x95d7f3(0x1a7),_0x1713e2=>this[_0x95d7f3(0x15e)][_0x95d7f3(0x189)](_0x1713e2))}]}]},{'tag':_0x95d7f3(0x17f),'attributes':{'class':[_0x95d7f3(0x193),_0x95d7f3(0x1cb),_0x3add00['if'](_0x95d7f3(0x1af),_0x95d7f3(0x19d)),_0x3add00['if'](_0x95d7f3(0x1af),_0x95d7f3(0x1c2))]},'children':this[_0x95d7f3(0x183)]},{'tag':_0x95d7f3(0x17f),'attributes':{'class':[_0x95d7f3(0x17b)]},'children':this[_0x95d7f3(0x162)]}];return this[_0x95d7f3(0x190)][_0x95d7f3(0x1b3)]&&_0x44af41[_0x95d7f3(0x1be)]({'tag':_0x95d7f3(0x17f),'attributes':{'class':[_0x95d7f3(0x1bc)]},'children':[{'text':this[_0x95d7f3(0x1ae)]()}]}),{'tag':'li','attributes':{'class':[_0x95d7f3(0x1d2),_0x3add00['if'](_0x95d7f3(0x1ba),_0x95d7f3(0x198))],'tabindex':-0x1},'children':[{'tag':_0x95d7f3(0x17f),'attributes':{'class':[_0x95d7f3(0x1a1),_0x95d7f3(0x16a),_0x3add00['if'](_0x95d7f3(0x1af),_0x95d7f3(0x1cc)),_0x3add00['if'](_0x95d7f3(0x1b8),_0x95d7f3(0x1cd)),_0x3add00['to'](_0x95d7f3(0x15c),_0x120cca=>_0x120cca?_0x95d7f3(0x187)+_0x120cca:'')],'data-author-id':this[_0x95d7f3(0x190)][_0x95d7f3(0x1bb)]['id'],'data-comment-id':this[_0x95d7f3(0x190)]['id']},'children':[this[_0x95d7f3(0x1c8)],{'tag':_0x95d7f3(0x17f),'attributes':{'class':[_0x95d7f3(0x192),_0x95d7f3(0x17d)]},'children':_0x44af41}]}]};}[_0x349bc9(0x1c1)](){const _0xae9735=_0x349bc9,_0xfc5c2e=new _0x1e8ca6(this[_0xae9735(0x1b4)]);return _0xfc5c2e[_0xae9735(0x19b)]=_0x55e9ac(this[_0xae9735(0x1b4)],_0xae9735(0x16f)),_0xfc5c2e[_0xae9735(0x165)]=_0x55130a[_0xae9735(0x194)],_0xfc5c2e[_0xae9735(0x15d)]=!0x0,_0xfc5c2e[_0xae9735(0x186)]({'attributes':{'class':_0xae9735(0x1cc)}}),_0xfc5c2e[_0xae9735(0x16b)](_0xae9735(0x181))['to'](this[_0xae9735(0x190)],_0xae9735(0x19a),_0x419a87=>!_0x419a87),_0xfc5c2e[_0xae9735(0x16b)](_0xae9735(0x199))['to'](this[_0xae9735(0x190)],_0xae9735(0x15f)),_0xfc5c2e['on'](_0xae9735(0x1a8),()=>this[_0xae9735(0x197)]()),_0xfc5c2e;}[_0x349bc9(0x1b1)](){const _0xd983bf=_0x349bc9,_0x27bf69=new _0x1e8ca6(this[_0xd983bf(0x1b4)]);return _0x27bf69[_0xd983bf(0x19b)]=_0x55e9ac(this[_0xd983bf(0x1b4)],_0xd983bf(0x1d3)),_0x27bf69[_0xd983bf(0x165)]=_0xe4bf3f,_0x27bf69[_0xd983bf(0x15d)]=!0x0,_0x27bf69[_0xd983bf(0x186)]({'attributes':{'class':_0xd983bf(0x17c)}}),_0x27bf69[_0xd983bf(0x16b)](_0xd983bf(0x181))['to'](this[_0xd983bf(0x190)],_0xd983bf(0x19a),_0x2aa859=>!_0x2aa859),_0x27bf69[_0xd983bf(0x16b)](_0xd983bf(0x199))['to'](this[_0xd983bf(0x190)],_0xd983bf(0x184)),_0x27bf69['on'](_0xd983bf(0x1a8),()=>{const _0x263b71=_0xd983bf;this[_0x263b71(0x195)](_0x55e9ac(this[_0x263b71(0x1b4)],_0x263b71(0x1c3)),this[_0x263b71(0x1cf)])[_0x263b71(0x176)](()=>{const _0x521354=_0x263b71;this[_0x521354(0x1b9)](_0x521354(0x167),this[_0x521354(0x190)]['id']);});}),_0x27bf69;}[_0x349bc9(0x1a4)](){const _0x307db1=_0x349bc9,_0x1c329f=_0x367883(this[_0x307db1(0x1b4)]),_0x397503=_0x1c329f[_0x307db1(0x160)][_0x307db1(0x19f)],_0x1cc812=new _0x85efd0(this[_0x307db1(0x1b4)]),_0x1c4259=(_0x3c877b,_0x3b7926=-0x1)=>{const _0x9ea03b=_0x307db1,_0x151f2c=new _0x11fae9(this[_0x9ea03b(0x1b4)]);_0x151f2c[_0x9ea03b(0x19f)][_0x9ea03b(0x163)](_0x3c877b);const _0x5c655f=_0x3b7926>-0x1?_0x3b7926:_0x1cc812[_0x9ea03b(0x18b)][_0x9ea03b(0x16e)];_0x1cc812[_0x9ea03b(0x18b)][_0x9ea03b(0x163)](_0x151f2c,_0x5c655f),_0x1c329f[_0x9ea03b(0x18f)](_0x3c877b,_0x9ea03b(0x1b6),()=>{const _0x17e7ef=_0x9ea03b;_0x1c329f[_0x17e7ef(0x181)]=[...this[_0x17e7ef(0x18b)]][_0x17e7ef(0x18c)](_0x2958e6=>_0x2958e6[_0x17e7ef(0x181)]);}),_0x1c329f[_0x9ea03b(0x18f)](_0x3c877b,_0x9ea03b(0x1c7),()=>{const _0x484dc1=_0x9ea03b;_0x1c329f[_0x484dc1(0x18d)][_0x484dc1(0x199)]=[...this[_0x484dc1(0x18b)]][_0x484dc1(0x18c)](_0x4a6f60=>_0x4a6f60[_0x484dc1(0x199)]);});};_0x1c329f[_0x307db1(0x172)]='sw',_0x1c329f[_0x307db1(0x18d)][_0x307db1(0x177)]({'label':_0x55e9ac(this[_0x307db1(0x1b4)],_0x307db1(0x1d1)),'icon':_0x55130a[_0x307db1(0x18a)]}),_0x1c329f[_0x307db1(0x181)]=[...this[_0x307db1(0x18b)]][_0x307db1(0x18c)](_0x1bcb91=>_0x1bcb91[_0x307db1(0x181)]),_0x1c329f[_0x307db1(0x18d)][_0x307db1(0x199)]=[...this[_0x307db1(0x18b)]][_0x307db1(0x18c)](_0x435791=>_0x435791[_0x307db1(0x199)]);for(const _0x58fe92 of this[_0x307db1(0x18b)])_0x1c4259(_0x58fe92);return _0x397503[_0x307db1(0x163)](_0x1cc812),_0x1c329f[_0x307db1(0x18f)](this[_0x307db1(0x18b)],_0x307db1(0x163),(_0x12820f,_0x55986d,_0x4836b8)=>{_0x1c4259(_0x55986d,_0x4836b8);}),_0x1c329f[_0x307db1(0x18f)](this[_0x307db1(0x18b)],_0x307db1(0x1aa),(_0x5e4236,_0x2c5ed7,_0x3cab1c)=>{const _0x31f8d0=_0x307db1;_0x1cc812[_0x31f8d0(0x18b)][_0x31f8d0(0x1aa)](_0x3cab1c);}),_0x1c329f;}[_0x349bc9(0x1d0)](_0x9c87fd,_0x2ca6a8){const _0x3d396a=_0x349bc9,_0x3aa790=_0x9c87fd&&_0x9c87fd[_0x3d396a(0x1cf)];_0x3aa790&&(this[_0x3d396a(0x18f)](_0x3aa790,_0x3d396a(0x16d),()=>this[_0x3d396a(0x15c)]=_0x2ca6a8),this[_0x3d396a(0x18f)](_0x3aa790,_0x3d396a(0x159),()=>this[_0x3d396a(0x15c)]=_0x2ca6a8),this[_0x3d396a(0x18f)](_0x3aa790,_0x3d396a(0x179),()=>this[_0x3d396a(0x15c)]=null),this[_0x3d396a(0x18f)](_0x3aa790,_0x3d396a(0x18e),()=>this[_0x3d396a(0x15c)]=null));}[_0x349bc9(0x1b5)](){const _0x26f4a2=_0x349bc9,_0x248360=super[_0x26f4a2(0x1b5)]();return _0x248360[_0x26f4a2(0x16b)](_0x26f4a2(0x1c6))['to'](this),_0x248360;}[_0x349bc9(0x1ae)](){const _0x1efa01=_0x349bc9;return _0x1efa01(0x185)===this[_0x1efa01(0x190)][_0x1efa01(0x178)][_0x1efa01(0x1c5)][_0x1efa01(0x188)]?_0x55e9ac(this[_0x1efa01(0x1b4)],_0x1efa01(0x1c4)):_0x55e9ac(this[_0x1efa01(0x1b4)],_0x1efa01(0x17e));}[_0x349bc9(0x1a3)](){const _0x1f743d=_0x349bc9;return this[_0x1f743d(0x190)][_0x1f743d(0x1b3)]?_0x1f743d(0x185)===this[_0x1f743d(0x190)][_0x1f743d(0x178)][_0x1f743d(0x1c5)][_0x1f743d(0x188)]?_0x55e9ac(this[_0x1f743d(0x1b4)],_0x1f743d(0x1ab),this[_0x1f743d(0x190)][_0x1f743d(0x166)][_0x1f743d(0x182)]):_0x55e9ac(this[_0x1f743d(0x1b4)],_0x1f743d(0x171),this[_0x1f743d(0x190)][_0x1f743d(0x166)][_0x1f743d(0x182)]):null;}[_0x349bc9(0x1b7)](){const _0x5908a9=_0x349bc9;super[_0x5908a9(0x1b7)](),this[_0x5908a9(0x1d0)](this[_0x5908a9(0x15b)],_0x5908a9(0x170)),this[_0x5908a9(0x1d0)](this[_0x5908a9(0x173)],_0x5908a9(0x1aa));}}
|
|
23
|
+
const _0x1bdc97=_0x45e7;(function(_0x2e0d70,_0x4fdc65){const _0x2936a0=_0x45e7,_0xba6313=_0x2e0d70();while(!![]){try{const _0x440937=parseInt(_0x2936a0(0x187))/0x1*(parseInt(_0x2936a0(0x15c))/0x2)+-parseInt(_0x2936a0(0x13d))/0x3+parseInt(_0x2936a0(0x14a))/0x4+parseInt(_0x2936a0(0x18f))/0x5+parseInt(_0x2936a0(0x193))/0x6*(-parseInt(_0x2936a0(0x121))/0x7)+-parseInt(_0x2936a0(0x14c))/0x8*(-parseInt(_0x2936a0(0x180))/0x9)+-parseInt(_0x2936a0(0x124))/0xa*(parseInt(_0x2936a0(0x163))/0xb);if(_0x440937===_0x4fdc65)break;else _0xba6313['push'](_0xba6313['shift']());}catch(_0x26937d){_0xba6313['push'](_0xba6313['shift']());}}}(_0x3af6,0x9b81f));import{ButtonView as _0x48afb9,createDropdown as _0x1dd615,ListView as _0x15275e,ListItemView as _0x24ed26}from'ckeditor5/src/ui.js';function _0x3af6(){const _0x326747=['name','25504oQHkWb','ck-annotation__actions','ck-annotation__user','Show\x20more\x20items','userView','showConfirm','ck-comment__info-name','isSystemComment','1016835QckgOJ','add','visibleView','buttonView','1191618TKSXcS','locale','_config','importWord','ck-comment--remove','div','_createEditButton','execute','_attachActions','render','isRemovable','14Tbmbxq','ck-comment__actions--hidden','ck-comment--edit','90VBvfHT','ck-comment__info-time','formatDateTime','creator','listenTo','cancelConfirm','blur','EXTERNAL_COMMENT','push','some','panelPosition','children','EXTERNAL_IMPORT_WORD_COMMENT','ck-comment--info','_model','EXTERNAL_IMPORT_WORD_AVATAR','bindTemplate','extendTemplate','Reply...','addMany','isConfirm','ck-annotation__info','actionIndicator','_createRemoveButton','threeVerticalDots','1863483AoBLOu','change:isEnabled','ck-annotation__info-time','ck-comment__external','isReadOnly','ck-annotation','ck-comment__info','edit','change:isRemovable','setTemplate','attributes','ck-comment','ck-comment--','1631608jniNkJ','ck-comment__user','66632djTKpl','bind','placeholder','element','then','set','label','ck-annotation__main','isEditable','isEditMode','EXTERNAL_AVATAR','authoredAt','ck-annotation__actions--hidden','items','resolvedAt','@external','12CaUQLf','Edit','actionBar','panelView','mouseleave','Delete\x20comment?','isVisible','71467SNDkAS','switchToEditMode','ck-comment__main','icon','pencil','remove','span','isExternal','getTemplate','_createCommentInputView','focus','change:isVisible','ck-comment--remove-confirmation','source','createCollection','ck-annotation__content-wrapper','dropdown','ck-comment__actions','ck-comment__wrapper','getUserViewNotificationText','withText','removeButton','getExternalCommentNote','author','removeComment','fire','mouseenter','editButton','time','1026nPeRvV','isEnabled','ck-annotation__info-name','_createDropdown','length','Remove'];_0x3af6=function(){return _0x326747;};return _0x3af6();}function _0x45e7(_0x41acfe,_0x3b849b){const _0x3af60c=_0x3af6();return _0x45e7=function(_0x45e762,_0x103345){_0x45e762=_0x45e762-0x11e;let _0x2748e0=_0x3af60c[_0x45e762];return _0x2748e0;},_0x45e7(_0x41acfe,_0x3b849b);}import{icons as _0x3e7fac}from'ckeditor5/src/core.js';import{UserView as _0x5a9a4f,ConfirmMixin as _0x2371d8}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x4e883f from'./basecommentview.js';import _0x3abaed from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x1b4760}from'../../../utils/common-translations.js';export default class wt extends _0x2371d8(_0x4e883f){constructor(_0x3456ac,_0x34b8ec,_0x36d3b1){const _0x30ca31=_0x45e7;super(_0x3456ac,_0x34b8ec,_0x36d3b1),this[_0x30ca31(0x151)](_0x30ca31(0x13a),null),this[_0x30ca31(0x151)](_0x30ca31(0x14e),_0x1b4760(_0x3456ac,_0x30ca31(0x136))),this[_0x30ca31(0x14d)](_0x30ca31(0x157))['to'](_0x34b8ec),this[_0x30ca31(0x14d)](_0x30ca31(0x15a))['to'](_0x34b8ec),this[_0x30ca31(0x15e)]=this[_0x30ca31(0x171)](),this[_0x30ca31(0x18e)]||(this[_0x30ca31(0x17e)]=this[_0x30ca31(0x199)](),this[_0x30ca31(0x178)]=this[_0x30ca31(0x13b)](),this[_0x30ca31(0x159)]=this[_0x30ca31(0x171)](),this[_0x30ca31(0x159)][_0x30ca31(0x137)]([this[_0x30ca31(0x17e)],this[_0x30ca31(0x178)]]),this[_0x30ca31(0x173)]=this[_0x30ca31(0x183)](),this[_0x30ca31(0x15e)][_0x30ca31(0x190)](this[_0x30ca31(0x173)])),this[_0x30ca31(0x18b)]=new _0x5a9a4f(_0x3456ac,_0x34b8ec[_0x30ca31(0x17a)],this[_0x30ca31(0x176)]()),this[_0x30ca31(0x18b)][_0x30ca31(0x135)]({'attributes':{'class':[_0x30ca31(0x14b),_0x30ca31(0x189)]}}),this[_0x30ca31(0x128)](_0x34b8ec,_0x30ca31(0x145),()=>this[_0x30ca31(0x129)]()),this[_0x30ca31(0x146)](this[_0x30ca31(0x16b)]());}[_0x1bdc97(0x16b)](){const _0x39229e=_0x1bdc97,_0x206bba=this[_0x39229e(0x134)],_0x1a916d=[{'tag':_0x39229e(0x198),'attributes':{'class':[_0x39229e(0x143),_0x39229e(0x139)]},'children':[{'tag':_0x39229e(0x169),'children':[{'text':this[_0x39229e(0x18b)][_0x39229e(0x186)]}],'attributes':{'class':[_0x39229e(0x18d),_0x39229e(0x182)]}},{'tag':_0x39229e(0x17f),'attributes':{'datetime':_0x206bba['to'](_0x39229e(0x157)),'class':[_0x39229e(0x125),_0x39229e(0x13f)]},'children':[{'text':_0x206bba['to'](_0x39229e(0x157),_0x5e3105=>this[_0x39229e(0x195)][_0x39229e(0x126)](_0x5e3105))}]}]},{'tag':_0x39229e(0x198),'attributes':{'class':[_0x39229e(0x174),_0x39229e(0x188),_0x206bba['if'](_0x39229e(0x155),_0x39229e(0x122)),_0x206bba['if'](_0x39229e(0x155),_0x39229e(0x158))]},'children':this[_0x39229e(0x15e)]},{'tag':_0x39229e(0x198),'attributes':{'class':[_0x39229e(0x172)]},'children':this[_0x39229e(0x191)]}];return this[_0x39229e(0x132)][_0x39229e(0x16a)]&&_0x1a916d[_0x39229e(0x12c)]({'tag':_0x39229e(0x198),'attributes':{'class':[_0x39229e(0x140)]},'children':[{'text':this[_0x39229e(0x179)]()}]}),{'tag':'li','attributes':{'class':[_0x39229e(0x175),_0x206bba['if'](_0x39229e(0x138),_0x39229e(0x16f))],'tabindex':-0x1},'children':[{'tag':_0x39229e(0x198),'attributes':{'class':[_0x39229e(0x148),_0x39229e(0x142),_0x206bba['if'](_0x39229e(0x155),_0x39229e(0x123)),_0x206bba['if'](_0x39229e(0x18e),_0x39229e(0x131)),_0x206bba['to'](_0x39229e(0x13a),_0x4b6af0=>_0x4b6af0?_0x39229e(0x149)+_0x4b6af0:'')],'data-author-id':this[_0x39229e(0x132)][_0x39229e(0x17a)]['id'],'data-comment-id':this[_0x39229e(0x132)]['id']},'children':[this[_0x39229e(0x18b)],{'tag':_0x39229e(0x198),'attributes':{'class':[_0x39229e(0x165),_0x39229e(0x153)]},'children':_0x1a916d}]}]};}[_0x1bdc97(0x199)](){const _0x304eff=_0x1bdc97,_0x2048a1=new _0x48afb9(this[_0x304eff(0x194)]);return _0x2048a1[_0x304eff(0x152)]=_0x1b4760(this[_0x304eff(0x194)],_0x304eff(0x15d)),_0x2048a1[_0x304eff(0x166)]=_0x3e7fac[_0x304eff(0x167)],_0x2048a1[_0x304eff(0x177)]=!0x0,_0x2048a1[_0x304eff(0x135)]({'attributes':{'class':_0x304eff(0x123)}}),_0x2048a1[_0x304eff(0x14d)](_0x304eff(0x181))['to'](this[_0x304eff(0x132)],_0x304eff(0x141),_0xee27d0=>!_0xee27d0),_0x2048a1[_0x304eff(0x14d)](_0x304eff(0x162))['to'](this[_0x304eff(0x132)],_0x304eff(0x154)),_0x2048a1['on'](_0x304eff(0x19a),()=>this[_0x304eff(0x164)]()),_0x2048a1;}[_0x1bdc97(0x13b)](){const _0x5c9241=_0x1bdc97,_0x3dbf70=new _0x48afb9(this[_0x5c9241(0x194)]);return _0x3dbf70[_0x5c9241(0x152)]=_0x1b4760(this[_0x5c9241(0x194)],_0x5c9241(0x185)),_0x3dbf70[_0x5c9241(0x166)]=_0x3abaed,_0x3dbf70[_0x5c9241(0x177)]=!0x0,_0x3dbf70[_0x5c9241(0x135)]({'attributes':{'class':_0x5c9241(0x197)}}),_0x3dbf70[_0x5c9241(0x14d)](_0x5c9241(0x181))['to'](this[_0x5c9241(0x132)],_0x5c9241(0x141),_0x3c0b1f=>!_0x3c0b1f),_0x3dbf70[_0x5c9241(0x14d)](_0x5c9241(0x162))['to'](this[_0x5c9241(0x132)],_0x5c9241(0x120)),_0x3dbf70['on'](_0x5c9241(0x19a),()=>{const _0x65df2d=_0x5c9241;this[_0x65df2d(0x18c)](_0x1b4760(this[_0x65df2d(0x194)],_0x65df2d(0x161)),this[_0x65df2d(0x14f)])[_0x65df2d(0x150)](()=>{const _0x269968=_0x65df2d;this[_0x269968(0x17c)](_0x269968(0x17b),this[_0x269968(0x132)]['id']);});}),_0x3dbf70;}[_0x1bdc97(0x183)](){const _0x1f9bf8=_0x1bdc97,_0x57905b=_0x1dd615(this[_0x1f9bf8(0x194)]),_0x8c5beb=_0x57905b[_0x1f9bf8(0x15f)][_0x1f9bf8(0x12f)],_0x3e1f60=new _0x15275e(this[_0x1f9bf8(0x194)]),_0x5b430e=(_0x2d6ec9,_0x1fc95b=-0x1)=>{const _0x40c641=_0x1f9bf8,_0x4d6705=new _0x24ed26(this[_0x40c641(0x194)]);_0x4d6705[_0x40c641(0x12f)][_0x40c641(0x190)](_0x2d6ec9);const _0x2f4e5d=_0x1fc95b>-0x1?_0x1fc95b:_0x3e1f60[_0x40c641(0x159)][_0x40c641(0x184)];_0x3e1f60[_0x40c641(0x159)][_0x40c641(0x190)](_0x4d6705,_0x2f4e5d),_0x57905b[_0x40c641(0x128)](_0x2d6ec9,_0x40c641(0x13e),()=>{const _0x178d0f=_0x40c641;_0x57905b[_0x178d0f(0x181)]=[...this[_0x178d0f(0x159)]][_0x178d0f(0x12d)](_0x42532e=>_0x42532e[_0x178d0f(0x181)]);}),_0x57905b[_0x40c641(0x128)](_0x2d6ec9,_0x40c641(0x16e),()=>{const _0x3e7f6c=_0x40c641;_0x57905b[_0x3e7f6c(0x192)][_0x3e7f6c(0x162)]=[...this[_0x3e7f6c(0x159)]][_0x3e7f6c(0x12d)](_0x9238b8=>_0x9238b8[_0x3e7f6c(0x162)]);});};_0x57905b[_0x1f9bf8(0x12e)]='sw',_0x57905b[_0x1f9bf8(0x192)][_0x1f9bf8(0x151)]({'label':_0x1b4760(this[_0x1f9bf8(0x194)],_0x1f9bf8(0x18a)),'icon':_0x3e7fac[_0x1f9bf8(0x13c)]}),_0x57905b[_0x1f9bf8(0x181)]=[...this[_0x1f9bf8(0x159)]][_0x1f9bf8(0x12d)](_0x18fb6f=>_0x18fb6f[_0x1f9bf8(0x181)]),_0x57905b[_0x1f9bf8(0x192)][_0x1f9bf8(0x162)]=[...this[_0x1f9bf8(0x159)]][_0x1f9bf8(0x12d)](_0x27d22e=>_0x27d22e[_0x1f9bf8(0x162)]);for(const _0x2b4fcd of this[_0x1f9bf8(0x159)])_0x5b430e(_0x2b4fcd);return _0x8c5beb[_0x1f9bf8(0x190)](_0x3e1f60),_0x57905b[_0x1f9bf8(0x128)](this[_0x1f9bf8(0x159)],_0x1f9bf8(0x190),(_0x14c015,_0x55bcef,_0x568ae1)=>{_0x5b430e(_0x55bcef,_0x568ae1);}),_0x57905b[_0x1f9bf8(0x128)](this[_0x1f9bf8(0x159)],_0x1f9bf8(0x168),(_0x1857cd,_0x373ae5,_0x46ff73)=>{const _0x3a79ba=_0x1f9bf8;_0x3e1f60[_0x3a79ba(0x159)][_0x3a79ba(0x168)](_0x46ff73);}),_0x57905b;}[_0x1bdc97(0x11e)](_0x23acf5,_0xe13ca5){const _0x5f449b=_0x1bdc97,_0x2be564=_0x23acf5&&_0x23acf5[_0x5f449b(0x14f)];_0x2be564&&(this[_0x5f449b(0x128)](_0x2be564,_0x5f449b(0x17d),()=>this[_0x5f449b(0x13a)]=_0xe13ca5),this[_0x5f449b(0x128)](_0x2be564,_0x5f449b(0x16d),()=>this[_0x5f449b(0x13a)]=_0xe13ca5),this[_0x5f449b(0x128)](_0x2be564,_0x5f449b(0x160),()=>this[_0x5f449b(0x13a)]=null),this[_0x5f449b(0x128)](_0x2be564,_0x5f449b(0x12a),()=>this[_0x5f449b(0x13a)]=null));}[_0x1bdc97(0x16c)](){const _0x12d2f2=_0x1bdc97,_0x598162=super[_0x12d2f2(0x16c)]();return _0x598162[_0x12d2f2(0x14d)](_0x12d2f2(0x14e))['to'](this),_0x598162;}[_0x1bdc97(0x179)](){const _0x4886b9=_0x1bdc97;return _0x4886b9(0x196)===this[_0x4886b9(0x132)][_0x4886b9(0x147)][_0x4886b9(0x15b)][_0x4886b9(0x170)]?_0x1b4760(this[_0x4886b9(0x194)],_0x4886b9(0x130)):_0x1b4760(this[_0x4886b9(0x194)],_0x4886b9(0x12b));}[_0x1bdc97(0x176)](){const _0x10d19c=_0x1bdc97;return this[_0x10d19c(0x132)][_0x10d19c(0x16a)]?_0x10d19c(0x196)===this[_0x10d19c(0x132)][_0x10d19c(0x147)][_0x10d19c(0x15b)][_0x10d19c(0x170)]?_0x1b4760(this[_0x10d19c(0x194)],_0x10d19c(0x133),this[_0x10d19c(0x132)][_0x10d19c(0x127)][_0x10d19c(0x186)]):_0x1b4760(this[_0x10d19c(0x194)],_0x10d19c(0x156),this[_0x10d19c(0x132)][_0x10d19c(0x127)][_0x10d19c(0x186)]):null;}[_0x1bdc97(0x11f)](){const _0xcf2034=_0x1bdc97;super[_0xcf2034(0x11f)](),this[_0xcf2034(0x11e)](this[_0xcf2034(0x17e)],_0xcf2034(0x144)),this[_0xcf2034(0x11e)](this[_0xcf2034(0x178)],_0xcf2034(0x168));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5884cb=_0x3851;(function(_0x2cbc78,_0x39ee0a){var _0x2e409e=_0x3851,_0x2967ee=_0x2cbc78();while(!![]){try{var _0x2d2b90=parseInt(_0x2e409e(0x77))/0x1+-parseInt(_0x2e409e(0x78))/0x2+parseInt(_0x2e409e(0x7d))/0x3*(parseInt(_0x2e409e(0x76))/0x4)+parseInt(_0x2e409e(0x7c))/0x5+-parseInt(_0x2e409e(0x81))/0x6*(-parseInt(_0x2e409e(0x7b))/0x7)+-parseInt(_0x2e409e(0x82))/0x8*(-parseInt(_0x2e409e(0x7e))/0x9)+-parseInt(_0x2e409e(0x75))/0xa*(parseInt(_0x2e409e(0x7a))/0xb);if(_0x2d2b90===_0x39ee0a)break;else _0x2967ee['push'](_0x2967ee['shift']());}catch(_0x4de28a){_0x2967ee['push'](_0x2967ee['shift']());}}}(_0x5d7e,0x4158d));import{Plugin as _0x33ac50}from'ckeditor5/src/core.js';import _0x3f14b9 from'./comments/commentsrepository.js';import _0x304285 from'./comments/commentsediting.js';import _0x50abc3 from'./comments/commentsui.js';import _0x20abf0 from'./commentsonly.js';import _0x5d766f from'./annotations/widesidebar.js';function _0x5d7e(){var _0x40ffb9=['387247lmLOSF','981870kBbwVX','requires','5035063wIoQdP','14KtmaOK','1422760REuhoz','155727XjuyPD','9mroHtf','Comments','pluginName','49542iTojmZ','3393584JAQHdb','10tSDpuF','8JBDdGg'];_0x5d7e=function(){return _0x40ffb9;};return _0x5d7e();}import _0x4ab465 from'./annotations/narrowsidebar.js';import _0x13bf03 from'./annotations/inlineannotations.js';function _0x3851(_0xba8ba1,_0x5f17f7){var _0x5d7ec7=_0x5d7e();return _0x3851=function(_0x3851f9,_0x5af44c){_0x3851f9=_0x3851f9-0x75;var _0x2db84b=_0x5d7ec7[_0x3851f9];return _0x2db84b;},_0x3851(_0xba8ba1,_0x5f17f7);}import _0xb5e9a8 from'./comments/commentsarchiveui.js';import _0x14c67a from'./comments/commentsarchive.js';export default class f extends _0x33ac50{static get[_0x5884cb(0x79)](){return[_0x3f14b9,_0x304285,_0x50abc3,_0x14c67a,_0xb5e9a8,_0x20abf0,_0x5d766f,_0x4ab465,_0x13bf03];}static get[_0x5884cb(0x80)](){var _0x3ccd16=_0x5884cb;return _0x3ccd16(0x7f);}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x573a(_0x225bd4,_0x558500){const _0x324f7c=_0x324f();return _0x573a=function(_0x573a07,_0x36c91b){_0x573a07=_0x573a07-0xc0;let _0x56bca7=_0x324f7c[_0x573a07];return _0x56bca7;},_0x573a(_0x225bd4,_0x558500);}const _0x2a3f9c=_0x573a;(function(_0x4ea8c6,_0x580bd7){const _0x3a3af2=_0x573a,_0x1910e3=_0x4ea8c6();while(!![]){try{const _0x455bae=parseInt(_0x3a3af2(0xc0))/0x1+parseInt(_0x3a3af2(0xcb))/0x2*(-parseInt(_0x3a3af2(0xe2))/0x3)+parseInt(_0x3a3af2(0xeb))/0x4*(-parseInt(_0x3a3af2(0xcd))/0x5)+-parseInt(_0x3a3af2(0xc3))/0x6*(-parseInt(_0x3a3af2(0xc8))/0x7)+parseInt(_0x3a3af2(0xe1))/0x8+-parseInt(_0x3a3af2(0xc7))/0x9*(parseInt(_0x3a3af2(0xce))/0xa)+parseInt(_0x3a3af2(0xd2))/0xb*(parseInt(_0x3a3af2(0xd6))/0xc);if(_0x455bae===_0x580bd7)break;else _0x1910e3['push'](_0x1910e3['shift']());}catch(_0x57673d){_0x1910e3['push'](_0x1910e3['shift']());}}}(_0x324f,0x3ad9a));function _0x324f(){const _0x328a86=['DragDrop','5dpPZfY','2265220bFVcjh','editor','requires','commands','2783sWzpuC','stopListening','plugins','commentsOnly','23244kUJbXa','highest','get','listenTo','cut','delete','set','addCommentThread','document','stop','pluginName','513808xXGjEe','2319jgpXvt','forceDisabled','_disableCommentsOnlyMode','afterInit','editing','commentsOnlyMode','clearForceDisabled','config','CommentsOnly','1623576fRsBLg','324237QVkYhD','clipboardInput','_enableCommentsOnlyMode','48UBELYg','change:isEnabled','has','affectsData','9QRdiCj','61859lLouQb','view','isEnabled','196YIprDw'];_0x324f=function(){return _0x328a86;};return _0x324f();}import{Plugin as _0x450313}from'ckeditor5/src/core.js';import _0x24c47b from'./comments/commentsediting.js';export default class e extends _0x450313{static get[_0x2a3f9c(0xe0)](){const _0x47c305=_0x2a3f9c;return _0x47c305(0xea);}static get[_0x2a3f9c(0xd0)](){return[_0x24c47b];}constructor(_0x4be201){const _0x41ef4d=_0x2a3f9c;super(_0x4be201),this[_0x41ef4d(0xdc)](_0x41ef4d(0xca),!0x1),this['on'](_0x41ef4d(0xc4),(_0x33859c,_0xcf7985,_0x5737d1)=>{const _0x3e07eb=_0x41ef4d;_0x5737d1?this[_0x3e07eb(0xc2)]():this[_0x3e07eb(0xe4)]();});}[_0x2a3f9c(0xe5)](){const _0x1f1227=_0x2a3f9c;!this[_0x1f1227(0xca)]&&this[_0x1f1227(0xcf)][_0x1f1227(0xe9)][_0x1f1227(0xd8)](_0x1f1227(0xd5))&&(this[_0x1f1227(0xca)]=!0x0);}[_0x2a3f9c(0xc2)](){const _0xc27cf3=_0x2a3f9c;for(const [_0x2c0c37,_0x5637db]of this[_0xc27cf3(0xcf)][_0xc27cf3(0xd1)])_0x5637db[_0xc27cf3(0xc6)]&&_0xc27cf3(0xdd)!==_0x2c0c37&&_0x5637db[_0xc27cf3(0xe3)](_0xc27cf3(0xe7));this[_0xc27cf3(0xcf)][_0xc27cf3(0xd4)][_0xc27cf3(0xc5)](_0xc27cf3(0xcc))&&this[_0xc27cf3(0xcf)][_0xc27cf3(0xd4)][_0xc27cf3(0xd8)](_0xc27cf3(0xcc))[_0xc27cf3(0xe3)](_0xc27cf3(0xe7));const _0x4433e7=this[_0xc27cf3(0xcf)][_0xc27cf3(0xe6)][_0xc27cf3(0xc9)][_0xc27cf3(0xde)];this[_0xc27cf3(0xd9)](_0x4433e7,_0xc27cf3(0xda),_0x59a4b7=>_0x59a4b7[_0xc27cf3(0xdf)](),{'priority':_0xc27cf3(0xd7)}),this[_0xc27cf3(0xd9)](_0x4433e7,_0xc27cf3(0xc1),_0x1b384f=>_0x1b384f[_0xc27cf3(0xdf)](),{'priority':_0xc27cf3(0xd7)}),this[_0xc27cf3(0xd9)](_0x4433e7,_0xc27cf3(0xdb),_0x3084e4=>_0x3084e4[_0xc27cf3(0xdf)](),{'priority':_0xc27cf3(0xd7)});}[_0x2a3f9c(0xe4)](){const _0x577cb8=_0x2a3f9c;for(const [_0x3ae40f,_0x2769ca]of this[_0x577cb8(0xcf)][_0x577cb8(0xd1)])_0x2769ca[_0x577cb8(0xc6)]&&_0x577cb8(0xdd)!==_0x3ae40f&&_0x2769ca[_0x577cb8(0xe8)](_0x577cb8(0xe7));this[_0x577cb8(0xd3)](this[_0x577cb8(0xcf)][_0x577cb8(0xe6)][_0x577cb8(0xc9)][_0x577cb8(0xde)]);}}
|
package/src/config.d.ts
CHANGED
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
* @module comments/config
|
|
7
7
|
* @publicApi
|
|
8
8
|
*/
|
|
9
|
-
import type { ClipboardMarkerRestrictionsPreset } from 'ckeditor5/src/clipboard.js';
|
|
10
9
|
import type { EditorConfig, PartialBy } from 'ckeditor5/src/core.js';
|
|
11
10
|
import type CommentView from './comments/ui/view/commentview.js';
|
|
12
11
|
import type BaseCommentThreadView from './comments/ui/view/basecommentthreadview.js';
|
|
@@ -25,19 +24,17 @@ import type BaseCommentThreadView from './comments/ui/view/basecommentthreadview
|
|
|
25
24
|
*/
|
|
26
25
|
export interface CommentsConfig {
|
|
27
26
|
/**
|
|
28
|
-
* Specifies whether comment markers should be preserved on copy-paste and cut-paste actions.
|
|
27
|
+
* Specifies whether comment markers should be preserved on copy-paste and cut-and-paste actions.
|
|
29
28
|
*
|
|
30
|
-
*
|
|
29
|
+
* The following values are available:
|
|
31
30
|
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
* If empty array is set, the markers will not be preserved on any of these actions.
|
|
31
|
+
* * `'default'` - the comments will be preserved on cut-paste and drag and drop actions only.
|
|
32
|
+
* * `'always'` - the markers will be preserved on all clipboard actions (cut, copy, drag and drop).
|
|
33
|
+
* * `'never'` - the markers will be ignored by clipboard.
|
|
37
34
|
*
|
|
38
35
|
* Defaults to `'default'`.
|
|
39
36
|
*/
|
|
40
|
-
copyMarkers?:
|
|
37
|
+
copyMarkers?: CommentsClipboardCopyConfig;
|
|
41
38
|
/**
|
|
42
39
|
* The total number of comments shown when the thread view is collapsed.
|
|
43
40
|
*
|
|
@@ -47,7 +44,7 @@ export interface CommentsConfig {
|
|
|
47
44
|
* * Some comments may be hidden (collapsed).
|
|
48
45
|
* * An appropriate number of the most recent comments is displayed.
|
|
49
46
|
*
|
|
50
|
-
* For example,
|
|
47
|
+
* For example, if this parameter is set to 3, when collapsed,
|
|
51
48
|
* the thread view will display the first comment and two most recent comments.
|
|
52
49
|
*
|
|
53
50
|
* Defaults to `2`.
|
|
@@ -189,3 +186,13 @@ export type CommentViewConfig = Required<Pick<CommentsConfig, 'maxCommentCharsWh
|
|
|
189
186
|
*/
|
|
190
187
|
isSystemComment?: boolean;
|
|
191
188
|
};
|
|
189
|
+
/**
|
|
190
|
+
* Specifies whether comment markers should be preserved on copy-paste and cut-paste actions.
|
|
191
|
+
*
|
|
192
|
+
* Following values are available:
|
|
193
|
+
*
|
|
194
|
+
* * `'default'` - the comments will be preserved on cut-paste and drag and drop actions only.
|
|
195
|
+
* * `'always'` - the markers will be preserved on all clipboard actions (cut, copy, drag and drop).
|
|
196
|
+
* * `'never'` - the markers will be ignored by clipboard.
|
|
197
|
+
*/
|
|
198
|
+
export type CommentsClipboardCopyConfig = 'default' | 'always' | 'never';
|
package/src/index.d.ts
CHANGED
|
@@ -19,6 +19,6 @@ export { default as BaseCommentThreadView } from './comments/ui/view/basecomment
|
|
|
19
19
|
export { default as CommentsListView } from './comments/ui/view/commentslistview.js';
|
|
20
20
|
export { default as CommentView } from './comments/ui/view/commentview.js';
|
|
21
21
|
export { default as CommentThreadInputView } from './comments/ui/view/commentthreadinputview.js';
|
|
22
|
-
export type { CommentsConfig, SidebarConfig } from './config.js';
|
|
22
|
+
export type { CommentsConfig, SidebarConfig, CommentsClipboardCopyConfig } from './config.js';
|
|
23
23
|
export type { default as CommentsEditing } from './comments/commentsediting.js';
|
|
24
24
|
import './augmentation.js';
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x10ccff,_0x21f7b8){var _0x469bb6=_0x5273,_0x341f19=_0x10ccff();while(!![]){try{var _0x40fe0f=parseInt(_0x469bb6(0xf7))/0x1+parseInt(_0x469bb6(0xf9))/0x2+parseInt(_0x469bb6(0xf4))/0x3*(parseInt(_0x469bb6(0xf8))/0x4)+parseInt(_0x469bb6(0xf3))/0x5+-parseInt(_0x469bb6(0xf2))/0x6+parseInt(_0x469bb6(0xf6))/0x7+-parseInt(_0x469bb6(0xf5))/0x8*(parseInt(_0x469bb6(0xfa))/0x9);if(_0x40fe0f===_0x21f7b8)break;else _0x341f19['push'](_0x341f19['shift']());}catch(_0x579e27){_0x341f19['push'](_0x341f19['shift']());}}}(_0x2bda,0xde447));function _0x2bda(){var _0x5cd942=['9YsGUCb','74680kHtVHj','11916240uyRuJh','1346224UEoslo','905736YnBlsq','3623838BgLfYe','3897kQmPsm','8979060UNbaZY','4546035jkfMyC'];_0x2bda=function(){return _0x5cd942;};return _0x2bda();}export{default as Comments}from'./comments.js';export{default as CommentsOnly}from'./commentsonly.js';export{default as CommentsUI}from'./comments/commentsui.js';export{default as CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{default as CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{default as Annotations}from'./annotations/annotations.js';export{default as AnnotationsUIs}from'./annotations/annotationsuis.js';export{default as EditorAnnotations}from'./annotations/editorannotations.js';export{default as InlineAnnotations}from'./annotations/inlineannotations.js';export{default as WideSidebar}from'./annotations/widesidebar.js';export{default as NarrowSidebar}from'./annotations/narrowsidebar.js';export{default as AnnotationView}from'./annotations/view/annotationview.js';export{default as BaseCommentView}from'./comments/ui/view/basecommentview.js';export{default as BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{default as CommentsListView}from'./comments/ui/view/commentslistview.js';export{default as CommentView}from'./comments/ui/view/commentview.js';function _0x5273(_0x2af39f,_0x28c99f){var _0x2bda91=_0x2bda();return _0x5273=function(_0x527369,_0x5c5bad){_0x527369=_0x527369-0xf2;var _0x1731c5=_0x2bda91[_0x527369];return _0x1731c5;},_0x5273(_0x2af39f,_0x28c99f);}export{default as CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x853775,_0x3e1ba0,_0x15787f){const t=_0x853775['t'];switch(_0x3e1ba0){case'PENDING_ACTION_COMMENT_THREAD':return t({'string':'Unsaved\x20change\x20in\x20comment\x20thread.','id':'PENDING_ACTION_COMMENT_THREAD'});case'Comment':return t('Comment');case'Reply...':return t('Reply...');case'Reply\x20to\x20reopen\x20discussion...':return t('Reply\x20to\x20reopen\x20discussion...');case'Write\x20a\x20comment...':return t('Write\x20a\x20comment...');case'Comment\x20was\x20made\x20on\x20an\x20element':return t('Comment\x20was\x20made\x20on\x20an\x20element');case'Comment\x20editor':return t('Comment\x20editor');case'Delete\x20comment\x20thread?':return t('Delete\x20comment\x20thread?');case'Delete\x20comment?':return t('Delete\x20comment?');case'Marked\x20as\x20resolved':return t('Marked\x20as\x20resolved');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Cancel':return t('Cancel');case'Edit':return t('Edit');case'Resolve':return t('Resolve');case'Reopen':return t('Reopen');case'Remove':return t('Remove');case'Reply':return t('Reply');case'Save':return t('Save');case'LEAVE_COMMENT_ANNOUNCEMENT':return t({'string':'Leaving\x20a\x20comment.','id':'LEAVE_COMMENT_ANNOUNCEMENT'});case'ENTER_COMMENT_ANNOUNCEMENT':return t({'string':'Entering\x20a\x20comment.','id':'ENTER_COMMENT_ANNOUNCEMENT'});case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x15787f);case'TOO_LONG_COMMENT_ALERT':return t({'string':'Comment\x20content\x20is\x20too\x20long.\x20Your\x20comment\x20has\x20%0\x20characters\x20but\x20the\x20limit\x20is\x20%1\x20characters.','id':'TOO_LONG_COMMENT_ALERT'},_0x15787f);case'EXTERNAL_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20external\x20source.','id':'EXTERNAL_COMMENT'});case'EXTERNAL_IMPORT_WORD_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_COMMENT'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x15787f);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x15787f);case'COMMENTS_ARCHIVE':return t({'string':'Comments\x20archive','id':'COMMENTS_ARCHIVE'});case'EMPTY_COMMENTS_ARCHIVE':return t({'string':'There\x20are\x20no\x20archived\x20comment\x20threads.','id':'EMPTY_COMMENTS_ARCHIVE'});default:return'';}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x8864a3,_0x11c5f1){const _0x2bf70a=_0x18d5,_0x30c4f6=_0x8864a3();while(!![]){try{const _0x19088a=parseInt(_0x2bf70a(0x195))/0x1*(parseInt(_0x2bf70a(0x191))/0x2)+parseInt(_0x2bf70a(0x18d))/0x3+parseInt(_0x2bf70a(0x18e))/0x4+-parseInt(_0x2bf70a(0x190))/0x5+-parseInt(_0x2bf70a(0x192))/0x6+-parseInt(_0x2bf70a(0x19d))/0x7*(-parseInt(_0x2bf70a(0x194))/0x8)+parseInt(_0x2bf70a(0x19e))/0x9*(parseInt(_0x2bf70a(0x198))/0xa);if(_0x19088a===_0x11c5f1)break;else _0x30c4f6['push'](_0x30c4f6['shift']());}catch(_0x51cf2a){_0x30c4f6['push'](_0x30c4f6['shift']());}}}(_0x1a36,0x9e79f));import{throttle as _0x5cfde0}from'lodash-es';function _0x18d5(_0x2e18b9,_0x4d2ce8){const _0x1a36b1=_0x1a36();return _0x18d5=function(_0x18d5dd,_0x11f779){_0x18d5dd=_0x18d5dd-0x18c;let _0x4f6707=_0x1a36b1[_0x18d5dd];return _0x4f6707;},_0x18d5(_0x2e18b9,_0x4d2ce8);}export default function Dt(_0x74feea){const _0x32059f=_0x5cfde0(_0x74feea,0x1e),_0x21a587=new MutationObserver(_0x26dc81=>{const _0x57789c=_0x18d5;for(const _0x3dc884 of _0x26dc81)(_0x57789c(0x19b)==_0x3dc884[_0x57789c(0x193)]&&_0x57789c(0x199)==_0x3dc884[_0x57789c(0x196)]||_0x57789c(0x19a)==_0x3dc884[_0x57789c(0x193)]||_0x57789c(0x18f)==_0x3dc884[_0x57789c(0x193)])&&_0x32059f();});return{'attach'(_0x38c53b){const _0x13fa38=_0x18d5;_0x21a587[_0x13fa38(0x18c)](_0x38c53b,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x2a738c=_0x18d5;_0x21a587[_0x2a738c(0x197)](),_0x32059f[_0x2a738c(0x19c)]();}};}function _0x1a36(){const _0x16c0eb=['8GSmmgg','38894eeSkRQ','attributeName','disconnect','10Rketmc','class','childList','attributes','cancel','5586427gbHyBZ','358191dDHeme','observe','277197OkEuQQ','498232EqHCWY','characterData','1180695zGDwCU','2QiLBQb','1250718DcwiEs','type'];_0x1a36=function(){return _0x16c0eb;};return _0x1a36();}
|