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

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 _0x4cd7(_0x404804,_0x245460){var _0x1aa8b3=_0x1aa8();return _0x4cd7=function(_0x4cd701,_0x387911){_0x4cd701=_0x4cd701-0x1b9;var _0x411f06=_0x1aa8b3[_0x4cd701];return _0x411f06;},_0x4cd7(_0x404804,_0x245460);}function _0x1aa8(){var _0x55e55a=['713331OiwWut','_injector','FCollaboration','members$','72yDFdtQ','_snapshotService','toStringTag','3265DwrNNI','toDisposable','SnapshotService','defineProperty','@univerjs-pro/collaboration-client','Injector','_collaborationController','loadSheet','readyForCollab','createInstance','from','_univerInstanceService','10VbgHKH','@univerjs-pro/collaboration','@univerjs/core','_handler','348456qDwHCZ','values','Inject','3679865kdyAFN','1313202YcVpsk','2202jSAvwV','waitForRoom$','565405CWUMcY','MemberService','getCollaboration','4tjSLDF','IUniverInstanceService','13290772fCjbzp','getOwnPropertyDescriptor','FBase','pipe'];_0x1aa8=function(){return _0x55e55a;};return _0x1aa8();}var _0x57775f=_0x4cd7;(function(_0x51d1de,_0x17c912){var _0x5b06b0=_0x4cd7,_0x350891=_0x51d1de();while(!![]){try{var _0x2f9f95=parseInt(_0x5b06b0(0x1df))/0x1+parseInt(_0x5b06b0(0x1dc))/0x2+-parseInt(_0x5b06b0(0x1c1))/0x3*(parseInt(_0x5b06b0(0x1bb))/0x4)+parseInt(_0x5b06b0(0x1c8))/0x5*(-parseInt(_0x5b06b0(0x1dd))/0x6)+parseInt(_0x5b06b0(0x1db))/0x7+parseInt(_0x5b06b0(0x1d8))/0x8*(parseInt(_0x5b06b0(0x1c5))/0x9)+parseInt(_0x5b06b0(0x1d4))/0xa*(-parseInt(_0x5b06b0(0x1bd))/0xb);if(_0x2f9f95===_0x17c912)break;else _0x350891['push'](_0x350891['shift']());}catch(_0x56da0e){_0x350891['push'](_0x350891['shift']());}}}(_0x1aa8,0x6436d));Object[_0x57775f(0x1cb)](exports,Symbol[_0x57775f(0x1c7)],{'value':'Module'});const t=require(_0x57775f(0x1d6)),b=require(_0x57775f(0x1d5)),c=require(_0x57775f(0x1cc)),v=require('rxjs');var h=Object[_0x57775f(0x1cb)],_=Object[_0x57775f(0x1be)],u=(_0x4eefd7,_0x92153,_0x1ee62b,_0x401f28)=>{for(var _0x33513b=_0x401f28>0x1?void 0x0:_0x401f28?_(_0x92153,_0x1ee62b):_0x92153,_0x44c5e1=_0x4eefd7['length']-0x1,_0x44ca77;_0x44c5e1>=0x0;_0x44c5e1--)(_0x44ca77=_0x4eefd7[_0x44c5e1])&&(_0x33513b=(_0x401f28?_0x44ca77(_0x92153,_0x1ee62b,_0x33513b):_0x44ca77(_0x33513b))||_0x33513b);return _0x401f28&&_0x33513b&&h(_0x92153,_0x1ee62b,_0x33513b),_0x33513b;},s=(_0x2ce95a,_0x36ace0)=>(_0x5ed1a3,_0x2497d6)=>_0x36ace0(_0x5ed1a3,_0x2497d6,_0x2ce95a);exports[_0x57775f(0x1c3)]=class extends t[_0x57775f(0x1bf)]{constructor(_0x19839d,_0x4a80d5,_0x56f5ac,_0x43d6fa,_0x9d06f2){var _0x23b782=_0x57775f;super(),this[_0x23b782(0x1d7)]=_0x19839d,this[_0x23b782(0x1c2)]=_0x4a80d5,this[_0x23b782(0x1d3)]=_0x56f5ac,this[_0x23b782(0x1c6)]=_0x43d6fa,this[_0x23b782(0x1ce)]=_0x9d06f2;}async['loadSheet'](_0x1071cb){var _0x5f5300=_0x57775f;return this[_0x5f5300(0x1d3)]['getUnit'](_0x1071cb,t['UniverInstanceType']['UNIVER_SHEET'])||await this['_snapshotService'][_0x5f5300(0x1cf)](_0x1071cb,0x0)?(await this[_0x5f5300(0x1ce)][_0x5f5300(0x1d0)](_0x1071cb),this[_0x5f5300(0x1d7)]['getUniverSheet'](_0x1071cb)):null;}['subscribeCollaborators'](_0x26ec8d,_0x567224){var _0x490d64=_0x57775f;const _0x386eb6=this[_0x490d64(0x1c2)]['get'](c[_0x490d64(0x1b9)])[_0x490d64(0x1de)](_0x26ec8d)[_0x490d64(0x1c0)](v['switchMap'](_0x3a9e72=>_0x3a9e72[_0x490d64(0x1c4)]))['subscribe'](_0x3ca18f=>_0x567224(Array[_0x490d64(0x1d2)](_0x3ca18f[_0x490d64(0x1d9)]())));return t[_0x490d64(0x1c9)](_0x386eb6);}},exports[_0x57775f(0x1c3)]=u([s(0x1,t[_0x57775f(0x1da)](t[_0x57775f(0x1cd)])),s(0x2,t[_0x57775f(0x1bc)]),s(0x3,t[_0x57775f(0x1da)](b[_0x57775f(0x1ca)])),s(0x4,t[_0x57775f(0x1da)](c['CollaborationController']))],exports[_0x57775f(0x1c3)]);class S extends t['FUniver']{[_0x57775f(0x1ba)](){var _0x318ea3=_0x57775f;return this[_0x318ea3(0x1c2)][_0x318ea3(0x1d1)](exports[_0x318ea3(0x1c3)],{'getUniverSheet':_0x3e9d87=>this['getUniverSheet'](_0x3e9d87)});}}t['FUniver']['extend'](S);
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);