@ckeditor/ckeditor5-comments 39.0.2 → 40.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 (170) hide show
  1. package/LICENSE.md +3 -3
  2. package/README.md +1 -1
  3. package/build/comments.js +2 -2
  4. package/build/translations/af.js +1 -1
  5. package/build/translations/ar.js +1 -1
  6. package/build/translations/bg.js +1 -1
  7. package/build/translations/bn.js +1 -1
  8. package/build/translations/bs.js +1 -1
  9. package/build/translations/ca.js +1 -1
  10. package/build/translations/cs.js +1 -1
  11. package/build/translations/da.js +1 -1
  12. package/build/translations/de-ch.js +1 -1
  13. package/build/translations/de.js +1 -1
  14. package/build/translations/el.js +1 -1
  15. package/build/translations/en-au.js +1 -1
  16. package/build/translations/es-co.js +1 -1
  17. package/build/translations/es.js +1 -1
  18. package/build/translations/et.js +1 -1
  19. package/build/translations/fa.js +1 -1
  20. package/build/translations/fi.js +1 -1
  21. package/build/translations/fr.js +1 -1
  22. package/build/translations/gl.js +1 -1
  23. package/build/translations/he.js +1 -1
  24. package/build/translations/hi.js +1 -1
  25. package/build/translations/hr.js +1 -1
  26. package/build/translations/hu.js +1 -1
  27. package/build/translations/id.js +1 -1
  28. package/build/translations/it.js +1 -1
  29. package/build/translations/ja.js +1 -1
  30. package/build/translations/jv.js +1 -1
  31. package/build/translations/ko.js +1 -1
  32. package/build/translations/lt.js +1 -1
  33. package/build/translations/lv.js +1 -1
  34. package/build/translations/ms.js +1 -1
  35. package/build/translations/nl.js +1 -1
  36. package/build/translations/no.js +1 -1
  37. package/build/translations/pl.js +1 -1
  38. package/build/translations/pt-br.js +1 -1
  39. package/build/translations/pt.js +1 -1
  40. package/build/translations/ro.js +1 -1
  41. package/build/translations/ru.js +1 -1
  42. package/build/translations/sk.js +1 -1
  43. package/build/translations/sq.js +1 -1
  44. package/build/translations/sr-latn.js +1 -1
  45. package/build/translations/sr.js +1 -1
  46. package/build/translations/sv.js +1 -1
  47. package/build/translations/th.js +1 -1
  48. package/build/translations/tk.js +1 -1
  49. package/build/translations/tr.js +1 -1
  50. package/build/translations/tt.js +1 -1
  51. package/build/translations/ug.js +1 -1
  52. package/build/translations/uk.js +1 -1
  53. package/build/translations/ur.js +1 -1
  54. package/build/translations/vi.js +1 -1
  55. package/build/translations/zh-cn.js +1 -1
  56. package/build/translations/zh.js +1 -1
  57. package/lang/contexts.json +2 -0
  58. package/lang/translations/af.po +8 -0
  59. package/lang/translations/ar.po +8 -0
  60. package/lang/translations/bg.po +8 -0
  61. package/lang/translations/bn.po +8 -0
  62. package/lang/translations/bs.po +8 -0
  63. package/lang/translations/ca.po +8 -0
  64. package/lang/translations/cs.po +8 -0
  65. package/lang/translations/da.po +8 -0
  66. package/lang/translations/de-ch.po +8 -0
  67. package/lang/translations/de.po +8 -0
  68. package/lang/translations/el.po +8 -0
  69. package/lang/translations/en-au.po +8 -0
  70. package/lang/translations/en.po +8 -0
  71. package/lang/translations/es-co.po +8 -0
  72. package/lang/translations/es.po +8 -0
  73. package/lang/translations/et.po +8 -0
  74. package/lang/translations/fa.po +8 -0
  75. package/lang/translations/fi.po +8 -0
  76. package/lang/translations/fr.po +8 -0
  77. package/lang/translations/gl.po +8 -0
  78. package/lang/translations/he.po +8 -0
  79. package/lang/translations/hi.po +8 -0
  80. package/lang/translations/hr.po +8 -0
  81. package/lang/translations/hu.po +8 -0
  82. package/lang/translations/id.po +8 -0
  83. package/lang/translations/it.po +8 -0
  84. package/lang/translations/ja.po +8 -0
  85. package/lang/translations/jv.po +8 -0
  86. package/lang/translations/ko.po +8 -0
  87. package/lang/translations/lt.po +8 -0
  88. package/lang/translations/lv.po +8 -0
  89. package/lang/translations/ms.po +8 -0
  90. package/lang/translations/nl.po +8 -0
  91. package/lang/translations/no.po +8 -0
  92. package/lang/translations/pl.po +8 -0
  93. package/lang/translations/pt-br.po +11 -3
  94. package/lang/translations/pt.po +8 -0
  95. package/lang/translations/ro.po +8 -0
  96. package/lang/translations/ru.po +8 -0
  97. package/lang/translations/sk.po +8 -0
  98. package/lang/translations/sq.po +8 -0
  99. package/lang/translations/sr-latn.po +8 -0
  100. package/lang/translations/sr.po +8 -0
  101. package/lang/translations/sv.po +8 -0
  102. package/lang/translations/th.po +8 -0
  103. package/lang/translations/tk.po +8 -0
  104. package/lang/translations/tr.po +8 -0
  105. package/lang/translations/tt.po +8 -0
  106. package/lang/translations/ug.po +8 -0
  107. package/lang/translations/uk.po +8 -0
  108. package/lang/translations/ur.po +8 -0
  109. package/lang/translations/vi.po +8 -0
  110. package/lang/translations/zh-cn.po +8 -0
  111. package/lang/translations/zh.po +8 -0
  112. package/package.json +3 -3
  113. package/src/annotations/annotation.js +1 -1
  114. package/src/annotations/annotationcollection.js +1 -1
  115. package/src/annotations/annotations.js +1 -1
  116. package/src/annotations/annotationsuis.js +1 -1
  117. package/src/annotations/editorannotations.js +1 -1
  118. package/src/annotations/inlineannotations.js +1 -1
  119. package/src/annotations/narrowsidebar.js +1 -1
  120. package/src/annotations/sidebar.js +1 -1
  121. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  122. package/src/annotations/view/annotationview.js +1 -1
  123. package/src/annotations/view/sidebaritemview.js +1 -1
  124. package/src/annotations/view/sidebarview.js +1 -1
  125. package/src/annotations/widesidebar.js +1 -1
  126. package/src/comments/addcommentthreadcommand.js +1 -1
  127. package/src/comments/commentsarchive.d.ts +2 -2
  128. package/src/comments/commentsarchive.js +1 -1
  129. package/src/comments/commentsarchiveui.d.ts +1 -1
  130. package/src/comments/commentsarchiveui.js +1 -1
  131. package/src/comments/commentsediting.js +1 -1
  132. package/src/comments/commentsrepository.d.ts +39 -15
  133. package/src/comments/commentsrepository.js +1 -1
  134. package/src/comments/commentsui.js +1 -1
  135. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  136. package/src/comments/integrations/importword.js +1 -1
  137. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  138. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  139. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  140. package/src/comments/ui/commentthreadcontroller.js +1 -1
  141. package/src/comments/ui/view/basecommentthreadview.d.ts +7 -0
  142. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  143. package/src/comments/ui/view/basecommentview.js +1 -1
  144. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  145. package/src/comments/ui/view/commentcontentview.js +1 -1
  146. package/src/comments/ui/view/commentinputview.js +1 -1
  147. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  148. package/src/comments/ui/view/commentslistview.js +1 -1
  149. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  150. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  151. package/src/comments/ui/view/commentthreadview.d.ts +1 -0
  152. package/src/comments/ui/view/commentthreadview.js +1 -1
  153. package/src/comments/ui/view/commentview.js +1 -1
  154. package/src/comments.js +1 -1
  155. package/src/commentsonly.js +1 -1
  156. package/src/utils/common-translations.js +1 -1
  157. package/src/utils/createmutationobserver.js +1 -1
  158. package/theme/annotation-inline.css +2 -1
  159. package/theme/annotation.css +2 -1
  160. package/theme/comment.css +3 -2
  161. package/theme/commentinput.css +2 -1
  162. package/theme/commentmarker.css +2 -1
  163. package/theme/commentsarchive.css +2 -1
  164. package/theme/commentthread.css +12 -1
  165. package/theme/icons/add-comment.svg +1 -1
  166. package/theme/icons/comments-archive.svg +1 -1
  167. package/theme/icons/edit-comment.svg +1 -1
  168. package/theme/icons/remove-comment.svg +1 -1
  169. package/theme/sidebar-narrow.css +2 -1
  170. package/theme/sidebar.css +2 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e11=['extendTemplate','element','commentViews','then','fire','execute','add','ck-thread__container','isSystemComment','showConfirm','commentsListView','actionBar','render','bind','removeButton','div','isResolved','tooltip','addMany','.ck-thread__container','resolveButton','cancelConfirm','createCollection','remove','isActive','ck-thread--active','stop','locale','check','getTemplate','listenTo','commentThreadInputView','_cancelAllConfirms','commentThreadChildren','get','querySelector','ck-comment--resolve','isReadOnly','Delete\x20comment\x20thread?','_model','change:isResolved','ck-thread--','isConfirm','containerElement','_boundFirstCommentView','bindTemplate','set','commentThreadHeaderView','change:isActive','setTemplate','ck-reset_all-excluded','removeCommentThread','_createResolveButton','Resolve','high','actionIndicator','resolveCommentThread','unbind','change:isReadOnly','_bindFirstCommentView','isResolvable'];(function(_0x116a89,_0x3e1172){const _0x40a031=function(_0x1da24f){while(--_0x1da24f){_0x116a89['push'](_0x116a89['shift']());}};_0x40a031(++_0x3e1172);}(_0x3e11,0xad));const _0x40a0=function(_0x116a89,_0x3e1172){_0x116a89=_0x116a89-0x0;let _0x40a031=_0x3e11[_0x116a89];return _0x40a031;};import{ConfirmMixin as _0x1e808d}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x74f749}from'ckeditor5/src/ui';import{icons as _0x30c860}from'ckeditor5/src/core';import _0x51a2d6 from'./basecommentthreadview';import{getTranslation as _0x32f0e1}from'../../../utils/common-translations';export default class lt extends _0x1e808d(_0x51a2d6){constructor(_0x8b37c5,_0x4719ea,_0x22f749,_0x4812c6){super(_0x8b37c5,_0x4719ea,_0x22f749,_0x4812c6),this[_0x40a0('0x2b')]=this[_0x40a0('0x20')](),this[_0x40a0('0x2b')][_0x40a0('0x1c')]([this[_0x40a0('0x14')],this[_0x40a0('0x29')]]),this[_0x40a0('0x31')][_0x40a0('0x1a')]&&this[_0x40a0('0x2b')][_0x40a0('0x10')](this[_0x40a0('0x39')],0x0),this[_0x40a0('0x31')]['on'](_0x40a0('0x32'),(_0x34d581,_0x81fea3,_0x4bf8af)=>{_0x4bf8af?this[_0x40a0('0x2b')][_0x40a0('0x10')](this[_0x40a0('0x39')],0x0):this['commentThreadChildren'][_0x40a0('0x21')](this[_0x40a0('0x39')]);}),this[_0x40a0('0x38')](_0x40a0('0x4'),null),this[_0x40a0('0x35')]=null,this[_0x40a0('0x36')]=null,this[_0x40a0('0x25')]=_0x8b37c5,this['resolveButton']=this[_0x40a0('0x1')](),this[_0x40a0('0x3b')](this[_0x40a0('0x27')]()),this['on'](_0x40a0('0x3a'),(_0x10c849,_0x38cb18,_0x40ec26)=>{_0x40ec26||this['_cancelAllConfirms']();}),this[_0x40a0('0x28')](this[_0x40a0('0x31')],_0x40a0('0x7'),(_0x3c5a81,_0x3d373f,_0x2266c2)=>{_0x2266c2&&this['_cancelAllConfirms']();}),this['length']>0x0&&this[_0x40a0('0x8')](),this[_0x40a0('0x28')](this[_0x40a0('0x14')][_0x40a0('0xc')],_0x40a0('0x10'),()=>{this[_0x40a0('0x8')]();});}['getTemplate'](){const _0x3af9dc=this[_0x40a0('0x37')];return{'tag':_0x40a0('0x19'),'attributes':{'class':['ck-thread',_0x40a0('0x3c'),_0x3af9dc['if'](_0x40a0('0x22'),_0x40a0('0x23')),_0x3af9dc['if'](_0x40a0('0x34'),'ck-thread--remove-confirmation'),_0x3af9dc['to'](_0x40a0('0x4'),_0x5b8586=>_0x5b8586?_0x40a0('0x33')+_0x5b8586:'')],'data-thread-id':this[_0x40a0('0x31')]['id'],'tabindex':-0x1},'children':[{'tag':_0x40a0('0x19'),'attributes':{'class':_0x40a0('0x11')},'children':this[_0x40a0('0x2b')]}]};}[_0x40a0('0x16')](){super[_0x40a0('0x16')](),this['containerElement']=this[_0x40a0('0xb')][_0x40a0('0x2d')](_0x40a0('0x1d'));}[_0x40a0('0x2a')](){this[_0x40a0('0x1f')]();for(const _0x1fe7c1 of this[_0x40a0('0x14')]['commentViews'])_0x1fe7c1['cancelConfirm']();}[_0x40a0('0x8')](){const {locale:_0x1b0da5}=this,_0x5b56ae=this['commentsListView']['commentViews'][_0x40a0('0x2c')](0x0);_0x5b56ae===this[_0x40a0('0x36')]||_0x5b56ae[_0x40a0('0x12')]||(this[_0x40a0('0x36')]=_0x5b56ae,this[_0x40a0('0x6')](_0x40a0('0x4')),this[_0x40a0('0x17')](_0x40a0('0x4'))['to'](_0x5b56ae,_0x40a0('0x4'),_0x2a5ae4=>'remove'===_0x2a5ae4?_0x40a0('0x21'):null),_0x5b56ae['placeholder']=_0x32f0e1(_0x1b0da5,'Write\x20a\x20comment...'),_0x5b56ae[_0x40a0('0x18')]['on'](_0x40a0('0xf'),_0x45a76f=>{_0x45a76f[_0x40a0('0x24')](),this[_0x40a0('0x13')](_0x32f0e1(_0x1b0da5,_0x40a0('0x30')),this[_0x40a0('0x35')])[_0x40a0('0xd')](()=>{this['fire'](_0x40a0('0x0'));});},{'priority':_0x40a0('0x3')}),_0x5b56ae[_0x40a0('0x15')][_0x40a0('0x10')](this[_0x40a0('0x1e')],0x0));}[_0x40a0('0x1')](){const _0x3f8a2b=new _0x74f749(this[_0x40a0('0x25')]);return _0x3f8a2b['label']=_0x32f0e1(this[_0x40a0('0x25')],_0x40a0('0x2')),_0x3f8a2b[_0x40a0('0x1b')]=_0x32f0e1(this[_0x40a0('0x25')],_0x40a0('0x2')),_0x3f8a2b['icon']=_0x30c860[_0x40a0('0x26')],_0x3f8a2b[_0x40a0('0xa')]({'attributes':{'class':_0x40a0('0x2e')}}),_0x3f8a2b[_0x40a0('0x17')]('isEnabled')['to'](this[_0x40a0('0x31')],_0x40a0('0x2f'),_0x442bd9=>!_0x442bd9),_0x3f8a2b[_0x40a0('0x17')]('isVisible')['to'](this[_0x40a0('0x31')],_0x40a0('0x9'),this['_model'],_0x40a0('0x1a'),(_0x4949d0,_0x23063a)=>_0x4949d0&&!_0x23063a),_0x3f8a2b['on']('execute',()=>{this[_0x40a0('0xe')](_0x40a0('0x5'),this[_0x40a0('0x31')]['id']);}),_0x3f8a2b;}}
23
+ const _0x4690=['get','listenTo','high','removeCommentThread','cancelConfirm','element','_createResolveButton','remove','label','locale','commentThreadHeaderView','.ck-thread__container','ck-comment--resolve','showConfirm','execute','isConfirm','Resolve','bind','isActive','ck-thread--','isSystemComment','_cancelAllConfirms','addMany','commentThreadChildren','render','containerElement','ck-thread--active','fire','unbind','change:archivedAt','commentsListView','isEnabled','ck-thread--unlinked','getTemplate','ck-reset_all-excluded','tooltip','div','isVisible','isResolved','isReadOnly','setTemplate','placeholder','length','removeButton','check','change:isActive','actionBar','commentThreadInputView','isResolvable','actionIndicator','ck-thread--remove-confirmation','commentViews','bindTemplate','_boundFirstCommentView','add','isUnlinked','set','has','_bindFirstCommentView','resolveButton','_model'];(function(_0x4d61fb,_0x469028){const _0x5907d1=function(_0x103eda){while(--_0x103eda){_0x4d61fb['push'](_0x4d61fb['shift']());}};_0x5907d1(++_0x469028);}(_0x4690,0x1a9));const _0x5907=function(_0x4d61fb,_0x469028){_0x4d61fb=_0x4d61fb-0x0;let _0x5907d1=_0x4690[_0x4d61fb];return _0x5907d1;};import{ConfirmMixin as _0x41d1af}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x4be99e}from'ckeditor5/src/ui';import{icons as _0x2eba6a}from'ckeditor5/src/core';import _0x435299 from'./basecommentthreadview';import{getTranslation as _0x1aa497}from'../../../utils/common-translations';export default class ft extends _0x41d1af(_0x435299){constructor(_0x2a41c6,_0xe40f06,_0x363c65,_0x294f86){super(_0x2a41c6,_0xe40f06,_0x363c65,_0x294f86),this[_0x5907('0x19')]=this['createCollection'](),this[_0x5907('0x19')][_0x5907('0x18')]([this[_0x5907('0x20')],this[_0x5907('0x31')]]),this[_0x5907('0x1')]['archivedAt']&&this['commentThreadChildren'][_0x5907('0x38')](this[_0x5907('0xc')],0x0),this[_0x5907('0x1')]['on'](_0x5907('0x1f'),(_0x2bba28,_0x467fb2,_0x15d760)=>{_0x15d760?this[_0x5907('0x19')][_0x5907('0x3b')](this['commentThreadHeaderView'])||this[_0x5907('0x19')][_0x5907('0x38')](this[_0x5907('0xc')],0x0):this['commentThreadChildren'][_0x5907('0x9')](this[_0x5907('0xc')]);}),this[_0x5907('0x3a')]('actionIndicator',null),this[_0x5907('0x1b')]=null,this[_0x5907('0x37')]=null,this[_0x5907('0xb')]=_0x2a41c6,this[_0x5907('0x0')]=this[_0x5907('0x8')](),this[_0x5907('0x2a')](this[_0x5907('0x23')]()),this['on'](_0x5907('0x2f'),(_0x496c52,_0x2bfa10,_0x543a6c)=>{_0x543a6c||this[_0x5907('0x17')]();}),this[_0x5907('0x3')](this[_0x5907('0x1')],'change:isReadOnly',(_0xd69240,_0x4aa709,_0x3a6710)=>{_0x3a6710&&this[_0x5907('0x17')]();}),this[_0x5907('0x2c')]>0x0&&this[_0x5907('0x3c')](),this['listenTo'](this[_0x5907('0x20')][_0x5907('0x35')],_0x5907('0x38'),()=>{this[_0x5907('0x3c')]();});}['getTemplate'](){const _0x28f45f=this[_0x5907('0x36')];return{'tag':_0x5907('0x26'),'attributes':{'class':['ck-thread',_0x5907('0x24'),_0x28f45f['if'](_0x5907('0x14'),_0x5907('0x1c')),_0x28f45f['if'](_0x5907('0x39'),_0x5907('0x22')),_0x28f45f['if'](_0x5907('0x11'),_0x5907('0x34')),_0x28f45f['to'](_0x5907('0x33'),_0x389022=>_0x389022?_0x5907('0x15')+_0x389022:'')],'data-thread-id':this['_model']['id'],'tabindex':-0x1},'children':[{'tag':_0x5907('0x26'),'attributes':{'class':'ck-thread__container'},'children':this['commentThreadChildren']}]};}[_0x5907('0x1a')](){super[_0x5907('0x1a')](),this['containerElement']=this[_0x5907('0x7')]['querySelector'](_0x5907('0xd'));}[_0x5907('0x17')](){this[_0x5907('0x6')]();for(const _0x3d6546 of this['commentsListView'][_0x5907('0x35')])_0x3d6546[_0x5907('0x6')]();}[_0x5907('0x3c')](){const {locale:_0x245029}=this,_0x28ef65=this[_0x5907('0x20')]['commentViews'][_0x5907('0x2')](0x0);_0x28ef65===this['_boundFirstCommentView']||_0x28ef65[_0x5907('0x16')]||(this['_boundFirstCommentView']=_0x28ef65,this[_0x5907('0x1e')](_0x5907('0x33')),this[_0x5907('0x13')](_0x5907('0x33'))['to'](_0x28ef65,'actionIndicator',_0x44a722=>_0x5907('0x9')===_0x44a722?_0x5907('0x9'):null),_0x28ef65[_0x5907('0x2b')]=_0x1aa497(_0x245029,'Write\x20a\x20comment...'),_0x28ef65[_0x5907('0x2d')]['on'](_0x5907('0x10'),_0x15d583=>{_0x15d583['stop'](),this[_0x5907('0xf')](_0x1aa497(_0x245029,'Delete\x20comment\x20thread?'),this[_0x5907('0x1b')])['then'](()=>{this[_0x5907('0x1d')](_0x5907('0x5'));});},{'priority':_0x5907('0x4')}),_0x28ef65[_0x5907('0x30')]['add'](this[_0x5907('0x0')],0x0));}[_0x5907('0x8')](){const _0xe0cc59=new _0x4be99e(this[_0x5907('0xb')]);return _0xe0cc59[_0x5907('0xa')]=_0x1aa497(this['locale'],'Resolve'),_0xe0cc59[_0x5907('0x25')]=_0x1aa497(this['locale'],_0x5907('0x12')),_0xe0cc59['icon']=_0x2eba6a[_0x5907('0x2e')],_0xe0cc59['extendTemplate']({'attributes':{'class':_0x5907('0xe')}}),_0xe0cc59[_0x5907('0x13')](_0x5907('0x21'))['to'](this[_0x5907('0x1')],_0x5907('0x29'),_0x529aa8=>!_0x529aa8),_0xe0cc59['bind'](_0x5907('0x27'))['to'](this[_0x5907('0x1')],_0x5907('0x32'),this[_0x5907('0x1')],_0x5907('0x28'),(_0x12496f,_0x1aea73)=>_0x12496f&&!_0x1aea73),_0xe0cc59['on']('execute',()=>{this[_0x5907('0x1d')]('resolveCommentThread',this[_0x5907('0x1')]['id']);}),_0xe0cc59;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ea3=['div','isConfirm','ck-annotation__actions--hidden','setTemplate','Edit','ck-comment__external','edit','Reply...','ck-annotation__info-name','element','ck-comment--edit','formatDateTime','attributes','bind','_model','isSystemComment','change:isEnabled','some','authoredAt','createCollection','dropdown','creator','visibleView','ck-annotation','EXTERNAL_AVATAR','remove','icon','_config','Remove','_createEditButton','name','children','add','ck-comment__main','blur','author','locale','switchToEditMode','cancelConfirm','render','label','importWord','ck-comment--info','removeComment','mouseenter','set','editButton','execute','placeholder','ck-annotation__info-time','ck-comment','ck-comment__actions','_attachActions','extendTemplate','items','resolvedAt','ck-annotation__actions','ck-comment__info-name','buttonView','actionBar','panelPosition','ck-comment__info-time','getUserViewNotificationText','length','EXTERNAL_IMPORT_WORD_COMMENT','withText','time','isVisible','ck-annotation__main','removeButton','push','ck-comment--remove','source','userView','ck-comment__wrapper','ck-annotation__info','getExternalCommentNote','change:isVisible','@external','addMany','change:isRemovable','actionIndicator','isExternal','threeVerticalDots','getTemplate','_createRemoveButton','listenTo','EXTERNAL_COMMENT','isEnabled','isReadOnly','panelView','isEditMode','ck-annotation__content-wrapper'];(function(_0x44a862,_0x4ea341){const _0x15ad23=function(_0x1b22e3){while(--_0x1b22e3){_0x44a862['push'](_0x44a862['shift']());}};_0x15ad23(++_0x4ea341);}(_0x4ea3,0x184));const _0x15ad=function(_0x44a862,_0x4ea341){_0x44a862=_0x44a862-0x0;let _0x15ad23=_0x4ea3[_0x44a862];return _0x15ad23;};import{ButtonView as _0x1fe661,createDropdown as _0x3fa574,ListView as _0x5bde5b,ListItemView as _0x2bfa7d}from'ckeditor5/src/ui';import{icons as _0x26690e}from'ckeditor5/src/core';import{UserView as _0x567d64,ConfirmMixin as _0x58ef37}from'ckeditor5-collaboration/src/collaboration-core';import _0x15b155 from'./basecommentview';import _0x176189 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x4a6ef5}from'../../../utils/common-translations';export default class ut extends _0x58ef37(_0x15b155){constructor(_0x1df67a,_0x3436e6,_0x4126ad){super(_0x1df67a,_0x3436e6,_0x4126ad),this[_0x15ad('0x1d')](_0x15ad('0x41'),null),this['set'](_0x15ad('0x20'),_0x4a6ef5(_0x1df67a,_0x15ad('0x54'))),this[_0x15ad('0x5a')](_0x15ad('0x2'))['to'](_0x3436e6),this[_0x15ad('0x5a')](_0x15ad('0x27'))['to'](_0x3436e6),this[_0x15ad('0x2b')]=this['createCollection'](),this[_0x15ad('0x5c')]||(this['editButton']=this[_0x15ad('0xd')](),this['removeButton']=this['_createRemoveButton'](),this[_0x15ad('0x26')]=this[_0x15ad('0x3')](),this[_0x15ad('0x26')][_0x15ad('0x3f')]([this[_0x15ad('0x1e')],this[_0x15ad('0x35')]]),this[_0x15ad('0x4')]=this['_createDropdown'](),this[_0x15ad('0x2b')][_0x15ad('0x10')](this['dropdown'])),this[_0x15ad('0x39')]=new _0x567d64(_0x1df67a,_0x3436e6[_0x15ad('0x13')],this[_0x15ad('0x2e')]()),this[_0x15ad('0x39')][_0x15ad('0x25')]({'attributes':{'class':['ck-comment__user','ck-annotation__user']}}),this[_0x15ad('0x46')](_0x3436e6,_0x15ad('0x40'),()=>this[_0x15ad('0x16')]()),this[_0x15ad('0x50')](this[_0x15ad('0x44')]());}[_0x15ad('0x44')](){const _0x5bf2da=this['bindTemplate'],_0x5bbff8=[{'tag':_0x15ad('0x4d'),'attributes':{'class':['ck-comment__info',_0x15ad('0x3b')]},'children':[{'tag':'span','children':[{'text':this[_0x15ad('0x39')]['name']}],'attributes':{'class':[_0x15ad('0x29'),_0x15ad('0x55')]}},{'tag':_0x15ad('0x32'),'attributes':{'datetime':_0x5bf2da['to'](_0x15ad('0x2')),'class':[_0x15ad('0x2d'),_0x15ad('0x21')]},'children':[{'text':_0x5bf2da['to']('authoredAt',_0x5acb23=>this[_0x15ad('0xb')][_0x15ad('0x58')](_0x5acb23))}]}]},{'tag':_0x15ad('0x4d'),'attributes':{'class':[_0x15ad('0x23'),_0x15ad('0x28'),_0x5bf2da['if'](_0x15ad('0x4b'),'ck-comment__actions--hidden'),_0x5bf2da['if'](_0x15ad('0x4b'),_0x15ad('0x4f'))]},'children':this['actionBar']},{'tag':'div','attributes':{'class':[_0x15ad('0x4c')]},'children':this[_0x15ad('0x6')]}];return this[_0x15ad('0x5b')][_0x15ad('0x42')]&&_0x5bbff8[_0x15ad('0x36')]({'tag':_0x15ad('0x4d'),'attributes':{'class':[_0x15ad('0x52')]},'children':[{'text':this['getExternalCommentNote']()}]}),{'tag':'li','attributes':{'class':[_0x15ad('0x3a'),_0x5bf2da['if'](_0x15ad('0x4e'),'ck-comment--remove-confirmation')],'tabindex':-0x1},'children':[{'tag':_0x15ad('0x4d'),'attributes':{'class':[_0x15ad('0x22'),_0x15ad('0x7'),_0x5bf2da['if'](_0x15ad('0x4b'),'ck-comment--edit'),_0x5bf2da['if']('isSystemComment',_0x15ad('0x1a')),_0x5bf2da['to'](_0x15ad('0x41'),_0x207d2d=>_0x207d2d?'ck-comment--'+_0x207d2d:'')],'data-author-id':this[_0x15ad('0x5b')][_0x15ad('0x13')]['id'],'data-comment-id':this[_0x15ad('0x5b')]['id']},'children':[this[_0x15ad('0x39')],{'tag':_0x15ad('0x4d'),'attributes':{'class':[_0x15ad('0x11'),_0x15ad('0x34')]},'children':_0x5bbff8}]}]};}[_0x15ad('0xd')](){const _0x3cd051=new _0x1fe661(this[_0x15ad('0x14')]);return _0x3cd051['label']=_0x4a6ef5(this[_0x15ad('0x14')],_0x15ad('0x51')),_0x3cd051[_0x15ad('0xa')]=_0x26690e['pencil'],_0x3cd051['withText']=!0x0,_0x3cd051[_0x15ad('0x25')]({'attributes':{'class':_0x15ad('0x57')}}),_0x3cd051[_0x15ad('0x5a')]('isEnabled')['to'](this['_model'],_0x15ad('0x49'),_0x45c376=>!_0x45c376),_0x3cd051[_0x15ad('0x5a')](_0x15ad('0x33'))['to'](this[_0x15ad('0x5b')],'isEditable'),_0x3cd051['on'](_0x15ad('0x1f'),()=>this[_0x15ad('0x15')]()),_0x3cd051;}[_0x15ad('0x45')](){const _0x202772=new _0x1fe661(this['locale']);return _0x202772[_0x15ad('0x18')]=_0x4a6ef5(this[_0x15ad('0x14')],_0x15ad('0xc')),_0x202772[_0x15ad('0xa')]=_0x176189,_0x202772[_0x15ad('0x31')]=!0x0,_0x202772[_0x15ad('0x25')]({'attributes':{'class':_0x15ad('0x37')}}),_0x202772['bind']('isEnabled')['to'](this[_0x15ad('0x5b')],'isReadOnly',_0x68e0d9=>!_0x68e0d9),_0x202772[_0x15ad('0x5a')](_0x15ad('0x33'))['to'](this[_0x15ad('0x5b')],'isRemovable'),_0x202772['on'](_0x15ad('0x1f'),()=>{this['showConfirm'](_0x4a6ef5(this[_0x15ad('0x14')],'Delete\x20comment?'),this[_0x15ad('0x56')])['then'](()=>{this['fire'](_0x15ad('0x1b'),this[_0x15ad('0x5b')]['id']);});}),_0x202772;}['_createDropdown'](){const _0x5e8461=_0x3fa574(this[_0x15ad('0x14')]),_0x28b0ab=_0x5e8461[_0x15ad('0x4a')][_0x15ad('0xf')],_0xee366e=new _0x5bde5b(this['locale']),_0x2eb37c=(_0x15729d,_0x52de11=-0x1)=>{const _0x25d32d=new _0x2bfa7d(this['locale']);_0x25d32d[_0x15ad('0xf')][_0x15ad('0x10')](_0x15729d);const _0x4fb6a9=_0x52de11>-0x1?_0x52de11:_0xee366e[_0x15ad('0x26')][_0x15ad('0x2f')];_0xee366e[_0x15ad('0x26')][_0x15ad('0x10')](_0x25d32d,_0x4fb6a9),_0x5e8461[_0x15ad('0x46')](_0x15729d,_0x15ad('0x0'),()=>{_0x5e8461[_0x15ad('0x48')]=[...this['items']][_0x15ad('0x1')](_0x30bf1a=>_0x30bf1a[_0x15ad('0x48')]);}),_0x5e8461[_0x15ad('0x46')](_0x15729d,_0x15ad('0x3d'),()=>{_0x5e8461['buttonView'][_0x15ad('0x33')]=[...this[_0x15ad('0x26')]][_0x15ad('0x1')](_0x2046b0=>_0x2046b0[_0x15ad('0x33')]);});};_0x5e8461[_0x15ad('0x2c')]='sw',_0x5e8461[_0x15ad('0x2a')]['set']({'label':_0x4a6ef5(this[_0x15ad('0x14')],'Show\x20more\x20items'),'icon':_0x26690e[_0x15ad('0x43')]}),_0x5e8461[_0x15ad('0x48')]=[...this[_0x15ad('0x26')]]['some'](_0x6f7172=>_0x6f7172['isEnabled']),_0x5e8461[_0x15ad('0x2a')][_0x15ad('0x33')]=[...this[_0x15ad('0x26')]][_0x15ad('0x1')](_0xf59733=>_0xf59733[_0x15ad('0x33')]);for(const _0x3ade5c of this['items'])_0x2eb37c(_0x3ade5c);return _0x28b0ab[_0x15ad('0x10')](_0xee366e),_0x5e8461[_0x15ad('0x46')](this[_0x15ad('0x26')],_0x15ad('0x10'),(_0x14cede,_0x1b2906,_0xe03262)=>{_0x2eb37c(_0x1b2906,_0xe03262);}),_0x5e8461[_0x15ad('0x46')](this[_0x15ad('0x26')],_0x15ad('0x9'),(_0x341c95,_0x53f78b,_0x51cacc)=>{_0xee366e[_0x15ad('0x26')][_0x15ad('0x9')](_0x51cacc);}),_0x5e8461;}[_0x15ad('0x24')](_0x11a505,_0x4621f4){const _0x23a05e=_0x11a505&&_0x11a505[_0x15ad('0x56')];_0x23a05e&&(this['listenTo'](_0x23a05e,_0x15ad('0x1c'),()=>this[_0x15ad('0x41')]=_0x4621f4),this['listenTo'](_0x23a05e,'focus',()=>this[_0x15ad('0x41')]=_0x4621f4),this['listenTo'](_0x23a05e,'mouseleave',()=>this['actionIndicator']=null),this[_0x15ad('0x46')](_0x23a05e,_0x15ad('0x12'),()=>this[_0x15ad('0x41')]=null));}['_createCommentInputView'](){const _0x36f230=super['_createCommentInputView']();return _0x36f230[_0x15ad('0x5a')](_0x15ad('0x20'))['to'](this),_0x36f230;}[_0x15ad('0x3c')](){return _0x15ad('0x19')===this[_0x15ad('0x5b')][_0x15ad('0x59')][_0x15ad('0x3e')][_0x15ad('0x38')]?_0x4a6ef5(this[_0x15ad('0x14')],_0x15ad('0x30')):_0x4a6ef5(this[_0x15ad('0x14')],_0x15ad('0x47'));}[_0x15ad('0x2e')](){return this['_model'][_0x15ad('0x42')]?'importWord'===this[_0x15ad('0x5b')][_0x15ad('0x59')]['@external']['source']?_0x4a6ef5(this[_0x15ad('0x14')],'EXTERNAL_IMPORT_WORD_AVATAR',this[_0x15ad('0x5b')][_0x15ad('0x5')][_0x15ad('0xe')]):_0x4a6ef5(this[_0x15ad('0x14')],_0x15ad('0x8'),this[_0x15ad('0x5b')]['creator'][_0x15ad('0xe')]):null;}[_0x15ad('0x17')](){super[_0x15ad('0x17')](),this[_0x15ad('0x24')](this[_0x15ad('0x1e')],_0x15ad('0x53')),this[_0x15ad('0x24')](this['removeButton'],'remove');}}
23
+ const _0x3f68=['getTemplate','ck-annotation__user','isRemovable','isSystemComment','actionIndicator','Edit','creator','Show\x20more\x20items','removeButton','push','items','remove','ck-comment','ck-comment--info','bind','isEditMode','EXTERNAL_IMPORT_WORD_AVATAR','ck-comment__user','name','ck-annotation__content-wrapper','add','_createEditButton','dropdown','cancelConfirm','ck-comment--edit','isConfirm','visibleView','focus','_config','execute','showConfirm','time','length','mouseenter','author','ck-comment__external','withText','change:isRemovable','children','_createDropdown','formatDateTime','change:isEnabled','authoredAt','Reply...','_createCommentInputView','blur','buttonView','some','threeVerticalDots','ck-annotation__info-time','listenTo','getExternalCommentNote','source','setTemplate','attributes','_createRemoveButton','@external','ck-comment__actions','isEnabled','mouseleave','ck-comment--remove-confirmation','getUserViewNotificationText','resolvedAt','div','actionBar','userView','render','ck-comment__wrapper','ck-comment__actions--hidden','locale','span','isReadOnly','addMany','ck-annotation__actions--hidden','ck-comment__info-name','ck-comment__info','Delete\x20comment?','ck-comment__main','isExternal','ck-annotation__info-name','isVisible','fire','element','label','createCollection','ck-annotation__info','ck-annotation__main','icon','_model','_attachActions','ck-comment--remove','editButton','placeholder','set','EXTERNAL_COMMENT','extendTemplate','ck-comment__info-time','change:isVisible'];(function(_0x88d6d9,_0x3f6811){const _0xfff2f6=function(_0xa6e247){while(--_0xa6e247){_0x88d6d9['push'](_0x88d6d9['shift']());}};_0xfff2f6(++_0x3f6811);}(_0x3f68,0x87));const _0xfff2=function(_0x88d6d9,_0x3f6811){_0x88d6d9=_0x88d6d9-0x0;let _0xfff2f6=_0x3f68[_0x88d6d9];return _0xfff2f6;};import{ButtonView as _0x4b11df,createDropdown as _0x67b45f,ListView as _0x69a907,ListItemView as _0xea08d3}from'ckeditor5/src/ui';import{icons as _0xf29b24}from'ckeditor5/src/core';import{UserView as _0x56e606,ConfirmMixin as _0xdad38d}from'ckeditor5-collaboration/src/collaboration-core';import _0x2de0b4 from'./basecommentview';import _0x1013ff from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x5c715f}from'../../../utils/common-translations';export default class pt extends _0xdad38d(_0x2de0b4){constructor(_0x4c3609,_0x409bb0,_0x2aa1a8){super(_0x4c3609,_0x409bb0,_0x2aa1a8),this[_0xfff2('0x38')](_0xfff2('0x41'),null),this[_0xfff2('0x38')](_0xfff2('0x37'),_0x5c715f(_0x4c3609,_0xfff2('0x6'))),this[_0xfff2('0x4b')]('authoredAt')['to'](_0x409bb0),this['bind'](_0xfff2('0x19'))['to'](_0x409bb0),this[_0xfff2('0x1b')]=this['createCollection'](),this[_0xfff2('0x40')]||(this[_0xfff2('0x36')]=this[_0xfff2('0x52')](),this[_0xfff2('0x45')]=this[_0xfff2('0x12')](),this['items']=this[_0xfff2('0x2f')](),this[_0xfff2('0x47')][_0xfff2('0x23')]([this[_0xfff2('0x36')],this[_0xfff2('0x45')]]),this[_0xfff2('0x53')]=this[_0xfff2('0x2')](),this['actionBar'][_0xfff2('0x51')](this['dropdown'])),this['userView']=new _0x56e606(_0x4c3609,_0x409bb0[_0xfff2('0x5f')],this['getUserViewNotificationText']()),this[_0xfff2('0x1c')]['extendTemplate']({'attributes':{'class':[_0xfff2('0x4e'),_0xfff2('0x3e')]}}),this['listenTo'](_0x409bb0,_0xfff2('0x0'),()=>this[_0xfff2('0x54')]()),this[_0xfff2('0x10')](this[_0xfff2('0x3d')]());}[_0xfff2('0x3d')](){const _0xb3ca68=this['bindTemplate'],_0x15955d=[{'tag':_0xfff2('0x1a'),'attributes':{'class':[_0xfff2('0x26'),_0xfff2('0x30')]},'children':[{'tag':_0xfff2('0x21'),'children':[{'text':this['userView'][_0xfff2('0x4f')]}],'attributes':{'class':[_0xfff2('0x25'),_0xfff2('0x2a')]}},{'tag':_0xfff2('0x5c'),'attributes':{'datetime':_0xb3ca68['to'](_0xfff2('0x5')),'class':[_0xfff2('0x3b'),_0xfff2('0xc')]},'children':[{'text':_0xb3ca68['to']('authoredAt',_0x3f1eb4=>this[_0xfff2('0x59')][_0xfff2('0x3')](_0x3f1eb4))}]}]},{'tag':'div','attributes':{'class':[_0xfff2('0x14'),'ck-annotation__actions',_0xb3ca68['if'](_0xfff2('0x4c'),_0xfff2('0x1f')),_0xb3ca68['if'](_0xfff2('0x4c'),_0xfff2('0x24'))]},'children':this[_0xfff2('0x1b')]},{'tag':_0xfff2('0x1a'),'attributes':{'class':[_0xfff2('0x50')]},'children':this[_0xfff2('0x57')]}];return this[_0xfff2('0x33')]['isExternal']&&_0x15955d[_0xfff2('0x46')]({'tag':'div','attributes':{'class':[_0xfff2('0x60')]},'children':[{'text':this[_0xfff2('0xe')]()}]}),{'tag':'li','attributes':{'class':[_0xfff2('0x1e'),_0xb3ca68['if'](_0xfff2('0x56'),_0xfff2('0x17'))],'tabindex':-0x1},'children':[{'tag':_0xfff2('0x1a'),'attributes':{'class':[_0xfff2('0x49'),'ck-annotation',_0xb3ca68['if'](_0xfff2('0x4c'),_0xfff2('0x55')),_0xb3ca68['if'](_0xfff2('0x40'),_0xfff2('0x4a')),_0xb3ca68['to'](_0xfff2('0x41'),_0x1ba2ab=>_0x1ba2ab?'ck-comment--'+_0x1ba2ab:'')],'data-author-id':this[_0xfff2('0x33')]['author']['id'],'data-comment-id':this[_0xfff2('0x33')]['id']},'children':[this['userView'],{'tag':_0xfff2('0x1a'),'attributes':{'class':[_0xfff2('0x28'),_0xfff2('0x31')]},'children':_0x15955d}]}]};}[_0xfff2('0x52')](){const _0x333f04=new _0x4b11df(this['locale']);return _0x333f04[_0xfff2('0x2e')]=_0x5c715f(this[_0xfff2('0x20')],_0xfff2('0x42')),_0x333f04[_0xfff2('0x32')]=_0xf29b24['pencil'],_0x333f04['withText']=!0x0,_0x333f04[_0xfff2('0x3a')]({'attributes':{'class':'ck-comment--edit'}}),_0x333f04[_0xfff2('0x4b')]('isEnabled')['to'](this[_0xfff2('0x33')],_0xfff2('0x22'),_0x2fb666=>!_0x2fb666),_0x333f04[_0xfff2('0x4b')]('isVisible')['to'](this[_0xfff2('0x33')],'isEditable'),_0x333f04['on'](_0xfff2('0x5a'),()=>this['switchToEditMode']()),_0x333f04;}[_0xfff2('0x12')](){const _0xbc1184=new _0x4b11df(this[_0xfff2('0x20')]);return _0xbc1184[_0xfff2('0x2e')]=_0x5c715f(this[_0xfff2('0x20')],'Remove'),_0xbc1184[_0xfff2('0x32')]=_0x1013ff,_0xbc1184[_0xfff2('0x61')]=!0x0,_0xbc1184[_0xfff2('0x3a')]({'attributes':{'class':_0xfff2('0x35')}}),_0xbc1184['bind'](_0xfff2('0x15'))['to'](this['_model'],_0xfff2('0x22'),_0x48db13=>!_0x48db13),_0xbc1184[_0xfff2('0x4b')](_0xfff2('0x2b'))['to'](this['_model'],_0xfff2('0x3f')),_0xbc1184['on'](_0xfff2('0x5a'),()=>{this[_0xfff2('0x5b')](_0x5c715f(this[_0xfff2('0x20')],_0xfff2('0x27')),this[_0xfff2('0x2d')])['then'](()=>{this[_0xfff2('0x2c')]('removeComment',this[_0xfff2('0x33')]['id']);});}),_0xbc1184;}[_0xfff2('0x2')](){const _0x489b80=_0x67b45f(this[_0xfff2('0x20')]),_0x362829=_0x489b80['panelView'][_0xfff2('0x1')],_0x5dd62b=new _0x69a907(this['locale']),_0x28c17e=(_0x979b27,_0x1275e5=-0x1)=>{const _0x571b99=new _0xea08d3(this[_0xfff2('0x20')]);_0x571b99[_0xfff2('0x1')][_0xfff2('0x51')](_0x979b27);const _0x42cb3f=_0x1275e5>-0x1?_0x1275e5:_0x5dd62b[_0xfff2('0x47')][_0xfff2('0x5d')];_0x5dd62b[_0xfff2('0x47')][_0xfff2('0x51')](_0x571b99,_0x42cb3f),_0x489b80[_0xfff2('0xd')](_0x979b27,_0xfff2('0x4'),()=>{_0x489b80[_0xfff2('0x15')]=[...this[_0xfff2('0x47')]][_0xfff2('0xa')](_0x32f83a=>_0x32f83a['isEnabled']);}),_0x489b80[_0xfff2('0xd')](_0x979b27,_0xfff2('0x3c'),()=>{_0x489b80[_0xfff2('0x9')][_0xfff2('0x2b')]=[...this[_0xfff2('0x47')]][_0xfff2('0xa')](_0x337916=>_0x337916[_0xfff2('0x2b')]);});};_0x489b80['panelPosition']='sw',_0x489b80[_0xfff2('0x9')][_0xfff2('0x38')]({'label':_0x5c715f(this[_0xfff2('0x20')],_0xfff2('0x44')),'icon':_0xf29b24[_0xfff2('0xb')]}),_0x489b80['isEnabled']=[...this[_0xfff2('0x47')]]['some'](_0x51ddbf=>_0x51ddbf[_0xfff2('0x15')]),_0x489b80['buttonView'][_0xfff2('0x2b')]=[...this['items']][_0xfff2('0xa')](_0x201f8a=>_0x201f8a[_0xfff2('0x2b')]);for(const _0x72debb of this['items'])_0x28c17e(_0x72debb);return _0x362829[_0xfff2('0x51')](_0x5dd62b),_0x489b80[_0xfff2('0xd')](this[_0xfff2('0x47')],_0xfff2('0x51'),(_0x1a724f,_0xd6469a,_0x19a607)=>{_0x28c17e(_0xd6469a,_0x19a607);}),_0x489b80[_0xfff2('0xd')](this[_0xfff2('0x47')],_0xfff2('0x48'),(_0x4c26f5,_0x36dacb,_0x28d52c)=>{_0x5dd62b[_0xfff2('0x47')]['remove'](_0x28d52c);}),_0x489b80;}[_0xfff2('0x34')](_0x52826f,_0x29a96f){const _0x2c1345=_0x52826f&&_0x52826f['element'];_0x2c1345&&(this[_0xfff2('0xd')](_0x2c1345,_0xfff2('0x5e'),()=>this[_0xfff2('0x41')]=_0x29a96f),this[_0xfff2('0xd')](_0x2c1345,_0xfff2('0x58'),()=>this[_0xfff2('0x41')]=_0x29a96f),this['listenTo'](_0x2c1345,_0xfff2('0x16'),()=>this[_0xfff2('0x41')]=null),this['listenTo'](_0x2c1345,_0xfff2('0x8'),()=>this[_0xfff2('0x41')]=null));}[_0xfff2('0x7')](){const _0x332593=super[_0xfff2('0x7')]();return _0x332593[_0xfff2('0x4b')]('placeholder')['to'](this),_0x332593;}['getExternalCommentNote'](){return'importWord'===this[_0xfff2('0x33')][_0xfff2('0x11')][_0xfff2('0x13')][_0xfff2('0xf')]?_0x5c715f(this['locale'],'EXTERNAL_IMPORT_WORD_COMMENT'):_0x5c715f(this['locale'],_0xfff2('0x39'));}[_0xfff2('0x18')](){return this[_0xfff2('0x33')][_0xfff2('0x29')]?'importWord'===this[_0xfff2('0x33')][_0xfff2('0x11')][_0xfff2('0x13')][_0xfff2('0xf')]?_0x5c715f(this['locale'],_0xfff2('0x4d'),this[_0xfff2('0x33')][_0xfff2('0x43')]['name']):_0x5c715f(this[_0xfff2('0x20')],'EXTERNAL_AVATAR',this[_0xfff2('0x33')]['creator'][_0xfff2('0x4f')]):null;}[_0xfff2('0x1d')](){super[_0xfff2('0x1d')](),this[_0xfff2('0x34')](this['editButton'],'edit'),this[_0xfff2('0x34')](this[_0xfff2('0x45')],_0xfff2('0x48'));}}
package/src/comments.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x13a3=['requires','Comments'];(function(_0x34d9e7,_0x13a3d8){var _0x317c40=function(_0x375eaa){while(--_0x375eaa){_0x34d9e7['push'](_0x34d9e7['shift']());}};_0x317c40(++_0x13a3d8);}(_0x13a3,0x142));var _0x317c=function(_0x34d9e7,_0x13a3d8){_0x34d9e7=_0x34d9e7-0x0;var _0x317c40=_0x13a3[_0x34d9e7];return _0x317c40;};import{Plugin as _0x5bdc40}from'ckeditor5/src/core';import _0x18b493 from'./comments/commentsrepository';import _0x493a58 from'./comments/commentsediting';import _0x328fe4 from'./comments/commentsui';import _0x40452c from'./commentsonly';import _0x4d7dfe from'./annotations/widesidebar';import _0x3b0414 from'./annotations/narrowsidebar';import _0x2a30d9 from'./annotations/inlineannotations';import _0x408ce8 from'./comments/commentsarchiveui';import _0x59df99 from'./comments/commentsarchive';export default class f extends _0x5bdc40{static get[_0x317c('0x0')](){return[_0x18b493,_0x493a58,_0x328fe4,_0x59df99,_0x408ce8,_0x40452c,_0x4d7dfe,_0x3b0414,_0x2a30d9];}static get['pluginName'](){return _0x317c('0x1');}}
23
+ var _0x431e=['requires','Comments','pluginName'];(function(_0x3e4e76,_0x431e2e){var _0x4e6b4f=function(_0x2346f5){while(--_0x2346f5){_0x3e4e76['push'](_0x3e4e76['shift']());}};_0x4e6b4f(++_0x431e2e);}(_0x431e,0x169));var _0x4e6b=function(_0x3e4e76,_0x431e2e){_0x3e4e76=_0x3e4e76-0x0;var _0x4e6b4f=_0x431e[_0x3e4e76];return _0x4e6b4f;};import{Plugin as _0x3ff078}from'ckeditor5/src/core';import _0x2a9d29 from'./comments/commentsrepository';import _0x1cb983 from'./comments/commentsediting';import _0x56439d from'./comments/commentsui';import _0x19f712 from'./commentsonly';import _0x5cde61 from'./annotations/widesidebar';import _0x1b038c from'./annotations/narrowsidebar';import _0x3eb411 from'./annotations/inlineannotations';import _0xed6134 from'./comments/commentsarchiveui';import _0xf067d9 from'./comments/commentsarchive';export default class f extends _0x3ff078{static get[_0x4e6b('0x2')](){return[_0x2a9d29,_0x1cb983,_0x56439d,_0xf067d9,_0xed6134,_0x19f712,_0x5cde61,_0x1b038c,_0x3eb411];}static get[_0x4e6b('0x1')](){return _0x4e6b('0x0');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3af4=['forceDisabled','editor','plugins','view','set','affectsData','pluginName','clipboardInput','clearForceDisabled','_disableCommentsOnlyMode','commentsOnlyMode','isEnabled','get','DragDrop','_enableCommentsOnlyMode','highest','addCommentThread','cut','listenTo','delete','CommentsOnly','afterInit','stop','document','commentsOnly','commands','requires'];(function(_0x19e78d,_0x3af452){const _0x56a8f6=function(_0x593731){while(--_0x593731){_0x19e78d['push'](_0x19e78d['shift']());}};_0x56a8f6(++_0x3af452);}(_0x3af4,0xd0));const _0x56a8=function(_0x19e78d,_0x3af452){_0x19e78d=_0x19e78d-0x0;let _0x56a8f6=_0x3af4[_0x19e78d];return _0x56a8f6;};import{Plugin as _0x52b64e}from'ckeditor5/src/core';import _0x5491dd from'./comments/commentsediting';export default class n extends _0x52b64e{static get[_0x56a8('0xe')](){return _0x56a8('0x1');}static get[_0x56a8('0x7')](){return[_0x5491dd];}constructor(_0x20c964){super(_0x20c964),this[_0x56a8('0xc')](_0x56a8('0x13'),!0x1),this['on']('change:isEnabled',(_0x5c6f7e,_0xc9d358,_0x2ab83f)=>{_0x2ab83f?this['_enableCommentsOnlyMode']():this[_0x56a8('0x11')]();});}[_0x56a8('0x2')](){!this[_0x56a8('0x13')]&&this[_0x56a8('0x9')]['config'][_0x56a8('0x14')](_0x56a8('0x5'))&&(this['isEnabled']=!0x0);}[_0x56a8('0x16')](){for(const [_0x2aa2ff,_0x1185a0]of this[_0x56a8('0x9')][_0x56a8('0x6')])_0x1185a0['affectsData']&&_0x56a8('0x18')!==_0x2aa2ff&&_0x1185a0['forceDisabled'](_0x56a8('0x12'));this[_0x56a8('0x9')]['plugins']['has'](_0x56a8('0x15'))&&this[_0x56a8('0x9')][_0x56a8('0xa')]['get']('DragDrop')[_0x56a8('0x8')]('commentsOnlyMode');const _0x53206a=this[_0x56a8('0x9')]['editing'][_0x56a8('0xb')]['document'];this[_0x56a8('0x1a')](_0x53206a,_0x56a8('0x19'),_0x1188c7=>_0x1188c7['stop'](),{'priority':_0x56a8('0x17')}),this[_0x56a8('0x1a')](_0x53206a,_0x56a8('0xf'),_0x4b92b5=>_0x4b92b5[_0x56a8('0x3')](),{'priority':_0x56a8('0x17')}),this[_0x56a8('0x1a')](_0x53206a,_0x56a8('0x0'),_0x5b1904=>_0x5b1904[_0x56a8('0x3')](),{'priority':_0x56a8('0x17')});}['_disableCommentsOnlyMode'](){for(const [_0x1e8920,_0x294bff]of this[_0x56a8('0x9')][_0x56a8('0x6')])_0x294bff[_0x56a8('0xd')]&&_0x56a8('0x18')!==_0x1e8920&&_0x294bff[_0x56a8('0x10')](_0x56a8('0x12'));this['stopListening'](this[_0x56a8('0x9')]['editing']['view'][_0x56a8('0x4')]);}}
23
+ const _0x9eab=['editor','set','affectsData','DragDrop','pluginName','view','stop','highest','afterInit','has','document','stopListening','editing','cut','get','isEnabled','listenTo','_disableCommentsOnlyMode','commands','forceDisabled','_enableCommentsOnlyMode','commentsOnly','delete','addCommentThread','requires','commentsOnlyMode','CommentsOnly','plugins'];(function(_0x180c1d,_0x9eabad){const _0x1879d7=function(_0x278d04){while(--_0x278d04){_0x180c1d['push'](_0x180c1d['shift']());}};_0x1879d7(++_0x9eabad);}(_0x9eab,0xc9));const _0x1879=function(_0x180c1d,_0x9eabad){_0x180c1d=_0x180c1d-0x0;let _0x1879d7=_0x9eab[_0x180c1d];return _0x1879d7;};import{Plugin as _0x5717bf}from'ckeditor5/src/core';import _0x3954e1 from'./comments/commentsediting';export default class n extends _0x5717bf{static get[_0x1879('0x1b')](){return _0x1879('0x15');}static get[_0x1879('0x13')](){return[_0x3954e1];}constructor(_0x9f61d1){super(_0x9f61d1),this[_0x1879('0x18')](_0x1879('0xa'),!0x1),this['on']('change:isEnabled',(_0x403db2,_0xe4334f,_0x110fda)=>{_0x110fda?this[_0x1879('0xf')]():this[_0x1879('0xc')]();});}[_0x1879('0x3')](){!this[_0x1879('0xa')]&&this[_0x1879('0x17')]['config'][_0x1879('0x9')](_0x1879('0x10'))&&(this[_0x1879('0xa')]=!0x0);}['_enableCommentsOnlyMode'](){for(const [_0x210d2e,_0x1b6141]of this[_0x1879('0x17')][_0x1879('0xd')])_0x1b6141[_0x1879('0x19')]&&_0x1879('0x12')!==_0x210d2e&&_0x1b6141[_0x1879('0xe')](_0x1879('0x14'));this[_0x1879('0x17')][_0x1879('0x16')][_0x1879('0x4')](_0x1879('0x1a'))&&this['editor']['plugins'][_0x1879('0x9')](_0x1879('0x1a'))[_0x1879('0xe')](_0x1879('0x14'));const _0x4f8ad8=this[_0x1879('0x17')][_0x1879('0x7')][_0x1879('0x0')][_0x1879('0x5')];this[_0x1879('0xb')](_0x4f8ad8,_0x1879('0x8'),_0x33cf4e=>_0x33cf4e[_0x1879('0x1')](),{'priority':_0x1879('0x2')}),this[_0x1879('0xb')](_0x4f8ad8,'clipboardInput',_0x15d9e6=>_0x15d9e6[_0x1879('0x1')](),{'priority':_0x1879('0x2')}),this['listenTo'](_0x4f8ad8,_0x1879('0x11'),_0x329abb=>_0x329abb['stop'](),{'priority':_0x1879('0x2')});}['_disableCommentsOnlyMode'](){for(const [_0x17c91c,_0x18e5af]of this[_0x1879('0x17')]['commands'])_0x18e5af[_0x1879('0x19')]&&_0x1879('0x12')!==_0x17c91c&&_0x18e5af['clearForceDisabled'](_0x1879('0x14'));this[_0x1879('0x6')](this['editor']['editing'][_0x1879('0x0')][_0x1879('0x5')]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x280819,_0x4474c1,_0x4f9eb3){const t=_0x280819['t'];switch(_0x4474c1){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'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x4f9eb3);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'},_0x4f9eb3);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'},_0x4f9eb3);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'},_0x4f9eb3);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(_0x5d5eba,_0x21c754,_0x5aa97e){const t=_0x5d5eba['t'];switch(_0x21c754){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'},_0x5aa97e);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'},_0x5aa97e);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'},_0x5aa97e);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'},_0x5aa97e);case'COMMENTS_ARCHIVE':return t({'string':'Comments\x20archive','id':'COMMENTS_ARCHIVE'});case'EMPTY_COMMENTS_ARCHIVE':return t({'string':'There\x20are\x20no\x20archived\x20comment\x20threads.','id':'EMPTY_COMMENTS_ARCHIVE'});default:return'';}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x171e=['class','disconnect','characterData','cancel','attributeName','type','attributes'];(function(_0x2843f7,_0x171e7a){const _0x2bc9c9=function(_0x3a7d4e){while(--_0x3a7d4e){_0x2843f7['push'](_0x2843f7['shift']());}};_0x2bc9c9(++_0x171e7a);}(_0x171e,0x10d));const _0x2bc9=function(_0x2843f7,_0x171e7a){_0x2843f7=_0x2843f7-0x0;let _0x2bc9c9=_0x171e[_0x2843f7];return _0x2bc9c9;};import{throttle as _0x1875e8}from'lodash-es';export default function Dt(_0x4976fd){const _0x1ded84=_0x1875e8(_0x4976fd,0x1e),_0x39f067=new MutationObserver(_0xb4759c=>{for(const _0x13a24f of _0xb4759c)(_0x2bc9('0x3')==_0x13a24f[_0x2bc9('0x2')]&&_0x2bc9('0x4')==_0x13a24f[_0x2bc9('0x1')]||'childList'==_0x13a24f[_0x2bc9('0x2')]||_0x2bc9('0x6')==_0x13a24f[_0x2bc9('0x2')])&&_0x1ded84();});return{'attach'(_0x402197){_0x39f067['observe'](_0x402197,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x39f067[_0x2bc9('0x5')](),_0x1ded84[_0x2bc9('0x0')]();}};}
23
+ const _0x3501=['disconnect','attributes','cancel','class','type','observe','childList','characterData'];(function(_0x25f005,_0x350107){const _0x24c8f5=function(_0x3b15ce){while(--_0x3b15ce){_0x25f005['push'](_0x25f005['shift']());}};_0x24c8f5(++_0x350107);}(_0x3501,0x103));const _0x24c8=function(_0x25f005,_0x350107){_0x25f005=_0x25f005-0x0;let _0x24c8f5=_0x3501[_0x25f005];return _0x24c8f5;};import{throttle as _0x2a73a2}from'lodash-es';export default function Dt(_0x3debe7){const _0x536907=_0x2a73a2(_0x3debe7,0x1e),_0x3f89fe=new MutationObserver(_0x53f00b=>{for(const _0x44f3c4 of _0x53f00b)(_0x24c8('0x6')==_0x44f3c4[_0x24c8('0x1')]&&_0x24c8('0x0')==_0x44f3c4['attributeName']||_0x24c8('0x3')==_0x44f3c4[_0x24c8('0x1')]||_0x24c8('0x4')==_0x44f3c4['type'])&&_0x536907();});return{'attach'(_0x18d16f){_0x3f89fe[_0x24c8('0x2')](_0x18d16f,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x3f89fe[_0x24c8('0x5')](),_0x536907[_0x24c8('0x7')]();}};}
@@ -3,7 +3,8 @@
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-2022, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
8
  */
8
9
 
9
10
  /* Common styles for inline comment and inline suggestion. */
@@ -3,7 +3,8 @@
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-2022, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
8
  */
8
9
 
9
10
  /* Common styles for single comment and single suggestion. */
package/theme/comment.css CHANGED
@@ -3,13 +3,14 @@
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-2022, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
8
  */
8
9
 
9
10
  :root {
10
11
  --ck-color-comment-background: hsl(210, 52%, 97%);
11
12
  --ck-color-comment-separator: hsl(210, 52%, 87%);
12
- --ck-color-comment-remove-background: hsl(0, 100%, 90%);
13
+ --ck-color-comment-remove-background: var(--ck-color-light-red);
13
14
  --ck-color-comment-input-background: var(--ck-color-comment-background);
14
15
  }
15
16
 
@@ -3,7 +3,8 @@
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-2022, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
8
  */
8
9
 
9
10
  .ck .ck-comment__input-container {
@@ -3,7 +3,8 @@
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-2022, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
8
  */
8
9
 
9
10
  :root {
@@ -3,7 +3,8 @@
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-2022, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
8
  */
8
9
 
9
10
  .ck .ck-comments-archive-dropdown {
@@ -3,7 +3,8 @@
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-2022, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
8
  */
8
9
 
9
10
  :root {
@@ -12,6 +13,9 @@
12
13
 
13
14
  --ck-color-thread-header-background: hsl(54, 88%, 93%);
14
15
  --ck-color-thread-header-active-background: hsl(52, 100%, 83%);
16
+
17
+ --ck-color-unlinked-background: hsl(0, 0%, 96%);
18
+ --ck-color-unlinked-active-background: hsl(0, 0%, 92%);
15
19
  }
16
20
 
17
21
  .ck .ck-thread {
@@ -182,6 +186,13 @@
182
186
  }
183
187
  }
184
188
 
189
+ .ck .ck-thread--unlinked {
190
+ --ck-color-comment-box-border: var(--ck-color-base-border);
191
+
192
+ --ck-color-thread-header-background: var(--ck-color-unlinked-background);
193
+ --ck-color-thread-header-active-background: var(--ck-color-unlinked-active-background);
194
+ }
195
+
185
196
  .ck .ck-thread--remove-confirmation {
186
197
  & .ck-thread__container {
187
198
  transform: translate3d( -100%, 0, 0 );
@@ -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-2022, CKSource Holding sp. z o.o. All rights reserved.
7
+ Copyright (c) 2003-2023, 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-2022, CKSource Holding sp. z o.o. All rights reserved.
7
+ Copyright (c) 2003-2023, 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-2022, CKSource Holding sp. z o.o. All rights reserved.
7
+ Copyright (c) 2003-2023, 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-2022, CKSource Holding sp. z o.o. All rights reserved.
7
+ Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
8
8
 
9
9
  !-->
10
10
 
@@ -3,7 +3,8 @@
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-2022, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
8
  */
8
9
 
9
10
  :root {
package/theme/sidebar.css CHANGED
@@ -3,7 +3,8 @@
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-2022, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
8
  */
8
9
 
9
10
  :root {