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

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 _0x38e40a=_0x4e8e;(function(_0x4d0bbe,_0x16b17d){var _0x32fd5f=_0x4e8e,_0x8062cf=_0x4d0bbe();while(!![]){try{var _0xf2a29f=parseInt(_0x32fd5f(0x94))/0x1*(parseInt(_0x32fd5f(0x86))/0x2)+parseInt(_0x32fd5f(0x89))/0x3+-parseInt(_0x32fd5f(0x8b))/0x4*(parseInt(_0x32fd5f(0x92))/0x5)+parseInt(_0x32fd5f(0x85))/0x6+parseInt(_0x32fd5f(0xa3))/0x7+-parseInt(_0x32fd5f(0x90))/0x8*(parseInt(_0x32fd5f(0x91))/0x9)+-parseInt(_0x32fd5f(0x83))/0xa*(parseInt(_0x32fd5f(0x95))/0xb);if(_0xf2a29f===_0x16b17d)break;else _0x8062cf['push'](_0x8062cf['shift']());}catch(_0x27bc17){_0x8062cf['push'](_0x8062cf['shift']());}}}(_0x1f84,0xd091e));function _0x4e8e(_0x5eae64,_0x500404){var _0x1f840a=_0x1f84();return _0x4e8e=function(_0x4e8e96,_0x417c16){_0x4e8e96=_0x4e8e96-0x7d;var _0x285733=_0x1f840a[_0x4e8e96];return _0x285733;},_0x4e8e(_0x5eae64,_0x500404);}Object[_0x38e40a(0x9f)](exports,Symbol[_0x38e40a(0x82)],{'value':'Module'});const t=require(_0x38e40a(0x8d)),b=require(_0x38e40a(0x81)),c=require(_0x38e40a(0x8f)),h=require(_0x38e40a(0x93));var v=Object[_0x38e40a(0x9f)],u=Object[_0x38e40a(0x9c)],_=(_0x57a389,_0x43d659,_0x3b1807,_0x61a0ed)=>{var _0x484461=_0x38e40a;for(var _0x4a6671=_0x61a0ed>0x1?void 0x0:_0x61a0ed?u(_0x43d659,_0x3b1807):_0x43d659,_0x578609=_0x57a389[_0x484461(0xa9)]-0x1,_0x133ae1;_0x578609>=0x0;_0x578609--)(_0x133ae1=_0x57a389[_0x578609])&&(_0x4a6671=(_0x61a0ed?_0x133ae1(_0x43d659,_0x3b1807,_0x4a6671):_0x133ae1(_0x4a6671))||_0x4a6671);return _0x61a0ed&&_0x4a6671&&v(_0x43d659,_0x3b1807,_0x4a6671),_0x4a6671;},s=(_0x4f6210,_0x191551)=>(_0x44d891,_0x4f4a9e)=>_0x191551(_0x44d891,_0x4f4a9e,_0x4f6210);exports[_0x38e40a(0xa7)]=class extends t[_0x38e40a(0x80)]{constructor(_0x3ee093,_0x1551fa,_0x5503cc,_0x319e99,_0x26e078){var _0x3731da=_0x38e40a;super(),this[_0x3731da(0xa6)]=_0x3ee093,this[_0x3731da(0xac)]=_0x1551fa,this[_0x3731da(0x7f)]=_0x5503cc,this[_0x3731da(0xa1)]=_0x319e99,this[_0x3731da(0x96)]=_0x26e078;}async[_0x38e40a(0x88)](){var _0x4d1a6a=_0x38e40a;throw new Error(_0x4d1a6a(0xa8));}async[_0x38e40a(0x9d)](_0x399bae){var _0x502c1e=_0x38e40a;return this[_0x502c1e(0x7f)][_0x502c1e(0xa2)](_0x399bae,t['UniverInstanceType'][_0x502c1e(0x97)])||await this[_0x502c1e(0xa1)][_0x502c1e(0xa4)](_0x399bae,0x0)?(await this[_0x502c1e(0x96)][_0x502c1e(0x9a)](_0x399bae),this['_handler'][_0x502c1e(0xa5)](_0x399bae)):null;}['subscribeCollaborators'](_0x205c2b,_0x139f02){var _0x586b42=_0x38e40a;const _0x504556=this[_0x586b42(0xac)][_0x586b42(0xa0)](c['MemberService'])['waitForRoom$'](_0x205c2b)[_0x586b42(0x9e)](h[_0x586b42(0x87)](_0x3ff1a8=>_0x3ff1a8[_0x586b42(0x99)]))['subscribe'](_0x3ccac8=>_0x139f02(Array[_0x586b42(0xab)](_0x3ccac8[_0x586b42(0x9b)]())));return t[_0x586b42(0xad)](_0x504556);}},exports[_0x38e40a(0xa7)]=_([s(0x1,t[_0x38e40a(0x7e)](t[_0x38e40a(0xaa)])),s(0x2,t[_0x38e40a(0x7d)]),s(0x3,t[_0x38e40a(0x7e)](b[_0x38e40a(0x8e)])),s(0x4,t['Inject'](c[_0x38e40a(0x84)]))],exports[_0x38e40a(0xa7)]);class S extends t[_0x38e40a(0x8c)]{['getCollaboration'](){var _0x5ab612=_0x38e40a;return this[_0x5ab612(0xac)][_0x5ab612(0x8a)](exports[_0x5ab612(0xa7)],{'getUniverSheet':_0x4695db=>this[_0x5ab612(0xa5)](_0x4695db)});}}function _0x1f84(){var _0x108725=['478bhZumV','switchMap','loadActiveSheetAsync','3412581trjoOt','createInstance','8iOdnMQ','FUniver','@univerjs/core','SnapshotService','@univerjs-pro/collaboration-client','6640dynXBz','1989PYtToN','2467505RFNpub','rxjs','3281nuPhDw','20603nmJZCB','_collaborationController','UNIVER_SHEET','extend','members$','readyForCollab','values','getOwnPropertyDescriptor','loadSheetAsync','pipe','defineProperty','get','_snapshotService','getUnit','5213859bngivs','loadSheet','getUniverSheet','_handler','FCollaboration','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','length','Injector','from','_injector','toDisposable','IUniverInstanceService','Inject','_univerInstanceService','FBase','@univerjs-pro/collaboration','toStringTag','10090InHcMF','CollaborationController','7488408VTTbfw'];_0x1f84=function(){return _0x108725;};return _0x1f84();}t[_0x38e40a(0x8c)][_0x38e40a(0x98)](S);
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);