@univerjs-pro/collaboration-client 0.6.6-experimental.20250326-0a2cb0d → 0.6.6-experimental.20250326-cfbc9a5

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';function _0x5e8b(){var _0x1b303d=['DataLoaderService','FUniver','loadActiveSheetAsync','subscribe','6030794zGXChQ','pipe','_snapshotService','@univerjs-pro/collaboration','1175136UHoxZq','toStringTag','Injector','getCollaboration','values','865140Bdhhqz','5HOSSZF','FBase','extend','getUniverSheet','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','539973iZvfiE','Inject','MemberService','readyForCollab','loadUnit','11879343bISchO','3UEDwXh','rxjs','8GxbJRz','subscribeCollaborators','loadSheet','_collaborationController','CollaborationController','from','SnapshotService','_univerInstanceService','loadSheetAsync','1254998uLiOAA','_handler','createInstance','waitForRoom$','FCollaboration','members$','@univerjs/core','10716160raUljM','Module','length','defineProperty'];_0x5e8b=function(){return _0x1b303d;};return _0x5e8b();}var _0x3b1981=_0x2398;(function(_0x5262c0,_0xa1ef49){var _0x404a5d=_0x2398,_0x3173c5=_0x5262c0();while(!![]){try{var _0x3a68c0=parseInt(_0x404a5d(0x1dd))/0x1+-parseInt(_0x404a5d(0x1ee))/0x2+parseInt(_0x404a5d(0x1e3))/0x3*(parseInt(_0x404a5d(0x1d2))/0x4)+-parseInt(_0x404a5d(0x1d8))/0x5*(parseInt(_0x404a5d(0x1d7))/0x6)+parseInt(_0x404a5d(0x1ce))/0x7*(parseInt(_0x404a5d(0x1e5))/0x8)+-parseInt(_0x404a5d(0x1e2))/0x9+parseInt(_0x404a5d(0x1f5))/0xa;if(_0x3a68c0===_0xa1ef49)break;else _0x3173c5['push'](_0x3173c5['shift']());}catch(_0x8b5307){_0x3173c5['push'](_0x3173c5['shift']());}}}(_0x5e8b,0xa4de3));Object[_0x3b1981(0x1f8)](exports,Symbol[_0x3b1981(0x1d3)],{'value':_0x3b1981(0x1f6)});function _0x2398(_0x59afa2,_0x3cea8b){var _0x5e8bc7=_0x5e8b();return _0x2398=function(_0x23989d,_0x3ce168){_0x23989d=_0x23989d-0x1cc;var _0x2bdd2e=_0x5e8bc7[_0x23989d];return _0x2bdd2e;},_0x2398(_0x59afa2,_0x3cea8b);}const c=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),v=require(_0x3b1981(0x1d1)),i=require(_0x3b1981(0x1f4)),b=require(_0x3b1981(0x1e4));var S=Object['getOwnPropertyDescriptor'],d=(_0x22c15e,_0x4c5a0a,_0x4cf005,_0xf99270)=>{var _0x7d5e4c=_0x3b1981;for(var _0x2b2094=_0xf99270>0x1?void 0x0:_0xf99270?S(_0x4c5a0a,_0x4cf005):_0x4c5a0a,_0x466822=_0x22c15e[_0x7d5e4c(0x1f7)]-0x1,_0x38be01;_0x466822>=0x0;_0x466822--)(_0x38be01=_0x22c15e[_0x466822])&&(_0x2b2094=_0x38be01(_0x2b2094)||_0x2b2094);return _0x2b2094;},s=(_0x3feeed,_0x1be4b9)=>(_0x4ab472,_0x11d579)=>_0x1be4b9(_0x4ab472,_0x11d579,_0x3feeed);exports[_0x3b1981(0x1f2)]=class extends l[_0x3b1981(0x1d9)]{constructor(_0x4b86d6,_0x2acce7,_0x2fae73,_0x5f4ba6,_0x577468){var _0x354587=_0x3b1981;super(),this[_0x354587(0x1ef)]=_0x4b86d6,this['_injector']=_0x2acce7,this[_0x354587(0x1ec)]=_0x2fae73,this[_0x354587(0x1d0)]=_0x5f4ba6,this['_collaborationController']=_0x577468;}async['loadActiveSheet'](){var _0x435273=_0x3b1981;return this[_0x435273(0x1cc)]();}async[_0x3b1981(0x1cc)](){var _0x1d1ef4=_0x3b1981;throw new Error(_0x1d1ef4(0x1dc));}async[_0x3b1981(0x1e7)](_0xf8f4d1){var _0x3cd38c=_0x3b1981;return this[_0x3cd38c(0x1ed)](_0xf8f4d1);}async[_0x3b1981(0x1ed)](_0x4593ee,_0x526b9c){var _0x853d68=_0x3b1981;return await this[_0x853d68(0x1d0)]['loadSheet'](_0x4593ee,0x0,_0x526b9c)?(await this[_0x853d68(0x1e8)][_0x853d68(0x1e0)](_0x4593ee),this['_handler']['getUniverSheet'](_0x4593ee)):null;}[_0x3b1981(0x1e6)](_0x40521a,_0x4cab89){var _0x3099e3=_0x3b1981;const _0x575e9b=this['_injector']['get'](c[_0x3099e3(0x1df)])[_0x3099e3(0x1f1)](_0x40521a)[_0x3099e3(0x1cf)](b['switchMap'](_0x28d1cc=>_0x28d1cc[_0x3099e3(0x1f3)]))[_0x3099e3(0x1cd)](_0x81d8dd=>_0x4cab89(Array[_0x3099e3(0x1ea)](_0x81d8dd[_0x3099e3(0x1d6)]())));return i['toDisposable'](_0x575e9b);}},exports[_0x3b1981(0x1f2)]=d([s(0x1,i[_0x3b1981(0x1de)](i[_0x3b1981(0x1d4)])),s(0x2,i['IUniverInstanceService']),s(0x3,i['Inject'](v[_0x3b1981(0x1eb)])),s(0x4,i['Inject'](c[_0x3b1981(0x1e9)]))],exports[_0x3b1981(0x1f2)]);class u extends l[_0x3b1981(0x1fa)]{[_0x3b1981(0x1d5)](){var _0x418a78=_0x3b1981;return this['_injector']['createInstance'](exports[_0x418a78(0x1f2)],{'getUniverSheet':_0x2db2ea=>this[_0x418a78(0x1db)](_0x2db2ea)});}['loadServerUnit'](_0x4ea56c,_0x251ad0,_0x5850fe){var _0x2e1332=_0x3b1981;return this['_injector'][_0x2e1332(0x1f0)](c[_0x2e1332(0x1f9)])[_0x2e1332(0x1e1)](_0x4ea56c,_0x251ad0,_0x5850fe);}}l[_0x3b1981(0x1fa)][_0x3b1981(0x1da)](u);
1
+ 'use strict';var _0x5c3bfe=_0x3cc1;function _0x3cc1(_0x55bab6,_0x3ef923){var _0x315571=_0x3155();return _0x3cc1=function(_0x3cc199,_0x324292){_0x3cc199=_0x3cc199-0x1df;var _0x129723=_0x315571[_0x3cc199];return _0x129723;},_0x3cc1(_0x55bab6,_0x3ef923);}(function(_0x2fd29a,_0x59d0e2){var _0x57ab37=_0x3cc1,_0x2a945f=_0x2fd29a();while(!![]){try{var _0xd2d7d2=-parseInt(_0x57ab37(0x1f1))/0x1+parseInt(_0x57ab37(0x1e7))/0x2+parseInt(_0x57ab37(0x1f5))/0x3*(parseInt(_0x57ab37(0x1ff))/0x4)+-parseInt(_0x57ab37(0x1e9))/0x5+parseInt(_0x57ab37(0x20e))/0x6+parseInt(_0x57ab37(0x1eb))/0x7*(-parseInt(_0x57ab37(0x1fc))/0x8)+-parseInt(_0x57ab37(0x201))/0x9;if(_0xd2d7d2===_0x59d0e2)break;else _0x2a945f['push'](_0x2a945f['shift']());}catch(_0x19ba65){_0x2a945f['push'](_0x2a945f['shift']());}}}(_0x3155,0x25343));Object['defineProperty'](exports,Symbol[_0x5c3bfe(0x1ef)],{'value':_0x5c3bfe(0x1f7)});const c=require(_0x5c3bfe(0x1fe)),l=require(_0x5c3bfe(0x1ec)),v=require(_0x5c3bfe(0x1e0)),i=require(_0x5c3bfe(0x207)),b=require('rxjs');var S=Object[_0x5c3bfe(0x1ee)],d=(_0x17ccb8,_0x50a70b,_0x818502,_0x4444e5)=>{var _0x45374f=_0x5c3bfe;for(var _0x29a6cd=_0x4444e5>0x1?void 0x0:_0x4444e5?S(_0x50a70b,_0x818502):_0x50a70b,_0x46c548=_0x17ccb8[_0x45374f(0x1f2)]-0x1,_0x3adafd;_0x46c548>=0x0;_0x46c548--)(_0x3adafd=_0x17ccb8[_0x46c548])&&(_0x29a6cd=_0x3adafd(_0x29a6cd)||_0x29a6cd);return _0x29a6cd;},s=(_0x44b834,_0x22584c)=>(_0x47567c,_0x23a1c6)=>_0x22584c(_0x47567c,_0x23a1c6,_0x44b834);exports['FCollaboration']=class extends l[_0x5c3bfe(0x1e4)]{constructor(_0x3037ba,_0x356e46,_0x2a6e40,_0x49517f,_0x5334d4){var _0xffc4e7=_0x5c3bfe;super(),this[_0xffc4e7(0x1e1)]=_0x3037ba,this[_0xffc4e7(0x1ea)]=_0x356e46,this[_0xffc4e7(0x1fd)]=_0x2a6e40,this[_0xffc4e7(0x1e2)]=_0x49517f,this[_0xffc4e7(0x202)]=_0x5334d4;}async[_0x5c3bfe(0x1fa)](){var _0x5e575a=_0x5c3bfe;return this[_0x5e575a(0x200)]();}async['loadActiveSheetAsync'](){var _0xa1f3f2=_0x5c3bfe;throw new Error(_0xa1f3f2(0x1e3));}async[_0x5c3bfe(0x1f3)](_0x5a1bf8){var _0x40d8d8=_0x5c3bfe;return this[_0x40d8d8(0x1f8)](_0x5a1bf8);}async['loadSheetAsync'](_0x569a99,_0x305c4f){var _0x2d8f8b=_0x5c3bfe;return await this[_0x2d8f8b(0x1e2)]['loadSheet'](_0x569a99,0x0,_0x305c4f)?(await this[_0x2d8f8b(0x202)][_0x2d8f8b(0x203)](_0x569a99),this[_0x2d8f8b(0x1e1)][_0x2d8f8b(0x20b)](_0x569a99)):null;}['subscribeCollaborators'](_0x13fae0,_0x4ad3ac){var _0x1dedc1=_0x5c3bfe;const _0x77bdd4=this[_0x1dedc1(0x1ea)]['get'](c[_0x1dedc1(0x1f9)])[_0x1dedc1(0x1fb)](_0x13fae0)[_0x1dedc1(0x1e8)](b[_0x1dedc1(0x20f)](_0x2248ee=>_0x2248ee[_0x1dedc1(0x1df)]))[_0x1dedc1(0x20c)](_0x388fc1=>_0x4ad3ac(Array[_0x1dedc1(0x205)](_0x388fc1[_0x1dedc1(0x20a)]())));return i['toDisposable'](_0x77bdd4);}},exports['FCollaboration']=d([s(0x1,i[_0x5c3bfe(0x1e6)](i[_0x5c3bfe(0x1f4)])),s(0x2,i[_0x5c3bfe(0x1f6)]),s(0x3,i[_0x5c3bfe(0x1e6)](v[_0x5c3bfe(0x204)])),s(0x4,i[_0x5c3bfe(0x1e6)](c['CollaborationController']))],exports[_0x5c3bfe(0x20d)]);class u extends l[_0x5c3bfe(0x1e5)]{['getCollaboration'](){var _0x3d2f8a=_0x5c3bfe;return this[_0x3d2f8a(0x1ea)][_0x3d2f8a(0x206)](exports['FCollaboration'],{'getUniverSheet':_0x3f096f=>this[_0x3d2f8a(0x20b)](_0x3f096f)});}[_0x5c3bfe(0x209)](_0x17c3d7,_0x25493a,_0x3bae44){var _0x5c0c4c=_0x5c3bfe;return this[_0x5c0c4c(0x1ea)][_0x5c0c4c(0x206)](c[_0x5c0c4c(0x208)])[_0x5c0c4c(0x1f0)](_0x17c3d7,_0x25493a,_0x3bae44);}}function _0x3155(){var _0x719ec8=['pipe','308880MVVnEQ','_injector','228354rwoxff','@univerjs/core/facade','extend','getOwnPropertyDescriptor','toStringTag','loadUnit','8138fxbujY','length','loadSheet','Injector','33NlfcZN','IUniverInstanceService','Module','loadSheetAsync','MemberService','loadActiveSheet','waitForRoom$','16jbtauj','_univerInstanceService','@univerjs-pro/collaboration-client','37880CZHScl','loadActiveSheetAsync','3530628xKJprh','_collaborationController','readyForCollab','SnapshotService','from','createInstance','@univerjs/core','DataLoaderService','loadServerUnit','values','getUniverSheet','subscribe','FCollaboration','1659228IjULED','switchMap','members$','@univerjs-pro/collaboration','_handler','_snapshotService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','FBase','FUniver','Inject','598258hBgvQv'];_0x3155=function(){return _0x719ec8;};return _0x3155();}l[_0x5c3bfe(0x1e5)][_0x5c3bfe(0x1ed)](u);