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

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 _0x4e372c=_0x3565;(function(_0x200ba1,_0x235ba0){var _0x554a70=_0x3565,_0x3d82dd=_0x200ba1();while(!![]){try{var _0x440e88=-parseInt(_0x554a70(0xf4))/0x1*(-parseInt(_0x554a70(0x106))/0x2)+parseInt(_0x554a70(0x10c))/0x3+-parseInt(_0x554a70(0x111))/0x4+parseInt(_0x554a70(0xf1))/0x5+-parseInt(_0x554a70(0xee))/0x6*(parseInt(_0x554a70(0x101))/0x7)+-parseInt(_0x554a70(0x110))/0x8*(-parseInt(_0x554a70(0x10f))/0x9)+parseInt(_0x554a70(0xf9))/0xa*(-parseInt(_0x554a70(0xfb))/0xb);if(_0x440e88===_0x235ba0)break;else _0x3d82dd['push'](_0x3d82dd['shift']());}catch(_0xdacf2b){_0x3d82dd['push'](_0x3d82dd['shift']());}}}(_0xeade,0xf0eeb));Object['defineProperty'](exports,Symbol['toStringTag'],{'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[_0x4e372c(0x10a)],S=(_0x5b9d5e,_0xa99bde,_0x35fa77,_0x26a944)=>{var _0x2eacff=_0x4e372c;for(var _0x56e575=_0x26a944>0x1?void 0x0:_0x26a944?d(_0xa99bde,_0x35fa77):_0xa99bde,_0xdf1d8b=_0x5b9d5e[_0x2eacff(0xed)]-0x1,_0x50025d;_0xdf1d8b>=0x0;_0xdf1d8b--)(_0x50025d=_0x5b9d5e[_0xdf1d8b])&&(_0x56e575=_0x50025d(_0x56e575)||_0x56e575);return _0x56e575;},s=(_0x4aa4e8,_0x5aee34)=>(_0x343804,_0x38cda4)=>_0x5aee34(_0x343804,_0x38cda4,_0x4aa4e8);function _0xeade(){var _0x2c1777=['loadServerUnit','switchMap','extend','2776QHNQub','createInstance','_handler','_injector','getOwnPropertyDescriptor','MemberService','4351626VNZogb','values','loadSheet','1480041zLzURg','88uXAQEC','5952684ebTLUG','getCollaboration','readyForCollab','loadUnitOfRevision','FBase','length','1206QScFkV','get','Inject','4598070veCsVf','subscribe','toDisposable','653HjGyio','members$','pipe','loadSheetAsync','_univerInstanceService','33010oTHJDe','loadActiveSheetAsync','3465YqgIBm','loadServerUnitOfRevision','FUniver','_snapshotService','FCollaboration','IUniverInstanceService','54698MsoaVW','_collaborationController'];_0xeade=function(){return _0x2c1777;};return _0xeade();}exports[_0x4e372c(0xff)]=class extends l[_0x4e372c(0x115)]{constructor(_0x1702a0,_0x3bd989,_0x24ca76,_0xa07824,_0x40735f){var _0x485aca=_0x4e372c;super(),this[_0x485aca(0x108)]=_0x1702a0,this[_0x485aca(0x109)]=_0x3bd989,this[_0x485aca(0xf8)]=_0x24ca76,this[_0x485aca(0xfe)]=_0xa07824,this['_collaborationController']=_0x40735f;}async['loadActiveSheet'](){var _0xd22a4e=_0x4e372c;return this[_0xd22a4e(0xfa)]();}async[_0x4e372c(0xfa)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x4e372c(0x10e)](_0x124213){var _0x34e626=_0x4e372c;return this[_0x34e626(0xf7)](_0x124213);}async[_0x4e372c(0xf7)](_0x21a73b,_0x147c70){var _0x14e612=_0x4e372c;return await this['_snapshotService']['loadSheet'](_0x21a73b,0x0,_0x147c70)?(await this[_0x14e612(0x102)][_0x14e612(0x113)](_0x21a73b),this[_0x14e612(0x108)]['getUniverSheet'](_0x21a73b)):null;}['subscribeCollaborators'](_0x19ee04,_0x31b333){var _0x157aa5=_0x4e372c;const _0x311b6a=this[_0x157aa5(0x109)][_0x157aa5(0xef)](c[_0x157aa5(0x10b)])['waitForRoom$'](_0x19ee04)[_0x157aa5(0xf6)](b[_0x157aa5(0x104)](_0x3a612b=>_0x3a612b[_0x157aa5(0xf5)]))[_0x157aa5(0xf2)](_0x2070cc=>_0x31b333(Array['from'](_0x2070cc[_0x157aa5(0x10d)]())));return n[_0x157aa5(0xf3)](_0x311b6a);}},exports[_0x4e372c(0xff)]=S([s(0x1,n['Inject'](n['Injector'])),s(0x2,n[_0x4e372c(0x100)]),s(0x3,n[_0x4e372c(0xf0)](h['SnapshotService'])),s(0x4,n[_0x4e372c(0xf0)](c['CollaborationController']))],exports[_0x4e372c(0xff)]);function _0x3565(_0x3f8efc,_0x1e2018){var _0xeade60=_0xeade();return _0x3565=function(_0x35656d,_0x20d591){_0x35656d=_0x35656d-0xed;var _0x2d2fd5=_0xeade60[_0x35656d];return _0x2d2fd5;},_0x3565(_0x3f8efc,_0x1e2018);}class u extends l[_0x4e372c(0xfd)]{[_0x4e372c(0x112)](){var _0x16750b=_0x4e372c;return this[_0x16750b(0x109)][_0x16750b(0x107)](exports[_0x16750b(0xff)],{'getUniverSheet':_0x5edea1=>this['getUniverSheet'](_0x5edea1)});}[_0x4e372c(0x103)](_0x4692ff,_0x3791e1,_0x3e2dd7){var _0x3cd4ce=_0x4e372c;return this[_0x3cd4ce(0x109)][_0x3cd4ce(0xef)](c['DataLoaderService'])['loadUnit'](_0x4692ff,_0x3791e1,_0x3e2dd7);}[_0x4e372c(0xfc)](_0x42b8d1,_0x172add,_0xb0627a){var _0x297ca6=_0x4e372c;return this[_0x297ca6(0x109)][_0x297ca6(0xef)](c['DataLoaderService'])[_0x297ca6(0x114)](_0x42b8d1,_0x172add,_0xb0627a);}}l['FUniver'][_0x4e372c(0x105)](u);
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);