@univerjs-pro/collaboration-client 0.7.0-nightly.202505121607 → 0.7.0-nightly.202505141607

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 _0x2ad191=_0x12ff;function _0x3f42(){var _0x47a7d3=['pipe','getCollaboration','128328XVKKRk','loadUnit','MemberService','Module','970aBtUHv','CollaborationController','16500dREMGf','Inject','FBase','FUniver','getUniverSheet','IUniverInstanceService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','extend','409797QLCkWX','SnapshotService','6cPoFgK','createInstance','loadSheetAsync','461123fmfrXa','toStringTag','_handler','1110654penRVt','192HPXAvy','loadServerUnit','subscribeCollaborators','members$','subscribe','_snapshotService','@univerjs/core/facade','FCollaboration','_univerInstanceService','Injector','_injector','values','@univerjs-pro/collaboration-client','9154670qWMeJr','_collaborationController','35ljFUrZ','getOwnPropertyDescriptor','defineProperty','length','loadActiveSheet','899739zRSKkY','loadActiveSheetAsync','switchMap','readyForCollab','from'];_0x3f42=function(){return _0x47a7d3;};return _0x3f42();}(function(_0x4c9236,_0x230e1f){var _0x35834e=_0x12ff,_0x2086fe=_0x4c9236();while(!![]){try{var _0x44f168=parseInt(_0x35834e(0x102))/0x1*(-parseInt(_0x35834e(0xff))/0x2)+parseInt(_0x35834e(0xe8))/0x3+-parseInt(_0x35834e(0xef))/0x4*(parseInt(_0x35834e(0xe3))/0x5)+-parseInt(_0x35834e(0x105))/0x6+parseInt(_0x35834e(0xe1))/0x7+-parseInt(_0x35834e(0x106))/0x8*(-parseInt(_0x35834e(0xfd))/0x9)+-parseInt(_0x35834e(0xf3))/0xa*(parseInt(_0x35834e(0xf5))/0xb);if(_0x44f168===_0x230e1f)break;else _0x2086fe['push'](_0x2086fe['shift']());}catch(_0x269e0e){_0x2086fe['push'](_0x2086fe['shift']());}}}(_0x3f42,0xba06b));Object[_0x2ad191(0xe5)](exports,Symbol[_0x2ad191(0x103)],{'value':_0x2ad191(0xf2)});function _0x12ff(_0x11ae2a,_0x145fd1){var _0x3f42a4=_0x3f42();return _0x12ff=function(_0x12ffc0,_0x23c656){_0x12ffc0=_0x12ffc0-0xe0;var _0x34e194=_0x3f42a4[_0x12ffc0];return _0x34e194;},_0x12ff(_0x11ae2a,_0x145fd1);}const c=require(_0x2ad191(0xe0)),l=require(_0x2ad191(0x10c)),v=require('@univerjs-pro/collaboration'),i=require('@univerjs/core'),b=require('rxjs');var S=Object[_0x2ad191(0xe4)],d=(_0x3b16b2,_0x3b3a79,_0x1e83d2,_0x509568)=>{var _0x41b962=_0x2ad191;for(var _0x2f14ee=_0x509568>0x1?void 0x0:_0x509568?S(_0x3b3a79,_0x1e83d2):_0x3b3a79,_0x58d2c7=_0x3b16b2[_0x41b962(0xe6)]-0x1,_0x58a226;_0x58d2c7>=0x0;_0x58d2c7--)(_0x58a226=_0x3b16b2[_0x58d2c7])&&(_0x2f14ee=_0x58a226(_0x2f14ee)||_0x2f14ee);return _0x2f14ee;},s=(_0x14c552,_0x4ae0cb)=>(_0x27ff22,_0x873115)=>_0x4ae0cb(_0x27ff22,_0x873115,_0x14c552);exports[_0x2ad191(0x10d)]=class extends l[_0x2ad191(0xf7)]{constructor(_0x192ac2,_0x3c624d,_0x59c576,_0x234448,_0x56f673){var _0x1acc56=_0x2ad191;super(),this['_handler']=_0x192ac2,this[_0x1acc56(0x110)]=_0x3c624d,this[_0x1acc56(0x10e)]=_0x59c576,this[_0x1acc56(0x10b)]=_0x234448,this['_collaborationController']=_0x56f673;}async[_0x2ad191(0xe7)](){var _0x1cc4df=_0x2ad191;return this[_0x1cc4df(0xe9)]();}async[_0x2ad191(0xe9)](){var _0x9f76fe=_0x2ad191;throw new Error(_0x9f76fe(0xfb));}async['loadSheet'](_0x1b1b9e){var _0x5d68fc=_0x2ad191;return this[_0x5d68fc(0x101)](_0x1b1b9e);}async['loadSheetAsync'](_0x2ec2b2,_0x1222dc){var _0x5d1573=_0x2ad191;return await this[_0x5d1573(0x10b)]['loadSheet'](_0x2ec2b2,0x0,_0x1222dc)?(await this[_0x5d1573(0xe2)][_0x5d1573(0xeb)](_0x2ec2b2),this[_0x5d1573(0x104)][_0x5d1573(0xf9)](_0x2ec2b2)):null;}[_0x2ad191(0x108)](_0x321839,_0x208b98){var _0x534e19=_0x2ad191;const _0x1d6471=this['_injector']['get'](c[_0x534e19(0xf1)])['waitForRoom$'](_0x321839)[_0x534e19(0xed)](b[_0x534e19(0xea)](_0x29a2f4=>_0x29a2f4[_0x534e19(0x109)]))[_0x534e19(0x10a)](_0x149e97=>_0x208b98(Array[_0x534e19(0xec)](_0x149e97[_0x534e19(0x111)]())));return i['toDisposable'](_0x1d6471);}},exports[_0x2ad191(0x10d)]=d([s(0x1,i[_0x2ad191(0xf6)](i[_0x2ad191(0x10f)])),s(0x2,i[_0x2ad191(0xfa)]),s(0x3,i[_0x2ad191(0xf6)](v[_0x2ad191(0xfe)])),s(0x4,i['Inject'](c[_0x2ad191(0xf4)]))],exports[_0x2ad191(0x10d)]);class u extends l[_0x2ad191(0xf8)]{[_0x2ad191(0xee)](){var _0x59e1d5=_0x2ad191;return this[_0x59e1d5(0x110)][_0x59e1d5(0x100)](exports[_0x59e1d5(0x10d)],{'getUniverSheet':_0x335c2a=>this[_0x59e1d5(0xf9)](_0x335c2a)});}[_0x2ad191(0x107)](_0x28cb0a,_0x5efd48,_0x410de5){var _0x53f1a1=_0x2ad191;return this[_0x53f1a1(0x110)][_0x53f1a1(0x100)](c['DataLoaderService'])[_0x53f1a1(0xf0)](_0x28cb0a,_0x5efd48,_0x410de5);}}l[_0x2ad191(0xf8)][_0x2ad191(0xfc)](u);
1
+ 'use strict';var _0x273e5d=_0xd69a;(function(_0x1347f5,_0x309e03){var _0x4ed5c3=_0xd69a,_0x23595d=_0x1347f5();while(!![]){try{var _0x4e5d2c=-parseInt(_0x4ed5c3(0x149))/0x1+parseInt(_0x4ed5c3(0x15a))/0x2+parseInt(_0x4ed5c3(0x156))/0x3+parseInt(_0x4ed5c3(0x150))/0x4+-parseInt(_0x4ed5c3(0x147))/0x5+-parseInt(_0x4ed5c3(0x13d))/0x6+parseInt(_0x4ed5c3(0x15f))/0x7*(parseInt(_0x4ed5c3(0x14b))/0x8);if(_0x4e5d2c===_0x309e03)break;else _0x23595d['push'](_0x23595d['shift']());}catch(_0xc26542){_0x23595d['push'](_0x23595d['shift']());}}}(_0x1011,0x947de));function _0x1011(){var _0x23bd4b=['2196822NULcrH','createInstance','Module','loadServerUnit','670388Gjvzrr','loadActiveSheetAsync','@univerjs-pro/collaboration-client','FBase','@univerjs-pro/collaboration','1881292RllGCi','_injector','loadSheet','subscribe','CollaborationController','switchMap','subscribeCollaborators','getUniverSheet','readyForCollab','706650SaPPdU','_snapshotService','get','loadSheetAsync','loadUnit','waitForRoom$','@univerjs/core','Inject','_handler','members$','2364065WZiRFm','DataLoaderService','1083133KlvRJb','toStringTag','8PgBSqi','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','SnapshotService','@univerjs/core/facade','FUniver','3782876KtSeGX','rxjs','length','Injector','FCollaboration','defineProperty'];_0x1011=function(){return _0x23bd4b;};return _0x1011();}Object[_0x273e5d(0x155)](exports,Symbol[_0x273e5d(0x14a)],{'value':_0x273e5d(0x158)});const c=require(_0x273e5d(0x15c)),l=require(_0x273e5d(0x14e)),v=require(_0x273e5d(0x15e)),i=require(_0x273e5d(0x143)),b=require(_0x273e5d(0x151));var S=Object['getOwnPropertyDescriptor'],d=(_0x4064af,_0x3fbdf9,_0x4e996b,_0x18f136)=>{var _0x390444=_0x273e5d;for(var _0x150fdc=_0x18f136>0x1?void 0x0:_0x18f136?S(_0x3fbdf9,_0x4e996b):_0x3fbdf9,_0x3d588a=_0x4064af[_0x390444(0x152)]-0x1,_0x40bba6;_0x3d588a>=0x0;_0x3d588a--)(_0x40bba6=_0x4064af[_0x3d588a])&&(_0x150fdc=_0x40bba6(_0x150fdc)||_0x150fdc);return _0x150fdc;},s=(_0x547178,_0x3e078a)=>(_0x1826d1,_0x1906a5)=>_0x3e078a(_0x1826d1,_0x1906a5,_0x547178);exports[_0x273e5d(0x154)]=class extends l[_0x273e5d(0x15d)]{constructor(_0x1092c2,_0x38d293,_0x1699c1,_0x3c0bdb,_0x4ae4ac){var _0x545d8d=_0x273e5d;super(),this[_0x545d8d(0x145)]=_0x1092c2,this[_0x545d8d(0x160)]=_0x38d293,this['_univerInstanceService']=_0x1699c1,this[_0x545d8d(0x13e)]=_0x3c0bdb,this['_collaborationController']=_0x4ae4ac;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async[_0x273e5d(0x15b)](){var _0x3150b1=_0x273e5d;throw new Error(_0x3150b1(0x14c));}async[_0x273e5d(0x136)](_0x35899b){var _0x56963b=_0x273e5d;return this[_0x56963b(0x140)](_0x35899b);}async[_0x273e5d(0x140)](_0x2be806,_0x548812){var _0x14eadf=_0x273e5d;return await this[_0x14eadf(0x13e)][_0x14eadf(0x136)](_0x2be806,0x0,_0x548812)?(await this['_collaborationController'][_0x14eadf(0x13c)](_0x2be806),this[_0x14eadf(0x145)][_0x14eadf(0x13b)](_0x2be806)):null;}[_0x273e5d(0x13a)](_0x11f564,_0x20bf01){var _0x16d585=_0x273e5d;const _0x49a187=this[_0x16d585(0x160)][_0x16d585(0x13f)](c['MemberService'])[_0x16d585(0x142)](_0x11f564)['pipe'](b[_0x16d585(0x139)](_0x504f51=>_0x504f51[_0x16d585(0x146)]))[_0x16d585(0x137)](_0x7472c5=>_0x20bf01(Array['from'](_0x7472c5['values']())));return i['toDisposable'](_0x49a187);}},exports[_0x273e5d(0x154)]=d([s(0x1,i[_0x273e5d(0x144)](i[_0x273e5d(0x153)])),s(0x2,i['IUniverInstanceService']),s(0x3,i['Inject'](v[_0x273e5d(0x14d)])),s(0x4,i['Inject'](c[_0x273e5d(0x138)]))],exports[_0x273e5d(0x154)]);class u extends l['FUniver']{['getCollaboration'](){var _0x32abcd=_0x273e5d;return this[_0x32abcd(0x160)]['createInstance'](exports[_0x32abcd(0x154)],{'getUniverSheet':_0x40c3a0=>this[_0x32abcd(0x13b)](_0x40c3a0)});}[_0x273e5d(0x159)](_0x1e627f,_0x13d134,_0x21237b){var _0x5b8fb6=_0x273e5d;return this['_injector'][_0x5b8fb6(0x157)](c[_0x5b8fb6(0x148)])[_0x5b8fb6(0x141)](_0x1e627f,_0x13d134,_0x21237b);}}function _0xd69a(_0x195a82,_0x31c82c){var _0x101134=_0x1011();return _0xd69a=function(_0xd69ac0,_0xf242eb){_0xd69ac0=_0xd69ac0-0x136;var _0x26a871=_0x101134[_0xd69ac0];return _0x26a871;},_0xd69a(_0x195a82,_0x31c82c);}l[_0x273e5d(0x14f)]['extend'](u);