@ckeditor/ckeditor5-real-time-collaboration 44.1.0 → 44.2.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 _0x507069=_0x4441;(function(_0x3785fc,_0x463c40){var _0x527d0e=_0x4441,_0xd04906=_0x3785fc();while(!![]){try{var _0x136932=-parseInt(_0x527d0e(0x1e5))/0x1+parseInt(_0x527d0e(0x1f6))/0x2*(-parseInt(_0x527d0e(0x1e7))/0x3)+parseInt(_0x527d0e(0x1ea))/0x4*(-parseInt(_0x527d0e(0x1f4))/0x5)+parseInt(_0x527d0e(0x1ec))/0x6*(-parseInt(_0x527d0e(0x1f1))/0x7)+parseInt(_0x527d0e(0x1e8))/0x8*(parseInt(_0x527d0e(0x1e6))/0x9)+parseInt(_0x527d0e(0x1f0))/0xa+-parseInt(_0x527d0e(0x1f3))/0xb*(-parseInt(_0x527d0e(0x1f2))/0xc);if(_0x136932===_0x463c40)break;else _0xd04906['push'](_0xd04906['shift']());}catch(_0x15ffbe){_0xd04906['push'](_0xd04906['shift']());}}}(_0x2ed8,0xd905e));function _0x4441(_0x5ca313,_0x3621d4){var _0x2ed8f4=_0x2ed8();return _0x4441=function(_0x44418e,_0xcf887b){_0x44418e=_0x44418e-0x1e5;var _0x669c3=_0x2ed8f4[_0x44418e];return _0x669c3;},_0x4441(_0x5ca313,_0x3621d4);}import{Plugin as _0x781fa0}from'ckeditor5/src/core.js';import _0x24eff9 from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x2ed8(){var _0x14a462=['204DGoLNy','1031723rkrYpS','22565PgzUPB','pluginName','2230358IoLDIg','1258760jBVLOr','27cwRzfw','3ARAbAJ','2242024bSLxHX','isOfficialPlugin','4wTZPqA','requires','1568982Fyjamc','RevisionHistory','RealTimeCollaborativeRevisionHistory','isPremiumPlugin','16166290BiGLbg','21gAGZqx'];_0x2ed8=function(){return _0x14a462;};return _0x2ed8();}import _0x3ab29b from'./realtimecollaborativeediting.js';export default class g extends _0x781fa0{static get[_0x507069(0x1eb)](){var _0x178ad6=_0x507069;return[_0x178ad6(0x1ed),_0x24eff9,_0x3ab29b];}static get[_0x507069(0x1f5)](){var _0x1180df=_0x507069;return _0x1180df(0x1ee);}static get[_0x507069(0x1e9)](){return!0x0;}static get[_0x507069(0x1ef)](){return!0x0;}}
|
|
@@ -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 _0x49837e=_0x440c;(function(_0x2ed994,_0x502b19){const _0x38882d=_0x440c,_0x52ea8a=_0x2ed994();while(!![]){try{const _0x1f6f9a=-parseInt(_0x38882d(0xb4))/0x1+-parseInt(_0x38882d(0xaa))/0x2+parseInt(_0x38882d(0xc9))/0x3*(-parseInt(_0x38882d(0xa3))/0x4)+-parseInt(_0x38882d(0xc6))/0x5+parseInt(_0x38882d(0xa4))/0x6*(parseInt(_0x38882d(0xa1))/0x7)+-parseInt(_0x38882d(0x9a))/0x8+parseInt(_0x38882d(0xab))/0x9*(parseInt(_0x38882d(0xbd))/0xa);if(_0x1f6f9a===_0x502b19)break;else _0x52ea8a['push'](_0x52ea8a['shift']());}catch(_0x40dbf9){_0x52ea8a['push'](_0x52ea8a['shift']());}}}(_0xe14b,0xbb35d));function _0x440c(_0x4dadc6,_0x211e29){const _0xe14b87=_0xe14b();return _0x440c=function(_0x440c15,_0x1ade08){_0x440c15=_0x440c15-0x8c;let _0x26ffe5=_0xe14b87[_0x440c15];return _0x26ffe5;},_0x440c(_0x4dadc6,_0x211e29);}import{Plugin as _0x27353c}from'ckeditor5/src/core.js';import{User as _0x510e33,TrackChangesService as _0x12aa97}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x1b1714 from'../realtimecollaborativeediting/websocketgateway.js';import _0x4cfbcf from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0xa077b4}from'ckeditor5-collaboration/src/collaboration-core.js';class f extends _0x27353c{static get[_0x49837e(0xb3)](){const _0x2473c4=_0x49837e;return[_0x4cfbcf,_0x2473c4(0xa8),_0x1b1714];}static get[_0x49837e(0xcb)](){const _0x463ad7=_0x49837e;return _0x463ad7(0xbe);}static get[_0x49837e(0xc1)](){return!0x0;}static get[_0x49837e(0xa7)](){return!0x0;}constructor(_0xc8b6bc){const _0x1f205a=_0x49837e;super(_0xc8b6bc);const _0x4f8129=this[_0x1f205a(0x8f)][_0x1f205a(0xbb)][_0x1f205a(0xbf)](_0x1f205a(0xc3));this[_0x1f205a(0x93)]=new Map(),this[_0x1f205a(0x90)]=new f[(_0x1f205a(0x95))](_0x4f8129);}[_0x49837e(0xb1)](){const _0x113c7e=_0x49837e,_0x2d3849=this[_0x113c7e(0x8f)][_0x113c7e(0xc8)][_0x113c7e(0xbf)](_0x1b1714),_0x103fde=this[_0x113c7e(0x8f)][_0x113c7e(0xc8)][_0x113c7e(0xbf)](_0x113c7e(0xa8));return _0x103fde[_0x113c7e(0xb2)]={'getSuggestion':async _0x34722a=>{const _0x4fd6c9=_0x113c7e;await this[_0x4fd6c9(0xba)]();const _0x29e196=await this[_0x4fd6c9(0x90)][_0x4fd6c9(0xbf)](_0x34722a)[_0x4fd6c9(0x96)](R);return await this[_0x4fd6c9(0x9b)]([_0x29e196]),_0x29e196;},'addSuggestion':async({id:_0x2a3721,type:_0x1202dc,data:_0x2ef1fc,originalSuggestionId:_0x598f5c,attributes:_0x32e79b})=>{const _0x2faa10=_0x113c7e;await this[_0x2faa10(0xba)]();const _0x3a4332={'id':_0x2a3721,'type':_0x1202dc,'data':_0x2ef1fc,'originalSuggestionId':_0x598f5c,'attributes':_0x32e79b},_0x13350d=await this[_0x2faa10(0x90)][_0x2faa10(0x92)](_0x2a3721,_0x1202dc,_0x2ef1fc,_0x598f5c,_0x32e79b)[_0x2faa10(0x96)](_0x466377=>{if(st(_0x466377))return new Promise(_0xfab8cf=>{const _0x336854=_0x440c;this[_0x336854(0x93)][_0x336854(0xae)](_0x2a3721,{'resolve':_0xfab8cf,'suggestionData':_0x3a4332});});throw _0x466377;});return this[_0x2faa10(0x93)][_0x2faa10(0xa5)](_0x2a3721),_0x13350d;},'updateSuggestion':async(_0x39b8f1,_0x651f83)=>{const _0x27d9ec=_0x113c7e;if(await this[_0x27d9ec(0xba)](),_0x27d9ec(0xc7)!==_0x651f83[_0x27d9ec(0xaf)])return this[_0x27d9ec(0x90)][_0x27d9ec(0xb9)](_0x39b8f1,_0x651f83)[_0x27d9ec(0x96)](R);}},this[_0x113c7e(0xc5)](this[_0x113c7e(0x90)],_0x113c7e(0x9c),(_0x12da49,_0x15f427)=>{const _0x24ed11=_0x113c7e;_0x103fde[_0x24ed11(0xb7)](_0x15f427['id'])&&(_0x103fde[_0x24ed11(0xb6)](_0x15f427['id'])[_0x24ed11(0xca)]=_0x15f427[_0x24ed11(0xca)]);}),this[_0x113c7e(0x90)][_0x113c7e(0x8d)](_0x2d3849[_0x113c7e(0x8c)])[_0x113c7e(0xc2)](_0x54988a=>(_0x2d3849[_0x113c7e(0xad)](this),this[_0x113c7e(0x9b)](_0x54988a)[_0x113c7e(0xc2)](()=>{const _0x45b726=_0x113c7e;for(const _0x49d151 of _0x54988a){_0x103fde[_0x45b726(0xb8)](_0x49d151)[_0x45b726(0x98)]=!0x0;}})));}async[_0x49837e(0x9d)](){const _0x3c3744=_0x49837e,_0x3bdc07=this[_0x3c3744(0x8f)][_0x3c3744(0xc8)][_0x3c3744(0xbf)](_0x3c3744(0xa8)),{connection:_0x3ff4d9}=this[_0x3c3744(0x8f)][_0x3c3744(0xc8)][_0x3c3744(0xbf)](_0x1b1714),_0x53972c=await this[_0x3c3744(0x90)][_0x3c3744(0x8d)](_0x3ff4d9);await this[_0x3c3744(0x9b)](_0x53972c);for(const {suggestionData:_0xd8c90d,resolve:_0x438de0}of this[_0x3c3744(0x93)][_0x3c3744(0xa0)]()){let _0x5d3191=_0x53972c[_0x3c3744(0x99)](_0x1d8a78=>_0x1d8a78['id']===_0xd8c90d['id']);_0x5d3191||(_0x5d3191=await this[_0x3c3744(0x90)][_0x3c3744(0x92)](_0xd8c90d['id'],_0xd8c90d[_0x3c3744(0x9e)],_0xd8c90d[_0x3c3744(0x8e)],_0xd8c90d[_0x3c3744(0xa9)])),_0x438de0(_0x5d3191);}for(const _0x433b09 of _0x53972c)_0x3bdc07[_0x3c3744(0xb7)](_0x433b09['id'])||_0x3bdc07[_0x3c3744(0xb8)](_0x433b09);}async[_0x49837e(0xba)](){const _0x4566a7=_0x49837e;this[_0x4566a7(0x90)][_0x4566a7(0xa2)]||await new Promise(_0xc17fc3=>{const _0x5f23d4=_0x4566a7;this[_0x5f23d4(0xc5)](this[_0x5f23d4(0x90)],_0x5f23d4(0x97),_0x3ba9f2=>{const _0x27154c=_0x5f23d4;_0x3ba9f2[_0x27154c(0xa6)](),_0xc17fc3();});});}async[_0x49837e(0x9b)](_0xec91bb){const _0x3de322=_0x49837e,_0x45400c=this[_0x3de322(0x8f)][_0x3de322(0xc8)][_0x3de322(0xbf)](_0xa077b4),{connection:_0x1ae16d}=this[_0x3de322(0x8f)][_0x3de322(0xc8)][_0x3de322(0xbf)](_0x1b1714),_0xbb69fc=new Set();for(const {authorId:_0x4dc6ca}of _0xec91bb)_0x45400c[_0x3de322(0xc4)](_0x4dc6ca)||_0xbb69fc[_0x3de322(0x92)](_0x4dc6ca);if(0x0===_0xbb69fc[_0x3de322(0xbc)])return;const _0x462cab=await _0x510e33[_0x3de322(0xb5)](_0x1ae16d,Array[_0x3de322(0xc0)](_0xbb69fc));for(const _0x414dfd of _0x462cab)_0x45400c[_0x3de322(0xc4)](_0x414dfd['id'])||_0x45400c[_0x3de322(0x94)](_0x414dfd);}}f[_0x49837e(0x95)]=_0x12aa97;function _0xe14b(){const _0x298d93=['size','214490jznkXJ','CloudServicesTrackChangesAdapter','get','from','isOfficialPlugin','then','collaboration.channelId','getUser','listenTo','2193695SvYQVM','open','plugins','20166pAtOrP','attributes','pluginName','connection','connect','data','editor','_trackChangesService','cloud-services-internal-error:\x20Request\x20timeout.','add','_bufferedRequests','addUser','TrackChangesService','catch','connected','_saved','find','2388528OqDOqo','_fetchMissingUsersForThreads','suggestionUpdated','reconnect','type','startsWith','values','208348Caugnh','isConnected','596fUgjvN','36lHXobE','delete','off','isPremiumPlugin','TrackChangesEditing','originalSuggestionId','1312jNhtQQ','1548QpSqax','message','addToReconnectionStack','set','state','cloud-services-internal-error:\x20Not\x20connected.','init','adapter','requires','1361460oiSAKd','getMany','getSuggestion','hasSuggestion','addSuggestionData','update','_waitForServiceReady','config'];_0xe14b=function(){return _0x298d93;};return _0xe14b();}export default f;function R(_0x481514){if(st(_0x481514))return new Promise(()=>{});throw _0x481514;}function st(_0x547c1d){const _0x3b2a50=_0x49837e;return _0x547c1d[_0x3b2a50(0xac)][_0x3b2a50(0x9f)](_0x3b2a50(0xb0))||_0x547c1d[_0x3b2a50(0xac)][_0x3b2a50(0x9f)](_0x3b2a50(0x91));}
|
|
@@ -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 _0x1ececd=_0x17bc;function _0x17bc(_0xf61e30,_0x51521e){var _0x5c677d=_0x5c67();return _0x17bc=function(_0x17bcdb,_0x481c89){_0x17bcdb=_0x17bcdb-0x1d5;var _0x1f8ae3=_0x5c677d[_0x17bcdb];return _0x1f8ae3;},_0x17bc(_0xf61e30,_0x51521e);}(function(_0x48a0b0,_0x494ffb){var _0x2deaf6=_0x17bc,_0x2cc9ab=_0x48a0b0();while(!![]){try{var _0x3b55ae=parseInt(_0x2deaf6(0x1df))/0x1*(parseInt(_0x2deaf6(0x1d7))/0x2)+parseInt(_0x2deaf6(0x1de))/0x3+parseInt(_0x2deaf6(0x1db))/0x4+-parseInt(_0x2deaf6(0x1da))/0x5+-parseInt(_0x2deaf6(0x1e3))/0x6+parseInt(_0x2deaf6(0x1e1))/0x7*(parseInt(_0x2deaf6(0x1d5))/0x8)+-parseInt(_0x2deaf6(0x1d6))/0x9;if(_0x3b55ae===_0x494ffb)break;else _0x2cc9ab['push'](_0x2cc9ab['shift']());}catch(_0x5f262f){_0x2cc9ab['push'](_0x2cc9ab['shift']());}}}(_0x5c67,0xcf826));import{Plugin as _0x18c0a9}from'ckeditor5/src/core.js';import _0x3e8b9d from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';function _0x5c67(){var _0x2ec7ba=['7MMgavS','requires','20898bLrdzA','10030680KcVQeG','20697741sSdlhk','3918nALRLZ','pluginName','isPremiumPlugin','2730830oBSQuL','2018528bEpQFH','isOfficialPlugin','TrackChanges','1062297CXBOmh','810RJlDlX','RealTimeCollaborativeTrackChanges'];_0x5c67=function(){return _0x2ec7ba;};return _0x5c67();}import _0x1009f3 from'./realtimecollaborativecomments.js';export default class p extends _0x18c0a9{static get[_0x1ececd(0x1e2)](){var _0x5330b7=_0x1ececd;return[_0x1009f3,_0x3e8b9d,_0x5330b7(0x1dd)];}static get[_0x1ececd(0x1d8)](){var _0x121c44=_0x1ececd;return _0x121c44(0x1e0);}static get[_0x1ececd(0x1dc)](){return!0x0;}static get[_0x1ececd(0x1d9)](){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
|
-
}
|