@ckeditor/ckeditor5-comments 45.2.1 → 46.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (242) hide show
  1. package/build/comments.js +1 -1
  2. package/dist/index-editor.css +69 -67
  3. package/dist/index.css +80 -78
  4. package/dist/index.js +11 -9
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/be.js +1 -1
  14. package/dist/translations/be.umd.js +1 -1
  15. package/dist/translations/bg.js +1 -1
  16. package/dist/translations/bg.umd.js +1 -1
  17. package/dist/translations/bn.js +1 -1
  18. package/dist/translations/bn.umd.js +1 -1
  19. package/dist/translations/bs.js +1 -1
  20. package/dist/translations/bs.umd.js +1 -1
  21. package/dist/translations/ca.js +1 -1
  22. package/dist/translations/ca.umd.js +1 -1
  23. package/dist/translations/cs.js +1 -1
  24. package/dist/translations/cs.umd.js +1 -1
  25. package/dist/translations/da.js +1 -1
  26. package/dist/translations/da.umd.js +1 -1
  27. package/dist/translations/de-ch.js +1 -1
  28. package/dist/translations/de-ch.umd.js +1 -1
  29. package/dist/translations/de.js +1 -1
  30. package/dist/translations/de.umd.js +1 -1
  31. package/dist/translations/el.js +1 -1
  32. package/dist/translations/el.umd.js +1 -1
  33. package/dist/translations/en-au.js +1 -1
  34. package/dist/translations/en-au.umd.js +1 -1
  35. package/dist/translations/en-gb.js +1 -1
  36. package/dist/translations/en-gb.umd.js +1 -1
  37. package/dist/translations/en.js +1 -1
  38. package/dist/translations/en.umd.js +1 -1
  39. package/dist/translations/eo.js +1 -1
  40. package/dist/translations/eo.umd.js +1 -1
  41. package/dist/translations/es-co.js +1 -1
  42. package/dist/translations/es-co.umd.js +1 -1
  43. package/dist/translations/es.js +1 -1
  44. package/dist/translations/es.umd.js +1 -1
  45. package/dist/translations/et.js +1 -1
  46. package/dist/translations/et.umd.js +1 -1
  47. package/dist/translations/eu.js +1 -1
  48. package/dist/translations/eu.umd.js +1 -1
  49. package/dist/translations/fa.js +1 -1
  50. package/dist/translations/fa.umd.js +1 -1
  51. package/dist/translations/fi.js +1 -1
  52. package/dist/translations/fi.umd.js +1 -1
  53. package/dist/translations/fr.js +1 -1
  54. package/dist/translations/fr.umd.js +1 -1
  55. package/dist/translations/gl.js +1 -1
  56. package/dist/translations/gl.umd.js +1 -1
  57. package/dist/translations/gu.js +1 -1
  58. package/dist/translations/gu.umd.js +1 -1
  59. package/dist/translations/he.js +1 -1
  60. package/dist/translations/he.umd.js +1 -1
  61. package/dist/translations/hi.js +1 -1
  62. package/dist/translations/hi.umd.js +1 -1
  63. package/dist/translations/hr.js +1 -1
  64. package/dist/translations/hr.umd.js +1 -1
  65. package/dist/translations/hu.js +1 -1
  66. package/dist/translations/hu.umd.js +1 -1
  67. package/dist/translations/hy.js +1 -1
  68. package/dist/translations/hy.umd.js +1 -1
  69. package/dist/translations/id.js +1 -1
  70. package/dist/translations/id.umd.js +1 -1
  71. package/dist/translations/it.js +1 -1
  72. package/dist/translations/it.umd.js +1 -1
  73. package/dist/translations/ja.js +1 -1
  74. package/dist/translations/ja.umd.js +1 -1
  75. package/dist/translations/jv.js +1 -1
  76. package/dist/translations/jv.umd.js +1 -1
  77. package/dist/translations/kk.js +1 -1
  78. package/dist/translations/kk.umd.js +1 -1
  79. package/dist/translations/km.js +1 -1
  80. package/dist/translations/km.umd.js +1 -1
  81. package/dist/translations/kn.js +1 -1
  82. package/dist/translations/kn.umd.js +1 -1
  83. package/dist/translations/ko.js +1 -1
  84. package/dist/translations/ko.umd.js +1 -1
  85. package/dist/translations/ku.js +1 -1
  86. package/dist/translations/ku.umd.js +1 -1
  87. package/dist/translations/lt.js +1 -1
  88. package/dist/translations/lt.umd.js +1 -1
  89. package/dist/translations/lv.js +1 -1
  90. package/dist/translations/lv.umd.js +1 -1
  91. package/dist/translations/ms.js +1 -1
  92. package/dist/translations/ms.umd.js +1 -1
  93. package/dist/translations/nb.js +1 -1
  94. package/dist/translations/nb.umd.js +1 -1
  95. package/dist/translations/ne.js +1 -1
  96. package/dist/translations/ne.umd.js +1 -1
  97. package/dist/translations/nl.js +1 -1
  98. package/dist/translations/nl.umd.js +1 -1
  99. package/dist/translations/no.js +1 -1
  100. package/dist/translations/no.umd.js +1 -1
  101. package/dist/translations/oc.js +1 -1
  102. package/dist/translations/oc.umd.js +1 -1
  103. package/dist/translations/pl.js +1 -1
  104. package/dist/translations/pl.umd.js +1 -1
  105. package/dist/translations/pt-br.js +1 -1
  106. package/dist/translations/pt-br.umd.js +1 -1
  107. package/dist/translations/pt.js +1 -1
  108. package/dist/translations/pt.umd.js +1 -1
  109. package/dist/translations/ro.js +1 -1
  110. package/dist/translations/ro.umd.js +1 -1
  111. package/dist/translations/ru.js +1 -1
  112. package/dist/translations/ru.umd.js +1 -1
  113. package/dist/translations/si.js +1 -1
  114. package/dist/translations/si.umd.js +1 -1
  115. package/dist/translations/sk.js +1 -1
  116. package/dist/translations/sk.umd.js +1 -1
  117. package/dist/translations/sl.js +1 -1
  118. package/dist/translations/sl.umd.js +1 -1
  119. package/dist/translations/sq.js +1 -1
  120. package/dist/translations/sq.umd.js +1 -1
  121. package/dist/translations/sr-latn.js +1 -1
  122. package/dist/translations/sr-latn.umd.js +1 -1
  123. package/dist/translations/sr.js +1 -1
  124. package/dist/translations/sr.umd.js +1 -1
  125. package/dist/translations/sv.js +1 -1
  126. package/dist/translations/sv.umd.js +1 -1
  127. package/dist/translations/th.js +1 -1
  128. package/dist/translations/th.umd.js +1 -1
  129. package/dist/translations/ti.js +1 -1
  130. package/dist/translations/ti.umd.js +1 -1
  131. package/dist/translations/tk.js +1 -1
  132. package/dist/translations/tk.umd.js +1 -1
  133. package/dist/translations/tr.js +1 -1
  134. package/dist/translations/tr.umd.js +1 -1
  135. package/dist/translations/tt.js +1 -1
  136. package/dist/translations/tt.umd.js +1 -1
  137. package/dist/translations/ug.js +1 -1
  138. package/dist/translations/ug.umd.js +1 -1
  139. package/dist/translations/uk.js +1 -1
  140. package/dist/translations/uk.umd.js +1 -1
  141. package/dist/translations/ur.js +1 -1
  142. package/dist/translations/ur.umd.js +1 -1
  143. package/dist/translations/uz.js +1 -1
  144. package/dist/translations/uz.umd.js +1 -1
  145. package/dist/translations/vi.js +1 -1
  146. package/dist/translations/vi.umd.js +1 -1
  147. package/dist/translations/zh-cn.js +1 -1
  148. package/dist/translations/zh-cn.umd.js +1 -1
  149. package/dist/translations/zh.js +1 -1
  150. package/dist/translations/zh.umd.js +1 -1
  151. package/package.json +19 -19
  152. package/src/annotations/annotation.d.ts +4 -4
  153. package/src/annotations/annotation.js +2 -2
  154. package/src/annotations/annotationcollection.d.ts +2 -2
  155. package/src/annotations/annotationcollection.js +1 -1
  156. package/src/annotations/annotations.d.ts +4 -4
  157. package/src/annotations/annotations.js +1 -1
  158. package/src/annotations/annotationsuis.d.ts +4 -4
  159. package/src/annotations/annotationsuis.js +1 -1
  160. package/src/annotations/editorannotations.d.ts +4 -4
  161. package/src/annotations/editorannotations.js +1 -1
  162. package/src/annotations/inlineannotations.d.ts +5 -5
  163. package/src/annotations/inlineannotations.js +1 -1
  164. package/src/annotations/narrowsidebar.d.ts +5 -5
  165. package/src/annotations/narrowsidebar.js +1 -1
  166. package/src/annotations/sidebar.d.ts +14 -13
  167. package/src/annotations/sidebar.js +1 -1
  168. package/src/annotations/view/annotationcounterbuttonview.d.ts +1 -1
  169. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  170. package/src/annotations/view/annotationview.d.ts +1 -1
  171. package/src/annotations/view/annotationview.js +1 -1
  172. package/src/annotations/view/sidebaritemview.d.ts +1 -1
  173. package/src/annotations/view/sidebaritemview.js +2 -1
  174. package/src/annotations/view/sidebarview.d.ts +4 -4
  175. package/src/annotations/view/sidebarview.js +2 -1
  176. package/src/annotations/widesidebar.d.ts +5 -5
  177. package/src/annotations/widesidebar.js +1 -1
  178. package/src/augmentation.d.ts +2 -2
  179. package/src/comments/addcommentthreadcommand.d.ts +48 -9
  180. package/src/comments/addcommentthreadcommand.js +1 -1
  181. package/src/comments/commentsarchive.d.ts +3 -3
  182. package/src/comments/commentsarchive.js +1 -1
  183. package/src/comments/commentsarchiveui.d.ts +4 -4
  184. package/src/comments/commentsarchiveui.js +1 -1
  185. package/src/comments/commentsediting.d.ts +7 -7
  186. package/src/comments/commentsediting.js +1 -1
  187. package/src/comments/commentsrepository.d.ts +14 -6
  188. package/src/comments/commentsrepository.js +3 -3
  189. package/src/comments/commentsui.d.ts +5 -5
  190. package/src/comments/commentsui.js +1 -1
  191. package/src/comments/integrations/clipboard.d.ts +1 -1
  192. package/src/comments/integrations/clipboard.js +1 -1
  193. package/src/comments/integrations/commentsrestrictededitingmode.d.ts +1 -1
  194. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  195. package/src/comments/integrations/importword.d.ts +1 -1
  196. package/src/comments/integrations/importword.js +1 -1
  197. package/src/comments/integrations/showcommenthighlights.d.ts +1 -1
  198. package/src/comments/integrations/showcommenthighlights.js +1 -1
  199. package/src/comments/ui/commenteditor/commenteditor.d.ts +4 -4
  200. package/src/comments/ui/commenteditor/commenteditor.js +2 -2
  201. package/src/comments/ui/commenteditor/commenteditorui.d.ts +2 -2
  202. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  203. package/src/comments/ui/commenteditor/commenteditoruiview.d.ts +1 -1
  204. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  205. package/src/comments/ui/commentthreadcontroller.d.ts +2 -2
  206. package/src/comments/ui/commentthreadcontroller.js +2 -2
  207. package/src/comments/ui/view/basecommentthreadview.d.ts +4 -4
  208. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  209. package/src/comments/ui/view/basecommentview.d.ts +1 -1
  210. package/src/comments/ui/view/basecommentview.js +1 -1
  211. package/src/comments/ui/view/collapsedcommentsview.d.ts +1 -1
  212. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  213. package/src/comments/ui/view/commentcontentview.d.ts +1 -1
  214. package/src/comments/ui/view/commentcontentview.js +1 -1
  215. package/src/comments/ui/view/commentinputview.d.ts +4 -4
  216. package/src/comments/ui/view/commentinputview.js +1 -1
  217. package/src/comments/ui/view/commentsarchiveview.d.ts +2 -2
  218. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  219. package/src/comments/ui/view/commentslistview.d.ts +2 -2
  220. package/src/comments/ui/view/commentslistview.js +1 -1
  221. package/src/comments/ui/view/commentthreadheadercontextview.d.ts +1 -1
  222. package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
  223. package/src/comments/ui/view/commentthreadheaderview.d.ts +2 -2
  224. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  225. package/src/comments/ui/view/commentthreadinputview.d.ts +2 -2
  226. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  227. package/src/comments/ui/view/commentthreadview.d.ts +2 -2
  228. package/src/comments/ui/view/commentthreadview.js +2 -2
  229. package/src/comments/ui/view/commentview.d.ts +3 -3
  230. package/src/comments/ui/view/commentview.js +2 -2
  231. package/src/comments.d.ts +10 -10
  232. package/src/comments.js +1 -1
  233. package/src/commentsonly.d.ts +2 -2
  234. package/src/commentsonly.js +1 -1
  235. package/src/config.d.ts +3 -3
  236. package/src/index.d.ts +29 -25
  237. package/src/index.js +1 -1
  238. package/src/utils/common-translations.js +1 -1
  239. package/src/utils/createmutationobserver.d.ts +1 -1
  240. package/src/utils/createmutationobserver.js +1 -1
  241. package/theme/comment.css +2 -1
  242. package/theme/commentinput.css +2 -1
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x56f9a4=_0x3973;(function(_0x4eff46,_0x236506){const _0x1b07f8=_0x3973,_0x20785a=_0x4eff46();while(!![]){try{const _0x4c2fc8=-parseInt(_0x1b07f8(0x1ce))/0x1+-parseInt(_0x1b07f8(0x1c0))/0x2+-parseInt(_0x1b07f8(0x1c8))/0x3+parseInt(_0x1b07f8(0x1ba))/0x4*(parseInt(_0x1b07f8(0x199))/0x5)+parseInt(_0x1b07f8(0x19d))/0x6*(parseInt(_0x1b07f8(0x17a))/0x7)+parseInt(_0x1b07f8(0x1b4))/0x8*(-parseInt(_0x1b07f8(0x1e7))/0x9)+parseInt(_0x1b07f8(0x177))/0xa*(parseInt(_0x1b07f8(0x186))/0xb);if(_0x4c2fc8===_0x236506)break;else _0x20785a['push'](_0x20785a['shift']());}catch(_0x5ef917){_0x20785a['push'](_0x20785a['shift']());}}}(_0x5024,0x52229));import{IconRemoveComment as _0x1e2025,IconPencil as _0x4c9296,IconThreeVerticalDots as _0x443245}from'ckeditor5/src/icons.js';function _0x5024(){const _0x4c457e=['ck-comment__actions--hidden','label','listenTo','actionBar','ck-comment__info-time','ck-comment--','ck-annotation__actions','time','ck-comment--remove-confirmation','setTemplate','push','icon','ck-comment','_config','render','children','bindTemplate','element','27WYZqsg','some','ck-comment__main','locale','div','blur','isConfirm','span','extendTemplate','_attachActions','8701970qUxYEX','withText','_model','7kEjSVN','Remove','edit','getTemplate','_createEditButton','ck-comment__user','isEnabled','ck-comment__info','Reply...','ck-comment--remove','ck-annotation__info','mouseleave','11KgbRNL','addMany','isEditable','focusables','unbind','getExternalCommentNote','toMany','_createCommentInputView','name','ck-comment__actions','isExternal','placeholder','group','ck-hidden','ck-annotation__info-time','find','ck-annotation__content-wrapper','ck-annotation__info-name','authoredAt','5pLjueE','Show\x20more\x20items','items','userView','1295622AtYYFl','isReadOnly','ck-annotation__user','editButton','actionIndicator','Delete\x20comment?','isEditMode','createCollection','ck-comment--info','listitem','resolvedAt','Edit','switchToEditMode','isVisible','panelPosition','ck-annotation__main','ariaDescriptionView','ck-comment__wrapper','dropdown','buttonView','_createRemoveButton','set','ck-comment--edit','394856yVMIYw','panelView','removeComment','fire','mouseenter','ck-annotation','41132OaFuZz','ck-comment__info-name','ck-annotation__actions--hidden','_createDropdown','add','change:isRemovable','859374FtQcfQ','cancelConfirm','visibleView','then','focus','remove','from','ck-comment__external','202104PEKSqp','getUserViewNotificationText','author','isRemovable','length','showConfirm','114866ldRQMs','removeButton','bind','ariaLabel','isSystemComment','formatDateTime','execute'];_0x5024=function(){return _0x4c457e;};return _0x5024();}function _0x3973(_0x37fb7f,_0x5040bf){const _0x5024e8=_0x5024();return _0x3973=function(_0x39733b,_0x1ab03d){_0x39733b=_0x39733b-0x16f;let _0x331570=_0x5024e8[_0x39733b];return _0x331570;},_0x3973(_0x37fb7f,_0x5040bf);}import{ButtonView as _0x5bfd7e,createDropdown as _0xac6b7a,ListView as _0x194fd0,ListItemView as _0x286aa9,focusChildOnDropdownOpen as _0x3e5858}from'ckeditor5/src/ui.js';import{UserView as _0x55a9fb,ConfirmMixin as _0x397131,LateFocusDropdownButtonView as _0x42c2fb}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1a5564 from'./basecommentview.js';import{getTranslation as _0x3bcd59}from'../../../utils/common-translations.js';export default class bt extends/* #__PURE__ -- @preserve */
24
- _0x397131(_0x1a5564){[_0x56f9a4(0x1d8)];[_0x56f9a4(0x19c)];constructor(_0x46baba,_0xb49b8,_0x2a3fa3){const _0x5169ad=_0x56f9a4;super(_0x46baba,_0xb49b8,_0x2a3fa3),this[_0x5169ad(0x1b2)](_0x5169ad(0x1a1),null),this[_0x5169ad(0x1b2)](_0x5169ad(0x191),_0x3bcd59(_0x46baba,_0x5169ad(0x182))),this[_0x5169ad(0x1d0)](_0x5169ad(0x198))['to'](_0xb49b8),this[_0x5169ad(0x1d0)](_0x5169ad(0x1a7))['to'](_0xb49b8),this[_0x5169ad(0x1d8)]=this[_0x5169ad(0x1a4)](),this[_0x5169ad(0x1d2)]||(this[_0x5169ad(0x1a0)]=this[_0x5169ad(0x17e)](),this[_0x5169ad(0x1cf)]=this[_0x5169ad(0x1b1)](),this[_0x5169ad(0x19b)]=this[_0x5169ad(0x1a4)](),this[_0x5169ad(0x19b)][_0x5169ad(0x187)]([this[_0x5169ad(0x1a0)],this[_0x5169ad(0x1cf)]]),this[_0x5169ad(0x1af)]=this[_0x5169ad(0x1bd)](),this[_0x5169ad(0x1d8)][_0x5169ad(0x1be)](this[_0x5169ad(0x1af)]),this[_0x5169ad(0x189)][_0x5169ad(0x1be)](this[_0x5169ad(0x1af)])),this[_0x5169ad(0x19c)]=new _0x55a9fb(_0x46baba,_0xb49b8[_0x5169ad(0x1ca)],this[_0x5169ad(0x1c9)]()),this[_0x5169ad(0x19c)][_0x5169ad(0x175)]({'attributes':{'class':[_0x5169ad(0x17f),_0x5169ad(0x19f)],'aria-hidden':!0x0}}),this[_0x5169ad(0x1d7)](_0xb49b8,_0x5169ad(0x1bf),()=>this[_0x5169ad(0x1c1)]()),this[_0x5169ad(0x1de)](this[_0x5169ad(0x17d)]());}[_0x56f9a4(0x17d)](){const _0x531b59=_0x56f9a4,_0x174a92=this[_0x531b59(0x1e5)],_0x5805e8=[{'tag':_0x531b59(0x171),'attributes':{'class':[_0x531b59(0x181),_0x531b59(0x184)]},'children':[{'tag':_0x531b59(0x174),'children':[{'text':this[_0x531b59(0x19c)][_0x531b59(0x18e)]}],'attributes':{'class':[_0x531b59(0x1bb),_0x531b59(0x197)],'data-cke-tooltip-text':this[_0x531b59(0x19c)][_0x531b59(0x18e)]}},{'tag':_0x531b59(0x1dc),'attributes':{'datetime':_0x174a92['to'](_0x531b59(0x198)),'class':[_0x531b59(0x1d9),_0x531b59(0x194)]},'children':[{'text':_0x174a92['to'](_0x531b59(0x198),_0x5b2cdd=>this[_0x531b59(0x1e2)][_0x531b59(0x1d3)](_0x5b2cdd))}]}]},{'tag':_0x531b59(0x171),'attributes':{'class':[_0x531b59(0x18f),_0x531b59(0x1db),_0x174a92['if'](_0x531b59(0x1a3),_0x531b59(0x1d5)),_0x174a92['if'](_0x531b59(0x1a3),_0x531b59(0x1bc))]},'children':this[_0x531b59(0x1d8)]},{'tag':_0x531b59(0x171),'attributes':{'class':[_0x531b59(0x196)]},'children':this[_0x531b59(0x1c2)]},this[_0x531b59(0x1ad)]];return this[_0x531b59(0x179)][_0x531b59(0x190)]&&_0x5805e8[_0x531b59(0x1df)]({'tag':_0x531b59(0x171),'attributes':{'class':[_0x531b59(0x1c7)]},'children':[{'text':this[_0x531b59(0x18b)]()}]}),{'tag':'li','attributes':{'class':[_0x531b59(0x1ae),_0x174a92['if'](_0x531b59(0x173),_0x531b59(0x1dd))],'tabindex':-0x1,'aria-label':_0x174a92['to'](_0x531b59(0x1d1)),'aria-describedby':this[_0x531b59(0x1ad)]['id'],'role':_0x531b59(0x1a6)},'children':[{'tag':_0x531b59(0x171),'attributes':{'class':[_0x531b59(0x1e1),_0x531b59(0x1b9),_0x174a92['if'](_0x531b59(0x1a3),_0x531b59(0x1b3)),_0x174a92['if'](_0x531b59(0x1d2),_0x531b59(0x1a5)),_0x174a92['to'](_0x531b59(0x1a1),_0x2b572f=>_0x2b572f?_0x531b59(0x1da)+_0x2b572f:'')],'data-author-id':this[_0x531b59(0x179)][_0x531b59(0x1ca)]['id'],'data-comment-id':this[_0x531b59(0x179)]['id'],'role':_0x531b59(0x192)},'children':[this[_0x531b59(0x19c)],{'tag':_0x531b59(0x171),'attributes':{'class':[_0x531b59(0x16f),_0x531b59(0x1ac)]},'children':_0x5805e8}]}]};}[_0x56f9a4(0x17e)](){const _0x52005e=_0x56f9a4,_0x13e52f=new _0x5bfd7e(this[_0x52005e(0x170)]);return _0x13e52f[_0x52005e(0x1d6)]=_0x3bcd59(this[_0x52005e(0x170)],_0x52005e(0x1a8)),_0x13e52f[_0x52005e(0x1e0)]=_0x4c9296,_0x13e52f[_0x52005e(0x178)]=!0x0,_0x13e52f[_0x52005e(0x175)]({'attributes':{'class':_0x52005e(0x1b3)}}),_0x13e52f[_0x52005e(0x1d0)](_0x52005e(0x180))['to'](this[_0x52005e(0x179)],_0x52005e(0x19e),_0x2b6e39=>!_0x2b6e39),_0x13e52f[_0x52005e(0x1d0)](_0x52005e(0x1aa))['to'](this[_0x52005e(0x179)],_0x52005e(0x188)),_0x13e52f['on'](_0x52005e(0x1d4),()=>this[_0x52005e(0x1a9)]()),_0x13e52f;}[_0x56f9a4(0x1b1)](){const _0x10cc1c=_0x56f9a4,_0x51c859=new _0x5bfd7e(this[_0x10cc1c(0x170)]);return _0x51c859[_0x10cc1c(0x1d6)]=_0x3bcd59(this[_0x10cc1c(0x170)],_0x10cc1c(0x17b)),_0x51c859[_0x10cc1c(0x1e0)]=_0x1e2025,_0x51c859[_0x10cc1c(0x178)]=!0x0,_0x51c859[_0x10cc1c(0x175)]({'attributes':{'class':_0x10cc1c(0x183)}}),_0x51c859[_0x10cc1c(0x1d0)](_0x10cc1c(0x180))['to'](this[_0x10cc1c(0x179)],_0x10cc1c(0x19e),_0x4006f7=>!_0x4006f7),_0x51c859[_0x10cc1c(0x1d0)](_0x10cc1c(0x1aa))['to'](this[_0x10cc1c(0x179)],_0x10cc1c(0x1cb)),_0x51c859['on'](_0x10cc1c(0x1d4),()=>{const _0x3c6acd=_0x10cc1c;this[_0x3c6acd(0x1cd)](_0x3bcd59(this[_0x3c6acd(0x170)],_0x3c6acd(0x1a2)),this[_0x3c6acd(0x1e6)])[_0x3c6acd(0x1c3)](()=>{const _0x3f76ad=_0x3c6acd;this[_0x3f76ad(0x1b7)](_0x3f76ad(0x1b6),this[_0x3f76ad(0x179)]['id']);});}),_0x51c859;}[_0x56f9a4(0x1bd)](){const _0x48ffdb=_0x56f9a4,_0x2297a5=_0xac6b7a(this[_0x48ffdb(0x170)],_0x42c2fb),_0x11ebe5=_0x2297a5[_0x48ffdb(0x1b5)][_0x48ffdb(0x1e4)],_0xbeb4e8=new _0x194fd0(this[_0x48ffdb(0x170)]),_0x3e878e=_0x2297a5[_0x48ffdb(0x1e5)];_0x3e5858(_0x2297a5,()=>this[_0x48ffdb(0x19b)][_0x48ffdb(0x195)](_0xc0b629=>_0xc0b629[_0x48ffdb(0x1aa)])),_0x2297a5[_0x48ffdb(0x175)]({'attributes':{'class':[_0x3e878e['if'](_0x48ffdb(0x1aa),_0x48ffdb(0x193),_0x1040fa=>!_0x1040fa)]}});const _0x5e45ff=(_0x7941fa,_0x3a1883=-0x1)=>{const _0x5a52ef=_0x48ffdb,_0x87e355=new _0x286aa9(this[_0x5a52ef(0x170)]);_0x87e355[_0x5a52ef(0x1e4)][_0x5a52ef(0x1be)](_0x7941fa);const _0x57ff01=_0x3a1883>-0x1?_0x3a1883:_0xbeb4e8[_0x5a52ef(0x19b)][_0x5a52ef(0x1cc)];_0xbeb4e8[_0x5a52ef(0x19b)][_0x5a52ef(0x1be)](_0x87e355,_0x57ff01);const _0x28a4f6=Array[_0x5a52ef(0x1c6)](this[_0x5a52ef(0x19b)]);_0x2297a5[_0x5a52ef(0x18a)](_0x5a52ef(0x180),_0x5a52ef(0x1aa)),_0x2297a5[_0x5a52ef(0x1d0)](_0x5a52ef(0x180))[_0x5a52ef(0x18c)](_0x28a4f6,_0x5a52ef(0x180),(..._0x557987)=>_0x557987[_0x5a52ef(0x1e8)](_0x387a02=>_0x387a02)),_0x2297a5[_0x5a52ef(0x1d0)](_0x5a52ef(0x1aa))[_0x5a52ef(0x18c)](_0x28a4f6,_0x5a52ef(0x1aa),(..._0x3f3cbf)=>_0x3f3cbf[_0x5a52ef(0x1e8)](_0xa5ebc7=>_0xa5ebc7));};_0x2297a5[_0x48ffdb(0x1ab)]='sw',_0x2297a5[_0x48ffdb(0x1b0)][_0x48ffdb(0x1b2)]({'label':_0x3bcd59(this[_0x48ffdb(0x170)],_0x48ffdb(0x19a)),'icon':_0x443245});for(const _0x38ffcd of this[_0x48ffdb(0x19b)])_0x5e45ff(_0x38ffcd);return _0x11ebe5[_0x48ffdb(0x1be)](_0xbeb4e8),_0x2297a5[_0x48ffdb(0x1d7)](this[_0x48ffdb(0x19b)],_0x48ffdb(0x1be),(_0x4c73ac,_0x58296f,_0x4af182)=>{_0x5e45ff(_0x58296f,_0x4af182);}),_0x2297a5[_0x48ffdb(0x1d7)](this[_0x48ffdb(0x19b)],_0x48ffdb(0x1c5),(_0x10c77b,_0x91d36a,_0x4eab4a)=>{const _0x401a20=_0x48ffdb;_0xbeb4e8[_0x401a20(0x19b)][_0x401a20(0x1c5)](_0x4eab4a);}),_0x2297a5;}[_0x56f9a4(0x176)](_0x33dd93,_0x3c4a43){const _0x18137a=_0x56f9a4,_0x2d5ef3=_0x33dd93&&_0x33dd93[_0x18137a(0x1e6)];_0x2d5ef3&&(this[_0x18137a(0x1d7)](_0x2d5ef3,_0x18137a(0x1b8),()=>this[_0x18137a(0x1a1)]=_0x3c4a43),this[_0x18137a(0x1d7)](_0x2d5ef3,_0x18137a(0x1c4),()=>this[_0x18137a(0x1a1)]=_0x3c4a43),this[_0x18137a(0x1d7)](_0x2d5ef3,_0x18137a(0x185),()=>this[_0x18137a(0x1a1)]=null),this[_0x18137a(0x1d7)](_0x2d5ef3,_0x18137a(0x172),()=>this[_0x18137a(0x1a1)]=null));}[_0x56f9a4(0x18d)](){const _0x7461ef=_0x56f9a4,_0x183a02=super[_0x7461ef(0x18d)]();return _0x183a02[_0x7461ef(0x1d0)](_0x7461ef(0x191))['to'](this),_0x183a02;}[_0x56f9a4(0x1e3)](){const _0x409e2b=_0x56f9a4;super[_0x409e2b(0x1e3)](),this[_0x409e2b(0x176)](this[_0x409e2b(0x1a0)],_0x409e2b(0x17c)),this[_0x409e2b(0x176)](this[_0x409e2b(0x1cf)],_0x409e2b(0x1c5));}}
23
+ const _0x4631e9=_0x3482;(function(_0x5c4f3b,_0x19279b){const _0x533324=_0x3482,_0x58b73b=_0x5c4f3b();while(!![]){try{const _0x94b5d1=-parseInt(_0x533324(0x187))/0x1+-parseInt(_0x533324(0x1ca))/0x2*(parseInt(_0x533324(0x181))/0x3)+parseInt(_0x533324(0x1b1))/0x4*(parseInt(_0x533324(0x191))/0x5)+parseInt(_0x533324(0x1ed))/0x6+-parseInt(_0x533324(0x19a))/0x7+-parseInt(_0x533324(0x1c4))/0x8*(parseInt(_0x533324(0x1e4))/0x9)+parseInt(_0x533324(0x184))/0xa*(parseInt(_0x533324(0x19c))/0xb);if(_0x94b5d1===_0x19279b)break;else _0x58b73b['push'](_0x58b73b['shift']());}catch(_0x2a7a60){_0x58b73b['push'](_0x58b73b['shift']());}}}(_0x1f79,0x1cdef));import{IconRemoveComment as _0xab4f21,IconPencil as _0x26bd12,IconThreeVerticalDots as _0x45994e}from'ckeditor5/src/icons.js';function _0x3482(_0x5adab2,_0x299a16){const _0x1f79f7=_0x1f79();return _0x3482=function(_0x3482af,_0x28f159){_0x3482af=_0x3482af-0x174;let _0x235c75=_0x1f79f7[_0x3482af];return _0x235c75;},_0x3482(_0x5adab2,_0x299a16);}function _0x1f79(){const _0x2f7bdd=['693498aDJzLR','showConfirm','div','removeButton','ck-comment__external','ck-comment--info','buttonView','set','setTemplate','formatDateTime','ck-annotation__info-name','isEnabled','_createCommentInputView','locale','2019OVfcAG','ck-annotation__user','ck-comment__info-time','40qPLRqA','_createRemoveButton','isEditMode','41033ozdLlR','unbind','items','getExternalCommentNote','time','span','children','Delete\x20comment?','_model','ck-comment__actions','18635hcWLeZ','ck-hidden','ck-annotation__actions','some','focus','fire','ck-comment','resolvedAt','then','640738qyUtRE','author','547217HUxDGt','authoredAt','length','element','focusables','ck-comment--remove-confirmation','actionIndicator','Show\x20more\x20items','actionBar','isReadOnly','withText','ck-annotation__info-time','placeholder','cancelConfirm','group','toMany','find','isSystemComment','ck-comment__wrapper','Reply...','_createEditButton','44IDbcDY','visibleView','ck-annotation__content-wrapper','ariaDescriptionView','push','userView','ck-comment__info','remove','addMany','ariaLabel','isConfirm','ck-comment__info-name','listitem','ck-comment__actions--hidden','_createDropdown','getUserViewNotificationText','ck-comment__main','ck-comment__user','ck-annotation__actions--hidden','32BTiqGQ','add','Edit','edit','ck-annotation__main','panelPosition','28bRcSYP','isEditable','editButton','createCollection','render','ck-comment--edit','mouseleave','isVisible','Remove','ck-annotation','getTemplate','label','mouseenter','_config','execute','dropdown','name','blur','isRemovable','panelView','_attachActions','removeComment','ck-comment--remove','switchToEditMode','isExternal','change:isRemovable','214479sbbHEm','bind','extendTemplate','icon','ck-comment--','bindTemplate','from','listenTo','ck-annotation__info'];_0x1f79=function(){return _0x2f7bdd;};return _0x1f79();}import{ButtonView as _0x140529,createDropdown as _0x2d7588,ListView as _0x33e984,ListItemView as _0x39f656,focusChildOnDropdownOpen as _0x6c8687}from'ckeditor5/src/ui.js';import{UserView as _0x3d8657,ConfirmMixin as _0x5ef770,LateFocusDropdownButtonView as _0x2d4e1e}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x4d959f}from'./basecommentview.js';import{getTranslation as _0x2b5009}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
24
+ _0x5ef770(_0x4d959f){[_0x4631e9(0x1a4)];[_0x4631e9(0x1b6)];constructor(_0x32dd05,_0x4e0c8a,_0x4a0449){const _0x2c1f08=_0x4631e9;super(_0x32dd05,_0x4e0c8a,_0x4a0449),this[_0x2c1f08(0x17a)](_0x2c1f08(0x1a2),null),this[_0x2c1f08(0x17a)](_0x2c1f08(0x1a8),_0x2b5009(_0x32dd05,_0x2c1f08(0x1af))),this[_0x2c1f08(0x1e5)](_0x2c1f08(0x19d))['to'](_0x4e0c8a),this[_0x2c1f08(0x1e5)](_0x2c1f08(0x198))['to'](_0x4e0c8a),this[_0x2c1f08(0x1a4)]=this[_0x2c1f08(0x1cd)](),this[_0x2c1f08(0x1ad)]||(this[_0x2c1f08(0x1cc)]=this[_0x2c1f08(0x1b0)](),this[_0x2c1f08(0x176)]=this[_0x2c1f08(0x185)](),this[_0x2c1f08(0x189)]=this[_0x2c1f08(0x1cd)](),this[_0x2c1f08(0x189)][_0x2c1f08(0x1b9)]([this[_0x2c1f08(0x1cc)],this[_0x2c1f08(0x176)]]),this[_0x2c1f08(0x1d9)]=this[_0x2c1f08(0x1bf)](),this[_0x2c1f08(0x1a4)][_0x2c1f08(0x1c5)](this[_0x2c1f08(0x1d9)]),this[_0x2c1f08(0x1a0)][_0x2c1f08(0x1c5)](this[_0x2c1f08(0x1d9)])),this[_0x2c1f08(0x1b6)]=new _0x3d8657(_0x32dd05,_0x4e0c8a[_0x2c1f08(0x19b)],this[_0x2c1f08(0x1c0)]()),this[_0x2c1f08(0x1b6)][_0x2c1f08(0x1e6)]({'attributes':{'class':[_0x2c1f08(0x1c2),_0x2c1f08(0x182)],'aria-hidden':!0x0}}),this[_0x2c1f08(0x1eb)](_0x4e0c8a,_0x2c1f08(0x1e3),()=>this[_0x2c1f08(0x1a9)]()),this[_0x2c1f08(0x17b)](this[_0x2c1f08(0x1d4)]());}[_0x4631e9(0x1d4)](){const _0x106f83=_0x4631e9,_0xc5dc79=this[_0x106f83(0x1e9)],_0x2e10d6=[{'tag':_0x106f83(0x175),'attributes':{'class':[_0x106f83(0x1b7),_0x106f83(0x1ec)]},'children':[{'tag':_0x106f83(0x18c),'children':[{'text':this[_0x106f83(0x1b6)][_0x106f83(0x1da)]}],'attributes':{'class':[_0x106f83(0x1bc),_0x106f83(0x17d)],'data-cke-tooltip-text':this[_0x106f83(0x1b6)][_0x106f83(0x1da)]}},{'tag':_0x106f83(0x18b),'attributes':{'datetime':_0xc5dc79['to'](_0x106f83(0x19d)),'class':[_0x106f83(0x183),_0x106f83(0x1a7)]},'children':[{'text':_0xc5dc79['to'](_0x106f83(0x19d),_0x201ffe=>this[_0x106f83(0x1d7)][_0x106f83(0x17c)](_0x201ffe))}]}]},{'tag':_0x106f83(0x175),'attributes':{'class':[_0x106f83(0x190),_0x106f83(0x193),_0xc5dc79['if'](_0x106f83(0x186),_0x106f83(0x1be)),_0xc5dc79['if'](_0x106f83(0x186),_0x106f83(0x1c3))]},'children':this[_0x106f83(0x1a4)]},{'tag':_0x106f83(0x175),'attributes':{'class':[_0x106f83(0x1b3)]},'children':this[_0x106f83(0x1b2)]},this[_0x106f83(0x1b4)]];return this[_0x106f83(0x18f)][_0x106f83(0x1e2)]&&_0x2e10d6[_0x106f83(0x1b5)]({'tag':_0x106f83(0x175),'attributes':{'class':[_0x106f83(0x177)]},'children':[{'text':this[_0x106f83(0x18a)]()}]}),{'tag':'li','attributes':{'class':[_0x106f83(0x1ae),_0xc5dc79['if'](_0x106f83(0x1bb),_0x106f83(0x1a1))],'tabindex':-0x1,'aria-label':_0xc5dc79['to'](_0x106f83(0x1ba)),'aria-describedby':this[_0x106f83(0x1b4)]['id'],'role':_0x106f83(0x1bd)},'children':[{'tag':_0x106f83(0x175),'attributes':{'class':[_0x106f83(0x197),_0x106f83(0x1d3),_0xc5dc79['if'](_0x106f83(0x186),_0x106f83(0x1cf)),_0xc5dc79['if'](_0x106f83(0x1ad),_0x106f83(0x178)),_0xc5dc79['to'](_0x106f83(0x1a2),_0x1ed2de=>_0x1ed2de?_0x106f83(0x1e8)+_0x1ed2de:'')],'data-author-id':this[_0x106f83(0x18f)][_0x106f83(0x19b)]['id'],'data-comment-id':this[_0x106f83(0x18f)]['id'],'role':_0x106f83(0x1aa)},'children':[this[_0x106f83(0x1b6)],{'tag':_0x106f83(0x175),'attributes':{'class':[_0x106f83(0x1c1),_0x106f83(0x1c8)]},'children':_0x2e10d6}]}]};}[_0x4631e9(0x1b0)](){const _0x40ba2b=_0x4631e9,_0x3a7eb0=new _0x140529(this[_0x40ba2b(0x180)]);return _0x3a7eb0[_0x40ba2b(0x1d5)]=_0x2b5009(this[_0x40ba2b(0x180)],_0x40ba2b(0x1c6)),_0x3a7eb0[_0x40ba2b(0x1e7)]=_0x26bd12,_0x3a7eb0[_0x40ba2b(0x1a6)]=!0x0,_0x3a7eb0[_0x40ba2b(0x1e6)]({'attributes':{'class':_0x40ba2b(0x1cf)}}),_0x3a7eb0[_0x40ba2b(0x1e5)](_0x40ba2b(0x17e))['to'](this[_0x40ba2b(0x18f)],_0x40ba2b(0x1a5),_0x286d81=>!_0x286d81),_0x3a7eb0[_0x40ba2b(0x1e5)](_0x40ba2b(0x1d1))['to'](this[_0x40ba2b(0x18f)],_0x40ba2b(0x1cb)),_0x3a7eb0['on'](_0x40ba2b(0x1d8),()=>this[_0x40ba2b(0x1e1)]()),_0x3a7eb0;}[_0x4631e9(0x185)](){const _0xc9ba6a=_0x4631e9,_0xb6fa1=new _0x140529(this[_0xc9ba6a(0x180)]);return _0xb6fa1[_0xc9ba6a(0x1d5)]=_0x2b5009(this[_0xc9ba6a(0x180)],_0xc9ba6a(0x1d2)),_0xb6fa1[_0xc9ba6a(0x1e7)]=_0xab4f21,_0xb6fa1[_0xc9ba6a(0x1a6)]=!0x0,_0xb6fa1[_0xc9ba6a(0x1e6)]({'attributes':{'class':_0xc9ba6a(0x1e0)}}),_0xb6fa1[_0xc9ba6a(0x1e5)](_0xc9ba6a(0x17e))['to'](this[_0xc9ba6a(0x18f)],_0xc9ba6a(0x1a5),_0x107610=>!_0x107610),_0xb6fa1[_0xc9ba6a(0x1e5)](_0xc9ba6a(0x1d1))['to'](this[_0xc9ba6a(0x18f)],_0xc9ba6a(0x1dc)),_0xb6fa1['on'](_0xc9ba6a(0x1d8),()=>{const _0x52539d=_0xc9ba6a;this[_0x52539d(0x174)](_0x2b5009(this[_0x52539d(0x180)],_0x52539d(0x18e)),this[_0x52539d(0x19f)])[_0x52539d(0x199)](()=>{const _0x11ccd6=_0x52539d;this[_0x11ccd6(0x196)](_0x11ccd6(0x1df),this[_0x11ccd6(0x18f)]['id']);});}),_0xb6fa1;}[_0x4631e9(0x1bf)](){const _0x406b43=_0x4631e9,_0x394cda=_0x2d7588(this[_0x406b43(0x180)],_0x2d4e1e),_0x4e7555=_0x394cda[_0x406b43(0x1dd)][_0x406b43(0x18d)],_0x197c1e=new _0x33e984(this[_0x406b43(0x180)]),_0x41778d=_0x394cda[_0x406b43(0x1e9)];_0x6c8687(_0x394cda,()=>this[_0x406b43(0x189)][_0x406b43(0x1ac)](_0x3c3dcd=>_0x3c3dcd[_0x406b43(0x1d1)])),_0x394cda[_0x406b43(0x1e6)]({'attributes':{'class':[_0x41778d['if'](_0x406b43(0x1d1),_0x406b43(0x192),_0x2f7289=>!_0x2f7289)]}});const _0x5d979d=(_0xedbdf5,_0x36ada9=-0x1)=>{const _0x304f52=_0x406b43,_0x22265a=new _0x39f656(this[_0x304f52(0x180)]);_0x22265a[_0x304f52(0x18d)][_0x304f52(0x1c5)](_0xedbdf5);const _0x4ff633=_0x36ada9>-0x1?_0x36ada9:_0x197c1e[_0x304f52(0x189)][_0x304f52(0x19e)];_0x197c1e[_0x304f52(0x189)][_0x304f52(0x1c5)](_0x22265a,_0x4ff633);const _0x2a7839=Array[_0x304f52(0x1ea)](this[_0x304f52(0x189)]);_0x394cda[_0x304f52(0x188)](_0x304f52(0x17e),_0x304f52(0x1d1)),_0x394cda[_0x304f52(0x1e5)](_0x304f52(0x17e))[_0x304f52(0x1ab)](_0x2a7839,_0x304f52(0x17e),(..._0x3e79f4)=>_0x3e79f4[_0x304f52(0x194)](_0x3c3ad2=>_0x3c3ad2)),_0x394cda[_0x304f52(0x1e5)](_0x304f52(0x1d1))[_0x304f52(0x1ab)](_0x2a7839,_0x304f52(0x1d1),(..._0x1e26f3)=>_0x1e26f3[_0x304f52(0x194)](_0x2528b7=>_0x2528b7));};_0x394cda[_0x406b43(0x1c9)]='sw',_0x394cda[_0x406b43(0x179)][_0x406b43(0x17a)]({'label':_0x2b5009(this[_0x406b43(0x180)],_0x406b43(0x1a3)),'icon':_0x45994e});for(const _0x92ad93 of this[_0x406b43(0x189)])_0x5d979d(_0x92ad93);return _0x4e7555[_0x406b43(0x1c5)](_0x197c1e),_0x394cda[_0x406b43(0x1eb)](this[_0x406b43(0x189)],_0x406b43(0x1c5),(_0x3ef823,_0x1fb96a,_0x4b34b1)=>{_0x5d979d(_0x1fb96a,_0x4b34b1);}),_0x394cda[_0x406b43(0x1eb)](this[_0x406b43(0x189)],_0x406b43(0x1b8),(_0x8d54ca,_0x417eca,_0x2abcad)=>{const _0x59bdcd=_0x406b43;_0x197c1e[_0x59bdcd(0x189)][_0x59bdcd(0x1b8)](_0x2abcad);}),_0x394cda;}[_0x4631e9(0x1de)](_0x196cce,_0x13ace9){const _0x5a660e=_0x4631e9,_0x2dc20c=_0x196cce&&_0x196cce[_0x5a660e(0x19f)];_0x2dc20c&&(this[_0x5a660e(0x1eb)](_0x2dc20c,_0x5a660e(0x1d6),()=>this[_0x5a660e(0x1a2)]=_0x13ace9),this[_0x5a660e(0x1eb)](_0x2dc20c,_0x5a660e(0x195),()=>this[_0x5a660e(0x1a2)]=_0x13ace9),this[_0x5a660e(0x1eb)](_0x2dc20c,_0x5a660e(0x1d0),()=>this[_0x5a660e(0x1a2)]=null),this[_0x5a660e(0x1eb)](_0x2dc20c,_0x5a660e(0x1db),()=>this[_0x5a660e(0x1a2)]=null));}[_0x4631e9(0x17f)](){const _0xbe9899=_0x4631e9,_0x2d7471=super[_0xbe9899(0x17f)]();return _0x2d7471[_0xbe9899(0x1e5)](_0xbe9899(0x1a8))['to'](this),_0x2d7471;}[_0x4631e9(0x1ce)](){const _0x26f01b=_0x4631e9;super[_0x26f01b(0x1ce)](),this[_0x26f01b(0x1de)](this[_0x26f01b(0x1cc)],_0x26f01b(0x1c7)),this[_0x26f01b(0x1de)](this[_0x26f01b(0x176)],_0x26f01b(0x1b8));}}
package/src/comments.d.ts CHANGED
@@ -7,15 +7,15 @@
7
7
  * @publicApi
8
8
  */
9
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';
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
  *
@@ -23,7 +23,7 @@ import CommentsArchive from './comments/commentsarchive.js';
23
23
  *
24
24
  * To learn more about the comments feature refer to the {@glink features/collaboration/comments/comments Comments} guide.
25
25
  */
26
- export default class Comments extends Plugin {
26
+ export declare class Comments extends Plugin {
27
27
  /**
28
28
  * @inheritDoc
29
29
  */
package/src/comments.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4e1693=_0x5907;(function(_0x5d1613,_0x117c5f){var _0x2a99c8=_0x5907,_0x2b7190=_0x5d1613();while(!![]){try{var _0x481a92=-parseInt(_0x2a99c8(0xe1))/0x1*(parseInt(_0x2a99c8(0xe6))/0x2)+-parseInt(_0x2a99c8(0xde))/0x3+parseInt(_0x2a99c8(0xe2))/0x4*(parseInt(_0x2a99c8(0xdf))/0x5)+-parseInt(_0x2a99c8(0xeb))/0x6+-parseInt(_0x2a99c8(0xe9))/0x7+-parseInt(_0x2a99c8(0xe4))/0x8*(-parseInt(_0x2a99c8(0xe0))/0x9)+parseInt(_0x2a99c8(0xe8))/0xa*(parseInt(_0x2a99c8(0xdc))/0xb);if(_0x481a92===_0x117c5f)break;else _0x2b7190['push'](_0x2b7190['shift']());}catch(_0x3935e1){_0x2b7190['push'](_0x2b7190['shift']());}}}(_0x27b3,0x9fb4a));import{Plugin as _0x1370ee}from'ckeditor5/src/core.js';import _0x1ad483 from'./comments/commentsrepository.js';import _0x4a366b from'./comments/commentsediting.js';import _0xd981d2 from'./comments/commentsui.js';import _0x49f458 from'./commentsonly.js';function _0x5907(_0x5a8aa2,_0x155094){var _0x27b330=_0x27b3();return _0x5907=function(_0x59073f,_0xa6a92f){_0x59073f=_0x59073f-0xdc;var _0x5d22ec=_0x27b330[_0x59073f];return _0x5d22ec;},_0x5907(_0x5a8aa2,_0x155094);}import _0x2c4991 from'./annotations/widesidebar.js';import _0xe7d7e9 from'./annotations/narrowsidebar.js';import _0x1ce870 from'./annotations/inlineannotations.js';import _0x38576e from'./comments/commentsarchiveui.js';import _0x2386c2 from'./comments/commentsarchive.js';function _0x27b3(){var _0x19d4a7=['requires','1542948oBblTd','295ApYQvt','36tOhJVq','3sbGpWe','45932kjVRyq','isOfficialPlugin','242312NWLMCQ','isPremiumPlugin','276684KHcZzA','pluginName','1790NZRWYj','6229454wYenSm','Comments','6397572OqrXYM','168443rkKKml'];_0x27b3=function(){return _0x19d4a7;};return _0x27b3();}export default class p extends _0x1370ee{static get[_0x4e1693(0xdd)](){return[_0x1ad483,_0x4a366b,_0xd981d2,_0x2386c2,_0x38576e,_0x49f458,_0x2c4991,_0xe7d7e9,_0x1ce870];}static get[_0x4e1693(0xe7)](){var _0x278b20=_0x4e1693;return _0x278b20(0xea);}static get[_0x4e1693(0xe3)](){return!0x0;}static get[_0x4e1693(0xe5)](){return!0x0;}}
23
+ var _0x3050fb=_0x3011;(function(_0x228101,_0x396288){var _0x9751fd=_0x3011,_0x2f45ff=_0x228101();while(!![]){try{var _0x2a5486=parseInt(_0x9751fd(0x10b))/0x1+-parseInt(_0x9751fd(0x104))/0x2+-parseInt(_0x9751fd(0x103))/0x3+parseInt(_0x9751fd(0x107))/0x4*(-parseInt(_0x9751fd(0x10d))/0x5)+-parseInt(_0x9751fd(0x10e))/0x6*(-parseInt(_0x9751fd(0x101))/0x7)+parseInt(_0x9751fd(0x102))/0x8+parseInt(_0x9751fd(0x105))/0x9*(parseInt(_0x9751fd(0x10c))/0xa);if(_0x2a5486===_0x396288)break;else _0x2f45ff['push'](_0x2f45ff['shift']());}catch(_0x2576b0){_0x2f45ff['push'](_0x2f45ff['shift']());}}}(_0x5657,0xbdf06));import{Plugin as _0x2ef2e0}from'ckeditor5/src/core.js';import{CommentsRepository as _0x426ca4}from'./comments/commentsrepository.js';function _0x5657(){var _0x1157d5=['pluginName','isOfficialPlugin','329117SBEjGk','110DzqSCo','5BSgqUk','339978XOcQSi','requires','105wNLcaJ','1755864yoeJVL','4441716JxWsxO','359612CJkMtk','879435gKAjaX','Comments','140168HyRBRG','isPremiumPlugin'];_0x5657=function(){return _0x1157d5;};return _0x5657();}import{CommentsEditing as _0x4245e9}from'./comments/commentsediting.js';function _0x3011(_0x32a32b,_0x432dc2){var _0x5657d0=_0x5657();return _0x3011=function(_0x301110,_0xb38337){_0x301110=_0x301110-0x101;var _0x441122=_0x5657d0[_0x301110];return _0x441122;},_0x3011(_0x32a32b,_0x432dc2);}import{CommentsUI as _0x1b80d1}from'./comments/commentsui.js';import{CommentsOnly as _0x2f07c4}from'./commentsonly.js';import{WideSidebar as _0x192081}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x32fbf3}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0xe96723}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x4f21b8}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x41c31f}from'./comments/commentsarchive.js';export class Comments extends _0x2ef2e0{static get[_0x3050fb(0x10f)](){return[_0x426ca4,_0x4245e9,_0x1b80d1,_0x41c31f,_0x4f21b8,_0x2f07c4,_0x192081,_0x32fbf3,_0xe96723];}static get[_0x3050fb(0x109)](){var _0x23ee47=_0x3050fb;return _0x23ee47(0x106);}static get[_0x3050fb(0x10a)](){return!0x0;}static get[_0x3050fb(0x108)](){return!0x0;}}
@@ -7,13 +7,13 @@
7
7
  * @publicApi
8
8
  */
9
9
  import { Plugin, type Editor } from 'ckeditor5/src/core.js';
10
- import CommentsEditing from './comments/commentsediting.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
  *
14
14
  * Check the {@glink features/collaboration/comments/comments-only-mode Comments-only mode} guide to learn how to use this plugin.
15
15
  */
16
- export default class CommentsOnly extends Plugin {
16
+ export declare class CommentsOnly extends Plugin {
17
17
  /**
18
18
  * @inheritDoc
19
19
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3f43(){const _0x2f4b02=['commentsOnly','CommentsOnly','commentsOnlyMode','editor','highest','requires','get','plugins','509230JjRIFA','cut','addCommentThread','stop','isOfficialPlugin','editing','pluginName','editSource','view','commands','has','isPremiumPlugin','6aFOUmj','_enableCommentsOnlyMode','stopListening','251532qulTuo','707000uCEnXn','660744NTBusT','change:isEnabled','afterInit','set','5670637QNpixI','clipboardInput','isEnabled','4541778eRiZXz','forceDisabled','affectsData','config','9atdUOl','_disableCommentsOnlyMode','clearForceDisabled','listenTo','document','delete','DragDrop','4443405tbqpmP','SourceEditing'];_0x3f43=function(){return _0x2f4b02;};return _0x3f43();}const _0x3558d0=_0x1434;(function(_0x131782,_0x5dab31){const _0x11bc3b=_0x1434,_0xbebf22=_0x131782();while(!![]){try{const _0x59be4e=-parseInt(_0x11bc3b(0x209))/0x1+-parseInt(_0x11bc3b(0x1f8))/0x2+parseInt(_0x11bc3b(0x214))/0x3*(parseInt(_0x11bc3b(0x207))/0x4)+parseInt(_0x11bc3b(0x21b))/0x5+-parseInt(_0x11bc3b(0x204))/0x6*(-parseInt(_0x11bc3b(0x20d))/0x7)+parseInt(_0x11bc3b(0x208))/0x8+-parseInt(_0x11bc3b(0x210))/0x9;if(_0x59be4e===_0x5dab31)break;else _0xbebf22['push'](_0xbebf22['shift']());}catch(_0x481fa0){_0xbebf22['push'](_0xbebf22['shift']());}}}(_0x3f43,0x87b13));import{Plugin as _0x290e49}from'ckeditor5/src/core.js';function _0x1434(_0x131a4a,_0x3e8f83){const _0x3f43ec=_0x3f43();return _0x1434=function(_0x1434e1,_0x425897){_0x1434e1=_0x1434e1-0x1f3;let _0x4ef719=_0x3f43ec[_0x1434e1];return _0x4ef719;},_0x1434(_0x131a4a,_0x3e8f83);}import _0x249bb9 from'./comments/commentsediting.js';export default class s extends _0x290e49{static get[_0x3558d0(0x1fe)](){const _0x173724=_0x3558d0;return _0x173724(0x21e);}static get[_0x3558d0(0x1fc)](){return!0x0;}static get[_0x3558d0(0x203)](){return!0x0;}static get[_0x3558d0(0x1f5)](){return[_0x249bb9];}constructor(_0x557748){const _0x39c01c=_0x3558d0;super(_0x557748),this[_0x39c01c(0x20c)](_0x39c01c(0x20f),!0x1),this['on'](_0x39c01c(0x20a),(_0x43ac7b,_0x20ed40,_0xe81131)=>{const _0x17a963=_0x39c01c;_0xe81131?this[_0x17a963(0x205)]():this[_0x17a963(0x215)]();});}[_0x3558d0(0x20b)](){const _0x5b995d=_0x3558d0;!this[_0x5b995d(0x20f)]&&this[_0x5b995d(0x1f3)][_0x5b995d(0x213)][_0x5b995d(0x1f6)](_0x5b995d(0x21d))&&(this[_0x5b995d(0x20f)]=!0x0);}[_0x3558d0(0x205)](){const _0x4c08bc=_0x3558d0;for(const [_0x1c8e1e,_0x148083]of this[_0x4c08bc(0x1f3)][_0x4c08bc(0x201)])_0x148083[_0x4c08bc(0x212)]&&_0x4c08bc(0x1fa)!==_0x1c8e1e&&_0x148083[_0x4c08bc(0x211)](_0x4c08bc(0x21f));(this[_0x4c08bc(0x1f3)][_0x4c08bc(0x1f7)][_0x4c08bc(0x202)](_0x4c08bc(0x21a))&&this[_0x4c08bc(0x1f3)][_0x4c08bc(0x1f7)][_0x4c08bc(0x1f6)](_0x4c08bc(0x21a))[_0x4c08bc(0x211)](_0x4c08bc(0x21f)),this[_0x4c08bc(0x1f3)][_0x4c08bc(0x1f7)][_0x4c08bc(0x202)](_0x4c08bc(0x21c)))&&this[_0x4c08bc(0x1f3)][_0x4c08bc(0x1f7)][_0x4c08bc(0x1f6)](_0x4c08bc(0x21c))[_0x4c08bc(0x211)](_0x4c08bc(0x21f));this[_0x4c08bc(0x1f3)][_0x4c08bc(0x201)][_0x4c08bc(0x1f6)](_0x4c08bc(0x1ff))?.[_0x4c08bc(0x211)](_0x4c08bc(0x21f));const _0x24732d=this[_0x4c08bc(0x1f3)][_0x4c08bc(0x1fd)][_0x4c08bc(0x200)][_0x4c08bc(0x218)];this[_0x4c08bc(0x217)](_0x24732d,_0x4c08bc(0x1f9),_0x5b3ccd=>_0x5b3ccd[_0x4c08bc(0x1fb)](),{'priority':_0x4c08bc(0x1f4)}),this[_0x4c08bc(0x217)](_0x24732d,_0x4c08bc(0x20e),_0x4e2980=>_0x4e2980[_0x4c08bc(0x1fb)](),{'priority':_0x4c08bc(0x1f4)}),this[_0x4c08bc(0x217)](_0x24732d,_0x4c08bc(0x219),_0x23cc1b=>_0x23cc1b[_0x4c08bc(0x1fb)](),{'priority':_0x4c08bc(0x1f4)});}[_0x3558d0(0x215)](){const _0x42b383=_0x3558d0;for(const [_0x416966,_0x34bfa8]of this[_0x42b383(0x1f3)][_0x42b383(0x201)])_0x34bfa8[_0x42b383(0x212)]&&_0x42b383(0x1fa)!==_0x416966&&_0x34bfa8[_0x42b383(0x216)](_0x42b383(0x21f));this[_0x42b383(0x1f3)][_0x42b383(0x1f7)][_0x42b383(0x202)](_0x42b383(0x21c))&&this[_0x42b383(0x1f3)][_0x42b383(0x1f7)][_0x42b383(0x1f6)](_0x42b383(0x21c))[_0x42b383(0x216)](_0x42b383(0x21f)),this[_0x42b383(0x1f3)][_0x42b383(0x201)][_0x42b383(0x1f6)](_0x42b383(0x1ff))?.[_0x42b383(0x216)](_0x42b383(0x21f)),this[_0x42b383(0x206)](this[_0x42b383(0x1f3)][_0x42b383(0x1fd)][_0x42b383(0x200)][_0x42b383(0x218)]);}}
23
+ function _0x29ec(_0x1b6ac9,_0x2f1ee0){const _0xd00ac6=_0xd00a();return _0x29ec=function(_0x29ec77,_0x5d906d){_0x29ec77=_0x29ec77-0x160;let _0x205195=_0xd00ac6[_0x29ec77];return _0x205195;},_0x29ec(_0x1b6ac9,_0x2f1ee0);}const _0x2c937e=_0x29ec;function _0xd00a(){const _0x3a4f39=['clipboardInput','editing','DragDrop','SourceEditing','highest','717708bPNwtb','forceDisabled','plugins','commands','isEnabled','5204626kdCIMf','135065dQgewe','change:isEnabled','get','listenTo','isOfficialPlugin','_enableCommentsOnlyMode','2076824zDpWKz','stopListening','pluginName','commentsOnly','afterInit','affectsData','view','requires','1151950MCUVQT','commentsOnlyMode','cut','CommentsOnly','editor','delete','clearForceDisabled','addCommentThread','document','isPremiumPlugin','set','105006BIzCKE','_disableCommentsOnlyMode','editSource','has','config','stop','1513326JQdKoC'];_0xd00a=function(){return _0x3a4f39;};return _0xd00a();}(function(_0xff47d1,_0x3a6044){const _0x43f3fd=_0x29ec,_0x535420=_0xff47d1();while(!![]){try{const _0x892821=parseInt(_0x43f3fd(0x17c))/0x1+-parseInt(_0x43f3fd(0x176))/0x2+parseInt(_0x43f3fd(0x170))/0x3+-parseInt(_0x43f3fd(0x182))/0x4+-parseInt(_0x43f3fd(0x18a))/0x5+parseInt(_0x43f3fd(0x16a))/0x6+parseInt(_0x43f3fd(0x17b))/0x7;if(_0x892821===_0x3a6044)break;else _0x535420['push'](_0x535420['shift']());}catch(_0x184f68){_0x535420['push'](_0x535420['shift']());}}}(_0xd00a,0x474ec));import{Plugin as _0x5ceb72}from'ckeditor5/src/core.js';import{CommentsEditing as _0x1b95e8}from'./comments/commentsediting.js';export class CommentsOnly extends _0x5ceb72{static get[_0x2c937e(0x184)](){const _0x502bec=_0x2c937e;return _0x502bec(0x162);}static get[_0x2c937e(0x180)](){return!0x0;}static get[_0x2c937e(0x168)](){return!0x0;}static get[_0x2c937e(0x189)](){return[_0x1b95e8];}constructor(_0xf3d2ad){const _0x265fee=_0x2c937e;super(_0xf3d2ad),this[_0x265fee(0x169)](_0x265fee(0x17a),!0x1),this['on'](_0x265fee(0x17d),(_0x164613,_0xf27c6c,_0x1d2e8e)=>{const _0x4128f4=_0x265fee;_0x1d2e8e?this[_0x4128f4(0x181)]():this[_0x4128f4(0x16b)]();});}[_0x2c937e(0x186)](){const _0x34cde5=_0x2c937e;!this[_0x34cde5(0x17a)]&&this[_0x34cde5(0x163)][_0x34cde5(0x16e)][_0x34cde5(0x17e)](_0x34cde5(0x185))&&(this[_0x34cde5(0x17a)]=!0x0);}[_0x2c937e(0x181)](){const _0x13631a=_0x2c937e;for(const [_0x58ddb0,_0x3c72e3]of this[_0x13631a(0x163)][_0x13631a(0x179)])_0x3c72e3[_0x13631a(0x187)]&&_0x13631a(0x166)!==_0x58ddb0&&_0x3c72e3[_0x13631a(0x177)](_0x13631a(0x160));(this[_0x13631a(0x163)][_0x13631a(0x178)][_0x13631a(0x16d)](_0x13631a(0x173))&&this[_0x13631a(0x163)][_0x13631a(0x178)][_0x13631a(0x17e)](_0x13631a(0x173))[_0x13631a(0x177)](_0x13631a(0x160)),this[_0x13631a(0x163)][_0x13631a(0x178)][_0x13631a(0x16d)](_0x13631a(0x174)))&&this[_0x13631a(0x163)][_0x13631a(0x178)][_0x13631a(0x17e)](_0x13631a(0x174))[_0x13631a(0x177)](_0x13631a(0x160));this[_0x13631a(0x163)][_0x13631a(0x179)][_0x13631a(0x17e)](_0x13631a(0x16c))?.[_0x13631a(0x177)](_0x13631a(0x160));const _0x37a28d=this[_0x13631a(0x163)][_0x13631a(0x172)][_0x13631a(0x188)][_0x13631a(0x167)];this[_0x13631a(0x17f)](_0x37a28d,_0x13631a(0x161),_0x440606=>_0x440606[_0x13631a(0x16f)](),{'priority':_0x13631a(0x175)}),this[_0x13631a(0x17f)](_0x37a28d,_0x13631a(0x171),_0x4ff2dc=>_0x4ff2dc[_0x13631a(0x16f)](),{'priority':_0x13631a(0x175)}),this[_0x13631a(0x17f)](_0x37a28d,_0x13631a(0x164),_0x2dabfb=>_0x2dabfb[_0x13631a(0x16f)](),{'priority':_0x13631a(0x175)});}[_0x2c937e(0x16b)](){const _0x3e6c6c=_0x2c937e;for(const [_0x149346,_0x36142b]of this[_0x3e6c6c(0x163)][_0x3e6c6c(0x179)])_0x36142b[_0x3e6c6c(0x187)]&&_0x3e6c6c(0x166)!==_0x149346&&_0x36142b[_0x3e6c6c(0x165)](_0x3e6c6c(0x160));this[_0x3e6c6c(0x163)][_0x3e6c6c(0x178)][_0x3e6c6c(0x16d)](_0x3e6c6c(0x174))&&this[_0x3e6c6c(0x163)][_0x3e6c6c(0x178)][_0x3e6c6c(0x17e)](_0x3e6c6c(0x174))[_0x3e6c6c(0x165)](_0x3e6c6c(0x160)),this[_0x3e6c6c(0x163)][_0x3e6c6c(0x179)][_0x3e6c6c(0x17e)](_0x3e6c6c(0x16c))?.[_0x3e6c6c(0x165)](_0x3e6c6c(0x160)),this[_0x3e6c6c(0x183)](this[_0x3e6c6c(0x163)][_0x3e6c6c(0x172)][_0x3e6c6c(0x188)][_0x3e6c6c(0x167)]);}}
package/src/config.d.ts CHANGED
@@ -7,8 +7,8 @@
7
7
  * @publicApi
8
8
  */
9
9
  import type { EditorConfig, PartialBy } 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';
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
  *
@@ -157,7 +157,7 @@ export interface CommentsConfig {
157
157
  *
158
158
  * See {@link module:core/editor/editorconfig~EditorConfig all editor configuration options}.
159
159
  */
160
- export interface SidebarConfig {
160
+ export interface AnnotationsSidebarConfig {
161
161
  /**
162
162
  * DOM element into which the sidebar will be inserted.
163
163
  */
package/src/index.d.ts CHANGED
@@ -2,29 +2,33 @@
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
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, type CommentsAdapter, type AddCommentThreadEventData } from './comments/commentsrepository.js';
9
- export { default as CommentThreadController } from './comments/ui/commentthreadcontroller.js';
10
- export { default as Annotation, type AnnotationEscapeEvent } from './annotations/annotation.js';
11
- export { default as Annotations } from './annotations/annotations.js';
12
- export { default as AnnotationCollection } from './annotations/annotationcollection.js';
13
- export { default as AnnotationsUIs, type AnnotationUI } from './annotations/annotationsuis.js';
14
- export { default as EditorAnnotations } from './annotations/editorannotations.js';
15
- export { default as InlineAnnotations } from './annotations/inlineannotations.js';
16
- export { default as Sidebar } from './annotations/sidebar.js';
17
- export { default as WideSidebar } from './annotations/widesidebar.js';
18
- export { default as NarrowSidebar } from './annotations/narrowsidebar.js';
19
- export { default as AnnotationView } from './annotations/view/annotationview.js';
20
- export { default as BaseCommentView } from './comments/ui/view/basecommentview.js';
21
- export { default as BaseCommentThreadView } from './comments/ui/view/basecommentthreadview.js';
22
- export { default as CommentsListView } from './comments/ui/view/commentslistview.js';
23
- export { default as CommentView } from './comments/ui/view/commentview.js';
24
- export { default as CommentThreadView } from './comments/ui/view/commentthreadview.js';
25
- export { default as CommentThreadInputView } from './comments/ui/view/commentthreadinputview.js';
26
- export { default as CommentsArchive } from './comments/commentsarchive.js';
27
- export { default as CommentsArchiveUI } from './comments/commentsarchiveui.js';
28
- export type { CommentsConfig, SidebarConfig, CommentsClipboardCopyConfig, CommentThreadConfig } from './config.js';
29
- export type { default as CommentsEditing } from './comments/commentsediting.js';
5
+ export { Comments } from './comments.js';
6
+ export { CommentsOnly } from './commentsonly.js';
7
+ export { CommentsUI } from './comments/commentsui.js';
8
+ export { CommentsRepository, CommentThread, Comment, type CommentDataJSON, type CommentThreadContext, type CommentThreadDataJSON, type CommentsAdapter, type AddCommentThreadEventData, type CommentPermissionsConfig, type BaseCommentThread, type BaseComment, type BaseCommentData, type AddCommentThreadEvent, type CommentThreadData, type SubmitCommentThreadEvent, type UpdateCommentThreadEvent, type UpdateCommentThreadEventData, type ResolveCommentThreadEvent, type ResolveCommentThreadEventData, type ReopenCommentThreadEvent, type RemoveCommentThreadEvent, type AddCommentEvent, type CommentData, type CommentEventData, type UpdateCommentEvent, type UpdateCommentData, type UpdateCommentEventData, type RemoveCommentEvent } from './comments/commentsrepository.js';
9
+ export { CommentThreadController } from './comments/ui/commentthreadcontroller.js';
10
+ export { Annotation, type AnnotationEscapeEvent, type AnnotationTargetBase, type AnnotationTarget } from './annotations/annotation.js';
11
+ export { Annotations, type AnnotationOptions, type ActivateAnnotationEvent, type DeactivateAllAnnotationsEvent } from './annotations/annotations.js';
12
+ export { AnnotationCollection, bindAnnotationCollections, type AnnotationFocusEvent, type AnnotationBlurEvent } from './annotations/annotationcollection.js';
13
+ export { AnnotationsUIs, type AnnotationUI, type AnnotationsUI } from './annotations/annotationsuis.js';
14
+ export { EditorAnnotations } from './annotations/editorannotations.js';
15
+ export { InlineAnnotations } from './annotations/inlineannotations.js';
16
+ export { Sidebar } from './annotations/sidebar.js';
17
+ export { WideSidebar } from './annotations/widesidebar.js';
18
+ export { NarrowSidebar } from './annotations/narrowsidebar.js';
19
+ export { AnnotationView, type AnnotationMainView } from './annotations/view/annotationview.js';
20
+ export { AnnotationsSidebarItemView } from './annotations/view/sidebaritemview.js';
21
+ export { AnnotationsSidebarView } from './annotations/view/sidebarview.js';
22
+ export { BaseCommentView, type UIAddCommentEvent, type UIUpdateCommentEvent, type UIRemoveCommentEvent } from './comments/ui/view/basecommentview.js';
23
+ export { BaseCommentThreadView, type UISubmitCommentThreadEvent, type UIRemoveCommentThreadEvent, type UIResolveCommentThreadEvent } from './comments/ui/view/basecommentthreadview.js';
24
+ export { CommentsListView } from './comments/ui/view/commentslistview.js';
25
+ export { CommentView } from './comments/ui/view/commentview.js';
26
+ export { CommentThreadView } from './comments/ui/view/commentthreadview.js';
27
+ export { CommentThreadInputView } from './comments/ui/view/commentthreadinputview.js';
28
+ export { AddCommentThreadCommand } from './comments/addcommentthreadcommand.js';
29
+ export { CommentsArchive } from './comments/commentsarchive.js';
30
+ export { CommentsArchiveUI } from './comments/commentsarchiveui.js';
31
+ export type { CommentsConfig, AnnotationsSidebarConfig, CommentsClipboardCopyConfig, CommentThreadConfig, CommentViewConfig } from './config.js';
32
+ export type { CommentsEditing } from './comments/commentsediting.js';
33
+ export { AnnotationCounterButtonView } from './annotations/view/annotationcounterbuttonview.js';
30
34
  import './augmentation.js';
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x5dff62,_0x3a6c88){var _0x21015f=_0x9de7,_0x450418=_0x5dff62();while(!![]){try{var _0x21226a=-parseInt(_0x21015f(0x12a))/0x1*(parseInt(_0x21015f(0x12d))/0x2)+-parseInt(_0x21015f(0x12e))/0x3*(parseInt(_0x21015f(0x12f))/0x4)+parseInt(_0x21015f(0x131))/0x5+-parseInt(_0x21015f(0x12c))/0x6*(-parseInt(_0x21015f(0x12b))/0x7)+-parseInt(_0x21015f(0x133))/0x8*(parseInt(_0x21015f(0x129))/0x9)+parseInt(_0x21015f(0x134))/0xa*(parseInt(_0x21015f(0x130))/0xb)+parseInt(_0x21015f(0x132))/0xc;if(_0x21226a===_0x3a6c88)break;else _0x450418['push'](_0x450418['shift']());}catch(_0x1244c4){_0x450418['push'](_0x450418['shift']());}}}(_0x1d4c,0x74717));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 Annotation}from'./annotations/annotation.js';export{default as Annotations}from'./annotations/annotations.js';export{default as AnnotationCollection}from'./annotations/annotationcollection.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 Sidebar}from'./annotations/sidebar.js';export{default as WideSidebar}from'./annotations/widesidebar.js';export{default as NarrowSidebar}from'./annotations/narrowsidebar.js';function _0x9de7(_0x35136e,_0x5c743a){var _0x1d4caf=_0x1d4c();return _0x9de7=function(_0x9de7a2,_0xb617ed){_0x9de7a2=_0x9de7a2-0x129;var _0x2ff641=_0x1d4caf[_0x9de7a2];return _0x2ff641;},_0x9de7(_0x35136e,_0x5c743a);}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 CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{default as CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';export{default as CommentsArchive}from'./comments/commentsarchive.js';export{default as CommentsArchiveUI}from'./comments/commentsarchiveui.js';import'./augmentation.js';function _0x1d4c(){var _0x42d508=['15545004ydTOQl','32pFmkzB','1500820DWsTnn','979713DpAulz','12USlIkp','14ajWPIg','1502628WnnHHf','144490EiOMyg','944469TZrFcL','8GkClOJ','22NFlOnx','1562540SVibke'];_0x1d4c=function(){return _0x42d508;};return _0x1d4c();}
23
+ (function(_0x29acb0,_0x34d5f4){var _0x2a8dde=_0x3a09,_0x176555=_0x29acb0();while(!![]){try{var _0x2ad486=parseInt(_0x2a8dde(0x72))/0x1+-parseInt(_0x2a8dde(0x74))/0x2*(parseInt(_0x2a8dde(0x71))/0x3)+parseInt(_0x2a8dde(0x70))/0x4+parseInt(_0x2a8dde(0x6d))/0x5+parseInt(_0x2a8dde(0x6f))/0x6+parseInt(_0x2a8dde(0x73))/0x7*(-parseInt(_0x2a8dde(0x6c))/0x8)+-parseInt(_0x2a8dde(0x6e))/0x9;if(_0x2ad486===_0x34d5f4)break;else _0x176555['push'](_0x176555['shift']());}catch(_0x4ed0c3){_0x176555['push'](_0x176555['shift']());}}}(_0x4290,0xeaf46));export{Comments}from'./comments.js';export{CommentsOnly}from'./commentsonly.js';export{CommentsUI}from'./comments/commentsui.js';export{CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{Annotation}from'./annotations/annotation.js';export{Annotations}from'./annotations/annotations.js';function _0x4290(){var _0x2f94c8=['6484esbCPa','40uYOSFd','6646495CBWwMo','36336717XJlHEr','9387072noKImy','6487972lmLtAs','1176PtJbfu','1784882eQfMjx','42049DjcZYR'];_0x4290=function(){return _0x2f94c8;};return _0x4290();}export{AnnotationCollection,bindAnnotationCollections}from'./annotations/annotationcollection.js';export{AnnotationsUIs}from'./annotations/annotationsuis.js';export{EditorAnnotations}from'./annotations/editorannotations.js';export{InlineAnnotations}from'./annotations/inlineannotations.js';export{Sidebar}from'./annotations/sidebar.js';export{WideSidebar}from'./annotations/widesidebar.js';export{NarrowSidebar}from'./annotations/narrowsidebar.js';export{AnnotationView}from'./annotations/view/annotationview.js';export{AnnotationsSidebarItemView}from'./annotations/view/sidebaritemview.js';export{AnnotationsSidebarView}from'./annotations/view/sidebarview.js';export{BaseCommentView}from'./comments/ui/view/basecommentview.js';function _0x3a09(_0x4036ac,_0x2c1b0a){var _0x429090=_0x4290();return _0x3a09=function(_0x3a0966,_0x3a6d07){_0x3a0966=_0x3a0966-0x6c;var _0x13930f=_0x429090[_0x3a0966];return _0x13930f;},_0x3a09(_0x4036ac,_0x2c1b0a);}export{BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{CommentsListView}from'./comments/ui/view/commentslistview.js';export{CommentView}from'./comments/ui/view/commentview.js';export{CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';export{AddCommentThreadCommand}from'./comments/addcommentthreadcommand.js';export{CommentsArchive}from'./comments/commentsarchive.js';export{CommentsArchiveUI}from'./comments/commentsarchiveui.js';export{AnnotationCounterButtonView}from'./annotations/view/annotationcounterbuttonview.js';import'./augmentation.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x4bc0a3,_0x5d95bd,_0x2b6e33){const t=_0x4bc0a3['t'];switch(_0x5d95bd){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'Annotations\x20sidebar':return t('Annotations\x20sidebar');case'Annotations\x20list':return t('Annotations\x20list');case'Thread\x20comments':return t('Thread\x20comments');case'THREAD_CONTEXT_LABEL':return t({'string':'Thread\x20context:\x20%0','id':'THREAD_CONTEXT_LABEL'},_0x2b6e33);case'COMMENT_THREAD_LABEL':return t({'string':'Comment\x20thread\x20by\x20%1.\x20%1\x20reply.','plural':'Comment\x20thread\x20by\x20%1.\x20%0\x20replies.','id':'COMMENT_THREAD_LABEL'},_0x2b6e33);case'COMMENT_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'COMMENT_THREAD_DESCRIPTION'});case'COMMENT_ARIA_LABEL':return t({'string':'Comment\x20by\x20%0.\x20Created\x20on\x20%1.\x20%2.\x20%3','id':'COMMENT_ARIA_LABEL'},_0x2b6e33);case'LEAVE_COMMENT_ANNOUNCEMENT':return t({'string':'Leaving\x20a\x20content\x20with\x20comments.','id':'LEAVE_COMMENT_ANNOUNCEMENT'});case'ENTER_COMMENT_ANNOUNCEMENT':return t({'string':'Entering\x20a\x20content\x20with\x20comments.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_COMMENT_ANNOUNCEMENT'},_0x2b6e33);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x2b6e33);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'},_0x2b6e33);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'},_0x2b6e33);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'},_0x2b6e33);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'});case'COMMENTS_ARCHIVE_LIST_LABEL':return t({'string':'List\x20of\x20comments','id':'COMMENTS_ARCHIVE_LIST_LABEL'});case'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':return t({'string':'Keystrokes\x20for\x20interacting\x20with\x20annotation\x20threads\x20(e.g.\x20comments,\x20track\x20changes\x20suggestions)','id':'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'});case'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':return t({'string':'Move\x20focus\x20to\x20the\x20thread\x20when\x20the\x20selection\x20is\x20anchored\x20in\x20its\x20marker','id':'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'});case'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':return t({'string':'Exit\x20the\x20annotation\x20and\x20move\x20focus\x20back\x20to\x20the\x20edited\x20content','id':'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':return t({'string':'Browse\x20the\x20focused\x20annotation\x20thread\x20or\x20thread\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'});case'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':return t({'string':'Move\x20across\x20internals\x20of\x20the\x20annotation\x20thread','id':'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'});case'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':return t({'string':'Submit\x20the\x20reply\x20while\x20writing\x20a\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':return t({'string':'Move\x20to\x20the\x20previous\x20or\x20next\x20thread\x20in\x20the\x20annotations\x20sidebar\x20or\x20comments\x20archive','id':'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'});default:return'';}}
23
+ export function getTranslation(_0x17f235,_0x23a91c,_0x40748f){const t=_0x17f235['t'];switch(_0x23a91c){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'Annotations\x20sidebar':return t('Annotations\x20sidebar');case'Annotations\x20list':return t('Annotations\x20list');case'Thread\x20comments':return t('Thread\x20comments');case'THREAD_CONTEXT_LABEL':return t({'string':'Thread\x20context:\x20%0','id':'THREAD_CONTEXT_LABEL'},_0x40748f);case'COMMENT_THREAD_LABEL':return t({'string':'Comment\x20thread\x20by\x20%1.\x20%1\x20reply.','plural':'Comment\x20thread\x20by\x20%1.\x20%0\x20replies.','id':'COMMENT_THREAD_LABEL'},_0x40748f);case'COMMENT_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'COMMENT_THREAD_DESCRIPTION'});case'COMMENT_ARIA_LABEL':return t({'string':'Comment\x20by\x20%0.\x20Created\x20on\x20%1.\x20%2.\x20%3','id':'COMMENT_ARIA_LABEL'},_0x40748f);case'LEAVE_COMMENT_ANNOUNCEMENT':return t({'string':'Leaving\x20a\x20content\x20with\x20comments.','id':'LEAVE_COMMENT_ANNOUNCEMENT'});case'ENTER_COMMENT_ANNOUNCEMENT':return t({'string':'Entering\x20a\x20content\x20with\x20comments.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_COMMENT_ANNOUNCEMENT'},_0x40748f);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x40748f);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'},_0x40748f);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'},_0x40748f);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'},_0x40748f);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'});case'COMMENTS_ARCHIVE_LIST_LABEL':return t({'string':'List\x20of\x20comments','id':'COMMENTS_ARCHIVE_LIST_LABEL'});case'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':return t({'string':'Keystrokes\x20for\x20interacting\x20with\x20annotation\x20threads\x20(e.g.\x20comments,\x20track\x20changes\x20suggestions)','id':'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'});case'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':return t({'string':'Move\x20focus\x20to\x20the\x20thread\x20when\x20the\x20selection\x20is\x20anchored\x20in\x20its\x20marker','id':'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'});case'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':return t({'string':'Exit\x20the\x20annotation\x20and\x20move\x20focus\x20back\x20to\x20the\x20edited\x20content','id':'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':return t({'string':'Browse\x20the\x20focused\x20annotation\x20thread\x20or\x20thread\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'});case'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':return t({'string':'Move\x20across\x20internals\x20of\x20the\x20annotation\x20thread','id':'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'});case'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':return t({'string':'Submit\x20the\x20reply\x20while\x20writing\x20a\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':return t({'string':'Move\x20to\x20the\x20previous\x20or\x20next\x20thread\x20in\x20the\x20annotations\x20sidebar\x20or\x20comments\x20archive','id':'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'});default:return'';}}
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * @param callback Callback executed after throttled mutations.
9
9
  */
10
- export default function createMutationObserver(callback: (...args: Array<any>) => unknown): MutationObserver;
10
+ export declare function createMutationObserver(callback: (...args: Array<any>) => unknown): MutationObserver;
11
11
  export interface MutationObserver {
12
12
  attach: (element: Node) => void;
13
13
  detach: () => void;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xe25bc9,_0x2f7475){const _0x3cd2f7=_0x3e3f,_0x43cf8a=_0xe25bc9();while(!![]){try{const _0x567cfc=parseInt(_0x3cd2f7(0xe3))/0x1*(parseInt(_0x3cd2f7(0xe1))/0x2)+-parseInt(_0x3cd2f7(0xdf))/0x3+-parseInt(_0x3cd2f7(0xe4))/0x4*(parseInt(_0x3cd2f7(0xe5))/0x5)+-parseInt(_0x3cd2f7(0xe7))/0x6*(-parseInt(_0x3cd2f7(0xdb))/0x7)+-parseInt(_0x3cd2f7(0xe8))/0x8+parseInt(_0x3cd2f7(0xe9))/0x9*(parseInt(_0x3cd2f7(0xed))/0xa)+parseInt(_0x3cd2f7(0xdd))/0xb*(parseInt(_0x3cd2f7(0xe0))/0xc);if(_0x567cfc===_0x2f7475)break;else _0x43cf8a['push'](_0x43cf8a['shift']());}catch(_0x3f13dc){_0x43cf8a['push'](_0x43cf8a['shift']());}}}(_0xd78d,0xd7354));import{throttle as _0x2cdb31}from'es-toolkit/compat';export default function K(_0x455362){const _0x157aec=_0x2cdb31(_0x455362,0x1e),_0x368d87=new MutationObserver(_0xbcb673=>{const _0x1eb9f2=_0x3e3f;for(const _0x33fa5d of _0xbcb673)(_0x1eb9f2(0xe6)==_0x33fa5d[_0x1eb9f2(0xea)]&&_0x1eb9f2(0xda)==_0x33fa5d[_0x1eb9f2(0xdc)]||_0x1eb9f2(0xeb)==_0x33fa5d[_0x1eb9f2(0xea)]||_0x1eb9f2(0xde)==_0x33fa5d[_0x1eb9f2(0xea)])&&_0x157aec();});return{'attach'(_0x35a28d){const _0x2fb121=_0x3e3f;_0x368d87[_0x2fb121(0xee)](_0x35a28d,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x152202=_0x3e3f;_0x368d87[_0x152202(0xec)](),_0x157aec[_0x152202(0xe2)]();}};}function _0x3e3f(_0x2b1729,_0x324f96){const _0xd78d80=_0xd78d();return _0x3e3f=function(_0x3e3f3a,_0x3c658e){_0x3e3f3a=_0x3e3f3a-0xda;let _0x1be07e=_0xd78d80[_0x3e3f3a];return _0x1be07e;},_0x3e3f(_0x2b1729,_0x324f96);}function _0xd78d(){const _0x5e071c=['5231hyqxrr','32puotyc','213830cSFRlM','attributes','162RZRmch','2216288ccSrxF','70569OivHSA','type','childList','disconnect','740WkRFKR','observe','class','305291DBrsQu','attributeName','33SpYaiY','characterData','4004373XoUBNB','4226952VgXHaG','8yWyJpt','cancel'];_0xd78d=function(){return _0x5e071c;};return _0xd78d();}
23
+ (function(_0x2b6ffe,_0x5651ec){const _0x566027=_0x4cd8,_0x58690b=_0x2b6ffe();while(!![]){try{const _0x1e99b2=parseInt(_0x566027(0x7d))/0x1+parseInt(_0x566027(0x82))/0x2+parseInt(_0x566027(0x8a))/0x3+parseInt(_0x566027(0x89))/0x4*(parseInt(_0x566027(0x83))/0x5)+parseInt(_0x566027(0x85))/0x6+parseInt(_0x566027(0x87))/0x7+-parseInt(_0x566027(0x88))/0x8;if(_0x1e99b2===_0x5651ec)break;else _0x58690b['push'](_0x58690b['shift']());}catch(_0x31d405){_0x58690b['push'](_0x58690b['shift']());}}}(_0x1717,0xad63a));function _0x4cd8(_0x573000,_0x15aefe){const _0x17175b=_0x1717();return _0x4cd8=function(_0x4cd89f,_0x52ce3a){_0x4cd89f=_0x4cd89f-0x7c;let _0x4b7560=_0x17175b[_0x4cd89f];return _0x4b7560;},_0x4cd8(_0x573000,_0x15aefe);}import{throttle as _0x1d276c}from'es-toolkit/compat';function _0x1717(){const _0x2a129c=['1777719HSbDxT','attributes','class','cancel','202343CHaYGL','type','characterData','attributeName','observe','573702vxVqmE','1713260ywOtnA','childList','6825384WoeAAU','disconnect','2882152ZEkwBk','26331784RcxRXH','16otXVOH'];_0x1717=function(){return _0x2a129c;};return _0x1717();}export function createMutationObserver(_0x5237bd){const _0x1d8fd8=_0x1d276c(_0x5237bd,0x1e),_0x3d89e6=new MutationObserver(_0x33e41b=>{const _0x2d5ff3=_0x4cd8;for(const _0x55be78 of _0x33e41b)(_0x2d5ff3(0x8b)==_0x55be78[_0x2d5ff3(0x7e)]&&_0x2d5ff3(0x8c)==_0x55be78[_0x2d5ff3(0x80)]||_0x2d5ff3(0x84)==_0x55be78[_0x2d5ff3(0x7e)]||_0x2d5ff3(0x7f)==_0x55be78[_0x2d5ff3(0x7e)])&&_0x1d8fd8();});return{'attach'(_0x573dfe){const _0x57c3c6=_0x4cd8;_0x3d89e6[_0x57c3c6(0x81)](_0x573dfe,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x29fcaf=_0x4cd8;_0x3d89e6[_0x29fcaf(0x86)](),_0x1d8fd8[_0x29fcaf(0x7c)]();}};}
package/theme/comment.css CHANGED
@@ -80,7 +80,8 @@
80
80
  }
81
81
 
82
82
  .ck .ck-comment__content {
83
- word-break: break-word;
83
+ word-break: normal;
84
+ overflow-wrap: anywhere;
84
85
  }
85
86
 
86
87
  .ck .ck-comment--info {
@@ -51,7 +51,8 @@
51
51
  overflow: visible;
52
52
  border: 0;
53
53
  background-color: transparent;
54
- word-break: break-word;
54
+ word-break: normal;
55
+ overflow-wrap: anywhere;
55
56
  }
56
57
  }
57
58