@univerjs-pro/collaboration-client 0.9.1-nightly.202507061606 → 0.9.1

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 _0xd28921=_0x1a91;(function(_0x3e3efc,_0x4a7b45){var _0x4b1fff=_0x1a91,_0x3b8997=_0x3e3efc();while(!![]){try{var _0x5ed910=parseInt(_0x4b1fff(0x1f5))/0x1*(-parseInt(_0x4b1fff(0x203))/0x2)+-parseInt(_0x4b1fff(0x1e7))/0x3+parseInt(_0x4b1fff(0x1fe))/0x4+-parseInt(_0x4b1fff(0x1e9))/0x5*(parseInt(_0x4b1fff(0x1eb))/0x6)+parseInt(_0x4b1fff(0x1de))/0x7*(-parseInt(_0x4b1fff(0x1dd))/0x8)+parseInt(_0x4b1fff(0x1db))/0x9*(-parseInt(_0x4b1fff(0x1f0))/0xa)+parseInt(_0x4b1fff(0x1fd))/0xb;if(_0x5ed910===_0x4a7b45)break;else _0x3b8997['push'](_0x3b8997['shift']());}catch(_0x174b34){_0x3b8997['push'](_0x3b8997['shift']());}}}(_0x133d,0x6987d));function _0x1a91(_0x138af3,_0x567f75){var _0x133d93=_0x133d();return _0x1a91=function(_0x1a914d,_0x4634af){_0x1a914d=_0x1a914d-0x1d4;var _0x555f5a=_0x133d93[_0x1a914d];return _0x555f5a;},_0x1a91(_0x138af3,_0x567f75);}function _0x133d(){var _0x1a7bb7=['extend','IUniverInstanceService','from','MemberService','_handler','Inject','_snapshotService','24245309ATTlEP','2105456NEeJym','defineProperty','get','createInstance','getOwnPropertyDescriptor','18530LBxaIh','loadSheet','pipe','waitForRoom$','FBase','loadUnit','values','loadUnitOfRevision','6900201axteyp','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','77472bNucmJ','392NfdAhI','_collaborationController','_univerInstanceService','loadActiveSheetAsync','switchMap','loadServerUnitOfRevision','getUniverSheet','SnapshotService','DataLoaderService','29220yxsgXG','toDisposable','5rKTlvT','loadServerUnit','4876362gGZycU','FUniver','subscribe','length','_injector','10VrcxzO','FCollaboration','toStringTag','loadActiveSheet','subscribeCollaborators','18CJrcba'];_0x133d=function(){return _0x1a7bb7;};return _0x133d();}Object[_0xd28921(0x1ff)](exports,Symbol[_0xd28921(0x1f2)],{'value':'Module'});const c=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),h=require('@univerjs-pro/collaboration'),n=require('@univerjs/core'),b=require('rxjs');var d=Object[_0xd28921(0x202)],S=(_0x5ce920,_0x1291c6,_0x242236,_0x46940a)=>{var _0x4d8645=_0xd28921;for(var _0x3214b8=_0x46940a>0x1?void 0x0:_0x46940a?d(_0x1291c6,_0x242236):_0x1291c6,_0x5dd745=_0x5ce920[_0x4d8645(0x1ee)]-0x1,_0x15ac45;_0x5dd745>=0x0;_0x5dd745--)(_0x15ac45=_0x5ce920[_0x5dd745])&&(_0x3214b8=_0x15ac45(_0x3214b8)||_0x3214b8);return _0x3214b8;},s=(_0x355d96,_0x2f3401)=>(_0x2eea60,_0x30690e)=>_0x2f3401(_0x2eea60,_0x30690e,_0x355d96);exports[_0xd28921(0x1f1)]=class extends l[_0xd28921(0x1d7)]{constructor(_0x1a392d,_0x7d19c1,_0x3f50cf,_0x103c58,_0x583af3){var _0x531f3d=_0xd28921;super(),this[_0x531f3d(0x1fa)]=_0x1a392d,this['_injector']=_0x7d19c1,this[_0x531f3d(0x1e0)]=_0x3f50cf,this['_snapshotService']=_0x103c58,this[_0x531f3d(0x1df)]=_0x583af3;}async[_0xd28921(0x1f3)](){var _0x147597=_0xd28921;return this[_0x147597(0x1e1)]();}async['loadActiveSheetAsync'](){var _0x47d231=_0xd28921;throw new Error(_0x47d231(0x1dc));}async[_0xd28921(0x1d4)](_0x1e1efe){return this['loadSheetAsync'](_0x1e1efe);}async['loadSheetAsync'](_0x12c3ba,_0x2e154d){var _0x31574f=_0xd28921;return await this[_0x31574f(0x1fc)]['loadSheet'](_0x12c3ba,0x0,_0x2e154d)?(await this[_0x31574f(0x1df)]['readyForCollab'](_0x12c3ba),this[_0x31574f(0x1fa)]['getUniverSheet'](_0x12c3ba)):null;}[_0xd28921(0x1f4)](_0x505c17,_0x549690){var _0x6243aa=_0xd28921;const _0x565089=this[_0x6243aa(0x1ef)][_0x6243aa(0x200)](c[_0x6243aa(0x1f9)])[_0x6243aa(0x1d6)](_0x505c17)[_0x6243aa(0x1d5)](b[_0x6243aa(0x1e2)](_0x5d51d7=>_0x5d51d7['members$']))[_0x6243aa(0x1ed)](_0x3275ab=>_0x549690(Array[_0x6243aa(0x1f8)](_0x3275ab[_0x6243aa(0x1d9)]())));return n[_0x6243aa(0x1e8)](_0x565089);}},exports['FCollaboration']=S([s(0x1,n[_0xd28921(0x1fb)](n['Injector'])),s(0x2,n[_0xd28921(0x1f7)]),s(0x3,n['Inject'](h[_0xd28921(0x1e5)])),s(0x4,n[_0xd28921(0x1fb)](c['CollaborationController']))],exports[_0xd28921(0x1f1)]);class u extends l[_0xd28921(0x1ec)]{['getCollaboration'](){var _0x1897e4=_0xd28921;return this[_0x1897e4(0x1ef)][_0x1897e4(0x201)](exports[_0x1897e4(0x1f1)],{'getUniverSheet':_0x38d015=>this[_0x1897e4(0x1e4)](_0x38d015)});}[_0xd28921(0x1ea)](_0xef0ae4,_0x4de665,_0x15f561){var _0x59569c=_0xd28921;return this[_0x59569c(0x1ef)][_0x59569c(0x200)](c[_0x59569c(0x1e6)])[_0x59569c(0x1d8)](_0xef0ae4,_0x4de665,_0x15f561);}[_0xd28921(0x1e3)](_0x4a5313,_0x680cb2,_0x4557e1){var _0x15c815=_0xd28921;return this[_0x15c815(0x1ef)][_0x15c815(0x200)](c['DataLoaderService'])[_0x15c815(0x1da)](_0x4a5313,_0x680cb2,_0x4557e1);}}l[_0xd28921(0x1ec)][_0xd28921(0x1f6)](u);
1
+ 'use strict';function _0x3f1d(_0x4bb533,_0x34e52c){var _0xa2fc85=_0xa2fc();return _0x3f1d=function(_0x3f1d49,_0x4fe5b3){_0x3f1d49=_0x3f1d49-0x17b;var _0x2605d0=_0xa2fc85[_0x3f1d49];return _0x2605d0;},_0x3f1d(_0x4bb533,_0x34e52c);}var _0xf1e15b=_0x3f1d;(function(_0x1850d4,_0x42429d){var _0x5c20ef=_0x3f1d,_0x9dc602=_0x1850d4();while(!![]){try{var _0x5cde12=parseInt(_0x5c20ef(0x18a))/0x1*(-parseInt(_0x5c20ef(0x18c))/0x2)+-parseInt(_0x5c20ef(0x19a))/0x3*(parseInt(_0x5c20ef(0x1a2))/0x4)+parseInt(_0x5c20ef(0x17b))/0x5+-parseInt(_0x5c20ef(0x1ab))/0x6*(parseInt(_0x5c20ef(0x1ad))/0x7)+-parseInt(_0x5c20ef(0x19c))/0x8*(parseInt(_0x5c20ef(0x1a5))/0x9)+parseInt(_0x5c20ef(0x183))/0xa*(-parseInt(_0x5c20ef(0x18b))/0xb)+-parseInt(_0x5c20ef(0x1a0))/0xc*(-parseInt(_0x5c20ef(0x1a8))/0xd);if(_0x5cde12===_0x42429d)break;else _0x9dc602['push'](_0x9dc602['shift']());}catch(_0x3e1b8b){_0x9dc602['push'](_0x9dc602['shift']());}}}(_0xa2fc,0x7c3b1));Object[_0xf1e15b(0x17d)](exports,Symbol[_0xf1e15b(0x198)],{'value':_0xf1e15b(0x189)});const c=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),h=require('@univerjs-pro/collaboration'),n=require('@univerjs/core'),b=require('rxjs');var d=Object[_0xf1e15b(0x19b)],S=(_0x1f1e97,_0x3198b6,_0x373c8d,_0xc6e457)=>{for(var _0x1517ca=_0xc6e457>0x1?void 0x0:_0xc6e457?d(_0x3198b6,_0x373c8d):_0x3198b6,_0x35557a=_0x1f1e97['length']-0x1,_0x3ff8bc;_0x35557a>=0x0;_0x35557a--)(_0x3ff8bc=_0x1f1e97[_0x35557a])&&(_0x1517ca=_0x3ff8bc(_0x1517ca)||_0x1517ca);return _0x1517ca;},s=(_0x549cb0,_0x24d7dc)=>(_0xee4cef,_0x2bf7a4)=>_0x24d7dc(_0xee4cef,_0x2bf7a4,_0x549cb0);function _0xa2fc(){var _0x184a23=['4BuMbLP','getUniverSheet','_univerInstanceService','27gxUvlU','from','_snapshotService','85631GRuuFC','extend','_handler','621252qEdQkJ','values','7uSULzI','3053055sIWaZM','Inject','defineProperty','switchMap','pipe','loadActiveSheet','_collaborationController','loadSheet','1787630njsZRs','loadServerUnit','loadActiveSheetAsync','FCollaboration','CollaborationController','DataLoaderService','Module','171739mmPzQP','55pRyjQp','6pbCKgZ','createInstance','loadUnitOfRevision','getCollaboration','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','IUniverInstanceService','get','loadServerUnitOfRevision','FBase','SnapshotService','FUniver','members$','toStringTag','subscribeCollaborators','1068603yclgJz','getOwnPropertyDescriptor','1752008WQaaCu','loadSheetAsync','_injector','readyForCollab','4416gRcwnI','loadUnit'];_0xa2fc=function(){return _0x184a23;};return _0xa2fc();}exports[_0xf1e15b(0x186)]=class extends l[_0xf1e15b(0x194)]{constructor(_0x211fcd,_0x385d84,_0x1ae0f9,_0x1e0183,_0x2023e1){var _0x166c6e=_0xf1e15b;super(),this[_0x166c6e(0x1aa)]=_0x211fcd,this[_0x166c6e(0x19e)]=_0x385d84,this[_0x166c6e(0x1a4)]=_0x1ae0f9,this[_0x166c6e(0x1a7)]=_0x1e0183,this[_0x166c6e(0x181)]=_0x2023e1;}async[_0xf1e15b(0x180)](){var _0x5e648a=_0xf1e15b;return this[_0x5e648a(0x185)]();}async[_0xf1e15b(0x185)](){var _0x47f1ba=_0xf1e15b;throw new Error(_0x47f1ba(0x190));}async[_0xf1e15b(0x182)](_0x1d3bda){var _0x2ee65e=_0xf1e15b;return this[_0x2ee65e(0x19d)](_0x1d3bda);}async[_0xf1e15b(0x19d)](_0x409c02,_0x404b7f){var _0xdc0c96=_0xf1e15b;return await this[_0xdc0c96(0x1a7)][_0xdc0c96(0x182)](_0x409c02,0x0,_0x404b7f)?(await this['_collaborationController'][_0xdc0c96(0x19f)](_0x409c02),this[_0xdc0c96(0x1aa)][_0xdc0c96(0x1a3)](_0x409c02)):null;}[_0xf1e15b(0x199)](_0x3efc8f,_0x27787e){var _0xd3dd5a=_0xf1e15b;const _0x152229=this[_0xd3dd5a(0x19e)][_0xd3dd5a(0x192)](c['MemberService'])['waitForRoom$'](_0x3efc8f)[_0xd3dd5a(0x17f)](b[_0xd3dd5a(0x17e)](_0x4b010b=>_0x4b010b[_0xd3dd5a(0x197)]))['subscribe'](_0x198258=>_0x27787e(Array[_0xd3dd5a(0x1a6)](_0x198258[_0xd3dd5a(0x1ac)]())));return n['toDisposable'](_0x152229);}},exports['FCollaboration']=S([s(0x1,n[_0xf1e15b(0x17c)](n['Injector'])),s(0x2,n[_0xf1e15b(0x191)]),s(0x3,n[_0xf1e15b(0x17c)](h[_0xf1e15b(0x195)])),s(0x4,n[_0xf1e15b(0x17c)](c[_0xf1e15b(0x187)]))],exports['FCollaboration']);class u extends l[_0xf1e15b(0x196)]{[_0xf1e15b(0x18f)](){var _0x346746=_0xf1e15b;return this[_0x346746(0x19e)][_0x346746(0x18d)](exports[_0x346746(0x186)],{'getUniverSheet':_0x2497fe=>this[_0x346746(0x1a3)](_0x2497fe)});}[_0xf1e15b(0x184)](_0x56a93f,_0x3e91e5,_0x1c9b13){var _0x4aaffd=_0xf1e15b;return this[_0x4aaffd(0x19e)][_0x4aaffd(0x192)](c[_0x4aaffd(0x188)])[_0x4aaffd(0x1a1)](_0x56a93f,_0x3e91e5,_0x1c9b13);}[_0xf1e15b(0x193)](_0x2e8bfb,_0x4e4dc2,_0x59861b){var _0x2b7632=_0xf1e15b;return this[_0x2b7632(0x19e)][_0x2b7632(0x192)](c[_0x2b7632(0x188)])[_0x2b7632(0x18e)](_0x2e8bfb,_0x4e4dc2,_0x59861b);}}l[_0xf1e15b(0x196)][_0xf1e15b(0x1a9)](u);