@ckeditor/ckeditor5-real-time-collaboration 46.0.1-alpha.2 → 46.0.1-alpha.4
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/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.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 _0x514acd=_0x3d6a;(function(_0x3144e3,_0x3ec5c2){const _0x35041b=_0x3d6a,_0x2ba013=_0x3144e3();while(!![]){try{const _0x3e90ce=-parseInt(_0x35041b(0x165))/0x1*(-parseInt(_0x35041b(0x186))/0x2)+parseInt(_0x35041b(0x169))/0x3*(parseInt(_0x35041b(0x185))/0x4)+-parseInt(_0x35041b(0x160))/0x5*(-parseInt(_0x35041b(0x194))/0x6)+parseInt(_0x35041b(0x16f))/0x7+-parseInt(_0x35041b(0x174))/0x8*(-parseInt(_0x35041b(0x18f))/0x9)+-parseInt(_0x35041b(0x189))/0xa*(parseInt(_0x35041b(0x179))/0xb)+-parseInt(_0x35041b(0x193))/0xc;if(_0x3e90ce===_0x3ec5c2)break;else _0x2ba013['push'](_0x2ba013['shift']());}catch(_0xd9cc6b){_0x2ba013['push'](_0x2ba013['shift']());}}}(_0x12b3,0x465d3));import{Plugin as _0x236088}from'ckeditor5/src/core.js';function _0x12b3(){const _0x51d372=['addSuggestionData','data','70820ZIlwqC','update','cloud-services-internal-error:\x20Not\x20connected.','requires','TrackChangesEditing','set','841401lSvNoE','then','size','plugins','9374820zuTSJK','1476ZZjdJY','state','getMany','hasSuggestion','connected','adapter','addToReconnectionStack','getUser','message','originalSuggestionId','CloudServicesTrackChangesAdapter','isPremiumPlugin','_trackChangesService','cloud-services-internal-error:\x20Request\x20timeout.','9615CdGXia','get','TrackChangesService','collaboration.channelId','_saved','28KGboeB','startsWith','pluginName','_waitForServiceReady','3PwDEvX','isConnected','listenTo','type','from','catch','1426327JTnnka','off','add','getSuggestion','attributes','8gKQiug','_bufferedRequests','open','connect','editor','418aAxmJn','isOfficialPlugin','addUser','connection','init','config','reconnect','find','suggestionUpdated','_fetchMissingUsersForThreads','delete','values','1580968FbBOha','12358nfIukR'];_0x12b3=function(){return _0x51d372;};return _0x12b3();}function _0x3d6a(_0x1f75b7,_0x345c93){const _0x12b348=_0x12b3();return _0x3d6a=function(_0x3d6ad5,_0x367328){_0x3d6ad5=_0x3d6ad5-0x155;let _0x3ee292=_0x12b348[_0x3d6ad5];return _0x3ee292;},_0x3d6a(_0x1f75b7,_0x345c93);}import{User as _0x3350b4,TrackChangesService as _0x1636b8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x5d73d0}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x511642}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x14cb53}from'ckeditor5-collaboration/src/collaboration-core.js';class m extends _0x236088{static [_0x514acd(0x162)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x1636b8)());[_0x514acd(0x175)];[_0x514acd(0x15e)];static get[_0x514acd(0x18c)](){const _0x457550=_0x514acd;return[_0x511642,_0x457550(0x18d),_0x5d73d0];}static get[_0x514acd(0x167)](){const _0x4990fb=_0x514acd;return _0x4990fb(0x15c);}static get[_0x514acd(0x17a)](){return!0x0;}static get[_0x514acd(0x15d)](){return!0x0;}constructor(_0x1d5fd1){const _0x4507b9=_0x514acd;super(_0x1d5fd1);const _0x5378f6=this[_0x4507b9(0x178)][_0x4507b9(0x17e)][_0x4507b9(0x161)](_0x4507b9(0x163));this[_0x4507b9(0x175)]=new Map(),this[_0x4507b9(0x15e)]=new m[(_0x4507b9(0x162))](_0x5378f6);}[_0x514acd(0x17d)](){const _0xdccaae=_0x514acd,_0x294c6b=this[_0xdccaae(0x178)][_0xdccaae(0x192)][_0xdccaae(0x161)](_0x5d73d0),_0xa6c6ad=this[_0xdccaae(0x178)][_0xdccaae(0x192)][_0xdccaae(0x161)](_0xdccaae(0x18d));return _0xa6c6ad[_0xdccaae(0x157)]={'getSuggestion':async _0x57a446=>{const _0x31ef01=_0xdccaae;await this[_0x31ef01(0x168)]();const _0x54d367=await this[_0x31ef01(0x15e)][_0x31ef01(0x161)](_0x57a446)[_0x31ef01(0x16e)](B);return await this[_0x31ef01(0x182)]([_0x54d367]),_0x54d367;},'addSuggestion':async({id:_0x596acf,type:_0x49f77e,data:_0x4eede0,originalSuggestionId:_0x3ca69e,attributes:_0x1de694})=>{const _0x371650=_0xdccaae;await this[_0x371650(0x168)]();const _0x3654b5={'id':_0x596acf,'type':_0x49f77e,'data':_0x4eede0,'originalSuggestionId':_0x3ca69e,'attributes':_0x1de694},_0x4b3c6f=await this[_0x371650(0x15e)][_0x371650(0x171)](_0x596acf,_0x49f77e,_0x4eede0,_0x3ca69e,_0x1de694)[_0x371650(0x16e)](_0x5a419a=>{if(P(_0x5a419a))return new Promise(_0x32e692=>{const _0x5944d9=_0x3d6a;this[_0x5944d9(0x175)][_0x5944d9(0x18e)](_0x596acf,{'resolve':_0x32e692,'suggestionData':_0x3654b5});});throw _0x5a419a;});return this[_0x371650(0x175)][_0x371650(0x183)](_0x596acf),_0x4b3c6f;},'updateSuggestion':async(_0x32acac,_0x57a3b8)=>{const _0x43b4a3=_0xdccaae;if(await this[_0x43b4a3(0x168)](),_0x43b4a3(0x176)!==_0x57a3b8[_0x43b4a3(0x195)])return this[_0x43b4a3(0x15e)][_0x43b4a3(0x18a)](_0x32acac,_0x57a3b8)[_0x43b4a3(0x16e)](B);}},this[_0xdccaae(0x16b)](this[_0xdccaae(0x15e)],_0xdccaae(0x181),(_0xdb5d24,_0x1d7906)=>{const _0x5007fd=_0xdccaae;_0xa6c6ad[_0x5007fd(0x155)](_0x1d7906['id'])&&(_0xa6c6ad[_0x5007fd(0x172)](_0x1d7906['id'])[_0x5007fd(0x173)]=_0x1d7906[_0x5007fd(0x173)]);}),this[_0xdccaae(0x15e)][_0xdccaae(0x177)](_0x294c6b[_0xdccaae(0x17c)])[_0xdccaae(0x190)](_0x348e42=>(_0x294c6b[_0xdccaae(0x158)](this),this[_0xdccaae(0x182)](_0x348e42)[_0xdccaae(0x190)](()=>{const _0x31cc62=_0xdccaae;for(const _0x462d05 of _0x348e42){_0xa6c6ad[_0x31cc62(0x187)](_0x462d05)[_0x31cc62(0x164)]=!0x0;}})));}async[_0x514acd(0x17f)](){const _0x322c98=_0x514acd,_0x451ce8=this[_0x322c98(0x178)][_0x322c98(0x192)][_0x322c98(0x161)](_0x322c98(0x18d)),{connection:_0x5b933c}=this[_0x322c98(0x178)][_0x322c98(0x192)][_0x322c98(0x161)](_0x5d73d0),_0x5a038d=await this[_0x322c98(0x15e)][_0x322c98(0x177)](_0x5b933c);await this[_0x322c98(0x182)](_0x5a038d);for(const {suggestionData:_0xc652ff,resolve:_0x5ea92a}of this[_0x322c98(0x175)][_0x322c98(0x184)]()){let _0x2291e2=_0x5a038d[_0x322c98(0x180)](_0x136f55=>_0x136f55['id']===_0xc652ff['id']);_0x2291e2||(_0x2291e2=await this[_0x322c98(0x15e)][_0x322c98(0x171)](_0xc652ff['id'],_0xc652ff[_0x322c98(0x16c)],_0xc652ff[_0x322c98(0x188)],_0xc652ff[_0x322c98(0x15b)])),_0x5ea92a(_0x2291e2);}for(const _0x6e5c12 of _0x5a038d)_0x451ce8[_0x322c98(0x155)](_0x6e5c12['id'])||_0x451ce8[_0x322c98(0x187)](_0x6e5c12);}async[_0x514acd(0x168)](){const _0x5fd040=_0x514acd;this[_0x5fd040(0x15e)][_0x5fd040(0x16a)]||await new Promise(_0x506d2d=>{const _0x3ff857=_0x5fd040;this[_0x3ff857(0x16b)](this[_0x3ff857(0x15e)],_0x3ff857(0x156),_0x34ecc8=>{const _0x53c31d=_0x3ff857;_0x34ecc8[_0x53c31d(0x170)](),_0x506d2d();});});}async[_0x514acd(0x182)](_0x44ab97){const _0xb8f153=_0x514acd,_0x2b0b2b=this[_0xb8f153(0x178)][_0xb8f153(0x192)][_0xb8f153(0x161)](_0x14cb53),{connection:_0x394dfb}=this[_0xb8f153(0x178)][_0xb8f153(0x192)][_0xb8f153(0x161)](_0x5d73d0),_0x4bfcb9=new Set();for(const {authorId:_0x7830df}of _0x44ab97)_0x2b0b2b[_0xb8f153(0x159)](_0x7830df)||_0x4bfcb9[_0xb8f153(0x171)](_0x7830df);if(0x0===_0x4bfcb9[_0xb8f153(0x191)])return;const _0x8921f=await _0x3350b4[_0xb8f153(0x196)](_0x394dfb,Array[_0xb8f153(0x16d)](_0x4bfcb9));for(const _0x52b55d of _0x8921f)_0x2b0b2b[_0xb8f153(0x159)](_0x52b55d['id'])||_0x2b0b2b[_0xb8f153(0x17b)](_0x52b55d);}}export{m as CloudServicesTrackChangesAdapter};function B(_0x2346dc){if(P(_0x2346dc))return new Promise(()=>{});throw _0x2346dc;}function P(_0x312b6a){const _0x4c2d07=_0x514acd;return _0x312b6a[_0x4c2d07(0x15a)][_0x4c2d07(0x166)](_0x4c2d07(0x18b))||_0x312b6a[_0x4c2d07(0x15a)][_0x4c2d07(0x166)](_0x4c2d07(0x15f));}
|