@univerjs-pro/collaboration-client 0.5.3-nightly.202501091606 → 0.5.3-nightly.202501100253

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 _0x199c2b=_0x391a;(function(_0xe83abc,_0xbf52be){var _0x161d70=_0x391a,_0x4f05bd=_0xe83abc();while(!![]){try{var _0x12e098=parseInt(_0x161d70(0xb6))/0x1*(-parseInt(_0x161d70(0xac))/0x2)+parseInt(_0x161d70(0xab))/0x3+-parseInt(_0x161d70(0xa6))/0x4+-parseInt(_0x161d70(0xba))/0x5+parseInt(_0x161d70(0xae))/0x6+-parseInt(_0x161d70(0xcd))/0x7*(-parseInt(_0x161d70(0xb7))/0x8)+parseInt(_0x161d70(0xc6))/0x9;if(_0x12e098===_0xbf52be)break;else _0x4f05bd['push'](_0x4f05bd['shift']());}catch(_0x35cbe4){_0x4f05bd['push'](_0x4f05bd['shift']());}}}(_0x4cb8,0xac1c8));Object['defineProperty'](exports,Symbol[_0x199c2b(0xcb)],{'value':'Module'});const t=require('@univerjs/core'),b=require(_0x199c2b(0xa7)),c=require(_0x199c2b(0xb8)),h=require(_0x199c2b(0xbb));function _0x391a(_0x10a206,_0x362991){var _0x4cb819=_0x4cb8();return _0x391a=function(_0x391aa4,_0x2a6de1){_0x391aa4=_0x391aa4-0xa1;var _0x1a98bd=_0x4cb819[_0x391aa4];return _0x1a98bd;},_0x391a(_0x10a206,_0x362991);}var v=Object[_0x199c2b(0xcc)],u=Object[_0x199c2b(0xa2)],_=(_0x42507,_0x4d011f,_0x21951d,_0x227984)=>{var _0x17cc0a=_0x199c2b;for(var _0x16a44e=_0x227984>0x1?void 0x0:_0x227984?u(_0x4d011f,_0x21951d):_0x4d011f,_0x251b7c=_0x42507[_0x17cc0a(0xad)]-0x1,_0x3ef07e;_0x251b7c>=0x0;_0x251b7c--)(_0x3ef07e=_0x42507[_0x251b7c])&&(_0x16a44e=(_0x227984?_0x3ef07e(_0x4d011f,_0x21951d,_0x16a44e):_0x3ef07e(_0x16a44e))||_0x16a44e);return _0x227984&&_0x16a44e&&v(_0x4d011f,_0x21951d,_0x16a44e),_0x16a44e;},s=(_0x28d42c,_0x3b5237)=>(_0x483f37,_0xa06c81)=>_0x3b5237(_0x483f37,_0xa06c81,_0x28d42c);exports['FCollaboration']=class extends t[_0x199c2b(0xc5)]{constructor(_0x29d22f,_0x1e83b9,_0x4956c3,_0x30c5c6,_0x32269d){var _0x227e66=_0x199c2b;super(),this['_handler']=_0x29d22f,this[_0x227e66(0xc2)]=_0x1e83b9,this[_0x227e66(0xb5)]=_0x4956c3,this[_0x227e66(0xca)]=_0x30c5c6,this[_0x227e66(0xb0)]=_0x32269d;}async[_0x199c2b(0xaf)](){var _0x332c3a=_0x199c2b;throw new Error(_0x332c3a(0xbc));}async[_0x199c2b(0xb1)](_0x5c818b){var _0x3f04da=_0x199c2b;return this[_0x3f04da(0xb5)][_0x3f04da(0xa1)](_0x5c818b,t['UniverInstanceType'][_0x3f04da(0xb3)])||await this[_0x3f04da(0xca)][_0x3f04da(0xb2)](_0x5c818b,0x0)?(await this[_0x3f04da(0xb0)]['readyForCollab'](_0x5c818b),this['_handler']['getUniverSheet'](_0x5c818b)):null;}[_0x199c2b(0xc0)](_0x418004,_0xf56575){var _0x3ec5da=_0x199c2b;const _0x4f6adf=this[_0x3ec5da(0xc2)][_0x3ec5da(0xc7)](c[_0x3ec5da(0xaa)])['waitForRoom$'](_0x418004)[_0x3ec5da(0xb9)](h[_0x3ec5da(0xa8)](_0x1da325=>_0x1da325['members$']))[_0x3ec5da(0xc9)](_0x59aa9d=>_0xf56575(Array['from'](_0x59aa9d[_0x3ec5da(0xc1)]())));return t[_0x3ec5da(0xb4)](_0x4f6adf);}},exports[_0x199c2b(0xa9)]=_([s(0x1,t[_0x199c2b(0xbf)](t[_0x199c2b(0xc3)])),s(0x2,t[_0x199c2b(0xa4)]),s(0x3,t['Inject'](b['SnapshotService'])),s(0x4,t[_0x199c2b(0xbf)](c[_0x199c2b(0xc8)]))],exports[_0x199c2b(0xa9)]);function _0x4cb8(){var _0x257c6a=['Injector','extend','FBase','11312064LxRObE','get','CollaborationController','subscribe','_snapshotService','toStringTag','defineProperty','1879633DEkHdK','getUnit','getOwnPropertyDescriptor','getCollaboration','IUniverInstanceService','getUniverSheet','3458016yAxGiy','@univerjs-pro/collaboration','switchMap','FCollaboration','MemberService','70713lIdVQf','134RkwkTM','length','5346096qVsfTu','loadActiveSheetAsync','_collaborationController','loadSheetAsync','loadSheet','UNIVER_SHEET','toDisposable','_univerInstanceService','10351CdtYWB','8RMVHzH','@univerjs-pro/collaboration-client','pipe','885065jwAYVa','rxjs','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','FUniver','createInstance','Inject','subscribeCollaborators','values','_injector'];_0x4cb8=function(){return _0x257c6a;};return _0x4cb8();}class S extends t['FUniver']{[_0x199c2b(0xa3)](){var _0x3c8ce7=_0x199c2b;return this[_0x3c8ce7(0xc2)][_0x3c8ce7(0xbe)](exports['FCollaboration'],{'getUniverSheet':_0x210e7a=>this[_0x3c8ce7(0xa5)](_0x210e7a)});}}t[_0x199c2b(0xbd)][_0x199c2b(0xc4)](S);
1
+ 'use strict';function _0xa2b8(_0x51c280,_0x11999d){var _0x3886df=_0x3886();return _0xa2b8=function(_0xa2b8dc,_0x4e01f9){_0xa2b8dc=_0xa2b8dc-0x1d3;var _0x37ed99=_0x3886df[_0xa2b8dc];return _0x37ed99;},_0xa2b8(_0x51c280,_0x11999d);}var _0x128e37=_0xa2b8;(function(_0x2e7d9c,_0xbd3a81){var _0x204dd4=_0xa2b8,_0xf2d9fa=_0x2e7d9c();while(!![]){try{var _0x4544af=-parseInt(_0x204dd4(0x1e3))/0x1+-parseInt(_0x204dd4(0x202))/0x2+-parseInt(_0x204dd4(0x1de))/0x3*(-parseInt(_0x204dd4(0x203))/0x4)+-parseInt(_0x204dd4(0x1f0))/0x5*(parseInt(_0x204dd4(0x1ec))/0x6)+parseInt(_0x204dd4(0x1ef))/0x7*(parseInt(_0x204dd4(0x1da))/0x8)+parseInt(_0x204dd4(0x1eb))/0x9+parseInt(_0x204dd4(0x1fb))/0xa;if(_0x4544af===_0xbd3a81)break;else _0xf2d9fa['push'](_0xf2d9fa['shift']());}catch(_0x14dc57){_0xf2d9fa['push'](_0xf2d9fa['shift']());}}}(_0x3886,0xbff3a));Object['defineProperty'](exports,Symbol[_0x128e37(0x1f3)],{'value':_0x128e37(0x1f1)});const t=require(_0x128e37(0x1ff)),b=require(_0x128e37(0x1d7)),c=require(_0x128e37(0x1e6)),h=require(_0x128e37(0x1e1));function _0x3886(){var _0x45bb2c=['rxjs','members$','1361905KMCBBl','loadSheet','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','@univerjs-pro/collaboration-client','UniverInstanceType','values','loadActiveSheetAsync','switchMap','7369875iiDxoy','102Dpxhfd','_injector','_snapshotService','1484154UkCmjG','288465yMHEnQ','Module','getOwnPropertyDescriptor','toStringTag','_collaborationController','UNIVER_SHEET','MemberService','CollaborationController','waitForRoom$','get','readyForCollab','25631890DpylVC','extend','subscribe','SnapshotService','@univerjs/core','getUniverSheet','Inject','2891120plFXxv','12332dGKeKz','FCollaboration','defineProperty','_univerInstanceService','pipe','@univerjs-pro/collaboration','createInstance','toDisposable','8GrsTyC','loadSheetAsync','IUniverInstanceService','_handler','954AUpbtD','Injector','subscribeCollaborators'];_0x3886=function(){return _0x45bb2c;};return _0x3886();}var v=Object[_0x128e37(0x1d4)],u=Object[_0x128e37(0x1f2)],_=(_0x12db23,_0x2e5d6f,_0x567f6b,_0x4d4faf)=>{for(var _0x91867=_0x4d4faf>0x1?void 0x0:_0x4d4faf?u(_0x2e5d6f,_0x567f6b):_0x2e5d6f,_0x34cbc4=_0x12db23['length']-0x1,_0xdf4580;_0x34cbc4>=0x0;_0x34cbc4--)(_0xdf4580=_0x12db23[_0x34cbc4])&&(_0x91867=(_0x4d4faf?_0xdf4580(_0x2e5d6f,_0x567f6b,_0x91867):_0xdf4580(_0x91867))||_0x91867);return _0x4d4faf&&_0x91867&&v(_0x2e5d6f,_0x567f6b,_0x91867),_0x91867;},s=(_0x4e6ad4,_0x53b5ab)=>(_0xf5d1cf,_0x4304c5)=>_0x53b5ab(_0xf5d1cf,_0x4304c5,_0x4e6ad4);exports[_0x128e37(0x1d3)]=class extends t['FBase']{constructor(_0x407bf2,_0x123b85,_0x288439,_0x37dded,_0xbe9718){var _0x33f7b9=_0x128e37;super(),this[_0x33f7b9(0x1dd)]=_0x407bf2,this['_injector']=_0x123b85,this['_univerInstanceService']=_0x288439,this[_0x33f7b9(0x1ee)]=_0x37dded,this[_0x33f7b9(0x1f4)]=_0xbe9718;}async[_0x128e37(0x1e9)](){var _0x16c4f1=_0x128e37;throw new Error(_0x16c4f1(0x1e5));}async[_0x128e37(0x1db)](_0x510235){var _0x442074=_0x128e37;return this[_0x442074(0x1d5)]['getUnit'](_0x510235,t[_0x442074(0x1e7)][_0x442074(0x1f5)])||await this[_0x442074(0x1ee)][_0x442074(0x1e4)](_0x510235,0x0)?(await this['_collaborationController'][_0x442074(0x1fa)](_0x510235),this[_0x442074(0x1dd)][_0x442074(0x200)](_0x510235)):null;}[_0x128e37(0x1e0)](_0x1aa88f,_0x4977ee){var _0x2d5abb=_0x128e37;const _0x24caef=this['_injector'][_0x2d5abb(0x1f9)](c[_0x2d5abb(0x1f6)])[_0x2d5abb(0x1f8)](_0x1aa88f)[_0x2d5abb(0x1d6)](h[_0x2d5abb(0x1ea)](_0x38e1c8=>_0x38e1c8[_0x2d5abb(0x1e2)]))[_0x2d5abb(0x1fd)](_0x4e7bba=>_0x4977ee(Array['from'](_0x4e7bba[_0x2d5abb(0x1e8)]())));return t[_0x2d5abb(0x1d9)](_0x24caef);}},exports[_0x128e37(0x1d3)]=_([s(0x1,t[_0x128e37(0x201)](t[_0x128e37(0x1df)])),s(0x2,t[_0x128e37(0x1dc)]),s(0x3,t[_0x128e37(0x201)](b[_0x128e37(0x1fe)])),s(0x4,t['Inject'](c[_0x128e37(0x1f7)]))],exports[_0x128e37(0x1d3)]);class S extends t['FUniver']{['getCollaboration'](){var _0x4db436=_0x128e37;return this[_0x4db436(0x1ed)][_0x4db436(0x1d8)](exports[_0x4db436(0x1d3)],{'getUniverSheet':_0x1efbd8=>this[_0x4db436(0x200)](_0x1efbd8)});}}t['FUniver'][_0x128e37(0x1fc)](S);