@ckeditor/ckeditor5-real-time-collaboration 44.1.0 → 44.2.0-alpha.1

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 (367) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +1 -1
  3. package/build/real-time-collaboration.js +2 -2
  4. package/dist/index-content.css +2 -2
  5. package/dist/index-editor.css +2 -2
  6. package/dist/index.css +9 -9
  7. package/dist/index.js +7 -7
  8. package/dist/translations/af.d.ts +2 -2
  9. package/dist/translations/af.js +2 -2
  10. package/dist/translations/af.umd.js +2 -2
  11. package/dist/translations/ar.d.ts +2 -2
  12. package/dist/translations/ar.js +2 -2
  13. package/dist/translations/ar.umd.js +2 -2
  14. package/dist/translations/ast.d.ts +2 -2
  15. package/dist/translations/ast.js +2 -2
  16. package/dist/translations/ast.umd.js +2 -2
  17. package/dist/translations/az.d.ts +2 -2
  18. package/dist/translations/az.js +2 -2
  19. package/dist/translations/az.umd.js +2 -2
  20. package/dist/translations/bg.d.ts +2 -2
  21. package/dist/translations/bg.js +2 -2
  22. package/dist/translations/bg.umd.js +2 -2
  23. package/dist/translations/bn.d.ts +2 -2
  24. package/dist/translations/bn.js +2 -2
  25. package/dist/translations/bn.umd.js +2 -2
  26. package/dist/translations/bs.d.ts +2 -2
  27. package/dist/translations/bs.js +2 -2
  28. package/dist/translations/bs.umd.js +2 -2
  29. package/dist/translations/ca.d.ts +2 -2
  30. package/dist/translations/ca.js +2 -2
  31. package/dist/translations/ca.umd.js +2 -2
  32. package/dist/translations/cs.d.ts +2 -2
  33. package/dist/translations/cs.js +2 -2
  34. package/dist/translations/cs.umd.js +2 -2
  35. package/dist/translations/da.d.ts +2 -2
  36. package/dist/translations/da.js +2 -2
  37. package/dist/translations/da.umd.js +2 -2
  38. package/dist/translations/de-ch.d.ts +2 -2
  39. package/dist/translations/de-ch.js +2 -2
  40. package/dist/translations/de-ch.umd.js +2 -2
  41. package/dist/translations/de.d.ts +2 -2
  42. package/dist/translations/de.js +2 -2
  43. package/dist/translations/de.umd.js +2 -2
  44. package/dist/translations/el.d.ts +2 -2
  45. package/dist/translations/el.js +2 -2
  46. package/dist/translations/el.umd.js +2 -2
  47. package/dist/translations/en-au.d.ts +2 -2
  48. package/dist/translations/en-au.js +2 -2
  49. package/dist/translations/en-au.umd.js +2 -2
  50. package/dist/translations/en-gb.d.ts +2 -2
  51. package/dist/translations/en-gb.js +2 -2
  52. package/dist/translations/en-gb.umd.js +2 -2
  53. package/dist/translations/en.d.ts +2 -2
  54. package/dist/translations/en.js +2 -2
  55. package/dist/translations/en.umd.js +2 -2
  56. package/dist/translations/eo.d.ts +2 -2
  57. package/dist/translations/eo.js +2 -2
  58. package/dist/translations/eo.umd.js +2 -2
  59. package/dist/translations/es-co.d.ts +2 -2
  60. package/dist/translations/es-co.js +2 -2
  61. package/dist/translations/es-co.umd.js +2 -2
  62. package/dist/translations/es.d.ts +2 -2
  63. package/dist/translations/es.js +2 -2
  64. package/dist/translations/es.umd.js +2 -2
  65. package/dist/translations/et.d.ts +2 -2
  66. package/dist/translations/et.js +2 -2
  67. package/dist/translations/et.umd.js +2 -2
  68. package/dist/translations/eu.d.ts +2 -2
  69. package/dist/translations/eu.js +2 -2
  70. package/dist/translations/eu.umd.js +2 -2
  71. package/dist/translations/fa.d.ts +2 -2
  72. package/dist/translations/fa.js +2 -2
  73. package/dist/translations/fa.umd.js +2 -2
  74. package/dist/translations/fi.d.ts +2 -2
  75. package/dist/translations/fi.js +2 -2
  76. package/dist/translations/fi.umd.js +2 -2
  77. package/dist/translations/fr.d.ts +2 -2
  78. package/dist/translations/fr.js +2 -2
  79. package/dist/translations/fr.umd.js +2 -2
  80. package/dist/translations/gl.d.ts +2 -2
  81. package/dist/translations/gl.js +2 -2
  82. package/dist/translations/gl.umd.js +2 -2
  83. package/dist/translations/gu.d.ts +2 -2
  84. package/dist/translations/gu.js +2 -2
  85. package/dist/translations/gu.umd.js +2 -2
  86. package/dist/translations/he.d.ts +2 -2
  87. package/dist/translations/he.js +2 -2
  88. package/dist/translations/he.umd.js +2 -2
  89. package/dist/translations/hi.d.ts +2 -2
  90. package/dist/translations/hi.js +2 -2
  91. package/dist/translations/hi.umd.js +2 -2
  92. package/dist/translations/hr.d.ts +2 -2
  93. package/dist/translations/hr.js +2 -2
  94. package/dist/translations/hr.umd.js +2 -2
  95. package/dist/translations/hu.d.ts +2 -2
  96. package/dist/translations/hu.js +2 -2
  97. package/dist/translations/hu.umd.js +2 -2
  98. package/dist/translations/hy.d.ts +2 -2
  99. package/dist/translations/hy.js +2 -2
  100. package/dist/translations/hy.umd.js +2 -2
  101. package/dist/translations/id.d.ts +2 -2
  102. package/dist/translations/id.js +2 -2
  103. package/dist/translations/id.umd.js +2 -2
  104. package/dist/translations/it.d.ts +2 -2
  105. package/dist/translations/it.js +2 -2
  106. package/dist/translations/it.umd.js +2 -2
  107. package/dist/translations/ja.d.ts +2 -2
  108. package/dist/translations/ja.js +2 -2
  109. package/dist/translations/ja.umd.js +2 -2
  110. package/dist/translations/jv.d.ts +2 -2
  111. package/dist/translations/jv.js +2 -2
  112. package/dist/translations/jv.umd.js +2 -2
  113. package/dist/translations/kk.d.ts +2 -2
  114. package/dist/translations/kk.js +2 -2
  115. package/dist/translations/kk.umd.js +2 -2
  116. package/dist/translations/km.d.ts +2 -2
  117. package/dist/translations/km.js +2 -2
  118. package/dist/translations/km.umd.js +2 -2
  119. package/dist/translations/kn.d.ts +2 -2
  120. package/dist/translations/kn.js +2 -2
  121. package/dist/translations/kn.umd.js +2 -2
  122. package/dist/translations/ko.d.ts +2 -2
  123. package/dist/translations/ko.js +2 -2
  124. package/dist/translations/ko.umd.js +2 -2
  125. package/dist/translations/ku.d.ts +2 -2
  126. package/dist/translations/ku.js +2 -2
  127. package/dist/translations/ku.umd.js +2 -2
  128. package/dist/translations/lt.d.ts +2 -2
  129. package/dist/translations/lt.js +2 -2
  130. package/dist/translations/lt.umd.js +2 -2
  131. package/dist/translations/lv.d.ts +2 -2
  132. package/dist/translations/lv.js +2 -2
  133. package/dist/translations/lv.umd.js +2 -2
  134. package/dist/translations/ms.d.ts +2 -2
  135. package/dist/translations/ms.js +2 -2
  136. package/dist/translations/ms.umd.js +2 -2
  137. package/dist/translations/nb.d.ts +2 -2
  138. package/dist/translations/nb.js +2 -2
  139. package/dist/translations/nb.umd.js +2 -2
  140. package/dist/translations/ne.d.ts +2 -2
  141. package/dist/translations/ne.js +2 -2
  142. package/dist/translations/ne.umd.js +2 -2
  143. package/dist/translations/nl.d.ts +2 -2
  144. package/dist/translations/nl.js +2 -2
  145. package/dist/translations/nl.umd.js +2 -2
  146. package/dist/translations/no.d.ts +2 -2
  147. package/dist/translations/no.js +2 -2
  148. package/dist/translations/no.umd.js +2 -2
  149. package/dist/translations/oc.d.ts +2 -2
  150. package/dist/translations/oc.js +2 -2
  151. package/dist/translations/oc.umd.js +2 -2
  152. package/dist/translations/pl.d.ts +2 -2
  153. package/dist/translations/pl.js +2 -2
  154. package/dist/translations/pl.umd.js +2 -2
  155. package/dist/translations/pt-br.d.ts +2 -2
  156. package/dist/translations/pt-br.js +2 -2
  157. package/dist/translations/pt-br.umd.js +2 -2
  158. package/dist/translations/pt.d.ts +2 -2
  159. package/dist/translations/pt.js +2 -2
  160. package/dist/translations/pt.umd.js +2 -2
  161. package/dist/translations/ro.d.ts +2 -2
  162. package/dist/translations/ro.js +2 -2
  163. package/dist/translations/ro.umd.js +2 -2
  164. package/dist/translations/ru.d.ts +2 -2
  165. package/dist/translations/ru.js +2 -2
  166. package/dist/translations/ru.umd.js +2 -2
  167. package/dist/translations/si.d.ts +2 -2
  168. package/dist/translations/si.js +2 -2
  169. package/dist/translations/si.umd.js +2 -2
  170. package/dist/translations/sk.d.ts +2 -2
  171. package/dist/translations/sk.js +2 -2
  172. package/dist/translations/sk.umd.js +2 -2
  173. package/dist/translations/sl.d.ts +2 -2
  174. package/dist/translations/sl.js +2 -2
  175. package/dist/translations/sl.umd.js +2 -2
  176. package/dist/translations/sq.d.ts +2 -2
  177. package/dist/translations/sq.js +2 -2
  178. package/dist/translations/sq.umd.js +2 -2
  179. package/dist/translations/sr-latn.d.ts +2 -2
  180. package/dist/translations/sr-latn.js +2 -2
  181. package/dist/translations/sr-latn.umd.js +2 -2
  182. package/dist/translations/sr.d.ts +2 -2
  183. package/dist/translations/sr.js +2 -2
  184. package/dist/translations/sr.umd.js +2 -2
  185. package/dist/translations/sv.d.ts +2 -2
  186. package/dist/translations/sv.js +2 -2
  187. package/dist/translations/sv.umd.js +2 -2
  188. package/dist/translations/th.d.ts +2 -2
  189. package/dist/translations/th.js +2 -2
  190. package/dist/translations/th.umd.js +2 -2
  191. package/dist/translations/ti.d.ts +2 -2
  192. package/dist/translations/ti.js +2 -2
  193. package/dist/translations/ti.umd.js +2 -2
  194. package/dist/translations/tk.d.ts +2 -2
  195. package/dist/translations/tk.js +2 -2
  196. package/dist/translations/tk.umd.js +2 -2
  197. package/dist/translations/tr.d.ts +2 -2
  198. package/dist/translations/tr.js +2 -2
  199. package/dist/translations/tr.umd.js +2 -2
  200. package/dist/translations/tt.d.ts +2 -2
  201. package/dist/translations/tt.js +2 -2
  202. package/dist/translations/tt.umd.js +2 -2
  203. package/dist/translations/ug.d.ts +2 -2
  204. package/dist/translations/ug.js +2 -2
  205. package/dist/translations/ug.umd.js +2 -2
  206. package/dist/translations/uk.d.ts +2 -2
  207. package/dist/translations/uk.js +2 -2
  208. package/dist/translations/uk.umd.js +2 -2
  209. package/dist/translations/ur.d.ts +2 -2
  210. package/dist/translations/ur.js +2 -2
  211. package/dist/translations/ur.umd.js +2 -2
  212. package/dist/translations/uz.d.ts +2 -2
  213. package/dist/translations/uz.js +2 -2
  214. package/dist/translations/uz.umd.js +2 -2
  215. package/dist/translations/vi.d.ts +2 -2
  216. package/dist/translations/vi.js +2 -2
  217. package/dist/translations/vi.umd.js +2 -2
  218. package/dist/translations/zh-cn.d.ts +2 -2
  219. package/dist/translations/zh-cn.js +2 -2
  220. package/dist/translations/zh-cn.umd.js +2 -2
  221. package/dist/translations/zh.d.ts +2 -2
  222. package/dist/translations/zh.js +2 -2
  223. package/dist/translations/zh.umd.js +2 -2
  224. package/lang/translations/af.po +1 -1
  225. package/lang/translations/ar.po +1 -1
  226. package/lang/translations/ast.po +1 -1
  227. package/lang/translations/az.po +1 -1
  228. package/lang/translations/bg.po +1 -1
  229. package/lang/translations/bn.po +1 -1
  230. package/lang/translations/bs.po +1 -1
  231. package/lang/translations/ca.po +1 -1
  232. package/lang/translations/cs.po +1 -1
  233. package/lang/translations/da.po +1 -1
  234. package/lang/translations/de-ch.po +1 -1
  235. package/lang/translations/de.po +1 -1
  236. package/lang/translations/el.po +1 -1
  237. package/lang/translations/en-au.po +1 -1
  238. package/lang/translations/en-gb.po +1 -1
  239. package/lang/translations/en.po +1 -1
  240. package/lang/translations/eo.po +1 -1
  241. package/lang/translations/es-co.po +1 -1
  242. package/lang/translations/es.po +1 -1
  243. package/lang/translations/et.po +1 -1
  244. package/lang/translations/eu.po +1 -1
  245. package/lang/translations/fa.po +1 -1
  246. package/lang/translations/fi.po +1 -1
  247. package/lang/translations/fr.po +1 -1
  248. package/lang/translations/gl.po +1 -1
  249. package/lang/translations/gu.po +1 -1
  250. package/lang/translations/he.po +1 -1
  251. package/lang/translations/hi.po +1 -1
  252. package/lang/translations/hr.po +1 -1
  253. package/lang/translations/hu.po +1 -1
  254. package/lang/translations/hy.po +1 -1
  255. package/lang/translations/id.po +1 -1
  256. package/lang/translations/it.po +1 -1
  257. package/lang/translations/ja.po +1 -1
  258. package/lang/translations/jv.po +1 -1
  259. package/lang/translations/kk.po +1 -1
  260. package/lang/translations/km.po +1 -1
  261. package/lang/translations/kn.po +1 -1
  262. package/lang/translations/ko.po +1 -1
  263. package/lang/translations/ku.po +1 -1
  264. package/lang/translations/lt.po +1 -1
  265. package/lang/translations/lv.po +1 -1
  266. package/lang/translations/ms.po +1 -1
  267. package/lang/translations/nb.po +1 -1
  268. package/lang/translations/ne.po +1 -1
  269. package/lang/translations/nl.po +1 -1
  270. package/lang/translations/no.po +1 -1
  271. package/lang/translations/oc.po +1 -1
  272. package/lang/translations/pl.po +1 -1
  273. package/lang/translations/pt-br.po +1 -1
  274. package/lang/translations/pt.po +1 -1
  275. package/lang/translations/ro.po +1 -1
  276. package/lang/translations/ru.po +1 -1
  277. package/lang/translations/si.po +1 -1
  278. package/lang/translations/sk.po +1 -1
  279. package/lang/translations/sl.po +1 -1
  280. package/lang/translations/sq.po +1 -1
  281. package/lang/translations/sr-latn.po +1 -1
  282. package/lang/translations/sr.po +1 -1
  283. package/lang/translations/sv.po +1 -1
  284. package/lang/translations/th.po +1 -1
  285. package/lang/translations/ti.po +1 -1
  286. package/lang/translations/tk.po +1 -1
  287. package/lang/translations/tr.po +1 -1
  288. package/lang/translations/tt.po +1 -1
  289. package/lang/translations/ug.po +1 -1
  290. package/lang/translations/uk.po +1 -1
  291. package/lang/translations/ur.po +1 -1
  292. package/lang/translations/uz.po +1 -1
  293. package/lang/translations/vi.po +1 -1
  294. package/lang/translations/zh-cn.po +1 -1
  295. package/lang/translations/zh.po +1 -1
  296. package/package.json +36 -9
  297. package/src/augmentation.d.ts +1 -1
  298. package/src/augmentation.js +1 -1
  299. package/src/common-translations.d.ts +1 -1
  300. package/src/common-translations.js +2 -2
  301. package/src/config.d.ts +1 -1
  302. package/src/config.js +1 -1
  303. package/src/index.d.ts +2 -1
  304. package/src/index.js +2 -2
  305. package/src/presencelist/presencelistui.d.ts +1 -1
  306. package/src/presencelist/presencelistui.js +2 -2
  307. package/src/presencelist/view/presencecounterview.d.ts +1 -1
  308. package/src/presencelist/view/presencecounterview.js +2 -2
  309. package/src/presencelist/view/presencedropdownlistitemview.d.ts +1 -1
  310. package/src/presencelist/view/presencedropdownlistitemview.js +2 -2
  311. package/src/presencelist/view/presencedropdownlistview.d.ts +1 -1
  312. package/src/presencelist/view/presencedropdownlistview.js +2 -2
  313. package/src/presencelist/view/presenceinlinelistitemview.d.ts +1 -1
  314. package/src/presencelist/view/presenceinlinelistitemview.js +2 -2
  315. package/src/presencelist/view/presenceinlinelistview.d.ts +1 -1
  316. package/src/presencelist/view/presenceinlinelistview.js +2 -2
  317. package/src/presencelist/view/presencelistview.d.ts +1 -1
  318. package/src/presencelist/view/presencelistview.js +2 -2
  319. package/src/presencelist.d.ts +1 -1
  320. package/src/presencelist.js +2 -2
  321. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.d.ts +1 -1
  322. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  323. package/src/realtimecollaborativecomments.d.ts +1 -1
  324. package/src/realtimecollaborativecomments.js +2 -2
  325. package/src/realtimecollaborativeediting/realtimecollaborationclient.d.ts +1 -1
  326. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  327. package/src/realtimecollaborativeediting/sessions.d.ts +1 -1
  328. package/src/realtimecollaborativeediting/sessions.js +2 -2
  329. package/src/realtimecollaborativeediting/usermarkers.d.ts +1 -1
  330. package/src/realtimecollaborativeediting/usermarkers.js +2 -2
  331. package/src/realtimecollaborativeediting/websocketgateway.d.ts +5 -1
  332. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  333. package/src/realtimecollaborativeediting.d.ts +1 -1
  334. package/src/realtimecollaborativeediting.js +2 -2
  335. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.d.ts +1 -1
  336. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  337. package/src/realtimecollaborativerevisionhistory.d.ts +1 -1
  338. package/src/realtimecollaborativerevisionhistory.js +2 -2
  339. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.d.ts +1 -1
  340. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  341. package/src/realtimecollaborativetrackchanges.d.ts +1 -1
  342. package/src/realtimecollaborativetrackchanges.js +2 -2
  343. package/theme/presencelist.css +1 -1
  344. package/theme/usermarkers.css +1 -1
  345. package/dist/augmentation.d.ts +0 -75
  346. package/dist/common-translations.d.ts +0 -13
  347. package/dist/config.d.ts +0 -52
  348. package/dist/index.d.ts +0 -18
  349. package/dist/presencelist/presencelistui.d.ts +0 -51
  350. package/dist/presencelist/view/presencecounterview.d.ts +0 -15
  351. package/dist/presencelist/view/presencedropdownlistitemview.d.ts +0 -19
  352. package/dist/presencelist/view/presencedropdownlistview.d.ts +0 -36
  353. package/dist/presencelist/view/presenceinlinelistitemview.d.ts +0 -23
  354. package/dist/presencelist/view/presenceinlinelistview.d.ts +0 -38
  355. package/dist/presencelist/view/presencelistview.d.ts +0 -24
  356. package/dist/presencelist.d.ts +0 -40
  357. package/dist/realtimecollaborativecomments/cloudservicescommentsadapter.d.ts +0 -64
  358. package/dist/realtimecollaborativecomments.d.ts +0 -48
  359. package/dist/realtimecollaborativeediting/realtimecollaborationclient.d.ts +0 -149
  360. package/dist/realtimecollaborativeediting/sessions.d.ts +0 -130
  361. package/dist/realtimecollaborativeediting/usermarkers.d.ts +0 -52
  362. package/dist/realtimecollaborativeediting/websocketgateway.d.ts +0 -67
  363. package/dist/realtimecollaborativeediting.d.ts +0 -38
  364. package/dist/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.d.ts +0 -61
  365. package/dist/realtimecollaborativerevisionhistory.d.ts +0 -41
  366. package/dist/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.d.ts +0 -55
  367. package/dist/realtimecollaborativetrackchanges.d.ts +0 -39
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xf5b2(_0x5c48cb,_0x31cc81){var _0x13ea5c=_0x13ea();return _0xf5b2=function(_0xf5b2d7,_0x5b6b12){_0xf5b2d7=_0xf5b2d7-0x1ae;var _0xdbd0ac=_0x13ea5c[_0xf5b2d7];return _0xdbd0ac;},_0xf5b2(_0x5c48cb,_0x31cc81);}var _0x39a017=_0xf5b2;(function(_0x589cfb,_0x26013a){var _0x2e290e=_0xf5b2,_0x24c07c=_0x589cfb();while(!![]){try{var _0x56675e=-parseInt(_0x2e290e(0x1bb))/0x1*(parseInt(_0x2e290e(0x1b7))/0x2)+-parseInt(_0x2e290e(0x1ae))/0x3*(parseInt(_0x2e290e(0x1ba))/0x4)+-parseInt(_0x2e290e(0x1bf))/0x5*(-parseInt(_0x2e290e(0x1b6))/0x6)+-parseInt(_0x2e290e(0x1b9))/0x7+parseInt(_0x2e290e(0x1b2))/0x8*(-parseInt(_0x2e290e(0x1bd))/0x9)+-parseInt(_0x2e290e(0x1af))/0xa*(parseInt(_0x2e290e(0x1b1))/0xb)+parseInt(_0x2e290e(0x1b5))/0xc;if(_0x56675e===_0x26013a)break;else _0x24c07c['push'](_0x24c07c['shift']());}catch(_0x1808ab){_0x24c07c['push'](_0x24c07c['shift']());}}}(_0x13ea,0x684c1));import{Plugin as _0x177d02}from'ckeditor5/src/core.js';import _0x40649f from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import _0x4091bc from'./realtimecollaborativeediting.js';export default class g extends _0x177d02{static get[_0x39a017(0x1b4)](){var _0x2bab7e=_0x39a017;return[_0x2bab7e(0x1b0),_0x40649f,_0x4091bc];}static get[_0x39a017(0x1be)](){var _0x944e13=_0x39a017;return _0x944e13(0x1b8);}static get[_0x39a017(0x1bc)](){return!0x0;}static get[_0x39a017(0x1b3)](){return!0x0;}}function _0x13ea(){var _0xba9cc6=['2680onLcVG','2382dxgHUR','114310hnqWdx','RevisionHistory','649qXsjMF','137920RhvnbB','isPremiumPlugin','requires','35217600BSxmzB','6906edFQtu','1451854cQVEOz','RealTimeCollaborativeRevisionHistory','3245851oqMpkn','2876OTGtCP','1BhRuXm','isOfficialPlugin','360aiTjUV','pluginName'];_0x13ea=function(){return _0xba9cc6;};return _0x13ea();}
23
+ var _0x1da0f5=_0x1015;(function(_0x10a420,_0x2e5de4){var _0x2b6dfa=_0x1015,_0x5a618c=_0x10a420();while(!![]){try{var _0x465b36=-parseInt(_0x2b6dfa(0x1b8))/0x1*(-parseInt(_0x2b6dfa(0x1b4))/0x2)+-parseInt(_0x2b6dfa(0x1b5))/0x3*(-parseInt(_0x2b6dfa(0x1b2))/0x4)+parseInt(_0x2b6dfa(0x1b1))/0x5+-parseInt(_0x2b6dfa(0x1ad))/0x6+-parseInt(_0x2b6dfa(0x1b0))/0x7+parseInt(_0x2b6dfa(0x1a9))/0x8+-parseInt(_0x2b6dfa(0x1ae))/0x9*(parseInt(_0x2b6dfa(0x1aa))/0xa);if(_0x465b36===_0x2e5de4)break;else _0x5a618c['push'](_0x5a618c['shift']());}catch(_0x3996e7){_0x5a618c['push'](_0x5a618c['shift']());}}}(_0x1a26,0xd79c6));import{Plugin as _0x283f25}from'ckeditor5/src/core.js';function _0x1015(_0x153ce1,_0x181383){var _0x1a26bd=_0x1a26();return _0x1015=function(_0x1015d7,_0x2d5216){_0x1015d7=_0x1015d7-0x1a9;var _0x436c2d=_0x1a26bd[_0x1015d7];return _0x436c2d;},_0x1015(_0x153ce1,_0x181383);}import _0x424b68 from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import _0x2c501d from'./realtimecollaborativeediting.js';export default class g extends _0x283f25{static get[_0x1da0f5(0x1af)](){var _0x4a5afa=_0x1da0f5;return[_0x4a5afa(0x1b6),_0x424b68,_0x2c501d];}static get[_0x1da0f5(0x1b7)](){var _0x1cdf1c=_0x1da0f5;return _0x1cdf1c(0x1ab);}static get[_0x1da0f5(0x1ac)](){return!0x0;}static get[_0x1da0f5(0x1b3)](){return!0x0;}}function _0x1a26(){var _0x16de3a=['1HOZgZB','11865464lfaivA','40qOYErt','RealTimeCollaborativeRevisionHistory','isOfficialPlugin','3617520DgDsia','4219389mlGrXx','requires','8065456cwxGhp','8808470KziGzk','16UEOOZv','isPremiumPlugin','501506coPdYs','763443giNHTr','RevisionHistory','pluginName'];_0x1a26=function(){return _0x16de3a;};return _0x1a26();}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
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
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ec6d1=_0x5a8d;function _0x5a8d(_0x2d0fa7,_0x52f0b1){const _0x4b41ca=_0x4b41();return _0x5a8d=function(_0x5a8dd4,_0x382b6b){_0x5a8dd4=_0x5a8dd4-0x1c3;let _0x4cbad6=_0x4b41ca[_0x5a8dd4];return _0x4cbad6;},_0x5a8d(_0x2d0fa7,_0x52f0b1);}(function(_0x3e2841,_0x4f7072){const _0x584d8f=_0x5a8d,_0x309dd8=_0x3e2841();while(!![]){try{const _0x5f253f=parseInt(_0x584d8f(0x1ff))/0x1+-parseInt(_0x584d8f(0x1d6))/0x2+parseInt(_0x584d8f(0x1f8))/0x3+parseInt(_0x584d8f(0x1e0))/0x4+-parseInt(_0x584d8f(0x1dd))/0x5*(parseInt(_0x584d8f(0x1e3))/0x6)+-parseInt(_0x584d8f(0x1f5))/0x7*(parseInt(_0x584d8f(0x1f0))/0x8)+parseInt(_0x584d8f(0x1ea))/0x9*(parseInt(_0x584d8f(0x1f9))/0xa);if(_0x5f253f===_0x4f7072)break;else _0x309dd8['push'](_0x309dd8['shift']());}catch(_0x181f7f){_0x309dd8['push'](_0x309dd8['shift']());}}}(_0x4b41,0x66ea9));import{Plugin as _0x103143}from'ckeditor5/src/core.js';import{User as _0x970d45,TrackChangesService as _0x874728}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x295ec0 from'../realtimecollaborativeediting/websocketgateway.js';import _0x363e06 from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x2d2bf5}from'ckeditor5-collaboration/src/collaboration-core.js';class f extends _0x103143{static get[_0x5ec6d1(0x1e6)](){const _0x5d3d1=_0x5ec6d1;return[_0x363e06,_0x5d3d1(0x1da),_0x295ec0];}static get[_0x5ec6d1(0x1dc)](){const _0x44aa18=_0x5ec6d1;return _0x44aa18(0x1e7);}static get[_0x5ec6d1(0x1df)](){return!0x0;}static get[_0x5ec6d1(0x202)](){return!0x0;}constructor(_0x30fd38){const _0x5ae3fc=_0x5ec6d1;super(_0x30fd38);const _0x43984a=this[_0x5ae3fc(0x1cb)][_0x5ae3fc(0x1e4)][_0x5ae3fc(0x1cc)](_0x5ae3fc(0x1f7));this[_0x5ae3fc(0x1ee)]=new Map(),this[_0x5ae3fc(0x1f6)]=new f[(_0x5ae3fc(0x1c6))](_0x43984a);}[_0x5ec6d1(0x200)](){const _0x5830b6=_0x5ec6d1,_0x3d54ac=this[_0x5830b6(0x1cb)][_0x5830b6(0x1c3)][_0x5830b6(0x1cc)](_0x295ec0),_0x178ec0=this[_0x5830b6(0x1cb)][_0x5830b6(0x1c3)][_0x5830b6(0x1cc)](_0x5830b6(0x1da));return _0x178ec0[_0x5830b6(0x1d0)]={'getSuggestion':async _0x460cbc=>{const _0x470b0b=_0x5830b6;await this[_0x470b0b(0x1d9)]();const _0xb42372=await this[_0x470b0b(0x1f6)][_0x470b0b(0x1cc)](_0x460cbc)[_0x470b0b(0x1f3)](nt);return await this[_0x470b0b(0x1d5)]([_0xb42372]),_0xb42372;},'addSuggestion':async({id:_0x2fb74f,type:_0x3fa35c,data:_0x4ad302,originalSuggestionId:_0x4bba7d,attributes:_0x3ba91e})=>{const _0x3dd736=_0x5830b6;await this[_0x3dd736(0x1d9)]();const _0xaf7f1f={'id':_0x2fb74f,'type':_0x3fa35c,'data':_0x4ad302,'originalSuggestionId':_0x4bba7d,'attributes':_0x3ba91e},_0x55e0bd=await this[_0x3dd736(0x1f6)][_0x3dd736(0x1fa)](_0x2fb74f,_0x3fa35c,_0x4ad302,_0x4bba7d,_0x3ba91e)[_0x3dd736(0x1f3)](_0x325df0=>{if(M(_0x325df0))return new Promise(_0x12a8b6=>{const _0x4c1f85=_0x5a8d;this[_0x4c1f85(0x1ee)][_0x4c1f85(0x1f1)](_0x2fb74f,{'resolve':_0x12a8b6,'suggestionData':_0xaf7f1f});});throw _0x325df0;});return this[_0x3dd736(0x1ee)][_0x3dd736(0x1de)](_0x2fb74f),_0x55e0bd;},'updateSuggestion':async(_0x2b7435,_0x59af9a)=>{const _0x38e575=_0x5830b6;if(await this[_0x38e575(0x1d9)](),_0x38e575(0x1ca)!==_0x59af9a[_0x38e575(0x1e8)])return this[_0x38e575(0x1f6)][_0x38e575(0x1cf)](_0x2b7435,_0x59af9a)[_0x38e575(0x1f3)](nt);}},this[_0x5830b6(0x1e2)](this[_0x5830b6(0x1f6)],_0x5830b6(0x1db),(_0x140ffd,_0x558fbd)=>{const _0x10737a=_0x5830b6;_0x178ec0[_0x10737a(0x1eb)](_0x558fbd['id'])&&(_0x178ec0[_0x10737a(0x1d3)](_0x558fbd['id'])[_0x10737a(0x1ec)]=_0x558fbd[_0x10737a(0x1ec)]);}),this[_0x5830b6(0x1f6)][_0x5830b6(0x1d4)](_0x3d54ac[_0x5830b6(0x1ed)])[_0x5830b6(0x1ef)](_0x25040e=>(_0x3d54ac[_0x5830b6(0x1d7)](this),this[_0x5830b6(0x1d5)](_0x25040e)[_0x5830b6(0x1ef)](()=>{const _0x2137dd=_0x5830b6;for(const _0x172cd1 of _0x25040e){_0x178ec0[_0x2137dd(0x1ce)](_0x172cd1)[_0x2137dd(0x1cd)]=!0x0;}})));}async[_0x5ec6d1(0x1f4)](){const _0x1209d9=_0x5ec6d1,_0x1d56f9=this[_0x1209d9(0x1cb)][_0x1209d9(0x1c3)][_0x1209d9(0x1cc)](_0x1209d9(0x1da)),{connection:_0x569d6e}=this[_0x1209d9(0x1cb)][_0x1209d9(0x1c3)][_0x1209d9(0x1cc)](_0x295ec0),_0x2ba332=await this[_0x1209d9(0x1f6)][_0x1209d9(0x1d4)](_0x569d6e);await this[_0x1209d9(0x1d5)](_0x2ba332);for(const {suggestionData:_0x21d97a,resolve:_0xc35d7c}of this[_0x1209d9(0x1ee)][_0x1209d9(0x1d1)]()){let _0x3cc78a=_0x2ba332[_0x1209d9(0x1c9)](_0x54fb9d=>_0x54fb9d['id']===_0x21d97a['id']);_0x3cc78a||(_0x3cc78a=await this[_0x1209d9(0x1f6)][_0x1209d9(0x1fa)](_0x21d97a['id'],_0x21d97a[_0x1209d9(0x201)],_0x21d97a[_0x1209d9(0x1e1)],_0x21d97a[_0x1209d9(0x1e5)])),_0xc35d7c(_0x3cc78a);}for(const _0x15f792 of _0x2ba332)_0x1d56f9[_0x1209d9(0x1eb)](_0x15f792['id'])||_0x1d56f9[_0x1209d9(0x1ce)](_0x15f792);}async[_0x5ec6d1(0x1d9)](){const _0x264b28=_0x5ec6d1;this[_0x264b28(0x1f6)][_0x264b28(0x1c4)]||await new Promise(_0x21f3d1=>{const _0x228f86=_0x264b28;this[_0x228f86(0x1e2)](this[_0x228f86(0x1f6)],_0x228f86(0x1fe),_0x686645=>{const _0x1bc80a=_0x228f86;_0x686645[_0x1bc80a(0x1c8)](),_0x21f3d1();});});}async[_0x5ec6d1(0x1d5)](_0x543024){const _0x4358b8=_0x5ec6d1,_0x56b85f=this[_0x4358b8(0x1cb)][_0x4358b8(0x1c3)][_0x4358b8(0x1cc)](_0x2d2bf5),{connection:_0x23be26}=this[_0x4358b8(0x1cb)][_0x4358b8(0x1c3)][_0x4358b8(0x1cc)](_0x295ec0),_0xf56b9=new Set();for(const {authorId:_0x3038bc}of _0x543024)_0x56b85f[_0x4358b8(0x1fd)](_0x3038bc)||_0xf56b9[_0x4358b8(0x1fa)](_0x3038bc);if(0x0===_0xf56b9[_0x4358b8(0x1d2)])return;const _0x2ad8d2=await _0x970d45[_0x4358b8(0x1f2)](_0x23be26,Array[_0x4358b8(0x1c7)](_0xf56b9));for(const _0x95bf94 of _0x2ad8d2)_0x56b85f[_0x4358b8(0x1fd)](_0x95bf94['id'])||_0x56b85f[_0x4358b8(0x1fb)](_0x95bf94);}}function _0x4b41(){const _0x211c9f=['1596576UEjgEo','data','listenTo','72yXpXwt','config','originalSuggestionId','requires','CloudServicesTrackChangesAdapter','state','cloud-services-internal-error:\x20Not\x20connected.','66303USeCit','hasSuggestion','attributes','connection','_bufferedRequests','then','1256gtNAOV','set','getMany','catch','reconnect','25109VImndm','_trackChangesService','collaboration.channelId','2450016zrzzWt','580bHFkLj','add','addUser','message','getUser','connected','179233NWZifk','init','type','isPremiumPlugin','plugins','isConnected','cloud-services-internal-error:\x20Request\x20timeout.','TrackChangesService','from','off','find','open','editor','get','_saved','addSuggestionData','update','adapter','values','size','getSuggestion','connect','_fetchMissingUsersForThreads','1128806fAJyFd','addToReconnectionStack','startsWith','_waitForServiceReady','TrackChangesEditing','suggestionUpdated','pluginName','113845FOgksz','delete','isOfficialPlugin'];_0x4b41=function(){return _0x211c9f;};return _0x4b41();}f[_0x5ec6d1(0x1c6)]=_0x874728;export default f;function nt(_0x204e91){if(M(_0x204e91))return new Promise(()=>{});throw _0x204e91;}function M(_0x1cdf1a){const _0x47c8b5=_0x5ec6d1;return _0x1cdf1a[_0x47c8b5(0x1fc)][_0x47c8b5(0x1d8)](_0x47c8b5(0x1e9))||_0x1cdf1a[_0x47c8b5(0x1fc)][_0x47c8b5(0x1d8)](_0x47c8b5(0x1c5));}
23
+ const _0x128d4e=_0x5ec7;(function(_0x571283,_0x469249){const _0x3c4f71=_0x5ec7,_0x3ca41a=_0x571283();while(!![]){try{const _0x3c804a=parseInt(_0x3c4f71(0x1fd))/0x1+parseInt(_0x3c4f71(0x225))/0x2*(-parseInt(_0x3c4f71(0x21a))/0x3)+-parseInt(_0x3c4f71(0x206))/0x4*(-parseInt(_0x3c4f71(0x205))/0x5)+parseInt(_0x3c4f71(0x210))/0x6*(parseInt(_0x3c4f71(0x220))/0x7)+-parseInt(_0x3c4f71(0x1f5))/0x8*(parseInt(_0x3c4f71(0x22a))/0x9)+-parseInt(_0x3c4f71(0x202))/0xa*(-parseInt(_0x3c4f71(0x221))/0xb)+parseInt(_0x3c4f71(0x1fa))/0xc*(-parseInt(_0x3c4f71(0x22d))/0xd);if(_0x3c804a===_0x469249)break;else _0x3ca41a['push'](_0x3ca41a['shift']());}catch(_0x475156){_0x3ca41a['push'](_0x3ca41a['shift']());}}}(_0x4389,0x6e029));import{Plugin as _0x26d790}from'ckeditor5/src/core.js';import{User as _0x3d0761,TrackChangesService as _0x17fb8a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x56ab00 from'../realtimecollaborativeediting/websocketgateway.js';function _0x4389(){const _0x1f96b7=['startsWith','209853ZHTGcw','TrackChangesEditing','isConnected','13oyYyMd','find','addUser','originalSuggestionId','isPremiumPlugin','editor','plugins','CloudServicesTrackChangesAdapter','catch','getMany','message','24akUMgN','cloud-services-internal-error:\x20Not\x20connected.','values','reconnect','adapter','23356236SyxdbY','_fetchMissingUsersForThreads','connect','696816tbKAWC','collaboration.channelId','_waitForServiceReady','TrackChangesService','then','41990Cktrpl','cloud-services-internal-error:\x20Request\x20timeout.','delete','5HNoYNh','3491212ZZzOyw','get','connected','_saved','getSuggestion','from','attributes','init','config','addToReconnectionStack','6XLtXsz','connection','suggestionUpdated','addSuggestionData','listenTo','pluginName','size','_bufferedRequests','data','state','240YKbcHK','update','_trackChangesService','open','isOfficialPlugin','getUser','3124891SWPuzx','1397IPBUSy','set','off','requires','2060vPFOfx','add','hasSuggestion','type'];_0x4389=function(){return _0x1f96b7;};return _0x4389();}function _0x5ec7(_0x3e1692,_0x7cfbd7){const _0x4389b7=_0x4389();return _0x5ec7=function(_0x5ec775,_0xa42e51){_0x5ec775=_0x5ec775-0x1f1;let _0x578e63=_0x4389b7[_0x5ec775];return _0x578e63;},_0x5ec7(_0x3e1692,_0x7cfbd7);}import _0x538157 from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0xdf2205}from'ckeditor5-collaboration/src/collaboration-core.js';class f extends _0x26d790{static get[_0x128d4e(0x224)](){const _0x4163e2=_0x128d4e;return[_0x538157,_0x4163e2(0x22b),_0x56ab00];}static get[_0x128d4e(0x215)](){const _0x506bad=_0x128d4e;return _0x506bad(0x1f1);}static get[_0x128d4e(0x21e)](){return!0x0;}static get[_0x128d4e(0x231)](){return!0x0;}constructor(_0x17197c){const _0x2617c8=_0x128d4e;super(_0x17197c);const _0x4937f9=this[_0x2617c8(0x232)][_0x2617c8(0x20e)][_0x2617c8(0x207)](_0x2617c8(0x1fe));this[_0x2617c8(0x217)]=new Map(),this[_0x2617c8(0x21c)]=new f[(_0x2617c8(0x200))](_0x4937f9);}[_0x128d4e(0x20d)](){const _0x573ec2=_0x128d4e,_0x4eb7e9=this[_0x573ec2(0x232)][_0x573ec2(0x233)][_0x573ec2(0x207)](_0x56ab00),_0x3bd13d=this[_0x573ec2(0x232)][_0x573ec2(0x233)][_0x573ec2(0x207)](_0x573ec2(0x22b));return _0x3bd13d[_0x573ec2(0x1f9)]={'getSuggestion':async _0x2cd3a1=>{const _0x3e6f87=_0x573ec2;await this[_0x3e6f87(0x1ff)]();const _0x48cd57=await this[_0x3e6f87(0x21c)][_0x3e6f87(0x207)](_0x2cd3a1)[_0x3e6f87(0x1f2)](R);return await this[_0x3e6f87(0x1fb)]([_0x48cd57]),_0x48cd57;},'addSuggestion':async({id:_0x43d72c,type:_0x487d3f,data:_0x102374,originalSuggestionId:_0x49481f,attributes:_0x3d6386})=>{const _0x56676f=_0x573ec2;await this[_0x56676f(0x1ff)]();const _0x6f914f={'id':_0x43d72c,'type':_0x487d3f,'data':_0x102374,'originalSuggestionId':_0x49481f,'attributes':_0x3d6386},_0x2f3144=await this[_0x56676f(0x21c)][_0x56676f(0x226)](_0x43d72c,_0x487d3f,_0x102374,_0x49481f,_0x3d6386)[_0x56676f(0x1f2)](_0x19fb05=>{if(U(_0x19fb05))return new Promise(_0x15495e=>{const _0x2c71bb=_0x5ec7;this[_0x2c71bb(0x217)][_0x2c71bb(0x222)](_0x43d72c,{'resolve':_0x15495e,'suggestionData':_0x6f914f});});throw _0x19fb05;});return this[_0x56676f(0x217)][_0x56676f(0x204)](_0x43d72c),_0x2f3144;},'updateSuggestion':async(_0x369467,_0x1f5242)=>{const _0x2ec117=_0x573ec2;if(await this[_0x2ec117(0x1ff)](),_0x2ec117(0x21d)!==_0x1f5242[_0x2ec117(0x219)])return this[_0x2ec117(0x21c)][_0x2ec117(0x21b)](_0x369467,_0x1f5242)[_0x2ec117(0x1f2)](R);}},this[_0x573ec2(0x214)](this[_0x573ec2(0x21c)],_0x573ec2(0x212),(_0x45eec8,_0x2e7542)=>{const _0x55ed06=_0x573ec2;_0x3bd13d[_0x55ed06(0x227)](_0x2e7542['id'])&&(_0x3bd13d[_0x55ed06(0x20a)](_0x2e7542['id'])[_0x55ed06(0x20c)]=_0x2e7542[_0x55ed06(0x20c)]);}),this[_0x573ec2(0x21c)][_0x573ec2(0x1fc)](_0x4eb7e9[_0x573ec2(0x211)])[_0x573ec2(0x201)](_0x51fe09=>(_0x4eb7e9[_0x573ec2(0x20f)](this),this[_0x573ec2(0x1fb)](_0x51fe09)[_0x573ec2(0x201)](()=>{const _0x241810=_0x573ec2;for(const _0x4c034e of _0x51fe09){_0x3bd13d[_0x241810(0x213)](_0x4c034e)[_0x241810(0x209)]=!0x0;}})));}async[_0x128d4e(0x1f8)](){const _0x2d3beb=_0x128d4e,_0x1c81dd=this[_0x2d3beb(0x232)][_0x2d3beb(0x233)][_0x2d3beb(0x207)](_0x2d3beb(0x22b)),{connection:_0x3e4bc9}=this[_0x2d3beb(0x232)][_0x2d3beb(0x233)][_0x2d3beb(0x207)](_0x56ab00),_0x1d3e6d=await this[_0x2d3beb(0x21c)][_0x2d3beb(0x1fc)](_0x3e4bc9);await this[_0x2d3beb(0x1fb)](_0x1d3e6d);for(const {suggestionData:_0x25d7bb,resolve:_0x2d990a}of this[_0x2d3beb(0x217)][_0x2d3beb(0x1f7)]()){let _0x4b2525=_0x1d3e6d[_0x2d3beb(0x22e)](_0x1d4a0f=>_0x1d4a0f['id']===_0x25d7bb['id']);_0x4b2525||(_0x4b2525=await this[_0x2d3beb(0x21c)][_0x2d3beb(0x226)](_0x25d7bb['id'],_0x25d7bb[_0x2d3beb(0x228)],_0x25d7bb[_0x2d3beb(0x218)],_0x25d7bb[_0x2d3beb(0x230)])),_0x2d990a(_0x4b2525);}for(const _0x41aed8 of _0x1d3e6d)_0x1c81dd[_0x2d3beb(0x227)](_0x41aed8['id'])||_0x1c81dd[_0x2d3beb(0x213)](_0x41aed8);}async[_0x128d4e(0x1ff)](){const _0x31915c=_0x128d4e;this[_0x31915c(0x21c)][_0x31915c(0x22c)]||await new Promise(_0x57fe7a=>{const _0x530c68=_0x31915c;this[_0x530c68(0x214)](this[_0x530c68(0x21c)],_0x530c68(0x208),_0x411fba=>{const _0x562642=_0x530c68;_0x411fba[_0x562642(0x223)](),_0x57fe7a();});});}async[_0x128d4e(0x1fb)](_0x1a6120){const _0x2253cc=_0x128d4e,_0x5c2789=this[_0x2253cc(0x232)][_0x2253cc(0x233)][_0x2253cc(0x207)](_0xdf2205),{connection:_0x4a4ce6}=this[_0x2253cc(0x232)][_0x2253cc(0x233)][_0x2253cc(0x207)](_0x56ab00),_0x4ec617=new Set();for(const {authorId:_0x5279cb}of _0x1a6120)_0x5c2789[_0x2253cc(0x21f)](_0x5279cb)||_0x4ec617[_0x2253cc(0x226)](_0x5279cb);if(0x0===_0x4ec617[_0x2253cc(0x216)])return;const _0x326c7a=await _0x3d0761[_0x2253cc(0x1f3)](_0x4a4ce6,Array[_0x2253cc(0x20b)](_0x4ec617));for(const _0x2c4bcc of _0x326c7a)_0x5c2789[_0x2253cc(0x21f)](_0x2c4bcc['id'])||_0x5c2789[_0x2253cc(0x22f)](_0x2c4bcc);}}f[_0x128d4e(0x200)]=_0x17fb8a;export default f;function R(_0x508182){if(U(_0x508182))return new Promise(()=>{});throw _0x508182;}function U(_0x24f826){const _0x3f07b7=_0x128d4e;return _0x24f826[_0x3f07b7(0x1f4)][_0x3f07b7(0x229)](_0x3f07b7(0x1f6))||_0x24f826[_0x3f07b7(0x1f4)][_0x3f07b7(0x229)](_0x3f07b7(0x203));}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
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
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x19b703=_0x3f58;function _0x3f58(_0x362174,_0x1cbcb9){var _0x433e20=_0x433e();return _0x3f58=function(_0x3f5871,_0x53dea9){_0x3f5871=_0x3f5871-0x6a;var _0x23a961=_0x433e20[_0x3f5871];return _0x23a961;},_0x3f58(_0x362174,_0x1cbcb9);}(function(_0x18e433,_0xcf28d5){var _0x41f23c=_0x3f58,_0x4a8fae=_0x18e433();while(!![]){try{var _0x5322d7=parseInt(_0x41f23c(0x72))/0x1+parseInt(_0x41f23c(0x6f))/0x2+parseInt(_0x41f23c(0x75))/0x3*(parseInt(_0x41f23c(0x6e))/0x4)+parseInt(_0x41f23c(0x77))/0x5*(-parseInt(_0x41f23c(0x71))/0x6)+parseInt(_0x41f23c(0x73))/0x7+-parseInt(_0x41f23c(0x6d))/0x8+-parseInt(_0x41f23c(0x70))/0x9;if(_0x5322d7===_0xcf28d5)break;else _0x4a8fae['push'](_0x4a8fae['shift']());}catch(_0x37bb88){_0x4a8fae['push'](_0x4a8fae['shift']());}}}(_0x433e,0xb4ec0));import{Plugin as _0x463430}from'ckeditor5/src/core.js';import _0x2f0611 from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';function _0x433e(){var _0x1e3c53=['isPremiumPlugin','128985iDxZYS','requires','isOfficialPlugin','TrackChanges','RealTimeCollaborativeTrackChanges','2520624oVPgKF','273832khMJVs','1987206PfUWcH','29337138AwEujf','48eZTaZz','1481318ovZAdB','9538837FttMPV','pluginName','30yOTFvE'];_0x433e=function(){return _0x1e3c53;};return _0x433e();}import _0x2fdd86 from'./realtimecollaborativecomments.js';export default class p extends _0x463430{static get[_0x19b703(0x78)](){var _0x28a61f=_0x19b703;return[_0x2fdd86,_0x2f0611,_0x28a61f(0x6b)];}static get[_0x19b703(0x74)](){var _0x218875=_0x19b703;return _0x218875(0x6c);}static get[_0x19b703(0x6a)](){return!0x0;}static get[_0x19b703(0x76)](){return!0x0;}}
23
+ var _0x493631=_0x5351;function _0x1ba3(){var _0x350268=['isPremiumPlugin','10DDcyWM','isOfficialPlugin','10MLeMrH','4945932OAqHrL','2315950VJhlsV','pluginName','1688UqqANU','27540106vvCBww','requires','TrackChanges','3771948sPZgth','2005564KIcRYf','1149412wyhztu','1434TqyzRN','RealTimeCollaborativeTrackChanges','8UBZEQo'];_0x1ba3=function(){return _0x350268;};return _0x1ba3();}(function(_0x4c8f16,_0x470b34){var _0x26d32e=_0x5351,_0x196446=_0x4c8f16();while(!![]){try{var _0x5b1690=parseInt(_0x26d32e(0xad))/0x1+parseInt(_0x26d32e(0xa7))/0x2*(-parseInt(_0x26d32e(0xae))/0x3)+-parseInt(_0x26d32e(0xac))/0x4*(-parseInt(_0x26d32e(0xb2))/0x5)+parseInt(_0x26d32e(0xab))/0x6+parseInt(_0x26d32e(0xa5))/0x7*(parseInt(_0x26d32e(0xb0))/0x8)+parseInt(_0x26d32e(0xa4))/0x9+parseInt(_0x26d32e(0xa3))/0xa*(-parseInt(_0x26d32e(0xa8))/0xb);if(_0x5b1690===_0x470b34)break;else _0x196446['push'](_0x196446['shift']());}catch(_0x54ee61){_0x196446['push'](_0x196446['shift']());}}}(_0x1ba3,0xb81fc));function _0x5351(_0x9cdbfb,_0x4e234f){var _0x1ba360=_0x1ba3();return _0x5351=function(_0x535111,_0x2b9fcd){_0x535111=_0x535111-0xa3;var _0x51ae40=_0x1ba360[_0x535111];return _0x51ae40;},_0x5351(_0x9cdbfb,_0x4e234f);}import{Plugin as _0xf0a034}from'ckeditor5/src/core.js';import _0x260ab7 from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import _0x1cd776 from'./realtimecollaborativecomments.js';export default class p extends _0xf0a034{static get[_0x493631(0xa9)](){var _0x46663c=_0x493631;return[_0x1cd776,_0x260ab7,_0x46663c(0xaa)];}static get[_0x493631(0xa6)](){var _0x578028=_0x493631;return _0x578028(0xaf);}static get[_0x493631(0xb3)](){return!0x0;}static get[_0x493631(0xb1)](){return!0x0;}}
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
 
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
 
@@ -1,75 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- import type { PresenceListConfig } from './config.js';
10
- import type { RealTimeCollaborativeEditing, RealTimeCollaborativeTrackChanges, RealTimeCollaborativeComments, RealTimeCollaborativeRevisionHistory, CloudServicesCommentsAdapter, CloudServicesTrackChangesAdapter, CloudServicesRevisionHistoryAdapter, RealTimeCollaborationClient } from './index.js';
11
- declare module '@ckeditor/ckeditor5-core' {
12
- interface EditorConfig {
13
- presenceList?: PresenceListConfig;
14
- }
15
- interface PluginsMap {
16
- [RealTimeCollaborativeEditing.pluginName]: RealTimeCollaborativeEditing;
17
- [RealTimeCollaborativeTrackChanges.pluginName]: RealTimeCollaborativeTrackChanges;
18
- [RealTimeCollaborativeComments.pluginName]: RealTimeCollaborativeComments;
19
- [RealTimeCollaborativeRevisionHistory.pluginName]: RealTimeCollaborativeRevisionHistory;
20
- [CloudServicesCommentsAdapter.pluginName]: CloudServicesCommentsAdapter;
21
- [CloudServicesTrackChangesAdapter.pluginName]: CloudServicesTrackChangesAdapter;
22
- [CloudServicesRevisionHistoryAdapter.pluginName]: CloudServicesRevisionHistoryAdapter;
23
- [RealTimeCollaborationClient.pluginName]: RealTimeCollaborationClient;
24
- }
25
- }
26
- declare module '@ckeditor/ckeditor5-cloud-services' {
27
- interface CloudServicesConfig {
28
- /**
29
- * The timeout (in seconds) for the connection. Defaults to 10.
30
- *
31
- * If the connection will not be established after the specified number of second passes, the editor will throw an error.
32
- *
33
- * Raise this value if you are experiencing connection timeout problems.
34
- *
35
- * ```ts
36
- * ClassicEditor
37
- * .create( {
38
- * cloudServices: {
39
- * connectionTimeout: 20,
40
- * // ...
41
- * }
42
- * } )
43
- * .then( ... )
44
- * .catch( ... );
45
- * ```
46
- */
47
- connectionTimeout?: number;
48
- /**
49
- * The timeout (in seconds) for each request send to the Cloud Services. Defaults to 20.
50
- *
51
- * If the request is not finished after the specified number of second passes, the editor will throw an error.
52
- *
53
- * Raise this value if you expect that your requests will be big
54
- * (e.g. mostly concerns the document data and the initial request).
55
- *
56
- * ```ts
57
- * ClassicEditor
58
- * .create( {
59
- * cloudServices: {
60
- * requestTimeout: 40,
61
- * // ...
62
- * }
63
- * } )
64
- * .then( ... )
65
- * .catch( ... );
66
- * ```
67
- */
68
- requestTimeout?: number;
69
- }
70
- }
71
- declare module 'ckeditor5-collaboration/src/collaboration-core' {
72
- interface User {
73
- orderNumber?: number;
74
- }
75
- }
@@ -1,13 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- /**
10
- * @module real-time-collaboration/common-translations
11
- */
12
- import type { Locale } from 'ckeditor5/src/utils.js';
13
- export declare function getTranslation(locale: Locale, id: string, values?: Array<string> | number): string;
package/dist/config.d.ts DELETED
@@ -1,52 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- import type { User } from 'ckeditor5-collaboration/src/collaboration-core.js';
10
- /**
11
- * @module real-time-collaboration/config
12
- * @publicApi
13
- */
14
- /**
15
- * The configuration of the real-time collaboration features.
16
- *
17
- * ```ts
18
- * ClassicEditor
19
- * .create( {
20
- * presenceList: ... // Collaboration presence list configuration.
21
- * } )
22
- * .then( ... )
23
- * .catch( ... );
24
- * ```
25
- *
26
- * See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
27
- */
28
- export interface PresenceListConfig {
29
- /**
30
- * Indicates a number of displayed users at which the presence list will switch to a dropdown view.
31
- * If the number is 8, then 7 users will still be displayed inline, while 8+ users will be displayed in the dropdown.
32
- *
33
- * The number must be greater than `0`.
34
- *
35
- * @default 6
36
- */
37
- collapseAt?: number;
38
- /**
39
- * DOM element that will hold the feature’s UI.
40
- */
41
- container?: HTMLElement;
42
- /**
43
- * Determines if the local user avatar should be displayed in the presence list (`true`) or not (`false`).
44
- *
45
- * @default true
46
- */
47
- displayMe?: boolean;
48
- /**
49
- * Callback function that will be invoked after a click on a presence list member.
50
- */
51
- onClick?: (user: User, element: HTMLElement) => void;
52
- }
package/dist/index.d.ts DELETED
@@ -1,18 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- export { default as RealTimeCollaborativeEditing } from './realtimecollaborativeediting.js';
10
- export { default as RealTimeCollaborativeTrackChanges } from './realtimecollaborativetrackchanges.js';
11
- export { default as RealTimeCollaborativeComments } from './realtimecollaborativecomments.js';
12
- export { default as RealTimeCollaborativeRevisionHistory } from './realtimecollaborativerevisionhistory.js';
13
- export { default as CloudServicesCommentsAdapter } from './realtimecollaborativecomments/cloudservicescommentsadapter.js';
14
- export { default as CloudServicesTrackChangesAdapter } from './realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';
15
- export { default as CloudServicesRevisionHistoryAdapter } from './realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';
16
- export { default as RealTimeCollaborationClient } from './realtimecollaborativeediting/realtimecollaborationclient.js';
17
- export { default as PresenceList } from './presencelist.js';
18
- import './augmentation.js';
@@ -1,51 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- /**
10
- * @module real-time-collaboration/presencelist/presencelistui
11
- * @publicApi
12
- */
13
- import { ContextPlugin, type Context, type Editor } from 'ckeditor5/src/core.js';
14
- import Sessions from '../realtimecollaborativeediting/sessions.js';
15
- /**
16
- * The `PresenceListUI` plugin is a part of the {@link module:real-time-collaboration/presencelist~PresenceList}
17
- * and handles the UI part of the plugin.
18
- *
19
- * The presence list UI has two main modes of displaying users list:
20
- *
21
- * * inline (default), which shows users next to each other, and
22
- * * collapsed, which shows users in a dropdown.
23
- *
24
- * By default, the list also displays the {@link module:collaboration-core/users~Users#me local user}.
25
- */
26
- export default class PresenceListUI extends ContextPlugin {
27
- /**
28
- * @inheritDoc
29
- */
30
- constructor(context: Context | Editor);
31
- /**
32
- * @inheritDoc
33
- */
34
- static get requires(): readonly [typeof Sessions];
35
- /**
36
- * @inheritDoc
37
- */
38
- init(): void;
39
- /**
40
- * Creates and shows dropdown list with all connected users.
41
- */
42
- showDropdown(): void;
43
- /**
44
- * Hides and destroys dropdown list with all connected users.
45
- */
46
- hideDropdown(): void;
47
- /**
48
- * @inheritDoc
49
- */
50
- destroy(): void;
51
- }
@@ -1,15 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- import { View } from 'ckeditor5/src/ui.js';
10
- import type { Locale } from 'ckeditor5/src/utils.js';
11
- export default class PresenceCounterView extends View {
12
- usersCount: number;
13
- isHidden: boolean;
14
- constructor(locale: Locale);
15
- }
@@ -1,19 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- import { ListItemView } from 'ckeditor5/src/ui.js';
10
- import type { Locale } from 'ckeditor5/src/utils.js';
11
- import { UserView, type User } from 'ckeditor5-collaboration/src/collaboration-core.js';
12
- export default class PresenceDropdownListItemView extends ListItemView {
13
- userView: UserView;
14
- constructor(locale: Locale, user: User, isButton: boolean);
15
- /**
16
- * Focuses the list item.
17
- */
18
- focus(): void;
19
- }
@@ -1,36 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- /**
10
- * @module real-time-collaboration/presencelist/view/presencedropdownlistview
11
- * @publicApi
12
- */
13
- import { ListView, View } from 'ckeditor5/src/ui.js';
14
- import { type Locale } from 'ckeditor5/src/utils.js';
15
- /**
16
- * `PresenceDropdownListView` is a view that represents the dropdown variant of users list.
17
- *
18
- * It is displayed when the user count is equal to or greater than the value specified in
19
- * {@link module:real-time-collaboration/config~PresenceListConfig#collapseAt `config.presenceList.collapseAt`}.
20
- */
21
- export default class PresenceDropdownListView extends View {
22
- /**
23
- * @inheritDoc
24
- */
25
- constructor(locale: Locale, isButtonsList?: boolean);
26
- }
27
- /**
28
- * Wrapper view for the presence dropdown list.
29
- */
30
- export declare class PresenceDropdownListWrapperView extends ListView {
31
- constructor(locale: Locale, isButtonsList?: boolean);
32
- /**
33
- * @inheritDoc
34
- */
35
- render(): void;
36
- }
@@ -1,23 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- import { View } from 'ckeditor5/src/ui.js';
10
- import type { Locale } from 'ckeditor5/src/utils.js';
11
- import { UserView, type User } from 'ckeditor5-collaboration/src/collaboration-core.js';
12
- export default class PresenceInlineListItemView extends View {
13
- isFocusable: boolean;
14
- hasTooltip: boolean;
15
- tooltipPosition: string;
16
- userView: UserView;
17
- markerView: MarkerView;
18
- constructor(locale: Locale, user: User, isButton: boolean);
19
- }
20
- declare class MarkerView extends View {
21
- constructor(locale: Locale, user: User);
22
- }
23
- export {};
@@ -1,38 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- import { View, type FocusableView, type ViewCollection } from 'ckeditor5/src/ui.js';
10
- import type PresenceInlineListItemView from './presenceinlinelistitemview.js';
11
- import { KeystrokeHandler, type Locale } from 'ckeditor5/src/utils.js';
12
- export default class PresenceInlineListView extends View implements FocusableView {
13
- /**
14
- * The collection of `PresenceInlineListItemView` instances.
15
- */
16
- readonly items: ViewCollection<PresenceInlineListItemView>;
17
- /**
18
- * The keystroke handler for the presence inline list view.
19
- */
20
- readonly keystrokes: KeystrokeHandler;
21
- /**
22
- * Indicates whether the element has popup.
23
- */
24
- hasPopup: boolean;
25
- /**
26
- * Indicates whether the presence inline list view is expanded or not.
27
- */
28
- isExpanded: boolean;
29
- constructor(locale: Locale);
30
- /**
31
- * @inheritDoc
32
- */
33
- focus(): void;
34
- /**
35
- * @inheritDoc
36
- */
37
- render(): void;
38
- }
@@ -1,24 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- /**
10
- * @module real-time-collaboration/presencelist/view/presencelistview
11
- * @publicApi
12
- */
13
- import { View } from 'ckeditor5/src/ui.js';
14
- import type { Locale } from 'ckeditor5/src/utils.js';
15
- import '../../../theme/presencelist.css';
16
- /**
17
- * `PresenceListView` is the default view for the presence list. It shows the inline list of users, and an optional user counter.
18
- */
19
- export default class PresenceListView extends View {
20
- /**
21
- * @inheritDoc
22
- */
23
- constructor(locale: Locale);
24
- }
@@ -1,40 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- /**
10
- * @module real-time-collaboration/presencelist
11
- * @publicApi
12
- */
13
- import { ContextPlugin } from 'ckeditor5/src/core.js';
14
- import Sessions from './realtimecollaborativeediting/sessions.js';
15
- import PresenceListUI from './presencelist/presencelistui.js';
16
- /**
17
- * The `PresenceList` plugin provides a UI which displays all {@link module:collaboration-core/users~Users users} that are
18
- * currently connected to the edited document. The users are displayed as a row of avatars.
19
- * The information about the users is provided by {@glink @cs developer-resources/security/token-endpoint#user CKEditor Cloud Services}.
20
- *
21
- * The presence list UI collapses to a dropdown if six or more users are connected.
22
- */
23
- export default class PresenceList extends ContextPlugin {
24
- /**
25
- * @inheritDoc
26
- */
27
- static get requires(): readonly [typeof Sessions, typeof PresenceListUI];
28
- /**
29
- * @inheritDoc
30
- */
31
- static get pluginName(): "PresenceList";
32
- /**
33
- * @inheritDoc
34
- */
35
- static get isOfficialPlugin(): true;
36
- /**
37
- * @inheritDoc
38
- */
39
- static get isPremiumPlugin(): true;
40
- }
@@ -1,64 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- /**
10
- * @module real-time-collaboration/realtimecollaborativecomments/cloudservicescommentsadapter
11
- * @publicApi
12
- */
13
- import { Context, ContextPlugin, type Editor } from 'ckeditor5/src/core.js';
14
- import { Users } from 'ckeditor5-collaboration/src/collaboration-core.js';
15
- import { CommentsService } from '@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';
16
- import WebSocketGateway, { type ReconnectContextPlugin } from '../realtimecollaborativeediting/websocketgateway.js';
17
- import Sessions from '../realtimecollaborativeediting/sessions.js';
18
- /**
19
- * The Cloud Services Comments Adapter plugin.
20
- *
21
- * Visit the {@glink features/collaboration/context-and-collaboration-features Context and Collaboration Features} guide
22
- * to learn how to use it.
23
- */
24
- export default class CloudServicesCommentsAdapter extends ContextPlugin implements ReconnectContextPlugin {
25
- static CommentsService: typeof CommentsService;
26
- /**
27
- * @inheritDoc
28
- */
29
- static get requires(): readonly [typeof WebSocketGateway, "CommentsRepository", typeof Sessions, typeof Users];
30
- /**
31
- * @inheritDoc
32
- */
33
- static get pluginName(): "CloudServicesCommentsAdapter";
34
- /**
35
- * @inheritDoc
36
- */
37
- static get isOfficialPlugin(): true;
38
- /**
39
- * @inheritDoc
40
- */
41
- static get isPremiumPlugin(): true;
42
- /**
43
- * @inheritDoc
44
- */
45
- constructor(context: Editor | Context);
46
- /**
47
- * @inheritDoc
48
- */
49
- init(): Promise<void>;
50
- /**
51
- * @inheritDoc
52
- */
53
- destroy(): void;
54
- /**
55
- * A method that will be executed when the `WebSocketGateway` will reconnect.
56
- */
57
- reconnect(): Promise<void>;
58
- /**
59
- * It connects a service for the given channel ID to the WebSocket and synchronizes local comments (`CommentsRepository`)
60
- * with remote comments (the `service.connect()`'s response).
61
- */
62
- private _connectService;
63
- private _fetchMissingUsersForThreads;
64
- }