@univerjs-pro/collaboration-client 0.6.6-nightly.202503221606 → 0.6.6-nightly.202503241607

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 _0x42235f=_0xd841;(function(_0x20cd51,_0x5a40c2){var _0x59222e=_0xd841,_0x15fa80=_0x20cd51();while(!![]){try{var _0x2c6535=parseInt(_0x59222e(0x1b3))/0x1*(-parseInt(_0x59222e(0x1ae))/0x2)+-parseInt(_0x59222e(0x1a1))/0x3*(parseInt(_0x59222e(0x1b9))/0x4)+parseInt(_0x59222e(0x1bd))/0x5+-parseInt(_0x59222e(0x1af))/0x6*(parseInt(_0x59222e(0x192))/0x7)+-parseInt(_0x59222e(0x1a8))/0x8*(parseInt(_0x59222e(0x19f))/0x9)+parseInt(_0x59222e(0x1be))/0xa+parseInt(_0x59222e(0x1ad))/0xb;if(_0x2c6535===_0x5a40c2)break;else _0x15fa80['push'](_0x15fa80['shift']());}catch(_0x552573){_0x15fa80['push'](_0x15fa80['shift']());}}}(_0x430d,0xf17a9));Object[_0x42235f(0x19a)](exports,Symbol[_0x42235f(0x1b2)],{'value':'Module'});const c=require(_0x42235f(0x1b6)),l=require(_0x42235f(0x1a7)),v=require(_0x42235f(0x1a0)),i=require(_0x42235f(0x196)),b=require(_0x42235f(0x198));var S=Object[_0x42235f(0x19e)],d=(_0x53daa1,_0xe3ddb1,_0x440315,_0x13441d)=>{for(var _0x28f35a=_0x13441d>0x1?void 0x0:_0x13441d?S(_0xe3ddb1,_0x440315):_0xe3ddb1,_0x41f685=_0x53daa1['length']-0x1,_0x3ff92b;_0x41f685>=0x0;_0x41f685--)(_0x3ff92b=_0x53daa1[_0x41f685])&&(_0x28f35a=_0x3ff92b(_0x28f35a)||_0x28f35a);return _0x28f35a;},s=(_0x2215b9,_0x2cb8d7)=>(_0x21062a,_0x37109a)=>_0x2cb8d7(_0x21062a,_0x37109a,_0x2215b9);exports[_0x42235f(0x1a9)]=class extends l[_0x42235f(0x1b0)]{constructor(_0x2b2751,_0x3186d6,_0x6f6197,_0x2e42b9,_0x32fd2d){var _0x1c6d60=_0x42235f;super(),this['_handler']=_0x2b2751,this[_0x1c6d60(0x1aa)]=_0x3186d6,this['_univerInstanceService']=_0x6f6197,this['_snapshotService']=_0x2e42b9,this[_0x1c6d60(0x1bb)]=_0x32fd2d;}async['loadActiveSheet'](){var _0x530dcb=_0x42235f;return this[_0x530dcb(0x1a2)]();}async[_0x42235f(0x1a2)](){var _0x6d0e7b=_0x42235f;throw new Error(_0x6d0e7b(0x1b4));}async[_0x42235f(0x1bc)](_0x32bbfb){return this['loadSheetAsync'](_0x32bbfb);}async[_0x42235f(0x197)](_0x5a2013,_0x1db895){var _0x396333=_0x42235f;return await this[_0x396333(0x194)][_0x396333(0x1bc)](_0x5a2013,0x0,_0x1db895)?(await this[_0x396333(0x1bb)][_0x396333(0x1c0)](_0x5a2013),this[_0x396333(0x193)][_0x396333(0x1ba)](_0x5a2013)):null;}['subscribeCollaborators'](_0x21932b,_0x8a6fd4){var _0x2214cf=_0x42235f;const _0x5af67a=this[_0x2214cf(0x1aa)][_0x2214cf(0x1a4)](c[_0x2214cf(0x1b7)])[_0x2214cf(0x1b5)](_0x21932b)['pipe'](b[_0x2214cf(0x1b1)](_0x5b4fd7=>_0x5b4fd7[_0x2214cf(0x1a6)]))[_0x2214cf(0x195)](_0x1965ce=>_0x8a6fd4(Array[_0x2214cf(0x19d)](_0x1965ce[_0x2214cf(0x1a3)]())));return i[_0x2214cf(0x1b8)](_0x5af67a);}},exports[_0x42235f(0x1a9)]=d([s(0x1,i[_0x42235f(0x1a5)](i[_0x42235f(0x199)])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x42235f(0x1a5)](v['SnapshotService'])),s(0x4,i[_0x42235f(0x1a5)](c[_0x42235f(0x1ac)]))],exports[_0x42235f(0x1a9)]);function _0x430d(){var _0x80999e=['@univerjs-pro/collaboration','4966767JLYYyX','loadActiveSheetAsync','values','get','Inject','members$','@univerjs/core/facade','6525664bxbwcO','FCollaboration','_injector','loadUnit','CollaborationController','17919649KaOjiq','58aBSccC','2214042xPiOIy','FBase','switchMap','toStringTag','4569iILMqL','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','waitForRoom$','@univerjs-pro/collaboration-client','MemberService','toDisposable','4ykbzvS','getUniverSheet','_collaborationController','loadSheet','8308190ljkhEd','6712050ykwyCd','extend','readyForCollab','7ESxWev','_handler','_snapshotService','subscribe','@univerjs/core','loadSheetAsync','rxjs','Injector','defineProperty','FUniver','createInstance','from','getOwnPropertyDescriptor','9znWDcz'];_0x430d=function(){return _0x80999e;};return _0x430d();}function _0xd841(_0x387b52,_0x30d1c5){var _0x430da2=_0x430d();return _0xd841=function(_0xd8411d,_0x9ef3d5){_0xd8411d=_0xd8411d-0x192;var _0x508837=_0x430da2[_0xd8411d];return _0x508837;},_0xd841(_0x387b52,_0x30d1c5);}class u extends l[_0x42235f(0x19b)]{['getCollaboration'](){var _0x143040=_0x42235f;return this[_0x143040(0x1aa)][_0x143040(0x19c)](exports['FCollaboration'],{'getUniverSheet':_0x53842b=>this[_0x143040(0x1ba)](_0x53842b)});}['loadServerUnit'](_0x2737ee,_0x39a89a,_0x3c30e1){var _0x5ed3d8=_0x42235f;return this[_0x5ed3d8(0x1aa)][_0x5ed3d8(0x19c)](c['DataLoaderService'])[_0x5ed3d8(0x1ab)](_0x2737ee,_0x39a89a,_0x3c30e1);}}l[_0x42235f(0x19b)][_0x42235f(0x1bf)](u);
1
+ 'use strict';var _0x491224=_0x5bbb;(function(_0x57635e,_0x3ad4da){var _0x2d805c=_0x5bbb,_0x11c322=_0x57635e();while(!![]){try{var _0x1d5b80=-parseInt(_0x2d805c(0x1d2))/0x1*(-parseInt(_0x2d805c(0x1d9))/0x2)+-parseInt(_0x2d805c(0x1db))/0x3+-parseInt(_0x2d805c(0x1d8))/0x4*(-parseInt(_0x2d805c(0x1e0))/0x5)+-parseInt(_0x2d805c(0x1f4))/0x6*(-parseInt(_0x2d805c(0x1f8))/0x7)+-parseInt(_0x2d805c(0x1f5))/0x8+-parseInt(_0x2d805c(0x1eb))/0x9*(parseInt(_0x2d805c(0x1df))/0xa)+parseInt(_0x2d805c(0x1e3))/0xb*(parseInt(_0x2d805c(0x1fd))/0xc);if(_0x1d5b80===_0x3ad4da)break;else _0x11c322['push'](_0x11c322['shift']());}catch(_0x3ff09b){_0x11c322['push'](_0x11c322['shift']());}}}(_0x8ad1,0xc8fbf));function _0x8ad1(){var _0xe090a4=['loadServerUnit','_injector','_handler','17854788YRcgoE','getOwnPropertyDescriptor','DataLoaderService','subscribeCollaborators','createInstance','extend','@univerjs/core/facade','4ZtYvnw','pipe','rxjs','members$','FUniver','Inject','4087672DgNGQZ','591908NlqDsl','get','1738320eSIiYp','FCollaboration','waitForRoom$','loadSheet','108830NjVQSN','5KdPVHE','@univerjs-pro/collaboration','loadSheetAsync','11ZTTNvr','length','subscribe','toDisposable','Injector','readyForCollab','FBase','@univerjs/core','1017HiORcO','_snapshotService','_collaborationController','MemberService','toStringTag','_univerInstanceService','switchMap','values','SnapshotService','522NddRbV','13028080xidfIw','loadUnit','getUniverSheet','45647nkWkmI','loadActiveSheetAsync'];_0x8ad1=function(){return _0xe090a4;};return _0x8ad1();}Object['defineProperty'](exports,Symbol[_0x491224(0x1ef)],{'value':'Module'});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x491224(0x1d1)),v=require(_0x491224(0x1e1)),i=require(_0x491224(0x1ea)),b=require(_0x491224(0x1d4));var S=Object[_0x491224(0x1fe)],d=(_0x3ce0a1,_0xc7cc47,_0x38949f,_0x21bffb)=>{var _0x3097ec=_0x491224;for(var _0x5ec128=_0x21bffb>0x1?void 0x0:_0x21bffb?S(_0xc7cc47,_0x38949f):_0xc7cc47,_0x39bb8e=_0x3ce0a1[_0x3097ec(0x1e4)]-0x1,_0x21b0fa;_0x39bb8e>=0x0;_0x39bb8e--)(_0x21b0fa=_0x3ce0a1[_0x39bb8e])&&(_0x5ec128=_0x21b0fa(_0x5ec128)||_0x5ec128);return _0x5ec128;},s=(_0x51e1f4,_0x2db153)=>(_0x3ea66b,_0x3a6cd7)=>_0x2db153(_0x3ea66b,_0x3a6cd7,_0x51e1f4);exports[_0x491224(0x1dc)]=class extends l[_0x491224(0x1e9)]{constructor(_0x2fbaff,_0x49d731,_0x3f18ca,_0x4a4db9,_0x1fb396){var _0x4f2e39=_0x491224;super(),this[_0x4f2e39(0x1fc)]=_0x2fbaff,this[_0x4f2e39(0x1fb)]=_0x49d731,this[_0x4f2e39(0x1f0)]=_0x3f18ca,this[_0x4f2e39(0x1ec)]=_0x4a4db9,this['_collaborationController']=_0x1fb396;}async['loadActiveSheet'](){var _0x3557d0=_0x491224;return this[_0x3557d0(0x1f9)]();}async[_0x491224(0x1f9)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x491224(0x1de)](_0x3b535a){return this['loadSheetAsync'](_0x3b535a);}async[_0x491224(0x1e2)](_0x51658c,_0x99252f){var _0x385df1=_0x491224;return await this[_0x385df1(0x1ec)][_0x385df1(0x1de)](_0x51658c,0x0,_0x99252f)?(await this[_0x385df1(0x1ed)][_0x385df1(0x1e8)](_0x51658c),this['_handler'][_0x385df1(0x1f7)](_0x51658c)):null;}[_0x491224(0x200)](_0x1367ea,_0x2201c1){var _0x3ca2f9=_0x491224;const _0x519592=this[_0x3ca2f9(0x1fb)][_0x3ca2f9(0x1da)](c[_0x3ca2f9(0x1ee)])[_0x3ca2f9(0x1dd)](_0x1367ea)[_0x3ca2f9(0x1d3)](b[_0x3ca2f9(0x1f1)](_0x4e7cdf=>_0x4e7cdf[_0x3ca2f9(0x1d5)]))[_0x3ca2f9(0x1e5)](_0x19977b=>_0x2201c1(Array['from'](_0x19977b[_0x3ca2f9(0x1f2)]())));return i[_0x3ca2f9(0x1e6)](_0x519592);}},exports[_0x491224(0x1dc)]=d([s(0x1,i[_0x491224(0x1d7)](i[_0x491224(0x1e7)])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x491224(0x1d7)](v[_0x491224(0x1f3)])),s(0x4,i[_0x491224(0x1d7)](c['CollaborationController']))],exports[_0x491224(0x1dc)]);function _0x5bbb(_0x52741c,_0x2dfefa){var _0x8ad13a=_0x8ad1();return _0x5bbb=function(_0x5bbb3d,_0xbf98f7){_0x5bbb3d=_0x5bbb3d-0x1cf;var _0x57704b=_0x8ad13a[_0x5bbb3d];return _0x57704b;},_0x5bbb(_0x52741c,_0x2dfefa);}class u extends l[_0x491224(0x1d6)]{['getCollaboration'](){var _0x4a5c84=_0x491224;return this[_0x4a5c84(0x1fb)][_0x4a5c84(0x1cf)](exports['FCollaboration'],{'getUniverSheet':_0x2a0484=>this['getUniverSheet'](_0x2a0484)});}[_0x491224(0x1fa)](_0x2c2671,_0x47a23f,_0x16834b){var _0x4a383a=_0x491224;return this['_injector'][_0x4a383a(0x1cf)](c[_0x4a383a(0x1ff)])[_0x4a383a(0x1f6)](_0x2c2671,_0x47a23f,_0x16834b);}}l['FUniver'][_0x491224(0x1d0)](u);