@univerjs-pro/collaboration-client 0.6.0-nightly.202502061605 → 0.6.0-nightly.202502071606

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 _0x124b38=_0x5884;function _0x1e5a(){var _0x51308b=['_collaborationController','getUnit','22850894iAasjh','from','474580HbVIhu','FCollaboration','getUniverSheet','@univerjs-pro/collaboration','369mXEMOq','toStringTag','Injector','readyForCollab','UNIVER_SHEET','loadSheetAsync','187003WHxRax','getOwnPropertyDescriptor','length','subscribeCollaborators','defineProperty','8yCXAid','6hhhdxV','CollaborationController','_snapshotService','88XOyGLa','getCollaboration','107241SlmfbB','_handler','@univerjs-pro/collaboration-client','createInstance','FBase','IUniverInstanceService','MemberService','toDisposable','Inject','UniverInstanceType','67450xcYZKK','FUniver','_univerInstanceService','extend','5158872iWaKEs','loadActiveSheet','rxjs','243509kgcGTm','_injector','loadActiveSheetAsync','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','@univerjs/core','loadSheet'];_0x1e5a=function(){return _0x51308b;};return _0x1e5a();}(function(_0x30925e,_0x2ec601){var _0xc57f8=_0x5884,_0x5e1022=_0x30925e();while(!![]){try{var _0x3b4864=-parseInt(_0xc57f8(0x183))/0x1*(parseInt(_0xc57f8(0x188))/0x2)+parseInt(_0xc57f8(0x18e))/0x3*(-parseInt(_0xc57f8(0x18c))/0x4)+parseInt(_0xc57f8(0x179))/0x5+parseInt(_0xc57f8(0x189))/0x6*(-parseInt(_0xc57f8(0x19f))/0x7)+parseInt(_0xc57f8(0x19c))/0x8+parseInt(_0xc57f8(0x17d))/0x9*(-parseInt(_0xc57f8(0x198))/0xa)+parseInt(_0xc57f8(0x177))/0xb;if(_0x3b4864===_0x2ec601)break;else _0x5e1022['push'](_0x5e1022['shift']());}catch(_0x1ce38d){_0x5e1022['push'](_0x5e1022['shift']());}}}(_0x1e5a,0xed257));Object[_0x124b38(0x187)](exports,Symbol[_0x124b38(0x17e)],{'value':'Module'});const o=require(_0x124b38(0x173)),h=require(_0x124b38(0x17c)),c=require(_0x124b38(0x190)),b=require(_0x124b38(0x19e));var v=Object[_0x124b38(0x187)],u=Object[_0x124b38(0x184)],S=(_0x34be1d,_0x277851,_0x4a2d41,_0x591d40)=>{var _0x2a8fb8=_0x124b38;for(var _0x12ad51=_0x591d40>0x1?void 0x0:_0x591d40?u(_0x277851,_0x4a2d41):_0x277851,_0x33c5ec=_0x34be1d[_0x2a8fb8(0x185)]-0x1,_0x1b5686;_0x33c5ec>=0x0;_0x33c5ec--)(_0x1b5686=_0x34be1d[_0x33c5ec])&&(_0x12ad51=(_0x591d40?_0x1b5686(_0x277851,_0x4a2d41,_0x12ad51):_0x1b5686(_0x12ad51))||_0x12ad51);return _0x591d40&&_0x12ad51&&v(_0x277851,_0x4a2d41,_0x12ad51),_0x12ad51;},s=(_0x21a0dc,_0x8c2327)=>(_0x454816,_0x1b1091)=>_0x8c2327(_0x454816,_0x1b1091,_0x21a0dc);function _0x5884(_0x979091,_0x454261){var _0x1e5a30=_0x1e5a();return _0x5884=function(_0x588489,_0x4620fa){_0x588489=_0x588489-0x173;var _0x5c044e=_0x1e5a30[_0x588489];return _0x5c044e;},_0x5884(_0x979091,_0x454261);}exports[_0x124b38(0x17a)]=class extends o[_0x124b38(0x192)]{constructor(_0x272a67,_0x428f81,_0x56c176,_0x42d5c2,_0xb6ee1d){var _0x196670=_0x124b38;super(),this[_0x196670(0x18f)]=_0x272a67,this[_0x196670(0x1a0)]=_0x428f81,this['_univerInstanceService']=_0x56c176,this[_0x196670(0x18b)]=_0x42d5c2,this['_collaborationController']=_0xb6ee1d;}async[_0x124b38(0x19d)](){var _0x2581c6=_0x124b38;return this[_0x2581c6(0x1a1)]();}async[_0x124b38(0x1a1)](){var _0x17a668=_0x124b38;throw new Error(_0x17a668(0x1a2));}async['loadSheet'](_0x498615){var _0x2b76c7=_0x124b38;return this[_0x2b76c7(0x182)](_0x498615);}async[_0x124b38(0x182)](_0x5b93e4){var _0x592d07=_0x124b38;return this[_0x592d07(0x19a)][_0x592d07(0x176)](_0x5b93e4,o[_0x592d07(0x197)][_0x592d07(0x181)])||await this[_0x592d07(0x18b)][_0x592d07(0x174)](_0x5b93e4,0x0)?(await this[_0x592d07(0x175)][_0x592d07(0x180)](_0x5b93e4),this[_0x592d07(0x18f)][_0x592d07(0x17b)](_0x5b93e4)):null;}[_0x124b38(0x186)](_0x34f6fc,_0x14c3b7){var _0x511cbd=_0x124b38;const _0x270aac=this[_0x511cbd(0x1a0)]['get'](c[_0x511cbd(0x194)])['waitForRoom$'](_0x34f6fc)['pipe'](b['switchMap'](_0x563adc=>_0x563adc['members$']))['subscribe'](_0x52e925=>_0x14c3b7(Array[_0x511cbd(0x178)](_0x52e925['values']())));return o[_0x511cbd(0x195)](_0x270aac);}},exports[_0x124b38(0x17a)]=S([s(0x1,o[_0x124b38(0x196)](o[_0x124b38(0x17f)])),s(0x2,o[_0x124b38(0x193)]),s(0x3,o['Inject'](h['SnapshotService'])),s(0x4,o[_0x124b38(0x196)](c[_0x124b38(0x18a)]))],exports[_0x124b38(0x17a)]);class _ extends o[_0x124b38(0x199)]{[_0x124b38(0x18d)](){var _0x57d2a8=_0x124b38;return this['_injector'][_0x57d2a8(0x191)](exports['FCollaboration'],{'getUniverSheet':_0x46cee3=>this[_0x57d2a8(0x17b)](_0x46cee3)});}}o[_0x124b38(0x199)][_0x124b38(0x19b)](_);
1
+ 'use strict';var _0x4ed2f4=_0x209a;(function(_0x1e9ee0,_0x3f0989){var _0x3a48df=_0x209a,_0x5f5420=_0x1e9ee0();while(!![]){try{var _0x1d74bf=parseInt(_0x3a48df(0x217))/0x1*(-parseInt(_0x3a48df(0x201))/0x2)+parseInt(_0x3a48df(0x208))/0x3*(-parseInt(_0x3a48df(0x216))/0x4)+parseInt(_0x3a48df(0x1f3))/0x5*(parseInt(_0x3a48df(0x20c))/0x6)+-parseInt(_0x3a48df(0x1f8))/0x7*(parseInt(_0x3a48df(0x214))/0x8)+-parseInt(_0x3a48df(0x1eb))/0x9+-parseInt(_0x3a48df(0x212))/0xa+-parseInt(_0x3a48df(0x1f5))/0xb*(-parseInt(_0x3a48df(0x203))/0xc);if(_0x1d74bf===_0x3f0989)break;else _0x5f5420['push'](_0x5f5420['shift']());}catch(_0x2ca079){_0x5f5420['push'](_0x5f5420['shift']());}}}(_0x1a2a,0x8f3f4));function _0x1a2a(){var _0x3cab84=['getOwnPropertyDescriptor','60JzFjrm','UniverInstanceType','@univerjs-pro/collaboration-client','MemberService','_handler','defineProperty','8197070LcQqny','from','20224QGmFWC','loadActiveSheetAsync','4PKSCjE','913418IaqFAo','rxjs','FCollaboration','8537994NMmlGl','toStringTag','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','@univerjs-pro/collaboration','_univerInstanceService','subscribe','getUniverSheet','get','294785MBySBm','IUniverInstanceService','1562iPVNaC','loadSheet','_collaborationController','1456DCxEhd','loadActiveSheet','FBase','toDisposable','members$','waitForRoom$','getCollaboration','_snapshotService','loadSheetAsync','2LiAjzZ','subscribeCollaborators','333672ruihay','FUniver','Inject','values','Module','2231001nOXeUl','length','extend'];_0x1a2a=function(){return _0x3cab84;};return _0x1a2a();}Object[_0x4ed2f4(0x211)](exports,Symbol[_0x4ed2f4(0x1ec)],{'value':_0x4ed2f4(0x207)});const o=require('@univerjs/core'),h=require(_0x4ed2f4(0x1ee)),c=require(_0x4ed2f4(0x20e)),b=require(_0x4ed2f4(0x1e9));function _0x209a(_0x1e2e52,_0x36bc6e){var _0x1a2a8c=_0x1a2a();return _0x209a=function(_0x209a72,_0x4ad010){_0x209a72=_0x209a72-0x1e9;var _0x3b2531=_0x1a2a8c[_0x209a72];return _0x3b2531;},_0x209a(_0x1e2e52,_0x36bc6e);}var v=Object[_0x4ed2f4(0x211)],u=Object[_0x4ed2f4(0x20b)],S=(_0x296cde,_0x2d4149,_0x492626,_0x45a128)=>{var _0x3c7527=_0x4ed2f4;for(var _0x193177=_0x45a128>0x1?void 0x0:_0x45a128?u(_0x2d4149,_0x492626):_0x2d4149,_0x298a4c=_0x296cde[_0x3c7527(0x209)]-0x1,_0xed8744;_0x298a4c>=0x0;_0x298a4c--)(_0xed8744=_0x296cde[_0x298a4c])&&(_0x193177=(_0x45a128?_0xed8744(_0x2d4149,_0x492626,_0x193177):_0xed8744(_0x193177))||_0x193177);return _0x45a128&&_0x193177&&v(_0x2d4149,_0x492626,_0x193177),_0x193177;},s=(_0xdb92d7,_0x59ac96)=>(_0x4a7612,_0x39aa70)=>_0x59ac96(_0x4a7612,_0x39aa70,_0xdb92d7);exports[_0x4ed2f4(0x1ea)]=class extends o[_0x4ed2f4(0x1fa)]{constructor(_0x5aa355,_0x56305d,_0x26dc02,_0x3cf110,_0x230519){var _0x1b4e3f=_0x4ed2f4;super(),this[_0x1b4e3f(0x210)]=_0x5aa355,this['_injector']=_0x56305d,this[_0x1b4e3f(0x1ef)]=_0x26dc02,this[_0x1b4e3f(0x1ff)]=_0x3cf110,this[_0x1b4e3f(0x1f7)]=_0x230519;}async[_0x4ed2f4(0x1f9)](){var _0xa451b3=_0x4ed2f4;return this[_0xa451b3(0x215)]();}async[_0x4ed2f4(0x215)](){var _0x43ada7=_0x4ed2f4;throw new Error(_0x43ada7(0x1ed));}async[_0x4ed2f4(0x1f6)](_0x1687d7){var _0x54bee7=_0x4ed2f4;return this[_0x54bee7(0x200)](_0x1687d7);}async[_0x4ed2f4(0x200)](_0x31bbd1){var _0x20e6f9=_0x4ed2f4;return this[_0x20e6f9(0x1ef)]['getUnit'](_0x31bbd1,o[_0x20e6f9(0x20d)]['UNIVER_SHEET'])||await this[_0x20e6f9(0x1ff)]['loadSheet'](_0x31bbd1,0x0)?(await this[_0x20e6f9(0x1f7)]['readyForCollab'](_0x31bbd1),this[_0x20e6f9(0x210)][_0x20e6f9(0x1f1)](_0x31bbd1)):null;}[_0x4ed2f4(0x202)](_0x58309f,_0x469682){var _0x10674e=_0x4ed2f4;const _0x3e86a9=this['_injector'][_0x10674e(0x1f2)](c[_0x10674e(0x20f)])[_0x10674e(0x1fd)](_0x58309f)['pipe'](b['switchMap'](_0x2b99ac=>_0x2b99ac[_0x10674e(0x1fc)]))[_0x10674e(0x1f0)](_0x578552=>_0x469682(Array[_0x10674e(0x213)](_0x578552[_0x10674e(0x206)]())));return o[_0x10674e(0x1fb)](_0x3e86a9);}},exports['FCollaboration']=S([s(0x1,o[_0x4ed2f4(0x205)](o['Injector'])),s(0x2,o[_0x4ed2f4(0x1f4)]),s(0x3,o['Inject'](h['SnapshotService'])),s(0x4,o[_0x4ed2f4(0x205)](c['CollaborationController']))],exports[_0x4ed2f4(0x1ea)]);class _ extends o['FUniver']{[_0x4ed2f4(0x1fe)](){var _0x3c85f5=_0x4ed2f4;return this['_injector']['createInstance'](exports[_0x3c85f5(0x1ea)],{'getUniverSheet':_0x49f1be=>this[_0x3c85f5(0x1f1)](_0x49f1be)});}}o[_0x4ed2f4(0x204)][_0x4ed2f4(0x20a)](_);