@univerjs-pro/collaboration-client 0.6.0-nightly.202501281606 → 0.6.0-nightly.202501301606

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 _0x38e35f=_0x41a8;(function(_0xc34e16,_0x24b470){var _0x296cdc=_0x41a8,_0x102854=_0xc34e16();while(!![]){try{var _0x47eca4=-parseInt(_0x296cdc(0xfc))/0x1*(-parseInt(_0x296cdc(0xff))/0x2)+-parseInt(_0x296cdc(0x106))/0x3*(parseInt(_0x296cdc(0xf6))/0x4)+parseInt(_0x296cdc(0x109))/0x5*(parseInt(_0x296cdc(0x121))/0x6)+parseInt(_0x296cdc(0xf5))/0x7+-parseInt(_0x296cdc(0x11e))/0x8*(-parseInt(_0x296cdc(0x11c))/0x9)+parseInt(_0x296cdc(0x10a))/0xa+-parseInt(_0x296cdc(0xf9))/0xb*(parseInt(_0x296cdc(0x113))/0xc);if(_0x47eca4===_0x24b470)break;else _0x102854['push'](_0x102854['shift']());}catch(_0x59c173){_0x102854['push'](_0x102854['shift']());}}}(_0x1f0a,0xcb31d));function _0x41a8(_0x39d4ed,_0x28316c){var _0x1f0a79=_0x1f0a();return _0x41a8=function(_0x41a8be,_0x1922f3){_0x41a8be=_0x41a8be-0xf5;var _0x46f500=_0x1f0a79[_0x41a8be];return _0x46f500;},_0x41a8(_0x39d4ed,_0x28316c);}Object[_0x38e35f(0x104)](exports,Symbol[_0x38e35f(0x100)],{'value':_0x38e35f(0x10b)});const o=require('@univerjs/core'),h=require(_0x38e35f(0xfe)),c=require('@univerjs-pro/collaboration-client'),b=require(_0x38e35f(0x108));function _0x1f0a(){var _0x270612=['_univerInstanceService','4422nrzISd','_handler','getOwnPropertyDescriptor','3PtkurM','subscribe','@univerjs-pro/collaboration','272572jhVXtw','toStringTag','MemberService','SnapshotService','FUniver','defineProperty','Injector','3njyLZW','getCollaboration','rxjs','87580StjzBw','10240890liJfvK','Module','FBase','_snapshotService','subscribeCollaborators','Inject','values','get','toDisposable','79476lHnVyM','from','_injector','loadActiveSheetAsync','loadSheetAsync','pipe','length','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadActiveSheet','2943BssTCS','UniverInstanceType','13328OCBRhM','waitForRoom$','FCollaboration','312tYfvTM','createInstance','_collaborationController','loadSheet','4406661tIDuXV','93412kArPDy','getUniverSheet'];_0x1f0a=function(){return _0x270612;};return _0x1f0a();}var v=Object[_0x38e35f(0x104)],u=Object[_0x38e35f(0xfb)],S=(_0x3103e7,_0x5d75c9,_0x504cc8,_0x2751db)=>{var _0x3e0328=_0x38e35f;for(var _0x59405d=_0x2751db>0x1?void 0x0:_0x2751db?u(_0x5d75c9,_0x504cc8):_0x5d75c9,_0x58fb91=_0x3103e7[_0x3e0328(0x119)]-0x1,_0x584d3f;_0x58fb91>=0x0;_0x58fb91--)(_0x584d3f=_0x3103e7[_0x58fb91])&&(_0x59405d=(_0x2751db?_0x584d3f(_0x5d75c9,_0x504cc8,_0x59405d):_0x584d3f(_0x59405d))||_0x59405d);return _0x2751db&&_0x59405d&&v(_0x5d75c9,_0x504cc8,_0x59405d),_0x59405d;},s=(_0xc5f0c7,_0x20a462)=>(_0x5dbaab,_0x1a32d6)=>_0x20a462(_0x5dbaab,_0x1a32d6,_0xc5f0c7);exports['FCollaboration']=class extends o[_0x38e35f(0x10c)]{constructor(_0x4b1fe7,_0x2885ef,_0x5cb430,_0x19d9cb,_0x32a8b2){var _0x238a5e=_0x38e35f;super(),this['_handler']=_0x4b1fe7,this[_0x238a5e(0x115)]=_0x2885ef,this[_0x238a5e(0xf8)]=_0x5cb430,this[_0x238a5e(0x10d)]=_0x19d9cb,this[_0x238a5e(0x123)]=_0x32a8b2;}async[_0x38e35f(0x11b)](){var _0x44176d=_0x38e35f;return this[_0x44176d(0x116)]();}async['loadActiveSheetAsync'](){var _0x59f5af=_0x38e35f;throw new Error(_0x59f5af(0x11a));}async['loadSheet'](_0x4e92fc){var _0xbe712d=_0x38e35f;return this[_0xbe712d(0x117)](_0x4e92fc);}async[_0x38e35f(0x117)](_0x181adc){var _0x4c01e0=_0x38e35f;return this[_0x4c01e0(0xf8)]['getUnit'](_0x181adc,o[_0x4c01e0(0x11d)]['UNIVER_SHEET'])||await this['_snapshotService'][_0x4c01e0(0x124)](_0x181adc,0x0)?(await this[_0x4c01e0(0x123)]['readyForCollab'](_0x181adc),this[_0x4c01e0(0xfa)][_0x4c01e0(0xf7)](_0x181adc)):null;}[_0x38e35f(0x10e)](_0x326cd1,_0x5013bd){var _0x5ca210=_0x38e35f;const _0x4fcd25=this[_0x5ca210(0x115)][_0x5ca210(0x111)](c[_0x5ca210(0x101)])[_0x5ca210(0x11f)](_0x326cd1)[_0x5ca210(0x118)](b['switchMap'](_0x511eb6=>_0x511eb6['members$']))[_0x5ca210(0xfd)](_0x592cf6=>_0x5013bd(Array[_0x5ca210(0x114)](_0x592cf6[_0x5ca210(0x110)]())));return o[_0x5ca210(0x112)](_0x4fcd25);}},exports[_0x38e35f(0x120)]=S([s(0x1,o['Inject'](o[_0x38e35f(0x105)])),s(0x2,o['IUniverInstanceService']),s(0x3,o['Inject'](h[_0x38e35f(0x102)])),s(0x4,o[_0x38e35f(0x10f)](c['CollaborationController']))],exports[_0x38e35f(0x120)]);class _ extends o[_0x38e35f(0x103)]{[_0x38e35f(0x107)](){var _0x32e527=_0x38e35f;return this[_0x32e527(0x115)][_0x32e527(0x122)](exports[_0x32e527(0x120)],{'getUniverSheet':_0x47ca6b=>this[_0x32e527(0xf7)](_0x47ca6b)});}}o[_0x38e35f(0x103)]['extend'](_);
1
+ 'use strict';var _0x61fbda=_0x57f6;(function(_0x3e9e7d,_0x362f09){var _0x42075b=_0x57f6,_0x2cfcb1=_0x3e9e7d();while(!![]){try{var _0x4d55f5=-parseInt(_0x42075b(0x13f))/0x1+-parseInt(_0x42075b(0x142))/0x2*(parseInt(_0x42075b(0x147))/0x3)+-parseInt(_0x42075b(0x138))/0x4*(-parseInt(_0x42075b(0x135))/0x5)+-parseInt(_0x42075b(0x124))/0x6+parseInt(_0x42075b(0x12c))/0x7*(-parseInt(_0x42075b(0x127))/0x8)+parseInt(_0x42075b(0x130))/0x9+parseInt(_0x42075b(0x137))/0xa;if(_0x4d55f5===_0x362f09)break;else _0x2cfcb1['push'](_0x2cfcb1['shift']());}catch(_0x1d6e32){_0x2cfcb1['push'](_0x2cfcb1['shift']());}}}(_0x5507,0x757ef));Object[_0x61fbda(0x13a)](exports,Symbol['toStringTag'],{'value':_0x61fbda(0x129)});const o=require(_0x61fbda(0x12f)),h=require(_0x61fbda(0x14b)),c=require('@univerjs-pro/collaboration-client'),b=require(_0x61fbda(0x12a));function _0x57f6(_0x1b2dd0,_0x54fceb){var _0x5507e6=_0x5507();return _0x57f6=function(_0x57f65f,_0x2a8cb9){_0x57f65f=_0x57f65f-0x123;var _0xc39a1f=_0x5507e6[_0x57f65f];return _0xc39a1f;},_0x57f6(_0x1b2dd0,_0x54fceb);}var v=Object[_0x61fbda(0x13a)],u=Object['getOwnPropertyDescriptor'],S=(_0xd0d811,_0x3e15b1,_0x40839d,_0x471ef0)=>{for(var _0x3d0381=_0x471ef0>0x1?void 0x0:_0x471ef0?u(_0x3e15b1,_0x40839d):_0x3e15b1,_0x5a471f=_0xd0d811['length']-0x1,_0x92983c;_0x5a471f>=0x0;_0x5a471f--)(_0x92983c=_0xd0d811[_0x5a471f])&&(_0x3d0381=(_0x471ef0?_0x92983c(_0x3e15b1,_0x40839d,_0x3d0381):_0x92983c(_0x3d0381))||_0x3d0381);return _0x471ef0&&_0x3d0381&&v(_0x3e15b1,_0x40839d,_0x3d0381),_0x3d0381;},s=(_0x5c7e49,_0x523f62)=>(_0xb3f844,_0x4ad51a)=>_0x523f62(_0xb3f844,_0x4ad51a,_0x5c7e49);exports[_0x61fbda(0x136)]=class extends o['FBase']{constructor(_0x4abddc,_0x51c977,_0x58e791,_0x2b364d,_0x24bfa8){var _0x2bc92b=_0x61fbda;super(),this[_0x2bc92b(0x13c)]=_0x4abddc,this['_injector']=_0x51c977,this[_0x2bc92b(0x13d)]=_0x58e791,this[_0x2bc92b(0x12b)]=_0x2b364d,this[_0x2bc92b(0x146)]=_0x24bfa8;}async[_0x61fbda(0x149)](){return this['loadActiveSheetAsync']();}async['loadActiveSheetAsync'](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x5cd156){var _0x52e180=_0x61fbda;return this[_0x52e180(0x131)](_0x5cd156);}async[_0x61fbda(0x131)](_0x4ef306){var _0x4d3dd5=_0x61fbda;return this[_0x4d3dd5(0x13d)][_0x4d3dd5(0x134)](_0x4ef306,o[_0x4d3dd5(0x128)][_0x4d3dd5(0x132)])||await this['_snapshotService'][_0x4d3dd5(0x145)](_0x4ef306,0x0)?(await this[_0x4d3dd5(0x146)]['readyForCollab'](_0x4ef306),this[_0x4d3dd5(0x13c)][_0x4d3dd5(0x13e)](_0x4ef306)):null;}[_0x61fbda(0x140)](_0x131f33,_0x232146){var _0x4cbcd5=_0x61fbda;const _0x2aff71=this[_0x4cbcd5(0x139)][_0x4cbcd5(0x144)](c[_0x4cbcd5(0x133)])[_0x4cbcd5(0x12e)](_0x131f33)[_0x4cbcd5(0x143)](b[_0x4cbcd5(0x14a)](_0x542c69=>_0x542c69['members$']))['subscribe'](_0x596d4e=>_0x232146(Array[_0x4cbcd5(0x14c)](_0x596d4e[_0x4cbcd5(0x12d)]())));return o[_0x4cbcd5(0x141)](_0x2aff71);}},exports[_0x61fbda(0x136)]=S([s(0x1,o['Inject'](o['Injector'])),s(0x2,o[_0x61fbda(0x125)]),s(0x3,o[_0x61fbda(0x126)](h['SnapshotService'])),s(0x4,o[_0x61fbda(0x126)](c['CollaborationController']))],exports[_0x61fbda(0x136)]);function _0x5507(){var _0x554e7c=['getUnit','55GBLQzJ','FCollaboration','7465860uVgciW','243224SoEaEi','_injector','defineProperty','FUniver','_handler','_univerInstanceService','getUniverSheet','653717UmXheA','subscribeCollaborators','toDisposable','34pKGjin','pipe','get','loadSheet','_collaborationController','69096ngkACm','createInstance','loadActiveSheet','switchMap','@univerjs-pro/collaboration','from','getCollaboration','2544804oboBej','IUniverInstanceService','Inject','232qxfiov','UniverInstanceType','Module','rxjs','_snapshotService','28yBcDMo','values','waitForRoom$','@univerjs/core','4817898KmslHZ','loadSheetAsync','UNIVER_SHEET','MemberService'];_0x5507=function(){return _0x554e7c;};return _0x5507();}class _ extends o[_0x61fbda(0x13b)]{[_0x61fbda(0x123)](){var _0x4a8524=_0x61fbda;return this[_0x4a8524(0x139)][_0x4a8524(0x148)](exports[_0x4a8524(0x136)],{'getUniverSheet':_0x4a1196=>this[_0x4a8524(0x13e)](_0x4a1196)});}}o[_0x61fbda(0x13b)]['extend'](_);