@univerjs-pro/collaboration-client 0.7.0-nightly.202505041606 → 0.7.0-nightly.202505061607

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 _0x1874d3=_0x367f;function _0x367f(_0x560e49,_0x4ea867){var _0x3aafe3=_0x3aaf();return _0x367f=function(_0x367fe8,_0x1ad670){_0x367fe8=_0x367fe8-0x94;var _0x1291d1=_0x3aafe3[_0x367fe8];return _0x1291d1;},_0x367f(_0x560e49,_0x4ea867);}function _0x3aaf(){var _0x1ea4f8=['IUniverInstanceService','waitForRoom$','556FPQhAT','121aBPKYx','@univerjs-pro/collaboration','toStringTag','_univerInstanceService','getOwnPropertyDescriptor','loadSheetAsync','MemberService','_injector','7311yLhnuX','FUniver','subscribe','extend','loadServerUnit','1327044fLUdMr','Inject','toDisposable','_snapshotService','_collaborationController','defineProperty','172039LGClUK','length','createInstance','FCollaboration','2298AnnFif','loadSheet','4603510TbAdVi','getCollaboration','3305ZOnZKo','Injector','pipe','12229QnHfNa','loadActiveSheetAsync','members$','rxjs','get','@univerjs-pro/collaboration-client','from','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','663066fxXrRi','9BCTXZh','readyForCollab','1576oJNLYL','FBase','@univerjs/core','getUniverSheet','_handler','@univerjs/core/facade'];_0x3aaf=function(){return _0x1ea4f8;};return _0x3aaf();}(function(_0x11a0e4,_0x11e868){var _0x331f21=_0x367f,_0x4c9186=_0x11a0e4();while(!![]){try{var _0x5c151f=-parseInt(_0x331f21(0xb2))/0x1+-parseInt(_0x331f21(0xc5))/0x2+-parseInt(_0x331f21(0xa7))/0x3*(parseInt(_0x331f21(0x9e))/0x4)+parseInt(_0x331f21(0xba))/0x5*(-parseInt(_0x331f21(0xb6))/0x6)+parseInt(_0x331f21(0xbd))/0x7*(-parseInt(_0x331f21(0x96))/0x8)+-parseInt(_0x331f21(0x94))/0x9*(-parseInt(_0x331f21(0xb8))/0xa)+parseInt(_0x331f21(0x9f))/0xb*(parseInt(_0x331f21(0xac))/0xc);if(_0x5c151f===_0x11e868)break;else _0x4c9186['push'](_0x4c9186['shift']());}catch(_0x91b72c){_0x4c9186['push'](_0x4c9186['shift']());}}}(_0x3aaf,0x39e73));Object[_0x1874d3(0xb1)](exports,Symbol[_0x1874d3(0xa1)],{'value':'Module'});const c=require(_0x1874d3(0xc2)),l=require(_0x1874d3(0x9b)),v=require(_0x1874d3(0xa0)),i=require(_0x1874d3(0x98)),b=require(_0x1874d3(0xc0));var S=Object[_0x1874d3(0xa3)],d=(_0x1e8990,_0x400a06,_0x375e39,_0x2d1405)=>{var _0x2a5a8e=_0x1874d3;for(var _0x1effb4=_0x2d1405>0x1?void 0x0:_0x2d1405?S(_0x400a06,_0x375e39):_0x400a06,_0x152c05=_0x1e8990[_0x2a5a8e(0xb3)]-0x1,_0x3d062f;_0x152c05>=0x0;_0x152c05--)(_0x3d062f=_0x1e8990[_0x152c05])&&(_0x1effb4=_0x3d062f(_0x1effb4)||_0x1effb4);return _0x1effb4;},s=(_0x348704,_0xd2c5d8)=>(_0x2cf824,_0x37b375)=>_0xd2c5d8(_0x2cf824,_0x37b375,_0x348704);exports[_0x1874d3(0xb5)]=class extends l[_0x1874d3(0x97)]{constructor(_0x24e582,_0x4e23cb,_0x168943,_0xaee782,_0x5874eb){var _0x339827=_0x1874d3;super(),this['_handler']=_0x24e582,this[_0x339827(0xa6)]=_0x4e23cb,this[_0x339827(0xa2)]=_0x168943,this[_0x339827(0xaf)]=_0xaee782,this[_0x339827(0xb0)]=_0x5874eb;}async['loadActiveSheet'](){var _0x23b5ff=_0x1874d3;return this[_0x23b5ff(0xbe)]();}async['loadActiveSheetAsync'](){var _0x4ae391=_0x1874d3;throw new Error(_0x4ae391(0xc4));}async[_0x1874d3(0xb7)](_0x259369){var _0x2909f4=_0x1874d3;return this[_0x2909f4(0xa4)](_0x259369);}async[_0x1874d3(0xa4)](_0xad7d0d,_0x32ebd5){var _0x2e7e73=_0x1874d3;return await this[_0x2e7e73(0xaf)][_0x2e7e73(0xb7)](_0xad7d0d,0x0,_0x32ebd5)?(await this[_0x2e7e73(0xb0)][_0x2e7e73(0x95)](_0xad7d0d),this[_0x2e7e73(0x9a)][_0x2e7e73(0x99)](_0xad7d0d)):null;}['subscribeCollaborators'](_0xc2d6fb,_0x59099b){var _0x293b91=_0x1874d3;const _0x4b326d=this[_0x293b91(0xa6)][_0x293b91(0xc1)](c[_0x293b91(0xa5)])[_0x293b91(0x9d)](_0xc2d6fb)[_0x293b91(0xbc)](b['switchMap'](_0x1f5b23=>_0x1f5b23[_0x293b91(0xbf)]))[_0x293b91(0xa9)](_0x13eed5=>_0x59099b(Array[_0x293b91(0xc3)](_0x13eed5['values']())));return i[_0x293b91(0xae)](_0x4b326d);}},exports[_0x1874d3(0xb5)]=d([s(0x1,i['Inject'](i[_0x1874d3(0xbb)])),s(0x2,i[_0x1874d3(0x9c)]),s(0x3,i[_0x1874d3(0xad)](v['SnapshotService'])),s(0x4,i['Inject'](c['CollaborationController']))],exports['FCollaboration']);class u extends l[_0x1874d3(0xa8)]{[_0x1874d3(0xb9)](){var _0x328123=_0x1874d3;return this[_0x328123(0xa6)][_0x328123(0xb4)](exports[_0x328123(0xb5)],{'getUniverSheet':_0x1dca16=>this[_0x328123(0x99)](_0x1dca16)});}[_0x1874d3(0xab)](_0x228c39,_0x71997a,_0xd1dd82){var _0x1b7e06=_0x1874d3;return this[_0x1b7e06(0xa6)][_0x1b7e06(0xb4)](c['DataLoaderService'])['loadUnit'](_0x228c39,_0x71997a,_0xd1dd82);}}l[_0x1874d3(0xa8)][_0x1874d3(0xaa)](u);
1
+ 'use strict';var _0x2c0ba0=_0x5e89;(function(_0x3b4dc2,_0x21a6a4){var _0x50f413=_0x5e89,_0x224a16=_0x3b4dc2();while(!![]){try{var _0x9f2fa4=parseInt(_0x50f413(0x101))/0x1*(parseInt(_0x50f413(0xe7))/0x2)+parseInt(_0x50f413(0xf8))/0x3*(parseInt(_0x50f413(0x10b))/0x4)+parseInt(_0x50f413(0xe4))/0x5*(-parseInt(_0x50f413(0xf5))/0x6)+parseInt(_0x50f413(0x104))/0x7*(-parseInt(_0x50f413(0xf7))/0x8)+parseInt(_0x50f413(0xe8))/0x9+parseInt(_0x50f413(0x108))/0xa*(-parseInt(_0x50f413(0xed))/0xb)+parseInt(_0x50f413(0xeb))/0xc;if(_0x9f2fa4===_0x21a6a4)break;else _0x224a16['push'](_0x224a16['shift']());}catch(_0x1113b4){_0x224a16['push'](_0x224a16['shift']());}}}(_0x13bf,0xe8b52));function _0x5e89(_0x1e3a0d,_0x147e2a){var _0x13bf72=_0x13bf();return _0x5e89=function(_0x5e897f,_0x16a917){_0x5e897f=_0x5e897f-0xdf;var _0x1964fc=_0x13bf72[_0x5e897f];return _0x1964fc;},_0x5e89(_0x1e3a0d,_0x147e2a);}Object['defineProperty'](exports,Symbol[_0x2c0ba0(0xf6)],{'value':'Module'});function _0x13bf(){var _0x59630d=['values','IUniverInstanceService','445331lIIHUe','pipe','SnapshotService','10261853feXnPb','loadServerUnit','extend','Inject','170exbAPP','MemberService','DataLoaderService','553388ofpCPH','from','length','toDisposable','FCollaboration','_handler','loadSheetAsync','getUniverSheet','4070bitIPl','_univerInstanceService','createInstance','2qDnWyX','8333847gtdKaC','members$','@univerjs/core','17044584mmVdgm','_injector','107063vpxAgF','subscribe','FBase','switchMap','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadSheet','subscribeCollaborators','_collaborationController','11724XECzpf','toStringTag','8yNpCAp','30PStAbz','_snapshotService','loadActiveSheetAsync','@univerjs-pro/collaboration','rxjs','Injector','loadActiveSheet'];_0x13bf=function(){return _0x59630d;};return _0x13bf();}const c=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),v=require(_0x2c0ba0(0xfb)),i=require(_0x2c0ba0(0xea)),b=require(_0x2c0ba0(0xfc));var S=Object['getOwnPropertyDescriptor'],d=(_0x1b5c82,_0x5156ca,_0x3c0fca,_0x172408)=>{var _0x292f5c=_0x2c0ba0;for(var _0x49df6c=_0x172408>0x1?void 0x0:_0x172408?S(_0x5156ca,_0x3c0fca):_0x5156ca,_0x239e59=_0x1b5c82[_0x292f5c(0x10d)]-0x1,_0x38fd3d;_0x239e59>=0x0;_0x239e59--)(_0x38fd3d=_0x1b5c82[_0x239e59])&&(_0x49df6c=_0x38fd3d(_0x49df6c)||_0x49df6c);return _0x49df6c;},s=(_0x38bd3f,_0x2dc924)=>(_0xac7369,_0xb24552)=>_0x2dc924(_0xac7369,_0xb24552,_0x38bd3f);exports[_0x2c0ba0(0xe0)]=class extends l[_0x2c0ba0(0xef)]{constructor(_0x50a4e5,_0x1252ca,_0x5e17fd,_0x4c76d8,_0x466994){var _0x129920=_0x2c0ba0;super(),this[_0x129920(0xe1)]=_0x50a4e5,this[_0x129920(0xec)]=_0x1252ca,this[_0x129920(0xe5)]=_0x5e17fd,this[_0x129920(0xf9)]=_0x4c76d8,this['_collaborationController']=_0x466994;}async[_0x2c0ba0(0xfe)](){var _0x18fcb2=_0x2c0ba0;return this[_0x18fcb2(0xfa)]();}async['loadActiveSheetAsync'](){var _0x482d56=_0x2c0ba0;throw new Error(_0x482d56(0xf1));}async['loadSheet'](_0x352a9c){return this['loadSheetAsync'](_0x352a9c);}async[_0x2c0ba0(0xe2)](_0x1036c6,_0x38231e){var _0x45b030=_0x2c0ba0;return await this['_snapshotService'][_0x45b030(0xf2)](_0x1036c6,0x0,_0x38231e)?(await this[_0x45b030(0xf4)]['readyForCollab'](_0x1036c6),this[_0x45b030(0xe1)][_0x45b030(0xe3)](_0x1036c6)):null;}[_0x2c0ba0(0xf3)](_0x557209,_0x5c7845){var _0x13bf6b=_0x2c0ba0;const _0x481ba5=this[_0x13bf6b(0xec)]['get'](c[_0x13bf6b(0x109)])['waitForRoom$'](_0x557209)[_0x13bf6b(0x102)](b[_0x13bf6b(0xf0)](_0x9bf0ec=>_0x9bf0ec[_0x13bf6b(0xe9)]))[_0x13bf6b(0xee)](_0x2f9552=>_0x5c7845(Array[_0x13bf6b(0x10c)](_0x2f9552[_0x13bf6b(0xff)]())));return i[_0x13bf6b(0xdf)](_0x481ba5);}},exports[_0x2c0ba0(0xe0)]=d([s(0x1,i[_0x2c0ba0(0x107)](i[_0x2c0ba0(0xfd)])),s(0x2,i[_0x2c0ba0(0x100)]),s(0x3,i[_0x2c0ba0(0x107)](v[_0x2c0ba0(0x103)])),s(0x4,i[_0x2c0ba0(0x107)](c['CollaborationController']))],exports[_0x2c0ba0(0xe0)]);class u extends l['FUniver']{['getCollaboration'](){var _0x25552e=_0x2c0ba0;return this[_0x25552e(0xec)]['createInstance'](exports[_0x25552e(0xe0)],{'getUniverSheet':_0x3d4359=>this[_0x25552e(0xe3)](_0x3d4359)});}[_0x2c0ba0(0x105)](_0xbd3f5d,_0x2d38c1,_0x59ea7f){var _0x552c70=_0x2c0ba0;return this[_0x552c70(0xec)][_0x552c70(0xe6)](c[_0x552c70(0x10a)])['loadUnit'](_0xbd3f5d,_0x2d38c1,_0x59ea7f);}}l['FUniver'][_0x2c0ba0(0x106)](u);