@univerjs-pro/collaboration-client 0.6.10-nightly.202504231607 → 0.6.10-nightly.202504241607

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 _0x4dcb10=_0x3835;(function(_0x4a4876,_0x3927ad){var _0x10d153=_0x3835,_0x132bd4=_0x4a4876();while(!![]){try{var _0x159f90=-parseInt(_0x10d153(0x14e))/0x1*(-parseInt(_0x10d153(0x14b))/0x2)+parseInt(_0x10d153(0x124))/0x3*(-parseInt(_0x10d153(0x126))/0x4)+-parseInt(_0x10d153(0x12d))/0x5+parseInt(_0x10d153(0x12e))/0x6+parseInt(_0x10d153(0x142))/0x7+-parseInt(_0x10d153(0x14a))/0x8+parseInt(_0x10d153(0x127))/0x9*(parseInt(_0x10d153(0x135))/0xa);if(_0x159f90===_0x3927ad)break;else _0x132bd4['push'](_0x132bd4['shift']());}catch(_0xb8617e){_0x132bd4['push'](_0x132bd4['shift']());}}}(_0x1c6f,0x3c557));Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x4dcb10(0x130)});function _0x1c6f(){var _0x233447=['Module','Inject','FUniver','_collaborationController','@univerjs/core','237870CiyCya','FBase','Injector','SnapshotService','@univerjs-pro/collaboration','DataLoaderService','loadSheet','subscribe','loadSheetAsync','@univerjs-pro/collaboration-client','toDisposable','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadActiveSheet','3315123LdUEkz','getUniverSheet','readyForCollab','loadUnit','values','switchMap','subscribeCollaborators','getCollaboration','1849352FSHeey','12MLKpVf','from','CollaborationController','42143ZvNAdb','_injector','IUniverInstanceService','loadServerUnit','pipe','createInstance','1043229oHmQPT','waitForRoom$','4QWjjZg','117nEokgw','loadActiveSheetAsync','length','members$','MemberService','FCollaboration','1197080jyjaJD','178662VKFWXS','_snapshotService'];_0x1c6f=function(){return _0x233447;};return _0x1c6f();}const c=require(_0x4dcb10(0x13e)),l=require('@univerjs/core/facade'),v=require(_0x4dcb10(0x139)),i=require(_0x4dcb10(0x134)),b=require('rxjs');function _0x3835(_0x248f25,_0x4808a6){var _0x1c6f8d=_0x1c6f();return _0x3835=function(_0x3835ec,_0x2e6842){_0x3835ec=_0x3835ec-0x120;var _0xe706ce=_0x1c6f8d[_0x3835ec];return _0xe706ce;},_0x3835(_0x248f25,_0x4808a6);}var S=Object['getOwnPropertyDescriptor'],d=(_0x1da42b,_0x2a9804,_0x41eee5,_0x4c6f2e)=>{var _0x38284e=_0x4dcb10;for(var _0x1a16e2=_0x4c6f2e>0x1?void 0x0:_0x4c6f2e?S(_0x2a9804,_0x41eee5):_0x2a9804,_0x3a0c37=_0x1da42b[_0x38284e(0x129)]-0x1,_0x46f958;_0x3a0c37>=0x0;_0x3a0c37--)(_0x46f958=_0x1da42b[_0x3a0c37])&&(_0x1a16e2=_0x46f958(_0x1a16e2)||_0x1a16e2);return _0x1a16e2;},s=(_0x5cc949,_0x25b37f)=>(_0x4b9ef6,_0x352203)=>_0x25b37f(_0x4b9ef6,_0x352203,_0x5cc949);exports[_0x4dcb10(0x12c)]=class extends l[_0x4dcb10(0x136)]{constructor(_0x2b40a0,_0x3e3e26,_0x1a0bee,_0x2cebfa,_0x2f6d54){var _0x5e1220=_0x4dcb10;super(),this['_handler']=_0x2b40a0,this[_0x5e1220(0x14f)]=_0x3e3e26,this['_univerInstanceService']=_0x1a0bee,this[_0x5e1220(0x12f)]=_0x2cebfa,this['_collaborationController']=_0x2f6d54;}async[_0x4dcb10(0x141)](){var _0x4b1d2d=_0x4dcb10;return this[_0x4b1d2d(0x128)]();}async['loadActiveSheetAsync'](){var _0x4f3dc0=_0x4dcb10;throw new Error(_0x4f3dc0(0x140));}async[_0x4dcb10(0x13b)](_0x1f16c6){var _0x5277bd=_0x4dcb10;return this[_0x5277bd(0x13d)](_0x1f16c6);}async[_0x4dcb10(0x13d)](_0x20951a,_0x12f414){var _0x4facd5=_0x4dcb10;return await this['_snapshotService'][_0x4facd5(0x13b)](_0x20951a,0x0,_0x12f414)?(await this[_0x4facd5(0x133)][_0x4facd5(0x144)](_0x20951a),this['_handler']['getUniverSheet'](_0x20951a)):null;}[_0x4dcb10(0x148)](_0x26aebe,_0x48db70){var _0x4a1298=_0x4dcb10;const _0x505563=this[_0x4a1298(0x14f)]['get'](c[_0x4a1298(0x12b)])[_0x4a1298(0x125)](_0x26aebe)[_0x4a1298(0x122)](b[_0x4a1298(0x147)](_0x28ca9=>_0x28ca9[_0x4a1298(0x12a)]))[_0x4a1298(0x13c)](_0x1a824c=>_0x48db70(Array[_0x4a1298(0x14c)](_0x1a824c[_0x4a1298(0x146)]())));return i[_0x4a1298(0x13f)](_0x505563);}},exports[_0x4dcb10(0x12c)]=d([s(0x1,i[_0x4dcb10(0x131)](i[_0x4dcb10(0x137)])),s(0x2,i[_0x4dcb10(0x120)]),s(0x3,i[_0x4dcb10(0x131)](v[_0x4dcb10(0x138)])),s(0x4,i[_0x4dcb10(0x131)](c[_0x4dcb10(0x14d)]))],exports[_0x4dcb10(0x12c)]);class u extends l['FUniver']{[_0x4dcb10(0x149)](){var _0x71d364=_0x4dcb10;return this[_0x71d364(0x14f)][_0x71d364(0x123)](exports[_0x71d364(0x12c)],{'getUniverSheet':_0x14a8be=>this[_0x71d364(0x143)](_0x14a8be)});}[_0x4dcb10(0x121)](_0x209bec,_0x22d30a,_0x2d3fea){var _0x4e6ab4=_0x4dcb10;return this[_0x4e6ab4(0x14f)]['createInstance'](c[_0x4e6ab4(0x13a)])[_0x4e6ab4(0x145)](_0x209bec,_0x22d30a,_0x2d3fea);}}l[_0x4dcb10(0x132)]['extend'](u);
1
+ 'use strict';var _0x1d80b7=_0x7020;(function(_0x21d7b5,_0x5d0042){var _0xf2d709=_0x7020,_0x40c578=_0x21d7b5();while(!![]){try{var _0x4f3f02=-parseInt(_0xf2d709(0x17a))/0x1+parseInt(_0xf2d709(0x196))/0x2+parseInt(_0xf2d709(0x17b))/0x3*(-parseInt(_0xf2d709(0x19a))/0x4)+parseInt(_0xf2d709(0x1a2))/0x5*(-parseInt(_0xf2d709(0x185))/0x6)+parseInt(_0xf2d709(0x173))/0x7+parseInt(_0xf2d709(0x180))/0x8*(parseInt(_0xf2d709(0x174))/0x9)+parseInt(_0xf2d709(0x181))/0xa*(parseInt(_0xf2d709(0x19e))/0xb);if(_0x4f3f02===_0x5d0042)break;else _0x40c578['push'](_0x40c578['shift']());}catch(_0x17c489){_0x40c578['push'](_0x40c578['shift']());}}}(_0xcd98,0x48862));function _0xcd98(){var _0x5c2dab=['@univerjs-pro/collaboration','IUniverInstanceService','from','108763GwChPu','93onjpSY','FCollaboration','DataLoaderService','switchMap','members$','248mMIFeS','10HmQaRS','loadActiveSheetAsync','@univerjs/core','readyForCollab','6ghWceO','_handler','loadServerUnit','_collaborationController','SnapshotService','loadSheet','rxjs','@univerjs/core/facade','Injector','loadSheetAsync','toStringTag','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','getCollaboration','getUniverSheet','subscribe','MemberService','_injector','717740QuttYi','pipe','length','Inject','69952dkYAGc','getOwnPropertyDescriptor','get','subscribeCollaborators','6049439AkkbIg','Module','createInstance','CollaborationController','2177095SwiBWR','_snapshotService','_univerInstanceService','loadActiveSheet','values','FBase','298382JLhhYH','125397EyXJWY','loadUnit','toDisposable'];_0xcd98=function(){return _0x5c2dab;};return _0xcd98();}Object['defineProperty'](exports,Symbol[_0x1d80b7(0x18f)],{'value':_0x1d80b7(0x19f)});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x1d80b7(0x18c)),v=require(_0x1d80b7(0x177)),i=require(_0x1d80b7(0x183)),b=require(_0x1d80b7(0x18b));function _0x7020(_0x492864,_0x558843){var _0xcd98ab=_0xcd98();return _0x7020=function(_0x702034,_0x6a8d2b){_0x702034=_0x702034-0x170;var _0x37e7e2=_0xcd98ab[_0x702034];return _0x37e7e2;},_0x7020(_0x492864,_0x558843);}var S=Object[_0x1d80b7(0x19b)],d=(_0x767d01,_0x264f2c,_0x18ea68,_0x529a1d)=>{var _0x3484d8=_0x1d80b7;for(var _0x52ed30=_0x529a1d>0x1?void 0x0:_0x529a1d?S(_0x264f2c,_0x18ea68):_0x264f2c,_0x2b9744=_0x767d01[_0x3484d8(0x198)]-0x1,_0x29e3da;_0x2b9744>=0x0;_0x2b9744--)(_0x29e3da=_0x767d01[_0x2b9744])&&(_0x52ed30=_0x29e3da(_0x52ed30)||_0x52ed30);return _0x52ed30;},s=(_0x2d5174,_0x113acd)=>(_0x325a70,_0x3ac74f)=>_0x113acd(_0x325a70,_0x3ac74f,_0x2d5174);exports[_0x1d80b7(0x17c)]=class extends l[_0x1d80b7(0x172)]{constructor(_0x339fcb,_0x31ebad,_0x3b48af,_0x4b178b,_0x2fb044){var _0x1438fe=_0x1d80b7;super(),this[_0x1438fe(0x186)]=_0x339fcb,this[_0x1438fe(0x195)]=_0x31ebad,this[_0x1438fe(0x1a4)]=_0x3b48af,this['_snapshotService']=_0x4b178b,this[_0x1438fe(0x188)]=_0x2fb044;}async[_0x1d80b7(0x170)](){var _0x2de5dd=_0x1d80b7;return this[_0x2de5dd(0x182)]();}async[_0x1d80b7(0x182)](){var _0x2ebd65=_0x1d80b7;throw new Error(_0x2ebd65(0x190));}async[_0x1d80b7(0x18a)](_0x3c8a27){return this['loadSheetAsync'](_0x3c8a27);}async[_0x1d80b7(0x18e)](_0xe14bad,_0x4857dd){var _0x56b368=_0x1d80b7;return await this[_0x56b368(0x1a3)]['loadSheet'](_0xe14bad,0x0,_0x4857dd)?(await this[_0x56b368(0x188)][_0x56b368(0x184)](_0xe14bad),this['_handler'][_0x56b368(0x192)](_0xe14bad)):null;}[_0x1d80b7(0x19d)](_0x3da0aa,_0x1b1d25){var _0x1268da=_0x1d80b7;const _0x2a6007=this[_0x1268da(0x195)][_0x1268da(0x19c)](c[_0x1268da(0x194)])['waitForRoom$'](_0x3da0aa)[_0x1268da(0x197)](b[_0x1268da(0x17e)](_0x1feb68=>_0x1feb68[_0x1268da(0x17f)]))[_0x1268da(0x193)](_0xa81ecd=>_0x1b1d25(Array[_0x1268da(0x179)](_0xa81ecd[_0x1268da(0x171)]())));return i[_0x1268da(0x176)](_0x2a6007);}},exports[_0x1d80b7(0x17c)]=d([s(0x1,i[_0x1d80b7(0x199)](i[_0x1d80b7(0x18d)])),s(0x2,i[_0x1d80b7(0x178)]),s(0x3,i['Inject'](v[_0x1d80b7(0x189)])),s(0x4,i['Inject'](c[_0x1d80b7(0x1a1)]))],exports[_0x1d80b7(0x17c)]);class u extends l['FUniver']{[_0x1d80b7(0x191)](){var _0x5b017d=_0x1d80b7;return this[_0x5b017d(0x195)][_0x5b017d(0x1a0)](exports['FCollaboration'],{'getUniverSheet':_0x52b500=>this[_0x5b017d(0x192)](_0x52b500)});}[_0x1d80b7(0x187)](_0x3c99a6,_0x169b10,_0x268f69){var _0x554cb1=_0x1d80b7;return this[_0x554cb1(0x195)]['createInstance'](c[_0x554cb1(0x17d)])[_0x554cb1(0x175)](_0x3c99a6,_0x169b10,_0x268f69);}}l['FUniver']['extend'](u);