@univerjs-pro/collaboration-client 0.6.5-nightly.202503131607 → 0.6.6-experimental.20250317-28d180b

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 _0x2a4c30=_0x2f72;(function(_0x51a2b8,_0x2f6c79){var _0x387f0f=_0x2f72,_0x24e629=_0x51a2b8();while(!![]){try{var _0x5d3ae4=parseInt(_0x387f0f(0xab))/0x1*(-parseInt(_0x387f0f(0x99))/0x2)+parseInt(_0x387f0f(0x8a))/0x3*(parseInt(_0x387f0f(0xa5))/0x4)+-parseInt(_0x387f0f(0x97))/0x5+-parseInt(_0x387f0f(0xa1))/0x6*(-parseInt(_0x387f0f(0xaa))/0x7)+-parseInt(_0x387f0f(0x8f))/0x8*(-parseInt(_0x387f0f(0x89))/0x9)+-parseInt(_0x387f0f(0x8c))/0xa*(parseInt(_0x387f0f(0xb5))/0xb)+-parseInt(_0x387f0f(0x98))/0xc;if(_0x5d3ae4===_0x2f6c79)break;else _0x24e629['push'](_0x24e629['shift']());}catch(_0x3bfa84){_0x24e629['push'](_0x24e629['shift']());}}}(_0x32e5,0x9ac68));function _0x32e5(){var _0x4e9981=['createInstance','@univerjs-pro/collaboration-client','19662UePwxI','Injector','extend','CollaborationController','24CwbfTd','SnapshotService','_handler','subscribeCollaborators','Module','1183nGspvX','20MgVKUB','loadActiveSheetAsync','@univerjs/core','FBase','getCollaboration','_collaborationController','_univerInstanceService','waitForRoom$','subscribe','Inject','570097AgmqPh','loadActiveSheet','values','1767069qaPDFS','601149sLgTfx','loadSheetAsync','70wPlAjk','members$','switchMap','24kOLvFy','_snapshotService','getUniverSheet','FCollaboration','toStringTag','get','MemberService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','326490odThxJ','14002884rqlJRX','11618uhgfYU','loadSheet','length','_injector','FUniver','toDisposable'];_0x32e5=function(){return _0x4e9981;};return _0x32e5();}Object['defineProperty'](exports,Symbol[_0x2a4c30(0x93)],{'value':_0x2a4c30(0xa9)});const l=require('@univerjs/core/facade'),b=require('@univerjs-pro/collaboration'),h=require(_0x2a4c30(0xa0)),i=require(_0x2a4c30(0xad)),v=require('rxjs');var u=Object['getOwnPropertyDescriptor'],S=(_0x4982bc,_0x551a88,_0x3af579,_0x2960a7)=>{var _0x1b16b4=_0x2a4c30;for(var _0x499d31=_0x2960a7>0x1?void 0x0:_0x2960a7?u(_0x551a88,_0x3af579):_0x551a88,_0x5f567a=_0x4982bc[_0x1b16b4(0x9b)]-0x1,_0x23a9d7;_0x5f567a>=0x0;_0x5f567a--)(_0x23a9d7=_0x4982bc[_0x5f567a])&&(_0x499d31=_0x23a9d7(_0x499d31)||_0x499d31);return _0x499d31;},s=(_0x1cc702,_0x1a68b0)=>(_0x26a7ec,_0x1490d8)=>_0x1a68b0(_0x26a7ec,_0x1490d8,_0x1cc702);exports[_0x2a4c30(0x92)]=class extends l[_0x2a4c30(0xae)]{constructor(_0x400db9,_0x553b9c,_0x1a4986,_0x4a8c91,_0x537178){var _0x4de891=_0x2a4c30;super(),this[_0x4de891(0xa7)]=_0x400db9,this[_0x4de891(0x9c)]=_0x553b9c,this[_0x4de891(0xb1)]=_0x1a4986,this[_0x4de891(0x90)]=_0x4a8c91,this[_0x4de891(0xb0)]=_0x537178;}async[_0x2a4c30(0x87)](){var _0x9d9274=_0x2a4c30;return this[_0x9d9274(0xac)]();}async[_0x2a4c30(0xac)](){var _0x22df05=_0x2a4c30;throw new Error(_0x22df05(0x96));}async[_0x2a4c30(0x9a)](_0x4923e7){var _0x359213=_0x2a4c30;return this[_0x359213(0x8b)](_0x4923e7);}async['loadSheetAsync'](_0x17e0ba,_0x56fa07){var _0x6bac1c=_0x2a4c30;return await this[_0x6bac1c(0x90)][_0x6bac1c(0x9a)](_0x17e0ba,0x0,_0x56fa07)?(await this[_0x6bac1c(0xb0)]['readyForCollab'](_0x17e0ba),this[_0x6bac1c(0xa7)][_0x6bac1c(0x91)](_0x17e0ba)):null;}[_0x2a4c30(0xa8)](_0x1f441a,_0x34102e){var _0x247821=_0x2a4c30;const _0x3493b9=this[_0x247821(0x9c)][_0x247821(0x94)](h[_0x247821(0x95)])[_0x247821(0xb2)](_0x1f441a)['pipe'](v[_0x247821(0x8e)](_0x369497=>_0x369497[_0x247821(0x8d)]))[_0x247821(0xb3)](_0x2be817=>_0x34102e(Array['from'](_0x2be817[_0x247821(0x88)]())));return i[_0x247821(0x9e)](_0x3493b9);}},exports['FCollaboration']=S([s(0x1,i[_0x2a4c30(0xb4)](i[_0x2a4c30(0xa2)])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x2a4c30(0xb4)](b[_0x2a4c30(0xa6)])),s(0x4,i[_0x2a4c30(0xb4)](h[_0x2a4c30(0xa4)]))],exports[_0x2a4c30(0x92)]);class d extends l[_0x2a4c30(0x9d)]{[_0x2a4c30(0xaf)](){var _0x44b4a7=_0x2a4c30;return this['_injector'][_0x44b4a7(0x9f)](exports[_0x44b4a7(0x92)],{'getUniverSheet':_0x59b9bc=>this[_0x44b4a7(0x91)](_0x59b9bc)});}}function _0x2f72(_0x43cadf,_0x503075){var _0x32e52a=_0x32e5();return _0x2f72=function(_0x2f7271,_0x52cee5){_0x2f7271=_0x2f7271-0x87;var _0x153315=_0x32e52a[_0x2f7271];return _0x153315;},_0x2f72(_0x43cadf,_0x503075);}l[_0x2a4c30(0x9d)][_0x2a4c30(0xa3)](d);
1
+ 'use strict';var _0x185c42=_0x47b4;function _0x5222(){var _0x53fc78=['getOwnPropertyDescriptor','readyForCollab','267288slOeaz','get','loadSheet','2687240baxcDg','loadActiveSheetAsync','2vVaksd','loadSheetAsync','3128088uvkleS','Module','Injector','SnapshotService','pipe','@univerjs/core','switchMap','5202264IcRjqA','7xkMNQO','from','toDisposable','defineProperty','getUniverSheet','MemberService','2655668DXkDiN','_handler','getCollaboration','subscribeCollaborators','Inject','CollaborationController','_injector','1033704ZNsNaf','FUniver','FCollaboration','@univerjs/core/facade','toStringTag','createInstance','2151cnkWyQ','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','_collaborationController','subscribe','_snapshotService','45610sBispc','FBase','values'];_0x5222=function(){return _0x53fc78;};return _0x5222();}(function(_0x9c5505,_0x335be1){var _0x3825b9=_0x47b4,_0x55f852=_0x9c5505();while(!![]){try{var _0x59b13c=parseInt(_0x3825b9(0x144))/0x1*(parseInt(_0x3825b9(0x13f))/0x2)+parseInt(_0x3825b9(0x12f))/0x3+-parseInt(_0x3825b9(0x128))/0x4+parseInt(_0x3825b9(0x142))/0x5+parseInt(_0x3825b9(0x146))/0x6*(-parseInt(_0x3825b9(0x14e))/0x7)+-parseInt(_0x3825b9(0x14d))/0x8+-parseInt(_0x3825b9(0x135))/0x9*(-parseInt(_0x3825b9(0x13a))/0xa);if(_0x59b13c===_0x335be1)break;else _0x55f852['push'](_0x55f852['shift']());}catch(_0x24a212){_0x55f852['push'](_0x55f852['shift']());}}}(_0x5222,0x6297b));function _0x47b4(_0x5f3a10,_0x59454d){var _0x52228e=_0x5222();return _0x47b4=function(_0x47b44b,_0x2ca5ee){_0x47b44b=_0x47b44b-0x127;var _0x3635bf=_0x52228e[_0x47b44b];return _0x3635bf;},_0x47b4(_0x5f3a10,_0x59454d);}Object[_0x185c42(0x151)](exports,Symbol[_0x185c42(0x133)],{'value':_0x185c42(0x147)});const l=require(_0x185c42(0x132)),b=require('@univerjs-pro/collaboration'),h=require('@univerjs-pro/collaboration-client'),i=require(_0x185c42(0x14b)),v=require('rxjs');var u=Object[_0x185c42(0x13d)],S=(_0x1ee79b,_0x193957,_0x3c5fae,_0x1946d9)=>{for(var _0x490da8=_0x1946d9>0x1?void 0x0:_0x1946d9?u(_0x193957,_0x3c5fae):_0x193957,_0x3295c4=_0x1ee79b['length']-0x1,_0x4bc65b;_0x3295c4>=0x0;_0x3295c4--)(_0x4bc65b=_0x1ee79b[_0x3295c4])&&(_0x490da8=_0x4bc65b(_0x490da8)||_0x490da8);return _0x490da8;},s=(_0x2f908a,_0x30db47)=>(_0x587f8b,_0x1d342b)=>_0x30db47(_0x587f8b,_0x1d342b,_0x2f908a);exports['FCollaboration']=class extends l[_0x185c42(0x13b)]{constructor(_0x220a69,_0x2fe53b,_0x255502,_0x582151,_0x4454f7){var _0x1ab080=_0x185c42;super(),this[_0x1ab080(0x129)]=_0x220a69,this[_0x1ab080(0x12e)]=_0x2fe53b,this['_univerInstanceService']=_0x255502,this[_0x1ab080(0x139)]=_0x582151,this[_0x1ab080(0x137)]=_0x4454f7;}async['loadActiveSheet'](){var _0x32e793=_0x185c42;return this[_0x32e793(0x143)]();}async[_0x185c42(0x143)](){var _0x453ae9=_0x185c42;throw new Error(_0x453ae9(0x136));}async['loadSheet'](_0x39c416){var _0x51ecdb=_0x185c42;return this[_0x51ecdb(0x145)](_0x39c416);}async[_0x185c42(0x145)](_0x1df508,_0x4ede30){var _0x4a8689=_0x185c42;return await this[_0x4a8689(0x139)][_0x4a8689(0x141)](_0x1df508,0x0,_0x4ede30)?(await this[_0x4a8689(0x137)][_0x4a8689(0x13e)](_0x1df508),this[_0x4a8689(0x129)][_0x4a8689(0x152)](_0x1df508)):null;}[_0x185c42(0x12b)](_0x3abf20,_0x4bfac0){var _0x4c585e=_0x185c42;const _0x2e7fa6=this[_0x4c585e(0x12e)][_0x4c585e(0x140)](h[_0x4c585e(0x127)])['waitForRoom$'](_0x3abf20)[_0x4c585e(0x14a)](v[_0x4c585e(0x14c)](_0x15db39=>_0x15db39['members$']))[_0x4c585e(0x138)](_0x764db3=>_0x4bfac0(Array[_0x4c585e(0x14f)](_0x764db3[_0x4c585e(0x13c)]())));return i[_0x4c585e(0x150)](_0x2e7fa6);}},exports['FCollaboration']=S([s(0x1,i[_0x185c42(0x12c)](i[_0x185c42(0x148)])),s(0x2,i['IUniverInstanceService']),s(0x3,i['Inject'](b[_0x185c42(0x149)])),s(0x4,i[_0x185c42(0x12c)](h[_0x185c42(0x12d)]))],exports[_0x185c42(0x131)]);class d extends l[_0x185c42(0x130)]{[_0x185c42(0x12a)](){var _0x5a5c7e=_0x185c42;return this[_0x5a5c7e(0x12e)][_0x5a5c7e(0x134)](exports[_0x5a5c7e(0x131)],{'getUniverSheet':_0x2aaea8=>this[_0x5a5c7e(0x152)](_0x2aaea8)});}}l[_0x185c42(0x130)]['extend'](d);