@univerjs-pro/collaboration-client 0.6.7-experimental.20250328-21e0bec → 0.6.7-nightly.202503281607

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 _0x3d1d30=_0x3983;(function(_0x3a302a,_0x135ad7){var _0x2a7c90=_0x3983,_0x36e6e9=_0x3a302a();while(!![]){try{var _0x147496=parseInt(_0x2a7c90(0xdf))/0x1+-parseInt(_0x2a7c90(0xe6))/0x2+-parseInt(_0x2a7c90(0xe9))/0x3+parseInt(_0x2a7c90(0xf3))/0x4+parseInt(_0x2a7c90(0xf2))/0x5+parseInt(_0x2a7c90(0xf5))/0x6*(-parseInt(_0x2a7c90(0xef))/0x7)+-parseInt(_0x2a7c90(0xfd))/0x8;if(_0x147496===_0x135ad7)break;else _0x36e6e9['push'](_0x36e6e9['shift']());}catch(_0x5c4ea8){_0x36e6e9['push'](_0x36e6e9['shift']());}}}(_0x9d74,0x2ca8a));function _0x3983(_0x1b1e5b,_0x53a53b){var _0x9d743e=_0x9d74();return _0x3983=function(_0x398302,_0x54052b){_0x398302=_0x398302-0xd3;var _0x4b98d4=_0x9d743e[_0x398302];return _0x4b98d4;},_0x3983(_0x1b1e5b,_0x53a53b);}function _0x9d74(){var _0xfeb74=['6VOGuKR','toStringTag','getOwnPropertyDescriptor','_collaborationController','DataLoaderService','@univerjs/core/facade','toDisposable','FCollaboration','1307176VwAaxg','@univerjs-pro/collaboration-client','readyForCollab','Module','defineProperty','_snapshotService','length','subscribeCollaborators','Inject','_injector','rxjs','switchMap','Injector','339377olOlNj','loadActiveSheet','_univerInstanceService','members$','MemberService','FBase','loadServerUnit','534674rlLhGl','getUniverSheet','pipe','327255NNxDZs','subscribe','@univerjs/core','createInstance','loadActiveSheetAsync','loadSheet','392063ZCXcIi','loadUnit','SnapshotService','401340dVIpAO','1436420dpMkQx','_handler'];_0x9d74=function(){return _0xfeb74;};return _0x9d74();}Object[_0x3d1d30(0xd6)](exports,Symbol[_0x3d1d30(0xf6)],{'value':_0x3d1d30(0xd5)});const c=require(_0x3d1d30(0xd3)),l=require(_0x3d1d30(0xfa)),v=require('@univerjs-pro/collaboration'),i=require(_0x3d1d30(0xeb)),b=require(_0x3d1d30(0xdc));var S=Object[_0x3d1d30(0xf7)],d=(_0x342afa,_0x4f551d,_0x5c8601,_0x4e162e)=>{var _0x1073f8=_0x3d1d30;for(var _0x3d0672=_0x4e162e>0x1?void 0x0:_0x4e162e?S(_0x4f551d,_0x5c8601):_0x4f551d,_0x13eab3=_0x342afa[_0x1073f8(0xd8)]-0x1,_0x5044f6;_0x13eab3>=0x0;_0x13eab3--)(_0x5044f6=_0x342afa[_0x13eab3])&&(_0x3d0672=_0x5044f6(_0x3d0672)||_0x3d0672);return _0x3d0672;},s=(_0x53af66,_0x39e397)=>(_0x2f4290,_0x37ded3)=>_0x39e397(_0x2f4290,_0x37ded3,_0x53af66);exports[_0x3d1d30(0xfc)]=class extends l[_0x3d1d30(0xe4)]{constructor(_0x11ae7f,_0x2e9a1a,_0x1a7508,_0x37ef59,_0x1fc60a){var _0x425fe9=_0x3d1d30;super(),this[_0x425fe9(0xf4)]=_0x11ae7f,this['_injector']=_0x2e9a1a,this[_0x425fe9(0xe1)]=_0x1a7508,this[_0x425fe9(0xd7)]=_0x37ef59,this[_0x425fe9(0xf8)]=_0x1fc60a;}async[_0x3d1d30(0xe0)](){return this['loadActiveSheetAsync']();}async[_0x3d1d30(0xed)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0xfbe637){return this['loadSheetAsync'](_0xfbe637);}async['loadSheetAsync'](_0x3c0090,_0xc31e4f){var _0x1a24fe=_0x3d1d30;return await this[_0x1a24fe(0xd7)][_0x1a24fe(0xee)](_0x3c0090,0x0,_0xc31e4f)?(await this['_collaborationController'][_0x1a24fe(0xd4)](_0x3c0090),this[_0x1a24fe(0xf4)]['getUniverSheet'](_0x3c0090)):null;}[_0x3d1d30(0xd9)](_0x41e932,_0x3fe149){var _0xeaa309=_0x3d1d30;const _0x13ab1a=this[_0xeaa309(0xdb)]['get'](c[_0xeaa309(0xe3)])['waitForRoom$'](_0x41e932)[_0xeaa309(0xe8)](b[_0xeaa309(0xdd)](_0x2f6249=>_0x2f6249[_0xeaa309(0xe2)]))[_0xeaa309(0xea)](_0x173c47=>_0x3fe149(Array['from'](_0x173c47['values']())));return i[_0xeaa309(0xfb)](_0x13ab1a);}},exports[_0x3d1d30(0xfc)]=d([s(0x1,i[_0x3d1d30(0xda)](i[_0x3d1d30(0xde)])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x3d1d30(0xda)](v[_0x3d1d30(0xf1)])),s(0x4,i[_0x3d1d30(0xda)](c['CollaborationController']))],exports['FCollaboration']);class u extends l['FUniver']{['getCollaboration'](){var _0x549501=_0x3d1d30;return this[_0x549501(0xdb)][_0x549501(0xec)](exports[_0x549501(0xfc)],{'getUniverSheet':_0x3626f6=>this[_0x549501(0xe7)](_0x3626f6)});}[_0x3d1d30(0xe5)](_0x1e97bf,_0x21dcf6,_0x481321){var _0x460393=_0x3d1d30;return this[_0x460393(0xdb)][_0x460393(0xec)](c[_0x460393(0xf9)])[_0x460393(0xf0)](_0x1e97bf,_0x21dcf6,_0x481321);}}l['FUniver']['extend'](u);
1
+ 'use strict';function _0x20bb(_0x171dea,_0xdc91a4){var _0x1fdac2=_0x1fda();return _0x20bb=function(_0x20bb5f,_0x20047c){_0x20bb5f=_0x20bb5f-0x14b;var _0x43e206=_0x1fdac2[_0x20bb5f];return _0x43e206;},_0x20bb(_0x171dea,_0xdc91a4);}var _0x117bc8=_0x20bb;(function(_0x5584e8,_0x1cec36){var _0x5d27ca=_0x20bb,_0x67a0af=_0x5584e8();while(!![]){try{var _0x572555=parseInt(_0x5d27ca(0x157))/0x1*(parseInt(_0x5d27ca(0x178))/0x2)+-parseInt(_0x5d27ca(0x14d))/0x3*(parseInt(_0x5d27ca(0x183))/0x4)+-parseInt(_0x5d27ca(0x14e))/0x5*(parseInt(_0x5d27ca(0x151))/0x6)+-parseInt(_0x5d27ca(0x154))/0x7*(-parseInt(_0x5d27ca(0x159))/0x8)+-parseInt(_0x5d27ca(0x158))/0x9*(-parseInt(_0x5d27ca(0x16c))/0xa)+-parseInt(_0x5d27ca(0x17b))/0xb+parseInt(_0x5d27ca(0x174))/0xc;if(_0x572555===_0x1cec36)break;else _0x67a0af['push'](_0x67a0af['shift']());}catch(_0x1e0a39){_0x67a0af['push'](_0x67a0af['shift']());}}}(_0x1fda,0x957a5));Object[_0x117bc8(0x177)](exports,Symbol[_0x117bc8(0x162)],{'value':_0x117bc8(0x17d)});const c=require(_0x117bc8(0x14f)),l=require(_0x117bc8(0x16e)),v=require(_0x117bc8(0x182)),i=require(_0x117bc8(0x14b)),b=require(_0x117bc8(0x176));var S=Object[_0x117bc8(0x170)],d=(_0x410b55,_0x858f70,_0x8b6444,_0x2a35c0)=>{var _0x21d684=_0x117bc8;for(var _0x1bd28f=_0x2a35c0>0x1?void 0x0:_0x2a35c0?S(_0x858f70,_0x8b6444):_0x858f70,_0x1d71be=_0x410b55[_0x21d684(0x15c)]-0x1,_0xf58161;_0x1d71be>=0x0;_0x1d71be--)(_0xf58161=_0x410b55[_0x1d71be])&&(_0x1bd28f=_0xf58161(_0x1bd28f)||_0x1bd28f);return _0x1bd28f;},s=(_0x46b6f4,_0x45b536)=>(_0x21f592,_0x5e0158)=>_0x45b536(_0x21f592,_0x5e0158,_0x46b6f4);function _0x1fda(){var _0x18610e=['Module','FUniver','loadSheetAsync','_injector','switchMap','@univerjs-pro/collaboration','20wDTCLQ','Inject','@univerjs/core','pipe','632442eFnyoY','145vZWrnS','@univerjs-pro/collaboration-client','loadActiveSheet','13242MTJVlw','IUniverInstanceService','_snapshotService','260932Zhlrfv','FCollaboration','_univerInstanceService','137mGVUFu','4941McoLbD','192bcHfva','Injector','subscribeCollaborators','length','waitForRoom$','readyForCollab','extend','values','_handler','toStringTag','CollaborationController','get','SnapshotService','getCollaboration','loadServerUnit','createInstance','subscribe','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','DataLoaderService','7430osROJr','loadSheet','@univerjs/core/facade','from','getOwnPropertyDescriptor','FBase','members$','MemberService','10336476zIlAPc','toDisposable','rxjs','defineProperty','8942ELLiKa','loadActiveSheetAsync','_collaborationController','11507067payyBt','getUniverSheet'];_0x1fda=function(){return _0x18610e;};return _0x1fda();}exports['FCollaboration']=class extends l[_0x117bc8(0x171)]{constructor(_0x36bb47,_0x27712f,_0x428d77,_0x3df581,_0x37014b){var _0x54d7f3=_0x117bc8;super(),this[_0x54d7f3(0x161)]=_0x36bb47,this[_0x54d7f3(0x180)]=_0x27712f,this[_0x54d7f3(0x156)]=_0x428d77,this[_0x54d7f3(0x153)]=_0x3df581,this[_0x54d7f3(0x17a)]=_0x37014b;}async[_0x117bc8(0x150)](){var _0x59ab8=_0x117bc8;return this[_0x59ab8(0x179)]();}async['loadActiveSheetAsync'](){var _0xa92020=_0x117bc8;throw new Error(_0xa92020(0x16a));}async[_0x117bc8(0x16d)](_0x5ed4f2){var _0x2fc589=_0x117bc8;return this[_0x2fc589(0x17f)](_0x5ed4f2);}async[_0x117bc8(0x17f)](_0xaf64cc,_0x247dc1){var _0x1d8d0e=_0x117bc8;return await this[_0x1d8d0e(0x153)][_0x1d8d0e(0x16d)](_0xaf64cc,0x0,_0x247dc1)?(await this['_collaborationController'][_0x1d8d0e(0x15e)](_0xaf64cc),this[_0x1d8d0e(0x161)]['getUniverSheet'](_0xaf64cc)):null;}[_0x117bc8(0x15b)](_0x57f220,_0x4ae2ee){var _0x381e07=_0x117bc8;const _0x3eaad3=this[_0x381e07(0x180)][_0x381e07(0x164)](c[_0x381e07(0x173)])[_0x381e07(0x15d)](_0x57f220)[_0x381e07(0x14c)](b[_0x381e07(0x181)](_0x224b1d=>_0x224b1d[_0x381e07(0x172)]))[_0x381e07(0x169)](_0x2d94=>_0x4ae2ee(Array[_0x381e07(0x16f)](_0x2d94[_0x381e07(0x160)]())));return i[_0x381e07(0x175)](_0x3eaad3);}},exports[_0x117bc8(0x155)]=d([s(0x1,i[_0x117bc8(0x184)](i[_0x117bc8(0x15a)])),s(0x2,i[_0x117bc8(0x152)]),s(0x3,i[_0x117bc8(0x184)](v[_0x117bc8(0x165)])),s(0x4,i[_0x117bc8(0x184)](c[_0x117bc8(0x163)]))],exports['FCollaboration']);class u extends l[_0x117bc8(0x17e)]{[_0x117bc8(0x166)](){var _0x530314=_0x117bc8;return this['_injector'][_0x530314(0x168)](exports[_0x530314(0x155)],{'getUniverSheet':_0x598f51=>this[_0x530314(0x17c)](_0x598f51)});}[_0x117bc8(0x167)](_0xf8e157,_0x58c007,_0x1ac0c3){var _0x3aaea5=_0x117bc8;return this[_0x3aaea5(0x180)][_0x3aaea5(0x168)](c[_0x3aaea5(0x16b)])['loadUnit'](_0xf8e157,_0x58c007,_0x1ac0c3);}}l[_0x117bc8(0x17e)][_0x117bc8(0x15f)](u);