@univerjs-pro/collaboration-client 0.5.5-nightly.202501210734 → 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';function _0x544c(_0x2cad7a,_0x300a0f){var _0x5b0e1d=_0x5b0e();return _0x544c=function(_0x544c41,_0x2c87ef){_0x544c41=_0x544c41-0x1bb;var _0x269f2f=_0x5b0e1d[_0x544c41];return _0x269f2f;},_0x544c(_0x2cad7a,_0x300a0f);}var _0x4fc27e=_0x544c;(function(_0x218fa7,_0x376b18){var _0x509d83=_0x544c,_0xda195=_0x218fa7();while(!![]){try{var _0x1b00c5=-parseInt(_0x509d83(0x1d5))/0x1+parseInt(_0x509d83(0x1bf))/0x2*(parseInt(_0x509d83(0x1e7))/0x3)+-parseInt(_0x509d83(0x1e9))/0x4*(-parseInt(_0x509d83(0x1da))/0x5)+-parseInt(_0x509d83(0x1c0))/0x6+-parseInt(_0x509d83(0x1c3))/0x7*(-parseInt(_0x509d83(0x1ce))/0x8)+-parseInt(_0x509d83(0x1bb))/0x9*(parseInt(_0x509d83(0x1db))/0xa)+parseInt(_0x509d83(0x1e3))/0xb*(parseInt(_0x509d83(0x1cf))/0xc);if(_0x1b00c5===_0x376b18)break;else _0xda195['push'](_0xda195['shift']());}catch(_0x552b9d){_0xda195['push'](_0xda195['shift']());}}}(_0x5b0e,0x2713d));Object[_0x4fc27e(0x1d7)](exports,Symbol[_0x4fc27e(0x1c5)],{'value':_0x4fc27e(0x1c8)});const o=require(_0x4fc27e(0x1df)),h=require(_0x4fc27e(0x1d2)),c=require(_0x4fc27e(0x1c4)),b=require(_0x4fc27e(0x1e8));var v=Object[_0x4fc27e(0x1d7)],u=Object[_0x4fc27e(0x1e1)],S=(_0xabc7b6,_0xe59f8d,_0x2ee8f8,_0x5264fe)=>{var _0x3c9f2f=_0x4fc27e;for(var _0x4b88c4=_0x5264fe>0x1?void 0x0:_0x5264fe?u(_0xe59f8d,_0x2ee8f8):_0xe59f8d,_0x4663b9=_0xabc7b6[_0x3c9f2f(0x1e4)]-0x1,_0x3c5410;_0x4663b9>=0x0;_0x4663b9--)(_0x3c5410=_0xabc7b6[_0x4663b9])&&(_0x4b88c4=(_0x5264fe?_0x3c5410(_0xe59f8d,_0x2ee8f8,_0x4b88c4):_0x3c5410(_0x4b88c4))||_0x4b88c4);return _0x5264fe&&_0x4b88c4&&v(_0xe59f8d,_0x2ee8f8,_0x4b88c4),_0x4b88c4;},s=(_0x37c7ff,_0x3961ab)=>(_0xe09ce,_0x1d5b51)=>_0x3961ab(_0xe09ce,_0x1d5b51,_0x37c7ff);exports[_0x4fc27e(0x1d3)]=class extends o['FBase']{constructor(_0x37714a,_0x3283cc,_0x5ed924,_0x2ac80b,_0x10c0b9){var _0xe80b45=_0x4fc27e;super(),this[_0xe80b45(0x1cc)]=_0x37714a,this[_0xe80b45(0x1cb)]=_0x3283cc,this[_0xe80b45(0x1d4)]=_0x5ed924,this[_0xe80b45(0x1c6)]=_0x2ac80b,this['_collaborationController']=_0x10c0b9;}async[_0x4fc27e(0x1e6)](){return this['loadActiveSheetAsync']();}async[_0x4fc27e(0x1eb)](){var _0x17b47c=_0x4fc27e;throw new Error(_0x17b47c(0x1e0));}async[_0x4fc27e(0x1d8)](_0xb429e9){var _0x5c7009=_0x4fc27e;return this[_0x5c7009(0x1d0)](_0xb429e9);}async[_0x4fc27e(0x1d0)](_0xc4fb99){var _0x10c649=_0x4fc27e;return this['_univerInstanceService'][_0x10c649(0x1dd)](_0xc4fb99,o[_0x10c649(0x1e5)][_0x10c649(0x1be)])||await this[_0x10c649(0x1c6)][_0x10c649(0x1d8)](_0xc4fb99,0x0)?(await this[_0x10c649(0x1ca)][_0x10c649(0x1ee)](_0xc4fb99),this[_0x10c649(0x1cc)][_0x10c649(0x1d9)](_0xc4fb99)):null;}['subscribeCollaborators'](_0x54028c,_0x141721){var _0x2054a4=_0x4fc27e;const _0x3a62b7=this['_injector'][_0x2054a4(0x1c2)](c[_0x2054a4(0x1d1)])[_0x2054a4(0x1dc)](_0x54028c)[_0x2054a4(0x1bc)](b[_0x2054a4(0x1e2)](_0x298d7d=>_0x298d7d[_0x2054a4(0x1c7)]))['subscribe'](_0x51f8e5=>_0x141721(Array['from'](_0x51f8e5[_0x2054a4(0x1cd)]())));return o[_0x2054a4(0x1de)](_0x3a62b7);}},exports['FCollaboration']=S([s(0x1,o['Inject'](o['Injector'])),s(0x2,o[_0x4fc27e(0x1bd)]),s(0x3,o[_0x4fc27e(0x1d6)](h[_0x4fc27e(0x1ec)])),s(0x4,o[_0x4fc27e(0x1d6)](c[_0x4fc27e(0x1ea)]))],exports['FCollaboration']);class _ extends o[_0x4fc27e(0x1c1)]{[_0x4fc27e(0x1ed)](){var _0x8fe7bb=_0x4fc27e;return this[_0x8fe7bb(0x1cb)]['createInstance'](exports[_0x8fe7bb(0x1d3)],{'getUniverSheet':_0x46a290=>this[_0x8fe7bb(0x1d9)](_0x46a290)});}}function _0x5b0e(){var _0x5976bc=['@univerjs/core','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','getOwnPropertyDescriptor','switchMap','11dkxTsI','length','UniverInstanceType','loadActiveSheet','9LTrgIa','rxjs','4YnPZXZ','CollaborationController','loadActiveSheetAsync','SnapshotService','getCollaboration','readyForCollab','45YsuTGk','pipe','IUniverInstanceService','UNIVER_SHEET','135302pHStjF','407580xEbtDC','FUniver','get','5334ggSSVB','@univerjs-pro/collaboration-client','toStringTag','_snapshotService','members$','Module','extend','_collaborationController','_injector','_handler','values','496wnkDxu','1857588XOTVSh','loadSheetAsync','MemberService','@univerjs-pro/collaboration','FCollaboration','_univerInstanceService','45493TjbTSA','Inject','defineProperty','loadSheet','getUniverSheet','465565HjFFJt','449250sOivaf','waitForRoom$','getUnit','toDisposable'];_0x5b0e=function(){return _0x5976bc;};return _0x5b0e();}o[_0x4fc27e(0x1c1)][_0x4fc27e(0x1c9)](_);
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)](_);