@ckeditor/ckeditor5-real-time-collaboration 45.1.0-alpha.0 → 45.1.0-alpha.1
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 _0x1039e0=_0x56fa;(function(_0x3c7216,_0x545e43){const _0x2f2988=_0x56fa,_0x546a99=_0x3c7216();while(!![]){try{const _0x26df14=-parseInt(_0x2f2988(0x13d))/0x1*(parseInt(_0x2f2988(0x113))/0x2)+parseInt(_0x2f2988(0x147))/0x3*(-parseInt(_0x2f2988(0x117))/0x4)+parseInt(_0x2f2988(0x110))/0x5*(parseInt(_0x2f2988(0x136))/0x6)+parseInt(_0x2f2988(0x112))/0x7+-parseInt(_0x2f2988(0x11d))/0x8*(parseInt(_0x2f2988(0x10f))/0x9)+parseInt(_0x2f2988(0x12b))/0xa+-parseInt(_0x2f2988(0x127))/0xb;if(_0x26df14===_0x545e43)break;else _0x546a99['push'](_0x546a99['shift']());}catch(_0x5c7664){_0x546a99['push'](_0x546a99['shift']());}}}(_0x2787,0x9e0f6));import{Plugin as _0x5838c0}from'ckeditor5/src/core.js';import{User as _0x404614,TrackChangesService as _0x432da2}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x1dca34 from'../realtimecollaborativeediting/websocketgateway.js';import _0x3a01b9 from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x2a7e14}from'ckeditor5-collaboration/src/collaboration-core.js';class f extends _0x5838c0{static [_0x1039e0(0x131)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x432da2)());[_0x1039e0(0x146)];[_0x1039e0(0x115)];static get[_0x1039e0(0x123)](){const _0x26bbc4=_0x1039e0;return[_0x3a01b9,_0x26bbc4(0x12c),_0x1dca34];}static get[_0x1039e0(0x122)](){const _0x307904=_0x1039e0;return _0x307904(0x126);}static get[_0x1039e0(0x109)](){return!0x0;}static get[_0x1039e0(0x13f)](){return!0x0;}constructor(_0x1f619d){const _0x59585e=_0x1039e0;super(_0x1f619d);const _0x1b5c35=this[_0x59585e(0x13b)][_0x59585e(0x133)][_0x59585e(0x11c)](_0x59585e(0x12e));this[_0x59585e(0x146)]=new Map(),this[_0x59585e(0x115)]=new f[(_0x59585e(0x131))](_0x1b5c35);}[_0x1039e0(0x144)](){const _0x5741e3=_0x1039e0,_0x3c5f97=this[_0x5741e3(0x13b)][_0x5741e3(0x142)][_0x5741e3(0x11c)](_0x1dca34),_0x340e0c=this[_0x5741e3(0x13b)][_0x5741e3(0x142)][_0x5741e3(0x11c)](_0x5741e3(0x12c));return _0x340e0c[_0x5741e3(0x137)]={'getSuggestion':async _0x4d940c=>{const _0x1c2864=_0x5741e3;await this[_0x1c2864(0x138)]();const _0x1e5d0b=await this[_0x1c2864(0x115)][_0x1c2864(0x11c)](_0x4d940c)[_0x1c2864(0x132)](R);return await this[_0x1c2864(0x13c)]([_0x1e5d0b]),_0x1e5d0b;},'addSuggestion':async({id:_0x5a0c4b,type:_0x368362,data:_0x12875c,originalSuggestionId:_0x45661b,attributes:_0x8ec622})=>{const _0x4126bb=_0x5741e3;await this[_0x4126bb(0x138)]();const _0xc0f7ba={'id':_0x5a0c4b,'type':_0x368362,'data':_0x12875c,'originalSuggestionId':_0x45661b,'attributes':_0x8ec622},_0x136288=await this[_0x4126bb(0x115)][_0x4126bb(0x10d)](_0x5a0c4b,_0x368362,_0x12875c,_0x45661b,_0x8ec622)[_0x4126bb(0x132)](_0x261055=>{if(st(_0x261055))return new Promise(_0xe4221c=>{const _0x1d9be4=_0x56fa;this[_0x1d9be4(0x146)][_0x1d9be4(0x11f)](_0x5a0c4b,{'resolve':_0xe4221c,'suggestionData':_0xc0f7ba});});throw _0x261055;});return this[_0x4126bb(0x146)][_0x4126bb(0x10a)](_0x5a0c4b),_0x136288;},'updateSuggestion':async(_0x11d636,_0x51aa7d)=>{const _0x2fc61b=_0x5741e3;if(await this[_0x2fc61b(0x138)](),_0x2fc61b(0x139)!==_0x51aa7d[_0x2fc61b(0x10c)])return this[_0x2fc61b(0x115)][_0x2fc61b(0x130)](_0x11d636,_0x51aa7d)[_0x2fc61b(0x132)](R);}},this[_0x5741e3(0x141)](this[_0x5741e3(0x115)],_0x5741e3(0x128),(_0x2dab8f,_0x167451)=>{const _0x26135d=_0x5741e3;_0x340e0c[_0x26135d(0x124)](_0x167451['id'])&&(_0x340e0c[_0x26135d(0x125)](_0x167451['id'])[_0x26135d(0x118)]=_0x167451[_0x26135d(0x118)]);}),this[_0x5741e3(0x115)][_0x5741e3(0x129)](_0x3c5f97[_0x5741e3(0x11a)])[_0x5741e3(0x13e)](_0x33a4e2=>(_0x3c5f97[_0x5741e3(0x11b)](this),this[_0x5741e3(0x13c)](_0x33a4e2)[_0x5741e3(0x13e)](()=>{const _0xefd8e3=_0x5741e3;for(const _0xb0d581 of _0x33a4e2){_0x340e0c[_0xefd8e3(0x140)](_0xb0d581)[_0xefd8e3(0x145)]=!0x0;}})));}async[_0x1039e0(0x135)](){const _0x37b1ab=_0x1039e0,_0x4d64a8=this[_0x37b1ab(0x13b)][_0x37b1ab(0x142)][_0x37b1ab(0x11c)](_0x37b1ab(0x12c)),{connection:_0x783bbd}=this[_0x37b1ab(0x13b)][_0x37b1ab(0x142)][_0x37b1ab(0x11c)](_0x1dca34),_0x13c9df=await this[_0x37b1ab(0x115)][_0x37b1ab(0x129)](_0x783bbd);await this[_0x37b1ab(0x13c)](_0x13c9df);for(const {suggestionData:_0x566fb4,resolve:_0x46d744}of this[_0x37b1ab(0x146)][_0x37b1ab(0x12f)]()){let _0x935f35=_0x13c9df[_0x37b1ab(0x13a)](_0x37c728=>_0x37c728['id']===_0x566fb4['id']);_0x935f35||(_0x935f35=await this[_0x37b1ab(0x115)][_0x37b1ab(0x10d)](_0x566fb4['id'],_0x566fb4[_0x37b1ab(0x121)],_0x566fb4[_0x37b1ab(0x120)],_0x566fb4[_0x37b1ab(0x10b)])),_0x46d744(_0x935f35);}for(const _0x33f199 of _0x13c9df)_0x4d64a8[_0x37b1ab(0x124)](_0x33f199['id'])||_0x4d64a8[_0x37b1ab(0x140)](_0x33f199);}async[_0x1039e0(0x138)](){const _0x45cdd8=_0x1039e0;this[_0x45cdd8(0x115)][_0x45cdd8(0x108)]||await new Promise(_0x7fc256=>{const _0x5a2b33=_0x45cdd8;this[_0x5a2b33(0x141)](this[_0x5a2b33(0x115)],_0x5a2b33(0x12d),_0x5aa65f=>{const _0x43649f=_0x5a2b33;_0x5aa65f[_0x43649f(0x148)](),_0x7fc256();});});}async[_0x1039e0(0x13c)](_0xe2c365){const _0x418256=_0x1039e0,_0x3c2855=this[_0x418256(0x13b)][_0x418256(0x142)][_0x418256(0x11c)](_0x2a7e14),{connection:_0x41934c}=this[_0x418256(0x13b)][_0x418256(0x142)][_0x418256(0x11c)](_0x1dca34),_0x190868=new Set();for(const {authorId:_0x22aa77}of _0xe2c365)_0x3c2855[_0x418256(0x10e)](_0x22aa77)||_0x190868[_0x418256(0x10d)](_0x22aa77);if(0x0===_0x190868[_0x418256(0x134)])return;const _0x5537f6=await _0x404614[_0x418256(0x11e)](_0x41934c,Array[_0x418256(0x119)](_0x190868));for(const _0x3aafdd of _0x5537f6)_0x3c2855[_0x418256(0x10e)](_0x3aafdd['id'])||_0x3c2855[_0x418256(0x114)](_0x3aafdd);}}export default f;function _0x2787(){const _0x4e00b5=['size','reconnect','6IoavwB','adapter','_waitForServiceReady','open','find','editor','_fetchMissingUsersForThreads','1SPkGRW','then','isPremiumPlugin','addSuggestionData','listenTo','plugins','cloud-services-internal-error:\x20Request\x20timeout.','init','_saved','_bufferedRequests','24TFAeeM','off','isConnected','isOfficialPlugin','delete','originalSuggestionId','state','add','getUser','950958sKmufY','3110730dYgxQI','startsWith','7749378RWSptp','415652vtrFWC','addUser','_trackChangesService','cloud-services-internal-error:\x20Not\x20connected.','135628cbXFcS','attributes','from','connection','addToReconnectionStack','get','48KlRxKQ','getMany','set','data','type','pluginName','requires','hasSuggestion','getSuggestion','CloudServicesTrackChangesAdapter','6119982pcAmqn','suggestionUpdated','connect','message','5876300buJUBa','TrackChangesEditing','connected','collaboration.channelId','values','update','TrackChangesService','catch','config'];_0x2787=function(){return _0x4e00b5;};return _0x2787();}function R(_0x3bdc7e){if(st(_0x3bdc7e))return new Promise(()=>{});throw _0x3bdc7e;}function _0x56fa(_0x332453,_0x2ef67f){const _0x278753=_0x2787();return _0x56fa=function(_0x56fab9,_0x14b2bf){_0x56fab9=_0x56fab9-0x108;let _0x4a20f0=_0x278753[_0x56fab9];return _0x4a20f0;},_0x56fa(_0x332453,_0x2ef67f);}function st(_0x7e5bb1){const _0x14449a=_0x1039e0;return _0x7e5bb1[_0x14449a(0x12a)][_0x14449a(0x111)](_0x14449a(0x116))||_0x7e5bb1[_0x14449a(0x12a)][_0x14449a(0x111)](_0x14449a(0x143));}
|