@univerjs-pro/collaboration-client 0.5.1-nightly.202412141605 → 0.5.1-nightly.202412160721

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 _0x16ee53=_0x4e9d;(function(_0x1a57a0,_0x286c48){var _0x480b6e=_0x4e9d,_0x2ecd8a=_0x1a57a0();while(!![]){try{var _0x881fe4=-parseInt(_0x480b6e(0x1d2))/0x1*(-parseInt(_0x480b6e(0x1ea))/0x2)+parseInt(_0x480b6e(0x1d6))/0x3+parseInt(_0x480b6e(0x1ee))/0x4*(-parseInt(_0x480b6e(0x1d0))/0x5)+parseInt(_0x480b6e(0x1dc))/0x6+-parseInt(_0x480b6e(0x1cd))/0x7+-parseInt(_0x480b6e(0x1cf))/0x8+-parseInt(_0x480b6e(0x1e2))/0x9;if(_0x881fe4===_0x286c48)break;else _0x2ecd8a['push'](_0x2ecd8a['shift']());}catch(_0x32c2da){_0x2ecd8a['push'](_0x2ecd8a['shift']());}}}(_0x110f,0x81a69));Object[_0x16ee53(0x1f6)](exports,Symbol[_0x16ee53(0x1ed)],{'value':_0x16ee53(0x1ce)});const t=require('@univerjs/core'),b=require('@univerjs-pro/collaboration'),c=require('@univerjs-pro/collaboration-client'),v=require(_0x16ee53(0x1cb));var h=Object[_0x16ee53(0x1f6)],_=Object[_0x16ee53(0x1f3)],u=(_0x25b528,_0x39aa04,_0x364cd7,_0x3df0ce)=>{var _0x2147fd=_0x16ee53;for(var _0x1b51e6=_0x3df0ce>0x1?void 0x0:_0x3df0ce?_(_0x39aa04,_0x364cd7):_0x39aa04,_0x55d730=_0x25b528[_0x2147fd(0x1cc)]-0x1,_0x161af6;_0x55d730>=0x0;_0x55d730--)(_0x161af6=_0x25b528[_0x55d730])&&(_0x1b51e6=(_0x3df0ce?_0x161af6(_0x39aa04,_0x364cd7,_0x1b51e6):_0x161af6(_0x1b51e6))||_0x1b51e6);return _0x3df0ce&&_0x1b51e6&&h(_0x39aa04,_0x364cd7,_0x1b51e6),_0x1b51e6;},s=(_0x19f78f,_0x3d8dd3)=>(_0x32f438,_0x4aba13)=>_0x3d8dd3(_0x32f438,_0x4aba13,_0x19f78f);exports[_0x16ee53(0x1e5)]=class extends t[_0x16ee53(0x1dd)]{constructor(_0x2dbb1a,_0x1f1335,_0x3c6959,_0x59121a,_0x2df1e3){var _0x272b34=_0x16ee53;super(),this[_0x272b34(0x1d8)]=_0x2dbb1a,this[_0x272b34(0x1d4)]=_0x1f1335,this['_univerInstanceService']=_0x3c6959,this[_0x272b34(0x1e3)]=_0x59121a,this['_collaborationController']=_0x2df1e3;}async[_0x16ee53(0x1d7)](_0x2d9c58){var _0x3c1e4d=_0x16ee53;return this[_0x3c1e4d(0x1e4)][_0x3c1e4d(0x1d9)](_0x2d9c58,t['UniverInstanceType'][_0x3c1e4d(0x1db)])||await this[_0x3c1e4d(0x1e3)][_0x3c1e4d(0x1d7)](_0x2d9c58,0x0)?(await this[_0x3c1e4d(0x1da)][_0x3c1e4d(0x1ec)](_0x2d9c58),this[_0x3c1e4d(0x1d8)][_0x3c1e4d(0x1d1)](_0x2d9c58)):null;}['subscribeCollaborators'](_0x51684e,_0x4da6a4){var _0x3ae945=_0x16ee53;const _0x297408=this[_0x3ae945(0x1d4)][_0x3ae945(0x1de)](c[_0x3ae945(0x1f5)])[_0x3ae945(0x1e8)](_0x51684e)['pipe'](v[_0x3ae945(0x1e9)](_0xa348a5=>_0xa348a5[_0x3ae945(0x1ef)]))['subscribe'](_0x4dd88=>_0x4da6a4(Array[_0x3ae945(0x1e0)](_0x4dd88[_0x3ae945(0x1e1)]())));return t[_0x3ae945(0x1f0)](_0x297408);}},exports['FCollaboration']=u([s(0x1,t[_0x16ee53(0x1e6)](t[_0x16ee53(0x1df)])),s(0x2,t[_0x16ee53(0x1e7)]),s(0x3,t['Inject'](b[_0x16ee53(0x1f1)])),s(0x4,t['Inject'](c[_0x16ee53(0x1d5)]))],exports[_0x16ee53(0x1e5)]);class S extends t[_0x16ee53(0x1f2)]{[_0x16ee53(0x1eb)](){var _0x2de55d=_0x16ee53;return this[_0x2de55d(0x1d4)][_0x2de55d(0x1d3)](exports[_0x2de55d(0x1e5)],{'getUniverSheet':_0x2f81fb=>this['getUniverSheet'](_0x2f81fb)});}}function _0x4e9d(_0x27a517,_0x31bbbe){var _0x110f2e=_0x110f();return _0x4e9d=function(_0x4e9d34,_0x274ed5){_0x4e9d34=_0x4e9d34-0x1cb;var _0x108b48=_0x110f2e[_0x4e9d34];return _0x108b48;},_0x4e9d(_0x27a517,_0x31bbbe);}t[_0x16ee53(0x1f2)][_0x16ee53(0x1f4)](S);function _0x110f(){var _0x475683=['_snapshotService','_univerInstanceService','FCollaboration','Inject','IUniverInstanceService','waitForRoom$','switchMap','3324PqeVtn','getCollaboration','readyForCollab','toStringTag','4436zfwJqV','members$','toDisposable','SnapshotService','FUniver','getOwnPropertyDescriptor','extend','MemberService','defineProperty','rxjs','length','1512658DYeGxK','Module','558120tYpzOm','125DySUbF','getUniverSheet','262rDoWUb','createInstance','_injector','CollaborationController','673398xzImFe','loadSheet','_handler','getUnit','_collaborationController','UNIVER_SHEET','2897778kGBqXx','FBase','get','Injector','from','values','2684160PdRvrN'];_0x110f=function(){return _0x475683;};return _0x110f();}
1
+ 'use strict';var _0x32baa7=_0x254c;function _0x254c(_0x598d58,_0x9113a4){var _0x5a2580=_0x5a25();return _0x254c=function(_0x254c36,_0x183447){_0x254c36=_0x254c36-0x1ee;var _0x349a60=_0x5a2580[_0x254c36];return _0x349a60;},_0x254c(_0x598d58,_0x9113a4);}(function(_0x4efe38,_0xa9ad34){var _0x21cd68=_0x254c,_0x387ca9=_0x4efe38();while(!![]){try{var _0x40ee54=parseInt(_0x21cd68(0x1fa))/0x1+-parseInt(_0x21cd68(0x20f))/0x2+parseInt(_0x21cd68(0x1ee))/0x3+parseInt(_0x21cd68(0x1f4))/0x4+parseInt(_0x21cd68(0x1f8))/0x5+parseInt(_0x21cd68(0x203))/0x6*(parseInt(_0x21cd68(0x1f3))/0x7)+-parseInt(_0x21cd68(0x20d))/0x8*(parseInt(_0x21cd68(0x205))/0x9);if(_0x40ee54===_0xa9ad34)break;else _0x387ca9['push'](_0x387ca9['shift']());}catch(_0x2ef09d){_0x387ca9['push'](_0x387ca9['shift']());}}}(_0x5a25,0xcb155));Object[_0x32baa7(0x20a)](exports,Symbol['toStringTag'],{'value':_0x32baa7(0x213)});const t=require(_0x32baa7(0x1f2)),b=require('@univerjs-pro/collaboration'),c=require(_0x32baa7(0x210)),v=require('rxjs');var h=Object[_0x32baa7(0x20a)],u=Object['getOwnPropertyDescriptor'],_=(_0x40f9c1,_0x2a27ca,_0x19665b,_0x5cb242)=>{for(var _0x531240=_0x5cb242>0x1?void 0x0:_0x5cb242?u(_0x2a27ca,_0x19665b):_0x2a27ca,_0x464757=_0x40f9c1['length']-0x1,_0x5696ae;_0x464757>=0x0;_0x464757--)(_0x5696ae=_0x40f9c1[_0x464757])&&(_0x531240=(_0x5cb242?_0x5696ae(_0x2a27ca,_0x19665b,_0x531240):_0x5696ae(_0x531240))||_0x531240);return _0x5cb242&&_0x531240&&h(_0x2a27ca,_0x19665b,_0x531240),_0x531240;},s=(_0x8ac01a,_0x5efb10)=>(_0x12b4e5,_0x46e41c)=>_0x5efb10(_0x12b4e5,_0x46e41c,_0x8ac01a);exports['FCollaboration']=class extends t['FBase']{constructor(_0x1b29f4,_0x4b4934,_0x10940b,_0x270162,_0x5b4845){var _0x21a6a7=_0x32baa7;super(),this[_0x21a6a7(0x204)]=_0x1b29f4,this[_0x21a6a7(0x20e)]=_0x4b4934,this[_0x21a6a7(0x1ef)]=_0x10940b,this[_0x21a6a7(0x1fd)]=_0x270162,this[_0x21a6a7(0x1fb)]=_0x5b4845;}async[_0x32baa7(0x207)](){var _0x1755ff=_0x32baa7;throw new Error(_0x1755ff(0x206));}async[_0x32baa7(0x208)](_0x2279c7){var _0x266c6e=_0x32baa7;return this['_univerInstanceService'][_0x266c6e(0x1f0)](_0x2279c7,t[_0x266c6e(0x20c)][_0x266c6e(0x20b)])||await this[_0x266c6e(0x1fd)][_0x266c6e(0x208)](_0x2279c7,0x0)?(await this['_collaborationController'][_0x266c6e(0x209)](_0x2279c7),this[_0x266c6e(0x204)]['getUniverSheet'](_0x2279c7)):null;}['subscribeCollaborators'](_0x5ac007,_0x2af1c3){var _0x14550b=_0x32baa7;const _0x6723c3=this[_0x14550b(0x20e)][_0x14550b(0x201)](c['MemberService'])['waitForRoom$'](_0x5ac007)[_0x14550b(0x1fe)](v[_0x14550b(0x211)](_0x5e6aa4=>_0x5e6aa4['members$']))['subscribe'](_0x33081a=>_0x2af1c3(Array[_0x14550b(0x1f9)](_0x33081a['values']())));return t['toDisposable'](_0x6723c3);}},exports[_0x32baa7(0x200)]=_([s(0x1,t['Inject'](t[_0x32baa7(0x1f1)])),s(0x2,t[_0x32baa7(0x1f5)]),s(0x3,t[_0x32baa7(0x1ff)](b['SnapshotService'])),s(0x4,t[_0x32baa7(0x1ff)](c['CollaborationController']))],exports['FCollaboration']);class S extends t[_0x32baa7(0x212)]{[_0x32baa7(0x1f6)](){var _0x191f3a=_0x32baa7;return this[_0x191f3a(0x20e)][_0x191f3a(0x1fc)](exports[_0x191f3a(0x200)],{'getUniverSheet':_0x206009=>this[_0x191f3a(0x1f7)](_0x206009)});}}t[_0x32baa7(0x212)][_0x32baa7(0x202)](S);function _0x5a25(){var _0x116e8b=['@univerjs-pro/collaboration-client','switchMap','FUniver','Module','2500329kpkLVN','_univerInstanceService','getUnit','Injector','@univerjs/core','42UcsmEK','2647244IzGoGj','IUniverInstanceService','getCollaboration','getUniverSheet','2528265dgQDwU','from','795945uDcyFw','_collaborationController','createInstance','_snapshotService','pipe','Inject','FCollaboration','get','extend','34626vycJth','_handler','3989484FRBDqZ','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadActiveSheet','loadSheet','readyForCollab','defineProperty','UNIVER_SHEET','UniverInstanceType','32cSPKbh','_injector','453090fPpKdg'];_0x5a25=function(){return _0x116e8b;};return _0x5a25();}