@ckeditor/ckeditor5-real-time-collaboration 44.1.0-alpha.0 → 44.1.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/build/real-time-collaboration.js +2 -2
- package/dist/index.js +6 -6
- package/package.json +9 -9
- 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/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x16479a=_0xe349;(function(_0x1ec3ef,_0x2ca486){const _0x329233=_0xe349,_0x3ddf4d=_0x1ec3ef();while(!![]){try{const _0x45fb76=-parseInt(_0x329233(0x1e7))/0x1*(parseInt(_0x329233(0x1d7))/0x2)+parseInt(_0x329233(0x211))/0x3*(parseInt(_0x329233(0x1f0))/0x4)+-parseInt(_0x329233(0x209))/0x5*(parseInt(_0x329233(0x1e6))/0x6)+parseInt(_0x329233(0x207))/0x7*(-parseInt(_0x329233(0x200))/0x8)+-parseInt(_0x329233(0x214))/0x9+parseInt(_0x329233(0x20d))/0xa+parseInt(_0x329233(0x1de))/0xb*(parseInt(_0x329233(0x1f2))/0xc);if(_0x45fb76===_0x2ca486)break;else _0x3ddf4d['push'](_0x3ddf4d['shift']());}catch(_0x1af4e9){_0x3ddf4d['push'](_0x3ddf4d['shift']());}}}(_0x5247,0x93be8));import{Plugin as _0x4e9c44}from'ckeditor5/src/core.js';import{User as _0x260803,TrackChangesService as _0x38f6e7}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x9438e1 from'../realtimecollaborativeediting/websocketgateway.js';import _0x27be20 from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x26d80e}from'ckeditor5-collaboration/src/collaboration-core.js';function _0xe349(_0x843171,_0x4e5fd2){const _0x524745=_0x5247();return _0xe349=function(_0xe349ac,_0x117127){_0xe349ac=_0xe349ac-0x1d4;let _0x4d9fd5=_0x524745[_0xe349ac];return _0x4d9fd5;},_0xe349(_0x843171,_0x4e5fd2);}class f extends _0x4e9c44{static get[_0x16479a(0x1e2)](){const _0x2c1f34=_0x16479a;return[_0x27be20,_0x2c1f34(0x1d4),_0x9438e1];}static get[_0x16479a(0x204)](){const _0x4a95c0=_0x16479a;return _0x4a95c0(0x1eb);}static get[_0x16479a(0x1df)](){return!0x0;}static get[_0x16479a(0x20e)](){return!0x0;}constructor(_0x1e6cae){const _0x47c8b8=_0x16479a;super(_0x1e6cae);const _0x293ccf=this[_0x47c8b8(0x1ff)][_0x47c8b8(0x1e3)][_0x47c8b8(0x203)](_0x47c8b8(0x1ed));this[_0x47c8b8(0x1fa)]=new Map(),this[_0x47c8b8(0x1e9)]=new f[(_0x47c8b8(0x1ec))](_0x293ccf);}[_0x16479a(0x1dc)](){const _0x5f18b3=_0x16479a,_0x28756e=this[_0x5f18b3(0x1ff)][_0x5f18b3(0x208)][_0x5f18b3(0x203)](_0x9438e1),_0x133356=this[_0x5f18b3(0x1ff)][_0x5f18b3(0x208)][_0x5f18b3(0x203)](_0x5f18b3(0x1d4));return _0x133356[_0x5f18b3(0x1dd)]={'getSuggestion':async _0x19fce4=>{const _0x4c3bc4=_0x5f18b3;await this[_0x4c3bc4(0x1da)]();const _0x510fcd=await this[_0x4c3bc4(0x1e9)][_0x4c3bc4(0x203)](_0x19fce4)[_0x4c3bc4(0x1f3)](R);return await this[_0x4c3bc4(0x206)]([_0x510fcd]),_0x510fcd;},'addSuggestion':async({id:_0x411fd3,type:_0x130c96,data:_0x25c7e0,originalSuggestionId:_0x3cbe9a,attributes:_0x43050d})=>{const _0x1db12d=_0x5f18b3;await this[_0x1db12d(0x1da)]();const _0x474982={'id':_0x411fd3,'type':_0x130c96,'data':_0x25c7e0,'originalSuggestionId':_0x3cbe9a,'attributes':_0x43050d},_0x5c55f9=await this[_0x1db12d(0x1e9)][_0x1db12d(0x1f4)](_0x411fd3,_0x130c96,_0x25c7e0,_0x3cbe9a,_0x43050d)[_0x1db12d(0x1f3)](_0x29e363=>{if(st(_0x29e363))return new Promise(_0xb754d5=>{const _0xf0180b=_0xe349;this[_0xf0180b(0x1fa)][_0xf0180b(0x1f6)](_0x411fd3,{'resolve':_0xb754d5,'suggestionData':_0x474982});});throw _0x29e363;});return this[_0x1db12d(0x1fa)][_0x1db12d(0x201)](_0x411fd3),_0x5c55f9;},'updateSuggestion':async(_0x3db792,_0x880bb6)=>{const _0x1c25ce=_0x5f18b3;if(await this[_0x1c25ce(0x1da)](),_0x1c25ce(0x20f)!==_0x880bb6[_0x1c25ce(0x1d9)])return this[_0x1c25ce(0x1e9)][_0x1c25ce(0x1e0)](_0x3db792,_0x880bb6)[_0x1c25ce(0x1f3)](R);}},this[_0x5f18b3(0x20b)](this[_0x5f18b3(0x1e9)],_0x5f18b3(0x1e4),(_0xbd3765,_0x4e97ae)=>{const _0x26cd52=_0x5f18b3;_0x133356[_0x26cd52(0x1fb)](_0x4e97ae['id'])&&(_0x133356[_0x26cd52(0x1d6)](_0x4e97ae['id'])[_0x26cd52(0x1fe)]=_0x4e97ae[_0x26cd52(0x1fe)]);}),this[_0x5f18b3(0x1e9)][_0x5f18b3(0x215)](_0x28756e[_0x5f18b3(0x1e8)])[_0x5f18b3(0x20c)](_0x348eaf=>(_0x28756e[_0x5f18b3(0x212)](this),this[_0x5f18b3(0x206)](_0x348eaf)[_0x5f18b3(0x20c)](()=>{const _0x4cbcc5=_0x5f18b3;for(const _0x42ac8d of _0x348eaf){_0x133356[_0x4cbcc5(0x1f5)](_0x42ac8d)[_0x4cbcc5(0x20a)]=!0x0;}})));}async[_0x16479a(0x205)](){const _0x3db43e=_0x16479a,_0x2c517b=this[_0x3db43e(0x1ff)][_0x3db43e(0x208)][_0x3db43e(0x203)](_0x3db43e(0x1d4)),{connection:_0x30cb09}=this[_0x3db43e(0x1ff)][_0x3db43e(0x208)][_0x3db43e(0x203)](_0x9438e1),_0x100753=await this[_0x3db43e(0x1e9)][_0x3db43e(0x215)](_0x30cb09);await this[_0x3db43e(0x206)](_0x100753);for(const {suggestionData:_0x52a1f7,resolve:_0x22f603}of this[_0x3db43e(0x1fa)][_0x3db43e(0x202)]()){let _0x2a14cb=_0x100753[_0x3db43e(0x1fd)](_0xf7b511=>_0xf7b511['id']===_0x52a1f7['id']);_0x2a14cb||(_0x2a14cb=await this[_0x3db43e(0x1e9)][_0x3db43e(0x1f4)](_0x52a1f7['id'],_0x52a1f7[_0x3db43e(0x1db)],_0x52a1f7[_0x3db43e(0x1fc)],_0x52a1f7[_0x3db43e(0x210)])),_0x22f603(_0x2a14cb);}for(const _0x129293 of _0x100753)_0x2c517b[_0x3db43e(0x1fb)](_0x129293['id'])||_0x2c517b[_0x3db43e(0x1f5)](_0x129293);}async[_0x16479a(0x1da)](){const _0x5baea0=_0x16479a;this[_0x5baea0(0x1e9)][_0x5baea0(0x1e1)]||await new Promise(_0xac0b1=>{const _0x19305f=_0x5baea0;this[_0x19305f(0x20b)](this[_0x19305f(0x1e9)],_0x19305f(0x1e5),_0xa18708=>{const _0xfc9900=_0x19305f;_0xa18708[_0xfc9900(0x1ee)](),_0xac0b1();});});}async[_0x16479a(0x206)](_0x3b6400){const _0x23a320=_0x16479a,_0x3f4ddb=this[_0x23a320(0x1ff)][_0x23a320(0x208)][_0x23a320(0x203)](_0x26d80e),{connection:_0x2e0f31}=this[_0x23a320(0x1ff)][_0x23a320(0x208)][_0x23a320(0x203)](_0x9438e1),_0x4def40=new Set();for(const {authorId:_0xd5f9ee}of _0x3b6400)_0x3f4ddb[_0x23a320(0x1f8)](_0xd5f9ee)||_0x4def40[_0x23a320(0x1f4)](_0xd5f9ee);if(0x0===_0x4def40[_0x23a320(0x1f7)])return;const _0x535e30=await _0x260803[_0x23a320(0x1d5)](_0x2e0f31,Array[_0x23a320(0x1f9)](_0x4def40));for(const _0x20ae5f of _0x535e30)_0x3f4ddb[_0x23a320(0x1f8)](_0x20ae5f['id'])||_0x3f4ddb[_0x23a320(0x1f1)](_0x20ae5f);}}f[_0x16479a(0x1ec)]=_0x38f6e7;export default f;function _0x5247(){const _0x3ed3f8=['find','attributes','editor','608JqtqDq','delete','values','get','pluginName','reconnect','_fetchMissingUsersForThreads','102326wlNbzq','plugins','48490FgOFoL','_saved','listenTo','then','403190sowtOv','isPremiumPlugin','open','originalSuggestionId','19029HuERDR','addToReconnectionStack','cloud-services-internal-error:\x20Request\x20timeout.','3903669UxqtJd','connect','TrackChangesEditing','getMany','getSuggestion','724KgxOoy','cloud-services-internal-error:\x20Not\x20connected.','state','_waitForServiceReady','type','init','adapter','73469MMwxNH','isOfficialPlugin','update','isConnected','requires','config','suggestionUpdated','connected','606uiiTzF','2432lLwHfX','connection','_trackChangesService','message','CloudServicesTrackChangesAdapter','TrackChangesService','collaboration.channelId','off','startsWith','452LgPYZd','addUser','5844WutQPx','catch','add','addSuggestionData','set','size','getUser','from','_bufferedRequests','hasSuggestion','data'];_0x5247=function(){return _0x3ed3f8;};return _0x5247();}function R(_0x202920){if(st(_0x202920))return new Promise(()=>{});throw _0x202920;}function st(_0x41527f){const _0x17d2c3=_0x16479a;return _0x41527f[_0x17d2c3(0x1ea)][_0x17d2c3(0x1ef)](_0x17d2c3(0x1d8))||_0x41527f[_0x17d2c3(0x1ea)][_0x17d2c3(0x1ef)](_0x17d2c3(0x213));}
|