@univerjs-pro/collaboration-client 0.6.10-experimental.20250428-ab93895 → 0.6.10-experimental.20250428-63779a3

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';function _0x55ef(_0x66804f,_0x3a5bdf){var _0x52fa1a=_0x52fa();return _0x55ef=function(_0x55ef7c,_0x1f6d51){_0x55ef7c=_0x55ef7c-0x124;var _0x4fb808=_0x52fa1a[_0x55ef7c];return _0x4fb808;},_0x55ef(_0x66804f,_0x3a5bdf);}var _0x4ee805=_0x55ef;function _0x52fa(){var _0x47e3e3=['FBase','loadSheet','MemberService','loadSheetAsync','createInstance','2199342qUVqQx','getOwnPropertyDescriptor','439uordRb','readyForCollab','3089569gFmjJU','getUniverSheet','_collaborationController','@univerjs/core/facade','members$','2016340qvSxoe','defineProperty','Injector','FCollaboration','10131993UBPGYq','SnapshotService','values','get','614FzltNG','toStringTag','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','1277127HbTEAG','loadActiveSheet','loadActiveSheetAsync','loadServerUnit','FUniver','toDisposable','rxjs','switchMap','8PVelhy','getCollaboration','1411900NjNsfR','_injector','Inject','Module','IUniverInstanceService','@univerjs-pro/collaboration','_snapshotService','_handler','loadUnit','extend','from','@univerjs-pro/collaboration-client'];_0x52fa=function(){return _0x47e3e3;};return _0x52fa();}(function(_0x24929c,_0x58d7c0){var _0x12e30a=_0x55ef,_0x314760=_0x24929c();while(!![]){try{var _0x17591a=parseInt(_0x12e30a(0x139))/0x1*(parseInt(_0x12e30a(0x148))/0x2)+parseInt(_0x12e30a(0x14b))/0x3+parseInt(_0x12e30a(0x126))/0x4+parseInt(_0x12e30a(0x140))/0x5+-parseInt(_0x12e30a(0x137))/0x6+-parseInt(_0x12e30a(0x13b))/0x7*(-parseInt(_0x12e30a(0x124))/0x8)+-parseInt(_0x12e30a(0x144))/0x9;if(_0x17591a===_0x58d7c0)break;else _0x314760['push'](_0x314760['shift']());}catch(_0x3861c9){_0x314760['push'](_0x314760['shift']());}}}(_0x52fa,0x40e1e));Object[_0x4ee805(0x141)](exports,Symbol[_0x4ee805(0x149)],{'value':_0x4ee805(0x129)});const c=require(_0x4ee805(0x131)),l=require(_0x4ee805(0x13e)),v=require(_0x4ee805(0x12b)),i=require('@univerjs/core'),b=require(_0x4ee805(0x151));var S=Object[_0x4ee805(0x138)],d=(_0x5a0045,_0x458911,_0x3b65f5,_0x45d766)=>{for(var _0x516d1e=_0x45d766>0x1?void 0x0:_0x45d766?S(_0x458911,_0x3b65f5):_0x458911,_0xf5bc6a=_0x5a0045['length']-0x1,_0x4d89a2;_0xf5bc6a>=0x0;_0xf5bc6a--)(_0x4d89a2=_0x5a0045[_0xf5bc6a])&&(_0x516d1e=_0x4d89a2(_0x516d1e)||_0x516d1e);return _0x516d1e;},s=(_0x2e1759,_0x5b011b)=>(_0x47bf47,_0x4434a2)=>_0x5b011b(_0x47bf47,_0x4434a2,_0x2e1759);exports['FCollaboration']=class extends l[_0x4ee805(0x132)]{constructor(_0x39a99a,_0x1a73cf,_0x31c982,_0x1bab40,_0x6c383f){var _0x1355c1=_0x4ee805;super(),this['_handler']=_0x39a99a,this[_0x1355c1(0x127)]=_0x1a73cf,this['_univerInstanceService']=_0x31c982,this[_0x1355c1(0x12c)]=_0x1bab40,this[_0x1355c1(0x13d)]=_0x6c383f;}async[_0x4ee805(0x14c)](){var _0x4aaf23=_0x4ee805;return this[_0x4aaf23(0x14d)]();}async[_0x4ee805(0x14d)](){var _0x197719=_0x4ee805;throw new Error(_0x197719(0x14a));}async['loadSheet'](_0x216188){var _0x5471fc=_0x4ee805;return this[_0x5471fc(0x135)](_0x216188);}async['loadSheetAsync'](_0x5ae111,_0x273be5){var _0x2997cb=_0x4ee805;return await this['_snapshotService'][_0x2997cb(0x133)](_0x5ae111,0x0,_0x273be5)?(await this[_0x2997cb(0x13d)][_0x2997cb(0x13a)](_0x5ae111),this[_0x2997cb(0x12d)][_0x2997cb(0x13c)](_0x5ae111)):null;}['subscribeCollaborators'](_0x30f338,_0x30e32f){var _0x5f0503=_0x4ee805;const _0x5a6b66=this[_0x5f0503(0x127)][_0x5f0503(0x147)](c[_0x5f0503(0x134)])['waitForRoom$'](_0x30f338)['pipe'](b[_0x5f0503(0x152)](_0x526c41=>_0x526c41[_0x5f0503(0x13f)]))['subscribe'](_0x50e847=>_0x30e32f(Array[_0x5f0503(0x130)](_0x50e847[_0x5f0503(0x146)]())));return i[_0x5f0503(0x150)](_0x5a6b66);}},exports[_0x4ee805(0x143)]=d([s(0x1,i['Inject'](i[_0x4ee805(0x142)])),s(0x2,i[_0x4ee805(0x12a)]),s(0x3,i['Inject'](v[_0x4ee805(0x145)])),s(0x4,i[_0x4ee805(0x128)](c['CollaborationController']))],exports[_0x4ee805(0x143)]);class u extends l[_0x4ee805(0x14f)]{[_0x4ee805(0x125)](){var _0x521a25=_0x4ee805;return this[_0x521a25(0x127)][_0x521a25(0x136)](exports['FCollaboration'],{'getUniverSheet':_0x4f694b=>this[_0x521a25(0x13c)](_0x4f694b)});}[_0x4ee805(0x14e)](_0x3295a0,_0x3db9f1,_0x2b798f){var _0x681ca3=_0x4ee805;return this[_0x681ca3(0x127)][_0x681ca3(0x136)](c['DataLoaderService'])[_0x681ca3(0x12e)](_0x3295a0,_0x3db9f1,_0x2b798f);}}l[_0x4ee805(0x14f)][_0x4ee805(0x12f)](u);
1
+ 'use strict';var _0x2d8383=_0x109e;(function(_0x311724,_0x2fb172){var _0x5acb9e=_0x109e,_0x5a9a96=_0x311724();while(!![]){try{var _0x190ddb=-parseInt(_0x5acb9e(0x1d9))/0x1+parseInt(_0x5acb9e(0x1d7))/0x2+parseInt(_0x5acb9e(0x1e5))/0x3+parseInt(_0x5acb9e(0x1ef))/0x4*(parseInt(_0x5acb9e(0x1d0))/0x5)+parseInt(_0x5acb9e(0x1df))/0x6*(parseInt(_0x5acb9e(0x1d6))/0x7)+parseInt(_0x5acb9e(0x1ec))/0x8+-parseInt(_0x5acb9e(0x1f1))/0x9;if(_0x190ddb===_0x2fb172)break;else _0x5a9a96['push'](_0x5a9a96['shift']());}catch(_0x527bb9){_0x5a9a96['push'](_0x5a9a96['shift']());}}}(_0x4abf,0x6d010));Object[_0x2d8383(0x1d5)](exports,Symbol[_0x2d8383(0x1ee)],{'value':_0x2d8383(0x1cc)});function _0x109e(_0x170db0,_0x16f39b){var _0x4abfe8=_0x4abf();return _0x109e=function(_0x109e64,_0x3c789a){_0x109e64=_0x109e64-0x1c8;var _0x129a68=_0x4abfe8[_0x109e64];return _0x129a68;},_0x109e(_0x170db0,_0x16f39b);}function _0x4abf(){var _0x41bb90=['loadSheet','loadServerUnit','_snapshotService','_univerInstanceService','Module','Injector','_handler','length','265835zxvxkU','FBase','getUniverSheet','CollaborationController','SnapshotService','defineProperty','2493743anqeRw','247490vbXqpU','rxjs','768372SeQlXn','get','FUniver','Inject','loadSheetAsync','loadActiveSheetAsync','12rLsXfz','values','extend','loadUnit','switchMap','loadActiveSheet','2494860YQcHqX','members$','subscribeCollaborators','IUniverInstanceService','MemberService','_injector','waitForRoom$','4274904wksWUh','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','toStringTag','36GjihBP','_collaborationController','13192893XJjHcO','FCollaboration','createInstance'];_0x4abf=function(){return _0x41bb90;};return _0x4abf();}const c=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),v=require('@univerjs-pro/collaboration'),i=require('@univerjs/core'),b=require(_0x2d8383(0x1d8));var S=Object['getOwnPropertyDescriptor'],d=(_0x3c9729,_0x26998d,_0x5a81eb,_0x4b1a92)=>{var _0x3a2bfa=_0x2d8383;for(var _0x5174ef=_0x4b1a92>0x1?void 0x0:_0x4b1a92?S(_0x26998d,_0x5a81eb):_0x26998d,_0x39f16b=_0x3c9729[_0x3a2bfa(0x1cf)]-0x1,_0x933058;_0x39f16b>=0x0;_0x39f16b--)(_0x933058=_0x3c9729[_0x39f16b])&&(_0x5174ef=_0x933058(_0x5174ef)||_0x5174ef);return _0x5174ef;},s=(_0x3c5ca9,_0x29c8a0)=>(_0x544142,_0x48c4c4)=>_0x29c8a0(_0x544142,_0x48c4c4,_0x3c5ca9);exports['FCollaboration']=class extends l[_0x2d8383(0x1d1)]{constructor(_0x52acdf,_0x40361c,_0x305eb9,_0x105964,_0x446784){var _0x1ed23e=_0x2d8383;super(),this['_handler']=_0x52acdf,this[_0x1ed23e(0x1ea)]=_0x40361c,this[_0x1ed23e(0x1cb)]=_0x305eb9,this['_snapshotService']=_0x105964,this['_collaborationController']=_0x446784;}async[_0x2d8383(0x1e4)](){var _0x210c31=_0x2d8383;return this[_0x210c31(0x1de)]();}async[_0x2d8383(0x1de)](){var _0x3f5840=_0x2d8383;throw new Error(_0x3f5840(0x1ed));}async['loadSheet'](_0x202fd0){return this['loadSheetAsync'](_0x202fd0);}async[_0x2d8383(0x1dd)](_0x3c75b8,_0x35cae9){var _0x20571e=_0x2d8383;return await this[_0x20571e(0x1ca)][_0x20571e(0x1c8)](_0x3c75b8,0x0,_0x35cae9)?(await this[_0x20571e(0x1f0)]['readyForCollab'](_0x3c75b8),this[_0x20571e(0x1ce)]['getUniverSheet'](_0x3c75b8)):null;}[_0x2d8383(0x1e7)](_0xc4d358,_0x212026){var _0x5695bf=_0x2d8383;const _0x413eca=this[_0x5695bf(0x1ea)][_0x5695bf(0x1da)](c[_0x5695bf(0x1e9)])[_0x5695bf(0x1eb)](_0xc4d358)['pipe'](b[_0x5695bf(0x1e3)](_0x195572=>_0x195572[_0x5695bf(0x1e6)]))['subscribe'](_0x1900d2=>_0x212026(Array['from'](_0x1900d2[_0x5695bf(0x1e0)]())));return i['toDisposable'](_0x413eca);}},exports[_0x2d8383(0x1f2)]=d([s(0x1,i['Inject'](i[_0x2d8383(0x1cd)])),s(0x2,i[_0x2d8383(0x1e8)]),s(0x3,i[_0x2d8383(0x1dc)](v[_0x2d8383(0x1d4)])),s(0x4,i[_0x2d8383(0x1dc)](c[_0x2d8383(0x1d3)]))],exports[_0x2d8383(0x1f2)]);class u extends l[_0x2d8383(0x1db)]{['getCollaboration'](){var _0x179d8d=_0x2d8383;return this['_injector'][_0x179d8d(0x1f3)](exports['FCollaboration'],{'getUniverSheet':_0x38cdd7=>this[_0x179d8d(0x1d2)](_0x38cdd7)});}[_0x2d8383(0x1c9)](_0x52e032,_0x331657,_0x58fc9a){var _0x18479f=_0x2d8383;return this[_0x18479f(0x1ea)]['createInstance'](c['DataLoaderService'])[_0x18479f(0x1e2)](_0x52e032,_0x331657,_0x58fc9a);}}l[_0x2d8383(0x1db)][_0x2d8383(0x1e1)](u);