@univerjs-pro/collaboration-client 0.8.0-nightly.202506111607 → 0.8.1-nightly.202506121607

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 _0x1c72f2=_0x1001;(function(_0x37c744,_0x2abedd){var _0x4ef1c7=_0x1001,_0xb94ce5=_0x37c744();while(!![]){try{var _0x2b6536=-parseInt(_0x4ef1c7(0x95))/0x1*(parseInt(_0x4ef1c7(0xb5))/0x2)+-parseInt(_0x4ef1c7(0xb7))/0x3+-parseInt(_0x4ef1c7(0xb1))/0x4*(parseInt(_0x4ef1c7(0xbf))/0x5)+parseInt(_0x4ef1c7(0xbc))/0x6+-parseInt(_0x4ef1c7(0xab))/0x7+-parseInt(_0x4ef1c7(0xc2))/0x8*(parseInt(_0x4ef1c7(0xaf))/0x9)+parseInt(_0x4ef1c7(0xbb))/0xa;if(_0x2b6536===_0x2abedd)break;else _0xb94ce5['push'](_0xb94ce5['shift']());}catch(_0x55c10e){_0xb94ce5['push'](_0xb94ce5['shift']());}}}(_0x2c08,0x730d6));Object['defineProperty'](exports,Symbol[_0x1c72f2(0xc3)],{'value':_0x1c72f2(0xa7)});const c=require(_0x1c72f2(0xa9)),l=require(_0x1c72f2(0x98)),h=require(_0x1c72f2(0xb9)),n=require(_0x1c72f2(0xb4)),b=require('rxjs');function _0x1001(_0x18c17d,_0x5f05be){var _0x2c08d2=_0x2c08();return _0x1001=function(_0x100167,_0x216b75){_0x100167=_0x100167-0x92;var _0x3bbb03=_0x2c08d2[_0x100167];return _0x3bbb03;},_0x1001(_0x18c17d,_0x5f05be);}var d=Object[_0x1c72f2(0xb8)],S=(_0x3bbe51,_0x2ea966,_0x5b2413,_0x2d17df)=>{var _0x35f31b=_0x1c72f2;for(var _0x2a69b0=_0x2d17df>0x1?void 0x0:_0x2d17df?d(_0x2ea966,_0x5b2413):_0x2ea966,_0x1c0c3f=_0x3bbe51[_0x35f31b(0xa8)]-0x1,_0x1248eb;_0x1c0c3f>=0x0;_0x1c0c3f--)(_0x1248eb=_0x3bbe51[_0x1c0c3f])&&(_0x2a69b0=_0x1248eb(_0x2a69b0)||_0x2a69b0);return _0x2a69b0;},s=(_0x25226f,_0x16b5bc)=>(_0x5e0bcd,_0x303676)=>_0x16b5bc(_0x5e0bcd,_0x303676,_0x25226f);exports[_0x1c72f2(0x9f)]=class extends l['FBase']{constructor(_0x403efe,_0x35a477,_0x28a878,_0x2578f9,_0x58befe){var _0x4ff53a=_0x1c72f2;super(),this['_handler']=_0x403efe,this[_0x4ff53a(0xa1)]=_0x35a477,this[_0x4ff53a(0xa2)]=_0x28a878,this[_0x4ff53a(0xb6)]=_0x2578f9,this[_0x4ff53a(0xc1)]=_0x58befe;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async[_0x1c72f2(0x9e)](){var _0x2ca2e=_0x1c72f2;throw new Error(_0x2ca2e(0xbe));}async[_0x1c72f2(0x96)](_0x4857dc){var _0x1b11d5=_0x1c72f2;return this[_0x1b11d5(0xbd)](_0x4857dc);}async['loadSheetAsync'](_0x1d06e8,_0x4e35a7){var _0x22fdd2=_0x1c72f2;return await this[_0x22fdd2(0xb6)][_0x22fdd2(0x96)](_0x1d06e8,0x0,_0x4e35a7)?(await this[_0x22fdd2(0xc1)][_0x22fdd2(0x9b)](_0x1d06e8),this[_0x22fdd2(0x9c)][_0x22fdd2(0x97)](_0x1d06e8)):null;}[_0x1c72f2(0xb0)](_0x344254,_0x215450){var _0x25fff9=_0x1c72f2;const _0x2fa3f5=this[_0x25fff9(0xa1)][_0x25fff9(0xa4)](c['MemberService'])[_0x25fff9(0x9a)](_0x344254)['pipe'](b[_0x25fff9(0xb3)](_0x18b161=>_0x18b161[_0x25fff9(0x99)]))[_0x25fff9(0x94)](_0x4fa1d5=>_0x215450(Array[_0x25fff9(0xb2)](_0x4fa1d5[_0x25fff9(0xc0)]())));return n[_0x25fff9(0xac)](_0x2fa3f5);}},exports['FCollaboration']=S([s(0x1,n[_0x1c72f2(0xa5)](n['Injector'])),s(0x2,n[_0x1c72f2(0x93)]),s(0x3,n['Inject'](h[_0x1c72f2(0xaa)])),s(0x4,n['Inject'](c['CollaborationController']))],exports[_0x1c72f2(0x9f)]);class u extends l[_0x1c72f2(0xa0)]{[_0x1c72f2(0xa3)](){var _0x2341eb=_0x1c72f2;return this[_0x2341eb(0xa1)][_0x2341eb(0xba)](exports['FCollaboration'],{'getUniverSheet':_0x13f67b=>this[_0x2341eb(0x97)](_0x13f67b)});}[_0x1c72f2(0xad)](_0x4a14be,_0x3859f7,_0x338c2f){var _0x3dcd1b=_0x1c72f2;return this[_0x3dcd1b(0xa1)]['get'](c['DataLoaderService'])[_0x3dcd1b(0x92)](_0x4a14be,_0x3859f7,_0x338c2f);}[_0x1c72f2(0x9d)](_0x3825d2,_0x4807c6,_0xc27ecb){var _0x511769=_0x1c72f2;return this[_0x511769(0xa1)][_0x511769(0xa4)](c['DataLoaderService'])[_0x511769(0xae)](_0x3825d2,_0x4807c6,_0xc27ecb);}}function _0x2c08(){var _0x54979d=['readyForCollab','_handler','loadServerUnitOfRevision','loadActiveSheetAsync','FCollaboration','FUniver','_injector','_univerInstanceService','getCollaboration','get','Inject','extend','Module','length','@univerjs-pro/collaboration-client','SnapshotService','2948561wUIxRl','toDisposable','loadServerUnit','loadUnitOfRevision','108414AKpclC','subscribeCollaborators','432608IwhPYW','from','switchMap','@univerjs/core','145362fXNrVO','_snapshotService','2300871cYVpmL','getOwnPropertyDescriptor','@univerjs-pro/collaboration','createInstance','23503670cweQGJ','334800KbVheB','loadSheetAsync','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','10FNqUMb','values','_collaborationController','304WcLlxL','toStringTag','loadUnit','IUniverInstanceService','subscribe','1mVGZCJ','loadSheet','getUniverSheet','@univerjs/core/facade','members$','waitForRoom$'];_0x2c08=function(){return _0x54979d;};return _0x2c08();}l[_0x1c72f2(0xa0)][_0x1c72f2(0xa6)](u);
1
+ 'use strict';var _0x51a00a=_0x1efe;(function(_0x5dae93,_0x54ed04){var _0x2f84d2=_0x1efe,_0x519db3=_0x5dae93();while(!![]){try{var _0x233de6=parseInt(_0x2f84d2(0x14a))/0x1+parseInt(_0x2f84d2(0x155))/0x2*(parseInt(_0x2f84d2(0x146))/0x3)+-parseInt(_0x2f84d2(0x132))/0x4*(-parseInt(_0x2f84d2(0x13d))/0x5)+-parseInt(_0x2f84d2(0x137))/0x6+-parseInt(_0x2f84d2(0x149))/0x7*(-parseInt(_0x2f84d2(0x12d))/0x8)+-parseInt(_0x2f84d2(0x14f))/0x9*(-parseInt(_0x2f84d2(0x12f))/0xa)+-parseInt(_0x2f84d2(0x133))/0xb;if(_0x233de6===_0x54ed04)break;else _0x519db3['push'](_0x519db3['shift']());}catch(_0x527a60){_0x519db3['push'](_0x519db3['shift']());}}}(_0x3ee7,0xd228f));function _0x3ee7(){var _0x505f75=['2785156MDTZjx','44275462STJiFi','values','@univerjs/core','get','8469666ujYGqp','switchMap','defineProperty','loadActiveSheetAsync','loadUnitOfRevision','Inject','10iCVKLg','FUniver','loadSheet','_univerInstanceService','rxjs','loadSheetAsync','@univerjs-pro/collaboration','readyForCollab','_injector','2193603cLSwmc','length','from','35jwUzKJ','757106pUsHtm','extend','_handler','getCollaboration','toStringTag','909WXOCAi','getUniverSheet','CollaborationController','FCollaboration','loadActiveSheet','IUniverInstanceService','4yAkANQ','loadServerUnit','loadServerUnitOfRevision','FBase','getOwnPropertyDescriptor','_collaborationController','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','Injector','waitForRoom$','2673824sDgAlr','createInstance','100420USGtPH','subscribe','Module'];_0x3ee7=function(){return _0x505f75;};return _0x3ee7();}Object[_0x51a00a(0x139)](exports,Symbol[_0x51a00a(0x14e)],{'value':_0x51a00a(0x131)});function _0x1efe(_0x1dce96,_0x9ee104){var _0x3ee79a=_0x3ee7();return _0x1efe=function(_0x1efe8e,_0x31d7a7){_0x1efe8e=_0x1efe8e-0x12d;var _0x4766ec=_0x3ee79a[_0x1efe8e];return _0x4766ec;},_0x1efe(_0x1dce96,_0x9ee104);}const c=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),h=require(_0x51a00a(0x143)),n=require(_0x51a00a(0x135)),b=require(_0x51a00a(0x141));var d=Object[_0x51a00a(0x159)],S=(_0x4607db,_0xf08934,_0x2d1ff5,_0x134df4)=>{var _0x428d73=_0x51a00a;for(var _0x54e727=_0x134df4>0x1?void 0x0:_0x134df4?d(_0xf08934,_0x2d1ff5):_0xf08934,_0x54f168=_0x4607db[_0x428d73(0x147)]-0x1,_0x5f1e60;_0x54f168>=0x0;_0x54f168--)(_0x5f1e60=_0x4607db[_0x54f168])&&(_0x54e727=_0x5f1e60(_0x54e727)||_0x54e727);return _0x54e727;},s=(_0x15c845,_0x8e2d46)=>(_0x3f1535,_0x33437f)=>_0x8e2d46(_0x3f1535,_0x33437f,_0x15c845);exports[_0x51a00a(0x152)]=class extends l[_0x51a00a(0x158)]{constructor(_0x5d5d68,_0x2f1b2b,_0x359a43,_0x548085,_0x65d158){var _0x38b6e2=_0x51a00a;super(),this[_0x38b6e2(0x14c)]=_0x5d5d68,this[_0x38b6e2(0x145)]=_0x2f1b2b,this[_0x38b6e2(0x140)]=_0x359a43,this['_snapshotService']=_0x548085,this[_0x38b6e2(0x15a)]=_0x65d158;}async[_0x51a00a(0x153)](){var _0x352655=_0x51a00a;return this[_0x352655(0x13a)]();}async['loadActiveSheetAsync'](){var _0xd86f3c=_0x51a00a;throw new Error(_0xd86f3c(0x15b));}async[_0x51a00a(0x13f)](_0x2609f2){var _0x3ac0b7=_0x51a00a;return this[_0x3ac0b7(0x142)](_0x2609f2);}async['loadSheetAsync'](_0x1dba3a,_0x36ffad){var _0x1c7f30=_0x51a00a;return await this['_snapshotService'][_0x1c7f30(0x13f)](_0x1dba3a,0x0,_0x36ffad)?(await this[_0x1c7f30(0x15a)][_0x1c7f30(0x144)](_0x1dba3a),this[_0x1c7f30(0x14c)]['getUniverSheet'](_0x1dba3a)):null;}['subscribeCollaborators'](_0x25c458,_0x5c8846){var _0x270b63=_0x51a00a;const _0x393142=this[_0x270b63(0x145)][_0x270b63(0x136)](c['MemberService'])[_0x270b63(0x15d)](_0x25c458)['pipe'](b[_0x270b63(0x138)](_0x51ba84=>_0x51ba84['members$']))[_0x270b63(0x130)](_0x554405=>_0x5c8846(Array[_0x270b63(0x148)](_0x554405[_0x270b63(0x134)]())));return n['toDisposable'](_0x393142);}},exports[_0x51a00a(0x152)]=S([s(0x1,n[_0x51a00a(0x13c)](n[_0x51a00a(0x15c)])),s(0x2,n[_0x51a00a(0x154)]),s(0x3,n[_0x51a00a(0x13c)](h['SnapshotService'])),s(0x4,n[_0x51a00a(0x13c)](c[_0x51a00a(0x151)]))],exports['FCollaboration']);class u extends l['FUniver']{[_0x51a00a(0x14d)](){var _0x47d090=_0x51a00a;return this[_0x47d090(0x145)][_0x47d090(0x12e)](exports[_0x47d090(0x152)],{'getUniverSheet':_0x5b7ef5=>this[_0x47d090(0x150)](_0x5b7ef5)});}[_0x51a00a(0x156)](_0x432eaa,_0x4e8a99,_0xfd4286){var _0x460aa4=_0x51a00a;return this['_injector'][_0x460aa4(0x136)](c['DataLoaderService'])['loadUnit'](_0x432eaa,_0x4e8a99,_0xfd4286);}[_0x51a00a(0x157)](_0x1b2d0e,_0x7c392d,_0x10465d){var _0x4a3c32=_0x51a00a;return this['_injector'][_0x4a3c32(0x136)](c['DataLoaderService'])[_0x4a3c32(0x13b)](_0x1b2d0e,_0x7c392d,_0x10465d);}}l[_0x51a00a(0x13e)][_0x51a00a(0x14b)](u);