@univerjs-pro/collaboration-client 0.5.4 → 0.5.5-nightly.202501201336

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 _0x3cac8e=_0x5e13;(function(_0x75c819,_0x3bf63e){var _0x5115df=_0x5e13,_0x3ab199=_0x75c819();while(!![]){try{var _0x3c8998=-parseInt(_0x5115df(0xe8))/0x1+parseInt(_0x5115df(0xe9))/0x2+parseInt(_0x5115df(0xee))/0x3*(-parseInt(_0x5115df(0xf2))/0x4)+-parseInt(_0x5115df(0xfd))/0x5*(-parseInt(_0x5115df(0x106))/0x6)+parseInt(_0x5115df(0xf9))/0x7*(-parseInt(_0x5115df(0xe4))/0x8)+-parseInt(_0x5115df(0xea))/0x9*(-parseInt(_0x5115df(0xf1))/0xa)+parseInt(_0x5115df(0x103))/0xb;if(_0x3c8998===_0x3bf63e)break;else _0x3ab199['push'](_0x3ab199['shift']());}catch(_0x521b2f){_0x3ab199['push'](_0x3ab199['shift']());}}}(_0x12d6,0x87acf));function _0x5e13(_0x295dc1,_0x510dae){var _0x12d6cd=_0x12d6();return _0x5e13=function(_0x5e1352,_0x3f9028){_0x5e1352=_0x5e1352-0xe1;var _0x2e9ca0=_0x12d6cd[_0x5e1352];return _0x2e9ca0;},_0x5e13(_0x295dc1,_0x510dae);}function _0x12d6(){var _0xf6b316=['waitForRoom$','337658twtZgH','609130PCcROa','36693uKhLrN','Inject','readyForCollab','length','999807auiEkV','subscribeCollaborators','switchMap','1410muJlUC','8hABWkY','members$','_snapshotService','UniverInstanceType','FCollaboration','get','MemberService','16471MxmupR','UNIVER_SHEET','toDisposable','values','974615HPsJKv','pipe','@univerjs/core','_univerInstanceService','defineProperty','Injector','13628054pINvpA','getCollaboration','_injector','12UnHYBX','getOwnPropertyDescriptor','getUnit','CollaborationController','from','createInstance','loadActiveSheetAsync','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','subscribe','loadSheet','SnapshotService','getUniverSheet','3224ehDJIe','IUniverInstanceService','toStringTag'];_0x12d6=function(){return _0xf6b316;};return _0x12d6();}Object['defineProperty'](exports,Symbol[_0x3cac8e(0xe6)],{'value':'Module'});const o=require(_0x3cac8e(0xff)),h=require('@univerjs-pro/collaboration'),c=require('@univerjs-pro/collaboration-client'),b=require('rxjs');var v=Object[_0x3cac8e(0x101)],u=Object[_0x3cac8e(0x107)],S=(_0xc42761,_0x4cc952,_0x3b1dd0,_0x45a108)=>{var _0x4998ee=_0x3cac8e;for(var _0x2ce83d=_0x45a108>0x1?void 0x0:_0x45a108?u(_0x4cc952,_0x3b1dd0):_0x4cc952,_0x2a0d66=_0xc42761[_0x4998ee(0xed)]-0x1,_0x1762a0;_0x2a0d66>=0x0;_0x2a0d66--)(_0x1762a0=_0xc42761[_0x2a0d66])&&(_0x2ce83d=(_0x45a108?_0x1762a0(_0x4cc952,_0x3b1dd0,_0x2ce83d):_0x1762a0(_0x2ce83d))||_0x2ce83d);return _0x45a108&&_0x2ce83d&&v(_0x4cc952,_0x3b1dd0,_0x2ce83d),_0x2ce83d;},s=(_0x4823c9,_0x25331d)=>(_0x181929,_0x4e59ef)=>_0x25331d(_0x181929,_0x4e59ef,_0x4823c9);exports[_0x3cac8e(0xf6)]=class extends o['FBase']{constructor(_0x30e757,_0x41869a,_0x1f42cf,_0x50afb7,_0x759d95){var _0x34f224=_0x3cac8e;super(),this['_handler']=_0x30e757,this['_injector']=_0x41869a,this[_0x34f224(0x100)]=_0x1f42cf,this[_0x34f224(0xf4)]=_0x50afb7,this['_collaborationController']=_0x759d95;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async[_0x3cac8e(0x10c)](){var _0xee845=_0x3cac8e;throw new Error(_0xee845(0x10d));}async[_0x3cac8e(0xe1)](_0x1772a1){return this['loadSheetAsync'](_0x1772a1);}async['loadSheetAsync'](_0x1c969f){var _0x205d90=_0x3cac8e;return this[_0x205d90(0x100)][_0x205d90(0x108)](_0x1c969f,o[_0x205d90(0xf5)][_0x205d90(0xfa)])||await this[_0x205d90(0xf4)]['loadSheet'](_0x1c969f,0x0)?(await this['_collaborationController'][_0x205d90(0xec)](_0x1c969f),this['_handler'][_0x205d90(0xe3)](_0x1c969f)):null;}[_0x3cac8e(0xef)](_0x49d2a8,_0x107793){var _0x41942b=_0x3cac8e;const _0x3cb7d9=this[_0x41942b(0x105)][_0x41942b(0xf7)](c[_0x41942b(0xf8)])[_0x41942b(0xe7)](_0x49d2a8)[_0x41942b(0xfe)](b[_0x41942b(0xf0)](_0x345856=>_0x345856[_0x41942b(0xf3)]))[_0x41942b(0x10e)](_0x5bbf4e=>_0x107793(Array[_0x41942b(0x10a)](_0x5bbf4e[_0x41942b(0xfc)]())));return o[_0x41942b(0xfb)](_0x3cb7d9);}},exports['FCollaboration']=S([s(0x1,o['Inject'](o[_0x3cac8e(0x102)])),s(0x2,o[_0x3cac8e(0xe5)]),s(0x3,o[_0x3cac8e(0xeb)](h[_0x3cac8e(0xe2)])),s(0x4,o[_0x3cac8e(0xeb)](c[_0x3cac8e(0x109)]))],exports[_0x3cac8e(0xf6)]);class _ extends o['FUniver']{[_0x3cac8e(0x104)](){var _0x5410d0=_0x3cac8e;return this[_0x5410d0(0x105)][_0x5410d0(0x10b)](exports[_0x5410d0(0xf6)],{'getUniverSheet':_0x46fbcf=>this[_0x5410d0(0xe3)](_0x46fbcf)});}}o['FUniver']['extend'](_);
1
+ 'use strict';var _0x280f6e=_0x21db;(function(_0x327643,_0xeaedeb){var _0x26c783=_0x21db,_0x52e8f1=_0x327643();while(!![]){try{var _0x15b8eb=-parseInt(_0x26c783(0x1f8))/0x1*(-parseInt(_0x26c783(0x1df))/0x2)+-parseInt(_0x26c783(0x1eb))/0x3+parseInt(_0x26c783(0x20b))/0x4*(-parseInt(_0x26c783(0x1fa))/0x5)+-parseInt(_0x26c783(0x1ec))/0x6*(-parseInt(_0x26c783(0x200))/0x7)+-parseInt(_0x26c783(0x1f9))/0x8+-parseInt(_0x26c783(0x1e8))/0x9+parseInt(_0x26c783(0x1e6))/0xa;if(_0x15b8eb===_0xeaedeb)break;else _0x52e8f1['push'](_0x52e8f1['shift']());}catch(_0x5d8cd4){_0x52e8f1['push'](_0x52e8f1['shift']());}}}(_0x4656,0x6e58e));function _0x21db(_0x597e52,_0x146dbd){var _0x465672=_0x4656();return _0x21db=function(_0x21db83,_0x3e2ff4){_0x21db83=_0x21db83-0x1df;var _0x810ca0=_0x465672[_0x21db83];return _0x810ca0;},_0x21db(_0x597e52,_0x146dbd);}Object[_0x280f6e(0x201)](exports,Symbol[_0x280f6e(0x1f4)],{'value':'Module'});function _0x4656(){var _0x253feb=['switchMap','getUniverSheet','_snapshotService','length','values','toStringTag','UNIVER_SHEET','waitForRoom$','loadSheetAsync','43AhGyXJ','2330952zCrdbi','139025duEcrZ','_handler','getCollaboration','Inject','getUnit','FCollaboration','1190ZTvNlU','defineProperty','IUniverInstanceService','CollaborationController','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadSheet','createInstance','pipe','_univerInstanceService','_collaborationController','FUniver','76hduass','@univerjs-pro/collaboration','24982QMzUVw','rxjs','get','MemberService','subscribeCollaborators','loadActiveSheetAsync','@univerjs-pro/collaboration-client','13522980QGQDQe','@univerjs/core','7272639DWmOZj','getOwnPropertyDescriptor','toDisposable','759672TYpdFW','15654EpAfHB','SnapshotService','_injector'];_0x4656=function(){return _0x253feb;};return _0x4656();}const o=require(_0x280f6e(0x1e7)),h=require(_0x280f6e(0x20c)),c=require(_0x280f6e(0x1e5)),b=require(_0x280f6e(0x1e0));var v=Object[_0x280f6e(0x201)],u=Object[_0x280f6e(0x1e9)],S=(_0x5a95d9,_0x10a585,_0x6c8922,_0x45810f)=>{var _0x5dee99=_0x280f6e;for(var _0x1f1358=_0x45810f>0x1?void 0x0:_0x45810f?u(_0x10a585,_0x6c8922):_0x10a585,_0x24acae=_0x5a95d9[_0x5dee99(0x1f2)]-0x1,_0x13d83d;_0x24acae>=0x0;_0x24acae--)(_0x13d83d=_0x5a95d9[_0x24acae])&&(_0x1f1358=(_0x45810f?_0x13d83d(_0x10a585,_0x6c8922,_0x1f1358):_0x13d83d(_0x1f1358))||_0x1f1358);return _0x45810f&&_0x1f1358&&v(_0x10a585,_0x6c8922,_0x1f1358),_0x1f1358;},s=(_0xd4834c,_0x2f461a)=>(_0x10b26c,_0x4b2cd2)=>_0x2f461a(_0x10b26c,_0x4b2cd2,_0xd4834c);exports[_0x280f6e(0x1ff)]=class extends o['FBase']{constructor(_0x252181,_0x5a1c83,_0x45bbd9,_0x60a074,_0x457d8e){var _0x3c96b8=_0x280f6e;super(),this[_0x3c96b8(0x1fb)]=_0x252181,this[_0x3c96b8(0x1ee)]=_0x5a1c83,this[_0x3c96b8(0x208)]=_0x45bbd9,this[_0x3c96b8(0x1f1)]=_0x60a074,this[_0x3c96b8(0x209)]=_0x457d8e;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async[_0x280f6e(0x1e4)](){var _0x180b0f=_0x280f6e;throw new Error(_0x180b0f(0x204));}async[_0x280f6e(0x205)](_0x1c27ad){var _0x36d970=_0x280f6e;return this[_0x36d970(0x1f7)](_0x1c27ad);}async[_0x280f6e(0x1f7)](_0x36f613){var _0xd05849=_0x280f6e;return this[_0xd05849(0x208)][_0xd05849(0x1fe)](_0x36f613,o['UniverInstanceType'][_0xd05849(0x1f5)])||await this['_snapshotService'][_0xd05849(0x205)](_0x36f613,0x0)?(await this['_collaborationController']['readyForCollab'](_0x36f613),this[_0xd05849(0x1fb)][_0xd05849(0x1f0)](_0x36f613)):null;}[_0x280f6e(0x1e3)](_0x3cabb5,_0x508dc8){var _0x130675=_0x280f6e;const _0x50e482=this[_0x130675(0x1ee)][_0x130675(0x1e1)](c[_0x130675(0x1e2)])[_0x130675(0x1f6)](_0x3cabb5)[_0x130675(0x207)](b[_0x130675(0x1ef)](_0x4e0588=>_0x4e0588['members$']))['subscribe'](_0x56982d=>_0x508dc8(Array['from'](_0x56982d[_0x130675(0x1f3)]())));return o[_0x130675(0x1ea)](_0x50e482);}},exports[_0x280f6e(0x1ff)]=S([s(0x1,o['Inject'](o['Injector'])),s(0x2,o[_0x280f6e(0x202)]),s(0x3,o['Inject'](h[_0x280f6e(0x1ed)])),s(0x4,o[_0x280f6e(0x1fd)](c[_0x280f6e(0x203)]))],exports[_0x280f6e(0x1ff)]);class _ extends o['FUniver']{[_0x280f6e(0x1fc)](){var _0x292450=_0x280f6e;return this[_0x292450(0x1ee)][_0x292450(0x206)](exports[_0x292450(0x1ff)],{'getUniverSheet':_0x284a90=>this[_0x292450(0x1f0)](_0x284a90)});}}o[_0x280f6e(0x20a)]['extend'](_);