@univerjs-pro/collaboration-client 0.5.1-nightly.202412171026 → 0.5.1-nightly.202412171606

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 _0x515158=_0x16b2;(function(_0x2f1f37,_0x1e2993){var _0x4be14d=_0x16b2,_0x5692dc=_0x2f1f37();while(!![]){try{var _0x1f2107=-parseInt(_0x4be14d(0x157))/0x1+-parseInt(_0x4be14d(0x13e))/0x2+-parseInt(_0x4be14d(0x141))/0x3+-parseInt(_0x4be14d(0x14c))/0x4*(parseInt(_0x4be14d(0x13d))/0x5)+-parseInt(_0x4be14d(0x15d))/0x6*(-parseInt(_0x4be14d(0x138))/0x7)+parseInt(_0x4be14d(0x147))/0x8+parseInt(_0x4be14d(0x152))/0x9*(parseInt(_0x4be14d(0x151))/0xa);if(_0x1f2107===_0x1e2993)break;else _0x5692dc['push'](_0x5692dc['shift']());}catch(_0x640300){_0x5692dc['push'](_0x5692dc['shift']());}}}(_0x6535,0xb1b1b));function _0x16b2(_0x3bd970,_0xb4c9f6){var _0x653579=_0x6535();return _0x16b2=function(_0x16b2a6,_0x227d5e){_0x16b2a6=_0x16b2a6-0x135;var _0x5322b1=_0x653579[_0x16b2a6];return _0x5322b1;},_0x16b2(_0x3bd970,_0xb4c9f6);}Object[_0x515158(0x148)](exports,Symbol[_0x515158(0x158)],{'value':'Module'});const t=require(_0x515158(0x15c)),b=require('@univerjs-pro/collaboration'),c=require(_0x515158(0x14f)),v=require(_0x515158(0x143));var h=Object['defineProperty'],u=Object[_0x515158(0x150)],_=(_0x11be62,_0x342d84,_0x352171,_0x16a148)=>{var _0x45b592=_0x515158;for(var _0x5806d6=_0x16a148>0x1?void 0x0:_0x16a148?u(_0x342d84,_0x352171):_0x342d84,_0x499b3c=_0x11be62[_0x45b592(0x149)]-0x1,_0x46e5ca;_0x499b3c>=0x0;_0x499b3c--)(_0x46e5ca=_0x11be62[_0x499b3c])&&(_0x5806d6=(_0x16a148?_0x46e5ca(_0x342d84,_0x352171,_0x5806d6):_0x46e5ca(_0x5806d6))||_0x5806d6);return _0x16a148&&_0x5806d6&&h(_0x342d84,_0x352171,_0x5806d6),_0x5806d6;},s=(_0x52922f,_0x774001)=>(_0x398c67,_0x33d1af)=>_0x774001(_0x398c67,_0x33d1af,_0x52922f);function _0x6535(){var _0x459c16=['_injector','3860472hPHQnc','Inject','rxjs','UNIVER_SHEET','readyForCollab','_snapshotService','4663648VWzinf','defineProperty','length','UniverInstanceType','getUnit','1812dHErmz','FBase','loadActiveSheet','@univerjs-pro/collaboration-client','getOwnPropertyDescriptor','17104630AHSeMG','18jUYLcA','switchMap','SnapshotService','members$','pipe','515005adJEGP','toStringTag','loadSheet','_collaborationController','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','@univerjs/core','1866162EdQcpV','waitForRoom$','_handler','FCollaboration','7jyIkqg','createInstance','get','_univerInstanceService','subscribe','12635TzkvXp','1281028XtHMgU','subscribeCollaborators'];_0x6535=function(){return _0x459c16;};return _0x6535();}exports['FCollaboration']=class extends t[_0x515158(0x14d)]{constructor(_0x2748d7,_0xa100c0,_0x302212,_0x42fa3e,_0x19dffa){var _0x142350=_0x515158;super(),this[_0x142350(0x136)]=_0x2748d7,this[_0x142350(0x140)]=_0xa100c0,this[_0x142350(0x13b)]=_0x302212,this['_snapshotService']=_0x42fa3e,this['_collaborationController']=_0x19dffa;}async[_0x515158(0x14e)](){var _0x34d5fd=_0x515158;throw new Error(_0x34d5fd(0x15b));}async['loadSheet'](_0x2f1702){var _0x621067=_0x515158;return this[_0x621067(0x13b)][_0x621067(0x14b)](_0x2f1702,t[_0x621067(0x14a)][_0x621067(0x144)])||await this[_0x621067(0x146)][_0x621067(0x159)](_0x2f1702,0x0)?(await this[_0x621067(0x15a)][_0x621067(0x145)](_0x2f1702),this[_0x621067(0x136)]['getUniverSheet'](_0x2f1702)):null;}[_0x515158(0x13f)](_0x699e8a,_0x1a2810){var _0x141c94=_0x515158;const _0x2100dc=this['_injector'][_0x141c94(0x13a)](c['MemberService'])[_0x141c94(0x135)](_0x699e8a)[_0x141c94(0x156)](v[_0x141c94(0x153)](_0x3df1ae=>_0x3df1ae[_0x141c94(0x155)]))[_0x141c94(0x13c)](_0x3a7708=>_0x1a2810(Array['from'](_0x3a7708['values']())));return t['toDisposable'](_0x2100dc);}},exports[_0x515158(0x137)]=_([s(0x1,t[_0x515158(0x142)](t['Injector'])),s(0x2,t['IUniverInstanceService']),s(0x3,t[_0x515158(0x142)](b[_0x515158(0x154)])),s(0x4,t[_0x515158(0x142)](c['CollaborationController']))],exports[_0x515158(0x137)]);class S extends t['FUniver']{['getCollaboration'](){var _0x2b5c85=_0x515158;return this[_0x2b5c85(0x140)][_0x2b5c85(0x139)](exports['FCollaboration'],{'getUniverSheet':_0x2e5f83=>this['getUniverSheet'](_0x2e5f83)});}}t['FUniver']['extend'](S);
1
+ 'use strict';var _0x2cb059=_0x39b3;(function(_0x58c80c,_0x44be1e){var _0x2f8ac7=_0x39b3,_0x3d97ab=_0x58c80c();while(!![]){try{var _0x5bfbcd=parseInt(_0x2f8ac7(0xfc))/0x1*(-parseInt(_0x2f8ac7(0xf0))/0x2)+parseInt(_0x2f8ac7(0xe0))/0x3*(parseInt(_0x2f8ac7(0x103))/0x4)+-parseInt(_0x2f8ac7(0xe7))/0x5*(parseInt(_0x2f8ac7(0xf3))/0x6)+parseInt(_0x2f8ac7(0xe4))/0x7*(-parseInt(_0x2f8ac7(0xf9))/0x8)+parseInt(_0x2f8ac7(0x10c))/0x9*(-parseInt(_0x2f8ac7(0xe6))/0xa)+-parseInt(_0x2f8ac7(0x101))/0xb*(parseInt(_0x2f8ac7(0xf1))/0xc)+parseInt(_0x2f8ac7(0x106))/0xd*(parseInt(_0x2f8ac7(0x102))/0xe);if(_0x5bfbcd===_0x44be1e)break;else _0x3d97ab['push'](_0x3d97ab['shift']());}catch(_0x4fd409){_0x3d97ab['push'](_0x3d97ab['shift']());}}}(_0x2d7b,0xf163a));Object['defineProperty'](exports,Symbol[_0x2cb059(0xd9)],{'value':_0x2cb059(0xfb)});function _0x39b3(_0x32afcc,_0x4af116){var _0x2d7b97=_0x2d7b();return _0x39b3=function(_0x39b3e5,_0x18fc5c){_0x39b3e5=_0x39b3e5-0xd9;var _0x57c6d8=_0x2d7b97[_0x39b3e5];return _0x57c6d8;},_0x39b3(_0x32afcc,_0x4af116);}function _0x2d7b(){var _0x253470=['get','69654455EvEwtG','@univerjs/core','extend','waitForRoom$','readyForCollab','FUniver','90lZFQST','defineProperty','toStringTag','switchMap','subscribeCollaborators','loadActiveSheet','loadSheet','FCollaboration','IUniverInstanceService','3hbpVFV','getOwnPropertyDescriptor','toDisposable','Injector','7YfQDzv','UniverInstanceType','1128780QbPCEB','80fcJXZE','CollaborationController','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','@univerjs-pro/collaboration-client','getCollaboration','_injector','members$','length','FBase','1487468RQcXpb','12qPDWOZ','subscribe','86826odkHAl','_univerInstanceService','Inject','getUniverSheet','_snapshotService','SnapshotService','1441992PgPkbR','_handler','Module','2YzETqC','rxjs','createInstance','MemberService','_collaborationController','19908537DjvRxn','14sKSpva','1874380NPtbXY','getUnit'];_0x2d7b=function(){return _0x253470;};return _0x2d7b();}const t=require(_0x2cb059(0x107)),b=require('@univerjs-pro/collaboration'),c=require(_0x2cb059(0xea)),v=require(_0x2cb059(0xfd));var h=Object[_0x2cb059(0x10d)],u=Object[_0x2cb059(0xe1)],_=(_0xdb2893,_0x5d412b,_0x323a0c,_0x5697cd)=>{var _0x46559f=_0x2cb059;for(var _0x120cd8=_0x5697cd>0x1?void 0x0:_0x5697cd?u(_0x5d412b,_0x323a0c):_0x5d412b,_0x1e508e=_0xdb2893[_0x46559f(0xee)]-0x1,_0x5ebc31;_0x1e508e>=0x0;_0x1e508e--)(_0x5ebc31=_0xdb2893[_0x1e508e])&&(_0x120cd8=(_0x5697cd?_0x5ebc31(_0x5d412b,_0x323a0c,_0x120cd8):_0x5ebc31(_0x120cd8))||_0x120cd8);return _0x5697cd&&_0x120cd8&&h(_0x5d412b,_0x323a0c,_0x120cd8),_0x120cd8;},s=(_0x10d574,_0x1f041c)=>(_0x50369e,_0x46da34)=>_0x1f041c(_0x50369e,_0x46da34,_0x10d574);exports[_0x2cb059(0xde)]=class extends t[_0x2cb059(0xef)]{constructor(_0x698cb8,_0x38a095,_0x113bba,_0x13953f,_0x177170){var _0x56c2d1=_0x2cb059;super(),this[_0x56c2d1(0xfa)]=_0x698cb8,this['_injector']=_0x38a095,this[_0x56c2d1(0xf4)]=_0x113bba,this[_0x56c2d1(0xf7)]=_0x13953f,this[_0x56c2d1(0x100)]=_0x177170;}async[_0x2cb059(0xdc)](){var _0x249b01=_0x2cb059;throw new Error(_0x249b01(0xe9));}async['loadSheet'](_0x483464){var _0x132de6=_0x2cb059;return this[_0x132de6(0xf4)][_0x132de6(0x104)](_0x483464,t[_0x132de6(0xe5)]['UNIVER_SHEET'])||await this[_0x132de6(0xf7)][_0x132de6(0xdd)](_0x483464,0x0)?(await this['_collaborationController'][_0x132de6(0x10a)](_0x483464),this[_0x132de6(0xfa)][_0x132de6(0xf6)](_0x483464)):null;}[_0x2cb059(0xdb)](_0x5347b4,_0x4eac24){var _0x28c829=_0x2cb059;const _0x4f4630=this[_0x28c829(0xec)][_0x28c829(0x105)](c[_0x28c829(0xff)])[_0x28c829(0x109)](_0x5347b4)['pipe'](v[_0x28c829(0xda)](_0x2a79cf=>_0x2a79cf[_0x28c829(0xed)]))[_0x28c829(0xf2)](_0x19b361=>_0x4eac24(Array['from'](_0x19b361['values']())));return t[_0x28c829(0xe2)](_0x4f4630);}},exports['FCollaboration']=_([s(0x1,t['Inject'](t[_0x2cb059(0xe3)])),s(0x2,t[_0x2cb059(0xdf)]),s(0x3,t[_0x2cb059(0xf5)](b[_0x2cb059(0xf8)])),s(0x4,t[_0x2cb059(0xf5)](c[_0x2cb059(0xe8)]))],exports[_0x2cb059(0xde)]);class S extends t[_0x2cb059(0x10b)]{[_0x2cb059(0xeb)](){var _0x4be12a=_0x2cb059;return this[_0x4be12a(0xec)][_0x4be12a(0xfe)](exports[_0x4be12a(0xde)],{'getUniverSheet':_0x386b8c=>this[_0x4be12a(0xf6)](_0x386b8c)});}}t[_0x2cb059(0x10b)][_0x2cb059(0x108)](S);