@univerjs-pro/collaboration-client 0.6.0-nightly.202502181606 → 0.6.0-nightly.202502201606

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 _0x2ed5b9=_0x26df;(function(_0x5b6964,_0x2df0bf){var _0x5ad9b2=_0x26df,_0x3356d6=_0x5b6964();while(!![]){try{var _0x21bc79=-parseInt(_0x5ad9b2(0x20f))/0x1*(parseInt(_0x5ad9b2(0x208))/0x2)+parseInt(_0x5ad9b2(0x211))/0x3*(parseInt(_0x5ad9b2(0x1e9))/0x4)+parseInt(_0x5ad9b2(0x1f3))/0x5+-parseInt(_0x5ad9b2(0x1f7))/0x6*(parseInt(_0x5ad9b2(0x1f4))/0x7)+-parseInt(_0x5ad9b2(0x1e6))/0x8+-parseInt(_0x5ad9b2(0x206))/0x9+parseInt(_0x5ad9b2(0x1e8))/0xa*(parseInt(_0x5ad9b2(0x1f2))/0xb);if(_0x21bc79===_0x2df0bf)break;else _0x3356d6['push'](_0x3356d6['shift']());}catch(_0x10fba9){_0x3356d6['push'](_0x3356d6['shift']());}}}(_0x149f,0x87394));Object['defineProperty'](exports,Symbol[_0x2ed5b9(0x1fa)],{'value':_0x2ed5b9(0x1f1)});function _0x26df(_0x1db5c9,_0x35bb40){var _0x149faa=_0x149f();return _0x26df=function(_0x26df1c,_0x5698e7){_0x26df1c=_0x26df1c-0x1e3;var _0x199c81=_0x149faa[_0x26df1c];return _0x199c81;},_0x26df(_0x1db5c9,_0x35bb40);}const c=require(_0x2ed5b9(0x1e4)),b=require(_0x2ed5b9(0x202)),h=require('@univerjs-pro/collaboration-client'),i=require(_0x2ed5b9(0x201)),v=require('rxjs');function _0x149f(){var _0x134460=['pipe','loadActiveSheet','FUniver','Module','26325079sKuaCo','2067545jKaull','97769JgiYvE','getCollaboration','Injector','474cSSNeE','FBase','_collaborationController','toStringTag','loadSheet','waitForRoom$','loadActiveSheetAsync','_snapshotService','members$','SnapshotService','@univerjs/core','@univerjs-pro/collaboration','subscribeCollaborators','MemberService','switchMap','6345702pPNuIg','getOwnPropertyDescriptor','1522354xBTFXR','_handler','FCollaboration','extend','IUniverInstanceService','readyForCollab','CollaborationController','1ELORLT','get','99kRoBem','_injector','loadSheetAsync','@univerjs/core/facade','createInstance','5138552TGHeLJ','subscribe','10dNmDpc','116260CScdRI','Inject','length','values','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.'];_0x149f=function(){return _0x134460;};return _0x149f();}var u=Object['defineProperty'],S=Object[_0x2ed5b9(0x207)],_=(_0x9d58be,_0x43bd18,_0x3a9f0e,_0x25970c)=>{var _0xc33b0d=_0x2ed5b9;for(var _0x5883b9=_0x25970c>0x1?void 0x0:_0x25970c?S(_0x43bd18,_0x3a9f0e):_0x43bd18,_0x33938f=_0x9d58be[_0xc33b0d(0x1eb)]-0x1,_0x51f718;_0x33938f>=0x0;_0x33938f--)(_0x51f718=_0x9d58be[_0x33938f])&&(_0x5883b9=(_0x25970c?_0x51f718(_0x43bd18,_0x3a9f0e,_0x5883b9):_0x51f718(_0x5883b9))||_0x5883b9);return _0x25970c&&_0x5883b9&&u(_0x43bd18,_0x3a9f0e,_0x5883b9),_0x5883b9;},s=(_0x3f2c4d,_0x18c040)=>(_0x1a746f,_0x48e982)=>_0x18c040(_0x1a746f,_0x48e982,_0x3f2c4d);exports['FCollaboration']=class extends c[_0x2ed5b9(0x1f8)]{constructor(_0x27b6a1,_0x1e4ff5,_0x22311d,_0x5f08d2,_0x248cf8){var _0x1f532d=_0x2ed5b9;super(),this[_0x1f532d(0x209)]=_0x27b6a1,this['_injector']=_0x1e4ff5,this['_univerInstanceService']=_0x22311d,this[_0x1f532d(0x1fe)]=_0x5f08d2,this[_0x1f532d(0x1f9)]=_0x248cf8;}async[_0x2ed5b9(0x1ef)](){var _0x190125=_0x2ed5b9;return this[_0x190125(0x1fd)]();}async['loadActiveSheetAsync'](){var _0x2fdd0b=_0x2ed5b9;throw new Error(_0x2fdd0b(0x1ed));}async['loadSheet'](_0x2a11d9){var _0x162309=_0x2ed5b9;return this[_0x162309(0x1e3)](_0x2a11d9);}async['loadSheetAsync'](_0x3a1403,_0x5182ab){var _0xe2d29e=_0x2ed5b9;return await this[_0xe2d29e(0x1fe)][_0xe2d29e(0x1fb)](_0x3a1403,0x0,_0x5182ab)?(await this[_0xe2d29e(0x1f9)][_0xe2d29e(0x20d)](_0x3a1403),this[_0xe2d29e(0x209)]['getUniverSheet'](_0x3a1403)):null;}[_0x2ed5b9(0x203)](_0x31c892,_0x541a32){var _0x22fc86=_0x2ed5b9;const _0x3ae449=this[_0x22fc86(0x212)][_0x22fc86(0x210)](h[_0x22fc86(0x204)])[_0x22fc86(0x1fc)](_0x31c892)[_0x22fc86(0x1ee)](v[_0x22fc86(0x205)](_0x3d620c=>_0x3d620c[_0x22fc86(0x1ff)]))[_0x22fc86(0x1e7)](_0x4d7b22=>_0x541a32(Array['from'](_0x4d7b22[_0x22fc86(0x1ec)]())));return i['toDisposable'](_0x3ae449);}},exports[_0x2ed5b9(0x20a)]=_([s(0x1,i[_0x2ed5b9(0x1ea)](i[_0x2ed5b9(0x1f6)])),s(0x2,i[_0x2ed5b9(0x20c)]),s(0x3,i[_0x2ed5b9(0x1ea)](b[_0x2ed5b9(0x200)])),s(0x4,i['Inject'](h[_0x2ed5b9(0x20e)]))],exports[_0x2ed5b9(0x20a)]);class d extends c[_0x2ed5b9(0x1f0)]{[_0x2ed5b9(0x1f5)](){var _0x4c8fe4=_0x2ed5b9;return this[_0x4c8fe4(0x212)][_0x4c8fe4(0x1e5)](exports[_0x4c8fe4(0x20a)],{'getUniverSheet':_0x330619=>this['getUniverSheet'](_0x330619)});}}c[_0x2ed5b9(0x1f0)][_0x2ed5b9(0x20b)](d);
1
+ 'use strict';var _0x3738b3=_0x117f;(function(_0x42fae9,_0x437ffe){var _0x1cba39=_0x117f,_0x437b02=_0x42fae9();while(!![]){try{var _0x1c3a3f=parseInt(_0x1cba39(0x80))/0x1+-parseInt(_0x1cba39(0x8a))/0x2*(-parseInt(_0x1cba39(0x6b))/0x3)+-parseInt(_0x1cba39(0x7c))/0x4*(-parseInt(_0x1cba39(0x71))/0x5)+parseInt(_0x1cba39(0x66))/0x6+-parseInt(_0x1cba39(0x76))/0x7*(parseInt(_0x1cba39(0x82))/0x8)+parseInt(_0x1cba39(0x74))/0x9+-parseInt(_0x1cba39(0x7a))/0xa*(parseInt(_0x1cba39(0x6d))/0xb);if(_0x1c3a3f===_0x437ffe)break;else _0x437b02['push'](_0x437b02['shift']());}catch(_0x2689f5){_0x437b02['push'](_0x437b02['shift']());}}}(_0x4112,0xde3b0));function _0x4112(){var _0xb91898=['toStringTag','rxjs','defineProperty','_snapshotService','2OCnteW','subscribe','@univerjs/core','loadSheetAsync','2302776BFlIDd','FUniver','_collaborationController','switchMap','Module','1551201DRBnfG','from','11NKVvUs','MemberService','_injector','@univerjs-pro/collaboration-client','685mghWHB','IUniverInstanceService','SnapshotService','6891678nZFgYU','FCollaboration','3382981UFkWTh','loadSheet','Inject','get','3385970rBZQtF','CollaborationController','6824fSGSRz','getUniverSheet','loadActiveSheetAsync','subscribeCollaborators','798375EEgLFQ','readyForCollab','24JQhqme','Injector','loadActiveSheet','length'];_0x4112=function(){return _0xb91898;};return _0x4112();}function _0x117f(_0x377517,_0x4b2d45){var _0x41120a=_0x4112();return _0x117f=function(_0x117f85,_0x6f339c){_0x117f85=_0x117f85-0x64;var _0x393c5d=_0x41120a[_0x117f85];return _0x393c5d;},_0x117f(_0x377517,_0x4b2d45);}Object[_0x3738b3(0x88)](exports,Symbol[_0x3738b3(0x86)],{'value':_0x3738b3(0x6a)});const l=require('@univerjs/core/facade'),b=require('@univerjs-pro/collaboration'),h=require(_0x3738b3(0x70)),i=require(_0x3738b3(0x64)),v=require(_0x3738b3(0x87));var u=Object['getOwnPropertyDescriptor'],S=(_0x108acb,_0x2dfda3,_0x2410c8,_0x51be43)=>{var _0x167bea=_0x3738b3;for(var _0x11ce90=_0x51be43>0x1?void 0x0:_0x51be43?u(_0x2dfda3,_0x2410c8):_0x2dfda3,_0x18d0a2=_0x108acb[_0x167bea(0x85)]-0x1,_0x21fa7d;_0x18d0a2>=0x0;_0x18d0a2--)(_0x21fa7d=_0x108acb[_0x18d0a2])&&(_0x11ce90=_0x21fa7d(_0x11ce90)||_0x11ce90);return _0x11ce90;},s=(_0x322846,_0x24f669)=>(_0x13bc6a,_0x403bd1)=>_0x24f669(_0x13bc6a,_0x403bd1,_0x322846);exports[_0x3738b3(0x75)]=class extends l['FBase']{constructor(_0x41582c,_0x1d2462,_0x265432,_0x1cb418,_0x4c29a2){var _0x5dbca2=_0x3738b3;super(),this['_handler']=_0x41582c,this[_0x5dbca2(0x6f)]=_0x1d2462,this['_univerInstanceService']=_0x265432,this[_0x5dbca2(0x89)]=_0x1cb418,this[_0x5dbca2(0x68)]=_0x4c29a2;}async[_0x3738b3(0x84)](){var _0x550918=_0x3738b3;return this[_0x550918(0x7e)]();}async[_0x3738b3(0x7e)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x3738b3(0x77)](_0xd36df5){var _0x30aefb=_0x3738b3;return this[_0x30aefb(0x65)](_0xd36df5);}async['loadSheetAsync'](_0x3c3531,_0x41e90c){var _0x554533=_0x3738b3;return await this[_0x554533(0x89)][_0x554533(0x77)](_0x3c3531,0x0,_0x41e90c)?(await this['_collaborationController'][_0x554533(0x81)](_0x3c3531),this['_handler'][_0x554533(0x7d)](_0x3c3531)):null;}[_0x3738b3(0x7f)](_0x458335,_0xdd1780){var _0x318ede=_0x3738b3;const _0x1296e6=this[_0x318ede(0x6f)][_0x318ede(0x79)](h[_0x318ede(0x6e)])['waitForRoom$'](_0x458335)['pipe'](v[_0x318ede(0x69)](_0x228a42=>_0x228a42['members$']))[_0x318ede(0x8b)](_0xb910fb=>_0xdd1780(Array[_0x318ede(0x6c)](_0xb910fb['values']())));return i['toDisposable'](_0x1296e6);}},exports[_0x3738b3(0x75)]=S([s(0x1,i[_0x3738b3(0x78)](i[_0x3738b3(0x83)])),s(0x2,i[_0x3738b3(0x72)]),s(0x3,i[_0x3738b3(0x78)](b[_0x3738b3(0x73)])),s(0x4,i[_0x3738b3(0x78)](h[_0x3738b3(0x7b)]))],exports['FCollaboration']);class d extends l[_0x3738b3(0x67)]{['getCollaboration'](){var _0xff55be=_0x3738b3;return this[_0xff55be(0x6f)]['createInstance'](exports[_0xff55be(0x75)],{'getUniverSheet':_0x2b9df4=>this[_0xff55be(0x7d)](_0x2b9df4)});}}l[_0x3738b3(0x67)]['extend'](d);