@univerjs-pro/collaboration-client 0.9.2-nightly.202507111607 → 0.9.2-nightly.202507121606

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 _0x551d6f=_0x35c2;(function(_0x1eb1d2,_0x2adc79){var _0x5571fc=_0x35c2,_0x5166c8=_0x1eb1d2();while(!![]){try{var _0x42ee48=-parseInt(_0x5571fc(0x7f))/0x1*(parseInt(_0x5571fc(0x86))/0x2)+-parseInt(_0x5571fc(0x71))/0x3+parseInt(_0x5571fc(0x89))/0x4*(parseInt(_0x5571fc(0x94))/0x5)+-parseInt(_0x5571fc(0x8f))/0x6*(parseInt(_0x5571fc(0x96))/0x7)+-parseInt(_0x5571fc(0x8c))/0x8+parseInt(_0x5571fc(0x7c))/0x9*(parseInt(_0x5571fc(0x9b))/0xa)+parseInt(_0x5571fc(0x99))/0xb;if(_0x42ee48===_0x2adc79)break;else _0x5166c8['push'](_0x5166c8['shift']());}catch(_0x4e4042){_0x5166c8['push'](_0x5166c8['shift']());}}}(_0x31a1,0x4a6c1));function _0x35c2(_0x35b10c,_0x38fa88){var _0x31a1ae=_0x31a1();return _0x35c2=function(_0x35c2d6,_0x46b3f6){_0x35c2d6=_0x35c2d6-0x6f;var _0x36558e=_0x31a1ae[_0x35c2d6];return _0x36558e;},_0x35c2(_0x35b10c,_0x38fa88);}Object[_0x551d6f(0x90)](exports,Symbol[_0x551d6f(0x95)],{'value':_0x551d6f(0x80)});const c=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),h=require('@univerjs-pro/collaboration'),n=require('@univerjs/core'),b=require('rxjs');var d=Object[_0x551d6f(0x7d)],S=(_0x3fe60b,_0x3b416b,_0x2c530c,_0x43915b)=>{var _0x2867e2=_0x551d6f;for(var _0x5ce18b=_0x43915b>0x1?void 0x0:_0x43915b?d(_0x3b416b,_0x2c530c):_0x3b416b,_0x5ea6fb=_0x3fe60b[_0x2867e2(0x73)]-0x1,_0x3c7704;_0x5ea6fb>=0x0;_0x5ea6fb--)(_0x3c7704=_0x3fe60b[_0x5ea6fb])&&(_0x5ce18b=_0x3c7704(_0x5ce18b)||_0x5ce18b);return _0x5ce18b;},s=(_0xcd63c,_0x557864)=>(_0x5645e8,_0x5a2122)=>_0x557864(_0x5645e8,_0x5a2122,_0xcd63c);exports[_0x551d6f(0x83)]=class extends l[_0x551d6f(0x97)]{constructor(_0x25331f,_0x1ae40c,_0xed971d,_0x4e65ef,_0x565594){var _0x158f59=_0x551d6f;super(),this[_0x158f59(0x8d)]=_0x25331f,this[_0x158f59(0x78)]=_0x1ae40c,this[_0x158f59(0x87)]=_0xed971d,this[_0x158f59(0x8b)]=_0x4e65ef,this['_collaborationController']=_0x565594;}async['loadActiveSheet'](){var _0x47367f=_0x551d6f;return this[_0x47367f(0x8a)]();}async[_0x551d6f(0x8a)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x33a6fc){var _0x1cf8ac=_0x551d6f;return this[_0x1cf8ac(0x9c)](_0x33a6fc);}async['loadSheetAsync'](_0x16bebe,_0x1e429b){var _0x4915ac=_0x551d6f;return await this['_snapshotService'][_0x4915ac(0x9a)](_0x16bebe,0x0,_0x1e429b)?(await this[_0x4915ac(0x74)]['readyForCollab'](_0x16bebe),this[_0x4915ac(0x8d)][_0x4915ac(0x8e)](_0x16bebe)):null;}[_0x551d6f(0x91)](_0x5da876,_0x2291d5){var _0x14a3f1=_0x551d6f;const _0x204efc=this[_0x14a3f1(0x78)][_0x14a3f1(0x70)](c[_0x14a3f1(0x75)])[_0x14a3f1(0x84)](_0x5da876)[_0x14a3f1(0x72)](b[_0x14a3f1(0x77)](_0x31b76a=>_0x31b76a['members$']))[_0x14a3f1(0x81)](_0x15a490=>_0x2291d5(Array['from'](_0x15a490[_0x14a3f1(0x7b)]())));return n[_0x14a3f1(0x98)](_0x204efc);}},exports[_0x551d6f(0x83)]=S([s(0x1,n['Inject'](n[_0x551d6f(0x79)])),s(0x2,n['IUniverInstanceService']),s(0x3,n[_0x551d6f(0x7e)](h[_0x551d6f(0x88)])),s(0x4,n[_0x551d6f(0x7e)](c['CollaborationController']))],exports[_0x551d6f(0x83)]);class u extends l['FUniver']{['getCollaboration'](){var _0x2db7ac=_0x551d6f;return this['_injector'][_0x2db7ac(0x92)](exports[_0x2db7ac(0x83)],{'getUniverSheet':_0x48088a=>this[_0x2db7ac(0x8e)](_0x48088a)});}[_0x551d6f(0x85)](_0x59e69e,_0xcfdf40,_0x262730){var _0x3de268=_0x551d6f;return this[_0x3de268(0x78)][_0x3de268(0x70)](c[_0x3de268(0x82)])[_0x3de268(0x6f)](_0x59e69e,_0xcfdf40,_0x262730);}['loadServerUnitOfRevision'](_0x48f544,_0x4262a4,_0x285342){var _0x55aca7=_0x551d6f;return this[_0x55aca7(0x78)][_0x55aca7(0x70)](c[_0x55aca7(0x82)])[_0x55aca7(0x76)](_0x48f544,_0x4262a4,_0x285342);}}function _0x31a1(){var _0x3a4c9b=['toStringTag','4697AlFtFi','FBase','toDisposable','20255829pIzuGL','loadSheet','165130bSrUAx','loadSheetAsync','loadUnit','get','1787115BgxLVz','pipe','length','_collaborationController','MemberService','loadUnitOfRevision','switchMap','_injector','Injector','FUniver','values','54eTQiiL','getOwnPropertyDescriptor','Inject','12gMqEhd','Module','subscribe','DataLoaderService','FCollaboration','waitForRoom$','loadServerUnit','87146SbDhwX','_univerInstanceService','SnapshotService','4892ZTLVDy','loadActiveSheetAsync','_snapshotService','4138632znZIvd','_handler','getUniverSheet','4602sqDEez','defineProperty','subscribeCollaborators','createInstance','extend','2105qTTDxK'];_0x31a1=function(){return _0x3a4c9b;};return _0x31a1();}l[_0x551d6f(0x7a)][_0x551d6f(0x93)](u);
1
+ 'use strict';var _0x2e85b6=_0xc608;function _0xc608(_0x4e8ed6,_0x89e8b3){var _0x3fbcf2=_0x3fbc();return _0xc608=function(_0xc6089f,_0x4aca43){_0xc6089f=_0xc6089f-0x1b6;var _0x57f21e=_0x3fbcf2[_0xc6089f];return _0x57f21e;},_0xc608(_0x4e8ed6,_0x89e8b3);}(function(_0x13e8dc,_0x44d04d){var _0x2caa23=_0xc608,_0x49788b=_0x13e8dc();while(!![]){try{var _0x2a5a93=parseInt(_0x2caa23(0x1da))/0x1+parseInt(_0x2caa23(0x1dd))/0x2+-parseInt(_0x2caa23(0x1bf))/0x3*(-parseInt(_0x2caa23(0x1d5))/0x4)+parseInt(_0x2caa23(0x1b8))/0x5*(parseInt(_0x2caa23(0x1b9))/0x6)+parseInt(_0x2caa23(0x1e1))/0x7+parseInt(_0x2caa23(0x1e0))/0x8+parseInt(_0x2caa23(0x1d6))/0x9*(-parseInt(_0x2caa23(0x1ba))/0xa);if(_0x2a5a93===_0x44d04d)break;else _0x49788b['push'](_0x49788b['shift']());}catch(_0x1c38a6){_0x49788b['push'](_0x49788b['shift']());}}}(_0x3fbc,0xda8ed));Object['defineProperty'](exports,Symbol[_0x2e85b6(0x1d0)],{'value':'Module'});const c=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),h=require('@univerjs-pro/collaboration'),n=require('@univerjs/core'),b=require('rxjs');var d=Object[_0x2e85b6(0x1c5)],S=(_0x4f1c5d,_0x10e2ab,_0x124179,_0x3fc76a)=>{var _0x29bb38=_0x2e85b6;for(var _0x37f6b6=_0x3fc76a>0x1?void 0x0:_0x3fc76a?d(_0x10e2ab,_0x124179):_0x10e2ab,_0xe0c5b3=_0x4f1c5d[_0x29bb38(0x1bc)]-0x1,_0x451e0f;_0xe0c5b3>=0x0;_0xe0c5b3--)(_0x451e0f=_0x4f1c5d[_0xe0c5b3])&&(_0x37f6b6=_0x451e0f(_0x37f6b6)||_0x37f6b6);return _0x37f6b6;},s=(_0x5b4e81,_0x261476)=>(_0x3204fd,_0x40d392)=>_0x261476(_0x3204fd,_0x40d392,_0x5b4e81);exports[_0x2e85b6(0x1c1)]=class extends l['FBase']{constructor(_0x37a9b8,_0x2b0096,_0x1d1805,_0x21ded0,_0xd7f181){var _0x3d2239=_0x2e85b6;super(),this['_handler']=_0x37a9b8,this['_injector']=_0x2b0096,this[_0x3d2239(0x1ca)]=_0x1d1805,this[_0x3d2239(0x1c3)]=_0x21ded0,this[_0x3d2239(0x1c4)]=_0xd7f181;}async[_0x2e85b6(0x1cd)](){return this['loadActiveSheetAsync']();}async['loadActiveSheetAsync'](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x2e85b6(0x1b6)](_0x3d72fe){var _0x45f4f5=_0x2e85b6;return this[_0x45f4f5(0x1bd)](_0x3d72fe);}async[_0x2e85b6(0x1bd)](_0x5cba4d,_0x5a50fa){var _0x4fb769=_0x2e85b6;return await this[_0x4fb769(0x1c3)]['loadSheet'](_0x5cba4d,0x0,_0x5a50fa)?(await this[_0x4fb769(0x1c4)][_0x4fb769(0x1cf)](_0x5cba4d),this['_handler'][_0x4fb769(0x1d8)](_0x5cba4d)):null;}['subscribeCollaborators'](_0xc427e4,_0x245af4){var _0x4b3331=_0x2e85b6;const _0x237b53=this[_0x4b3331(0x1db)][_0x4b3331(0x1d1)](c[_0x4b3331(0x1c0)])[_0x4b3331(0x1d9)](_0xc427e4)[_0x4b3331(0x1bb)](b[_0x4b3331(0x1be)](_0x31add3=>_0x31add3['members$']))[_0x4b3331(0x1de)](_0x73d266=>_0x245af4(Array[_0x4b3331(0x1c8)](_0x73d266[_0x4b3331(0x1c7)]())));return n['toDisposable'](_0x237b53);}},exports[_0x2e85b6(0x1c1)]=S([s(0x1,n['Inject'](n[_0x2e85b6(0x1c2)])),s(0x2,n[_0x2e85b6(0x1d4)]),s(0x3,n[_0x2e85b6(0x1d3)](h[_0x2e85b6(0x1c6)])),s(0x4,n['Inject'](c['CollaborationController']))],exports[_0x2e85b6(0x1c1)]);class u extends l[_0x2e85b6(0x1df)]{[_0x2e85b6(0x1d7)](){var _0x731dc0=_0x2e85b6;return this['_injector'][_0x731dc0(0x1cb)](exports[_0x731dc0(0x1c1)],{'getUniverSheet':_0x174828=>this[_0x731dc0(0x1d8)](_0x174828)});}[_0x2e85b6(0x1ce)](_0x1cfbbb,_0x289f7b,_0x2d6c0e){var _0x3dc89c=_0x2e85b6;return this[_0x3dc89c(0x1db)][_0x3dc89c(0x1d1)](c[_0x3dc89c(0x1c9)])[_0x3dc89c(0x1d2)](_0x1cfbbb,_0x289f7b,_0x2d6c0e);}[_0x2e85b6(0x1cc)](_0x443ac0,_0x292ad8,_0x22581f){var _0x42f4d1=_0x2e85b6;return this[_0x42f4d1(0x1db)][_0x42f4d1(0x1d1)](c[_0x42f4d1(0x1c9)])[_0x42f4d1(0x1dc)](_0x443ac0,_0x292ad8,_0x22581f);}}l[_0x2e85b6(0x1df)][_0x2e85b6(0x1b7)](u);function _0x3fbc(){var _0x2d77c4=['322172VPJdLg','subscribe','FUniver','13779080oyDRuL','1997982LlVBMw','loadSheet','extend','5vZxVeM','7147074sqAeSj','14210YritVo','pipe','length','loadSheetAsync','switchMap','3322167RNDoDd','MemberService','FCollaboration','Injector','_snapshotService','_collaborationController','getOwnPropertyDescriptor','SnapshotService','values','from','DataLoaderService','_univerInstanceService','createInstance','loadServerUnitOfRevision','loadActiveSheet','loadServerUnit','readyForCollab','toStringTag','get','loadUnit','Inject','IUniverInstanceService','4ZQjWlF','23373vQNGSd','getCollaboration','getUniverSheet','waitForRoom$','118085dGzZcF','_injector','loadUnitOfRevision'];_0x3fbc=function(){return _0x2d77c4;};return _0x3fbc();}