@univerjs-pro/collaboration-client 0.6.0-nightly.202502141606 → 0.6.0

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 _0x578413=_0x1194;(function(_0x28ef96,_0x4ef446){var _0xc94559=_0x1194,_0x8df6d5=_0x28ef96();while(!![]){try{var _0x1dd5b6=-parseInt(_0xc94559(0x192))/0x1+-parseInt(_0xc94559(0x16c))/0x2*(-parseInt(_0xc94559(0x176))/0x3)+-parseInt(_0xc94559(0x190))/0x4*(parseInt(_0xc94559(0x17c))/0x5)+parseInt(_0xc94559(0x191))/0x6*(-parseInt(_0xc94559(0x17e))/0x7)+-parseInt(_0xc94559(0x178))/0x8+parseInt(_0xc94559(0x17d))/0x9+parseInt(_0xc94559(0x182))/0xa;if(_0x1dd5b6===_0x4ef446)break;else _0x8df6d5['push'](_0x8df6d5['shift']());}catch(_0x14963d){_0x8df6d5['push'](_0x8df6d5['shift']());}}}(_0x2e21,0x7cb99));function _0x1194(_0xfb48b1,_0x5b54c5){var _0x2e2191=_0x2e21();return _0x1194=function(_0x11947f,_0x56e854){_0x11947f=_0x11947f-0x16c;var _0x168e12=_0x2e2191[_0x11947f];return _0x168e12;},_0x1194(_0xfb48b1,_0x5b54c5);}Object['defineProperty'](exports,Symbol[_0x578413(0x18b)],{'value':'Module'});const l=require(_0x578413(0x181)),b=require(_0x578413(0x189)),h=require(_0x578413(0x17a)),i=require('@univerjs/core'),v=require('rxjs');var u=Object[_0x578413(0x175)],S=(_0x390ab6,_0x48fb0e,_0xc1ab7,_0xa0494e)=>{var _0x233634=_0x578413;for(var _0x56ff4c=_0xa0494e>0x1?void 0x0:_0xa0494e?u(_0x48fb0e,_0xc1ab7):_0x48fb0e,_0xe6c967=_0x390ab6[_0x233634(0x170)]-0x1,_0x40a82b;_0xe6c967>=0x0;_0xe6c967--)(_0x40a82b=_0x390ab6[_0xe6c967])&&(_0x56ff4c=_0x40a82b(_0x56ff4c)||_0x56ff4c);return _0x56ff4c;},s=(_0x31b5ac,_0x5e900b)=>(_0x4c90b0,_0x6deae4)=>_0x5e900b(_0x4c90b0,_0x6deae4,_0x31b5ac);exports[_0x578413(0x193)]=class extends l[_0x578413(0x18d)]{constructor(_0x1b5370,_0x5ea78c,_0x12bb96,_0x340833,_0x3deca9){var _0x5d254c=_0x578413;super(),this[_0x5d254c(0x180)]=_0x1b5370,this[_0x5d254c(0x16e)]=_0x5ea78c,this['_univerInstanceService']=_0x12bb96,this['_snapshotService']=_0x340833,this['_collaborationController']=_0x3deca9;}async[_0x578413(0x17b)](){return this['loadActiveSheetAsync']();}async['loadActiveSheetAsync'](){var _0x1bee59=_0x578413;throw new Error(_0x1bee59(0x183));}async['loadSheet'](_0x4e8a25){var _0x5be823=_0x578413;return this[_0x5be823(0x172)](_0x4e8a25);}async['loadSheetAsync'](_0xe96bc3,_0x419df5){var _0x38d774=_0x578413;return await this['_snapshotService']['loadSheet'](_0xe96bc3,0x0,_0x419df5)?(await this[_0x38d774(0x194)][_0x38d774(0x179)](_0xe96bc3),this[_0x38d774(0x180)][_0x38d774(0x177)](_0xe96bc3)):null;}[_0x578413(0x188)](_0x228eb3,_0xed5c3d){var _0x4ab646=_0x578413;const _0x422ce2=this[_0x4ab646(0x16e)][_0x4ab646(0x187)](h[_0x4ab646(0x186)])[_0x4ab646(0x18f)](_0x228eb3)[_0x4ab646(0x195)](v['switchMap'](_0x2ce2e8=>_0x2ce2e8[_0x4ab646(0x18a)]))[_0x4ab646(0x17f)](_0x1b57b5=>_0xed5c3d(Array[_0x4ab646(0x16d)](_0x1b57b5[_0x4ab646(0x173)]())));return i[_0x4ab646(0x16f)](_0x422ce2);}},exports[_0x578413(0x193)]=S([s(0x1,i[_0x578413(0x18e)](i[_0x578413(0x185)])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x578413(0x18e)](b[_0x578413(0x171)])),s(0x4,i[_0x578413(0x18e)](h[_0x578413(0x174)]))],exports[_0x578413(0x193)]);function _0x2e21(){var _0x2aa02c=['_injector','toDisposable','length','SnapshotService','loadSheetAsync','values','CollaborationController','getOwnPropertyDescriptor','312777uMmQiZ','getUniverSheet','4305760YopaiP','readyForCollab','@univerjs-pro/collaboration-client','loadActiveSheet','1210ufXsXx','6288075bJxenb','7NgXfOk','subscribe','_handler','@univerjs/core/facade','13012810ITrCpn','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','FUniver','Injector','MemberService','get','subscribeCollaborators','@univerjs-pro/collaboration','members$','toStringTag','createInstance','FBase','Inject','waitForRoom$','8044rrccVp','2259480zvgPfK','191880MqNjJt','FCollaboration','_collaborationController','pipe','extend','2KuFNDQ','from'];_0x2e21=function(){return _0x2aa02c;};return _0x2e21();}class d extends l['FUniver']{['getCollaboration'](){var _0x35aa57=_0x578413;return this[_0x35aa57(0x16e)][_0x35aa57(0x18c)](exports[_0x35aa57(0x193)],{'getUniverSheet':_0x3859e4=>this['getUniverSheet'](_0x3859e4)});}}l[_0x578413(0x184)][_0x578413(0x196)](d);
1
+ 'use strict';var _0xf4a977=_0x1ac5;(function(_0x421ffa,_0xf4d667){var _0x1ebc45=_0x1ac5,_0x441177=_0x421ffa();while(!![]){try{var _0xefaff5=-parseInt(_0x1ebc45(0x1de))/0x1+parseInt(_0x1ebc45(0x1e3))/0x2+parseInt(_0x1ebc45(0x1f3))/0x3*(parseInt(_0x1ebc45(0x1cd))/0x4)+-parseInt(_0x1ebc45(0x1d4))/0x5*(-parseInt(_0x1ebc45(0x1dc))/0x6)+-parseInt(_0x1ebc45(0x1e1))/0x7*(-parseInt(_0x1ebc45(0x1d9))/0x8)+-parseInt(_0x1ebc45(0x1ec))/0x9*(-parseInt(_0x1ebc45(0x1cc))/0xa)+-parseInt(_0x1ebc45(0x1db))/0xb;if(_0xefaff5===_0xf4d667)break;else _0x441177['push'](_0x441177['shift']());}catch(_0x5e0980){_0x441177['push'](_0x441177['shift']());}}}(_0x1904,0xb7b84));Object[_0xf4a977(0x1e9)](exports,Symbol['toStringTag'],{'value':_0xf4a977(0x1f6)});const l=require(_0xf4a977(0x1cb)),b=require(_0xf4a977(0x1dd)),h=require('@univerjs-pro/collaboration-client'),i=require(_0xf4a977(0x1e6)),v=require(_0xf4a977(0x1d3));var u=Object[_0xf4a977(0x1eb)],S=(_0x1ffee0,_0x7a1ac2,_0x23e53f,_0x1ac231)=>{var _0x558e81=_0xf4a977;for(var _0x2418d7=_0x1ac231>0x1?void 0x0:_0x1ac231?u(_0x7a1ac2,_0x23e53f):_0x7a1ac2,_0x2d759e=_0x1ffee0[_0x558e81(0x1f5)]-0x1,_0x5ec8e7;_0x2d759e>=0x0;_0x2d759e--)(_0x5ec8e7=_0x1ffee0[_0x2d759e])&&(_0x2418d7=_0x5ec8e7(_0x2418d7)||_0x2418d7);return _0x2418d7;},s=(_0x3621a2,_0x4b411c)=>(_0x350319,_0xa74fd2)=>_0x4b411c(_0x350319,_0xa74fd2,_0x3621a2);exports['FCollaboration']=class extends l[_0xf4a977(0x1e7)]{constructor(_0x2982f3,_0x2b23d3,_0x4d4d67,_0x396c89,_0x26a2dd){var _0x162475=_0xf4a977;super(),this[_0x162475(0x1d2)]=_0x2982f3,this['_injector']=_0x2b23d3,this['_univerInstanceService']=_0x4d4d67,this['_snapshotService']=_0x396c89,this[_0x162475(0x1df)]=_0x26a2dd;}async[_0xf4a977(0x1f2)](){var _0x2c6b56=_0xf4a977;return this[_0x2c6b56(0x1e0)]();}async['loadActiveSheetAsync'](){var _0x1376c1=_0xf4a977;throw new Error(_0x1376c1(0x1f9));}async[_0xf4a977(0x1ed)](_0x271649){var _0x402335=_0xf4a977;return this[_0x402335(0x1e5)](_0x271649);}async[_0xf4a977(0x1e5)](_0x130d72,_0x15b5e4){var _0x18343c=_0xf4a977;return await this['_snapshotService'][_0x18343c(0x1ed)](_0x130d72,0x0,_0x15b5e4)?(await this[_0x18343c(0x1df)][_0x18343c(0x1ca)](_0x130d72),this[_0x18343c(0x1d2)][_0x18343c(0x1f8)](_0x130d72)):null;}[_0xf4a977(0x1d0)](_0x352de0,_0x40ddc8){var _0x1c97f6=_0xf4a977;const _0x1ad8f6=this[_0x1c97f6(0x1d7)][_0x1c97f6(0x1cf)](h[_0x1c97f6(0x1ea)])[_0x1c97f6(0x1f0)](_0x352de0)[_0x1c97f6(0x1e4)](v['switchMap'](_0x17c57d=>_0x17c57d[_0x1c97f6(0x1fa)]))[_0x1c97f6(0x1f4)](_0x59a9c0=>_0x40ddc8(Array[_0x1c97f6(0x1d1)](_0x59a9c0[_0x1c97f6(0x1e2)]())));return i[_0x1c97f6(0x1ce)](_0x1ad8f6);}},exports[_0xf4a977(0x1d5)]=S([s(0x1,i[_0xf4a977(0x1f1)](i[_0xf4a977(0x1da)])),s(0x2,i[_0xf4a977(0x1e8)]),s(0x3,i[_0xf4a977(0x1f1)](b[_0xf4a977(0x1ee)])),s(0x4,i['Inject'](h[_0xf4a977(0x1f7)]))],exports[_0xf4a977(0x1d5)]);class d extends l[_0xf4a977(0x1d6)]{[_0xf4a977(0x1ef)](){var _0x242ec4=_0xf4a977;return this['_injector']['createInstance'](exports['FCollaboration'],{'getUniverSheet':_0x1ad393=>this[_0x242ec4(0x1f8)](_0x1ad393)});}}function _0x1904(){var _0x518886=['MemberService','getOwnPropertyDescriptor','792xjTEDp','loadSheet','SnapshotService','getCollaboration','waitForRoom$','Inject','loadActiveSheet','4021335oUWPys','subscribe','length','Module','CollaborationController','getUniverSheet','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','members$','readyForCollab','@univerjs/core/facade','120790gEfNcr','4sabiJO','toDisposable','get','subscribeCollaborators','from','_handler','rxjs','10145TQpzQt','FCollaboration','FUniver','_injector','extend','216SlVScp','Injector','26320756rydfJI','3894iNlIjJ','@univerjs-pro/collaboration','1272431SZbKww','_collaborationController','loadActiveSheetAsync','170485ZTRcUE','values','79880KQCZuP','pipe','loadSheetAsync','@univerjs/core','FBase','IUniverInstanceService','defineProperty'];_0x1904=function(){return _0x518886;};return _0x1904();}function _0x1ac5(_0x850819,_0x3e80af){var _0x190410=_0x1904();return _0x1ac5=function(_0x1ac5dc,_0x24ac1c){_0x1ac5dc=_0x1ac5dc-0x1ca;var _0x83d3cc=_0x190410[_0x1ac5dc];return _0x83d3cc;},_0x1ac5(_0x850819,_0x3e80af);}l[_0xf4a977(0x1d6)][_0xf4a977(0x1d8)](d);