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

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';var _0x239869=_0x2f0b;function _0x2f0b(_0x56f53e,_0x44f10f){var _0xb1d4b6=_0xb1d4();return _0x2f0b=function(_0x2f0bfd,_0x5729cb){_0x2f0bfd=_0x2f0bfd-0xcc;var _0x5caf4b=_0xb1d4b6[_0x2f0bfd];return _0x5caf4b;},_0x2f0b(_0x56f53e,_0x44f10f);}(function(_0x5a8d72,_0x2bb5e0){var _0x5ad0c8=_0x2f0b,_0x42d91=_0x5a8d72();while(!![]){try{var _0x164884=parseInt(_0x5ad0c8(0xd5))/0x1+-parseInt(_0x5ad0c8(0xd2))/0x2+parseInt(_0x5ad0c8(0xfb))/0x3*(parseInt(_0x5ad0c8(0xd0))/0x4)+parseInt(_0x5ad0c8(0xd6))/0x5+parseInt(_0x5ad0c8(0xd4))/0x6+-parseInt(_0x5ad0c8(0xf7))/0x7*(-parseInt(_0x5ad0c8(0xe3))/0x8)+parseInt(_0x5ad0c8(0xcd))/0x9*(-parseInt(_0x5ad0c8(0xe8))/0xa);if(_0x164884===_0x2bb5e0)break;else _0x42d91['push'](_0x42d91['shift']());}catch(_0x364937){_0x42d91['push'](_0x42d91['shift']());}}}(_0xb1d4,0xccf1f));function _0xb1d4(){var _0xddb65d=['CollaborationController','loadSheetAsync','_handler','FCollaboration','extend','waitForRoom$','createInstance','_collaborationController','35416xqzmuL','FUniver','DataLoaderService','get','Module','3290370BapFJG','IUniverInstanceService','length','_snapshotService','Inject','loadActiveSheetAsync','_injector','SnapshotService','loadServerUnit','getUniverSheet','_univerInstanceService','subscribe','MemberService','values','defineProperty','714SlhFQT','getOwnPropertyDescriptor','Injector','toStringTag','60PYHFgP','loadUnitOfRevision','toDisposable','readyForCollab','FBase','loadSheet','45nfZCDL','loadActiveSheet','loadUnit','234732BviesT','loadServerUnitOfRevision','1694270TSrUet','switchMap','5132130GTvFRP','637061OvSDkw','1070725IEsLzh','from','pipe','members$','subscribeCollaborators'];_0xb1d4=function(){return _0xddb65d;};return _0xb1d4();}Object[_0x239869(0xf6)](exports,Symbol[_0x239869(0xfa)],{'value':_0x239869(0xe7)});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[_0x239869(0xf8)],S=(_0x37fc2c,_0x12c92d,_0x2b587b,_0x376813)=>{var _0x2ab4a8=_0x239869;for(var _0x13a108=_0x376813>0x1?void 0x0:_0x376813?d(_0x12c92d,_0x2b587b):_0x12c92d,_0x3f656e=_0x37fc2c[_0x2ab4a8(0xea)]-0x1,_0x1a6b97;_0x3f656e>=0x0;_0x3f656e--)(_0x1a6b97=_0x37fc2c[_0x3f656e])&&(_0x13a108=_0x1a6b97(_0x13a108)||_0x13a108);return _0x13a108;},s=(_0x58de25,_0xff58e0)=>(_0x347ca7,_0x4bf8fa)=>_0xff58e0(_0x347ca7,_0x4bf8fa,_0x58de25);exports['FCollaboration']=class extends l[_0x239869(0xff)]{constructor(_0x57fe10,_0x3666d7,_0x3aa6ef,_0x257e27,_0x3b9239){var _0x1588f7=_0x239869;super(),this[_0x1588f7(0xdd)]=_0x57fe10,this[_0x1588f7(0xee)]=_0x3666d7,this[_0x1588f7(0xf2)]=_0x3aa6ef,this[_0x1588f7(0xeb)]=_0x257e27,this[_0x1588f7(0xe2)]=_0x3b9239;}async[_0x239869(0xce)](){var _0x1db25b=_0x239869;return this[_0x1db25b(0xed)]();}async[_0x239869(0xed)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x239869(0xcc)](_0x99467a){var _0x75f97f=_0x239869;return this[_0x75f97f(0xdc)](_0x99467a);}async[_0x239869(0xdc)](_0x32dfc2,_0x3cb306){var _0x45cdfd=_0x239869;return await this[_0x45cdfd(0xeb)][_0x45cdfd(0xcc)](_0x32dfc2,0x0,_0x3cb306)?(await this[_0x45cdfd(0xe2)][_0x45cdfd(0xfe)](_0x32dfc2),this[_0x45cdfd(0xdd)][_0x45cdfd(0xf1)](_0x32dfc2)):null;}[_0x239869(0xda)](_0x5f920c,_0x2466de){var _0x4abed6=_0x239869;const _0x24b741=this['_injector'][_0x4abed6(0xe6)](c[_0x4abed6(0xf4)])[_0x4abed6(0xe0)](_0x5f920c)[_0x4abed6(0xd8)](b[_0x4abed6(0xd3)](_0xbde66=>_0xbde66[_0x4abed6(0xd9)]))[_0x4abed6(0xf3)](_0x172874=>_0x2466de(Array[_0x4abed6(0xd7)](_0x172874[_0x4abed6(0xf5)]())));return n[_0x4abed6(0xfd)](_0x24b741);}},exports[_0x239869(0xde)]=S([s(0x1,n[_0x239869(0xec)](n[_0x239869(0xf9)])),s(0x2,n[_0x239869(0xe9)]),s(0x3,n[_0x239869(0xec)](h[_0x239869(0xef)])),s(0x4,n[_0x239869(0xec)](c[_0x239869(0xdb)]))],exports[_0x239869(0xde)]);class u extends l['FUniver']{['getCollaboration'](){var _0x2cbd5d=_0x239869;return this['_injector'][_0x2cbd5d(0xe1)](exports[_0x2cbd5d(0xde)],{'getUniverSheet':_0xf3cc6e=>this[_0x2cbd5d(0xf1)](_0xf3cc6e)});}[_0x239869(0xf0)](_0x513aec,_0x531bf2,_0x44525e){var _0x2e8504=_0x239869;return this[_0x2e8504(0xee)][_0x2e8504(0xe6)](c[_0x2e8504(0xe5)])[_0x2e8504(0xcf)](_0x513aec,_0x531bf2,_0x44525e);}[_0x239869(0xd1)](_0x4f5dc0,_0x2787bd,_0xa7c6c1){var _0x3278b0=_0x239869;return this[_0x3278b0(0xee)]['get'](c[_0x3278b0(0xe5)])[_0x3278b0(0xfc)](_0x4f5dc0,_0x2787bd,_0xa7c6c1);}}l[_0x239869(0xe4)][_0x239869(0xdf)](u);