@univerjs-pro/collaboration-client 0.6.10-nightly.202504201606 → 0.6.10-nightly.202504231607

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 _0x13d201=_0x5f07;(function(_0x287556,_0x37cb6b){var _0x31b4eb=_0x5f07,_0x54faf0=_0x287556();while(!![]){try{var _0x2ad5bc=parseInt(_0x31b4eb(0x1d4))/0x1+-parseInt(_0x31b4eb(0x1dd))/0x2+parseInt(_0x31b4eb(0x1ce))/0x3*(parseInt(_0x31b4eb(0x1e8))/0x4)+-parseInt(_0x31b4eb(0x1e9))/0x5+parseInt(_0x31b4eb(0x1c7))/0x6+parseInt(_0x31b4eb(0x1d5))/0x7*(parseInt(_0x31b4eb(0x1e5))/0x8)+-parseInt(_0x31b4eb(0x1e0))/0x9;if(_0x2ad5bc===_0x37cb6b)break;else _0x54faf0['push'](_0x54faf0['shift']());}catch(_0x44deb9){_0x54faf0['push'](_0x54faf0['shift']());}}}(_0x10e6,0x4798a));Object[_0x13d201(0x1c8)](exports,Symbol[_0x13d201(0x1d0)],{'value':_0x13d201(0x1dc)});const c=require(_0x13d201(0x1f0)),l=require(_0x13d201(0x1de)),v=require(_0x13d201(0x1d3)),i=require('@univerjs/core'),b=require(_0x13d201(0x1d7));var S=Object['getOwnPropertyDescriptor'],d=(_0x5a60c5,_0x42043b,_0x278de8,_0x3da7cc)=>{var _0x42e3a8=_0x13d201;for(var _0x20c5a0=_0x3da7cc>0x1?void 0x0:_0x3da7cc?S(_0x42043b,_0x278de8):_0x42043b,_0x131581=_0x5a60c5[_0x42e3a8(0x1db)]-0x1,_0x174a1e;_0x131581>=0x0;_0x131581--)(_0x174a1e=_0x5a60c5[_0x131581])&&(_0x20c5a0=_0x174a1e(_0x20c5a0)||_0x20c5a0);return _0x20c5a0;},s=(_0x22c12a,_0x5730aa)=>(_0x546564,_0x492e17)=>_0x5730aa(_0x546564,_0x492e17,_0x22c12a);function _0x10e6(){var _0x456797=['541986gzGoTB','extend','toStringTag','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','_univerInstanceService','@univerjs-pro/collaboration','521461KpkJgv','35dyhzBz','_snapshotService','rxjs','loadActiveSheetAsync','toDisposable','SnapshotService','length','Module','307594LQYHEE','@univerjs/core/facade','getUniverSheet','5589828ZXpWKU','subscribeCollaborators','members$','loadSheet','FUniver','348440LSYjfJ','FBase','_handler','4eJjiFS','1354105ZxKFff','Inject','loadSheetAsync','FCollaboration','readyForCollab','values','_injector','@univerjs-pro/collaboration-client','2514420wPOekK','defineProperty','from','_collaborationController','Injector','createInstance','pipe'];_0x10e6=function(){return _0x456797;};return _0x10e6();}exports[_0x13d201(0x1ec)]=class extends l[_0x13d201(0x1e6)]{constructor(_0x3e5a8b,_0xbd1c8b,_0x114551,_0x525271,_0x14e127){var _0x524d51=_0x13d201;super(),this['_handler']=_0x3e5a8b,this[_0x524d51(0x1ef)]=_0xbd1c8b,this[_0x524d51(0x1d2)]=_0x114551,this[_0x524d51(0x1d6)]=_0x525271,this[_0x524d51(0x1ca)]=_0x14e127;}async['loadActiveSheet'](){var _0x4883b0=_0x13d201;return this[_0x4883b0(0x1d8)]();}async[_0x13d201(0x1d8)](){var _0x1d6f09=_0x13d201;throw new Error(_0x1d6f09(0x1d1));}async['loadSheet'](_0x270cc0){var _0x22b8a8=_0x13d201;return this[_0x22b8a8(0x1eb)](_0x270cc0);}async['loadSheetAsync'](_0x4f38f3,_0x50c1e8){var _0x1689ba=_0x13d201;return await this[_0x1689ba(0x1d6)][_0x1689ba(0x1e3)](_0x4f38f3,0x0,_0x50c1e8)?(await this[_0x1689ba(0x1ca)][_0x1689ba(0x1ed)](_0x4f38f3),this[_0x1689ba(0x1e7)][_0x1689ba(0x1df)](_0x4f38f3)):null;}[_0x13d201(0x1e1)](_0x49e512,_0x29adbe){var _0x3f6f09=_0x13d201;const _0x4dc997=this[_0x3f6f09(0x1ef)]['get'](c['MemberService'])['waitForRoom$'](_0x49e512)[_0x3f6f09(0x1cd)](b['switchMap'](_0x55804d=>_0x55804d[_0x3f6f09(0x1e2)]))['subscribe'](_0x68758a=>_0x29adbe(Array[_0x3f6f09(0x1c9)](_0x68758a[_0x3f6f09(0x1ee)]())));return i[_0x3f6f09(0x1d9)](_0x4dc997);}},exports[_0x13d201(0x1ec)]=d([s(0x1,i[_0x13d201(0x1ea)](i[_0x13d201(0x1cb)])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x13d201(0x1ea)](v[_0x13d201(0x1da)])),s(0x4,i[_0x13d201(0x1ea)](c['CollaborationController']))],exports[_0x13d201(0x1ec)]);function _0x5f07(_0x40ebe8,_0x33598b){var _0x10e645=_0x10e6();return _0x5f07=function(_0x5f076b,_0x1d6516){_0x5f076b=_0x5f076b-0x1c7;var _0x2a00c2=_0x10e645[_0x5f076b];return _0x2a00c2;},_0x5f07(_0x40ebe8,_0x33598b);}class u extends l[_0x13d201(0x1e4)]{['getCollaboration'](){var _0x4bfcd4=_0x13d201;return this['_injector'][_0x4bfcd4(0x1cc)](exports[_0x4bfcd4(0x1ec)],{'getUniverSheet':_0x2e34f5=>this[_0x4bfcd4(0x1df)](_0x2e34f5)});}['loadServerUnit'](_0x32abe9,_0x3593ab,_0xe4a071){var _0x325318=_0x13d201;return this['_injector'][_0x325318(0x1cc)](c['DataLoaderService'])['loadUnit'](_0x32abe9,_0x3593ab,_0xe4a071);}}l[_0x13d201(0x1e4)][_0x13d201(0x1cf)](u);
1
+ 'use strict';var _0x4dcb10=_0x3835;(function(_0x4a4876,_0x3927ad){var _0x10d153=_0x3835,_0x132bd4=_0x4a4876();while(!![]){try{var _0x159f90=-parseInt(_0x10d153(0x14e))/0x1*(-parseInt(_0x10d153(0x14b))/0x2)+parseInt(_0x10d153(0x124))/0x3*(-parseInt(_0x10d153(0x126))/0x4)+-parseInt(_0x10d153(0x12d))/0x5+parseInt(_0x10d153(0x12e))/0x6+parseInt(_0x10d153(0x142))/0x7+-parseInt(_0x10d153(0x14a))/0x8+parseInt(_0x10d153(0x127))/0x9*(parseInt(_0x10d153(0x135))/0xa);if(_0x159f90===_0x3927ad)break;else _0x132bd4['push'](_0x132bd4['shift']());}catch(_0xb8617e){_0x132bd4['push'](_0x132bd4['shift']());}}}(_0x1c6f,0x3c557));Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x4dcb10(0x130)});function _0x1c6f(){var _0x233447=['Module','Inject','FUniver','_collaborationController','@univerjs/core','237870CiyCya','FBase','Injector','SnapshotService','@univerjs-pro/collaboration','DataLoaderService','loadSheet','subscribe','loadSheetAsync','@univerjs-pro/collaboration-client','toDisposable','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadActiveSheet','3315123LdUEkz','getUniverSheet','readyForCollab','loadUnit','values','switchMap','subscribeCollaborators','getCollaboration','1849352FSHeey','12MLKpVf','from','CollaborationController','42143ZvNAdb','_injector','IUniverInstanceService','loadServerUnit','pipe','createInstance','1043229oHmQPT','waitForRoom$','4QWjjZg','117nEokgw','loadActiveSheetAsync','length','members$','MemberService','FCollaboration','1197080jyjaJD','178662VKFWXS','_snapshotService'];_0x1c6f=function(){return _0x233447;};return _0x1c6f();}const c=require(_0x4dcb10(0x13e)),l=require('@univerjs/core/facade'),v=require(_0x4dcb10(0x139)),i=require(_0x4dcb10(0x134)),b=require('rxjs');function _0x3835(_0x248f25,_0x4808a6){var _0x1c6f8d=_0x1c6f();return _0x3835=function(_0x3835ec,_0x2e6842){_0x3835ec=_0x3835ec-0x120;var _0xe706ce=_0x1c6f8d[_0x3835ec];return _0xe706ce;},_0x3835(_0x248f25,_0x4808a6);}var S=Object['getOwnPropertyDescriptor'],d=(_0x1da42b,_0x2a9804,_0x41eee5,_0x4c6f2e)=>{var _0x38284e=_0x4dcb10;for(var _0x1a16e2=_0x4c6f2e>0x1?void 0x0:_0x4c6f2e?S(_0x2a9804,_0x41eee5):_0x2a9804,_0x3a0c37=_0x1da42b[_0x38284e(0x129)]-0x1,_0x46f958;_0x3a0c37>=0x0;_0x3a0c37--)(_0x46f958=_0x1da42b[_0x3a0c37])&&(_0x1a16e2=_0x46f958(_0x1a16e2)||_0x1a16e2);return _0x1a16e2;},s=(_0x5cc949,_0x25b37f)=>(_0x4b9ef6,_0x352203)=>_0x25b37f(_0x4b9ef6,_0x352203,_0x5cc949);exports[_0x4dcb10(0x12c)]=class extends l[_0x4dcb10(0x136)]{constructor(_0x2b40a0,_0x3e3e26,_0x1a0bee,_0x2cebfa,_0x2f6d54){var _0x5e1220=_0x4dcb10;super(),this['_handler']=_0x2b40a0,this[_0x5e1220(0x14f)]=_0x3e3e26,this['_univerInstanceService']=_0x1a0bee,this[_0x5e1220(0x12f)]=_0x2cebfa,this['_collaborationController']=_0x2f6d54;}async[_0x4dcb10(0x141)](){var _0x4b1d2d=_0x4dcb10;return this[_0x4b1d2d(0x128)]();}async['loadActiveSheetAsync'](){var _0x4f3dc0=_0x4dcb10;throw new Error(_0x4f3dc0(0x140));}async[_0x4dcb10(0x13b)](_0x1f16c6){var _0x5277bd=_0x4dcb10;return this[_0x5277bd(0x13d)](_0x1f16c6);}async[_0x4dcb10(0x13d)](_0x20951a,_0x12f414){var _0x4facd5=_0x4dcb10;return await this['_snapshotService'][_0x4facd5(0x13b)](_0x20951a,0x0,_0x12f414)?(await this[_0x4facd5(0x133)][_0x4facd5(0x144)](_0x20951a),this['_handler']['getUniverSheet'](_0x20951a)):null;}[_0x4dcb10(0x148)](_0x26aebe,_0x48db70){var _0x4a1298=_0x4dcb10;const _0x505563=this[_0x4a1298(0x14f)]['get'](c[_0x4a1298(0x12b)])[_0x4a1298(0x125)](_0x26aebe)[_0x4a1298(0x122)](b[_0x4a1298(0x147)](_0x28ca9=>_0x28ca9[_0x4a1298(0x12a)]))[_0x4a1298(0x13c)](_0x1a824c=>_0x48db70(Array[_0x4a1298(0x14c)](_0x1a824c[_0x4a1298(0x146)]())));return i[_0x4a1298(0x13f)](_0x505563);}},exports[_0x4dcb10(0x12c)]=d([s(0x1,i[_0x4dcb10(0x131)](i[_0x4dcb10(0x137)])),s(0x2,i[_0x4dcb10(0x120)]),s(0x3,i[_0x4dcb10(0x131)](v[_0x4dcb10(0x138)])),s(0x4,i[_0x4dcb10(0x131)](c[_0x4dcb10(0x14d)]))],exports[_0x4dcb10(0x12c)]);class u extends l['FUniver']{[_0x4dcb10(0x149)](){var _0x71d364=_0x4dcb10;return this[_0x71d364(0x14f)][_0x71d364(0x123)](exports[_0x71d364(0x12c)],{'getUniverSheet':_0x14a8be=>this[_0x71d364(0x143)](_0x14a8be)});}[_0x4dcb10(0x121)](_0x209bec,_0x22d30a,_0x2d3fea){var _0x4e6ab4=_0x4dcb10;return this[_0x4e6ab4(0x14f)]['createInstance'](c[_0x4e6ab4(0x13a)])[_0x4e6ab4(0x145)](_0x209bec,_0x22d30a,_0x2d3fea);}}l[_0x4dcb10(0x132)]['extend'](u);