@ckeditor/ckeditor5-real-time-collaboration 45.2.1-alpha.8 → 45.2.1-alpha.9
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 +1 -1
- package/dist/index.js +6 -6
- package/package.json +14 -14
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>
|
|
23
|
+
const _0x54d71a=_0x11a3;(function(_0x2b2644,_0x5a9dd3){const _0x9020=_0x11a3,_0x5f20eb=_0x2b2644();while(!![]){try{const _0x25f9dd=parseInt(_0x9020(0x1c3))/0x1*(parseInt(_0x9020(0x1c5))/0x2)+parseInt(_0x9020(0x1c2))/0x3*(-parseInt(_0x9020(0x1da))/0x4)+parseInt(_0x9020(0x19e))/0x5*(-parseInt(_0x9020(0x1a8))/0x6)+parseInt(_0x9020(0x1b2))/0x7+-parseInt(_0x9020(0x1b9))/0x8+-parseInt(_0x9020(0x1a0))/0x9+parseInt(_0x9020(0x1a7))/0xa;if(_0x25f9dd===_0x5a9dd3)break;else _0x5f20eb['push'](_0x5f20eb['shift']());}catch(_0x15086e){_0x5f20eb['push'](_0x5f20eb['shift']());}}}(_0x4673,0x4a135));import{Plugin as _0x3d5cb2}from'ckeditor5/src/core.js';import{User as _0x209b35,TrackChangesService as _0x3bd64d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x53136f from'../realtimecollaborativeediting/websocketgateway.js';import _0x536dca from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x404287}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4673(){const _0x36ce9a=['update','state','connected','_waitForServiceReady','getSuggestion','off','2165170UWtmkp','CloudServicesTrackChangesAdapter','config','collaboration.channelId','isPremiumPlugin','TrackChangesService','listenTo','2572792rlMRTJ','isOfficialPlugin','_fetchMissingUsersForThreads','pluginName','isConnected','addToReconnectionStack','init','attributes','cloud-services-internal-error:\x20Request\x20timeout.','3267MlNrcm','3311LgDmrh','get','4codhYj','then','originalSuggestionId','reconnect','add','message','_trackChangesService','suggestionUpdated','getMany','connect','startsWith','find','catch','editor','delete','connection','requires','data','size','adapter','TrackChangesEditing','1316BsDyBH','open','plugins','_saved','5RXkioV','_bufferedRequests','4519278BuEHBm','from','addUser','type','hasSuggestion','set','cloud-services-internal-error:\x20Not\x20connected.','11778170UBrOqd','49884ZWAIxN','addSuggestionData','values','getUser'];_0x4673=function(){return _0x36ce9a;};return _0x4673();}class f extends _0x3d5cb2{static [_0x54d71a(0x1b7)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x3bd64d)());[_0x54d71a(0x19f)];[_0x54d71a(0x1cb)];static get[_0x54d71a(0x1d5)](){const _0x41adf5=_0x54d71a;return[_0x536dca,_0x41adf5(0x1d9),_0x53136f];}static get[_0x54d71a(0x1bc)](){const _0x2df5c2=_0x54d71a;return _0x2df5c2(0x1b3);}static get[_0x54d71a(0x1ba)](){return!0x0;}static get[_0x54d71a(0x1b6)](){return!0x0;}constructor(_0x313bef){const _0x40ce08=_0x54d71a;super(_0x313bef);const _0x270486=this[_0x40ce08(0x1d2)][_0x40ce08(0x1b4)][_0x40ce08(0x1c4)](_0x40ce08(0x1b5));this[_0x40ce08(0x19f)]=new Map(),this[_0x40ce08(0x1cb)]=new f[(_0x40ce08(0x1b7))](_0x270486);}[_0x54d71a(0x1bf)](){const _0x3d29d9=_0x54d71a,_0x1a353e=this[_0x3d29d9(0x1d2)][_0x3d29d9(0x1dc)][_0x3d29d9(0x1c4)](_0x53136f),_0x2271f1=this[_0x3d29d9(0x1d2)][_0x3d29d9(0x1dc)][_0x3d29d9(0x1c4)](_0x3d29d9(0x1d9));return _0x2271f1[_0x3d29d9(0x1d8)]={'getSuggestion':async _0x98e545=>{const _0x35bed1=_0x3d29d9;await this[_0x35bed1(0x1af)]();const _0x30a28d=await this[_0x35bed1(0x1cb)][_0x35bed1(0x1c4)](_0x98e545)[_0x35bed1(0x1d1)](R);return await this[_0x35bed1(0x1bb)]([_0x30a28d]),_0x30a28d;},'addSuggestion':async({id:_0x339f1e,type:_0x5ea994,data:_0x3784ff,originalSuggestionId:_0xc15eb8,attributes:_0x4c205c})=>{const _0x2c4f2c=_0x3d29d9;await this[_0x2c4f2c(0x1af)]();const _0x543e53={'id':_0x339f1e,'type':_0x5ea994,'data':_0x3784ff,'originalSuggestionId':_0xc15eb8,'attributes':_0x4c205c},_0x527c20=await this[_0x2c4f2c(0x1cb)][_0x2c4f2c(0x1c9)](_0x339f1e,_0x5ea994,_0x3784ff,_0xc15eb8,_0x4c205c)[_0x2c4f2c(0x1d1)](_0x4e7a18=>{if(st(_0x4e7a18))return new Promise(_0x108c64=>{const _0x2fe03b=_0x11a3;this[_0x2fe03b(0x19f)][_0x2fe03b(0x1a5)](_0x339f1e,{'resolve':_0x108c64,'suggestionData':_0x543e53});});throw _0x4e7a18;});return this[_0x2c4f2c(0x19f)][_0x2c4f2c(0x1d3)](_0x339f1e),_0x527c20;},'updateSuggestion':async(_0x1ca9af,_0x4b2b3f)=>{const _0x583f6d=_0x3d29d9;if(await this[_0x583f6d(0x1af)](),_0x583f6d(0x1db)!==_0x4b2b3f[_0x583f6d(0x1ad)])return this[_0x583f6d(0x1cb)][_0x583f6d(0x1ac)](_0x1ca9af,_0x4b2b3f)[_0x583f6d(0x1d1)](R);}},this[_0x3d29d9(0x1b8)](this[_0x3d29d9(0x1cb)],_0x3d29d9(0x1cc),(_0x196a34,_0x4c8b24)=>{const _0x32a465=_0x3d29d9;_0x2271f1[_0x32a465(0x1a4)](_0x4c8b24['id'])&&(_0x2271f1[_0x32a465(0x1b0)](_0x4c8b24['id'])[_0x32a465(0x1c0)]=_0x4c8b24[_0x32a465(0x1c0)]);}),this[_0x3d29d9(0x1cb)][_0x3d29d9(0x1ce)](_0x1a353e[_0x3d29d9(0x1d4)])[_0x3d29d9(0x1c6)](_0x4e1aac=>(_0x1a353e[_0x3d29d9(0x1be)](this),this[_0x3d29d9(0x1bb)](_0x4e1aac)[_0x3d29d9(0x1c6)](()=>{const _0x53b9f8=_0x3d29d9;for(const _0x19ac21 of _0x4e1aac){_0x2271f1[_0x53b9f8(0x1a9)](_0x19ac21)[_0x53b9f8(0x19d)]=!0x0;}})));}async[_0x54d71a(0x1c8)](){const _0x23b4e6=_0x54d71a,_0x10af92=this[_0x23b4e6(0x1d2)][_0x23b4e6(0x1dc)][_0x23b4e6(0x1c4)](_0x23b4e6(0x1d9)),{connection:_0x1e358a}=this[_0x23b4e6(0x1d2)][_0x23b4e6(0x1dc)][_0x23b4e6(0x1c4)](_0x53136f),_0xf908f0=await this[_0x23b4e6(0x1cb)][_0x23b4e6(0x1ce)](_0x1e358a);await this[_0x23b4e6(0x1bb)](_0xf908f0);for(const {suggestionData:_0x2b8fae,resolve:_0xb9f885}of this[_0x23b4e6(0x19f)][_0x23b4e6(0x1aa)]()){let _0x3087da=_0xf908f0[_0x23b4e6(0x1d0)](_0x535458=>_0x535458['id']===_0x2b8fae['id']);_0x3087da||(_0x3087da=await this[_0x23b4e6(0x1cb)][_0x23b4e6(0x1c9)](_0x2b8fae['id'],_0x2b8fae[_0x23b4e6(0x1a3)],_0x2b8fae[_0x23b4e6(0x1d6)],_0x2b8fae[_0x23b4e6(0x1c7)])),_0xb9f885(_0x3087da);}for(const _0x2cef70 of _0xf908f0)_0x10af92[_0x23b4e6(0x1a4)](_0x2cef70['id'])||_0x10af92[_0x23b4e6(0x1a9)](_0x2cef70);}async[_0x54d71a(0x1af)](){const _0x36d2c7=_0x54d71a;this[_0x36d2c7(0x1cb)][_0x36d2c7(0x1bd)]||await new Promise(_0x5d1f5c=>{const _0x46e86b=_0x36d2c7;this[_0x46e86b(0x1b8)](this[_0x46e86b(0x1cb)],_0x46e86b(0x1ae),_0x359378=>{const _0xc6eddb=_0x46e86b;_0x359378[_0xc6eddb(0x1b1)](),_0x5d1f5c();});});}async[_0x54d71a(0x1bb)](_0x4afcd0){const _0x43009a=_0x54d71a,_0x13cef8=this[_0x43009a(0x1d2)][_0x43009a(0x1dc)][_0x43009a(0x1c4)](_0x404287),{connection:_0x39672d}=this[_0x43009a(0x1d2)][_0x43009a(0x1dc)][_0x43009a(0x1c4)](_0x53136f),_0x5d6528=new Set();for(const {authorId:_0x2e3714}of _0x4afcd0)_0x13cef8[_0x43009a(0x1ab)](_0x2e3714)||_0x5d6528[_0x43009a(0x1c9)](_0x2e3714);if(0x0===_0x5d6528[_0x43009a(0x1d7)])return;const _0x5720de=await _0x209b35[_0x43009a(0x1cd)](_0x39672d,Array[_0x43009a(0x1a1)](_0x5d6528));for(const _0x862b88 of _0x5720de)_0x13cef8[_0x43009a(0x1ab)](_0x862b88['id'])||_0x13cef8[_0x43009a(0x1a2)](_0x862b88);}}export default f;function _0x11a3(_0x3c6f61,_0x45a1e8){const _0x467355=_0x4673();return _0x11a3=function(_0x11a38a,_0x50f302){_0x11a38a=_0x11a38a-0x19d;let _0x41c9a3=_0x467355[_0x11a38a];return _0x41c9a3;},_0x11a3(_0x3c6f61,_0x45a1e8);}function R(_0x65ae02){if(st(_0x65ae02))return new Promise(()=>{});throw _0x65ae02;}function st(_0x15e23f){const _0x1fcf5c=_0x54d71a;return _0x15e23f[_0x1fcf5c(0x1ca)][_0x1fcf5c(0x1cf)](_0x1fcf5c(0x1a6))||_0x15e23f[_0x1fcf5c(0x1ca)][_0x1fcf5c(0x1cf)](_0x1fcf5c(0x1c1));}
|