@ckeditor/ckeditor5-comments 45.2.1-alpha.9 → 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
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 _0x1373fc=_0x1c70;(function(_0x3f1fc5,_0x270217){var _0x4ef54b=_0x1c70,_0x38ba76=_0x3f1fc5();while(!![]){try{var _0x2e89a4=-parseInt(_0x4ef54b(0x80))/0x1*(-parseInt(_0x4ef54b(0x83))/0x2)+parseInt(_0x4ef54b(0x7d))/0x3+parseInt(_0x4ef54b(0x7b))/0x4*(-parseInt(_0x4ef54b(0x89))/0x5)+-parseInt(_0x4ef54b(0x7e))/0x6+parseInt(_0x4ef54b(0x85))/0x7*(parseInt(_0x4ef54b(0x82))/0x8)+parseInt(_0x4ef54b(0x7a))/0x9*(-parseInt(_0x4ef54b(0x7c))/0xa)+parseInt(_0x4ef54b(0x81))/0xb;if(_0x2e89a4===_0x270217)break;else _0x38ba76['push'](_0x38ba76['shift']());}catch(_0x140b36){_0x38ba76['push'](_0x38ba76['shift']());}}}(_0x13e9,0x4b809));import{Plugin as _0x32d06d}from'ckeditor5/src/core.js';function _0x1c70(_0x50ff53,_0x2531fb){var _0x13e9b5=_0x13e9();return _0x1c70=function(_0x1c70cb,_0x4e1587){_0x1c70cb=_0x1c70cb-0x7a;var _0x53d8f0=_0x13e9b5[_0x1c70cb];return _0x53d8f0;},_0x1c70(_0x50ff53,_0x2531fb);}import _0x58cd77 from'./comments/commentsrepository.js';import _0x25d3d1 from'./comments/commentsediting.js';import _0x374df2 from'./comments/commentsui.js';import _0xbc0ba0 from'./commentsonly.js';import _0x17d2e6 from'./annotations/widesidebar.js';function _0x13e9(){var _0x3872d6=['24330bEbHMz','1222035uEGXLA','170424mVLjYt','isPremiumPlugin','79682MfYIln','3805582DMekOT','16680gWnPtg','4VxvGkU','pluginName','1533RGpkuD','requires','Comments','isOfficialPlugin','912430JCvTos','1791dyWetK','12YzTNmN'];_0x13e9=function(){return _0x3872d6;};return _0x13e9();}import _0x2aa2fc from'./annotations/narrowsidebar.js';import _0x208e7b from'./annotations/inlineannotations.js';import _0x472400 from'./comments/commentsarchiveui.js';import _0x4fd4de from'./comments/commentsarchive.js';export default class p extends _0x32d06d{static get[_0x1373fc(0x86)](){return[_0x58cd77,_0x25d3d1,_0x374df2,_0x4fd4de,_0x472400,_0xbc0ba0,_0x17d2e6,_0x2aa2fc,_0x208e7b];}static get[_0x1373fc(0x84)](){var _0x237524=_0x1373fc;return _0x237524(0x87);}static get[_0x1373fc(0x88)](){return!0x0;}static get[_0x1373fc(0x7f)](){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
- const _0x54f428=_0x4831;(function(_0x586cdb,_0x15e5e7){const _0x5cdc8e=_0x4831,_0x576545=_0x586cdb();while(!![]){try{const _0x1ec41a=parseInt(_0x5cdc8e(0x9c))/0x1+parseInt(_0x5cdc8e(0x8e))/0x2+parseInt(_0x5cdc8e(0x9e))/0x3*(parseInt(_0x5cdc8e(0x87))/0x4)+-parseInt(_0x5cdc8e(0x93))/0x5*(parseInt(_0x5cdc8e(0x91))/0x6)+-parseInt(_0x5cdc8e(0x9f))/0x7+-parseInt(_0x5cdc8e(0x8b))/0x8*(parseInt(_0x5cdc8e(0xa7))/0x9)+-parseInt(_0x5cdc8e(0x80))/0xa;if(_0x1ec41a===_0x15e5e7)break;else _0x576545['push'](_0x576545['shift']());}catch(_0x3e3696){_0x576545['push'](_0x576545['shift']());}}}(_0x51bc,0x22bd2));import{Plugin as _0x18c7cf}from'ckeditor5/src/core.js';import _0x5a7fe6 from'./comments/commentsediting.js';function _0x4831(_0x5c6dde,_0x10d07b){const _0x51bc6b=_0x51bc();return _0x4831=function(_0x48316f,_0x1c130f){_0x48316f=_0x48316f-0x7b;let _0x28f00d=_0x51bc6b[_0x48316f];return _0x28f00d;},_0x4831(_0x5c6dde,_0x10d07b);}export default class s extends _0x18c7cf{static get[_0x54f428(0xa8)](){const _0xca6ea3=_0x54f428;return _0xca6ea3(0xa0);}static get[_0x54f428(0x88)](){return!0x0;}static get[_0x54f428(0x86)](){return!0x0;}static get[_0x54f428(0x90)](){return[_0x5a7fe6];}constructor(_0x3a0300){const _0x45264a=_0x54f428;super(_0x3a0300),this[_0x45264a(0x7b)](_0x45264a(0x8d),!0x1),this['on'](_0x45264a(0xa3),(_0x341ae0,_0x59faa4,_0x5cb6bb)=>{const _0x6773a7=_0x45264a;_0x5cb6bb?this[_0x6773a7(0x95)]():this[_0x6773a7(0xa2)]();});}[_0x54f428(0x9b)](){const _0x4e48cb=_0x54f428;!this[_0x4e48cb(0x8d)]&&this[_0x4e48cb(0x7e)][_0x4e48cb(0x92)][_0x4e48cb(0x9a)](_0x4e48cb(0x82))&&(this[_0x4e48cb(0x8d)]=!0x0);}[_0x54f428(0x95)](){const _0x5cd90d=_0x54f428;for(const [_0x54c9a2,_0x512b2c]of this[_0x5cd90d(0x7e)][_0x5cd90d(0x85)])_0x512b2c[_0x5cd90d(0xa6)]&&_0x5cd90d(0x89)!==_0x54c9a2&&_0x512b2c[_0x5cd90d(0x7d)](_0x5cd90d(0x81));(this[_0x5cd90d(0x7e)][_0x5cd90d(0x8f)][_0x5cd90d(0x8c)](_0x5cd90d(0x7f))&&this[_0x5cd90d(0x7e)][_0x5cd90d(0x8f)][_0x5cd90d(0x9a)](_0x5cd90d(0x7f))[_0x5cd90d(0x7d)](_0x5cd90d(0x81)),this[_0x5cd90d(0x7e)][_0x5cd90d(0x8f)][_0x5cd90d(0x8c)](_0x5cd90d(0x96)))&&this[_0x5cd90d(0x7e)][_0x5cd90d(0x8f)][_0x5cd90d(0x9a)](_0x5cd90d(0x96))[_0x5cd90d(0x7d)](_0x5cd90d(0x81));this[_0x5cd90d(0x7e)][_0x5cd90d(0x85)][_0x5cd90d(0x9a)](_0x5cd90d(0x97))?.[_0x5cd90d(0x7d)](_0x5cd90d(0x81));const _0x3896c5=this[_0x5cd90d(0x7e)][_0x5cd90d(0x8a)][_0x5cd90d(0x84)][_0x5cd90d(0xa1)];this[_0x5cd90d(0x98)](_0x3896c5,_0x5cd90d(0x9d),_0x3cb320=>_0x3cb320[_0x5cd90d(0x83)](),{'priority':_0x5cd90d(0xa4)}),this[_0x5cd90d(0x98)](_0x3896c5,_0x5cd90d(0x94),_0x593530=>_0x593530[_0x5cd90d(0x83)](),{'priority':_0x5cd90d(0xa4)}),this[_0x5cd90d(0x98)](_0x3896c5,_0x5cd90d(0x7c),_0x163893=>_0x163893[_0x5cd90d(0x83)](),{'priority':_0x5cd90d(0xa4)});}[_0x54f428(0xa2)](){const _0x16e2ef=_0x54f428;for(const [_0x5488db,_0x5874ed]of this[_0x16e2ef(0x7e)][_0x16e2ef(0x85)])_0x5874ed[_0x16e2ef(0xa6)]&&_0x16e2ef(0x89)!==_0x5488db&&_0x5874ed[_0x16e2ef(0xa5)](_0x16e2ef(0x81));this[_0x16e2ef(0x7e)][_0x16e2ef(0x8f)][_0x16e2ef(0x8c)](_0x16e2ef(0x96))&&this[_0x16e2ef(0x7e)][_0x16e2ef(0x8f)][_0x16e2ef(0x9a)](_0x16e2ef(0x96))[_0x16e2ef(0xa5)](_0x16e2ef(0x81)),this[_0x16e2ef(0x7e)][_0x16e2ef(0x85)][_0x16e2ef(0x9a)](_0x16e2ef(0x97))?.[_0x16e2ef(0xa5)](_0x16e2ef(0x81)),this[_0x16e2ef(0x99)](this[_0x16e2ef(0x7e)][_0x16e2ef(0x8a)][_0x16e2ef(0x84)][_0x16e2ef(0xa1)]);}}function _0x51bc(){const _0x1bb2af=['set','delete','forceDisabled','editor','DragDrop','2954720zCsJxZ','commentsOnlyMode','commentsOnly','stop','view','commands','isPremiumPlugin','1068XwnEGJ','isOfficialPlugin','addCommentThread','editing','8ExXRLI','has','isEnabled','475822RVaVFu','plugins','requires','6fuWwMz','config','533535iSuXkW','clipboardInput','_enableCommentsOnlyMode','SourceEditing','editSource','listenTo','stopListening','get','afterInit','178375iMAPAa','cut','3048knbYSc','289618cRaZDu','CommentsOnly','document','_disableCommentsOnlyMode','change:isEnabled','highest','clearForceDisabled','affectsData','915435BrLtKB','pluginName'];_0x51bc=function(){return _0x1bb2af;};return _0x51bc();}
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(_0xaedb8a,_0x5d0fbd){var _0x157737=_0x3348,_0x5d9a3a=_0xaedb8a();while(!![]){try{var _0x424f76=parseInt(_0x157737(0x1a2))/0x1*(parseInt(_0x157737(0x1a5))/0x2)+-parseInt(_0x157737(0x1a1))/0x3*(-parseInt(_0x157737(0x1a6))/0x4)+-parseInt(_0x157737(0x1a3))/0x5*(parseInt(_0x157737(0x1a8))/0x6)+-parseInt(_0x157737(0x1a4))/0x7*(-parseInt(_0x157737(0x1aa))/0x8)+-parseInt(_0x157737(0x1a9))/0x9+parseInt(_0x157737(0x1a7))/0xa+-parseInt(_0x157737(0x1a0))/0xb;if(_0x424f76===_0x5d0fbd)break;else _0x5d9a3a['push'](_0x5d9a3a['shift']());}catch(_0x42e84c){_0x5d9a3a['push'](_0x5d9a3a['shift']());}}}(_0x46b3,0x8f049));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';function _0x46b3(){var _0x3abde4=['32bGtQdL','5406346qgzuXt','389877DqvqDM','20183EbGwKM','5275VAJTNi','1831529qisFTf','46ByrzKV','4HDERDA','773070FpgAHm','3042JxyoCj','953019bBdhSP'];_0x46b3=function(){return _0x3abde4;};return _0x46b3();}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';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';function _0x3348(_0x334909,_0x39bee9){var _0x46b37=_0x46b3();return _0x3348=function(_0x33488b,_0x4ada56){_0x33488b=_0x33488b-0x1a0;var _0x3e80a2=_0x46b37[_0x33488b];return _0x3e80a2;},_0x3348(_0x334909,_0x39bee9);}export{default as CommentsArchive}from'./comments/commentsarchive.js';export{default as CommentsArchiveUI}from'./comments/commentsarchiveui.js';import'./augmentation.js';
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(_0x866b40,_0x56c4c7,_0x18a284){const t=_0x866b40['t'];switch(_0x56c4c7){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'},_0x18a284);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'},_0x18a284);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'},_0x18a284);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'},_0x18a284);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x18a284);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'},_0x18a284);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'},_0x18a284);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'},_0x18a284);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(_0x426f15,_0xac977c){const _0x1d6fa2=_0x1e0d,_0x53afcd=_0x426f15();while(!![]){try{const _0x22b7dc=-parseInt(_0x1d6fa2(0xfe))/0x1+parseInt(_0x1d6fa2(0x10c))/0x2+parseInt(_0x1d6fa2(0x109))/0x3*(-parseInt(_0x1d6fa2(0x100))/0x4)+parseInt(_0x1d6fa2(0x10a))/0x5+-parseInt(_0x1d6fa2(0xfd))/0x6+parseInt(_0x1d6fa2(0xff))/0x7+parseInt(_0x1d6fa2(0x102))/0x8;if(_0x22b7dc===_0xac977c)break;else _0x53afcd['push'](_0x53afcd['shift']());}catch(_0x43e8b6){_0x53afcd['push'](_0x53afcd['shift']());}}}(_0x4a94,0x7a4f7));function _0x4a94(){const _0x1229f2=['15645608znqrbr','childList','class','observe','attributeName','characterData','disconnect','207QWKjRb','2167885txtLde','attributes','78868PmxKzd','cancel','3074508DxPfsw','862876zcEeHA','1230537suldsI','42216Abzato','type'];_0x4a94=function(){return _0x1229f2;};return _0x4a94();}function _0x1e0d(_0x5ce391,_0x2c7cc5){const _0x4a94f9=_0x4a94();return _0x1e0d=function(_0x1e0dc7,_0x417d96){_0x1e0dc7=_0x1e0dc7-0xfd;let _0x2e82a5=_0x4a94f9[_0x1e0dc7];return _0x2e82a5;},_0x1e0d(_0x5ce391,_0x2c7cc5);}import{throttle as _0x5980f6}from'es-toolkit/compat';export default function Lt(_0x5cd58c){const _0x467f12=_0x5980f6(_0x5cd58c,0x1e),_0xc93724=new MutationObserver(_0x4fcf04=>{const _0x509912=_0x1e0d;for(const _0x1098c5 of _0x4fcf04)(_0x509912(0x10b)==_0x1098c5[_0x509912(0x101)]&&_0x509912(0x104)==_0x1098c5[_0x509912(0x106)]||_0x509912(0x103)==_0x1098c5[_0x509912(0x101)]||_0x509912(0x107)==_0x1098c5[_0x509912(0x101)])&&_0x467f12();});return{'attach'(_0x954664){const _0x553000=_0x1e0d;_0xc93724[_0x553000(0x105)](_0x954664,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x3ffd10=_0x1e0d;_0xc93724[_0x3ffd10(0x108)](),_0x467f12[_0x3ffd10(0x10d)]();}};}
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