@ckeditor/ckeditor5-comments 41.2.1 → 41.3.0-alpha.2
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
|
+
const _0x21dba9=_0x9891;function _0x9891(_0x36d0fc,_0x1aa21b){const _0x4ebdf1=_0x4ebd();return _0x9891=function(_0x9891b2,_0x477fa9){_0x9891b2=_0x9891b2-0x114;let _0x114827=_0x4ebdf1[_0x9891b2];return _0x114827;},_0x9891(_0x36d0fc,_0x1aa21b);}(function(_0x2a4349,_0x53834e){const _0x684728=_0x9891,_0x22b3d3=_0x2a4349();while(!![]){try{const _0x4763da=parseInt(_0x684728(0x152))/0x1*(parseInt(_0x684728(0x132))/0x2)+-parseInt(_0x684728(0x131))/0x3+-parseInt(_0x684728(0x129))/0x4+-parseInt(_0x684728(0x135))/0x5*(-parseInt(_0x684728(0x12b))/0x6)+-parseInt(_0x684728(0x14e))/0x7*(parseInt(_0x684728(0x138))/0x8)+-parseInt(_0x684728(0x11c))/0x9*(parseInt(_0x684728(0x137))/0xa)+parseInt(_0x684728(0x146))/0xb*(parseInt(_0x684728(0x114))/0xc);if(_0x4763da===_0x53834e)break;else _0x22b3d3['push'](_0x22b3d3['shift']());}catch(_0x3b7c5b){_0x22b3d3['push'](_0x22b3d3['shift']());}}}(_0x4ebd,0x21e2d));import{View as _0x4a8d86,ButtonView as _0x34d9ef}from'ckeditor5/src/ui.js';import{getTranslation as _0x5f1368}from'../../../utils/common-translations.js';function _0x4ebd(){const _0x2ec488=['contextValue','6CywuWo','.ck-context','ck-context--quotes','ck-thread__header','isEnabled','ck-context__value','254793pThmxJ','2CVIjea','ck-context-wrapper','lastIndexOf','959555IHxbZa','.ck-context__value','40EIGHIy','1960024fnBaNb','context','_attachContextActions','_model','bindTemplate','classList','element','hasContext','locale','...','fire','isResolvable','isReadOnly','execute','4497614PgWVeC','span','mouseleave','_trimContextValue','bind','reopenButtonView','querySelector','listenTo','7TEjRSq','Comment\x20was\x20made\x20on\x20an\x20element','icon','ck-context','104162QMEEfC','tooltip','12EpMzjc','overlay','reopenCommentThread','_createReopenButton','render','ck-annotation__actions','substring','value','411552iWjeoY','label','setTemplate','isVisible','scrollWidth','isResolved','length','offsetWidth','Reopen','mouseenter','div','add','remove','213216VGScsQ'];_0x4ebd=function(){return _0x2ec488;};return _0x4ebd();}import _0x36dea4 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Yt extends _0x4a8d86{constructor(_0x2ce484,_0x2ed6bd){const _0x1eebe2=_0x9891;super(_0x2ce484);const _0x1c1dda=this[_0x1eebe2(0x13c)];this[_0x1eebe2(0x13b)]=_0x2ed6bd,this[_0x1eebe2(0x14b)]=this[_0x1eebe2(0x117)](),this[_0x1eebe2(0x14a)](_0x1eebe2(0x13f))['to'](this[_0x1eebe2(0x13b)],_0x1eebe2(0x139),_0x47e68c=>!!_0x47e68c),this[_0x1eebe2(0x14a)](_0x1eebe2(0x12a))['to'](this[_0x1eebe2(0x13b)],_0x1eebe2(0x139),_0x4b1dc2=>_0x4b1dc2&&_0x4b1dc2[_0x1eebe2(0x11b)]?this[_0x1eebe2(0x149)](_0x4b1dc2[_0x1eebe2(0x11b)]):_0x5f1368(this[_0x1eebe2(0x140)],_0x1eebe2(0x14f))),this[_0x1eebe2(0x11e)]({'tag':_0x1eebe2(0x126),'attributes':{'class':[_0x1eebe2(0x12e)]},'children':[{'tag':_0x1eebe2(0x126),'attributes':{'class':[_0x1eebe2(0x133)]},'children':[{'tag':_0x1eebe2(0x126),'attributes':{'class':[_0x1eebe2(0x151),_0x1c1dda['if'](_0x1eebe2(0x13f),_0x1eebe2(0x12d))]},'children':[{'tag':_0x1eebe2(0x147),'attributes':{'class':[_0x1eebe2(0x130)]},'children':[{'text':_0x1c1dda['to'](_0x1eebe2(0x12a))}]}]}]},{'tag':_0x1eebe2(0x126),'attributes':{'class':[_0x1eebe2(0x119)]},'children':[this[_0x1eebe2(0x14b)]]}]});}[_0x21dba9(0x118)](){const _0x30e1ae=_0x21dba9;super[_0x30e1ae(0x118)](),this[_0x30e1ae(0x13a)]();}[_0x21dba9(0x117)](){const _0x4b7a65=_0x21dba9,_0x184085=new _0x34d9ef(this[_0x4b7a65(0x140)]);return _0x184085[_0x4b7a65(0x11d)]=_0x5f1368(this[_0x4b7a65(0x140)],_0x4b7a65(0x124)),_0x184085[_0x4b7a65(0x153)]=_0x5f1368(this[_0x4b7a65(0x140)],_0x4b7a65(0x124)),_0x184085[_0x4b7a65(0x150)]=_0x36dea4,_0x184085[_0x4b7a65(0x14a)](_0x4b7a65(0x12f))['to'](this[_0x4b7a65(0x13b)],_0x4b7a65(0x144),_0x2c708d=>!_0x2c708d),_0x184085[_0x4b7a65(0x14a)](_0x4b7a65(0x11f))['to'](this[_0x4b7a65(0x13b)],_0x4b7a65(0x143),this[_0x4b7a65(0x13b)],_0x4b7a65(0x121),(_0x2eca1f,_0x48170c)=>_0x2eca1f&&_0x48170c),_0x184085['on'](_0x4b7a65(0x145),()=>{const _0x28514d=_0x4b7a65;this[_0x28514d(0x142)](_0x28514d(0x116),this[_0x28514d(0x13b)]['id']);}),_0x184085;}[_0x21dba9(0x149)](_0x1b48bb){const _0x5ebfcd=_0x21dba9;if(_0x1b48bb[_0x5ebfcd(0x122)]<0x96)return _0x1b48bb;const _0x3c64b9=_0x1b48bb[_0x5ebfcd(0x134)]('\x20',0x93);return _0x1b48bb[_0x5ebfcd(0x11a)](0x0,_0x3c64b9>-0x1?_0x3c64b9:0x93)+_0x5ebfcd(0x141);}[_0x21dba9(0x13a)](){const _0x43a5b4=_0x21dba9,_0x4e6c49=this[_0x43a5b4(0x13e)][_0x43a5b4(0x14c)](_0x43a5b4(0x12c)),_0x2f9aaa=_0x4e6c49[_0x43a5b4(0x14c)](_0x43a5b4(0x136));this[_0x43a5b4(0x14d)](_0x4e6c49,_0x43a5b4(0x125),()=>{const _0x4980bd=_0x43a5b4;_0x2f9aaa[_0x4980bd(0x123)]<_0x2f9aaa[_0x4980bd(0x120)]&&_0x4e6c49[_0x4980bd(0x13d)][_0x4980bd(0x127)](_0x4980bd(0x115));}),this[_0x43a5b4(0x14d)](_0x4e6c49,_0x43a5b4(0x148),()=>{const _0x4f2798=_0x43a5b4;_0x4e6c49[_0x4f2798(0x13d)][_0x4f2798(0x128)](_0x4f2798(0x115));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x54f1a5=_0x271a;(function(_0x396fca,_0x3519a1){var _0xd7d75f=_0x271a,_0x5b17aa=_0x396fca();while(!![]){try{var _0x1dc4cd=parseInt(_0xd7d75f(0x201))/0x1*(parseInt(_0xd7d75f(0x212))/0x2)+-parseInt(_0xd7d75f(0x215))/0x3+parseInt(_0xd7d75f(0x1fb))/0x4+-parseInt(_0xd7d75f(0x1fc))/0x5*(-parseInt(_0xd7d75f(0x205))/0x6)+-parseInt(_0xd7d75f(0x1ff))/0x7*(-parseInt(_0xd7d75f(0x20e))/0x8)+parseInt(_0xd7d75f(0x20b))/0x9*(-parseInt(_0xd7d75f(0x1fd))/0xa)+parseInt(_0xd7d75f(0x200))/0xb*(-parseInt(_0xd7d75f(0x213))/0xc);if(_0x1dc4cd===_0x3519a1)break;else _0x5b17aa['push'](_0x5b17aa['shift']());}catch(_0x589c19){_0x5b17aa['push'](_0x5b17aa['shift']());}}}(_0x506e,0x8a6c0));function _0x271a(_0x49eb19,_0x4668fc){var _0x506e61=_0x506e();return _0x271a=function(_0x271a43,_0x47ad69){_0x271a43=_0x271a43-0x1f2;var _0x456d34=_0x506e61[_0x271a43];return _0x456d34;},_0x271a(_0x49eb19,_0x4668fc);}import{View as _0x2b032d}from'ckeditor5/src/ui.js';import _0x42bb7f from'./commentinputview.js';import{UserView as _0x3b9e5f}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x506e(){var _0xa43535=['commentInputView','16227opdvVO','ck-thread__input','editor','3408gGMKKc','ck-comment__input-container','set','change:showInput','2AGGAWr','3623316ULpwPr','div','3236421XpqpmT','ck-thread__user','ck-comment__input-container--active','showInput','value','bind','editorReady','focusTracker','createEditor','isFocused','delegate','2836504pGWTuk','5326815ZzbNqp','5300vLMWhE','bindTemplate','17689RZTKVz','33XRJqIB','656211qdXDob','then','setTemplate','showButtons','6riYaYg','editorDestroyed','userView','destroy','extendTemplate'];_0x506e=function(){return _0xa43535;};return _0x506e();}export default class Ct extends _0x2b032d{constructor(_0x521842,_0x48bb42,_0x38ef9e){var _0x489db0=_0x271a;super(_0x521842),this[_0x489db0(0x20a)]=new _0x42bb7f(_0x521842,_0x38ef9e),this[_0x489db0(0x20a)][_0x489db0(0x1f5)](_0x489db0(0x204))['to'](this[_0x489db0(0x20a)][_0x489db0(0x1f7)],_0x489db0(0x1f9),this[_0x489db0(0x20a)],_0x489db0(0x1f4),(_0x565144,_0x2d4a0c)=>_0x565144||!!_0x2d4a0c),this[_0x489db0(0x210)](_0x489db0(0x1f3),!0x1),this['on'](_0x489db0(0x211),()=>{var _0x2020d5=_0x489db0;this[_0x2020d5(0x1f3)]&&!this[_0x2020d5(0x20a)][_0x2020d5(0x20d)]&&this[_0x2020d5(0x20a)][_0x2020d5(0x1f8)]();}),this[_0x489db0(0x20a)][_0x489db0(0x1fa)](_0x489db0(0x1f6))['to'](this),this[_0x489db0(0x20a)][_0x489db0(0x1fa)](_0x489db0(0x206))['to'](this),this[_0x489db0(0x207)]=new _0x3b9e5f(_0x521842,_0x48bb42),this[_0x489db0(0x207)][_0x489db0(0x209)]({'attributes':{'class':_0x489db0(0x216)}}),this[_0x489db0(0x20a)][_0x489db0(0x209)]({'attributes':{'class':_0x489db0(0x20c)}}),this[_0x489db0(0x203)]({'tag':_0x489db0(0x214),'attributes':{'class':[_0x489db0(0x20f),this[_0x489db0(0x1fe)]['if'](_0x489db0(0x1f3),_0x489db0(0x1f2))]},'children':[this[_0x489db0(0x207)],this[_0x489db0(0x20a)]]});}[_0x54f1a5(0x208)](){var _0x3ba54b=_0x54f1a5;return this[_0x3ba54b(0x20a)][_0x3ba54b(0x208)]()[_0x3ba54b(0x202)](()=>super[_0x3ba54b(0x208)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5040c4=_0x59f9;(function(_0x592cfd,_0x4c4187){const _0x32df36=_0x59f9,_0x565bfb=_0x592cfd();while(!![]){try{const _0x56d526=-parseInt(_0x32df36(0xdd))/0x1+-parseInt(_0x32df36(0xe0))/0x2*(-parseInt(_0x32df36(0x9b))/0x3)+parseInt(_0x32df36(0xda))/0x4*(parseInt(_0x32df36(0xd0))/0x5)+parseInt(_0x32df36(0x97))/0x6*(-parseInt(_0x32df36(0xa5))/0x7)+parseInt(_0x32df36(0xa3))/0x8+-parseInt(_0x32df36(0xdc))/0x9*(-parseInt(_0x32df36(0xab))/0xa)+-parseInt(_0x32df36(0xd7))/0xb*(parseInt(_0x32df36(0xb0))/0xc);if(_0x56d526===_0x4c4187)break;else _0x565bfb['push'](_0x565bfb['shift']());}catch(_0x4df6d9){_0x565bfb['push'](_0x565bfb['shift']());}}}(_0x3dc5,0x23228));function _0x3dc5(){const _0x3915fe=['20QNFlEm','stop','high','isUnlinked','removeButton','26964LlmNgN','label','setTemplate','_cancelAllConfirms','_createResolveButton','get','removeCommentThread','ck-thread--active','isVisible','commentThreadChildren','isActive','ck-reset_all-excluded','ck-thread__container','tooltip','createCollection','isResolved','listenTo','ck-thread--','isSystemComment','div','containerElement','.ck-thread__container','isReadOnly','Resolve','change:isActive','isResolvable','commentsListView','render','length','addMany','unbind','archivedAt','15095WLEXKd','change:archivedAt','actionIndicator','bind','bindTemplate','placeholder','resolveCommentThread','1463WJptcH','isEnabled','fire','332wXhXyk','Delete\x20comment\x20thread?','732870qtZTlS','84692ugfHVl','commentThreadHeaderView','has','341686lIihHa','showConfirm','querySelector','ck-thread','isConfirm','element','execute','remove','_bindFirstCommentView','icon','set','check','locale','60qZuiqa','ck-thread--remove-confirmation','then','commentViews','3UaCaNM','commentThreadInputView','add','cancelConfirm','ck-thread--unlinked','getTemplate','_model','_boundFirstCommentView','518680HJYGNW','resolveButton','85162BfzOjp','change:isReadOnly','actionBar','extendTemplate','ck-comment--resolve','Write\x20a\x20comment...'];_0x3dc5=function(){return _0x3915fe;};return _0x3dc5();}import{ConfirmMixin as _0x3fc3e8}from'ckeditor5-collaboration/src/collaboration-core.js';import{ButtonView as _0x196acc}from'ckeditor5/src/ui.js';function _0x59f9(_0x2056d9,_0x26de46){const _0x3dc513=_0x3dc5();return _0x59f9=function(_0x59f91c,_0xab253c){_0x59f91c=_0x59f91c-0x8d;let _0x20acf2=_0x3dc513[_0x59f91c];return _0x20acf2;},_0x59f9(_0x2056d9,_0x26de46);}import{icons as _0x17bfa4}from'ckeditor5/src/core.js';import _0x1431a3 from'./basecommentthreadview.js';import{getTranslation as _0x1a8c22}from'../../../utils/common-translations.js';export default class pt extends _0x3fc3e8(_0x1431a3){constructor(_0x268cb0,_0x397000,_0x16619d,_0x30c71a){const _0x4123a2=_0x59f9;super(_0x268cb0,_0x397000,_0x16619d,_0x30c71a),this[_0x4123a2(0xb9)]=this[_0x4123a2(0xbe)](),this[_0x4123a2(0xb9)][_0x4123a2(0xcd)]([this[_0x4123a2(0xca)],this[_0x4123a2(0x9c)]]),this[_0x4123a2(0xa1)][_0x4123a2(0xcf)]&&this[_0x4123a2(0xb9)][_0x4123a2(0x9d)](this[_0x4123a2(0xde)],0x0),this[_0x4123a2(0xa1)]['on'](_0x4123a2(0xd1),(_0x50c139,_0x454f60,_0x3ccde2)=>{const _0x32e71e=_0x4123a2;_0x3ccde2?this[_0x32e71e(0xb9)][_0x32e71e(0xdf)](this[_0x32e71e(0xde)])||this[_0x32e71e(0xb9)][_0x32e71e(0x9d)](this[_0x32e71e(0xde)],0x0):this[_0x32e71e(0xb9)][_0x32e71e(0x91)](this[_0x32e71e(0xde)]);}),this[_0x4123a2(0x94)](_0x4123a2(0xd2),null),this[_0x4123a2(0xc4)]=null,this[_0x4123a2(0xa2)]=null,this[_0x4123a2(0x96)]=_0x268cb0,this[_0x4123a2(0xa4)]=this[_0x4123a2(0xb4)](),this[_0x4123a2(0xb2)](this[_0x4123a2(0xa0)]()),this['on'](_0x4123a2(0xc8),(_0x126293,_0x35af12,_0x3bb545)=>{const _0x2cc109=_0x4123a2;_0x3bb545||this[_0x2cc109(0xb3)]();}),this[_0x4123a2(0xc0)](this[_0x4123a2(0xa1)],_0x4123a2(0xa6),(_0x57ad6f,_0x1e8db0,_0x1e506e)=>{const _0x4319dd=_0x4123a2;_0x1e506e&&this[_0x4319dd(0xb3)]();}),this[_0x4123a2(0xcc)]>0x0&&this[_0x4123a2(0x92)](),this[_0x4123a2(0xc0)](this[_0x4123a2(0xca)][_0x4123a2(0x9a)],_0x4123a2(0x9d),()=>{const _0x4921c8=_0x4123a2;this[_0x4921c8(0x92)]();});}[_0x5040c4(0xa0)](){const _0x52bae3=_0x5040c4,_0x30a4fc=this[_0x52bae3(0xd4)];return{'tag':_0x52bae3(0xc3),'attributes':{'class':[_0x52bae3(0x8d),_0x52bae3(0xbb),_0x30a4fc['if'](_0x52bae3(0xba),_0x52bae3(0xb7)),_0x30a4fc['if'](_0x52bae3(0xae),_0x52bae3(0x9f)),_0x30a4fc['if'](_0x52bae3(0x8e),_0x52bae3(0x98)),_0x30a4fc['to'](_0x52bae3(0xd2),_0x7529d5=>_0x7529d5?_0x52bae3(0xc1)+_0x7529d5:'')],'data-thread-id':this[_0x52bae3(0xa1)]['id'],'tabindex':-0x1},'children':[{'tag':_0x52bae3(0xc3),'attributes':{'class':_0x52bae3(0xbc)},'children':this[_0x52bae3(0xb9)]}]};}[_0x5040c4(0xcb)](){const _0x58418b=_0x5040c4;super[_0x58418b(0xcb)](),this[_0x58418b(0xc4)]=this[_0x58418b(0x8f)][_0x58418b(0xe2)](_0x58418b(0xc5));}[_0x5040c4(0xb3)](){const _0x5c39d6=_0x5040c4;this[_0x5c39d6(0x9e)]();for(const _0x476bf0 of this[_0x5c39d6(0xca)][_0x5c39d6(0x9a)])_0x476bf0[_0x5c39d6(0x9e)]();}[_0x5040c4(0x92)](){const _0x1d21d8=_0x5040c4,{locale:_0x1b05ff}=this,_0x593419=this[_0x1d21d8(0xca)][_0x1d21d8(0x9a)][_0x1d21d8(0xb5)](0x0);_0x593419===this[_0x1d21d8(0xa2)]||_0x593419[_0x1d21d8(0xc2)]||(this[_0x1d21d8(0xa2)]=_0x593419,this[_0x1d21d8(0xce)](_0x1d21d8(0xd2)),this[_0x1d21d8(0xd3)](_0x1d21d8(0xd2))['to'](_0x593419,_0x1d21d8(0xd2),_0x284821=>_0x1d21d8(0x91)===_0x284821?_0x1d21d8(0x91):null),_0x593419[_0x1d21d8(0xd5)]=_0x1a8c22(_0x1b05ff,_0x1d21d8(0xaa)),_0x593419[_0x1d21d8(0xaf)]['on'](_0x1d21d8(0x90),_0x300bf7=>{const _0x40df17=_0x1d21d8;_0x300bf7[_0x40df17(0xac)](),this[_0x40df17(0xe1)](_0x1a8c22(_0x1b05ff,_0x40df17(0xdb)),this[_0x40df17(0xc4)])[_0x40df17(0x99)](()=>{const _0x148581=_0x40df17;this[_0x148581(0xd9)](_0x148581(0xb6));});},{'priority':_0x1d21d8(0xad)}),_0x593419[_0x1d21d8(0xa7)][_0x1d21d8(0x9d)](this[_0x1d21d8(0xa4)],0x0));}[_0x5040c4(0xb4)](){const _0x63b17a=_0x5040c4,_0x5f4661=new _0x196acc(this[_0x63b17a(0x96)]);return _0x5f4661[_0x63b17a(0xb1)]=_0x1a8c22(this[_0x63b17a(0x96)],_0x63b17a(0xc7)),_0x5f4661[_0x63b17a(0xbd)]=_0x1a8c22(this[_0x63b17a(0x96)],_0x63b17a(0xc7)),_0x5f4661[_0x63b17a(0x93)]=_0x17bfa4[_0x63b17a(0x95)],_0x5f4661[_0x63b17a(0xa8)]({'attributes':{'class':_0x63b17a(0xa9)}}),_0x5f4661[_0x63b17a(0xd3)](_0x63b17a(0xd8))['to'](this[_0x63b17a(0xa1)],_0x63b17a(0xc6),_0x314e69=>!_0x314e69),_0x5f4661[_0x63b17a(0xd3)](_0x63b17a(0xb8))['to'](this[_0x63b17a(0xa1)],_0x63b17a(0xc9),this[_0x63b17a(0xa1)],_0x63b17a(0xbf),(_0x4a3d0d,_0xfa1852)=>_0x4a3d0d&&!_0xfa1852),_0x5f4661['on'](_0x63b17a(0x90),()=>{const _0x3683ea=_0x63b17a;this[_0x3683ea(0xd9)](_0x3683ea(0xd6),this[_0x3683ea(0xa1)]['id']);}),_0x5f4661;}}
|
|
@@ -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 _0x1b461d=_0x4a67;(function(_0x2b74c5,_0x1f7aca){const _0x98ceb4=_0x4a67,_0x17837b=_0x2b74c5();while(!![]){try{const _0x54f980=-parseInt(_0x98ceb4(0x21e))/0x1+parseInt(_0x98ceb4(0x201))/0x2*(parseInt(_0x98ceb4(0x1ef))/0x3)+parseInt(_0x98ceb4(0x1dc))/0x4+parseInt(_0x98ceb4(0x1cb))/0x5+parseInt(_0x98ceb4(0x1be))/0x6*(-parseInt(_0x98ceb4(0x1f6))/0x7)+parseInt(_0x98ceb4(0x1de))/0x8+-parseInt(_0x98ceb4(0x229))/0x9;if(_0x54f980===_0x1f7aca)break;else _0x17837b['push'](_0x17837b['shift']());}catch(_0x19923e){_0x17837b['push'](_0x17837b['shift']());}}}(_0x35dd,0x706ac));import{ButtonView as _0x555659,createDropdown as _0x31614a,ListView as _0x551d8d,ListItemView as _0x1a308d}from'ckeditor5/src/ui.js';import{icons as _0x14d5c7}from'ckeditor5/src/core.js';function _0x35dd(){const _0x15962b=['isExternal','_createCommentInputView','change:isEnabled','placeholder','Reply...','execute','getExternalCommentNote','length','ck-annotation__actions','ck-annotation__info','focus','ck-annotation__info-name','locale','825522WCEifi','pencil','createCollection','EXTERNAL_COMMENT','ck-comment--info','listenTo','isEditMode','render','actionBar','bindTemplate','actionIndicator','ck-annotation','Show\x20more\x20items','65615PErKod','remove','ck-comment','ck-comment__wrapper','source','change:isVisible','_model','div','EXTERNAL_IMPORT_WORD_AVATAR','isVisible','threeVerticalDots','attributes','set','time','importWord','userView','ck-comment__user','3079168hHHAxJ','isRemovable','248848LmUNIU','ck-comment__actions','_config','addMany','@external','removeButton','some','items','showConfirm','Remove','_attachActions','ck-comment--remove-confirmation','ck-comment__info-time','element','authoredAt','then','edit','52563dmMDMR','getTemplate','bind','ck-comment__info','ck-annotation__user','fire','ck-annotation__content-wrapper','21yhOoLd','ck-comment__actions--hidden','Edit','resolvedAt','ck-comment--','dropdown','_createDropdown','isReadOnly','blur','getUserViewNotificationText','ck-annotation__actions--hidden','62kIBlqa','buttonView','children','ck-comment__external','_createRemoveButton','extendTemplate','_createEditButton','formatDateTime','ck-annotation__info-time','ck-annotation__main','isEditable','name','ck-comment--edit','switchToEditMode','author','ck-comment__main','isSystemComment','panelView','ck-comment--remove','label','panelPosition','withText','cancelConfirm','isConfirm','isEnabled','change:isRemovable','EXTERNAL_AVATAR','visibleView','span','240698LFXODr','mouseleave','ck-comment__info-name','add','Delete\x20comment?','removeComment','editButton','EXTERNAL_IMPORT_WORD_COMMENT','creator','setTemplate','mouseenter','2189277wcuiDU','push','icon'];_0x35dd=function(){return _0x15962b;};return _0x35dd();}function _0x4a67(_0x5ee225,_0x3b42ae){const _0x35dd7a=_0x35dd();return _0x4a67=function(_0x4a67e4,_0x3992ab){_0x4a67e4=_0x4a67e4-0x1b5;let _0x3437cd=_0x35dd7a[_0x4a67e4];return _0x3437cd;},_0x4a67(_0x5ee225,_0x3b42ae);}import{UserView as _0x23cec9,ConfirmMixin as _0x5b2c5f}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x41f3e3 from'./basecommentview.js';import _0xb9e4ba from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x36e8d9}from'../../../utils/common-translations.js';export default class wt extends _0x5b2c5f(_0x41f3e3){constructor(_0x2e6a4d,_0x500004,_0x3b1170){const _0x50cf8b=_0x4a67;super(_0x2e6a4d,_0x500004,_0x3b1170),this[_0x50cf8b(0x1d7)](_0x50cf8b(0x1c8),null),this[_0x50cf8b(0x1d7)](_0x50cf8b(0x22f),_0x36e8d9(_0x2e6a4d,_0x50cf8b(0x1b5))),this[_0x50cf8b(0x1f1)](_0x50cf8b(0x1ec))['to'](_0x500004),this[_0x50cf8b(0x1f1)](_0x50cf8b(0x1f9))['to'](_0x500004),this[_0x50cf8b(0x1c6)]=this[_0x50cf8b(0x1c0)](),this[_0x50cf8b(0x211)]||(this[_0x50cf8b(0x224)]=this[_0x50cf8b(0x207)](),this[_0x50cf8b(0x1e3)]=this[_0x50cf8b(0x205)](),this[_0x50cf8b(0x1e5)]=this[_0x50cf8b(0x1c0)](),this[_0x50cf8b(0x1e5)][_0x50cf8b(0x1e1)]([this[_0x50cf8b(0x224)],this[_0x50cf8b(0x1e3)]]),this[_0x50cf8b(0x1fb)]=this[_0x50cf8b(0x1fc)](),this[_0x50cf8b(0x1c6)][_0x50cf8b(0x221)](this[_0x50cf8b(0x1fb)])),this[_0x50cf8b(0x1da)]=new _0x23cec9(_0x2e6a4d,_0x500004[_0x50cf8b(0x20f)],this[_0x50cf8b(0x1ff)]()),this[_0x50cf8b(0x1da)][_0x50cf8b(0x206)]({'attributes':{'class':[_0x50cf8b(0x1db),_0x50cf8b(0x1f3)]}}),this[_0x50cf8b(0x1c3)](_0x500004,_0x50cf8b(0x21a),()=>this[_0x50cf8b(0x217)]()),this[_0x50cf8b(0x227)](this[_0x50cf8b(0x1f0)]());}[_0x1b461d(0x1f0)](){const _0x122955=_0x1b461d,_0x49f077=this[_0x122955(0x1c7)],_0x3ae0e3=[{'tag':_0x122955(0x1d2),'attributes':{'class':[_0x122955(0x1f2),_0x122955(0x1ba)]},'children':[{'tag':_0x122955(0x21d),'children':[{'text':this[_0x122955(0x1da)][_0x122955(0x20c)]}],'attributes':{'class':[_0x122955(0x220),_0x122955(0x1bc)]}},{'tag':_0x122955(0x1d8),'attributes':{'datetime':_0x49f077['to'](_0x122955(0x1ec)),'class':[_0x122955(0x1ea),_0x122955(0x209)]},'children':[{'text':_0x49f077['to'](_0x122955(0x1ec),_0x273881=>this[_0x122955(0x1e0)][_0x122955(0x208)](_0x273881))}]}]},{'tag':_0x122955(0x1d2),'attributes':{'class':[_0x122955(0x1df),_0x122955(0x1b9),_0x49f077['if'](_0x122955(0x1c4),_0x122955(0x1f7)),_0x49f077['if'](_0x122955(0x1c4),_0x122955(0x200))]},'children':this[_0x122955(0x1c6)]},{'tag':_0x122955(0x1d2),'attributes':{'class':[_0x122955(0x1f5)]},'children':this[_0x122955(0x21c)]}];return this[_0x122955(0x1d1)][_0x122955(0x22c)]&&_0x3ae0e3[_0x122955(0x22a)]({'tag':_0x122955(0x1d2),'attributes':{'class':[_0x122955(0x204)]},'children':[{'text':this[_0x122955(0x1b7)]()}]}),{'tag':'li','attributes':{'class':[_0x122955(0x1ce),_0x49f077['if'](_0x122955(0x218),_0x122955(0x1e9))],'tabindex':-0x1},'children':[{'tag':_0x122955(0x1d2),'attributes':{'class':[_0x122955(0x1cd),_0x122955(0x1c9),_0x49f077['if'](_0x122955(0x1c4),_0x122955(0x20d)),_0x49f077['if'](_0x122955(0x211),_0x122955(0x1c2)),_0x49f077['to'](_0x122955(0x1c8),_0x51421b=>_0x51421b?_0x122955(0x1fa)+_0x51421b:'')],'data-author-id':this[_0x122955(0x1d1)][_0x122955(0x20f)]['id'],'data-comment-id':this[_0x122955(0x1d1)]['id']},'children':[this[_0x122955(0x1da)],{'tag':_0x122955(0x1d2),'attributes':{'class':[_0x122955(0x210),_0x122955(0x20a)]},'children':_0x3ae0e3}]}]};}[_0x1b461d(0x207)](){const _0x506840=_0x1b461d,_0x16e950=new _0x555659(this[_0x506840(0x1bd)]);return _0x16e950[_0x506840(0x214)]=_0x36e8d9(this[_0x506840(0x1bd)],_0x506840(0x1f8)),_0x16e950[_0x506840(0x22b)]=_0x14d5c7[_0x506840(0x1bf)],_0x16e950[_0x506840(0x216)]=!0x0,_0x16e950[_0x506840(0x206)]({'attributes':{'class':_0x506840(0x20d)}}),_0x16e950[_0x506840(0x1f1)](_0x506840(0x219))['to'](this[_0x506840(0x1d1)],_0x506840(0x1fd),_0x16b311=>!_0x16b311),_0x16e950[_0x506840(0x1f1)](_0x506840(0x1d4))['to'](this[_0x506840(0x1d1)],_0x506840(0x20b)),_0x16e950['on'](_0x506840(0x1b6),()=>this[_0x506840(0x20e)]()),_0x16e950;}[_0x1b461d(0x205)](){const _0x5a4409=_0x1b461d,_0x1ad245=new _0x555659(this[_0x5a4409(0x1bd)]);return _0x1ad245[_0x5a4409(0x214)]=_0x36e8d9(this[_0x5a4409(0x1bd)],_0x5a4409(0x1e7)),_0x1ad245[_0x5a4409(0x22b)]=_0xb9e4ba,_0x1ad245[_0x5a4409(0x216)]=!0x0,_0x1ad245[_0x5a4409(0x206)]({'attributes':{'class':_0x5a4409(0x213)}}),_0x1ad245[_0x5a4409(0x1f1)](_0x5a4409(0x219))['to'](this[_0x5a4409(0x1d1)],_0x5a4409(0x1fd),_0x2c1435=>!_0x2c1435),_0x1ad245[_0x5a4409(0x1f1)](_0x5a4409(0x1d4))['to'](this[_0x5a4409(0x1d1)],_0x5a4409(0x1dd)),_0x1ad245['on'](_0x5a4409(0x1b6),()=>{const _0x12bb40=_0x5a4409;this[_0x12bb40(0x1e6)](_0x36e8d9(this[_0x12bb40(0x1bd)],_0x12bb40(0x222)),this[_0x12bb40(0x1eb)])[_0x12bb40(0x1ed)](()=>{const _0x4a2cf=_0x12bb40;this[_0x4a2cf(0x1f4)](_0x4a2cf(0x223),this[_0x4a2cf(0x1d1)]['id']);});}),_0x1ad245;}[_0x1b461d(0x1fc)](){const _0x5acaa3=_0x1b461d,_0x40de34=_0x31614a(this[_0x5acaa3(0x1bd)]),_0x1297dc=_0x40de34[_0x5acaa3(0x212)][_0x5acaa3(0x203)],_0x3116bd=new _0x551d8d(this[_0x5acaa3(0x1bd)]),_0xe53bc5=(_0x299272,_0x100d3d=-0x1)=>{const _0x169792=_0x5acaa3,_0x5c9081=new _0x1a308d(this[_0x169792(0x1bd)]);_0x5c9081[_0x169792(0x203)][_0x169792(0x221)](_0x299272);const _0x5a6bf7=_0x100d3d>-0x1?_0x100d3d:_0x3116bd[_0x169792(0x1e5)][_0x169792(0x1b8)];_0x3116bd[_0x169792(0x1e5)][_0x169792(0x221)](_0x5c9081,_0x5a6bf7),_0x40de34[_0x169792(0x1c3)](_0x299272,_0x169792(0x22e),()=>{const _0x32439b=_0x169792;_0x40de34[_0x32439b(0x219)]=[...this[_0x32439b(0x1e5)]][_0x32439b(0x1e4)](_0x133adf=>_0x133adf[_0x32439b(0x219)]);}),_0x40de34[_0x169792(0x1c3)](_0x299272,_0x169792(0x1d0),()=>{const _0x263be9=_0x169792;_0x40de34[_0x263be9(0x202)][_0x263be9(0x1d4)]=[...this[_0x263be9(0x1e5)]][_0x263be9(0x1e4)](_0x37222f=>_0x37222f[_0x263be9(0x1d4)]);});};_0x40de34[_0x5acaa3(0x215)]='sw',_0x40de34[_0x5acaa3(0x202)][_0x5acaa3(0x1d7)]({'label':_0x36e8d9(this[_0x5acaa3(0x1bd)],_0x5acaa3(0x1ca)),'icon':_0x14d5c7[_0x5acaa3(0x1d5)]}),_0x40de34[_0x5acaa3(0x219)]=[...this[_0x5acaa3(0x1e5)]][_0x5acaa3(0x1e4)](_0x4ee413=>_0x4ee413[_0x5acaa3(0x219)]),_0x40de34[_0x5acaa3(0x202)][_0x5acaa3(0x1d4)]=[...this[_0x5acaa3(0x1e5)]][_0x5acaa3(0x1e4)](_0x43d4b3=>_0x43d4b3[_0x5acaa3(0x1d4)]);for(const _0x463697 of this[_0x5acaa3(0x1e5)])_0xe53bc5(_0x463697);return _0x1297dc[_0x5acaa3(0x221)](_0x3116bd),_0x40de34[_0x5acaa3(0x1c3)](this[_0x5acaa3(0x1e5)],_0x5acaa3(0x221),(_0x4b70d6,_0x386a13,_0x2a59b2)=>{_0xe53bc5(_0x386a13,_0x2a59b2);}),_0x40de34[_0x5acaa3(0x1c3)](this[_0x5acaa3(0x1e5)],_0x5acaa3(0x1cc),(_0x5d52a6,_0x24294b,_0x2f46c9)=>{const _0x40bbdf=_0x5acaa3;_0x3116bd[_0x40bbdf(0x1e5)][_0x40bbdf(0x1cc)](_0x2f46c9);}),_0x40de34;}[_0x1b461d(0x1e8)](_0x40cf39,_0x15e1bf){const _0x1531ac=_0x1b461d,_0x2a4429=_0x40cf39&&_0x40cf39[_0x1531ac(0x1eb)];_0x2a4429&&(this[_0x1531ac(0x1c3)](_0x2a4429,_0x1531ac(0x228),()=>this[_0x1531ac(0x1c8)]=_0x15e1bf),this[_0x1531ac(0x1c3)](_0x2a4429,_0x1531ac(0x1bb),()=>this[_0x1531ac(0x1c8)]=_0x15e1bf),this[_0x1531ac(0x1c3)](_0x2a4429,_0x1531ac(0x21f),()=>this[_0x1531ac(0x1c8)]=null),this[_0x1531ac(0x1c3)](_0x2a4429,_0x1531ac(0x1fe),()=>this[_0x1531ac(0x1c8)]=null));}[_0x1b461d(0x22d)](){const _0x14ee8f=_0x1b461d,_0x3af3aa=super[_0x14ee8f(0x22d)]();return _0x3af3aa[_0x14ee8f(0x1f1)](_0x14ee8f(0x22f))['to'](this),_0x3af3aa;}[_0x1b461d(0x1b7)](){const _0x1e34c2=_0x1b461d;return _0x1e34c2(0x1d9)===this[_0x1e34c2(0x1d1)][_0x1e34c2(0x1d6)][_0x1e34c2(0x1e2)][_0x1e34c2(0x1cf)]?_0x36e8d9(this[_0x1e34c2(0x1bd)],_0x1e34c2(0x225)):_0x36e8d9(this[_0x1e34c2(0x1bd)],_0x1e34c2(0x1c1));}[_0x1b461d(0x1ff)](){const _0x1b57ee=_0x1b461d;return this[_0x1b57ee(0x1d1)][_0x1b57ee(0x22c)]?_0x1b57ee(0x1d9)===this[_0x1b57ee(0x1d1)][_0x1b57ee(0x1d6)][_0x1b57ee(0x1e2)][_0x1b57ee(0x1cf)]?_0x36e8d9(this[_0x1b57ee(0x1bd)],_0x1b57ee(0x1d3),this[_0x1b57ee(0x1d1)][_0x1b57ee(0x226)][_0x1b57ee(0x20c)]):_0x36e8d9(this[_0x1b57ee(0x1bd)],_0x1b57ee(0x21b),this[_0x1b57ee(0x1d1)][_0x1b57ee(0x226)][_0x1b57ee(0x20c)]):null;}[_0x1b461d(0x1c5)](){const _0x2c1e74=_0x1b461d;super[_0x2c1e74(0x1c5)](),this[_0x2c1e74(0x1e8)](this[_0x2c1e74(0x224)],_0x2c1e74(0x1ee)),this[_0x2c1e74(0x1e8)](this[_0x2c1e74(0x1e3)],_0x2c1e74(0x1cc));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5c55c0=_0x5bf2;(function(_0x4e61ea,_0x406328){var _0x5857fd=_0x5bf2,_0x4e3b1d=_0x4e61ea();while(!![]){try{var _0x36b02c=parseInt(_0x5857fd(0x176))/0x1*(-parseInt(_0x5857fd(0x175))/0x2)+parseInt(_0x5857fd(0x174))/0x3*(parseInt(_0x5857fd(0x17b))/0x4)+parseInt(_0x5857fd(0x172))/0x5*(parseInt(_0x5857fd(0x17c))/0x6)+parseInt(_0x5857fd(0x171))/0x7+parseInt(_0x5857fd(0x170))/0x8+parseInt(_0x5857fd(0x177))/0x9+parseInt(_0x5857fd(0x173))/0xa*(-parseInt(_0x5857fd(0x17a))/0xb);if(_0x36b02c===_0x406328)break;else _0x4e3b1d['push'](_0x4e3b1d['shift']());}catch(_0x1b62cc){_0x4e3b1d['push'](_0x4e3b1d['shift']());}}}(_0x1b54,0x4c20c));import{Plugin as _0x17d32f}from'ckeditor5/src/core.js';function _0x1b54(){var _0x41baf8=['2203MaXNzW','4139964zACOPj','Comments','pluginName','11rYQwOt','29268DdAWSk','18hAxvuH','requires','3961416rrozuN','3350977nbSEnT','911575tEbjil','13178630HExwsj','99nmciaO','538WqSTva'];_0x1b54=function(){return _0x41baf8;};return _0x1b54();}import _0x2bbf70 from'./comments/commentsrepository.js';import _0x23b275 from'./comments/commentsediting.js';import _0x3ef9b4 from'./comments/commentsui.js';import _0x163567 from'./commentsonly.js';import _0x164223 from'./annotations/widesidebar.js';import _0x1edecb from'./annotations/narrowsidebar.js';function _0x5bf2(_0x7cb18e,_0x57995c){var _0x1b54e9=_0x1b54();return _0x5bf2=function(_0x5bf264,_0x496403){_0x5bf264=_0x5bf264-0x16f;var _0x144c03=_0x1b54e9[_0x5bf264];return _0x144c03;},_0x5bf2(_0x7cb18e,_0x57995c);}import _0x5739ae from'./annotations/inlineannotations.js';import _0x4744d3 from'./comments/commentsarchiveui.js';import _0x5c3371 from'./comments/commentsarchive.js';export default class f extends _0x17d32f{static get[_0x5c55c0(0x16f)](){return[_0x2bbf70,_0x23b275,_0x3ef9b4,_0x5c3371,_0x4744d3,_0x163567,_0x164223,_0x1edecb,_0x5739ae];}static get[_0x5c55c0(0x179)](){var _0x21cca1=_0x5c55c0;return _0x21cca1(0x178);}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0xe504(_0x1d03dc,_0xf47510){const _0x3aa292=_0x3aa2();return _0xe504=function(_0xe50421,_0x16af4b){_0xe50421=_0xe50421-0xd4;let _0x49c29b=_0x3aa292[_0xe50421];return _0x49c29b;},_0xe504(_0x1d03dc,_0xf47510);}function _0x3aa2(){const _0x3e76b8=['11SGaYpf','afterInit','830192WmIFcr','pluginName','commands','document','_enableCommentsOnlyMode','4444788RkMpET','stopListening','addCommentThread','1291695snWMVg','highest','27wpWezf','clipboardInput','32063170gBWEmB','clearForceDisabled','editing','config','get','view','10YAzakn','commentsOnlyMode','7OyYotd','change:isEnabled','plugins','DragDrop','set','has','listenTo','delete','editor','affectsData','CommentsOnly','cut','commentsOnly','1874562kFUFfS','_disableCommentsOnlyMode','requires','4256168dXUzat','stop','forceDisabled','isEnabled','2624604IDYJtH'];_0x3aa2=function(){return _0x3e76b8;};return _0x3aa2();}const _0x3c5a09=_0xe504;(function(_0x266a03,_0x13810b){const _0x5ec65b=_0xe504,_0x42aed0=_0x266a03();while(!![]){try{const _0x2b1f1c=-parseInt(_0x5ec65b(0xe8))/0x1+parseInt(_0x5ec65b(0xe0))/0x2+-parseInt(_0x5ec65b(0xe5))/0x3+parseInt(_0x5ec65b(0xdd))/0x4*(parseInt(_0x5ec65b(0xf2))/0x5)+parseInt(_0x5ec65b(0xd6))/0x6*(parseInt(_0x5ec65b(0xf4))/0x7)+parseInt(_0x5ec65b(0xd9))/0x8*(-parseInt(_0x5ec65b(0xea))/0x9)+-parseInt(_0x5ec65b(0xec))/0xa*(-parseInt(_0x5ec65b(0xde))/0xb);if(_0x2b1f1c===_0x13810b)break;else _0x42aed0['push'](_0x42aed0['shift']());}catch(_0x4b2d57){_0x42aed0['push'](_0x42aed0['shift']());}}}(_0x3aa2,0xd60f4));import{Plugin as _0x325f10}from'ckeditor5/src/core.js';import _0xcb32a6 from'./comments/commentsediting.js';export default class e extends _0x325f10{static get[_0x3c5a09(0xe1)](){const _0x1c5092=_0x3c5a09;return _0x1c5092(0xfe);}static get[_0x3c5a09(0xd8)](){return[_0xcb32a6];}constructor(_0x51c26c){const _0xc9cdbd=_0x3c5a09;super(_0x51c26c),this[_0xc9cdbd(0xf8)](_0xc9cdbd(0xdc),!0x1),this['on'](_0xc9cdbd(0xf5),(_0x2610c6,_0x158859,_0x49a961)=>{const _0x36ed07=_0xc9cdbd;_0x49a961?this[_0x36ed07(0xe4)]():this[_0x36ed07(0xd7)]();});}[_0x3c5a09(0xdf)](){const _0x1fb271=_0x3c5a09;!this[_0x1fb271(0xdc)]&&this[_0x1fb271(0xfc)][_0x1fb271(0xef)][_0x1fb271(0xf0)](_0x1fb271(0xd5))&&(this[_0x1fb271(0xdc)]=!0x0);}[_0x3c5a09(0xe4)](){const _0x38ec1f=_0x3c5a09;for(const [_0x24fbe3,_0x1cec11]of this[_0x38ec1f(0xfc)][_0x38ec1f(0xe2)])_0x1cec11[_0x38ec1f(0xfd)]&&_0x38ec1f(0xe7)!==_0x24fbe3&&_0x1cec11[_0x38ec1f(0xdb)](_0x38ec1f(0xf3));this[_0x38ec1f(0xfc)][_0x38ec1f(0xf6)][_0x38ec1f(0xf9)](_0x38ec1f(0xf7))&&this[_0x38ec1f(0xfc)][_0x38ec1f(0xf6)][_0x38ec1f(0xf0)](_0x38ec1f(0xf7))[_0x38ec1f(0xdb)](_0x38ec1f(0xf3));const _0x199b1b=this[_0x38ec1f(0xfc)][_0x38ec1f(0xee)][_0x38ec1f(0xf1)][_0x38ec1f(0xe3)];this[_0x38ec1f(0xfa)](_0x199b1b,_0x38ec1f(0xd4),_0x1452cd=>_0x1452cd[_0x38ec1f(0xda)](),{'priority':_0x38ec1f(0xe9)}),this[_0x38ec1f(0xfa)](_0x199b1b,_0x38ec1f(0xeb),_0x70d4b5=>_0x70d4b5[_0x38ec1f(0xda)](),{'priority':_0x38ec1f(0xe9)}),this[_0x38ec1f(0xfa)](_0x199b1b,_0x38ec1f(0xfb),_0x55887c=>_0x55887c[_0x38ec1f(0xda)](),{'priority':_0x38ec1f(0xe9)});}[_0x3c5a09(0xd7)](){const _0x3da8eb=_0x3c5a09;for(const [_0x38b8f5,_0x19658f]of this[_0x3da8eb(0xfc)][_0x3da8eb(0xe2)])_0x19658f[_0x3da8eb(0xfd)]&&_0x3da8eb(0xe7)!==_0x38b8f5&&_0x19658f[_0x3da8eb(0xed)](_0x3da8eb(0xf3));this[_0x3da8eb(0xe6)](this[_0x3da8eb(0xfc)][_0x3da8eb(0xee)][_0x3da8eb(0xf1)][_0x3da8eb(0xe3)]);}}
|
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(_0x1d9644,_0x5d27ef){var _0x3f72c2=_0x325f,_0x28ce59=_0x1d9644();while(!![]){try{var _0x4ffa62=parseInt(_0x3f72c2(0x77))/0x1+parseInt(_0x3f72c2(0x79))/0x2*(-parseInt(_0x3f72c2(0x7a))/0x3)+-parseInt(_0x3f72c2(0x78))/0x4+-parseInt(_0x3f72c2(0x76))/0x5+-parseInt(_0x3f72c2(0x7b))/0x6+-parseInt(_0x3f72c2(0x7c))/0x7+parseInt(_0x3f72c2(0x75))/0x8;if(_0x4ffa62===_0x5d27ef)break;else _0x28ce59['push'](_0x28ce59['shift']());}catch(_0x48e32d){_0x28ce59['push'](_0x28ce59['shift']());}}}(_0x5aa6,0xc4e41));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';function _0x5aa6(){var _0x5415fa=['456190efuADL','765936usnaZP','5307152PSfWcg','2AfLNKa','2789988lYYsYS','3158112JcXdzM','4464614ruYVcd','28421640QFNTCq'];_0x5aa6=function(){return _0x5415fa;};return _0x5aa6();}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';function _0x325f(_0x58d59b,_0x50fb9c){var _0x5aa601=_0x5aa6();return _0x325f=function(_0x325f03,_0xbe2bce){_0x325f03=_0x325f03-0x75;var _0x1aa170=_0x5aa601[_0x325f03];return _0x1aa170;},_0x325f(_0x58d59b,_0x50fb9c);}export{default as CommentView}from'./comments/ui/view/commentview.js';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(_0x468e0f,_0x4254ac,_0x5731d3){const t=_0x468e0f['t'];switch(_0x4254ac){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'},_0x5731d3);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'},_0x5731d3);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'},_0x5731d3);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'},_0x5731d3);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(_0x17c0d2,_0x125b06){const _0x269d8a=_0x126c,_0x1010f3=_0x17c0d2();while(!![]){try{const _0x3c7c97=parseInt(_0x269d8a(0xb1))/0x1*(parseInt(_0x269d8a(0xb8))/0x2)+parseInt(_0x269d8a(0xae))/0x3+parseInt(_0x269d8a(0xb6))/0x4*(parseInt(_0x269d8a(0xbb))/0x5)+parseInt(_0x269d8a(0xbf))/0x6*(-parseInt(_0x269d8a(0xb0))/0x7)+parseInt(_0x269d8a(0xbc))/0x8*(parseInt(_0x269d8a(0xad))/0x9)+parseInt(_0x269d8a(0xbe))/0xa*(parseInt(_0x269d8a(0xb2))/0xb)+-parseInt(_0x269d8a(0xb9))/0xc*(parseInt(_0x269d8a(0xb7))/0xd);if(_0x3c7c97===_0x125b06)break;else _0x1010f3['push'](_0x1010f3['shift']());}catch(_0x2d005d){_0x1010f3['push'](_0x1010f3['shift']());}}}(_0x8ccb,0x579d7));function _0x126c(_0x19f689,_0x43e3e3){const _0x8ccb7a=_0x8ccb();return _0x126c=function(_0x126cc7,_0x3ff459){_0x126cc7=_0x126cc7-0xac;let _0x32080f=_0x8ccb7a[_0x126cc7];return _0x32080f;},_0x126c(_0x19f689,_0x43e3e3);}import{throttle as _0x1ab97a}from'lodash-es';function _0x8ccb(){const _0x1281b2=['30MjTvKY','1493808iHorae','cancel','5XEERcN','3576AraHCt','characterData','21090WTbXJN','1051572DyDVjY','type','class','observe','5175lOJnQU','1330455vFEdzd','attributeName','7JpjALg','28279WFyPRV','2431uVaUdB','attributes','childList','disconnect','1250692KnZgke','143DboxaR'];_0x8ccb=function(){return _0x1281b2;};return _0x8ccb();}export default function Dt(_0x22eb5b){const _0x351b05=_0x1ab97a(_0x22eb5b,0x1e),_0xe072a3=new MutationObserver(_0x547a8d=>{const _0x5c7ebd=_0x126c;for(const _0x4d2dbf of _0x547a8d)(_0x5c7ebd(0xb3)==_0x4d2dbf[_0x5c7ebd(0xc0)]&&_0x5c7ebd(0xc1)==_0x4d2dbf[_0x5c7ebd(0xaf)]||_0x5c7ebd(0xb4)==_0x4d2dbf[_0x5c7ebd(0xc0)]||_0x5c7ebd(0xbd)==_0x4d2dbf[_0x5c7ebd(0xc0)])&&_0x351b05();});return{'attach'(_0x5f3a51){const _0x1f516b=_0x126c;_0xe072a3[_0x1f516b(0xac)](_0x5f3a51,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x2096e9=_0x126c;_0xe072a3[_0x2096e9(0xb5)](),_0x351b05[_0x2096e9(0xba)]();}};}
|