@ckeditor/ckeditor5-comments 45.2.1 → 46.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index-editor.css +69 -67
- package/dist/index.css +80 -78
- package/dist/index.js +11 -9
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +19 -19
- package/src/annotations/annotation.d.ts +4 -4
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.d.ts +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.d.ts +4 -4
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.d.ts +4 -4
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.d.ts +4 -4
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.d.ts +5 -5
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.d.ts +5 -5
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.d.ts +14 -13
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.d.ts +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.d.ts +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.d.ts +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -1
- package/src/annotations/view/sidebarview.d.ts +4 -4
- package/src/annotations/view/sidebarview.js +2 -1
- package/src/annotations/widesidebar.d.ts +5 -5
- package/src/annotations/widesidebar.js +1 -1
- package/src/augmentation.d.ts +2 -2
- package/src/comments/addcommentthreadcommand.d.ts +48 -9
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.d.ts +3 -3
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.d.ts +4 -4
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.d.ts +7 -7
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.d.ts +14 -6
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.d.ts +5 -5
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.d.ts +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.d.ts +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.d.ts +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.d.ts +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.d.ts +4 -4
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.d.ts +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.d.ts +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.d.ts +2 -2
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.d.ts +4 -4
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.d.ts +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.d.ts +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.d.ts +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.d.ts +4 -4
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.d.ts +2 -2
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.d.ts +2 -2
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.d.ts +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.d.ts +2 -2
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.d.ts +2 -2
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.d.ts +2 -2
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.d.ts +3 -3
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.d.ts +10 -10
- package/src/comments.js +1 -1
- package/src/commentsonly.d.ts +2 -2
- package/src/commentsonly.js +1 -1
- package/src/config.d.ts +3 -3
- package/src/index.d.ts +29 -25
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.d.ts +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/theme/comment.css +2 -1
- package/theme/commentinput.css +2 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3654(){const _0x5e0a30=['firstChild','reverse','786303IddpKa','ck-comment__input-actions','div','focus','listenTo','extendTemplate','value','bind','127845JMFhkr','focusCycler','_editorConfig','setData','focusFirst','label','Cancel','create','ck-comment__input-wrapper','render','230008DDwcjJ','execute','cancel','focusTracker','disabledSubmit','17356yDNfdI','shift+tab','setTemplate','withText','trim','focusables','getData','Esc','editor','2655152tqYOUt','editorReady','from','focusLast','bindTemplate','submit','337656XmNjgO','element','_setupKeyboardNavigation','high','isEnabled','_createCancelButton','_editorCreationPromise','initialData','document','createEditor','insertBefore','fire','forEach','placeholder','28hAkZwC','editorDestroyed','ck-comment__input-actions--submit','Reply','length','tab','change','717480WbNxhW','Ctrl+Enter','model','TOO_LONG_COMMENT_ALERT','then','_isDestroyed','submitLabel','view','submitButtonView','add','set','destroy','createCollection','_createSubmitButton','stop','showButtons','ck-comment__input-actions--cancel','keystrokes','Reply...','cancelButtonView','added','ck-comment__input-actions--active'];_0x3654=function(){return _0x5e0a30;};return _0x3654();}const _0x1b6209=_0x55c5;function _0x55c5(_0x18bff7,_0xcedde7){const _0x365458=_0x3654();return _0x55c5=function(_0x55c5e6,_0x50ca59){_0x55c5e6=_0x55c5e6-0x1ac;let _0x4735d0=_0x365458[_0x55c5e6];return _0x4735d0;},_0x55c5(_0x18bff7,_0xcedde7);}(function(_0xe1fa01,_0x596b5c){const _0x11398c=_0x55c5,_0x5db9f7=_0xe1fa01();while(!![]){try{const _0x24bab2=parseInt(_0x11398c(0x1b7))/0x1+parseInt(_0x11398c(0x1b2))/0x2+parseInt(_0x11398c(0x1f3))/0x3+-parseInt(_0x11398c(0x1db))/0x4+parseInt(_0x11398c(0x1fb))/0x5+-parseInt(_0x11398c(0x1c6))/0x6*(-parseInt(_0x11398c(0x1d4))/0x7)+-parseInt(_0x11398c(0x1c0))/0x8;if(_0x24bab2===_0x596b5c)break;else _0x5db9f7['push'](_0x5db9f7['shift']());}catch(_0x12b7ef){_0x5db9f7['push'](_0x5db9f7['shift']());}}}(_0x3654,0x20aee));import{View as _0x587ff6,FocusCycler as _0x56f5f9,ButtonView as _0x4b5906}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2d3145,KeystrokeHandler as _0x573c47}from'ckeditor5/src/utils.js';import{CommentEditor as _0x1caa47}from'../commenteditor/commenteditor.js';import{getTranslation as _0x53523d}from'../../../utils/common-translations.js';export class CommentInputView extends _0x587ff6{[_0x1b6209(0x1ec)];[_0x1b6209(0x1b5)];[_0x1b6209(0x1bc)];[_0x1b6209(0x1fc)];[_0x1b6209(0x1e3)];[_0x1b6209(0x1ee)];[_0x1b6209(0x1fd)];constructor(_0x4b3325,_0x6d72b1={}){const _0x508285=_0x1b6209;super(_0x4b3325),this[_0x508285(0x1bf)]=null,this[_0x508285(0x1fd)]=_0x6d72b1,this[_0x508285(0x1e5)](_0x508285(0x1f9),_0x6d72b1[_0x508285(0x1cd)]||''),this[_0x508285(0x1e5)](_0x508285(0x1b6),!0x1),this[_0x508285(0x1e5)](_0x508285(0x1ea),!0x0),this[_0x508285(0x1e5)](_0x508285(0x1d3),_0x53523d(_0x4b3325,_0x508285(0x1ed))),this[_0x508285(0x1e5)](_0x508285(0x1e1),_0x53523d(_0x4b3325,_0x508285(0x1d7))),this[_0x508285(0x1e3)]=this[_0x508285(0x1e8)](),this[_0x508285(0x1ee)]=this[_0x508285(0x1cb)](),this[_0x508285(0x1bc)]=this[_0x508285(0x1e7)]([this[_0x508285(0x1e3)],this[_0x508285(0x1ee)]]),this[_0x508285(0x1ec)]=new _0x573c47(),this[_0x508285(0x1b5)]=new _0x2d3145(),this[_0x508285(0x1fc)]=new _0x56f5f9({'focusables':this[_0x508285(0x1bc)],'focusTracker':this[_0x508285(0x1b5)],'keystrokeHandler':this[_0x508285(0x1ec)],'actions':{'focusPrevious':_0x508285(0x1b8),'focusNext':_0x508285(0x1d9)}}),this[_0x508285(0x1b9)]({'tag':_0x508285(0x1f5),'attributes':{'class':[_0x508285(0x1b0)]},'children':[{'tag':_0x508285(0x1f5),'attributes':{'class':[_0x508285(0x1f4),this[_0x508285(0x1c4)]['if'](_0x508285(0x1ea),_0x508285(0x1f0))]},'children':[this[_0x508285(0x1e3)],this[_0x508285(0x1ee)]]}]}),this[_0x508285(0x1ec)][_0x508285(0x1e5)](_0x508285(0x1be),(_0x4f1b60,_0xef66e7)=>{const _0x274f8f=_0x508285;this[_0x274f8f(0x1ee)][_0x274f8f(0x1d1)](_0x274f8f(0x1b3)),_0xef66e7();}),this[_0x508285(0x1ec)][_0x508285(0x1e5)](_0x508285(0x1dc),(_0x32e9e1,_0x54bcd4)=>{const _0x220481=_0x508285;this[_0x220481(0x1e3)][_0x220481(0x1ca)]&&(this[_0x220481(0x1e3)][_0x220481(0x1d1)](_0x220481(0x1b3)),_0x54bcd4());}),this['on'](_0x508285(0x1c5),(_0x2095e5,_0x20b128)=>{const _0x149536=_0x508285;_0x20b128[_0x149536(0x1d8)]>0xfde8?(alert(_0x53523d(_0x4b3325,_0x149536(0x1de),[_0x20b128[_0x149536(0x1d8)],0xfde8])),_0x2095e5[_0x149536(0x1e9)]()):this[_0x149536(0x1bf)][_0x149536(0x1fe)]('');},{'priority':_0x508285(0x1c9)});}[_0x1b6209(0x1b1)](){const _0x443446=_0x1b6209;super[_0x443446(0x1b1)](),this[_0x443446(0x1c8)]();}[_0x1b6209(0x1cf)](){const _0x16d3e6=_0x1b6209;return this[_0x16d3e6(0x1bf)]||(this[_0x16d3e6(0x1bf)]=new _0x1caa47(this[_0x16d3e6(0x1fd)]),this[_0x16d3e6(0x1cc)]=this[_0x16d3e6(0x1bf)][_0x16d3e6(0x1af)]()[_0x16d3e6(0x1df)](()=>{const _0x34903a=_0x16d3e6;if(this[_0x34903a(0x1e0)])return;const _0x466a13=this[_0x34903a(0x1bf)];this[_0x34903a(0x1c7)][_0x34903a(0x1d0)](_0x466a13['ui'][_0x34903a(0x1c7)],this[_0x34903a(0x1c7)][_0x34903a(0x1f1)]),_0x466a13[_0x34903a(0x1dd)][_0x34903a(0x1ce)]['on'](_0x34903a(0x1da),()=>this[_0x34903a(0x1f9)]=_0x466a13[_0x34903a(0x1bd)]()),_0x466a13[_0x34903a(0x1fa)](_0x34903a(0x1d3))['to'](this),this[_0x34903a(0x1bc)][_0x34903a(0x1e4)](_0x466a13['ui'][_0x34903a(0x1e2)],0x0),this[_0x34903a(0x1d1)](_0x34903a(0x1c1),this[_0x34903a(0x1bf)]);})),this[_0x16d3e6(0x1cc)];}[_0x1b6209(0x1f6)](_0x192441){const _0x13aeb1=_0x1b6209;-0x1===_0x192441?(this[_0x13aeb1(0x1fc)][_0x13aeb1(0x1ac)](),this[_0x13aeb1(0x1fc)][_0x13aeb1(0x1c3)]()):this[_0x13aeb1(0x1fc)][_0x13aeb1(0x1ac)]();}async[_0x1b6209(0x1e6)](){const _0x3e40fb=_0x1b6209;this[_0x3e40fb(0x1e0)]||(this[_0x3e40fb(0x1e0)]=!0x0,this[_0x3e40fb(0x1bf)]&&(await this[_0x3e40fb(0x1cc)],await this[_0x3e40fb(0x1bf)][_0x3e40fb(0x1e6)](),this[_0x3e40fb(0x1d1)](_0x3e40fb(0x1d5),this[_0x3e40fb(0x1bf)])),await super[_0x3e40fb(0x1e6)]());}[_0x1b6209(0x1e8)](){const _0xef68e3=_0x1b6209,{locale:_0x4ff3f9}=this,_0x5a74e8=new _0x4b5906(_0x4ff3f9);return _0x5a74e8[_0xef68e3(0x1f8)]({'attributes':{'class':[_0xef68e3(0x1d6)]}}),_0x5a74e8[_0xef68e3(0x1ba)]=!0x0,_0x5a74e8[_0xef68e3(0x1fa)](_0xef68e3(0x1ad))['to'](this,_0xef68e3(0x1e1)),_0x5a74e8['on'](_0xef68e3(0x1b3),()=>{const _0x689258=_0xef68e3;this[_0x689258(0x1d1)](_0x689258(0x1c5),this[_0x689258(0x1f9)]);}),_0x5a74e8[_0xef68e3(0x1fa)](_0xef68e3(0x1ca))['to'](this,_0xef68e3(0x1f9),this,_0xef68e3(0x1b6),(_0x2dcc31,_0x2e22d8)=>!_0x2e22d8&&!!_0x2dcc31[_0xef68e3(0x1bb)]()),_0x5a74e8;}[_0x1b6209(0x1cb)](){const _0x332542=_0x1b6209,{locale:_0x555317}=this,_0x2bdacf=new _0x4b5906(_0x555317);return _0x2bdacf[_0x332542(0x1f8)]({'attributes':{'class':[_0x332542(0x1eb)]}}),_0x2bdacf[_0x332542(0x1ad)]=_0x53523d(_0x555317,_0x332542(0x1ae)),_0x2bdacf[_0x332542(0x1ba)]=!0x0,_0x2bdacf['on'](_0x332542(0x1b3),()=>{const _0x3989c3=_0x332542;this[_0x3989c3(0x1bf)][_0x3989c3(0x1fe)](''),this[_0x3989c3(0x1d1)](_0x3989c3(0x1b4));}),_0x2bdacf;}[_0x1b6209(0x1c8)](){const _0x1cf998=_0x1b6209;this[_0x1cf998(0x1ec)][_0x1cf998(0x1f7)](this[_0x1cf998(0x1c7)]),this[_0x1cf998(0x1bc)][_0x1cf998(0x1d2)](_0x4f7b02=>{const _0x55dc7b=_0x1cf998;this[_0x55dc7b(0x1b5)][_0x55dc7b(0x1e4)](_0x4f7b02[_0x55dc7b(0x1c7)]);}),this[_0x1cf998(0x1bc)]['on'](_0x1cf998(0x1da),(_0x39df74,_0x145d8d)=>{const _0x48420e=_0x1cf998;for(const _0xa1c7ef of Array[_0x48420e(0x1c2)](_0x145d8d[_0x48420e(0x1ef)])[_0x48420e(0x1f2)]())this[_0x48420e(0x1b5)][_0x48420e(0x1e4)](_0xa1c7ef[_0x48420e(0x1c7)]);});}}
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { View, FocusCycler, type ViewCollection, type FocusableView } from 'ckeditor5/src/ui.js';
|
|
9
9
|
import { FocusTracker, type Locale } from 'ckeditor5/src/utils.js';
|
|
10
|
-
import type AnnotationView from '../../../annotations/view/annotationview.js';
|
|
10
|
+
import { type AnnotationView } from '../../../annotations/view/annotationview.js';
|
|
11
11
|
/**
|
|
12
12
|
* A view representing the content of comments archive.
|
|
13
13
|
*/
|
|
14
|
-
export
|
|
14
|
+
export declare class CommentsArchiveView extends View implements FocusableView {
|
|
15
15
|
/**
|
|
16
16
|
* The flag indicating whether there are items to display in the comments archive.
|
|
17
17
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3125(_0x5e9e39,_0x66b274){const _0x49f07a=_0x49f0();return _0x3125=function(_0x312560,_0x5d6949){_0x312560=_0x312560-0x65;let _0x413278=_0x49f07a[_0x312560];return _0x413278;},_0x3125(_0x5e9e39,_0x66b274);}const _0xe28641=_0x3125;(function(_0x3d186d,_0xea2dec){const _0x31a478=_0x3125,_0x10ac47=_0x3d186d();while(!![]){try{const _0x2c913c=-parseInt(_0x31a478(0x75))/0x1*(-parseInt(_0x31a478(0x78))/0x2)+parseInt(_0x31a478(0x82))/0x3*(parseInt(_0x31a478(0x7a))/0x4)+parseInt(_0x31a478(0x7d))/0x5*(-parseInt(_0x31a478(0x85))/0x6)+-parseInt(_0x31a478(0x8c))/0x7+parseInt(_0x31a478(0x84))/0x8+parseInt(_0x31a478(0x77))/0x9*(-parseInt(_0x31a478(0x8a))/0xa)+parseInt(_0x31a478(0x81))/0xb;if(_0x2c913c===_0xea2dec)break;else _0x10ac47['push'](_0x10ac47['shift']());}catch(_0x33e50a){_0x10ac47['push'](_0x10ac47['shift']());}}}(_0x49f0,0xb1c6e));import{View as _0x4c376e,FocusCycler as _0x350406}from'ckeditor5/src/ui.js';import{FocusTracker as _0x5c342c}from'ckeditor5/src/utils.js';import{getTranslation as _0x1a8bc5}from'../../../utils/common-translations.js';function _0x49f0(){const _0x93ee24=['change','element','arrowup','presentation','1010sHcnYW','div','2769368aueGzQ','_setupKeyboardNavigation','length','COMMENTS_ARCHIVE_LIST_LABEL','listenTo','focusNext','bindTemplate','auto','delegate','_annotationViews','ck-comments-archive__content','ck-hidden','focus','focusCycler','setTemplate','render','remove','destroy','ck-comments-archive__info','isActive','EMPTY_COMMENTS_ARCHIVE','first','set','67ovciMe','ck-comments-archive','91809XZlLRV','15786PQtfvf','focusPrevious','3296JAbrFr','list','focusTracker','580ZxlwjB','focusFirst','isEmpty','add','13307074rxqVZS','1626qLkOUs','arrowdown','1931280nQOLeY','14094cZCssZ'];_0x49f0=function(){return _0x93ee24;};return _0x49f0();}export class CommentsArchiveView extends _0x4c376e{[_0xe28641(0x7c)];[_0xe28641(0x6b)];[_0xe28641(0x67)];constructor(_0x366b57,_0xc877d8){const _0x51942d=_0xe28641;super(_0x366b57),this[_0x51942d(0x74)](_0x51942d(0x7f),!_0xc877d8[_0x51942d(0x8e)]),this[_0x51942d(0x7c)]=new _0x5c342c(),this[_0x51942d(0x67)]=_0xc877d8,this[_0x51942d(0x67)][_0x51942d(0x66)](_0x51942d(0x88),_0x51942d(0x83))['to'](this),this['on'](_0x51942d(0x88),()=>{const _0x429778=_0x51942d;this[_0x429778(0x6b)][_0x429778(0x79)]();}),this['on'](_0x51942d(0x83),()=>{const _0x150bbc=_0x51942d;this[_0x150bbc(0x6b)][_0x150bbc(0x91)]();}),this[_0x51942d(0x6b)]=new _0x350406({'focusables':_0xc877d8,'focusTracker':this[_0x51942d(0x7c)]}),this[_0x51942d(0x90)](_0xc877d8,_0x51942d(0x80),()=>{const _0x4359ab=_0x51942d;this[_0x4359ab(0x7f)]=!0x1;}),this[_0x51942d(0x90)](_0xc877d8,_0x51942d(0x6e),(_0x311d2c,_0x42a3f4)=>{const _0x419e4b=_0x51942d;_0x42a3f4[_0x419e4b(0x71)]&&this[_0x419e4b(0x6a)](),_0xc877d8[_0x419e4b(0x8e)]||(this[_0x419e4b(0x7f)]=!0x0);});const _0x549fec=this[_0x51942d(0x92)];this[_0x51942d(0x6c)]({'tag':_0x51942d(0x8b),'attributes':{'dir':_0x51942d(0x65),'class':['ck',_0x51942d(0x76)],'tabindex':-0x1,'role':_0x51942d(0x7b),'aria-label':_0x1a8bc5(_0x366b57,_0x51942d(0x8f))},'children':[{'tag':_0x51942d(0x8b),'attributes':{'class':[_0x51942d(0x68)],'role':_0x51942d(0x89)},'children':[{'tag':_0x51942d(0x8b),'attributes':{'role':_0x51942d(0x89)},'children':_0xc877d8},{'tag':'p','attributes':{'class':[_0x51942d(0x70),_0x549fec['if'](_0x51942d(0x7f),_0x51942d(0x69),_0x28b7e5=>!_0x28b7e5)]},'children':[{'text':_0x1a8bc5(_0x366b57,_0x51942d(0x72))}]}]}]});}[_0xe28641(0x6d)](){const _0x28bbd6=_0xe28641;super[_0x28bbd6(0x6d)](),this[_0x28bbd6(0x8d)]();}[_0xe28641(0x6f)](){const _0x22a6eb=_0xe28641;super[_0x22a6eb(0x6f)](),this[_0x22a6eb(0x7c)][_0x22a6eb(0x6f)]();}[_0xe28641(0x6a)](){const _0x17ef8d=_0xe28641;this[_0x17ef8d(0x6b)][_0x17ef8d(0x73)]?this[_0x17ef8d(0x6b)][_0x17ef8d(0x7e)]():this[_0x17ef8d(0x87)][_0x17ef8d(0x6a)]();}[_0xe28641(0x8d)](){const _0xca3023=_0xe28641;for(const _0x3b564d of this[_0xca3023(0x67)])this[_0xca3023(0x7c)][_0xca3023(0x80)](_0x3b564d[_0xca3023(0x87)]);this[_0xca3023(0x67)]['on'](_0xca3023(0x86),(_0x49ff7b,{added:_0x332a00,removed:_0x291461})=>{const _0x15363e=_0xca3023;for(const _0x4480d8 of _0x332a00)this[_0x15363e(0x7c)][_0x15363e(0x80)](_0x4480d8[_0x15363e(0x87)]);for(const _0x1c148e of _0x291461)this[_0x15363e(0x7c)][_0x15363e(0x6e)](_0x1c148e[_0x15363e(0x87)]);});}}
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
import { View, FocusCycler, type ViewCollection, type FocusableView } from 'ckeditor5/src/ui.js';
|
|
9
9
|
import { FocusTracker, KeystrokeHandler, type Locale } from 'ckeditor5/src/utils.js';
|
|
10
10
|
import type { CommentThread } from '../../commentsrepository.js';
|
|
11
|
-
import type CommentView from './commentview.js';
|
|
11
|
+
import { type CommentView } from './commentview.js';
|
|
12
12
|
import type { CommentThreadConfig } from '../../../config.js';
|
|
13
13
|
/**
|
|
14
14
|
* A view representing the list of comments. It should be used as a part of the comment thread view.
|
|
15
15
|
*/
|
|
16
|
-
export
|
|
16
|
+
export declare class CommentsListView extends View implements FocusableView {
|
|
17
17
|
locale: Locale;
|
|
18
18
|
/**
|
|
19
19
|
* Informs whether the list contains any comment view that is in the editing mode.
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x5789(_0x57b9ab,_0x3d3be4){const _0x52427c=_0x5242();return _0x5789=function(_0x57899f,_0x53daff){_0x57899f=_0x57899f-0x1dc;let _0x3a2be0=_0x52427c[_0x57899f];return _0x3a2be0;},_0x5789(_0x57b9ab,_0x3d3be4);}const _0x172e76=_0x5789;(function(_0x3cbdab,_0x43e7ed){const _0x38f180=_0x5789,_0x117a36=_0x3cbdab();while(!![]){try{const _0x148ce1=parseInt(_0x38f180(0x214))/0x1+parseInt(_0x38f180(0x210))/0x2+parseInt(_0x38f180(0x1ea))/0x3*(parseInt(_0x38f180(0x1e1))/0x4)+parseInt(_0x38f180(0x1ed))/0x5+-parseInt(_0x38f180(0x23b))/0x6*(parseInt(_0x38f180(0x239))/0x7)+parseInt(_0x38f180(0x1f2))/0x8*(-parseInt(_0x38f180(0x20f))/0x9)+-parseInt(_0x38f180(0x1fc))/0xa*(parseInt(_0x38f180(0x1e0))/0xb);if(_0x148ce1===_0x43e7ed)break;else _0x117a36['push'](_0x117a36['shift']());}catch(_0x3c48e9){_0x117a36['push'](_0x117a36['shift']());}}}(_0x5242,0x20be2));import{View as _0x368527,FocusCycler as _0x1a474c}from'ckeditor5/src/ui.js';import{diff as _0x4688bc,Collection as _0x34d4c2,FocusTracker as _0x59fe33,KeystrokeHandler as _0x508267}from'ckeditor5/src/utils.js';import{getTranslation as _0x127186}from'../../../utils/common-translations.js';function _0x5242(){const _0xf9d70f=['delete','commentViews','weight','get','maxCommentCharsWhenCollapsed','added','_handleInfoComment','removeComment','bind','_findOptimalIndex','editorReady','commentUpdated','refreshVisibleViews','insert','_updateHasDirtyComment','change:isActive','formatDateTime','equal','focusCycler','editorConfig','destroy','_handleNewCommentModel','21nCbDvK','includes','265434XSiKlM','focusLast','authoredAt','Marked\x20as\x20resolved','_setupKeyboardNavigation','_handleRemoveCommentModel','bindTemplate','11xTVdOp','935868yEXomg','reverse','target','focus','ck-thread__comments','count','setTemplate','element','keystrokes','3ZyjfMs','_rearrangeExpand','some','1294100vzUmiR','Thread\x20comments','comments','resolvedCommentView','change:isResolved','2011288IqulNv','_collapsedCommentsView','stopListening','render','arrowup','isActive','createCollection','resolveCommentThread','change:isEditMode','maxThreadTotalWeight','2881760HxWwNc','change:hasDirtyComment','collapse','updateComment','isEditMode','maxCommentsWhenCollapsed','set','ck-hidden','locale','_shouldCollapse','resolved','hasDirtyComment','removed','map','delegate','viewUid','resolvedAt','focusTracker','_config','9bFoQRK','310434vBcSlr','expand','focusFirst','CommentView','158414xFHOMQ','from','_calculatePosition','remove','visibleViews','length','change','listenTo','forEach','add','editorDestroyed','resolvedBy','_rearrangeCollapse','arrowdown','_model'];_0x5242=function(){return _0xf9d70f;};return _0x5242();}import _0x48bd18 from'./collapsedcommentsview.js';export default class te extends _0x368527{[_0x172e76(0x224)];[_0x172e76(0x1f0)];[_0x172e76(0x20d)];[_0x172e76(0x1e9)];[_0x172e76(0x235)];[_0x172e76(0x222)];[_0x172e76(0x20e)];[_0x172e76(0x1f3)];constructor(_0x2a73f9,_0x475b82,_0x11ad66){const _0x13fd00=_0x172e76;super(_0x2a73f9);const _0x239136=this[_0x13fd00(0x1df)];this[_0x13fd00(0x202)](_0x13fd00(0x207),!0x1),this[_0x13fd00(0x202)](_0x13fd00(0x219),_0x475b82[_0x13fd00(0x1ef)][_0x13fd00(0x219)]),this[_0x13fd00(0x202)](_0x13fd00(0x1f7),!0x1),this[_0x13fd00(0x222)]=_0x475b82,this[_0x13fd00(0x20e)]=_0x11ad66,this[_0x13fd00(0x224)]=this[_0x13fd00(0x1f8)](),this[_0x13fd00(0x218)]=this[_0x13fd00(0x1f8)](),this[_0x13fd00(0x1f0)]=null,this[_0x13fd00(0x20d)]=new _0x59fe33(),this[_0x13fd00(0x1e9)]=new _0x508267(),this[_0x13fd00(0x235)]=new _0x1a474c({'focusables':this[_0x13fd00(0x224)],'focusTracker':this[_0x13fd00(0x20d)],'keystrokeHandler':this[_0x13fd00(0x1e9)],'keystrokeHandlerOptions':{'filter':_0x1aad59=>this[_0x13fd00(0x224)][_0x13fd00(0x209)](_0x1310a3=>_0x1310a3[_0x13fd00(0x1e8)])[_0x13fd00(0x23a)](_0x1aad59[_0x13fd00(0x1e3)])},'actions':{'focusPrevious':_0x13fd00(0x1f6),'focusNext':_0x13fd00(0x221)}}),this[_0x13fd00(0x1f3)]=new _0x48bd18(_0x2a73f9),this[_0x13fd00(0x1f3)][_0x13fd00(0x22b)](_0x13fd00(0x1e6))['to'](this,_0x13fd00(0x219),_0x494f62=>_0x494f62-this[_0x13fd00(0x20e)][_0x13fd00(0x201)]);for(const _0x140096 of _0x475b82[_0x13fd00(0x1ef)])this[_0x13fd00(0x238)](_0x140096);this[_0x13fd00(0x229)](),this[_0x13fd00(0x21b)](_0x475b82[_0x13fd00(0x1ef)],_0x13fd00(0x21d),(_0x1a2f30,_0x4f754c)=>{const _0x1b3be8=_0x13fd00,_0xc32cc7=this[_0x1b3be8(0x216)](_0x4f754c);this[_0x1b3be8(0x219)]++,this[_0x1b3be8(0x238)](_0x4f754c,_0xc32cc7),this[_0x1b3be8(0x22f)]();}),this[_0x13fd00(0x21b)](_0x475b82[_0x13fd00(0x1ef)],_0x13fd00(0x217),(_0x19b085,_0x4f8e5c)=>{const _0x6631b1=_0x13fd00;this[_0x6631b1(0x219)]--,this[_0x6631b1(0x1de)](_0x4f8e5c),this[_0x6631b1(0x22f)]();}),this[_0x13fd00(0x21b)](_0x475b82,_0x13fd00(0x22e),()=>this[_0x13fd00(0x22f)]()),this[_0x13fd00(0x21b)](_0x475b82,_0x13fd00(0x1f1),()=>this[_0x13fd00(0x229)]()),this['on'](_0x13fd00(0x232),()=>this[_0x13fd00(0x22f)]()),this['on'](_0x13fd00(0x1fd),()=>this[_0x13fd00(0x22f)]()),this[_0x13fd00(0x1e7)]({'tag':'ul','attributes':{'class':[_0x13fd00(0x1e5),_0x239136['if'](_0x13fd00(0x219),_0x13fd00(0x203),_0x57378b=>!_0x57378b)],'aria-label':_0x127186(_0x2a73f9,_0x13fd00(0x1ee))},'children':this[_0x13fd00(0x218)]});}get[_0x172e76(0x205)](){const _0x20a467=_0x172e76;return this[_0x20a467(0x222)][_0x20a467(0x225)]>this[_0x20a467(0x20e)][_0x20a467(0x1fb)]&&!this[_0x20a467(0x1f7)]&&!this[_0x20a467(0x207)];}[_0x172e76(0x1f5)](){const _0x3c9dc3=_0x172e76;super[_0x3c9dc3(0x1f5)](),this[_0x3c9dc3(0x22f)](),this[_0x3c9dc3(0x1dd)]();}[_0x172e76(0x1e4)](_0x2b3db1){const _0x503e69=_0x172e76;-0x1===_0x2b3db1?this[_0x503e69(0x235)][_0x503e69(0x23c)]():this[_0x503e69(0x235)][_0x503e69(0x212)]();}[_0x172e76(0x237)](){const _0x246ca4=_0x172e76;this[_0x246ca4(0x1f3)][_0x246ca4(0x237)]();for(const _0x53dabc of this[_0x246ca4(0x224)])_0x53dabc[_0x246ca4(0x237)]();super[_0x246ca4(0x237)]();}[_0x172e76(0x22f)](){const _0x429ed6=_0x172e76;this[_0x429ed6(0x205)]?this[_0x429ed6(0x220)]():this[_0x429ed6(0x1eb)]();}[_0x172e76(0x238)](_0x5a2ae5,_0x2936cd){const _0x3260d8=_0x172e76,_0x200219=new this[(_0x3260d8(0x20e))][(_0x3260d8(0x213))](this[_0x3260d8(0x204)],_0x5a2ae5,{'maxCommentCharsWhenCollapsed':this[_0x3260d8(0x20e)][_0x3260d8(0x227)],'formatDateTime':this[_0x3260d8(0x20e)][_0x3260d8(0x233)],'editorConfig':this[_0x3260d8(0x20e)][_0x3260d8(0x236)]});_0x200219[_0x3260d8(0x20b)]=_0x5a2ae5['id'],_0x200219[_0x3260d8(0x20a)](_0x3260d8(0x22a))['to'](this),_0x200219[_0x3260d8(0x20a)](_0x3260d8(0x1ff))['to'](this),_0x200219[_0x3260d8(0x20a)](_0x3260d8(0x1f9))['to'](this),_0x200219[_0x3260d8(0x20a)](_0x3260d8(0x22d))['to'](this),_0x200219[_0x3260d8(0x20a)](_0x3260d8(0x21e))['to'](this),this[_0x3260d8(0x21b)](_0x200219,_0x3260d8(0x1fa),()=>this[_0x3260d8(0x231)]()),this[_0x3260d8(0x224)][_0x3260d8(0x21d)](_0x200219,_0x2936cd);}[_0x172e76(0x216)](_0x14fbee){const _0x24b493=_0x172e76,_0x361576=this[_0x24b493(0x222)][_0x24b493(0x22c)](_0x14fbee);return this[_0x24b493(0x1f0)]?this[_0x24b493(0x1f0)][_0x24b493(0x23d)]>_0x14fbee[_0x24b493(0x23d)]?_0x361576-0x1:_0x361576:_0x361576-0x1;}[_0x172e76(0x229)](){const _0x4f0b32=_0x172e76;if(this[_0x4f0b32(0x222)][_0x4f0b32(0x21f)]&&this[_0x4f0b32(0x222)][_0x4f0b32(0x20c)]){const _0x4b4271={'id':_0x4f0b32(0x206),'author':this[_0x4f0b32(0x222)][_0x4f0b32(0x21f)],'authoredAt':this[_0x4f0b32(0x222)][_0x4f0b32(0x20c)],'content':_0x127186(this[_0x4f0b32(0x204)],_0x4f0b32(0x1dc)),'attributes':{}};this[_0x4f0b32(0x1f0)]=new this[(_0x4f0b32(0x20e))][(_0x4f0b32(0x213))](this[_0x4f0b32(0x204)],_0x4b4271,{'maxCommentCharsWhenCollapsed':this[_0x4f0b32(0x20e)][_0x4f0b32(0x227)],'formatDateTime':this[_0x4f0b32(0x20e)][_0x4f0b32(0x233)],'editorConfig':this[_0x4f0b32(0x20e)][_0x4f0b32(0x236)],'isSystemComment':!0x0}),this[_0x4f0b32(0x224)][_0x4f0b32(0x21d)](this[_0x4f0b32(0x1f0)],this[_0x4f0b32(0x222)][_0x4f0b32(0x22c)](_0x4b4271));}else this[_0x4f0b32(0x1f0)]&&(this[_0x4f0b32(0x224)][_0x4f0b32(0x217)](this[_0x4f0b32(0x1f0)]),this[_0x4f0b32(0x1f0)][_0x4f0b32(0x237)](),this[_0x4f0b32(0x1f0)]=null);this[_0x4f0b32(0x22f)]();}[_0x172e76(0x1de)](_0x5bb68f){const _0x4460d4=_0x172e76,_0x141b3a=this[_0x4460d4(0x224)][_0x4460d4(0x217)](_0x5bb68f['id']);this[_0x4460d4(0x1f4)](_0x141b3a),_0x141b3a[_0x4460d4(0x200)]&&this[_0x4460d4(0x231)](),_0x141b3a[_0x4460d4(0x237)]();}[_0x172e76(0x231)](){const _0x139277=_0x172e76;this[_0x139277(0x207)]=Array[_0x139277(0x215)](this[_0x139277(0x224)])[_0x139277(0x1ec)](_0x3cf0cb=>_0x3cf0cb[_0x139277(0x200)]);}[_0x172e76(0x220)](){const _0x5380db=_0x172e76,_0x31a35f=function(_0xf93ff8){const _0x342303=_0x5789,_0x472bdd=new _0x34d4c2();for(const _0x1def1d of _0xf93ff8)_0x472bdd[_0x342303(0x21d)](_0x1def1d);return _0x472bdd;}(this[_0x5380db(0x224)]),_0x384ab6=this[_0x5380db(0x1f3)][_0x5380db(0x1e6)];for(let _0x3ed1c2=0x1;_0x3ed1c2<=_0x384ab6;_0x3ed1c2++)_0x31a35f[_0x5380db(0x217)](0x1);for(const _0x4b81e9 of _0x31a35f)_0x4b81e9[_0x5380db(0x1fe)]();_0x384ab6>0x0&&_0x31a35f[_0x5380db(0x21d)](this[_0x5380db(0x1f3)],0x1),as(_0x4688bc(Array[_0x5380db(0x215)](this[_0x5380db(0x218)]),Array[_0x5380db(0x215)](_0x31a35f)),this[_0x5380db(0x218)],_0x31a35f);}[_0x172e76(0x1eb)](){const _0x179487=_0x172e76;as(_0x4688bc(Array[_0x179487(0x215)](this[_0x179487(0x218)]),Array[_0x179487(0x215)](this[_0x179487(0x224)])),this[_0x179487(0x218)],this[_0x179487(0x224)]);for(const _0x48768e of this[_0x179487(0x218)])_0x48768e[_0x179487(0x211)]();}[_0x172e76(0x1dd)](){const _0x1b68f3=_0x172e76;this[_0x1b68f3(0x224)][_0x1b68f3(0x21c)](_0xf63609=>{const _0x5a287d=_0x1b68f3;this[_0x5a287d(0x20d)][_0x5a287d(0x21d)](_0xf63609[_0x5a287d(0x1e8)]),this[_0x5a287d(0x1e9)][_0x5a287d(0x21b)](_0xf63609[_0x5a287d(0x1e8)]);}),this[_0x1b68f3(0x224)]['on'](_0x1b68f3(0x21a),(_0x2eecfc,_0x2aee60)=>{const _0x4f9a73=_0x1b68f3;for(const _0x211862 of _0x2aee60[_0x4f9a73(0x208)])this[_0x4f9a73(0x20d)][_0x4f9a73(0x217)](_0x211862[_0x4f9a73(0x1e8)]),this[_0x4f9a73(0x1e9)][_0x4f9a73(0x1f4)](_0x211862[_0x4f9a73(0x1e8)]);for(const _0x5592c3 of Array[_0x4f9a73(0x215)](_0x2aee60[_0x4f9a73(0x228)])[_0x4f9a73(0x1e2)]())this[_0x4f9a73(0x20d)][_0x4f9a73(0x21d)](_0x5592c3[_0x4f9a73(0x1e8)]),this[_0x4f9a73(0x1e9)][_0x4f9a73(0x21b)](_0x5592c3[_0x4f9a73(0x1e8)]);});}}function as(_0x4a076a,_0x592af0,_0x31593a){const _0x4a98c2=_0x172e76;let _0x42ce68=0x0;for(const _0x4015f8 of _0x4a076a)switch(_0x4015f8){case _0x4a98c2(0x230):_0x592af0[_0x4a98c2(0x21d)](_0x31593a[_0x4a98c2(0x226)](_0x42ce68),_0x42ce68),_0x42ce68++;break;case _0x4a98c2(0x223):_0x592af0[_0x4a98c2(0x217)](_0x42ce68);break;case _0x4a98c2(0x234):_0x42ce68++;}}
|
|
23
|
+
const _0x57c6be=_0x474d;function _0x474d(_0x4e71ff,_0x224afa){const _0x173b0b=_0x173b();return _0x474d=function(_0x474d85,_0x2be5e5){_0x474d85=_0x474d85-0x9a;let _0x5adbd0=_0x173b0b[_0x474d85];return _0x5adbd0;},_0x474d(_0x4e71ff,_0x224afa);}(function(_0x37d022,_0x53ec71){const _0x4b905f=_0x474d,_0x49757b=_0x37d022();while(!![]){try{const _0x5b371b=-parseInt(_0x4b905f(0xb7))/0x1+-parseInt(_0x4b905f(0x9c))/0x2+-parseInt(_0x4b905f(0xc6))/0x3+-parseInt(_0x4b905f(0xbf))/0x4*(parseInt(_0x4b905f(0xdf))/0x5)+parseInt(_0x4b905f(0xdb))/0x6*(-parseInt(_0x4b905f(0xce))/0x7)+parseInt(_0x4b905f(0xed))/0x8+parseInt(_0x4b905f(0xe7))/0x9;if(_0x5b371b===_0x53ec71)break;else _0x49757b['push'](_0x49757b['shift']());}catch(_0x5d2345){_0x49757b['push'](_0x49757b['shift']());}}}(_0x173b,0xd44ca));import{View as _0x5178c0,FocusCycler as _0x2be28c}from'ckeditor5/src/ui.js';import{diff as _0x5b4755,Collection as _0x5da799,FocusTracker as _0x4f3b07,KeystrokeHandler as _0x3fe769}from'ckeditor5/src/utils.js';import{getTranslation as _0x10f072}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x3f9da6}from'./collapsedcommentsview.js';export class CommentsListView extends _0x5178c0{[_0x57c6be(0xde)];[_0x57c6be(0xf3)];[_0x57c6be(0xc0)];[_0x57c6be(0xaf)];[_0x57c6be(0xbb)];[_0x57c6be(0xf2)];[_0x57c6be(0xa1)];[_0x57c6be(0xd0)];constructor(_0x547f67,_0x4c8537,_0xd89842){const _0x5c1f44=_0x57c6be;super(_0x547f67);const _0x4acea9=this[_0x5c1f44(0xbc)];this[_0x5c1f44(0xb1)](_0x5c1f44(0xa8),!0x1),this[_0x5c1f44(0xb1)](_0x5c1f44(0xf6),_0x4c8537[_0x5c1f44(0x9d)][_0x5c1f44(0xf6)]),this[_0x5c1f44(0xb1)](_0x5c1f44(0xf7),!0x1),this[_0x5c1f44(0xf2)]=_0x4c8537,this[_0x5c1f44(0xa1)]=_0xd89842,this[_0x5c1f44(0xde)]=this[_0x5c1f44(0xb4)](),this[_0x5c1f44(0xf8)]=this[_0x5c1f44(0xb4)](),this[_0x5c1f44(0xf3)]=null,this[_0x5c1f44(0xc0)]=new _0x4f3b07(),this[_0x5c1f44(0xaf)]=new _0x3fe769(),this[_0x5c1f44(0xbb)]=new _0x2be28c({'focusables':this[_0x5c1f44(0xde)],'focusTracker':this[_0x5c1f44(0xc0)],'keystrokeHandler':this[_0x5c1f44(0xaf)],'keystrokeHandlerOptions':{'filter':_0x5055bb=>this[_0x5c1f44(0xde)][_0x5c1f44(0xc1)](_0x34b0c4=>_0x34b0c4[_0x5c1f44(0xd3)])[_0x5c1f44(0xea)](_0x5055bb[_0x5c1f44(0xdc)])},'actions':{'focusPrevious':_0x5c1f44(0xf1),'focusNext':_0x5c1f44(0x9f)}}),this[_0x5c1f44(0xd0)]=new _0x3f9da6(_0x547f67),this[_0x5c1f44(0xd0)][_0x5c1f44(0xc5)](_0x5c1f44(0xdd))['to'](this,_0x5c1f44(0xf6),_0x380691=>_0x380691-this[_0x5c1f44(0xa1)][_0x5c1f44(0xb0)]);for(const _0x2a0472 of _0x4c8537[_0x5c1f44(0x9d)])this[_0x5c1f44(0xe3)](_0x2a0472);this[_0x5c1f44(0xd8)](),this[_0x5c1f44(0xcb)](_0x4c8537[_0x5c1f44(0x9d)],_0x5c1f44(0xd7),(_0x4f0695,_0x2573f4)=>{const _0x40e304=_0x5c1f44,_0x14f7ed=this[_0x40e304(0xb6)](_0x2573f4);this[_0x40e304(0xf6)]++,this[_0x40e304(0xe3)](_0x2573f4,_0x14f7ed),this[_0x40e304(0xa3)]();}),this[_0x5c1f44(0xcb)](_0x4c8537[_0x5c1f44(0x9d)],_0x5c1f44(0x9b),(_0x44aa25,_0x1710eb)=>{const _0x39d74c=_0x5c1f44;this[_0x39d74c(0xf6)]--,this[_0x39d74c(0xee)](_0x1710eb),this[_0x39d74c(0xa3)]();}),this[_0x5c1f44(0xcb)](_0x4c8537,_0x5c1f44(0xec),()=>this[_0x5c1f44(0xa3)]()),this[_0x5c1f44(0xcb)](_0x4c8537,_0x5c1f44(0xd9),()=>this[_0x5c1f44(0xd8)]()),this['on'](_0x5c1f44(0xa9),()=>this[_0x5c1f44(0xa3)]()),this['on'](_0x5c1f44(0xa0),()=>this[_0x5c1f44(0xa3)]()),this[_0x5c1f44(0xc9)]({'tag':'ul','attributes':{'class':[_0x5c1f44(0xc2),_0x4acea9['if'](_0x5c1f44(0xf6),_0x5c1f44(0xef),_0x5f5361=>!_0x5f5361)],'aria-label':_0x10f072(_0x547f67,_0x5c1f44(0xd2))},'children':this[_0x5c1f44(0xf8)]});}get[_0x57c6be(0xaa)](){const _0x4d4b8a=_0x57c6be;return this[_0x4d4b8a(0xf2)][_0x4d4b8a(0xc7)]>this[_0x4d4b8a(0xa1)][_0x4d4b8a(0xe8)]&&!this[_0x4d4b8a(0xf7)]&&!this[_0x4d4b8a(0xa8)];}[_0x57c6be(0xf0)](){const _0x28e536=_0x57c6be;super[_0x28e536(0xf0)](),this[_0x28e536(0xa3)](),this[_0x28e536(0xca)]();}[_0x57c6be(0xb3)](_0x37013d){const _0x248b45=_0x57c6be;-0x1===_0x37013d?this[_0x248b45(0xbb)][_0x248b45(0xeb)]():this[_0x248b45(0xbb)][_0x248b45(0xf9)]();}[_0x57c6be(0xad)](){const _0x4a6732=_0x57c6be;this[_0x4a6732(0xd0)][_0x4a6732(0xad)]();for(const _0x4f179b of this[_0x4a6732(0xde)])_0x4f179b[_0x4a6732(0xad)]();super[_0x4a6732(0xad)]();}[_0x57c6be(0xa3)](){const _0x19a01c=_0x57c6be;this[_0x19a01c(0xaa)]?this[_0x19a01c(0xae)]():this[_0x19a01c(0xe5)]();}[_0x57c6be(0xe3)](_0x4579be,_0x4c2520){const _0x2b77e2=_0x57c6be,_0x9b650c=new this[(_0x2b77e2(0xa1))][(_0x2b77e2(0xc4))](this[_0x2b77e2(0xcf)],_0x4579be,{'maxCommentCharsWhenCollapsed':this[_0x2b77e2(0xa1)][_0x2b77e2(0xa5)],'formatDateTime':this[_0x2b77e2(0xa1)][_0x2b77e2(0xbe)],'editorConfig':this[_0x2b77e2(0xa1)][_0x2b77e2(0xe1)]});_0x9b650c[_0x2b77e2(0xda)]=_0x4579be['id'],_0x9b650c[_0x2b77e2(0xb8)](_0x2b77e2(0xe4))['to'](this),_0x9b650c[_0x2b77e2(0xb8)](_0x2b77e2(0xd1))['to'](this),_0x9b650c[_0x2b77e2(0xb8)](_0x2b77e2(0xba))['to'](this),_0x9b650c[_0x2b77e2(0xb8)](_0x2b77e2(0xcd))['to'](this),_0x9b650c[_0x2b77e2(0xb8)](_0x2b77e2(0xa7))['to'](this),this[_0x2b77e2(0xcb)](_0x9b650c,_0x2b77e2(0xe6),()=>this[_0x2b77e2(0xe9)]()),this[_0x2b77e2(0xde)][_0x2b77e2(0xd7)](_0x9b650c,_0x4c2520);}[_0x57c6be(0xb6)](_0x31e505){const _0xc31b7d=_0x57c6be,_0x1cd2d9=this[_0xc31b7d(0xf2)][_0xc31b7d(0xa6)](_0x31e505);return this[_0xc31b7d(0xf3)]?this[_0xc31b7d(0xf3)][_0xc31b7d(0xac)]>_0x31e505[_0xc31b7d(0xac)]?_0x1cd2d9-0x1:_0x1cd2d9:_0x1cd2d9-0x1;}[_0x57c6be(0xd8)](){const _0x3e1a03=_0x57c6be;if(this[_0x3e1a03(0xf2)][_0x3e1a03(0xb2)]&&this[_0x3e1a03(0xf2)][_0x3e1a03(0xb9)]){const _0x2c66b2={'id':_0x3e1a03(0xd6),'author':this[_0x3e1a03(0xf2)][_0x3e1a03(0xb2)],'authoredAt':this[_0x3e1a03(0xf2)][_0x3e1a03(0xb9)],'content':_0x10f072(this[_0x3e1a03(0xcf)],_0x3e1a03(0x9a)),'attributes':{}};this[_0x3e1a03(0xf3)]=new this[(_0x3e1a03(0xa1))][(_0x3e1a03(0xc4))](this[_0x3e1a03(0xcf)],_0x2c66b2,{'maxCommentCharsWhenCollapsed':this[_0x3e1a03(0xa1)][_0x3e1a03(0xa5)],'formatDateTime':this[_0x3e1a03(0xa1)][_0x3e1a03(0xbe)],'editorConfig':this[_0x3e1a03(0xa1)][_0x3e1a03(0xe1)],'isSystemComment':!0x0}),this[_0x3e1a03(0xde)][_0x3e1a03(0xd7)](this[_0x3e1a03(0xf3)],this[_0x3e1a03(0xf2)][_0x3e1a03(0xa6)](_0x2c66b2));}else this[_0x3e1a03(0xf3)]&&(this[_0x3e1a03(0xde)][_0x3e1a03(0x9b)](this[_0x3e1a03(0xf3)]),this[_0x3e1a03(0xf3)][_0x3e1a03(0xad)](),this[_0x3e1a03(0xf3)]=null);this[_0x3e1a03(0xa3)]();}[_0x57c6be(0xee)](_0x5ece04){const _0x33963f=_0x57c6be,_0x4c9e68=this[_0x33963f(0xde)][_0x33963f(0x9b)](_0x5ece04['id']);this[_0x33963f(0xb5)](_0x4c9e68),_0x4c9e68[_0x33963f(0xc3)]&&this[_0x33963f(0xe9)](),_0x4c9e68[_0x33963f(0xad)]();}[_0x57c6be(0xe9)](){const _0xcf1645=_0x57c6be;this[_0xcf1645(0xa8)]=Array[_0xcf1645(0xd4)](this[_0xcf1645(0xde)])[_0xcf1645(0x9e)](_0x86c50c=>_0x86c50c[_0xcf1645(0xc3)]);}[_0x57c6be(0xae)](){const _0x25ed35=_0x57c6be,_0x3dd0e3=function(_0x122259){const _0x122dfa=_0x474d,_0x440cea=new _0x5da799();for(const _0x595cc5 of _0x122259)_0x440cea[_0x122dfa(0xd7)](_0x595cc5);return _0x440cea;}(this[_0x25ed35(0xde)]),_0x5dd2ab=this[_0x25ed35(0xd0)][_0x25ed35(0xdd)];for(let _0x50dd9b=0x1;_0x50dd9b<=_0x5dd2ab;_0x50dd9b++)_0x3dd0e3[_0x25ed35(0x9b)](0x1);for(const _0x17d8ac of _0x3dd0e3)_0x17d8ac[_0x25ed35(0xab)]();_0x5dd2ab>0x0&&_0x3dd0e3[_0x25ed35(0xd7)](this[_0x25ed35(0xd0)],0x1),rs(_0x5b4755(Array[_0x25ed35(0xd4)](this[_0x25ed35(0xf8)]),Array[_0x25ed35(0xd4)](_0x3dd0e3)),this[_0x25ed35(0xf8)],_0x3dd0e3);}[_0x57c6be(0xe5)](){const _0x27b924=_0x57c6be;rs(_0x5b4755(Array[_0x27b924(0xd4)](this[_0x27b924(0xf8)]),Array[_0x27b924(0xd4)](this[_0x27b924(0xde)])),this[_0x27b924(0xf8)],this[_0x27b924(0xde)]);for(const _0x43b12f of this[_0x27b924(0xf8)])_0x43b12f[_0x27b924(0xf5)]();}[_0x57c6be(0xca)](){const _0x562d56=_0x57c6be;this[_0x562d56(0xde)][_0x562d56(0xe0)](_0x5e1a11=>{const _0x53771e=_0x562d56;this[_0x53771e(0xc0)][_0x53771e(0xd7)](_0x5e1a11[_0x53771e(0xd3)]),this[_0x53771e(0xaf)][_0x53771e(0xcb)](_0x5e1a11[_0x53771e(0xd3)]);}),this[_0x562d56(0xde)]['on'](_0x562d56(0xe2),(_0x3c3754,_0x4b7aed)=>{const _0x35ff5d=_0x562d56;for(const _0x2a4951 of _0x4b7aed[_0x35ff5d(0xa4)])this[_0x35ff5d(0xc0)][_0x35ff5d(0x9b)](_0x2a4951[_0x35ff5d(0xd3)]),this[_0x35ff5d(0xaf)][_0x35ff5d(0xb5)](_0x2a4951[_0x35ff5d(0xd3)]);for(const _0x25eaa7 of Array[_0x35ff5d(0xd4)](_0x4b7aed[_0x35ff5d(0xa2)])[_0x35ff5d(0xf4)]())this[_0x35ff5d(0xc0)][_0x35ff5d(0xd7)](_0x25eaa7[_0x35ff5d(0xd3)]),this[_0x35ff5d(0xaf)][_0x35ff5d(0xcb)](_0x25eaa7[_0x35ff5d(0xd3)]);});}}function _0x173b(){const _0x43663a=['change:isEditMode','35914599vfeufX','maxThreadTotalWeight','_updateHasDirtyComment','includes','focusLast','commentUpdated','13156984QzFxwx','_handleRemoveCommentModel','ck-hidden','render','arrowup','_model','resolvedCommentView','reverse','expand','length','isActive','visibleViews','focusFirst','Marked\x20as\x20resolved','remove','801770FlgbtS','comments','some','arrowdown','change:hasDirtyComment','_config','added','refreshVisibleViews','removed','maxCommentCharsWhenCollapsed','_findOptimalIndex','editorDestroyed','hasDirtyComment','change:isActive','_shouldCollapse','collapse','authoredAt','destroy','_rearrangeCollapse','keystrokes','maxCommentsWhenCollapsed','set','resolvedBy','focus','createCollection','stopListening','_calculatePosition','1458877WzZKme','delegate','resolvedAt','resolveCommentThread','focusCycler','bindTemplate','get','formatDateTime','4090376WUKKWF','focusTracker','map','ck-thread__comments','isEditMode','CommentView','bind','3547941lADXyo','weight','insert','setTemplate','_setupKeyboardNavigation','listenTo','delete','editorReady','288463YvGMWr','locale','_collapsedCommentsView','updateComment','Thread\x20comments','element','from','equal','resolved','add','_handleInfoComment','change:isResolved','viewUid','102SPDdsg','target','count','commentViews','5GmEyaM','forEach','editorConfig','change','_handleNewCommentModel','removeComment','_rearrangeExpand'];_0x173b=function(){return _0x43663a;};return _0x173b();}function rs(_0x423439,_0x59f4c5,_0x9a398c){const _0x44abf1=_0x57c6be;let _0x4b5744=0x0;for(const _0x5d37a7 of _0x423439)switch(_0x5d37a7){case _0x44abf1(0xc8):_0x59f4c5[_0x44abf1(0xd7)](_0x9a398c[_0x44abf1(0xbd)](_0x4b5744),_0x4b5744),_0x4b5744++;break;case _0x44abf1(0xcc):_0x59f4c5[_0x44abf1(0x9b)](_0x4b5744);break;case _0x44abf1(0xd5):_0x4b5744++;}}
|
|
@@ -8,7 +8,7 @@ import type { Locale } from 'ckeditor5/src/utils.js';
|
|
|
8
8
|
* A view displaying the context of a comment thread. The context is a piece of text from editor content
|
|
9
9
|
* that comment was created on. It gives users a better understanding of what is discussed in the thread.
|
|
10
10
|
*/
|
|
11
|
-
export
|
|
11
|
+
export declare class CommentThreadHeaderContextView extends View implements FocusableView {
|
|
12
12
|
/**
|
|
13
13
|
* The text of the content, it corresponds to some of the content in the editor.
|
|
14
14
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x23fe(_0x43f248,_0x53914f){const _0x209734=_0x2097();return _0x23fe=function(_0x23fe6f,_0x5de1d8){_0x23fe6f=_0x23fe6f-0x1cb;let _0x2d4d77=_0x209734[_0x23fe6f];return _0x2d4d77;},_0x23fe(_0x43f248,_0x53914f);}const _0x4a3335=_0x23fe;function _0x2097(){const _0xe747a7=['focus','set','ck-context__value','setTemplate','THREAD_CONTEXT_LABEL','10627740flcFNE','1928040VHpgWn','246164rUOJdq','bindTemplate','468576EYhKAg','35yxufuc','span','112520wqQSrU','contextValue','element','2739xlVTUY','1160bbsdCz','514544LOtGuL'];_0x2097=function(){return _0xe747a7;};return _0x2097();}(function(_0x17bda9,_0x43dcda){const _0x2b1b79=_0x23fe,_0x4fb7f5=_0x17bda9();while(!![]){try{const _0x1ba713=parseInt(_0x2b1b79(0x1d9))/0x1+-parseInt(_0x2b1b79(0x1d0))/0x2*(-parseInt(_0x2b1b79(0x1cf))/0x3)+parseInt(_0x2b1b79(0x1d8))/0x4+parseInt(_0x2b1b79(0x1cc))/0x5+-parseInt(_0x2b1b79(0x1db))/0x6+parseInt(_0x2b1b79(0x1dc))/0x7*(parseInt(_0x2b1b79(0x1d1))/0x8)+-parseInt(_0x2b1b79(0x1d7))/0x9;if(_0x1ba713===_0x43dcda)break;else _0x4fb7f5['push'](_0x4fb7f5['shift']());}catch(_0x51d153){_0x4fb7f5['push'](_0x4fb7f5['shift']());}}}(_0x2097,0x53b44));import{View as _0x2c5de4}from'ckeditor5/src/ui.js';import{getTranslation as _0x265f5d}from'../../../utils/common-translations.js';export class CommentThreadHeaderContextView extends _0x2c5de4{constructor(_0x3ba6a8){const _0x4ed1b7=_0x23fe;super(_0x3ba6a8);const _0x1b03be=this[_0x4ed1b7(0x1da)];this[_0x4ed1b7(0x1d3)](_0x4ed1b7(0x1cd),''),this[_0x4ed1b7(0x1d5)]({'tag':_0x4ed1b7(0x1cb),'attributes':{'class':['ck',_0x4ed1b7(0x1d4)],'aria-label':_0x1b03be['to'](_0x4ed1b7(0x1cd),_0x229951=>_0x265f5d(_0x3ba6a8,_0x4ed1b7(0x1d6),_0x229951)),'tabindex':-0x1},'children':[{'text':_0x1b03be['to'](_0x4ed1b7(0x1cd))}]});}[_0x4a3335(0x1d2)](){const _0x299829=_0x4a3335;this[_0x299829(0x1ce)][_0x299829(0x1d2)]();}}
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
import { View, ButtonView, FocusCycler, type FocusableView, type ViewCollection } from 'ckeditor5/src/ui.js';
|
|
9
9
|
import { FocusTracker, KeystrokeHandler, type Locale } from 'ckeditor5/src/utils.js';
|
|
10
10
|
import type { CommentThread } from '../../commentsrepository.js';
|
|
11
|
-
import CommentThreadHeaderContextView from './commentthreadheadercontextview.js';
|
|
11
|
+
import { CommentThreadHeaderContextView } from './commentthreadheadercontextview.js';
|
|
12
12
|
export declare const MAX_CONTENT_LENGTH = 150;
|
|
13
13
|
/**
|
|
14
14
|
* A view for the comment thread header.
|
|
15
15
|
*/
|
|
16
|
-
export
|
|
16
|
+
export declare class CommentThreadHeaderView extends View implements FocusableView {
|
|
17
17
|
locale: Locale;
|
|
18
18
|
/**
|
|
19
19
|
* Defines whether the context value exists.
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x342890=_0x46c3;(function(_0x4b260,_0x43a4cf){const _0x59218f=_0x46c3,_0x327e85=_0x4b260();while(!![]){try{const _0x461fae=-parseInt(_0x59218f(0x135))/0x1*(-parseInt(_0x59218f(0x122))/0x2)+parseInt(_0x59218f(0x12f))/0x3*(parseInt(_0x59218f(0x140))/0x4)+-parseInt(_0x59218f(0x154))/0x5+parseInt(_0x59218f(0x14f))/0x6+-parseInt(_0x59218f(0x11a))/0x7+-parseInt(_0x59218f(0x13c))/0x8+parseInt(_0x59218f(0x12a))/0x9;if(_0x461fae===_0x43a4cf)break;else _0x327e85['push'](_0x327e85['shift']());}catch(_0x142cab){_0x327e85['push'](_0x327e85['shift']());}}}(_0x2bd1,0x5d668));import{View as _0x4f49e4,ButtonView as _0x39caa2,FocusCycler as _0x1e1723}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2513fd,KeystrokeHandler as _0x21e4e7}from'ckeditor5/src/utils.js';function _0x46c3(_0xcdae91,_0x219586){const _0x2bd1ab=_0x2bd1();return _0x46c3=function(_0x46c3a4,_0x35e294){_0x46c3a4=_0x46c3a4-0x111;let _0x4de7e7=_0x2bd1ab[_0x46c3a4];return _0x4de7e7;},_0x46c3(_0xcdae91,_0x219586);}import{IconUndo as _0x2139fc}from'ckeditor5/src/icons.js';import{getTranslation as _0x4c7a96}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x431d85}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x4f49e4{[_0x342890(0x13f)];[_0x342890(0x112)];[_0x342890(0x150)];[_0x342890(0x148)];[_0x342890(0x13d)];[_0x342890(0x115)];[_0x342890(0x146)];constructor(_0x3e6209,_0x1a0e60){const _0x111550=_0x342890;super(_0x3e6209);const _0x5f332b=this[_0x111550(0x113)];this[_0x111550(0x13f)]=_0x1a0e60,this[_0x111550(0x112)]=this[_0x111550(0x14e)](),this[_0x111550(0x150)]=this[_0x111550(0x155)](),this[_0x111550(0x148)]=this[_0x111550(0x139)]([this[_0x111550(0x150)],this[_0x111550(0x112)]]),this[_0x111550(0x13d)]=new _0x2513fd(),this[_0x111550(0x115)]=new _0x21e4e7(),this[_0x111550(0x146)]=new _0x1e1723({'focusables':this[_0x111550(0x148)],'focusTracker':this[_0x111550(0x13d)],'keystrokeHandler':this[_0x111550(0x115)],'actions':{'focusPrevious':_0x111550(0x126),'focusNext':_0x111550(0x125)}}),this[_0x111550(0x114)](_0x111550(0x11d))['to'](this[_0x111550(0x13f)],_0x111550(0x128),_0x28ce60=>!!_0x28ce60),this[_0x111550(0x114)](_0x111550(0x12b))['to'](this[_0x111550(0x13f)],_0x111550(0x128),_0x111a5e=>_0x111a5e&&_0x111a5e[_0x111550(0x138)]?this[_0x111550(0x117)](_0x111a5e[_0x111550(0x138)]):_0x4c7a96(this[_0x111550(0x119)],_0x111550(0x118))),this[_0x111550(0x11c)]({'tag':_0x111550(0x137),'attributes':{'class':[_0x111550(0x13b)]},'children':[{'tag':_0x111550(0x137),'attributes':{'class':[_0x111550(0x13a)]},'children':[{'tag':_0x111550(0x137),'attributes':{'class':[_0x111550(0x145),_0x5f332b['if'](_0x111550(0x11d),_0x111550(0x14d))]},'children':[this[_0x111550(0x150)]]}]},{'tag':_0x111550(0x137),'attributes':{'class':[_0x111550(0x149)]},'children':[this[_0x111550(0x112)]]}]});}[_0x342890(0x147)](){const _0x1b28d9=_0x342890;super[_0x1b28d9(0x147)](),this[_0x1b28d9(0x121)](),this[_0x1b28d9(0x14b)]();}[_0x342890(0x132)](){const _0xf83ea4=_0x342890;this[_0xf83ea4(0x146)][_0xf83ea4(0x153)]();}[_0x342890(0x14e)](){const _0x5473bb=_0x342890,_0x158662=new _0x39caa2(this[_0x5473bb(0x119)]);return _0x158662[_0x5473bb(0x143)]=_0x4c7a96(this[_0x5473bb(0x119)],_0x5473bb(0x136)),_0x158662[_0x5473bb(0x123)]=_0x4c7a96(this[_0x5473bb(0x119)],_0x5473bb(0x136)),_0x158662[_0x5473bb(0x157)]=_0x2139fc,_0x158662[_0x5473bb(0x114)](_0x5473bb(0x11e))['to'](this[_0x5473bb(0x13f)],_0x5473bb(0x124),_0xc3a35f=>!_0xc3a35f),_0x158662[_0x5473bb(0x114)](_0x5473bb(0x12d))['to'](this[_0x5473bb(0x13f)],_0x5473bb(0x156),this[_0x5473bb(0x13f)],_0x5473bb(0x111),(_0x133865,_0x35a42f)=>_0x133865&&_0x35a42f),_0x158662['on'](_0x5473bb(0x127),()=>{const _0x8a5cea=_0x5473bb;this[_0x8a5cea(0x129)](_0x8a5cea(0x12c),this[_0x8a5cea(0x13f)]['id']);}),_0x158662;}[_0x342890(0x117)](_0x115b6b){const _0x128da9=_0x342890;if(_0x115b6b[_0x128da9(0x151)]<0x96)return _0x115b6b;const _0x2a42ff=_0x115b6b[_0x128da9(0x116)]('\x20',0x93);return _0x115b6b[_0x128da9(0x141)](0x0,_0x2a42ff>-0x1?_0x2a42ff:0x93)+_0x128da9(0x14c);}[_0x342890(0x121)](){const _0x2f0681=_0x342890,_0x28118f=this[_0x2f0681(0x133)][_0x2f0681(0x142)](_0x2f0681(0x144)),_0xa2b709=_0x28118f[_0x2f0681(0x142)](_0x2f0681(0x130));this[_0x2f0681(0x152)](_0x28118f,_0x2f0681(0x131),()=>{const _0x49cbd0=_0x2f0681;_0xa2b709[_0x49cbd0(0x120)]<_0xa2b709[_0x49cbd0(0x14a)]&&_0x28118f[_0x49cbd0(0x11f)][_0x49cbd0(0x13e)](_0x49cbd0(0x12e));}),this[_0x2f0681(0x152)](_0x28118f,_0x2f0681(0x134),()=>{const _0x56dad6=_0x2f0681;_0x28118f[_0x56dad6(0x11f)][_0x56dad6(0x11b)](_0x56dad6(0x12e));});}[_0x342890(0x14b)](){const _0x202295=_0x342890;this[_0x202295(0x115)][_0x202295(0x152)](this[_0x202295(0x133)]);for(const _0x4c6383 of this[_0x202295(0x148)])this[_0x202295(0x13d)][_0x202295(0x13e)](_0x4c6383[_0x202295(0x133)]),this[_0x202295(0x115)][_0x202295(0x152)](_0x4c6383[_0x202295(0x133)]);}[_0x342890(0x155)](){const _0x3dfcf3=_0x342890,_0x9500af=new _0x431d85(this[_0x3dfcf3(0x119)]);return _0x9500af[_0x3dfcf3(0x114)](_0x3dfcf3(0x12b))['to'](this),_0x9500af;}}function _0x2bd1(){const _0x501322=['focusTracker','add','_model','2550396PpMDnB','substring','querySelector','label','.ck-context','ck-context','focusCycler','render','focusables','ck-annotation__actions','scrollWidth','_setupKeyboardNavigation','...','ck-context--quotes','_createReopenButton','255282mIBssf','contextView','length','listenTo','focusFirst','2703565SONxii','_createContextView','isResolvable','icon','isResolved','reopenButtonView','bindTemplate','bind','keystrokes','lastIndexOf','_trimContextValue','Comment\x20was\x20made\x20on\x20an\x20element','locale','4807663UXFBje','remove','setTemplate','hasContext','isEnabled','classList','offsetWidth','_attachContextActions','117736SHNemT','tooltip','isReadOnly','tab','shift+tab','execute','context','fire','4996062gqzgta','contextValue','reopenCommentThread','isVisible','overlay','3ioerhb','.ck-context__value','mouseenter','focus','element','mouseleave','8CYDQvI','Reopen','div','value','createCollection','ck-context-wrapper','ck-thread__header','768944UmCVDQ'];_0x2bd1=function(){return _0x501322;};return _0x2bd1();}
|
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
* @module comments/comments/ui/view/commentthreadinputview
|
|
7
7
|
*/
|
|
8
8
|
import { type FocusableView, type FocusCycler, View } from 'ckeditor5/src/ui.js';
|
|
9
|
-
import CommentInputView from './commentinputview.js';
|
|
9
|
+
import { CommentInputView } from './commentinputview.js';
|
|
10
10
|
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
11
11
|
import type { EditorConfig } from 'ckeditor5/src/core.js';
|
|
12
12
|
import { UserView, type User } from 'ckeditor5-collaboration/src/collaboration-core.js';
|
|
13
13
|
/**
|
|
14
14
|
* View that represents comment input area for a comment thread. Includes editor, user view and buttons.
|
|
15
15
|
*/
|
|
16
|
-
export
|
|
16
|
+
export declare class CommentThreadInputView extends View implements FocusableView {
|
|
17
17
|
/**
|
|
18
18
|
* Specifies whether the comment input view should be visible (`true`) or hidden (`false`).
|
|
19
19
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x48461c=_0x1761;(function(_0x3945a4,_0x2b53cd){const _0x4ea1ac=_0x1761,_0x12aa6e=_0x3945a4();while(!![]){try{const _0x2f27d8=parseInt(_0x4ea1ac(0x1da))/0x1+-parseInt(_0x4ea1ac(0x1f1))/0x2+-parseInt(_0x4ea1ac(0x1e3))/0x3*(-parseInt(_0x4ea1ac(0x1d5))/0x4)+parseInt(_0x4ea1ac(0x1dd))/0x5+-parseInt(_0x4ea1ac(0x1eb))/0x6+parseInt(_0x4ea1ac(0x1e7))/0x7+-parseInt(_0x4ea1ac(0x1e9))/0x8*(parseInt(_0x4ea1ac(0x1f0))/0x9);if(_0x2f27d8===_0x2b53cd)break;else _0x12aa6e['push'](_0x12aa6e['shift']());}catch(_0x2c902a){_0x12aa6e['push'](_0x12aa6e['shift']());}}}(_0x1c73,0x4da01));import{View as _0x100a88}from'ckeditor5/src/ui.js';function _0x1761(_0x3c6b05,_0x4389c2){const _0x1c7392=_0x1c73();return _0x1761=function(_0x1761d4,_0x24646e){_0x1761d4=_0x1761d4-0x1d5;let _0x47164f=_0x1c7392[_0x1761d4];return _0x47164f;},_0x1761(_0x3c6b05,_0x4389c2);}import{CommentInputView as _0x2986a9}from'./commentinputview.js';import{UserView as _0xa12374}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x100a88{constructor(_0x36df63,_0x4fb8f7,_0xa7c332){const _0x419d9e=_0x1761;super(_0x36df63),this[_0x419d9e(0x1fd)]=new _0x2986a9(_0x36df63,_0xa7c332),this[_0x419d9e(0x1fb)]=this[_0x419d9e(0x1fd)][_0x419d9e(0x1fb)],this[_0x419d9e(0x1fd)][_0x419d9e(0x1f2)](_0x419d9e(0x1e0))['to'](this[_0x419d9e(0x1fd)][_0x419d9e(0x205)],_0x419d9e(0x1df),this[_0x419d9e(0x1fd)],_0x419d9e(0x1e4),(_0x63eb91,_0x18b62a)=>_0x63eb91||!!_0x18b62a),this[_0x419d9e(0x1f9)](_0x419d9e(0x1ff),!0x1),this['on'](_0x419d9e(0x1e5),()=>{const _0x5d21a3=_0x419d9e;this[_0x5d21a3(0x1ff)]&&!this[_0x5d21a3(0x1fd)][_0x5d21a3(0x1ed)]&&this[_0x5d21a3(0x1fd)][_0x5d21a3(0x1e6)]();}),this[_0x419d9e(0x1fd)][_0x419d9e(0x1dc)](_0x419d9e(0x1fe))['to'](this),this[_0x419d9e(0x1fd)][_0x419d9e(0x1dc)](_0x419d9e(0x1fa))['to'](this),this[_0x419d9e(0x1f3)]=new _0xa12374(_0x36df63,_0x4fb8f7),this[_0x419d9e(0x1f3)][_0x419d9e(0x1e8)]({'attributes':{'class':_0x419d9e(0x1fc),'aria-hidden':!0x0}}),this[_0x419d9e(0x1fd)][_0x419d9e(0x1e8)]({'attributes':{'class':_0x419d9e(0x1d9)}}),this[_0x419d9e(0x1ec)]({'tag':_0x419d9e(0x1ee),'attributes':{'class':[_0x419d9e(0x200),this[_0x419d9e(0x1d7)]['if'](_0x419d9e(0x1ff),_0x419d9e(0x1ef))]},'children':[this[_0x419d9e(0x1f3)],this[_0x419d9e(0x1fd)]]});}[_0x48461c(0x203)](){const _0x5104aa=_0x48461c;super[_0x5104aa(0x203)](),this[_0x5104aa(0x1ea)]();}[_0x48461c(0x1d8)](){const _0x59263c=_0x48461c;return this[_0x59263c(0x1fd)][_0x59263c(0x1d8)]()[_0x59263c(0x1f5)](()=>super[_0x59263c(0x1d8)]());}[_0x48461c(0x1f8)](_0x2b0e4c){const _0x71a846=_0x48461c;this[_0x71a846(0x1fd)][_0x71a846(0x1f8)](_0x2b0e4c);}[_0x48461c(0x1ea)](){const _0x460e48=_0x48461c;this[_0x460e48(0x1f4)](this[_0x460e48(0x204)],_0x460e48(0x1e1),(_0x58ef59,_0x12f6c9)=>{const _0x1e0a36=_0x460e48,{submitButtonView:_0x428beb,cancelButtonView:_0x5da8d5,editor:_0x20ac76}=this[_0x1e0a36(0x1fd)];[_0x428beb[_0x1e0a36(0x204)],_0x5da8d5[_0x1e0a36(0x204)],_0x20ac76?_0x20ac76[_0x1e0a36(0x1f6)][_0x1e0a36(0x1d6)][_0x1e0a36(0x202)]():null][_0x1e0a36(0x201)](_0x4eb5e3=>_0x4eb5e3)[_0x1e0a36(0x1f7)](_0x385eb0=>_0x385eb0[_0x1e0a36(0x1e2)](_0x12f6c9[_0x1e0a36(0x1db)]))||(this[_0x1e0a36(0x1f8)](),_0x12f6c9[_0x1e0a36(0x1de)]());});}}function _0x1c73(){const _0x416cb7=['editorDestroyed','focusCycler','ck-thread__user','commentInputView','editorReady','showInput','ck-comment__input-container','filter','getDomRoot','render','element','focusTracker','440jLcVYJ','view','bindTemplate','destroy','ck-thread__input','437954eYqsbl','target','delegate','2098310QaSUlD','preventDefault','isFocused','showButtons','mousedown','contains','8202kONYDq','value','change:showInput','createEditor','4389973VXFuWz','extendTemplate','10568jPIfdP','_focusOnNonInteractiveMouseDown','3029244sEfcWH','setTemplate','editor','div','ck-comment__input-container--active','2745atZOta','1119526rZJYGE','bind','userView','listenTo','then','editing','some','focus','set'];_0x1c73=function(){return _0x416cb7;};return _0x1c73();}
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
import { type Locale } from 'ckeditor5/src/utils.js';
|
|
10
10
|
import { LateFocusButtonView, type User } from 'ckeditor5-collaboration/src/collaboration-core.js';
|
|
11
11
|
import { type View, type ViewWithFocusCycler, type TemplateDefinition, type ViewCollection } from 'ckeditor5/src/ui.js';
|
|
12
|
-
import BaseCommentThreadView from './basecommentthreadview.js';
|
|
12
|
+
import { BaseCommentThreadView } from './basecommentthreadview.js';
|
|
13
13
|
import type { CommentThread } from '../../commentsrepository.js';
|
|
14
14
|
import type { CommentThreadConfig } from '../../../config.js';
|
|
15
15
|
declare const CommentThreadView_base: import("ckeditor5/src/utils.js").Mixed<typeof BaseCommentThreadView, import("@ckeditor/ckeditor5-collaboration-core/src/utils/confirmmixin.js").ConfirmApi>;
|
|
16
16
|
/**
|
|
17
17
|
* The default view for comment thread.
|
|
18
18
|
*/
|
|
19
|
-
export
|
|
19
|
+
export declare class CommentThreadView extends /* #__PURE__ -- @preserve */ CommentThreadView_base implements ViewWithFocusCycler {
|
|
20
20
|
isConfirm: boolean;
|
|
21
21
|
cancelConfirm: () => void;
|
|
22
22
|
showConfirm: (key: string, element: unknown) => Promise<void>;
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x10d5ab=_0x3a93;function _0x2dd5(){const _0x43a32b=['createCollection','isSystemComment','ck-thread--active','4454490UCBIwf','showConfirm','fire','commentThreadChildren','bindTemplate','div','4657635WAWdDl','ariaLabel','listenTo','commentsListView','ck-thread__container','change:isReadOnly','element','removeButton','3552888ylJRTb','486006idJNnz','querySelector','archivedAt','cancelConfirm','resolveButton','change:archivedAt','44707553TRgepM','placeholder','_model','_createResolveButton','bind','isResolved','locale','isUnlinked','label','unbind','focus','execute','Delete\x20comment\x20thread?','removeConfirm','isConfirm','set','Resolve','_cancelAllConfirms','ck-rounded-corners','get','change:isActive','resolveCommentThread','render','add','high','length','commentThreadHeaderView','listitem','isEnabled','actionIndicator','removeCommentThread','ck-thread--remove-confirmation','_boundFirstCommentView','getTemplate','ck-thread--unlinked','ck-thread--','then','has','395040TicJLz','ck-comment--resolve','ck-reset_all-excluded','actionBar','icon','_bindFirstCommentView','isResolvable','focusables','10BJdHjh','ariaDescriptionView','296hYtBgF','extendTemplate','remove','isReadOnly','_updateArchivedThreadHeader','setTemplate','5FJwzuA','isVisible','stop','.ck-thread__container','tooltip','containerElement','ck-thread','isActive','commentViews','commentThreadInputView','15nrFyXq','Write\x20a\x20comment...','129143mxBawO'];_0x2dd5=function(){return _0x43a32b;};return _0x2dd5();}(function(_0x32470f,_0x41fa11){const _0xafeefd=_0x3a93,_0x583060=_0x32470f();while(!![]){try{const _0x28f640=-parseInt(_0xafeefd(0x91))/0x1*(parseInt(_0xafeefd(0xb0))/0x2)+-parseInt(_0xafeefd(0xa1))/0x3+parseInt(_0xafeefd(0xdc))/0x4*(parseInt(_0xafeefd(0x9b))/0x5)+-parseInt(_0xafeefd(0xaf))/0x6+-parseInt(_0xafeefd(0x9d))/0x7*(parseInt(_0xafeefd(0xe6))/0x8)+parseInt(_0xafeefd(0xa7))/0x9+-parseInt(_0xafeefd(0xe4))/0xa*(-parseInt(_0xafeefd(0xb6))/0xb);if(_0x28f640===_0x41fa11)break;else _0x583060['push'](_0x583060['shift']());}catch(_0x4b52b9){_0x583060['push'](_0x583060['shift']());}}}(_0x2dd5,0xdc958));import{ConfirmMixin as _0x253513,LateFocusButtonView as _0x1d0c8d}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x3d0c3e}from'ckeditor5/src/icons.js';function _0x3a93(_0x2fee0a,_0x1e7eb3){const _0x2dd53a=_0x2dd5();return _0x3a93=function(_0x3a93f4,_0x1002d9){_0x3a93f4=_0x3a93f4-0x8c;let _0x25e59e=_0x2dd53a[_0x3a93f4];return _0x25e59e;},_0x3a93(_0x2fee0a,_0x1e7eb3);}import{BaseCommentThreadView as _0x1cc01f}from'./basecommentthreadview.js';import{getTranslation as _0x4e70fa}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x253513(_0x1cc01f){[_0x10d5ab(0xa4)];[_0x10d5ab(0x96)];[_0x10d5ab(0xb4)];[_0x10d5ab(0xd6)];constructor(_0x2cd072,_0x29ce21,_0x410f97,_0x2b1c63){const _0x38623f=_0x10d5ab;super(_0x2cd072,_0x29ce21,_0x410f97,_0x2b1c63),this[_0x38623f(0xa4)]=this[_0x38623f(0x9e)]([this[_0x38623f(0xaa)],this[_0x38623f(0x9a)],this[_0x38623f(0xe5)]]),this[_0x38623f(0xc5)](_0x38623f(0xd3),null),this[_0x38623f(0x96)]=null,this[_0x38623f(0xd6)]=null,this[_0x38623f(0xbc)]=_0x2cd072,this[_0x38623f(0xb4)]=this[_0x38623f(0xb9)](),this[_0x38623f(0x90)](this[_0x38623f(0xd7)]()),this['on'](_0x38623f(0xca),(_0x3f2421,_0x40dfcd,_0x1c5d07)=>{const _0x4633aa=_0x38623f;_0x1c5d07||this[_0x4633aa(0xc7)]();}),this[_0x38623f(0xa9)](this[_0x38623f(0xb8)],_0x38623f(0xac),(_0x1f0f1d,_0x14f0b2,_0x4ad5bb)=>{const _0x56f31a=_0x38623f;_0x4ad5bb&&this[_0x56f31a(0xc7)]();}),this[_0x38623f(0xcf)]>0x0&&this[_0x38623f(0xe1)](),this[_0x38623f(0xa9)](this[_0x38623f(0xaa)][_0x38623f(0x99)],_0x38623f(0xcd),()=>{const _0x39a639=_0x38623f;this[_0x39a639(0xe1)]();});}[_0x10d5ab(0xd7)](){const _0x58d8af=_0x10d5ab,_0x20a41a=this[_0x58d8af(0xa5)];return{'tag':_0x58d8af(0xa6),'attributes':{'class':['ck',_0x58d8af(0x97),_0x58d8af(0xde),_0x58d8af(0xc8),_0x20a41a['if'](_0x58d8af(0x98),_0x58d8af(0xa0)),_0x20a41a['if'](_0x58d8af(0xbd),_0x58d8af(0xd8)),_0x20a41a['if'](_0x58d8af(0xc4),_0x58d8af(0xd5)),_0x20a41a['to'](_0x58d8af(0xd3),_0x5b7b99=>_0x5b7b99?_0x58d8af(0xd9)+_0x5b7b99:'')],'data-thread-id':this[_0x58d8af(0xb8)]['id'],'tabindex':0x0,'role':_0x58d8af(0xd1),'aria-label':_0x20a41a['to'](_0x58d8af(0xa8)),'aria-describedby':this[_0x58d8af(0xe5)]['id']},'children':[{'tag':_0x58d8af(0xa6),'attributes':{'class':_0x58d8af(0xab)},'children':this[_0x58d8af(0xa4)]}]};}[_0x10d5ab(0xcc)](){const _0x7c1db5=_0x10d5ab;super[_0x7c1db5(0xcc)](),this[_0x7c1db5(0x96)]=this[_0x7c1db5(0xad)][_0x7c1db5(0xb1)](_0x7c1db5(0x94)),this[_0x7c1db5(0xb8)]['on'](_0x7c1db5(0xb5),()=>{const _0x1edde2=_0x7c1db5;this[_0x1edde2(0x8f)]();}),this[_0x7c1db5(0x8f)]();}[_0x10d5ab(0xc7)](){const _0x1682be=_0x10d5ab;this[_0x1682be(0xb3)]();for(const _0x4cd487 of this[_0x1682be(0xaa)][_0x1682be(0x99)])_0x4cd487[_0x1682be(0xb3)]();}[_0x10d5ab(0xe1)](){const _0x22048e=_0x10d5ab,{locale:_0x5a1fff}=this,_0x17e6f3=this[_0x22048e(0xaa)][_0x22048e(0x99)][_0x22048e(0xc9)](0x0);_0x17e6f3===this[_0x22048e(0xd6)]||_0x17e6f3[_0x22048e(0x9f)]||(this[_0x22048e(0xd6)]=_0x17e6f3,this[_0x22048e(0xbf)](_0x22048e(0xd3)),this[_0x22048e(0xba)](_0x22048e(0xd3))['to'](_0x17e6f3,_0x22048e(0xd3),_0x43fcae=>_0x22048e(0x8d)===_0x43fcae?_0x22048e(0x8d):null),_0x17e6f3[_0x22048e(0xb7)]=_0x4e70fa(_0x5a1fff,_0x22048e(0x9c)),_0x17e6f3[_0x22048e(0xae)]['on'](_0x22048e(0xc1),_0x3522e=>{const _0x1b670f=_0x22048e;_0x3522e[_0x1b670f(0x93)](),this[_0x1b670f(0xa2)](_0x4e70fa(_0x5a1fff,_0x1b670f(0xc2)),this[_0x1b670f(0x96)])[_0x1b670f(0xda)](()=>{const _0x30803f=_0x1b670f;this[_0x30803f(0xa3)](_0x30803f(0xd4));});},{'priority':_0x22048e(0xce)}),this['on'](_0x22048e(0xc3),()=>{const _0xdff772=_0x22048e;_0x17e6f3[_0xdff772(0xc0)]();}),_0x17e6f3[_0x22048e(0xdf)][_0x22048e(0xcd)](this[_0x22048e(0xb4)],0x0),_0x17e6f3[_0x22048e(0xe3)][_0x22048e(0xcd)](this[_0x22048e(0xb4)],0x0));}[_0x10d5ab(0xb9)](){const _0x41e889=_0x10d5ab,_0x4747d8=new _0x1d0c8d(this[_0x41e889(0xbc)]);return _0x4747d8[_0x41e889(0xbe)]=_0x4e70fa(this[_0x41e889(0xbc)],_0x41e889(0xc6)),_0x4747d8[_0x41e889(0x95)]=_0x4e70fa(this[_0x41e889(0xbc)],_0x41e889(0xc6)),_0x4747d8[_0x41e889(0xe0)]=_0x3d0c3e,_0x4747d8[_0x41e889(0x8c)]({'attributes':{'class':_0x41e889(0xdd)}}),_0x4747d8[_0x41e889(0xba)](_0x41e889(0xd2))['to'](this[_0x41e889(0xb8)],_0x41e889(0x8e),_0x5b500e=>!_0x5b500e),_0x4747d8[_0x41e889(0xba)](_0x41e889(0x92))['to'](this[_0x41e889(0xb8)],_0x41e889(0xe2),this[_0x41e889(0xb8)],_0x41e889(0xbb),(_0xde1aeb,_0x4444fc)=>_0xde1aeb&&!_0x4444fc),_0x4747d8['on'](_0x41e889(0xc1),()=>{const _0x52fd03=_0x41e889;this[_0x52fd03(0xa3)](_0x52fd03(0xcb),this[_0x52fd03(0xb8)]['id']);}),_0x4747d8;}[_0x10d5ab(0x8f)](){const _0x4b559b=_0x10d5ab;this[_0x4b559b(0xb8)][_0x4b559b(0xb2)]?this[_0x4b559b(0xa4)][_0x4b559b(0xdb)](this[_0x4b559b(0xd0)])||(this[_0x4b559b(0xa4)][_0x4b559b(0xcd)](this[_0x4b559b(0xd0)],0x0),this[_0x4b559b(0xe3)][_0x4b559b(0xcd)](this[_0x4b559b(0xd0)],0x0)):this[_0x4b559b(0xa4)][_0x4b559b(0xdb)](this[_0x4b559b(0xd0)])&&(this[_0x4b559b(0xa4)][_0x4b559b(0x8d)](this[_0x4b559b(0xd0)]),this[_0x4b559b(0xe3)][_0x4b559b(0x8d)](this[_0x4b559b(0xd0)]));}}
|
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
import { type Locale } from 'ckeditor5/src/utils.js';
|
|
10
10
|
import { ButtonView, type TemplateDefinition, type DropdownView, type FocusableView, type ViewCollection } from 'ckeditor5/src/ui.js';
|
|
11
11
|
import { UserView } from 'ckeditor5-collaboration/src/collaboration-core.js';
|
|
12
|
-
import BaseCommentView from './basecommentview.js';
|
|
12
|
+
import { BaseCommentView } from './basecommentview.js';
|
|
13
13
|
import type { Comment } from '../../commentsrepository.js';
|
|
14
|
-
import type CommentInputView from './commentinputview.js';
|
|
14
|
+
import { type CommentInputView } from './commentinputview.js';
|
|
15
15
|
import type { CommentViewConfig } from '../../../config.js';
|
|
16
16
|
declare const CommentView_base: import("ckeditor5/src/utils.js").Mixed<typeof BaseCommentView, import("@ckeditor/ckeditor5-collaboration-core/src/utils/confirmmixin.js").ConfirmApi>;
|
|
17
17
|
/**
|
|
18
18
|
* The default view for comment.
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
20
|
+
export declare class CommentView extends /* #__PURE__ -- @preserve */ CommentView_base {
|
|
21
21
|
locale: Locale;
|
|
22
22
|
isConfirm: boolean;
|
|
23
23
|
cancelConfirm: () => void;
|