@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 _0x1708(){const _0x2320df=['get','consumable','horizontalLine','166018UYyADG','downcastDispatcher','overrideMediaEmbedConverter','for','insert','comment','getCommentThread','65ROyeKk','data','image-inline','ignoreResolvedComments','media','addClass','dataDowncast','removeMarker:','attribute:url:media','addMarker:comment','schema','editor','ck-horizontal-line','593880SnJMHQ','createEmptyElement','model','markerToHighlight','div','span','showCommentHighlights','702002lAbHEc','3UDHlNM','img','writer','2785104hsJVUZ','createContainerElement','isResolved','item','elementToElement','consume','conversion','addMarker:','409962RyNfpy','plugins','stop','containerElement','overrideHorizontalRuleConverter','imageInline','createPositionAt','overrideMarkerConverters','markerName','overrideImageInlineConverter','add','getCustomProperty','ck-comment-marker','high','55196ovIFJN','options','elementToStructure','isObject','widget','15034UeKLeb','init','mapper','toViewElement'];_0x1708=function(){return _0x2320df;};return _0x1708();}const _0x191361=_0x583a;(function(_0x1942bb,_0x4e6a74){const _0x5a33e0=_0x583a,_0x27e377=_0x1942bb();while(!![]){try{const _0x5a4d83=parseInt(_0x5a33e0(0x151))/0x1+parseInt(_0x5a33e0(0x158))/0x2*(parseInt(_0x5a33e0(0x174))/0x3)+-parseInt(_0x5a33e0(0x18d))/0x4*(parseInt(_0x5a33e0(0x15f))/0x5)+-parseInt(_0x5a33e0(0x17f))/0x6+parseInt(_0x5a33e0(0x173))/0x7+-parseInt(_0x5a33e0(0x16c))/0x8+parseInt(_0x5a33e0(0x177))/0x9;if(_0x5a4d83===_0x4e6a74)break;else _0x27e377['push'](_0x27e377['shift']());}catch(_0xba644f){_0x27e377['push'](_0x27e377['shift']());}}}(_0x1708,0x2d5ec));import{Plugin as _0x410933}from'ckeditor5/src/core.js';import{toWidget as _0x4edf29}from'ckeditor5/src/widget.js';import{splitMarkerName as _0x21bcf4}from'../commentsediting.js';import{CommentsRepository as _0x14e79d}from'../commentsrepository.js';function _0x583a(_0x42a149,_0x70fe7e){const _0x170886=_0x1708();return _0x583a=function(_0x583a3b,_0x3b8bdc){_0x583a3b=_0x583a3b-0x150;let _0x4e27c2=_0x170886[_0x583a3b];return _0x4e27c2;},_0x583a(_0x42a149,_0x70fe7e);}export class ShowCommentHighlights extends _0x410933{[_0x191361(0x152)](){const _0xc7367c=_0x191361;this[_0xc7367c(0x186)](),this[_0xc7367c(0x183)](),this[_0xc7367c(0x188)](),this[_0xc7367c(0x15a)]();}[_0x191361(0x186)](){const _0x437bd5=_0x191361;this[_0x437bd5(0x16a)][_0x437bd5(0x17d)][_0x437bd5(0x15b)](_0x437bd5(0x165))[_0x437bd5(0x16f)]({'model':_0x437bd5(0x15d),'view':(_0x5976e9,_0x52fac3)=>{const _0x4beb82=_0x437bd5;if(!_0x52fac3[_0x4beb82(0x18e)][_0x4beb82(0x172)])return null;if(_0x52fac3[_0x4beb82(0x18e)][_0x4beb82(0x162)]){const {id:_0x4e5c2a}=_0x21bcf4(_0x5976e9[_0x4beb82(0x187)]),_0x544850=this[_0x4beb82(0x16a)][_0x4beb82(0x180)][_0x4beb82(0x155)](_0x14e79d);if(_0x544850[_0x4beb82(0x15e)](_0x4e5c2a)?.[_0x4beb82(0x179)]&&_0x5976e9[_0x4beb82(0x17a)])return _0x52fac3[_0x4beb82(0x156)][_0x4beb82(0x17c)](_0x5976e9[_0x4beb82(0x17a)],_0x4beb82(0x17e)+_0x5976e9[_0x4beb82(0x187)]),_0x52fac3[_0x4beb82(0x156)][_0x4beb82(0x17c)](_0x5976e9[_0x4beb82(0x17a)],_0x4beb82(0x166)+_0x5976e9[_0x4beb82(0x187)]),null;}return{'classes':[_0x4beb82(0x18b)]};}}),this[_0x437bd5(0x16a)][_0x437bd5(0x17d)][_0x437bd5(0x15b)](_0x437bd5(0x165))[_0x437bd5(0x189)](_0x5f4ec7=>{const _0xb514fb=_0x437bd5;_0x5f4ec7['on'](_0xb514fb(0x168),(_0x37a1a8,_0x5818fd,_0x5d345d)=>{const _0x81d745=_0xb514fb;if(!_0x5d345d[_0x81d745(0x18e)][_0x81d745(0x172)])return;const _0x1247d9=_0x5818fd[_0x81d745(0x17a)];if(!_0x1247d9)return;const _0x1913f0=_0x5d345d[_0x81d745(0x153)][_0x81d745(0x154)](_0x1247d9);this[_0x81d745(0x16a)][_0x81d745(0x16e)][_0x81d745(0x169)][_0x81d745(0x190)](_0x1247d9)&&_0x1913f0&&!_0x1913f0[_0x81d745(0x18a)](_0x81d745(0x150))&&_0x1913f0['is'](_0x81d745(0x182))&&_0x4edf29(_0x1913f0,_0x5d345d[_0x81d745(0x176)]);},{'priority':_0xb514fb(0x18c)});});}[_0x191361(0x183)](){const _0x2516b3=_0x191361;this[_0x2516b3(0x16a)][_0x2516b3(0x17d)][_0x2516b3(0x15b)](_0x2516b3(0x165))[_0x2516b3(0x18f)]({'model':_0x2516b3(0x157),'view':(_0x10a4c7,{writer:_0x14495e,options:_0x56bcc1})=>{const _0x564067=_0x2516b3;if(!_0x56bcc1[_0x564067(0x172)])return null;const _0x13e3f1=_0x14495e[_0x564067(0x178)](_0x564067(0x170)),_0xeb5a7=_0x14495e[_0x564067(0x16d)]('hr');return _0x14495e[_0x564067(0x164)](_0x564067(0x16b),_0x13e3f1),_0x14495e[_0x564067(0x15c)](_0x14495e[_0x564067(0x185)](_0x13e3f1,0x0),_0xeb5a7),_0x13e3f1;},'converterPriority':_0x2516b3(0x18c)});}[_0x191361(0x188)](){const _0x5621f3=_0x191361;this[_0x5621f3(0x16a)][_0x5621f3(0x17d)][_0x5621f3(0x15b)](_0x5621f3(0x165))[_0x5621f3(0x18f)]({'model':_0x5621f3(0x184),'view':(_0x8485d6,{writer:_0x5e2c57,options:_0x5ebf5b})=>{const _0x411b53=_0x5621f3;if(!_0x5ebf5b[_0x411b53(0x172)])return null;const _0x3e960d=_0x5e2c57[_0x411b53(0x178)](_0x411b53(0x171)),_0x31b4eb=_0x5e2c57[_0x411b53(0x16d)](_0x411b53(0x175));return _0x5e2c57[_0x411b53(0x164)](_0x411b53(0x161),_0x3e960d),_0x5e2c57[_0x411b53(0x15c)](_0x5e2c57[_0x411b53(0x185)](_0x3e960d,0x0),_0x31b4eb),_0x3e960d;},'converterPriority':_0x5621f3(0x18c)});}[_0x191361(0x15a)](){const _0x5b0201=_0x191361;this[_0x5b0201(0x16a)][_0x5b0201(0x17d)][_0x5b0201(0x15b)](_0x5b0201(0x165))[_0x5b0201(0x17b)]({'model':_0x5b0201(0x163),'view':(_0x30a38d,{writer:_0x21d57e,options:_0x2f2fdb})=>{const _0x1d58c7=_0x5b0201;if(_0x2f2fdb[_0x1d58c7(0x172)])return _0x21d57e[_0x1d58c7(0x16d)](_0x1d58c7(0x170));},'converterPriority':_0x5b0201(0x18c)}),this[_0x5b0201(0x16a)][_0x5b0201(0x160)][_0x5b0201(0x159)]['on'](_0x5b0201(0x167),(_0x1b9d6b,_0x409f06,_0x1c2cba)=>{const _0x31ce1e=_0x5b0201;_0x1c2cba[_0x31ce1e(0x18e)][_0x31ce1e(0x172)]&&_0x1b9d6b[_0x31ce1e(0x181)]();},{'priority':_0x5b0201(0x18c)});}}
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
* @module comments/comments/ui/commenteditor/commenteditor
|
|
7
7
|
*/
|
|
8
8
|
import { Editor, type EditorConfig } from 'ckeditor5/src/core.js';
|
|
9
|
-
import CommentEditorUI from './commenteditorui.js';
|
|
10
|
-
import { type
|
|
9
|
+
import { CommentEditorUI } from './commenteditorui.js';
|
|
10
|
+
import { type PlaceholderableViewElement } from 'ckeditor5/src/engine.js';
|
|
11
11
|
declare const CommentEditor_base: import("ckeditor5/src/utils.js").Mixed<typeof Editor, import("ckeditor5/src/utils.js").Observable>;
|
|
12
|
-
export
|
|
12
|
+
export declare class CommentEditor extends /* #__PURE__ -- @preserve */ CommentEditor_base {
|
|
13
13
|
static defaultPlugins: EditorConfig['plugins'];
|
|
14
14
|
/**
|
|
15
15
|
* The input placeholder.
|
|
@@ -17,7 +17,7 @@ export default class CommentEditor extends /* #__PURE__ -- @preserve */ CommentE
|
|
|
17
17
|
* @observable
|
|
18
18
|
*/
|
|
19
19
|
placeholder: string;
|
|
20
|
-
placeholderElement:
|
|
20
|
+
placeholderElement: PlaceholderableViewElement | undefined;
|
|
21
21
|
ui: CommentEditorUI;
|
|
22
22
|
/**
|
|
23
23
|
* @inheritDoc
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3d2d48=_0x1f4a;(function(_0x124505,_0x28ecd9){const _0x4594b7=_0x1f4a,_0x42783f=_0x124505();while(!![]){try{const _0x184e88=-parseInt(_0x4594b7(0x115))/0x1*(-parseInt(_0x4594b7(0xf3))/0x2)+parseInt(_0x4594b7(0x104))/0x3+parseInt(_0x4594b7(0xee))/0x4+parseInt(_0x4594b7(0x10e))/0x5*(parseInt(_0x4594b7(0x113))/0x6)+parseInt(_0x4594b7(0xf7))/0x7*(parseInt(_0x4594b7(0xe9))/0x8)+-parseInt(_0x4594b7(0xf5))/0x9+parseInt(_0x4594b7(0xfe))/0xa*(-parseInt(_0x4594b7(0x10c))/0xb);if(_0x184e88===_0x28ecd9)break;else _0x42783f['push'](_0x42783f['shift']());}catch(_0x29dfa8){_0x42783f['push'](_0x42783f['shift']());}}}(_0x30c0,0xe8832));import{Editor as _0x1a3b1e}from'ckeditor5/src/core.js';import{CommentEditorUI as _0x388fa5}from'./commenteditorui.js';import{ObservableMixin as _0x355292}from'ckeditor5/src/utils.js';import{enableViewPlaceholder as _0x2c4424,disableViewPlaceholder as _0x2c392e}from'ckeditor5/src/engine.js';import{Clipboard as _0x4b095e}from'ckeditor5/src/clipboard.js';import{Enter as _0x56a63b,ShiftEnter as _0x4a2b7b}from'ckeditor5/src/enter.js';import{SelectAll as _0xa6cc3e}from'ckeditor5/src/select-all.js';import{Typing as _0x587c5f}from'ckeditor5/src/typing.js';import{Undo as _0xa7f29d}from'ckeditor5/src/undo.js';function _0x1f4a(_0x5d4644,_0xb82dd8){const _0x30c0c4=_0x30c0();return _0x1f4a=function(_0x1f4abf,_0xac243f){_0x1f4abf=_0x1f4abf-0xe8;let _0x9db21d=_0x30c0c4[_0x1f4abf];return _0x9db21d;},_0x1f4a(_0x5d4644,_0xb82dd8);}import{Paragraph as _0x3bcd5a}from'ckeditor5/src/paragraph.js';const Nt=[_0x4b095e,_0x56a63b,_0x4a2b7b,_0xa6cc3e,_0x587c5f,_0xa7f29d,_0x3bcd5a];class Qt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x355292(_0x1a3b1e){static [_0x3d2d48(0x114)]=((()=>Nt)());constructor(_0x51ad67={}){const _0x3edcbb=_0x3d2d48;function _0x501243(_0x28c37a){const _0x59485f=_0x1f4a;return _0x28c37a[_0x59485f(0xfc)](_0x535d1d=>String[_0x59485f(0xf4)](_0x535d1d))[_0x59485f(0xff)]('');}(_0x51ad67=Object[_0x3edcbb(0x108)]({},_0x51ad67))[_0x3edcbb(0x116)]||(_0x51ad67[_0x3edcbb(0x116)]=Qt[_0x3edcbb(0x114)]),super(_0x51ad67),this['ui']=new _0x388fa5(this),this[_0x3edcbb(0xf6)](_0x3edcbb(0xf1),''),this[_0x3edcbb(0x10d)][_0x3edcbb(0x106)]['on'](_0x3edcbb(0x10a),()=>this[_0x3edcbb(0xfd)](),{'priority':_0x3edcbb(0xf8)}),this['on'](_0x3edcbb(0xe8),()=>this[_0x3edcbb(0xfd)]()),this[_0x3edcbb(0x10d)][_0x3edcbb(0x106)][_0x3edcbb(0xec)](),this[_0x501243([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x501243([0x76,0x69,0x65,0x77])][_0x501243([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x501243([0x61,0x75,0x74,0x6f]),this[_0x501243([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x501243([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x501243([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x501243([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x501243([0x6f,0x6b])});}[_0x3d2d48(0xea)](){const _0x2dadcc=_0x3d2d48,_0x3f005f=this[_0x2dadcc(0xf2)][_0x2dadcc(0x107)](_0x2dadcc(0x105))||'';return this[_0x2dadcc(0x10b)]()[_0x2dadcc(0xfa)](()=>this['ui'][_0x2dadcc(0xed)]())[_0x2dadcc(0xfa)](()=>this[_0x2dadcc(0x111)][_0x2dadcc(0xed)](_0x3f005f))[_0x2dadcc(0xfa)](()=>this[_0x2dadcc(0xeb)](_0x2dadcc(0x101)));}[_0x3d2d48(0x10f)](){const _0x1f332e=_0x3d2d48;return super[_0x1f332e(0x10f)]()[_0x1f332e(0xfa)](()=>this['ui'][_0x1f332e(0x10f)]());}[_0x3d2d48(0xef)](){const _0x23db51=_0x3d2d48;this[_0x23db51(0x10d)][_0x23db51(0x10a)](_0x43785b=>{const _0x4caabc=_0x23db51,_0x11f342=this[_0x4caabc(0x10d)][_0x4caabc(0x106)][_0x4caabc(0x109)](),_0x2fd5af=_0x11f342&&_0x11f342[_0x4caabc(0xf0)](_0x11f342[_0x4caabc(0x102)]-0x1);_0x43785b[_0x4caabc(0x112)](_0x2fd5af,_0x4caabc(0x103)),this[_0x4caabc(0xf9)][_0x4caabc(0xfb)][_0x4caabc(0xef)]();});}[_0x3d2d48(0xfd)](){const _0x3e0b13=_0x3d2d48,_0x4bf7f9=this[_0x3e0b13(0xf9)][_0x3e0b13(0xfb)],_0x290bc5=_0x4bf7f9[_0x3e0b13(0x106)][_0x3e0b13(0x109)](),_0x8e91f3=_0x290bc5[_0x3e0b13(0xf0)](0x0);_0x290bc5[_0x3e0b13(0x102)]>0x1||!_0x8e91f3||'p'!=_0x8e91f3[_0x3e0b13(0x110)]?this[_0x3e0b13(0x100)]&&this[_0x3e0b13(0x100)][_0x3e0b13(0xf1)]&&(_0x2c392e(_0x4bf7f9,this[_0x3e0b13(0x100)]),this[_0x3e0b13(0x100)]=void 0x0):(this[_0x3e0b13(0xf1)]&&(_0x8e91f3[_0x3e0b13(0xf1)]=this[_0x3e0b13(0xf1)]),_0x2c4424({'view':_0x4bf7f9,'element':_0x8e91f3,'keepOnFocus':!0x0}),this[_0x3e0b13(0x100)]=_0x8e91f3);}}export{Qt as CommentEditor};function _0x30c0(){const _0x4c5cbd=['low','editing','then','view','map','_updatePlaceholder','7090HWYoZG','join','placeholderElement','ready','childCount','end','1492017zDwHRM','initialData','document','get','assign','getRoot','change','initPlugins','47883enRjmQ','model','4469605GSwboB','destroy','name','data','setSelection','6zmBXPw','defaultPlugins','9zjTccl','plugins','change:placeholder','3728RDxgKh','create','fire','createRoot','init','1910128QnllyZ','focus','getChild','placeholder','config','171330kADtYy','fromCharCode','3666114kXfizn','set','27132GFGqHV'];_0x30c0=function(){return _0x4c5cbd;};return _0x30c0();}
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { EditorUI } from 'ckeditor5/src/ui.js';
|
|
9
9
|
import type { Editor } from 'ckeditor5/src/core.js';
|
|
10
|
-
import CommentEditorUIView from './commenteditoruiview.js';
|
|
11
|
-
export
|
|
10
|
+
import { CommentEditorUIView } from './commenteditoruiview.js';
|
|
11
|
+
export declare class CommentEditorUI extends EditorUI {
|
|
12
12
|
/**
|
|
13
13
|
* The main (top–most) view of the editor UI.
|
|
14
14
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3dab(){const _0x2ffb48=['render','isFocused','getRoot','ready','editable','destroy','fire','bind','2429924ErOEUD','document','3633138kzSzQo','locale','name','editing','init','editor','focusTracker','attachDomRoot','rootName','8326935HKuxxc','4320309oLCFoR','element','setEditableElement','579824czhpXX','view','5304303jVlBTO','162082vcAlDH'];_0x3dab=function(){return _0x2ffb48;};return _0x3dab();}const _0x16b2ac=_0x5ecf;(function(_0xae97ff,_0x2e4763){const _0xa27f5e=_0x5ecf,_0x1f3a89=_0xae97ff();while(!![]){try{const _0x3edd27=parseInt(_0xa27f5e(0x1b9))/0x1+parseInt(_0xa27f5e(0x1b6))/0x2+-parseInt(_0xa27f5e(0x1b8))/0x3+parseInt(_0xa27f5e(0x1a7))/0x4+parseInt(_0xa27f5e(0x1b2))/0x5+parseInt(_0xa27f5e(0x1a9))/0x6+-parseInt(_0xa27f5e(0x1b3))/0x7;if(_0x3edd27===_0x2e4763)break;else _0x1f3a89['push'](_0x1f3a89['shift']());}catch(_0x562f80){_0x1f3a89['push'](_0x1f3a89['shift']());}}}(_0x3dab,0xe6bc9));import{EditorUI as _0x35284e}from'ckeditor5/src/ui.js';function _0x5ecf(_0x1647fe,_0x2a43f2){const _0x3dab6d=_0x3dab();return _0x5ecf=function(_0x5ecf24,_0x362b7b){_0x5ecf24=_0x5ecf24-0x1a7;let _0x21af30=_0x3dab6d[_0x5ecf24];return _0x21af30;},_0x5ecf(_0x1647fe,_0x2a43f2);}import{CommentEditorUIView as _0x4dc03d}from'./commenteditoruiview.js';export class CommentEditorUI extends _0x35284e{[_0x16b2ac(0x1b7)];constructor(_0x46e09d){const _0x1aa47b=_0x16b2ac;super(_0x46e09d),this[_0x1aa47b(0x1b7)]=new _0x4dc03d(_0x46e09d[_0x1aa47b(0x1aa)],_0x46e09d[_0x1aa47b(0x1ac)][_0x1aa47b(0x1b7)]);}get[_0x16b2ac(0x1b4)](){const _0x49e0da=_0x16b2ac;return this[_0x49e0da(0x1b7)][_0x49e0da(0x1b4)];}[_0x16b2ac(0x1ad)](){const _0x3556ff=_0x16b2ac,_0x5a77e8=this[_0x3556ff(0x1ae)][_0x3556ff(0x1ac)][_0x3556ff(0x1b7)],_0x1022ef=this[_0x3556ff(0x1b7)][_0x3556ff(0x1be)],_0xb9e37d=_0x5a77e8[_0x3556ff(0x1a8)][_0x3556ff(0x1bc)]();_0x1022ef[_0x3556ff(0x1ab)]=_0xb9e37d[_0x3556ff(0x1b1)],this[_0x3556ff(0x1b7)][_0x3556ff(0x1ba)]();const _0x3210cc=_0x1022ef[_0x3556ff(0x1b4)];this[_0x3556ff(0x1b5)](_0x1022ef[_0x3556ff(0x1ab)],_0x3210cc),this[_0x3556ff(0x1b7)][_0x3556ff(0x1be)][_0x3556ff(0x1c1)](_0x3556ff(0x1bb))['to'](this[_0x3556ff(0x1af)]),_0x5a77e8[_0x3556ff(0x1b0)](_0x3210cc),this[_0x3556ff(0x1c0)](_0x3556ff(0x1bd));}[_0x16b2ac(0x1bf)](){const _0x28db68=_0x16b2ac;super[_0x28db68(0x1bf)](),this[_0x28db68(0x1b7)][_0x28db68(0x1bf)]();}}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { InlineEditableUIView, EditorUIView, type ViewCollection } from 'ckeditor5/src/ui.js';
|
|
9
9
|
import { type Locale } from 'ckeditor5/src/utils.js';
|
|
10
10
|
import type { EditingView } from 'ckeditor5/src/engine.js';
|
|
11
|
-
export
|
|
11
|
+
export declare class CommentEditorUIView extends EditorUIView {
|
|
12
12
|
/**
|
|
13
13
|
* Collection of the child views located in the main (`.ck-editor__main`)
|
|
14
14
|
* area of the UI.
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x27de3e=_0x14a8;(function(_0x2b6150,_0x5eba55){const _0x135d75=_0x14a8,_0x5a165d=_0x2b6150();while(!![]){try{const _0x12b565=parseInt(_0x135d75(0x1f2))/0x1*(-parseInt(_0x135d75(0x1da))/0x2)+parseInt(_0x135d75(0x1d9))/0x3+parseInt(_0x135d75(0x1de))/0x4+-parseInt(_0x135d75(0x1ef))/0x5*(parseInt(_0x135d75(0x1e3))/0x6)+-parseInt(_0x135d75(0x1e5))/0x7+-parseInt(_0x135d75(0x1e6))/0x8*(parseInt(_0x135d75(0x1e4))/0x9)+parseInt(_0x135d75(0x1dd))/0xa;if(_0x12b565===_0x5eba55)break;else _0x5a165d['push'](_0x5a165d['shift']());}catch(_0x8fd3d7){_0x5a165d['push'](_0x5a165d['shift']());}}}(_0x53b6,0xc587f));function _0x14a8(_0x465da9,_0x44a1d9){const _0x53b68e=_0x53b6();return _0x14a8=function(_0x14a8fe,_0x3a9b84){_0x14a8fe=_0x14a8fe-0x1d6;let _0x57e8c4=_0x53b68e[_0x14a8fe];return _0x57e8c4;},_0x14a8(_0x465da9,_0x44a1d9);}import{InlineEditableUIView as _0x9bb71c,EditorUIView as _0x4f97e1}from'ckeditor5/src/ui.js';import{uid as _0x39e540}from'ckeditor5/src/utils.js';import{getTranslation as _0x75594}from'../../../utils/common-translations.js';export class CommentEditorUIView extends _0x4f97e1{[_0x27de3e(0x1f0)];[_0x27de3e(0x1e0)];constructor(_0x5cebdc,_0x131cfa){const _0x150f6f=_0x27de3e;super(_0x5cebdc);const _0x4f50ac=_0x39e540();this[_0x150f6f(0x1f0)]=this[_0x150f6f(0x1ec)](),this[_0x150f6f(0x1e0)]=new _0x9bb71c(_0x5cebdc,_0x131cfa,void 0x0,{'label':()=>_0x75594(_0x5cebdc,_0x150f6f(0x1db))}),this[_0x150f6f(0x1e8)]({'tag':_0x150f6f(0x1df),'attributes':{'class':[_0x150f6f(0x1d6),_0x150f6f(0x1d8),_0x150f6f(0x1ea),_0x150f6f(0x1d7)],'dir':_0x5cebdc[_0x150f6f(0x1e9)],'lang':_0x5cebdc[_0x150f6f(0x1dc)],'aria-labelledby':_0x150f6f(0x1eb)+_0x4f50ac},'children':[{'tag':_0x150f6f(0x1df),'attributes':{'class':_0x150f6f(0x1e2),'role':_0x150f6f(0x1e7)},'children':this[_0x150f6f(0x1f0)]}]});}[_0x27de3e(0x1ed)](){const _0x19e284=_0x27de3e;super[_0x19e284(0x1ed)](),this[_0x19e284(0x1f0)][_0x19e284(0x1ee)](this[_0x19e284(0x1e0)]);}[_0x27de3e(0x1f1)](){const _0x51a14=_0x27de3e;this[_0x51a14(0x1e0)][_0x51a14(0x1e1)][_0x51a14(0x1f1)]();}}function _0x53b6(){const _0x3e2915=['14562tZzRlk','Comment\x20editor','uiLanguage','42770760iRLvkD','3857920RxkqpY','div','editable','element','ck-editor__main','492WbuHxV','63thORom','10793839VYprGP','1678264UpTzKe','presentation','setTemplate','uiLanguageDirection','ck-rounded-corners','cke-editor__aria-label_','createCollection','render','add','23585OuNahR','main','focus','197SmSihq','ck-reset','ck-comment__input','ck-editor','1197420ZBRLSP'];_0x53b6=function(){return _0x3e2915;};return _0x53b6();}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
import type { CommentThread } from '../commentsrepository.js';
|
|
6
|
-
import type {
|
|
6
|
+
import type { BaseCommentThreadView } from './view/basecommentthreadview.js';
|
|
7
7
|
declare const CommentThreadController_base: {
|
|
8
8
|
new (): import("ckeditor5/src/utils.js").Observable;
|
|
9
9
|
prototype: import("ckeditor5/src/utils.js").Observable;
|
|
@@ -13,7 +13,7 @@ declare const CommentThreadController_base: {
|
|
|
13
13
|
*
|
|
14
14
|
* It takes a comment thread view, listens to events fired by that view and based on them performs actions on a comment thread model.
|
|
15
15
|
*/
|
|
16
|
-
export
|
|
16
|
+
export declare class CommentThreadController extends /* #__PURE__ -- @preserve */ CommentThreadController_base {
|
|
17
17
|
model: CommentThread;
|
|
18
18
|
view: BaseCommentThreadView;
|
|
19
19
|
/**
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
var _0x262927=_0x35cc;(function(_0x340abd,_0x3b33df){var _0x735ad2=_0x35cc,_0x436847=_0x340abd();while(!![]){try{var _0x53972d=-parseInt(_0x735ad2(0xff))/0x1*(parseInt(_0x735ad2(0x112))/0x2)+-parseInt(_0x735ad2(0x110))/0x3*(-parseInt(_0x735ad2(0x10a))/0x4)+-parseInt(_0x735ad2(0x107))/0x5*(parseInt(_0x735ad2(0xfa))/0x6)+parseInt(_0x735ad2(0x10f))/0x7*(-parseInt(_0x735ad2(0x104))/0x8)+-parseInt(_0x735ad2(0x10e))/0x9*(parseInt(_0x735ad2(0x106))/0xa)+-parseInt(_0x735ad2(0x111))/0xb+parseInt(_0x735ad2(0x108))/0xc*(parseInt(_0x735ad2(0xf4))/0xd);if(_0x53972d===_0x3b33df)break;else _0x436847['push'](_0x436847['shift']());}catch(_0x38083b){_0x436847['push'](_0x436847['shift']());}}}(_0x3743,0xc6447));import{ObservableMixin as _0x54ee39}from'ckeditor5/src/utils.js';export class CommentThreadController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x54ee39(){[_0x262927(0x10c)];[_0x262927(0x115)];constructor(_0x14bdc1,_0x402852){var _0x1b3e85=_0x262927;super(),this[_0x1b3e85(0x10c)]=_0x14bdc1,this[_0x1b3e85(0x10c)][_0x1b3e85(0x10d)]=!0x0,this[_0x1b3e85(0x115)]=_0x402852,this[_0x1b3e85(0x113)](_0x402852,_0x1b3e85(0xf5),()=>this[_0x1b3e85(0x109)]()),this[_0x1b3e85(0x113)](_0x402852,_0x1b3e85(0x114),()=>this[_0x1b3e85(0x100)]()),this[_0x1b3e85(0x113)](_0x402852,_0x1b3e85(0xf6),()=>this[_0x1b3e85(0x101)]()),this[_0x1b3e85(0x113)](_0x402852,_0x1b3e85(0x102),()=>this[_0x1b3e85(0x10b)]()),this[_0x1b3e85(0x113)](_0x402852,_0x1b3e85(0xf9),(_0x40b644,_0x6df842)=>this[_0x1b3e85(0xf9)](_0x6df842)),this[_0x1b3e85(0x113)](_0x402852,_0x1b3e85(0xfe),(_0x2ba51a,_0x3e8e3e,_0x2c80c9)=>this[_0x1b3e85(0xfe)](_0x3e8e3e,_0x2c80c9)),this[_0x1b3e85(0x113)](_0x402852,_0x1b3e85(0x103),(_0x1170de,_0x5e713c)=>this[_0x1b3e85(0x103)](_0x5e713c));}[_0x262927(0x109)](){var _0x27225b=_0x262927;this[_0x27225b(0x10c)][_0x27225b(0x109)]();}[_0x262927(0x100)](){var _0x5703b7=_0x262927;this[_0x5703b7(0x10c)][_0x5703b7(0x100)]();}[_0x262927(0x101)](){var _0x3180ca=_0x262927;this[_0x3180ca(0x10c)][_0x3180ca(0xfb)]||this[_0x3180ca(0x10c)][_0x3180ca(0x101)]();}[_0x262927(0x10b)](){var _0xeacd5=_0x262927;this[_0xeacd5(0x10c)][_0xeacd5(0xfb)]&&this[_0xeacd5(0x10c)][_0xeacd5(0x10b)]();}[_0x262927(0xf9)](_0x27bc46){var _0x10f386=_0x262927;this[_0x10f386(0x10c)][_0x10f386(0xf9)]({'content':_0x27bc46,'authorId':this[_0x10f386(0x115)][_0x10f386(0xfd)]['id']});}[_0x262927(0xfe)](_0xff3b30,_0x1db13d){var _0x551cc6=_0x262927;this[_0x551cc6(0x10c)][_0x551cc6(0xf7)](_0xff3b30)[_0x551cc6(0xf8)]({'content':_0x1db13d});}[_0x262927(0x103)](_0x28853e){var _0x1e2a3d=_0x262927;this[_0x1e2a3d(0x10c)][_0x1e2a3d(0xf7)](_0x28853e)[_0x1e2a3d(0x100)]();}[_0x262927(0x105)](){var _0x362a4b=_0x262927;this[_0x362a4b(0xfc)](),this[_0x362a4b(0x10c)][_0x362a4b(0x10d)]=!0x1;}}function _0x35cc(_0x38b669,_0x2cc42f){var _0x374304=_0x3743();return _0x35cc=function(_0x35cc5a,_0x5212cd){_0x35cc5a=_0x35cc5a-0xf4;var _0x2e450e=_0x374304[_0x35cc5a];return _0x2e450e;},_0x35cc(_0x38b669,_0x2cc42f);}function _0x3743(){var _0x2836ad=['update','addComment','2608158jGtTsJ','isResolved','stopListening','_localUser','updateComment','51931mTxnTs','remove','resolve','reopenCommentThread','removeComment','1760280HMweaU','destroy','10aJQVWw','5MblpLv','12PITjal','submit','26172GOhghI','reopen','model','_isAttached','9988929fuPwvi','28CfFERg','627UbqWlG','1578764kchgJm','34AdIIus','listenTo','removeCommentThread','view','37643853TVwzyc','submitCommentThread','resolveCommentThread','getComment'];_0x3743=function(){return _0x2836ad;};return _0x3743();}
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import { FocusCycler, View, type FocusableView, type ViewCollection } from 'ckeditor5/src/ui.js';
|
|
10
10
|
import { type Locale, FocusTracker, KeystrokeHandler } from 'ckeditor5/src/utils.js';
|
|
11
|
-
import CommentThreadInputView from './commentthreadinputview.js';
|
|
12
|
-
import CommentsListView from './commentslistview.js';
|
|
13
|
-
import CommentThreadHeaderView from './commentthreadheaderview.js';
|
|
11
|
+
import { CommentThreadInputView } from './commentthreadinputview.js';
|
|
12
|
+
import { CommentsListView } from './commentslistview.js';
|
|
13
|
+
import { CommentThreadHeaderView } from './commentthreadheaderview.js';
|
|
14
14
|
import { AriaDescriptionView, type User } from 'ckeditor5-collaboration/src/collaboration-core.js';
|
|
15
15
|
import type { CommentThread } from '../../commentsrepository.js';
|
|
16
16
|
import type { CommentThreadConfig } from '../../../config.js';
|
|
@@ -20,7 +20,7 @@ import type { CommentThreadConfig } from '../../../config.js';
|
|
|
20
20
|
*
|
|
21
21
|
* For the usage examples check the {@glink features/collaboration/annotations/annotations-custom-view Custom annotation view} guide.
|
|
22
22
|
*/
|
|
23
|
-
export
|
|
23
|
+
export declare class BaseCommentThreadView extends View {
|
|
24
24
|
locale: Locale;
|
|
25
25
|
/**
|
|
26
26
|
* Informs whether the comment thread view is in active state ("highlighted").
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x34d51c=_0xca43;(function(_0x5db752,_0x3a5516){const _0x5d9067=_0xca43,_0x3cc502=_0x5db752();while(!![]){try{const _0x311574=-parseInt(_0x5d9067(0x11e))/0x1+parseInt(_0x5d9067(0x14a))/0x2+-parseInt(_0x5d9067(0x144))/0x3*(parseInt(_0x5d9067(0x110))/0x4)+parseInt(_0x5d9067(0x158))/0x5*(-parseInt(_0x5d9067(0x153))/0x6)+parseInt(_0x5d9067(0x142))/0x7*(parseInt(_0x5d9067(0x11a))/0x8)+parseInt(_0x5d9067(0x13d))/0x9*(parseInt(_0x5d9067(0x128))/0xa)+-parseInt(_0x5d9067(0x126))/0xb;if(_0x311574===_0x3a5516)break;else _0x3cc502['push'](_0x3cc502['shift']());}catch(_0x30c260){_0x3cc502['push'](_0x3cc502['shift']());}}}(_0x22f6,0x79e54));function _0x22f6(){const _0x2294d0=['_localUser','length','bind','resolveCommentThread','first','30376yGiemL','change:isActive','commentThreadHeaderView','delegate','279528OBpzdO','canComment','showInput','updateComment','destroy','archivedAt','commentThreadInputView','target','3954269UJSyPw','_config','7281580lYsBBa','shift+tab','isUnlinked','keystrokes','_createCommentThreadInputView','element','focusables','CommentView','reopenCommentThread','tab','fire','COMMENT_THREAD_LABEL','isResolved','cancel','Reply','listenTo','locale','editorReady','isActive','editorDestroyed','set','9GZsawE','value','focus','hasDirtyComment','disabledSubmit','1379mYcFde','submitLabel','3EOLauT','comments','submitCommentThread','commentInputView','isDirty','submit','1719620xwuvzd','name','removeCommentThread','author','removeComment','isReadOnly','addComment','isResolvable','focusTracker','1912626WrFkNd','Reply...','commentsListView','placeholder','focusCycler','5TnccgG','Reply\x20to\x20reopen\x20discussion...','createCollection','ariaLabel','unlinkedAt','ariaDescriptionView','Write\x20a\x20comment...','isSubmitted','assign','render','_model','3515660aLtNCW','COMMENT_THREAD_DESCRIPTION','Comment','stop','editorConfig'];_0x22f6=function(){return _0x2294d0;};return _0x22f6();}import{FocusCycler as _0x5f5192,View as _0x2ef22f}from'ckeditor5/src/ui.js';import{FocusTracker as _0x359ec1,KeystrokeHandler as _0x10a787}from'ckeditor5/src/utils.js';import{CommentThreadInputView as _0x49c204}from'./commentthreadinputview.js';import{CommentsListView as _0xe77aa0}from'./commentslistview.js';import{CommentThreadHeaderView as _0x1df766}from'./commentthreadheaderview.js';import{getTranslation as _0x3fdeda}from'../../../utils/common-translations.js';function _0xca43(_0x287868,_0x327d6a){const _0x22f689=_0x22f6();return _0xca43=function(_0xca43dc,_0x45a78c){_0xca43dc=_0xca43dc-0x10a;let _0x2a9efd=_0x22f689[_0xca43dc];return _0x2a9efd;},_0xca43(_0x287868,_0x327d6a);}import{AriaDescriptionView as _0x2c5c55,setupThreadKeyboardNavigation as _0x401c0e}from'ckeditor5-collaboration/src/collaboration-core.js';export class BaseCommentThreadView extends _0x2ef22f{[_0x34d51c(0x10f)];[_0x34d51c(0x127)];[_0x34d51c(0x11c)];[_0x34d51c(0x124)];[_0x34d51c(0x10a)];[_0x34d51c(0x12e)];[_0x34d51c(0x152)];[_0x34d51c(0x12b)];[_0x34d51c(0x157)];constructor(_0x584014,_0x3034ca,_0x7a3551,_0x48f705){const _0x1b0c17=_0x34d51c;super(_0x584014),this[_0x1b0c17(0x13c)](_0x1b0c17(0x13a),!0x1),this[_0x1b0c17(0x13c)](_0x1b0c17(0x148),!0x1),this[_0x1b0c17(0x10f)]=_0x3034ca,this[_0x1b0c17(0x115)]=_0x7a3551,this[_0x1b0c17(0x127)]=_0x48f705,this[_0x1b0c17(0x11c)]=new _0x1df766(_0x584014,_0x3034ca),this[_0x1b0c17(0x11c)][_0x1b0c17(0x11d)](_0x1b0c17(0x130))['to'](this),this[_0x1b0c17(0x10a)]=new _0x2c5c55(_0x584014,_0x3fdeda(_0x584014,_0x1b0c17(0x111))),this[_0x1b0c17(0x137)](this,_0x1b0c17(0x130),()=>{const _0x8e0ee7=_0x1b0c17;this[_0x8e0ee7(0x13f)]();}),this[_0x1b0c17(0x155)]=new _0xe77aa0(_0x584014,_0x3034ca,Object[_0x1b0c17(0x10d)]({'CommentView':this[_0x1b0c17(0x127)][_0x1b0c17(0x12f)]},_0x48f705)),this[_0x1b0c17(0x155)][_0x1b0c17(0x11d)](_0x1b0c17(0x14e))['to'](this),this[_0x1b0c17(0x155)][_0x1b0c17(0x11d)](_0x1b0c17(0x121))['to'](this),this[_0x1b0c17(0x155)][_0x1b0c17(0x11d)](_0x1b0c17(0x118))['to'](this),this[_0x1b0c17(0x155)][_0x1b0c17(0x11d)](_0x1b0c17(0x139))['to'](this),this[_0x1b0c17(0x155)][_0x1b0c17(0x11d)](_0x1b0c17(0x13b))['to'](this),this[_0x1b0c17(0x155)][_0x1b0c17(0x117)](_0x1b0c17(0x13a))['to'](this),this[_0x1b0c17(0x137)](this,_0x1b0c17(0x118),()=>{const _0x3e9c36=_0x1b0c17;this[_0x3e9c36(0x13f)]();}),this[_0x1b0c17(0x13c)](_0x1b0c17(0x116),this[_0x1b0c17(0x155)][_0x1b0c17(0x116)]),this[_0x1b0c17(0x117)](_0x1b0c17(0x116))['to'](this[_0x1b0c17(0x155)],_0x1b0c17(0x116)),this[_0x1b0c17(0x124)]=this[_0x1b0c17(0x12c)](),this[_0x1b0c17(0x124)][_0x1b0c17(0x11d)](_0x1b0c17(0x139))['to'](this),this[_0x1b0c17(0x124)][_0x1b0c17(0x11d)](_0x1b0c17(0x13b))['to'](this),this['on'](_0x1b0c17(0x14e),()=>this[_0x1b0c17(0x13f)]()),this[_0x1b0c17(0x117)](_0x1b0c17(0x148))['to'](this[_0x1b0c17(0x155)],_0x1b0c17(0x140),this[_0x1b0c17(0x124)][_0x1b0c17(0x147)],_0x1b0c17(0x13e),(_0x1fe8b7,_0x35a44c)=>_0x1fe8b7||!!_0x35a44c),this[_0x1b0c17(0x117)](_0x1b0c17(0x12a))['to'](_0x3034ca,_0x1b0c17(0x15c),_0x12259a=>!!_0x12259a),this[_0x1b0c17(0x117)](_0x1b0c17(0x15b))['to'](this,_0x1b0c17(0x116),_0x26156c=>{const _0x4ee2bc=_0x1b0c17,_0x1abc53=this[_0x4ee2bc(0x10f)][_0x4ee2bc(0x145)][_0x4ee2bc(0x119)]?this[_0x4ee2bc(0x10f)][_0x4ee2bc(0x145)][_0x4ee2bc(0x119)][_0x4ee2bc(0x14d)][_0x4ee2bc(0x14b)]:this[_0x4ee2bc(0x115)][_0x4ee2bc(0x14b)];return _0x3fdeda(this[_0x4ee2bc(0x138)],_0x4ee2bc(0x133),[_0x26156c,_0x1abc53]);}),this[_0x1b0c17(0x12e)]=this[_0x1b0c17(0x15a)]([this[_0x1b0c17(0x155)],this[_0x1b0c17(0x124)]]),this[_0x1b0c17(0x152)]=new _0x359ec1(),this[_0x1b0c17(0x12b)]=new _0x10a787(),this[_0x1b0c17(0x157)]=new _0x5f5192({'focusables':this[_0x1b0c17(0x12e)],'focusTracker':this[_0x1b0c17(0x152)],'keystrokeHandler':this[_0x1b0c17(0x12b)],'keystrokeHandlerOptions':{'filter':_0x1194d9=>_0x1194d9[_0x1b0c17(0x125)]!==this[_0x1b0c17(0x12d)]},'actions':{'focusPrevious':_0x1b0c17(0x129),'focusNext':_0x1b0c17(0x131)}});}[_0x34d51c(0x13f)](){const _0x3878f8=_0x34d51c;this[_0x3878f8(0x12d)][_0x3878f8(0x13f)]();}[_0x34d51c(0x10e)](){const _0x2e01f9=_0x34d51c;super[_0x2e01f9(0x10e)](),_0x401c0e(this,this[_0x2e01f9(0x12e)]);}async[_0x34d51c(0x122)](){const _0x31484b=_0x34d51c;this[_0x31484b(0x148)]=!0x1,this[_0x31484b(0x155)][_0x31484b(0x122)](),await this[_0x31484b(0x124)][_0x31484b(0x122)](),super[_0x31484b(0x122)]();}[_0x34d51c(0x12c)](){const _0x62fee9=_0x34d51c,_0x318929=new _0x49c204(this[_0x62fee9(0x138)],this[_0x62fee9(0x115)],this[_0x62fee9(0x127)][_0x62fee9(0x114)]),_0x2c8884=_0x318929[_0x62fee9(0x147)];return _0x318929[_0x62fee9(0x117)](_0x62fee9(0x120))['to'](this,_0x62fee9(0x13a),this[_0x62fee9(0x10f)],_0x62fee9(0x14f),this[_0x62fee9(0x10f)],_0x62fee9(0x11f),this[_0x62fee9(0x10f)],_0x62fee9(0x123),_0x2c8884,_0x62fee9(0x13e),(_0x4a3694,_0x596c92,_0x5ad340,_0x4cfbb3,_0x472c37)=>!!_0x472c37||!!_0x4cfbb3&&_0x5ad340&&!_0x596c92||_0x4a3694&&_0x5ad340&&!_0x596c92),_0x2c8884[_0x62fee9(0x117)](_0x62fee9(0x156))['to'](this,_0x62fee9(0x116),this[_0x62fee9(0x10f)],_0x62fee9(0x151),this[_0x62fee9(0x10f)],_0x62fee9(0x134),(_0x342da2,_0x2c0e8a,_0x577ac9)=>{const _0xfbe9fd=_0x62fee9;let _0x13808b;return _0x13808b=_0x577ac9&&_0x2c0e8a?_0xfbe9fd(0x159):_0x342da2?_0xfbe9fd(0x154):_0xfbe9fd(0x10b),_0x3fdeda(this[_0xfbe9fd(0x138)],_0x13808b);}),_0x2c8884[_0x62fee9(0x117)](_0x62fee9(0x143))['to'](this,_0x62fee9(0x116),_0x1bcb40=>_0x3fdeda(this[_0x62fee9(0x138)],_0x1bcb40?_0x62fee9(0x136):_0x62fee9(0x112))),_0x2c8884['on'](_0x62fee9(0x149),(_0x3533b3,_0x123e00)=>{const _0x503d1e=_0x62fee9;this[_0x503d1e(0x132)](_0x503d1e(0x150),_0x123e00),this[_0x503d1e(0x10f)][_0x503d1e(0x134)]&&this[_0x503d1e(0x10f)][_0x503d1e(0x151)]&&this[_0x503d1e(0x132)](_0x503d1e(0x130),this[_0x503d1e(0x10f)]['id']),this[_0x503d1e(0x10f)][_0x503d1e(0x10c)]||this[_0x503d1e(0x132)](_0x503d1e(0x146));}),_0x2c8884['on'](_0x62fee9(0x135),()=>{const _0x36413d=_0x62fee9;this[_0x36413d(0x13f)]();}),_0x2c8884[_0x62fee9(0x117)](_0x62fee9(0x141))['to'](this[_0x62fee9(0x10f)],_0x62fee9(0x14f)),_0x2c8884['on'](_0x62fee9(0x135),_0x44d224=>{const _0x201a12=_0x62fee9;0x0==this[_0x201a12(0x116)]&&(this[_0x201a12(0x132)](_0x201a12(0x14c)),_0x44d224[_0x201a12(0x113)]());}),this['on'](_0x62fee9(0x11b),(_0x33120e,_0x4c14e2,_0x42a8c1)=>{const _0x400de8=_0x62fee9;_0x42a8c1||this[_0x400de8(0x116)]||_0x2c8884[_0x400de8(0x13e)]||this[_0x400de8(0x132)](_0x400de8(0x14c));}),_0x318929;}}
|
|
@@ -16,7 +16,7 @@ import type { CommentViewConfig } from '../../../config.js';
|
|
|
16
16
|
*
|
|
17
17
|
* It provides some behaviors, flags and building blocks to use when creating a custom comment view class.
|
|
18
18
|
*/
|
|
19
|
-
export
|
|
19
|
+
export declare class BaseCommentView extends View implements FocusableView {
|
|
20
20
|
locale: Locale;
|
|
21
21
|
/**
|
|
22
22
|
* Informs whether the comment view is in the editing mode.
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ae2cf=_0x2b67;(function(_0x1fe789,_0x513d21){const _0x5adda3=_0x2b67,_0x4fc1c1=_0x1fe789();while(!![]){try{const _0x13c600=parseInt(_0x5adda3(0x1dc))/0x1+parseInt(_0x5adda3(0x1cd))/0x2+parseInt(_0x5adda3(0x1d1))/0x3+parseInt(_0x5adda3(0x1db))/0x4+parseInt(_0x5adda3(0x20e))/0x5*(-parseInt(_0x5adda3(0x222))/0x6)+-parseInt(_0x5adda3(0x205))/0x7+parseInt(_0x5adda3(0x1d3))/0x8*(-parseInt(_0x5adda3(0x1fe))/0x9);if(_0x13c600===_0x513d21)break;else _0x4fc1c1['push'](_0x4fc1c1['shift']());}catch(_0x145ae1){_0x4fc1c1['push'](_0x4fc1c1['shift']());}}}(_0x328c,0x55c83));import{View as _0x4b0816,ViewCollection as _0x2347e1,FocusCycler as _0x23a923}from'ckeditor5/src/ui.js';import{FocusTracker as _0x22edfb,KeystrokeHandler as _0x14a178}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0xb548bc,trimHtml as _0x53a7a3}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentContentView as _0x400224}from'./commentcontentview.js';function _0x2b67(_0x1b2db2,_0x5a0769){const _0x328c89=_0x328c();return _0x2b67=function(_0x2b679c,_0x3188b1){_0x2b679c=_0x2b679c-0x1cd;let _0x411df9=_0x328c89[_0x2b679c];return _0x411df9;},_0x2b67(_0x1b2db2,_0x5a0769);}function _0x328c(){const _0x366165=['focusCycler','locale','name','focusTracker','36435cOhXUb','fire','submit','@external','render','bind','isEditMode','_setupKeyboardNavigation','focusFirst','getExternalCommentNote','destroy','removed','added','listenTo','content','get','shift+tab','remove','submitLabel','delegate','156uAScwD','ariaDescriptionView','EXTERNAL_IMPORT_WORD_AVATAR','value','isExternal','915884AzadwO','ariaLabel','EXTERNAL_AVATAR','once','429813YzFsuR','change','2809272zjwjbH','set','maxCommentCharsWhenCollapsed','esc','_config','createCollection','visibleView','editorConfig','880512ggBxVZ','367711mSpopv','attributes','COMMENT_THREAD_DESCRIPTION','expand','editorReady','focusables','importWord','initialData','COMMENT_ARIA_LABEL','isSystemComment','isCollapsed','cancel','collapse','author','_createCommentContentView','add','switchToEditMode','tab','isReadOnly','keystrokes','creator','element','textContent','Save','text/html','EXTERNAL_IMPORT_WORD_COMMENT','switchToDisplayMode','disabledSubmit','body','enter','stopListening','EXTERNAL_COMMENT','_model','editorDestroyed','9aqqefy','parseFromString','updateComment','createEditor','formatDateTime','source','getUserViewNotificationText','2079476hhBPPA','_createCommentInputView','focus','target','authoredAt'];_0x328c=function(){return _0x366165;};return _0x328c();}import{CommentInputView as _0xa88c7a}from'./commentinputview.js';import{getTranslation as _0x1ee87e}from'../../../utils/common-translations.js';export class BaseCommentView extends _0x4b0816{[_0x1ae2cf(0x1d9)];[_0x1ae2cf(0x223)];[_0x1ae2cf(0x1e1)];[_0x1ae2cf(0x20d)];[_0x1ae2cf(0x1ef)];[_0x1ae2cf(0x20a)];[_0x1ae2cf(0x1fc)];[_0x1ae2cf(0x1d7)];constructor(_0x40dd73,_0x5a8414,_0x352dc5){const _0x4e59a7=_0x1ae2cf;super(_0x40dd73),this[_0x4e59a7(0x1fc)]=_0x5a8414,this[_0x4e59a7(0x1d7)]=_0x352dc5,this[_0x4e59a7(0x1e5)]=!!this[_0x4e59a7(0x1d7)][_0x4e59a7(0x1e5)],this[_0x4e59a7(0x1d4)](_0x4e59a7(0x214),!0x1),this[_0x4e59a7(0x1d4)](_0x4e59a7(0x1e6),!0x0),this[_0x4e59a7(0x213)](_0x4e59a7(0x1ce))['to'](_0x5a8414,_0x4e59a7(0x21c),_0x5a8414,_0x4e59a7(0x209),(_0x38cc53,_0x69daf3)=>_0x1ee87e(_0x40dd73,_0x4e59a7(0x1e4),[_0x5a8414[_0x4e59a7(0x1e9)][_0x4e59a7(0x20c)],_0x352dc5[_0x4e59a7(0x202)](_0x69daf3),new DOMParser()[_0x4e59a7(0x1ff)](_0x38cc53,_0x4e59a7(0x1f4))[_0x4e59a7(0x1f8)][_0x4e59a7(0x1f2)],_0x5a8414[_0x4e59a7(0x226)]?this[_0x4e59a7(0x217)]():''])),this[_0x4e59a7(0x223)]=new _0xb548bc(_0x40dd73,_0x1ee87e(_0x40dd73,_0x4e59a7(0x1de))),this[_0x4e59a7(0x1d9)]=this[_0x4e59a7(0x1d8)](),this[_0x4e59a7(0x1d9)][_0x4e59a7(0x1eb)](this[_0x4e59a7(0x1ea)]()),this[_0x4e59a7(0x1e1)]=new _0x2347e1(),this[_0x4e59a7(0x20d)]=new _0x22edfb(),this[_0x4e59a7(0x1ef)]=new _0x14a178(),this[_0x4e59a7(0x20a)]=new _0x23a923({'focusables':this[_0x4e59a7(0x1e1)],'focusTracker':this[_0x4e59a7(0x20d)],'keystrokeHandler':this[_0x4e59a7(0x1ef)],'keystrokeHandlerOptions':{'filter':_0x5c2cac=>_0x5c2cac[_0x4e59a7(0x208)]!==this[_0x4e59a7(0x1f1)]},'actions':{'focusPrevious':_0x4e59a7(0x21e),'focusNext':_0x4e59a7(0x1ed)}});}[_0x1ae2cf(0x1df)](){const _0x481dcc=_0x1ae2cf;this[_0x481dcc(0x1e6)]=!0x1;}[_0x1ae2cf(0x1e8)](){const _0x6b7d8e=_0x1ae2cf;this[_0x6b7d8e(0x214)]||(this[_0x6b7d8e(0x1e6)]=!0x0);}[_0x1ae2cf(0x207)](){const _0x46b6df=_0x1ae2cf;this[_0x46b6df(0x1f1)][_0x46b6df(0x207)]();}[_0x1ae2cf(0x212)](){const _0x3ad783=_0x1ae2cf;super[_0x3ad783(0x212)](),this[_0x3ad783(0x215)]();}async[_0x1ae2cf(0x218)](){const _0x354302=_0x1ae2cf;await this[_0x354302(0x1d9)][_0x354302(0x21d)](0x0)[_0x354302(0x218)](),super[_0x354302(0x218)]();}[_0x1ae2cf(0x1ec)](){const _0x35f5af=_0x1ae2cf;this[_0x35f5af(0x214)]||(this[_0x35f5af(0x214)]=!0x0,this[_0x35f5af(0x1d9)][_0x35f5af(0x21f)](0x0)[_0x35f5af(0x218)](),this[_0x35f5af(0x1d9)][_0x35f5af(0x1eb)](this[_0x35f5af(0x206)]()));}[_0x1ae2cf(0x1f6)](){const _0x5baa0a=_0x1ae2cf;this[_0x5baa0a(0x214)]&&(this[_0x5baa0a(0x214)]=!0x1,this[_0x5baa0a(0x1d9)][_0x5baa0a(0x21f)](0x0)[_0x5baa0a(0x218)](),this[_0x5baa0a(0x1d9)][_0x5baa0a(0x1eb)](this[_0x5baa0a(0x1ea)]()));}[_0x1ae2cf(0x217)](){const _0x2b8c0a=_0x1ae2cf;return _0x2b8c0a(0x1e2)===this[_0x2b8c0a(0x1fc)][_0x2b8c0a(0x1dd)][_0x2b8c0a(0x211)][_0x2b8c0a(0x203)]?_0x1ee87e(this[_0x2b8c0a(0x20b)],_0x2b8c0a(0x1f5)):_0x1ee87e(this[_0x2b8c0a(0x20b)],_0x2b8c0a(0x1fb));}[_0x1ae2cf(0x204)](){const _0xe1f138=_0x1ae2cf;return this[_0xe1f138(0x1fc)][_0xe1f138(0x226)]?_0xe1f138(0x1e2)===this[_0xe1f138(0x1fc)][_0xe1f138(0x1dd)][_0xe1f138(0x211)][_0xe1f138(0x203)]?_0x1ee87e(this[_0xe1f138(0x20b)],_0xe1f138(0x224),this[_0xe1f138(0x1fc)][_0xe1f138(0x1f0)][_0xe1f138(0x20c)]):_0x1ee87e(this[_0xe1f138(0x20b)],_0xe1f138(0x1cf),this[_0xe1f138(0x1fc)][_0xe1f138(0x1f0)][_0xe1f138(0x20c)]):null;}[_0x1ae2cf(0x1ea)](){const _0x1ba7a2=_0x1ae2cf,_0x3bf2cc=new _0x400224(this[_0x1ba7a2(0x20b)]);return _0x3bf2cc[_0x1ba7a2(0x213)](_0x1ba7a2(0x21c))['to'](this[_0x1ba7a2(0x1fc)],_0x1ba7a2(0x21c),this,_0x1ba7a2(0x1e6),(_0x227743,_0x508ec6)=>_0x508ec6?_0x53a7a3(_0x227743,{'limit':this[_0x1ba7a2(0x1d7)][_0x1ba7a2(0x1d5)]}):_0x227743),_0x3bf2cc;}[_0x1ae2cf(0x206)](){const _0x3fe3be=_0x1ae2cf;this[_0x3fe3be(0x1d7)][_0x3fe3be(0x1da)]||(this[_0x3fe3be(0x1d7)][_0x3fe3be(0x1da)]={}),this[_0x3fe3be(0x1d7)][_0x3fe3be(0x1da)][_0x3fe3be(0x1e3)]=this[_0x3fe3be(0x1fc)][_0x3fe3be(0x21c)];const _0x506d69=new _0xa88c7a(this[_0x3fe3be(0x20b)],this[_0x3fe3be(0x1d7)][_0x3fe3be(0x1da)]);return _0x506d69[_0x3fe3be(0x225)]=this[_0x3fe3be(0x1fc)][_0x3fe3be(0x21c)],_0x506d69[_0x3fe3be(0x213)](_0x3fe3be(0x1f7))['to'](this[_0x3fe3be(0x1fc)],_0x3fe3be(0x1ee)),_0x506d69[_0x3fe3be(0x220)]=_0x1ee87e(this[_0x3fe3be(0x20b)],_0x3fe3be(0x1f3)),_0x506d69['on'](_0x3fe3be(0x210),(_0x88e560,_0x419637)=>{const _0x2b1ba3=_0x3fe3be;this[_0x2b1ba3(0x20f)](_0x2b1ba3(0x200),this[_0x2b1ba3(0x1fc)]['id'],_0x419637),this[_0x2b1ba3(0x1f6)](),this[_0x2b1ba3(0x207)]();}),_0x506d69['on'](_0x3fe3be(0x1e7),()=>{const _0x5b77a5=_0x3fe3be;this[_0x5b77a5(0x1f6)](),this[_0x5b77a5(0x207)]();}),_0x506d69[_0x3fe3be(0x1d0)](_0x3fe3be(0x1e0),()=>{const _0x3f64ab=_0x3fe3be;_0x506d69[_0x3f64ab(0x207)]();}),_0x506d69[_0x3fe3be(0x201)](),_0x506d69[_0x3fe3be(0x221)](_0x3fe3be(0x1e0))['to'](this),_0x506d69[_0x3fe3be(0x221)](_0x3fe3be(0x1fd))['to'](this),_0x506d69;}[_0x1ae2cf(0x215)](){const _0x42aad3=_0x1ae2cf,_0x41180f=this[_0x42aad3(0x1f1)];this[_0x42aad3(0x1ef)][_0x42aad3(0x21b)](_0x41180f);for(const _0x417e21 of this[_0x42aad3(0x1e1)])this[_0x42aad3(0x20d)][_0x42aad3(0x1eb)](_0x417e21[_0x42aad3(0x1f1)]),this[_0x42aad3(0x1ef)][_0x42aad3(0x21b)](_0x417e21[_0x42aad3(0x1f1)]);this[_0x42aad3(0x1e1)]['on'](_0x42aad3(0x1d2),(_0x399123,_0x13b364)=>{const _0x1f0e0d=_0x42aad3;for(const _0x13ddf0 of _0x13b364[_0x1f0e0d(0x219)])this[_0x1f0e0d(0x20d)][_0x1f0e0d(0x21f)](_0x13ddf0[_0x1f0e0d(0x1f1)]),this[_0x1f0e0d(0x1ef)][_0x1f0e0d(0x1fa)](_0x13ddf0[_0x1f0e0d(0x1f1)]);for(const _0xb5ec87 of _0x13b364[_0x1f0e0d(0x21a)])this[_0x1f0e0d(0x20d)][_0x1f0e0d(0x1eb)](_0xb5ec87[_0x1f0e0d(0x1f1)]),this[_0x1f0e0d(0x1ef)][_0x1f0e0d(0x21b)](_0xb5ec87[_0x1f0e0d(0x1f1)]);}),this[_0x42aad3(0x1ef)][_0x42aad3(0x1d4)](_0x42aad3(0x1f9),(_0xc54348,_0x13376a)=>{const _0x59badd=_0x42aad3;_0x41180f===_0xc54348[_0x59badd(0x208)]&&(this[_0x59badd(0x20a)][_0x59badd(0x216)](),_0x13376a());}),this[_0x42aad3(0x1ef)][_0x42aad3(0x1d4)](_0x42aad3(0x1d6),(_0xf3c3a5,_0x487c2f)=>{const _0x2eedf1=_0x42aad3;_0x41180f!==_0xf3c3a5[_0x2eedf1(0x208)]&&(this[_0x2eedf1(0x207)](),_0x487c2f());});}}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { View } from 'ckeditor5/src/ui.js';
|
|
9
9
|
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
10
|
-
export
|
|
10
|
+
export declare class CollapsedCommentsView extends View {
|
|
11
11
|
count: number | undefined;
|
|
12
12
|
constructor(locale: Locale);
|
|
13
13
|
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x33c73a,_0x6dcff){const _0x9ebaa1=_0x22b4,_0x4470ba=_0x33c73a();while(!![]){try{const _0x380cfd=parseInt(_0x9ebaa1(0x13d))/0x1+parseInt(_0x9ebaa1(0x143))/0x2+-parseInt(_0x9ebaa1(0x13b))/0x3*(-parseInt(_0x9ebaa1(0x144))/0x4)+parseInt(_0x9ebaa1(0x13a))/0x5+-parseInt(_0x9ebaa1(0x145))/0x6+parseInt(_0x9ebaa1(0x137))/0x7+-parseInt(_0x9ebaa1(0x13c))/0x8*(parseInt(_0x9ebaa1(0x13f))/0x9);if(_0x380cfd===_0x6dcff)break;else _0x4470ba['push'](_0x4470ba['shift']());}catch(_0x45e6e7){_0x4470ba['push'](_0x4470ba['shift']());}}}(_0x3213,0xda566));import{View as _0x3f335c}from'ckeditor5/src/ui.js';function _0x3213(){const _0x2c5b0b=['ck-thread__comment-count','NUMBER_OF_COMMENTS','1069576KZBQno','8smKOZH','9410934qBEOMd','12440197ReVuYF','setTemplate','bindTemplate','5233170UnvkXT','1378959wNkjBc','16tnOpbh','474936axdWov','count','10305162MGFPJb','set'];_0x3213=function(){return _0x2c5b0b;};return _0x3213();}import{getTranslation as _0xa49bd3}from'../../../utils/common-translations.js';function _0x22b4(_0x59c99c,_0x2ab47e){const _0x3213b1=_0x3213();return _0x22b4=function(_0x22b4cb,_0x579830){_0x22b4cb=_0x22b4cb-0x137;let _0x14806d=_0x3213b1[_0x22b4cb];return _0x14806d;},_0x22b4(_0x59c99c,_0x2ab47e);}export class CollapsedCommentsView extends _0x3f335c{constructor(_0x26be03){const _0x5ea900=_0x22b4;super(_0x26be03);const _0x244bbe=this[_0x5ea900(0x139)];this[_0x5ea900(0x140)](_0x5ea900(0x13e),void 0x0),this[_0x5ea900(0x138)]({'tag':'li','attributes':{'class':_0x5ea900(0x141)},'children':[{'text':_0x244bbe['to'](_0x5ea900(0x13e),_0x23fd94=>_0xa49bd3(_0x26be03,_0x5ea900(0x142),_0x23fd94))}]});}}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { View } from 'ckeditor5/src/ui.js';
|
|
9
9
|
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
10
|
-
export
|
|
10
|
+
export declare class CommentContentView extends View {
|
|
11
11
|
content: string;
|
|
12
12
|
constructor(locale: Locale);
|
|
13
13
|
render(): void;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x502a87=_0x4257;(function(_0x5099d7,_0x1e4b46){var _0xce0d79=_0x4257,_0x12a0fe=_0x5099d7();while(!![]){try{var _0x445e51=-parseInt(_0xce0d79(0x188))/0x1+parseInt(_0xce0d79(0x17c))/0x2*(parseInt(_0xce0d79(0x178))/0x3)+parseInt(_0xce0d79(0x17d))/0x4+parseInt(_0xce0d79(0x185))/0x5+parseInt(_0xce0d79(0x18c))/0x6*(parseInt(_0xce0d79(0x17e))/0x7)+-parseInt(_0xce0d79(0x184))/0x8*(-parseInt(_0xce0d79(0x183))/0x9)+-parseInt(_0xce0d79(0x18a))/0xa;if(_0x445e51===_0x1e4b46)break;else _0x12a0fe['push'](_0x12a0fe['shift']());}catch(_0x27f8e0){_0x12a0fe['push'](_0x12a0fe['shift']());}}}(_0xdb18,0xc89d4));import{View as _0x4d1415}from'ckeditor5/src/ui.js';function _0x4257(_0x21e4b3,_0x407a6b){var _0xdb189=_0xdb18();return _0x4257=function(_0x425719,_0x439941){_0x425719=_0x425719-0x178;var _0x107797=_0xdb189[_0x425719];return _0x107797;},_0x4257(_0x21e4b3,_0x407a6b);}function _0xdb18(){var _0x3b5b83=['setTemplate','20117450kZGoMT','change:content','14754CuxPeq','33PZWCgp','element','ck-annotation__content','set','231230oNeqiB','4522108UsFSpy','3311iINCCW','render','ck-content','ck-comment__content','innerHTML','27przqKh','526776jErbXD','1870205PKLACD','div','content','1303520ZdEDBB'];_0xdb18=function(){return _0x3b5b83;};return _0xdb18();}export class CommentContentView extends _0x4d1415{constructor(_0x5e790e){var _0x188957=_0x4257;super(_0x5e790e),this[_0x188957(0x17b)](_0x188957(0x187),''),this[_0x188957(0x189)]({'tag':_0x188957(0x186),'attributes':{'class':[_0x188957(0x180),_0x188957(0x181),_0x188957(0x17a)]}});}[_0x502a87(0x17f)](){var _0x4ac9ff=_0x502a87;super[_0x4ac9ff(0x17f)](),this['on'](_0x4ac9ff(0x18b),(_0x1fc38e,_0x28469b,_0x4ebb14)=>{var _0x3a99bd=_0x4ac9ff;this[_0x3a99bd(0x179)][_0x3a99bd(0x182)]=_0x4ebb14;}),this[_0x4ac9ff(0x179)][_0x4ac9ff(0x182)]=this[_0x4ac9ff(0x187)];}}
|
|
@@ -7,16 +7,16 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { View, FocusCycler, ButtonView, type FocusableView, type ViewCollection } from 'ckeditor5/src/ui.js';
|
|
9
9
|
import { FocusTracker, KeystrokeHandler, type Locale } from 'ckeditor5/src/utils.js';
|
|
10
|
-
import {
|
|
11
|
-
import CommentEditor from '../commenteditor/commenteditor.js';
|
|
10
|
+
import type { EditorConfig } from 'ckeditor5/src/core.js';
|
|
11
|
+
import { CommentEditor } from '../commenteditor/commenteditor.js';
|
|
12
12
|
/**
|
|
13
13
|
* A view for the comment input section that includes a comment editor.
|
|
14
14
|
*/
|
|
15
|
-
export
|
|
15
|
+
export declare class CommentInputView extends View {
|
|
16
16
|
/**
|
|
17
17
|
* Comment editor.
|
|
18
18
|
*/
|
|
19
|
-
editor: CommentEditor
|
|
19
|
+
editor: CommentEditor | null;
|
|
20
20
|
/**
|
|
21
21
|
* The input value (comment editor content).
|
|
22
22
|
*
|