@ckeditor/ckeditor5-real-time-collaboration 0.0.0-internal-20241017.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 (311) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/LICENSE.md +25 -0
  3. package/README.md +41 -0
  4. package/build/real-time-collaboration.js +5 -0
  5. package/build/translations/ar.js +1 -0
  6. package/build/translations/bg.js +1 -0
  7. package/build/translations/bn.js +1 -0
  8. package/build/translations/ca.js +1 -0
  9. package/build/translations/cs.js +1 -0
  10. package/build/translations/da.js +1 -0
  11. package/build/translations/de-ch.js +1 -0
  12. package/build/translations/de.js +1 -0
  13. package/build/translations/el.js +1 -0
  14. package/build/translations/en-au.js +1 -0
  15. package/build/translations/es.js +1 -0
  16. package/build/translations/et.js +1 -0
  17. package/build/translations/fa.js +1 -0
  18. package/build/translations/fi.js +1 -0
  19. package/build/translations/fr.js +1 -0
  20. package/build/translations/gl.js +1 -0
  21. package/build/translations/he.js +1 -0
  22. package/build/translations/hi.js +1 -0
  23. package/build/translations/hr.js +1 -0
  24. package/build/translations/hu.js +1 -0
  25. package/build/translations/id.js +1 -0
  26. package/build/translations/it.js +1 -0
  27. package/build/translations/ja.js +1 -0
  28. package/build/translations/ko.js +1 -0
  29. package/build/translations/lt.js +1 -0
  30. package/build/translations/lv.js +1 -0
  31. package/build/translations/ms.js +1 -0
  32. package/build/translations/nl.js +1 -0
  33. package/build/translations/no.js +1 -0
  34. package/build/translations/pl.js +1 -0
  35. package/build/translations/pt-br.js +1 -0
  36. package/build/translations/pt.js +1 -0
  37. package/build/translations/ro.js +1 -0
  38. package/build/translations/ru.js +1 -0
  39. package/build/translations/sk.js +1 -0
  40. package/build/translations/sr-latn.js +1 -0
  41. package/build/translations/sr.js +1 -0
  42. package/build/translations/sv.js +1 -0
  43. package/build/translations/th.js +1 -0
  44. package/build/translations/tk.js +1 -0
  45. package/build/translations/tr.js +1 -0
  46. package/build/translations/uk.js +1 -0
  47. package/build/translations/vi.js +1 -0
  48. package/build/translations/zh-cn.js +1 -0
  49. package/build/translations/zh.js +1 -0
  50. package/ckeditor5-metadata.json +87 -0
  51. package/dist/augmentation.d.ts +68 -0
  52. package/dist/common-translations.d.ts +13 -0
  53. package/dist/config.d.ts +52 -0
  54. package/dist/index-content.css +5 -0
  55. package/dist/index-editor.css +321 -0
  56. package/dist/index.css +423 -0
  57. package/dist/index.d.ts +18 -0
  58. package/dist/index.js +28 -0
  59. package/dist/presencelist/presencelistui.d.ts +51 -0
  60. package/dist/presencelist/view/presencecounterview.d.ts +15 -0
  61. package/dist/presencelist/view/presencedropdownlistitemview.d.ts +19 -0
  62. package/dist/presencelist/view/presencedropdownlistview.d.ts +36 -0
  63. package/dist/presencelist/view/presenceinlinelistitemview.d.ts +23 -0
  64. package/dist/presencelist/view/presenceinlinelistview.d.ts +38 -0
  65. package/dist/presencelist/view/presencelistview.d.ts +24 -0
  66. package/dist/presencelist.d.ts +40 -0
  67. package/dist/realtimecollaborativecomments/cloudservicescommentsadapter.d.ts +64 -0
  68. package/dist/realtimecollaborativecomments.d.ts +48 -0
  69. package/dist/realtimecollaborativeediting/realtimecollaborationclient.d.ts +149 -0
  70. package/dist/realtimecollaborativeediting/sessions.d.ts +130 -0
  71. package/dist/realtimecollaborativeediting/usermarkers.d.ts +52 -0
  72. package/dist/realtimecollaborativeediting/websocketgateway.d.ts +67 -0
  73. package/dist/realtimecollaborativeediting.d.ts +38 -0
  74. package/dist/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.d.ts +49 -0
  75. package/dist/realtimecollaborativerevisionhistory.d.ts +41 -0
  76. package/dist/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.d.ts +43 -0
  77. package/dist/realtimecollaborativetrackchanges.d.ts +39 -0
  78. package/dist/translations/ar.d.ts +8 -0
  79. package/dist/translations/ar.js +23 -0
  80. package/dist/translations/ar.umd.js +23 -0
  81. package/dist/translations/bg.d.ts +8 -0
  82. package/dist/translations/bg.js +23 -0
  83. package/dist/translations/bg.umd.js +23 -0
  84. package/dist/translations/bn.d.ts +8 -0
  85. package/dist/translations/bn.js +23 -0
  86. package/dist/translations/bn.umd.js +23 -0
  87. package/dist/translations/ca.d.ts +8 -0
  88. package/dist/translations/ca.js +23 -0
  89. package/dist/translations/ca.umd.js +23 -0
  90. package/dist/translations/cs.d.ts +8 -0
  91. package/dist/translations/cs.js +23 -0
  92. package/dist/translations/cs.umd.js +23 -0
  93. package/dist/translations/da.d.ts +8 -0
  94. package/dist/translations/da.js +23 -0
  95. package/dist/translations/da.umd.js +23 -0
  96. package/dist/translations/de-ch.d.ts +8 -0
  97. package/dist/translations/de-ch.js +23 -0
  98. package/dist/translations/de-ch.umd.js +23 -0
  99. package/dist/translations/de.d.ts +8 -0
  100. package/dist/translations/de.js +23 -0
  101. package/dist/translations/de.umd.js +23 -0
  102. package/dist/translations/el.d.ts +8 -0
  103. package/dist/translations/el.js +23 -0
  104. package/dist/translations/el.umd.js +23 -0
  105. package/dist/translations/en-au.d.ts +8 -0
  106. package/dist/translations/en-au.js +23 -0
  107. package/dist/translations/en-au.umd.js +23 -0
  108. package/dist/translations/en.d.ts +8 -0
  109. package/dist/translations/en.js +23 -0
  110. package/dist/translations/en.umd.js +23 -0
  111. package/dist/translations/es.d.ts +8 -0
  112. package/dist/translations/es.js +23 -0
  113. package/dist/translations/es.umd.js +23 -0
  114. package/dist/translations/et.d.ts +8 -0
  115. package/dist/translations/et.js +23 -0
  116. package/dist/translations/et.umd.js +23 -0
  117. package/dist/translations/fa.d.ts +8 -0
  118. package/dist/translations/fa.js +23 -0
  119. package/dist/translations/fa.umd.js +23 -0
  120. package/dist/translations/fi.d.ts +8 -0
  121. package/dist/translations/fi.js +23 -0
  122. package/dist/translations/fi.umd.js +23 -0
  123. package/dist/translations/fr.d.ts +8 -0
  124. package/dist/translations/fr.js +23 -0
  125. package/dist/translations/fr.umd.js +23 -0
  126. package/dist/translations/gl.d.ts +8 -0
  127. package/dist/translations/gl.js +23 -0
  128. package/dist/translations/gl.umd.js +23 -0
  129. package/dist/translations/he.d.ts +8 -0
  130. package/dist/translations/he.js +23 -0
  131. package/dist/translations/he.umd.js +23 -0
  132. package/dist/translations/hi.d.ts +8 -0
  133. package/dist/translations/hi.js +23 -0
  134. package/dist/translations/hi.umd.js +23 -0
  135. package/dist/translations/hr.d.ts +8 -0
  136. package/dist/translations/hr.js +23 -0
  137. package/dist/translations/hr.umd.js +23 -0
  138. package/dist/translations/hu.d.ts +8 -0
  139. package/dist/translations/hu.js +23 -0
  140. package/dist/translations/hu.umd.js +23 -0
  141. package/dist/translations/id.d.ts +8 -0
  142. package/dist/translations/id.js +23 -0
  143. package/dist/translations/id.umd.js +23 -0
  144. package/dist/translations/it.d.ts +8 -0
  145. package/dist/translations/it.js +23 -0
  146. package/dist/translations/it.umd.js +23 -0
  147. package/dist/translations/ja.d.ts +8 -0
  148. package/dist/translations/ja.js +23 -0
  149. package/dist/translations/ja.umd.js +23 -0
  150. package/dist/translations/ko.d.ts +8 -0
  151. package/dist/translations/ko.js +23 -0
  152. package/dist/translations/ko.umd.js +23 -0
  153. package/dist/translations/lt.d.ts +8 -0
  154. package/dist/translations/lt.js +23 -0
  155. package/dist/translations/lt.umd.js +23 -0
  156. package/dist/translations/lv.d.ts +8 -0
  157. package/dist/translations/lv.js +23 -0
  158. package/dist/translations/lv.umd.js +23 -0
  159. package/dist/translations/ms.d.ts +8 -0
  160. package/dist/translations/ms.js +23 -0
  161. package/dist/translations/ms.umd.js +23 -0
  162. package/dist/translations/nl.d.ts +8 -0
  163. package/dist/translations/nl.js +23 -0
  164. package/dist/translations/nl.umd.js +23 -0
  165. package/dist/translations/no.d.ts +8 -0
  166. package/dist/translations/no.js +23 -0
  167. package/dist/translations/no.umd.js +23 -0
  168. package/dist/translations/pl.d.ts +8 -0
  169. package/dist/translations/pl.js +23 -0
  170. package/dist/translations/pl.umd.js +23 -0
  171. package/dist/translations/pt-br.d.ts +8 -0
  172. package/dist/translations/pt-br.js +23 -0
  173. package/dist/translations/pt-br.umd.js +23 -0
  174. package/dist/translations/pt.d.ts +8 -0
  175. package/dist/translations/pt.js +23 -0
  176. package/dist/translations/pt.umd.js +23 -0
  177. package/dist/translations/ro.d.ts +8 -0
  178. package/dist/translations/ro.js +23 -0
  179. package/dist/translations/ro.umd.js +23 -0
  180. package/dist/translations/ru.d.ts +8 -0
  181. package/dist/translations/ru.js +23 -0
  182. package/dist/translations/ru.umd.js +23 -0
  183. package/dist/translations/sk.d.ts +8 -0
  184. package/dist/translations/sk.js +23 -0
  185. package/dist/translations/sk.umd.js +23 -0
  186. package/dist/translations/sr-latn.d.ts +8 -0
  187. package/dist/translations/sr-latn.js +23 -0
  188. package/dist/translations/sr-latn.umd.js +23 -0
  189. package/dist/translations/sr.d.ts +8 -0
  190. package/dist/translations/sr.js +23 -0
  191. package/dist/translations/sr.umd.js +23 -0
  192. package/dist/translations/sv.d.ts +8 -0
  193. package/dist/translations/sv.js +23 -0
  194. package/dist/translations/sv.umd.js +23 -0
  195. package/dist/translations/th.d.ts +8 -0
  196. package/dist/translations/th.js +23 -0
  197. package/dist/translations/th.umd.js +23 -0
  198. package/dist/translations/tk.d.ts +8 -0
  199. package/dist/translations/tk.js +23 -0
  200. package/dist/translations/tk.umd.js +23 -0
  201. package/dist/translations/tr.d.ts +8 -0
  202. package/dist/translations/tr.js +23 -0
  203. package/dist/translations/tr.umd.js +23 -0
  204. package/dist/translations/uk.d.ts +8 -0
  205. package/dist/translations/uk.js +23 -0
  206. package/dist/translations/uk.umd.js +23 -0
  207. package/dist/translations/vi.d.ts +8 -0
  208. package/dist/translations/vi.js +23 -0
  209. package/dist/translations/vi.umd.js +23 -0
  210. package/dist/translations/zh-cn.d.ts +8 -0
  211. package/dist/translations/zh-cn.js +23 -0
  212. package/dist/translations/zh-cn.umd.js +23 -0
  213. package/dist/translations/zh.d.ts +8 -0
  214. package/dist/translations/zh.js +23 -0
  215. package/dist/translations/zh.umd.js +23 -0
  216. package/lang/contexts.json +12 -0
  217. package/lang/translations/ar.po +64 -0
  218. package/lang/translations/bg.po +60 -0
  219. package/lang/translations/bn.po +60 -0
  220. package/lang/translations/ca.po +60 -0
  221. package/lang/translations/cs.po +62 -0
  222. package/lang/translations/da.po +60 -0
  223. package/lang/translations/de-ch.po +60 -0
  224. package/lang/translations/de.po +60 -0
  225. package/lang/translations/el.po +60 -0
  226. package/lang/translations/en-au.po +60 -0
  227. package/lang/translations/en.po +60 -0
  228. package/lang/translations/es.po +61 -0
  229. package/lang/translations/et.po +60 -0
  230. package/lang/translations/fa.po +60 -0
  231. package/lang/translations/fi.po +60 -0
  232. package/lang/translations/fr.po +61 -0
  233. package/lang/translations/gl.po +60 -0
  234. package/lang/translations/he.po +61 -0
  235. package/lang/translations/hi.po +60 -0
  236. package/lang/translations/hr.po +61 -0
  237. package/lang/translations/hu.po +60 -0
  238. package/lang/translations/id.po +59 -0
  239. package/lang/translations/it.po +61 -0
  240. package/lang/translations/ja.po +59 -0
  241. package/lang/translations/ko.po +59 -0
  242. package/lang/translations/lt.po +62 -0
  243. package/lang/translations/lv.po +61 -0
  244. package/lang/translations/ms.po +59 -0
  245. package/lang/translations/nl.po +60 -0
  246. package/lang/translations/no.po +60 -0
  247. package/lang/translations/pl.po +62 -0
  248. package/lang/translations/pt-br.po +61 -0
  249. package/lang/translations/pt.po +61 -0
  250. package/lang/translations/ro.po +61 -0
  251. package/lang/translations/ru.po +62 -0
  252. package/lang/translations/sk.po +62 -0
  253. package/lang/translations/sr-latn.po +61 -0
  254. package/lang/translations/sr.po +61 -0
  255. package/lang/translations/sv.po +60 -0
  256. package/lang/translations/th.po +59 -0
  257. package/lang/translations/tk.po +60 -0
  258. package/lang/translations/tr.po +60 -0
  259. package/lang/translations/uk.po +62 -0
  260. package/lang/translations/vi.po +59 -0
  261. package/lang/translations/zh-cn.po +59 -0
  262. package/lang/translations/zh.po +59 -0
  263. package/package.json +57 -0
  264. package/src/augmentation.d.ts +64 -0
  265. package/src/augmentation.js +23 -0
  266. package/src/common-translations.d.ts +9 -0
  267. package/src/common-translations.js +23 -0
  268. package/src/config.d.ts +48 -0
  269. package/src/config.js +23 -0
  270. package/src/index.d.ts +14 -0
  271. package/src/index.js +23 -0
  272. package/src/presencelist/presencelistui.d.ts +47 -0
  273. package/src/presencelist/presencelistui.js +23 -0
  274. package/src/presencelist/view/presencecounterview.d.ts +11 -0
  275. package/src/presencelist/view/presencecounterview.js +23 -0
  276. package/src/presencelist/view/presencedropdownlistitemview.d.ts +15 -0
  277. package/src/presencelist/view/presencedropdownlistitemview.js +23 -0
  278. package/src/presencelist/view/presencedropdownlistview.d.ts +32 -0
  279. package/src/presencelist/view/presencedropdownlistview.js +23 -0
  280. package/src/presencelist/view/presenceinlinelistitemview.d.ts +19 -0
  281. package/src/presencelist/view/presenceinlinelistitemview.js +23 -0
  282. package/src/presencelist/view/presenceinlinelistview.d.ts +34 -0
  283. package/src/presencelist/view/presenceinlinelistview.js +23 -0
  284. package/src/presencelist/view/presencelistview.d.ts +20 -0
  285. package/src/presencelist/view/presencelistview.js +23 -0
  286. package/src/presencelist.d.ts +36 -0
  287. package/src/presencelist.js +23 -0
  288. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.d.ts +60 -0
  289. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +23 -0
  290. package/src/realtimecollaborativecomments.d.ts +44 -0
  291. package/src/realtimecollaborativecomments.js +23 -0
  292. package/src/realtimecollaborativeediting/realtimecollaborationclient.d.ts +145 -0
  293. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +23 -0
  294. package/src/realtimecollaborativeediting/sessions.d.ts +126 -0
  295. package/src/realtimecollaborativeediting/sessions.js +23 -0
  296. package/src/realtimecollaborativeediting/usermarkers.d.ts +48 -0
  297. package/src/realtimecollaborativeediting/usermarkers.js +23 -0
  298. package/src/realtimecollaborativeediting/websocketgateway.d.ts +63 -0
  299. package/src/realtimecollaborativeediting/websocketgateway.js +23 -0
  300. package/src/realtimecollaborativeediting.d.ts +34 -0
  301. package/src/realtimecollaborativeediting.js +23 -0
  302. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.d.ts +45 -0
  303. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +23 -0
  304. package/src/realtimecollaborativerevisionhistory.d.ts +37 -0
  305. package/src/realtimecollaborativerevisionhistory.js +23 -0
  306. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.d.ts +39 -0
  307. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +23 -0
  308. package/src/realtimecollaborativetrackchanges.d.ts +35 -0
  309. package/src/realtimecollaborativetrackchanges.js +23 -0
  310. package/theme/presencelist.css +262 -0
  311. package/theme/usermarkers.css +107 -0
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x14f4dc=_0xf528;(function(_0x1e1e2d,_0x349125){const _0x5f175a=_0xf528,_0x48723a=_0x1e1e2d();while(!![]){try{const _0x3b4a4c=parseInt(_0x5f175a(0xbc))/0x1*(parseInt(_0x5f175a(0xb6))/0x2)+-parseInt(_0x5f175a(0xcc))/0x3+parseInt(_0x5f175a(0xce))/0x4+parseInt(_0x5f175a(0xcb))/0x5*(-parseInt(_0x5f175a(0xc7))/0x6)+-parseInt(_0x5f175a(0xcd))/0x7+parseInt(_0x5f175a(0xd7))/0x8*(parseInt(_0x5f175a(0xb8))/0x9)+parseInt(_0x5f175a(0xab))/0xa;if(_0x3b4a4c===_0x349125)break;else _0x48723a['push'](_0x48723a['shift']());}catch(_0x14cee2){_0x48723a['push'](_0x48723a['shift']());}}}(_0x31f1,0x3bb07));import{Plugin as _0x514e6b}from'ckeditor5/src/core.js';function _0xf528(_0x2274e9,_0x1c2329){const _0x31f1a2=_0x31f1();return _0xf528=function(_0xf5284b,_0x447505){_0xf5284b=_0xf5284b-0xa5;let _0x5e19bd=_0x31f1a2[_0xf5284b];return _0x5e19bd;},_0xf528(_0x2274e9,_0x1c2329);}import{User as _0x200243,TrackChangesService as _0x5dbd45}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x20cb46 from'../realtimecollaborativeediting/websocketgateway.js';function _0x31f1(){const _0x587db5=['922089STTMMz','1365672PgBTyR','90280JskxGO','suggestionUpdated','addToReconnectionStack','isConnected','cloud-services-internal-error:\x20Request\x20timeout.','find','_trackChangesService','editor','type','1624880UvgLJn','init','originalSuggestionId','TrackChangesService','update','cloud-services-internal-error:\x20Not\x20connected.','config','attributes','addUser','data','open','add','startsWith','addSuggestionData','connection','getMany','8242890naMnnT','from','then','values','adapter','set','TrackChangesEditing','_saved','collaboration.channelId','get','connect','58pEPFTa','plugins','9yWzpXg','message','connected','state','492oTvtGM','listenTo','_waitForServiceReady','getSuggestion','reconnect','catch','requires','delete','_fetchMissingUsersForThreads','off','getUser','78qnCCuE','_bufferedRequests','hasSuggestion','size','122035JzPMGA'];_0x31f1=function(){return _0x587db5;};return _0x31f1();}import _0x51edbf from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x1229ad}from'ckeditor5-collaboration/src/collaboration-core.js';class f extends _0x514e6b{static get[_0x14f4dc(0xc2)](){const _0x2ab3ba=_0x14f4dc;return[_0x51edbf,_0x2ab3ba(0xb1),_0x20cb46];}constructor(_0x578c3c){const _0x41cabd=_0x14f4dc;super(_0x578c3c);const _0x5602bd=this[_0x41cabd(0xd5)][_0x41cabd(0xdd)][_0x41cabd(0xb4)](_0x41cabd(0xb3));this[_0x41cabd(0xc8)]=new Map(),this[_0x41cabd(0xd4)]=new f[(_0x41cabd(0xda))](_0x5602bd);}[_0x14f4dc(0xd8)](){const _0x29eb3f=_0x14f4dc,_0x138689=this[_0x29eb3f(0xd5)][_0x29eb3f(0xb7)][_0x29eb3f(0xb4)](_0x20cb46),_0xed2e91=this[_0x29eb3f(0xd5)][_0x29eb3f(0xb7)][_0x29eb3f(0xb4)](_0x29eb3f(0xb1));return _0xed2e91[_0x29eb3f(0xaf)]={'getSuggestion':async _0x31b97a=>{const _0x44da80=_0x29eb3f;await this[_0x44da80(0xbe)]();const _0x1b5a74=await this[_0x44da80(0xd4)][_0x44da80(0xb4)](_0x31b97a)[_0x44da80(0xc1)](w);return await this[_0x44da80(0xc4)]([_0x1b5a74]),_0x1b5a74;},'addSuggestion':async({id:_0x16919e,type:_0x5249f2,data:_0x88e3d,originalSuggestionId:_0x5bcfde,attributes:_0x5ac88d})=>{const _0x24fdc2=_0x29eb3f;await this[_0x24fdc2(0xbe)]();const _0x5a22a9={'id':_0x16919e,'type':_0x5249f2,'data':_0x88e3d,'originalSuggestionId':_0x5bcfde,'attributes':_0x5ac88d},_0x1b13da=await this[_0x24fdc2(0xd4)][_0x24fdc2(0xa6)](_0x16919e,_0x5249f2,_0x88e3d,_0x5bcfde,_0x5ac88d)[_0x24fdc2(0xc1)](_0x6478f3=>{if(st(_0x6478f3))return new Promise(_0x845e3a=>{const _0x14ef76=_0xf528;this[_0x14ef76(0xc8)][_0x14ef76(0xb0)](_0x16919e,{'resolve':_0x845e3a,'suggestionData':_0x5a22a9});});throw _0x6478f3;});return this[_0x24fdc2(0xc8)][_0x24fdc2(0xc3)](_0x16919e),_0x1b13da;},'updateSuggestion':async(_0x33c135,_0x40c749)=>{const _0x51c051=_0x29eb3f;if(await this[_0x51c051(0xbe)](),_0x51c051(0xa5)!==_0x40c749[_0x51c051(0xbb)])return this[_0x51c051(0xd4)][_0x51c051(0xdb)](_0x33c135,_0x40c749)[_0x51c051(0xc1)](w);}},this[_0x29eb3f(0xbd)](this[_0x29eb3f(0xd4)],_0x29eb3f(0xcf),(_0x4578bc,_0x5c0e8b)=>{const _0x16d96e=_0x29eb3f;_0xed2e91[_0x16d96e(0xc9)](_0x5c0e8b['id'])&&(_0xed2e91[_0x16d96e(0xbf)](_0x5c0e8b['id'])[_0x16d96e(0xde)]=_0x5c0e8b[_0x16d96e(0xde)]);}),this[_0x29eb3f(0xd4)][_0x29eb3f(0xb5)](_0x138689[_0x29eb3f(0xa9)])[_0x29eb3f(0xad)](_0x1a8656=>(_0x138689[_0x29eb3f(0xd0)](this),this[_0x29eb3f(0xc4)](_0x1a8656)[_0x29eb3f(0xad)](()=>{const _0x114322=_0x29eb3f;for(const _0x21bba3 of _0x1a8656){_0xed2e91[_0x114322(0xa8)](_0x21bba3)[_0x114322(0xb2)]=!0x0;}})));}async[_0x14f4dc(0xc0)](){const _0x763961=_0x14f4dc,_0x2084cb=this[_0x763961(0xd5)][_0x763961(0xb7)][_0x763961(0xb4)](_0x763961(0xb1)),{connection:_0x3c88cc}=this[_0x763961(0xd5)][_0x763961(0xb7)][_0x763961(0xb4)](_0x20cb46),_0x1920d5=await this[_0x763961(0xd4)][_0x763961(0xb5)](_0x3c88cc);await this[_0x763961(0xc4)](_0x1920d5);for(const {suggestionData:_0x4863ef,resolve:_0x4c622c}of this[_0x763961(0xc8)][_0x763961(0xae)]()){let _0x53f1db=_0x1920d5[_0x763961(0xd3)](_0x450887=>_0x450887['id']===_0x4863ef['id']);_0x53f1db||(_0x53f1db=await this[_0x763961(0xd4)][_0x763961(0xa6)](_0x4863ef['id'],_0x4863ef[_0x763961(0xd6)],_0x4863ef[_0x763961(0xe0)],_0x4863ef[_0x763961(0xd9)])),_0x4c622c(_0x53f1db);}for(const _0x430f19 of _0x1920d5)_0x2084cb[_0x763961(0xc9)](_0x430f19['id'])||_0x2084cb[_0x763961(0xa8)](_0x430f19);}async[_0x14f4dc(0xbe)](){const _0x2b0926=_0x14f4dc;this[_0x2b0926(0xd4)][_0x2b0926(0xd1)]||await new Promise(_0x3f84d9=>{const _0x2b648e=_0x2b0926;this[_0x2b648e(0xbd)](this[_0x2b648e(0xd4)],_0x2b648e(0xba),_0x2decea=>{const _0x45aab3=_0x2b648e;_0x2decea[_0x45aab3(0xc5)](),_0x3f84d9();});});}async[_0x14f4dc(0xc4)](_0x36dae2){const _0x36c950=_0x14f4dc,_0x550ac8=this[_0x36c950(0xd5)][_0x36c950(0xb7)][_0x36c950(0xb4)](_0x1229ad),{connection:_0x2e3d39}=this[_0x36c950(0xd5)][_0x36c950(0xb7)][_0x36c950(0xb4)](_0x20cb46),_0x2df3ae=new Set();for(const {authorId:_0x3daefb}of _0x36dae2)_0x550ac8[_0x36c950(0xc6)](_0x3daefb)||_0x2df3ae[_0x36c950(0xa6)](_0x3daefb);if(0x0===_0x2df3ae[_0x36c950(0xca)])return;const _0x54a904=await _0x200243[_0x36c950(0xaa)](_0x2e3d39,Array[_0x36c950(0xac)](_0x2df3ae));for(const _0x20d2f7 of _0x54a904)_0x550ac8[_0x36c950(0xc6)](_0x20d2f7['id'])||_0x550ac8[_0x36c950(0xdf)](_0x20d2f7);}}f[_0x14f4dc(0xda)]=_0x5dbd45;export default f;function w(_0x3f7cb5){if(st(_0x3f7cb5))return new Promise(()=>{});throw _0x3f7cb5;}function st(_0x3cd6b3){const _0x3616fd=_0x14f4dc;return _0x3cd6b3[_0x3616fd(0xb9)][_0x3616fd(0xa7)](_0x3616fd(0xdc))||_0x3cd6b3[_0x3616fd(0xb9)][_0x3616fd(0xa7)](_0x3616fd(0xd2));}
@@ -0,0 +1,35 @@
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
+ * @module real-time-collaboration/realtimecollaborativetrackchanges
7
+ * @publicApi
8
+ */
9
+ import { Plugin } from 'ckeditor5/src/core.js';
10
+ import CloudServicesTrackChangesAdapter from './realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';
11
+ import RealTimeCollaborativeComments from './realtimecollaborativecomments.js';
12
+ /**
13
+ * Enables the real-time collaborative track changes feature.
14
+ *
15
+ * Check the {@glink features/collaboration/real-time-collaboration/real-time-collaboration-integration Real-time collaboration}
16
+ * guide to see how to launch the editor in the real-time collaboration mode.
17
+ */
18
+ export default class RealTimeCollaborativeTrackChanges extends Plugin {
19
+ /**
20
+ * @inheritDoc
21
+ */
22
+ static get requires(): readonly [typeof RealTimeCollaborativeComments, typeof CloudServicesTrackChangesAdapter, "TrackChanges"];
23
+ /**
24
+ * @inheritDoc
25
+ */
26
+ static get pluginName(): "RealTimeCollaborativeTrackChanges";
27
+ /**
28
+ * @inheritDoc
29
+ */
30
+ static get isOfficialPlugin(): true;
31
+ /**
32
+ * @inheritDoc
33
+ */
34
+ static get isPremiumPlugin(): true;
35
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ function _0x3933(){var _0x21936a=['13871033lTVprt','1054683IyLcQv','50jYHWsw','1279696blpLli','requires','1012692cRKTar','1151610fhpgrH','196044HzimMI','TrackChanges','5SworPD','7CWXDdE','RealTimeCollaborativeTrackChanges','isOfficialPlugin','isPremiumPlugin','30qbrrre','123622WoCHje','pluginName'];_0x3933=function(){return _0x21936a;};return _0x3933();}function _0x18e4(_0x334893,_0x578f86){var _0x3933f8=_0x3933();return _0x18e4=function(_0x18e44b,_0x5524eb){_0x18e44b=_0x18e44b-0x9e;var _0x3e03e5=_0x3933f8[_0x18e44b];return _0x3e03e5;},_0x18e4(_0x334893,_0x578f86);}var _0x2be2b1=_0x18e4;(function(_0x483650,_0x44d07c){var _0x280797=_0x18e4,_0x213773=_0x483650();while(!![]){try{var _0x3ec310=parseInt(_0x280797(0xab))/0x1*(parseInt(_0x280797(0xa0))/0x2)+-parseInt(_0x280797(0xa8))/0x3+-parseInt(_0x280797(0xa9))/0x4*(parseInt(_0x280797(0x9f))/0x5)+parseInt(_0x280797(0xa7))/0x6*(-parseInt(_0x280797(0xac))/0x7)+parseInt(_0x280797(0xa5))/0x8+parseInt(_0x280797(0xa3))/0x9*(-parseInt(_0x280797(0xa4))/0xa)+parseInt(_0x280797(0xa2))/0xb;if(_0x3ec310===_0x44d07c)break;else _0x213773['push'](_0x213773['shift']());}catch(_0x34466d){_0x213773['push'](_0x213773['shift']());}}}(_0x3933,0x48997));import{Plugin as _0x493216}from'ckeditor5/src/core.js';import _0x49c165 from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import _0x27420d from'./realtimecollaborativecomments.js';export default class p extends _0x493216{static get[_0x2be2b1(0xa6)](){var _0x5f297d=_0x2be2b1;return[_0x27420d,_0x49c165,_0x5f297d(0xaa)];}static get[_0x2be2b1(0xa1)](){var _0x1de199=_0x2be2b1;return _0x1de199(0xad);}static get[_0x2be2b1(0xae)](){return!0x0;}static get[_0x2be2b1(0x9e)](){return!0x0;}}
@@ -0,0 +1,262 @@
1
+ /*
2
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
3
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
+ *
6
+ * 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-oss-license
8
+ */
9
+
10
+ @import '@ckeditor/ckeditor5-ui/theme/components/tooltip/tooltip.css';
11
+ @import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_shadow.css";
12
+ @import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_focus.css";
13
+ @import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_rounded.css";
14
+
15
+ :root {
16
+ --ck-color-presence-list-dropdown-background: hsl(0, 0%, 100%);
17
+ --ck-color-presence-list-dropdown-arrow-border: hsl(0, 0%, 92%);
18
+
19
+ --ck-presence-list-dropdown-list-max-width: 250px;
20
+ --ck-presence-list-dropdown-list-min-width: 180px;
21
+
22
+ --ck-presence-list-users-tooltip-max-width: 120px;
23
+ --ck-presence-list-users-tooltip-min-width: 25px;
24
+ }
25
+
26
+ .ck.ck-presence-list {
27
+ display: flex;
28
+ align-items: center;
29
+ margin-right: var(--ck-spacing-standard);
30
+ transition: margin-right 200ms ease-in-out;
31
+ font-size: var(--ck-font-size-base);
32
+
33
+ & * {
34
+ box-sizing: border-box;
35
+ }
36
+ }
37
+
38
+ .ck.ck-presence-list__list {
39
+ display: flex;
40
+ flex-direction: row;
41
+
42
+ /* Taking care about margin animation in collapsed mode. */
43
+ justify-content: flex-end;
44
+ }
45
+
46
+ .ck.ck-presence-list__counter {
47
+ color: var(--ck-color-base-text);
48
+ margin-right: var(--ck-spacing-large);
49
+ }
50
+
51
+ .ck.ck-presence-list__counter--hidden {
52
+ display: none;
53
+ }
54
+
55
+ .ck.ck-presence-list__list-item {
56
+ /**
57
+ * Reset default CK5 button styles - `.ck-reset__all *`.
58
+ * Reset default user agent button stylesheet too.
59
+ */
60
+ font: inherit;
61
+ color: inherit;
62
+ border: 1px solid transparent;
63
+ outline: none;
64
+ background: none;
65
+
66
+ position: relative;
67
+ margin-left: var(--ck-spacing-small);
68
+
69
+ &:focus {
70
+ @mixin ck-rounded-corners;
71
+ @mixin ck-focus-ring;
72
+ @mixin ck-box-shadow var(--ck-focus-outer-shadow);
73
+ }
74
+
75
+ & .ck-label {
76
+ /*
77
+ * Forces screen reader to read label despite the fact that it is hidden.
78
+ * Placing `display: none` on the element will prevent screen reader from reading it.
79
+ */
80
+ overflow: hidden;
81
+ height: 0px;
82
+ width: 0px;
83
+ }
84
+ }
85
+
86
+ .ck.ck-tooltip.ck-presence-list__list-item__tooltip {
87
+ & > .ck-tooltip__text {
88
+ display: inline-block;
89
+ max-width: var(--ck-presence-list-users-tooltip-max-width);
90
+ overflow: hidden;
91
+ text-align: center;
92
+ text-overflow: ellipsis;
93
+ white-space: nowrap;
94
+ }
95
+ }
96
+
97
+ .ck.ck-presence-list__marker {
98
+ position: relative;
99
+ display: block;
100
+ width: 100%;
101
+ height: 3px;
102
+ margin-top: 3px;
103
+ }
104
+
105
+ /**
106
+ * Add better UX behavior of button to the `clickable` elements.
107
+ * We need to create stronger specificity than `.ck.ck-reset__all *`.
108
+ */
109
+ .ck-presence-list__list button.ck-presence-list__list-item *,
110
+ .ck-presence-list__balloon button.ck-presence-list__dropdown-list-item * {
111
+ cursor: pointer;
112
+ }
113
+
114
+ .ck.ck-presence-list--collapsed {
115
+ & .ck-presence-list__list {
116
+ border: 1px solid transparent;
117
+
118
+ /* Because of moving avatars to the right with margin-left we need to set min-width of container. */
119
+ min-width: calc( var(--ck-user-avatar-size) * 2 );
120
+
121
+ & * {
122
+ cursor: pointer;
123
+ transition: all 400ms ease-in-out;
124
+ }
125
+
126
+ &:focus {
127
+ @mixin ck-rounded-corners;
128
+ @mixin ck-focus-ring;
129
+ @mixin ck-box-shadow var(--ck-focus-outer-shadow);
130
+ }
131
+ }
132
+
133
+ & .ck.ck-presence-list__list-item {
134
+ /* Adding extra px to create collapsed effect. */
135
+ margin-left: calc( var(--ck-user-avatar-size) * -1 + 7px);
136
+
137
+ /* Reset focus borders */
138
+ border: 0;
139
+ padding: 0;
140
+
141
+ &:last-child {
142
+ order: unset;
143
+ }
144
+
145
+ &:nth-last-child(2) {
146
+ opacity: .75;
147
+ }
148
+
149
+ &:nth-last-child(3) {
150
+ opacity: .55;
151
+ }
152
+
153
+ &:nth-last-child(4) {
154
+ opacity: .35;
155
+ }
156
+
157
+ &:nth-last-child(5) {
158
+ opacity: .15;
159
+ }
160
+
161
+ &:nth-last-child(n+6) {
162
+ display: none;
163
+ }
164
+ }
165
+ }
166
+
167
+ .ck.ck-presence-list__balloon {
168
+ /* Overwrite arrows background of balloon */
169
+ --ck-color-panel-border: var(--ck-color-presence-list-dropdown-arrow-border);
170
+ --ck-color-panel-background: var(--ck-color-presence-list-dropdown-background);
171
+
172
+ background-color: var(--ck-color-presence-list-dropdown-background);
173
+ border: 0;
174
+ opacity: 1;
175
+ animation: 300ms fadeIn ease-in-out;
176
+
177
+ @media (prefers-reduced-motion: reduce) {
178
+ animation: none;
179
+ }
180
+
181
+ & .ck.ck-presence-list__dropdown-list-wrapper {
182
+ min-width: var(--ck-presence-list-dropdown-list-min-width);
183
+ max-width: var(--ck-presence-list-dropdown-list-max-width);
184
+ border-radius: var(--ck-border-radius);
185
+
186
+ /*
187
+ * Make it scrollable to prevent truncate of focus ring and shadow.
188
+ * It's temporary fix, we should rethink max-height of dropdown
189
+ */
190
+ &.ck-presence-list__dropdown-list-wrapper_scrollable {
191
+ max-height: 80vh;
192
+ overflow-y: auto;
193
+ overflow-x: hidden;
194
+ }
195
+ }
196
+
197
+ & .ck.ck-presence-list__dropdown-list-item {
198
+ /**
199
+ * Reset default CK5 button styles - `.ck-reset__all *`.
200
+ * Reset default user agent button stylesheet too.
201
+ */
202
+ font: inherit;
203
+ color: inherit;
204
+ outline: none;
205
+ border: 0;
206
+ background: none;
207
+
208
+ display: flex;
209
+ align-items: center;
210
+ position: relative;
211
+ padding: var(--ck-spacing-standard);
212
+
213
+ &:focus {
214
+ position: relative;
215
+ z-index: 1;
216
+ outline: var(--ck-focus-ring);
217
+ outline-offset: -1px;
218
+
219
+ @mixin ck-box-shadow var(--ck-focus-outer-shadow);
220
+ }
221
+
222
+ &:first-of-type {
223
+ & .ck-presence-list__marker {
224
+ border-top-left-radius: var(--ck-border-radius);
225
+ }
226
+ }
227
+
228
+ &:last-of-type {
229
+ & .ck-presence-list__marker {
230
+ border-bottom-left-radius: var(--ck-border-radius);
231
+ }
232
+ }
233
+ }
234
+
235
+ & .ck.ck-presence-list__dropdown-list {
236
+ & .ck-user__full-name {
237
+ white-space: nowrap;
238
+ overflow: hidden;
239
+ text-overflow: ellipsis;
240
+ color: var(--ck-color-base-text);
241
+ margin-left: var(--ck-spacing-standard);
242
+ }
243
+
244
+ & .ck.ck-presence-list__marker {
245
+ position: absolute;
246
+ left: 0;
247
+ margin: 0;
248
+ height: 100%;
249
+ width: 3px;
250
+ }
251
+ }
252
+ }
253
+
254
+ @keyframes fadeIn {
255
+ from {
256
+ opacity: 0;
257
+ }
258
+
259
+ to {
260
+ opacity: 1;
261
+ }
262
+ }
@@ -0,0 +1,107 @@
1
+ /*
2
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
3
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
+ *
6
+ * 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-oss-license
8
+ */
9
+
10
+ .ck .ck-user__marker-dot {
11
+ /* If you are looking for handling dot color, see `usercolors.css` in the `ckeditor5-collaboration-core`. */
12
+ display: block;
13
+ position: absolute;
14
+ left: 50%;
15
+
16
+ /* #124 */
17
+ top: calc( ( var(--ck-user-dot-size) / 2 ) * -1 );
18
+
19
+ width: var(--ck-user-dot-size);
20
+ height: var(--ck-user-dot-size);
21
+ border-radius: 50%;
22
+ transform: translate( -50%, -50% );
23
+ cursor: default;
24
+ }
25
+
26
+ .ck .ck-user__marker-tooltip {
27
+ display: none;
28
+ position: absolute;
29
+
30
+ /* It should be one font in case of inheriting (example: headers sans-serif and content serif type). */
31
+ font-family: Georgia, sans-serif;
32
+
33
+ /* It should be px value in case of inheriting (like headers example). */
34
+ font-size: var(--ck-font-size-base);
35
+
36
+ /* In case of inheriting from various components. */
37
+ line-height: 1;
38
+ font-style: initial;
39
+ font-weight: initial;
40
+
41
+ left: 0;
42
+ opacity: 0;
43
+
44
+ /* Moving up this element with 100% of its height. */
45
+ top: -20px;
46
+
47
+ padding: var(--ck-spacing-small);
48
+ color: hsl(0, 0%, 100%);
49
+ white-space: nowrap;
50
+ transition: opacity 200ms linear, transform 300ms ease-in-out;
51
+ z-index: 99999;
52
+
53
+ @media (prefers-reduced-motion: reduce) {
54
+ transition: none;
55
+ }
56
+ }
57
+
58
+ .ck .ck-user__marker-line {
59
+ /* If you are looking for handling line color, see `usercolors.css` in the `ckeditor5-collaboration-core`. */
60
+ position: absolute;
61
+ bottom: 0;
62
+ height: 100%;
63
+ width: 0;
64
+ }
65
+
66
+ .ck .ck-user__marker {
67
+ display: inline;
68
+ position: relative;
69
+ cursor: default;
70
+ }
71
+
72
+ .ck .ck-user__marker.ck-user__marker_hovered {
73
+ & .ck-user__marker-dot {
74
+ width: 0;
75
+ }
76
+
77
+ & .ck-user__marker-tooltip {
78
+ display: block;
79
+ opacity: 1;
80
+ animation: fadeInLeft 300ms ease-in-out;
81
+ }
82
+ }
83
+
84
+ .ck .ck-placeholder {
85
+ & .ck-user__marker {
86
+ display: none;
87
+ }
88
+ }
89
+
90
+ @media (prefers-reduced-motion: reduce) {
91
+ .ck .ck-user__marker {
92
+ &, & *, &::after {
93
+ animation: none !important;
94
+ }
95
+ }
96
+ }
97
+
98
+ @keyframes fadeInLeft {
99
+ from {
100
+ opacity: 0;
101
+ transform: translateX( -10px );
102
+ }
103
+ to {
104
+ opacity: 1;
105
+ transform: translateX( 0 );
106
+ }
107
+ }