@univerjs-pro/collaboration-client 0.6.0-nightly.202502101606 → 0.6.0-nightly.202502121606

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 _0x29ef59=_0x5b59;function _0x5845(){var _0x9b341c=['3008rOLnCe','FCollaboration','FUniver','MemberService','3606DCLNYH','762895tsqLru','Injector','SnapshotService','Module','pipe','266066RjlCQN','toStringTag','191286eZhkPL','CollaborationController','subscribe','getUnit','IUniverInstanceService','extend','getOwnPropertyDescriptor','UNIVER_SHEET','@univerjs-pro/collaboration','loadActiveSheetAsync','switchMap','members$','_collaborationController','@univerjs-pro/collaboration-client','loadSheet','_injector','from','1180mpaAhw','loadSheetAsync','subscribeCollaborators','get','defineProperty','_univerInstanceService','7255276hhrpSe','1998420HQIcQp','7792120tzUnoc','FBase','getUniverSheet','_snapshotService','15OZqxrt','loadActiveSheet'];_0x5845=function(){return _0x9b341c;};return _0x5845();}(function(_0x5237ee,_0x355232){var _0x4d1e81=_0x5b59,_0x5bb900=_0x5237ee();while(!![]){try{var _0x5b5987=-parseInt(_0x4d1e81(0x174))/0x1+-parseInt(_0x4d1e81(0x16a))/0x2*(-parseInt(_0x4d1e81(0x16e))/0x3)+parseInt(_0x4d1e81(0x162))/0x4+-parseInt(_0x4d1e81(0x168))/0x5*(parseInt(_0x4d1e81(0x163))/0x6)+parseInt(_0x4d1e81(0x16f))/0x7+parseInt(_0x4d1e81(0x164))/0x8+parseInt(_0x4d1e81(0x176))/0x9*(-parseInt(_0x4d1e81(0x15c))/0xa);if(_0x5b5987===_0x355232)break;else _0x5bb900['push'](_0x5bb900['shift']());}catch(_0x14991a){_0x5bb900['push'](_0x5bb900['shift']());}}}(_0x5845,0xe3633));Object[_0x29ef59(0x160)](exports,Symbol[_0x29ef59(0x175)],{'value':_0x29ef59(0x172)});const o=require('@univerjs/core'),h=require(_0x29ef59(0x153)),c=require(_0x29ef59(0x158)),b=require('rxjs');function _0x5b59(_0x3581a5,_0x1ba74a){var _0x584560=_0x5845();return _0x5b59=function(_0x5b5971,_0x18ef81){_0x5b5971=_0x5b5971-0x152;var _0x490fe0=_0x584560[_0x5b5971];return _0x490fe0;},_0x5b59(_0x3581a5,_0x1ba74a);}var v=Object[_0x29ef59(0x160)],u=Object[_0x29ef59(0x17c)],S=(_0x10e933,_0x3b3b2a,_0x20b993,_0x5e37be)=>{for(var _0xb41099=_0x5e37be>0x1?void 0x0:_0x5e37be?u(_0x3b3b2a,_0x20b993):_0x3b3b2a,_0x193b67=_0x10e933['length']-0x1,_0x5282ba;_0x193b67>=0x0;_0x193b67--)(_0x5282ba=_0x10e933[_0x193b67])&&(_0xb41099=(_0x5e37be?_0x5282ba(_0x3b3b2a,_0x20b993,_0xb41099):_0x5282ba(_0xb41099))||_0xb41099);return _0x5e37be&&_0xb41099&&v(_0x3b3b2a,_0x20b993,_0xb41099),_0xb41099;},s=(_0xb2f9b5,_0xfb9153)=>(_0x4190f0,_0x5a0a33)=>_0xfb9153(_0x4190f0,_0x5a0a33,_0xb2f9b5);exports[_0x29ef59(0x16b)]=class extends o[_0x29ef59(0x165)]{constructor(_0x1b158f,_0x92ed83,_0xc2f2e6,_0x38d1ad,_0x4cc681){var _0x2e7032=_0x29ef59;super(),this['_handler']=_0x1b158f,this['_injector']=_0x92ed83,this[_0x2e7032(0x161)]=_0xc2f2e6,this[_0x2e7032(0x167)]=_0x38d1ad,this['_collaborationController']=_0x4cc681;}async[_0x29ef59(0x169)](){var _0x3f1d7e=_0x29ef59;return this[_0x3f1d7e(0x154)]();}async['loadActiveSheetAsync'](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x3a4ec0){var _0x242e01=_0x29ef59;return this[_0x242e01(0x15d)](_0x3a4ec0);}async[_0x29ef59(0x15d)](_0x1c7688){var _0x2c5091=_0x29ef59;return this[_0x2c5091(0x161)][_0x2c5091(0x179)](_0x1c7688,o['UniverInstanceType'][_0x2c5091(0x152)])||await this[_0x2c5091(0x167)][_0x2c5091(0x159)](_0x1c7688,0x0)?(await this[_0x2c5091(0x157)]['readyForCollab'](_0x1c7688),this['_handler'][_0x2c5091(0x166)](_0x1c7688)):null;}[_0x29ef59(0x15e)](_0x2b1751,_0x1c793f){var _0x471667=_0x29ef59;const _0x42d81e=this[_0x471667(0x15a)][_0x471667(0x15f)](c[_0x471667(0x16d)])['waitForRoom$'](_0x2b1751)[_0x471667(0x173)](b[_0x471667(0x155)](_0x2091a6=>_0x2091a6[_0x471667(0x156)]))[_0x471667(0x178)](_0x559b83=>_0x1c793f(Array[_0x471667(0x15b)](_0x559b83['values']())));return o['toDisposable'](_0x42d81e);}},exports[_0x29ef59(0x16b)]=S([s(0x1,o['Inject'](o[_0x29ef59(0x170)])),s(0x2,o[_0x29ef59(0x17a)]),s(0x3,o['Inject'](h[_0x29ef59(0x171)])),s(0x4,o['Inject'](c[_0x29ef59(0x177)]))],exports[_0x29ef59(0x16b)]);class _ extends o[_0x29ef59(0x16c)]{['getCollaboration'](){var _0x2320fe=_0x29ef59;return this[_0x2320fe(0x15a)]['createInstance'](exports[_0x2320fe(0x16b)],{'getUniverSheet':_0x5f28ea=>this[_0x2320fe(0x166)](_0x5f28ea)});}}o[_0x29ef59(0x16c)][_0x29ef59(0x17b)](_);
1
+ 'use strict';function _0x10f2(_0x58c227,_0x448a3c){var _0x432cf5=_0x432c();return _0x10f2=function(_0x10f2ed,_0x2ae5fd){_0x10f2ed=_0x10f2ed-0x93;var _0x57ac41=_0x432cf5[_0x10f2ed];return _0x57ac41;},_0x10f2(_0x58c227,_0x448a3c);}var _0x36bfc5=_0x10f2;function _0x432c(){var _0x3558f4=['subscribe','@univerjs-pro/collaboration','CollaborationController','_univerInstanceService','_snapshotService','FCollaboration','getCollaboration','toStringTag','@univerjs-pro/collaboration-client','2xdTPmh','_handler','128274OCisYF','loadSheetAsync','getUnit','Module','359850SwfGpQ','length','extend','IUniverInstanceService','rxjs','loadSheet','FUniver','6367702UQLGrj','loadActiveSheetAsync','88lfpIhd','switchMap','subscribeCollaborators','Injector','_injector','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','_collaborationController','MemberService','loadActiveSheet','createInstance','357629tZrdaJ','Inject','getOwnPropertyDescriptor','@univerjs/core','133vvZwWj','getUniverSheet','pipe','9BzJBnv','values','9863080ewTRDF','1728245RMdkNK','UniverInstanceType','readyForCollab','defineProperty','6144048SjySvy'];_0x432c=function(){return _0x3558f4;};return _0x432c();}(function(_0x2538af,_0x1d1639){var _0x432920=_0x10f2,_0x488bd0=_0x2538af();while(!![]){try{var _0x4f16cd=-parseInt(_0x432920(0xae))/0x1*(parseInt(_0x432920(0x95))/0x2)+parseInt(_0x432920(0x97))/0x3*(parseInt(_0x432920(0xa4))/0x4)+-parseInt(_0x432920(0xb8))/0x5+parseInt(_0x432920(0x9b))/0x6*(parseInt(_0x432920(0xb2))/0x7)+parseInt(_0x432920(0xbc))/0x8+parseInt(_0x432920(0xb5))/0x9*(-parseInt(_0x432920(0xb7))/0xa)+-parseInt(_0x432920(0xa2))/0xb;if(_0x4f16cd===_0x1d1639)break;else _0x488bd0['push'](_0x488bd0['shift']());}catch(_0x23c05f){_0x488bd0['push'](_0x488bd0['shift']());}}}(_0x432c,0x8d89b));Object[_0x36bfc5(0xbb)](exports,Symbol[_0x36bfc5(0x93)],{'value':_0x36bfc5(0x9a)});const o=require(_0x36bfc5(0xb1)),h=require(_0x36bfc5(0xbe)),c=require(_0x36bfc5(0x94)),b=require(_0x36bfc5(0x9f));var v=Object['defineProperty'],u=Object[_0x36bfc5(0xb0)],S=(_0x543065,_0xfb229b,_0x361443,_0x387299)=>{var _0x3cbbb0=_0x36bfc5;for(var _0x5c7d68=_0x387299>0x1?void 0x0:_0x387299?u(_0xfb229b,_0x361443):_0xfb229b,_0x86650b=_0x543065[_0x3cbbb0(0x9c)]-0x1,_0x391860;_0x86650b>=0x0;_0x86650b--)(_0x391860=_0x543065[_0x86650b])&&(_0x5c7d68=(_0x387299?_0x391860(_0xfb229b,_0x361443,_0x5c7d68):_0x391860(_0x5c7d68))||_0x5c7d68);return _0x387299&&_0x5c7d68&&v(_0xfb229b,_0x361443,_0x5c7d68),_0x5c7d68;},s=(_0x3d72cd,_0x1ab2a3)=>(_0xdcc466,_0x124980)=>_0x1ab2a3(_0xdcc466,_0x124980,_0x3d72cd);exports[_0x36bfc5(0xc2)]=class extends o['FBase']{constructor(_0x36fdee,_0x43fe70,_0xf823b3,_0x4ee747,_0x377f05){var _0x4bb64e=_0x36bfc5;super(),this[_0x4bb64e(0x96)]=_0x36fdee,this['_injector']=_0x43fe70,this[_0x4bb64e(0xc0)]=_0xf823b3,this[_0x4bb64e(0xc1)]=_0x4ee747,this[_0x4bb64e(0xaa)]=_0x377f05;}async[_0x36bfc5(0xac)](){var _0x24bf3e=_0x36bfc5;return this[_0x24bf3e(0xa3)]();}async[_0x36bfc5(0xa3)](){var _0x55b472=_0x36bfc5;throw new Error(_0x55b472(0xa9));}async[_0x36bfc5(0xa0)](_0xb185d0){var _0xd3d939=_0x36bfc5;return this[_0xd3d939(0x98)](_0xb185d0);}async['loadSheetAsync'](_0x176caf){var _0xdf08f4=_0x36bfc5;return this[_0xdf08f4(0xc0)][_0xdf08f4(0x99)](_0x176caf,o[_0xdf08f4(0xb9)]['UNIVER_SHEET'])||await this[_0xdf08f4(0xc1)][_0xdf08f4(0xa0)](_0x176caf,0x0)?(await this[_0xdf08f4(0xaa)][_0xdf08f4(0xba)](_0x176caf),this[_0xdf08f4(0x96)][_0xdf08f4(0xb3)](_0x176caf)):null;}[_0x36bfc5(0xa6)](_0x2490a3,_0x59bc92){var _0x5b8ee0=_0x36bfc5;const _0x4de0f9=this[_0x5b8ee0(0xa8)]['get'](c[_0x5b8ee0(0xab)])['waitForRoom$'](_0x2490a3)[_0x5b8ee0(0xb4)](b[_0x5b8ee0(0xa5)](_0x42323f=>_0x42323f['members$']))[_0x5b8ee0(0xbd)](_0x1e36f8=>_0x59bc92(Array['from'](_0x1e36f8[_0x5b8ee0(0xb6)]())));return o['toDisposable'](_0x4de0f9);}},exports[_0x36bfc5(0xc2)]=S([s(0x1,o[_0x36bfc5(0xaf)](o[_0x36bfc5(0xa7)])),s(0x2,o[_0x36bfc5(0x9e)]),s(0x3,o[_0x36bfc5(0xaf)](h['SnapshotService'])),s(0x4,o[_0x36bfc5(0xaf)](c[_0x36bfc5(0xbf)]))],exports[_0x36bfc5(0xc2)]);class _ extends o[_0x36bfc5(0xa1)]{[_0x36bfc5(0xc3)](){var _0x31d771=_0x36bfc5;return this[_0x31d771(0xa8)][_0x31d771(0xad)](exports['FCollaboration'],{'getUniverSheet':_0x4f6673=>this['getUniverSheet'](_0x4f6673)});}}o[_0x36bfc5(0xa1)][_0x36bfc5(0x9d)](_);