@univerjs-pro/collaboration-client 0.8.3-nightly.202507011607 → 0.8.3-nightly.202507031607

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';function _0x59fc(_0x5bdfda,_0x4807c1){var _0x5940a8=_0x5940();return _0x59fc=function(_0x59fca7,_0x237d3e){_0x59fca7=_0x59fca7-0x173;var _0x2f2e4c=_0x5940a8[_0x59fca7];return _0x2f2e4c;},_0x59fc(_0x5bdfda,_0x4807c1);}var _0x4253ac=_0x59fc;(function(_0x504e3a,_0x4f50c3){var _0x2faf4d=_0x59fc,_0x4f020c=_0x504e3a();while(!![]){try{var _0xe1b0d3=parseInt(_0x2faf4d(0x192))/0x1*(parseInt(_0x2faf4d(0x1a2))/0x2)+parseInt(_0x2faf4d(0x175))/0x3+-parseInt(_0x2faf4d(0x17b))/0x4*(-parseInt(_0x2faf4d(0x19d))/0x5)+-parseInt(_0x2faf4d(0x1a1))/0x6*(-parseInt(_0x2faf4d(0x19e))/0x7)+parseInt(_0x2faf4d(0x182))/0x8*(parseInt(_0x2faf4d(0x18c))/0x9)+parseInt(_0x2faf4d(0x181))/0xa+-parseInt(_0x2faf4d(0x186))/0xb;if(_0xe1b0d3===_0x4f50c3)break;else _0x4f020c['push'](_0x4f020c['shift']());}catch(_0x10992a){_0x4f020c['push'](_0x4f020c['shift']());}}}(_0x5940,0x37a9a));Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x4253ac(0x176)});const c=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),h=require('@univerjs-pro/collaboration'),n=require('@univerjs/core'),b=require('rxjs');var d=Object[_0x4253ac(0x1a0)],S=(_0x20638c,_0xd763d9,_0x4b12ba,_0x543c6b)=>{var _0x22c765=_0x4253ac;for(var _0x5da62c=_0x543c6b>0x1?void 0x0:_0x543c6b?d(_0xd763d9,_0x4b12ba):_0xd763d9,_0x2fedf9=_0x20638c[_0x22c765(0x19f)]-0x1,_0x5e2fe5;_0x2fedf9>=0x0;_0x2fedf9--)(_0x5e2fe5=_0x20638c[_0x2fedf9])&&(_0x5da62c=_0x5e2fe5(_0x5da62c)||_0x5da62c);return _0x5da62c;},s=(_0x2d375a,_0x37d1e6)=>(_0x64604b,_0xec645b)=>_0x37d1e6(_0x64604b,_0xec645b,_0x2d375a);function _0x5940(){var _0x2f892d=['Module','getCollaboration','readyForCollab','loadUnit','values','31756uNxocv','get','loadServerUnitOfRevision','FCollaboration','subscribeCollaborators','extend','2644890btkejQ','181816kdIVmT','FUniver','members$','createInstance','8830151ZpaxBM','waitForRoom$','loadServerUnit','Inject','from','MemberService','45mKHadZ','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','pipe','_injector','loadUnitOfRevision','_snapshotService','142936TDwloy','SnapshotService','loadSheet','loadActiveSheet','Injector','loadSheetAsync','getUniverSheet','_handler','_collaborationController','IUniverInstanceService','loadActiveSheetAsync','155ulHclx','21BAByve','length','getOwnPropertyDescriptor','131694NyXDDt','2sofsnA','toDisposable','DataLoaderService','593157UnUIid'];_0x5940=function(){return _0x2f892d;};return _0x5940();}exports[_0x4253ac(0x17e)]=class extends l['FBase']{constructor(_0x8f2045,_0x14b6af,_0x419580,_0x572f26,_0x363be9){var _0xd32348=_0x4253ac;super(),this[_0xd32348(0x199)]=_0x8f2045,this[_0xd32348(0x18f)]=_0x14b6af,this['_univerInstanceService']=_0x419580,this[_0xd32348(0x191)]=_0x572f26,this[_0xd32348(0x19a)]=_0x363be9;}async[_0x4253ac(0x195)](){var _0x414637=_0x4253ac;return this[_0x414637(0x19c)]();}async[_0x4253ac(0x19c)](){var _0x4d49f7=_0x4253ac;throw new Error(_0x4d49f7(0x18d));}async[_0x4253ac(0x194)](_0x1668ec){var _0x354917=_0x4253ac;return this[_0x354917(0x197)](_0x1668ec);}async[_0x4253ac(0x197)](_0x5d4a30,_0x44cea6){var _0x539112=_0x4253ac;return await this['_snapshotService']['loadSheet'](_0x5d4a30,0x0,_0x44cea6)?(await this[_0x539112(0x19a)][_0x539112(0x178)](_0x5d4a30),this['_handler'][_0x539112(0x198)](_0x5d4a30)):null;}[_0x4253ac(0x17f)](_0x4b9758,_0x59eb76){var _0x5da3e3=_0x4253ac;const _0x4e3d61=this[_0x5da3e3(0x18f)][_0x5da3e3(0x17c)](c[_0x5da3e3(0x18b)])[_0x5da3e3(0x187)](_0x4b9758)[_0x5da3e3(0x18e)](b['switchMap'](_0x46678d=>_0x46678d[_0x5da3e3(0x184)]))['subscribe'](_0x2103fc=>_0x59eb76(Array[_0x5da3e3(0x18a)](_0x2103fc[_0x5da3e3(0x17a)]())));return n[_0x5da3e3(0x173)](_0x4e3d61);}},exports[_0x4253ac(0x17e)]=S([s(0x1,n[_0x4253ac(0x189)](n[_0x4253ac(0x196)])),s(0x2,n[_0x4253ac(0x19b)]),s(0x3,n[_0x4253ac(0x189)](h[_0x4253ac(0x193)])),s(0x4,n[_0x4253ac(0x189)](c['CollaborationController']))],exports[_0x4253ac(0x17e)]);class u extends l['FUniver']{[_0x4253ac(0x177)](){var _0x5134ec=_0x4253ac;return this['_injector'][_0x5134ec(0x185)](exports[_0x5134ec(0x17e)],{'getUniverSheet':_0x1d42aa=>this[_0x5134ec(0x198)](_0x1d42aa)});}[_0x4253ac(0x188)](_0x41c66c,_0xab6406,_0x31d182){var _0x4ab212=_0x4253ac;return this[_0x4ab212(0x18f)]['get'](c[_0x4ab212(0x174)])[_0x4ab212(0x179)](_0x41c66c,_0xab6406,_0x31d182);}[_0x4253ac(0x17d)](_0x109728,_0x38b6b,_0xa07aaf){var _0x43e9bc=_0x4253ac;return this[_0x43e9bc(0x18f)][_0x43e9bc(0x17c)](c[_0x43e9bc(0x174)])[_0x43e9bc(0x190)](_0x109728,_0x38b6b,_0xa07aaf);}}l[_0x4253ac(0x183)][_0x4253ac(0x180)](u);
1
+ 'use strict';var _0x257ce4=_0x4139;function _0x2129(){var _0x2c7492=['Injector','length','defineProperty','loadServerUnitOfRevision','createInstance','1236OIJHUD','3594632Zlpovo','loadSheetAsync','_injector','getOwnPropertyDescriptor','314083DMfzEr','getCollaboration','2253360EZlRHz','subscribe','70209ldmxkj','_collaborationController','CollaborationController','toStringTag','extend','loadSheet','_univerInstanceService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','waitForRoom$','99316viGBDR','members$','subscribeCollaborators','Module','730rRaBBQ','loadActiveSheetAsync','4XIdFdm','_snapshotService','FCollaboration','IUniverInstanceService','from','switchMap','get','10118rXXIab','MemberService','324pGDJCB','Inject','_handler','1KuILZJ','FBase','pipe','loadUnit','4324670GOxMHS','values','getUniverSheet','FUniver'];_0x2129=function(){return _0x2c7492;};return _0x2129();}(function(_0x5e094d,_0x8ca555){var _0x3eb76f=_0x4139,_0x13d518=_0x5e094d();while(!![]){try{var _0x5f1616=parseInt(_0x3eb76f(0xc0))/0x1*(-parseInt(_0x3eb76f(0xbb))/0x2)+parseInt(_0x3eb76f(0xd4))/0x3+-parseInt(_0x3eb76f(0xb4))/0x4*(-parseInt(_0x3eb76f(0xc4))/0x5)+parseInt(_0x3eb76f(0xbd))/0x6*(parseInt(_0x3eb76f(0xdf))/0x7)+parseInt(_0x3eb76f(0xce))/0x8+-parseInt(_0x3eb76f(0xd6))/0x9*(-parseInt(_0x3eb76f(0xb2))/0xa)+parseInt(_0x3eb76f(0xd2))/0xb*(-parseInt(_0x3eb76f(0xcd))/0xc);if(_0x5f1616===_0x8ca555)break;else _0x13d518['push'](_0x13d518['shift']());}catch(_0x4516a6){_0x13d518['push'](_0x13d518['shift']());}}}(_0x2129,0x6f14e));function _0x4139(_0x3589fe,_0x290bc7){var _0x21293=_0x2129();return _0x4139=function(_0x4139e1,_0x14b15f){_0x4139e1=_0x4139e1-0xb1;var _0x32d4a3=_0x21293[_0x4139e1];return _0x32d4a3;},_0x4139(_0x3589fe,_0x290bc7);}Object[_0x257ce4(0xca)](exports,Symbol[_0x257ce4(0xd9)],{'value':_0x257ce4(0xb1)});const c=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),h=require('@univerjs-pro/collaboration'),n=require('@univerjs/core'),b=require('rxjs');var d=Object[_0x257ce4(0xd1)],S=(_0x17199c,_0x2e6472,_0x2adfbe,_0x44ae76)=>{var _0x142f90=_0x257ce4;for(var _0x9d23a0=_0x44ae76>0x1?void 0x0:_0x44ae76?d(_0x2e6472,_0x2adfbe):_0x2e6472,_0x11f80e=_0x17199c[_0x142f90(0xc9)]-0x1,_0x5ec661;_0x11f80e>=0x0;_0x11f80e--)(_0x5ec661=_0x17199c[_0x11f80e])&&(_0x9d23a0=_0x5ec661(_0x9d23a0)||_0x9d23a0);return _0x9d23a0;},s=(_0xcb781f,_0x17182c)=>(_0x260053,_0x289cc2)=>_0x17182c(_0x260053,_0x289cc2,_0xcb781f);exports[_0x257ce4(0xb6)]=class extends l[_0x257ce4(0xc1)]{constructor(_0x31b603,_0x16d051,_0x37ef0f,_0x478f78,_0x245118){var _0x14becb=_0x257ce4;super(),this[_0x14becb(0xbf)]=_0x31b603,this['_injector']=_0x16d051,this[_0x14becb(0xdc)]=_0x37ef0f,this[_0x14becb(0xb5)]=_0x478f78,this[_0x14becb(0xd7)]=_0x245118;}async['loadActiveSheet'](){var _0x5e2b8e=_0x257ce4;return this[_0x5e2b8e(0xb3)]();}async[_0x257ce4(0xb3)](){var _0x4653ca=_0x257ce4;throw new Error(_0x4653ca(0xdd));}async[_0x257ce4(0xdb)](_0x1f62d3){var _0x1e259e=_0x257ce4;return this[_0x1e259e(0xcf)](_0x1f62d3);}async[_0x257ce4(0xcf)](_0x4e376e,_0x1bd3da){var _0x17efd4=_0x257ce4;return await this[_0x17efd4(0xb5)][_0x17efd4(0xdb)](_0x4e376e,0x0,_0x1bd3da)?(await this[_0x17efd4(0xd7)]['readyForCollab'](_0x4e376e),this[_0x17efd4(0xbf)][_0x17efd4(0xc6)](_0x4e376e)):null;}[_0x257ce4(0xe1)](_0x6ba379,_0x2e8ea4){var _0x45ee27=_0x257ce4;const _0x2cfb8e=this[_0x45ee27(0xd0)][_0x45ee27(0xba)](c[_0x45ee27(0xbc)])[_0x45ee27(0xde)](_0x6ba379)[_0x45ee27(0xc2)](b[_0x45ee27(0xb9)](_0x260928=>_0x260928[_0x45ee27(0xe0)]))[_0x45ee27(0xd5)](_0x5093a5=>_0x2e8ea4(Array[_0x45ee27(0xb8)](_0x5093a5[_0x45ee27(0xc5)]())));return n['toDisposable'](_0x2cfb8e);}},exports['FCollaboration']=S([s(0x1,n[_0x257ce4(0xbe)](n[_0x257ce4(0xc8)])),s(0x2,n[_0x257ce4(0xb7)]),s(0x3,n[_0x257ce4(0xbe)](h['SnapshotService'])),s(0x4,n[_0x257ce4(0xbe)](c[_0x257ce4(0xd8)]))],exports[_0x257ce4(0xb6)]);class u extends l[_0x257ce4(0xc7)]{[_0x257ce4(0xd3)](){var _0x3115c0=_0x257ce4;return this[_0x3115c0(0xd0)][_0x3115c0(0xcc)](exports['FCollaboration'],{'getUniverSheet':_0x3f81e5=>this['getUniverSheet'](_0x3f81e5)});}['loadServerUnit'](_0x1bbdc6,_0x49dc29,_0x3df013){var _0x3e28e9=_0x257ce4;return this['_injector']['get'](c['DataLoaderService'])[_0x3e28e9(0xc3)](_0x1bbdc6,_0x49dc29,_0x3df013);}[_0x257ce4(0xcb)](_0x439dac,_0x2899d0,_0x29dfef){var _0x2c14f9=_0x257ce4;return this[_0x2c14f9(0xd0)][_0x2c14f9(0xba)](c['DataLoaderService'])['loadUnitOfRevision'](_0x439dac,_0x2899d0,_0x29dfef);}}l[_0x257ce4(0xc7)][_0x257ce4(0xda)](u);