@univerjs-pro/collaboration-client 0.6.10-experimental.20250419-1304630 → 0.6.10-experimental.20250419-8f302dd

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 _0x1a555d=_0x2557;function _0x2557(_0x350103,_0x58468e){var _0xea49e4=_0xea49();return _0x2557=function(_0x2557ba,_0x49d157){_0x2557ba=_0x2557ba-0x17f;var _0x3958a6=_0xea49e4[_0x2557ba];return _0x3958a6;},_0x2557(_0x350103,_0x58468e);}(function(_0x11b40b,_0x2ad7db){var _0x5a0c49=_0x2557,_0x616a24=_0x11b40b();while(!![]){try{var _0x310cab=parseInt(_0x5a0c49(0x197))/0x1+-parseInt(_0x5a0c49(0x191))/0x2+-parseInt(_0x5a0c49(0x185))/0x3+parseInt(_0x5a0c49(0x199))/0x4*(-parseInt(_0x5a0c49(0x18a))/0x5)+parseInt(_0x5a0c49(0x19d))/0x6*(parseInt(_0x5a0c49(0x193))/0x7)+-parseInt(_0x5a0c49(0x1a4))/0x8+-parseInt(_0x5a0c49(0x181))/0x9*(-parseInt(_0x5a0c49(0x19c))/0xa);if(_0x310cab===_0x2ad7db)break;else _0x616a24['push'](_0x616a24['shift']());}catch(_0x144d44){_0x616a24['push'](_0x616a24['shift']());}}}(_0xea49,0xe2a23));Object[_0x1a555d(0x198)](exports,Symbol[_0x1a555d(0x1a3)],{'value':_0x1a555d(0x18b)});const c=require(_0x1a555d(0x183)),l=require('@univerjs/core/facade'),v=require(_0x1a555d(0x18d)),i=require(_0x1a555d(0x184)),b=require('rxjs');var S=Object[_0x1a555d(0x192)],d=(_0x3c1544,_0x3e5207,_0x3d2129,_0x57c6cd)=>{var _0x3556ed=_0x1a555d;for(var _0x5651c7=_0x57c6cd>0x1?void 0x0:_0x57c6cd?S(_0x3e5207,_0x3d2129):_0x3e5207,_0x367bb7=_0x3c1544[_0x3556ed(0x189)]-0x1,_0x51879d;_0x367bb7>=0x0;_0x367bb7--)(_0x51879d=_0x3c1544[_0x367bb7])&&(_0x5651c7=_0x51879d(_0x5651c7)||_0x5651c7);return _0x5651c7;},s=(_0x2124ec,_0x57d3b6)=>(_0x3009b6,_0x22f8b7)=>_0x57d3b6(_0x3009b6,_0x22f8b7,_0x2124ec);function _0xea49(){var _0x1440c8=['loadActiveSheetAsync','length','533405NDcdRu','Module','loadServerUnit','@univerjs-pro/collaboration','_handler','readyForCollab','extend','1024120iojVpN','getOwnPropertyDescriptor','210AolWzE','_injector','loadSheetAsync','FBase','197249XoJGsj','defineProperty','4JNPhsc','Inject','switchMap','50Cafmyy','282534mgTbJy','FCollaboration','FUniver','_collaborationController','pipe','from','toStringTag','8996280omodor','waitForRoom$','values','Injector','MemberService','createInstance','members$','loadSheet','getUniverSheet','3167352OloltU','_snapshotService','@univerjs-pro/collaboration-client','@univerjs/core','2093976SJTAoG','subscribe','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.'];_0xea49=function(){return _0x1440c8;};return _0xea49();}exports[_0x1a555d(0x19e)]=class extends l[_0x1a555d(0x196)]{constructor(_0x598474,_0x351c87,_0x586b53,_0x306cfa,_0x4b3f02){var _0x43888b=_0x1a555d;super(),this[_0x43888b(0x18e)]=_0x598474,this[_0x43888b(0x194)]=_0x351c87,this['_univerInstanceService']=_0x586b53,this[_0x43888b(0x182)]=_0x306cfa,this['_collaborationController']=_0x4b3f02;}async['loadActiveSheet'](){var _0xa6255d=_0x1a555d;return this[_0xa6255d(0x188)]();}async[_0x1a555d(0x188)](){var _0x5569e8=_0x1a555d;throw new Error(_0x5569e8(0x187));}async['loadSheet'](_0x1cf881){var _0x58c488=_0x1a555d;return this[_0x58c488(0x195)](_0x1cf881);}async['loadSheetAsync'](_0x1ecb23,_0x200ccc){var _0x279b94=_0x1a555d;return await this['_snapshotService'][_0x279b94(0x17f)](_0x1ecb23,0x0,_0x200ccc)?(await this[_0x279b94(0x1a0)][_0x279b94(0x18f)](_0x1ecb23),this[_0x279b94(0x18e)][_0x279b94(0x180)](_0x1ecb23)):null;}['subscribeCollaborators'](_0x48ea98,_0x5b2a9e){var _0x20cf40=_0x1a555d;const _0x3af2ff=this['_injector']['get'](c[_0x20cf40(0x1a8)])[_0x20cf40(0x1a5)](_0x48ea98)[_0x20cf40(0x1a1)](b[_0x20cf40(0x19b)](_0x4a0fa8=>_0x4a0fa8[_0x20cf40(0x1aa)]))[_0x20cf40(0x186)](_0x12070d=>_0x5b2a9e(Array[_0x20cf40(0x1a2)](_0x12070d[_0x20cf40(0x1a6)]())));return i['toDisposable'](_0x3af2ff);}},exports[_0x1a555d(0x19e)]=d([s(0x1,i[_0x1a555d(0x19a)](i[_0x1a555d(0x1a7)])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x1a555d(0x19a)](v['SnapshotService'])),s(0x4,i[_0x1a555d(0x19a)](c['CollaborationController']))],exports[_0x1a555d(0x19e)]);class u extends l[_0x1a555d(0x19f)]{['getCollaboration'](){var _0x5de10f=_0x1a555d;return this[_0x5de10f(0x194)]['createInstance'](exports['FCollaboration'],{'getUniverSheet':_0x256560=>this['getUniverSheet'](_0x256560)});}[_0x1a555d(0x18c)](_0x5d8a86,_0x54aeb6,_0x2841c3){var _0x484511=_0x1a555d;return this[_0x484511(0x194)][_0x484511(0x1a9)](c['DataLoaderService'])['loadUnit'](_0x5d8a86,_0x54aeb6,_0x2841c3);}}l['FUniver'][_0x1a555d(0x190)](u);
1
+ 'use strict';function _0x1a56(_0x3f0848,_0x290790){var _0x4eb9d9=_0x4eb9();return _0x1a56=function(_0x1a56d9,_0x7c013f){_0x1a56d9=_0x1a56d9-0x16b;var _0x4e01e9=_0x4eb9d9[_0x1a56d9];return _0x4e01e9;},_0x1a56(_0x3f0848,_0x290790);}var _0x59d96e=_0x1a56;(function(_0x3f55ef,_0x40c3d2){var _0x4b8aee=_0x1a56,_0x5e18a5=_0x3f55ef();while(!![]){try{var _0x7dd153=-parseInt(_0x4b8aee(0x18c))/0x1*(parseInt(_0x4b8aee(0x17d))/0x2)+parseInt(_0x4b8aee(0x171))/0x3+parseInt(_0x4b8aee(0x188))/0x4*(-parseInt(_0x4b8aee(0x18b))/0x5)+-parseInt(_0x4b8aee(0x18f))/0x6*(parseInt(_0x4b8aee(0x18a))/0x7)+-parseInt(_0x4b8aee(0x178))/0x8*(-parseInt(_0x4b8aee(0x183))/0x9)+-parseInt(_0x4b8aee(0x181))/0xa+parseInt(_0x4b8aee(0x192))/0xb;if(_0x7dd153===_0x40c3d2)break;else _0x5e18a5['push'](_0x5e18a5['shift']());}catch(_0x4f7ad8){_0x5e18a5['push'](_0x5e18a5['shift']());}}}(_0x4eb9,0xb9574));Object[_0x59d96e(0x187)](exports,Symbol[_0x59d96e(0x16e)],{'value':_0x59d96e(0x199)});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x59d96e(0x17c)),v=require(_0x59d96e(0x19b)),i=require(_0x59d96e(0x175)),b=require(_0x59d96e(0x184));var S=Object[_0x59d96e(0x180)],d=(_0x4c6946,_0x344343,_0x4daef2,_0xed9acb)=>{var _0x3eb58b=_0x59d96e;for(var _0x35cce6=_0xed9acb>0x1?void 0x0:_0xed9acb?S(_0x344343,_0x4daef2):_0x344343,_0x3ae698=_0x4c6946[_0x3eb58b(0x179)]-0x1,_0x416f69;_0x3ae698>=0x0;_0x3ae698--)(_0x416f69=_0x4c6946[_0x3ae698])&&(_0x35cce6=_0x416f69(_0x35cce6)||_0x35cce6);return _0x35cce6;},s=(_0x4c8597,_0x239cbc)=>(_0x4aefc1,_0x10ae79)=>_0x239cbc(_0x4aefc1,_0x10ae79,_0x4c8597);exports['FCollaboration']=class extends l[_0x59d96e(0x189)]{constructor(_0x3e29de,_0x408c77,_0x108266,_0x49c262,_0x595b89){var _0xb8a374=_0x59d96e;super(),this[_0xb8a374(0x19a)]=_0x3e29de,this[_0xb8a374(0x197)]=_0x408c77,this[_0xb8a374(0x185)]=_0x108266,this[_0xb8a374(0x17b)]=_0x49c262,this[_0xb8a374(0x172)]=_0x595b89;}async['loadActiveSheet'](){var _0x971119=_0x59d96e;return this[_0x971119(0x17f)]();}async['loadActiveSheetAsync'](){var _0x338b86=_0x59d96e;throw new Error(_0x338b86(0x18e));}async[_0x59d96e(0x16b)](_0x188eed){var _0x40f26e=_0x59d96e;return this[_0x40f26e(0x174)](_0x188eed);}async[_0x59d96e(0x174)](_0x42e5ab,_0x150c30){var _0xb43c85=_0x59d96e;return await this[_0xb43c85(0x17b)][_0xb43c85(0x16b)](_0x42e5ab,0x0,_0x150c30)?(await this[_0xb43c85(0x172)][_0xb43c85(0x196)](_0x42e5ab),this[_0xb43c85(0x19a)]['getUniverSheet'](_0x42e5ab)):null;}[_0x59d96e(0x176)](_0x5ca79c,_0x5deb2f){var _0x2ece50=_0x59d96e;const _0x410a43=this[_0x2ece50(0x197)][_0x2ece50(0x177)](c['MemberService'])[_0x2ece50(0x194)](_0x5ca79c)[_0x2ece50(0x193)](b['switchMap'](_0x59cce8=>_0x59cce8[_0x2ece50(0x16d)]))['subscribe'](_0x2d6947=>_0x5deb2f(Array[_0x2ece50(0x198)](_0x2d6947[_0x2ece50(0x182)]())));return i[_0x2ece50(0x18d)](_0x410a43);}},exports['FCollaboration']=d([s(0x1,i[_0x59d96e(0x195)](i['Injector'])),s(0x2,i[_0x59d96e(0x17e)]),s(0x3,i[_0x59d96e(0x195)](v[_0x59d96e(0x17a)])),s(0x4,i['Inject'](c[_0x59d96e(0x191)]))],exports['FCollaboration']);function _0x4eb9(){var _0x25787e=['toDisposable','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','23280HkcJfg','FCollaboration','CollaborationController','4458476daDcDE','pipe','waitForRoom$','Inject','readyForCollab','_injector','from','Module','_handler','@univerjs-pro/collaboration','loadSheet','getUniverSheet','members$','toStringTag','extend','createInstance','3783141zFhUEK','_collaborationController','loadServerUnit','loadSheetAsync','@univerjs/core','subscribeCollaborators','get','8SfFMLC','length','SnapshotService','_snapshotService','@univerjs/core/facade','20jcNGaJ','IUniverInstanceService','loadActiveSheetAsync','getOwnPropertyDescriptor','6676700WveXAe','values','11302479IIRkXZ','rxjs','_univerInstanceService','FUniver','defineProperty','8NvrrTe','FBase','168mCeAQu','2605220UUOSZR','36016mbvvIc'];_0x4eb9=function(){return _0x25787e;};return _0x4eb9();}class u extends l[_0x59d96e(0x186)]{['getCollaboration'](){var _0x30a5ed=_0x59d96e;return this['_injector'][_0x30a5ed(0x170)](exports[_0x30a5ed(0x190)],{'getUniverSheet':_0x4d1906=>this[_0x30a5ed(0x16c)](_0x4d1906)});}[_0x59d96e(0x173)](_0xe07c40,_0xfc1876,_0x4cebc5){var _0x1d443a=_0x59d96e;return this[_0x1d443a(0x197)]['createInstance'](c['DataLoaderService'])['loadUnit'](_0xe07c40,_0xfc1876,_0x4cebc5);}}l[_0x59d96e(0x186)][_0x59d96e(0x16f)](u);