@ckeditor/ckeditor5-comments 40.2.0 → 41.1.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 (157) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +1 -1
  3. package/build/comments.js +2 -2
  4. package/lang/translations/af.po +1 -1
  5. package/lang/translations/ar.po +1 -1
  6. package/lang/translations/bg.po +1 -1
  7. package/lang/translations/bn.po +1 -1
  8. package/lang/translations/bs.po +1 -1
  9. package/lang/translations/ca.po +1 -1
  10. package/lang/translations/cs.po +1 -1
  11. package/lang/translations/da.po +1 -1
  12. package/lang/translations/de-ch.po +1 -1
  13. package/lang/translations/de.po +1 -1
  14. package/lang/translations/el.po +1 -1
  15. package/lang/translations/en-au.po +1 -1
  16. package/lang/translations/en.po +1 -1
  17. package/lang/translations/es-co.po +1 -1
  18. package/lang/translations/es.po +1 -1
  19. package/lang/translations/et.po +1 -1
  20. package/lang/translations/fa.po +1 -1
  21. package/lang/translations/fi.po +1 -1
  22. package/lang/translations/fr.po +1 -1
  23. package/lang/translations/gl.po +1 -1
  24. package/lang/translations/he.po +1 -1
  25. package/lang/translations/hi.po +1 -1
  26. package/lang/translations/hr.po +1 -1
  27. package/lang/translations/hu.po +1 -1
  28. package/lang/translations/id.po +1 -1
  29. package/lang/translations/it.po +1 -1
  30. package/lang/translations/ja.po +1 -1
  31. package/lang/translations/jv.po +1 -1
  32. package/lang/translations/ko.po +1 -1
  33. package/lang/translations/lt.po +1 -1
  34. package/lang/translations/lv.po +1 -1
  35. package/lang/translations/ms.po +1 -1
  36. package/lang/translations/nl.po +1 -1
  37. package/lang/translations/no.po +1 -1
  38. package/lang/translations/pl.po +1 -1
  39. package/lang/translations/pt-br.po +1 -1
  40. package/lang/translations/pt.po +1 -1
  41. package/lang/translations/ro.po +1 -1
  42. package/lang/translations/ru.po +1 -1
  43. package/lang/translations/sk.po +1 -1
  44. package/lang/translations/sq.po +1 -1
  45. package/lang/translations/sr-latn.po +1 -1
  46. package/lang/translations/sr.po +1 -1
  47. package/lang/translations/sv.po +1 -1
  48. package/lang/translations/th.po +1 -1
  49. package/lang/translations/tk.po +1 -1
  50. package/lang/translations/tr.po +1 -1
  51. package/lang/translations/tt.po +1 -1
  52. package/lang/translations/ug.po +1 -1
  53. package/lang/translations/uk.po +1 -1
  54. package/lang/translations/ur.po +1 -1
  55. package/lang/translations/vi.po +1 -1
  56. package/lang/translations/zh-cn.po +1 -1
  57. package/lang/translations/zh.po +1 -1
  58. package/package.json +4 -3
  59. package/src/annotations/annotation.d.ts +7 -7
  60. package/src/annotations/annotation.js +2 -2
  61. package/src/annotations/annotationcollection.d.ts +4 -4
  62. package/src/annotations/annotationcollection.js +2 -2
  63. package/src/annotations/annotations.d.ts +7 -7
  64. package/src/annotations/annotations.js +2 -2
  65. package/src/annotations/annotationsuis.d.ts +6 -6
  66. package/src/annotations/annotationsuis.js +2 -2
  67. package/src/annotations/editorannotations.d.ts +5 -5
  68. package/src/annotations/editorannotations.js +2 -2
  69. package/src/annotations/inlineannotations.d.ts +7 -7
  70. package/src/annotations/inlineannotations.js +2 -2
  71. package/src/annotations/narrowsidebar.d.ts +7 -7
  72. package/src/annotations/narrowsidebar.js +2 -2
  73. package/src/annotations/sidebar.d.ts +6 -6
  74. package/src/annotations/sidebar.js +2 -2
  75. package/src/annotations/view/annotationcounterbuttonview.d.ts +3 -3
  76. package/src/annotations/view/annotationcounterbuttonview.js +2 -2
  77. package/src/annotations/view/annotationview.d.ts +3 -3
  78. package/src/annotations/view/annotationview.js +2 -2
  79. package/src/annotations/view/sidebaritemview.d.ts +3 -3
  80. package/src/annotations/view/sidebaritemview.js +2 -2
  81. package/src/annotations/view/sidebarview.d.ts +3 -3
  82. package/src/annotations/view/sidebarview.js +2 -2
  83. package/src/annotations/widesidebar.d.ts +6 -6
  84. package/src/annotations/widesidebar.js +2 -2
  85. package/src/augmentation.d.ts +2 -2
  86. package/src/augmentation.js +1 -1
  87. package/src/comments/addcommentthreadcommand.d.ts +2 -2
  88. package/src/comments/addcommentthreadcommand.js +2 -2
  89. package/src/comments/commentsarchive.d.ts +5 -5
  90. package/src/comments/commentsarchive.js +2 -2
  91. package/src/comments/commentsarchiveui.d.ts +6 -6
  92. package/src/comments/commentsarchiveui.js +2 -2
  93. package/src/comments/commentsediting.d.ts +7 -7
  94. package/src/comments/commentsediting.js +2 -2
  95. package/src/comments/commentsrepository.d.ts +12 -12
  96. package/src/comments/commentsrepository.js +2 -2
  97. package/src/comments/commentsui.d.ts +6 -6
  98. package/src/comments/commentsui.js +2 -2
  99. package/src/comments/integrations/commentsrestrictededitingmode.d.ts +2 -2
  100. package/src/comments/integrations/commentsrestrictededitingmode.js +2 -2
  101. package/src/comments/integrations/importword.d.ts +2 -2
  102. package/src/comments/integrations/importword.js +2 -2
  103. package/src/comments/ui/commenteditor/commenteditor.d.ts +5 -5
  104. package/src/comments/ui/commenteditor/commenteditor.js +2 -2
  105. package/src/comments/ui/commenteditor/commenteditorui.d.ts +4 -4
  106. package/src/comments/ui/commenteditor/commenteditorui.js +2 -2
  107. package/src/comments/ui/commenteditor/commenteditoruiview.d.ts +5 -5
  108. package/src/comments/ui/commenteditor/commenteditoruiview.js +2 -2
  109. package/src/comments/ui/commentthreadcontroller.d.ts +5 -5
  110. package/src/comments/ui/commentthreadcontroller.js +2 -2
  111. package/src/comments/ui/view/basecommentthreadview.d.ts +9 -9
  112. package/src/comments/ui/view/basecommentthreadview.js +2 -2
  113. package/src/comments/ui/view/basecommentview.d.ts +5 -5
  114. package/src/comments/ui/view/basecommentview.js +2 -2
  115. package/src/comments/ui/view/collapsedcommentsview.d.ts +3 -3
  116. package/src/comments/ui/view/collapsedcommentsview.js +2 -2
  117. package/src/comments/ui/view/commentcontentview.d.ts +3 -3
  118. package/src/comments/ui/view/commentcontentview.js +2 -2
  119. package/src/comments/ui/view/commentinputview.d.ts +5 -5
  120. package/src/comments/ui/view/commentinputview.js +2 -2
  121. package/src/comments/ui/view/commentsarchiveview.d.ts +4 -4
  122. package/src/comments/ui/view/commentsarchiveview.js +2 -2
  123. package/src/comments/ui/view/commentslistview.d.ts +6 -6
  124. package/src/comments/ui/view/commentslistview.js +2 -2
  125. package/src/comments/ui/view/commentthreadheaderview.d.ts +4 -4
  126. package/src/comments/ui/view/commentthreadheaderview.js +2 -2
  127. package/src/comments/ui/view/commentthreadinputview.d.ts +6 -6
  128. package/src/comments/ui/view/commentthreadinputview.js +2 -2
  129. package/src/comments/ui/view/commentthreadview.d.ts +8 -8
  130. package/src/comments/ui/view/commentthreadview.js +2 -2
  131. package/src/comments/ui/view/commentview.d.ts +9 -9
  132. package/src/comments/ui/view/commentview.js +2 -2
  133. package/src/comments.d.ts +11 -11
  134. package/src/comments.js +2 -2
  135. package/src/commentsonly.d.ts +3 -3
  136. package/src/commentsonly.js +2 -2
  137. package/src/config.d.ts +4 -4
  138. package/src/config.js +1 -1
  139. package/src/index.d.ts +21 -21
  140. package/src/index.js +2 -2
  141. package/src/utils/common-translations.d.ts +2 -2
  142. package/src/utils/common-translations.js +2 -2
  143. package/src/utils/createmutationobserver.d.ts +1 -1
  144. package/src/utils/createmutationobserver.js +2 -2
  145. package/theme/annotation-inline.css +1 -1
  146. package/theme/annotation.css +5 -1
  147. package/theme/comment.css +1 -1
  148. package/theme/commentinput.css +1 -1
  149. package/theme/commentmarker.css +1 -1
  150. package/theme/commentsarchive.css +2 -2
  151. package/theme/commentthread.css +5 -1
  152. package/theme/icons/add-comment.svg +1 -1
  153. package/theme/icons/comments-archive.svg +1 -1
  154. package/theme/icons/edit-comment.svg +1 -1
  155. package/theme/icons/remove-comment.svg +1 -1
  156. package/theme/sidebar-narrow.css +1 -1
  157. package/theme/sidebar.css +1 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x48fe=['threeVerticalDots','withText','label','EXTERNAL_COMMENT','_model','getUserViewNotificationText','ck-annotation__content-wrapper','ck-comment--','items','ck-comment--remove-confirmation','authoredAt','buttonView','ck-annotation__info-name','render','placeholder','resolvedAt','ck-comment--remove','listenTo','ck-annotation__user','isEnabled','attributes','pencil','ck-comment__external','Reply...','edit','name','EXTERNAL_IMPORT_WORD_COMMENT','change:isVisible','author','removeButton','isSystemComment','element','div','set','then','actionIndicator','remove','ck-annotation__actions','_createRemoveButton','icon','some','isEditable','_createEditButton','add','visibleView','_createDropdown','_config','Edit','execute','_attachActions','bind','createCollection','ck-annotation__info-time','fire','mouseenter','change:isRemovable','actionBar','ck-comment__main','panelView','length','addMany','extendTemplate','ck-annotation__main','isVisible','switchToEditMode','Show\x20more\x20items','time','source','focus','EXTERNAL_IMPORT_WORD_AVATAR','isExternal','change:isEnabled','isEditMode','creator','ck-annotation__info','_createCommentInputView','push','mouseleave','ck-comment--info','getTemplate','setTemplate','ck-annotation__actions--hidden','dropdown','getExternalCommentNote','ck-comment__user','ck-comment__info-time','EXTERNAL_AVATAR','userView','editButton','cancelConfirm','locale','ck-comment--edit','isRemovable'];(function(_0x5855ca,_0x48feb5){const _0x1cbac6=function(_0x1f73ca){while(--_0x1f73ca){_0x5855ca['push'](_0x5855ca['shift']());}};_0x1cbac6(++_0x48feb5);}(_0x48fe,0x1d7));const _0x1cba=function(_0x5855ca,_0x48feb5){_0x5855ca=_0x5855ca-0x0;let _0x1cbac6=_0x48fe[_0x5855ca];return _0x1cbac6;};import{ButtonView as _0x3cfdd2,createDropdown as _0x2d9710,ListView as _0x589f3c,ListItemView as _0x5dced1}from'ckeditor5/src/ui';import{icons as _0xbdd823}from'ckeditor5/src/core';import{UserView as _0x3853fb,ConfirmMixin as _0x1ec7ca}from'ckeditor5-collaboration/src/collaboration-core';import _0x362b1e from'./basecommentview';import _0xeafeae from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x486c69}from'../../../utils/common-translations';export default class pt extends _0x1ec7ca(_0x362b1e){constructor(_0x2d7950,_0x94af1,_0x2b133d){super(_0x2d7950,_0x94af1,_0x2b133d),this[_0x1cba('0x1b')](_0x1cba('0x1d'),null),this[_0x1cba('0x1b')](_0x1cba('0x8'),_0x486c69(_0x2d7950,_0x1cba('0x11'))),this[_0x1cba('0x2c')](_0x1cba('0x4'))['to'](_0x94af1),this[_0x1cba('0x2c')](_0x1cba('0x9'))['to'](_0x94af1),this[_0x1cba('0x32')]=this[_0x1cba('0x2d')](),this[_0x1cba('0x18')]||(this[_0x1cba('0x52')]=this['_createEditButton'](),this[_0x1cba('0x17')]=this[_0x1cba('0x20')](),this[_0x1cba('0x2')]=this[_0x1cba('0x2d')](),this['items'][_0x1cba('0x36')]([this['editButton'],this[_0x1cba('0x17')]]),this[_0x1cba('0x4c')]=this[_0x1cba('0x27')](),this[_0x1cba('0x32')][_0x1cba('0x25')](this['dropdown'])),this['userView']=new _0x3853fb(_0x2d7950,_0x94af1[_0x1cba('0x16')],this[_0x1cba('0x5c')]()),this[_0x1cba('0x51')][_0x1cba('0x37')]({'attributes':{'class':[_0x1cba('0x4e'),_0x1cba('0xc')]}}),this[_0x1cba('0xb')](_0x94af1,_0x1cba('0x31'),()=>this[_0x1cba('0x53')]()),this[_0x1cba('0x4a')](this[_0x1cba('0x49')]());}[_0x1cba('0x49')](){const _0x172edb=this['bindTemplate'],_0x2b77f7=[{'tag':_0x1cba('0x1a'),'attributes':{'class':['ck-comment__info',_0x1cba('0x44')]},'children':[{'tag':'span','children':[{'text':this[_0x1cba('0x51')][_0x1cba('0x13')]}],'attributes':{'class':['ck-comment__info-name',_0x1cba('0x6')]}},{'tag':_0x1cba('0x3c'),'attributes':{'datetime':_0x172edb['to']('authoredAt'),'class':[_0x1cba('0x4f'),_0x1cba('0x2e')]},'children':[{'text':_0x172edb['to'](_0x1cba('0x4'),_0x499ae0=>this[_0x1cba('0x28')]['formatDateTime'](_0x499ae0))}]}]},{'tag':'div','attributes':{'class':['ck-comment__actions',_0x1cba('0x1f'),_0x172edb['if']('isEditMode','ck-comment__actions--hidden'),_0x172edb['if']('isEditMode',_0x1cba('0x4b'))]},'children':this[_0x1cba('0x32')]},{'tag':_0x1cba('0x1a'),'attributes':{'class':[_0x1cba('0x0')]},'children':this[_0x1cba('0x26')]}];return this[_0x1cba('0x5b')][_0x1cba('0x40')]&&_0x2b77f7[_0x1cba('0x46')]({'tag':_0x1cba('0x1a'),'attributes':{'class':[_0x1cba('0x10')]},'children':[{'text':this[_0x1cba('0x4d')]()}]}),{'tag':'li','attributes':{'class':['ck-comment__wrapper',_0x172edb['if']('isConfirm',_0x1cba('0x3'))],'tabindex':-0x1},'children':[{'tag':_0x1cba('0x1a'),'attributes':{'class':['ck-comment','ck-annotation',_0x172edb['if'](_0x1cba('0x42'),'ck-comment--edit'),_0x172edb['if'](_0x1cba('0x18'),_0x1cba('0x48')),_0x172edb['to'](_0x1cba('0x1d'),_0x4fdc68=>_0x4fdc68?_0x1cba('0x1')+_0x4fdc68:'')],'data-author-id':this[_0x1cba('0x5b')]['author']['id'],'data-comment-id':this['_model']['id']},'children':[this[_0x1cba('0x51')],{'tag':_0x1cba('0x1a'),'attributes':{'class':[_0x1cba('0x33'),_0x1cba('0x38')]},'children':_0x2b77f7}]}]};}[_0x1cba('0x24')](){const _0x310e85=new _0x3cfdd2(this[_0x1cba('0x54')]);return _0x310e85[_0x1cba('0x59')]=_0x486c69(this[_0x1cba('0x54')],_0x1cba('0x29')),_0x310e85[_0x1cba('0x21')]=_0xbdd823[_0x1cba('0xf')],_0x310e85[_0x1cba('0x58')]=!0x0,_0x310e85[_0x1cba('0x37')]({'attributes':{'class':_0x1cba('0x55')}}),_0x310e85[_0x1cba('0x2c')](_0x1cba('0xd'))['to'](this['_model'],'isReadOnly',_0x1b9c3a=>!_0x1b9c3a),_0x310e85[_0x1cba('0x2c')](_0x1cba('0x39'))['to'](this[_0x1cba('0x5b')],_0x1cba('0x23')),_0x310e85['on']('execute',()=>this[_0x1cba('0x3a')]()),_0x310e85;}[_0x1cba('0x20')](){const _0x2d155a=new _0x3cfdd2(this[_0x1cba('0x54')]);return _0x2d155a[_0x1cba('0x59')]=_0x486c69(this[_0x1cba('0x54')],'Remove'),_0x2d155a['icon']=_0xeafeae,_0x2d155a[_0x1cba('0x58')]=!0x0,_0x2d155a[_0x1cba('0x37')]({'attributes':{'class':_0x1cba('0xa')}}),_0x2d155a[_0x1cba('0x2c')]('isEnabled')['to'](this[_0x1cba('0x5b')],'isReadOnly',_0x326304=>!_0x326304),_0x2d155a[_0x1cba('0x2c')](_0x1cba('0x39'))['to'](this[_0x1cba('0x5b')],_0x1cba('0x56')),_0x2d155a['on'](_0x1cba('0x2a'),()=>{this['showConfirm'](_0x486c69(this[_0x1cba('0x54')],'Delete\x20comment?'),this['element'])[_0x1cba('0x1c')](()=>{this[_0x1cba('0x2f')]('removeComment',this[_0x1cba('0x5b')]['id']);});}),_0x2d155a;}[_0x1cba('0x27')](){const _0x53cceb=_0x2d9710(this[_0x1cba('0x54')]),_0x54570c=_0x53cceb[_0x1cba('0x34')]['children'],_0x47059e=new _0x589f3c(this['locale']),_0x54683d=(_0x424d5e,_0x339095=-0x1)=>{const _0x30cc53=new _0x5dced1(this[_0x1cba('0x54')]);_0x30cc53['children']['add'](_0x424d5e);const _0x370f5d=_0x339095>-0x1?_0x339095:_0x47059e['items'][_0x1cba('0x35')];_0x47059e[_0x1cba('0x2')][_0x1cba('0x25')](_0x30cc53,_0x370f5d),_0x53cceb['listenTo'](_0x424d5e,_0x1cba('0x41'),()=>{_0x53cceb['isEnabled']=[...this[_0x1cba('0x2')]]['some'](_0x58b96f=>_0x58b96f[_0x1cba('0xd')]);}),_0x53cceb[_0x1cba('0xb')](_0x424d5e,_0x1cba('0x15'),()=>{_0x53cceb[_0x1cba('0x5')][_0x1cba('0x39')]=[...this[_0x1cba('0x2')]][_0x1cba('0x22')](_0x1ada26=>_0x1ada26[_0x1cba('0x39')]);});};_0x53cceb['panelPosition']='sw',_0x53cceb['buttonView'][_0x1cba('0x1b')]({'label':_0x486c69(this[_0x1cba('0x54')],_0x1cba('0x3b')),'icon':_0xbdd823[_0x1cba('0x57')]}),_0x53cceb['isEnabled']=[...this[_0x1cba('0x2')]][_0x1cba('0x22')](_0x4f9274=>_0x4f9274[_0x1cba('0xd')]),_0x53cceb['buttonView'][_0x1cba('0x39')]=[...this[_0x1cba('0x2')]]['some'](_0x13f43a=>_0x13f43a[_0x1cba('0x39')]);for(const _0x342d22 of this[_0x1cba('0x2')])_0x54683d(_0x342d22);return _0x54570c['add'](_0x47059e),_0x53cceb[_0x1cba('0xb')](this['items'],_0x1cba('0x25'),(_0x52442f,_0xc0c66e,_0x5d0939)=>{_0x54683d(_0xc0c66e,_0x5d0939);}),_0x53cceb[_0x1cba('0xb')](this[_0x1cba('0x2')],_0x1cba('0x1e'),(_0x5e362f,_0x466ae6,_0x3f45e1)=>{_0x47059e['items']['remove'](_0x3f45e1);}),_0x53cceb;}[_0x1cba('0x2b')](_0x559145,_0x3a5d7a){const _0x5a2a40=_0x559145&&_0x559145[_0x1cba('0x19')];_0x5a2a40&&(this[_0x1cba('0xb')](_0x5a2a40,_0x1cba('0x30'),()=>this[_0x1cba('0x1d')]=_0x3a5d7a),this[_0x1cba('0xb')](_0x5a2a40,_0x1cba('0x3e'),()=>this[_0x1cba('0x1d')]=_0x3a5d7a),this[_0x1cba('0xb')](_0x5a2a40,_0x1cba('0x47'),()=>this['actionIndicator']=null),this[_0x1cba('0xb')](_0x5a2a40,'blur',()=>this[_0x1cba('0x1d')]=null));}[_0x1cba('0x45')](){const _0x23fc0a=super['_createCommentInputView']();return _0x23fc0a['bind'](_0x1cba('0x8'))['to'](this),_0x23fc0a;}['getExternalCommentNote'](){return'importWord'===this[_0x1cba('0x5b')][_0x1cba('0xe')]['@external'][_0x1cba('0x3d')]?_0x486c69(this[_0x1cba('0x54')],_0x1cba('0x14')):_0x486c69(this[_0x1cba('0x54')],_0x1cba('0x5a'));}[_0x1cba('0x5c')](){return this[_0x1cba('0x5b')][_0x1cba('0x40')]?'importWord'===this[_0x1cba('0x5b')]['attributes']['@external']['source']?_0x486c69(this[_0x1cba('0x54')],_0x1cba('0x3f'),this['_model'][_0x1cba('0x43')]['name']):_0x486c69(this[_0x1cba('0x54')],_0x1cba('0x50'),this['_model'][_0x1cba('0x43')][_0x1cba('0x13')]):null;}[_0x1cba('0x7')](){super[_0x1cba('0x7')](),this['_attachActions'](this[_0x1cba('0x52')],_0x1cba('0x12')),this['_attachActions'](this[_0x1cba('0x17')],_0x1cba('0x1e'));}}
23
+ const _0x15f6=['authoredAt','items','attributes','switchToEditMode','ck-annotation__actions--hidden','ck-comment--remove','setTemplate','div','creator','isEnabled','set','ck-comment__actions','push','isConfirm','time','ck-annotation__info-time','name','extendTemplate','addMany','ck-annotation__info','isSystemComment','EXTERNAL_COMMENT','threeVerticalDots','placeholder','dropdown','_attachActions','ck-annotation__content-wrapper','bind','EXTERNAL_IMPORT_WORD_AVATAR','getTemplate','ck-annotation__user','actionBar','Reply...','_createDropdown','bindTemplate','element','fire','Delete\x20comment?','@external','ck-comment--','focus','removeComment','remove','_model','listenTo','length','ck-annotation','_createCommentInputView','mouseenter','change:isVisible','Edit','_config','resolvedAt','withText','ck-annotation__info-name','change:isRemovable','children','source','_createEditButton','EXTERNAL_IMPORT_WORD_COMMENT','userView','some','ck-comment--info','ck-comment__main','actionIndicator','removeButton','isEditMode','getExternalCommentNote','isVisible','isReadOnly','visibleView','ck-comment--edit','locale','add','createCollection','editButton','ck-comment__user','ck-comment__info','ck-annotation__main','Show\x20more\x20items','change:isEnabled','isExternal','_createRemoveButton','ck-comment__info-name','Remove','icon','execute','then','label','panelPosition','render','buttonView','getUserViewNotificationText','author','importWord','panelView'];(function(_0x48061d,_0x15f645){const _0x5bf289=function(_0x433949){while(--_0x433949){_0x48061d['push'](_0x48061d['shift']());}};_0x5bf289(++_0x15f645);}(_0x15f6,0x192));const _0x5bf2=function(_0x48061d,_0x15f645){_0x48061d=_0x48061d-0x0;let _0x5bf289=_0x15f6[_0x48061d];return _0x5bf289;};import{ButtonView as _0x37ec54,createDropdown as _0x1b67e8,ListView as _0x6ef491,ListItemView as _0x4c0af2}from'ckeditor5/src/ui.js';import{icons as _0x13345b}from'ckeditor5/src/core.js';import{UserView as _0x133c23,ConfirmMixin as _0x30968e}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x250d76 from'./basecommentview.js';import _0x4fb364 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x370c61}from'../../../utils/common-translations.js';export default class pt extends _0x30968e(_0x250d76){constructor(_0x3fc4a4,_0x2fee60,_0x592c9d){super(_0x3fc4a4,_0x2fee60,_0x592c9d),this[_0x5bf2('0x58')](_0x5bf2('0x2e'),null),this[_0x5bf2('0x58')](_0x5bf2('0x5'),_0x370c61(_0x3fc4a4,_0x5bf2('0xe'))),this[_0x5bf2('0x9')](_0x5bf2('0x4e'))['to'](_0x2fee60),this['bind'](_0x5bf2('0x22'))['to'](_0x2fee60),this['actionBar']=this[_0x5bf2('0x38')](),this[_0x5bf2('0x2')]||(this[_0x5bf2('0x39')]=this[_0x5bf2('0x28')](),this['removeButton']=this['_createRemoveButton'](),this[_0x5bf2('0x4f')]=this['createCollection'](),this['items'][_0x5bf2('0x0')]([this[_0x5bf2('0x39')],this[_0x5bf2('0x2f')]]),this[_0x5bf2('0x6')]=this[_0x5bf2('0xf')](),this[_0x5bf2('0xd')][_0x5bf2('0x37')](this[_0x5bf2('0x6')])),this[_0x5bf2('0x2a')]=new _0x133c23(_0x3fc4a4,_0x2fee60[_0x5bf2('0x4b')],this[_0x5bf2('0x4a')]()),this['userView'][_0x5bf2('0x5f')]({'attributes':{'class':[_0x5bf2('0x3a'),_0x5bf2('0xc')]}}),this[_0x5bf2('0x1a')](_0x2fee60,_0x5bf2('0x25'),()=>this['cancelConfirm']()),this[_0x5bf2('0x54')](this[_0x5bf2('0xb')]());}[_0x5bf2('0xb')](){const _0x52b8e3=this[_0x5bf2('0x10')],_0x109d93=[{'tag':'div','attributes':{'class':[_0x5bf2('0x3b'),_0x5bf2('0x1')]},'children':[{'tag':'span','children':[{'text':this[_0x5bf2('0x2a')][_0x5bf2('0x5e')]}],'attributes':{'class':[_0x5bf2('0x41'),_0x5bf2('0x24')]}},{'tag':_0x5bf2('0x5c'),'attributes':{'datetime':_0x52b8e3['to']('authoredAt'),'class':['ck-comment__info-time',_0x5bf2('0x5d')]},'children':[{'text':_0x52b8e3['to'](_0x5bf2('0x4e'),_0x1138d5=>this[_0x5bf2('0x21')]['formatDateTime'](_0x1138d5))}]}]},{'tag':_0x5bf2('0x55'),'attributes':{'class':[_0x5bf2('0x59'),'ck-annotation__actions',_0x52b8e3['if'](_0x5bf2('0x30'),'ck-comment__actions--hidden'),_0x52b8e3['if']('isEditMode',_0x5bf2('0x52'))]},'children':this['actionBar']},{'tag':_0x5bf2('0x55'),'attributes':{'class':[_0x5bf2('0x8')]},'children':this[_0x5bf2('0x34')]}];return this[_0x5bf2('0x19')][_0x5bf2('0x3f')]&&_0x109d93[_0x5bf2('0x5a')]({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this[_0x5bf2('0x31')]()}]}),{'tag':'li','attributes':{'class':['ck-comment__wrapper',_0x52b8e3['if'](_0x5bf2('0x5b'),'ck-comment--remove-confirmation')],'tabindex':-0x1},'children':[{'tag':_0x5bf2('0x55'),'attributes':{'class':['ck-comment',_0x5bf2('0x1c'),_0x52b8e3['if'](_0x5bf2('0x30'),'ck-comment--edit'),_0x52b8e3['if'](_0x5bf2('0x2'),_0x5bf2('0x2c')),_0x52b8e3['to'](_0x5bf2('0x2e'),_0x27bd4e=>_0x27bd4e?_0x5bf2('0x15')+_0x27bd4e:'')],'data-author-id':this[_0x5bf2('0x19')][_0x5bf2('0x4b')]['id'],'data-comment-id':this[_0x5bf2('0x19')]['id']},'children':[this[_0x5bf2('0x2a')],{'tag':_0x5bf2('0x55'),'attributes':{'class':[_0x5bf2('0x2d'),_0x5bf2('0x3c')]},'children':_0x109d93}]}]};}[_0x5bf2('0x28')](){const _0x50abd0=new _0x37ec54(this[_0x5bf2('0x36')]);return _0x50abd0[_0x5bf2('0x46')]=_0x370c61(this[_0x5bf2('0x36')],_0x5bf2('0x20')),_0x50abd0['icon']=_0x13345b['pencil'],_0x50abd0[_0x5bf2('0x23')]=!0x0,_0x50abd0[_0x5bf2('0x5f')]({'attributes':{'class':_0x5bf2('0x35')}}),_0x50abd0[_0x5bf2('0x9')](_0x5bf2('0x57'))['to'](this['_model'],_0x5bf2('0x33'),_0x53fc4c=>!_0x53fc4c),_0x50abd0['bind'](_0x5bf2('0x32'))['to'](this['_model'],'isEditable'),_0x50abd0['on'](_0x5bf2('0x44'),()=>this[_0x5bf2('0x51')]()),_0x50abd0;}[_0x5bf2('0x40')](){const _0xcbd50f=new _0x37ec54(this[_0x5bf2('0x36')]);return _0xcbd50f[_0x5bf2('0x46')]=_0x370c61(this[_0x5bf2('0x36')],_0x5bf2('0x42')),_0xcbd50f[_0x5bf2('0x43')]=_0x4fb364,_0xcbd50f[_0x5bf2('0x23')]=!0x0,_0xcbd50f['extendTemplate']({'attributes':{'class':_0x5bf2('0x53')}}),_0xcbd50f[_0x5bf2('0x9')](_0x5bf2('0x57'))['to'](this['_model'],_0x5bf2('0x33'),_0x584bef=>!_0x584bef),_0xcbd50f[_0x5bf2('0x9')](_0x5bf2('0x32'))['to'](this[_0x5bf2('0x19')],'isRemovable'),_0xcbd50f['on'](_0x5bf2('0x44'),()=>{this['showConfirm'](_0x370c61(this[_0x5bf2('0x36')],_0x5bf2('0x13')),this['element'])[_0x5bf2('0x45')](()=>{this[_0x5bf2('0x12')](_0x5bf2('0x17'),this['_model']['id']);});}),_0xcbd50f;}[_0x5bf2('0xf')](){const _0x258032=_0x1b67e8(this[_0x5bf2('0x36')]),_0x2a492b=_0x258032[_0x5bf2('0x4d')][_0x5bf2('0x26')],_0x1ead36=new _0x6ef491(this[_0x5bf2('0x36')]),_0x34d0ee=(_0x17ee85,_0x48151e=-0x1)=>{const _0x2da085=new _0x4c0af2(this[_0x5bf2('0x36')]);_0x2da085[_0x5bf2('0x26')]['add'](_0x17ee85);const _0x410d03=_0x48151e>-0x1?_0x48151e:_0x1ead36[_0x5bf2('0x4f')][_0x5bf2('0x1b')];_0x1ead36[_0x5bf2('0x4f')][_0x5bf2('0x37')](_0x2da085,_0x410d03),_0x258032[_0x5bf2('0x1a')](_0x17ee85,_0x5bf2('0x3e'),()=>{_0x258032['isEnabled']=[...this[_0x5bf2('0x4f')]][_0x5bf2('0x2b')](_0x1f9b74=>_0x1f9b74[_0x5bf2('0x57')]);}),_0x258032['listenTo'](_0x17ee85,_0x5bf2('0x1f'),()=>{_0x258032[_0x5bf2('0x49')]['isVisible']=[...this[_0x5bf2('0x4f')]][_0x5bf2('0x2b')](_0x76ade0=>_0x76ade0[_0x5bf2('0x32')]);});};_0x258032[_0x5bf2('0x47')]='sw',_0x258032[_0x5bf2('0x49')][_0x5bf2('0x58')]({'label':_0x370c61(this[_0x5bf2('0x36')],_0x5bf2('0x3d')),'icon':_0x13345b[_0x5bf2('0x4')]}),_0x258032[_0x5bf2('0x57')]=[...this['items']][_0x5bf2('0x2b')](_0xff0da2=>_0xff0da2['isEnabled']),_0x258032[_0x5bf2('0x49')][_0x5bf2('0x32')]=[...this[_0x5bf2('0x4f')]]['some'](_0x162c00=>_0x162c00[_0x5bf2('0x32')]);for(const _0x30986c of this['items'])_0x34d0ee(_0x30986c);return _0x2a492b['add'](_0x1ead36),_0x258032[_0x5bf2('0x1a')](this[_0x5bf2('0x4f')],_0x5bf2('0x37'),(_0x355e9b,_0x1dca54,_0x24115d)=>{_0x34d0ee(_0x1dca54,_0x24115d);}),_0x258032['listenTo'](this[_0x5bf2('0x4f')],'remove',(_0x2636fb,_0x4a3eed,_0x26c4cf)=>{_0x1ead36[_0x5bf2('0x4f')]['remove'](_0x26c4cf);}),_0x258032;}[_0x5bf2('0x7')](_0x1fe9bf,_0x14d8d8){const _0xd9d881=_0x1fe9bf&&_0x1fe9bf[_0x5bf2('0x11')];_0xd9d881&&(this['listenTo'](_0xd9d881,_0x5bf2('0x1e'),()=>this[_0x5bf2('0x2e')]=_0x14d8d8),this[_0x5bf2('0x1a')](_0xd9d881,_0x5bf2('0x16'),()=>this[_0x5bf2('0x2e')]=_0x14d8d8),this['listenTo'](_0xd9d881,'mouseleave',()=>this[_0x5bf2('0x2e')]=null),this['listenTo'](_0xd9d881,'blur',()=>this[_0x5bf2('0x2e')]=null));}[_0x5bf2('0x1d')](){const _0x2b59a2=super[_0x5bf2('0x1d')]();return _0x2b59a2['bind'](_0x5bf2('0x5'))['to'](this),_0x2b59a2;}['getExternalCommentNote'](){return _0x5bf2('0x4c')===this[_0x5bf2('0x19')][_0x5bf2('0x50')][_0x5bf2('0x14')][_0x5bf2('0x27')]?_0x370c61(this['locale'],_0x5bf2('0x29')):_0x370c61(this[_0x5bf2('0x36')],_0x5bf2('0x3'));}[_0x5bf2('0x4a')](){return this[_0x5bf2('0x19')][_0x5bf2('0x3f')]?_0x5bf2('0x4c')===this[_0x5bf2('0x19')][_0x5bf2('0x50')][_0x5bf2('0x14')][_0x5bf2('0x27')]?_0x370c61(this['locale'],_0x5bf2('0xa'),this[_0x5bf2('0x19')][_0x5bf2('0x56')]['name']):_0x370c61(this[_0x5bf2('0x36')],'EXTERNAL_AVATAR',this[_0x5bf2('0x19')]['creator']['name']):null;}[_0x5bf2('0x48')](){super[_0x5bf2('0x48')](),this[_0x5bf2('0x7')](this['editButton'],'edit'),this[_0x5bf2('0x7')](this[_0x5bf2('0x2f')],_0x5bf2('0x18'));}}
package/src/comments.d.ts CHANGED
@@ -1,21 +1,21 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
6
6
  * @module comments/comments
7
7
  * @publicApi
8
8
  */
9
- import { Plugin } from 'ckeditor5/src/core';
10
- import CommentsRepository from './comments/commentsrepository';
11
- import CommentsEditing from './comments/commentsediting';
12
- import CommentsUI from './comments/commentsui';
13
- import CommentsOnly from './commentsonly';
14
- import WideSidebar from './annotations/widesidebar';
15
- import NarrowSidebar from './annotations/narrowsidebar';
16
- import InlineAnnotations from './annotations/inlineannotations';
17
- import CommentsArchiveUI from './comments/commentsarchiveui';
18
- import CommentsArchive from './comments/commentsarchive';
9
+ import { Plugin } from 'ckeditor5/src/core.js';
10
+ import CommentsRepository from './comments/commentsrepository.js';
11
+ import CommentsEditing from './comments/commentsediting.js';
12
+ import CommentsUI from './comments/commentsui.js';
13
+ import CommentsOnly from './commentsonly.js';
14
+ import WideSidebar from './annotations/widesidebar.js';
15
+ import NarrowSidebar from './annotations/narrowsidebar.js';
16
+ import InlineAnnotations from './annotations/inlineannotations.js';
17
+ import CommentsArchiveUI from './comments/commentsarchiveui.js';
18
+ import CommentsArchive from './comments/commentsarchive.js';
19
19
  /**
20
20
  * The comments plugin, which brings both the UI part and the editing part of this feature.
21
21
  *
package/src/comments.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x20b3=['pluginName','Comments'];(function(_0x5aa353,_0x20b3a7){var _0x49cacd=function(_0x15a2f7){while(--_0x15a2f7){_0x5aa353['push'](_0x5aa353['shift']());}};_0x49cacd(++_0x20b3a7);}(_0x20b3,0x1e1));var _0x49ca=function(_0x5aa353,_0x20b3a7){_0x5aa353=_0x5aa353-0x0;var _0x49cacd=_0x20b3[_0x5aa353];return _0x49cacd;};import{Plugin as _0x192fa8}from'ckeditor5/src/core';import _0x2e7169 from'./comments/commentsrepository';import _0x522d09 from'./comments/commentsediting';import _0x4f4e6b from'./comments/commentsui';import _0x3c0833 from'./commentsonly';import _0x303cb9 from'./annotations/widesidebar';import _0x503fb7 from'./annotations/narrowsidebar';import _0x436aa3 from'./annotations/inlineannotations';import _0x4d582c from'./comments/commentsarchiveui';import _0x252ba5 from'./comments/commentsarchive';export default class f extends _0x192fa8{static get['requires'](){return[_0x2e7169,_0x522d09,_0x4f4e6b,_0x252ba5,_0x4d582c,_0x3c0833,_0x303cb9,_0x503fb7,_0x436aa3];}static get[_0x49ca('0x1')](){return _0x49ca('0x0');}}
23
+ var _0x1db8=['requires'];(function(_0x42f50c,_0x1db83e){var _0x5c2956=function(_0x53c0ce){while(--_0x53c0ce){_0x42f50c['push'](_0x42f50c['shift']());}};_0x5c2956(++_0x1db83e);}(_0x1db8,0x17d));var _0x5c29=function(_0x42f50c,_0x1db83e){_0x42f50c=_0x42f50c-0x0;var _0x5c2956=_0x1db8[_0x42f50c];return _0x5c2956;};import{Plugin as _0x3577cd}from'ckeditor5/src/core.js';import _0x3db45a from'./comments/commentsrepository.js';import _0x3c3ed9 from'./comments/commentsediting.js';import _0x5cdb64 from'./comments/commentsui.js';import _0x22cd0f from'./commentsonly.js';import _0x371a02 from'./annotations/widesidebar.js';import _0x167585 from'./annotations/narrowsidebar.js';import _0x58cca3 from'./annotations/inlineannotations.js';import _0x578e22 from'./comments/commentsarchiveui.js';import _0x6a34d4 from'./comments/commentsarchive.js';export default class f extends _0x3577cd{static get[_0x5c29('0x0')](){return[_0x3db45a,_0x3c3ed9,_0x5cdb64,_0x6a34d4,_0x578e22,_0x22cd0f,_0x371a02,_0x167585,_0x58cca3];}static get['pluginName'](){return'Comments';}}
@@ -1,13 +1,13 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
6
6
  * @module comments/commentsonly
7
7
  * @publicApi
8
8
  */
9
- import { Plugin, type Editor } from 'ckeditor5/src/core';
10
- import CommentsEditing from './comments/commentsediting';
9
+ import { Plugin, type Editor } from 'ckeditor5/src/core.js';
10
+ import CommentsEditing from './comments/commentsediting.js';
11
11
  /**
12
12
  * The `CommentsOnly` plugin allows you to put the editor in a mode where a user can only add, edit or delete comments.
13
13
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b09=['change:isEnabled','set','stopListening','_enableCommentsOnlyMode','stop','get','affectsData','cut','addCommentThread','editor','_disableCommentsOnlyMode','DragDrop','editing','highest','commands','listenTo','document','afterInit','delete','view','requires','clipboardInput','plugins','isEnabled','has','pluginName','CommentsOnly','commentsOnlyMode'];(function(_0x37d237,_0x1b0924){const _0x693e72=function(_0x7deaa8){while(--_0x7deaa8){_0x37d237['push'](_0x37d237['shift']());}};_0x693e72(++_0x1b0924);}(_0x1b09,0x14e));const _0x693e=function(_0x37d237,_0x1b0924){_0x37d237=_0x37d237-0x0;let _0x693e72=_0x1b09[_0x37d237];return _0x693e72;};import{Plugin as _0x4a7d83}from'ckeditor5/src/core';import _0x3cd906 from'./comments/commentsediting';export default class n extends _0x4a7d83{static get[_0x693e('0x1b')](){return _0x693e('0x0');}static get[_0x693e('0x16')](){return[_0x3cd906];}constructor(_0x1d24f2){super(_0x1d24f2),this[_0x693e('0x3')]('isEnabled',!0x1),this['on'](_0x693e('0x2'),(_0x3f3131,_0x2719d9,_0x140775)=>{_0x140775?this[_0x693e('0x5')]():this[_0x693e('0xc')]();});}[_0x693e('0x13')](){!this[_0x693e('0x19')]&&this[_0x693e('0xb')]['config'][_0x693e('0x7')]('commentsOnly')&&(this[_0x693e('0x19')]=!0x0);}[_0x693e('0x5')](){for(const [_0x3dee14,_0x4935aa]of this[_0x693e('0xb')][_0x693e('0x10')])_0x4935aa['affectsData']&&_0x693e('0xa')!==_0x3dee14&&_0x4935aa['forceDisabled'](_0x693e('0x1'));this[_0x693e('0xb')][_0x693e('0x18')][_0x693e('0x1a')](_0x693e('0xd'))&&this[_0x693e('0xb')]['plugins']['get'](_0x693e('0xd'))['forceDisabled'](_0x693e('0x1'));const _0x4dd045=this[_0x693e('0xb')]['editing']['view'][_0x693e('0x12')];this[_0x693e('0x11')](_0x4dd045,_0x693e('0x9'),_0x437953=>_0x437953[_0x693e('0x6')](),{'priority':_0x693e('0xf')}),this[_0x693e('0x11')](_0x4dd045,_0x693e('0x17'),_0x4026d7=>_0x4026d7['stop'](),{'priority':_0x693e('0xf')}),this[_0x693e('0x11')](_0x4dd045,_0x693e('0x14'),_0x4ab09a=>_0x4ab09a['stop'](),{'priority':_0x693e('0xf')});}[_0x693e('0xc')](){for(const [_0x258110,_0x45f9b2]of this[_0x693e('0xb')]['commands'])_0x45f9b2[_0x693e('0x8')]&&_0x693e('0xa')!==_0x258110&&_0x45f9b2['clearForceDisabled'](_0x693e('0x1'));this[_0x693e('0x4')](this['editor'][_0x693e('0xe')][_0x693e('0x15')][_0x693e('0x12')]);}}
23
+ const _0x57ac=['DragDrop','set','stop','delete','config','highest','has','plugins','stopListening','commentsOnly','commands','listenTo','requires','get','isEnabled','editor','document','change:isEnabled','cut','pluginName','addCommentThread','_disableCommentsOnlyMode','forceDisabled','clearForceDisabled','CommentsOnly','view','editing','commentsOnlyMode','clipboardInput','affectsData','_enableCommentsOnlyMode'];(function(_0x323081,_0x57acf4){const _0x2d9d6c=function(_0x4e922e){while(--_0x4e922e){_0x323081['push'](_0x323081['shift']());}};_0x2d9d6c(++_0x57acf4);}(_0x57ac,0x137));const _0x2d9d=function(_0x323081,_0x57acf4){_0x323081=_0x323081-0x0;let _0x2d9d6c=_0x57ac[_0x323081];return _0x2d9d6c;};import{Plugin as _0x41719}from'ckeditor5/src/core.js';import _0x4a9b3f from'./comments/commentsediting.js';export default class e extends _0x41719{static get[_0x2d9d('0x12')](){return _0x2d9d('0x17');}static get[_0x2d9d('0xb')](){return[_0x4a9b3f];}constructor(_0x5931a2){super(_0x5931a2),this[_0x2d9d('0x0')](_0x2d9d('0xd'),!0x1),this['on'](_0x2d9d('0x10'),(_0x3009fa,_0x545cf4,_0x3f4e45)=>{_0x3f4e45?this[_0x2d9d('0x1d')]():this[_0x2d9d('0x14')]();});}['afterInit'](){!this[_0x2d9d('0xd')]&&this['editor'][_0x2d9d('0x3')][_0x2d9d('0xc')](_0x2d9d('0x8'))&&(this[_0x2d9d('0xd')]=!0x0);}['_enableCommentsOnlyMode'](){for(const [_0xda6a8e,_0xde9ea0]of this[_0x2d9d('0xe')][_0x2d9d('0x9')])_0xde9ea0[_0x2d9d('0x1c')]&&_0x2d9d('0x13')!==_0xda6a8e&&_0xde9ea0[_0x2d9d('0x15')](_0x2d9d('0x1a'));this[_0x2d9d('0xe')][_0x2d9d('0x6')][_0x2d9d('0x5')](_0x2d9d('0x1e'))&&this[_0x2d9d('0xe')][_0x2d9d('0x6')][_0x2d9d('0xc')](_0x2d9d('0x1e'))[_0x2d9d('0x15')](_0x2d9d('0x1a'));const _0x39c704=this['editor'][_0x2d9d('0x19')]['view'][_0x2d9d('0xf')];this[_0x2d9d('0xa')](_0x39c704,_0x2d9d('0x11'),_0x593175=>_0x593175[_0x2d9d('0x1')](),{'priority':_0x2d9d('0x4')}),this[_0x2d9d('0xa')](_0x39c704,_0x2d9d('0x1b'),_0xadbc43=>_0xadbc43[_0x2d9d('0x1')](),{'priority':_0x2d9d('0x4')}),this[_0x2d9d('0xa')](_0x39c704,_0x2d9d('0x2'),_0x286fad=>_0x286fad['stop'](),{'priority':_0x2d9d('0x4')});}[_0x2d9d('0x14')](){for(const [_0x3b1739,_0x152009]of this['editor'][_0x2d9d('0x9')])_0x152009['affectsData']&&_0x2d9d('0x13')!==_0x3b1739&&_0x152009[_0x2d9d('0x16')](_0x2d9d('0x1a'));this[_0x2d9d('0x7')](this[_0x2d9d('0xe')][_0x2d9d('0x19')][_0x2d9d('0x18')][_0x2d9d('0xf')]);}}
package/src/config.d.ts CHANGED
@@ -1,14 +1,14 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
6
6
  * @module comments/config
7
7
  * @publicApi
8
8
  */
9
- import type { EditorConfig } from 'ckeditor5/src/core';
10
- import type CommentView from './comments/ui/view/commentview';
11
- import type BaseCommentThreadView from './comments/ui/view/basecommentthreadview';
9
+ import type { EditorConfig } from 'ckeditor5/src/core.js';
10
+ import type CommentView from './comments/ui/view/commentview.js';
11
+ import type BaseCommentThreadView from './comments/ui/view/basecommentthreadview.js';
12
12
  /**
13
13
  * The configuration of the comments feature.
14
14
  *
package/src/config.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
package/src/index.d.ts CHANGED
@@ -1,24 +1,24 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
- export { default as Comments } from './comments';
6
- export { default as CommentsOnly } from './commentsonly';
7
- export { default as CommentsUI } from './comments/commentsui';
8
- export { default as CommentsRepository, CommentThread, Comment, type CommentDataJSON, type CommentThreadContext, type CommentThreadDataJSON } from './comments/commentsrepository';
9
- export { default as CommentThreadController } from './comments/ui/commentthreadcontroller';
10
- export { default as Annotations } from './annotations/annotations';
11
- export { default as AnnotationsUIs } from './annotations/annotationsuis';
12
- export { default as EditorAnnotations } from './annotations/editorannotations';
13
- export { default as InlineAnnotations } from './annotations/inlineannotations';
14
- export { default as WideSidebar } from './annotations/widesidebar';
15
- export { default as NarrowSidebar } from './annotations/narrowsidebar';
16
- export { default as AnnotationView } from './annotations/view/annotationview';
17
- export { default as BaseCommentView } from './comments/ui/view/basecommentview';
18
- export { default as BaseCommentThreadView } from './comments/ui/view/basecommentthreadview';
19
- export { default as CommentsListView } from './comments/ui/view/commentslistview';
20
- export { default as CommentView } from './comments/ui/view/commentview';
21
- export { default as CommentThreadInputView } from './comments/ui/view/commentthreadinputview';
22
- export type { CommentsConfig, SidebarConfig } from './config';
23
- export type { default as CommentsEditing } from './comments/commentsediting';
24
- import './augmentation';
5
+ export { default as Comments } from './comments.js';
6
+ export { default as CommentsOnly } from './commentsonly.js';
7
+ export { default as CommentsUI } from './comments/commentsui.js';
8
+ export { default as CommentsRepository, CommentThread, Comment, type CommentDataJSON, type CommentThreadContext, type CommentThreadDataJSON } from './comments/commentsrepository.js';
9
+ export { default as CommentThreadController } from './comments/ui/commentthreadcontroller.js';
10
+ export { default as Annotations } from './annotations/annotations.js';
11
+ export { default as AnnotationsUIs } from './annotations/annotationsuis.js';
12
+ export { default as EditorAnnotations } from './annotations/editorannotations.js';
13
+ export { default as InlineAnnotations } from './annotations/inlineannotations.js';
14
+ export { default as WideSidebar } from './annotations/widesidebar.js';
15
+ export { default as NarrowSidebar } from './annotations/narrowsidebar.js';
16
+ export { default as AnnotationView } from './annotations/view/annotationview.js';
17
+ export { default as BaseCommentView } from './comments/ui/view/basecommentview.js';
18
+ export { default as BaseCommentThreadView } from './comments/ui/view/basecommentthreadview.js';
19
+ export { default as CommentsListView } from './comments/ui/view/commentslistview.js';
20
+ export { default as CommentView } from './comments/ui/view/commentview.js';
21
+ export { default as CommentThreadInputView } from './comments/ui/view/commentthreadinputview.js';
22
+ export type { CommentsConfig, SidebarConfig } from './config.js';
23
+ export type { default as CommentsEditing } from './comments/commentsediting.js';
24
+ import './augmentation.js';
package/src/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export{default as Comments}from'./comments';export{default as CommentsOnly}from'./commentsonly';export{default as CommentsUI}from'./comments/commentsui';export{default as CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository';export{default as CommentThreadController}from'./comments/ui/commentthreadcontroller';export{default as Annotations}from'./annotations/annotations';export{default as AnnotationsUIs}from'./annotations/annotationsuis';export{default as EditorAnnotations}from'./annotations/editorannotations';export{default as InlineAnnotations}from'./annotations/inlineannotations';export{default as WideSidebar}from'./annotations/widesidebar';export{default as NarrowSidebar}from'./annotations/narrowsidebar';export{default as AnnotationView}from'./annotations/view/annotationview';export{default as BaseCommentView}from'./comments/ui/view/basecommentview';export{default as BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview';export{default as CommentsListView}from'./comments/ui/view/commentslistview';export{default as CommentView}from'./comments/ui/view/commentview';export{default as CommentThreadInputView}from'./comments/ui/view/commentthreadinputview';import'./augmentation';
23
+ export{default as Comments}from'./comments.js';export{default as CommentsOnly}from'./commentsonly.js';export{default as CommentsUI}from'./comments/commentsui.js';export{default as CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{default as CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{default as Annotations}from'./annotations/annotations.js';export{default as AnnotationsUIs}from'./annotations/annotationsuis.js';export{default as EditorAnnotations}from'./annotations/editorannotations.js';export{default as InlineAnnotations}from'./annotations/inlineannotations.js';export{default as WideSidebar}from'./annotations/widesidebar.js';export{default as NarrowSidebar}from'./annotations/narrowsidebar.js';export{default as AnnotationView}from'./annotations/view/annotationview.js';export{default as BaseCommentView}from'./comments/ui/view/basecommentview.js';export{default as BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{default as CommentsListView}from'./comments/ui/view/commentslistview.js';export{default as CommentView}from'./comments/ui/view/commentview.js';export{default as CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';import'./augmentation.js';
@@ -1,9 +1,9 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
6
6
  * @module comments/utils/common-translations
7
7
  */
8
- import type { Locale } from 'ckeditor5/src/utils';
8
+ import type { Locale } from 'ckeditor5/src/utils.js';
9
9
  export declare function getTranslation(locale: Locale, id: string, values?: string | Array<string> | number): string;
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x2d7dad,_0x4fcbf7,_0x56e142){const t=_0x2d7dad['t'];switch(_0x4fcbf7){case'PENDING_ACTION_COMMENT_THREAD':return t({'string':'Unsaved\x20change\x20in\x20comment\x20thread.','id':'PENDING_ACTION_COMMENT_THREAD'});case'Comment':return t('Comment');case'Reply...':return t('Reply...');case'Reply\x20to\x20reopen\x20discussion...':return t('Reply\x20to\x20reopen\x20discussion...');case'Write\x20a\x20comment...':return t('Write\x20a\x20comment...');case'Comment\x20was\x20made\x20on\x20an\x20element':return t('Comment\x20was\x20made\x20on\x20an\x20element');case'Comment\x20editor':return t('Comment\x20editor');case'Delete\x20comment\x20thread?':return t('Delete\x20comment\x20thread?');case'Delete\x20comment?':return t('Delete\x20comment?');case'Marked\x20as\x20resolved':return t('Marked\x20as\x20resolved');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Cancel':return t('Cancel');case'Edit':return t('Edit');case'Resolve':return t('Resolve');case'Reopen':return t('Reopen');case'Remove':return t('Remove');case'Reply':return t('Reply');case'Save':return t('Save');case'LEAVE_COMMENT_ANNOUNCEMENT':return t({'string':'Leaving\x20a\x20comment.','id':'LEAVE_COMMENT_ANNOUNCEMENT'});case'ENTER_COMMENT_ANNOUNCEMENT':return t({'string':'Entering\x20a\x20comment.','id':'ENTER_COMMENT_ANNOUNCEMENT'});case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x56e142);case'TOO_LONG_COMMENT_ALERT':return t({'string':'Comment\x20content\x20is\x20too\x20long.\x20Your\x20comment\x20has\x20%0\x20characters\x20but\x20the\x20limit\x20is\x20%1\x20characters.','id':'TOO_LONG_COMMENT_ALERT'},_0x56e142);case'EXTERNAL_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20external\x20source.','id':'EXTERNAL_COMMENT'});case'EXTERNAL_IMPORT_WORD_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_COMMENT'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x56e142);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x56e142);case'COMMENTS_ARCHIVE':return t({'string':'Comments\x20archive','id':'COMMENTS_ARCHIVE'});case'EMPTY_COMMENTS_ARCHIVE':return t({'string':'There\x20are\x20no\x20archived\x20comment\x20threads.','id':'EMPTY_COMMENTS_ARCHIVE'});default:return'';}}
23
+ export function getTranslation(_0x1de352,_0x2db1e3,_0x48535a){const t=_0x1de352['t'];switch(_0x2db1e3){case'PENDING_ACTION_COMMENT_THREAD':return t({'string':'Unsaved\x20change\x20in\x20comment\x20thread.','id':'PENDING_ACTION_COMMENT_THREAD'});case'Comment':return t('Comment');case'Reply...':return t('Reply...');case'Reply\x20to\x20reopen\x20discussion...':return t('Reply\x20to\x20reopen\x20discussion...');case'Write\x20a\x20comment...':return t('Write\x20a\x20comment...');case'Comment\x20was\x20made\x20on\x20an\x20element':return t('Comment\x20was\x20made\x20on\x20an\x20element');case'Comment\x20editor':return t('Comment\x20editor');case'Delete\x20comment\x20thread?':return t('Delete\x20comment\x20thread?');case'Delete\x20comment?':return t('Delete\x20comment?');case'Marked\x20as\x20resolved':return t('Marked\x20as\x20resolved');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Cancel':return t('Cancel');case'Edit':return t('Edit');case'Resolve':return t('Resolve');case'Reopen':return t('Reopen');case'Remove':return t('Remove');case'Reply':return t('Reply');case'Save':return t('Save');case'LEAVE_COMMENT_ANNOUNCEMENT':return t({'string':'Leaving\x20a\x20comment.','id':'LEAVE_COMMENT_ANNOUNCEMENT'});case'ENTER_COMMENT_ANNOUNCEMENT':return t({'string':'Entering\x20a\x20comment.','id':'ENTER_COMMENT_ANNOUNCEMENT'});case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x48535a);case'TOO_LONG_COMMENT_ALERT':return t({'string':'Comment\x20content\x20is\x20too\x20long.\x20Your\x20comment\x20has\x20%0\x20characters\x20but\x20the\x20limit\x20is\x20%1\x20characters.','id':'TOO_LONG_COMMENT_ALERT'},_0x48535a);case'EXTERNAL_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20external\x20source.','id':'EXTERNAL_COMMENT'});case'EXTERNAL_IMPORT_WORD_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_COMMENT'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x48535a);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x48535a);case'COMMENTS_ARCHIVE':return t({'string':'Comments\x20archive','id':'COMMENTS_ARCHIVE'});case'EMPTY_COMMENTS_ARCHIVE':return t({'string':'There\x20are\x20no\x20archived\x20comment\x20threads.','id':'EMPTY_COMMENTS_ARCHIVE'});default:return'';}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5adc=['class','attributes','observe','disconnect','type'];(function(_0x35d041,_0x5adc7b){const _0x14d3ad=function(_0xd86414){while(--_0xd86414){_0x35d041['push'](_0x35d041['shift']());}};_0x14d3ad(++_0x5adc7b);}(_0x5adc,0x146));const _0x14d3=function(_0x35d041,_0x5adc7b){_0x35d041=_0x35d041-0x0;let _0x14d3ad=_0x5adc[_0x35d041];return _0x14d3ad;};import{throttle as _0x3e8be4}from'lodash-es';export default function Dt(_0x57097){const _0x56af31=_0x3e8be4(_0x57097,0x1e),_0x47b1ab=new MutationObserver(_0x41b608=>{for(const _0x40eef9 of _0x41b608)(_0x14d3('0x0')==_0x40eef9[_0x14d3('0x3')]&&_0x14d3('0x4')==_0x40eef9['attributeName']||'childList'==_0x40eef9[_0x14d3('0x3')]||'characterData'==_0x40eef9[_0x14d3('0x3')])&&_0x56af31();});return{'attach'(_0x38c83b){_0x47b1ab[_0x14d3('0x1')](_0x38c83b,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x47b1ab[_0x14d3('0x2')](),_0x56af31['cancel']();}};}
23
+ const _0x64a6=['attributeName','cancel','characterData','attributes','class','childList','type','disconnect'];(function(_0x398d02,_0x64a633){const _0x4c6898=function(_0x34b1db){while(--_0x34b1db){_0x398d02['push'](_0x398d02['shift']());}};_0x4c6898(++_0x64a633);}(_0x64a6,0x155));const _0x4c68=function(_0x398d02,_0x64a633){_0x398d02=_0x398d02-0x0;let _0x4c6898=_0x64a6[_0x398d02];return _0x4c6898;};import{throttle as _0x39022d}from'lodash-es';export default function Dt(_0x5f4939){const _0x50f47c=_0x39022d(_0x5f4939,0x1e),_0x41eb16=new MutationObserver(_0x43d606=>{for(const _0x474b22 of _0x43d606)(_0x4c68('0x6')==_0x474b22[_0x4c68('0x1')]&&_0x4c68('0x7')==_0x474b22[_0x4c68('0x3')]||_0x4c68('0x0')==_0x474b22['type']||_0x4c68('0x5')==_0x474b22[_0x4c68('0x1')])&&_0x50f47c();});return{'attach'(_0x5e97ea){_0x41eb16['observe'](_0x5e97ea,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x41eb16[_0x4c68('0x2')](),_0x50f47c[_0x4c68('0x4')]();}};}
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
8
  */
9
9
 
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
8
  */
9
9
 
@@ -38,6 +38,10 @@
38
38
  border-radius: var(--ck-border-radius);
39
39
  font-size: var(--ck-annotation-button-size);
40
40
  }
41
+
42
+ & .ck-user {
43
+ font-size: 0.85em;
44
+ }
41
45
  }
42
46
 
43
47
  .ck .ck-annotation__main {
package/theme/comment.css CHANGED
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
8
  */
9
9
 
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
8
  */
9
9
 
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
8
  */
9
9
 
@@ -3,13 +3,13 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
8
  */
9
9
 
10
10
  .ck .ck-comments-archive-dropdown {
11
11
  &.ck-dropdown__panel {
12
- z-index: var( --ck-z-modal );
12
+ z-index: var( --ck-z-panel );
13
13
  }
14
14
  }
15
15
 
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
8
  */
9
9
 
@@ -155,6 +155,10 @@
155
155
  border-radius: var(--ck-border-radius);
156
156
  }
157
157
 
158
+ .ck .ck-thread__user {
159
+ font-size: 0.85em;
160
+ }
161
+
158
162
  .ck .ck-thread__input {
159
163
  /* #1829. Firefox is wrongly rendering flex container width 100% with overflowed (non-spaced) text. */
160
164
  width: calc( 100% - var(--ck-user-avatar-size) );
@@ -4,7 +4,7 @@
4
4
  CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
5
5
  all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
6
6
 
7
- Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
7
+ Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
8
8
 
9
9
  !-->
10
10
 
@@ -4,7 +4,7 @@
4
4
  CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
5
5
  all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
6
6
 
7
- Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
7
+ Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
8
8
 
9
9
  !-->
10
10
 
@@ -4,7 +4,7 @@
4
4
  CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
5
5
  all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
6
6
 
7
- Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
7
+ Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
8
8
 
9
9
  !-->
10
10
 
@@ -4,7 +4,7 @@
4
4
  CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
5
5
  all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
6
6
 
7
- Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
7
+ Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
8
8
 
9
9
  !-->
10
10
 
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
8
  */
9
9
 
package/theme/sidebar.css CHANGED
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
8
  */
9
9