@univerjs-pro/collaboration-client 0.5.4-nightly.202501160647 → 0.5.4-nightly.202501160949

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 _0x2eaa14=_0x4fdd;function _0x4fdd(_0x15713f,_0x56f1a0){var _0x284cc3=_0x284c();return _0x4fdd=function(_0x4fddb3,_0x57116e){_0x4fddb3=_0x4fddb3-0x170;var _0x3ba197=_0x284cc3[_0x4fddb3];return _0x3ba197;},_0x4fdd(_0x15713f,_0x56f1a0);}(function(_0x334e2a,_0xf7dae6){var _0x3009b9=_0x4fdd,_0x550261=_0x334e2a();while(!![]){try{var _0x99a454=-parseInt(_0x3009b9(0x189))/0x1*(-parseInt(_0x3009b9(0x18a))/0x2)+-parseInt(_0x3009b9(0x180))/0x3*(-parseInt(_0x3009b9(0x175))/0x4)+-parseInt(_0x3009b9(0x176))/0x5+parseInt(_0x3009b9(0x185))/0x6*(-parseInt(_0x3009b9(0x193))/0x7)+-parseInt(_0x3009b9(0x17c))/0x8+-parseInt(_0x3009b9(0x179))/0x9+-parseInt(_0x3009b9(0x19a))/0xa*(-parseInt(_0x3009b9(0x17a))/0xb);if(_0x99a454===_0xf7dae6)break;else _0x550261['push'](_0x550261['shift']());}catch(_0x29e878){_0x550261['push'](_0x550261['shift']());}}}(_0x284c,0xf01a6));Object[_0x2eaa14(0x182)](exports,Symbol[_0x2eaa14(0x199)],{'value':'Module'});const o=require('@univerjs/core'),h=require(_0x2eaa14(0x18f)),c=require(_0x2eaa14(0x194)),b=require('rxjs');var v=Object[_0x2eaa14(0x182)],u=Object[_0x2eaa14(0x198)],S=(_0x63eb71,_0x51abaa,_0x1f186c,_0x18084e)=>{var _0xd0a535=_0x2eaa14;for(var _0x66469f=_0x18084e>0x1?void 0x0:_0x18084e?u(_0x51abaa,_0x1f186c):_0x51abaa,_0x95512b=_0x63eb71[_0xd0a535(0x19b)]-0x1,_0x5c1781;_0x95512b>=0x0;_0x95512b--)(_0x5c1781=_0x63eb71[_0x95512b])&&(_0x66469f=(_0x18084e?_0x5c1781(_0x51abaa,_0x1f186c,_0x66469f):_0x5c1781(_0x66469f))||_0x66469f);return _0x18084e&&_0x66469f&&v(_0x51abaa,_0x1f186c,_0x66469f),_0x66469f;},s=(_0x382c97,_0x47ffe7)=>(_0x44f3ca,_0x591ffb)=>_0x47ffe7(_0x44f3ca,_0x591ffb,_0x382c97);exports[_0x2eaa14(0x191)]=class extends o['FBase']{constructor(_0x265f83,_0xfd1f3a,_0x661b4f,_0x41e329,_0x2f597b){var _0x28f87d=_0x2eaa14;super(),this[_0x28f87d(0x17f)]=_0x265f83,this[_0x28f87d(0x18d)]=_0xfd1f3a,this['_univerInstanceService']=_0x661b4f,this[_0x28f87d(0x178)]=_0x41e329,this[_0x28f87d(0x188)]=_0x2f597b;}async[_0x2eaa14(0x183)](){var _0x4e5bd8=_0x2eaa14;return this[_0x4e5bd8(0x177)]();}async[_0x2eaa14(0x177)](){var _0x3437bc=_0x2eaa14;throw new Error(_0x3437bc(0x171));}async[_0x2eaa14(0x17d)](_0xe4f7dc){return this['loadSheetAsync'](_0xe4f7dc);}async[_0x2eaa14(0x174)](_0x42efe7){var _0x1dd7f4=_0x2eaa14;return this[_0x1dd7f4(0x18b)][_0x1dd7f4(0x170)](_0x42efe7,o[_0x1dd7f4(0x186)][_0x1dd7f4(0x187)])||await this[_0x1dd7f4(0x178)]['loadSheet'](_0x42efe7,0x0)?(await this[_0x1dd7f4(0x188)][_0x1dd7f4(0x190)](_0x42efe7),this[_0x1dd7f4(0x17f)][_0x1dd7f4(0x172)](_0x42efe7)):null;}['subscribeCollaborators'](_0x1e4550,_0x4b1a06){var _0x981524=_0x2eaa14;const _0x4b3961=this['_injector']['get'](c[_0x981524(0x196)])['waitForRoom$'](_0x1e4550)[_0x981524(0x197)](b[_0x981524(0x192)](_0x330022=>_0x330022[_0x981524(0x17b)]))[_0x981524(0x18c)](_0x20a37a=>_0x4b1a06(Array['from'](_0x20a37a[_0x981524(0x181)]())));return o[_0x981524(0x195)](_0x4b3961);}},exports['FCollaboration']=S([s(0x1,o['Inject'](o['Injector'])),s(0x2,o['IUniverInstanceService']),s(0x3,o['Inject'](h['SnapshotService'])),s(0x4,o['Inject'](c['CollaborationController']))],exports['FCollaboration']);class _ extends o[_0x2eaa14(0x17e)]{[_0x2eaa14(0x184)](){var _0x61431c=_0x2eaa14;return this[_0x61431c(0x18d)][_0x61431c(0x18e)](exports[_0x61431c(0x191)],{'getUniverSheet':_0x2aa65e=>this[_0x61431c(0x172)](_0x2aa65e)});}}function _0x284c(){var _0x288caf=['pipe','getOwnPropertyDescriptor','toStringTag','3184710dKEoRn','length','getUnit','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','getUniverSheet','extend','loadSheetAsync','64FBchCs','3727280YmiVJM','loadActiveSheetAsync','_snapshotService','13230126xVoAZR','165KeeZWt','members$','4400488oyUStd','loadSheet','FUniver','_handler','10902ZQsKlA','values','defineProperty','loadActiveSheet','getCollaboration','34236wmaLsy','UniverInstanceType','UNIVER_SHEET','_collaborationController','3EjYIfQ','291524JFsDCf','_univerInstanceService','subscribe','_injector','createInstance','@univerjs-pro/collaboration','readyForCollab','FCollaboration','switchMap','1869YiQHpV','@univerjs-pro/collaboration-client','toDisposable','MemberService'];_0x284c=function(){return _0x288caf;};return _0x284c();}o[_0x2eaa14(0x17e)][_0x2eaa14(0x173)](_);
1
+ 'use strict';var _0x2ed896=_0x3101;(function(_0x48cb0a,_0x3d874c){var _0x521344=_0x3101,_0x35bb13=_0x48cb0a();while(!![]){try{var _0x220257=-parseInt(_0x521344(0xb6))/0x1*(parseInt(_0x521344(0xbd))/0x2)+-parseInt(_0x521344(0xc5))/0x3*(parseInt(_0x521344(0xa2))/0x4)+parseInt(_0x521344(0xac))/0x5+-parseInt(_0x521344(0xaf))/0x6*(parseInt(_0x521344(0xc2))/0x7)+parseInt(_0x521344(0x9e))/0x8*(parseInt(_0x521344(0xad))/0x9)+-parseInt(_0x521344(0xc7))/0xa*(parseInt(_0x521344(0xa3))/0xb)+parseInt(_0x521344(0xb9))/0xc*(parseInt(_0x521344(0xa6))/0xd);if(_0x220257===_0x3d874c)break;else _0x35bb13['push'](_0x35bb13['shift']());}catch(_0x573bfe){_0x35bb13['push'](_0x35bb13['shift']());}}}(_0x5e36,0xbcf9b));Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x2ed896(0xb4)});const o=require('@univerjs/core'),h=require('@univerjs-pro/collaboration'),c=require('@univerjs-pro/collaboration-client'),b=require('rxjs');function _0x3101(_0x249112,_0x15ef16){var _0x5e36ea=_0x5e36();return _0x3101=function(_0x310158,_0x5aebe5){_0x310158=_0x310158-0x9e;var _0x172259=_0x5e36ea[_0x310158];return _0x172259;},_0x3101(_0x249112,_0x15ef16);}var v=Object['defineProperty'],u=Object[_0x2ed896(0xb5)],S=(_0x465cc2,_0x48728d,_0x40bcc2,_0x258ca2)=>{var _0x10449f=_0x2ed896;for(var _0x5ebbc1=_0x258ca2>0x1?void 0x0:_0x258ca2?u(_0x48728d,_0x40bcc2):_0x48728d,_0x38f091=_0x465cc2[_0x10449f(0xa7)]-0x1,_0x378fd2;_0x38f091>=0x0;_0x38f091--)(_0x378fd2=_0x465cc2[_0x38f091])&&(_0x5ebbc1=(_0x258ca2?_0x378fd2(_0x48728d,_0x40bcc2,_0x5ebbc1):_0x378fd2(_0x5ebbc1))||_0x5ebbc1);return _0x258ca2&&_0x5ebbc1&&v(_0x48728d,_0x40bcc2,_0x5ebbc1),_0x5ebbc1;},s=(_0x121fdf,_0x1db000)=>(_0x37601f,_0x263ae8)=>_0x1db000(_0x37601f,_0x263ae8,_0x121fdf);exports['FCollaboration']=class extends o['FBase']{constructor(_0xf58697,_0x22da25,_0x5a0255,_0x578295,_0x299817){var _0x2daf27=_0x2ed896;super(),this['_handler']=_0xf58697,this['_injector']=_0x22da25,this[_0x2daf27(0x9f)]=_0x5a0255,this[_0x2daf27(0xb1)]=_0x578295,this[_0x2daf27(0xba)]=_0x299817;}async[_0x2ed896(0xc0)](){return this['loadActiveSheetAsync']();}async[_0x2ed896(0xc9)](){var _0x3942e8=_0x2ed896;throw new Error(_0x3942e8(0xa9));}async[_0x2ed896(0xae)](_0x5aff12){var _0x72bb22=_0x2ed896;return this[_0x72bb22(0xa0)](_0x5aff12);}async[_0x2ed896(0xa0)](_0x138a1f){var _0x1c8efb=_0x2ed896;return this[_0x1c8efb(0x9f)][_0x1c8efb(0xc8)](_0x138a1f,o['UniverInstanceType'][_0x1c8efb(0xb0)])||await this[_0x1c8efb(0xb1)][_0x1c8efb(0xae)](_0x138a1f,0x0)?(await this['_collaborationController'][_0x1c8efb(0xb8)](_0x138a1f),this[_0x1c8efb(0xc4)][_0x1c8efb(0xbf)](_0x138a1f)):null;}[_0x2ed896(0xc3)](_0x1221f4,_0x1f23ec){var _0x455a53=_0x2ed896;const _0x2d5e92=this[_0x455a53(0xa4)]['get'](c[_0x455a53(0xa1)])['waitForRoom$'](_0x1221f4)[_0x455a53(0xbc)](b['switchMap'](_0x490be7=>_0x490be7[_0x455a53(0xc6)]))[_0x455a53(0xb3)](_0x45361d=>_0x1f23ec(Array[_0x455a53(0xaa)](_0x45361d[_0x455a53(0xb2)]())));return o['toDisposable'](_0x2d5e92);}},exports[_0x2ed896(0xbe)]=S([s(0x1,o[_0x2ed896(0xab)](o[_0x2ed896(0xa5)])),s(0x2,o['IUniverInstanceService']),s(0x3,o[_0x2ed896(0xab)](h['SnapshotService'])),s(0x4,o[_0x2ed896(0xab)](c['CollaborationController']))],exports['FCollaboration']);function _0x5e36(){var _0x36e0b7=['MemberService','22984tznylW','437569dUTujG','_injector','Injector','13qgneut','length','extend','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','from','Inject','3493850ATCaWC','36ArPKfN','loadSheet','5572794dXIvUY','UNIVER_SHEET','_snapshotService','values','subscribe','Module','getOwnPropertyDescriptor','1ASnCXb','createInstance','readyForCollab','35689872FEJUJy','_collaborationController','FUniver','pipe','2925116qaULog','FCollaboration','getUniverSheet','loadActiveSheet','getCollaboration','7dolgWd','subscribeCollaborators','_handler','456IjSOkD','members$','140QUbWzd','getUnit','loadActiveSheetAsync','1845544qFDPvn','_univerInstanceService','loadSheetAsync'];_0x5e36=function(){return _0x36e0b7;};return _0x5e36();}class _ extends o['FUniver']{[_0x2ed896(0xc1)](){var _0x2b9c50=_0x2ed896;return this['_injector'][_0x2b9c50(0xb7)](exports[_0x2b9c50(0xbe)],{'getUniverSheet':_0x4bf42a=>this[_0x2b9c50(0xbf)](_0x4bf42a)});}}o[_0x2ed896(0xbb)][_0x2ed896(0xa8)](_);