@ckeditor/ckeditor5-real-time-collaboration 43.1.0-alpha.3 → 43.1.0-alpha.5
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 +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
|
-
|
|
23
|
+
function _0x1287(){const _0x2fce4f=['suggestionUpdated','55992LrjGjx','TrackChangesEditing','getSuggestion','plugins','size','63stNeNt','getMany','3VQLYkY','adapter','open','update','244405VdCKmr','hasSuggestion','message','addSuggestionData','from','4894jAFunS','find','off','data','getUser','listenTo','_bufferedRequests','_trackChangesService','connected','TrackChangesService','requires','config','collaboration.channelId','51980MGgZLi','add','836408HXaLOb','set','cloud-services-internal-error:\x20Not\x20connected.','originalSuggestionId','isConnected','get','connection','reconnect','init','values','_waitForServiceReady','delete','catch','state','addToReconnectionStack','addUser','_saved','editor','225krmuTX','cloud-services-internal-error:\x20Request\x20timeout.','_fetchMissingUsersForThreads','startsWith','10734pBVDtJ','type','116456qfwtDi','connect','attributes','then'];_0x1287=function(){return _0x2fce4f;};return _0x1287();}function _0x4d13(_0x162af2,_0x5dd8e6){const _0x12876d=_0x1287();return _0x4d13=function(_0x4d1354,_0x4c0d7e){_0x4d1354=_0x4d1354-0xb2;let _0x15c52f=_0x12876d[_0x4d1354];return _0x15c52f;},_0x4d13(_0x162af2,_0x5dd8e6);}const _0x464ff0=_0x4d13;(function(_0x22dd60,_0x2ebd2a){const _0x5f2d2=_0x4d13,_0x11ef1f=_0x22dd60();while(!![]){try{const _0x1b511b=parseInt(_0x5f2d2(0xb5))/0x1+parseInt(_0x5f2d2(0xc5))/0x2+parseInt(_0x5f2d2(0xbc))/0x3*(-parseInt(_0x5f2d2(0xd4))/0x4)+-parseInt(_0x5f2d2(0xc0))/0x5+parseInt(_0x5f2d2(0xea))/0x6*(parseInt(_0x5f2d2(0xba))/0x7)+parseInt(_0x5f2d2(0xec))/0x8*(parseInt(_0x5f2d2(0xe6))/0x9)+parseInt(_0x5f2d2(0xd2))/0xa;if(_0x1b511b===_0x2ebd2a)break;else _0x11ef1f['push'](_0x11ef1f['shift']());}catch(_0xc1725c){_0x11ef1f['push'](_0x11ef1f['shift']());}}}(_0x1287,0x2d550));import{Plugin as _0x33820a}from'ckeditor5/src/core.js';import{User as _0x49caae,TrackChangesService as _0x1379b9}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x2eed89 from'../realtimecollaborativeediting/websocketgateway.js';import _0x1f6799 from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x2e6517}from'ckeditor5-collaboration/src/collaboration-core.js';class g extends _0x33820a{static get[_0x464ff0(0xcf)](){const _0x274d19=_0x464ff0;return[_0x1f6799,_0x274d19(0xb6),_0x2eed89];}constructor(_0x5f33fe){const _0x1ae8cf=_0x464ff0;super(_0x5f33fe);const _0x2156c8=this[_0x1ae8cf(0xe5)][_0x1ae8cf(0xd0)][_0x1ae8cf(0xd9)](_0x1ae8cf(0xd1));this[_0x1ae8cf(0xcb)]=new Map(),this[_0x1ae8cf(0xcc)]=new g[(_0x1ae8cf(0xce))](_0x2156c8);}[_0x464ff0(0xdc)](){const _0x3fd15a=_0x464ff0,_0x13e2cb=this[_0x3fd15a(0xe5)][_0x3fd15a(0xb8)][_0x3fd15a(0xd9)](_0x2eed89),_0x4708cd=this[_0x3fd15a(0xe5)][_0x3fd15a(0xb8)][_0x3fd15a(0xd9)](_0x3fd15a(0xb6));return _0x4708cd[_0x3fd15a(0xbd)]={'getSuggestion':async _0x81d725=>{const _0x3630e1=_0x3fd15a;await this[_0x3630e1(0xde)]();const _0x510447=await this[_0x3630e1(0xcc)][_0x3630e1(0xd9)](_0x81d725)[_0x3630e1(0xe0)](R);return await this[_0x3630e1(0xe8)]([_0x510447]),_0x510447;},'addSuggestion':async({id:_0x28dd13,type:_0x3f2fa4,data:_0x57b1ff,originalSuggestionId:_0x532f9d,attributes:_0x1de40d})=>{const _0x4be25b=_0x3fd15a;await this[_0x4be25b(0xde)]();const _0x5fbc78={'id':_0x28dd13,'type':_0x3f2fa4,'data':_0x57b1ff,'originalSuggestionId':_0x532f9d,'attributes':_0x1de40d},_0x2ce4c4=await this[_0x4be25b(0xcc)][_0x4be25b(0xd3)](_0x28dd13,_0x3f2fa4,_0x57b1ff,_0x532f9d,_0x1de40d)[_0x4be25b(0xe0)](_0x5ad9bf=>{if(P(_0x5ad9bf))return new Promise(_0x304c99=>{const _0x864b8f=_0x4d13;this[_0x864b8f(0xcb)][_0x864b8f(0xd5)](_0x28dd13,{'resolve':_0x304c99,'suggestionData':_0x5fbc78});});throw _0x5ad9bf;});return this[_0x4be25b(0xcb)][_0x4be25b(0xdf)](_0x28dd13),_0x2ce4c4;},'updateSuggestion':async(_0x33b580,_0x4a1b79)=>{const _0x16fd2e=_0x3fd15a;if(await this[_0x16fd2e(0xde)](),_0x16fd2e(0xbe)!==_0x4a1b79[_0x16fd2e(0xe1)])return this[_0x16fd2e(0xcc)][_0x16fd2e(0xbf)](_0x33b580,_0x4a1b79)[_0x16fd2e(0xe0)](R);}},this[_0x3fd15a(0xca)](this[_0x3fd15a(0xcc)],_0x3fd15a(0xb4),(_0x59d190,_0x144395)=>{const _0x300802=_0x3fd15a;_0x4708cd[_0x300802(0xc1)](_0x144395['id'])&&(_0x4708cd[_0x300802(0xb7)](_0x144395['id'])[_0x300802(0xb2)]=_0x144395[_0x300802(0xb2)]);}),this[_0x3fd15a(0xcc)][_0x3fd15a(0xed)](_0x13e2cb[_0x3fd15a(0xda)])[_0x3fd15a(0xb3)](_0xe13693=>(_0x13e2cb[_0x3fd15a(0xe2)](this),this[_0x3fd15a(0xe8)](_0xe13693)[_0x3fd15a(0xb3)](()=>{const _0x2a6057=_0x3fd15a;for(const _0x287d0d of _0xe13693){_0x4708cd[_0x2a6057(0xc3)](_0x287d0d)[_0x2a6057(0xe4)]=!0x0;}})));}async[_0x464ff0(0xdb)](){const _0x2122ed=_0x464ff0,_0x54cbef=this[_0x2122ed(0xe5)][_0x2122ed(0xb8)][_0x2122ed(0xd9)](_0x2122ed(0xb6)),{connection:_0x5a19e1}=this[_0x2122ed(0xe5)][_0x2122ed(0xb8)][_0x2122ed(0xd9)](_0x2eed89),_0x33475f=await this[_0x2122ed(0xcc)][_0x2122ed(0xed)](_0x5a19e1);await this[_0x2122ed(0xe8)](_0x33475f);for(const {suggestionData:_0x48a00c,resolve:_0x406721}of this[_0x2122ed(0xcb)][_0x2122ed(0xdd)]()){let _0x1cea3a=_0x33475f[_0x2122ed(0xc6)](_0x48760b=>_0x48760b['id']===_0x48a00c['id']);_0x1cea3a||(_0x1cea3a=await this[_0x2122ed(0xcc)][_0x2122ed(0xd3)](_0x48a00c['id'],_0x48a00c[_0x2122ed(0xeb)],_0x48a00c[_0x2122ed(0xc8)],_0x48a00c[_0x2122ed(0xd7)])),_0x406721(_0x1cea3a);}for(const _0x2df1f4 of _0x33475f)_0x54cbef[_0x2122ed(0xc1)](_0x2df1f4['id'])||_0x54cbef[_0x2122ed(0xc3)](_0x2df1f4);}async[_0x464ff0(0xde)](){const _0x52d211=_0x464ff0;this[_0x52d211(0xcc)][_0x52d211(0xd8)]||await new Promise(_0x2c2b7b=>{const _0xc9b483=_0x52d211;this[_0xc9b483(0xca)](this[_0xc9b483(0xcc)],_0xc9b483(0xcd),_0x5f1659=>{const _0xe093ae=_0xc9b483;_0x5f1659[_0xe093ae(0xc7)](),_0x2c2b7b();});});}async[_0x464ff0(0xe8)](_0x3923a7){const _0x27cb53=_0x464ff0,_0x5dbe81=this[_0x27cb53(0xe5)][_0x27cb53(0xb8)][_0x27cb53(0xd9)](_0x2e6517),{connection:_0xe08773}=this[_0x27cb53(0xe5)][_0x27cb53(0xb8)][_0x27cb53(0xd9)](_0x2eed89),_0x4c1932=new Set();for(const {authorId:_0xb3ec9c}of _0x3923a7)_0x5dbe81[_0x27cb53(0xc9)](_0xb3ec9c)||_0x4c1932[_0x27cb53(0xd3)](_0xb3ec9c);if(0x0===_0x4c1932[_0x27cb53(0xb9)])return;const _0x3999a8=await _0x49caae[_0x27cb53(0xbb)](_0xe08773,Array[_0x27cb53(0xc4)](_0x4c1932));for(const _0x42ddaa of _0x3999a8)_0x5dbe81[_0x27cb53(0xc9)](_0x42ddaa['id'])||_0x5dbe81[_0x27cb53(0xe3)](_0x42ddaa);}}g[_0x464ff0(0xce)]=_0x1379b9;export default g;function R(_0x14a943){if(P(_0x14a943))return new Promise(()=>{});throw _0x14a943;}function P(_0x4163ca){const _0x3caa95=_0x464ff0;return _0x4163ca[_0x3caa95(0xc2)][_0x3caa95(0xe9)](_0x3caa95(0xd6))||_0x4163ca[_0x3caa95(0xc2)][_0x3caa95(0xe9)](_0x3caa95(0xe7));}
|