@univerjs-pro/collaboration-client 0.6.10-experimental.20250419-8830bd4 → 0.6.10-experimental.20250419-1304630

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 _0x2299(){var _0x325dd3=['Module','1982300ZzYuwD','getUniverSheet','loadServerUnit','759552zLdEJG','loadActiveSheetAsync','loadSheet','toStringTag','getCollaboration','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadUnit','subscribe','@univerjs-pro/collaboration','subscribeCollaborators','@univerjs/core/facade','8612210BoJGZb','readyForCollab','_injector','MemberService','createInstance','Inject','8WXfQZC','getOwnPropertyDescriptor','defineProperty','18ZblnQx','FBase','_snapshotService','@univerjs/core','FCollaboration','rxjs','3948xbraZO','CollaborationController','1397256sYJeqT','DataLoaderService','get','34971zzYdLo','4818LcpRJy','loadSheetAsync','_handler','_collaborationController','switchMap','values','Injector','FUniver','_univerInstanceService','extend','2108532YxqgFR'];_0x2299=function(){return _0x325dd3;};return _0x2299();}var _0x4d3863=_0x5a1e;(function(_0x35ce96,_0x49f85f){var _0xfae67e=_0x5a1e,_0xea10af=_0x35ce96();while(!![]){try{var _0xcd34f4=parseInt(_0xfae67e(0x11c))/0x1+-parseInt(_0xfae67e(0x117))/0x2+parseInt(_0xfae67e(0x10c))/0x3*(-parseInt(_0xfae67e(0x12d))/0x4)+-parseInt(_0xfae67e(0x119))/0x5+parseInt(_0xfae67e(0x10d))/0x6*(-parseInt(_0xfae67e(0x136))/0x7)+parseInt(_0xfae67e(0x109))/0x8+-parseInt(_0xfae67e(0x130))/0x9*(-parseInt(_0xfae67e(0x127))/0xa);if(_0xcd34f4===_0x49f85f)break;else _0xea10af['push'](_0xea10af['shift']());}catch(_0xe6433b){_0xea10af['push'](_0xea10af['shift']());}}}(_0x2299,0xb2277));function _0x5a1e(_0x1e09a5,_0x1f564f){var _0x22990c=_0x2299();return _0x5a1e=function(_0x5a1e46,_0x108442){_0x5a1e46=_0x5a1e46-0x109;var _0x511d58=_0x22990c[_0x5a1e46];return _0x511d58;},_0x5a1e(_0x1e09a5,_0x1f564f);}Object[_0x4d3863(0x12f)](exports,Symbol[_0x4d3863(0x11f)],{'value':_0x4d3863(0x118)});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x4d3863(0x126)),v=require(_0x4d3863(0x124)),i=require(_0x4d3863(0x133)),b=require(_0x4d3863(0x135));var S=Object[_0x4d3863(0x12e)],d=(_0x39f083,_0x5d6314,_0x5303dc,_0x5f273a)=>{for(var _0x3a4274=_0x5f273a>0x1?void 0x0:_0x5f273a?S(_0x5d6314,_0x5303dc):_0x5d6314,_0x5cd0c1=_0x39f083['length']-0x1,_0x50b35a;_0x5cd0c1>=0x0;_0x5cd0c1--)(_0x50b35a=_0x39f083[_0x5cd0c1])&&(_0x3a4274=_0x50b35a(_0x3a4274)||_0x3a4274);return _0x3a4274;},s=(_0x55b83f,_0x3390e2)=>(_0x31c1e0,_0x3da3c1)=>_0x3390e2(_0x31c1e0,_0x3da3c1,_0x55b83f);exports[_0x4d3863(0x134)]=class extends l[_0x4d3863(0x131)]{constructor(_0x2a6119,_0xe271e2,_0x58eb97,_0x33dc27,_0x1d97cf){var _0x287792=_0x4d3863;super(),this[_0x287792(0x10f)]=_0x2a6119,this['_injector']=_0xe271e2,this[_0x287792(0x115)]=_0x58eb97,this['_snapshotService']=_0x33dc27,this[_0x287792(0x110)]=_0x1d97cf;}async['loadActiveSheet'](){var _0x218001=_0x4d3863;return this[_0x218001(0x11d)]();}async[_0x4d3863(0x11d)](){var _0x9e2cb4=_0x4d3863;throw new Error(_0x9e2cb4(0x121));}async[_0x4d3863(0x11e)](_0x493fe0){var _0x5b2803=_0x4d3863;return this[_0x5b2803(0x10e)](_0x493fe0);}async[_0x4d3863(0x10e)](_0x1714cf,_0x42d3fc){var _0x48f08c=_0x4d3863;return await this[_0x48f08c(0x132)][_0x48f08c(0x11e)](_0x1714cf,0x0,_0x42d3fc)?(await this[_0x48f08c(0x110)][_0x48f08c(0x128)](_0x1714cf),this[_0x48f08c(0x10f)][_0x48f08c(0x11a)](_0x1714cf)):null;}[_0x4d3863(0x125)](_0x146e10,_0x6d201d){var _0x748fe5=_0x4d3863;const _0x317f90=this[_0x748fe5(0x129)][_0x748fe5(0x10b)](c[_0x748fe5(0x12a)])['waitForRoom$'](_0x146e10)['pipe'](b[_0x748fe5(0x111)](_0x15d73b=>_0x15d73b['members$']))[_0x748fe5(0x123)](_0x3dd63f=>_0x6d201d(Array['from'](_0x3dd63f[_0x748fe5(0x112)]())));return i['toDisposable'](_0x317f90);}},exports[_0x4d3863(0x134)]=d([s(0x1,i[_0x4d3863(0x12c)](i[_0x4d3863(0x113)])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x4d3863(0x12c)](v['SnapshotService'])),s(0x4,i['Inject'](c[_0x4d3863(0x137)]))],exports[_0x4d3863(0x134)]);class u extends l[_0x4d3863(0x114)]{[_0x4d3863(0x120)](){var _0x2b01d7=_0x4d3863;return this[_0x2b01d7(0x129)]['createInstance'](exports[_0x2b01d7(0x134)],{'getUniverSheet':_0x20dcff=>this[_0x2b01d7(0x11a)](_0x20dcff)});}[_0x4d3863(0x11b)](_0x56f850,_0x154891,_0x379b3a){var _0x331785=_0x4d3863;return this[_0x331785(0x129)][_0x331785(0x12b)](c[_0x331785(0x10a)])[_0x331785(0x122)](_0x56f850,_0x154891,_0x379b3a);}}l[_0x4d3863(0x114)][_0x4d3863(0x116)](u);
1
+ 'use strict';var _0x1a555d=_0x2557;function _0x2557(_0x350103,_0x58468e){var _0xea49e4=_0xea49();return _0x2557=function(_0x2557ba,_0x49d157){_0x2557ba=_0x2557ba-0x17f;var _0x3958a6=_0xea49e4[_0x2557ba];return _0x3958a6;},_0x2557(_0x350103,_0x58468e);}(function(_0x11b40b,_0x2ad7db){var _0x5a0c49=_0x2557,_0x616a24=_0x11b40b();while(!![]){try{var _0x310cab=parseInt(_0x5a0c49(0x197))/0x1+-parseInt(_0x5a0c49(0x191))/0x2+-parseInt(_0x5a0c49(0x185))/0x3+parseInt(_0x5a0c49(0x199))/0x4*(-parseInt(_0x5a0c49(0x18a))/0x5)+parseInt(_0x5a0c49(0x19d))/0x6*(parseInt(_0x5a0c49(0x193))/0x7)+-parseInt(_0x5a0c49(0x1a4))/0x8+-parseInt(_0x5a0c49(0x181))/0x9*(-parseInt(_0x5a0c49(0x19c))/0xa);if(_0x310cab===_0x2ad7db)break;else _0x616a24['push'](_0x616a24['shift']());}catch(_0x144d44){_0x616a24['push'](_0x616a24['shift']());}}}(_0xea49,0xe2a23));Object[_0x1a555d(0x198)](exports,Symbol[_0x1a555d(0x1a3)],{'value':_0x1a555d(0x18b)});const c=require(_0x1a555d(0x183)),l=require('@univerjs/core/facade'),v=require(_0x1a555d(0x18d)),i=require(_0x1a555d(0x184)),b=require('rxjs');var S=Object[_0x1a555d(0x192)],d=(_0x3c1544,_0x3e5207,_0x3d2129,_0x57c6cd)=>{var _0x3556ed=_0x1a555d;for(var _0x5651c7=_0x57c6cd>0x1?void 0x0:_0x57c6cd?S(_0x3e5207,_0x3d2129):_0x3e5207,_0x367bb7=_0x3c1544[_0x3556ed(0x189)]-0x1,_0x51879d;_0x367bb7>=0x0;_0x367bb7--)(_0x51879d=_0x3c1544[_0x367bb7])&&(_0x5651c7=_0x51879d(_0x5651c7)||_0x5651c7);return _0x5651c7;},s=(_0x2124ec,_0x57d3b6)=>(_0x3009b6,_0x22f8b7)=>_0x57d3b6(_0x3009b6,_0x22f8b7,_0x2124ec);function _0xea49(){var _0x1440c8=['loadActiveSheetAsync','length','533405NDcdRu','Module','loadServerUnit','@univerjs-pro/collaboration','_handler','readyForCollab','extend','1024120iojVpN','getOwnPropertyDescriptor','210AolWzE','_injector','loadSheetAsync','FBase','197249XoJGsj','defineProperty','4JNPhsc','Inject','switchMap','50Cafmyy','282534mgTbJy','FCollaboration','FUniver','_collaborationController','pipe','from','toStringTag','8996280omodor','waitForRoom$','values','Injector','MemberService','createInstance','members$','loadSheet','getUniverSheet','3167352OloltU','_snapshotService','@univerjs-pro/collaboration-client','@univerjs/core','2093976SJTAoG','subscribe','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.'];_0xea49=function(){return _0x1440c8;};return _0xea49();}exports[_0x1a555d(0x19e)]=class extends l[_0x1a555d(0x196)]{constructor(_0x598474,_0x351c87,_0x586b53,_0x306cfa,_0x4b3f02){var _0x43888b=_0x1a555d;super(),this[_0x43888b(0x18e)]=_0x598474,this[_0x43888b(0x194)]=_0x351c87,this['_univerInstanceService']=_0x586b53,this[_0x43888b(0x182)]=_0x306cfa,this['_collaborationController']=_0x4b3f02;}async['loadActiveSheet'](){var _0xa6255d=_0x1a555d;return this[_0xa6255d(0x188)]();}async[_0x1a555d(0x188)](){var _0x5569e8=_0x1a555d;throw new Error(_0x5569e8(0x187));}async['loadSheet'](_0x1cf881){var _0x58c488=_0x1a555d;return this[_0x58c488(0x195)](_0x1cf881);}async['loadSheetAsync'](_0x1ecb23,_0x200ccc){var _0x279b94=_0x1a555d;return await this['_snapshotService'][_0x279b94(0x17f)](_0x1ecb23,0x0,_0x200ccc)?(await this[_0x279b94(0x1a0)][_0x279b94(0x18f)](_0x1ecb23),this[_0x279b94(0x18e)][_0x279b94(0x180)](_0x1ecb23)):null;}['subscribeCollaborators'](_0x48ea98,_0x5b2a9e){var _0x20cf40=_0x1a555d;const _0x3af2ff=this['_injector']['get'](c[_0x20cf40(0x1a8)])[_0x20cf40(0x1a5)](_0x48ea98)[_0x20cf40(0x1a1)](b[_0x20cf40(0x19b)](_0x4a0fa8=>_0x4a0fa8[_0x20cf40(0x1aa)]))[_0x20cf40(0x186)](_0x12070d=>_0x5b2a9e(Array[_0x20cf40(0x1a2)](_0x12070d[_0x20cf40(0x1a6)]())));return i['toDisposable'](_0x3af2ff);}},exports[_0x1a555d(0x19e)]=d([s(0x1,i[_0x1a555d(0x19a)](i[_0x1a555d(0x1a7)])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x1a555d(0x19a)](v['SnapshotService'])),s(0x4,i[_0x1a555d(0x19a)](c['CollaborationController']))],exports[_0x1a555d(0x19e)]);class u extends l[_0x1a555d(0x19f)]{['getCollaboration'](){var _0x5de10f=_0x1a555d;return this[_0x5de10f(0x194)]['createInstance'](exports['FCollaboration'],{'getUniverSheet':_0x256560=>this['getUniverSheet'](_0x256560)});}[_0x1a555d(0x18c)](_0x5d8a86,_0x54aeb6,_0x2841c3){var _0x484511=_0x1a555d;return this[_0x484511(0x194)][_0x484511(0x1a9)](c['DataLoaderService'])['loadUnit'](_0x5d8a86,_0x54aeb6,_0x2841c3);}}l['FUniver'][_0x1a555d(0x190)](u);