@ckeditor/ckeditor5-real-time-collaboration 46.0.1-alpha.0 → 46.0.1-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/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 +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 _0x49bb0b=_0xb673;(function(_0x225f9f,_0x88b1da){const _0xc6b6c5=_0xb673,_0x130ee0=_0x225f9f();while(!![]){try{const _0x4dbede=-parseInt(_0xc6b6c5(0x156))/0x1*(parseInt(_0xc6b6c5(0x162))/0x2)+parseInt(_0xc6b6c5(0x151))/0x3+parseInt(_0xc6b6c5(0x160))/0x4*(parseInt(_0xc6b6c5(0x13c))/0x5)+parseInt(_0xc6b6c5(0x152))/0x6+-parseInt(_0xc6b6c5(0x153))/0x7*(parseInt(_0xc6b6c5(0x126))/0x8)+parseInt(_0xc6b6c5(0x147))/0x9*(-parseInt(_0xc6b6c5(0x12d))/0xa)+parseInt(_0xc6b6c5(0x13b))/0xb;if(_0x4dbede===_0x88b1da)break;else _0x130ee0['push'](_0x130ee0['shift']());}catch(_0x3753e3){_0x130ee0['push'](_0x130ee0['shift']());}}}(_0x48f3,0x6d9e2));import{Plugin as _0x139a24}from'ckeditor5/src/core.js';import{User as _0x5160d2,TrackChangesService as _0x3cd4b8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x48f3(){const _0x170c22=['message','_saved','state','add','4488QbEgkF','cloud-services-internal-error:\x20Request\x20timeout.','hasSuggestion','values','CloudServicesTrackChangesAdapter','reconnect','adapter','175090oOrKPy','originalSuggestionId','_bufferedRequests','find','open','config','isConnected','connection','attributes','size','off','init','getUser','connected','3858888uooEvZ','15ZztPlT','suggestionUpdated','delete','_fetchMissingUsersForThreads','pluginName','connect','editor','then','cloud-services-internal-error:\x20Not\x20connected.','from','addSuggestionData','225FfGfJQ','isPremiumPlugin','set','catch','TrackChangesEditing','collaboration.channelId','getMany','listenTo','isOfficialPlugin','update','1179651vtBPHJ','3509880DPtbUz','9989Fxfzen','getSuggestion','data','39478hyWaDD','requires','plugins','_waitForServiceReady','_trackChangesService','startsWith','addUser','addToReconnectionStack','TrackChangesService','get','740868WWleQV','type','10uJgumE'];_0x48f3=function(){return _0x170c22;};return _0x48f3();}import{WebSocketGateway as _0x5061b}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x1a59e6}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x1c4e5d}from'ckeditor5-collaboration/src/collaboration-core.js';class m extends _0x139a24{static [_0x49bb0b(0x15e)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x3cd4b8)());[_0x49bb0b(0x12f)];[_0x49bb0b(0x15a)];static get[_0x49bb0b(0x157)](){const _0x17d725=_0x49bb0b;return[_0x1a59e6,_0x17d725(0x14b),_0x5061b];}static get[_0x49bb0b(0x140)](){const _0x591a8f=_0x49bb0b;return _0x591a8f(0x12a);}static get[_0x49bb0b(0x14f)](){return!0x0;}static get[_0x49bb0b(0x148)](){return!0x0;}constructor(_0x24da27){const _0x561b90=_0x49bb0b;super(_0x24da27);const _0x185bb4=this[_0x561b90(0x142)][_0x561b90(0x132)][_0x561b90(0x15f)](_0x561b90(0x14c));this[_0x561b90(0x12f)]=new Map(),this[_0x561b90(0x15a)]=new m[(_0x561b90(0x15e))](_0x185bb4);}[_0x49bb0b(0x138)](){const _0x3d0cd0=_0x49bb0b,_0x4e542e=this[_0x3d0cd0(0x142)][_0x3d0cd0(0x158)][_0x3d0cd0(0x15f)](_0x5061b),_0x2f636c=this[_0x3d0cd0(0x142)][_0x3d0cd0(0x158)][_0x3d0cd0(0x15f)](_0x3d0cd0(0x14b));return _0x2f636c[_0x3d0cd0(0x12c)]={'getSuggestion':async _0x1fafdf=>{const _0x13eec3=_0x3d0cd0;await this[_0x13eec3(0x159)]();const _0x150bad=await this[_0x13eec3(0x15a)][_0x13eec3(0x15f)](_0x1fafdf)[_0x13eec3(0x14a)](A);return await this[_0x13eec3(0x13f)]([_0x150bad]),_0x150bad;},'addSuggestion':async({id:_0x27116d,type:_0x54965f,data:_0x3471ff,originalSuggestionId:_0x2a604f,attributes:_0x2da45b})=>{const _0x3afc6d=_0x3d0cd0;await this[_0x3afc6d(0x159)]();const _0x363d93={'id':_0x27116d,'type':_0x54965f,'data':_0x3471ff,'originalSuggestionId':_0x2a604f,'attributes':_0x2da45b},_0x580c43=await this[_0x3afc6d(0x15a)][_0x3afc6d(0x125)](_0x27116d,_0x54965f,_0x3471ff,_0x2a604f,_0x2da45b)[_0x3afc6d(0x14a)](_0x45ac82=>{if(M(_0x45ac82))return new Promise(_0x1b5e13=>{const _0x3d1694=_0xb673;this[_0x3d1694(0x12f)][_0x3d1694(0x149)](_0x27116d,{'resolve':_0x1b5e13,'suggestionData':_0x363d93});});throw _0x45ac82;});return this[_0x3afc6d(0x12f)][_0x3afc6d(0x13e)](_0x27116d),_0x580c43;},'updateSuggestion':async(_0x53efcc,_0x417f49)=>{const _0x1c7b27=_0x3d0cd0;if(await this[_0x1c7b27(0x159)](),_0x1c7b27(0x131)!==_0x417f49[_0x1c7b27(0x124)])return this[_0x1c7b27(0x15a)][_0x1c7b27(0x150)](_0x53efcc,_0x417f49)[_0x1c7b27(0x14a)](A);}},this[_0x3d0cd0(0x14e)](this[_0x3d0cd0(0x15a)],_0x3d0cd0(0x13d),(_0xde1373,_0x1b18f9)=>{const _0x5a777c=_0x3d0cd0;_0x2f636c[_0x5a777c(0x128)](_0x1b18f9['id'])&&(_0x2f636c[_0x5a777c(0x154)](_0x1b18f9['id'])[_0x5a777c(0x135)]=_0x1b18f9[_0x5a777c(0x135)]);}),this[_0x3d0cd0(0x15a)][_0x3d0cd0(0x141)](_0x4e542e[_0x3d0cd0(0x134)])[_0x3d0cd0(0x143)](_0x2d9a31=>(_0x4e542e[_0x3d0cd0(0x15d)](this),this[_0x3d0cd0(0x13f)](_0x2d9a31)[_0x3d0cd0(0x143)](()=>{const _0x5e817a=_0x3d0cd0;for(const _0x5e207d of _0x2d9a31){_0x2f636c[_0x5e817a(0x146)](_0x5e207d)[_0x5e817a(0x123)]=!0x0;}})));}async[_0x49bb0b(0x12b)](){const _0x654392=_0x49bb0b,_0x2fe284=this[_0x654392(0x142)][_0x654392(0x158)][_0x654392(0x15f)](_0x654392(0x14b)),{connection:_0x460fb4}=this[_0x654392(0x142)][_0x654392(0x158)][_0x654392(0x15f)](_0x5061b),_0x4c5e6a=await this[_0x654392(0x15a)][_0x654392(0x141)](_0x460fb4);await this[_0x654392(0x13f)](_0x4c5e6a);for(const {suggestionData:_0x5ace07,resolve:_0x48bf48}of this[_0x654392(0x12f)][_0x654392(0x129)]()){let _0x1d5887=_0x4c5e6a[_0x654392(0x130)](_0x343ed4=>_0x343ed4['id']===_0x5ace07['id']);_0x1d5887||(_0x1d5887=await this[_0x654392(0x15a)][_0x654392(0x125)](_0x5ace07['id'],_0x5ace07[_0x654392(0x161)],_0x5ace07[_0x654392(0x155)],_0x5ace07[_0x654392(0x12e)])),_0x48bf48(_0x1d5887);}for(const _0x5248ac of _0x4c5e6a)_0x2fe284[_0x654392(0x128)](_0x5248ac['id'])||_0x2fe284[_0x654392(0x146)](_0x5248ac);}async[_0x49bb0b(0x159)](){const _0x55c711=_0x49bb0b;this[_0x55c711(0x15a)][_0x55c711(0x133)]||await new Promise(_0x227e68=>{const _0x32f014=_0x55c711;this[_0x32f014(0x14e)](this[_0x32f014(0x15a)],_0x32f014(0x13a),_0x138d04=>{const _0x16fda4=_0x32f014;_0x138d04[_0x16fda4(0x137)](),_0x227e68();});});}async[_0x49bb0b(0x13f)](_0x420a91){const _0x5c1395=_0x49bb0b,_0x1eb18c=this[_0x5c1395(0x142)][_0x5c1395(0x158)][_0x5c1395(0x15f)](_0x1c4e5d),{connection:_0x43bd88}=this[_0x5c1395(0x142)][_0x5c1395(0x158)][_0x5c1395(0x15f)](_0x5061b),_0x14d870=new Set();for(const {authorId:_0x3da091}of _0x420a91)_0x1eb18c[_0x5c1395(0x139)](_0x3da091)||_0x14d870[_0x5c1395(0x125)](_0x3da091);if(0x0===_0x14d870[_0x5c1395(0x136)])return;const _0xdbe59e=await _0x5160d2[_0x5c1395(0x14d)](_0x43bd88,Array[_0x5c1395(0x145)](_0x14d870));for(const _0x1b61f0 of _0xdbe59e)_0x1eb18c[_0x5c1395(0x139)](_0x1b61f0['id'])||_0x1eb18c[_0x5c1395(0x15c)](_0x1b61f0);}}function _0xb673(_0x125839,_0xb2ed92){const _0x48f3ea=_0x48f3();return _0xb673=function(_0xb67385,_0x52e1e6){_0xb67385=_0xb67385-0x123;let _0x39031a=_0x48f3ea[_0xb67385];return _0x39031a;},_0xb673(_0x125839,_0xb2ed92);}export{m as CloudServicesTrackChangesAdapter};function A(_0x2e5ac1){if(M(_0x2e5ac1))return new Promise(()=>{});throw _0x2e5ac1;}function M(_0x5cdec0){const _0x5ca0e8=_0x49bb0b;return _0x5cdec0[_0x5ca0e8(0x163)][_0x5ca0e8(0x15b)](_0x5ca0e8(0x144))||_0x5cdec0[_0x5ca0e8(0x163)][_0x5ca0e8(0x15b)](_0x5ca0e8(0x127));}
|