@univerjs-pro/collaboration-client 0.6.10-nightly.202504121606 → 0.6.10-nightly.202504141607

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 _0x4339ca=_0x2cc2;(function(_0x333e1f,_0x4baf55){var _0x34df56=_0x2cc2,_0x1eaee6=_0x333e1f();while(!![]){try{var _0x4106ba=parseInt(_0x34df56(0x72))/0x1+-parseInt(_0x34df56(0x6c))/0x2+-parseInt(_0x34df56(0x6a))/0x3+parseInt(_0x34df56(0x76))/0x4+parseInt(_0x34df56(0x86))/0x5*(-parseInt(_0x34df56(0x94))/0x6)+parseInt(_0x34df56(0x96))/0x7*(parseInt(_0x34df56(0x92))/0x8)+-parseInt(_0x34df56(0x65))/0x9*(-parseInt(_0x34df56(0x7a))/0xa);if(_0x4106ba===_0x4baf55)break;else _0x1eaee6['push'](_0x1eaee6['shift']());}catch(_0x324dd0){_0x1eaee6['push'](_0x1eaee6['shift']());}}}(_0x38dc,0xe3d46));function _0x2cc2(_0x46606b,_0x264681){var _0x38dccb=_0x38dc();return _0x2cc2=function(_0x2cc2fe,_0x4f295f){_0x2cc2fe=_0x2cc2fe-0x64;var _0x5295ff=_0x38dccb[_0x2cc2fe];return _0x5295ff;},_0x2cc2(_0x46606b,_0x264681);}Object[_0x4339ca(0x87)](exports,Symbol[_0x4339ca(0x75)],{'value':'Module'});const c=require(_0x4339ca(0x7b)),l=require(_0x4339ca(0x6b)),v=require('@univerjs-pro/collaboration'),i=require(_0x4339ca(0x8a)),b=require(_0x4339ca(0x82));var S=Object[_0x4339ca(0x74)],d=(_0x4e57ef,_0x1d252e,_0x1c1e3a,_0x57279d)=>{var _0x407467=_0x4339ca;for(var _0x506fc8=_0x57279d>0x1?void 0x0:_0x57279d?S(_0x1d252e,_0x1c1e3a):_0x1d252e,_0x2f537e=_0x4e57ef[_0x407467(0x8c)]-0x1,_0x188edb;_0x2f537e>=0x0;_0x2f537e--)(_0x188edb=_0x4e57ef[_0x2f537e])&&(_0x506fc8=_0x188edb(_0x506fc8)||_0x506fc8);return _0x506fc8;},s=(_0x104565,_0x55bae8)=>(_0x2e8e83,_0x476b2a)=>_0x55bae8(_0x2e8e83,_0x476b2a,_0x104565);exports[_0x4339ca(0x93)]=class extends l[_0x4339ca(0x95)]{constructor(_0x36655b,_0x35968f,_0x540ec0,_0x1b63ee,_0x36e93c){var _0x2618e8=_0x4339ca;super(),this[_0x2618e8(0x84)]=_0x36655b,this[_0x2618e8(0x67)]=_0x35968f,this[_0x2618e8(0x8b)]=_0x540ec0,this[_0x2618e8(0x8e)]=_0x1b63ee,this[_0x2618e8(0x68)]=_0x36e93c;}async[_0x4339ca(0x7f)](){var _0x3d5bf5=_0x4339ca;return this[_0x3d5bf5(0x8f)]();}async[_0x4339ca(0x8f)](){var _0x3215fb=_0x4339ca;throw new Error(_0x3215fb(0x81));}async['loadSheet'](_0x31912b){var _0x12748f=_0x4339ca;return this[_0x12748f(0x64)](_0x31912b);}async['loadSheetAsync'](_0x116fc7,_0x2468ae){var _0x53d043=_0x4339ca;return await this['_snapshotService'][_0x53d043(0x6f)](_0x116fc7,0x0,_0x2468ae)?(await this['_collaborationController']['readyForCollab'](_0x116fc7),this['_handler'][_0x53d043(0x88)](_0x116fc7)):null;}[_0x4339ca(0x91)](_0x295b0f,_0x5c67fa){var _0xad682e=_0x4339ca;const _0x1881ea=this['_injector'][_0xad682e(0x71)](c['MemberService'])[_0xad682e(0x66)](_0x295b0f)[_0xad682e(0x7d)](b[_0xad682e(0x97)](_0x447193=>_0x447193[_0xad682e(0x6d)]))[_0xad682e(0x6e)](_0x420d69=>_0x5c67fa(Array[_0xad682e(0x83)](_0x420d69[_0xad682e(0x90)]())));return i[_0xad682e(0x8d)](_0x1881ea);}},exports[_0x4339ca(0x93)]=d([s(0x1,i[_0x4339ca(0x70)](i[_0x4339ca(0x79)])),s(0x2,i[_0x4339ca(0x89)]),s(0x3,i[_0x4339ca(0x70)](v[_0x4339ca(0x7c)])),s(0x4,i['Inject'](c[_0x4339ca(0x7e)]))],exports['FCollaboration']);function _0x38dc(){var _0x5dba6a=['createInstance','getCollaboration','Injector','10dVtarx','@univerjs-pro/collaboration-client','SnapshotService','pipe','CollaborationController','loadActiveSheet','DataLoaderService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','rxjs','from','_handler','FUniver','245GlkCSH','defineProperty','getUniverSheet','IUniverInstanceService','@univerjs/core','_univerInstanceService','length','toDisposable','_snapshotService','loadActiveSheetAsync','values','subscribeCollaborators','4313656KxxAYv','FCollaboration','70230vgSmtn','FBase','7PCtbFf','switchMap','loadSheetAsync','2756727NhdpBB','waitForRoom$','_injector','_collaborationController','loadServerUnit','4075554mcthEy','@univerjs/core/facade','63586ULGHmn','members$','subscribe','loadSheet','Inject','get','1627928KQiQto','extend','getOwnPropertyDescriptor','toStringTag','1694432Knldni'];_0x38dc=function(){return _0x5dba6a;};return _0x38dc();}class u extends l[_0x4339ca(0x85)]{[_0x4339ca(0x78)](){var _0x12a85f=_0x4339ca;return this[_0x12a85f(0x67)]['createInstance'](exports['FCollaboration'],{'getUniverSheet':_0x583f53=>this['getUniverSheet'](_0x583f53)});}[_0x4339ca(0x69)](_0x35aa4a,_0x1c597f,_0x3d9d45){var _0x215973=_0x4339ca;return this[_0x215973(0x67)][_0x215973(0x77)](c[_0x215973(0x80)])['loadUnit'](_0x35aa4a,_0x1c597f,_0x3d9d45);}}l[_0x4339ca(0x85)][_0x4339ca(0x73)](u);
1
+ 'use strict';var _0xe83cc7=_0xbf39;(function(_0x42b662,_0x487f33){var _0x4279c0=_0xbf39,_0x1344d2=_0x42b662();while(!![]){try{var _0xbdd60b=-parseInt(_0x4279c0(0x180))/0x1*(-parseInt(_0x4279c0(0x17d))/0x2)+parseInt(_0x4279c0(0x198))/0x3*(parseInt(_0x4279c0(0x18b))/0x4)+parseInt(_0x4279c0(0x19f))/0x5*(parseInt(_0x4279c0(0x195))/0x6)+parseInt(_0x4279c0(0x1a1))/0x7*(parseInt(_0x4279c0(0x188))/0x8)+-parseInt(_0x4279c0(0x172))/0x9*(-parseInt(_0x4279c0(0x17c))/0xa)+-parseInt(_0x4279c0(0x176))/0xb+parseInt(_0x4279c0(0x179))/0xc*(-parseInt(_0x4279c0(0x18f))/0xd);if(_0xbdd60b===_0x487f33)break;else _0x1344d2['push'](_0x1344d2['shift']());}catch(_0x3c185f){_0x1344d2['push'](_0x1344d2['shift']());}}}(_0x669a,0x341e8));function _0x669a(){var _0x10c115=['113971IVkSeT','createInstance','get','FBase','loadActiveSheet','rxjs','1643034JYXNWN','_univerInstanceService','Injector','10359GDVdob','_collaborationController','@univerjs/core','CollaborationController','FUniver','@univerjs-pro/collaboration','members$','5yVxnYA','_injector','203714PgnSYm','switchMap','_snapshotService','@univerjs/core/facade','2196yobrKN','getUniverSheet','from','getCollaboration','3544497KfoXJJ','subscribe','loadSheet','1176viHfGA','IUniverInstanceService','loadActiveSheetAsync','11580KDdtTm','197510UKpVhC','toDisposable','values','4uUYMiC','Inject','_handler','length','loadServerUnit','subscribeCollaborators','@univerjs-pro/collaboration-client','loadSheetAsync','8gjQuDb','FCollaboration','waitForRoom$','480QSEFPt','loadUnit','readyForCollab','defineProperty'];_0x669a=function(){return _0x10c115;};return _0x669a();}Object[_0xe83cc7(0x18e)](exports,Symbol['toStringTag'],{'value':'Module'});const c=require(_0xe83cc7(0x186)),l=require(_0xe83cc7(0x171)),v=require(_0xe83cc7(0x19d)),i=require(_0xe83cc7(0x19a)),b=require(_0xe83cc7(0x194));var S=Object['getOwnPropertyDescriptor'],d=(_0x2cfc0d,_0x21b8cf,_0x467049,_0x220dbb)=>{var _0x3d442c=_0xe83cc7;for(var _0x5bf8bd=_0x220dbb>0x1?void 0x0:_0x220dbb?S(_0x21b8cf,_0x467049):_0x21b8cf,_0x253850=_0x2cfc0d[_0x3d442c(0x183)]-0x1,_0x49513e;_0x253850>=0x0;_0x253850--)(_0x49513e=_0x2cfc0d[_0x253850])&&(_0x5bf8bd=_0x49513e(_0x5bf8bd)||_0x5bf8bd);return _0x5bf8bd;},s=(_0x217980,_0x3b3c93)=>(_0x20b5c4,_0x399f5f)=>_0x3b3c93(_0x20b5c4,_0x399f5f,_0x217980);function _0xbf39(_0x41297f,_0x503317){var _0x669aff=_0x669a();return _0xbf39=function(_0xbf3980,_0x4b9260){_0xbf3980=_0xbf3980-0x171;var _0x4a2139=_0x669aff[_0xbf3980];return _0x4a2139;},_0xbf39(_0x41297f,_0x503317);}exports[_0xe83cc7(0x189)]=class extends l[_0xe83cc7(0x192)]{constructor(_0x57b7a5,_0x1ffbcd,_0xfacab5,_0x90c56a,_0x4e6d2f){var _0x2f0c92=_0xe83cc7;super(),this[_0x2f0c92(0x182)]=_0x57b7a5,this['_injector']=_0x1ffbcd,this[_0x2f0c92(0x196)]=_0xfacab5,this[_0x2f0c92(0x1a3)]=_0x90c56a,this[_0x2f0c92(0x199)]=_0x4e6d2f;}async[_0xe83cc7(0x193)](){var _0x52ad56=_0xe83cc7;return this[_0x52ad56(0x17b)]();}async['loadActiveSheetAsync'](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0xe83cc7(0x178)](_0x836d48){return this['loadSheetAsync'](_0x836d48);}async[_0xe83cc7(0x187)](_0x466fb4,_0x555eba){var _0x3ad323=_0xe83cc7;return await this['_snapshotService']['loadSheet'](_0x466fb4,0x0,_0x555eba)?(await this[_0x3ad323(0x199)][_0x3ad323(0x18d)](_0x466fb4),this[_0x3ad323(0x182)][_0x3ad323(0x173)](_0x466fb4)):null;}[_0xe83cc7(0x185)](_0x2d985b,_0x239782){var _0x1cc0b7=_0xe83cc7;const _0x3baa8f=this['_injector'][_0x1cc0b7(0x191)](c['MemberService'])[_0x1cc0b7(0x18a)](_0x2d985b)['pipe'](b[_0x1cc0b7(0x1a2)](_0x579641=>_0x579641[_0x1cc0b7(0x19e)]))[_0x1cc0b7(0x177)](_0x4e3ad6=>_0x239782(Array[_0x1cc0b7(0x174)](_0x4e3ad6[_0x1cc0b7(0x17f)]())));return i[_0x1cc0b7(0x17e)](_0x3baa8f);}},exports[_0xe83cc7(0x189)]=d([s(0x1,i[_0xe83cc7(0x181)](i[_0xe83cc7(0x197)])),s(0x2,i[_0xe83cc7(0x17a)]),s(0x3,i[_0xe83cc7(0x181)](v['SnapshotService'])),s(0x4,i[_0xe83cc7(0x181)](c[_0xe83cc7(0x19b)]))],exports[_0xe83cc7(0x189)]);class u extends l[_0xe83cc7(0x19c)]{[_0xe83cc7(0x175)](){var _0x2f90df=_0xe83cc7;return this[_0x2f90df(0x1a0)][_0x2f90df(0x190)](exports[_0x2f90df(0x189)],{'getUniverSheet':_0x4d8c9f=>this[_0x2f90df(0x173)](_0x4d8c9f)});}[_0xe83cc7(0x184)](_0x11c071,_0x5ea053,_0x18895a){var _0x2ba59a=_0xe83cc7;return this[_0x2ba59a(0x1a0)][_0x2ba59a(0x190)](c['DataLoaderService'])[_0x2ba59a(0x18c)](_0x11c071,_0x5ea053,_0x18895a);}}l[_0xe83cc7(0x19c)]['extend'](u);