@univerjs-pro/collaboration-client 0.5.5-nightly.202501220324 → 0.5.5

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 _0x2444b8=_0x4831;(function(_0x205d55,_0x291920){var _0x5c42a9=_0x4831,_0x3ab28f=_0x205d55();while(!![]){try{var _0x28093d=-parseInt(_0x5c42a9(0x15e))/0x1*(-parseInt(_0x5c42a9(0x166))/0x2)+-parseInt(_0x5c42a9(0x16d))/0x3*(parseInt(_0x5c42a9(0x174))/0x4)+parseInt(_0x5c42a9(0x177))/0x5+parseInt(_0x5c42a9(0x169))/0x6*(parseInt(_0x5c42a9(0x16c))/0x7)+parseInt(_0x5c42a9(0x16a))/0x8+parseInt(_0x5c42a9(0x17e))/0x9+-parseInt(_0x5c42a9(0x162))/0xa*(parseInt(_0x5c42a9(0x168))/0xb);if(_0x28093d===_0x291920)break;else _0x3ab28f['push'](_0x3ab28f['shift']());}catch(_0x129265){_0x3ab28f['push'](_0x3ab28f['shift']());}}}(_0x5562,0x8e612));function _0x4831(_0x83410b,_0x573863){var _0x556211=_0x5562();return _0x4831=function(_0x4831da,_0x239264){_0x4831da=_0x4831da-0x14d;var _0x2d7095=_0x556211[_0x4831da];return _0x2d7095;},_0x4831(_0x83410b,_0x573863);}function _0x5562(){var _0x209881=['members$','_injector','getOwnPropertyDescriptor','__decorateParam','_univerInstanceService','loadActiveSheet','__decorateClass','loadSheet','defineProperty','rxjs','@univerjs-pro/collaboration','extend','loadSheetAsync','get','getCollaboration','FUniverCollaborationClientMixin','waitForRoom$','FCollaboration','1554RYtKwL','_collaborationController','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','pipe','88180OEjRbb','from','_handler','FUniver','50aDSPqT','SnapshotService','649FsjxAc','1098KVGeuk','399864LhEnGf','createInstance','32676viaXeo','30fKQOzf','Inject','@univerjs-pro/collaboration-client','toStringTag','_snapshotService','Injector','MemberService','275320AOjVGB','Module','subscribe','4212880xljVQD','switchMap','subscribeCollaborators','FBase','UNIVER_SHEET','CollaborationController','getUnit','54855ueNCkF','toDisposable'];_0x5562=function(){return _0x209881;};return _0x5562();}var __defProp=Object[_0x2444b8(0x154)],__name=(_0x2f1255,_0x422fe1)=>__defProp(_0x2f1255,'name',{'value':_0x422fe1,'configurable':!0x0});Object[_0x2444b8(0x154)](exports,Symbol[_0x2444b8(0x170)],{'value':_0x2444b8(0x175)});const core=require('@univerjs/core'),collaboration=require(_0x2444b8(0x156)),collaborationClient=require(_0x2444b8(0x16f)),rxjs=require(_0x2444b8(0x155));var __defProp2=Object[_0x2444b8(0x154)],__getOwnPropDesc=Object[_0x2444b8(0x14e)],__decorateClass=__name((_0x3a2116,_0x479e78,_0x12c5ea,_0x35241f)=>{for(var _0x263a88=_0x35241f>0x1?void 0x0:_0x35241f?__getOwnPropDesc(_0x479e78,_0x12c5ea):_0x479e78,_0x41eac0=_0x3a2116['length']-0x1,_0x4b92d7;_0x41eac0>=0x0;_0x41eac0--)(_0x4b92d7=_0x3a2116[_0x41eac0])&&(_0x263a88=(_0x35241f?_0x4b92d7(_0x479e78,_0x12c5ea,_0x263a88):_0x4b92d7(_0x263a88))||_0x263a88);return _0x35241f&&_0x263a88&&__defProp2(_0x479e78,_0x12c5ea,_0x263a88),_0x263a88;},_0x2444b8(0x152)),__decorateParam=__name((_0x2858ed,_0x46550a)=>(_0x3cf28d,_0x43f0d7)=>_0x46550a(_0x3cf28d,_0x43f0d7,_0x2858ed),_0x2444b8(0x14f)),_a;exports[_0x2444b8(0x15d)]=(_a=class extends core[_0x2444b8(0x17a)]{constructor(_0x6b4d38,_0x25e161,_0x18db7f,_0xc2e311,_0xba84f3){var _0x15d27e=_0x2444b8;super(),this[_0x15d27e(0x164)]=_0x6b4d38,this['_injector']=_0x25e161,this[_0x15d27e(0x150)]=_0x18db7f,this['_snapshotService']=_0xc2e311,this['_collaborationController']=_0xba84f3;}async[_0x2444b8(0x151)](){return this['loadActiveSheetAsync']();}async['loadActiveSheetAsync'](){var _0x261c64=_0x2444b8;throw new Error(_0x261c64(0x160));}async[_0x2444b8(0x153)](_0x2a364b){var _0x168360=_0x2444b8;return this[_0x168360(0x158)](_0x2a364b);}async['loadSheetAsync'](_0x2071a1){var _0x3aa075=_0x2444b8;return this[_0x3aa075(0x150)][_0x3aa075(0x17d)](_0x2071a1,core['UniverInstanceType'][_0x3aa075(0x17b)])||await this[_0x3aa075(0x171)][_0x3aa075(0x153)](_0x2071a1,0x0)?(await this[_0x3aa075(0x15f)]['readyForCollab'](_0x2071a1),this['_handler']['getUniverSheet'](_0x2071a1)):null;}[_0x2444b8(0x179)](_0x34d916,_0xeec700){var _0x140088=_0x2444b8;const _0xb2b8de=this[_0x140088(0x14d)][_0x140088(0x159)](collaborationClient[_0x140088(0x173)])[_0x140088(0x15c)](_0x34d916)[_0x140088(0x161)](rxjs[_0x140088(0x178)](_0x5ab4f0=>_0x5ab4f0[_0x140088(0x180)]))[_0x140088(0x176)](_0x179954=>_0xeec700(Array[_0x140088(0x163)](_0x179954['values']())));return core[_0x140088(0x17f)](_0xb2b8de);}},__name(_a,_0x2444b8(0x15d)),_a),exports[_0x2444b8(0x15d)]=__decorateClass([__decorateParam(0x1,core[_0x2444b8(0x16e)](core[_0x2444b8(0x172)])),__decorateParam(0x2,core['IUniverInstanceService']),__decorateParam(0x3,core['Inject'](collaboration[_0x2444b8(0x167)])),__decorateParam(0x4,core[_0x2444b8(0x16e)](collaborationClient[_0x2444b8(0x17c)]))],exports[_0x2444b8(0x15d)]);const _FUniverCollaborationClientMixin=class _FUniverCollaborationClientMixin extends core[_0x2444b8(0x165)]{[_0x2444b8(0x15a)](){var _0x516d99=_0x2444b8;return this[_0x516d99(0x14d)][_0x516d99(0x16b)](exports[_0x516d99(0x15d)],{'getUniverSheet':__name(_0x1e6a7e=>this['getUniverSheet'](_0x1e6a7e),'getUniverSheet')});}};__name(_FUniverCollaborationClientMixin,_0x2444b8(0x15b));let FUniverCollaborationClientMixin=_FUniverCollaborationClientMixin;core[_0x2444b8(0x165)][_0x2444b8(0x157)](FUniverCollaborationClientMixin);
1
+ 'use strict';var _0xb30456=_0x4261;(function(_0x2e1a9b,_0x1cd44a){var _0xf3be52=_0x4261,_0x3d8ed4=_0x2e1a9b();while(!![]){try{var _0x5e3406=-parseInt(_0xf3be52(0x1ef))/0x1*(parseInt(_0xf3be52(0x1ec))/0x2)+parseInt(_0xf3be52(0x1f8))/0x3*(-parseInt(_0xf3be52(0x1ed))/0x4)+-parseInt(_0xf3be52(0x201))/0x5+parseInt(_0xf3be52(0x1dc))/0x6*(-parseInt(_0xf3be52(0x1e2))/0x7)+-parseInt(_0xf3be52(0x1dd))/0x8+parseInt(_0xf3be52(0x1ff))/0x9+-parseInt(_0xf3be52(0x1e6))/0xa*(-parseInt(_0xf3be52(0x1d9))/0xb);if(_0x5e3406===_0x1cd44a)break;else _0x3d8ed4['push'](_0x3d8ed4['shift']());}catch(_0x4f0791){_0x3d8ed4['push'](_0x3d8ed4['shift']());}}}(_0x2006,0x7b00d));Object[_0xb30456(0x1fe)](exports,Symbol[_0xb30456(0x1e1)],{'value':_0xb30456(0x1db)});const o=require(_0xb30456(0x1df)),h=require('@univerjs-pro/collaboration'),c=require('@univerjs-pro/collaboration-client'),b=require(_0xb30456(0x1e3));var v=Object[_0xb30456(0x1fe)],u=Object[_0xb30456(0x1e9)],S=(_0xaafa7,_0x1f5507,_0x32b9da,_0x1447ae)=>{for(var _0x3c4689=_0x1447ae>0x1?void 0x0:_0x1447ae?u(_0x1f5507,_0x32b9da):_0x1f5507,_0x50c51e=_0xaafa7['length']-0x1,_0xbd9229;_0x50c51e>=0x0;_0x50c51e--)(_0xbd9229=_0xaafa7[_0x50c51e])&&(_0x3c4689=(_0x1447ae?_0xbd9229(_0x1f5507,_0x32b9da,_0x3c4689):_0xbd9229(_0x3c4689))||_0x3c4689);return _0x1447ae&&_0x3c4689&&v(_0x1f5507,_0x32b9da,_0x3c4689),_0x3c4689;},s=(_0x24e27b,_0x4dffa2)=>(_0x63a20f,_0x145799)=>_0x4dffa2(_0x63a20f,_0x145799,_0x24e27b);exports[_0xb30456(0x1f9)]=class extends o[_0xb30456(0x1d8)]{constructor(_0xbf15c6,_0x640138,_0x1dd409,_0x9d7f87,_0xda37d){var _0x48dea2=_0xb30456;super(),this[_0x48dea2(0x1e4)]=_0xbf15c6,this[_0x48dea2(0x1d7)]=_0x640138,this[_0x48dea2(0x1eb)]=_0x1dd409,this['_snapshotService']=_0x9d7f87,this[_0x48dea2(0x1fd)]=_0xda37d;}async['loadActiveSheet'](){var _0x58b48a=_0xb30456;return this[_0x58b48a(0x1da)]();}async['loadActiveSheetAsync'](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x596254){var _0x2ef7fd=_0xb30456;return this[_0x2ef7fd(0x202)](_0x596254);}async[_0xb30456(0x202)](_0x5c72f2){var _0x5b19d8=_0xb30456;return this[_0x5b19d8(0x1eb)][_0x5b19d8(0x1e0)](_0x5c72f2,o[_0x5b19d8(0x1e8)][_0x5b19d8(0x200)])||await this[_0x5b19d8(0x1de)]['loadSheet'](_0x5c72f2,0x0)?(await this[_0x5b19d8(0x1fd)][_0x5b19d8(0x1f6)](_0x5c72f2),this[_0x5b19d8(0x1e4)][_0x5b19d8(0x1f0)](_0x5c72f2)):null;}[_0xb30456(0x1f1)](_0x19439d,_0xcf7027){var _0x782374=_0xb30456;const _0xa2fc14=this[_0x782374(0x1d7)][_0x782374(0x1fa)](c[_0x782374(0x1ee)])[_0x782374(0x1f2)](_0x19439d)[_0x782374(0x1fb)](b['switchMap'](_0x2cd425=>_0x2cd425[_0x782374(0x1f3)]))[_0x782374(0x1d6)](_0x1bda94=>_0xcf7027(Array['from'](_0x1bda94['values']())));return o[_0x782374(0x1f5)](_0xa2fc14);}},exports[_0xb30456(0x1f9)]=S([s(0x1,o[_0xb30456(0x1fc)](o['Injector'])),s(0x2,o['IUniverInstanceService']),s(0x3,o[_0xb30456(0x1fc)](h[_0xb30456(0x1e7)])),s(0x4,o[_0xb30456(0x1fc)](c[_0xb30456(0x1f7)]))],exports[_0xb30456(0x1f9)]);class _ extends o['FUniver']{[_0xb30456(0x1f4)](){var _0x36e935=_0xb30456;return this[_0x36e935(0x1d7)]['createInstance'](exports[_0x36e935(0x1f9)],{'getUniverSheet':_0x128e71=>this['getUniverSheet'](_0x128e71)});}}function _0x4261(_0x111d54,_0x2cae67){var _0x2006d7=_0x2006();return _0x4261=function(_0x42619b,_0x6e81e){_0x42619b=_0x42619b-0x1d6;var _0x551cd3=_0x2006d7[_0x42619b];return _0x551cd3;},_0x4261(_0x111d54,_0x2cae67);}o[_0xb30456(0x1ea)][_0xb30456(0x1e5)](_);function _0x2006(){var _0x248af2=['UniverInstanceType','getOwnPropertyDescriptor','FUniver','_univerInstanceService','626UDPUMs','4gPOHxu','MemberService','2413fGLBiH','getUniverSheet','subscribeCollaborators','waitForRoom$','members$','getCollaboration','toDisposable','readyForCollab','CollaborationController','1520187zFkASH','FCollaboration','get','pipe','Inject','_collaborationController','defineProperty','1947717jplfDW','UNIVER_SHEET','2744595lmcqJS','loadSheetAsync','subscribe','_injector','FBase','330KoqvGN','loadActiveSheetAsync','Module','6TpuTze','2106264VZJGzz','_snapshotService','@univerjs/core','getUnit','toStringTag','1175734EFmECr','rxjs','_handler','extend','843190zOnTIp','SnapshotService'];_0x2006=function(){return _0x248af2;};return _0x2006();}