@univerjs-pro/collaboration-client 0.6.9-experimental.20250403-d914ddc → 0.6.9-nightly.202504031606

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 _0x2206e8=_0x5abd;(function(_0x43ccd8,_0x23785e){var _0x23f309=_0x5abd,_0xeb9ed=_0x43ccd8();while(!![]){try{var _0x1835e1=-parseInt(_0x23f309(0xc8))/0x1+-parseInt(_0x23f309(0xd1))/0x2*(parseInt(_0x23f309(0xdc))/0x3)+parseInt(_0x23f309(0xc2))/0x4+-parseInt(_0x23f309(0xb4))/0x5*(-parseInt(_0x23f309(0xce))/0x6)+parseInt(_0x23f309(0xd4))/0x7+parseInt(_0x23f309(0xcc))/0x8*(parseInt(_0x23f309(0xb5))/0x9)+-parseInt(_0x23f309(0xc3))/0xa;if(_0x1835e1===_0x23785e)break;else _0xeb9ed['push'](_0xeb9ed['shift']());}catch(_0x46ad88){_0xeb9ed['push'](_0xeb9ed['shift']());}}}(_0x1f21,0xe2080));Object['defineProperty'](exports,Symbol[_0x2206e8(0xc6)],{'value':'Module'});const c=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),v=require(_0x2206e8(0xb6)),i=require(_0x2206e8(0xd2)),b=require(_0x2206e8(0xdb));var S=Object[_0x2206e8(0xdd)],d=(_0x208d05,_0x76ad31,_0x3a368f,_0x5e2d8e)=>{for(var _0xee2510=_0x5e2d8e>0x1?void 0x0:_0x5e2d8e?S(_0x76ad31,_0x3a368f):_0x76ad31,_0x4da48b=_0x208d05['length']-0x1,_0x4850d9;_0x4da48b>=0x0;_0x4da48b--)(_0x4850d9=_0x208d05[_0x4da48b])&&(_0xee2510=_0x4850d9(_0xee2510)||_0xee2510);return _0xee2510;},s=(_0x3b2b74,_0x2ce81c)=>(_0x2a1ea8,_0x425c03)=>_0x2ce81c(_0x2a1ea8,_0x425c03,_0x3b2b74);function _0x1f21(){var _0x280379=['loadSheet','4685232mhJKNd','30506640LECoto','values','IUniverInstanceService','toStringTag','SnapshotService','1478690hianoL','loadServerUnit','_collaborationController','get','424cDipLC','subscribeCollaborators','4140dkKPcI','_snapshotService','getCollaboration','54486uKSCLA','@univerjs/core','createInstance','6579650MkNGrk','FUniver','_injector','switchMap','Inject','MemberService','_handler','rxjs','3ZNCytc','getOwnPropertyDescriptor','getUniverSheet','DataLoaderService','from','11885CfagUR','293949FikdCb','@univerjs-pro/collaboration','FBase','toDisposable','Injector','loadUnit','loadActiveSheetAsync','subscribe','FCollaboration','waitForRoom$','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadSheetAsync'];_0x1f21=function(){return _0x280379;};return _0x1f21();}exports[_0x2206e8(0xbd)]=class extends l[_0x2206e8(0xb7)]{constructor(_0x56082f,_0x4068c4,_0x383e95,_0x43d3c8,_0x3bc408){var _0x3eb5a0=_0x2206e8;super(),this[_0x3eb5a0(0xda)]=_0x56082f,this['_injector']=_0x4068c4,this['_univerInstanceService']=_0x383e95,this[_0x3eb5a0(0xcf)]=_0x43d3c8,this[_0x3eb5a0(0xca)]=_0x3bc408;}async['loadActiveSheet'](){var _0x5db820=_0x2206e8;return this[_0x5db820(0xbb)]();}async[_0x2206e8(0xbb)](){var _0x2939fd=_0x2206e8;throw new Error(_0x2939fd(0xbf));}async[_0x2206e8(0xc1)](_0x59a9e6){var _0x1109b3=_0x2206e8;return this[_0x1109b3(0xc0)](_0x59a9e6);}async['loadSheetAsync'](_0x16dc03,_0x2597c2){var _0x4a543e=_0x2206e8;return await this[_0x4a543e(0xcf)][_0x4a543e(0xc1)](_0x16dc03,0x0,_0x2597c2)?(await this[_0x4a543e(0xca)]['readyForCollab'](_0x16dc03),this[_0x4a543e(0xda)][_0x4a543e(0xde)](_0x16dc03)):null;}[_0x2206e8(0xcd)](_0x6828b0,_0x5ababb){var _0x45578b=_0x2206e8;const _0x504a59=this[_0x45578b(0xd6)][_0x45578b(0xcb)](c[_0x45578b(0xd9)])[_0x45578b(0xbe)](_0x6828b0)['pipe'](b[_0x45578b(0xd7)](_0x18a593=>_0x18a593['members$']))[_0x45578b(0xbc)](_0x10bd60=>_0x5ababb(Array[_0x45578b(0xb3)](_0x10bd60[_0x45578b(0xc4)]())));return i[_0x45578b(0xb8)](_0x504a59);}},exports[_0x2206e8(0xbd)]=d([s(0x1,i[_0x2206e8(0xd8)](i[_0x2206e8(0xb9)])),s(0x2,i[_0x2206e8(0xc5)]),s(0x3,i['Inject'](v[_0x2206e8(0xc7)])),s(0x4,i[_0x2206e8(0xd8)](c['CollaborationController']))],exports[_0x2206e8(0xbd)]);class u extends l[_0x2206e8(0xd5)]{[_0x2206e8(0xd0)](){var _0x321289=_0x2206e8;return this[_0x321289(0xd6)][_0x321289(0xd3)](exports[_0x321289(0xbd)],{'getUniverSheet':_0x479237=>this['getUniverSheet'](_0x479237)});}[_0x2206e8(0xc9)](_0x293d58,_0x25f825,_0x5c70f4){var _0x12bb42=_0x2206e8;return this['_injector'][_0x12bb42(0xd3)](c[_0x12bb42(0xb2)])[_0x12bb42(0xba)](_0x293d58,_0x25f825,_0x5c70f4);}}function _0x5abd(_0x40b60a,_0x53ece8){var _0x1f217=_0x1f21();return _0x5abd=function(_0x5abda0,_0x55e49e){_0x5abda0=_0x5abda0-0xb2;var _0x45f882=_0x1f217[_0x5abda0];return _0x45f882;},_0x5abd(_0x40b60a,_0x53ece8);}l[_0x2206e8(0xd5)]['extend'](u);
1
+ 'use strict';var _0x303338=_0x3785;function _0x3785(_0x2e6896,_0x1156b0){var _0x209842=_0x2098();return _0x3785=function(_0x37853c,_0x226159){_0x37853c=_0x37853c-0x94;var _0x232a61=_0x209842[_0x37853c];return _0x232a61;},_0x3785(_0x2e6896,_0x1156b0);}function _0x2098(){var _0x26c625=['loadActiveSheet','_collaborationController','loadActiveSheetAsync','toDisposable','from','11849dUkuKf','_snapshotService','37566czKNbd','7lNhrik','FUniver','@univerjs-pro/collaboration-client','8LQmBri','Inject','4096758AOQPPi','subscribeCollaborators','2344632wAubtR','pipe','32HNvkXX','1182156XoWqyn','values','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','createInstance','loadSheetAsync','toStringTag','CollaborationController','_univerInstanceService','10lyVCVI','length','Module','6406917ILxHJL','IUniverInstanceService','waitForRoom$','loadSheet','FCollaboration','_injector','@univerjs/core/facade','getUniverSheet','3373365zMpwod','@univerjs-pro/collaboration','loadUnit','FBase','getCollaboration','getOwnPropertyDescriptor','subscribe','get','DataLoaderService','members$','@univerjs/core'];_0x2098=function(){return _0x26c625;};return _0x2098();}(function(_0x3b1d80,_0x11c8e2){var _0x4c5623=_0x3785,_0x4cc401=_0x3b1d80();while(!![]){try{var _0x59cbd3=-parseInt(_0x4c5623(0x95))/0x1*(-parseInt(_0x4c5623(0x9b))/0x2)+parseInt(_0x4c5623(0xa2))/0x3+-parseInt(_0x4c5623(0x9f))/0x4+-parseInt(_0x4c5623(0xb5))/0x5+parseInt(_0x4c5623(0x9d))/0x6*(parseInt(_0x4c5623(0x98))/0x7)+-parseInt(_0x4c5623(0xa1))/0x8*(-parseInt(_0x4c5623(0x97))/0x9)+-parseInt(_0x4c5623(0xaa))/0xa*(-parseInt(_0x4c5623(0xad))/0xb);if(_0x59cbd3===_0x11c8e2)break;else _0x4cc401['push'](_0x4cc401['shift']());}catch(_0x207256){_0x4cc401['push'](_0x4cc401['shift']());}}}(_0x2098,0x70ed9));Object['defineProperty'](exports,Symbol[_0x303338(0xa7)],{'value':_0x303338(0xac)});const c=require(_0x303338(0x9a)),l=require(_0x303338(0xb3)),v=require(_0x303338(0xb6)),i=require(_0x303338(0xbf)),b=require('rxjs');var S=Object[_0x303338(0xba)],d=(_0xc758bd,_0x54c908,_0x5dacdc,_0x5ed926)=>{var _0x1a1bb2=_0x303338;for(var _0x2646e8=_0x5ed926>0x1?void 0x0:_0x5ed926?S(_0x54c908,_0x5dacdc):_0x54c908,_0x4d1384=_0xc758bd[_0x1a1bb2(0xab)]-0x1,_0xf9919f;_0x4d1384>=0x0;_0x4d1384--)(_0xf9919f=_0xc758bd[_0x4d1384])&&(_0x2646e8=_0xf9919f(_0x2646e8)||_0x2646e8);return _0x2646e8;},s=(_0x2aa9dc,_0x1e7465)=>(_0x432072,_0x31eeef)=>_0x1e7465(_0x432072,_0x31eeef,_0x2aa9dc);exports[_0x303338(0xb1)]=class extends l[_0x303338(0xb8)]{constructor(_0x1ff736,_0x325979,_0x1ac42d,_0x1be9cb,_0x5d8804){var _0x922f6=_0x303338;super(),this['_handler']=_0x1ff736,this[_0x922f6(0xb2)]=_0x325979,this[_0x922f6(0xa9)]=_0x1ac42d,this[_0x922f6(0x96)]=_0x1be9cb,this[_0x922f6(0xc1)]=_0x5d8804;}async[_0x303338(0xc0)](){var _0x458b08=_0x303338;return this[_0x458b08(0xc2)]();}async[_0x303338(0xc2)](){var _0x587f1c=_0x303338;throw new Error(_0x587f1c(0xa4));}async[_0x303338(0xb0)](_0x505074){var _0x1706d3=_0x303338;return this[_0x1706d3(0xa6)](_0x505074);}async[_0x303338(0xa6)](_0x37342e,_0x333ed0){var _0x567b3b=_0x303338;return await this[_0x567b3b(0x96)][_0x567b3b(0xb0)](_0x37342e,0x0,_0x333ed0)?(await this['_collaborationController']['readyForCollab'](_0x37342e),this['_handler'][_0x567b3b(0xb4)](_0x37342e)):null;}[_0x303338(0x9e)](_0x7f5143,_0x3039b6){var _0x83e262=_0x303338;const _0x4de0ac=this[_0x83e262(0xb2)][_0x83e262(0xbc)](c['MemberService'])[_0x83e262(0xaf)](_0x7f5143)[_0x83e262(0xa0)](b['switchMap'](_0x416b74=>_0x416b74[_0x83e262(0xbe)]))[_0x83e262(0xbb)](_0x4cb1f6=>_0x3039b6(Array[_0x83e262(0x94)](_0x4cb1f6[_0x83e262(0xa3)]())));return i[_0x83e262(0xc3)](_0x4de0ac);}},exports[_0x303338(0xb1)]=d([s(0x1,i[_0x303338(0x9c)](i['Injector'])),s(0x2,i[_0x303338(0xae)]),s(0x3,i[_0x303338(0x9c)](v['SnapshotService'])),s(0x4,i[_0x303338(0x9c)](c[_0x303338(0xa8)]))],exports[_0x303338(0xb1)]);class u extends l[_0x303338(0x99)]{[_0x303338(0xb9)](){var _0xd0f2b3=_0x303338;return this['_injector'][_0xd0f2b3(0xa5)](exports[_0xd0f2b3(0xb1)],{'getUniverSheet':_0x4fad92=>this[_0xd0f2b3(0xb4)](_0x4fad92)});}['loadServerUnit'](_0x4606a8,_0x348595,_0x273b62){var _0x1744a4=_0x303338;return this[_0x1744a4(0xb2)][_0x1744a4(0xa5)](c[_0x1744a4(0xbd)])[_0x1744a4(0xb7)](_0x4606a8,_0x348595,_0x273b62);}}l['FUniver']['extend'](u);