@ckeditor/ckeditor5-real-time-collaboration 45.2.1-alpha.7 → 45.2.1-alpha.8
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 _0x5ddcd3=_0x2b1b;(function(_0x5ed5ab,_0x1574d7){const _0x29db9f=_0x2b1b,_0x26a34f=_0x5ed5ab();while(!![]){try{const _0xdd0f22=parseInt(_0x29db9f(0x17b))/0x1*(parseInt(_0x29db9f(0x15a))/0x2)+-parseInt(_0x29db9f(0x176))/0x3+-parseInt(_0x29db9f(0x165))/0x4+parseInt(_0x29db9f(0x16a))/0x5*(parseInt(_0x29db9f(0x150))/0x6)+-parseInt(_0x29db9f(0x16f))/0x7+-parseInt(_0x29db9f(0x15c))/0x8+parseInt(_0x29db9f(0x172))/0x9;if(_0xdd0f22===_0x1574d7)break;else _0x26a34f['push'](_0x26a34f['shift']());}catch(_0x365a83){_0x26a34f['push'](_0x26a34f['shift']());}}}(_0x3fbe,0x738b5));function _0x3fbe(){const _0x5bfdf6=['getUser','config','4921560qLgGcs','TrackChangesEditing','size','14408064VlIOXm','cloud-services-internal-error:\x20Request\x20timeout.','connection','set','1689060BvOSSA','getSuggestion','_saved','isOfficialPlugin','isPremiumPlugin','229pINiZh','from','isConnected','_fetchMissingUsersForThreads','init','data','message','editor','connect','add','get','reconnect','suggestionUpdated','addSuggestionData','state','_waitForServiceReady','TrackChangesService','getMany','listenTo','off','633090vjDCHW','startsWith','catch','addUser','type','originalSuggestionId','attributes','requires','collaboration.channelId','_trackChangesService','3490gtdRwm','delete','978768oRAJlh','plugins','cloud-services-internal-error:\x20Not\x20connected.','adapter','update','pluginName','hasSuggestion','CloudServicesTrackChangesAdapter','values','977204TioPJY','find','open','addToReconnectionStack','_bufferedRequests','5RhTdXs','then','connected'];_0x3fbe=function(){return _0x5bfdf6;};return _0x3fbe();}import{Plugin as _0x4cac20}from'ckeditor5/src/core.js';import{User as _0x2d5a55,TrackChangesService as _0x2e525c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x293f7a from'../realtimecollaborativeediting/websocketgateway.js';import _0x4f3c60 from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x1a108c}from'ckeditor5-collaboration/src/collaboration-core.js';class f extends _0x4cac20{static [_0x5ddcd3(0x18b)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x2e525c)());[_0x5ddcd3(0x169)];[_0x5ddcd3(0x159)];static get[_0x5ddcd3(0x157)](){const _0x3d7423=_0x5ddcd3;return[_0x4f3c60,_0x3d7423(0x170),_0x293f7a];}static get[_0x5ddcd3(0x161)](){const _0x58851e=_0x5ddcd3;return _0x58851e(0x163);}static get[_0x5ddcd3(0x179)](){return!0x0;}static get[_0x5ddcd3(0x17a)](){return!0x0;}constructor(_0x3eaf5f){const _0x5e18fb=_0x5ddcd3;super(_0x3eaf5f);const _0x30288d=this[_0x5e18fb(0x182)][_0x5e18fb(0x16e)][_0x5e18fb(0x185)](_0x5e18fb(0x158));this[_0x5e18fb(0x169)]=new Map(),this[_0x5e18fb(0x159)]=new f[(_0x5e18fb(0x18b))](_0x30288d);}[_0x5ddcd3(0x17f)](){const _0x2ac917=_0x5ddcd3,_0x1dfb88=this[_0x2ac917(0x182)][_0x2ac917(0x15d)][_0x2ac917(0x185)](_0x293f7a),_0x2027d4=this[_0x2ac917(0x182)][_0x2ac917(0x15d)][_0x2ac917(0x185)](_0x2ac917(0x170));return _0x2027d4[_0x2ac917(0x15f)]={'getSuggestion':async _0x287c02=>{const _0x22d039=_0x2ac917;await this[_0x22d039(0x18a)]();const _0x4162f5=await this[_0x22d039(0x159)][_0x22d039(0x185)](_0x287c02)[_0x22d039(0x152)](R);return await this[_0x22d039(0x17e)]([_0x4162f5]),_0x4162f5;},'addSuggestion':async({id:_0x2731cf,type:_0x163f3d,data:_0x4e7530,originalSuggestionId:_0x411881,attributes:_0x31ac47})=>{const _0x47d8a7=_0x2ac917;await this[_0x47d8a7(0x18a)]();const _0x1f7cc5={'id':_0x2731cf,'type':_0x163f3d,'data':_0x4e7530,'originalSuggestionId':_0x411881,'attributes':_0x31ac47},_0x22f6ca=await this[_0x47d8a7(0x159)][_0x47d8a7(0x184)](_0x2731cf,_0x163f3d,_0x4e7530,_0x411881,_0x31ac47)[_0x47d8a7(0x152)](_0x5d8369=>{if(U(_0x5d8369))return new Promise(_0x29d4f9=>{const _0x516a0a=_0x2b1b;this[_0x516a0a(0x169)][_0x516a0a(0x175)](_0x2731cf,{'resolve':_0x29d4f9,'suggestionData':_0x1f7cc5});});throw _0x5d8369;});return this[_0x47d8a7(0x169)][_0x47d8a7(0x15b)](_0x2731cf),_0x22f6ca;},'updateSuggestion':async(_0x13e07f,_0x43e9af)=>{const _0x30114d=_0x2ac917;if(await this[_0x30114d(0x18a)](),_0x30114d(0x167)!==_0x43e9af[_0x30114d(0x189)])return this[_0x30114d(0x159)][_0x30114d(0x160)](_0x13e07f,_0x43e9af)[_0x30114d(0x152)](R);}},this[_0x2ac917(0x14e)](this[_0x2ac917(0x159)],_0x2ac917(0x187),(_0x21f372,_0x392e52)=>{const _0xb01ae6=_0x2ac917;_0x2027d4[_0xb01ae6(0x162)](_0x392e52['id'])&&(_0x2027d4[_0xb01ae6(0x177)](_0x392e52['id'])[_0xb01ae6(0x156)]=_0x392e52[_0xb01ae6(0x156)]);}),this[_0x2ac917(0x159)][_0x2ac917(0x183)](_0x1dfb88[_0x2ac917(0x174)])[_0x2ac917(0x16b)](_0x47780e=>(_0x1dfb88[_0x2ac917(0x168)](this),this[_0x2ac917(0x17e)](_0x47780e)[_0x2ac917(0x16b)](()=>{const _0x53af77=_0x2ac917;for(const _0x3cbfe9 of _0x47780e){_0x2027d4[_0x53af77(0x188)](_0x3cbfe9)[_0x53af77(0x178)]=!0x0;}})));}async[_0x5ddcd3(0x186)](){const _0x341772=_0x5ddcd3,_0x12465a=this[_0x341772(0x182)][_0x341772(0x15d)][_0x341772(0x185)](_0x341772(0x170)),{connection:_0x33aea5}=this[_0x341772(0x182)][_0x341772(0x15d)][_0x341772(0x185)](_0x293f7a),_0x19432a=await this[_0x341772(0x159)][_0x341772(0x183)](_0x33aea5);await this[_0x341772(0x17e)](_0x19432a);for(const {suggestionData:_0x199193,resolve:_0x375140}of this[_0x341772(0x169)][_0x341772(0x164)]()){let _0x1c044f=_0x19432a[_0x341772(0x166)](_0x1e041b=>_0x1e041b['id']===_0x199193['id']);_0x1c044f||(_0x1c044f=await this[_0x341772(0x159)][_0x341772(0x184)](_0x199193['id'],_0x199193[_0x341772(0x154)],_0x199193[_0x341772(0x180)],_0x199193[_0x341772(0x155)])),_0x375140(_0x1c044f);}for(const _0x1b73d1 of _0x19432a)_0x12465a[_0x341772(0x162)](_0x1b73d1['id'])||_0x12465a[_0x341772(0x188)](_0x1b73d1);}async[_0x5ddcd3(0x18a)](){const _0x28624c=_0x5ddcd3;this[_0x28624c(0x159)][_0x28624c(0x17d)]||await new Promise(_0x55cdb3=>{const _0xb9d1c7=_0x28624c;this[_0xb9d1c7(0x14e)](this[_0xb9d1c7(0x159)],_0xb9d1c7(0x16c),_0x150d0f=>{const _0x554f46=_0xb9d1c7;_0x150d0f[_0x554f46(0x14f)](),_0x55cdb3();});});}async[_0x5ddcd3(0x17e)](_0x271522){const _0x30556f=_0x5ddcd3,_0x6dbbb6=this[_0x30556f(0x182)][_0x30556f(0x15d)][_0x30556f(0x185)](_0x1a108c),{connection:_0x4511c8}=this[_0x30556f(0x182)][_0x30556f(0x15d)][_0x30556f(0x185)](_0x293f7a),_0x3e89c3=new Set();for(const {authorId:_0x203e2e}of _0x271522)_0x6dbbb6[_0x30556f(0x16d)](_0x203e2e)||_0x3e89c3[_0x30556f(0x184)](_0x203e2e);if(0x0===_0x3e89c3[_0x30556f(0x171)])return;const _0x40107e=await _0x2d5a55[_0x30556f(0x18c)](_0x4511c8,Array[_0x30556f(0x17c)](_0x3e89c3));for(const _0x231d70 of _0x40107e)_0x6dbbb6[_0x30556f(0x16d)](_0x231d70['id'])||_0x6dbbb6[_0x30556f(0x153)](_0x231d70);}}export default f;function R(_0x57bff1){if(U(_0x57bff1))return new Promise(()=>{});throw _0x57bff1;}function _0x2b1b(_0x54d163,_0x4e5e1d){const _0x3fbe0c=_0x3fbe();return _0x2b1b=function(_0x2b1bc8,_0x247524){_0x2b1bc8=_0x2b1bc8-0x14e;let _0x3c1d7c=_0x3fbe0c[_0x2b1bc8];return _0x3c1d7c;},_0x2b1b(_0x54d163,_0x4e5e1d);}function U(_0x576239){const _0xbbeef=_0x5ddcd3;return _0x576239[_0xbbeef(0x181)][_0xbbeef(0x151)](_0xbbeef(0x15e))||_0x576239[_0xbbeef(0x181)][_0xbbeef(0x151)](_0xbbeef(0x173));}
|