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

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 _0x457fd1=_0x597a;function _0x2b42(){var _0x1387da=['518wmSqBQ','from','@univerjs-pro/collaboration-client','Inject','toStringTag','_snapshotService','subscribeCollaborators','getCollaboration','Injector','CollaborationController','length','subscribe','Module','waitForRoom$','values','switchMap','loadSheetAsync','2607930yoXjXN','3520XODSlf','@univerjs-pro/collaboration','loadSheet','_handler','MemberService','FUniver','loadActiveSheetAsync','FBase','members$','defineProperty','extend','getOwnPropertyDescriptor','2810cryAsn','18YiSkqo','readyForCollab','3092SIptmo','23507UhXEXM','_univerInstanceService','SnapshotService','72088CksjUO','getUniverSheet','loadActiveSheet','_collaborationController','get','_injector','2841606zgTlxA','5539746SMiShg','FCollaboration','9814daTUtp','pipe','@univerjs/core/facade'];_0x2b42=function(){return _0x1387da;};return _0x2b42();}function _0x597a(_0x43f846,_0x1c6468){var _0x2b423e=_0x2b42();return _0x597a=function(_0x597afc,_0x5c621f){_0x597afc=_0x597afc-0xec;var _0x1abad1=_0x2b423e[_0x597afc];return _0x1abad1;},_0x597a(_0x43f846,_0x1c6468);}(function(_0x32515f,_0x4f99cf){var _0x57b23c=_0x597a,_0x121b3b=_0x32515f();while(!![]){try{var _0x59a77c=parseInt(_0x57b23c(0x102))/0x1*(parseInt(_0x57b23c(0xf3))/0x2)+-parseInt(_0x57b23c(0xff))/0x3+parseInt(_0x57b23c(0xf5))/0x4*(-parseInt(_0x57b23c(0x117))/0x5)+parseInt(_0x57b23c(0x100))/0x6+-parseInt(_0x57b23c(0x105))/0x7*(-parseInt(_0x57b23c(0xf9))/0x8)+-parseInt(_0x57b23c(0x116))/0x9+parseInt(_0x57b23c(0xf2))/0xa*(parseInt(_0x57b23c(0xf6))/0xb);if(_0x59a77c===_0x4f99cf)break;else _0x121b3b['push'](_0x121b3b['shift']());}catch(_0x3865f5){_0x121b3b['push'](_0x121b3b['shift']());}}}(_0x2b42,0x79864));Object[_0x457fd1(0xef)](exports,Symbol[_0x457fd1(0x109)],{'value':_0x457fd1(0x111)});const c=require(_0x457fd1(0x104)),b=require(_0x457fd1(0x118)),h=require(_0x457fd1(0x107)),i=require('@univerjs/core'),v=require('rxjs');var u=Object[_0x457fd1(0xef)],S=Object[_0x457fd1(0xf1)],_=(_0x58581c,_0x16d944,_0x116766,_0x3b49b5)=>{var _0x37b3ec=_0x457fd1;for(var _0x39c731=_0x3b49b5>0x1?void 0x0:_0x3b49b5?S(_0x16d944,_0x116766):_0x16d944,_0x115f1d=_0x58581c[_0x37b3ec(0x10f)]-0x1,_0x5f1c6c;_0x115f1d>=0x0;_0x115f1d--)(_0x5f1c6c=_0x58581c[_0x115f1d])&&(_0x39c731=(_0x3b49b5?_0x5f1c6c(_0x16d944,_0x116766,_0x39c731):_0x5f1c6c(_0x39c731))||_0x39c731);return _0x3b49b5&&_0x39c731&&u(_0x16d944,_0x116766,_0x39c731),_0x39c731;},s=(_0x5eab8f,_0x5cd0bc)=>(_0xe7320c,_0x796f8c)=>_0x5cd0bc(_0xe7320c,_0x796f8c,_0x5eab8f);exports[_0x457fd1(0x101)]=class extends c[_0x457fd1(0xed)]{constructor(_0x2f3ad7,_0x3b14d6,_0x4a9438,_0x90c1ac,_0x2579e1){var _0x528b9a=_0x457fd1;super(),this[_0x528b9a(0x11a)]=_0x2f3ad7,this[_0x528b9a(0xfe)]=_0x3b14d6,this[_0x528b9a(0xf7)]=_0x4a9438,this[_0x528b9a(0x10a)]=_0x90c1ac,this[_0x528b9a(0xfc)]=_0x2579e1;}async[_0x457fd1(0xfb)](){return this['loadActiveSheetAsync']();}async[_0x457fd1(0xec)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x457fd1(0x119)](_0x5c64c5){var _0x3ed5bb=_0x457fd1;return this[_0x3ed5bb(0x115)](_0x5c64c5);}async[_0x457fd1(0x115)](_0x86df61,_0xc012ef){var _0x5630af=_0x457fd1;return await this['_snapshotService'][_0x5630af(0x119)](_0x86df61,0x0,_0xc012ef)?(await this[_0x5630af(0xfc)][_0x5630af(0xf4)](_0x86df61),this[_0x5630af(0x11a)]['getUniverSheet'](_0x86df61)):null;}[_0x457fd1(0x10b)](_0x47d93b,_0x44ab31){var _0x3156c1=_0x457fd1;const _0x390ce2=this[_0x3156c1(0xfe)][_0x3156c1(0xfd)](h[_0x3156c1(0x11b)])[_0x3156c1(0x112)](_0x47d93b)[_0x3156c1(0x103)](v[_0x3156c1(0x114)](_0x5a8a6d=>_0x5a8a6d[_0x3156c1(0xee)]))[_0x3156c1(0x110)](_0x5051ef=>_0x44ab31(Array[_0x3156c1(0x106)](_0x5051ef[_0x3156c1(0x113)]())));return i['toDisposable'](_0x390ce2);}},exports[_0x457fd1(0x101)]=_([s(0x1,i[_0x457fd1(0x108)](i[_0x457fd1(0x10d)])),s(0x2,i['IUniverInstanceService']),s(0x3,i['Inject'](b[_0x457fd1(0xf8)])),s(0x4,i['Inject'](h[_0x457fd1(0x10e)]))],exports['FCollaboration']);class d extends c['FUniver']{[_0x457fd1(0x10c)](){var _0x4978df=_0x457fd1;return this[_0x4978df(0xfe)]['createInstance'](exports[_0x4978df(0x101)],{'getUniverSheet':_0x58360a=>this[_0x4978df(0xfa)](_0x58360a)});}}c[_0x457fd1(0x11c)][_0x457fd1(0xf0)](d);
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);