@univerjs-pro/collaboration-client 0.6.10-experimental.20250419-1304630 → 0.6.10-experimental.20250421-e4eb9bc

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';var _0x4f361c=_0x5af9;(function(_0x1dac90,_0x5124b7){var _0x2205f2=_0x5af9,_0x47727d=_0x1dac90();while(!![]){try{var _0x4a98e1=parseInt(_0x2205f2(0x1cb))/0x1*(parseInt(_0x2205f2(0x1eb))/0x2)+parseInt(_0x2205f2(0x1ca))/0x3*(parseInt(_0x2205f2(0x1d0))/0x4)+-parseInt(_0x2205f2(0x1d7))/0x5*(-parseInt(_0x2205f2(0x1c5))/0x6)+-parseInt(_0x2205f2(0x1d9))/0x7*(parseInt(_0x2205f2(0x1ea))/0x8)+parseInt(_0x2205f2(0x1c7))/0x9*(-parseInt(_0x2205f2(0x1e1))/0xa)+-parseInt(_0x2205f2(0x1dd))/0xb+parseInt(_0x2205f2(0x1de))/0xc;if(_0x4a98e1===_0x5124b7)break;else _0x47727d['push'](_0x47727d['shift']());}catch(_0x7a0d41){_0x47727d['push'](_0x47727d['shift']());}}}(_0x4b89,0x83b93));Object[_0x4f361c(0x1c8)](exports,Symbol[_0x4f361c(0x1cf)],{'value':'Module'});function _0x4b89(){var _0x4433c1=['8zYqZSX','2vpwsCH','Inject','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','subscribeCollaborators','FBase','_univerInstanceService','createInstance','loadSheet','values','pipe','switchMap','@univerjs-pro/collaboration-client','CollaborationController','18Jiklen','loadActiveSheetAsync','36CSdyJH','defineProperty','readyForCollab','6WJobLn','510581wMLLcw','_handler','@univerjs-pro/collaboration','IUniverInstanceService','toStringTag','1426748tYHUzo','FUniver','_snapshotService','getCollaboration','waitForRoom$','rxjs','getOwnPropertyDescriptor','931690obqAsH','members$','6192522dxYBFA','FCollaboration','toDisposable','extend','1800975gVfrKM','985596xvjmMb','@univerjs/core/facade','getUniverSheet','692980ZtzZWu','_collaborationController','MemberService','loadSheetAsync','loadUnit','Injector','loadActiveSheet','_injector','@univerjs/core'];_0x4b89=function(){return _0x4433c1;};return _0x4b89();}const c=require(_0x4f361c(0x1c3)),l=require(_0x4f361c(0x1df)),v=require(_0x4f361c(0x1cd)),i=require(_0x4f361c(0x1e9)),b=require(_0x4f361c(0x1d5));var S=Object[_0x4f361c(0x1d6)],d=(_0x51e6d0,_0x2ac50f,_0x273d11,_0x8fe178)=>{for(var _0x5ce8da=_0x8fe178>0x1?void 0x0:_0x8fe178?S(_0x2ac50f,_0x273d11):_0x2ac50f,_0x3a87cf=_0x51e6d0['length']-0x1,_0x5ec429;_0x3a87cf>=0x0;_0x3a87cf--)(_0x5ec429=_0x51e6d0[_0x3a87cf])&&(_0x5ce8da=_0x5ec429(_0x5ce8da)||_0x5ce8da);return _0x5ce8da;},s=(_0x507e77,_0x12d87a)=>(_0x52e98c,_0x162cf5)=>_0x12d87a(_0x52e98c,_0x162cf5,_0x507e77);function _0x5af9(_0x59135d,_0x2dc423){var _0x4b89f9=_0x4b89();return _0x5af9=function(_0x5af9aa,_0x3bd689){_0x5af9aa=_0x5af9aa-0x1be;var _0x282733=_0x4b89f9[_0x5af9aa];return _0x282733;},_0x5af9(_0x59135d,_0x2dc423);}exports[_0x4f361c(0x1da)]=class extends l[_0x4f361c(0x1ef)]{constructor(_0x7856cb,_0x2ba2d5,_0x3f857c,_0x515a0f,_0x54f823){var _0x337f84=_0x4f361c;super(),this[_0x337f84(0x1cc)]=_0x7856cb,this[_0x337f84(0x1e8)]=_0x2ba2d5,this[_0x337f84(0x1f0)]=_0x3f857c,this[_0x337f84(0x1d2)]=_0x515a0f,this['_collaborationController']=_0x54f823;}async[_0x4f361c(0x1e7)](){var _0x2792d8=_0x4f361c;return this[_0x2792d8(0x1c6)]();}async[_0x4f361c(0x1c6)](){var _0x58503b=_0x4f361c;throw new Error(_0x58503b(0x1ed));}async[_0x4f361c(0x1bf)](_0x3ba8c0){return this['loadSheetAsync'](_0x3ba8c0);}async[_0x4f361c(0x1e4)](_0x51df71,_0x438ac7){var _0x27f089=_0x4f361c;return await this[_0x27f089(0x1d2)][_0x27f089(0x1bf)](_0x51df71,0x0,_0x438ac7)?(await this[_0x27f089(0x1e2)][_0x27f089(0x1c9)](_0x51df71),this[_0x27f089(0x1cc)][_0x27f089(0x1e0)](_0x51df71)):null;}[_0x4f361c(0x1ee)](_0x8654eb,_0x2bb2e2){var _0xa5c480=_0x4f361c;const _0x288c96=this['_injector']['get'](c[_0xa5c480(0x1e3)])[_0xa5c480(0x1d4)](_0x8654eb)[_0xa5c480(0x1c1)](b[_0xa5c480(0x1c2)](_0x446c1f=>_0x446c1f[_0xa5c480(0x1d8)]))['subscribe'](_0x2635c5=>_0x2bb2e2(Array['from'](_0x2635c5[_0xa5c480(0x1c0)]())));return i[_0xa5c480(0x1db)](_0x288c96);}},exports['FCollaboration']=d([s(0x1,i['Inject'](i[_0x4f361c(0x1e6)])),s(0x2,i[_0x4f361c(0x1ce)]),s(0x3,i[_0x4f361c(0x1ec)](v['SnapshotService'])),s(0x4,i[_0x4f361c(0x1ec)](c[_0x4f361c(0x1c4)]))],exports[_0x4f361c(0x1da)]);class u extends l[_0x4f361c(0x1d1)]{[_0x4f361c(0x1d3)](){var _0x25f58c=_0x4f361c;return this['_injector'][_0x25f58c(0x1be)](exports[_0x25f58c(0x1da)],{'getUniverSheet':_0x57d25a=>this[_0x25f58c(0x1e0)](_0x57d25a)});}['loadServerUnit'](_0x3623c5,_0x2c3afa,_0x1bc529){var _0x583379=_0x4f361c;return this[_0x583379(0x1e8)][_0x583379(0x1be)](c['DataLoaderService'])[_0x583379(0x1e5)](_0x3623c5,_0x2c3afa,_0x1bc529);}}l[_0x4f361c(0x1d1)][_0x4f361c(0x1dc)](u);