@univerjs-pro/collaboration-client 0.6.10-alpha.0 → 0.6.10-experimental.20250410-b7c4a5b

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/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0xde5350=_0x166f;(function(_0x13b3c5,_0x13606b){var _0x508c1f=_0x166f,_0x3fc5e3=_0x13b3c5();while(!![]){try{var _0x2c6768=-parseInt(_0x508c1f(0x199))/0x1+parseInt(_0x508c1f(0x1b4))/0x2*(-parseInt(_0x508c1f(0x1ab))/0x3)+-parseInt(_0x508c1f(0x1a2))/0x4*(-parseInt(_0x508c1f(0x1a8))/0x5)+-parseInt(_0x508c1f(0x19b))/0x6+parseInt(_0x508c1f(0x1b6))/0x7*(-parseInt(_0x508c1f(0x1b1))/0x8)+parseInt(_0x508c1f(0x1a9))/0x9+parseInt(_0x508c1f(0x1ac))/0xa*(parseInt(_0x508c1f(0x1a6))/0xb);if(_0x2c6768===_0x13606b)break;else _0x3fc5e3['push'](_0x3fc5e3['shift']());}catch(_0x520404){_0x3fc5e3['push'](_0x3fc5e3['shift']());}}}(_0x1eb9,0xe91ab));Object['defineProperty'](exports,Symbol[_0xde5350(0x1b5)],{'value':'Module'});const c=require(_0xde5350(0x1aa)),l=require('@univerjs/core/facade'),v=require('@univerjs-pro/collaboration'),i=require(_0xde5350(0x193)),b=require(_0xde5350(0x1c1));var S=Object[_0xde5350(0x1b0)],d=(_0x27117b,_0x254b33,_0x2894ba,_0x5c352a)=>{var _0x3f4232=_0xde5350;for(var _0x14688d=_0x5c352a>0x1?void 0x0:_0x5c352a?S(_0x254b33,_0x2894ba):_0x254b33,_0x22d590=_0x27117b[_0x3f4232(0x19a)]-0x1,_0x1e8aac;_0x22d590>=0x0;_0x22d590--)(_0x1e8aac=_0x27117b[_0x22d590])&&(_0x14688d=_0x1e8aac(_0x14688d)||_0x14688d);return _0x14688d;},s=(_0x2e59f7,_0x340bad)=>(_0x29427f,_0x5ef446)=>_0x340bad(_0x29427f,_0x5ef446,_0x2e59f7);function _0x1eb9(){var _0x57fa6c=['getCollaboration','rxjs','@univerjs/core','_univerInstanceService','values','FCollaboration','pipe','createInstance','1838513HEOqDD','length','968262xrHRBp','switchMap','MemberService','get','IUniverInstanceService','FBase','loadUnit','20nzpWSf','FUniver','loadSheet','loadActiveSheet','624206qrmRzj','_injector','944140bqlxeq','9321606uVYeks','@univerjs-pro/collaboration-client','7443XYEgJL','470MsfUuD','from','waitForRoom$','_snapshotService','getOwnPropertyDescriptor','1424512tZNEIs','getUniverSheet','Inject','790OCCdgK','toStringTag','28noQsqW','loadActiveSheetAsync','_handler','_collaborationController','loadSheetAsync','toDisposable','loadServerUnit','members$','Injector','DataLoaderService'];_0x1eb9=function(){return _0x57fa6c;};return _0x1eb9();}function _0x166f(_0x2c0927,_0xcf353b){var _0x1eb9e2=_0x1eb9();return _0x166f=function(_0x166f6f,_0x969471){_0x166f6f=_0x166f6f-0x193;var _0x1ff49f=_0x1eb9e2[_0x166f6f];return _0x1ff49f;},_0x166f(_0x2c0927,_0xcf353b);}exports[_0xde5350(0x196)]=class extends l[_0xde5350(0x1a0)]{constructor(_0x21a870,_0x22d5b5,_0x2f3d45,_0x204892,_0xe62526){var _0x3e0c68=_0xde5350;super(),this[_0x3e0c68(0x1b8)]=_0x21a870,this[_0x3e0c68(0x1a7)]=_0x22d5b5,this[_0x3e0c68(0x194)]=_0x2f3d45,this[_0x3e0c68(0x1af)]=_0x204892,this[_0x3e0c68(0x1b9)]=_0xe62526;}async[_0xde5350(0x1a5)](){var _0x4e7593=_0xde5350;return this[_0x4e7593(0x1b7)]();}async[_0xde5350(0x1b7)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x22c204){var _0x2af893=_0xde5350;return this[_0x2af893(0x1ba)](_0x22c204);}async[_0xde5350(0x1ba)](_0x4ef30d,_0x413e36){var _0x34f3d9=_0xde5350;return await this['_snapshotService'][_0x34f3d9(0x1a4)](_0x4ef30d,0x0,_0x413e36)?(await this[_0x34f3d9(0x1b9)]['readyForCollab'](_0x4ef30d),this[_0x34f3d9(0x1b8)][_0x34f3d9(0x1b2)](_0x4ef30d)):null;}['subscribeCollaborators'](_0x1cdb96,_0x219391){var _0x18f25b=_0xde5350;const _0x3d2033=this[_0x18f25b(0x1a7)][_0x18f25b(0x19e)](c[_0x18f25b(0x19d)])[_0x18f25b(0x1ae)](_0x1cdb96)[_0x18f25b(0x197)](b[_0x18f25b(0x19c)](_0x221f3a=>_0x221f3a[_0x18f25b(0x1bd)]))['subscribe'](_0x1cdf64=>_0x219391(Array[_0x18f25b(0x1ad)](_0x1cdf64[_0x18f25b(0x195)]())));return i[_0x18f25b(0x1bb)](_0x3d2033);}},exports[_0xde5350(0x196)]=d([s(0x1,i[_0xde5350(0x1b3)](i[_0xde5350(0x1be)])),s(0x2,i[_0xde5350(0x19f)]),s(0x3,i['Inject'](v['SnapshotService'])),s(0x4,i[_0xde5350(0x1b3)](c['CollaborationController']))],exports[_0xde5350(0x196)]);class u extends l[_0xde5350(0x1a3)]{[_0xde5350(0x1c0)](){var _0x398a96=_0xde5350;return this['_injector'][_0x398a96(0x198)](exports[_0x398a96(0x196)],{'getUniverSheet':_0x2591d8=>this[_0x398a96(0x1b2)](_0x2591d8)});}[_0xde5350(0x1bc)](_0x5c5687,_0x538fb4,_0x461ade){var _0x4b34eb=_0xde5350;return this[_0x4b34eb(0x1a7)]['createInstance'](c[_0x4b34eb(0x1bf)])[_0x4b34eb(0x1a1)](_0x5c5687,_0x538fb4,_0x461ade);}}l[_0xde5350(0x1a3)]['extend'](u);
1
+ 'use strict';var _0x1ce516=_0x20e5;(function(_0x260edb,_0x369afa){var _0x570341=_0x20e5,_0x244616=_0x260edb();while(!![]){try{var _0x573f4e=parseInt(_0x570341(0x1f0))/0x1*(parseInt(_0x570341(0x1e6))/0x2)+-parseInt(_0x570341(0x1ed))/0x3+parseInt(_0x570341(0x1c5))/0x4+parseInt(_0x570341(0x1c8))/0x5*(parseInt(_0x570341(0x1d1))/0x6)+-parseInt(_0x570341(0x1d3))/0x7*(parseInt(_0x570341(0x1d2))/0x8)+-parseInt(_0x570341(0x1cb))/0x9+parseInt(_0x570341(0x1c9))/0xa*(parseInt(_0x570341(0x1eb))/0xb);if(_0x573f4e===_0x369afa)break;else _0x244616['push'](_0x244616['shift']());}catch(_0x5aacb1){_0x244616['push'](_0x244616['shift']());}}}(_0x1161,0xe34f7));Object[_0x1ce516(0x1e1)](exports,Symbol['toStringTag'],{'value':_0x1ce516(0x1f3)});const c=require(_0x1ce516(0x1d8)),l=require('@univerjs/core/facade'),v=require('@univerjs-pro/collaboration'),i=require(_0x1ce516(0x1cf)),b=require(_0x1ce516(0x1d4));function _0x1161(){var _0x392fda=['loadSheet','getOwnPropertyDescriptor','@univerjs-pro/collaboration-client','pipe','Inject','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','IUniverInstanceService','loadServerUnit','FUniver','toDisposable','_univerInstanceService','defineProperty','_injector','loadActiveSheet','get','length','716bCqMGq','getCollaboration','switchMap','subscribeCollaborators','loadActiveSheetAsync','11tnbZnI','subscribe','1503240rlYuSv','MemberService','values','4069bsqcpu','_collaborationController','loadUnit','Module','5715240Kplwle','FCollaboration','members$','103985GzbsnZ','4180510CBEnqE','getUniverSheet','10488402vFpldZ','loadSheetAsync','extend','_handler','@univerjs/core','_snapshotService','42YPSJKH','11224ZssMqN','4249RnyBrV','rxjs','DataLoaderService'];_0x1161=function(){return _0x392fda;};return _0x1161();}var S=Object[_0x1ce516(0x1d7)],d=(_0x3b65db,_0x189fbe,_0x5eb3cf,_0x46de33)=>{var _0x1bff8c=_0x1ce516;for(var _0x5bffde=_0x46de33>0x1?void 0x0:_0x46de33?S(_0x189fbe,_0x5eb3cf):_0x189fbe,_0x12ab7a=_0x3b65db[_0x1bff8c(0x1e5)]-0x1,_0x4fc33a;_0x12ab7a>=0x0;_0x12ab7a--)(_0x4fc33a=_0x3b65db[_0x12ab7a])&&(_0x5bffde=_0x4fc33a(_0x5bffde)||_0x5bffde);return _0x5bffde;},s=(_0x46b662,_0x49bb5d)=>(_0x50dd49,_0x1a5932)=>_0x49bb5d(_0x50dd49,_0x1a5932,_0x46b662);exports[_0x1ce516(0x1c6)]=class extends l['FBase']{constructor(_0x17606f,_0x11e23c,_0x51b868,_0x786702,_0x1fa521){var _0x44d23d=_0x1ce516;super(),this[_0x44d23d(0x1ce)]=_0x17606f,this[_0x44d23d(0x1e2)]=_0x11e23c,this[_0x44d23d(0x1e0)]=_0x51b868,this[_0x44d23d(0x1d0)]=_0x786702,this[_0x44d23d(0x1f1)]=_0x1fa521;}async[_0x1ce516(0x1e3)](){return this['loadActiveSheetAsync']();}async[_0x1ce516(0x1ea)](){var _0x2e5501=_0x1ce516;throw new Error(_0x2e5501(0x1db));}async[_0x1ce516(0x1d6)](_0x857aee){var _0x493d0c=_0x1ce516;return this[_0x493d0c(0x1cc)](_0x857aee);}async['loadSheetAsync'](_0x18d0e8,_0x54fe57){var _0x2bcdfe=_0x1ce516;return await this[_0x2bcdfe(0x1d0)]['loadSheet'](_0x18d0e8,0x0,_0x54fe57)?(await this[_0x2bcdfe(0x1f1)]['readyForCollab'](_0x18d0e8),this['_handler'][_0x2bcdfe(0x1ca)](_0x18d0e8)):null;}[_0x1ce516(0x1e9)](_0x36a9c2,_0x5937db){var _0x105691=_0x1ce516;const _0x3c7df2=this[_0x105691(0x1e2)][_0x105691(0x1e4)](c[_0x105691(0x1ee)])['waitForRoom$'](_0x36a9c2)[_0x105691(0x1d9)](b[_0x105691(0x1e8)](_0x52c279=>_0x52c279[_0x105691(0x1c7)]))[_0x105691(0x1ec)](_0x22efd1=>_0x5937db(Array['from'](_0x22efd1[_0x105691(0x1ef)]())));return i[_0x105691(0x1df)](_0x3c7df2);}},exports[_0x1ce516(0x1c6)]=d([s(0x1,i['Inject'](i['Injector'])),s(0x2,i[_0x1ce516(0x1dc)]),s(0x3,i[_0x1ce516(0x1da)](v['SnapshotService'])),s(0x4,i[_0x1ce516(0x1da)](c['CollaborationController']))],exports[_0x1ce516(0x1c6)]);function _0x20e5(_0xb0bcc3,_0x17323e){var _0x116100=_0x1161();return _0x20e5=function(_0x20e55a,_0x38e17f){_0x20e55a=_0x20e55a-0x1c5;var _0x3fc0f=_0x116100[_0x20e55a];return _0x3fc0f;},_0x20e5(_0xb0bcc3,_0x17323e);}class u extends l[_0x1ce516(0x1de)]{[_0x1ce516(0x1e7)](){var _0x1933c4=_0x1ce516;return this['_injector']['createInstance'](exports['FCollaboration'],{'getUniverSheet':_0x2ab279=>this[_0x1933c4(0x1ca)](_0x2ab279)});}[_0x1ce516(0x1dd)](_0x3ed017,_0x52cc80,_0x517816){var _0x48c22d=_0x1ce516;return this['_injector']['createInstance'](c[_0x48c22d(0x1d5)])[_0x48c22d(0x1f2)](_0x3ed017,_0x52cc80,_0x517816);}}l[_0x1ce516(0x1de)][_0x1ce516(0x1cd)](u);