@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
package/package.json ADDED
@@ -0,0 +1,57 @@
1
+ {
2
+ "name": "@ckeditor/ckeditor5-real-time-collaboration",
3
+ "version": "0.0.0-internal-20241017.0",
4
+ "description": "A set of CKEditor 5 features enabling real-time collaboration within the editor using CKEditor Cloud Services.",
5
+ "license": "SEE LICENSE IN LICENSE.md",
6
+ "author": "CKSource (http://cksource.com/)",
7
+ "bugs": {
8
+ "url": "https://support.ckeditor.com/hc/en-us/requests/new"
9
+ },
10
+ "homepage": "https://ckeditor.com/collaboration/real-time/",
11
+ "keywords": [
12
+ "CKEditor",
13
+ "ckeditor5",
14
+ "ckeditor 5",
15
+ "WYSIWYG",
16
+ "WYSIWYW",
17
+ "text",
18
+ "rich-text",
19
+ "richtext",
20
+ "editor",
21
+ "editing",
22
+ "html",
23
+ "operational transformation",
24
+ "ot",
25
+ "collaboration",
26
+ "collaborative",
27
+ "real-time",
28
+ "realtime",
29
+ "framework"
30
+ ],
31
+ "type": "module",
32
+ "main": "src/index.js",
33
+ "files": [
34
+ "build",
35
+ "dist",
36
+ "lang",
37
+ "src/**/*.js",
38
+ "src/**/*.d.ts",
39
+ "theme",
40
+ "ckeditor5-metadata.json",
41
+ "CHANGELOG.md"
42
+ ],
43
+ "dependencies": {
44
+ "@ckeditor/ckeditor-cloud-services-collaboration": "52.6.11",
45
+ "@ckeditor/ckeditor5-core": "0.0.0-internal-20241017.0",
46
+ "@ckeditor/ckeditor5-engine": "0.0.0-internal-20241017.0",
47
+ "@ckeditor/ckeditor5-operations-compressor": "0.0.0-internal-20241017.0",
48
+ "@ckeditor/ckeditor5-theme-lark": "0.0.0-internal-20241017.0",
49
+ "@ckeditor/ckeditor5-ui": "0.0.0-internal-20241017.0",
50
+ "@ckeditor/ckeditor5-utils": "0.0.0-internal-20241017.0",
51
+ "ckeditor5": "0.0.0-internal-20241017.0",
52
+ "ckeditor5-collaboration": "0.0.0-internal-20241017.0",
53
+ "lodash-es": "4.17.21"
54
+ },
55
+ "types": "src/index.d.ts",
56
+ "obfuscated": true
57
+ }
@@ -0,0 +1,64 @@
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
+ import type { PresenceListConfig } from './config.js';
6
+ import type { RealTimeCollaborationClient } from './index.js';
7
+ declare module '@ckeditor/ckeditor5-core' {
8
+ interface EditorConfig {
9
+ presenceList?: PresenceListConfig;
10
+ }
11
+ interface PluginsMap {
12
+ [RealTimeCollaborationClient.pluginName]: RealTimeCollaborationClient;
13
+ }
14
+ }
15
+ declare module '@ckeditor/ckeditor5-cloud-services' {
16
+ interface CloudServicesConfig {
17
+ /**
18
+ * The timeout (in seconds) for the connection. Defaults to 10.
19
+ *
20
+ * If the connection will not be established after the specified number of second passes, the editor will throw an error.
21
+ *
22
+ * Raise this value if you are experiencing connection timeout problems.
23
+ *
24
+ * ```ts
25
+ * ClassicEditor
26
+ * .create( {
27
+ * cloudServices: {
28
+ * connectionTimeout: 20,
29
+ * // ...
30
+ * }
31
+ * } )
32
+ * .then( ... )
33
+ * .catch( ... );
34
+ * ```
35
+ */
36
+ connectionTimeout?: number;
37
+ /**
38
+ * The timeout (in seconds) for each request send to the Cloud Services. Defaults to 20.
39
+ *
40
+ * If the request is not finished after the specified number of second passes, the editor will throw an error.
41
+ *
42
+ * Raise this value if you expect that your requests will be big
43
+ * (e.g. mostly concerns the document data and the initial request).
44
+ *
45
+ * ```ts
46
+ * ClassicEditor
47
+ * .create( {
48
+ * cloudServices: {
49
+ * requestTimeout: 40,
50
+ * // ...
51
+ * }
52
+ * } )
53
+ * .then( ... )
54
+ * .catch( ... );
55
+ * ```
56
+ */
57
+ requestTimeout?: number;
58
+ }
59
+ }
60
+ declare module 'ckeditor5-collaboration/src/collaboration-core' {
61
+ interface User {
62
+ orderNumber?: number;
63
+ }
64
+ }
@@ -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
+ export{};
@@ -0,0 +1,9 @@
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/common-translations
7
+ */
8
+ import type { Locale } from 'ckeditor5/src/utils.js';
9
+ export declare function getTranslation(locale: Locale, id: string, values?: Array<string> | number): string;
@@ -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
+ export function getTranslation(_0x5026ac,_0x29d2bd,_0x441d93){const t=_0x5026ac['t'];switch(_0x29d2bd){case'PENDING_ACTION_SENDING_DATA':return t({'string':'Sending\x20data\x20to\x20the\x20server.','id':'PENDING_ACTION_SENDING_DATA'});case'The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'Synchronization\x20issue':return t('Synchronization\x20issue');case'Connected\x20users\x20list\x20dropdown\x20menu':return t('Connected\x20users\x20list\x20dropdown\x20menu');case'Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':return t('Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)');case'Connected\x20users\x20list':return t('Connected\x20users\x20list');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'CONNECTED_USERS':return t({'string':'1\x20connected\x20user\x20(me)','plural':'%0\x20connected\x20users','id':'CONNECTED_USERS'},_0x441d93);default:return'';}}
@@ -0,0 +1,48 @@
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
+ import type { User } from 'ckeditor5-collaboration/src/collaboration-core.js';
6
+ /**
7
+ * @module real-time-collaboration/config
8
+ * @publicApi
9
+ */
10
+ /**
11
+ * The configuration of the real-time collaboration features.
12
+ *
13
+ * ```ts
14
+ * ClassicEditor
15
+ * .create( {
16
+ * presenceList: ... // Collaboration presence list configuration.
17
+ * } )
18
+ * .then( ... )
19
+ * .catch( ... );
20
+ * ```
21
+ *
22
+ * See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
23
+ */
24
+ export interface PresenceListConfig {
25
+ /**
26
+ * Indicates a number of displayed users at which the presence list will switch to a dropdown view.
27
+ * If the number is 8, then 7 users will still be displayed inline, while 8+ users will be displayed in the dropdown.
28
+ *
29
+ * The number must be greater than `0`.
30
+ *
31
+ * @default 6
32
+ */
33
+ collapseAt?: number;
34
+ /**
35
+ * DOM element that will hold the feature’s UI.
36
+ */
37
+ container?: HTMLElement;
38
+ /**
39
+ * Determines if the local user avatar should be displayed in the presence list (`true`) or not (`false`).
40
+ *
41
+ * @default true
42
+ */
43
+ displayMe?: boolean;
44
+ /**
45
+ * Callback function that will be invoked after a click on a presence list member.
46
+ */
47
+ onClick?: (user: User, element: HTMLElement) => void;
48
+ }
package/src/config.js ADDED
@@ -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
+ export{};
package/src/index.d.ts ADDED
@@ -0,0 +1,14 @@
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
+ export { default as RealTimeCollaborativeEditing } from './realtimecollaborativeediting.js';
6
+ export { default as RealTimeCollaborativeTrackChanges } from './realtimecollaborativetrackchanges.js';
7
+ export { default as RealTimeCollaborativeComments } from './realtimecollaborativecomments.js';
8
+ export { default as RealTimeCollaborativeRevisionHistory } from './realtimecollaborativerevisionhistory.js';
9
+ export { default as CloudServicesCommentsAdapter } from './realtimecollaborativecomments/cloudservicescommentsadapter.js';
10
+ export { default as CloudServicesTrackChangesAdapter } from './realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';
11
+ export { default as CloudServicesRevisionHistoryAdapter } from './realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';
12
+ export { default as RealTimeCollaborationClient } from './realtimecollaborativeediting/realtimecollaborationclient.js';
13
+ export { default as PresenceList } from './presencelist.js';
14
+ import './augmentation.js';
package/src/index.js ADDED
@@ -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(_0x6190d4,_0x2e63f0){var _0x9144d5=_0x1f69,_0x8f8eca=_0x6190d4();while(!![]){try{var _0x24d507=-parseInt(_0x9144d5(0xbb))/0x1*(-parseInt(_0x9144d5(0xb2))/0x2)+parseInt(_0x9144d5(0xb3))/0x3*(parseInt(_0x9144d5(0xba))/0x4)+-parseInt(_0x9144d5(0xb4))/0x5*(parseInt(_0x9144d5(0xb9))/0x6)+parseInt(_0x9144d5(0xb7))/0x7*(parseInt(_0x9144d5(0xb6))/0x8)+parseInt(_0x9144d5(0xb1))/0x9+-parseInt(_0x9144d5(0xb0))/0xa+-parseInt(_0x9144d5(0xb5))/0xb*(parseInt(_0x9144d5(0xb8))/0xc);if(_0x24d507===_0x2e63f0)break;else _0x8f8eca['push'](_0x8f8eca['shift']());}catch(_0x26e24c){_0x8f8eca['push'](_0x8f8eca['shift']());}}}(_0x16dd,0xd254d));export{default as RealTimeCollaborativeEditing}from'./realtimecollaborativeediting.js';export{default as RealTimeCollaborativeTrackChanges}from'./realtimecollaborativetrackchanges.js';function _0x16dd(){var _0x5c0017=['48588uqwXMN','6HYmvyt','124sdPXwr','55109JTneUM','4939970RXYquR','8998848cOAAGG','56DsBodR','86349JeDmrR','7774695ExVuJI','5203xNvVLf','328gSUVUG','237391HWUUVl'];_0x16dd=function(){return _0x5c0017;};return _0x16dd();}export{default as RealTimeCollaborativeComments}from'./realtimecollaborativecomments.js';export{default as RealTimeCollaborativeRevisionHistory}from'./realtimecollaborativerevisionhistory.js';export{default as CloudServicesCommentsAdapter}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';export{default as CloudServicesTrackChangesAdapter}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';export{default as CloudServicesRevisionHistoryAdapter}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x1f69(_0x1fe9e5,_0x1a0bc5){var _0x16dda4=_0x16dd();return _0x1f69=function(_0x1f699a,_0x185ae4){_0x1f699a=_0x1f699a-0xb0;var _0xdaf08f=_0x16dda4[_0x1f699a];return _0xdaf08f;},_0x1f69(_0x1fe9e5,_0x1a0bc5);}export{default as RealTimeCollaborationClient}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export{default as PresenceList}from'./presencelist.js';import'./augmentation.js';
@@ -0,0 +1,47 @@
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/presencelist/presencelistui
7
+ * @publicApi
8
+ */
9
+ import { ContextPlugin, type Context, type Editor } from 'ckeditor5/src/core.js';
10
+ import Sessions from '../realtimecollaborativeediting/sessions.js';
11
+ /**
12
+ * The `PresenceListUI` plugin is a part of the {@link module:real-time-collaboration/presencelist~PresenceList}
13
+ * and handles the UI part of the plugin.
14
+ *
15
+ * The presence list UI has two main modes of displaying users list:
16
+ *
17
+ * * inline (default), which shows users next to each other, and
18
+ * * collapsed, which shows users in a dropdown.
19
+ *
20
+ * By default, the list also displays the {@link module:collaboration-core/users~Users#me local user}.
21
+ */
22
+ export default class PresenceListUI extends ContextPlugin {
23
+ /**
24
+ * @inheritDoc
25
+ */
26
+ constructor(context: Context | Editor);
27
+ /**
28
+ * @inheritDoc
29
+ */
30
+ static get requires(): readonly [typeof Sessions];
31
+ /**
32
+ * @inheritDoc
33
+ */
34
+ init(): void;
35
+ /**
36
+ * Creates and shows dropdown list with all connected users.
37
+ */
38
+ showDropdown(): void;
39
+ /**
40
+ * Hides and destroys dropdown list with all connected users.
41
+ */
42
+ hideDropdown(): void;
43
+ /**
44
+ * @inheritDoc
45
+ */
46
+ destroy(): void;
47
+ }
@@ -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 _0x2b73(_0x5896bd,_0x62659b){const _0x58f673=_0x58f6();return _0x2b73=function(_0x2b731e,_0x43b94f){_0x2b731e=_0x2b731e-0xd7;let _0x2859e8=_0x58f673[_0x2b731e];return _0x2859e8;},_0x2b73(_0x5896bd,_0x62659b);}const _0x30c3ee=_0x2b73;(function(_0x56b93c,_0x2a2c51){const _0x1cd2b2=_0x2b73,_0x2cb674=_0x56b93c();while(!![]){try{const _0x2c1d52=-parseInt(_0x1cd2b2(0xf6))/0x1*(-parseInt(_0x1cd2b2(0x13b))/0x2)+parseInt(_0x1cd2b2(0x127))/0x3+-parseInt(_0x1cd2b2(0x11a))/0x4*(parseInt(_0x1cd2b2(0x129))/0x5)+-parseInt(_0x1cd2b2(0xe3))/0x6*(parseInt(_0x1cd2b2(0xd8))/0x7)+parseInt(_0x1cd2b2(0xdc))/0x8*(parseInt(_0x1cd2b2(0x132))/0x9)+parseInt(_0x1cd2b2(0x123))/0xa+-parseInt(_0x1cd2b2(0x128))/0xb*(parseInt(_0x1cd2b2(0x119))/0xc);if(_0x2c1d52===_0x2a2c51)break;else _0x2cb674['push'](_0x2cb674['shift']());}catch(_0x58eb96){_0x2cb674['push'](_0x2cb674['shift']());}}}(_0x58f6,0xb2571));import{ContextPlugin as _0xa5bf82}from'ckeditor5/src/core.js';import{CKEditorError as _0x5df6d4,Collection as _0x2cdb0a}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x2286ee,BalloonPanelView as _0x179849,BodyCollection as _0x224a90}from'ckeditor5/src/ui.js';import{isElement as _0x1caf19}from'lodash-es';import _0xcca9c4 from'../realtimecollaborativeediting/sessions.js';import _0x4ee622 from'./view/presencelistview.js';import _0x152aa5 from'./view/presencedropdownlistview.js';import _0x20d4ef from'./view/presencedropdownlistitemview.js';import _0x3c85e3 from'./view/presenceinlinelistitemview.js';const D={'collapseAt':0x6,'displayMe':!0x0};function _0x58f6(){const _0x26fdc6=['onClick','bindTo','appendChild','map','number','execute','hideDropdown','textarea','min','2028eZqUQi','2719672WzZCaX','input','reverse','items','sort','isHidden','bind','hasTooltip','isCollapsed','11925090avnkxD','focus','context','unpin','2479452MRoKtn','36036mdlbNj','5gnSCtq','tabIndex','displayMe','from','remove','add','element','detachFromDom','Shift+Tab','135UnMhbd','button','ck\x20ck-presence-list__balloon','_bodyCollection','showDropdown','offsetHeight','destroy','isFocusable','set','136018Pjornx','allConnectedUsers','currentDisplayedUsers','select','455YiOBfr','pin','isRendered','init','59720RFzBCb','isVisible','balloonPanelView','focusTracker','presenceList','isExpanded','counterView','78186MCYhEL','_allConnectedUsers','checkIfScrollable','Enter','render','config','Esc','body','_createView','usersCount','activeElement','requires','presencelist-collapseat-invalid-format','plugins','_handleUserAdd','view','change:isFocused','listenTo','get','10wbQXZF','presenceList.displayMe','inlineListView','presenceDropdownView','isMe','keystrokes','length','querySelectorAll','filter','attachToDom','locale','offsetWidth','join',':not([disabled]):not([tabindex=\x22-1\x22])','Tab','presenceList.collapseAt','_handleUserRemove','[contenteditable]','content','presencelist-missing-container','class','presenceList.container','indexOf','[tabindex]','using','define'];_0x58f6=function(){return _0x26fdc6;};return _0x58f6();}export default class r extends _0xa5bf82{constructor(_0x3752dc){const _0x22ffbf=_0x2b73;super(_0x3752dc),this[_0x22ffbf(0x135)]=null,this[_0x22ffbf(0x125)][_0x22ffbf(0xe8)][_0x22ffbf(0x10f)](_0x22ffbf(0xe0),D);const _0x401189=_0x3752dc[_0x22ffbf(0xe8)][_0x22ffbf(0xf5)](_0x22ffbf(0x105));if(_0x22ffbf(0x114)!=typeof _0x401189)throw new _0x5df6d4(_0x22ffbf(0xef),this);if(_0x401189<0x1)throw new _0x5df6d4(_0x22ffbf(0xef),this);this[_0x22ffbf(0xe4)]=this[_0x22ffbf(0x125)][_0x22ffbf(0xf0)][_0x22ffbf(0xf5)](_0xcca9c4)[_0x22ffbf(0x13c)],this[_0x22ffbf(0x13a)](_0x22ffbf(0xec),0x0),this[_0x22ffbf(0x13d)]=new _0x2cdb0a(),this[_0x22ffbf(0xde)]=new _0x179849(),this[_0x22ffbf(0xde)][_0x22ffbf(0x10a)]=_0x22ffbf(0x134),this[_0x22ffbf(0xf2)]=this[_0x22ffbf(0xeb)](),this[_0x22ffbf(0xf9)]=void 0x0;}static get[_0x30c3ee(0xee)](){return[_0xcca9c4];}[_0x30c3ee(0xdb)](){const _0x15574d=_0x30c3ee;for(const _0x512e8b of this[_0x15574d(0xe4)])this[_0x15574d(0xf1)](_0x512e8b);this[_0x15574d(0xf4)](this[_0x15574d(0xe4)],_0x15574d(0x12e),(_0x23cef0,_0x355f8a)=>{const _0x1fb2ae=_0x15574d;this[_0x1fb2ae(0xf1)](_0x355f8a);}),this[_0x15574d(0xf4)](this[_0x15574d(0xe4)],_0x15574d(0x12d),(_0x28c975,_0x341c66)=>{const _0x4f948a=_0x15574d;this[_0x4f948a(0x106)](_0x341c66);});}[_0x30c3ee(0xeb)](){const _0x2a2cfe=_0x30c3ee,_0x3a4145=this[_0x2a2cfe(0x125)],_0x56b4e6=new _0x4ee622(this[_0x2a2cfe(0x125)][_0x2a2cfe(0x100)]),_0x31975d=this[_0x2a2cfe(0xde)];if(!_0x1caf19(_0x3a4145[_0x2a2cfe(0xe8)][_0x2a2cfe(0xf5)](_0x2a2cfe(0x10b))))throw new _0x5df6d4(_0x2a2cfe(0x109),this);return _0x56b4e6[_0x2a2cfe(0xe2)][_0x2a2cfe(0x120)](_0x2a2cfe(0xec))['to'](this),_0x56b4e6[_0x2a2cfe(0x120)](_0x2a2cfe(0x122))['to'](this,_0x2a2cfe(0xec),_0x292092=>{const _0x1b5a20=_0x2a2cfe,{collapseAt:_0x32c76a,displayMe:_0x54d201}=_0x3a4145[_0x1b5a20(0xe8)][_0x1b5a20(0xf5)](_0x1b5a20(0xe0)),_0x34f3bd=_0x292092>=_0x32c76a;return _0x56b4e6[_0x1b5a20(0xe2)][_0x1b5a20(0x11f)]=!(0x1==_0x292092&&_0x54d201||_0x34f3bd),_0x34f3bd||this[_0x1b5a20(0x116)](),_0x34f3bd;}),_0x56b4e6[_0x2a2cfe(0xf8)][_0x2a2cfe(0x11d)][_0x2a2cfe(0x111)](this[_0x2a2cfe(0x13d)])[_0x2a2cfe(0x10e)](_0x295cbd=>{const _0x3a63c6=_0x2a2cfe,_0x8c984f=_0x3a4145[_0x3a63c6(0xe8)][_0x3a63c6(0xf5)](_0x3a63c6(0xe0)),_0x21f9cc=new _0x3c85e3(_0x3a4145[_0x3a63c6(0x100)],_0x295cbd,!!_0x8c984f[_0x3a63c6(0x110)]);return _0x21f9cc[_0x3a63c6(0x120)](_0x3a63c6(0x121))['to'](_0x56b4e6,_0x3a63c6(0x122),_0x39c099=>!_0x39c099),_0x21f9cc[_0x3a63c6(0x120)](_0x3a63c6(0x139))['to'](_0x56b4e6,_0x3a63c6(0x122),_0x54746d=>!_0x54746d),_0x8c984f[_0x3a63c6(0x110)]&&this[_0x3a63c6(0xf4)](_0x21f9cc,_0x3a63c6(0x115),()=>{const _0x32dd80=_0x3a63c6;this[_0x32dd80(0xf2)][_0x32dd80(0x122)]||_0x8c984f[_0x32dd80(0x110)](_0x295cbd,_0x21f9cc[_0x32dd80(0x12f)]);}),_0x21f9cc;}),this[_0x2a2cfe(0xf4)](_0x56b4e6[_0x2a2cfe(0xf8)],_0x2a2cfe(0x115),()=>{const _0x192ec3=_0x2a2cfe;this[_0x192ec3(0xf9)]?this[_0x192ec3(0x116)]():this[_0x192ec3(0xf2)][_0x192ec3(0x122)]&&this[_0x192ec3(0x136)]();}),_0x56b4e6[_0x2a2cfe(0xf8)][_0x2a2cfe(0xfb)][_0x2a2cfe(0x13a)](_0x2a2cfe(0xe6),(_0x3654fd,_0x1ab5ea)=>{const _0x3b649e=_0x2a2cfe;this[_0x3b649e(0xf2)][_0x3b649e(0x122)]&&(this[_0x3b649e(0x136)](),_0x1ab5ea());}),_0x56b4e6[_0x2a2cfe(0xe7)](),_0x31975d[_0x2a2cfe(0xe7)](),_0x2286ee({'emitter':_0x56b4e6,'activator':()=>_0x31975d[_0x2a2cfe(0xdd)],'contextElements':[_0x31975d[_0x2a2cfe(0x12f)],_0x56b4e6[_0x2a2cfe(0xf8)][_0x2a2cfe(0x12f)]],'callback':()=>this[_0x2a2cfe(0x116)]()}),_0x3a4145[_0x2a2cfe(0xe8)][_0x2a2cfe(0xf5)](_0x2a2cfe(0x10b))[_0x2a2cfe(0x112)](_0x56b4e6[_0x2a2cfe(0x12f)]),this[_0x2a2cfe(0x135)]=new _0x224a90(this[_0x2a2cfe(0x125)][_0x2a2cfe(0x100)]),this[_0x2a2cfe(0x135)][_0x2a2cfe(0xff)](),this[_0x2a2cfe(0x135)][_0x2a2cfe(0x12e)](this[_0x2a2cfe(0xde)]),_0x56b4e6;}[_0x30c3ee(0xf1)](_0x48bcd9){const _0x1405cc=_0x30c3ee;if(!this[_0x1405cc(0x125)][_0x1405cc(0xe8)][_0x1405cc(0xf5)](_0x1405cc(0xf7))&&_0x48bcd9[_0x1405cc(0xfa)])return;const _0x4961a7=this[_0x1405cc(0x125)][_0x1405cc(0xe8)][_0x1405cc(0xf5)](_0x1405cc(0x105))-0x1;this[_0x1405cc(0xec)]++,this[_0x1405cc(0x13d)][_0x1405cc(0xfc)]==_0x4961a7&&this[_0x1405cc(0x13d)][_0x1405cc(0xfc)]>0x1&&this[_0x1405cc(0x13d)][_0x1405cc(0x12d)](0x1);const _0x53b687=_0x48bcd9[_0x1405cc(0xfa)]?0x0:this[_0x1405cc(0x13d)][_0x1405cc(0xfc)];this[_0x1405cc(0x13d)][_0x1405cc(0x12e)](_0x48bcd9,_0x53b687);}[_0x30c3ee(0x106)](_0x11f9e6){const _0x1017cd=_0x30c3ee;if(this[_0x1017cd(0xec)]--,this[_0x1017cd(0x13d)][_0x1017cd(0xf5)](_0x11f9e6['id'])&&(this[_0x1017cd(0x13d)][_0x1017cd(0x12d)](_0x11f9e6['id']),this[_0x1017cd(0x13d)][_0x1017cd(0xfc)]<this[_0x1017cd(0xec)])){for(const _0x18243b of Array[_0x1017cd(0x12c)](this[_0x1017cd(0xe4)])[_0x1017cd(0x11c)]())if(!this[_0x1017cd(0x13d)][_0x1017cd(0xf5)](_0x18243b['id']))return void this[_0x1017cd(0x13d)][_0x1017cd(0x12e)](_0x18243b,Math[_0x1017cd(0x118)](this[_0x1017cd(0x13d)][_0x1017cd(0xfc)],0x1));}}[_0x30c3ee(0x136)](){const _0x4a4b1e=_0x30c3ee;if(this[_0x4a4b1e(0xf9)])return;const _0x20e812=this[_0x4a4b1e(0x125)][_0x4a4b1e(0xe8)][_0x4a4b1e(0xf5)](_0x4a4b1e(0xe0));this[_0x4a4b1e(0xf9)]=new _0x152aa5(this[_0x4a4b1e(0x125)][_0x4a4b1e(0x100)],!!_0x20e812[_0x4a4b1e(0x110)]),this[_0x4a4b1e(0xf2)][_0x4a4b1e(0xf8)][_0x4a4b1e(0xe1)]=!0x0;const {listWrapperView:_0x18e6f0}=this[_0x4a4b1e(0xf9)];_0x18e6f0[_0x4a4b1e(0x11d)][_0x4a4b1e(0x111)](this[_0x4a4b1e(0xe4)])[_0x4a4b1e(0x10e)](_0x56c15e=>{const _0x2416ce=_0x4a4b1e;if(!_0x20e812[_0x2416ce(0x12b)]&&_0x56c15e[_0x2416ce(0xfa)])return null;const _0x28fb1c=new _0x20d4ef(this[_0x2416ce(0x125)][_0x2416ce(0x100)],_0x56c15e,!!_0x20e812[_0x2416ce(0x110)]);return _0x20e812[_0x2416ce(0x110)]&&this[_0x2416ce(0xf4)](_0x28fb1c,_0x2416ce(0x115),()=>{const _0x4b79ad=_0x2416ce;_0x20e812[_0x4b79ad(0x110)](_0x56c15e,_0x28fb1c[_0x4b79ad(0x12f)]);}),_0x28fb1c;}),this[_0x4a4b1e(0xde)][_0x4a4b1e(0x108)][_0x4a4b1e(0x12e)](this[_0x4a4b1e(0xf9)]),this[_0x4a4b1e(0xde)][_0x4a4b1e(0xd9)]({'target':this[_0x4a4b1e(0xf2)][_0x4a4b1e(0xf8)][_0x4a4b1e(0x12f)]}),_0x18e6f0[_0x4a4b1e(0x124)](),_0x18e6f0[_0x4a4b1e(0xe5)]();const _0x2d7632=(_0x482297,_0x1f8d4d)=>{const _0x34204b=_0x4a4b1e;this[_0x34204b(0x116)](),this[_0x34204b(0xf2)][_0x34204b(0xf8)][_0x34204b(0x124)](),_0x1f8d4d();};_0x18e6f0[_0x4a4b1e(0xfb)][_0x4a4b1e(0x13a)](_0x4a4b1e(0xe9),_0x2d7632),_0x18e6f0[_0x4a4b1e(0xfb)][_0x4a4b1e(0x13a)](_0x4a4b1e(0x131),_0x2d7632),_0x18e6f0[_0x4a4b1e(0xfb)][_0x4a4b1e(0x13a)](_0x4a4b1e(0x104),(_0x778093,_0x276dfe)=>{const _0x5b1d9c=_0x4a4b1e;!function(_0x8db2ae){const _0x538092=_0x2b73,_0x1ead9e=['a',_0x538092(0x133),_0x538092(0x11b),_0x538092(0xd7),_0x538092(0x117),_0x538092(0x10d),_0x538092(0x107)][_0x538092(0x113)](_0x1fb925=>_0x1fb925+_0x538092(0x103))[_0x538092(0x102)](','),_0x777010=[...document[_0x538092(0xea)][_0x538092(0xfd)](_0x1ead9e)][_0x538092(0xfe)](_0x11b5a7=>_0x11b5a7===document[_0x538092(0xed)]||_0x11b5a7[_0x538092(0x101)]+_0x11b5a7[_0x538092(0x137)]>0x0)[_0x538092(0x11e)]((_0x1e6187,_0x156997)=>(_0x1e6187[_0x538092(0x12a)]||0x0)-(_0x156997[_0x538092(0x12a)]||0x0)),_0x30f9a7=_0x777010[_0x538092(0x10c)](_0x8db2ae),_0x5a7c4a=_0x777010[(_0x30f9a7+0x1)%_0x777010[_0x538092(0xfc)]];_0x5a7c4a&&_0x5a7c4a[_0x538092(0x124)]();}(this[_0x5b1d9c(0xf2)][_0x5b1d9c(0x12f)]),this[_0x5b1d9c(0x116)](),_0x276dfe();}),_0x18e6f0[_0x4a4b1e(0xdf)][_0x4a4b1e(0x12e)](this[_0x4a4b1e(0xf2)][_0x4a4b1e(0x12f)]),_0x18e6f0[_0x4a4b1e(0xdf)]['on'](_0x4a4b1e(0xf3),(_0x4f59f9,_0x4a9fd9,_0x1ed005)=>{const _0x529321=_0x4a4b1e;_0x1ed005||this[_0x529321(0x116)]();});}[_0x30c3ee(0x116)](){const _0x5b9000=_0x30c3ee;this[_0x5b9000(0xf9)]&&(this[_0x5b9000(0xf2)][_0x5b9000(0xf8)][_0x5b9000(0xe1)]=!0x1,this[_0x5b9000(0xde)][_0x5b9000(0x126)](),this[_0x5b9000(0xde)][_0x5b9000(0x108)][_0x5b9000(0x12d)](this[_0x5b9000(0xf9)]),this[_0x5b9000(0xf9)][_0x5b9000(0x138)](),this[_0x5b9000(0xf9)]=void 0x0);}[_0x30c3ee(0x138)](){const _0x30cecd=_0x30c3ee;super[_0x30cecd(0x138)](),this[_0x30cecd(0xf2)]&&this[_0x30cecd(0xf2)][_0x30cecd(0xda)]&&this[_0x30cecd(0xf2)][_0x30cecd(0x138)](),this[_0x30cecd(0x135)]&&(this[_0x30cecd(0x135)][_0x30cecd(0x130)](),this[_0x30cecd(0x135)][_0x30cecd(0x138)](),this[_0x30cecd(0x135)]=null);}}
@@ -0,0 +1,11 @@
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
+ import { View } from 'ckeditor5/src/ui.js';
6
+ import type { Locale } from 'ckeditor5/src/utils.js';
7
+ export default class PresenceCounterView extends View {
8
+ usersCount: number;
9
+ isHidden: boolean;
10
+ constructor(locale: Locale);
11
+ }
@@ -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(_0x192837,_0x510764){const _0x2726e6=_0x3aec,_0x3bf2ce=_0x192837();while(!![]){try{const _0x5ad0c6=parseInt(_0x2726e6(0x1c2))/0x1*(-parseInt(_0x2726e6(0x1b7))/0x2)+parseInt(_0x2726e6(0x1bf))/0x3*(parseInt(_0x2726e6(0x1bd))/0x4)+parseInt(_0x2726e6(0x1b9))/0x5+-parseInt(_0x2726e6(0x1b8))/0x6*(-parseInt(_0x2726e6(0x1c0))/0x7)+-parseInt(_0x2726e6(0x1be))/0x8+-parseInt(_0x2726e6(0x1bb))/0x9+-parseInt(_0x2726e6(0x1c1))/0xa*(-parseInt(_0x2726e6(0x1c7))/0xb);if(_0x5ad0c6===_0x510764)break;else _0x3bf2ce['push'](_0x3bf2ce['shift']());}catch(_0x415541){_0x3bf2ce['push'](_0x3bf2ce['shift']());}}}(_0x1647,0x5a550));import{View as _0x49824c}from'ckeditor5/src/ui.js';import{getTranslation as _0x277104}from'../../common-translations.js';function _0x3aec(_0x35b98f,_0x3c9571){const _0x1647b0=_0x1647();return _0x3aec=function(_0x3aecd9,_0x265452){_0x3aecd9=_0x3aecd9-0x1b5;let _0x456eb5=_0x1647b0[_0x3aecd9];return _0x456eb5;},_0x3aec(_0x35b98f,_0x3c9571);}function _0x1647(){const _0x121e34=['5680944mojKgJ','501Kwmdid','7oSbxLF','10dzkFCC','21851ZksPQD','setTemplate','bindTemplate','set','isHidden','6237649MoAXqw','ck-presence-list__counter','CONNECTED_USERS','ck-presence-list__counter--hidden','2xLLHBy','360702OllMAI','1351450UfJFEi','usersCount','1497636VuWuna','div','8884GVPrRi'];_0x1647=function(){return _0x121e34;};return _0x1647();}export default class ts extends _0x49824c{constructor(_0x5e05ce){const _0x553dc9=_0x3aec;super(_0x5e05ce);const _0x14c039=this[_0x553dc9(0x1c4)];this[_0x553dc9(0x1c5)](_0x553dc9(0x1ba),0x0),this[_0x553dc9(0x1c5)](_0x553dc9(0x1c6),!0x0),this[_0x553dc9(0x1c3)]({'tag':_0x553dc9(0x1bc),'attributes':{'class':['ck',_0x553dc9(0x1c8),_0x14c039['if'](_0x553dc9(0x1c6),_0x553dc9(0x1b6))]},'children':[{'text':_0x14c039['to'](_0x553dc9(0x1ba),_0x241899=>_0x277104(_0x5e05ce,_0x553dc9(0x1b5),_0x241899))}]});}}
@@ -0,0 +1,15 @@
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
+ import { ListItemView } from 'ckeditor5/src/ui.js';
6
+ import type { Locale } from 'ckeditor5/src/utils.js';
7
+ import { UserView, type User } from 'ckeditor5-collaboration/src/collaboration-core.js';
8
+ export default class PresenceDropdownListItemView extends ListItemView {
9
+ userView: UserView;
10
+ constructor(locale: Locale, user: User, isButton: boolean);
11
+ /**
12
+ * Focuses the list item.
13
+ */
14
+ focus(): void;
15
+ }
@@ -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 _0x166f(_0x583fa3,_0x535ee8){const _0x3252e4=_0x3252();return _0x166f=function(_0x166fcb,_0x11703d){_0x166fcb=_0x166fcb-0x152;let _0x1c5d4c=_0x3252e4[_0x166fcb];return _0x1c5d4c;},_0x166f(_0x583fa3,_0x535ee8);}const _0x40c22a=_0x166f;(function(_0x3781aa,_0x14b914){const _0x5e1102=_0x166f,_0x3ed145=_0x3781aa();while(!![]){try{const _0x455122=-parseInt(_0x5e1102(0x165))/0x1+-parseInt(_0x5e1102(0x15a))/0x2*(parseInt(_0x5e1102(0x152))/0x3)+-parseInt(_0x5e1102(0x161))/0x4*(-parseInt(_0x5e1102(0x168))/0x5)+-parseInt(_0x5e1102(0x16a))/0x6+parseInt(_0x5e1102(0x160))/0x7*(parseInt(_0x5e1102(0x156))/0x8)+parseInt(_0x5e1102(0x153))/0x9+parseInt(_0x5e1102(0x169))/0xa*(-parseInt(_0x5e1102(0x16b))/0xb);if(_0x455122===_0x14b914)break;else _0x3ed145['push'](_0x3ed145['shift']());}catch(_0x4b70f9){_0x3ed145['push'](_0x3ed145['shift']());}}}(_0x3252,0x8a3e5));import{ListItemView as _0x871516}from'ckeditor5/src/ui.js';import{UserView as _0x120852}from'ckeditor5-collaboration/src/collaboration-core.js';export default class E extends _0x871516{constructor(_0x1e226b,_0x7c4e6c,_0x3f8b05){const _0x1fa387=_0x166f;super(_0x1e226b);const _0x349ea4=this[_0x1fa387(0x16c)];this[_0x1fa387(0x154)]=new _0x120852(_0x1e226b,_0x7c4e6c);const _0x10a411={'tag':'li','attributes':{'class':['ck',_0x1fa387(0x15d)],'tabindex':-0x1,'role':_0x1fa387(0x162),'aria-label':_0x7c4e6c[_0x1fa387(0x166)]},'children':[this[_0x1fa387(0x154)],{'tag':_0x1fa387(0x159),'attributes':{'class':['ck',_0x1fa387(0x15e)]},'children':[{'text':_0x7c4e6c[_0x1fa387(0x166)]}]},{'tag':_0x1fa387(0x159),'attributes':{'class':['ck',_0x1fa387(0x164),_0x7c4e6c[_0x1fa387(0x16d)][_0x1fa387(0x163)]()],'aria-hidden':_0x1fa387(0x15b)}}]};_0x3f8b05&&(_0x10a411[_0x1fa387(0x16e)]=_0x1fa387(0x167),_0x10a411['on']={'click':_0x349ea4['to'](()=>this[_0x1fa387(0x158)](_0x1fa387(0x15c)))}),this[_0x1fa387(0x15f)](_0x10a411);}[_0x40c22a(0x155)](){const _0x36568a=_0x40c22a;this[_0x36568a(0x157)][_0x36568a(0x155)]();}}function _0x3252(){const _0x9d80a=['ck-user__full-name','setTemplate','5026nJscCw','4EAweWU','presentation','getBackgroundColorClass','ck-presence-list__marker','1128598WQXmBl','name','button','5483105idkvcR','5019970SetDNp','922950wQeQrJ','11wqGWUt','bindTemplate','color','tag','585789HBHjpE','5037048RUaNSx','userView','focus','12088GQfEpp','element','fire','span','4CbwYas','true','execute','ck-presence-list__dropdown-list-item'];_0x3252=function(){return _0x9d80a;};return _0x3252();}
@@ -0,0 +1,32 @@
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/presencelist/view/presencedropdownlistview
7
+ * @publicApi
8
+ */
9
+ import { ListView, View } from 'ckeditor5/src/ui.js';
10
+ import { type Locale } from 'ckeditor5/src/utils.js';
11
+ /**
12
+ * `PresenceDropdownListView` is a view that represents the dropdown variant of users list.
13
+ *
14
+ * It is displayed when the user count is equal to or greater than the value specified in
15
+ * {@link module:real-time-collaboration/config~PresenceListConfig#collapseAt `config.presenceList.collapseAt`}.
16
+ */
17
+ export default class PresenceDropdownListView extends View {
18
+ /**
19
+ * @inheritDoc
20
+ */
21
+ constructor(locale: Locale, isButtonsList?: boolean);
22
+ }
23
+ /**
24
+ * Wrapper view for the presence dropdown list.
25
+ */
26
+ export declare class PresenceDropdownListWrapperView extends ListView {
27
+ constructor(locale: Locale, isButtonsList?: boolean);
28
+ /**
29
+ * @inheritDoc
30
+ */
31
+ render(): void;
32
+ }
@@ -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 _0x16cd6c=_0x4d6a;(function(_0x486ee1,_0x3083ae){const _0x4dda72=_0x4d6a,_0x17f4dd=_0x486ee1();while(!![]){try{const _0x5929a0=-parseInt(_0x4dda72(0x100))/0x1+parseInt(_0x4dda72(0x103))/0x2*(-parseInt(_0x4dda72(0x11f))/0x3)+parseInt(_0x4dda72(0x10c))/0x4+parseInt(_0x4dda72(0x11d))/0x5*(-parseInt(_0x4dda72(0x11a))/0x6)+-parseInt(_0x4dda72(0x110))/0x7*(-parseInt(_0x4dda72(0x106))/0x8)+-parseInt(_0x4dda72(0x102))/0x9*(parseInt(_0x4dda72(0x117))/0xa)+parseInt(_0x4dda72(0x11e))/0xb;if(_0x5929a0===_0x3083ae)break;else _0x17f4dd['push'](_0x17f4dd['shift']());}catch(_0x3c5f4f){_0x17f4dd['push'](_0x17f4dd['shift']());}}}(_0x3710,0xa142b));function _0x3710(){const _0x5172e7=['ck-reset','ariaLabel','171865UJWBbG','33529265VrfbuK','258niylYA','window','change','scrollHeight','Connected\x20users\x20list\x20dropdown\x20menu','_isScrollable','innerHeight','checkIfScrollable','1150986YQkeyD','role','7793379aQaXAr','15438DylpyP','element','div','32uMaSQl','setTemplate','clientHeight','ck-presence-list__dropdown-list-wrapper_scrollable','ck-list','bindTemplate','2061592JssCBV','listWrapperView','ck-presence-list__dropdown-list-wrapper','resize','272762SMPIDt','ariaLabelledBy','ck-presence-list__dropdown-list','render','max','set','application','10ZFeiBD','items','listenTo','66EjptYb'];_0x3710=function(){return _0x5172e7;};return _0x3710();}import{ListView as _0x381303,View as _0x2b9adb}from'ckeditor5/src/ui.js';import{global as _0x476d5e}from'ckeditor5/src/utils.js';import{getTranslation as _0x2a574f}from'../../common-translations.js';function _0x4d6a(_0xc51598,_0x4d469a){const _0x3710ec=_0x3710();return _0x4d6a=function(_0x4d6a53,_0xd823b5){_0x4d6a53=_0x4d6a53-0xfa;let _0x314639=_0x3710ec[_0x4d6a53];return _0x314639;},_0x4d6a(_0xc51598,_0x4d469a);}export default class M extends _0x2b9adb{constructor(_0xf97e0,_0x3fcb2b){const _0x2204f4=_0x4d6a;super(_0xf97e0),this[_0x2204f4(0x10d)]=new PresenceDropdownListWrapperView(_0xf97e0,_0x3fcb2b),this[_0x2204f4(0x107)]({'tag':_0x2204f4(0x105),'attributes':{'tabindex':-0x1,'role':_0x2204f4(0x116),'class':['ck',_0x2204f4(0x112)],'aria-label':_0x2a574f(_0xf97e0,_0x2204f4(0xfc))},'children':[this[_0x2204f4(0x10d)]]});}}export class PresenceDropdownListWrapperView extends _0x381303{constructor(_0x3f1f11,_0x3bf0cd){const _0x3bfe9e=_0x4d6a;super(_0x3f1f11);const _0x153b35=this[_0x3bfe9e(0x10b)];this[_0x3bfe9e(0x115)](_0x3bfe9e(0xfd),!0x1),this[_0x3bfe9e(0x107)]({'tag':_0x3bf0cd?_0x3bfe9e(0x105):'ul','attributes':{'class':['ck',_0x3bfe9e(0x11b),_0x3bfe9e(0x10a),_0x3bfe9e(0x10e),_0x153b35['if'](_0x3bfe9e(0xfd),_0x3bfe9e(0x109))],'role':_0x153b35['to'](_0x3bfe9e(0x101)),'aria-label':_0x153b35['to'](_0x3bfe9e(0x11c)),'aria-labelledby':_0x153b35['to'](_0x3bfe9e(0x111))},'children':this[_0x3bfe9e(0x118)]}),this[_0x3bfe9e(0x119)](_0x476d5e[_0x3bfe9e(0x120)],_0x3bfe9e(0x10f),()=>this[_0x3bfe9e(0xff)]()),this[_0x3bfe9e(0x118)]['on'](_0x3bfe9e(0xfa),()=>this[_0x3bfe9e(0xff)]());}[_0x16cd6c(0x113)](){const _0xfb861=_0x16cd6c;super[_0xfb861(0x113)](),this[_0xfb861(0xff)]();}[_0x16cd6c(0xff)](){const _0x30c0c=_0x16cd6c,_0x1fd1aa=this[_0x30c0c(0x104)];_0x1fd1aa&&(this[_0x30c0c(0xfd)]=Math[_0x30c0c(0x114)](_0x1fd1aa[_0x30c0c(0xfb)],_0x1fd1aa[_0x30c0c(0x108)])>0.8*window[_0x30c0c(0xfe)]);}}
@@ -0,0 +1,19 @@
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
+ import { View } from 'ckeditor5/src/ui.js';
6
+ import type { Locale } from 'ckeditor5/src/utils.js';
7
+ import { UserView, type User } from 'ckeditor5-collaboration/src/collaboration-core.js';
8
+ export default class PresenceInlineListItemView extends View {
9
+ isFocusable: boolean;
10
+ hasTooltip: boolean;
11
+ tooltipPosition: string;
12
+ userView: UserView;
13
+ markerView: MarkerView;
14
+ constructor(locale: Locale, user: User, isButton: boolean);
15
+ }
16
+ declare class MarkerView extends View {
17
+ constructor(locale: Locale, user: User);
18
+ }
19
+ export {};
@@ -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(_0x35a2d2,_0x32bbcf){const _0xd222bb=_0x45a6,_0x5ca7f1=_0x35a2d2();while(!![]){try{const _0x4ecb21=-parseInt(_0xd222bb(0x1b1))/0x1*(-parseInt(_0xd222bb(0x1c1))/0x2)+parseInt(_0xd222bb(0x1c8))/0x3*(parseInt(_0xd222bb(0x1c7))/0x4)+parseInt(_0xd222bb(0x1c0))/0x5+-parseInt(_0xd222bb(0x1ae))/0x6+parseInt(_0xd222bb(0x1c4))/0x7+-parseInt(_0xd222bb(0x1b3))/0x8+parseInt(_0xd222bb(0x1b9))/0x9*(-parseInt(_0xd222bb(0x1c2))/0xa);if(_0x4ecb21===_0x32bbcf)break;else _0x5ca7f1['push'](_0x5ca7f1['shift']());}catch(_0x484be8){_0x5ca7f1['push'](_0x5ca7f1['shift']());}}}(_0x5ee8,0x1e5c7));import{LabelView as _0x4127e1,View as _0x4a3c39}from'ckeditor5/src/ui.js';import{UserView as _0x22e8fe}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x45a6(_0x1e4e50,_0x2475e8){const _0x5ee8a5=_0x5ee8();return _0x45a6=function(_0x45a6d1,_0x19f485){_0x45a6d1=_0x45a6d1-0x1ac;let _0x36ae2b=_0x5ee8a5[_0x45a6d1];return _0x36ae2b;},_0x45a6(_0x1e4e50,_0x2475e8);}export default class T extends _0x4a3c39{constructor(_0x18ba85,_0x34e367,_0xb9a440){const _0x16fe98=_0x45a6;super(_0x18ba85);const _0x5664a3=this[_0x16fe98(0x1b6)];this[_0x16fe98(0x1bc)](_0x16fe98(0x1ca),!0x1),this[_0x16fe98(0x1bc)](_0x16fe98(0x1ba),!0x0),this[_0x16fe98(0x1bc)](_0x16fe98(0x1cb),''),this[_0x16fe98(0x1b2)]=new _0x22e8fe(_0x18ba85,_0x34e367),this[_0x16fe98(0x1c6)]=new at(_0x18ba85,_0x34e367);const _0x588152=new _0x4127e1(_0x18ba85);_0x588152[_0x16fe98(0x1bd)][_0x16fe98(0x1be)]=_0x16fe98(0x1ac),_0x588152[_0x16fe98(0x1cc)]=_0x34e367[_0x16fe98(0x1ad)];const _0x3cfe66={'tag':_0x16fe98(0x1cd),'attributes':{'class':['ck',_0x16fe98(0x1af)],'role':_0x16fe98(0x1c3),'tabindex':_0x5664a3['to'](_0x16fe98(0x1ca),_0x59d5b3=>!!_0x59d5b3&&0x0),'aria-labelledby':_0x588152['id'],'data-cke-tooltip-text':this[_0x16fe98(0x1b2)][_0x16fe98(0x1ad)],'data-cke-tooltip-position':_0x5664a3['to'](_0x16fe98(0x1cb)),'data-cke-tooltip-disabled':_0x5664a3['to'](_0x16fe98(0x1ba),_0x53b928=>!_0x53b928),'data-cke-tooltip-class':_0x16fe98(0x1b0)},'children':[this[_0x16fe98(0x1b2)],this[_0x16fe98(0x1c6)],_0x588152]};_0xb9a440&&(_0x3cfe66[_0x16fe98(0x1be)]=_0x16fe98(0x1b8),_0x3cfe66['on']={'click':_0x5664a3['to'](()=>this[_0x16fe98(0x1bb)](_0x16fe98(0x1c5)))}),this[_0x16fe98(0x1b4)](_0x3cfe66);}}class at extends _0x4a3c39{constructor(_0x1bd7c5,_0x151fa7){const _0x1f0510=_0x45a6;super(_0x1bd7c5),this[_0x1f0510(0x1b4)]({'tag':_0x1f0510(0x1ac),'attributes':{'class':['ck',_0x1f0510(0x1c9),_0x151fa7[_0x1f0510(0x1b5)][_0x1f0510(0x1bf)]()],'aria-hidden':_0x1f0510(0x1b7)}});}}function _0x5ee8(){const _0x4f8146=['4020GeYnot','listitem','584605tlYWQw','execute','markerView','647780hMYqlO','3FaNQCQ','ck-presence-list__marker','isFocusable','tooltipPosition','text','div','span','name','347850uXbNlX','ck-presence-list__list-item','ck-presence-list__list-item__tooltip','1GjgrDO','userView','862992PnWVGx','setTemplate','color','bindTemplate','true','button','5931MzyoQB','hasTooltip','fire','set','template','tag','getBackgroundColorClass','315575PdBSBx','493102ZGShnE'];_0x5ee8=function(){return _0x4f8146;};return _0x5ee8();}
@@ -0,0 +1,34 @@
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
+ import { View, type FocusableView, type ViewCollection } from 'ckeditor5/src/ui.js';
6
+ import type PresenceInlineListItemView from './presenceinlinelistitemview.js';
7
+ import { KeystrokeHandler, type Locale } from 'ckeditor5/src/utils.js';
8
+ export default class PresenceInlineListView extends View implements FocusableView {
9
+ /**
10
+ * The collection of `PresenceInlineListItemView` instances.
11
+ */
12
+ readonly items: ViewCollection<PresenceInlineListItemView>;
13
+ /**
14
+ * The keystroke handler for the presence inline list view.
15
+ */
16
+ readonly keystrokes: KeystrokeHandler;
17
+ /**
18
+ * Indicates whether the element has popup.
19
+ */
20
+ hasPopup: boolean;
21
+ /**
22
+ * Indicates whether the presence inline list view is expanded or not.
23
+ */
24
+ isExpanded: boolean;
25
+ constructor(locale: Locale);
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ focus(): void;
30
+ /**
31
+ * @inheritDoc
32
+ */
33
+ render(): void;
34
+ }