@univerjs-pro/collaboration-client 0.6.7-experimental.20250326-6499c07 → 0.6.7-experimental.20250328-21e0bec

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 _0x53128e=_0x351c;(function(_0x95cc30,_0x32924a){var _0x315628=_0x351c,_0x5ce811=_0x95cc30();while(!![]){try{var _0x1f9fe6=-parseInt(_0x315628(0x1d4))/0x1*(-parseInt(_0x315628(0x1ef))/0x2)+-parseInt(_0x315628(0x1cd))/0x3*(-parseInt(_0x315628(0x1f2))/0x4)+-parseInt(_0x315628(0x1cf))/0x5+parseInt(_0x315628(0x1d9))/0x6+-parseInt(_0x315628(0x1dc))/0x7+parseInt(_0x315628(0x1ee))/0x8*(-parseInt(_0x315628(0x1d0))/0x9)+-parseInt(_0x315628(0x1ea))/0xa*(parseInt(_0x315628(0x1db))/0xb);if(_0x1f9fe6===_0x32924a)break;else _0x5ce811['push'](_0x5ce811['shift']());}catch(_0x52293c){_0x5ce811['push'](_0x5ce811['shift']());}}}(_0x357b,0xe22e2));function _0x357b(){var _0x4c6a19=['[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','_univerInstanceService','50juVmaC','createInstance','loadSheetAsync','loadActiveSheetAsync','873192lTOctk','1975398vjcBjT','length','FCollaboration','8kPcoJm','getOwnPropertyDescriptor','getCollaboration','SnapshotService','subscribe','loadUnit','DataLoaderService','get','waitForRoom$','switchMap','1957146jTpFPm','defineProperty','3229880WXjzFu','36EuuZBf','rxjs','_injector','pipe','1aokNEh','Inject','members$','loadSheet','getUniverSheet','6951768zNChke','_collaborationController','453970zYcXye','8650145tqJkAn','_handler','Module','FBase','values','@univerjs/core/facade','loadServerUnit','loadActiveSheet','_snapshotService','@univerjs-pro/collaboration','MemberService','readyForCollab'];_0x357b=function(){return _0x4c6a19;};return _0x357b();}Object[_0x53128e(0x1ce)](exports,Symbol['toStringTag'],{'value':_0x53128e(0x1de)});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x53128e(0x1e1)),v=require(_0x53128e(0x1e5)),i=require('@univerjs/core'),b=require(_0x53128e(0x1d1));var S=Object[_0x53128e(0x1f3)],d=(_0xf40b51,_0x1a733f,_0x14aab2,_0x135bb1)=>{var _0x31597b=_0x53128e;for(var _0x4b1611=_0x135bb1>0x1?void 0x0:_0x135bb1?S(_0x1a733f,_0x14aab2):_0x1a733f,_0x20d722=_0xf40b51[_0x31597b(0x1f0)]-0x1,_0x544d9f;_0x20d722>=0x0;_0x20d722--)(_0x544d9f=_0xf40b51[_0x20d722])&&(_0x4b1611=_0x544d9f(_0x4b1611)||_0x4b1611);return _0x4b1611;},s=(_0x217179,_0x241a33)=>(_0xb9ca2a,_0x3dfc4b)=>_0x241a33(_0xb9ca2a,_0x3dfc4b,_0x217179);exports[_0x53128e(0x1f1)]=class extends l[_0x53128e(0x1df)]{constructor(_0x1ad743,_0x2a76d8,_0x2665e8,_0x1b5736,_0x4ea53b){var _0x485bb4=_0x53128e;super(),this['_handler']=_0x1ad743,this['_injector']=_0x2a76d8,this[_0x485bb4(0x1e9)]=_0x2665e8,this[_0x485bb4(0x1e4)]=_0x1b5736,this[_0x485bb4(0x1da)]=_0x4ea53b;}async[_0x53128e(0x1e3)](){var _0x1fed52=_0x53128e;return this[_0x1fed52(0x1ed)]();}async['loadActiveSheetAsync'](){var _0x2689c3=_0x53128e;throw new Error(_0x2689c3(0x1e8));}async[_0x53128e(0x1d7)](_0x20dc31){return this['loadSheetAsync'](_0x20dc31);}async[_0x53128e(0x1ec)](_0x33f2fd,_0x5487ab){var _0x3fe3bd=_0x53128e;return await this[_0x3fe3bd(0x1e4)][_0x3fe3bd(0x1d7)](_0x33f2fd,0x0,_0x5487ab)?(await this[_0x3fe3bd(0x1da)][_0x3fe3bd(0x1e7)](_0x33f2fd),this[_0x3fe3bd(0x1dd)][_0x3fe3bd(0x1d8)](_0x33f2fd)):null;}['subscribeCollaborators'](_0x39b329,_0x40207d){var _0x98017b=_0x53128e;const _0x3ddd62=this[_0x98017b(0x1d2)][_0x98017b(0x1ca)](c[_0x98017b(0x1e6)])[_0x98017b(0x1cb)](_0x39b329)[_0x98017b(0x1d3)](b[_0x98017b(0x1cc)](_0x551180=>_0x551180[_0x98017b(0x1d6)]))[_0x98017b(0x1f6)](_0x56e8cd=>_0x40207d(Array['from'](_0x56e8cd[_0x98017b(0x1e0)]())));return i['toDisposable'](_0x3ddd62);}},exports['FCollaboration']=d([s(0x1,i[_0x53128e(0x1d5)](i['Injector'])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x53128e(0x1d5)](v[_0x53128e(0x1f5)])),s(0x4,i[_0x53128e(0x1d5)](c['CollaborationController']))],exports['FCollaboration']);function _0x351c(_0x2afd53,_0x5d1464){var _0x357b54=_0x357b();return _0x351c=function(_0x351cd4,_0x22c55c){_0x351cd4=_0x351cd4-0x1c9;var _0x96898c=_0x357b54[_0x351cd4];return _0x96898c;},_0x351c(_0x2afd53,_0x5d1464);}class u extends l['FUniver']{[_0x53128e(0x1f4)](){var _0x138ae6=_0x53128e;return this['_injector'][_0x138ae6(0x1eb)](exports[_0x138ae6(0x1f1)],{'getUniverSheet':_0x48b763=>this[_0x138ae6(0x1d8)](_0x48b763)});}[_0x53128e(0x1e2)](_0x3446f4,_0x543559,_0x518f07){var _0x891a90=_0x53128e;return this[_0x891a90(0x1d2)][_0x891a90(0x1eb)](c[_0x891a90(0x1c9)])[_0x891a90(0x1f7)](_0x3446f4,_0x543559,_0x518f07);}}l['FUniver']['extend'](u);
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);