@univerjs-pro/collaboration-client 0.7.0-beta.0 → 0.7.0-nightly.202504291607

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 _0x142e47=_0x260c;(function(_0x6ed690,_0x3220c7){var _0x284fdc=_0x260c,_0x343818=_0x6ed690();while(!![]){try{var _0x5917fd=parseInt(_0x284fdc(0x8f))/0x1+-parseInt(_0x284fdc(0x8b))/0x2+-parseInt(_0x284fdc(0x6f))/0x3+-parseInt(_0x284fdc(0x74))/0x4*(-parseInt(_0x284fdc(0x7a))/0x5)+parseInt(_0x284fdc(0x6d))/0x6*(parseInt(_0x284fdc(0x96))/0x7)+parseInt(_0x284fdc(0x85))/0x8*(-parseInt(_0x284fdc(0x7b))/0x9)+parseInt(_0x284fdc(0x6a))/0xa;if(_0x5917fd===_0x3220c7)break;else _0x343818['push'](_0x343818['shift']());}catch(_0x10a7ab){_0x343818['push'](_0x343818['shift']());}}}(_0xd8b5,0x7bcac));function _0xd8b5(){var _0xb445cf=['loadSheetAsync','531224hzLVae','_snapshotService','@univerjs-pro/collaboration','FBase','extend','rxjs','25LZURnz','174051KlWeaA','_univerInstanceService','subscribe','Inject','createInstance','members$','from','@univerjs/core/facade','getOwnPropertyDescriptor','_collaborationController','160SFibWo','CollaborationController','getCollaboration','readyForCollab','loadSheet','SnapshotService','1012498LopIPn','loadUnit','getUniverSheet','_injector','374366OOmvSC','FCollaboration','toDisposable','values','toStringTag','FUniver','switchMap','189nJGXoh','DataLoaderService','_handler','pipe','loadServerUnit','2091040rSiHKi','length','defineProperty','200598AhNkgY','get','2250330NLtnwp','loadActiveSheetAsync','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','@univerjs/core'];_0xd8b5=function(){return _0xb445cf;};return _0xd8b5();}Object[_0x142e47(0x6c)](exports,Symbol[_0x142e47(0x93)],{'value':'Module'});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x142e47(0x82)),v=require(_0x142e47(0x76)),i=require(_0x142e47(0x72)),b=require(_0x142e47(0x79));var S=Object[_0x142e47(0x83)],d=(_0x426ddd,_0x4564a3,_0x5bb6f4,_0x99f428)=>{var _0x3175f4=_0x142e47;for(var _0x4d1a2b=_0x99f428>0x1?void 0x0:_0x99f428?S(_0x4564a3,_0x5bb6f4):_0x4564a3,_0x5f3887=_0x426ddd[_0x3175f4(0x6b)]-0x1,_0x3c8de1;_0x5f3887>=0x0;_0x5f3887--)(_0x3c8de1=_0x426ddd[_0x5f3887])&&(_0x4d1a2b=_0x3c8de1(_0x4d1a2b)||_0x4d1a2b);return _0x4d1a2b;},s=(_0x3e4a12,_0x1ea92b)=>(_0x443905,_0x3bddac)=>_0x1ea92b(_0x443905,_0x3bddac,_0x3e4a12);function _0x260c(_0x1914de,_0x310299){var _0xd8b5c0=_0xd8b5();return _0x260c=function(_0x260c0b,_0x4e7a98){_0x260c0b=_0x260c0b-0x6a;var _0x525282=_0xd8b5c0[_0x260c0b];return _0x525282;},_0x260c(_0x1914de,_0x310299);}exports[_0x142e47(0x90)]=class extends l[_0x142e47(0x77)]{constructor(_0x59219e,_0x38c5cd,_0xdf0a1c,_0x409248,_0x1b0806){var _0x4e0daf=_0x142e47;super(),this[_0x4e0daf(0x98)]=_0x59219e,this[_0x4e0daf(0x8e)]=_0x38c5cd,this[_0x4e0daf(0x7c)]=_0xdf0a1c,this[_0x4e0daf(0x75)]=_0x409248,this['_collaborationController']=_0x1b0806;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async[_0x142e47(0x70)](){var _0x5457b6=_0x142e47;throw new Error(_0x5457b6(0x71));}async[_0x142e47(0x89)](_0xf0254d){var _0x3f2a3f=_0x142e47;return this[_0x3f2a3f(0x73)](_0xf0254d);}async[_0x142e47(0x73)](_0x27069c,_0x1a4c04){var _0x3776df=_0x142e47;return await this[_0x3776df(0x75)]['loadSheet'](_0x27069c,0x0,_0x1a4c04)?(await this[_0x3776df(0x84)][_0x3776df(0x88)](_0x27069c),this['_handler']['getUniverSheet'](_0x27069c)):null;}['subscribeCollaborators'](_0x550a4c,_0x3aab4d){var _0x1b2638=_0x142e47;const _0x595d29=this[_0x1b2638(0x8e)][_0x1b2638(0x6e)](c['MemberService'])['waitForRoom$'](_0x550a4c)[_0x1b2638(0x99)](b[_0x1b2638(0x95)](_0x4697bc=>_0x4697bc[_0x1b2638(0x80)]))[_0x1b2638(0x7d)](_0x11bffa=>_0x3aab4d(Array[_0x1b2638(0x81)](_0x11bffa[_0x1b2638(0x92)]())));return i[_0x1b2638(0x91)](_0x595d29);}},exports['FCollaboration']=d([s(0x1,i['Inject'](i['Injector'])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x142e47(0x7e)](v[_0x142e47(0x8a)])),s(0x4,i[_0x142e47(0x7e)](c[_0x142e47(0x86)]))],exports['FCollaboration']);class u extends l['FUniver']{[_0x142e47(0x87)](){var _0x4608dd=_0x142e47;return this[_0x4608dd(0x8e)]['createInstance'](exports['FCollaboration'],{'getUniverSheet':_0xf92973=>this[_0x4608dd(0x8d)](_0xf92973)});}[_0x142e47(0x9a)](_0x416de3,_0x442692,_0x574d22){var _0x102981=_0x142e47;return this['_injector'][_0x102981(0x7f)](c[_0x102981(0x97)])[_0x102981(0x8c)](_0x416de3,_0x442692,_0x574d22);}}l[_0x142e47(0x94)][_0x142e47(0x78)](u);
1
+ 'use strict';function _0x33cc(_0x5ddacd,_0x41af53){var _0x5d5de8=_0x5d5d();return _0x33cc=function(_0x33cc72,_0x326ac8){_0x33cc72=_0x33cc72-0xa3;var _0x23afb6=_0x5d5de8[_0x33cc72];return _0x23afb6;},_0x33cc(_0x5ddacd,_0x41af53);}function _0x5d5d(){var _0x3c3954=['loadSheetAsync','members$','9832scQErX','2954oeesXA','readyForCollab','DataLoaderService','subscribeCollaborators','11479584jfMQxm','SnapshotService','loadUnit','_univerInstanceService','FUniver','498468jLvQUv','loadActiveSheetAsync','rxjs','@univerjs-pro/collaboration','loadSheet','@univerjs/core/facade','createInstance','defineProperty','switchMap','20mgfhIX','1355761BbntZc','_handler','getUniverSheet','_injector','18wnYOIH','_snapshotService','2715432DzSzBU','IUniverInstanceService','5apOUha','from','toDisposable','3EtFYzb','Inject','get','Injector','pipe','extend','11705cmCOnH','3171753zvNwHT','_collaborationController','@univerjs/core','MemberService','getCollaboration','loadServerUnit','getOwnPropertyDescriptor','FCollaboration'];_0x5d5d=function(){return _0x3c3954;};return _0x5d5d();}var _0x4c92bb=_0x33cc;(function(_0x217d59,_0x190899){var _0x345ffd=_0x33cc,_0x2b2e5b=_0x217d59();while(!![]){try{var _0x56103a=-parseInt(_0x345ffd(0xb9))/0x1*(-parseInt(_0x345ffd(0xac))/0x2)+-parseInt(_0x345ffd(0xb3))/0x3*(-parseInt(_0x345ffd(0xce))/0x4)+parseInt(_0x345ffd(0xb0))/0x5*(-parseInt(_0x345ffd(0xae))/0x6)+-parseInt(_0x345ffd(0xc5))/0x7*(parseInt(_0x345ffd(0xc4))/0x8)+parseInt(_0x345ffd(0xba))/0x9+parseInt(_0x345ffd(0xa7))/0xa*(-parseInt(_0x345ffd(0xa8))/0xb)+parseInt(_0x345ffd(0xc9))/0xc;if(_0x56103a===_0x190899)break;else _0x2b2e5b['push'](_0x2b2e5b['shift']());}catch(_0x1d3f78){_0x2b2e5b['push'](_0x2b2e5b['shift']());}}}(_0x5d5d,0x4e713));Object[_0x4c92bb(0xa5)](exports,Symbol['toStringTag'],{'value':'Module'});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x4c92bb(0xa3)),v=require(_0x4c92bb(0xd1)),i=require(_0x4c92bb(0xbc)),b=require(_0x4c92bb(0xd0));var S=Object[_0x4c92bb(0xc0)],d=(_0x5afd9f,_0x2317d3,_0x53536c,_0x2f6601)=>{for(var _0x3c9993=_0x2f6601>0x1?void 0x0:_0x2f6601?S(_0x2317d3,_0x53536c):_0x2317d3,_0x2bd7e9=_0x5afd9f['length']-0x1,_0x4ec952;_0x2bd7e9>=0x0;_0x2bd7e9--)(_0x4ec952=_0x5afd9f[_0x2bd7e9])&&(_0x3c9993=_0x4ec952(_0x3c9993)||_0x3c9993);return _0x3c9993;},s=(_0x5cbc6f,_0x1dc9ac)=>(_0x1b8f2f,_0xf13481)=>_0x1dc9ac(_0x1b8f2f,_0xf13481,_0x5cbc6f);exports[_0x4c92bb(0xc1)]=class extends l['FBase']{constructor(_0x5a2086,_0x45133b,_0x128170,_0x41c331,_0xe5bf){var _0x5008b6=_0x4c92bb;super(),this[_0x5008b6(0xa9)]=_0x5a2086,this[_0x5008b6(0xab)]=_0x45133b,this[_0x5008b6(0xcc)]=_0x128170,this[_0x5008b6(0xad)]=_0x41c331,this[_0x5008b6(0xbb)]=_0xe5bf;}async['loadActiveSheet'](){var _0x47dba6=_0x4c92bb;return this[_0x47dba6(0xcf)]();}async[_0x4c92bb(0xcf)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x4c92bb(0xd2)](_0x2e7802){var _0x3ff6b7=_0x4c92bb;return this[_0x3ff6b7(0xc2)](_0x2e7802);}async[_0x4c92bb(0xc2)](_0x207021,_0x212949){var _0x461735=_0x4c92bb;return await this[_0x461735(0xad)]['loadSheet'](_0x207021,0x0,_0x212949)?(await this['_collaborationController'][_0x461735(0xc6)](_0x207021),this['_handler'][_0x461735(0xaa)](_0x207021)):null;}[_0x4c92bb(0xc8)](_0x26c859,_0x4f1b6b){var _0x37e42a=_0x4c92bb;const _0x3faf87=this[_0x37e42a(0xab)][_0x37e42a(0xb5)](c[_0x37e42a(0xbd)])['waitForRoom$'](_0x26c859)[_0x37e42a(0xb7)](b[_0x37e42a(0xa6)](_0x32964a=>_0x32964a[_0x37e42a(0xc3)]))['subscribe'](_0xde8fbb=>_0x4f1b6b(Array[_0x37e42a(0xb1)](_0xde8fbb['values']())));return i[_0x37e42a(0xb2)](_0x3faf87);}},exports[_0x4c92bb(0xc1)]=d([s(0x1,i['Inject'](i[_0x4c92bb(0xb6)])),s(0x2,i[_0x4c92bb(0xaf)]),s(0x3,i[_0x4c92bb(0xb4)](v[_0x4c92bb(0xca)])),s(0x4,i['Inject'](c['CollaborationController']))],exports[_0x4c92bb(0xc1)]);class u extends l[_0x4c92bb(0xcd)]{[_0x4c92bb(0xbe)](){var _0x3a6ff7=_0x4c92bb;return this[_0x3a6ff7(0xab)][_0x3a6ff7(0xa4)](exports[_0x3a6ff7(0xc1)],{'getUniverSheet':_0x9c2d62=>this[_0x3a6ff7(0xaa)](_0x9c2d62)});}[_0x4c92bb(0xbf)](_0x5acf7f,_0x153f54,_0x5e1414){var _0x404e64=_0x4c92bb;return this[_0x404e64(0xab)][_0x404e64(0xa4)](c[_0x404e64(0xc7)])[_0x404e64(0xcb)](_0x5acf7f,_0x153f54,_0x5e1414);}}l['FUniver'][_0x4c92bb(0xb8)](u);