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

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 _0x565962=_0x5ad2;(function(_0x3d01ab,_0x14e53b){var _0x1cd510=_0x5ad2,_0x5f55ae=_0x3d01ab();while(!![]){try{var _0x40f2ef=-parseInt(_0x1cd510(0x17f))/0x1+parseInt(_0x1cd510(0x16e))/0x2*(-parseInt(_0x1cd510(0x17c))/0x3)+-parseInt(_0x1cd510(0x17e))/0x4*(-parseInt(_0x1cd510(0x193))/0x5)+-parseInt(_0x1cd510(0x188))/0x6*(parseInt(_0x1cd510(0x199))/0x7)+parseInt(_0x1cd510(0x180))/0x8+parseInt(_0x1cd510(0x176))/0x9+-parseInt(_0x1cd510(0x187))/0xa*(-parseInt(_0x1cd510(0x17a))/0xb);if(_0x40f2ef===_0x14e53b)break;else _0x5f55ae['push'](_0x5f55ae['shift']());}catch(_0x59ed45){_0x5f55ae['push'](_0x5f55ae['shift']());}}}(_0x33da,0xeb866));Object['defineProperty'](exports,Symbol[_0x565962(0x192)],{'value':'Module'});function _0x33da(){var _0xdaaacd=['waitForRoom$','CollaborationController','toStringTag','1911035eorgdn','length','@univerjs/core','from','createInstance','@univerjs-pro/collaboration','707qxTETu','readyForCollab','FBase','1520314ZnLwEX','_injector','_handler','getUniverSheet','getOwnPropertyDescriptor','SnapshotService','switchMap','IUniverInstanceService','1741221vLSbxT','defineProperty','members$','extend','83281CByzfC','loadSheet','6chjwdD','subscribeCollaborators','4QfImTy','1385614JnBcFE','11865504fTxGkm','pipe','FUniver','MemberService','FCollaboration','UNIVER_SHEET','Inject','3950Etjcwc','70026vhrlKU','subscribe','values','getCollaboration','get','UniverInstanceType','@univerjs-pro/collaboration-client','_snapshotService'];_0x33da=function(){return _0xdaaacd;};return _0x33da();}const t=require(_0x565962(0x195)),b=require(_0x565962(0x198)),c=require(_0x565962(0x18e)),v=require('rxjs');var h=Object[_0x565962(0x177)],_=Object[_0x565962(0x172)],u=(_0x410ead,_0x3016ac,_0x4e4932,_0x37031f)=>{var _0x1f4df5=_0x565962;for(var _0x4bd3c2=_0x37031f>0x1?void 0x0:_0x37031f?_(_0x3016ac,_0x4e4932):_0x3016ac,_0xbd2ebe=_0x410ead[_0x1f4df5(0x194)]-0x1,_0x4332d3;_0xbd2ebe>=0x0;_0xbd2ebe--)(_0x4332d3=_0x410ead[_0xbd2ebe])&&(_0x4bd3c2=(_0x37031f?_0x4332d3(_0x3016ac,_0x4e4932,_0x4bd3c2):_0x4332d3(_0x4bd3c2))||_0x4bd3c2);return _0x37031f&&_0x4bd3c2&&h(_0x3016ac,_0x4e4932,_0x4bd3c2),_0x4bd3c2;},s=(_0x5d2edf,_0x15e7e9)=>(_0x4e0d06,_0x39e00e)=>_0x15e7e9(_0x4e0d06,_0x39e00e,_0x5d2edf);exports[_0x565962(0x184)]=class extends t[_0x565962(0x16d)]{constructor(_0x24c2c5,_0x28f44f,_0x32e95d,_0x241b69,_0x70e412){var _0x594ae9=_0x565962;super(),this[_0x594ae9(0x170)]=_0x24c2c5,this[_0x594ae9(0x16f)]=_0x28f44f,this['_univerInstanceService']=_0x32e95d,this[_0x594ae9(0x18f)]=_0x241b69,this['_collaborationController']=_0x70e412;}async[_0x565962(0x17b)](_0x40a2a3){var _0x4574e0=_0x565962;return this['_univerInstanceService']['getUnit'](_0x40a2a3,t[_0x4574e0(0x18d)][_0x4574e0(0x185)])||await this['_snapshotService'][_0x4574e0(0x17b)](_0x40a2a3,0x0)?(await this['_collaborationController'][_0x4574e0(0x16c)](_0x40a2a3),this[_0x4574e0(0x170)][_0x4574e0(0x171)](_0x40a2a3)):null;}[_0x565962(0x17d)](_0x1f4c7b,_0x2e9d47){var _0x50d216=_0x565962;const _0x5404f5=this[_0x50d216(0x16f)][_0x50d216(0x18c)](c[_0x50d216(0x183)])[_0x50d216(0x190)](_0x1f4c7b)[_0x50d216(0x181)](v[_0x50d216(0x174)](_0x1deb72=>_0x1deb72[_0x50d216(0x178)]))[_0x50d216(0x189)](_0x465dc6=>_0x2e9d47(Array[_0x50d216(0x196)](_0x465dc6[_0x50d216(0x18a)]())));return t['toDisposable'](_0x5404f5);}},exports[_0x565962(0x184)]=u([s(0x1,t[_0x565962(0x186)](t['Injector'])),s(0x2,t[_0x565962(0x175)]),s(0x3,t[_0x565962(0x186)](b[_0x565962(0x173)])),s(0x4,t[_0x565962(0x186)](c[_0x565962(0x191)]))],exports['FCollaboration']);function _0x5ad2(_0x5cfb2e,_0x26d981){var _0x33da13=_0x33da();return _0x5ad2=function(_0x5ad26a,_0x3f4181){_0x5ad26a=_0x5ad26a-0x16c;var _0x659bd8=_0x33da13[_0x5ad26a];return _0x659bd8;},_0x5ad2(_0x5cfb2e,_0x26d981);}class S extends t['FUniver']{[_0x565962(0x18b)](){var _0x224628=_0x565962;return this['_injector'][_0x224628(0x197)](exports[_0x224628(0x184)],{'getUniverSheet':_0x2dd5db=>this[_0x224628(0x171)](_0x2dd5db)});}}t[_0x565962(0x182)][_0x565962(0x179)](S);
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);