@univerjs-pro/collaboration-client 0.5.1-nightly.202412161321 → 0.5.1-nightly.202412161606

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 _0x4f6325=_0x414f;function _0x414f(_0x60f8a4,_0x18b5e0){var _0x1fdf1f=_0x1fdf();return _0x414f=function(_0x414f6f,_0x1f32eb){_0x414f6f=_0x414f6f-0xd8;var _0x4fe336=_0x1fdf1f[_0x414f6f];return _0x4fe336;},_0x414f(_0x60f8a4,_0x18b5e0);}(function(_0x390d04,_0xcccc96){var _0x50df8b=_0x414f,_0x582d71=_0x390d04();while(!![]){try{var _0xc4392d=-parseInt(_0x50df8b(0xe4))/0x1*(-parseInt(_0x50df8b(0xf2))/0x2)+-parseInt(_0x50df8b(0xf6))/0x3+-parseInt(_0x50df8b(0xea))/0x4*(-parseInt(_0x50df8b(0xd8))/0x5)+parseInt(_0x50df8b(0xe1))/0x6*(-parseInt(_0x50df8b(0xfa))/0x7)+-parseInt(_0x50df8b(0xe5))/0x8*(parseInt(_0x50df8b(0xf7))/0x9)+parseInt(_0x50df8b(0xed))/0xa+parseInt(_0x50df8b(0xfe))/0xb;if(_0xc4392d===_0xcccc96)break;else _0x582d71['push'](_0x582d71['shift']());}catch(_0x3cac72){_0x582d71['push'](_0x582d71['shift']());}}}(_0x1fdf,0xcd200));Object[_0x4f6325(0xf5)](exports,Symbol[_0x4f6325(0x103)],{'value':_0x4f6325(0xdf)});const t=require(_0x4f6325(0xdc)),b=require(_0x4f6325(0x105)),c=require(_0x4f6325(0xe3)),v=require(_0x4f6325(0xdd));function _0x1fdf(){var _0x2601dd=['getUnit','defineProperty','3923424fVcggI','9pZQQWQ','Inject','UNIVER_SHEET','2343992GZLWTv','waitForRoom$','from','pipe','13805594gDmEwl','toDisposable','loadSheet','loadActiveSheet','Injector','toStringTag','getUniverSheet','@univerjs-pro/collaboration','MemberService','SnapshotService','length','200Iwjneb','createInstance','FUniver','readyForCollab','@univerjs/core','rxjs','members$','Module','_univerInstanceService','24xrjgAT','_collaborationController','@univerjs-pro/collaboration-client','149rpkrzR','7347472uzwaJu','get','FBase','_injector','_handler','157816lMmvgX','extend','IUniverInstanceService','13802850ztyucO','_snapshotService','subscribe','getOwnPropertyDescriptor','values','2582cnBZKI','FCollaboration'];_0x1fdf=function(){return _0x2601dd;};return _0x1fdf();}var h=Object[_0x4f6325(0xf5)],u=Object[_0x4f6325(0xf0)],_=(_0x4dbfcf,_0x461887,_0x38955f,_0x35825a)=>{var _0x5832ce=_0x4f6325;for(var _0xfbb963=_0x35825a>0x1?void 0x0:_0x35825a?u(_0x461887,_0x38955f):_0x461887,_0x3a5ddb=_0x4dbfcf[_0x5832ce(0x108)]-0x1,_0x50dec0;_0x3a5ddb>=0x0;_0x3a5ddb--)(_0x50dec0=_0x4dbfcf[_0x3a5ddb])&&(_0xfbb963=(_0x35825a?_0x50dec0(_0x461887,_0x38955f,_0xfbb963):_0x50dec0(_0xfbb963))||_0xfbb963);return _0x35825a&&_0xfbb963&&h(_0x461887,_0x38955f,_0xfbb963),_0xfbb963;},s=(_0x5aa150,_0x5e363b)=>(_0x3edce5,_0x4556df)=>_0x5e363b(_0x3edce5,_0x4556df,_0x5aa150);exports['FCollaboration']=class extends t[_0x4f6325(0xe7)]{constructor(_0x362c11,_0x329be7,_0x485662,_0x47a3d1,_0x38c1fc){var _0x3e60ea=_0x4f6325;super(),this[_0x3e60ea(0xe9)]=_0x362c11,this['_injector']=_0x329be7,this[_0x3e60ea(0xe0)]=_0x485662,this[_0x3e60ea(0xee)]=_0x47a3d1,this[_0x3e60ea(0xe2)]=_0x38c1fc;}async[_0x4f6325(0x101)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x4f6325(0x100)](_0x2654ee){var _0x387f15=_0x4f6325;return this[_0x387f15(0xe0)][_0x387f15(0xf4)](_0x2654ee,t['UniverInstanceType'][_0x387f15(0xf9)])||await this['_snapshotService']['loadSheet'](_0x2654ee,0x0)?(await this[_0x387f15(0xe2)][_0x387f15(0xdb)](_0x2654ee),this[_0x387f15(0xe9)][_0x387f15(0x104)](_0x2654ee)):null;}['subscribeCollaborators'](_0x4e3d8e,_0x1f36a6){var _0xdc9c10=_0x4f6325;const _0x253c1b=this[_0xdc9c10(0xe8)][_0xdc9c10(0xe6)](c[_0xdc9c10(0x106)])[_0xdc9c10(0xfb)](_0x4e3d8e)[_0xdc9c10(0xfd)](v['switchMap'](_0x16c552=>_0x16c552[_0xdc9c10(0xde)]))[_0xdc9c10(0xef)](_0x2dd4d2=>_0x1f36a6(Array[_0xdc9c10(0xfc)](_0x2dd4d2[_0xdc9c10(0xf1)]())));return t[_0xdc9c10(0xff)](_0x253c1b);}},exports[_0x4f6325(0xf3)]=_([s(0x1,t['Inject'](t[_0x4f6325(0x102)])),s(0x2,t[_0x4f6325(0xec)]),s(0x3,t['Inject'](b[_0x4f6325(0x107)])),s(0x4,t[_0x4f6325(0xf8)](c['CollaborationController']))],exports['FCollaboration']);class S extends t['FUniver']{['getCollaboration'](){var _0x217d67=_0x4f6325;return this[_0x217d67(0xe8)][_0x217d67(0xd9)](exports[_0x217d67(0xf3)],{'getUniverSheet':_0x2171d2=>this[_0x217d67(0x104)](_0x2171d2)});}}t[_0x4f6325(0xda)][_0x4f6325(0xeb)](S);
1
+ 'use strict';var _0x60c014=_0x1afd;(function(_0x3611fc,_0x3ec901){var _0x1d167f=_0x1afd,_0x3c0807=_0x3611fc();while(!![]){try{var _0x49a643=parseInt(_0x1d167f(0x15f))/0x1*(-parseInt(_0x1d167f(0x153))/0x2)+parseInt(_0x1d167f(0x178))/0x3*(-parseInt(_0x1d167f(0x16b))/0x4)+parseInt(_0x1d167f(0x16d))/0x5+-parseInt(_0x1d167f(0x174))/0x6*(parseInt(_0x1d167f(0x167))/0x7)+-parseInt(_0x1d167f(0x179))/0x8*(-parseInt(_0x1d167f(0x165))/0x9)+-parseInt(_0x1d167f(0x15d))/0xa*(parseInt(_0x1d167f(0x172))/0xb)+-parseInt(_0x1d167f(0x16e))/0xc*(-parseInt(_0x1d167f(0x162))/0xd);if(_0x49a643===_0x3ec901)break;else _0x3c0807['push'](_0x3c0807['shift']());}catch(_0x307751){_0x3c0807['push'](_0x3c0807['shift']());}}}(_0x4a42,0xa0d0c));function _0x1afd(_0x42696d,_0x26d43b){var _0x4a4204=_0x4a42();return _0x1afd=function(_0x1afdf8,_0x567f10){_0x1afdf8=_0x1afdf8-0x14c;var _0x39160a=_0x4a4204[_0x1afdf8];return _0x39160a;},_0x1afd(_0x42696d,_0x26d43b);}function _0x4a42(){var _0x17d23d=['FUniver','2103773YQrKnS','Module','CollaborationController','toDisposable','17692hZwEoA','FCollaboration','3924565mnHtzl','8006892VPHken','_handler','Injector','FBase','297zEjSXF','from','18BDZYWJ','@univerjs-pro/collaboration-client','getCollaboration','rxjs','537sNYwhr','101656UXrcVV','pipe','_injector','UNIVER_SHEET','switchMap','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadActiveSheet','get','loadSheet','_collaborationController','444kglFKE','UniverInstanceType','readyForCollab','IUniverInstanceService','extend','waitForRoom$','Inject','_snapshotService','_univerInstanceService','MemberService','210050AUAtXG','getUniverSheet','3238TcbulE','SnapshotService','@univerjs-pro/collaboration','39JhKXvF','defineProperty','values','603lsAkJr'];_0x4a42=function(){return _0x17d23d;};return _0x4a42();}Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x60c014(0x168)});const t=require('@univerjs/core'),b=require(_0x60c014(0x161)),c=require(_0x60c014(0x175)),v=require(_0x60c014(0x177));var h=Object[_0x60c014(0x163)],u=Object['getOwnPropertyDescriptor'],_=(_0x90af12,_0x36ddb8,_0x5d6a5f,_0x1af267)=>{for(var _0x1d2778=_0x1af267>0x1?void 0x0:_0x1af267?u(_0x36ddb8,_0x5d6a5f):_0x36ddb8,_0x49e28a=_0x90af12['length']-0x1,_0x6b5ee;_0x49e28a>=0x0;_0x49e28a--)(_0x6b5ee=_0x90af12[_0x49e28a])&&(_0x1d2778=(_0x1af267?_0x6b5ee(_0x36ddb8,_0x5d6a5f,_0x1d2778):_0x6b5ee(_0x1d2778))||_0x1d2778);return _0x1af267&&_0x1d2778&&h(_0x36ddb8,_0x5d6a5f,_0x1d2778),_0x1d2778;},s=(_0x4a3ab7,_0x479162)=>(_0x41f67c,_0x38791f)=>_0x479162(_0x41f67c,_0x38791f,_0x4a3ab7);exports[_0x60c014(0x16c)]=class extends t[_0x60c014(0x171)]{constructor(_0x1216c5,_0x11b212,_0x2016cf,_0x1bb047,_0x3e2f9e){var _0x39315d=_0x60c014;super(),this['_handler']=_0x1216c5,this[_0x39315d(0x17b)]=_0x11b212,this['_univerInstanceService']=_0x2016cf,this[_0x39315d(0x15a)]=_0x1bb047,this['_collaborationController']=_0x3e2f9e;}async[_0x60c014(0x14f)](){var _0x44197c=_0x60c014;throw new Error(_0x44197c(0x14e));}async[_0x60c014(0x151)](_0x19f81c){var _0x30ea06=_0x60c014;return this[_0x30ea06(0x15b)]['getUnit'](_0x19f81c,t[_0x30ea06(0x154)][_0x30ea06(0x14c)])||await this[_0x30ea06(0x15a)][_0x30ea06(0x151)](_0x19f81c,0x0)?(await this[_0x30ea06(0x152)][_0x30ea06(0x155)](_0x19f81c),this[_0x30ea06(0x16f)][_0x30ea06(0x15e)](_0x19f81c)):null;}['subscribeCollaborators'](_0xc07d7b,_0x221c73){var _0x543e4c=_0x60c014;const _0x592db0=this[_0x543e4c(0x17b)][_0x543e4c(0x150)](c[_0x543e4c(0x15c)])[_0x543e4c(0x158)](_0xc07d7b)[_0x543e4c(0x17a)](v[_0x543e4c(0x14d)](_0x5aefe0=>_0x5aefe0['members$']))['subscribe'](_0x70cba4=>_0x221c73(Array[_0x543e4c(0x173)](_0x70cba4[_0x543e4c(0x164)]())));return t[_0x543e4c(0x16a)](_0x592db0);}},exports[_0x60c014(0x16c)]=_([s(0x1,t['Inject'](t[_0x60c014(0x170)])),s(0x2,t[_0x60c014(0x156)]),s(0x3,t[_0x60c014(0x159)](b[_0x60c014(0x160)])),s(0x4,t[_0x60c014(0x159)](c[_0x60c014(0x169)]))],exports[_0x60c014(0x16c)]);class S extends t[_0x60c014(0x166)]{[_0x60c014(0x176)](){var _0x27975e=_0x60c014;return this[_0x27975e(0x17b)]['createInstance'](exports[_0x27975e(0x16c)],{'getUniverSheet':_0x157129=>this[_0x27975e(0x15e)](_0x157129)});}}t[_0x60c014(0x166)][_0x60c014(0x157)](S);