@univerjs-pro/collaboration-client 0.6.0-experimental.20250125-1d060b9 → 0.6.0-nightly.202501251605

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 _0x1ebc5c=_0x377b;function _0x2dbd(){var _0x467280=['getOwnPropertyDescriptor','FBase','8IdSTIU','2735257DvLBRl','Injector','values','extend','toStringTag','@univerjs-pro/collaboration','272136buSaIU','Inject','readyForCollab','subscribeCollaborators','FUniver','getUnit','CollaborationController','SnapshotService','loadSheetAsync','loadActiveSheetAsync','from','849819cxROGM','_snapshotService','subscribe','_univerInstanceService','_collaborationController','get','_handler','@univerjs-pro/collaboration-client','Module','@univerjs/core','FCollaboration','189velrdz','loadActiveSheet','switchMap','createInstance','getCollaboration','_injector','403285eWrSMG','rxjs','190890ejUQGM','loadSheet','getUniverSheet','UNIVER_SHEET','2356698DHhtUs','length','UniverInstanceType','194948JaKCEA','defineProperty','members$'];_0x2dbd=function(){return _0x467280;};return _0x2dbd();}(function(_0xef59fd,_0x255c72){var _0x494982=_0x377b,_0xd099a9=_0xef59fd();while(!![]){try{var _0x578078=parseInt(_0x494982(0x158))/0x1+-parseInt(_0x494982(0x15f))/0x2+parseInt(_0x494982(0x176))/0x3+parseInt(_0x494982(0x164))/0x4*(-parseInt(_0x494982(0x156))/0x5)+parseInt(_0x494982(0x15c))/0x6+parseInt(_0x494982(0x165))/0x7+-parseInt(_0x494982(0x16b))/0x8*(parseInt(_0x494982(0x150))/0x9);if(_0x578078===_0x255c72)break;else _0xd099a9['push'](_0xd099a9['shift']());}catch(_0x524854){_0xd099a9['push'](_0xd099a9['shift']());}}}(_0x2dbd,0x45788));function _0x377b(_0x57a140,_0x4d4327){var _0x2dbd2a=_0x2dbd();return _0x377b=function(_0x377b27,_0x55883f){_0x377b27=_0x377b27-0x14a;var _0x3b8a34=_0x2dbd2a[_0x377b27];return _0x3b8a34;},_0x377b(_0x57a140,_0x4d4327);}Object[_0x1ebc5c(0x160)](exports,Symbol[_0x1ebc5c(0x169)],{'value':_0x1ebc5c(0x14d)});const o=require(_0x1ebc5c(0x14e)),h=require(_0x1ebc5c(0x16a)),c=require(_0x1ebc5c(0x14c)),b=require(_0x1ebc5c(0x157));var v=Object[_0x1ebc5c(0x160)],u=Object[_0x1ebc5c(0x162)],S=(_0x4a87a7,_0x1dc135,_0x5c1a30,_0x2ea1f5)=>{var _0x506f0b=_0x1ebc5c;for(var _0x1305f9=_0x2ea1f5>0x1?void 0x0:_0x2ea1f5?u(_0x1dc135,_0x5c1a30):_0x1dc135,_0x5bcdda=_0x4a87a7[_0x506f0b(0x15d)]-0x1,_0x9b1140;_0x5bcdda>=0x0;_0x5bcdda--)(_0x9b1140=_0x4a87a7[_0x5bcdda])&&(_0x1305f9=(_0x2ea1f5?_0x9b1140(_0x1dc135,_0x5c1a30,_0x1305f9):_0x9b1140(_0x1305f9))||_0x1305f9);return _0x2ea1f5&&_0x1305f9&&v(_0x1dc135,_0x5c1a30,_0x1305f9),_0x1305f9;},s=(_0x2b94af,_0x5a8ce4)=>(_0x89384e,_0x4f5e86)=>_0x5a8ce4(_0x89384e,_0x4f5e86,_0x2b94af);exports[_0x1ebc5c(0x14f)]=class extends o[_0x1ebc5c(0x163)]{constructor(_0x384485,_0x22f8c0,_0x5111ba,_0x2a7c8f,_0x32a90b){var _0x4992c0=_0x1ebc5c;super(),this[_0x4992c0(0x14b)]=_0x384485,this[_0x4992c0(0x155)]=_0x22f8c0,this[_0x4992c0(0x179)]=_0x5111ba,this[_0x4992c0(0x177)]=_0x2a7c8f,this['_collaborationController']=_0x32a90b;}async[_0x1ebc5c(0x151)](){var _0x1ba096=_0x1ebc5c;return this[_0x1ba096(0x174)]();}async[_0x1ebc5c(0x174)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x13117e){var _0x2d0c86=_0x1ebc5c;return this[_0x2d0c86(0x173)](_0x13117e);}async['loadSheetAsync'](_0x338a88){var _0x4d8f81=_0x1ebc5c;return this[_0x4d8f81(0x179)][_0x4d8f81(0x170)](_0x338a88,o[_0x4d8f81(0x15e)][_0x4d8f81(0x15b)])||await this[_0x4d8f81(0x177)][_0x4d8f81(0x159)](_0x338a88,0x0)?(await this[_0x4d8f81(0x17a)][_0x4d8f81(0x16d)](_0x338a88),this[_0x4d8f81(0x14b)]['getUniverSheet'](_0x338a88)):null;}[_0x1ebc5c(0x16e)](_0x52a141,_0x48823c){var _0x230fe6=_0x1ebc5c;const _0x1fe929=this['_injector'][_0x230fe6(0x14a)](c['MemberService'])['waitForRoom$'](_0x52a141)['pipe'](b[_0x230fe6(0x152)](_0x5a1750=>_0x5a1750[_0x230fe6(0x161)]))[_0x230fe6(0x178)](_0x31d51e=>_0x48823c(Array[_0x230fe6(0x175)](_0x31d51e[_0x230fe6(0x167)]())));return o['toDisposable'](_0x1fe929);}},exports['FCollaboration']=S([s(0x1,o[_0x1ebc5c(0x16c)](o[_0x1ebc5c(0x166)])),s(0x2,o['IUniverInstanceService']),s(0x3,o[_0x1ebc5c(0x16c)](h[_0x1ebc5c(0x172)])),s(0x4,o['Inject'](c[_0x1ebc5c(0x171)]))],exports[_0x1ebc5c(0x14f)]);class _ extends o[_0x1ebc5c(0x16f)]{[_0x1ebc5c(0x154)](){var _0x1673db=_0x1ebc5c;return this[_0x1673db(0x155)][_0x1673db(0x153)](exports[_0x1673db(0x14f)],{'getUniverSheet':_0x2629ea=>this[_0x1673db(0x15a)](_0x2629ea)});}}o[_0x1ebc5c(0x16f)][_0x1ebc5c(0x168)](_);
1
+ 'use strict';function _0x1bfe(){var _0x1fb306=['3541128GaSwBu','loadActiveSheetAsync','_snapshotService','12MGtDNW','length','_injector','loadSheet','_univerInstanceService','Module','5534hxjgkw','from','CollaborationController','subscribeCollaborators','waitForRoom$','members$','FBase','FCollaboration','@univerjs/core','extend','Inject','317250qxxiPr','pipe','MemberService','getCollaboration','@univerjs-pro/collaboration-client','_handler','getUniverSheet','rxjs','defineProperty','UniverInstanceType','switchMap','IUniverInstanceService','4szxFXL','FUniver','createInstance','17495ITngpS','toDisposable','values','getOwnPropertyDescriptor','Injector','219670mVqGAz','@univerjs-pro/collaboration','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','366VWPpZs','3149181TXOGZx','toStringTag','_collaborationController','getUnit','15253fDuatH','subscribe'];_0x1bfe=function(){return _0x1fb306;};return _0x1bfe();}var _0x404c58=_0x3c75;(function(_0x4376ad,_0x3a9ace){var _0x38c172=_0x3c75,_0x4430e4=_0x4376ad();while(!![]){try{var _0xca876c=-parseInt(_0x38c172(0x1a2))/0x1+-parseInt(_0x38c172(0x1b5))/0x2*(-parseInt(_0x38c172(0x1af))/0x3)+-parseInt(_0x38c172(0x1cc))/0x4*(parseInt(_0x38c172(0x19d))/0x5)+-parseInt(_0x38c172(0x1a5))/0x6*(parseInt(_0x38c172(0x1aa))/0x7)+parseInt(_0x38c172(0x1ac))/0x8+parseInt(_0x38c172(0x1a6))/0x9+parseInt(_0x38c172(0x1c0))/0xa;if(_0xca876c===_0x3a9ace)break;else _0x4430e4['push'](_0x4430e4['shift']());}catch(_0x26266f){_0x4430e4['push'](_0x4430e4['shift']());}}}(_0x1bfe,0x75017));Object[_0x404c58(0x1c8)](exports,Symbol[_0x404c58(0x1a7)],{'value':_0x404c58(0x1b4)});const o=require(_0x404c58(0x1bd)),h=require(_0x404c58(0x1a3)),c=require(_0x404c58(0x1c4)),b=require(_0x404c58(0x1c7));function _0x3c75(_0x284c24,_0x174c10){var _0x1bfee5=_0x1bfe();return _0x3c75=function(_0x3c752b,_0x31d401){_0x3c752b=_0x3c752b-0x19c;var _0x557cf2=_0x1bfee5[_0x3c752b];return _0x557cf2;},_0x3c75(_0x284c24,_0x174c10);}var v=Object['defineProperty'],u=Object[_0x404c58(0x1a0)],S=(_0x13787b,_0x383a07,_0x4d43bc,_0x5e7bdf)=>{var _0x2dce79=_0x404c58;for(var _0x37b8e9=_0x5e7bdf>0x1?void 0x0:_0x5e7bdf?u(_0x383a07,_0x4d43bc):_0x383a07,_0x1d1082=_0x13787b[_0x2dce79(0x1b0)]-0x1,_0x63d2ec;_0x1d1082>=0x0;_0x1d1082--)(_0x63d2ec=_0x13787b[_0x1d1082])&&(_0x37b8e9=(_0x5e7bdf?_0x63d2ec(_0x383a07,_0x4d43bc,_0x37b8e9):_0x63d2ec(_0x37b8e9))||_0x37b8e9);return _0x5e7bdf&&_0x37b8e9&&v(_0x383a07,_0x4d43bc,_0x37b8e9),_0x37b8e9;},s=(_0x3d6a92,_0x5e41b2)=>(_0xf9cf98,_0x1e1599)=>_0x5e41b2(_0xf9cf98,_0x1e1599,_0x3d6a92);exports[_0x404c58(0x1bc)]=class extends o[_0x404c58(0x1bb)]{constructor(_0x41fc29,_0x31da10,_0x42a92a,_0x387821,_0x50fce8){var _0x3ce357=_0x404c58;super(),this[_0x3ce357(0x1c5)]=_0x41fc29,this[_0x3ce357(0x1b1)]=_0x31da10,this[_0x3ce357(0x1b3)]=_0x42a92a,this['_snapshotService']=_0x387821,this['_collaborationController']=_0x50fce8;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async[_0x404c58(0x1ad)](){var _0x1b7386=_0x404c58;throw new Error(_0x1b7386(0x1a4));}async[_0x404c58(0x1b2)](_0x4f90b1){return this['loadSheetAsync'](_0x4f90b1);}async['loadSheetAsync'](_0xdb3a62){var _0x1a4b59=_0x404c58;return this[_0x1a4b59(0x1b3)][_0x1a4b59(0x1a9)](_0xdb3a62,o[_0x1a4b59(0x1c9)]['UNIVER_SHEET'])||await this[_0x1a4b59(0x1ae)][_0x1a4b59(0x1b2)](_0xdb3a62,0x0)?(await this[_0x1a4b59(0x1a8)]['readyForCollab'](_0xdb3a62),this[_0x1a4b59(0x1c5)][_0x1a4b59(0x1c6)](_0xdb3a62)):null;}[_0x404c58(0x1b8)](_0x50194f,_0xeb667d){var _0x5e6d54=_0x404c58;const _0x349416=this[_0x5e6d54(0x1b1)]['get'](c[_0x5e6d54(0x1c2)])[_0x5e6d54(0x1b9)](_0x50194f)[_0x5e6d54(0x1c1)](b[_0x5e6d54(0x1ca)](_0x52c6cb=>_0x52c6cb[_0x5e6d54(0x1ba)]))[_0x5e6d54(0x1ab)](_0x260896=>_0xeb667d(Array[_0x5e6d54(0x1b6)](_0x260896[_0x5e6d54(0x19f)]())));return o[_0x5e6d54(0x19e)](_0x349416);}},exports[_0x404c58(0x1bc)]=S([s(0x1,o[_0x404c58(0x1bf)](o[_0x404c58(0x1a1)])),s(0x2,o[_0x404c58(0x1cb)]),s(0x3,o[_0x404c58(0x1bf)](h['SnapshotService'])),s(0x4,o[_0x404c58(0x1bf)](c[_0x404c58(0x1b7)]))],exports[_0x404c58(0x1bc)]);class _ extends o[_0x404c58(0x1cd)]{[_0x404c58(0x1c3)](){var _0x4ee947=_0x404c58;return this[_0x4ee947(0x1b1)][_0x4ee947(0x19c)](exports['FCollaboration'],{'getUniverSheet':_0xe6d863=>this[_0x4ee947(0x1c6)](_0xe6d863)});}}o[_0x404c58(0x1cd)][_0x404c58(0x1be)](_);