@univerjs-pro/collaboration-client 0.6.10-experimental.20250418-8830bd4 → 0.6.10-experimental.20250419-1304630

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 _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();}
1
+ 'use strict';var _0x1a555d=_0x2557;function _0x2557(_0x350103,_0x58468e){var _0xea49e4=_0xea49();return _0x2557=function(_0x2557ba,_0x49d157){_0x2557ba=_0x2557ba-0x17f;var _0x3958a6=_0xea49e4[_0x2557ba];return _0x3958a6;},_0x2557(_0x350103,_0x58468e);}(function(_0x11b40b,_0x2ad7db){var _0x5a0c49=_0x2557,_0x616a24=_0x11b40b();while(!![]){try{var _0x310cab=parseInt(_0x5a0c49(0x197))/0x1+-parseInt(_0x5a0c49(0x191))/0x2+-parseInt(_0x5a0c49(0x185))/0x3+parseInt(_0x5a0c49(0x199))/0x4*(-parseInt(_0x5a0c49(0x18a))/0x5)+parseInt(_0x5a0c49(0x19d))/0x6*(parseInt(_0x5a0c49(0x193))/0x7)+-parseInt(_0x5a0c49(0x1a4))/0x8+-parseInt(_0x5a0c49(0x181))/0x9*(-parseInt(_0x5a0c49(0x19c))/0xa);if(_0x310cab===_0x2ad7db)break;else _0x616a24['push'](_0x616a24['shift']());}catch(_0x144d44){_0x616a24['push'](_0x616a24['shift']());}}}(_0xea49,0xe2a23));Object[_0x1a555d(0x198)](exports,Symbol[_0x1a555d(0x1a3)],{'value':_0x1a555d(0x18b)});const c=require(_0x1a555d(0x183)),l=require('@univerjs/core/facade'),v=require(_0x1a555d(0x18d)),i=require(_0x1a555d(0x184)),b=require('rxjs');var S=Object[_0x1a555d(0x192)],d=(_0x3c1544,_0x3e5207,_0x3d2129,_0x57c6cd)=>{var _0x3556ed=_0x1a555d;for(var _0x5651c7=_0x57c6cd>0x1?void 0x0:_0x57c6cd?S(_0x3e5207,_0x3d2129):_0x3e5207,_0x367bb7=_0x3c1544[_0x3556ed(0x189)]-0x1,_0x51879d;_0x367bb7>=0x0;_0x367bb7--)(_0x51879d=_0x3c1544[_0x367bb7])&&(_0x5651c7=_0x51879d(_0x5651c7)||_0x5651c7);return _0x5651c7;},s=(_0x2124ec,_0x57d3b6)=>(_0x3009b6,_0x22f8b7)=>_0x57d3b6(_0x3009b6,_0x22f8b7,_0x2124ec);function _0xea49(){var _0x1440c8=['loadActiveSheetAsync','length','533405NDcdRu','Module','loadServerUnit','@univerjs-pro/collaboration','_handler','readyForCollab','extend','1024120iojVpN','getOwnPropertyDescriptor','210AolWzE','_injector','loadSheetAsync','FBase','197249XoJGsj','defineProperty','4JNPhsc','Inject','switchMap','50Cafmyy','282534mgTbJy','FCollaboration','FUniver','_collaborationController','pipe','from','toStringTag','8996280omodor','waitForRoom$','values','Injector','MemberService','createInstance','members$','loadSheet','getUniverSheet','3167352OloltU','_snapshotService','@univerjs-pro/collaboration-client','@univerjs/core','2093976SJTAoG','subscribe','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.'];_0xea49=function(){return _0x1440c8;};return _0xea49();}exports[_0x1a555d(0x19e)]=class extends l[_0x1a555d(0x196)]{constructor(_0x598474,_0x351c87,_0x586b53,_0x306cfa,_0x4b3f02){var _0x43888b=_0x1a555d;super(),this[_0x43888b(0x18e)]=_0x598474,this[_0x43888b(0x194)]=_0x351c87,this['_univerInstanceService']=_0x586b53,this[_0x43888b(0x182)]=_0x306cfa,this['_collaborationController']=_0x4b3f02;}async['loadActiveSheet'](){var _0xa6255d=_0x1a555d;return this[_0xa6255d(0x188)]();}async[_0x1a555d(0x188)](){var _0x5569e8=_0x1a555d;throw new Error(_0x5569e8(0x187));}async['loadSheet'](_0x1cf881){var _0x58c488=_0x1a555d;return this[_0x58c488(0x195)](_0x1cf881);}async['loadSheetAsync'](_0x1ecb23,_0x200ccc){var _0x279b94=_0x1a555d;return await this['_snapshotService'][_0x279b94(0x17f)](_0x1ecb23,0x0,_0x200ccc)?(await this[_0x279b94(0x1a0)][_0x279b94(0x18f)](_0x1ecb23),this[_0x279b94(0x18e)][_0x279b94(0x180)](_0x1ecb23)):null;}['subscribeCollaborators'](_0x48ea98,_0x5b2a9e){var _0x20cf40=_0x1a555d;const _0x3af2ff=this['_injector']['get'](c[_0x20cf40(0x1a8)])[_0x20cf40(0x1a5)](_0x48ea98)[_0x20cf40(0x1a1)](b[_0x20cf40(0x19b)](_0x4a0fa8=>_0x4a0fa8[_0x20cf40(0x1aa)]))[_0x20cf40(0x186)](_0x12070d=>_0x5b2a9e(Array[_0x20cf40(0x1a2)](_0x12070d[_0x20cf40(0x1a6)]())));return i['toDisposable'](_0x3af2ff);}},exports[_0x1a555d(0x19e)]=d([s(0x1,i[_0x1a555d(0x19a)](i[_0x1a555d(0x1a7)])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x1a555d(0x19a)](v['SnapshotService'])),s(0x4,i[_0x1a555d(0x19a)](c['CollaborationController']))],exports[_0x1a555d(0x19e)]);class u extends l[_0x1a555d(0x19f)]{['getCollaboration'](){var _0x5de10f=_0x1a555d;return this[_0x5de10f(0x194)]['createInstance'](exports['FCollaboration'],{'getUniverSheet':_0x256560=>this['getUniverSheet'](_0x256560)});}[_0x1a555d(0x18c)](_0x5d8a86,_0x54aeb6,_0x2841c3){var _0x484511=_0x1a555d;return this[_0x484511(0x194)][_0x484511(0x1a9)](c['DataLoaderService'])['loadUnit'](_0x5d8a86,_0x54aeb6,_0x2841c3);}}l['FUniver'][_0x1a555d(0x190)](u);