@ckeditor/ckeditor5-real-time-collaboration 32.0.0 → 33.0.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 +7 -0
- package/build/translations/cs.js +1 -0
- package/build/translations/de-ch.js +1 -0
- package/build/translations/de.js +1 -0
- package/build/translations/el.js +1 -0
- package/build/translations/en-au.js +1 -0
- package/build/translations/es.js +1 -0
- package/build/translations/et.js +1 -0
- package/build/translations/fr.js +1 -0
- package/build/translations/gl.js +1 -0
- package/build/translations/hi.js +1 -0
- package/build/translations/hr.js +1 -0
- package/build/translations/hu.js +1 -0
- package/build/translations/id.js +1 -0
- package/build/translations/it.js +1 -0
- package/build/translations/ko.js +1 -0
- package/build/translations/nl.js +1 -0
- package/build/translations/no.js +1 -0
- package/build/translations/pl.js +1 -0
- package/build/translations/pt-br.js +1 -0
- package/build/translations/ro.js +1 -0
- package/build/translations/ru.js +1 -0
- package/build/translations/sk.js +1 -0
- package/build/translations/sr-latn.js +1 -0
- package/build/translations/sr.js +1 -0
- package/build/translations/tk.js +1 -0
- package/build/translations/tr.js +1 -0
- package/build/translations/uk.js +1 -0
- package/build/translations/zh-cn.js +1 -0
- package/build/translations/zh.js +1 -0
- package/ckeditor5-metadata.json +22 -1
- package/lang/translations/cs.po +5 -5
- package/lang/translations/el.po +47 -0
- package/lang/translations/es.po +5 -5
- package/lang/translations/sr-latn.po +5 -5
- package/lang/translations/sr.po +5 -5
- package/package.json +7 -10
- package/src/index.js +23 -0
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist/view/tooltipview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
- package/theme/presencelist.css +1 -1
- package/theme/usermarkers.css +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x371a=['addUser','listenTo','_waitForServiceReady','isConnected','_trackChangesService','config','delete','init','attributes','hasSuggestion','getUser','reconnect','TrackChangesService','suggestionUpdated','cloud-services-internal-error:\x20Request\x20timeout.','then','set','TrackChangesEditing','map','getSuggestion','addSuggestionData','editor','connected','cloud-services-internal-error:\x20Not\x20connected.','message','add','plugins','find','addToReconnectionStack','_fetchMissingUsersForThreads','all','connection','update','data','open','values','startsWith','requires','off','_saved','_bufferedRequests','get','catch','originalSuggestionId','collaboration.channelId','state','from'];(function(_0x3c50b7,_0x371a41){const _0x595fff=function(_0x1d72a3){while(--_0x1d72a3){_0x3c50b7['push'](_0x3c50b7['shift']());}};_0x595fff(++_0x371a41);}(_0x371a,0x161));const _0x595f=function(_0x3c50b7,_0x371a41){_0x3c50b7=_0x3c50b7-0x0;let _0x595fff=_0x371a[_0x3c50b7];return _0x595fff;};import{Plugin as _0x2a4c3e}from'ckeditor5/src/core';import _0x258876 from'@ckeditor/ckeditor-cloud-services-collaboration/src/track-changes/trackchangesservice';import _0x17650d from'../realtimecollaborativeediting/websocketgateway';import _0x201604 from'../realtimecollaborativecomments/cloudservicescommentsadapter';import _0x23e239 from'@ckeditor/ckeditor-cloud-services-collaboration/src/users/user';import{Users as _0x16df7b}from'ckeditor5-collaboration/src/collaboration-core';export default class g extends _0x2a4c3e{static get[_0x595f('0xd')](){return[_0x201604,_0x595f('0x28'),_0x17650d];}constructor(_0x56574a){super(_0x56574a),this[_0x595f('0x10')]=new Map();}[_0x595f('0x1e')](){const _0x4967ef=this[_0x595f('0x2c')]['plugins'][_0x595f('0x11')](_0x17650d),_0x32889f=this[_0x595f('0x2c')][_0x595f('0x2')][_0x595f('0x11')](_0x595f('0x28')),_0x49660e=this[_0x595f('0x2c')][_0x595f('0x1c')][_0x595f('0x11')](_0x595f('0x14'));return _0x4967ef[_0x595f('0x4')](this),this[_0x595f('0x1b')]=new g[(_0x595f('0x23'))](_0x49660e),_0x32889f['adapter']={'getSuggestion':async _0x4bbefb=>{await this[_0x595f('0x19')]();const _0x2f334a=await this[_0x595f('0x1b')][_0x595f('0x11')](_0x4bbefb)['catch'](T);return await this[_0x595f('0x5')]([_0x2f334a]),_0x2f334a;},'addSuggestion':async({id:_0x1bb8bf,type:_0x3f3bf8,data:_0x4222eb,originalSuggestionId:_0x390430,attributes:_0x3546d5})=>{await this[_0x595f('0x19')]();const _0x18a89b={'id':_0x1bb8bf,'type':_0x3f3bf8,'data':_0x4222eb,'originalSuggestionId':_0x390430,'attributes':_0x3546d5},_0x54ce1c=await this[_0x595f('0x1b')]['add'](_0x1bb8bf,_0x3f3bf8,_0x4222eb,_0x390430,_0x3546d5)[_0x595f('0x12')](_0x14dc57=>{if(et(_0x14dc57))return new Promise(_0x5124cd=>{this['_bufferedRequests'][_0x595f('0x27')](_0x1bb8bf,{'resolve':_0x5124cd,'suggestionData':_0x18a89b});});throw _0x14dc57;});return this[_0x595f('0x10')][_0x595f('0x1d')](_0x1bb8bf),_0x54ce1c;},'updateSuggestion':async(_0xd2c0a5,_0x35bebe)=>{if(await this[_0x595f('0x19')](),_0x595f('0xa')!==_0x35bebe[_0x595f('0x15')])return this[_0x595f('0x1b')][_0x595f('0x8')](_0xd2c0a5,_0x35bebe)[_0x595f('0x12')](T);}},this[_0x595f('0x18')](this[_0x595f('0x1b')],_0x595f('0x24'),(_0x51f9b1,_0x359dcf)=>{_0x32889f[_0x595f('0x20')](_0x359dcf['id'])&&(_0x32889f[_0x595f('0x2a')](_0x359dcf['id'])['attributes']=_0x359dcf[_0x595f('0x1f')]);}),this[_0x595f('0x1b')]['connect'](_0x4967ef[_0x595f('0x7')])['then'](_0x1d7870=>this[_0x595f('0x5')](_0x1d7870)['then'](()=>{for(const _0x4630a0 of _0x1d7870){_0x32889f[_0x595f('0x2b')](_0x4630a0)[_0x595f('0xf')]=!0x0;}}));}async[_0x595f('0x22')](){const _0x35f850=this[_0x595f('0x2c')][_0x595f('0x2')][_0x595f('0x11')]('TrackChangesEditing'),{connection:_0xae258d}=this[_0x595f('0x2c')]['plugins'][_0x595f('0x11')](_0x17650d),_0x248cda=await this['_trackChangesService']['connect'](_0xae258d);await this[_0x595f('0x5')](_0x248cda);for(const {suggestionData:_0x4a510b,resolve:_0x477844}of this[_0x595f('0x10')][_0x595f('0xb')]()){let _0x3da526=_0x248cda[_0x595f('0x3')](_0x3dade3=>_0x3dade3['id']===_0x4a510b['id']);_0x3da526||(_0x3da526=await this['_trackChangesService'][_0x595f('0x1')](_0x4a510b['id'],_0x4a510b['type'],_0x4a510b[_0x595f('0x9')],_0x4a510b[_0x595f('0x13')])),_0x477844(_0x3da526);}for(const _0x10ed2b of _0x248cda)_0x35f850[_0x595f('0x20')](_0x10ed2b['id'])||_0x35f850[_0x595f('0x2b')](_0x10ed2b);}async[_0x595f('0x19')](){this[_0x595f('0x1b')][_0x595f('0x1a')]||await new Promise(_0x156e41=>{this[_0x595f('0x18')](this['_trackChangesService'],_0x595f('0x2d'),_0x148c89=>{_0x148c89[_0x595f('0xe')](),_0x156e41();});});}['_fetchMissingUsersForThreads'](_0x3627f0){const _0x5bf09d=this[_0x595f('0x2c')][_0x595f('0x2')][_0x595f('0x11')](_0x16df7b),{connection:_0x4f3641}=this['editor'][_0x595f('0x2')][_0x595f('0x11')](_0x17650d),_0x35efe1=new Set();for(const {authorId:_0x4e26ef}of _0x3627f0)_0x5bf09d[_0x595f('0x21')](_0x4e26ef)||_0x35efe1[_0x595f('0x1')](_0x4e26ef);return Promise[_0x595f('0x6')](Array[_0x595f('0x16')](_0x35efe1)[_0x595f('0x29')](_0x2cef60=>_0x23e239[_0x595f('0x11')](_0x4f3641,_0x2cef60)[_0x595f('0x26')](_0x2bd3fc=>{_0x5bf09d[_0x595f('0x21')](_0x2cef60)||_0x5bf09d[_0x595f('0x17')](_0x2bd3fc);})));}}function T(_0x370580){if(et(_0x370580))return new Promise(()=>{});throw _0x370580;}function et(_0x337417){return _0x337417[_0x595f('0x0')][_0x595f('0xc')](_0x595f('0x2e'))||_0x337417[_0x595f('0x0')][_0x595f('0xc')](_0x595f('0x25'));}g[_0x595f('0x23')]=_0x258876;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x478e=['pluginName','RealTimeCollaborativeTrackChanges','requires'];(function(_0x4425cf,_0x478e32){var _0x38f67b=function(_0x5c0a25){while(--_0x5c0a25){_0x4425cf['push'](_0x4425cf['shift']());}};_0x38f67b(++_0x478e32);}(_0x478e,0x182));var _0x38f6=function(_0x4425cf,_0x478e32){_0x4425cf=_0x4425cf-0x0;var _0x38f67b=_0x478e[_0x4425cf];return _0x38f67b;};import{Plugin as _0x4326f0}from'ckeditor5/src/core';import _0x241d80 from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter';import _0x4adbca from'./realtimecollaborativecomments';export default class u extends _0x4326f0{static get[_0x38f6('0x0')](){return[_0x4adbca,_0x241d80,'TrackChanges'];}static get[_0x38f6('0x1')](){return _0x38f6('0x2');}}
|
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-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
@import '@ckeditor/ckeditor5-ui/theme/components/tooltip/tooltip.css';
|
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-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
.ck .ck-user__marker {
|