@ckeditor/ckeditor5-real-time-collaboration 44.3.0-alpha.6 → 44.3.0-alpha.7
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 +14 -14
- 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 _0x5de2d8=_0x243b;(function(_0x425e69,_0x343701){const _0x1af2f7=_0x243b,_0x23f0ea=_0x425e69();while(!![]){try{const _0x3d15cb=parseInt(_0x1af2f7(0x161))/0x1+parseInt(_0x1af2f7(0x148))/0x2*(-parseInt(_0x1af2f7(0x142))/0x3)+-parseInt(_0x1af2f7(0x14a))/0x4*(parseInt(_0x1af2f7(0x174))/0x5)+-parseInt(_0x1af2f7(0x146))/0x6*(-parseInt(_0x1af2f7(0x17a))/0x7)+parseInt(_0x1af2f7(0x169))/0x8*(-parseInt(_0x1af2f7(0x16f))/0x9)+parseInt(_0x1af2f7(0x168))/0xa*(-parseInt(_0x1af2f7(0x159))/0xb)+parseInt(_0x1af2f7(0x145))/0xc;if(_0x3d15cb===_0x343701)break;else _0x23f0ea['push'](_0x23f0ea['shift']());}catch(_0x365dd3){_0x23f0ea['push'](_0x23f0ea['shift']());}}}(_0x2586,0xa962d));import{Plugin as _0x485b6b}from'ckeditor5/src/core.js';import{User as _0x255dd0,TrackChangesService as _0x3e8e76}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x2d4c4f from'../realtimecollaborativeediting/websocketgateway.js';import _0x37f785 from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x1cdc43}from'ckeditor5-collaboration/src/collaboration-core.js';class f extends _0x485b6b{static get[_0x5de2d8(0x158)](){const _0x5de3a0=_0x5de2d8;return[_0x37f785,_0x5de3a0(0x16b),_0x2d4c4f];}static get[_0x5de2d8(0x17c)](){const _0x151f2f=_0x5de2d8;return _0x151f2f(0x163);}static get[_0x5de2d8(0x152)](){return!0x0;}static get[_0x5de2d8(0x14b)](){return!0x0;}constructor(_0x4d9757){const _0x138512=_0x5de2d8;super(_0x4d9757);const _0x43c4da=this[_0x138512(0x167)][_0x138512(0x144)][_0x138512(0x17f)](_0x138512(0x141));this[_0x138512(0x149)]=new Map(),this[_0x138512(0x16e)]=new f[(_0x138512(0x17d))](_0x43c4da);}[_0x5de2d8(0x153)](){const _0x1ba211=_0x5de2d8,_0x48241c=this[_0x1ba211(0x167)][_0x1ba211(0x164)][_0x1ba211(0x17f)](_0x2d4c4f),_0x3024d9=this[_0x1ba211(0x167)][_0x1ba211(0x164)][_0x1ba211(0x17f)](_0x1ba211(0x16b));return _0x3024d9[_0x1ba211(0x170)]={'getSuggestion':async _0x54c17b=>{const _0x2365e8=_0x1ba211;await this[_0x2365e8(0x14c)]();const _0x4fdcf6=await this[_0x2365e8(0x16e)][_0x2365e8(0x17f)](_0x54c17b)[_0x2365e8(0x15e)](R);return await this[_0x2365e8(0x156)]([_0x4fdcf6]),_0x4fdcf6;},'addSuggestion':async({id:_0x1737e7,type:_0x4bb135,data:_0x46cad6,originalSuggestionId:_0x306d17,attributes:_0x21a27e})=>{const _0x5cb66f=_0x1ba211;await this[_0x5cb66f(0x14c)]();const _0x4b2031={'id':_0x1737e7,'type':_0x4bb135,'data':_0x46cad6,'originalSuggestionId':_0x306d17,'attributes':_0x21a27e},_0x108447=await this[_0x5cb66f(0x16e)][_0x5cb66f(0x13f)](_0x1737e7,_0x4bb135,_0x46cad6,_0x306d17,_0x21a27e)[_0x5cb66f(0x15e)](_0xec187c=>{if(U(_0xec187c))return new Promise(_0x4ae097=>{const _0x582115=_0x243b;this[_0x582115(0x149)][_0x582115(0x147)](_0x1737e7,{'resolve':_0x4ae097,'suggestionData':_0x4b2031});});throw _0xec187c;});return this[_0x5cb66f(0x149)][_0x5cb66f(0x15c)](_0x1737e7),_0x108447;},'updateSuggestion':async(_0x28c986,_0x4b6b50)=>{const _0xb70697=_0x1ba211;if(await this[_0xb70697(0x14c)](),_0xb70697(0x17e)!==_0x4b6b50[_0xb70697(0x14f)])return this[_0xb70697(0x16e)][_0xb70697(0x17b)](_0x28c986,_0x4b6b50)[_0xb70697(0x15e)](R);}},this[_0x1ba211(0x172)](this[_0x1ba211(0x16e)],_0x1ba211(0x180),(_0x147fad,_0x18f7ae)=>{const _0x36f507=_0x1ba211;_0x3024d9[_0x36f507(0x179)](_0x18f7ae['id'])&&(_0x3024d9[_0x36f507(0x14d)](_0x18f7ae['id'])[_0x36f507(0x15a)]=_0x18f7ae[_0x36f507(0x15a)]);}),this[_0x1ba211(0x16e)][_0x1ba211(0x154)](_0x48241c[_0x1ba211(0x143)])[_0x1ba211(0x140)](_0x4ccb19=>(_0x48241c[_0x1ba211(0x16d)](this),this[_0x1ba211(0x156)](_0x4ccb19)[_0x1ba211(0x140)](()=>{const _0x5e05aa=_0x1ba211;for(const _0x5b1ed3 of _0x4ccb19){_0x3024d9[_0x5e05aa(0x150)](_0x5b1ed3)[_0x5e05aa(0x176)]=!0x0;}})));}async[_0x5de2d8(0x178)](){const _0x4b6241=_0x5de2d8,_0x50044c=this[_0x4b6241(0x167)][_0x4b6241(0x164)][_0x4b6241(0x17f)](_0x4b6241(0x16b)),{connection:_0x3183df}=this[_0x4b6241(0x167)][_0x4b6241(0x164)][_0x4b6241(0x17f)](_0x2d4c4f),_0x3954bd=await this[_0x4b6241(0x16e)][_0x4b6241(0x154)](_0x3183df);await this[_0x4b6241(0x156)](_0x3954bd);for(const {suggestionData:_0x49241a,resolve:_0x16319d}of this[_0x4b6241(0x149)][_0x4b6241(0x15d)]()){let _0x536313=_0x3954bd[_0x4b6241(0x162)](_0x27d800=>_0x27d800['id']===_0x49241a['id']);_0x536313||(_0x536313=await this[_0x4b6241(0x16e)][_0x4b6241(0x13f)](_0x49241a['id'],_0x49241a[_0x4b6241(0x177)],_0x49241a[_0x4b6241(0x175)],_0x49241a[_0x4b6241(0x14e)])),_0x16319d(_0x536313);}for(const _0x3a510f of _0x3954bd)_0x50044c[_0x4b6241(0x179)](_0x3a510f['id'])||_0x50044c[_0x4b6241(0x150)](_0x3a510f);}async[_0x5de2d8(0x14c)](){const _0x7f5f02=_0x5de2d8;this[_0x7f5f02(0x16e)][_0x7f5f02(0x171)]||await new Promise(_0x34d6eb=>{const _0x49aea5=_0x7f5f02;this[_0x49aea5(0x172)](this[_0x49aea5(0x16e)],_0x49aea5(0x173),_0x5eba19=>{const _0x224285=_0x49aea5;_0x5eba19[_0x224285(0x16c)](),_0x34d6eb();});});}async[_0x5de2d8(0x156)](_0x169c2f){const _0x2681bd=_0x5de2d8,_0x5296bb=this[_0x2681bd(0x167)][_0x2681bd(0x164)][_0x2681bd(0x17f)](_0x1cdc43),{connection:_0x51e690}=this[_0x2681bd(0x167)][_0x2681bd(0x164)][_0x2681bd(0x17f)](_0x2d4c4f),_0x1d0dfa=new Set();for(const {authorId:_0x200e5e}of _0x169c2f)_0x5296bb[_0x2681bd(0x166)](_0x200e5e)||_0x1d0dfa[_0x2681bd(0x13f)](_0x200e5e);if(0x0===_0x1d0dfa[_0x2681bd(0x15f)])return;const _0x23021f=await _0x255dd0[_0x2681bd(0x151)](_0x51e690,Array[_0x2681bd(0x157)](_0x1d0dfa));for(const _0x97a491 of _0x23021f)_0x5296bb[_0x2681bd(0x166)](_0x97a491['id'])||_0x5296bb[_0x2681bd(0x15b)](_0x97a491);}}f[_0x5de2d8(0x17d)]=_0x3e8e76;function _0x2586(){const _0x1b40c3=['TrackChangesEditing','off','addToReconnectionStack','_trackChangesService','7726788uySAux','adapter','isConnected','listenTo','connected','85950CzIJdg','data','_saved','type','reconnect','hasSuggestion','28hHmglc','update','pluginName','TrackChangesService','open','get','suggestionUpdated','add','then','collaboration.channelId','749967lUeAss','connection','config','27045048gfEwkd','1253814JmNgzG','set','2vtEWRY','_bufferedRequests','316npaqSJ','isPremiumPlugin','_waitForServiceReady','getSuggestion','originalSuggestionId','state','addSuggestionData','getMany','isOfficialPlugin','init','connect','startsWith','_fetchMissingUsersForThreads','from','requires','11wZgLLH','attributes','addUser','delete','values','catch','size','message','224863hKEvJX','find','CloudServicesTrackChangesAdapter','plugins','cloud-services-internal-error:\x20Not\x20connected.','getUser','editor','1541570rEMtFb','8PalhDf','cloud-services-internal-error:\x20Request\x20timeout.'];_0x2586=function(){return _0x1b40c3;};return _0x2586();}export default f;function _0x243b(_0x53d7d5,_0x186af6){const _0x258638=_0x2586();return _0x243b=function(_0x243bee,_0x288fd5){_0x243bee=_0x243bee-0x13f;let _0x55977a=_0x258638[_0x243bee];return _0x55977a;},_0x243b(_0x53d7d5,_0x186af6);}function R(_0x3778f3){if(U(_0x3778f3))return new Promise(()=>{});throw _0x3778f3;}function U(_0x1abbf2){const _0x584cd0=_0x5de2d8;return _0x1abbf2[_0x584cd0(0x160)][_0x584cd0(0x155)](_0x584cd0(0x165))||_0x1abbf2[_0x584cd0(0x160)][_0x584cd0(0x155)](_0x584cd0(0x16a));}
|