@univerjs-pro/collaboration-client 0.9.1 → 0.9.2-nightly.202507111607

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';function _0x3f1d(_0x4bb533,_0x34e52c){var _0xa2fc85=_0xa2fc();return _0x3f1d=function(_0x3f1d49,_0x4fe5b3){_0x3f1d49=_0x3f1d49-0x17b;var _0x2605d0=_0xa2fc85[_0x3f1d49];return _0x2605d0;},_0x3f1d(_0x4bb533,_0x34e52c);}var _0xf1e15b=_0x3f1d;(function(_0x1850d4,_0x42429d){var _0x5c20ef=_0x3f1d,_0x9dc602=_0x1850d4();while(!![]){try{var _0x5cde12=parseInt(_0x5c20ef(0x18a))/0x1*(-parseInt(_0x5c20ef(0x18c))/0x2)+-parseInt(_0x5c20ef(0x19a))/0x3*(parseInt(_0x5c20ef(0x1a2))/0x4)+parseInt(_0x5c20ef(0x17b))/0x5+-parseInt(_0x5c20ef(0x1ab))/0x6*(parseInt(_0x5c20ef(0x1ad))/0x7)+-parseInt(_0x5c20ef(0x19c))/0x8*(parseInt(_0x5c20ef(0x1a5))/0x9)+parseInt(_0x5c20ef(0x183))/0xa*(-parseInt(_0x5c20ef(0x18b))/0xb)+-parseInt(_0x5c20ef(0x1a0))/0xc*(-parseInt(_0x5c20ef(0x1a8))/0xd);if(_0x5cde12===_0x42429d)break;else _0x9dc602['push'](_0x9dc602['shift']());}catch(_0x3e1b8b){_0x9dc602['push'](_0x9dc602['shift']());}}}(_0xa2fc,0x7c3b1));Object[_0xf1e15b(0x17d)](exports,Symbol[_0xf1e15b(0x198)],{'value':_0xf1e15b(0x189)});const c=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),h=require('@univerjs-pro/collaboration'),n=require('@univerjs/core'),b=require('rxjs');var d=Object[_0xf1e15b(0x19b)],S=(_0x1f1e97,_0x3198b6,_0x373c8d,_0xc6e457)=>{for(var _0x1517ca=_0xc6e457>0x1?void 0x0:_0xc6e457?d(_0x3198b6,_0x373c8d):_0x3198b6,_0x35557a=_0x1f1e97['length']-0x1,_0x3ff8bc;_0x35557a>=0x0;_0x35557a--)(_0x3ff8bc=_0x1f1e97[_0x35557a])&&(_0x1517ca=_0x3ff8bc(_0x1517ca)||_0x1517ca);return _0x1517ca;},s=(_0x549cb0,_0x24d7dc)=>(_0xee4cef,_0x2bf7a4)=>_0x24d7dc(_0xee4cef,_0x2bf7a4,_0x549cb0);function _0xa2fc(){var _0x184a23=['4BuMbLP','getUniverSheet','_univerInstanceService','27gxUvlU','from','_snapshotService','85631GRuuFC','extend','_handler','621252qEdQkJ','values','7uSULzI','3053055sIWaZM','Inject','defineProperty','switchMap','pipe','loadActiveSheet','_collaborationController','loadSheet','1787630njsZRs','loadServerUnit','loadActiveSheetAsync','FCollaboration','CollaborationController','DataLoaderService','Module','171739mmPzQP','55pRyjQp','6pbCKgZ','createInstance','loadUnitOfRevision','getCollaboration','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','IUniverInstanceService','get','loadServerUnitOfRevision','FBase','SnapshotService','FUniver','members$','toStringTag','subscribeCollaborators','1068603yclgJz','getOwnPropertyDescriptor','1752008WQaaCu','loadSheetAsync','_injector','readyForCollab','4416gRcwnI','loadUnit'];_0xa2fc=function(){return _0x184a23;};return _0xa2fc();}exports[_0xf1e15b(0x186)]=class extends l[_0xf1e15b(0x194)]{constructor(_0x211fcd,_0x385d84,_0x1ae0f9,_0x1e0183,_0x2023e1){var _0x166c6e=_0xf1e15b;super(),this[_0x166c6e(0x1aa)]=_0x211fcd,this[_0x166c6e(0x19e)]=_0x385d84,this[_0x166c6e(0x1a4)]=_0x1ae0f9,this[_0x166c6e(0x1a7)]=_0x1e0183,this[_0x166c6e(0x181)]=_0x2023e1;}async[_0xf1e15b(0x180)](){var _0x5e648a=_0xf1e15b;return this[_0x5e648a(0x185)]();}async[_0xf1e15b(0x185)](){var _0x47f1ba=_0xf1e15b;throw new Error(_0x47f1ba(0x190));}async[_0xf1e15b(0x182)](_0x1d3bda){var _0x2ee65e=_0xf1e15b;return this[_0x2ee65e(0x19d)](_0x1d3bda);}async[_0xf1e15b(0x19d)](_0x409c02,_0x404b7f){var _0xdc0c96=_0xf1e15b;return await this[_0xdc0c96(0x1a7)][_0xdc0c96(0x182)](_0x409c02,0x0,_0x404b7f)?(await this['_collaborationController'][_0xdc0c96(0x19f)](_0x409c02),this[_0xdc0c96(0x1aa)][_0xdc0c96(0x1a3)](_0x409c02)):null;}[_0xf1e15b(0x199)](_0x3efc8f,_0x27787e){var _0xd3dd5a=_0xf1e15b;const _0x152229=this[_0xd3dd5a(0x19e)][_0xd3dd5a(0x192)](c['MemberService'])['waitForRoom$'](_0x3efc8f)[_0xd3dd5a(0x17f)](b[_0xd3dd5a(0x17e)](_0x4b010b=>_0x4b010b[_0xd3dd5a(0x197)]))['subscribe'](_0x198258=>_0x27787e(Array[_0xd3dd5a(0x1a6)](_0x198258[_0xd3dd5a(0x1ac)]())));return n['toDisposable'](_0x152229);}},exports['FCollaboration']=S([s(0x1,n[_0xf1e15b(0x17c)](n['Injector'])),s(0x2,n[_0xf1e15b(0x191)]),s(0x3,n[_0xf1e15b(0x17c)](h[_0xf1e15b(0x195)])),s(0x4,n[_0xf1e15b(0x17c)](c[_0xf1e15b(0x187)]))],exports['FCollaboration']);class u extends l[_0xf1e15b(0x196)]{[_0xf1e15b(0x18f)](){var _0x346746=_0xf1e15b;return this[_0x346746(0x19e)][_0x346746(0x18d)](exports[_0x346746(0x186)],{'getUniverSheet':_0x2497fe=>this[_0x346746(0x1a3)](_0x2497fe)});}[_0xf1e15b(0x184)](_0x56a93f,_0x3e91e5,_0x1c9b13){var _0x4aaffd=_0xf1e15b;return this[_0x4aaffd(0x19e)][_0x4aaffd(0x192)](c[_0x4aaffd(0x188)])[_0x4aaffd(0x1a1)](_0x56a93f,_0x3e91e5,_0x1c9b13);}[_0xf1e15b(0x193)](_0x2e8bfb,_0x4e4dc2,_0x59861b){var _0x2b7632=_0xf1e15b;return this[_0x2b7632(0x19e)][_0x2b7632(0x192)](c[_0x2b7632(0x188)])[_0x2b7632(0x18e)](_0x2e8bfb,_0x4e4dc2,_0x59861b);}}l[_0xf1e15b(0x196)][_0xf1e15b(0x1a9)](u);
1
+ 'use strict';var _0x551d6f=_0x35c2;(function(_0x1eb1d2,_0x2adc79){var _0x5571fc=_0x35c2,_0x5166c8=_0x1eb1d2();while(!![]){try{var _0x42ee48=-parseInt(_0x5571fc(0x7f))/0x1*(parseInt(_0x5571fc(0x86))/0x2)+-parseInt(_0x5571fc(0x71))/0x3+parseInt(_0x5571fc(0x89))/0x4*(parseInt(_0x5571fc(0x94))/0x5)+-parseInt(_0x5571fc(0x8f))/0x6*(parseInt(_0x5571fc(0x96))/0x7)+-parseInt(_0x5571fc(0x8c))/0x8+parseInt(_0x5571fc(0x7c))/0x9*(parseInt(_0x5571fc(0x9b))/0xa)+parseInt(_0x5571fc(0x99))/0xb;if(_0x42ee48===_0x2adc79)break;else _0x5166c8['push'](_0x5166c8['shift']());}catch(_0x4e4042){_0x5166c8['push'](_0x5166c8['shift']());}}}(_0x31a1,0x4a6c1));function _0x35c2(_0x35b10c,_0x38fa88){var _0x31a1ae=_0x31a1();return _0x35c2=function(_0x35c2d6,_0x46b3f6){_0x35c2d6=_0x35c2d6-0x6f;var _0x36558e=_0x31a1ae[_0x35c2d6];return _0x36558e;},_0x35c2(_0x35b10c,_0x38fa88);}Object[_0x551d6f(0x90)](exports,Symbol[_0x551d6f(0x95)],{'value':_0x551d6f(0x80)});const c=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),h=require('@univerjs-pro/collaboration'),n=require('@univerjs/core'),b=require('rxjs');var d=Object[_0x551d6f(0x7d)],S=(_0x3fe60b,_0x3b416b,_0x2c530c,_0x43915b)=>{var _0x2867e2=_0x551d6f;for(var _0x5ce18b=_0x43915b>0x1?void 0x0:_0x43915b?d(_0x3b416b,_0x2c530c):_0x3b416b,_0x5ea6fb=_0x3fe60b[_0x2867e2(0x73)]-0x1,_0x3c7704;_0x5ea6fb>=0x0;_0x5ea6fb--)(_0x3c7704=_0x3fe60b[_0x5ea6fb])&&(_0x5ce18b=_0x3c7704(_0x5ce18b)||_0x5ce18b);return _0x5ce18b;},s=(_0xcd63c,_0x557864)=>(_0x5645e8,_0x5a2122)=>_0x557864(_0x5645e8,_0x5a2122,_0xcd63c);exports[_0x551d6f(0x83)]=class extends l[_0x551d6f(0x97)]{constructor(_0x25331f,_0x1ae40c,_0xed971d,_0x4e65ef,_0x565594){var _0x158f59=_0x551d6f;super(),this[_0x158f59(0x8d)]=_0x25331f,this[_0x158f59(0x78)]=_0x1ae40c,this[_0x158f59(0x87)]=_0xed971d,this[_0x158f59(0x8b)]=_0x4e65ef,this['_collaborationController']=_0x565594;}async['loadActiveSheet'](){var _0x47367f=_0x551d6f;return this[_0x47367f(0x8a)]();}async[_0x551d6f(0x8a)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x33a6fc){var _0x1cf8ac=_0x551d6f;return this[_0x1cf8ac(0x9c)](_0x33a6fc);}async['loadSheetAsync'](_0x16bebe,_0x1e429b){var _0x4915ac=_0x551d6f;return await this['_snapshotService'][_0x4915ac(0x9a)](_0x16bebe,0x0,_0x1e429b)?(await this[_0x4915ac(0x74)]['readyForCollab'](_0x16bebe),this[_0x4915ac(0x8d)][_0x4915ac(0x8e)](_0x16bebe)):null;}[_0x551d6f(0x91)](_0x5da876,_0x2291d5){var _0x14a3f1=_0x551d6f;const _0x204efc=this[_0x14a3f1(0x78)][_0x14a3f1(0x70)](c[_0x14a3f1(0x75)])[_0x14a3f1(0x84)](_0x5da876)[_0x14a3f1(0x72)](b[_0x14a3f1(0x77)](_0x31b76a=>_0x31b76a['members$']))[_0x14a3f1(0x81)](_0x15a490=>_0x2291d5(Array['from'](_0x15a490[_0x14a3f1(0x7b)]())));return n[_0x14a3f1(0x98)](_0x204efc);}},exports[_0x551d6f(0x83)]=S([s(0x1,n['Inject'](n[_0x551d6f(0x79)])),s(0x2,n['IUniverInstanceService']),s(0x3,n[_0x551d6f(0x7e)](h[_0x551d6f(0x88)])),s(0x4,n[_0x551d6f(0x7e)](c['CollaborationController']))],exports[_0x551d6f(0x83)]);class u extends l['FUniver']{['getCollaboration'](){var _0x2db7ac=_0x551d6f;return this['_injector'][_0x2db7ac(0x92)](exports[_0x2db7ac(0x83)],{'getUniverSheet':_0x48088a=>this[_0x2db7ac(0x8e)](_0x48088a)});}[_0x551d6f(0x85)](_0x59e69e,_0xcfdf40,_0x262730){var _0x3de268=_0x551d6f;return this[_0x3de268(0x78)][_0x3de268(0x70)](c[_0x3de268(0x82)])[_0x3de268(0x6f)](_0x59e69e,_0xcfdf40,_0x262730);}['loadServerUnitOfRevision'](_0x48f544,_0x4262a4,_0x285342){var _0x55aca7=_0x551d6f;return this[_0x55aca7(0x78)][_0x55aca7(0x70)](c[_0x55aca7(0x82)])[_0x55aca7(0x76)](_0x48f544,_0x4262a4,_0x285342);}}function _0x31a1(){var _0x3a4c9b=['toStringTag','4697AlFtFi','FBase','toDisposable','20255829pIzuGL','loadSheet','165130bSrUAx','loadSheetAsync','loadUnit','get','1787115BgxLVz','pipe','length','_collaborationController','MemberService','loadUnitOfRevision','switchMap','_injector','Injector','FUniver','values','54eTQiiL','getOwnPropertyDescriptor','Inject','12gMqEhd','Module','subscribe','DataLoaderService','FCollaboration','waitForRoom$','loadServerUnit','87146SbDhwX','_univerInstanceService','SnapshotService','4892ZTLVDy','loadActiveSheetAsync','_snapshotService','4138632znZIvd','_handler','getUniverSheet','4602sqDEez','defineProperty','subscribeCollaborators','createInstance','extend','2105qTTDxK'];_0x31a1=function(){return _0x3a4c9b;};return _0x31a1();}l[_0x551d6f(0x7a)][_0x551d6f(0x93)](u);