@univerjs-pro/collaboration-client 0.6.3-nightly.202503041606 → 0.6.3-nightly.202503051607

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 _0x2a2c14=_0x1b0c;(function(_0x39d23c,_0x1b7646){var _0x4aec88=_0x1b0c,_0xdec4ef=_0x39d23c();while(!![]){try{var _0x6e3c33=parseInt(_0x4aec88(0x1da))/0x1*(-parseInt(_0x4aec88(0x1cf))/0x2)+parseInt(_0x4aec88(0x1bc))/0x3*(-parseInt(_0x4aec88(0x1d5))/0x4)+-parseInt(_0x4aec88(0x1bd))/0x5+parseInt(_0x4aec88(0x1ba))/0x6+-parseInt(_0x4aec88(0x1cb))/0x7*(-parseInt(_0x4aec88(0x1d0))/0x8)+parseInt(_0x4aec88(0x1c0))/0x9*(parseInt(_0x4aec88(0x1bb))/0xa)+-parseInt(_0x4aec88(0x1b8))/0xb;if(_0x6e3c33===_0x1b7646)break;else _0xdec4ef['push'](_0xdec4ef['shift']());}catch(_0x407414){_0xdec4ef['push'](_0xdec4ef['shift']());}}}(_0x5e8b,0x8872a));Object[_0x2a2c14(0x1db)](exports,Symbol[_0x2a2c14(0x1d9)],{'value':'Module'});const l=require(_0x2a2c14(0x1d4)),b=require('@univerjs-pro/collaboration'),h=require(_0x2a2c14(0x1bf)),i=require('@univerjs/core'),v=require(_0x2a2c14(0x1d8));function _0x5e8b(){var _0xdfc62c=['IUniverInstanceService','readyForCollab','loadActiveSheet','204704QLGqtI','5986712owkhQN','_injector','getOwnPropertyDescriptor','loadSheet','@univerjs/core/facade','3247468orguNQ','getUniverSheet','pipe','rxjs','toStringTag','1PCbbxF','defineProperty','_collaborationController','FUniver','switchMap','extend','5299052iYhJxy','_handler','5659848QcTKZs','1420chEqQx','3HwaUKG','1675970lSvdiq','subscribeCollaborators','@univerjs-pro/collaboration-client','37926oUCYgG','loadSheetAsync','values','FCollaboration','FBase','getCollaboration','MemberService','waitForRoom$','Inject','createInstance','loadActiveSheetAsync','7vCDRXA'];_0x5e8b=function(){return _0xdfc62c;};return _0x5e8b();}function _0x1b0c(_0xce6397,_0x97fd7d){var _0x5e8bc9=_0x5e8b();return _0x1b0c=function(_0x1b0c30,_0x319b28){_0x1b0c30=_0x1b0c30-0x1b4;var _0x5b77a1=_0x5e8bc9[_0x1b0c30];return _0x5b77a1;},_0x1b0c(_0xce6397,_0x97fd7d);}var u=Object[_0x2a2c14(0x1d2)],S=(_0x415713,_0x54b4ba,_0xb3a614,_0x2505c1)=>{for(var _0x955274=_0x2505c1>0x1?void 0x0:_0x2505c1?u(_0x54b4ba,_0xb3a614):_0x54b4ba,_0x372a36=_0x415713['length']-0x1,_0x57dde9;_0x372a36>=0x0;_0x372a36--)(_0x57dde9=_0x415713[_0x372a36])&&(_0x955274=_0x57dde9(_0x955274)||_0x955274);return _0x955274;},s=(_0x1e86b2,_0x5dd1de)=>(_0x32bb80,_0x404cc0)=>_0x5dd1de(_0x32bb80,_0x404cc0,_0x1e86b2);exports[_0x2a2c14(0x1c3)]=class extends l[_0x2a2c14(0x1c4)]{constructor(_0x4f6c53,_0x88e6d2,_0x2f1b06,_0x47a817,_0x2537f3){var _0x1e2af9=_0x2a2c14;super(),this[_0x1e2af9(0x1b9)]=_0x4f6c53,this[_0x1e2af9(0x1d1)]=_0x88e6d2,this['_univerInstanceService']=_0x2f1b06,this['_snapshotService']=_0x47a817,this[_0x1e2af9(0x1b4)]=_0x2537f3;}async[_0x2a2c14(0x1ce)](){var _0x458a38=_0x2a2c14;return this[_0x458a38(0x1ca)]();}async[_0x2a2c14(0x1ca)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x2a2c14(0x1d3)](_0x17a37e){var _0x549446=_0x2a2c14;return this[_0x549446(0x1c1)](_0x17a37e);}async['loadSheetAsync'](_0x224586,_0x2f02e8){var _0x4f5a5e=_0x2a2c14;return await this['_snapshotService'][_0x4f5a5e(0x1d3)](_0x224586,0x0,_0x2f02e8)?(await this['_collaborationController'][_0x4f5a5e(0x1cd)](_0x224586),this[_0x4f5a5e(0x1b9)][_0x4f5a5e(0x1d6)](_0x224586)):null;}[_0x2a2c14(0x1be)](_0x4ba3ce,_0x3660b3){var _0x10b1d0=_0x2a2c14;const _0x10f43e=this[_0x10b1d0(0x1d1)]['get'](h[_0x10b1d0(0x1c6)])[_0x10b1d0(0x1c7)](_0x4ba3ce)[_0x10b1d0(0x1d7)](v[_0x10b1d0(0x1b6)](_0xb07ee=>_0xb07ee['members$']))['subscribe'](_0x54f8bb=>_0x3660b3(Array['from'](_0x54f8bb[_0x10b1d0(0x1c2)]())));return i['toDisposable'](_0x10f43e);}},exports[_0x2a2c14(0x1c3)]=S([s(0x1,i[_0x2a2c14(0x1c8)](i['Injector'])),s(0x2,i[_0x2a2c14(0x1cc)]),s(0x3,i[_0x2a2c14(0x1c8)](b['SnapshotService'])),s(0x4,i['Inject'](h['CollaborationController']))],exports[_0x2a2c14(0x1c3)]);class d extends l[_0x2a2c14(0x1b5)]{[_0x2a2c14(0x1c5)](){var _0x442c0d=_0x2a2c14;return this['_injector'][_0x442c0d(0x1c9)](exports[_0x442c0d(0x1c3)],{'getUniverSheet':_0x180d8c=>this['getUniverSheet'](_0x180d8c)});}}l[_0x2a2c14(0x1b5)][_0x2a2c14(0x1b7)](d);
1
+ 'use strict';var _0x3713c8=_0x53d6;(function(_0x3671fc,_0x3cf9c3){var _0x2d01b9=_0x53d6,_0x55dc15=_0x3671fc();while(!![]){try{var _0x19f2ac=-parseInt(_0x2d01b9(0x1f4))/0x1+parseInt(_0x2d01b9(0x1e6))/0x2+-parseInt(_0x2d01b9(0x1e9))/0x3+-parseInt(_0x2d01b9(0x1eb))/0x4+parseInt(_0x2d01b9(0x1f0))/0x5+parseInt(_0x2d01b9(0x1de))/0x6*(parseInt(_0x2d01b9(0x1f6))/0x7)+-parseInt(_0x2d01b9(0x1e4))/0x8*(-parseInt(_0x2d01b9(0x1ee))/0x9);if(_0x19f2ac===_0x3cf9c3)break;else _0x55dc15['push'](_0x55dc15['shift']());}catch(_0x44b936){_0x55dc15['push'](_0x55dc15['shift']());}}}(_0x1488,0x1dfef));function _0x1488(){var _0x3fc0ad=['defineProperty','extend','get','members$','40nEksoj','getOwnPropertyDescriptor','285498WyAQvK','loadActiveSheet','IUniverInstanceService','624102dcgGvc','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','874004bmiQOs','from','toDisposable','265887hMjgDZ','toStringTag','1094310xnFCSP','@univerjs/core','FCollaboration','@univerjs/core/facade','74395HLtapI','FBase','801269UAYpRD','loadActiveSheetAsync','getUniverSheet','CollaborationController','loadSheetAsync','switchMap','Injector','@univerjs-pro/collaboration-client','MemberService','@univerjs-pro/collaboration','subscribe','getCollaboration','Inject','values','FUniver','Module','_snapshotService','_univerInstanceService','_handler','rxjs','loadSheet','_injector','6ElBkoC','SnapshotService'];_0x1488=function(){return _0x3fc0ad;};return _0x1488();}function _0x53d6(_0x2c6d14,_0xc0a3bf){var _0x14884d=_0x1488();return _0x53d6=function(_0x53d611,_0x4f6975){_0x53d611=_0x53d611-0x1d7;var _0x3a6a96=_0x14884d[_0x53d611];return _0x3a6a96;},_0x53d6(_0x2c6d14,_0xc0a3bf);}Object[_0x3713c8(0x1e0)](exports,Symbol[_0x3713c8(0x1ef)],{'value':_0x3713c8(0x1d7)});const l=require(_0x3713c8(0x1f3)),b=require(_0x3713c8(0x1ff)),h=require(_0x3713c8(0x1fd)),i=require(_0x3713c8(0x1f1)),v=require(_0x3713c8(0x1db));var u=Object[_0x3713c8(0x1e5)],S=(_0x201ef3,_0x52463c,_0x1aee85,_0x36ef43)=>{for(var _0x7ab69=_0x36ef43>0x1?void 0x0:_0x36ef43?u(_0x52463c,_0x1aee85):_0x52463c,_0x4a4a83=_0x201ef3['length']-0x1,_0x355a96;_0x4a4a83>=0x0;_0x4a4a83--)(_0x355a96=_0x201ef3[_0x4a4a83])&&(_0x7ab69=_0x355a96(_0x7ab69)||_0x7ab69);return _0x7ab69;},s=(_0xdf0483,_0x50c521)=>(_0x5ef259,_0x4f5a82)=>_0x50c521(_0x5ef259,_0x4f5a82,_0xdf0483);exports[_0x3713c8(0x1f2)]=class extends l[_0x3713c8(0x1f5)]{constructor(_0x2e258a,_0x38e4b,_0x4bf46a,_0x11bae0,_0x1a62f1){var _0x1ba3f1=_0x3713c8;super(),this['_handler']=_0x2e258a,this[_0x1ba3f1(0x1dd)]=_0x38e4b,this[_0x1ba3f1(0x1d9)]=_0x4bf46a,this[_0x1ba3f1(0x1d8)]=_0x11bae0,this['_collaborationController']=_0x1a62f1;}async[_0x3713c8(0x1e7)](){var _0x284e6a=_0x3713c8;return this[_0x284e6a(0x1f7)]();}async[_0x3713c8(0x1f7)](){var _0x309a38=_0x3713c8;throw new Error(_0x309a38(0x1ea));}async['loadSheet'](_0x36a0f1){return this['loadSheetAsync'](_0x36a0f1);}async[_0x3713c8(0x1fa)](_0x33f7ac,_0x35133f){var _0x480864=_0x3713c8;return await this['_snapshotService'][_0x480864(0x1dc)](_0x33f7ac,0x0,_0x35133f)?(await this['_collaborationController']['readyForCollab'](_0x33f7ac),this[_0x480864(0x1da)][_0x480864(0x1f8)](_0x33f7ac)):null;}['subscribeCollaborators'](_0x1ab14b,_0x607a2f){var _0x3fd9a4=_0x3713c8;const _0xc6e305=this[_0x3fd9a4(0x1dd)][_0x3fd9a4(0x1e2)](h[_0x3fd9a4(0x1fe)])['waitForRoom$'](_0x1ab14b)['pipe'](v[_0x3fd9a4(0x1fb)](_0xeedce2=>_0xeedce2[_0x3fd9a4(0x1e3)]))[_0x3fd9a4(0x200)](_0xacc15e=>_0x607a2f(Array[_0x3fd9a4(0x1ec)](_0xacc15e[_0x3fd9a4(0x203)]())));return i[_0x3fd9a4(0x1ed)](_0xc6e305);}},exports[_0x3713c8(0x1f2)]=S([s(0x1,i[_0x3713c8(0x202)](i[_0x3713c8(0x1fc)])),s(0x2,i[_0x3713c8(0x1e8)]),s(0x3,i['Inject'](b[_0x3713c8(0x1df)])),s(0x4,i[_0x3713c8(0x202)](h[_0x3713c8(0x1f9)]))],exports[_0x3713c8(0x1f2)]);class d extends l[_0x3713c8(0x204)]{[_0x3713c8(0x201)](){var _0x3ab9d4=_0x3713c8;return this[_0x3ab9d4(0x1dd)]['createInstance'](exports[_0x3ab9d4(0x1f2)],{'getUniverSheet':_0x56bc99=>this[_0x3ab9d4(0x1f8)](_0x56bc99)});}}l[_0x3713c8(0x204)][_0x3713c8(0x1e1)](d);