@ckeditor/ckeditor5-real-time-collaboration 44.1.0 → 44.2.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -1
- package/README.md +1 -1
- package/build/real-time-collaboration.js +2 -2
- package/dist/index-content.css +2 -2
- package/dist/index-editor.css +2 -2
- package/dist/index.css +9 -9
- package/dist/index.js +7 -7
- package/dist/translations/af.d.ts +2 -2
- package/dist/translations/af.js +2 -2
- package/dist/translations/af.umd.js +2 -2
- package/dist/translations/ar.d.ts +2 -2
- package/dist/translations/ar.js +2 -2
- package/dist/translations/ar.umd.js +2 -2
- package/dist/translations/ast.d.ts +2 -2
- package/dist/translations/ast.js +2 -2
- package/dist/translations/ast.umd.js +2 -2
- package/dist/translations/az.d.ts +2 -2
- package/dist/translations/az.js +2 -2
- package/dist/translations/az.umd.js +2 -2
- package/dist/translations/bg.d.ts +2 -2
- package/dist/translations/bg.js +2 -2
- package/dist/translations/bg.umd.js +2 -2
- package/dist/translations/bn.d.ts +2 -2
- package/dist/translations/bn.js +2 -2
- package/dist/translations/bn.umd.js +2 -2
- package/dist/translations/bs.d.ts +2 -2
- package/dist/translations/bs.js +2 -2
- package/dist/translations/bs.umd.js +2 -2
- package/dist/translations/ca.d.ts +2 -2
- package/dist/translations/ca.js +2 -2
- package/dist/translations/ca.umd.js +2 -2
- package/dist/translations/cs.d.ts +2 -2
- package/dist/translations/cs.js +2 -2
- package/dist/translations/cs.umd.js +2 -2
- package/dist/translations/da.d.ts +2 -2
- package/dist/translations/da.js +2 -2
- package/dist/translations/da.umd.js +2 -2
- package/dist/translations/de-ch.d.ts +2 -2
- package/dist/translations/de-ch.js +2 -2
- package/dist/translations/de-ch.umd.js +2 -2
- package/dist/translations/de.d.ts +2 -2
- package/dist/translations/de.js +2 -2
- package/dist/translations/de.umd.js +2 -2
- package/dist/translations/el.d.ts +2 -2
- package/dist/translations/el.js +2 -2
- package/dist/translations/el.umd.js +2 -2
- package/dist/translations/en-au.d.ts +2 -2
- package/dist/translations/en-au.js +2 -2
- package/dist/translations/en-au.umd.js +2 -2
- package/dist/translations/en-gb.d.ts +2 -2
- package/dist/translations/en-gb.js +2 -2
- package/dist/translations/en-gb.umd.js +2 -2
- package/dist/translations/en.d.ts +2 -2
- package/dist/translations/en.js +2 -2
- package/dist/translations/en.umd.js +2 -2
- package/dist/translations/eo.d.ts +2 -2
- package/dist/translations/eo.js +2 -2
- package/dist/translations/eo.umd.js +2 -2
- package/dist/translations/es-co.d.ts +2 -2
- package/dist/translations/es-co.js +2 -2
- package/dist/translations/es-co.umd.js +2 -2
- package/dist/translations/es.d.ts +2 -2
- package/dist/translations/es.js +2 -2
- package/dist/translations/es.umd.js +2 -2
- package/dist/translations/et.d.ts +2 -2
- package/dist/translations/et.js +2 -2
- package/dist/translations/et.umd.js +2 -2
- package/dist/translations/eu.d.ts +2 -2
- package/dist/translations/eu.js +2 -2
- package/dist/translations/eu.umd.js +2 -2
- package/dist/translations/fa.d.ts +2 -2
- package/dist/translations/fa.js +2 -2
- package/dist/translations/fa.umd.js +2 -2
- package/dist/translations/fi.d.ts +2 -2
- package/dist/translations/fi.js +2 -2
- package/dist/translations/fi.umd.js +2 -2
- package/dist/translations/fr.d.ts +2 -2
- package/dist/translations/fr.js +2 -2
- package/dist/translations/fr.umd.js +2 -2
- package/dist/translations/gl.d.ts +2 -2
- package/dist/translations/gl.js +2 -2
- package/dist/translations/gl.umd.js +2 -2
- package/dist/translations/gu.d.ts +2 -2
- package/dist/translations/gu.js +2 -2
- package/dist/translations/gu.umd.js +2 -2
- package/dist/translations/he.d.ts +2 -2
- package/dist/translations/he.js +2 -2
- package/dist/translations/he.umd.js +2 -2
- package/dist/translations/hi.d.ts +2 -2
- package/dist/translations/hi.js +2 -2
- package/dist/translations/hi.umd.js +2 -2
- package/dist/translations/hr.d.ts +2 -2
- package/dist/translations/hr.js +2 -2
- package/dist/translations/hr.umd.js +2 -2
- package/dist/translations/hu.d.ts +2 -2
- package/dist/translations/hu.js +2 -2
- package/dist/translations/hu.umd.js +2 -2
- package/dist/translations/hy.d.ts +2 -2
- package/dist/translations/hy.js +2 -2
- package/dist/translations/hy.umd.js +2 -2
- package/dist/translations/id.d.ts +2 -2
- package/dist/translations/id.js +2 -2
- package/dist/translations/id.umd.js +2 -2
- package/dist/translations/it.d.ts +2 -2
- package/dist/translations/it.js +2 -2
- package/dist/translations/it.umd.js +2 -2
- package/dist/translations/ja.d.ts +2 -2
- package/dist/translations/ja.js +2 -2
- package/dist/translations/ja.umd.js +2 -2
- package/dist/translations/jv.d.ts +2 -2
- package/dist/translations/jv.js +2 -2
- package/dist/translations/jv.umd.js +2 -2
- package/dist/translations/kk.d.ts +2 -2
- package/dist/translations/kk.js +2 -2
- package/dist/translations/kk.umd.js +2 -2
- package/dist/translations/km.d.ts +2 -2
- package/dist/translations/km.js +2 -2
- package/dist/translations/km.umd.js +2 -2
- package/dist/translations/kn.d.ts +2 -2
- package/dist/translations/kn.js +2 -2
- package/dist/translations/kn.umd.js +2 -2
- package/dist/translations/ko.d.ts +2 -2
- package/dist/translations/ko.js +2 -2
- package/dist/translations/ko.umd.js +2 -2
- package/dist/translations/ku.d.ts +2 -2
- package/dist/translations/ku.js +2 -2
- package/dist/translations/ku.umd.js +2 -2
- package/dist/translations/lt.d.ts +2 -2
- package/dist/translations/lt.js +2 -2
- package/dist/translations/lt.umd.js +2 -2
- package/dist/translations/lv.d.ts +2 -2
- package/dist/translations/lv.js +2 -2
- package/dist/translations/lv.umd.js +2 -2
- package/dist/translations/ms.d.ts +2 -2
- package/dist/translations/ms.js +2 -2
- package/dist/translations/ms.umd.js +2 -2
- package/dist/translations/nb.d.ts +2 -2
- package/dist/translations/nb.js +2 -2
- package/dist/translations/nb.umd.js +2 -2
- package/dist/translations/ne.d.ts +2 -2
- package/dist/translations/ne.js +2 -2
- package/dist/translations/ne.umd.js +2 -2
- package/dist/translations/nl.d.ts +2 -2
- package/dist/translations/nl.js +2 -2
- package/dist/translations/nl.umd.js +2 -2
- package/dist/translations/no.d.ts +2 -2
- package/dist/translations/no.js +2 -2
- package/dist/translations/no.umd.js +2 -2
- package/dist/translations/oc.d.ts +2 -2
- package/dist/translations/oc.js +2 -2
- package/dist/translations/oc.umd.js +2 -2
- package/dist/translations/pl.d.ts +2 -2
- package/dist/translations/pl.js +2 -2
- package/dist/translations/pl.umd.js +2 -2
- package/dist/translations/pt-br.d.ts +2 -2
- package/dist/translations/pt-br.js +2 -2
- package/dist/translations/pt-br.umd.js +2 -2
- package/dist/translations/pt.d.ts +2 -2
- package/dist/translations/pt.js +2 -2
- package/dist/translations/pt.umd.js +2 -2
- package/dist/translations/ro.d.ts +2 -2
- package/dist/translations/ro.js +2 -2
- package/dist/translations/ro.umd.js +2 -2
- package/dist/translations/ru.d.ts +2 -2
- package/dist/translations/ru.js +2 -2
- package/dist/translations/ru.umd.js +2 -2
- package/dist/translations/si.d.ts +2 -2
- package/dist/translations/si.js +2 -2
- package/dist/translations/si.umd.js +2 -2
- package/dist/translations/sk.d.ts +2 -2
- package/dist/translations/sk.js +2 -2
- package/dist/translations/sk.umd.js +2 -2
- package/dist/translations/sl.d.ts +2 -2
- package/dist/translations/sl.js +2 -2
- package/dist/translations/sl.umd.js +2 -2
- package/dist/translations/sq.d.ts +2 -2
- package/dist/translations/sq.js +2 -2
- package/dist/translations/sq.umd.js +2 -2
- package/dist/translations/sr-latn.d.ts +2 -2
- package/dist/translations/sr-latn.js +2 -2
- package/dist/translations/sr-latn.umd.js +2 -2
- package/dist/translations/sr.d.ts +2 -2
- package/dist/translations/sr.js +2 -2
- package/dist/translations/sr.umd.js +2 -2
- package/dist/translations/sv.d.ts +2 -2
- package/dist/translations/sv.js +2 -2
- package/dist/translations/sv.umd.js +2 -2
- package/dist/translations/th.d.ts +2 -2
- package/dist/translations/th.js +2 -2
- package/dist/translations/th.umd.js +2 -2
- package/dist/translations/ti.d.ts +2 -2
- package/dist/translations/ti.js +2 -2
- package/dist/translations/ti.umd.js +2 -2
- package/dist/translations/tk.d.ts +2 -2
- package/dist/translations/tk.js +2 -2
- package/dist/translations/tk.umd.js +2 -2
- package/dist/translations/tr.d.ts +2 -2
- package/dist/translations/tr.js +2 -2
- package/dist/translations/tr.umd.js +2 -2
- package/dist/translations/tt.d.ts +2 -2
- package/dist/translations/tt.js +2 -2
- package/dist/translations/tt.umd.js +2 -2
- package/dist/translations/ug.d.ts +2 -2
- package/dist/translations/ug.js +2 -2
- package/dist/translations/ug.umd.js +2 -2
- package/dist/translations/uk.d.ts +2 -2
- package/dist/translations/uk.js +2 -2
- package/dist/translations/uk.umd.js +2 -2
- package/dist/translations/ur.d.ts +2 -2
- package/dist/translations/ur.js +2 -2
- package/dist/translations/ur.umd.js +2 -2
- package/dist/translations/uz.d.ts +2 -2
- package/dist/translations/uz.js +2 -2
- package/dist/translations/uz.umd.js +2 -2
- package/dist/translations/vi.d.ts +2 -2
- package/dist/translations/vi.js +2 -2
- package/dist/translations/vi.umd.js +2 -2
- package/dist/translations/zh-cn.d.ts +2 -2
- package/dist/translations/zh-cn.js +2 -2
- package/dist/translations/zh-cn.umd.js +2 -2
- package/dist/translations/zh.d.ts +2 -2
- package/dist/translations/zh.js +2 -2
- package/dist/translations/zh.umd.js +2 -2
- package/lang/translations/af.po +1 -1
- package/lang/translations/ar.po +1 -1
- package/lang/translations/ast.po +1 -1
- package/lang/translations/az.po +1 -1
- package/lang/translations/bg.po +1 -1
- package/lang/translations/bn.po +1 -1
- package/lang/translations/bs.po +1 -1
- package/lang/translations/ca.po +1 -1
- package/lang/translations/cs.po +1 -1
- package/lang/translations/da.po +1 -1
- package/lang/translations/de-ch.po +1 -1
- package/lang/translations/de.po +1 -1
- package/lang/translations/el.po +1 -1
- package/lang/translations/en-au.po +1 -1
- package/lang/translations/en-gb.po +1 -1
- package/lang/translations/en.po +1 -1
- package/lang/translations/eo.po +1 -1
- package/lang/translations/es-co.po +1 -1
- package/lang/translations/es.po +1 -1
- package/lang/translations/et.po +1 -1
- package/lang/translations/eu.po +1 -1
- package/lang/translations/fa.po +1 -1
- package/lang/translations/fi.po +1 -1
- package/lang/translations/fr.po +1 -1
- package/lang/translations/gl.po +1 -1
- package/lang/translations/gu.po +1 -1
- package/lang/translations/he.po +1 -1
- package/lang/translations/hi.po +1 -1
- package/lang/translations/hr.po +1 -1
- package/lang/translations/hu.po +1 -1
- package/lang/translations/hy.po +1 -1
- package/lang/translations/id.po +1 -1
- package/lang/translations/it.po +1 -1
- package/lang/translations/ja.po +1 -1
- package/lang/translations/jv.po +1 -1
- package/lang/translations/kk.po +1 -1
- package/lang/translations/km.po +1 -1
- package/lang/translations/kn.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/ku.po +1 -1
- package/lang/translations/lt.po +1 -1
- package/lang/translations/lv.po +1 -1
- package/lang/translations/ms.po +1 -1
- package/lang/translations/nb.po +1 -1
- package/lang/translations/ne.po +1 -1
- package/lang/translations/nl.po +1 -1
- package/lang/translations/no.po +1 -1
- package/lang/translations/oc.po +1 -1
- package/lang/translations/pl.po +1 -1
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/pt.po +1 -1
- package/lang/translations/ro.po +1 -1
- package/lang/translations/ru.po +1 -1
- package/lang/translations/si.po +1 -1
- package/lang/translations/sk.po +1 -1
- package/lang/translations/sl.po +1 -1
- package/lang/translations/sq.po +1 -1
- package/lang/translations/sr-latn.po +1 -1
- package/lang/translations/sr.po +1 -1
- package/lang/translations/sv.po +1 -1
- package/lang/translations/th.po +1 -1
- package/lang/translations/ti.po +1 -1
- package/lang/translations/tk.po +1 -1
- package/lang/translations/tr.po +1 -1
- package/lang/translations/tt.po +1 -1
- package/lang/translations/ug.po +1 -1
- package/lang/translations/uk.po +1 -1
- package/lang/translations/ur.po +1 -1
- package/lang/translations/uz.po +1 -1
- package/lang/translations/vi.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/lang/translations/zh.po +1 -1
- package/package.json +36 -9
- package/src/augmentation.d.ts +1 -1
- package/src/augmentation.js +1 -1
- package/src/common-translations.d.ts +1 -1
- package/src/common-translations.js +2 -2
- package/src/config.d.ts +1 -1
- package/src/config.js +1 -1
- package/src/index.d.ts +2 -1
- package/src/index.js +2 -2
- package/src/presencelist/presencelistui.d.ts +1 -1
- package/src/presencelist/presencelistui.js +2 -2
- package/src/presencelist/view/presencecounterview.d.ts +1 -1
- package/src/presencelist/view/presencecounterview.js +2 -2
- package/src/presencelist/view/presencedropdownlistitemview.d.ts +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +2 -2
- package/src/presencelist/view/presencedropdownlistview.d.ts +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +2 -2
- package/src/presencelist/view/presenceinlinelistitemview.d.ts +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +2 -2
- package/src/presencelist/view/presenceinlinelistview.d.ts +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +2 -2
- package/src/presencelist/view/presencelistview.d.ts +1 -1
- package/src/presencelist/view/presencelistview.js +2 -2
- package/src/presencelist.d.ts +1 -1
- package/src/presencelist.js +2 -2
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.d.ts +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.d.ts +1 -1
- package/src/realtimecollaborativecomments.js +2 -2
- package/src/realtimecollaborativeediting/realtimecollaborationclient.d.ts +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.d.ts +1 -1
- package/src/realtimecollaborativeediting/sessions.js +2 -2
- package/src/realtimecollaborativeediting/usermarkers.d.ts +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +2 -2
- package/src/realtimecollaborativeediting/websocketgateway.d.ts +5 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.d.ts +1 -1
- package/src/realtimecollaborativeediting.js +2 -2
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.d.ts +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.d.ts +1 -1
- package/src/realtimecollaborativerevisionhistory.js +2 -2
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.d.ts +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.d.ts +1 -1
- package/src/realtimecollaborativetrackchanges.js +2 -2
- package/theme/presencelist.css +1 -1
- package/theme/usermarkers.css +1 -1
- package/dist/augmentation.d.ts +0 -75
- package/dist/common-translations.d.ts +0 -13
- package/dist/config.d.ts +0 -52
- package/dist/index.d.ts +0 -18
- package/dist/presencelist/presencelistui.d.ts +0 -51
- package/dist/presencelist/view/presencecounterview.d.ts +0 -15
- package/dist/presencelist/view/presencedropdownlistitemview.d.ts +0 -19
- package/dist/presencelist/view/presencedropdownlistview.d.ts +0 -36
- package/dist/presencelist/view/presenceinlinelistitemview.d.ts +0 -23
- package/dist/presencelist/view/presenceinlinelistview.d.ts +0 -38
- package/dist/presencelist/view/presencelistview.d.ts +0 -24
- package/dist/presencelist.d.ts +0 -40
- package/dist/realtimecollaborativecomments/cloudservicescommentsadapter.d.ts +0 -64
- package/dist/realtimecollaborativecomments.d.ts +0 -48
- package/dist/realtimecollaborativeediting/realtimecollaborationclient.d.ts +0 -149
- package/dist/realtimecollaborativeediting/sessions.d.ts +0 -130
- package/dist/realtimecollaborativeediting/usermarkers.d.ts +0 -52
- package/dist/realtimecollaborativeediting/websocketgateway.d.ts +0 -67
- package/dist/realtimecollaborativeediting.d.ts +0 -38
- package/dist/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.d.ts +0 -61
- package/dist/realtimecollaborativerevisionhistory.d.ts +0 -41
- package/dist/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.d.ts +0 -55
- package/dist/realtimecollaborativetrackchanges.d.ts +0 -39
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x1da0f5=_0x1015;(function(_0x10a420,_0x2e5de4){var _0x2b6dfa=_0x1015,_0x5a618c=_0x10a420();while(!![]){try{var _0x465b36=-parseInt(_0x2b6dfa(0x1b8))/0x1*(-parseInt(_0x2b6dfa(0x1b4))/0x2)+-parseInt(_0x2b6dfa(0x1b5))/0x3*(-parseInt(_0x2b6dfa(0x1b2))/0x4)+parseInt(_0x2b6dfa(0x1b1))/0x5+-parseInt(_0x2b6dfa(0x1ad))/0x6+-parseInt(_0x2b6dfa(0x1b0))/0x7+parseInt(_0x2b6dfa(0x1a9))/0x8+-parseInt(_0x2b6dfa(0x1ae))/0x9*(parseInt(_0x2b6dfa(0x1aa))/0xa);if(_0x465b36===_0x2e5de4)break;else _0x5a618c['push'](_0x5a618c['shift']());}catch(_0x3996e7){_0x5a618c['push'](_0x5a618c['shift']());}}}(_0x1a26,0xd79c6));import{Plugin as _0x283f25}from'ckeditor5/src/core.js';function _0x1015(_0x153ce1,_0x181383){var _0x1a26bd=_0x1a26();return _0x1015=function(_0x1015d7,_0x2d5216){_0x1015d7=_0x1015d7-0x1a9;var _0x436c2d=_0x1a26bd[_0x1015d7];return _0x436c2d;},_0x1015(_0x153ce1,_0x181383);}import _0x424b68 from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import _0x2c501d from'./realtimecollaborativeediting.js';export default class g extends _0x283f25{static get[_0x1da0f5(0x1af)](){var _0x4a5afa=_0x1da0f5;return[_0x4a5afa(0x1b6),_0x424b68,_0x2c501d];}static get[_0x1da0f5(0x1b7)](){var _0x1cdf1c=_0x1da0f5;return _0x1cdf1c(0x1ab);}static get[_0x1da0f5(0x1ac)](){return!0x0;}static get[_0x1da0f5(0x1b3)](){return!0x0;}}function _0x1a26(){var _0x16de3a=['1HOZgZB','11865464lfaivA','40qOYErt','RealTimeCollaborativeRevisionHistory','isOfficialPlugin','3617520DgDsia','4219389mlGrXx','requires','8065456cwxGhp','8808470KziGzk','16UEOOZv','isPremiumPlugin','501506coPdYs','763443giNHTr','RevisionHistory','pluginName'];_0x1a26=function(){return _0x16de3a;};return _0x1a26();}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x128d4e=_0x5ec7;(function(_0x571283,_0x469249){const _0x3c4f71=_0x5ec7,_0x3ca41a=_0x571283();while(!![]){try{const _0x3c804a=parseInt(_0x3c4f71(0x1fd))/0x1+parseInt(_0x3c4f71(0x225))/0x2*(-parseInt(_0x3c4f71(0x21a))/0x3)+-parseInt(_0x3c4f71(0x206))/0x4*(-parseInt(_0x3c4f71(0x205))/0x5)+parseInt(_0x3c4f71(0x210))/0x6*(parseInt(_0x3c4f71(0x220))/0x7)+-parseInt(_0x3c4f71(0x1f5))/0x8*(parseInt(_0x3c4f71(0x22a))/0x9)+-parseInt(_0x3c4f71(0x202))/0xa*(-parseInt(_0x3c4f71(0x221))/0xb)+parseInt(_0x3c4f71(0x1fa))/0xc*(-parseInt(_0x3c4f71(0x22d))/0xd);if(_0x3c804a===_0x469249)break;else _0x3ca41a['push'](_0x3ca41a['shift']());}catch(_0x475156){_0x3ca41a['push'](_0x3ca41a['shift']());}}}(_0x4389,0x6e029));import{Plugin as _0x26d790}from'ckeditor5/src/core.js';import{User as _0x3d0761,TrackChangesService as _0x17fb8a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x56ab00 from'../realtimecollaborativeediting/websocketgateway.js';function _0x4389(){const _0x1f96b7=['startsWith','209853ZHTGcw','TrackChangesEditing','isConnected','13oyYyMd','find','addUser','originalSuggestionId','isPremiumPlugin','editor','plugins','CloudServicesTrackChangesAdapter','catch','getMany','message','24akUMgN','cloud-services-internal-error:\x20Not\x20connected.','values','reconnect','adapter','23356236SyxdbY','_fetchMissingUsersForThreads','connect','696816tbKAWC','collaboration.channelId','_waitForServiceReady','TrackChangesService','then','41990Cktrpl','cloud-services-internal-error:\x20Request\x20timeout.','delete','5HNoYNh','3491212ZZzOyw','get','connected','_saved','getSuggestion','from','attributes','init','config','addToReconnectionStack','6XLtXsz','connection','suggestionUpdated','addSuggestionData','listenTo','pluginName','size','_bufferedRequests','data','state','240YKbcHK','update','_trackChangesService','open','isOfficialPlugin','getUser','3124891SWPuzx','1397IPBUSy','set','off','requires','2060vPFOfx','add','hasSuggestion','type'];_0x4389=function(){return _0x1f96b7;};return _0x4389();}function _0x5ec7(_0x3e1692,_0x7cfbd7){const _0x4389b7=_0x4389();return _0x5ec7=function(_0x5ec775,_0xa42e51){_0x5ec775=_0x5ec775-0x1f1;let _0x578e63=_0x4389b7[_0x5ec775];return _0x578e63;},_0x5ec7(_0x3e1692,_0x7cfbd7);}import _0x538157 from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0xdf2205}from'ckeditor5-collaboration/src/collaboration-core.js';class f extends _0x26d790{static get[_0x128d4e(0x224)](){const _0x4163e2=_0x128d4e;return[_0x538157,_0x4163e2(0x22b),_0x56ab00];}static get[_0x128d4e(0x215)](){const _0x506bad=_0x128d4e;return _0x506bad(0x1f1);}static get[_0x128d4e(0x21e)](){return!0x0;}static get[_0x128d4e(0x231)](){return!0x0;}constructor(_0x17197c){const _0x2617c8=_0x128d4e;super(_0x17197c);const _0x4937f9=this[_0x2617c8(0x232)][_0x2617c8(0x20e)][_0x2617c8(0x207)](_0x2617c8(0x1fe));this[_0x2617c8(0x217)]=new Map(),this[_0x2617c8(0x21c)]=new f[(_0x2617c8(0x200))](_0x4937f9);}[_0x128d4e(0x20d)](){const _0x573ec2=_0x128d4e,_0x4eb7e9=this[_0x573ec2(0x232)][_0x573ec2(0x233)][_0x573ec2(0x207)](_0x56ab00),_0x3bd13d=this[_0x573ec2(0x232)][_0x573ec2(0x233)][_0x573ec2(0x207)](_0x573ec2(0x22b));return _0x3bd13d[_0x573ec2(0x1f9)]={'getSuggestion':async _0x2cd3a1=>{const _0x3e6f87=_0x573ec2;await this[_0x3e6f87(0x1ff)]();const _0x48cd57=await this[_0x3e6f87(0x21c)][_0x3e6f87(0x207)](_0x2cd3a1)[_0x3e6f87(0x1f2)](R);return await this[_0x3e6f87(0x1fb)]([_0x48cd57]),_0x48cd57;},'addSuggestion':async({id:_0x43d72c,type:_0x487d3f,data:_0x102374,originalSuggestionId:_0x49481f,attributes:_0x3d6386})=>{const _0x56676f=_0x573ec2;await this[_0x56676f(0x1ff)]();const _0x6f914f={'id':_0x43d72c,'type':_0x487d3f,'data':_0x102374,'originalSuggestionId':_0x49481f,'attributes':_0x3d6386},_0x2f3144=await this[_0x56676f(0x21c)][_0x56676f(0x226)](_0x43d72c,_0x487d3f,_0x102374,_0x49481f,_0x3d6386)[_0x56676f(0x1f2)](_0x19fb05=>{if(U(_0x19fb05))return new Promise(_0x15495e=>{const _0x2c71bb=_0x5ec7;this[_0x2c71bb(0x217)][_0x2c71bb(0x222)](_0x43d72c,{'resolve':_0x15495e,'suggestionData':_0x6f914f});});throw _0x19fb05;});return this[_0x56676f(0x217)][_0x56676f(0x204)](_0x43d72c),_0x2f3144;},'updateSuggestion':async(_0x369467,_0x1f5242)=>{const _0x2ec117=_0x573ec2;if(await this[_0x2ec117(0x1ff)](),_0x2ec117(0x21d)!==_0x1f5242[_0x2ec117(0x219)])return this[_0x2ec117(0x21c)][_0x2ec117(0x21b)](_0x369467,_0x1f5242)[_0x2ec117(0x1f2)](R);}},this[_0x573ec2(0x214)](this[_0x573ec2(0x21c)],_0x573ec2(0x212),(_0x45eec8,_0x2e7542)=>{const _0x55ed06=_0x573ec2;_0x3bd13d[_0x55ed06(0x227)](_0x2e7542['id'])&&(_0x3bd13d[_0x55ed06(0x20a)](_0x2e7542['id'])[_0x55ed06(0x20c)]=_0x2e7542[_0x55ed06(0x20c)]);}),this[_0x573ec2(0x21c)][_0x573ec2(0x1fc)](_0x4eb7e9[_0x573ec2(0x211)])[_0x573ec2(0x201)](_0x51fe09=>(_0x4eb7e9[_0x573ec2(0x20f)](this),this[_0x573ec2(0x1fb)](_0x51fe09)[_0x573ec2(0x201)](()=>{const _0x241810=_0x573ec2;for(const _0x4c034e of _0x51fe09){_0x3bd13d[_0x241810(0x213)](_0x4c034e)[_0x241810(0x209)]=!0x0;}})));}async[_0x128d4e(0x1f8)](){const _0x2d3beb=_0x128d4e,_0x1c81dd=this[_0x2d3beb(0x232)][_0x2d3beb(0x233)][_0x2d3beb(0x207)](_0x2d3beb(0x22b)),{connection:_0x3e4bc9}=this[_0x2d3beb(0x232)][_0x2d3beb(0x233)][_0x2d3beb(0x207)](_0x56ab00),_0x1d3e6d=await this[_0x2d3beb(0x21c)][_0x2d3beb(0x1fc)](_0x3e4bc9);await this[_0x2d3beb(0x1fb)](_0x1d3e6d);for(const {suggestionData:_0x25d7bb,resolve:_0x2d990a}of this[_0x2d3beb(0x217)][_0x2d3beb(0x1f7)]()){let _0x4b2525=_0x1d3e6d[_0x2d3beb(0x22e)](_0x1d4a0f=>_0x1d4a0f['id']===_0x25d7bb['id']);_0x4b2525||(_0x4b2525=await this[_0x2d3beb(0x21c)][_0x2d3beb(0x226)](_0x25d7bb['id'],_0x25d7bb[_0x2d3beb(0x228)],_0x25d7bb[_0x2d3beb(0x218)],_0x25d7bb[_0x2d3beb(0x230)])),_0x2d990a(_0x4b2525);}for(const _0x41aed8 of _0x1d3e6d)_0x1c81dd[_0x2d3beb(0x227)](_0x41aed8['id'])||_0x1c81dd[_0x2d3beb(0x213)](_0x41aed8);}async[_0x128d4e(0x1ff)](){const _0x31915c=_0x128d4e;this[_0x31915c(0x21c)][_0x31915c(0x22c)]||await new Promise(_0x57fe7a=>{const _0x530c68=_0x31915c;this[_0x530c68(0x214)](this[_0x530c68(0x21c)],_0x530c68(0x208),_0x411fba=>{const _0x562642=_0x530c68;_0x411fba[_0x562642(0x223)](),_0x57fe7a();});});}async[_0x128d4e(0x1fb)](_0x1a6120){const _0x2253cc=_0x128d4e,_0x5c2789=this[_0x2253cc(0x232)][_0x2253cc(0x233)][_0x2253cc(0x207)](_0xdf2205),{connection:_0x4a4ce6}=this[_0x2253cc(0x232)][_0x2253cc(0x233)][_0x2253cc(0x207)](_0x56ab00),_0x4ec617=new Set();for(const {authorId:_0x5279cb}of _0x1a6120)_0x5c2789[_0x2253cc(0x21f)](_0x5279cb)||_0x4ec617[_0x2253cc(0x226)](_0x5279cb);if(0x0===_0x4ec617[_0x2253cc(0x216)])return;const _0x326c7a=await _0x3d0761[_0x2253cc(0x1f3)](_0x4a4ce6,Array[_0x2253cc(0x20b)](_0x4ec617));for(const _0x2c4bcc of _0x326c7a)_0x5c2789[_0x2253cc(0x21f)](_0x2c4bcc['id'])||_0x5c2789[_0x2253cc(0x22f)](_0x2c4bcc);}}f[_0x128d4e(0x200)]=_0x17fb8a;export default f;function R(_0x508182){if(U(_0x508182))return new Promise(()=>{});throw _0x508182;}function U(_0x24f826){const _0x3f07b7=_0x128d4e;return _0x24f826[_0x3f07b7(0x1f4)][_0x3f07b7(0x229)](_0x3f07b7(0x1f6))||_0x24f826[_0x3f07b7(0x1f4)][_0x3f07b7(0x229)](_0x3f07b7(0x203));}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x493631=_0x5351;function _0x1ba3(){var _0x350268=['isPremiumPlugin','10DDcyWM','isOfficialPlugin','10MLeMrH','4945932OAqHrL','2315950VJhlsV','pluginName','1688UqqANU','27540106vvCBww','requires','TrackChanges','3771948sPZgth','2005564KIcRYf','1149412wyhztu','1434TqyzRN','RealTimeCollaborativeTrackChanges','8UBZEQo'];_0x1ba3=function(){return _0x350268;};return _0x1ba3();}(function(_0x4c8f16,_0x470b34){var _0x26d32e=_0x5351,_0x196446=_0x4c8f16();while(!![]){try{var _0x5b1690=parseInt(_0x26d32e(0xad))/0x1+parseInt(_0x26d32e(0xa7))/0x2*(-parseInt(_0x26d32e(0xae))/0x3)+-parseInt(_0x26d32e(0xac))/0x4*(-parseInt(_0x26d32e(0xb2))/0x5)+parseInt(_0x26d32e(0xab))/0x6+parseInt(_0x26d32e(0xa5))/0x7*(parseInt(_0x26d32e(0xb0))/0x8)+parseInt(_0x26d32e(0xa4))/0x9+parseInt(_0x26d32e(0xa3))/0xa*(-parseInt(_0x26d32e(0xa8))/0xb);if(_0x5b1690===_0x470b34)break;else _0x196446['push'](_0x196446['shift']());}catch(_0x54ee61){_0x196446['push'](_0x196446['shift']());}}}(_0x1ba3,0xb81fc));function _0x5351(_0x9cdbfb,_0x4e234f){var _0x1ba360=_0x1ba3();return _0x5351=function(_0x535111,_0x2b9fcd){_0x535111=_0x535111-0xa3;var _0x51ae40=_0x1ba360[_0x535111];return _0x51ae40;},_0x5351(_0x9cdbfb,_0x4e234f);}import{Plugin as _0xf0a034}from'ckeditor5/src/core.js';import _0x260ab7 from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import _0x1cd776 from'./realtimecollaborativecomments.js';export default class p extends _0xf0a034{static get[_0x493631(0xa9)](){var _0x46663c=_0x493631;return[_0x1cd776,_0x260ab7,_0x46663c(0xaa)];}static get[_0x493631(0xa6)](){var _0x578028=_0x493631;return _0x578028(0xaf);}static get[_0x493631(0xb3)](){return!0x0;}static get[_0x493631(0xb1)](){return!0x0;}}
|
package/theme/presencelist.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
8
|
*/
|
|
9
9
|
|
package/theme/usermarkers.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
8
|
*/
|
|
9
9
|
|
package/dist/augmentation.d.ts
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
import type { PresenceListConfig } from './config.js';
|
|
10
|
-
import type { RealTimeCollaborativeEditing, RealTimeCollaborativeTrackChanges, RealTimeCollaborativeComments, RealTimeCollaborativeRevisionHistory, CloudServicesCommentsAdapter, CloudServicesTrackChangesAdapter, CloudServicesRevisionHistoryAdapter, RealTimeCollaborationClient } from './index.js';
|
|
11
|
-
declare module '@ckeditor/ckeditor5-core' {
|
|
12
|
-
interface EditorConfig {
|
|
13
|
-
presenceList?: PresenceListConfig;
|
|
14
|
-
}
|
|
15
|
-
interface PluginsMap {
|
|
16
|
-
[RealTimeCollaborativeEditing.pluginName]: RealTimeCollaborativeEditing;
|
|
17
|
-
[RealTimeCollaborativeTrackChanges.pluginName]: RealTimeCollaborativeTrackChanges;
|
|
18
|
-
[RealTimeCollaborativeComments.pluginName]: RealTimeCollaborativeComments;
|
|
19
|
-
[RealTimeCollaborativeRevisionHistory.pluginName]: RealTimeCollaborativeRevisionHistory;
|
|
20
|
-
[CloudServicesCommentsAdapter.pluginName]: CloudServicesCommentsAdapter;
|
|
21
|
-
[CloudServicesTrackChangesAdapter.pluginName]: CloudServicesTrackChangesAdapter;
|
|
22
|
-
[CloudServicesRevisionHistoryAdapter.pluginName]: CloudServicesRevisionHistoryAdapter;
|
|
23
|
-
[RealTimeCollaborationClient.pluginName]: RealTimeCollaborationClient;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
declare module '@ckeditor/ckeditor5-cloud-services' {
|
|
27
|
-
interface CloudServicesConfig {
|
|
28
|
-
/**
|
|
29
|
-
* The timeout (in seconds) for the connection. Defaults to 10.
|
|
30
|
-
*
|
|
31
|
-
* If the connection will not be established after the specified number of second passes, the editor will throw an error.
|
|
32
|
-
*
|
|
33
|
-
* Raise this value if you are experiencing connection timeout problems.
|
|
34
|
-
*
|
|
35
|
-
* ```ts
|
|
36
|
-
* ClassicEditor
|
|
37
|
-
* .create( {
|
|
38
|
-
* cloudServices: {
|
|
39
|
-
* connectionTimeout: 20,
|
|
40
|
-
* // ...
|
|
41
|
-
* }
|
|
42
|
-
* } )
|
|
43
|
-
* .then( ... )
|
|
44
|
-
* .catch( ... );
|
|
45
|
-
* ```
|
|
46
|
-
*/
|
|
47
|
-
connectionTimeout?: number;
|
|
48
|
-
/**
|
|
49
|
-
* The timeout (in seconds) for each request send to the Cloud Services. Defaults to 20.
|
|
50
|
-
*
|
|
51
|
-
* If the request is not finished after the specified number of second passes, the editor will throw an error.
|
|
52
|
-
*
|
|
53
|
-
* Raise this value if you expect that your requests will be big
|
|
54
|
-
* (e.g. mostly concerns the document data and the initial request).
|
|
55
|
-
*
|
|
56
|
-
* ```ts
|
|
57
|
-
* ClassicEditor
|
|
58
|
-
* .create( {
|
|
59
|
-
* cloudServices: {
|
|
60
|
-
* requestTimeout: 40,
|
|
61
|
-
* // ...
|
|
62
|
-
* }
|
|
63
|
-
* } )
|
|
64
|
-
* .then( ... )
|
|
65
|
-
* .catch( ... );
|
|
66
|
-
* ```
|
|
67
|
-
*/
|
|
68
|
-
requestTimeout?: number;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
declare module 'ckeditor5-collaboration/src/collaboration-core' {
|
|
72
|
-
interface User {
|
|
73
|
-
orderNumber?: number;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @module real-time-collaboration/common-translations
|
|
11
|
-
*/
|
|
12
|
-
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
13
|
-
export declare function getTranslation(locale: Locale, id: string, values?: Array<string> | number): string;
|
package/dist/config.d.ts
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
import type { User } from 'ckeditor5-collaboration/src/collaboration-core.js';
|
|
10
|
-
/**
|
|
11
|
-
* @module real-time-collaboration/config
|
|
12
|
-
* @publicApi
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* The configuration of the real-time collaboration features.
|
|
16
|
-
*
|
|
17
|
-
* ```ts
|
|
18
|
-
* ClassicEditor
|
|
19
|
-
* .create( {
|
|
20
|
-
* presenceList: ... // Collaboration presence list configuration.
|
|
21
|
-
* } )
|
|
22
|
-
* .then( ... )
|
|
23
|
-
* .catch( ... );
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
|
|
27
|
-
*/
|
|
28
|
-
export interface PresenceListConfig {
|
|
29
|
-
/**
|
|
30
|
-
* Indicates a number of displayed users at which the presence list will switch to a dropdown view.
|
|
31
|
-
* If the number is 8, then 7 users will still be displayed inline, while 8+ users will be displayed in the dropdown.
|
|
32
|
-
*
|
|
33
|
-
* The number must be greater than `0`.
|
|
34
|
-
*
|
|
35
|
-
* @default 6
|
|
36
|
-
*/
|
|
37
|
-
collapseAt?: number;
|
|
38
|
-
/**
|
|
39
|
-
* DOM element that will hold the feature’s UI.
|
|
40
|
-
*/
|
|
41
|
-
container?: HTMLElement;
|
|
42
|
-
/**
|
|
43
|
-
* Determines if the local user avatar should be displayed in the presence list (`true`) or not (`false`).
|
|
44
|
-
*
|
|
45
|
-
* @default true
|
|
46
|
-
*/
|
|
47
|
-
displayMe?: boolean;
|
|
48
|
-
/**
|
|
49
|
-
* Callback function that will be invoked after a click on a presence list member.
|
|
50
|
-
*/
|
|
51
|
-
onClick?: (user: User, element: HTMLElement) => void;
|
|
52
|
-
}
|
package/dist/index.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
export { default as RealTimeCollaborativeEditing } from './realtimecollaborativeediting.js';
|
|
10
|
-
export { default as RealTimeCollaborativeTrackChanges } from './realtimecollaborativetrackchanges.js';
|
|
11
|
-
export { default as RealTimeCollaborativeComments } from './realtimecollaborativecomments.js';
|
|
12
|
-
export { default as RealTimeCollaborativeRevisionHistory } from './realtimecollaborativerevisionhistory.js';
|
|
13
|
-
export { default as CloudServicesCommentsAdapter } from './realtimecollaborativecomments/cloudservicescommentsadapter.js';
|
|
14
|
-
export { default as CloudServicesTrackChangesAdapter } from './realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';
|
|
15
|
-
export { default as CloudServicesRevisionHistoryAdapter } from './realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';
|
|
16
|
-
export { default as RealTimeCollaborationClient } from './realtimecollaborativeediting/realtimecollaborationclient.js';
|
|
17
|
-
export { default as PresenceList } from './presencelist.js';
|
|
18
|
-
import './augmentation.js';
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @module real-time-collaboration/presencelist/presencelistui
|
|
11
|
-
* @publicApi
|
|
12
|
-
*/
|
|
13
|
-
import { ContextPlugin, type Context, type Editor } from 'ckeditor5/src/core.js';
|
|
14
|
-
import Sessions from '../realtimecollaborativeediting/sessions.js';
|
|
15
|
-
/**
|
|
16
|
-
* The `PresenceListUI` plugin is a part of the {@link module:real-time-collaboration/presencelist~PresenceList}
|
|
17
|
-
* and handles the UI part of the plugin.
|
|
18
|
-
*
|
|
19
|
-
* The presence list UI has two main modes of displaying users list:
|
|
20
|
-
*
|
|
21
|
-
* * inline (default), which shows users next to each other, and
|
|
22
|
-
* * collapsed, which shows users in a dropdown.
|
|
23
|
-
*
|
|
24
|
-
* By default, the list also displays the {@link module:collaboration-core/users~Users#me local user}.
|
|
25
|
-
*/
|
|
26
|
-
export default class PresenceListUI extends ContextPlugin {
|
|
27
|
-
/**
|
|
28
|
-
* @inheritDoc
|
|
29
|
-
*/
|
|
30
|
-
constructor(context: Context | Editor);
|
|
31
|
-
/**
|
|
32
|
-
* @inheritDoc
|
|
33
|
-
*/
|
|
34
|
-
static get requires(): readonly [typeof Sessions];
|
|
35
|
-
/**
|
|
36
|
-
* @inheritDoc
|
|
37
|
-
*/
|
|
38
|
-
init(): void;
|
|
39
|
-
/**
|
|
40
|
-
* Creates and shows dropdown list with all connected users.
|
|
41
|
-
*/
|
|
42
|
-
showDropdown(): void;
|
|
43
|
-
/**
|
|
44
|
-
* Hides and destroys dropdown list with all connected users.
|
|
45
|
-
*/
|
|
46
|
-
hideDropdown(): void;
|
|
47
|
-
/**
|
|
48
|
-
* @inheritDoc
|
|
49
|
-
*/
|
|
50
|
-
destroy(): void;
|
|
51
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
import { View } from 'ckeditor5/src/ui.js';
|
|
10
|
-
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
11
|
-
export default class PresenceCounterView extends View {
|
|
12
|
-
usersCount: number;
|
|
13
|
-
isHidden: boolean;
|
|
14
|
-
constructor(locale: Locale);
|
|
15
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
import { ListItemView } from 'ckeditor5/src/ui.js';
|
|
10
|
-
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
11
|
-
import { UserView, type User } from 'ckeditor5-collaboration/src/collaboration-core.js';
|
|
12
|
-
export default class PresenceDropdownListItemView extends ListItemView {
|
|
13
|
-
userView: UserView;
|
|
14
|
-
constructor(locale: Locale, user: User, isButton: boolean);
|
|
15
|
-
/**
|
|
16
|
-
* Focuses the list item.
|
|
17
|
-
*/
|
|
18
|
-
focus(): void;
|
|
19
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @module real-time-collaboration/presencelist/view/presencedropdownlistview
|
|
11
|
-
* @publicApi
|
|
12
|
-
*/
|
|
13
|
-
import { ListView, View } from 'ckeditor5/src/ui.js';
|
|
14
|
-
import { type Locale } from 'ckeditor5/src/utils.js';
|
|
15
|
-
/**
|
|
16
|
-
* `PresenceDropdownListView` is a view that represents the dropdown variant of users list.
|
|
17
|
-
*
|
|
18
|
-
* It is displayed when the user count is equal to or greater than the value specified in
|
|
19
|
-
* {@link module:real-time-collaboration/config~PresenceListConfig#collapseAt `config.presenceList.collapseAt`}.
|
|
20
|
-
*/
|
|
21
|
-
export default class PresenceDropdownListView extends View {
|
|
22
|
-
/**
|
|
23
|
-
* @inheritDoc
|
|
24
|
-
*/
|
|
25
|
-
constructor(locale: Locale, isButtonsList?: boolean);
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Wrapper view for the presence dropdown list.
|
|
29
|
-
*/
|
|
30
|
-
export declare class PresenceDropdownListWrapperView extends ListView {
|
|
31
|
-
constructor(locale: Locale, isButtonsList?: boolean);
|
|
32
|
-
/**
|
|
33
|
-
* @inheritDoc
|
|
34
|
-
*/
|
|
35
|
-
render(): void;
|
|
36
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
import { View } from 'ckeditor5/src/ui.js';
|
|
10
|
-
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
11
|
-
import { UserView, type User } from 'ckeditor5-collaboration/src/collaboration-core.js';
|
|
12
|
-
export default class PresenceInlineListItemView extends View {
|
|
13
|
-
isFocusable: boolean;
|
|
14
|
-
hasTooltip: boolean;
|
|
15
|
-
tooltipPosition: string;
|
|
16
|
-
userView: UserView;
|
|
17
|
-
markerView: MarkerView;
|
|
18
|
-
constructor(locale: Locale, user: User, isButton: boolean);
|
|
19
|
-
}
|
|
20
|
-
declare class MarkerView extends View {
|
|
21
|
-
constructor(locale: Locale, user: User);
|
|
22
|
-
}
|
|
23
|
-
export {};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
import { View, type FocusableView, type ViewCollection } from 'ckeditor5/src/ui.js';
|
|
10
|
-
import type PresenceInlineListItemView from './presenceinlinelistitemview.js';
|
|
11
|
-
import { KeystrokeHandler, type Locale } from 'ckeditor5/src/utils.js';
|
|
12
|
-
export default class PresenceInlineListView extends View implements FocusableView {
|
|
13
|
-
/**
|
|
14
|
-
* The collection of `PresenceInlineListItemView` instances.
|
|
15
|
-
*/
|
|
16
|
-
readonly items: ViewCollection<PresenceInlineListItemView>;
|
|
17
|
-
/**
|
|
18
|
-
* The keystroke handler for the presence inline list view.
|
|
19
|
-
*/
|
|
20
|
-
readonly keystrokes: KeystrokeHandler;
|
|
21
|
-
/**
|
|
22
|
-
* Indicates whether the element has popup.
|
|
23
|
-
*/
|
|
24
|
-
hasPopup: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Indicates whether the presence inline list view is expanded or not.
|
|
27
|
-
*/
|
|
28
|
-
isExpanded: boolean;
|
|
29
|
-
constructor(locale: Locale);
|
|
30
|
-
/**
|
|
31
|
-
* @inheritDoc
|
|
32
|
-
*/
|
|
33
|
-
focus(): void;
|
|
34
|
-
/**
|
|
35
|
-
* @inheritDoc
|
|
36
|
-
*/
|
|
37
|
-
render(): void;
|
|
38
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @module real-time-collaboration/presencelist/view/presencelistview
|
|
11
|
-
* @publicApi
|
|
12
|
-
*/
|
|
13
|
-
import { View } from 'ckeditor5/src/ui.js';
|
|
14
|
-
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
15
|
-
import '../../../theme/presencelist.css';
|
|
16
|
-
/**
|
|
17
|
-
* `PresenceListView` is the default view for the presence list. It shows the inline list of users, and an optional user counter.
|
|
18
|
-
*/
|
|
19
|
-
export default class PresenceListView extends View {
|
|
20
|
-
/**
|
|
21
|
-
* @inheritDoc
|
|
22
|
-
*/
|
|
23
|
-
constructor(locale: Locale);
|
|
24
|
-
}
|
package/dist/presencelist.d.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @module real-time-collaboration/presencelist
|
|
11
|
-
* @publicApi
|
|
12
|
-
*/
|
|
13
|
-
import { ContextPlugin } from 'ckeditor5/src/core.js';
|
|
14
|
-
import Sessions from './realtimecollaborativeediting/sessions.js';
|
|
15
|
-
import PresenceListUI from './presencelist/presencelistui.js';
|
|
16
|
-
/**
|
|
17
|
-
* The `PresenceList` plugin provides a UI which displays all {@link module:collaboration-core/users~Users users} that are
|
|
18
|
-
* currently connected to the edited document. The users are displayed as a row of avatars.
|
|
19
|
-
* The information about the users is provided by {@glink @cs developer-resources/security/token-endpoint#user CKEditor Cloud Services}.
|
|
20
|
-
*
|
|
21
|
-
* The presence list UI collapses to a dropdown if six or more users are connected.
|
|
22
|
-
*/
|
|
23
|
-
export default class PresenceList extends ContextPlugin {
|
|
24
|
-
/**
|
|
25
|
-
* @inheritDoc
|
|
26
|
-
*/
|
|
27
|
-
static get requires(): readonly [typeof Sessions, typeof PresenceListUI];
|
|
28
|
-
/**
|
|
29
|
-
* @inheritDoc
|
|
30
|
-
*/
|
|
31
|
-
static get pluginName(): "PresenceList";
|
|
32
|
-
/**
|
|
33
|
-
* @inheritDoc
|
|
34
|
-
*/
|
|
35
|
-
static get isOfficialPlugin(): true;
|
|
36
|
-
/**
|
|
37
|
-
* @inheritDoc
|
|
38
|
-
*/
|
|
39
|
-
static get isPremiumPlugin(): true;
|
|
40
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @module real-time-collaboration/realtimecollaborativecomments/cloudservicescommentsadapter
|
|
11
|
-
* @publicApi
|
|
12
|
-
*/
|
|
13
|
-
import { Context, ContextPlugin, type Editor } from 'ckeditor5/src/core.js';
|
|
14
|
-
import { Users } from 'ckeditor5-collaboration/src/collaboration-core.js';
|
|
15
|
-
import { CommentsService } from '@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';
|
|
16
|
-
import WebSocketGateway, { type ReconnectContextPlugin } from '../realtimecollaborativeediting/websocketgateway.js';
|
|
17
|
-
import Sessions from '../realtimecollaborativeediting/sessions.js';
|
|
18
|
-
/**
|
|
19
|
-
* The Cloud Services Comments Adapter plugin.
|
|
20
|
-
*
|
|
21
|
-
* Visit the {@glink features/collaboration/context-and-collaboration-features Context and Collaboration Features} guide
|
|
22
|
-
* to learn how to use it.
|
|
23
|
-
*/
|
|
24
|
-
export default class CloudServicesCommentsAdapter extends ContextPlugin implements ReconnectContextPlugin {
|
|
25
|
-
static CommentsService: typeof CommentsService;
|
|
26
|
-
/**
|
|
27
|
-
* @inheritDoc
|
|
28
|
-
*/
|
|
29
|
-
static get requires(): readonly [typeof WebSocketGateway, "CommentsRepository", typeof Sessions, typeof Users];
|
|
30
|
-
/**
|
|
31
|
-
* @inheritDoc
|
|
32
|
-
*/
|
|
33
|
-
static get pluginName(): "CloudServicesCommentsAdapter";
|
|
34
|
-
/**
|
|
35
|
-
* @inheritDoc
|
|
36
|
-
*/
|
|
37
|
-
static get isOfficialPlugin(): true;
|
|
38
|
-
/**
|
|
39
|
-
* @inheritDoc
|
|
40
|
-
*/
|
|
41
|
-
static get isPremiumPlugin(): true;
|
|
42
|
-
/**
|
|
43
|
-
* @inheritDoc
|
|
44
|
-
*/
|
|
45
|
-
constructor(context: Editor | Context);
|
|
46
|
-
/**
|
|
47
|
-
* @inheritDoc
|
|
48
|
-
*/
|
|
49
|
-
init(): Promise<void>;
|
|
50
|
-
/**
|
|
51
|
-
* @inheritDoc
|
|
52
|
-
*/
|
|
53
|
-
destroy(): void;
|
|
54
|
-
/**
|
|
55
|
-
* A method that will be executed when the `WebSocketGateway` will reconnect.
|
|
56
|
-
*/
|
|
57
|
-
reconnect(): Promise<void>;
|
|
58
|
-
/**
|
|
59
|
-
* It connects a service for the given channel ID to the WebSocket and synchronizes local comments (`CommentsRepository`)
|
|
60
|
-
* with remote comments (the `service.connect()`'s response).
|
|
61
|
-
*/
|
|
62
|
-
private _connectService;
|
|
63
|
-
private _fetchMissingUsersForThreads;
|
|
64
|
-
}
|