@univerjs-pro/collaboration-client 0.6.10-nightly.202504261606 → 0.6.10-nightly.202504271606

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 _0x314e60=_0x12c6;(function(_0x3e33ca,_0x4da46c){var _0x52283f=_0x12c6,_0x54bc01=_0x3e33ca();while(!![]){try{var _0x1060d0=parseInt(_0x52283f(0x90))/0x1*(parseInt(_0x52283f(0xb0))/0x2)+parseInt(_0x52283f(0xa3))/0x3*(parseInt(_0x52283f(0xb1))/0x4)+-parseInt(_0x52283f(0xa8))/0x5*(-parseInt(_0x52283f(0xa7))/0x6)+parseInt(_0x52283f(0x88))/0x7*(parseInt(_0x52283f(0x93))/0x8)+parseInt(_0x52283f(0x95))/0x9+-parseInt(_0x52283f(0xaa))/0xa+-parseInt(_0x52283f(0x97))/0xb;if(_0x1060d0===_0x4da46c)break;else _0x54bc01['push'](_0x54bc01['shift']());}catch(_0xa19b9a){_0x54bc01['push'](_0x54bc01['shift']());}}}(_0x4897,0x2b8df));function _0x12c6(_0x5426e3,_0xb39533){var _0x489743=_0x4897();return _0x12c6=function(_0x12c659,_0x186ef1){_0x12c659=_0x12c659-0x84;var _0x401727=_0x489743[_0x12c659];return _0x401727;},_0x12c6(_0x5426e3,_0xb39533);}Object['defineProperty'](exports,Symbol[_0x314e60(0x85)],{'value':_0x314e60(0x84)});const c=require(_0x314e60(0x8e)),l=require(_0x314e60(0xa0)),v=require('@univerjs-pro/collaboration'),i=require(_0x314e60(0x96)),b=require(_0x314e60(0x89));var S=Object[_0x314e60(0xb2)],d=(_0x423fc6,_0x504a0f,_0x41941c,_0xd6e0a)=>{var _0x1e84ad=_0x314e60;for(var _0x5cbc40=_0xd6e0a>0x1?void 0x0:_0xd6e0a?S(_0x504a0f,_0x41941c):_0x504a0f,_0x59542f=_0x423fc6[_0x1e84ad(0xa5)]-0x1,_0xb1daa8;_0x59542f>=0x0;_0x59542f--)(_0xb1daa8=_0x423fc6[_0x59542f])&&(_0x5cbc40=_0xb1daa8(_0x5cbc40)||_0x5cbc40);return _0x5cbc40;},s=(_0x331224,_0x4e76fd)=>(_0x217e76,_0x1b0ae5)=>_0x4e76fd(_0x217e76,_0x1b0ae5,_0x331224);exports[_0x314e60(0x8b)]=class extends l[_0x314e60(0x9b)]{constructor(_0x25ccd1,_0x3b1cc2,_0x117803,_0x472456,_0x142a39){var _0x29875e=_0x314e60;super(),this[_0x29875e(0x9e)]=_0x25ccd1,this[_0x29875e(0xac)]=_0x3b1cc2,this[_0x29875e(0xaf)]=_0x117803,this[_0x29875e(0x9d)]=_0x472456,this[_0x29875e(0xad)]=_0x142a39;}async[_0x314e60(0x99)](){var _0x32bd27=_0x314e60;return this[_0x32bd27(0x9a)]();}async[_0x314e60(0x9a)](){var _0x5bf8ea=_0x314e60;throw new Error(_0x5bf8ea(0xb4));}async[_0x314e60(0x9f)](_0x2721dc){return this['loadSheetAsync'](_0x2721dc);}async[_0x314e60(0xa4)](_0x4f92b6,_0x294daa){var _0x2bc168=_0x314e60;return await this[_0x2bc168(0x9d)]['loadSheet'](_0x4f92b6,0x0,_0x294daa)?(await this[_0x2bc168(0xad)]['readyForCollab'](_0x4f92b6),this[_0x2bc168(0x9e)][_0x2bc168(0x86)](_0x4f92b6)):null;}['subscribeCollaborators'](_0x273785,_0x38d2d4){var _0x3bb3ce=_0x314e60;const _0x4b3262=this[_0x3bb3ce(0xac)]['get'](c[_0x3bb3ce(0x8f)])[_0x3bb3ce(0xb3)](_0x273785)[_0x3bb3ce(0x8d)](b[_0x3bb3ce(0xb5)](_0x2d3bc7=>_0x2d3bc7[_0x3bb3ce(0xa9)]))[_0x3bb3ce(0x91)](_0x36ccb3=>_0x38d2d4(Array['from'](_0x36ccb3[_0x3bb3ce(0x94)]())));return i['toDisposable'](_0x4b3262);}},exports['FCollaboration']=d([s(0x1,i[_0x314e60(0xa2)](i[_0x314e60(0x87)])),s(0x2,i[_0x314e60(0xa6)]),s(0x3,i[_0x314e60(0xa2)](v[_0x314e60(0x98)])),s(0x4,i[_0x314e60(0xa2)](c[_0x314e60(0xa1)]))],exports[_0x314e60(0x8b)]);class u extends l[_0x314e60(0x8a)]{[_0x314e60(0xab)](){var _0x4872e6=_0x314e60;return this[_0x4872e6(0xac)][_0x4872e6(0xae)](exports[_0x4872e6(0x8b)],{'getUniverSheet':_0x46438f=>this['getUniverSheet'](_0x46438f)});}[_0x314e60(0x92)](_0xc4e38c,_0x521196,_0x352c06){var _0xf0f7f0=_0x314e60;return this[_0xf0f7f0(0xac)][_0xf0f7f0(0xae)](c[_0xf0f7f0(0x8c)])['loadUnit'](_0xc4e38c,_0x521196,_0x352c06);}}l[_0x314e60(0x8a)][_0x314e60(0x9c)](u);function _0x4897(){var _0x1f39ba=['509967xHtxfs','@univerjs/core','4097599TMnCth','SnapshotService','loadActiveSheet','loadActiveSheetAsync','FBase','extend','_snapshotService','_handler','loadSheet','@univerjs/core/facade','CollaborationController','Inject','10191oCkdJh','loadSheetAsync','length','IUniverInstanceService','19548KTWEzi','5ahxGFP','members$','3150070urbYDk','getCollaboration','_injector','_collaborationController','createInstance','_univerInstanceService','21818usZtgR','388poWjol','getOwnPropertyDescriptor','waitForRoom$','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','switchMap','Module','toStringTag','getUniverSheet','Injector','3409dDFcTv','rxjs','FUniver','FCollaboration','DataLoaderService','pipe','@univerjs-pro/collaboration-client','MemberService','21uMQbdI','subscribe','loadServerUnit','4064iLNYnV','values'];_0x4897=function(){return _0x1f39ba;};return _0x4897();}
1
+ 'use strict';var _0x216ee6=_0x528a;(function(_0x4f401d,_0x3ce7db){var _0xe331d7=_0x528a,_0x192c03=_0x4f401d();while(!![]){try{var _0x2a3bd9=parseInt(_0xe331d7(0x1e9))/0x1*(-parseInt(_0xe331d7(0x1dc))/0x2)+-parseInt(_0xe331d7(0x1d2))/0x3+-parseInt(_0xe331d7(0x1cf))/0x4*(-parseInt(_0xe331d7(0x1f4))/0x5)+parseInt(_0xe331d7(0x1e5))/0x6+parseInt(_0xe331d7(0x1d6))/0x7*(parseInt(_0xe331d7(0x1e6))/0x8)+parseInt(_0xe331d7(0x1e7))/0x9+-parseInt(_0xe331d7(0x1dd))/0xa;if(_0x2a3bd9===_0x3ce7db)break;else _0x192c03['push'](_0x192c03['shift']());}catch(_0x2b5e9f){_0x192c03['push'](_0x192c03['shift']());}}}(_0x5471,0x7f960));function _0x528a(_0x1a5bb8,_0xbad365){var _0x547100=_0x5471();return _0x528a=function(_0x528a63,_0x363ff5){_0x528a63=_0x528a63-0x1c7;var _0x25b3d5=_0x547100[_0x528a63];return _0x25b3d5;},_0x528a(_0x1a5bb8,_0xbad365);}Object[_0x216ee6(0x1d4)](exports,Symbol['toStringTag'],{'value':_0x216ee6(0x1f1)});function _0x5471(){var _0x3b6c36=['loadSheetAsync','values','@univerjs/core','MemberService','2iFysvk','542360NQluNS','loadServerUnit','loadActiveSheet','rxjs','get','loadSheet','extend','@univerjs-pro/collaboration','4146108baLlQb','8680CoLVpy','3311703uvmggQ','createInstance','287138SVuuMJ','FUniver','switchMap','readyForCollab','subscribeCollaborators','DataLoaderService','@univerjs-pro/collaboration-client','_snapshotService','Module','_univerInstanceService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','10EIHQcf','_injector','subscribe','pipe','FCollaboration','IUniverInstanceService','CollaborationController','loadActiveSheetAsync','getOwnPropertyDescriptor','_handler','getUniverSheet','loadUnit','142280fgoiUn','FBase','_collaborationController','2442252oIXXem','length','defineProperty','from','3535LXqpTH','Inject'];_0x5471=function(){return _0x3b6c36;};return _0x5471();}const c=require(_0x216ee6(0x1ef)),l=require('@univerjs/core/facade'),v=require(_0x216ee6(0x1e4)),i=require(_0x216ee6(0x1da)),b=require(_0x216ee6(0x1e0));var S=Object[_0x216ee6(0x1cb)],d=(_0x3cde53,_0x31d694,_0x1062f3,_0x4770c9)=>{var _0x5dd93e=_0x216ee6;for(var _0x51ffae=_0x4770c9>0x1?void 0x0:_0x4770c9?S(_0x31d694,_0x1062f3):_0x31d694,_0x3e0a03=_0x3cde53[_0x5dd93e(0x1d3)]-0x1,_0x391617;_0x3e0a03>=0x0;_0x3e0a03--)(_0x391617=_0x3cde53[_0x3e0a03])&&(_0x51ffae=_0x391617(_0x51ffae)||_0x51ffae);return _0x51ffae;},s=(_0x416725,_0x37cb99)=>(_0x14022c,_0x5171a7)=>_0x37cb99(_0x14022c,_0x5171a7,_0x416725);exports[_0x216ee6(0x1c7)]=class extends l[_0x216ee6(0x1d0)]{constructor(_0x5ee569,_0x2c001c,_0xc6ed9,_0x1dc4d7,_0x30fd4c){var _0x23e6c9=_0x216ee6;super(),this[_0x23e6c9(0x1cc)]=_0x5ee569,this[_0x23e6c9(0x1f5)]=_0x2c001c,this[_0x23e6c9(0x1f2)]=_0xc6ed9,this[_0x23e6c9(0x1f0)]=_0x1dc4d7,this[_0x23e6c9(0x1d1)]=_0x30fd4c;}async[_0x216ee6(0x1df)](){var _0x35c7c3=_0x216ee6;return this[_0x35c7c3(0x1ca)]();}async['loadActiveSheetAsync'](){var _0xf23dec=_0x216ee6;throw new Error(_0xf23dec(0x1f3));}async[_0x216ee6(0x1e2)](_0x42f1a3){var _0x3e1454=_0x216ee6;return this[_0x3e1454(0x1d8)](_0x42f1a3);}async['loadSheetAsync'](_0x432f45,_0x52db08){var _0x266f90=_0x216ee6;return await this['_snapshotService'][_0x266f90(0x1e2)](_0x432f45,0x0,_0x52db08)?(await this[_0x266f90(0x1d1)][_0x266f90(0x1ec)](_0x432f45),this[_0x266f90(0x1cc)]['getUniverSheet'](_0x432f45)):null;}[_0x216ee6(0x1ed)](_0x185acc,_0x5ec582){var _0x169e7a=_0x216ee6;const _0x58ed1d=this[_0x169e7a(0x1f5)][_0x169e7a(0x1e1)](c[_0x169e7a(0x1db)])['waitForRoom$'](_0x185acc)[_0x169e7a(0x1f7)](b[_0x169e7a(0x1eb)](_0x147375=>_0x147375['members$']))[_0x169e7a(0x1f6)](_0x41ca13=>_0x5ec582(Array[_0x169e7a(0x1d5)](_0x41ca13[_0x169e7a(0x1d9)]())));return i['toDisposable'](_0x58ed1d);}},exports[_0x216ee6(0x1c7)]=d([s(0x1,i['Inject'](i['Injector'])),s(0x2,i[_0x216ee6(0x1c8)]),s(0x3,i[_0x216ee6(0x1d7)](v['SnapshotService'])),s(0x4,i[_0x216ee6(0x1d7)](c[_0x216ee6(0x1c9)]))],exports[_0x216ee6(0x1c7)]);class u extends l['FUniver']{['getCollaboration'](){var _0x220b35=_0x216ee6;return this[_0x220b35(0x1f5)]['createInstance'](exports['FCollaboration'],{'getUniverSheet':_0x192026=>this[_0x220b35(0x1cd)](_0x192026)});}[_0x216ee6(0x1de)](_0x30b312,_0x483b10,_0x4b1821){var _0x1b7a8c=_0x216ee6;return this[_0x1b7a8c(0x1f5)][_0x1b7a8c(0x1e8)](c[_0x1b7a8c(0x1ee)])[_0x1b7a8c(0x1ce)](_0x30b312,_0x483b10,_0x4b1821);}}l[_0x216ee6(0x1ea)][_0x216ee6(0x1e3)](u);