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

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 _0x6a9300=_0x50f0;(function(_0x1a4bc5,_0x4d7362){var _0x99835a=_0x50f0,_0x4ec7d9=_0x1a4bc5();while(!![]){try{var _0xb68c62=-parseInt(_0x99835a(0x1a6))/0x1+-parseInt(_0x99835a(0x1a1))/0x2*(-parseInt(_0x99835a(0x17f))/0x3)+parseInt(_0x99835a(0x1ae))/0x4*(parseInt(_0x99835a(0x18d))/0x5)+parseInt(_0x99835a(0x19f))/0x6+-parseInt(_0x99835a(0x1af))/0x7*(-parseInt(_0x99835a(0x199))/0x8)+parseInt(_0x99835a(0x19b))/0x9*(parseInt(_0x99835a(0x185))/0xa)+-parseInt(_0x99835a(0x186))/0xb;if(_0xb68c62===_0x4d7362)break;else _0x4ec7d9['push'](_0x4ec7d9['shift']());}catch(_0x40568e){_0x4ec7d9['push'](_0x4ec7d9['shift']());}}}(_0x4348,0xb4e68));Object[_0x6a9300(0x19a)](exports,Symbol[_0x6a9300(0x19e)],{'value':_0x6a9300(0x19d)});function _0x4348(){var _0x5eba85=['@univerjs/core','readyForCollab','763576oDJwPf','defineProperty','164583aJqYHF','loadSheetAsync','Module','toStringTag','8061888UqVzjU','_injector','2qeKEpS','FBase','Injector','subscribeCollaborators','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','643869smwvWa','members$','DataLoaderService','getUniverSheet','loadServerUnit','SnapshotService','Inject','FUniver','228456zfiZMH','7PkyAZr','IUniverInstanceService','getCollaboration','3917571knhjie','@univerjs/core/facade','FCollaboration','extend','_collaborationController','waitForRoom$','310HFfzFp','23081894UmgUFs','values','createInstance','_handler','MemberService','subscribe','switchMap','15vDkOWh','loadSheet','CollaborationController','getOwnPropertyDescriptor','length','get','@univerjs-pro/collaboration-client','loadActiveSheetAsync','_snapshotService','rxjs'];_0x4348=function(){return _0x5eba85;};return _0x4348();}function _0x50f0(_0x5ad345,_0x1bdb33){var _0x4348bf=_0x4348();return _0x50f0=function(_0x50f06d,_0x3f0b8c){_0x50f06d=_0x50f06d-0x17d;var _0x59b8f5=_0x4348bf[_0x50f06d];return _0x59b8f5;},_0x50f0(_0x5ad345,_0x1bdb33);}const c=require(_0x6a9300(0x193)),l=require(_0x6a9300(0x180)),v=require('@univerjs-pro/collaboration'),i=require(_0x6a9300(0x197)),b=require(_0x6a9300(0x196));var S=Object[_0x6a9300(0x190)],d=(_0x5b6cc9,_0xe41863,_0x4ac195,_0x474c64)=>{var _0x13883e=_0x6a9300;for(var _0x1f3a50=_0x474c64>0x1?void 0x0:_0x474c64?S(_0xe41863,_0x4ac195):_0xe41863,_0x247650=_0x5b6cc9[_0x13883e(0x191)]-0x1,_0x527e5e;_0x247650>=0x0;_0x247650--)(_0x527e5e=_0x5b6cc9[_0x247650])&&(_0x1f3a50=_0x527e5e(_0x1f3a50)||_0x1f3a50);return _0x1f3a50;},s=(_0x533058,_0x19d91c)=>(_0x59a286,_0x3fbf36)=>_0x19d91c(_0x59a286,_0x3fbf36,_0x533058);exports[_0x6a9300(0x181)]=class extends l[_0x6a9300(0x1a2)]{constructor(_0x162cac,_0x12d42a,_0x58d8db,_0x30038b,_0x819c17){var _0x35ea74=_0x6a9300;super(),this['_handler']=_0x162cac,this[_0x35ea74(0x1a0)]=_0x12d42a,this['_univerInstanceService']=_0x58d8db,this['_snapshotService']=_0x30038b,this['_collaborationController']=_0x819c17;}async['loadActiveSheet'](){var _0x305e5a=_0x6a9300;return this[_0x305e5a(0x194)]();}async[_0x6a9300(0x194)](){var _0x40f450=_0x6a9300;throw new Error(_0x40f450(0x1a5));}async[_0x6a9300(0x18e)](_0x19a52a){var _0x9e4c34=_0x6a9300;return this[_0x9e4c34(0x19c)](_0x19a52a);}async[_0x6a9300(0x19c)](_0x182e0f,_0x23b647){var _0x367e81=_0x6a9300;return await this[_0x367e81(0x195)][_0x367e81(0x18e)](_0x182e0f,0x0,_0x23b647)?(await this[_0x367e81(0x183)][_0x367e81(0x198)](_0x182e0f),this[_0x367e81(0x189)][_0x367e81(0x1a9)](_0x182e0f)):null;}[_0x6a9300(0x1a4)](_0x4cfda3,_0x288b07){var _0x54ea36=_0x6a9300;const _0x1bc9e2=this[_0x54ea36(0x1a0)][_0x54ea36(0x192)](c[_0x54ea36(0x18a)])[_0x54ea36(0x184)](_0x4cfda3)['pipe'](b[_0x54ea36(0x18c)](_0x487136=>_0x487136[_0x54ea36(0x1a7)]))[_0x54ea36(0x18b)](_0x4f6711=>_0x288b07(Array['from'](_0x4f6711[_0x54ea36(0x187)]())));return i['toDisposable'](_0x1bc9e2);}},exports[_0x6a9300(0x181)]=d([s(0x1,i[_0x6a9300(0x1ac)](i[_0x6a9300(0x1a3)])),s(0x2,i[_0x6a9300(0x17d)]),s(0x3,i[_0x6a9300(0x1ac)](v[_0x6a9300(0x1ab)])),s(0x4,i['Inject'](c[_0x6a9300(0x18f)]))],exports[_0x6a9300(0x181)]);class u extends l[_0x6a9300(0x1ad)]{[_0x6a9300(0x17e)](){var _0x2613df=_0x6a9300;return this[_0x2613df(0x1a0)]['createInstance'](exports['FCollaboration'],{'getUniverSheet':_0x49b293=>this[_0x2613df(0x1a9)](_0x49b293)});}[_0x6a9300(0x1aa)](_0x5ad54a,_0x101e74,_0x587961){var _0xb8c5dd=_0x6a9300;return this[_0xb8c5dd(0x1a0)][_0xb8c5dd(0x188)](c[_0xb8c5dd(0x1a8)])['loadUnit'](_0x5ad54a,_0x101e74,_0x587961);}}l[_0x6a9300(0x1ad)][_0x6a9300(0x182)](u);
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);