@ckeditor/ckeditor5-real-time-collaboration 35.3.2 → 36.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/build/real-time-collaboration.js +3 -2
- package/build/translations/ar.js +1 -0
- package/build/translations/bg.js +1 -0
- package/build/translations/bn.js +1 -0
- package/build/translations/ca.js +1 -0
- package/build/translations/cs.js +1 -0
- package/build/translations/da.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/fi.js +1 -0
- package/build/translations/fr.js +1 -0
- package/build/translations/gl.js +1 -0
- package/build/translations/he.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/ja.js +1 -0
- package/build/translations/ko.js +1 -0
- package/build/translations/lt.js +1 -0
- package/build/translations/lv.js +1 -0
- package/build/translations/ms.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/pt.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/sv.js +1 -0
- package/build/translations/th.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/vi.js +1 -0
- package/build/translations/zh-cn.js +1 -0
- package/build/translations/zh.js +1 -0
- package/lang/translations/ar.po +1 -1
- package/lang/translations/bg.po +1 -1
- package/lang/translations/bn.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.po +1 -1
- package/lang/translations/es.po +1 -1
- package/lang/translations/et.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/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/id.po +1 -1
- package/lang/translations/it.po +1 -1
- package/lang/translations/ja.po +1 -1
- package/lang/translations/ko.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/nl.po +1 -1
- package/lang/translations/no.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/sk.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/tk.po +1 -1
- package/lang/translations/tr.po +1 -1
- package/lang/translations/uk.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 +5 -5
- package/src/common-translations.js +2 -2
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +2 -2
- package/src/presencelist/view/presencecounterview.js +2 -2
- package/src/presencelist/view/presencedropdownlistitemview.js +2 -2
- package/src/presencelist/view/presencedropdownlistview.js +2 -2
- package/src/presencelist/view/presenceinlinelistitemview.js +2 -2
- package/src/presencelist/view/presenceinlinelistview.js +2 -2
- package/src/presencelist/view/presencelistview.js +2 -2
- package/src/presencelist.js +2 -2
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.js +2 -2
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +2 -2
- package/src/realtimecollaborativeediting/usermarkers.js +2 -2
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.js +2 -2
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.js +2 -2
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2016 -
|
|
2
|
+
* Copyright (c) 2016 - 2023, 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 _0x5719=['data','delete','originalSuggestionId','from','TrackChangesEditing','open','_waitForServiceReady','suggestionUpdated','message','adapter','_bufferedRequests','catch','_fetchMissingUsersForThreads','plugins','startsWith','then','find','connection','isConnected','add','init','get','_trackChangesService','config','TrackChangesService','attributes','getUser','reconnect','size','update','cloud-services-internal-error:\x20Not\x20connected.','connected','addToReconnectionStack','hasSuggestion','set','collaboration.channelId','listenTo','off','getMany','connect','editor','addUser'];(function(_0x4d5691,_0x57199a){const _0x31ff7e=function(_0x34497c){while(--_0x34497c){_0x4d5691['push'](_0x4d5691['shift']());}};_0x31ff7e(++_0x57199a);}(_0x5719,0x1a9));const _0x31ff=function(_0x4d5691,_0x57199a){_0x4d5691=_0x4d5691-0x0;let _0x31ff7e=_0x5719[_0x4d5691];return _0x31ff7e;};import{Plugin as _0x5856a6}from'ckeditor5/src/core';import _0x6d2a01 from'@ckeditor/ckeditor-cloud-services-collaboration/src/track-changes/trackchangesservice';import _0x2c5c4b from'../realtimecollaborativeediting/websocketgateway';import _0x7a453d from'../realtimecollaborativecomments/cloudservicescommentsadapter';import _0x557cce from'@ckeditor/ckeditor-cloud-services-collaboration/src/users/user';import{Users as _0x29e7c6}from'ckeditor5-collaboration/src/collaboration-core';export default class g extends _0x5856a6{static get['requires'](){return[_0x7a453d,_0x31ff('0x29'),_0x2c5c4b];}constructor(_0x17053f){super(_0x17053f),this[_0x31ff('0x5')]=new Map();}[_0x31ff('0xf')](){const _0x4ad85f=this[_0x31ff('0x23')][_0x31ff('0x8')]['get'](_0x2c5c4b),_0x384e5e=this[_0x31ff('0x23')][_0x31ff('0x8')]['get']('TrackChangesEditing'),_0x555869=this['editor'][_0x31ff('0x12')][_0x31ff('0x10')](_0x31ff('0x1e'));return this['_trackChangesService']=new g[(_0x31ff('0x13'))](_0x555869),_0x384e5e[_0x31ff('0x4')]={'getSuggestion':async _0x22ae13=>{await this[_0x31ff('0x1')]();const _0x45139a=await this[_0x31ff('0x11')][_0x31ff('0x10')](_0x22ae13)[_0x31ff('0x6')](R);return await this[_0x31ff('0x7')]([_0x45139a]),_0x45139a;},'addSuggestion':async({id:_0x3a05c0,type:_0x3d6b70,data:_0xaff007,originalSuggestionId:_0x5ba4ee,attributes:_0x174942})=>{await this[_0x31ff('0x1')]();const _0x2979fb={'id':_0x3a05c0,'type':_0x3d6b70,'data':_0xaff007,'originalSuggestionId':_0x5ba4ee,'attributes':_0x174942},_0x1e25f0=await this[_0x31ff('0x11')][_0x31ff('0xe')](_0x3a05c0,_0x3d6b70,_0xaff007,_0x5ba4ee,_0x174942)[_0x31ff('0x6')](_0x531b03=>{if(tt(_0x531b03))return new Promise(_0x37793b=>{this[_0x31ff('0x5')][_0x31ff('0x1d')](_0x3a05c0,{'resolve':_0x37793b,'suggestionData':_0x2979fb});});throw _0x531b03;});return this['_bufferedRequests'][_0x31ff('0x26')](_0x3a05c0),_0x1e25f0;},'updateSuggestion':async(_0x557ebd,_0x17dad0)=>{if(await this['_waitForServiceReady'](),_0x31ff('0x0')!==_0x17dad0['state'])return this[_0x31ff('0x11')][_0x31ff('0x18')](_0x557ebd,_0x17dad0)['catch'](R);}},this[_0x31ff('0x1f')](this[_0x31ff('0x11')],_0x31ff('0x2'),(_0x43ade0,_0x4e70fb)=>{_0x384e5e[_0x31ff('0x1c')](_0x4e70fb['id'])&&(_0x384e5e['getSuggestion'](_0x4e70fb['id'])['attributes']=_0x4e70fb[_0x31ff('0x14')]);}),this['_trackChangesService'][_0x31ff('0x22')](_0x4ad85f[_0x31ff('0xc')])[_0x31ff('0xa')](_0x33f6a0=>(_0x4ad85f[_0x31ff('0x1b')](this),this[_0x31ff('0x7')](_0x33f6a0)[_0x31ff('0xa')](()=>{for(const _0x56575e of _0x33f6a0){_0x384e5e['addSuggestionData'](_0x56575e)['_saved']=!0x0;}})));}async[_0x31ff('0x16')](){const _0x2d8391=this[_0x31ff('0x23')][_0x31ff('0x8')]['get'](_0x31ff('0x29')),{connection:_0x4e8aa4}=this[_0x31ff('0x23')][_0x31ff('0x8')][_0x31ff('0x10')](_0x2c5c4b),_0x1afdc5=await this[_0x31ff('0x11')][_0x31ff('0x22')](_0x4e8aa4);await this['_fetchMissingUsersForThreads'](_0x1afdc5);for(const {suggestionData:_0x4f9a0b,resolve:_0x3f420e}of this[_0x31ff('0x5')]['values']()){let _0x94e25a=_0x1afdc5[_0x31ff('0xb')](_0x267b70=>_0x267b70['id']===_0x4f9a0b['id']);_0x94e25a||(_0x94e25a=await this[_0x31ff('0x11')][_0x31ff('0xe')](_0x4f9a0b['id'],_0x4f9a0b['type'],_0x4f9a0b[_0x31ff('0x25')],_0x4f9a0b[_0x31ff('0x27')])),_0x3f420e(_0x94e25a);}for(const _0x23bbf3 of _0x1afdc5)_0x2d8391['hasSuggestion'](_0x23bbf3['id'])||_0x2d8391['addSuggestionData'](_0x23bbf3);}async[_0x31ff('0x1')](){this[_0x31ff('0x11')][_0x31ff('0xd')]||await new Promise(_0x11d607=>{this[_0x31ff('0x1f')](this[_0x31ff('0x11')],_0x31ff('0x1a'),_0x35007e=>{_0x35007e[_0x31ff('0x20')](),_0x11d607();});});}async['_fetchMissingUsersForThreads'](_0x4c7ee2){const _0x79b911=this[_0x31ff('0x23')][_0x31ff('0x8')][_0x31ff('0x10')](_0x29e7c6),{connection:_0x437b59}=this[_0x31ff('0x23')][_0x31ff('0x8')]['get'](_0x2c5c4b),_0x3433a7=new Set();for(const {authorId:_0x2cb851}of _0x4c7ee2)_0x79b911[_0x31ff('0x15')](_0x2cb851)||_0x3433a7[_0x31ff('0xe')](_0x2cb851);if(0x0===_0x3433a7[_0x31ff('0x17')])return;const _0x25ff95=await _0x557cce[_0x31ff('0x21')](_0x437b59,Array[_0x31ff('0x28')](_0x3433a7));for(const _0x3047fd of _0x25ff95)_0x79b911[_0x31ff('0x15')](_0x3047fd['id'])||_0x79b911[_0x31ff('0x24')](_0x3047fd);}}function R(_0x27972a){if(tt(_0x27972a))return new Promise(()=>{});throw _0x27972a;}function tt(_0x3f428a){return _0x3f428a['message'][_0x31ff('0x9')](_0x31ff('0x19'))||_0x3f428a[_0x31ff('0x3')][_0x31ff('0x9')]('cloud-services-internal-error:\x20Request\x20timeout.');}g['TrackChangesService']=_0x6d2a01;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2016 -
|
|
2
|
+
* Copyright (c) 2016 - 2023, 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 _0x55bd=['RealTimeCollaborativeTrackChanges','TrackChanges','requires'];(function(_0x3d7f47,_0x55bd64){var _0x2bc6f8=function(_0xee325a){while(--_0xee325a){_0x3d7f47['push'](_0x3d7f47['shift']());}};_0x2bc6f8(++_0x55bd64);}(_0x55bd,0x166));var _0x2bc6=function(_0x3d7f47,_0x55bd64){_0x3d7f47=_0x3d7f47-0x0;var _0x2bc6f8=_0x55bd[_0x3d7f47];return _0x2bc6f8;};import{Plugin as _0x382a64}from'ckeditor5/src/core';import _0x2d5998 from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter';import _0x496a81 from'./realtimecollaborativecomments';export default class p extends _0x382a64{static get[_0x2bc6('0x1')](){return[_0x496a81,_0x2d5998,_0x2bc6('0x0')];}static get['pluginName'](){return _0x2bc6('0x2');}}
|