@univerjs-pro/collaboration-client 0.6.10-experimental.20250411-f5b7b16 → 0.6.10-experimental.20250418-8830bd4

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 _0xf1843b=_0xd093;(function(_0x13cd63,_0x10fa63){var _0x2d6f98=_0xd093,_0x8416d8=_0x13cd63();while(!![]){try{var _0x3f3fa1=-parseInt(_0x2d6f98(0x143))/0x1+parseInt(_0x2d6f98(0x126))/0x2*(parseInt(_0x2d6f98(0x132))/0x3)+parseInt(_0x2d6f98(0x124))/0x4+-parseInt(_0x2d6f98(0x12a))/0x5+parseInt(_0x2d6f98(0x147))/0x6*(-parseInt(_0x2d6f98(0x13e))/0x7)+parseInt(_0x2d6f98(0x136))/0x8+parseInt(_0x2d6f98(0x11e))/0x9*(-parseInt(_0x2d6f98(0x141))/0xa);if(_0x3f3fa1===_0x10fa63)break;else _0x8416d8['push'](_0x8416d8['shift']());}catch(_0x267dce){_0x8416d8['push'](_0x8416d8['shift']());}}}(_0x2f9c,0x680b4));Object[_0xf1843b(0x120)](exports,Symbol[_0xf1843b(0x135)],{'value':'Module'});function _0xd093(_0x505806,_0x44fc9b){var _0x2f9c7e=_0x2f9c();return _0xd093=function(_0xd09368,_0x95c102){_0xd09368=_0xd09368-0x11b;var _0x14c3a3=_0x2f9c7e[_0xd09368];return _0x14c3a3;},_0xd093(_0x505806,_0x44fc9b);}function _0x2f9c(){var _0x119a9f=['_snapshotService','subscribe','waitForRoom$','_collaborationController','loadSheetAsync','7yQEkHF','loadServerUnit','extend','10PkZVIP','_injector','245613frHfJX','MemberService','values','_handler','2396274nwUarw','getUniverSheet','FUniver','FBase','2245356jyWjXF','FCollaboration','defineProperty','DataLoaderService','IUniverInstanceService','SnapshotService','2788496RkutNt','get','2xlrMoJ','members$','from','rxjs','1673860XJAJga','@univerjs/core/facade','createInstance','toDisposable','switchMap','_univerInstanceService','Injector','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','1495686PpxLwr','length','loadSheet','toStringTag','3677808eQZcJo','@univerjs-pro/collaboration-client','@univerjs-pro/collaboration'];_0x2f9c=function(){return _0x119a9f;};return _0x2f9c();}const c=require(_0xf1843b(0x137)),l=require(_0xf1843b(0x12b)),v=require(_0xf1843b(0x138)),i=require('@univerjs/core'),b=require(_0xf1843b(0x129));var S=Object['getOwnPropertyDescriptor'],d=(_0x5055cb,_0x735195,_0x1dd03e,_0x520a00)=>{var _0x15fcbd=_0xf1843b;for(var _0x3b6162=_0x520a00>0x1?void 0x0:_0x520a00?S(_0x735195,_0x1dd03e):_0x735195,_0x32736c=_0x5055cb[_0x15fcbd(0x133)]-0x1,_0x11bede;_0x32736c>=0x0;_0x32736c--)(_0x11bede=_0x5055cb[_0x32736c])&&(_0x3b6162=_0x11bede(_0x3b6162)||_0x3b6162);return _0x3b6162;},s=(_0x773f3d,_0x59d115)=>(_0x299057,_0x3b2005)=>_0x59d115(_0x299057,_0x3b2005,_0x773f3d);exports[_0xf1843b(0x11f)]=class extends l[_0xf1843b(0x11d)]{constructor(_0x3bdcf2,_0x465ce2,_0x5f58fe,_0x112bd7,_0x32c0e6){var _0x3ba393=_0xf1843b;super(),this['_handler']=_0x3bdcf2,this[_0x3ba393(0x142)]=_0x465ce2,this[_0x3ba393(0x12f)]=_0x5f58fe,this[_0x3ba393(0x139)]=_0x112bd7,this[_0x3ba393(0x13c)]=_0x32c0e6;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async['loadActiveSheetAsync'](){var _0x270f92=_0xf1843b;throw new Error(_0x270f92(0x131));}async[_0xf1843b(0x134)](_0x3eadf3){var _0x44aae7=_0xf1843b;return this[_0x44aae7(0x13d)](_0x3eadf3);}async[_0xf1843b(0x13d)](_0x21a395,_0x393f45){var _0x465979=_0xf1843b;return await this[_0x465979(0x139)][_0x465979(0x134)](_0x21a395,0x0,_0x393f45)?(await this[_0x465979(0x13c)]['readyForCollab'](_0x21a395),this[_0x465979(0x146)]['getUniverSheet'](_0x21a395)):null;}['subscribeCollaborators'](_0x951e17,_0x52f6eb){var _0x310982=_0xf1843b;const _0x2a0922=this[_0x310982(0x142)][_0x310982(0x125)](c[_0x310982(0x144)])[_0x310982(0x13b)](_0x951e17)['pipe'](b[_0x310982(0x12e)](_0x370f2a=>_0x370f2a[_0x310982(0x127)]))[_0x310982(0x13a)](_0x42ed79=>_0x52f6eb(Array[_0x310982(0x128)](_0x42ed79[_0x310982(0x145)]())));return i[_0x310982(0x12d)](_0x2a0922);}},exports[_0xf1843b(0x11f)]=d([s(0x1,i['Inject'](i[_0xf1843b(0x130)])),s(0x2,i[_0xf1843b(0x122)]),s(0x3,i['Inject'](v[_0xf1843b(0x123)])),s(0x4,i['Inject'](c['CollaborationController']))],exports[_0xf1843b(0x11f)]);class u extends l[_0xf1843b(0x11c)]{['getCollaboration'](){var _0x52c67a=_0xf1843b;return this[_0x52c67a(0x142)][_0x52c67a(0x12c)](exports[_0x52c67a(0x11f)],{'getUniverSheet':_0x3d8a33=>this[_0x52c67a(0x11b)](_0x3d8a33)});}[_0xf1843b(0x13f)](_0x483dac,_0x23455d,_0x1fb222){var _0x42fa25=_0xf1843b;return this[_0x42fa25(0x142)][_0x42fa25(0x12c)](c[_0x42fa25(0x121)])['loadUnit'](_0x483dac,_0x23455d,_0x1fb222);}}l[_0xf1843b(0x11c)][_0xf1843b(0x140)](u);
1
+ 'use strict';var _0x57fe7c=_0x2836;(function(_0x10aaf3,_0x1c1dcc){var _0x1a779f=_0x2836,_0x41eb9a=_0x10aaf3();while(!![]){try{var _0x1d0769=parseInt(_0x1a779f(0x19d))/0x1+parseInt(_0x1a779f(0x19a))/0x2+-parseInt(_0x1a779f(0x189))/0x3+-parseInt(_0x1a779f(0x1a4))/0x4+parseInt(_0x1a779f(0x17a))/0x5+-parseInt(_0x1a779f(0x17f))/0x6+-parseInt(_0x1a779f(0x17e))/0x7*(-parseInt(_0x1a779f(0x188))/0x8);if(_0x1d0769===_0x1c1dcc)break;else _0x41eb9a['push'](_0x41eb9a['shift']());}catch(_0x379fd1){_0x41eb9a['push'](_0x41eb9a['shift']());}}}(_0x4062,0xc5b8d));Object[_0x57fe7c(0x179)](exports,Symbol[_0x57fe7c(0x190)],{'value':'Module'});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x57fe7c(0x19b)),v=require(_0x57fe7c(0x18d)),i=require('@univerjs/core'),b=require(_0x57fe7c(0x180));var S=Object['getOwnPropertyDescriptor'],d=(_0x261700,_0x2f1e11,_0x41edc5,_0x171819)=>{var _0x551ced=_0x57fe7c;for(var _0x46f971=_0x171819>0x1?void 0x0:_0x171819?S(_0x2f1e11,_0x41edc5):_0x2f1e11,_0x5d2180=_0x261700[_0x551ced(0x19f)]-0x1,_0x38d2cc;_0x5d2180>=0x0;_0x5d2180--)(_0x38d2cc=_0x261700[_0x5d2180])&&(_0x46f971=_0x38d2cc(_0x46f971)||_0x46f971);return _0x46f971;},s=(_0x595966,_0x102ec2)=>(_0x20fdb2,_0x254427)=>_0x102ec2(_0x20fdb2,_0x254427,_0x595966);exports[_0x57fe7c(0x19c)]=class extends l[_0x57fe7c(0x185)]{constructor(_0x4a75fb,_0x1c18a2,_0x15b198,_0x201c33,_0x3f0ae2){var _0x8ba9d6=_0x57fe7c;super(),this['_handler']=_0x4a75fb,this['_injector']=_0x1c18a2,this[_0x8ba9d6(0x197)]=_0x15b198,this['_snapshotService']=_0x201c33,this[_0x8ba9d6(0x1a0)]=_0x3f0ae2;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async[_0x57fe7c(0x194)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x57fe7c(0x181)](_0x4b4011){var _0xc4aab5=_0x57fe7c;return this[_0xc4aab5(0x199)](_0x4b4011);}async['loadSheetAsync'](_0x461c6c,_0x1e36ef){var _0xa53a65=_0x57fe7c;return await this[_0xa53a65(0x1a3)][_0xa53a65(0x181)](_0x461c6c,0x0,_0x1e36ef)?(await this['_collaborationController'][_0xa53a65(0x198)](_0x461c6c),this[_0xa53a65(0x17d)]['getUniverSheet'](_0x461c6c)):null;}['subscribeCollaborators'](_0x2465b0,_0x87f14a){var _0x154dda=_0x57fe7c;const _0x167099=this[_0x154dda(0x1a1)]['get'](c[_0x154dda(0x187)])[_0x154dda(0x18f)](_0x2465b0)[_0x154dda(0x18c)](b[_0x154dda(0x186)](_0x15221b=>_0x15221b[_0x154dda(0x182)]))[_0x154dda(0x17c)](_0x5c81d9=>_0x87f14a(Array['from'](_0x5c81d9[_0x154dda(0x18b)]())));return i[_0x154dda(0x193)](_0x167099);}},exports[_0x57fe7c(0x19c)]=d([s(0x1,i[_0x57fe7c(0x184)](i[_0x57fe7c(0x18e)])),s(0x2,i[_0x57fe7c(0x191)]),s(0x3,i[_0x57fe7c(0x184)](v[_0x57fe7c(0x17b)])),s(0x4,i[_0x57fe7c(0x184)](c[_0x57fe7c(0x195)]))],exports[_0x57fe7c(0x19c)]);class u extends l['FUniver']{[_0x57fe7c(0x196)](){var _0x4b9838=_0x57fe7c;return this[_0x4b9838(0x1a1)][_0x4b9838(0x19e)](exports[_0x4b9838(0x19c)],{'getUniverSheet':_0x34eefc=>this['getUniverSheet'](_0x34eefc)});}['loadServerUnit'](_0x4f6db6,_0x3ffdbc,_0x20f09d){var _0x6524e1=_0x57fe7c;return this[_0x6524e1(0x1a1)]['createInstance'](c[_0x6524e1(0x183)])[_0x6524e1(0x18a)](_0x4f6db6,_0x3ffdbc,_0x20f09d);}}l[_0x57fe7c(0x192)][_0x57fe7c(0x1a2)](u);function _0x2836(_0x573022,_0x31ea4e){var _0x406278=_0x4062();return _0x2836=function(_0x283620,_0x26fa96){_0x283620=_0x283620-0x179;var _0xaee8b4=_0x406278[_0x283620];return _0xaee8b4;},_0x2836(_0x573022,_0x31ea4e);}function _0x4062(){var _0x51560b=['loadSheetAsync','2396678fdZGTl','@univerjs/core/facade','FCollaboration','1434884XXDvSW','createInstance','length','_collaborationController','_injector','extend','_snapshotService','3958936SjQWMw','defineProperty','4637260llaliL','SnapshotService','subscribe','_handler','749FKquFV','2078352vLmsow','rxjs','loadSheet','members$','DataLoaderService','Inject','FBase','switchMap','MemberService','10168wWzBGS','4652031hnWpIu','loadUnit','values','pipe','@univerjs-pro/collaboration','Injector','waitForRoom$','toStringTag','IUniverInstanceService','FUniver','toDisposable','loadActiveSheetAsync','CollaborationController','getCollaboration','_univerInstanceService','readyForCollab'];_0x4062=function(){return _0x51560b;};return _0x4062();}