@univerjs-pro/collaboration-client 0.5.5-nightly.202501210849 → 0.5.5-nightly.202501211606

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 _0x218282=_0x2abe;(function(_0x235473,_0x4a05f2){var _0x310bc0=_0x2abe,_0x531ec0=_0x235473();while(!![]){try{var _0x100d8c=parseInt(_0x310bc0(0x17a))/0x1+-parseInt(_0x310bc0(0x18a))/0x2*(-parseInt(_0x310bc0(0x184))/0x3)+parseInt(_0x310bc0(0x1a3))/0x4*(parseInt(_0x310bc0(0x17d))/0x5)+parseInt(_0x310bc0(0x19f))/0x6+-parseInt(_0x310bc0(0x17f))/0x7+parseInt(_0x310bc0(0x195))/0x8*(parseInt(_0x310bc0(0x17c))/0x9)+parseInt(_0x310bc0(0x175))/0xa*(-parseInt(_0x310bc0(0x199))/0xb);if(_0x100d8c===_0x4a05f2)break;else _0x531ec0['push'](_0x531ec0['shift']());}catch(_0x2111e5){_0x531ec0['push'](_0x531ec0['shift']());}}}(_0x43f2,0x8a5b1));Object[_0x218282(0x1a2)](exports,Symbol[_0x218282(0x177)],{'value':_0x218282(0x178)});const o=require(_0x218282(0x19a)),h=require(_0x218282(0x174)),c=require(_0x218282(0x1a1)),b=require(_0x218282(0x19e));var v=Object[_0x218282(0x1a2)],u=Object[_0x218282(0x181)],S=(_0x133432,_0x45ac1b,_0x54d4a7,_0x5e8b57)=>{for(var _0x18c9d6=_0x5e8b57>0x1?void 0x0:_0x5e8b57?u(_0x45ac1b,_0x54d4a7):_0x45ac1b,_0x3ae743=_0x133432['length']-0x1,_0x5c7eda;_0x3ae743>=0x0;_0x3ae743--)(_0x5c7eda=_0x133432[_0x3ae743])&&(_0x18c9d6=(_0x5e8b57?_0x5c7eda(_0x45ac1b,_0x54d4a7,_0x18c9d6):_0x5c7eda(_0x18c9d6))||_0x18c9d6);return _0x5e8b57&&_0x18c9d6&&v(_0x45ac1b,_0x54d4a7,_0x18c9d6),_0x18c9d6;},s=(_0x3cb1e3,_0x2091a3)=>(_0x461801,_0x5d786d)=>_0x2091a3(_0x461801,_0x5d786d,_0x3cb1e3);exports[_0x218282(0x191)]=class extends o[_0x218282(0x17e)]{constructor(_0x5c2f13,_0x273c89,_0x13c140,_0x491b1d,_0x34f3ea){var _0x55029e=_0x218282;super(),this['_handler']=_0x5c2f13,this[_0x55029e(0x17b)]=_0x273c89,this[_0x55029e(0x190)]=_0x13c140,this[_0x55029e(0x194)]=_0x491b1d,this[_0x55029e(0x19b)]=_0x34f3ea;}async['loadActiveSheet'](){var _0x2af3db=_0x218282;return this[_0x2af3db(0x188)]();}async[_0x218282(0x188)](){var _0x2e2973=_0x218282;throw new Error(_0x2e2973(0x19c));}async[_0x218282(0x197)](_0x251d05){var _0x1bcd19=_0x218282;return this[_0x1bcd19(0x1a4)](_0x251d05);}async[_0x218282(0x1a4)](_0x5833f){var _0x5e5ef8=_0x218282;return this[_0x5e5ef8(0x190)][_0x5e5ef8(0x187)](_0x5833f,o['UniverInstanceType'][_0x5e5ef8(0x18f)])||await this[_0x5e5ef8(0x194)]['loadSheet'](_0x5833f,0x0)?(await this['_collaborationController']['readyForCollab'](_0x5833f),this['_handler'][_0x5e5ef8(0x19d)](_0x5833f)):null;}[_0x218282(0x192)](_0x4d4b90,_0x1df97d){var _0x56e69e=_0x218282;const _0x1b4a6e=this[_0x56e69e(0x17b)][_0x56e69e(0x1a0)](c[_0x56e69e(0x186)])[_0x56e69e(0x198)](_0x4d4b90)['pipe'](b['switchMap'](_0x51e4c6=>_0x51e4c6[_0x56e69e(0x180)]))[_0x56e69e(0x196)](_0x534730=>_0x1df97d(Array[_0x56e69e(0x193)](_0x534730[_0x56e69e(0x189)]())));return o[_0x56e69e(0x18b)](_0x1b4a6e);}},exports[_0x218282(0x191)]=S([s(0x1,o[_0x218282(0x176)](o[_0x218282(0x185)])),s(0x2,o[_0x218282(0x18c)]),s(0x3,o[_0x218282(0x176)](h[_0x218282(0x182)])),s(0x4,o[_0x218282(0x176)](c[_0x218282(0x183)]))],exports[_0x218282(0x191)]);function _0x2abe(_0x175ecb,_0x2be76b){var _0x43f2c2=_0x43f2();return _0x2abe=function(_0x2abebe,_0x2a6e13){_0x2abebe=_0x2abebe-0x174;var _0x2a5d1b=_0x43f2c2[_0x2abebe];return _0x2a5d1b;},_0x2abe(_0x175ecb,_0x2be76b);}class _ extends o[_0x218282(0x18e)]{[_0x218282(0x18d)](){var _0x2e6d2a=_0x218282;return this[_0x2e6d2a(0x17b)]['createInstance'](exports[_0x2e6d2a(0x191)],{'getUniverSheet':_0x237e76=>this[_0x2e6d2a(0x19d)](_0x237e76)});}}o[_0x218282(0x18e)][_0x218282(0x179)](_);function _0x43f2(){var _0x1f2629=['4007507tQfXSg','members$','getOwnPropertyDescriptor','SnapshotService','CollaborationController','183HIUtLy','Injector','MemberService','getUnit','loadActiveSheetAsync','values','9486TchfnE','toDisposable','IUniverInstanceService','getCollaboration','FUniver','UNIVER_SHEET','_univerInstanceService','FCollaboration','subscribeCollaborators','from','_snapshotService','104CeFWfd','subscribe','loadSheet','waitForRoom$','1837cUUHgk','@univerjs/core','_collaborationController','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','getUniverSheet','rxjs','6479388FBfXLp','get','@univerjs-pro/collaboration-client','defineProperty','5416RWtWDP','loadSheetAsync','@univerjs-pro/collaboration','89480WjpBqp','Inject','toStringTag','Module','extend','248856yqIpfz','_injector','616761DQLUem','460dXGdfl','FBase'];_0x43f2=function(){return _0x1f2629;};return _0x43f2();}
1
+ 'use strict';var _0x26af2f=_0x1dfb;(function(_0x355155,_0x3509b2){var _0x1c8c9f=_0x1dfb,_0x58c0ed=_0x355155();while(!![]){try{var _0x496ee9=parseInt(_0x1c8c9f(0xbf))/0x1+parseInt(_0x1c8c9f(0xba))/0x2*(-parseInt(_0x1c8c9f(0xbc))/0x3)+-parseInt(_0x1c8c9f(0xdf))/0x4*(-parseInt(_0x1c8c9f(0xe2))/0x5)+-parseInt(_0x1c8c9f(0xbe))/0x6*(parseInt(_0x1c8c9f(0xd6))/0x7)+-parseInt(_0x1c8c9f(0xdb))/0x8+parseInt(_0x1c8c9f(0xd7))/0x9*(-parseInt(_0x1c8c9f(0xd4))/0xa)+parseInt(_0x1c8c9f(0xcd))/0xb*(parseInt(_0x1c8c9f(0xc9))/0xc);if(_0x496ee9===_0x3509b2)break;else _0x58c0ed['push'](_0x58c0ed['shift']());}catch(_0x4770aa){_0x58c0ed['push'](_0x58c0ed['shift']());}}}(_0x2abd,0xa82d5));Object[_0x26af2f(0xd9)](exports,Symbol[_0x26af2f(0xd5)],{'value':_0x26af2f(0xb0)});function _0x2abd(){var _0x7da539=['defineProperty','@univerjs-pro/collaboration-client','6972008uSJeiH','pipe','toDisposable','loadSheetAsync','2412hqofcR','_collaborationController','get','7190oIqbiy','loadActiveSheet','extend','Module','_handler','_snapshotService','getCollaboration','rxjs','createInstance','readyForCollab','loadSheet','@univerjs-pro/collaboration','FCollaboration','149494QyIBGJ','loadActiveSheetAsync','6DUZOqz','_univerInstanceService','24QEmKov','779298SBpGss','getUniverSheet','subscribeCollaborators','switchMap','subscribe','Inject','members$','@univerjs/core','FUniver','MemberService','472008JsJdKY','IUniverInstanceService','getUnit','FBase','286yfmyAs','SnapshotService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','_injector','Injector','waitForRoom$','from','190620uzonqY','toStringTag','1478533VxNgxa','54IXHIqA','values'];_0x2abd=function(){return _0x7da539;};return _0x2abd();}function _0x1dfb(_0x2b5a96,_0x3d14dd){var _0x2abd0d=_0x2abd();return _0x1dfb=function(_0x1dfbeb,_0x31462e){_0x1dfbeb=_0x1dfbeb-0xb0;var _0x3ca262=_0x2abd0d[_0x1dfbeb];return _0x3ca262;},_0x1dfb(_0x2b5a96,_0x3d14dd);}const o=require(_0x26af2f(0xc6)),h=require(_0x26af2f(0xb8)),c=require(_0x26af2f(0xda)),b=require(_0x26af2f(0xb4));var v=Object['defineProperty'],u=Object['getOwnPropertyDescriptor'],S=(_0x48744f,_0x4787e2,_0x579a0b,_0x3e8412)=>{for(var _0x445f0c=_0x3e8412>0x1?void 0x0:_0x3e8412?u(_0x4787e2,_0x579a0b):_0x4787e2,_0x398a77=_0x48744f['length']-0x1,_0x3acfb8;_0x398a77>=0x0;_0x398a77--)(_0x3acfb8=_0x48744f[_0x398a77])&&(_0x445f0c=(_0x3e8412?_0x3acfb8(_0x4787e2,_0x579a0b,_0x445f0c):_0x3acfb8(_0x445f0c))||_0x445f0c);return _0x3e8412&&_0x445f0c&&v(_0x4787e2,_0x579a0b,_0x445f0c),_0x445f0c;},s=(_0x433a3f,_0x4f590f)=>(_0x2ae016,_0x2abd03)=>_0x4f590f(_0x2ae016,_0x2abd03,_0x433a3f);exports['FCollaboration']=class extends o[_0x26af2f(0xcc)]{constructor(_0x49395d,_0x2fe1ee,_0x7eeb9b,_0x10d34a,_0x553fda){var _0x28bbf=_0x26af2f;super(),this[_0x28bbf(0xb1)]=_0x49395d,this[_0x28bbf(0xd0)]=_0x2fe1ee,this[_0x28bbf(0xbd)]=_0x7eeb9b,this[_0x28bbf(0xb2)]=_0x10d34a,this[_0x28bbf(0xe0)]=_0x553fda;}async[_0x26af2f(0xe3)](){var _0x221286=_0x26af2f;return this[_0x221286(0xbb)]();}async[_0x26af2f(0xbb)](){var _0x442e1b=_0x26af2f;throw new Error(_0x442e1b(0xcf));}async[_0x26af2f(0xb7)](_0x3199cd){var _0x6119fe=_0x26af2f;return this[_0x6119fe(0xde)](_0x3199cd);}async[_0x26af2f(0xde)](_0x2f9660){var _0x3176d5=_0x26af2f;return this['_univerInstanceService'][_0x3176d5(0xcb)](_0x2f9660,o['UniverInstanceType']['UNIVER_SHEET'])||await this['_snapshotService'][_0x3176d5(0xb7)](_0x2f9660,0x0)?(await this['_collaborationController'][_0x3176d5(0xb6)](_0x2f9660),this[_0x3176d5(0xb1)][_0x3176d5(0xc0)](_0x2f9660)):null;}[_0x26af2f(0xc1)](_0x20e92a,_0x236046){var _0x4e6f9a=_0x26af2f;const _0x2279bb=this[_0x4e6f9a(0xd0)][_0x4e6f9a(0xe1)](c[_0x4e6f9a(0xc8)])[_0x4e6f9a(0xd2)](_0x20e92a)[_0x4e6f9a(0xdc)](b[_0x4e6f9a(0xc2)](_0x2b4964=>_0x2b4964[_0x4e6f9a(0xc5)]))[_0x4e6f9a(0xc3)](_0x3fc32a=>_0x236046(Array[_0x4e6f9a(0xd3)](_0x3fc32a[_0x4e6f9a(0xd8)]())));return o[_0x4e6f9a(0xdd)](_0x2279bb);}},exports['FCollaboration']=S([s(0x1,o[_0x26af2f(0xc4)](o[_0x26af2f(0xd1)])),s(0x2,o[_0x26af2f(0xca)]),s(0x3,o[_0x26af2f(0xc4)](h[_0x26af2f(0xce)])),s(0x4,o['Inject'](c['CollaborationController']))],exports[_0x26af2f(0xb9)]);class _ extends o['FUniver']{[_0x26af2f(0xb3)](){var _0x24ce34=_0x26af2f;return this[_0x24ce34(0xd0)][_0x24ce34(0xb5)](exports[_0x24ce34(0xb9)],{'getUniverSheet':_0xe2b57b=>this['getUniverSheet'](_0xe2b57b)});}}o[_0x26af2f(0xc7)][_0x26af2f(0xe4)](_);