@univerjs-pro/collaboration-client 0.7.0-nightly.202505101606 → 0.7.0-nightly.202505121607

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 _0x74fff5=_0x3587;function _0x3587(_0x5853ba,_0x4c171a){var _0x991a83=_0x991a();return _0x3587=function(_0x35872f,_0x52279b){_0x35872f=_0x35872f-0x1e4;var _0x3580b5=_0x991a83[_0x35872f];return _0x3580b5;},_0x3587(_0x5853ba,_0x4c171a);}(function(_0x510c81,_0x5837f2){var _0x4e6cb3=_0x3587,_0x4a1cc7=_0x510c81();while(!![]){try{var _0x748ea2=parseInt(_0x4e6cb3(0x1eb))/0x1*(-parseInt(_0x4e6cb3(0x205))/0x2)+parseInt(_0x4e6cb3(0x214))/0x3+-parseInt(_0x4e6cb3(0x20f))/0x4+-parseInt(_0x4e6cb3(0x213))/0x5+parseInt(_0x4e6cb3(0x200))/0x6*(-parseInt(_0x4e6cb3(0x203))/0x7)+parseInt(_0x4e6cb3(0x1ed))/0x8*(-parseInt(_0x4e6cb3(0x1ee))/0x9)+parseInt(_0x4e6cb3(0x1f1))/0xa*(parseInt(_0x4e6cb3(0x1f3))/0xb);if(_0x748ea2===_0x5837f2)break;else _0x4a1cc7['push'](_0x4a1cc7['shift']());}catch(_0x4c1e9c){_0x4a1cc7['push'](_0x4a1cc7['shift']());}}}(_0x991a,0x2c5d2));Object[_0x74fff5(0x1f2)](exports,Symbol[_0x74fff5(0x215)],{'value':'Module'});const c=require(_0x74fff5(0x209)),l=require(_0x74fff5(0x20e)),v=require(_0x74fff5(0x20b)),i=require(_0x74fff5(0x20a)),b=require(_0x74fff5(0x1f6));var S=Object[_0x74fff5(0x212)],d=(_0x2eb531,_0x5ef2c3,_0x13cdb7,_0x4b2113)=>{var _0x133701=_0x74fff5;for(var _0x38183e=_0x4b2113>0x1?void 0x0:_0x4b2113?S(_0x5ef2c3,_0x13cdb7):_0x5ef2c3,_0x101a9a=_0x2eb531[_0x133701(0x1f7)]-0x1,_0x50bb48;_0x101a9a>=0x0;_0x101a9a--)(_0x50bb48=_0x2eb531[_0x101a9a])&&(_0x38183e=_0x50bb48(_0x38183e)||_0x38183e);return _0x38183e;},s=(_0x51e1d4,_0x4355a8)=>(_0x3a28e7,_0x2bee2a)=>_0x4355a8(_0x3a28e7,_0x2bee2a,_0x51e1d4);exports[_0x74fff5(0x211)]=class extends l['FBase']{constructor(_0x29124c,_0x268df4,_0x56fd66,_0x3ba4b0,_0x22b609){var _0x131207=_0x74fff5;super(),this[_0x131207(0x217)]=_0x29124c,this[_0x131207(0x201)]=_0x268df4,this[_0x131207(0x1e7)]=_0x56fd66,this[_0x131207(0x1e4)]=_0x3ba4b0,this[_0x131207(0x1f9)]=_0x22b609;}async[_0x74fff5(0x1ea)](){var _0x7a9a18=_0x74fff5;return this[_0x7a9a18(0x1f0)]();}async[_0x74fff5(0x1f0)](){var _0x5c9f6f=_0x74fff5;throw new Error(_0x5c9f6f(0x208));}async['loadSheet'](_0x101717){return this['loadSheetAsync'](_0x101717);}async[_0x74fff5(0x1ec)](_0x4a7396,_0x2921c8){var _0x1a54e1=_0x74fff5;return await this[_0x1a54e1(0x1e4)][_0x1a54e1(0x1ff)](_0x4a7396,0x0,_0x2921c8)?(await this[_0x1a54e1(0x1f9)][_0x1a54e1(0x204)](_0x4a7396),this[_0x1a54e1(0x217)][_0x1a54e1(0x1f5)](_0x4a7396)):null;}[_0x74fff5(0x1f8)](_0x46733f,_0x56837e){var _0x1eeb7f=_0x74fff5;const _0x3b523e=this['_injector'][_0x1eeb7f(0x207)](c[_0x1eeb7f(0x1e9)])[_0x1eeb7f(0x1f4)](_0x46733f)[_0x1eeb7f(0x1e6)](b[_0x1eeb7f(0x1fc)](_0x41e6e3=>_0x41e6e3[_0x1eeb7f(0x216)]))['subscribe'](_0x59b3ed=>_0x56837e(Array[_0x1eeb7f(0x206)](_0x59b3ed[_0x1eeb7f(0x1fa)]())));return i[_0x1eeb7f(0x20d)](_0x3b523e);}},exports['FCollaboration']=d([s(0x1,i[_0x74fff5(0x1fd)](i['Injector'])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x74fff5(0x1fd)](v['SnapshotService'])),s(0x4,i[_0x74fff5(0x1fd)](c[_0x74fff5(0x1fb)]))],exports[_0x74fff5(0x211)]);function _0x991a(){var _0x38e8bb=['loadActiveSheet','1vjZTCW','loadSheetAsync','8IruFzo','2286999nvWtqt','getCollaboration','loadActiveSheetAsync','634190pNfjqO','defineProperty','88VPhGgc','waitForRoom$','getUniverSheet','rxjs','length','subscribeCollaborators','_collaborationController','values','CollaborationController','switchMap','Inject','FUniver','loadSheet','102MxbpMy','_injector','extend','27195rbpzmq','readyForCollab','69698aenncA','from','get','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','@univerjs-pro/collaboration-client','@univerjs/core','@univerjs-pro/collaboration','createInstance','toDisposable','@univerjs/core/facade','145888ifhdOD','loadUnit','FCollaboration','getOwnPropertyDescriptor','205655iSRmjs','320910QLLsIY','toStringTag','members$','_handler','_snapshotService','DataLoaderService','pipe','_univerInstanceService','loadServerUnit','MemberService'];_0x991a=function(){return _0x38e8bb;};return _0x991a();}class u extends l[_0x74fff5(0x1fe)]{[_0x74fff5(0x1ef)](){var _0x29d012=_0x74fff5;return this[_0x29d012(0x201)]['createInstance'](exports[_0x29d012(0x211)],{'getUniverSheet':_0x11dd8f=>this[_0x29d012(0x1f5)](_0x11dd8f)});}[_0x74fff5(0x1e8)](_0x240145,_0x1e2deb,_0x2c823d){var _0x25f7c9=_0x74fff5;return this[_0x25f7c9(0x201)][_0x25f7c9(0x20c)](c[_0x25f7c9(0x1e5)])[_0x25f7c9(0x210)](_0x240145,_0x1e2deb,_0x2c823d);}}l['FUniver'][_0x74fff5(0x202)](u);
1
+ 'use strict';var _0x2ad191=_0x12ff;function _0x3f42(){var _0x47a7d3=['pipe','getCollaboration','128328XVKKRk','loadUnit','MemberService','Module','970aBtUHv','CollaborationController','16500dREMGf','Inject','FBase','FUniver','getUniverSheet','IUniverInstanceService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','extend','409797QLCkWX','SnapshotService','6cPoFgK','createInstance','loadSheetAsync','461123fmfrXa','toStringTag','_handler','1110654penRVt','192HPXAvy','loadServerUnit','subscribeCollaborators','members$','subscribe','_snapshotService','@univerjs/core/facade','FCollaboration','_univerInstanceService','Injector','_injector','values','@univerjs-pro/collaboration-client','9154670qWMeJr','_collaborationController','35ljFUrZ','getOwnPropertyDescriptor','defineProperty','length','loadActiveSheet','899739zRSKkY','loadActiveSheetAsync','switchMap','readyForCollab','from'];_0x3f42=function(){return _0x47a7d3;};return _0x3f42();}(function(_0x4c9236,_0x230e1f){var _0x35834e=_0x12ff,_0x2086fe=_0x4c9236();while(!![]){try{var _0x44f168=parseInt(_0x35834e(0x102))/0x1*(-parseInt(_0x35834e(0xff))/0x2)+parseInt(_0x35834e(0xe8))/0x3+-parseInt(_0x35834e(0xef))/0x4*(parseInt(_0x35834e(0xe3))/0x5)+-parseInt(_0x35834e(0x105))/0x6+parseInt(_0x35834e(0xe1))/0x7+-parseInt(_0x35834e(0x106))/0x8*(-parseInt(_0x35834e(0xfd))/0x9)+-parseInt(_0x35834e(0xf3))/0xa*(parseInt(_0x35834e(0xf5))/0xb);if(_0x44f168===_0x230e1f)break;else _0x2086fe['push'](_0x2086fe['shift']());}catch(_0x269e0e){_0x2086fe['push'](_0x2086fe['shift']());}}}(_0x3f42,0xba06b));Object[_0x2ad191(0xe5)](exports,Symbol[_0x2ad191(0x103)],{'value':_0x2ad191(0xf2)});function _0x12ff(_0x11ae2a,_0x145fd1){var _0x3f42a4=_0x3f42();return _0x12ff=function(_0x12ffc0,_0x23c656){_0x12ffc0=_0x12ffc0-0xe0;var _0x34e194=_0x3f42a4[_0x12ffc0];return _0x34e194;},_0x12ff(_0x11ae2a,_0x145fd1);}const c=require(_0x2ad191(0xe0)),l=require(_0x2ad191(0x10c)),v=require('@univerjs-pro/collaboration'),i=require('@univerjs/core'),b=require('rxjs');var S=Object[_0x2ad191(0xe4)],d=(_0x3b16b2,_0x3b3a79,_0x1e83d2,_0x509568)=>{var _0x41b962=_0x2ad191;for(var _0x2f14ee=_0x509568>0x1?void 0x0:_0x509568?S(_0x3b3a79,_0x1e83d2):_0x3b3a79,_0x58d2c7=_0x3b16b2[_0x41b962(0xe6)]-0x1,_0x58a226;_0x58d2c7>=0x0;_0x58d2c7--)(_0x58a226=_0x3b16b2[_0x58d2c7])&&(_0x2f14ee=_0x58a226(_0x2f14ee)||_0x2f14ee);return _0x2f14ee;},s=(_0x14c552,_0x4ae0cb)=>(_0x27ff22,_0x873115)=>_0x4ae0cb(_0x27ff22,_0x873115,_0x14c552);exports[_0x2ad191(0x10d)]=class extends l[_0x2ad191(0xf7)]{constructor(_0x192ac2,_0x3c624d,_0x59c576,_0x234448,_0x56f673){var _0x1acc56=_0x2ad191;super(),this['_handler']=_0x192ac2,this[_0x1acc56(0x110)]=_0x3c624d,this[_0x1acc56(0x10e)]=_0x59c576,this[_0x1acc56(0x10b)]=_0x234448,this['_collaborationController']=_0x56f673;}async[_0x2ad191(0xe7)](){var _0x1cc4df=_0x2ad191;return this[_0x1cc4df(0xe9)]();}async[_0x2ad191(0xe9)](){var _0x9f76fe=_0x2ad191;throw new Error(_0x9f76fe(0xfb));}async['loadSheet'](_0x1b1b9e){var _0x5d68fc=_0x2ad191;return this[_0x5d68fc(0x101)](_0x1b1b9e);}async['loadSheetAsync'](_0x2ec2b2,_0x1222dc){var _0x5d1573=_0x2ad191;return await this[_0x5d1573(0x10b)]['loadSheet'](_0x2ec2b2,0x0,_0x1222dc)?(await this[_0x5d1573(0xe2)][_0x5d1573(0xeb)](_0x2ec2b2),this[_0x5d1573(0x104)][_0x5d1573(0xf9)](_0x2ec2b2)):null;}[_0x2ad191(0x108)](_0x321839,_0x208b98){var _0x534e19=_0x2ad191;const _0x1d6471=this['_injector']['get'](c[_0x534e19(0xf1)])['waitForRoom$'](_0x321839)[_0x534e19(0xed)](b[_0x534e19(0xea)](_0x29a2f4=>_0x29a2f4[_0x534e19(0x109)]))[_0x534e19(0x10a)](_0x149e97=>_0x208b98(Array[_0x534e19(0xec)](_0x149e97[_0x534e19(0x111)]())));return i['toDisposable'](_0x1d6471);}},exports[_0x2ad191(0x10d)]=d([s(0x1,i[_0x2ad191(0xf6)](i[_0x2ad191(0x10f)])),s(0x2,i[_0x2ad191(0xfa)]),s(0x3,i[_0x2ad191(0xf6)](v[_0x2ad191(0xfe)])),s(0x4,i['Inject'](c[_0x2ad191(0xf4)]))],exports[_0x2ad191(0x10d)]);class u extends l[_0x2ad191(0xf8)]{[_0x2ad191(0xee)](){var _0x59e1d5=_0x2ad191;return this[_0x59e1d5(0x110)][_0x59e1d5(0x100)](exports[_0x59e1d5(0x10d)],{'getUniverSheet':_0x335c2a=>this[_0x59e1d5(0xf9)](_0x335c2a)});}[_0x2ad191(0x107)](_0x28cb0a,_0x5efd48,_0x410de5){var _0x53f1a1=_0x2ad191;return this[_0x53f1a1(0x110)][_0x53f1a1(0x100)](c['DataLoaderService'])[_0x53f1a1(0xf0)](_0x28cb0a,_0x5efd48,_0x410de5);}}l[_0x2ad191(0xf8)][_0x2ad191(0xfc)](u);