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

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 _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)](_);
1
+ 'use strict';var _0x26af2f=_0x1dfb;(function(_0x355155,_0x3509b2){var _0x1c8c9f=_0x1dfb,_0x58c0ed=_0x355155();while(!![]){try{var _0x496ee9=parseInt(_0x1c8c9f(0xbf))/0x1+parseInt(_0x1c8c9f(0xba))/0x2*(-parseInt(_0x1c8c9f(0xbc))/0x3)+-parseInt(_0x1c8c9f(0xdf))/0x4*(-parseInt(_0x1c8c9f(0xe2))/0x5)+-parseInt(_0x1c8c9f(0xbe))/0x6*(parseInt(_0x1c8c9f(0xd6))/0x7)+-parseInt(_0x1c8c9f(0xdb))/0x8+parseInt(_0x1c8c9f(0xd7))/0x9*(-parseInt(_0x1c8c9f(0xd4))/0xa)+parseInt(_0x1c8c9f(0xcd))/0xb*(parseInt(_0x1c8c9f(0xc9))/0xc);if(_0x496ee9===_0x3509b2)break;else _0x58c0ed['push'](_0x58c0ed['shift']());}catch(_0x4770aa){_0x58c0ed['push'](_0x58c0ed['shift']());}}}(_0x2abd,0xa82d5));Object[_0x26af2f(0xd9)](exports,Symbol[_0x26af2f(0xd5)],{'value':_0x26af2f(0xb0)});function _0x2abd(){var _0x7da539=['defineProperty','@univerjs-pro/collaboration-client','6972008uSJeiH','pipe','toDisposable','loadSheetAsync','2412hqofcR','_collaborationController','get','7190oIqbiy','loadActiveSheet','extend','Module','_handler','_snapshotService','getCollaboration','rxjs','createInstance','readyForCollab','loadSheet','@univerjs-pro/collaboration','FCollaboration','149494QyIBGJ','loadActiveSheetAsync','6DUZOqz','_univerInstanceService','24QEmKov','779298SBpGss','getUniverSheet','subscribeCollaborators','switchMap','subscribe','Inject','members$','@univerjs/core','FUniver','MemberService','472008JsJdKY','IUniverInstanceService','getUnit','FBase','286yfmyAs','SnapshotService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','_injector','Injector','waitForRoom$','from','190620uzonqY','toStringTag','1478533VxNgxa','54IXHIqA','values'];_0x2abd=function(){return _0x7da539;};return _0x2abd();}function _0x1dfb(_0x2b5a96,_0x3d14dd){var _0x2abd0d=_0x2abd();return _0x1dfb=function(_0x1dfbeb,_0x31462e){_0x1dfbeb=_0x1dfbeb-0xb0;var _0x3ca262=_0x2abd0d[_0x1dfbeb];return _0x3ca262;},_0x1dfb(_0x2b5a96,_0x3d14dd);}const o=require(_0x26af2f(0xc6)),h=require(_0x26af2f(0xb8)),c=require(_0x26af2f(0xda)),b=require(_0x26af2f(0xb4));var v=Object['defineProperty'],u=Object['getOwnPropertyDescriptor'],S=(_0x48744f,_0x4787e2,_0x579a0b,_0x3e8412)=>{for(var _0x445f0c=_0x3e8412>0x1?void 0x0:_0x3e8412?u(_0x4787e2,_0x579a0b):_0x4787e2,_0x398a77=_0x48744f['length']-0x1,_0x3acfb8;_0x398a77>=0x0;_0x398a77--)(_0x3acfb8=_0x48744f[_0x398a77])&&(_0x445f0c=(_0x3e8412?_0x3acfb8(_0x4787e2,_0x579a0b,_0x445f0c):_0x3acfb8(_0x445f0c))||_0x445f0c);return _0x3e8412&&_0x445f0c&&v(_0x4787e2,_0x579a0b,_0x445f0c),_0x445f0c;},s=(_0x433a3f,_0x4f590f)=>(_0x2ae016,_0x2abd03)=>_0x4f590f(_0x2ae016,_0x2abd03,_0x433a3f);exports['FCollaboration']=class extends o[_0x26af2f(0xcc)]{constructor(_0x49395d,_0x2fe1ee,_0x7eeb9b,_0x10d34a,_0x553fda){var _0x28bbf=_0x26af2f;super(),this[_0x28bbf(0xb1)]=_0x49395d,this[_0x28bbf(0xd0)]=_0x2fe1ee,this[_0x28bbf(0xbd)]=_0x7eeb9b,this[_0x28bbf(0xb2)]=_0x10d34a,this[_0x28bbf(0xe0)]=_0x553fda;}async[_0x26af2f(0xe3)](){var _0x221286=_0x26af2f;return this[_0x221286(0xbb)]();}async[_0x26af2f(0xbb)](){var _0x442e1b=_0x26af2f;throw new Error(_0x442e1b(0xcf));}async[_0x26af2f(0xb7)](_0x3199cd){var _0x6119fe=_0x26af2f;return this[_0x6119fe(0xde)](_0x3199cd);}async[_0x26af2f(0xde)](_0x2f9660){var _0x3176d5=_0x26af2f;return this['_univerInstanceService'][_0x3176d5(0xcb)](_0x2f9660,o['UniverInstanceType']['UNIVER_SHEET'])||await this['_snapshotService'][_0x3176d5(0xb7)](_0x2f9660,0x0)?(await this['_collaborationController'][_0x3176d5(0xb6)](_0x2f9660),this[_0x3176d5(0xb1)][_0x3176d5(0xc0)](_0x2f9660)):null;}[_0x26af2f(0xc1)](_0x20e92a,_0x236046){var _0x4e6f9a=_0x26af2f;const _0x2279bb=this[_0x4e6f9a(0xd0)][_0x4e6f9a(0xe1)](c[_0x4e6f9a(0xc8)])[_0x4e6f9a(0xd2)](_0x20e92a)[_0x4e6f9a(0xdc)](b[_0x4e6f9a(0xc2)](_0x2b4964=>_0x2b4964[_0x4e6f9a(0xc5)]))[_0x4e6f9a(0xc3)](_0x3fc32a=>_0x236046(Array[_0x4e6f9a(0xd3)](_0x3fc32a[_0x4e6f9a(0xd8)]())));return o[_0x4e6f9a(0xdd)](_0x2279bb);}},exports['FCollaboration']=S([s(0x1,o[_0x26af2f(0xc4)](o[_0x26af2f(0xd1)])),s(0x2,o[_0x26af2f(0xca)]),s(0x3,o[_0x26af2f(0xc4)](h[_0x26af2f(0xce)])),s(0x4,o['Inject'](c['CollaborationController']))],exports[_0x26af2f(0xb9)]);class _ extends o['FUniver']{[_0x26af2f(0xb3)](){var _0x24ce34=_0x26af2f;return this[_0x24ce34(0xd0)][_0x24ce34(0xb5)](exports[_0x24ce34(0xb9)],{'getUniverSheet':_0xe2b57b=>this['getUniverSheet'](_0xe2b57b)});}}o[_0x26af2f(0xc7)][_0x26af2f(0xe4)](_);