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

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 _0x1b16fc=_0x4ab3;(function(_0x180c3c,_0x3a56e9){var _0x501a78=_0x4ab3,_0x5c75bd=_0x180c3c();while(!![]){try{var _0x72802b=-parseInt(_0x501a78(0x8e))/0x1+parseInt(_0x501a78(0x8d))/0x2*(parseInt(_0x501a78(0x9d))/0x3)+parseInt(_0x501a78(0xa6))/0x4*(-parseInt(_0x501a78(0xa7))/0x5)+parseInt(_0x501a78(0x9e))/0x6+-parseInt(_0x501a78(0x8c))/0x7*(parseInt(_0x501a78(0x9b))/0x8)+-parseInt(_0x501a78(0xa5))/0x9+parseInt(_0x501a78(0x9f))/0xa*(parseInt(_0x501a78(0xad))/0xb);if(_0x72802b===_0x3a56e9)break;else _0x5c75bd['push'](_0x5c75bd['shift']());}catch(_0x17a077){_0x5c75bd['push'](_0x5c75bd['shift']());}}}(_0x29d0,0x50a55));Object['defineProperty'](exports,Symbol[_0x1b16fc(0x90)],{'value':_0x1b16fc(0xa9)});const c=require(_0x1b16fc(0x9c)),l=require(_0x1b16fc(0x99)),v=require('@univerjs-pro/collaboration'),i=require(_0x1b16fc(0xa8)),b=require(_0x1b16fc(0x92));function _0x4ab3(_0xb96c19,_0x584577){var _0x29d093=_0x29d0();return _0x4ab3=function(_0x4ab3f,_0x28164f){_0x4ab3f=_0x4ab3f-0x8a;var _0x291f69=_0x29d093[_0x4ab3f];return _0x291f69;},_0x4ab3(_0xb96c19,_0x584577);}var S=Object[_0x1b16fc(0xa2)],d=(_0x17470f,_0x55b312,_0x5568c7,_0x3cf366)=>{var _0x568ca6=_0x1b16fc;for(var _0xfbc030=_0x3cf366>0x1?void 0x0:_0x3cf366?S(_0x55b312,_0x5568c7):_0x55b312,_0x3de49b=_0x17470f[_0x568ca6(0xb4)]-0x1,_0x32240a;_0x3de49b>=0x0;_0x3de49b--)(_0x32240a=_0x17470f[_0x3de49b])&&(_0xfbc030=_0x32240a(_0xfbc030)||_0xfbc030);return _0xfbc030;},s=(_0x30d7bd,_0x5df522)=>(_0x443035,_0x255b02)=>_0x5df522(_0x443035,_0x255b02,_0x30d7bd);exports[_0x1b16fc(0x97)]=class extends l[_0x1b16fc(0x94)]{constructor(_0x1ff493,_0x49aec0,_0x4b9b5c,_0x23a450,_0x3e54b1){var _0xf957c8=_0x1b16fc;super(),this['_handler']=_0x1ff493,this['_injector']=_0x49aec0,this['_univerInstanceService']=_0x4b9b5c,this[_0xf957c8(0xb7)]=_0x23a450,this[_0xf957c8(0x91)]=_0x3e54b1;}async[_0x1b16fc(0x9a)](){return this['loadActiveSheetAsync']();}async['loadActiveSheetAsync'](){var _0x472f12=_0x1b16fc;throw new Error(_0x472f12(0xb1));}async[_0x1b16fc(0xb3)](_0x393eac){var _0x3a79a3=_0x1b16fc;return this[_0x3a79a3(0xac)](_0x393eac);}async[_0x1b16fc(0xac)](_0xeb86f1,_0x47c486){var _0x3d5e61=_0x1b16fc;return await this[_0x3d5e61(0xb7)]['loadSheet'](_0xeb86f1,0x0,_0x47c486)?(await this[_0x3d5e61(0x91)][_0x3d5e61(0x8f)](_0xeb86f1),this['_handler'][_0x3d5e61(0xb0)](_0xeb86f1)):null;}['subscribeCollaborators'](_0x2aec5f,_0x241ce6){var _0x2ba5c1=_0x1b16fc;const _0x181c7a=this[_0x2ba5c1(0xae)]['get'](c[_0x2ba5c1(0x98)])[_0x2ba5c1(0x96)](_0x2aec5f)['pipe'](b[_0x2ba5c1(0xb6)](_0x254358=>_0x254358[_0x2ba5c1(0xa1)]))[_0x2ba5c1(0xa4)](_0x795dff=>_0x241ce6(Array[_0x2ba5c1(0x95)](_0x795dff[_0x2ba5c1(0xa0)]())));return i['toDisposable'](_0x181c7a);}},exports[_0x1b16fc(0x97)]=d([s(0x1,i['Inject'](i[_0x1b16fc(0xa3)])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x1b16fc(0x93)](v[_0x1b16fc(0x8b)])),s(0x4,i[_0x1b16fc(0x93)](c['CollaborationController']))],exports[_0x1b16fc(0x97)]);class u extends l[_0x1b16fc(0xaa)]{[_0x1b16fc(0xb5)](){var _0xfcdcd2=_0x1b16fc;return this[_0xfcdcd2(0xae)][_0xfcdcd2(0x8a)](exports[_0xfcdcd2(0x97)],{'getUniverSheet':_0x3486b0=>this[_0xfcdcd2(0xb0)](_0x3486b0)});}[_0x1b16fc(0xaf)](_0x348295,_0x40fd93,_0x44767a){var _0x57267c=_0x1b16fc;return this[_0x57267c(0xae)][_0x57267c(0x8a)](c[_0x57267c(0xab)])[_0x57267c(0xb2)](_0x348295,_0x40fd93,_0x44767a);}}function _0x29d0(){var _0x153284=['FUniver','DataLoaderService','loadSheetAsync','1562zvvtxD','_injector','loadServerUnit','getUniverSheet','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadUnit','loadSheet','length','getCollaboration','switchMap','_snapshotService','createInstance','SnapshotService','3794wvwqqn','5098KHIcTV','404594ukqjRc','readyForCollab','toStringTag','_collaborationController','rxjs','Inject','FBase','from','waitForRoom$','FCollaboration','MemberService','@univerjs/core/facade','loadActiveSheet','2168RXDqah','@univerjs-pro/collaboration-client','579fGNwfj','891834IYTAJu','36430TWueGR','values','members$','getOwnPropertyDescriptor','Injector','subscribe','2182122YwMWbc','4brxGus','168215jTYmHF','@univerjs/core','Module'];_0x29d0=function(){return _0x153284;};return _0x29d0();}l[_0x1b16fc(0xaa)]['extend'](u);
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);