@ckeditor/ckeditor5-real-time-collaboration 47.1.0-alpha.0 → 47.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 _0x4b2352=_0x5617;(function(_0x330b29,_0x26d8e3){const _0x360c95=_0x5617,_0x11c1d8=_0x330b29();while(!![]){try{const _0x59a7f3=-parseInt(_0x360c95(0x173))/0x1+-parseInt(_0x360c95(0x1aa))/0x2+-parseInt(_0x360c95(0x17d))/0x3+parseInt(_0x360c95(0x19b))/0x4+-parseInt(_0x360c95(0x18b))/0x5*(-parseInt(_0x360c95(0x172))/0x6)+parseInt(_0x360c95(0x1a2))/0x7+parseInt(_0x360c95(0x198))/0x8;if(_0x59a7f3===_0x26d8e3)break;else _0x11c1d8['push'](_0x11c1d8['shift']());}catch(_0x461d2f){_0x11c1d8['push'](_0x11c1d8['shift']());}}}(_0x1498,0xac51f));import{Plugin as _0x2137e0}from'ckeditor5/src/core.js';function _0x5617(_0x3002c7,_0x14532f){const _0x1498f9=_0x1498();return _0x5617=function(_0x5617eb,_0x364e41){_0x5617eb=_0x5617eb-0x16f;let _0x2fa5af=_0x1498f9[_0x5617eb];return _0x2fa5af;},_0x5617(_0x3002c7,_0x14532f);}import{User as _0x5b6fe9,TrackChangesService as _0x4f0465}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x1497ba}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x2e8c96}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x5eb681}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x2137e0{static [_0x4b2352(0x1a6)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x4f0465)());[_0x4b2352(0x180)];[_0x4b2352(0x193)];static get[_0x4b2352(0x17b)](){const _0x189aee=_0x4b2352;return[_0x2e8c96,_0x189aee(0x18d),_0x1497ba];}static get[_0x4b2352(0x189)](){const _0xeb764d=_0x4b2352;return _0xeb764d(0x174);}static get[_0x4b2352(0x18f)](){return!0x0;}static get[_0x4b2352(0x177)](){return!0x0;}constructor(_0x5bacf1){const _0x179fe1=_0x4b2352;super(_0x5bacf1);const _0x3f0f63=this[_0x179fe1(0x178)][_0x179fe1(0x184)][_0x179fe1(0x1a7)](_0x179fe1(0x1a5));this[_0x179fe1(0x180)]=new Map(),this[_0x179fe1(0x193)]=new CloudServicesTrackChangesAdapter[(_0x179fe1(0x1a6))](_0x3f0f63);}[_0x4b2352(0x183)](){const _0x17ff24=_0x4b2352,_0x1f49b9=this[_0x17ff24(0x178)][_0x17ff24(0x194)][_0x17ff24(0x1a7)](_0x1497ba),_0x208418=this[_0x17ff24(0x178)][_0x17ff24(0x194)][_0x17ff24(0x1a7)](_0x17ff24(0x18d));return _0x208418[_0x17ff24(0x17a)]={'getSuggestion':async _0x22ccff=>{const _0x293311=_0x17ff24;await this[_0x293311(0x1a3)]();const _0x28177d=await this[_0x293311(0x193)][_0x293311(0x1a7)](_0x22ccff)[_0x293311(0x185)](A);return await this[_0x293311(0x1a9)]([_0x28177d]),_0x28177d;},'addSuggestion':async({id:_0x204d1a,type:_0x2315d0,data:_0x1ac401,originalSuggestionId:_0x3ce9e4,attributes:_0x282b82})=>{const _0x3be4f5=_0x17ff24;await this[_0x3be4f5(0x1a3)]();const _0x521761={'id':_0x204d1a,'type':_0x2315d0,'data':_0x1ac401,'originalSuggestionId':_0x3ce9e4,'attributes':_0x282b82},_0x1786f2=await this[_0x3be4f5(0x193)][_0x3be4f5(0x170)](_0x204d1a,_0x2315d0,_0x1ac401,_0x3ce9e4,_0x282b82)[_0x3be4f5(0x185)](_0xf3b5a8=>{if(J(_0xf3b5a8))return new Promise(_0x242ecc=>{const _0x97d1f0=_0x5617;this[_0x97d1f0(0x180)][_0x97d1f0(0x176)](_0x204d1a,{'resolve':_0x242ecc,'suggestionData':_0x521761});});throw _0xf3b5a8;});return this[_0x3be4f5(0x180)][_0x3be4f5(0x18c)](_0x204d1a),_0x1786f2;},'updateSuggestion':async(_0x2df471,_0x22c8f8)=>{const _0x529af1=_0x17ff24;if(await this[_0x529af1(0x1a3)](),_0x529af1(0x18a)!==_0x22c8f8[_0x529af1(0x19f)])return this[_0x529af1(0x193)][_0x529af1(0x195)](_0x2df471,_0x22c8f8)[_0x529af1(0x185)](A);}},this[_0x17ff24(0x179)](this[_0x17ff24(0x193)],_0x17ff24(0x1a4),(_0x1bc1b0,_0x840bbe)=>{const _0x4596ec=_0x17ff24;_0x208418[_0x4596ec(0x182)](_0x840bbe['id'])&&(_0x208418[_0x4596ec(0x19e)](_0x840bbe['id'])[_0x4596ec(0x18e)]=_0x840bbe[_0x4596ec(0x18e)]);}),this[_0x17ff24(0x193)][_0x17ff24(0x1ab)](_0x1f49b9[_0x17ff24(0x1ac)])[_0x17ff24(0x190)](_0x56684e=>(_0x1f49b9[_0x17ff24(0x191)](this),this[_0x17ff24(0x1a9)](_0x56684e)[_0x17ff24(0x190)](()=>{const _0x30df0c=_0x17ff24;for(const _0x1ee2e6 of _0x56684e){_0x208418[_0x30df0c(0x19c)](_0x1ee2e6)[_0x30df0c(0x19d)]=!0x0;}})));}async[_0x4b2352(0x196)](){const _0x232bef=_0x4b2352,_0x92f426=this[_0x232bef(0x178)][_0x232bef(0x194)][_0x232bef(0x1a7)](_0x232bef(0x18d)),{connection:_0xe30ba2}=this[_0x232bef(0x178)][_0x232bef(0x194)][_0x232bef(0x1a7)](_0x1497ba),_0x4e9fa8=await this[_0x232bef(0x193)][_0x232bef(0x1ab)](_0xe30ba2);await this[_0x232bef(0x1a9)](_0x4e9fa8);for(const {suggestionData:_0x21b8b6,resolve:_0x25da04}of this[_0x232bef(0x180)][_0x232bef(0x16f)]()){let _0xde841a=_0x4e9fa8[_0x232bef(0x192)](_0x33f159=>_0x33f159['id']===_0x21b8b6['id']);_0xde841a||(_0xde841a=await this[_0x232bef(0x193)][_0x232bef(0x170)](_0x21b8b6['id'],_0x21b8b6[_0x232bef(0x197)],_0x21b8b6[_0x232bef(0x175)],_0x21b8b6[_0x232bef(0x186)])),_0x25da04(_0xde841a);}for(const _0x3e1123 of _0x4e9fa8)_0x92f426[_0x232bef(0x182)](_0x3e1123['id'])||_0x92f426[_0x232bef(0x19c)](_0x3e1123);}async[_0x4b2352(0x1a3)](){const _0x56db2c=_0x4b2352;this[_0x56db2c(0x193)][_0x56db2c(0x187)]||await new Promise(_0x2caf23=>{const _0x1ca361=_0x56db2c;this[_0x1ca361(0x179)](this[_0x1ca361(0x193)],_0x1ca361(0x199),_0x2c5cf5=>{const _0x2374d9=_0x1ca361;_0x2c5cf5[_0x2374d9(0x188)](),_0x2caf23();});});}async[_0x4b2352(0x1a9)](_0x395406){const _0x37d485=_0x4b2352,_0x36fd25=this[_0x37d485(0x178)][_0x37d485(0x194)][_0x37d485(0x1a7)](_0x5eb681),{connection:_0x403bc2}=this[_0x37d485(0x178)][_0x37d485(0x194)][_0x37d485(0x1a7)](_0x1497ba),_0x31da3e=new Set();for(const {authorId:_0x5a1f1f}of _0x395406)_0x36fd25[_0x37d485(0x17e)](_0x5a1f1f)||_0x31da3e[_0x37d485(0x170)](_0x5a1f1f);if(0x0===_0x31da3e[_0x37d485(0x1a8)])return;const _0x4872e3=await _0x5b6fe9[_0x37d485(0x19a)](_0x403bc2,Array[_0x37d485(0x17c)](_0x31da3e));for(const _0x2a0147 of _0x4872e3)_0x36fd25[_0x37d485(0x17e)](_0x2a0147['id'])||_0x36fd25[_0x37d485(0x171)](_0x2a0147);}}function _0x1498(){const _0x10b033=['then','addToReconnectionStack','find','_trackChangesService','plugins','update','reconnect','type','8138832jwJlWG','connected','getMany','2003036DELAMB','addSuggestionData','_saved','getSuggestion','state','message','cloud-services-internal-error:\x20Not\x20connected.','9602887PpuDtl','_waitForServiceReady','suggestionUpdated','collaboration.channelId','TrackChangesService','get','size','_fetchMissingUsersForThreads','84754ZTPryE','connect','connection','values','add','addUser','3198fHPMMm','1178415BJAeVy','CloudServicesTrackChangesAdapter','data','set','isPremiumPlugin','editor','listenTo','adapter','requires','from','3427281iHfbFh','getUser','cloud-services-internal-error:\x20Request\x20timeout.','_bufferedRequests','startsWith','hasSuggestion','init','config','catch','originalSuggestionId','isConnected','off','pluginName','open','1680UAAGUl','delete','TrackChangesEditing','attributes','isOfficialPlugin'];_0x1498=function(){return _0x10b033;};return _0x1498();}function A(_0x1dd968){if(J(_0x1dd968))return new Promise(()=>{});throw _0x1dd968;}function J(_0x2c809c){const _0x2546c4=_0x4b2352;return _0x2c809c[_0x2546c4(0x1a0)][_0x2546c4(0x181)](_0x2546c4(0x1a1))||_0x2c809c[_0x2546c4(0x1a0)][_0x2546c4(0x181)](_0x2546c4(0x17f));}
|