@ckeditor/ckeditor5-comments 0.0.0-nightly-20231215.0 → 0.0.0-nightly-20231217.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.
Files changed (85) hide show
  1. package/build/comments.js +1 -1
  2. package/package.json +4 -3
  3. package/src/annotations/annotation.d.ts +6 -6
  4. package/src/annotations/annotation.js +1 -1
  5. package/src/annotations/annotationcollection.d.ts +3 -3
  6. package/src/annotations/annotationcollection.js +1 -1
  7. package/src/annotations/annotations.d.ts +6 -6
  8. package/src/annotations/annotations.js +1 -1
  9. package/src/annotations/annotationsuis.d.ts +5 -5
  10. package/src/annotations/annotationsuis.js +1 -1
  11. package/src/annotations/editorannotations.d.ts +4 -4
  12. package/src/annotations/editorannotations.js +1 -1
  13. package/src/annotations/inlineannotations.d.ts +6 -6
  14. package/src/annotations/inlineannotations.js +1 -1
  15. package/src/annotations/narrowsidebar.d.ts +6 -6
  16. package/src/annotations/narrowsidebar.js +1 -1
  17. package/src/annotations/sidebar.d.ts +5 -5
  18. package/src/annotations/sidebar.js +1 -1
  19. package/src/annotations/view/annotationcounterbuttonview.d.ts +2 -2
  20. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  21. package/src/annotations/view/annotationview.d.ts +2 -2
  22. package/src/annotations/view/annotationview.js +1 -1
  23. package/src/annotations/view/sidebaritemview.d.ts +2 -2
  24. package/src/annotations/view/sidebaritemview.js +1 -1
  25. package/src/annotations/view/sidebarview.d.ts +2 -2
  26. package/src/annotations/view/sidebarview.js +1 -1
  27. package/src/annotations/widesidebar.d.ts +5 -5
  28. package/src/annotations/widesidebar.js +1 -1
  29. package/src/augmentation.d.ts +1 -1
  30. package/src/comments/addcommentthreadcommand.d.ts +1 -1
  31. package/src/comments/addcommentthreadcommand.js +1 -1
  32. package/src/comments/commentsarchive.d.ts +4 -4
  33. package/src/comments/commentsarchive.js +1 -1
  34. package/src/comments/commentsarchiveui.d.ts +5 -5
  35. package/src/comments/commentsarchiveui.js +1 -1
  36. package/src/comments/commentsediting.d.ts +6 -6
  37. package/src/comments/commentsediting.js +1 -1
  38. package/src/comments/commentsrepository.d.ts +11 -11
  39. package/src/comments/commentsrepository.js +1 -1
  40. package/src/comments/commentsui.d.ts +5 -5
  41. package/src/comments/commentsui.js +1 -1
  42. package/src/comments/integrations/commentsrestrictededitingmode.d.ts +1 -1
  43. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  44. package/src/comments/integrations/importword.d.ts +1 -1
  45. package/src/comments/integrations/importword.js +1 -1
  46. package/src/comments/ui/commenteditor/commenteditor.d.ts +4 -4
  47. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  48. package/src/comments/ui/commenteditor/commenteditorui.d.ts +3 -3
  49. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  50. package/src/comments/ui/commenteditor/commenteditoruiview.d.ts +3 -3
  51. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  52. package/src/comments/ui/commentthreadcontroller.d.ts +4 -4
  53. package/src/comments/ui/commentthreadcontroller.js +1 -1
  54. package/src/comments/ui/view/basecommentthreadview.d.ts +8 -8
  55. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  56. package/src/comments/ui/view/basecommentview.d.ts +4 -4
  57. package/src/comments/ui/view/basecommentview.js +1 -1
  58. package/src/comments/ui/view/collapsedcommentsview.d.ts +2 -2
  59. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  60. package/src/comments/ui/view/commentcontentview.d.ts +2 -2
  61. package/src/comments/ui/view/commentcontentview.js +1 -1
  62. package/src/comments/ui/view/commentinputview.d.ts +4 -4
  63. package/src/comments/ui/view/commentinputview.js +1 -1
  64. package/src/comments/ui/view/commentsarchiveview.d.ts +3 -3
  65. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  66. package/src/comments/ui/view/commentslistview.d.ts +5 -5
  67. package/src/comments/ui/view/commentslistview.js +1 -1
  68. package/src/comments/ui/view/commentthreadheaderview.d.ts +3 -3
  69. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  70. package/src/comments/ui/view/commentthreadinputview.d.ts +5 -5
  71. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  72. package/src/comments/ui/view/commentthreadview.d.ts +7 -7
  73. package/src/comments/ui/view/commentthreadview.js +1 -1
  74. package/src/comments/ui/view/commentview.d.ts +8 -8
  75. package/src/comments/ui/view/commentview.js +1 -1
  76. package/src/comments.d.ts +10 -10
  77. package/src/comments.js +1 -1
  78. package/src/commentsonly.d.ts +2 -2
  79. package/src/commentsonly.js +1 -1
  80. package/src/config.d.ts +3 -3
  81. package/src/index.d.ts +20 -20
  82. package/src/index.js +1 -1
  83. package/src/utils/common-translations.d.ts +1 -1
  84. package/src/utils/common-translations.js +1 -1
  85. package/src/utils/createmutationobserver.js +1 -1
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module comments/comments/integrations/commentsrestrictededitingmode
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides comments plugin integration for restricted editing mode feature from restricted editing package.
11
11
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x38d6=['addCommentThread','editor','get','RestrictedEditingModeEditing','plugins','afterInit','has','enableCommand'];(function(_0x4fa7bd,_0x38d63a){const _0x10d847=function(_0x3d9295){while(--_0x3d9295){_0x4fa7bd['push'](_0x4fa7bd['shift']());}};_0x10d847(++_0x38d63a);}(_0x38d6,0x1b2));const _0x10d8=function(_0x4fa7bd,_0x38d63a){_0x4fa7bd=_0x4fa7bd-0x0;let _0x10d847=_0x38d6[_0x4fa7bd];return _0x10d847;};import{Plugin as _0x4a1d4a}from'ckeditor5/src/core';export default class Y extends _0x4a1d4a{[_0x10d8('0x3')](){const _0x91415f=this[_0x10d8('0x7')];if(!_0x91415f[_0x10d8('0x2')][_0x10d8('0x4')](_0x10d8('0x1')))return;_0x91415f['plugins'][_0x10d8('0x0')](_0x10d8('0x1'))[_0x10d8('0x5')](_0x10d8('0x6'));}}
23
+ const _0x4b40=['RestrictedEditingModeEditing','enableCommand','has','addCommentThread','afterInit','get','plugins'];(function(_0x101e0e,_0x4b40a6){const _0x51c5e3=function(_0x295b92){while(--_0x295b92){_0x101e0e['push'](_0x101e0e['shift']());}};_0x51c5e3(++_0x4b40a6);}(_0x4b40,0xa7));const _0x51c5=function(_0x101e0e,_0x4b40a6){_0x101e0e=_0x101e0e-0x0;let _0x51c5e3=_0x4b40[_0x101e0e];return _0x51c5e3;};import{Plugin as _0x53cf2a}from'ckeditor5/src/core.js';export default class Y extends _0x53cf2a{[_0x51c5('0x5')](){const _0x302a88=this['editor'];if(!_0x302a88[_0x51c5('0x0')][_0x51c5('0x3')](_0x51c5('0x1')))return;_0x302a88[_0x51c5('0x0')][_0x51c5('0x6')](_0x51c5('0x1'))[_0x51c5('0x2')](_0x51c5('0x4'));}}
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module comments/integrations/importword
7
7
  */
8
- import { Plugin, type Editor } from 'ckeditor5/src/core';
8
+ import { Plugin, type Editor } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides comments plugin integration for the import from Word feature.
11
11
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x439e=['listenTo','execute','config','plugins','get','forEach','editor','_handleImportedData','addCommentThread','afterInit','commands','collaboration.channelId','importWord','high','basic','dataInsert','collaboration_features'];(function(_0x4405c4,_0x439e66){const _0x19c380=function(_0x315b8b){while(--_0x315b8b){_0x4405c4['push'](_0x4405c4['shift']());}};_0x19c380(++_0x439e66);}(_0x439e,0x182));const _0x19c3=function(_0x4405c4,_0x439e66){_0x4405c4=_0x4405c4-0x0;let _0x19c380=_0x439e[_0x4405c4];return _0x19c380;};import{Plugin as _0x141b2c}from'ckeditor5/src/core';import{priorities as _0x554702}from'ckeditor5/src/utils';import{Users as _0x923608}from'ckeditor5-collaboration/src/collaboration-core';import _0x1775f1 from'../commentsrepository';export default class Z extends _0x141b2c{constructor(_0x59121d){super(_0x59121d),this[_0x19c3('0xb')][_0x19c3('0x7')]['define']('importWord.formatting.comments',_0x19c3('0x2'));}[_0x19c3('0xe')](){const _0x2befba=this[_0x19c3('0xb')],_0x3c4768=_0x2befba[_0x19c3('0xf')][_0x19c3('0x9')](_0x19c3('0x0')),_0x3afa87=_0x2befba[_0x19c3('0x8')][_0x19c3('0x9')](_0x923608);_0x3c4768&&(_0x3c4768['on'](_0x19c3('0x6'),(_0x111306,[,_0x4db80f])=>{_0x4db80f[_0x19c3('0x4')]={'comments':!0x0,'user_id':_0x3afa87['me']['id']};},{'priority':_0x554702[_0x19c3('0x1')]+0xa}),this[_0x19c3('0x5')](_0x3c4768,_0x19c3('0x3'),this[_0x19c3('0xc')]));}['_handleImportedData'](_0x578d8d,_0x14b3e5){const {comment_threads:_0x4e588d}=_0x14b3e5;_0x4e588d&&_0x4e588d[_0x19c3('0xa')](({thread_id:_0x29daaf,comments:_0x222a76,is_resolved:_0x3ff967})=>{const _0x57a1a9=new Date(),_0x595f7b=_0x222a76['map'](({author:_0xd88369,content:_0x2c6396,created_at:_0x88f093})=>({'content':_0x2c6396,'authorId':this[_0x19c3('0xb')][_0x19c3('0x8')]['get'](_0x923608)['me']['id'],'createdAt':_0x57a1a9,'attributes':{'@external':{'authorName':_0xd88369,'createdAt':_0x88f093?new Date(_0x88f093):new Date(),'source':_0x19c3('0x0')}}})),_0x3bf564=this['editor'][_0x19c3('0x7')][_0x19c3('0x9')](_0x19c3('0x10'));this['editor']['plugins'][_0x19c3('0x9')](_0x1775f1)[_0x19c3('0xd')]({'channelId':_0x3bf564,'threadId':_0x29daaf,'comments':_0x595f7b,'resolvedAt':_0x3ff967?_0x57a1a9:null});});}}
23
+ const _0x53fd=['importWord.formatting.comments','plugins','editor','map','importWord','basic','collaboration.channelId','commands','define','dataInsert','afterInit','_handleImportedData','forEach','get','high'];(function(_0x2862e3,_0x53fdae){const _0x245816=function(_0x497f89){while(--_0x497f89){_0x2862e3['push'](_0x2862e3['shift']());}};_0x245816(++_0x53fdae);}(_0x53fd,0x10d));const _0x2458=function(_0x2862e3,_0x53fdae){_0x2862e3=_0x2862e3-0x0;let _0x245816=_0x53fd[_0x2862e3];return _0x245816;};import{Plugin as _0x1d47f0}from'ckeditor5/src/core.js';import{priorities as _0x41d9c4}from'ckeditor5/src/utils.js';import{Users as _0x2d70b0}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2bb2ed from'../commentsrepository.js';export default class Z extends _0x1d47f0{constructor(_0x2ddb49){super(_0x2ddb49),this[_0x2458('0x3')]['config'][_0x2458('0x9')](_0x2458('0x1'),_0x2458('0x6'));}[_0x2458('0xb')](){const _0x34a987=this['editor'],_0x4533d9=_0x34a987[_0x2458('0x8')][_0x2458('0xe')](_0x2458('0x5')),_0x52a5c5=_0x34a987[_0x2458('0x2')][_0x2458('0xe')](_0x2d70b0);_0x4533d9&&(_0x4533d9['on']('execute',(_0x1fea02,[,_0x3d678b])=>{_0x3d678b['collaboration_features']={'comments':!0x0,'user_id':_0x52a5c5['me']['id']};},{'priority':_0x41d9c4[_0x2458('0x0')]+0xa}),this['listenTo'](_0x4533d9,_0x2458('0xa'),this[_0x2458('0xc')]));}[_0x2458('0xc')](_0x65c7c1,_0x3a27d3){const {comment_threads:_0x1c9082}=_0x3a27d3;_0x1c9082&&_0x1c9082[_0x2458('0xd')](({thread_id:_0x1f532a,comments:_0x437c98,is_resolved:_0x5dd3b7})=>{const _0x3fbcc0=new Date(),_0x566dc1=_0x437c98[_0x2458('0x4')](({author:_0x4f69fc,content:_0x588272,created_at:_0x40e401})=>({'content':_0x588272,'authorId':this[_0x2458('0x3')][_0x2458('0x2')]['get'](_0x2d70b0)['me']['id'],'createdAt':_0x3fbcc0,'attributes':{'@external':{'authorName':_0x4f69fc,'createdAt':_0x40e401?new Date(_0x40e401):new Date(),'source':_0x2458('0x5')}}})),_0x5b5cf9=this['editor']['config'][_0x2458('0xe')](_0x2458('0x7'));this[_0x2458('0x3')][_0x2458('0x2')][_0x2458('0xe')](_0x2bb2ed)['addCommentThread']({'channelId':_0x5b5cf9,'threadId':_0x1f532a,'comments':_0x566dc1,'resolvedAt':_0x5dd3b7?_0x3fbcc0:null});});}}
@@ -5,10 +5,10 @@
5
5
  /**
6
6
  * @module comments/comments/ui/commenteditor/commenteditor
7
7
  */
8
- import { Editor, type EditorConfig } from 'ckeditor5/src/core';
9
- import CommentEditorUI from './commenteditorui';
10
- import { type PlaceholderableElement } from 'ckeditor5/src/engine';
11
- declare const CommentEditor_base: import("ckeditor5/src/utils").Mixed<import("ckeditor5/src/utils").Mixed<typeof Editor, import("ckeditor5/src/core").DataApi>, import("ckeditor5/src/utils").Observable>;
8
+ import { Editor, type EditorConfig } from 'ckeditor5/src/core.js';
9
+ import CommentEditorUI from './commenteditorui.js';
10
+ import { type PlaceholderableElement } from 'ckeditor5/src/engine.js';
11
+ declare const CommentEditor_base: import("ckeditor5/src/utils.js").Mixed<import("ckeditor5/src/utils.js").Mixed<typeof Editor, import("ckeditor5/src/core.js").DataApi>, import("ckeditor5/src/utils.js").Observable>;
12
12
  export default class CommentEditor extends CommentEditor_base {
13
13
  static defaultPlugins: EditorConfig['plugins'];
14
14
  /**
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5f3d=['data','set','initPlugins','document','placeholder','placeholderElement','defaultPlugins','init','editing','change','destroy','getChild','_updatePlaceholder','change:placeholder','focus','config','model','createRoot','get','plugins','name','assign','view','getRoot','then','setSelection','end','create','childCount','initialData'];(function(_0x1e843a,_0x5f3de9){const _0x29fdf3=function(_0x5806bd){while(--_0x5806bd){_0x1e843a['push'](_0x1e843a['shift']());}};_0x29fdf3(++_0x5f3de9);}(_0x5f3d,0x6b));const _0x29fd=function(_0x1e843a,_0x5f3de9){_0x1e843a=_0x1e843a-0x0;let _0x29fdf3=_0x5f3d[_0x1e843a];return _0x29fdf3;};import{Editor as _0x540e97,DataApiMixin as _0xd27052}from'ckeditor5/src/core';import _0x11da90 from'./commenteditorui';import{ObservableMixin as _0x9f2eb3}from'ckeditor5/src/utils';import{enablePlaceholder as _0x667081,disablePlaceholder as _0x150cc0}from'ckeditor5/src/engine';import{Clipboard as _0x2b975b}from'ckeditor5/src/clipboard';import{Enter as _0x406c05,ShiftEnter as _0x417bca}from'ckeditor5/src/enter';import{SelectAll as _0x59d34d}from'ckeditor5/src/select-all';import{Typing as _0x38be57}from'ckeditor5/src/typing';import{Undo as _0x4f3b97}from'ckeditor5/src/undo';import{Paragraph as _0x1711cb}from'ckeditor5/src/paragraph';const Mt=[_0x2b975b,_0x406c05,_0x417bca,_0x59d34d,_0x38be57,_0x4f3b97,_0x1711cb];export default class Nt extends _0x9f2eb3(_0xd27052(_0x540e97)){constructor(_0x28ce0a={}){(_0x28ce0a=Object[_0x29fd('0x4')]({},_0x28ce0a))[_0x29fd('0x2')]||(_0x28ce0a[_0x29fd('0x2')]=Nt[_0x29fd('0x13')]),super(_0x28ce0a),this['ui']=new _0x11da90(this),this[_0x29fd('0xe')](_0x29fd('0x11'),''),this[_0x29fd('0x1d')]['document']['on'](_0x29fd('0x16'),()=>this['_updatePlaceholder'](),{'priority':'low'}),this['on'](_0x29fd('0x1a'),()=>this['_updatePlaceholder']()),this[_0x29fd('0x1d')][_0x29fd('0x10')][_0x29fd('0x0')]();}[_0x29fd('0xa')](){const _0x1a4709=this[_0x29fd('0x1c')][_0x29fd('0x1')](_0x29fd('0xc'))||'';return this[_0x29fd('0xf')]()[_0x29fd('0x7')](()=>this['ui'][_0x29fd('0x14')]())[_0x29fd('0x7')](()=>this[_0x29fd('0xd')][_0x29fd('0x14')](_0x1a4709))['then'](()=>this['fire']('ready'));}['destroy'](){return super[_0x29fd('0x17')]()['then'](()=>this['ui'][_0x29fd('0x17')]());}['focus'](){this[_0x29fd('0x1d')][_0x29fd('0x16')](_0x4a46d7=>{const _0x3fe48a=this['model'][_0x29fd('0x10')][_0x29fd('0x6')](),_0x51e9c2=_0x3fe48a&&_0x3fe48a['getChild'](_0x3fe48a['childCount']-0x1);_0x4a46d7[_0x29fd('0x8')](_0x51e9c2,_0x29fd('0x9')),this[_0x29fd('0x15')][_0x29fd('0x5')][_0x29fd('0x1b')]();});}[_0x29fd('0x19')](){const _0xcc230c=this[_0x29fd('0x15')][_0x29fd('0x5')],_0x4559bb=_0xcc230c[_0x29fd('0x10')]['getRoot'](),_0x24afbe=_0x4559bb[_0x29fd('0x18')](0x0);_0x4559bb[_0x29fd('0xb')]>0x1||!_0x24afbe||'p'!=_0x24afbe[_0x29fd('0x3')]?this['placeholderElement']&&this[_0x29fd('0x12')]['placeholder']&&(_0x150cc0(_0xcc230c,this[_0x29fd('0x12')]),this[_0x29fd('0x12')]=void 0x0):(this['placeholder']&&(_0x24afbe[_0x29fd('0x11')]=this['placeholder']),_0x667081({'view':_0xcc230c,'element':_0x24afbe,'keepOnFocus':!0x0}),this[_0x29fd('0x12')]=_0x24afbe);}}Nt[_0x29fd('0x13')]=Mt;
23
+ const _0x3379=['focus','end','init','view','plugins','childCount','assign','ready','document','model','then','editing','getRoot','setSelection','create','name','low','_updatePlaceholder','defaultPlugins','change:placeholder','change','createRoot','placeholderElement','destroy','data','get','placeholder'];(function(_0x1d4af1,_0x3379d6){const _0x115cc3=function(_0x3ffbc5){while(--_0x3ffbc5){_0x1d4af1['push'](_0x1d4af1['shift']());}};_0x115cc3(++_0x3379d6);}(_0x3379,0xdf));const _0x115c=function(_0x1d4af1,_0x3379d6){_0x1d4af1=_0x1d4af1-0x0;let _0x115cc3=_0x3379[_0x1d4af1];return _0x115cc3;};import{Editor as _0x3248f7,DataApiMixin as _0x55f583}from'ckeditor5/src/core.js';import _0x121164 from'./commenteditorui.js';import{ObservableMixin as _0x50d66f}from'ckeditor5/src/utils.js';import{enablePlaceholder as _0xb08433,disablePlaceholder as _0x82001f}from'ckeditor5/src/engine.js';import{Clipboard as _0x1fe776}from'ckeditor5/src/clipboard.js';import{Enter as _0x423c51,ShiftEnter as _0x510058}from'ckeditor5/src/enter.js';import{SelectAll as _0x20341f}from'ckeditor5/src/select-all.js';import{Typing as _0x2b7f8b}from'ckeditor5/src/typing.js';import{Undo as _0x2aa1c}from'ckeditor5/src/undo.js';import{Paragraph as _0x162a49}from'ckeditor5/src/paragraph.js';const Mt=[_0x1fe776,_0x423c51,_0x510058,_0x20341f,_0x2b7f8b,_0x2aa1c,_0x162a49];export default class Nt extends _0x50d66f(_0x55f583(_0x3248f7)){constructor(_0x1635c9={}){(_0x1635c9=Object[_0x115c('0x1a')]({},_0x1635c9))[_0x115c('0x18')]||(_0x1635c9[_0x115c('0x18')]=Nt['defaultPlugins']),super(_0x1635c9),this['ui']=new _0x121164(this),this['set']('placeholder',''),this['model']['document']['on'](_0x115c('0xd'),()=>this[_0x115c('0xa')](),{'priority':_0x115c('0x9')}),this['on'](_0x115c('0xc'),()=>this[_0x115c('0xa')]()),this[_0x115c('0x2')][_0x115c('0x1')][_0x115c('0xe')]();}[_0x115c('0x7')](){const _0x548f8b=this['config'][_0x115c('0x12')]('initialData')||'';return this['initPlugins']()['then'](()=>this['ui'][_0x115c('0x16')]())[_0x115c('0x3')](()=>this[_0x115c('0x11')][_0x115c('0x16')](_0x548f8b))['then'](()=>this['fire'](_0x115c('0x0')));}['destroy'](){return super['destroy']()['then'](()=>this['ui'][_0x115c('0x10')]());}[_0x115c('0x14')](){this[_0x115c('0x2')]['change'](_0x626a7f=>{const _0xfdcf7a=this[_0x115c('0x2')][_0x115c('0x1')]['getRoot'](),_0x530c64=_0xfdcf7a&&_0xfdcf7a['getChild'](_0xfdcf7a['childCount']-0x1);_0x626a7f[_0x115c('0x6')](_0x530c64,_0x115c('0x15')),this[_0x115c('0x4')][_0x115c('0x17')]['focus']();});}[_0x115c('0xa')](){const _0x1d833d=this[_0x115c('0x4')]['view'],_0x36a2e3=_0x1d833d[_0x115c('0x1')][_0x115c('0x5')](),_0x386dd7=_0x36a2e3['getChild'](0x0);_0x36a2e3[_0x115c('0x19')]>0x1||!_0x386dd7||'p'!=_0x386dd7[_0x115c('0x8')]?this[_0x115c('0xf')]&&this[_0x115c('0xf')][_0x115c('0x13')]&&(_0x82001f(_0x1d833d,this[_0x115c('0xf')]),this['placeholderElement']=void 0x0):(this[_0x115c('0x13')]&&(_0x386dd7['placeholder']=this[_0x115c('0x13')]),_0xb08433({'view':_0x1d833d,'element':_0x386dd7,'keepOnFocus':!0x0}),this[_0x115c('0xf')]=_0x386dd7);}}Nt[_0x115c('0xb')]=Mt;
@@ -5,9 +5,9 @@
5
5
  /**
6
6
  * @module comments/comments/ui/commenteditor/commenteditorui
7
7
  */
8
- import { EditorUI } from 'ckeditor5/src/ui';
9
- import type { Editor } from 'ckeditor5/src/core';
10
- import CommentEditorUIView from './commenteditoruiview';
8
+ import { EditorUI } from 'ckeditor5/src/ui.js';
9
+ import type { Editor } from 'ckeditor5/src/core.js';
10
+ import CommentEditorUIView from './commenteditoruiview.js';
11
11
  export default class CommentEditorUI extends EditorUI {
12
12
  /**
13
13
  * The main (top–most) view of the editor UI.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x326c=['element','view','rootName','isFocused','focusTracker','locale','destroy','document','ready','attachDomRoot','init','render','setEditableElement','bind','editing','name','fire','editable'];(function(_0x51f8bb,_0x326c1c){const _0xc9a348=function(_0x1496d4){while(--_0x1496d4){_0x51f8bb['push'](_0x51f8bb['shift']());}};_0xc9a348(++_0x326c1c);}(_0x326c,0x1bc));const _0xc9a3=function(_0x51f8bb,_0x326c1c){_0x51f8bb=_0x51f8bb-0x0;let _0xc9a348=_0x326c[_0x51f8bb];return _0xc9a348;};import{EditorUI as _0x27e928}from'ckeditor5/src/ui';import _0x8f2f50 from'./commenteditoruiview';export default class Ft extends _0x27e928{constructor(_0x21f856){super(_0x21f856),this['view']=new _0x8f2f50(_0x21f856[_0xc9a3('0xb')],_0x21f856['editing'][_0xc9a3('0x7')]);}get['element'](){return this[_0xc9a3('0x7')]['element'];}[_0xc9a3('0x10')](){const _0x1e0141=this['editor'][_0xc9a3('0x2')][_0xc9a3('0x7')],_0x21d8f8=this[_0xc9a3('0x7')][_0xc9a3('0x5')],_0xc27b27=_0x1e0141[_0xc9a3('0xd')]['getRoot']();_0x21d8f8[_0xc9a3('0x3')]=_0xc27b27[_0xc9a3('0x8')],this[_0xc9a3('0x7')][_0xc9a3('0x11')]();const _0x2c9ae1=_0x21d8f8[_0xc9a3('0x6')];this[_0xc9a3('0x0')](_0x21d8f8[_0xc9a3('0x3')],_0x2c9ae1),this[_0xc9a3('0x7')]['editable'][_0xc9a3('0x1')](_0xc9a3('0x9'))['to'](this[_0xc9a3('0xa')]),_0x1e0141[_0xc9a3('0xf')](_0x2c9ae1),this[_0xc9a3('0x4')](_0xc9a3('0xe'));}[_0xc9a3('0xc')](){super[_0xc9a3('0xc')](),this[_0xc9a3('0x7')]['destroy']();}}
23
+ const _0x3672=['rootName','editing','element','setEditableElement','isFocused','bind','editable','destroy','document','editor','attachDomRoot','fire','ready','view','name'];(function(_0x10e8a5,_0x36727e){const _0x320c5e=function(_0xebad4a){while(--_0xebad4a){_0x10e8a5['push'](_0x10e8a5['shift']());}};_0x320c5e(++_0x36727e);}(_0x3672,0xab));const _0x320c=function(_0x10e8a5,_0x36727e){_0x10e8a5=_0x10e8a5-0x0;let _0x320c5e=_0x3672[_0x10e8a5];return _0x320c5e;};import{EditorUI as _0x20bd45}from'ckeditor5/src/ui.js';import _0x10cda9 from'./commenteditoruiview.js';export default class Ft extends _0x20bd45{constructor(_0x2f8267){super(_0x2f8267),this[_0x320c('0x7')]=new _0x10cda9(_0x2f8267['locale'],_0x2f8267[_0x320c('0xa')][_0x320c('0x7')]);}get['element'](){return this[_0x320c('0x7')][_0x320c('0xb')];}['init'](){const _0x2ccb52=this[_0x320c('0x3')][_0x320c('0xa')][_0x320c('0x7')],_0x442f06=this[_0x320c('0x7')]['editable'],_0x2e593b=_0x2ccb52[_0x320c('0x2')]['getRoot']();_0x442f06[_0x320c('0x8')]=_0x2e593b[_0x320c('0x9')],this[_0x320c('0x7')]['render']();const _0x5b0c0c=_0x442f06[_0x320c('0xb')];this[_0x320c('0xc')](_0x442f06[_0x320c('0x8')],_0x5b0c0c),this[_0x320c('0x7')][_0x320c('0x0')][_0x320c('0xe')](_0x320c('0xd'))['to'](this['focusTracker']),_0x2ccb52[_0x320c('0x4')](_0x5b0c0c),this[_0x320c('0x5')](_0x320c('0x6'));}[_0x320c('0x1')](){super['destroy'](),this[_0x320c('0x7')][_0x320c('0x1')]();}}
@@ -5,9 +5,9 @@
5
5
  /**
6
6
  * @module comments/comments/ui/commenteditor/commenteditoruiview
7
7
  */
8
- import { InlineEditableUIView, EditorUIView, type ViewCollection } from 'ckeditor5/src/ui';
9
- import { type Locale } from 'ckeditor5/src/utils';
10
- import type { View } from 'ckeditor5/src/engine';
8
+ import { InlineEditableUIView, EditorUIView, type ViewCollection } from 'ckeditor5/src/ui.js';
9
+ import { type Locale } from 'ckeditor5/src/utils.js';
10
+ import type { View } from 'ckeditor5/src/engine.js';
11
11
  export default class CommentEditorUIView extends EditorUIView {
12
12
  /**
13
13
  * Collection of the child views located in the main (`.ck-editor__main`)
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e13=['focus','ck-reset','presentation','createCollection','main','editable','ck-editor__main','ck-rounded-corners','ck-editor','render','ck-voice-label','setTemplate','div','element','text','extendTemplate','comment','_voiceLabelView','_createVoiceLabel'];(function(_0x4e6d47,_0x4e13cb){const _0x25fcda=function(_0x583da2){while(--_0x583da2){_0x4e6d47['push'](_0x4e6d47['shift']());}};_0x25fcda(++_0x4e13cb);}(_0x4e13,0x1ad));const _0x25fc=function(_0x4e6d47,_0x4e13cb){_0x4e6d47=_0x4e6d47-0x0;let _0x25fcda=_0x4e13[_0x4e6d47];return _0x25fcda;};import{InlineEditableUIView as _0x107409,EditorUIView as _0xc76235,LabelView as _0x513679}from'ckeditor5/src/ui';import{uid as _0x182a41}from'ckeditor5/src/utils';import{getTranslation as _0x3cb324}from'../../../utils/common-translations';export default class Rt extends _0xc76235{constructor(_0x4a07a2,_0x4e25fd){super(_0x4a07a2);const _0x1b2dd6=_0x182a41();this[_0x25fc('0xc')]=this[_0x25fc('0xb')](),this['editable']=new _0x107409(_0x4a07a2,_0x4e25fd),this[_0x25fc('0x6')]=this[_0x25fc('0x7')](_0x1b2dd6,_0x4a07a2),this[_0x25fc('0x0')]({'tag':_0x25fc('0x1'),'attributes':{'class':[_0x25fc('0x9'),_0x25fc('0x10'),_0x25fc('0xf'),'ck-comment__input'],'role':_0x25fc('0x5'),'dir':_0x4a07a2['uiLanguageDirection'],'lang':_0x4a07a2['uiLanguage'],'aria-labelledby':'cke-editor__aria-label_'+_0x1b2dd6},'children':[this['_voiceLabelView'],{'tag':_0x25fc('0x1'),'attributes':{'class':_0x25fc('0xe'),'role':_0x25fc('0xa')},'children':this[_0x25fc('0xc')]}]});}[_0x25fc('0x11')](){super['render'](),this[_0x25fc('0xc')]['add'](this[_0x25fc('0xd')]);}['focus'](){this[_0x25fc('0xd')][_0x25fc('0x2')][_0x25fc('0x8')]();}[_0x25fc('0x7')](_0x4f7cde,_0x252361){const _0x56e419=new _0x513679();return _0x56e419[_0x25fc('0x3')]=_0x3cb324(_0x252361,'Comment\x20editor'),_0x56e419[_0x25fc('0x4')]({'attributes':{'id':'ck-editor__aria-label_'+_0x4f7cde,'class':_0x25fc('0x12')}}),_0x56e419;}}
23
+ const _0x5d94=['focus','ck-reset','_createVoiceLabel','_voiceLabelView','presentation','add','Comment\x20editor','render','main','uiLanguage','cke-editor__aria-label_','extendTemplate','editable','ck-comment__input','div','uiLanguageDirection','ck-editor__main'];(function(_0x10f662,_0x5d9469){const _0x498018=function(_0x2bf411){while(--_0x2bf411){_0x10f662['push'](_0x10f662['shift']());}};_0x498018(++_0x5d9469);}(_0x5d94,0xab));const _0x4980=function(_0x10f662,_0x5d9469){_0x10f662=_0x10f662-0x0;let _0x498018=_0x5d94[_0x10f662];return _0x498018;};import{InlineEditableUIView as _0x333294,EditorUIView as _0x14b867,LabelView as _0x156fcb}from'ckeditor5/src/ui.js';import{uid as _0x5297ca}from'ckeditor5/src/utils.js';import{getTranslation as _0x53515d}from'../../../utils/common-translations.js';export default class Rt extends _0x14b867{constructor(_0x59c011,_0x216415){super(_0x59c011);const _0x155d71=_0x5297ca();this[_0x4980('0x7')]=this['createCollection'](),this[_0x4980('0xb')]=new _0x333294(_0x59c011,_0x216415),this[_0x4980('0x2')]=this['_createVoiceLabel'](_0x155d71,_0x59c011),this['setTemplate']({'tag':_0x4980('0xd'),'attributes':{'class':[_0x4980('0x0'),'ck-editor','ck-rounded-corners',_0x4980('0xc')],'role':'comment','dir':_0x59c011[_0x4980('0xe')],'lang':_0x59c011[_0x4980('0x8')],'aria-labelledby':_0x4980('0x9')+_0x155d71},'children':[this[_0x4980('0x2')],{'tag':_0x4980('0xd'),'attributes':{'class':_0x4980('0xf'),'role':_0x4980('0x3')},'children':this[_0x4980('0x7')]}]});}[_0x4980('0x6')](){super[_0x4980('0x6')](),this[_0x4980('0x7')][_0x4980('0x4')](this[_0x4980('0xb')]);}['focus'](){this[_0x4980('0xb')]['element'][_0x4980('0x10')]();}[_0x4980('0x1')](_0x190ab5,_0x4176be){const _0x9ebf70=new _0x156fcb();return _0x9ebf70['text']=_0x53515d(_0x4176be,_0x4980('0x5')),_0x9ebf70[_0x4980('0xa')]({'attributes':{'id':'ck-editor__aria-label_'+_0x190ab5,'class':'ck-voice-label'}}),_0x9ebf70;}}
@@ -2,11 +2,11 @@
2
2
  * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- import type { CommentThread } from '../commentsrepository';
6
- import type { default as BaseCommentThreadView } from './view/basecommentthreadview';
5
+ import type { CommentThread } from '../commentsrepository.js';
6
+ import type { default as BaseCommentThreadView } from './view/basecommentthreadview.js';
7
7
  declare const CommentThreadController_base: {
8
- new (): import("ckeditor5/src/utils").Observable;
9
- prototype: import("ckeditor5/src/utils").Observable;
8
+ new (): import("ckeditor5/src/utils.js").Observable;
9
+ prototype: import("ckeditor5/src/utils.js").Observable;
10
10
  };
11
11
  /**
12
12
  * Controller for a comment thread.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xb2c8=['_isAttached','resolveCommentThread','remove','removeComment','isResolved','model','resolve','updateComment','view','destroy','_localUser','reopen','getComment','listenTo','reopenCommentThread','addComment','submit'];(function(_0x5e9342,_0xb2c87e){var _0x70e3cd=function(_0x3fd2c9){while(--_0x3fd2c9){_0x5e9342['push'](_0x5e9342['shift']());}};_0x70e3cd(++_0xb2c87e);}(_0xb2c8,0x1f1));var _0x70e3=function(_0x5e9342,_0xb2c87e){_0x5e9342=_0x5e9342-0x0;var _0x70e3cd=_0xb2c8[_0x5e9342];return _0x70e3cd;};import{ObservableMixin as _0x3745fd}from'ckeditor5/src/utils';export default class ut extends _0x3745fd(){constructor(_0x1ae311,_0x36c98d){super(),this[_0x70e3('0x1')]=_0x1ae311,this[_0x70e3('0x1')][_0x70e3('0xd')]=!0x0,this[_0x70e3('0x4')]=_0x36c98d,this['listenTo'](_0x36c98d,'submitCommentThread',()=>this['submit']()),this[_0x70e3('0x9')](_0x36c98d,'removeCommentThread',()=>this[_0x70e3('0xf')]()),this[_0x70e3('0x9')](_0x36c98d,_0x70e3('0xe'),()=>this[_0x70e3('0x2')]()),this[_0x70e3('0x9')](_0x36c98d,_0x70e3('0xa'),()=>this['reopen']()),this['listenTo'](_0x36c98d,'addComment',(_0x44493c,_0x1f200)=>this[_0x70e3('0xb')](_0x1f200)),this[_0x70e3('0x9')](_0x36c98d,_0x70e3('0x3'),(_0x3930d7,_0x5d013a,_0x10167e)=>this[_0x70e3('0x3')](_0x5d013a,_0x10167e)),this[_0x70e3('0x9')](_0x36c98d,'removeComment',(_0x2d96dc,_0x28b481)=>this[_0x70e3('0x10')](_0x28b481));}[_0x70e3('0xc')](){this[_0x70e3('0x1')][_0x70e3('0xc')]();}[_0x70e3('0xf')](){this[_0x70e3('0x1')][_0x70e3('0xf')]();}['resolve'](){this['model'][_0x70e3('0x0')]||this[_0x70e3('0x1')][_0x70e3('0x2')]();}[_0x70e3('0x7')](){this[_0x70e3('0x1')][_0x70e3('0x0')]&&this['model']['reopen']();}[_0x70e3('0xb')](_0x807c0d){this[_0x70e3('0x1')][_0x70e3('0xb')]({'content':_0x807c0d,'authorId':this[_0x70e3('0x4')][_0x70e3('0x6')]['id']});}[_0x70e3('0x3')](_0x291970,_0x354411){this[_0x70e3('0x1')][_0x70e3('0x8')](_0x291970)['update']({'content':_0x354411});}[_0x70e3('0x10')](_0x5445b0){this['model'][_0x70e3('0x8')](_0x5445b0)[_0x70e3('0xf')]();}[_0x70e3('0x5')](){this['stopListening'](),this[_0x70e3('0x1')][_0x70e3('0xd')]=!0x1;}}
23
+ var _0x4eef=['updateComment','update','model','submit','listenTo','addComment','destroy','removeComment','isResolved','remove','_isAttached','_localUser','view','stopListening','resolve','reopen','getComment'];(function(_0x33e596,_0x4eefc3){var _0x3b5adf=function(_0x333124){while(--_0x333124){_0x33e596['push'](_0x33e596['shift']());}};_0x3b5adf(++_0x4eefc3);}(_0x4eef,0x71));var _0x3b5a=function(_0x33e596,_0x4eefc3){_0x33e596=_0x33e596-0x0;var _0x3b5adf=_0x4eef[_0x33e596];return _0x3b5adf;};import{ObservableMixin as _0x4d7ee3}from'ckeditor5/src/utils.js';export default class ut extends _0x4d7ee3(){constructor(_0x32dfa8,_0x514fbe){super(),this[_0x3b5a('0x8')]=_0x32dfa8,this[_0x3b5a('0x8')][_0x3b5a('0x10')]=!0x0,this[_0x3b5a('0x1')]=_0x514fbe,this[_0x3b5a('0xa')](_0x514fbe,'submitCommentThread',()=>this[_0x3b5a('0x9')]()),this[_0x3b5a('0xa')](_0x514fbe,'removeCommentThread',()=>this[_0x3b5a('0xf')]()),this[_0x3b5a('0xa')](_0x514fbe,'resolveCommentThread',()=>this[_0x3b5a('0x3')]()),this[_0x3b5a('0xa')](_0x514fbe,'reopenCommentThread',()=>this[_0x3b5a('0x4')]()),this[_0x3b5a('0xa')](_0x514fbe,_0x3b5a('0xb'),(_0x370c1,_0x3af58a)=>this[_0x3b5a('0xb')](_0x3af58a)),this[_0x3b5a('0xa')](_0x514fbe,_0x3b5a('0x6'),(_0x1a8fa8,_0x550eb4,_0x198464)=>this[_0x3b5a('0x6')](_0x550eb4,_0x198464)),this[_0x3b5a('0xa')](_0x514fbe,_0x3b5a('0xd'),(_0x4db67a,_0x23fc47)=>this[_0x3b5a('0xd')](_0x23fc47));}['submit'](){this[_0x3b5a('0x8')]['submit']();}[_0x3b5a('0xf')](){this['model'][_0x3b5a('0xf')]();}['resolve'](){this[_0x3b5a('0x8')]['isResolved']||this[_0x3b5a('0x8')][_0x3b5a('0x3')]();}[_0x3b5a('0x4')](){this[_0x3b5a('0x8')][_0x3b5a('0xe')]&&this[_0x3b5a('0x8')][_0x3b5a('0x4')]();}[_0x3b5a('0xb')](_0x4c0b67){this['model'][_0x3b5a('0xb')]({'content':_0x4c0b67,'authorId':this['view'][_0x3b5a('0x0')]['id']});}[_0x3b5a('0x6')](_0x50481e,_0x20b636){this[_0x3b5a('0x8')][_0x3b5a('0x5')](_0x50481e)[_0x3b5a('0x7')]({'content':_0x20b636});}['removeComment'](_0xf55ed4){this[_0x3b5a('0x8')][_0x3b5a('0x5')](_0xf55ed4)['remove']();}[_0x3b5a('0xc')](){this[_0x3b5a('0x2')](),this[_0x3b5a('0x8')][_0x3b5a('0x10')]=!0x1;}}
@@ -6,14 +6,14 @@
6
6
  * @module comments/comments/ui/view/basecommentthreadview
7
7
  * @publicApi
8
8
  */
9
- import { View } from 'ckeditor5/src/ui';
10
- import type { Locale } from 'ckeditor5/src/utils';
11
- import CommentThreadInputView from './commentthreadinputview';
12
- import CommentsListView from './commentslistview';
13
- import CommentThreadHeaderView from './commentthreadheaderview';
14
- import type { User } from 'ckeditor5-collaboration/src/collaboration-core';
15
- import type { CommentThread } from '../../commentsrepository';
16
- import type { CommentThreadConfig } from '../../../config';
9
+ import { View } from 'ckeditor5/src/ui.js';
10
+ import type { Locale } from 'ckeditor5/src/utils.js';
11
+ import CommentThreadInputView from './commentthreadinputview.js';
12
+ import CommentsListView from './commentslistview.js';
13
+ import CommentThreadHeaderView from './commentthreadheaderview.js';
14
+ import type { User } from 'ckeditor5-collaboration/src/collaboration-core.js';
15
+ import type { CommentThread } from '../../commentsrepository.js';
16
+ import type { CommentThreadConfig } from '../../../config.js';
17
17
  /**
18
18
  * An abstract comment thread view class that should be used as a base for comment thread view implementations.
19
19
  * It provides some behaviors, flags and building blocks to use when creating a custom comment thread view class.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3fb4=['isActive','isDirty','submit','commentThreadHeaderView','disabledSubmit','commentsListView','_model','cancel','isUnlinked','element','Reply','editorReady','length','locale','removeCommentThread','updateComment','showInput','submitCommentThread','isSubmitted','submitLabel','CommentView','Write\x20a\x20comment...','_config','focus','isReadOnly','assign','bind','destroy','listenTo','Reply\x20to\x20reopen\x20discussion...','editorDestroyed','delegate','Comment','commentInputView','_createCommentThreadInputView','isResolved','reopenCommentThread','_localUser','set','addComment','fire','resolveCommentThread','commentThreadInputView','removeComment','isResolvable','value','change:isActive'];(function(_0x3b4f7a,_0x3fb4d0){const _0x398e96=function(_0x35e2a1){while(--_0x35e2a1){_0x3b4f7a['push'](_0x3b4f7a['shift']());}};_0x398e96(++_0x3fb4d0);}(_0x3fb4,0x15d));const _0x398e=function(_0x3b4f7a,_0x3fb4d0){_0x3b4f7a=_0x3b4f7a-0x0;let _0x398e96=_0x3fb4[_0x3b4f7a];return _0x398e96;};import{View as _0x3bba86}from'ckeditor5/src/ui';import _0x4213fc from'./commentthreadinputview';import _0x1a54ac from'./commentslistview';import _0x255acf from'./commentthreadheaderview';import{getTranslation as _0x4f93cf}from'../../../utils/common-translations';export default class Ut extends _0x3bba86{constructor(_0x120eb5,_0x337594,_0x23995d,_0x5dd6cb){super(_0x120eb5),this[_0x398e('0x12')](_0x398e('0x1b'),!0x1),this['set'](_0x398e('0x1c'),!0x1),this[_0x398e('0x21')]=_0x337594,this[_0x398e('0x11')]=_0x23995d,this[_0x398e('0x2')]=_0x5dd6cb,this[_0x398e('0x1e')]=new _0x255acf(_0x120eb5,_0x337594),this[_0x398e('0x1e')]['delegate'](_0x398e('0x10'))['to'](this),this[_0x398e('0x8')](this,_0x398e('0x10'),()=>{this['focus']();}),this[_0x398e('0x20')]=new _0x1a54ac(_0x120eb5,_0x337594,Object[_0x398e('0x5')]({'CommentView':this[_0x398e('0x2')][_0x398e('0x0')]},_0x5dd6cb)),this[_0x398e('0x20')][_0x398e('0xb')]('removeComment')['to'](this),this['commentsListView'][_0x398e('0xb')](_0x398e('0x2a'))['to'](this),this[_0x398e('0x20')][_0x398e('0xb')](_0x398e('0x15'))['to'](this),this[_0x398e('0x20')]['delegate'](_0x398e('0x26'))['to'](this),this['commentsListView'][_0x398e('0xb')]('editorDestroyed')['to'](this),this['commentsListView'][_0x398e('0x6')](_0x398e('0x1b'))['to'](this),this[_0x398e('0x8')](this,_0x398e('0x15'),()=>{this['focus']();}),this[_0x398e('0x12')]('length',this[_0x398e('0x20')]['length']),this['bind']('length')['to'](this[_0x398e('0x20')],_0x398e('0x27')),this['commentThreadInputView']=this[_0x398e('0xe')](),this[_0x398e('0x16')][_0x398e('0xb')](_0x398e('0x26'))['to'](this),this[_0x398e('0x16')][_0x398e('0xb')](_0x398e('0xa'))['to'](this),this['on'](_0x398e('0x17'),()=>this[_0x398e('0x3')]()),this[_0x398e('0x6')](_0x398e('0x1c'))['to'](this[_0x398e('0x20')],'hasDirtyComment',this[_0x398e('0x16')][_0x398e('0xd')],_0x398e('0x19'),(_0x3fb4ef,_0xe86433)=>_0x3fb4ef||!!_0xe86433),this[_0x398e('0x6')](_0x398e('0x23'))['to'](_0x337594,'unlinkedAt',_0x59c730=>!!_0x59c730);}['focus'](){this[_0x398e('0x24')][_0x398e('0x3')]();}async[_0x398e('0x7')](){this[_0x398e('0x1c')]=!0x1,this[_0x398e('0x20')][_0x398e('0x7')](),await this[_0x398e('0x16')][_0x398e('0x7')](),super['destroy']();}[_0x398e('0xe')](){const _0x269a2c=new _0x4213fc(this[_0x398e('0x28')],this[_0x398e('0x11')],this[_0x398e('0x2')]['editorConfig']),_0x4b85de=_0x269a2c[_0x398e('0xd')];return _0x269a2c[_0x398e('0x6')](_0x398e('0x2b'))['to'](this,_0x398e('0x1b'),this[_0x398e('0x21')],_0x398e('0x4'),this[_0x398e('0x21')],'canComment',this[_0x398e('0x21')],'archivedAt',_0x4b85de,'value',(_0x51bdbd,_0x2511d5,_0x247729,_0x115b73,_0x43d2e1)=>!!_0x43d2e1||!!_0x115b73&&_0x247729&&!_0x2511d5||_0x51bdbd&&_0x247729&&!_0x2511d5),_0x4b85de[_0x398e('0x6')]('placeholder')['to'](this,_0x398e('0x27'),this[_0x398e('0x21')],_0x398e('0x18'),this['_model'],_0x398e('0xf'),(_0x570991,_0x1396dc,_0x3ca176)=>{let _0x2595b7;return _0x2595b7=_0x3ca176&&_0x1396dc?_0x398e('0x9'):_0x570991?'Reply...':_0x398e('0x1'),_0x4f93cf(this[_0x398e('0x28')],_0x2595b7);}),_0x4b85de[_0x398e('0x6')](_0x398e('0x2e'))['to'](this,'length',_0x52670e=>_0x4f93cf(this['locale'],_0x52670e?_0x398e('0x25'):_0x398e('0xc'))),_0x4b85de['on'](_0x398e('0x1d'),(_0x12d3a4,_0x1fff4e)=>{this[_0x398e('0x14')](_0x398e('0x13'),_0x1fff4e),this[_0x398e('0x21')][_0x398e('0xf')]&&this[_0x398e('0x21')][_0x398e('0x18')]&&this[_0x398e('0x14')](_0x398e('0x10'),this[_0x398e('0x21')]['id']),this['_model'][_0x398e('0x2d')]||this['fire'](_0x398e('0x2c'));}),_0x4b85de['on'](_0x398e('0x22'),()=>{this[_0x398e('0x3')]();}),_0x4b85de[_0x398e('0x6')](_0x398e('0x1f'))['to'](this['_model'],_0x398e('0x4')),_0x4b85de['on'](_0x398e('0x22'),_0x385c39=>{0x0==this[_0x398e('0x27')]&&(this[_0x398e('0x14')](_0x398e('0x29')),_0x385c39['stop']());}),this['on'](_0x398e('0x1a'),(_0x162b7e,_0x2d2580,_0x733a79)=>{_0x733a79||this['length']||_0x4b85de[_0x398e('0x19')]||this[_0x398e('0x14')](_0x398e('0x29'));}),_0x269a2c;}}
23
+ const _0x2066=['hasDirtyComment','change:isActive','Reply\x20to\x20reopen\x20discussion...','submitLabel','isDirty','element','set','commentsListView','bind','listenTo','value','disabledSubmit','CommentView','removeComment','destroy','addComment','length','isResolved','resolveCommentThread','isResolvable','commentThreadHeaderView','_model','isUnlinked','commentThreadInputView','focus','commentInputView','_createCommentThreadInputView','editorDestroyed','editorConfig','editorReady','placeholder','canComment','isActive','showInput','delegate','submit','assign','fire','cancel','Comment','Reply','locale','Write\x20a\x20comment...','archivedAt','reopenCommentThread','_config'];(function(_0x2eeaa0,_0x20660a){const _0x5e3ba7=function(_0x2b1958){while(--_0x2b1958){_0x2eeaa0['push'](_0x2eeaa0['shift']());}};_0x5e3ba7(++_0x20660a);}(_0x2066,0x129));const _0x5e3b=function(_0x2eeaa0,_0x20660a){_0x2eeaa0=_0x2eeaa0-0x0;let _0x5e3ba7=_0x2066[_0x2eeaa0];return _0x5e3ba7;};import{View as _0x48b220}from'ckeditor5/src/ui.js';import _0x2c8b76 from'./commentthreadinputview.js';import _0x5bf810 from'./commentslistview.js';import _0x4c345b from'./commentthreadheaderview.js';import{getTranslation as _0x2c622a}from'../../../utils/common-translations.js';export default class Ut extends _0x48b220{constructor(_0x201b03,_0x49c6ea,_0x2117a3,_0x385b7e){super(_0x201b03),this[_0x5e3b('0x1f')](_0x5e3b('0xb'),!0x1),this[_0x5e3b('0x1f')](_0x5e3b('0x1d'),!0x1),this[_0x5e3b('0x0')]=_0x49c6ea,this['_localUser']=_0x2117a3,this[_0x5e3b('0x18')]=_0x385b7e,this['commentThreadHeaderView']=new _0x4c345b(_0x201b03,_0x49c6ea),this[_0x5e3b('0x2d')][_0x5e3b('0xd')](_0x5e3b('0x17'))['to'](this),this[_0x5e3b('0x22')](this,_0x5e3b('0x17'),()=>{this[_0x5e3b('0x3')]();}),this[_0x5e3b('0x20')]=new _0x5bf810(_0x201b03,_0x49c6ea,Object[_0x5e3b('0xf')]({'CommentView':this['_config'][_0x5e3b('0x25')]},_0x385b7e)),this[_0x5e3b('0x20')][_0x5e3b('0xd')](_0x5e3b('0x26'))['to'](this),this['commentsListView'][_0x5e3b('0xd')]('updateComment')['to'](this),this[_0x5e3b('0x20')][_0x5e3b('0xd')](_0x5e3b('0x2b'))['to'](this),this[_0x5e3b('0x20')][_0x5e3b('0xd')](_0x5e3b('0x8'))['to'](this),this[_0x5e3b('0x20')]['delegate'](_0x5e3b('0x6'))['to'](this),this[_0x5e3b('0x20')]['bind'](_0x5e3b('0xb'))['to'](this),this['listenTo'](this,_0x5e3b('0x2b'),()=>{this[_0x5e3b('0x3')]();}),this['set'](_0x5e3b('0x29'),this[_0x5e3b('0x20')]['length']),this[_0x5e3b('0x21')](_0x5e3b('0x29'))['to'](this[_0x5e3b('0x20')],_0x5e3b('0x29')),this[_0x5e3b('0x2')]=this[_0x5e3b('0x5')](),this[_0x5e3b('0x2')]['delegate'](_0x5e3b('0x8'))['to'](this),this['commentThreadInputView'][_0x5e3b('0xd')](_0x5e3b('0x6'))['to'](this),this['on']('removeComment',()=>this[_0x5e3b('0x3')]()),this['bind']('isDirty')['to'](this[_0x5e3b('0x20')],_0x5e3b('0x19'),this[_0x5e3b('0x2')][_0x5e3b('0x4')],'value',(_0x5cf4fd,_0x335528)=>_0x5cf4fd||!!_0x335528),this[_0x5e3b('0x21')](_0x5e3b('0x1'))['to'](_0x49c6ea,'unlinkedAt',_0x1ebd59=>!!_0x1ebd59);}[_0x5e3b('0x3')](){this[_0x5e3b('0x1e')][_0x5e3b('0x3')]();}async[_0x5e3b('0x27')](){this[_0x5e3b('0x1d')]=!0x1,this['commentsListView'][_0x5e3b('0x27')](),await this[_0x5e3b('0x2')]['destroy'](),super['destroy']();}[_0x5e3b('0x5')](){const _0x120004=new _0x2c8b76(this[_0x5e3b('0x14')],this['_localUser'],this[_0x5e3b('0x18')][_0x5e3b('0x7')]),_0x13d184=_0x120004[_0x5e3b('0x4')];return _0x120004[_0x5e3b('0x21')](_0x5e3b('0xc'))['to'](this,_0x5e3b('0xb'),this[_0x5e3b('0x0')],'isReadOnly',this[_0x5e3b('0x0')],_0x5e3b('0xa'),this[_0x5e3b('0x0')],_0x5e3b('0x16'),_0x13d184,_0x5e3b('0x23'),(_0x42752c,_0x406553,_0x24524a,_0x5c28a8,_0x528505)=>!!_0x528505||!!_0x5c28a8&&_0x24524a&&!_0x406553||_0x42752c&&_0x24524a&&!_0x406553),_0x13d184[_0x5e3b('0x21')](_0x5e3b('0x9'))['to'](this,_0x5e3b('0x29'),this[_0x5e3b('0x0')],_0x5e3b('0x2c'),this['_model'],_0x5e3b('0x2a'),(_0x4284c1,_0x5609d4,_0x12e56c)=>{let _0x235736;return _0x235736=_0x12e56c&&_0x5609d4?_0x5e3b('0x1b'):_0x4284c1?'Reply...':_0x5e3b('0x15'),_0x2c622a(this[_0x5e3b('0x14')],_0x235736);}),_0x13d184[_0x5e3b('0x21')](_0x5e3b('0x1c'))['to'](this,_0x5e3b('0x29'),_0x47c98c=>_0x2c622a(this[_0x5e3b('0x14')],_0x47c98c?_0x5e3b('0x13'):_0x5e3b('0x12'))),_0x13d184['on'](_0x5e3b('0xe'),(_0x13b860,_0x3d51f0)=>{this[_0x5e3b('0x10')](_0x5e3b('0x28'),_0x3d51f0),this[_0x5e3b('0x0')][_0x5e3b('0x2a')]&&this[_0x5e3b('0x0')]['isResolvable']&&this[_0x5e3b('0x10')](_0x5e3b('0x17'),this[_0x5e3b('0x0')]['id']),this['_model']['isSubmitted']||this[_0x5e3b('0x10')]('submitCommentThread');}),_0x13d184['on'](_0x5e3b('0x11'),()=>{this[_0x5e3b('0x3')]();}),_0x13d184['bind'](_0x5e3b('0x24'))['to'](this[_0x5e3b('0x0')],'isReadOnly'),_0x13d184['on'](_0x5e3b('0x11'),_0x4d86eb=>{0x0==this[_0x5e3b('0x29')]&&(this[_0x5e3b('0x10')]('removeCommentThread'),_0x4d86eb['stop']());}),this['on'](_0x5e3b('0x1a'),(_0x42a693,_0x33d354,_0x2e37ca)=>{_0x2e37ca||this[_0x5e3b('0x29')]||_0x13d184['value']||this[_0x5e3b('0x10')]('removeCommentThread');}),_0x120004;}}
@@ -6,10 +6,10 @@
6
6
  * @module comments/comments/ui/view/basecommentview
7
7
  * @publicApi
8
8
  */
9
- import { View, type ViewCollection } from 'ckeditor5/src/ui';
10
- import type { Locale } from 'ckeditor5/src/utils';
11
- import type { Comment } from '../../commentsrepository';
12
- import type { CommentViewConfig } from '../../../config';
9
+ import { View, type ViewCollection } from 'ckeditor5/src/ui.js';
10
+ import type { Locale } from 'ckeditor5/src/utils.js';
11
+ import type { Comment } from '../../commentsrepository.js';
12
+ import type { CommentViewConfig } from '../../../config.js';
13
13
  /**
14
14
  * An abstract comment view class that should be used as a base for comment view implementations.
15
15
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4082=['expand','_config','cancel','Save','locale','isEditMode','add','destroy','collapse','submitLabel','focus','isCollapsed','bind','editorConfig','switchToDisplayMode','_model','switchToEditMode','element','fire','set','_createCommentContentView','editorReady','createEditor','content','updateComment','get','delegate','createCollection','remove','visibleView','maxCommentCharsWhenCollapsed','isSystemComment','_createCommentInputView','submit','isReadOnly','disabledSubmit'];(function(_0x52156b,_0x40829e){const _0x5bc6d3=function(_0x30c628){while(--_0x30c628){_0x52156b['push'](_0x52156b['shift']());}};_0x5bc6d3(++_0x40829e);}(_0x4082,0x1bd));const _0x5bc6=function(_0x52156b,_0x40829e){_0x52156b=_0x52156b-0x0;let _0x5bc6d3=_0x4082[_0x52156b];return _0x5bc6d3;};import{View as _0x525e09}from'ckeditor5/src/ui';import{trimHtml as _0x560e95}from'ckeditor5-collaboration/src/collaboration-core';import _0x110521 from'./commentcontentview';import _0x2ab617 from'./commentinputview';import{getTranslation as _0x533552}from'../../../utils/common-translations';export default class ti extends _0x525e09{constructor(_0x5d74ed,_0x303a08,_0x551513){super(_0x5d74ed),this['_model']=_0x303a08,this[_0x5bc6('0x18')]=_0x551513,this['isSystemComment']=!!this[_0x5bc6('0x18')][_0x5bc6('0x12')],this['set'](_0x5bc6('0x1c'),!0x1),this[_0x5bc6('0x6')](_0x5bc6('0x22'),!0x0),this['visibleView']=this[_0x5bc6('0xe')](),this['visibleView'][_0x5bc6('0x1d')](this[_0x5bc6('0x7')]());}[_0x5bc6('0x17')](){this[_0x5bc6('0x22')]=!0x1;}[_0x5bc6('0x1f')](){this[_0x5bc6('0x1c')]||(this['isCollapsed']=!0x0);}[_0x5bc6('0x21')](){this[_0x5bc6('0x4')][_0x5bc6('0x21')]();}async[_0x5bc6('0x1e')](){await this[_0x5bc6('0x10')][_0x5bc6('0xc')](0x0)[_0x5bc6('0x1e')](),super[_0x5bc6('0x1e')]();}[_0x5bc6('0x3')](){this[_0x5bc6('0x1c')]||(this[_0x5bc6('0x1c')]=!0x0,this[_0x5bc6('0x10')][_0x5bc6('0xf')](0x0)[_0x5bc6('0x1e')](),this[_0x5bc6('0x10')][_0x5bc6('0x1d')](this[_0x5bc6('0x13')]()));}[_0x5bc6('0x1')](){this[_0x5bc6('0x1c')]&&(this[_0x5bc6('0x1c')]=!0x1,this['visibleView'][_0x5bc6('0xf')](0x0)[_0x5bc6('0x1e')](),this[_0x5bc6('0x10')]['add'](this[_0x5bc6('0x7')]()));}[_0x5bc6('0x7')](){const _0x22bf77=new _0x110521(this['locale']);return _0x22bf77[_0x5bc6('0x23')](_0x5bc6('0xa'))['to'](this[_0x5bc6('0x2')],_0x5bc6('0xa'),this,'isCollapsed',(_0x5cf3cb,_0x5aedf9)=>_0x5aedf9?_0x560e95(_0x5cf3cb,{'limit':this['_config'][_0x5bc6('0x11')]}):_0x5cf3cb),_0x22bf77;}[_0x5bc6('0x13')](){this['_config']['editorConfig']||(this[_0x5bc6('0x18')][_0x5bc6('0x0')]={}),this[_0x5bc6('0x18')][_0x5bc6('0x0')]['initialData']=this['_model'][_0x5bc6('0xa')];const _0x145844=new _0x2ab617(this[_0x5bc6('0x1b')],this[_0x5bc6('0x18')][_0x5bc6('0x0')]);return _0x145844['value']=this[_0x5bc6('0x2')]['content'],_0x145844['bind'](_0x5bc6('0x16'))['to'](this['_model'],_0x5bc6('0x15')),_0x145844[_0x5bc6('0x20')]=_0x533552(this[_0x5bc6('0x1b')],_0x5bc6('0x1a')),_0x145844['on'](_0x5bc6('0x14'),(_0x2e4648,_0x5dbfa3)=>{this[_0x5bc6('0x5')](_0x5bc6('0xb'),this[_0x5bc6('0x2')]['id'],_0x5dbfa3),this['switchToDisplayMode'](),this['focus']();}),_0x145844['on'](_0x5bc6('0x19'),()=>{this[_0x5bc6('0x1')](),this['focus']();}),_0x145844['once'](_0x5bc6('0x8'),()=>{_0x145844[_0x5bc6('0x21')]();}),_0x145844[_0x5bc6('0x9')](),_0x145844[_0x5bc6('0xd')](_0x5bc6('0x8'))['to'](this),_0x145844['delegate']('editorDestroyed')['to'](this),_0x145844;}}
23
+ const _0x452c=['destroy','_config','_createCommentContentView','visibleView','remove','isReadOnly','isSystemComment','createCollection','add','bind','once','switchToDisplayMode','_createCommentInputView','content','updateComment','initialData','focus','cancel','editorReady','submitLabel','get','switchToEditMode','disabledSubmit','delegate','isCollapsed','element','editorConfig','fire','editorDestroyed','_model','set','maxCommentCharsWhenCollapsed','locale','expand','value','isEditMode'];(function(_0x28aca5,_0x452c0e){const _0x44de1f=function(_0x17c408){while(--_0x17c408){_0x28aca5['push'](_0x28aca5['shift']());}};_0x44de1f(++_0x452c0e);}(_0x452c,0x10f));const _0x44de=function(_0x28aca5,_0x452c0e){_0x28aca5=_0x28aca5-0x0;let _0x44de1f=_0x452c[_0x28aca5];return _0x44de1f;};import{View as _0x1ba3b0}from'ckeditor5/src/ui.js';import{trimHtml as _0x1234d3}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2709b6 from'./commentcontentview.js';import _0x253d34 from'./commentinputview.js';import{getTranslation as _0x350b77}from'../../../utils/common-translations.js';export default class ti extends _0x1ba3b0{constructor(_0x5bac59,_0x5737e2,_0x60ec32){super(_0x5bac59),this['_model']=_0x5737e2,this[_0x44de('0x12')]=_0x60ec32,this[_0x44de('0x17')]=!!this[_0x44de('0x12')]['isSystemComment'],this[_0x44de('0xb')](_0x44de('0x10'),!0x1),this[_0x44de('0xb')](_0x44de('0x5'),!0x0),this['visibleView']=this[_0x44de('0x18')](),this[_0x44de('0x14')][_0x44de('0x19')](this[_0x44de('0x13')]());}[_0x44de('0xe')](){this['isCollapsed']=!0x1;}['collapse'](){this[_0x44de('0x10')]||(this[_0x44de('0x5')]=!0x0);}[_0x44de('0x21')](){this[_0x44de('0x6')][_0x44de('0x21')]();}async['destroy'](){await this['visibleView'][_0x44de('0x1')](0x0)[_0x44de('0x11')](),super[_0x44de('0x11')]();}[_0x44de('0x2')](){this[_0x44de('0x10')]||(this[_0x44de('0x10')]=!0x0,this[_0x44de('0x14')][_0x44de('0x15')](0x0)[_0x44de('0x11')](),this[_0x44de('0x14')][_0x44de('0x19')](this['_createCommentInputView']()));}[_0x44de('0x1c')](){this['isEditMode']&&(this[_0x44de('0x10')]=!0x1,this['visibleView'][_0x44de('0x15')](0x0)['destroy'](),this[_0x44de('0x14')][_0x44de('0x19')](this[_0x44de('0x13')]()));}[_0x44de('0x13')](){const _0x5c389e=new _0x2709b6(this[_0x44de('0xd')]);return _0x5c389e[_0x44de('0x1a')](_0x44de('0x1e'))['to'](this['_model'],_0x44de('0x1e'),this,_0x44de('0x5'),(_0x233922,_0x1ba324)=>_0x1ba324?_0x1234d3(_0x233922,{'limit':this[_0x44de('0x12')][_0x44de('0xc')]}):_0x233922),_0x5c389e;}[_0x44de('0x1d')](){this['_config'][_0x44de('0x7')]||(this[_0x44de('0x12')][_0x44de('0x7')]={}),this[_0x44de('0x12')][_0x44de('0x7')][_0x44de('0x20')]=this[_0x44de('0xa')][_0x44de('0x1e')];const _0x1e8bd1=new _0x253d34(this[_0x44de('0xd')],this['_config'][_0x44de('0x7')]);return _0x1e8bd1[_0x44de('0xf')]=this[_0x44de('0xa')][_0x44de('0x1e')],_0x1e8bd1[_0x44de('0x1a')](_0x44de('0x3'))['to'](this['_model'],_0x44de('0x16')),_0x1e8bd1[_0x44de('0x0')]=_0x350b77(this[_0x44de('0xd')],'Save'),_0x1e8bd1['on']('submit',(_0x2649fb,_0x3289d5)=>{this[_0x44de('0x8')](_0x44de('0x1f'),this[_0x44de('0xa')]['id'],_0x3289d5),this[_0x44de('0x1c')](),this[_0x44de('0x21')]();}),_0x1e8bd1['on'](_0x44de('0x22'),()=>{this[_0x44de('0x1c')](),this[_0x44de('0x21')]();}),_0x1e8bd1[_0x44de('0x1b')](_0x44de('0x23'),()=>{_0x1e8bd1['focus']();}),_0x1e8bd1['createEditor'](),_0x1e8bd1[_0x44de('0x4')](_0x44de('0x23'))['to'](this),_0x1e8bd1[_0x44de('0x4')](_0x44de('0x9'))['to'](this),_0x1e8bd1;}}
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module comments/comments/ui/view/collapsedcommentsview
7
7
  */
8
- import { View } from 'ckeditor5/src/ui';
9
- import type { Locale } from 'ckeditor5/src/utils';
8
+ import { View } from 'ckeditor5/src/ui.js';
9
+ import type { Locale } from 'ckeditor5/src/utils.js';
10
10
  export default class CollapsedCommentsView extends View {
11
11
  count: number | undefined;
12
12
  constructor(locale: Locale);
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2019=['count','ck-thread__comment-count','bindTemplate','NUMBER_OF_COMMENTS'];(function(_0x469637,_0x201917){const _0x128cdb=function(_0x54558d){while(--_0x54558d){_0x469637['push'](_0x469637['shift']());}};_0x128cdb(++_0x201917);}(_0x2019,0x18c));const _0x128c=function(_0x469637,_0x201917){_0x469637=_0x469637-0x0;let _0x128cdb=_0x2019[_0x469637];return _0x128cdb;};import{View as _0x54b8c}from'ckeditor5/src/ui';import{getTranslation as _0x41bbcd}from'../../../utils/common-translations';export default class to extends _0x54b8c{constructor(_0x39c646){super(_0x39c646);const _0x2f36fb=this[_0x128c('0x2')];this['set'](_0x128c('0x0'),void 0x0),this['setTemplate']({'tag':'li','attributes':{'class':_0x128c('0x1')},'children':[{'text':_0x2f36fb['to'](_0x128c('0x0'),_0xa2abb3=>_0x41bbcd(_0x39c646,_0x128c('0x3'),_0xa2abb3))}]});}}
23
+ const _0x9099=['count','set','setTemplate','ck-thread__comment-count'];(function(_0x3cdddf,_0x9099d9){const _0x5e4fd8=function(_0x1c8c28){while(--_0x1c8c28){_0x3cdddf['push'](_0x3cdddf['shift']());}};_0x5e4fd8(++_0x9099d9);}(_0x9099,0x163));const _0x5e4f=function(_0x3cdddf,_0x9099d9){_0x3cdddf=_0x3cdddf-0x0;let _0x5e4fd8=_0x9099[_0x3cdddf];return _0x5e4fd8;};import{View as _0xbae69d}from'ckeditor5/src/ui.js';import{getTranslation as _0x5712b2}from'../../../utils/common-translations.js';export default class ts extends _0xbae69d{constructor(_0x4594e2){super(_0x4594e2);const _0x3c8800=this['bindTemplate'];this[_0x5e4f('0x2')](_0x5e4f('0x1'),void 0x0),this[_0x5e4f('0x3')]({'tag':'li','attributes':{'class':_0x5e4f('0x0')},'children':[{'text':_0x3c8800['to'](_0x5e4f('0x1'),_0x122121=>_0x5712b2(_0x4594e2,'NUMBER_OF_COMMENTS',_0x122121))}]});}}
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module comments/comments/ui/view/commentcontentview
7
7
  */
8
- import { View } from 'ckeditor5/src/ui';
9
- import type { Locale } from 'ckeditor5/src/utils';
8
+ import { View } from 'ckeditor5/src/ui.js';
9
+ import type { Locale } from 'ckeditor5/src/utils.js';
10
10
  export default class CommentContentView extends View {
11
11
  content: string;
12
12
  constructor(locale: Locale);
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1a1b=['setTemplate','innerHTML','div','ck-comment__content','ck-annotation__content','content','element','render','change:content'];(function(_0x1067bb,_0x1a1b8e){var _0x2b4dbd=function(_0x2d1d93){while(--_0x2d1d93){_0x1067bb['push'](_0x1067bb['shift']());}};_0x2b4dbd(++_0x1a1b8e);}(_0x1a1b,0xa8));var _0x2b4d=function(_0x1067bb,_0x1a1b8e){_0x1067bb=_0x1067bb-0x0;var _0x2b4dbd=_0x1a1b[_0x1067bb];return _0x2b4dbd;};import{View as _0x4ce4f5}from'ckeditor5/src/ui';export default class Yt extends _0x4ce4f5{constructor(_0x4d06c4){super(_0x4d06c4),this['set'](_0x2b4d('0x8'),''),this[_0x2b4d('0x3')]({'tag':_0x2b4d('0x5'),'attributes':{'class':[_0x2b4d('0x6'),_0x2b4d('0x7')]}});}[_0x2b4d('0x1')](){super['render'](),this['on'](_0x2b4d('0x2'),(_0x2457a4,_0x5e0f4d,_0x55e8ea)=>{this['element'][_0x2b4d('0x4')]=_0x55e8ea;}),this[_0x2b4d('0x0')][_0x2b4d('0x4')]=this[_0x2b4d('0x8')];}}
23
+ var _0x316e=['change:content','element','innerHTML','ck-annotation__content','ck-comment__content','content','render'];(function(_0x3fcf58,_0x316e2e){var _0x57f376=function(_0x144543){while(--_0x144543){_0x3fcf58['push'](_0x3fcf58['shift']());}};_0x57f376(++_0x316e2e);}(_0x316e,0x170));var _0x57f3=function(_0x3fcf58,_0x316e2e){_0x3fcf58=_0x3fcf58-0x0;var _0x57f376=_0x316e[_0x3fcf58];return _0x57f376;};import{View as _0x1319aa}from'ckeditor5/src/ui.js';export default class Yt extends _0x1319aa{constructor(_0x538e40){super(_0x538e40),this['set'](_0x57f3('0x1'),''),this['setTemplate']({'tag':'div','attributes':{'class':[_0x57f3('0x0'),_0x57f3('0x6')]}});}[_0x57f3('0x2')](){super[_0x57f3('0x2')](),this['on'](_0x57f3('0x3'),(_0x11e379,_0x2fd246,_0x338556)=>{this['element'][_0x57f3('0x5')]=_0x338556;}),this[_0x57f3('0x4')][_0x57f3('0x5')]=this[_0x57f3('0x1')];}}
@@ -5,10 +5,10 @@
5
5
  /**
6
6
  * @module comments/comments/ui/view/commentinputview
7
7
  */
8
- import { View, ButtonView } from 'ckeditor5/src/ui';
9
- import { FocusTracker, KeystrokeHandler, type Locale } from 'ckeditor5/src/utils';
10
- import { type EditorConfig, type DataApi } from 'ckeditor5/src/core';
11
- import CommentEditor from '../commenteditor/commenteditor';
8
+ import { View, ButtonView } from 'ckeditor5/src/ui.js';
9
+ import { FocusTracker, KeystrokeHandler, type Locale } from 'ckeditor5/src/utils.js';
10
+ import { type EditorConfig, type DataApi } 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
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e27=['_initializeFocusCycling','createEditor','Reply','_editorCreationPromise','ck-comment__input-wrapper','insertBefore','ck-comment__input-actions--submit','editorDestroyed','div','ck-comment__input-actions--active','submitButtonView','setTemplate','cancel','showButtons','trim','length','keystrokes','ck-comment__input-actions--cancel','initialData','submitLabel','ck-comment__input-actions','view','destroy','getData','focus','listenTo','editorReady','withText','cancelButtonView','isEnabled','_editorConfig','focusNext','value','then','placeholder','render','bind','setData','element','_isDestroyed','label','shift\x20+\x20tab','tab','Esc','firstChild','create','high','disabledSubmit','submit','_createSubmitButton','document','Reply...','focusTracker','model','extendTemplate','execute','TOO_LONG_COMMENT_ALERT','change','low','set','_createCancelButton','add','editor','fire'];(function(_0x2a7343,_0x5e27e7){const _0x418e53=function(_0x518b51){while(--_0x518b51){_0x2a7343['push'](_0x2a7343['shift']());}};_0x418e53(++_0x5e27e7);}(_0x5e27,0x116));const _0x418e=function(_0x2a7343,_0x5e27e7){_0x2a7343=_0x2a7343-0x0;let _0x418e53=_0x5e27[_0x2a7343];return _0x418e53;};import{View as _0x1973b7,ViewCollection as _0x1281ed,FocusCycler as _0x1b5ce1,ButtonView as _0x3a7cf7}from'ckeditor5/src/ui';import{FocusTracker as _0x55b1a1,KeystrokeHandler as _0x27ae38}from'ckeditor5/src/utils';import _0x335ea9 from'../commenteditor/commenteditor';import{getTranslation as _0x31f32b}from'../../../utils/common-translations';export default class Zt extends _0x1973b7{constructor(_0x599622,_0x3e6fc4={}){super(_0x599622),this['editor']=null,this[_0x418e('0x8')]=_0x3e6fc4,this[_0x418e('0x3a')]=new _0x27ae38(),this['focusTracker']=new _0x55b1a1(),this[_0x418e('0x25')](_0x418e('0xa'),_0x3e6fc4[_0x418e('0x3c')]||''),this[_0x418e('0x25')](_0x418e('0x19'),!0x1),this['set'](_0x418e('0x37'),!0x0),this[_0x418e('0x25')]('placeholder',_0x31f32b(_0x599622,_0x418e('0x1d'))),this[_0x418e('0x25')]('submitLabel',_0x31f32b(_0x599622,_0x418e('0x2c'))),this['submitButtonView']=this[_0x418e('0x1b')](),this[_0x418e('0x6')]=this[_0x418e('0x26')](),this[_0x418e('0x35')]({'tag':_0x418e('0x32'),'attributes':{'class':[_0x418e('0x2e')]},'children':[{'tag':_0x418e('0x32'),'attributes':{'class':[_0x418e('0x3e'),this['bindTemplate']['if']('showButtons',_0x418e('0x33'))]},'children':[this[_0x418e('0x34')],this[_0x418e('0x6')]]}]}),this[_0x418e('0x3a')][_0x418e('0x25')](_0x418e('0x15'),(_0x296bf7,_0x15353f)=>{this[_0x418e('0x6')][_0x418e('0x29')](_0x418e('0x21')),_0x15353f();}),this['on']('submit',(_0x948bbc,_0x97fd15)=>{_0x97fd15[_0x418e('0x39')]>0xfde8?(alert(_0x31f32b(_0x599622,_0x418e('0x22'),[_0x97fd15[_0x418e('0x39')],0xfde8])),_0x948bbc['stop']()):this[_0x418e('0x28')][_0x418e('0xf')]('');},{'priority':_0x418e('0x18')});}[_0x418e('0xd')](){super[_0x418e('0xd')](),this['keystrokes'][_0x418e('0x3')](this[_0x418e('0x10')]),this['focusTracker'][_0x418e('0x27')](this[_0x418e('0x10')]);}[_0x418e('0x2b')](){return this[_0x418e('0x28')]||(this[_0x418e('0x28')]=new _0x335ea9(this[_0x418e('0x8')]),this[_0x418e('0x2d')]=this['editor'][_0x418e('0x17')]()[_0x418e('0xb')](()=>{if(this[_0x418e('0x11')])return;const _0x557ebc=this[_0x418e('0x28')];this[_0x418e('0x10')][_0x418e('0x2f')](_0x557ebc['ui'][_0x418e('0x10')],this[_0x418e('0x10')][_0x418e('0x16')]),_0x557ebc[_0x418e('0x1f')][_0x418e('0x1c')]['on'](_0x418e('0x23'),()=>this[_0x418e('0xa')]=_0x557ebc[_0x418e('0x1')]()),_0x557ebc[_0x418e('0xe')](_0x418e('0xc'))['to'](this),this[_0x418e('0x2a')](this[_0x418e('0x28')]),this['fire'](_0x418e('0x4'),this[_0x418e('0x28')]);})),this['_editorCreationPromise'];}[_0x418e('0x2')](){this[_0x418e('0x28')]&&this[_0x418e('0x28')]['focus']();}async['destroy'](){this['_isDestroyed']||(this[_0x418e('0x11')]=!0x0,this['editor']&&(await this[_0x418e('0x2d')],await this[_0x418e('0x28')][_0x418e('0x0')](),this[_0x418e('0x29')](_0x418e('0x31'),this[_0x418e('0x28')])),await super['destroy']());}[_0x418e('0x1b')](){const {locale:_0x826531}=this,_0x5effc7=new _0x3a7cf7(_0x826531);return _0x5effc7[_0x418e('0x20')]({'attributes':{'class':[_0x418e('0x30')]}}),_0x5effc7['withText']=!0x0,_0x5effc7['bind']('label')['to'](this,_0x418e('0x3d')),_0x5effc7['on'](_0x418e('0x21'),()=>{this[_0x418e('0x29')](_0x418e('0x1a'),this[_0x418e('0xa')]);}),_0x5effc7[_0x418e('0xe')](_0x418e('0x7'))['to'](this,_0x418e('0xa'),this,'disabledSubmit',(_0x33915a,_0x1739e9)=>!_0x1739e9&&!!_0x33915a[_0x418e('0x38')]()),_0x5effc7;}[_0x418e('0x26')](){const {locale:_0x1a576c}=this,_0x458f1e=new _0x3a7cf7(_0x1a576c);return _0x458f1e['extendTemplate']({'attributes':{'class':[_0x418e('0x3b')]}}),_0x458f1e[_0x418e('0x12')]=_0x31f32b(_0x1a576c,'Cancel'),_0x458f1e[_0x418e('0x5')]=!0x0,_0x458f1e['on']('execute',()=>{this[_0x418e('0x28')][_0x418e('0xf')](''),this[_0x418e('0x29')](_0x418e('0x36'));}),_0x458f1e;}[_0x418e('0x2a')](_0x4f1fd4){const _0x4bc69a=this[_0x418e('0x1e')],_0x48693e=new _0x1281ed();[_0x4f1fd4['ui'][_0x418e('0x3f')],this['submitButtonView'],this[_0x418e('0x6')]]['forEach'](_0x28d767=>{_0x48693e['add'](_0x28d767),_0x4bc69a[_0x418e('0x27')](_0x28d767[_0x418e('0x10')]);});const _0x2fdda9=new _0x1b5ce1({'focusables':_0x48693e,'focusTracker':_0x4bc69a});this[_0x418e('0x3a')][_0x418e('0x25')](_0x418e('0x14'),(_0x3f59d6,_0x3f2615)=>{_0x2fdda9[_0x418e('0x9')](),_0x3f2615();},{'priority':_0x418e('0x24')}),this[_0x418e('0x3a')]['set'](_0x418e('0x13'),(_0xb63046,_0x53a3e6)=>{_0x2fdda9['focusPrevious'](),_0x53a3e6();},{'priority':_0x418e('0x24')});}}
23
+ const _0x46a9=['label','_initializeFocusCycling','add','element','extendTemplate','isEnabled','div','_createSubmitButton','tab','_isDestroyed','initialData','shift\x20+\x20tab','forEach','ck-comment__input-actions--active','firstChild','TOO_LONG_COMMENT_ALERT','submit','getData','set','disabledSubmit','value','render','editorDestroyed','fire','document','focusPrevious','cancel','ck-comment__input-wrapper','focus','editorReady','createEditor','insertBefore','execute','keystrokes','ck-comment__input-actions--cancel','_editorCreationPromise','bindTemplate','stop','showButtons','listenTo','low','focusNext','withText','ck-comment__input-actions--submit','cancelButtonView','setData','_createCancelButton','focusTracker','ck-comment__input-actions','submitButtonView','high','then','change','placeholder','destroy','Reply...','_editorConfig','Cancel','Reply','setTemplate','trim','editor','submitLabel','create','Esc','view'];(function(_0x465fa9,_0x46a906){const _0x30f34c=function(_0x2dba60){while(--_0x2dba60){_0x465fa9['push'](_0x465fa9['shift']());}};_0x30f34c(++_0x46a906);}(_0x46a9,0x18b));const _0x30f3=function(_0x465fa9,_0x46a906){_0x465fa9=_0x465fa9-0x0;let _0x30f34c=_0x46a9[_0x465fa9];return _0x30f34c;};import{View as _0x5845a0,ViewCollection as _0x170408,FocusCycler as _0x154169,ButtonView as _0x24d000}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3e239e,KeystrokeHandler as _0x3ffed0}from'ckeditor5/src/utils.js';import _0x4a3370 from'../commenteditor/commenteditor.js';import{getTranslation as _0x5b707d}from'../../../utils/common-translations.js';export default class Zt extends _0x5845a0{constructor(_0x46d3c4,_0x53daa3={}){super(_0x46d3c4),this[_0x30f3('0x3e')]=null,this[_0x30f3('0x39')]=_0x53daa3,this[_0x30f3('0x22')]=new _0x3ffed0(),this[_0x30f3('0x30')]=new _0x3e239e(),this[_0x30f3('0x13')]('value',_0x53daa3[_0x30f3('0xb')]||''),this[_0x30f3('0x13')](_0x30f3('0x14'),!0x1),this['set'](_0x30f3('0x27'),!0x0),this[_0x30f3('0x13')](_0x30f3('0x36'),_0x5b707d(_0x46d3c4,_0x30f3('0x38'))),this['set']('submitLabel',_0x5b707d(_0x46d3c4,_0x30f3('0x3b'))),this[_0x30f3('0x32')]=this['_createSubmitButton'](),this[_0x30f3('0x2d')]=this[_0x30f3('0x2f')](),this[_0x30f3('0x3c')]({'tag':_0x30f3('0x7'),'attributes':{'class':[_0x30f3('0x1c')]},'children':[{'tag':_0x30f3('0x7'),'attributes':{'class':[_0x30f3('0x31'),this[_0x30f3('0x25')]['if'](_0x30f3('0x27'),_0x30f3('0xe'))]},'children':[this[_0x30f3('0x32')],this[_0x30f3('0x2d')]]}]}),this[_0x30f3('0x22')][_0x30f3('0x13')](_0x30f3('0x41'),(_0x22812e,_0x4606cf)=>{this[_0x30f3('0x2d')][_0x30f3('0x18')]('execute'),_0x4606cf();}),this['on'](_0x30f3('0x11'),(_0x4b0b39,_0x30c80d)=>{_0x30c80d['length']>0xfde8?(alert(_0x5b707d(_0x46d3c4,_0x30f3('0x10'),[_0x30c80d['length'],0xfde8])),_0x4b0b39[_0x30f3('0x26')]()):this[_0x30f3('0x3e')][_0x30f3('0x2e')]('');},{'priority':_0x30f3('0x33')});}[_0x30f3('0x16')](){super[_0x30f3('0x16')](),this['keystrokes'][_0x30f3('0x28')](this['element']),this[_0x30f3('0x30')][_0x30f3('0x3')](this[_0x30f3('0x4')]);}[_0x30f3('0x1f')](){return this[_0x30f3('0x3e')]||(this[_0x30f3('0x3e')]=new _0x4a3370(this['_editorConfig']),this[_0x30f3('0x24')]=this[_0x30f3('0x3e')][_0x30f3('0x40')]()[_0x30f3('0x34')](()=>{if(this[_0x30f3('0xa')])return;const _0x5827de=this['editor'];this['element'][_0x30f3('0x20')](_0x5827de['ui']['element'],this[_0x30f3('0x4')][_0x30f3('0xf')]),_0x5827de['model'][_0x30f3('0x19')]['on'](_0x30f3('0x35'),()=>this[_0x30f3('0x15')]=_0x5827de[_0x30f3('0x12')]()),_0x5827de['bind'](_0x30f3('0x36'))['to'](this),this[_0x30f3('0x2')](this[_0x30f3('0x3e')]),this[_0x30f3('0x18')](_0x30f3('0x1e'),this[_0x30f3('0x3e')]);})),this[_0x30f3('0x24')];}[_0x30f3('0x1d')](){this[_0x30f3('0x3e')]&&this[_0x30f3('0x3e')][_0x30f3('0x1d')]();}async['destroy'](){this[_0x30f3('0xa')]||(this['_isDestroyed']=!0x0,this[_0x30f3('0x3e')]&&(await this[_0x30f3('0x24')],await this['editor'][_0x30f3('0x37')](),this['fire'](_0x30f3('0x17'),this[_0x30f3('0x3e')])),await super[_0x30f3('0x37')]());}[_0x30f3('0x8')](){const {locale:_0x48bd2c}=this,_0x24f3b5=new _0x24d000(_0x48bd2c);return _0x24f3b5[_0x30f3('0x5')]({'attributes':{'class':[_0x30f3('0x2c')]}}),_0x24f3b5[_0x30f3('0x2b')]=!0x0,_0x24f3b5['bind'](_0x30f3('0x1'))['to'](this,_0x30f3('0x3f')),_0x24f3b5['on'](_0x30f3('0x21'),()=>{this['fire']('submit',this[_0x30f3('0x15')]);}),_0x24f3b5['bind'](_0x30f3('0x6'))['to'](this,_0x30f3('0x15'),this,_0x30f3('0x14'),(_0x2451be,_0x6a17db)=>!_0x6a17db&&!!_0x2451be[_0x30f3('0x3d')]()),_0x24f3b5;}[_0x30f3('0x2f')](){const {locale:_0x46930e}=this,_0x5ac67b=new _0x24d000(_0x46930e);return _0x5ac67b[_0x30f3('0x5')]({'attributes':{'class':[_0x30f3('0x23')]}}),_0x5ac67b['label']=_0x5b707d(_0x46930e,_0x30f3('0x3a')),_0x5ac67b[_0x30f3('0x2b')]=!0x0,_0x5ac67b['on'](_0x30f3('0x21'),()=>{this[_0x30f3('0x3e')][_0x30f3('0x2e')](''),this[_0x30f3('0x18')](_0x30f3('0x1b'));}),_0x5ac67b;}[_0x30f3('0x2')](_0x2dddfb){const _0x7272e9=this['focusTracker'],_0x2f2aed=new _0x170408();[_0x2dddfb['ui'][_0x30f3('0x0')],this[_0x30f3('0x32')],this['cancelButtonView']][_0x30f3('0xd')](_0x736e8c=>{_0x2f2aed[_0x30f3('0x3')](_0x736e8c),_0x7272e9[_0x30f3('0x3')](_0x736e8c[_0x30f3('0x4')]);});const _0x5af6cc=new _0x154169({'focusables':_0x2f2aed,'focusTracker':_0x7272e9});this[_0x30f3('0x22')][_0x30f3('0x13')](_0x30f3('0x9'),(_0x4f5451,_0x4a8195)=>{_0x5af6cc[_0x30f3('0x2a')](),_0x4a8195();},{'priority':_0x30f3('0x29')}),this[_0x30f3('0x22')][_0x30f3('0x13')](_0x30f3('0xc'),(_0x5d6361,_0x56aa1c)=>{_0x5af6cc[_0x30f3('0x1a')](),_0x56aa1c();},{'priority':'low'});}}
@@ -5,9 +5,9 @@
5
5
  /**
6
6
  * @module comments/comments/ui/view/commentslistview
7
7
  */
8
- import { View, type ViewCollection } from 'ckeditor5/src/ui';
9
- import { type Locale } from 'ckeditor5/src/utils';
10
- import type AnnotationView from '../../../annotations/view/annotationview';
8
+ import { View, type ViewCollection } from 'ckeditor5/src/ui.js';
9
+ import { type Locale } from 'ckeditor5/src/utils.js';
10
+ import type AnnotationView from '../../../annotations/view/annotationview.js';
11
11
  /**
12
12
  * A view representing the content of comments archive.
13
13
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x418d=['shift\x20+\x20tab','bindTemplate','isEmpty','arrowleft','destroy','length','ck-comments-archive__info','arrowup','render','arrowdown','selectstart','_focusables','remove','_focusCycler','ck-comments-archive__content','auto','isActive','ck-comments-archive__header\x20','element','_focusTracker','_keystrokes','add','stopPropagation','set','listenTo','arrowright','focus','div'];(function(_0x351164,_0x418dcf){const _0x35ee6d=function(_0x14e261){while(--_0x14e261){_0x351164['push'](_0x351164['shift']());}};_0x35ee6d(++_0x418dcf);}(_0x418d,0x143));const _0x35ee=function(_0x351164,_0x418dcf){_0x351164=_0x351164-0x0;let _0x35ee6d=_0x418d[_0x351164];return _0x35ee6d;};import{View as _0x2e2f10,FocusCycler as _0x1f9a1f}from'ckeditor5/src/ui';import{FocusTracker as _0x1497b5,KeystrokeHandler as _0x18ce70}from'ckeditor5/src/utils';import{getTranslation as _0x58da84}from'../../../utils/common-translations';export default class K extends _0x2e2f10{constructor(_0xc4b2b9,_0x273c94){super(_0xc4b2b9),this[_0x35ee('0x8')](_0x35ee('0xf'),!_0x273c94[_0x35ee('0x12')]),this[_0x35ee('0x4')]=new _0x1497b5(),this[_0x35ee('0x5')]=new _0x18ce70(),this['_focusables']=_0x273c94,this[_0x35ee('0x1a')]=new _0x1f9a1f({'focusables':this[_0x35ee('0x18')],'focusTracker':this[_0x35ee('0x4')],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':_0x35ee('0xd'),'focusNext':'tab'}}),this[_0x35ee('0x9')](_0x273c94,_0x35ee('0x6'),()=>{this[_0x35ee('0xf')]=!0x1;}),this[_0x35ee('0x9')](_0x273c94,_0x35ee('0x19'),(_0x8c5821,_0xf46e67)=>{_0xf46e67[_0x35ee('0x1')]&&this[_0x35ee('0xb')](),_0x273c94[_0x35ee('0x12')]||(this[_0x35ee('0xf')]=!0x0);});const _0x2e69e9=this[_0x35ee('0xe')];this['setTemplate']({'tag':_0x35ee('0xc'),'attributes':{'dir':_0x35ee('0x0'),'class':['ck','ck-comments-archive'],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x35ee('0x2')]},'children':[{'text':_0x58da84(_0xc4b2b9,'COMMENTS_ARCHIVE')}]},{'tag':'div','attributes':{'class':[_0x35ee('0x1b')]},'children':[{'tag':_0x35ee('0xc'),'children':_0x273c94},{'tag':'p','attributes':{'class':[_0x35ee('0x13'),_0x2e69e9['if'](_0x35ee('0xf'),'ck-hidden',_0xeb4e0=>!_0xeb4e0)]},'children':[{'text':_0x58da84(_0xc4b2b9,'EMPTY_COMMENTS_ARCHIVE')}]}]}]});}['render'](){super[_0x35ee('0x15')](),this['_keystrokes'][_0x35ee('0x9')](this[_0x35ee('0x3')]);const _0x16a311=_0x272cb0=>_0x272cb0[_0x35ee('0x7')]();this[_0x35ee('0x5')][_0x35ee('0x8')](_0x35ee('0xa'),_0x16a311),this[_0x35ee('0x5')][_0x35ee('0x8')](_0x35ee('0x10'),_0x16a311),this[_0x35ee('0x5')][_0x35ee('0x8')](_0x35ee('0x14'),_0x16a311),this[_0x35ee('0x5')]['set'](_0x35ee('0x16'),_0x16a311),this[_0x35ee('0x9')](this[_0x35ee('0x3')],_0x35ee('0x17'),(_0x267f5,_0x9cbbeb)=>{_0x9cbbeb[_0x35ee('0x7')]();},{'priority':'high'});}['destroy'](){super[_0x35ee('0x11')](),this['_focusTracker'][_0x35ee('0x11')](),this[_0x35ee('0x5')]['destroy']();}['focus'](){this[_0x35ee('0x3')][_0x35ee('0xb')]();}}
23
+ const _0x5474=['render','remove','length','_keystrokes','selectstart','stopPropagation','_focusCycler','isEmpty','ck-hidden','setTemplate','ck-comments-archive__header\x20','set','arrowleft','_focusables','div','destroy','arrowup','shift\x20+\x20tab','tab','ck-comments-archive__content','arrowright','listenTo','high','EMPTY_COMMENTS_ARCHIVE','ck-comments-archive__info','_focusTracker','focus','bindTemplate','ck-comments-archive','element'];(function(_0x3bff62,_0x5474f5){const _0x591d1b=function(_0x50a149){while(--_0x50a149){_0x3bff62['push'](_0x3bff62['shift']());}};_0x591d1b(++_0x5474f5);}(_0x5474,0x160));const _0x591d=function(_0x3bff62,_0x5474f5){_0x3bff62=_0x3bff62-0x0;let _0x591d1b=_0x5474[_0x3bff62];return _0x591d1b;};import{View as _0x501ec2,FocusCycler as _0x1871ca}from'ckeditor5/src/ui.js';import{FocusTracker as _0x56e381,KeystrokeHandler as _0x756990}from'ckeditor5/src/utils.js';import{getTranslation as _0x245116}from'../../../utils/common-translations.js';export default class K extends _0x501ec2{constructor(_0x3019b8,_0x505c99){super(_0x3019b8),this['set'](_0x591d('0xf'),!_0x505c99[_0x591d('0xa')]),this[_0x591d('0x3')]=new _0x56e381(),this['_keystrokes']=new _0x756990(),this[_0x591d('0x15')]=_0x505c99,this[_0x591d('0xe')]=new _0x1871ca({'focusables':this['_focusables'],'focusTracker':this[_0x591d('0x3')],'keystrokeHandler':this[_0x591d('0xb')],'actions':{'focusPrevious':_0x591d('0x19'),'focusNext':_0x591d('0x1a')}}),this[_0x591d('0x1d')](_0x505c99,'add',()=>{this[_0x591d('0xf')]=!0x1;}),this[_0x591d('0x1d')](_0x505c99,_0x591d('0x9'),(_0x21a9f4,_0x11aad5)=>{_0x11aad5['isActive']&&this['focus'](),_0x505c99[_0x591d('0xa')]||(this[_0x591d('0xf')]=!0x0);});const _0xe82b7b=this[_0x591d('0x5')];this[_0x591d('0x11')]({'tag':_0x591d('0x16'),'attributes':{'dir':'auto','class':['ck',_0x591d('0x6')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x591d('0x12')]},'children':[{'text':_0x245116(_0x3019b8,'COMMENTS_ARCHIVE')}]},{'tag':_0x591d('0x16'),'attributes':{'class':[_0x591d('0x1b')]},'children':[{'tag':_0x591d('0x16'),'children':_0x505c99},{'tag':'p','attributes':{'class':[_0x591d('0x2'),_0xe82b7b['if']('isEmpty',_0x591d('0x10'),_0x219ba7=>!_0x219ba7)]},'children':[{'text':_0x245116(_0x3019b8,_0x591d('0x1'))}]}]}]});}[_0x591d('0x8')](){super[_0x591d('0x8')](),this['_keystrokes'][_0x591d('0x1d')](this[_0x591d('0x7')]);const _0x1d011c=_0x3d5f72=>_0x3d5f72[_0x591d('0xd')]();this[_0x591d('0xb')][_0x591d('0x13')](_0x591d('0x1c'),_0x1d011c),this[_0x591d('0xb')]['set'](_0x591d('0x14'),_0x1d011c),this[_0x591d('0xb')][_0x591d('0x13')](_0x591d('0x18'),_0x1d011c),this[_0x591d('0xb')][_0x591d('0x13')]('arrowdown',_0x1d011c),this['listenTo'](this[_0x591d('0x7')],_0x591d('0xc'),(_0x251cf3,_0x5d999f)=>{_0x5d999f[_0x591d('0xd')]();},{'priority':_0x591d('0x0')});}[_0x591d('0x17')](){super[_0x591d('0x17')](),this[_0x591d('0x3')][_0x591d('0x17')](),this['_keystrokes'][_0x591d('0x17')]();}[_0x591d('0x4')](){this[_0x591d('0x7')][_0x591d('0x4')]();}}
@@ -5,11 +5,11 @@
5
5
  /**
6
6
  * @module comments/comments/ui/view/commentslistview
7
7
  */
8
- import { View, type ViewCollection } from 'ckeditor5/src/ui';
9
- import { type Locale } from 'ckeditor5/src/utils';
10
- import type { CommentThread } from '../../commentsrepository';
11
- import type CommentView from './commentview';
12
- import type { CommentThreadConfig } from '../../../config';
8
+ import { View, type ViewCollection } from 'ckeditor5/src/ui.js';
9
+ import { type Locale } from 'ckeditor5/src/utils.js';
10
+ import type { CommentThread } from '../../commentsrepository.js';
11
+ import type CommentView from './commentview.js';
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
  */