@univerjs-pro/collaboration-client 0.6.10-experimental.20250419-8f302dd → 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';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);
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);