@univerjs-pro/collaboration-client 0.7.0-nightly.202505051607 → 0.7.0-nightly.202505061607

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 _0x1ad3ba=_0x5ef9;(function(_0x4b0eae,_0x103692){var _0x45e160=_0x5ef9,_0x34a414=_0x4b0eae();while(!![]){try{var _0x14a325=-parseInt(_0x45e160(0xfc))/0x1*(-parseInt(_0x45e160(0x122))/0x2)+parseInt(_0x45e160(0x117))/0x3+-parseInt(_0x45e160(0x106))/0x4*(-parseInt(_0x45e160(0x119))/0x5)+parseInt(_0x45e160(0x10c))/0x6*(parseInt(_0x45e160(0x123))/0x7)+-parseInt(_0x45e160(0x10f))/0x8*(parseInt(_0x45e160(0x102))/0x9)+parseInt(_0x45e160(0x104))/0xa+parseInt(_0x45e160(0x115))/0xb*(-parseInt(_0x45e160(0xfd))/0xc);if(_0x14a325===_0x103692)break;else _0x34a414['push'](_0x34a414['shift']());}catch(_0x5a3392){_0x34a414['push'](_0x34a414['shift']());}}}(_0x11b1,0x408c4));Object[_0x1ad3ba(0x103)](exports,Symbol[_0x1ad3ba(0x10b)],{'value':_0x1ad3ba(0x111)});function _0x5ef9(_0x17a034,_0x382c52){var _0x11b19e=_0x11b1();return _0x5ef9=function(_0x5ef96c,_0x2e4b81){_0x5ef96c=_0x5ef96c-0xf4;var _0x44c117=_0x11b19e[_0x5ef96c];return _0x44c117;},_0x5ef9(_0x17a034,_0x382c52);}const c=require(_0x1ad3ba(0x11b)),l=require(_0x1ad3ba(0x113)),v=require(_0x1ad3ba(0x109)),i=require(_0x1ad3ba(0x116)),b=require(_0x1ad3ba(0x11e));var S=Object[_0x1ad3ba(0x112)],d=(_0x3e54ab,_0x4c018f,_0x4d2fdf,_0x152628)=>{var _0x2f08c1=_0x1ad3ba;for(var _0x2a2c4b=_0x152628>0x1?void 0x0:_0x152628?S(_0x4c018f,_0x4d2fdf):_0x4c018f,_0xabb785=_0x3e54ab[_0x2f08c1(0x126)]-0x1,_0x39c76f;_0xabb785>=0x0;_0xabb785--)(_0x39c76f=_0x3e54ab[_0xabb785])&&(_0x2a2c4b=_0x39c76f(_0x2a2c4b)||_0x2a2c4b);return _0x2a2c4b;},s=(_0x18eee9,_0x4dda93)=>(_0x274ce2,_0x51bd81)=>_0x4dda93(_0x274ce2,_0x51bd81,_0x18eee9);exports[_0x1ad3ba(0x101)]=class extends l[_0x1ad3ba(0x11d)]{constructor(_0x49676f,_0x244e1f,_0x49feaf,_0x11d48a,_0x28d9c5){var _0x33837d=_0x1ad3ba;super(),this[_0x33837d(0x11f)]=_0x49676f,this[_0x33837d(0xf4)]=_0x244e1f,this[_0x33837d(0x107)]=_0x49feaf,this[_0x33837d(0x121)]=_0x11d48a,this[_0x33837d(0x100)]=_0x28d9c5;}async['loadActiveSheet'](){var _0x38d2ff=_0x1ad3ba;return this[_0x38d2ff(0xff)]();}async['loadActiveSheetAsync'](){var _0x1ac903=_0x1ad3ba;throw new Error(_0x1ac903(0xfa));}async[_0x1ad3ba(0x11a)](_0x39366c){var _0x1c7b3e=_0x1ad3ba;return this[_0x1c7b3e(0xf8)](_0x39366c);}async[_0x1ad3ba(0xf8)](_0x42a2c7,_0x454842){var _0x53ef30=_0x1ad3ba;return await this[_0x53ef30(0x121)]['loadSheet'](_0x42a2c7,0x0,_0x454842)?(await this[_0x53ef30(0x100)][_0x53ef30(0xf5)](_0x42a2c7),this[_0x53ef30(0x11f)][_0x53ef30(0x10a)](_0x42a2c7)):null;}[_0x1ad3ba(0x10e)](_0x38c919,_0x2f96db){var _0xb05b84=_0x1ad3ba;const _0x1a1e98=this[_0xb05b84(0xf4)][_0xb05b84(0xf6)](c[_0xb05b84(0x127)])['waitForRoom$'](_0x38c919)[_0xb05b84(0x124)](b['switchMap'](_0x45758d=>_0x45758d[_0xb05b84(0x108)]))[_0xb05b84(0x114)](_0x515556=>_0x2f96db(Array[_0xb05b84(0x110)](_0x515556['values']())));return i[_0xb05b84(0xfe)](_0x1a1e98);}},exports['FCollaboration']=d([s(0x1,i[_0x1ad3ba(0x11c)](i[_0x1ad3ba(0x10d)])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x1ad3ba(0x11c)](v[_0x1ad3ba(0x118)])),s(0x4,i[_0x1ad3ba(0x11c)](c['CollaborationController']))],exports[_0x1ad3ba(0x101)]);class u extends l[_0x1ad3ba(0x120)]{[_0x1ad3ba(0xf7)](){var _0x3c372e=_0x1ad3ba;return this[_0x3c372e(0xf4)][_0x3c372e(0x125)](exports['FCollaboration'],{'getUniverSheet':_0x4b96a9=>this['getUniverSheet'](_0x4b96a9)});}[_0x1ad3ba(0x105)](_0x39214a,_0x12bfd9,_0x5ea7c4){var _0x4e44dd=_0x1ad3ba;return this[_0x4e44dd(0xf4)][_0x4e44dd(0x125)](c[_0x4e44dd(0xf9)])[_0x4e44dd(0xfb)](_0x39214a,_0x12bfd9,_0x5ea7c4);}}l[_0x1ad3ba(0x120)]['extend'](u);function _0x11b1(){var _0x35603b=['SnapshotService','108515idgTDd','loadSheet','@univerjs-pro/collaboration-client','Inject','FBase','rxjs','_handler','FUniver','_snapshotService','230kqwIEI','847uRtdPU','pipe','createInstance','length','MemberService','_injector','readyForCollab','get','getCollaboration','loadSheetAsync','DataLoaderService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadUnit','2375pzxmYt','15831012xEbMzs','toDisposable','loadActiveSheetAsync','_collaborationController','FCollaboration','1521162NgxmgW','defineProperty','3605020ecyUru','loadServerUnit','60Ecnokd','_univerInstanceService','members$','@univerjs-pro/collaboration','getUniverSheet','toStringTag','22926ArsSAY','Injector','subscribeCollaborators','8skhxxk','from','Module','getOwnPropertyDescriptor','@univerjs/core/facade','subscribe','11yZExIC','@univerjs/core','993432lEJZDN'];_0x11b1=function(){return _0x35603b;};return _0x11b1();}
1
+ 'use strict';var _0x2c0ba0=_0x5e89;(function(_0x3b4dc2,_0x21a6a4){var _0x50f413=_0x5e89,_0x224a16=_0x3b4dc2();while(!![]){try{var _0x9f2fa4=parseInt(_0x50f413(0x101))/0x1*(parseInt(_0x50f413(0xe7))/0x2)+parseInt(_0x50f413(0xf8))/0x3*(parseInt(_0x50f413(0x10b))/0x4)+parseInt(_0x50f413(0xe4))/0x5*(-parseInt(_0x50f413(0xf5))/0x6)+parseInt(_0x50f413(0x104))/0x7*(-parseInt(_0x50f413(0xf7))/0x8)+parseInt(_0x50f413(0xe8))/0x9+parseInt(_0x50f413(0x108))/0xa*(-parseInt(_0x50f413(0xed))/0xb)+parseInt(_0x50f413(0xeb))/0xc;if(_0x9f2fa4===_0x21a6a4)break;else _0x224a16['push'](_0x224a16['shift']());}catch(_0x1113b4){_0x224a16['push'](_0x224a16['shift']());}}}(_0x13bf,0xe8b52));function _0x5e89(_0x1e3a0d,_0x147e2a){var _0x13bf72=_0x13bf();return _0x5e89=function(_0x5e897f,_0x16a917){_0x5e897f=_0x5e897f-0xdf;var _0x1964fc=_0x13bf72[_0x5e897f];return _0x1964fc;},_0x5e89(_0x1e3a0d,_0x147e2a);}Object['defineProperty'](exports,Symbol[_0x2c0ba0(0xf6)],{'value':'Module'});function _0x13bf(){var _0x59630d=['values','IUniverInstanceService','445331lIIHUe','pipe','SnapshotService','10261853feXnPb','loadServerUnit','extend','Inject','170exbAPP','MemberService','DataLoaderService','553388ofpCPH','from','length','toDisposable','FCollaboration','_handler','loadSheetAsync','getUniverSheet','4070bitIPl','_univerInstanceService','createInstance','2qDnWyX','8333847gtdKaC','members$','@univerjs/core','17044584mmVdgm','_injector','107063vpxAgF','subscribe','FBase','switchMap','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadSheet','subscribeCollaborators','_collaborationController','11724XECzpf','toStringTag','8yNpCAp','30PStAbz','_snapshotService','loadActiveSheetAsync','@univerjs-pro/collaboration','rxjs','Injector','loadActiveSheet'];_0x13bf=function(){return _0x59630d;};return _0x13bf();}const c=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),v=require(_0x2c0ba0(0xfb)),i=require(_0x2c0ba0(0xea)),b=require(_0x2c0ba0(0xfc));var S=Object['getOwnPropertyDescriptor'],d=(_0x1b5c82,_0x5156ca,_0x3c0fca,_0x172408)=>{var _0x292f5c=_0x2c0ba0;for(var _0x49df6c=_0x172408>0x1?void 0x0:_0x172408?S(_0x5156ca,_0x3c0fca):_0x5156ca,_0x239e59=_0x1b5c82[_0x292f5c(0x10d)]-0x1,_0x38fd3d;_0x239e59>=0x0;_0x239e59--)(_0x38fd3d=_0x1b5c82[_0x239e59])&&(_0x49df6c=_0x38fd3d(_0x49df6c)||_0x49df6c);return _0x49df6c;},s=(_0x38bd3f,_0x2dc924)=>(_0xac7369,_0xb24552)=>_0x2dc924(_0xac7369,_0xb24552,_0x38bd3f);exports[_0x2c0ba0(0xe0)]=class extends l[_0x2c0ba0(0xef)]{constructor(_0x50a4e5,_0x1252ca,_0x5e17fd,_0x4c76d8,_0x466994){var _0x129920=_0x2c0ba0;super(),this[_0x129920(0xe1)]=_0x50a4e5,this[_0x129920(0xec)]=_0x1252ca,this[_0x129920(0xe5)]=_0x5e17fd,this[_0x129920(0xf9)]=_0x4c76d8,this['_collaborationController']=_0x466994;}async[_0x2c0ba0(0xfe)](){var _0x18fcb2=_0x2c0ba0;return this[_0x18fcb2(0xfa)]();}async['loadActiveSheetAsync'](){var _0x482d56=_0x2c0ba0;throw new Error(_0x482d56(0xf1));}async['loadSheet'](_0x352a9c){return this['loadSheetAsync'](_0x352a9c);}async[_0x2c0ba0(0xe2)](_0x1036c6,_0x38231e){var _0x45b030=_0x2c0ba0;return await this['_snapshotService'][_0x45b030(0xf2)](_0x1036c6,0x0,_0x38231e)?(await this[_0x45b030(0xf4)]['readyForCollab'](_0x1036c6),this[_0x45b030(0xe1)][_0x45b030(0xe3)](_0x1036c6)):null;}[_0x2c0ba0(0xf3)](_0x557209,_0x5c7845){var _0x13bf6b=_0x2c0ba0;const _0x481ba5=this[_0x13bf6b(0xec)]['get'](c[_0x13bf6b(0x109)])['waitForRoom$'](_0x557209)[_0x13bf6b(0x102)](b[_0x13bf6b(0xf0)](_0x9bf0ec=>_0x9bf0ec[_0x13bf6b(0xe9)]))[_0x13bf6b(0xee)](_0x2f9552=>_0x5c7845(Array[_0x13bf6b(0x10c)](_0x2f9552[_0x13bf6b(0xff)]())));return i[_0x13bf6b(0xdf)](_0x481ba5);}},exports[_0x2c0ba0(0xe0)]=d([s(0x1,i[_0x2c0ba0(0x107)](i[_0x2c0ba0(0xfd)])),s(0x2,i[_0x2c0ba0(0x100)]),s(0x3,i[_0x2c0ba0(0x107)](v[_0x2c0ba0(0x103)])),s(0x4,i[_0x2c0ba0(0x107)](c['CollaborationController']))],exports[_0x2c0ba0(0xe0)]);class u extends l['FUniver']{['getCollaboration'](){var _0x25552e=_0x2c0ba0;return this[_0x25552e(0xec)]['createInstance'](exports[_0x25552e(0xe0)],{'getUniverSheet':_0x3d4359=>this[_0x25552e(0xe3)](_0x3d4359)});}[_0x2c0ba0(0x105)](_0xbd3f5d,_0x2d38c1,_0x59ea7f){var _0x552c70=_0x2c0ba0;return this[_0x552c70(0xec)][_0x552c70(0xe6)](c[_0x552c70(0x10a)])['loadUnit'](_0xbd3f5d,_0x2d38c1,_0x59ea7f);}}l['FUniver'][_0x2c0ba0(0x106)](u);