@univerjs-pro/collaboration-client 0.5.5-nightly.202501210849 → 0.5.5-nightly.202501210925

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 _0x218282=_0x2abe;(function(_0x235473,_0x4a05f2){var _0x310bc0=_0x2abe,_0x531ec0=_0x235473();while(!![]){try{var _0x100d8c=parseInt(_0x310bc0(0x17a))/0x1+-parseInt(_0x310bc0(0x18a))/0x2*(-parseInt(_0x310bc0(0x184))/0x3)+parseInt(_0x310bc0(0x1a3))/0x4*(parseInt(_0x310bc0(0x17d))/0x5)+parseInt(_0x310bc0(0x19f))/0x6+-parseInt(_0x310bc0(0x17f))/0x7+parseInt(_0x310bc0(0x195))/0x8*(parseInt(_0x310bc0(0x17c))/0x9)+parseInt(_0x310bc0(0x175))/0xa*(-parseInt(_0x310bc0(0x199))/0xb);if(_0x100d8c===_0x4a05f2)break;else _0x531ec0['push'](_0x531ec0['shift']());}catch(_0x2111e5){_0x531ec0['push'](_0x531ec0['shift']());}}}(_0x43f2,0x8a5b1));Object[_0x218282(0x1a2)](exports,Symbol[_0x218282(0x177)],{'value':_0x218282(0x178)});const o=require(_0x218282(0x19a)),h=require(_0x218282(0x174)),c=require(_0x218282(0x1a1)),b=require(_0x218282(0x19e));var v=Object[_0x218282(0x1a2)],u=Object[_0x218282(0x181)],S=(_0x133432,_0x45ac1b,_0x54d4a7,_0x5e8b57)=>{for(var _0x18c9d6=_0x5e8b57>0x1?void 0x0:_0x5e8b57?u(_0x45ac1b,_0x54d4a7):_0x45ac1b,_0x3ae743=_0x133432['length']-0x1,_0x5c7eda;_0x3ae743>=0x0;_0x3ae743--)(_0x5c7eda=_0x133432[_0x3ae743])&&(_0x18c9d6=(_0x5e8b57?_0x5c7eda(_0x45ac1b,_0x54d4a7,_0x18c9d6):_0x5c7eda(_0x18c9d6))||_0x18c9d6);return _0x5e8b57&&_0x18c9d6&&v(_0x45ac1b,_0x54d4a7,_0x18c9d6),_0x18c9d6;},s=(_0x3cb1e3,_0x2091a3)=>(_0x461801,_0x5d786d)=>_0x2091a3(_0x461801,_0x5d786d,_0x3cb1e3);exports[_0x218282(0x191)]=class extends o[_0x218282(0x17e)]{constructor(_0x5c2f13,_0x273c89,_0x13c140,_0x491b1d,_0x34f3ea){var _0x55029e=_0x218282;super(),this['_handler']=_0x5c2f13,this[_0x55029e(0x17b)]=_0x273c89,this[_0x55029e(0x190)]=_0x13c140,this[_0x55029e(0x194)]=_0x491b1d,this[_0x55029e(0x19b)]=_0x34f3ea;}async['loadActiveSheet'](){var _0x2af3db=_0x218282;return this[_0x2af3db(0x188)]();}async[_0x218282(0x188)](){var _0x2e2973=_0x218282;throw new Error(_0x2e2973(0x19c));}async[_0x218282(0x197)](_0x251d05){var _0x1bcd19=_0x218282;return this[_0x1bcd19(0x1a4)](_0x251d05);}async[_0x218282(0x1a4)](_0x5833f){var _0x5e5ef8=_0x218282;return this[_0x5e5ef8(0x190)][_0x5e5ef8(0x187)](_0x5833f,o['UniverInstanceType'][_0x5e5ef8(0x18f)])||await this[_0x5e5ef8(0x194)]['loadSheet'](_0x5833f,0x0)?(await this['_collaborationController']['readyForCollab'](_0x5833f),this['_handler'][_0x5e5ef8(0x19d)](_0x5833f)):null;}[_0x218282(0x192)](_0x4d4b90,_0x1df97d){var _0x56e69e=_0x218282;const _0x1b4a6e=this[_0x56e69e(0x17b)][_0x56e69e(0x1a0)](c[_0x56e69e(0x186)])[_0x56e69e(0x198)](_0x4d4b90)['pipe'](b['switchMap'](_0x51e4c6=>_0x51e4c6[_0x56e69e(0x180)]))[_0x56e69e(0x196)](_0x534730=>_0x1df97d(Array[_0x56e69e(0x193)](_0x534730[_0x56e69e(0x189)]())));return o[_0x56e69e(0x18b)](_0x1b4a6e);}},exports[_0x218282(0x191)]=S([s(0x1,o[_0x218282(0x176)](o[_0x218282(0x185)])),s(0x2,o[_0x218282(0x18c)]),s(0x3,o[_0x218282(0x176)](h[_0x218282(0x182)])),s(0x4,o[_0x218282(0x176)](c[_0x218282(0x183)]))],exports[_0x218282(0x191)]);function _0x2abe(_0x175ecb,_0x2be76b){var _0x43f2c2=_0x43f2();return _0x2abe=function(_0x2abebe,_0x2a6e13){_0x2abebe=_0x2abebe-0x174;var _0x2a5d1b=_0x43f2c2[_0x2abebe];return _0x2a5d1b;},_0x2abe(_0x175ecb,_0x2be76b);}class _ extends o[_0x218282(0x18e)]{[_0x218282(0x18d)](){var _0x2e6d2a=_0x218282;return this[_0x2e6d2a(0x17b)]['createInstance'](exports[_0x2e6d2a(0x191)],{'getUniverSheet':_0x237e76=>this[_0x2e6d2a(0x19d)](_0x237e76)});}}o[_0x218282(0x18e)][_0x218282(0x179)](_);function _0x43f2(){var _0x1f2629=['4007507tQfXSg','members$','getOwnPropertyDescriptor','SnapshotService','CollaborationController','183HIUtLy','Injector','MemberService','getUnit','loadActiveSheetAsync','values','9486TchfnE','toDisposable','IUniverInstanceService','getCollaboration','FUniver','UNIVER_SHEET','_univerInstanceService','FCollaboration','subscribeCollaborators','from','_snapshotService','104CeFWfd','subscribe','loadSheet','waitForRoom$','1837cUUHgk','@univerjs/core','_collaborationController','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','getUniverSheet','rxjs','6479388FBfXLp','get','@univerjs-pro/collaboration-client','defineProperty','5416RWtWDP','loadSheetAsync','@univerjs-pro/collaboration','89480WjpBqp','Inject','toStringTag','Module','extend','248856yqIpfz','_injector','616761DQLUem','460dXGdfl','FBase'];_0x43f2=function(){return _0x1f2629;};return _0x43f2();}
1
+ 'use strict';var _0x343a3a=_0x2d41;(function(_0x370f3a,_0x9593f1){var _0x1d7402=_0x2d41,_0x477a2d=_0x370f3a();while(!![]){try{var _0x13bede=parseInt(_0x1d7402(0x179))/0x1*(parseInt(_0x1d7402(0x162))/0x2)+parseInt(_0x1d7402(0x165))/0x3*(-parseInt(_0x1d7402(0x168))/0x4)+parseInt(_0x1d7402(0x17e))/0x5+-parseInt(_0x1d7402(0x186))/0x6*(-parseInt(_0x1d7402(0x16f))/0x7)+parseInt(_0x1d7402(0x169))/0x8+parseInt(_0x1d7402(0x188))/0x9*(parseInt(_0x1d7402(0x167))/0xa)+parseInt(_0x1d7402(0x16a))/0xb*(-parseInt(_0x1d7402(0x16b))/0xc);if(_0x13bede===_0x9593f1)break;else _0x477a2d['push'](_0x477a2d['shift']());}catch(_0x29bc15){_0x477a2d['push'](_0x477a2d['shift']());}}}(_0x58e1,0xbd767));Object[_0x343a3a(0x171)](exports,Symbol[_0x343a3a(0x187)],{'value':_0x343a3a(0x18b)});const o=require(_0x343a3a(0x18c)),h=require('@univerjs-pro/collaboration'),c=require(_0x343a3a(0x180)),b=require(_0x343a3a(0x174));var v=Object[_0x343a3a(0x171)],u=Object[_0x343a3a(0x18e)],S=(_0x4854f8,_0x5d1082,_0xff54ac,_0x124276)=>{var _0x14aa80=_0x343a3a;for(var _0x31f262=_0x124276>0x1?void 0x0:_0x124276?u(_0x5d1082,_0xff54ac):_0x5d1082,_0x3a6ce2=_0x4854f8[_0x14aa80(0x17c)]-0x1,_0x13351d;_0x3a6ce2>=0x0;_0x3a6ce2--)(_0x13351d=_0x4854f8[_0x3a6ce2])&&(_0x31f262=(_0x124276?_0x13351d(_0x5d1082,_0xff54ac,_0x31f262):_0x13351d(_0x31f262))||_0x31f262);return _0x124276&&_0x31f262&&v(_0x5d1082,_0xff54ac,_0x31f262),_0x31f262;},s=(_0x1cb586,_0x7577ac)=>(_0x425e1c,_0xe7dfab)=>_0x7577ac(_0x425e1c,_0xe7dfab,_0x1cb586);exports[_0x343a3a(0x184)]=class extends o[_0x343a3a(0x175)]{constructor(_0x39920d,_0xb65847,_0x52abff,_0x5ee2ae,_0x39996b){var _0x3a49df=_0x343a3a;super(),this[_0x3a49df(0x190)]=_0x39920d,this['_injector']=_0xb65847,this[_0x3a49df(0x164)]=_0x52abff,this['_snapshotService']=_0x5ee2ae,this[_0x3a49df(0x18f)]=_0x39996b;}async[_0x343a3a(0x18a)](){var _0x2bd5a9=_0x343a3a;return this[_0x2bd5a9(0x181)]();}async[_0x343a3a(0x181)](){var _0x3a0f22=_0x343a3a;throw new Error(_0x3a0f22(0x17d));}async[_0x343a3a(0x17a)](_0x1070d1){var _0x3e552b=_0x343a3a;return this[_0x3e552b(0x163)](_0x1070d1);}async['loadSheetAsync'](_0x4fa829){var _0x402b11=_0x343a3a;return this['_univerInstanceService'][_0x402b11(0x16d)](_0x4fa829,o[_0x402b11(0x173)][_0x402b11(0x193)])||await this[_0x402b11(0x16e)][_0x402b11(0x17a)](_0x4fa829,0x0)?(await this[_0x402b11(0x18f)][_0x402b11(0x192)](_0x4fa829),this['_handler'][_0x402b11(0x170)](_0x4fa829)):null;}[_0x343a3a(0x17b)](_0x21f6a5,_0x3c736b){var _0x59ffc4=_0x343a3a;const _0x3429a7=this[_0x59ffc4(0x166)][_0x59ffc4(0x16c)](c[_0x59ffc4(0x178)])[_0x59ffc4(0x185)](_0x21f6a5)[_0x59ffc4(0x182)](b['switchMap'](_0x4bd0ba=>_0x4bd0ba['members$']))[_0x59ffc4(0x172)](_0x39c261=>_0x3c736b(Array['from'](_0x39c261['values']())));return o[_0x59ffc4(0x176)](_0x3429a7);}},exports['FCollaboration']=S([s(0x1,o[_0x343a3a(0x177)](o['Injector'])),s(0x2,o[_0x343a3a(0x18d)]),s(0x3,o[_0x343a3a(0x177)](h[_0x343a3a(0x189)])),s(0x4,o[_0x343a3a(0x177)](c[_0x343a3a(0x191)]))],exports[_0x343a3a(0x184)]);function _0x58e1(){var _0x4395b0=['loadSheetAsync','_univerInstanceService','38739OpdOUa','_injector','1180FrfJtV','236nlYjNZ','2683512NYTHtY','7535mInObF','36444lMsjbo','get','getUnit','_snapshotService','12117uMVCHK','getUniverSheet','defineProperty','subscribe','UniverInstanceType','rxjs','FBase','toDisposable','Inject','MemberService','813707nOyPsP','loadSheet','subscribeCollaborators','length','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','2998345gUgyDK','extend','@univerjs-pro/collaboration-client','loadActiveSheetAsync','pipe','FUniver','FCollaboration','waitForRoom$','3564arjJYF','toStringTag','64161dmVoZE','SnapshotService','loadActiveSheet','Module','@univerjs/core','IUniverInstanceService','getOwnPropertyDescriptor','_collaborationController','_handler','CollaborationController','readyForCollab','UNIVER_SHEET','2Jeyqgj'];_0x58e1=function(){return _0x4395b0;};return _0x58e1();}class _ extends o[_0x343a3a(0x183)]{['getCollaboration'](){var _0x383ccd=_0x343a3a;return this[_0x383ccd(0x166)]['createInstance'](exports['FCollaboration'],{'getUniverSheet':_0x2edbb7=>this[_0x383ccd(0x170)](_0x2edbb7)});}}function _0x2d41(_0x451132,_0x37b355){var _0x58e1bb=_0x58e1();return _0x2d41=function(_0x2d4162,_0x3528e5){_0x2d4162=_0x2d4162-0x162;var _0x460bd7=_0x58e1bb[_0x2d4162];return _0x460bd7;},_0x2d41(_0x451132,_0x37b355);}o[_0x343a3a(0x183)][_0x343a3a(0x17f)](_);