@univerjs-pro/collaboration-client 0.6.7-experimental.20250328-21e0bec → 0.6.7-experimental.20250329-419d2d7

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';var _0x3093dd=_0x3d58;(function(_0x3b9d71,_0x4b7910){var _0x35d36f=_0x3d58,_0x309000=_0x3b9d71();while(!![]){try{var _0x1b3e09=-parseInt(_0x35d36f(0xc7))/0x1+parseInt(_0x35d36f(0xad))/0x2*(-parseInt(_0x35d36f(0xa6))/0x3)+-parseInt(_0x35d36f(0xbe))/0x4+-parseInt(_0x35d36f(0xc1))/0x5*(-parseInt(_0x35d36f(0xb9))/0x6)+-parseInt(_0x35d36f(0xa3))/0x7+parseInt(_0x35d36f(0xb3))/0x8*(-parseInt(_0x35d36f(0xa4))/0x9)+parseInt(_0x35d36f(0xb5))/0xa*(parseInt(_0x35d36f(0xae))/0xb);if(_0x1b3e09===_0x4b7910)break;else _0x309000['push'](_0x309000['shift']());}catch(_0x500af8){_0x309000['push'](_0x309000['shift']());}}}(_0x4049,0xc21a4));function _0x3d58(_0x1f868b,_0x2891ac){var _0x40498e=_0x4049();return _0x3d58=function(_0x3d582f,_0x21e4b9){_0x3d582f=_0x3d582f-0x9f;var _0xa38ee3=_0x40498e[_0x3d582f];return _0xa38ee3;},_0x3d58(_0x1f868b,_0x2891ac);}Object[_0x3093dd(0xb6)](exports,Symbol[_0x3093dd(0xbf)],{'value':'Module'});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x3093dd(0xb7)),v=require('@univerjs-pro/collaboration'),i=require(_0x3093dd(0xc0)),b=require(_0x3093dd(0x9f));var S=Object['getOwnPropertyDescriptor'],d=(_0x334686,_0x1e4654,_0x4de42b,_0x5c78f8)=>{var _0x267e96=_0x3093dd;for(var _0x114f41=_0x5c78f8>0x1?void 0x0:_0x5c78f8?S(_0x1e4654,_0x4de42b):_0x1e4654,_0x5b6a59=_0x334686[_0x267e96(0xb4)]-0x1,_0x12bea0;_0x5b6a59>=0x0;_0x5b6a59--)(_0x12bea0=_0x334686[_0x5b6a59])&&(_0x114f41=_0x12bea0(_0x114f41)||_0x114f41);return _0x114f41;},s=(_0x447e46,_0x74eb4)=>(_0x5f5a73,_0x2099ea)=>_0x74eb4(_0x5f5a73,_0x2099ea,_0x447e46);exports[_0x3093dd(0xc4)]=class extends l[_0x3093dd(0xa2)]{constructor(_0x519d46,_0x3b04db,_0x28d21d,_0x4164a1,_0x118a07){var _0xbd90b0=_0x3093dd;super(),this[_0xbd90b0(0xab)]=_0x519d46,this[_0xbd90b0(0xc6)]=_0x3b04db,this['_univerInstanceService']=_0x28d21d,this['_snapshotService']=_0x4164a1,this[_0xbd90b0(0xc2)]=_0x118a07;}async[_0x3093dd(0xb2)](){return this['loadActiveSheetAsync']();}async[_0x3093dd(0xaf)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x3093dd(0xc3)](_0x2d7bdf){return this['loadSheetAsync'](_0x2d7bdf);}async[_0x3093dd(0xa7)](_0x56e886,_0x2849b3){var _0x48ae2b=_0x3093dd;return await this['_snapshotService'][_0x48ae2b(0xc3)](_0x56e886,0x0,_0x2849b3)?(await this[_0x48ae2b(0xc2)]['readyForCollab'](_0x56e886),this['_handler']['getUniverSheet'](_0x56e886)):null;}[_0x3093dd(0xbd)](_0x2c5650,_0x39ca58){var _0x254aa3=_0x3093dd;const _0x39c2f7=this[_0x254aa3(0xc6)]['get'](c['MemberService'])[_0x254aa3(0xbc)](_0x2c5650)['pipe'](b['switchMap'](_0x53a85e=>_0x53a85e['members$']))['subscribe'](_0x2720ba=>_0x39ca58(Array[_0x254aa3(0xc8)](_0x2720ba[_0x254aa3(0xc5)]())));return i[_0x254aa3(0xa1)](_0x39c2f7);}},exports[_0x3093dd(0xc4)]=d([s(0x1,i['Inject'](i[_0x3093dd(0xac)])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x3093dd(0xa0)](v[_0x3093dd(0xaa)])),s(0x4,i[_0x3093dd(0xa0)](c[_0x3093dd(0xbb)]))],exports[_0x3093dd(0xc4)]);function _0x4049(){var _0x5a2a0e=['4732530DHXIAy','loadSheetAsync','extend','getUniverSheet','SnapshotService','_handler','Injector','2XxLnYs','11RgEMIk','loadActiveSheetAsync','FUniver','createInstance','loadActiveSheet','1106120alkmLK','length','47597930PAfuDx','defineProperty','@univerjs/core/facade','DataLoaderService','30lxEnyD','loadUnit','CollaborationController','waitForRoom$','subscribeCollaborators','1713176GIzhNh','toStringTag','@univerjs/core','1004545NDVpoc','_collaborationController','loadSheet','FCollaboration','values','_injector','900710dUuWts','from','rxjs','Inject','toDisposable','FBase','9600185kTaPYJ','45viQeoE','loadServerUnit'];_0x4049=function(){return _0x5a2a0e;};return _0x4049();}class u extends l[_0x3093dd(0xb0)]{['getCollaboration'](){var _0x44990b=_0x3093dd;return this['_injector'][_0x44990b(0xb1)](exports[_0x44990b(0xc4)],{'getUniverSheet':_0x5115d0=>this[_0x44990b(0xa9)](_0x5115d0)});}[_0x3093dd(0xa5)](_0xf2674a,_0x3af953,_0x314b99){var _0x4e9918=_0x3093dd;return this[_0x4e9918(0xc6)][_0x4e9918(0xb1)](c[_0x4e9918(0xb8)])[_0x4e9918(0xba)](_0xf2674a,_0x3af953,_0x314b99);}}l['FUniver'][_0x3093dd(0xa8)](u);