@univerjs-pro/collaboration-client 0.5.1-nightly.202412221605 → 0.5.1-nightly.202412231606

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 _0x4e8be2=_0x1f07;(function(_0x16ee48,_0x4d79a4){var _0x5c7f07=_0x1f07,_0x42c396=_0x16ee48();while(!![]){try{var _0xcac2ce=parseInt(_0x5c7f07(0xe4))/0x1*(parseInt(_0x5c7f07(0xe9))/0x2)+parseInt(_0x5c7f07(0xe5))/0x3*(parseInt(_0x5c7f07(0xc7))/0x4)+-parseInt(_0x5c7f07(0xd3))/0x5+parseInt(_0x5c7f07(0xea))/0x6*(-parseInt(_0x5c7f07(0xe3))/0x7)+parseInt(_0x5c7f07(0xbf))/0x8+parseInt(_0x5c7f07(0xc4))/0x9+parseInt(_0x5c7f07(0xc3))/0xa;if(_0xcac2ce===_0x4d79a4)break;else _0x42c396['push'](_0x42c396['shift']());}catch(_0x4146e6){_0x42c396['push'](_0x42c396['shift']());}}}(_0x516f,0x6b18e));function _0x1f07(_0x45c1ed,_0x43ddd7){var _0x516f16=_0x516f();return _0x1f07=function(_0x1f074a,_0x103137){_0x1f074a=_0x1f074a-0xbd;var _0x377d17=_0x516f16[_0x1f074a];return _0x377d17;},_0x1f07(_0x45c1ed,_0x43ddd7);}Object['defineProperty'](exports,Symbol[_0x4e8be2(0xd8)],{'value':_0x4e8be2(0xe2)});const t=require(_0x4e8be2(0xca)),b=require(_0x4e8be2(0xdd)),c=require(_0x4e8be2(0xcc)),v=require('rxjs');var h=Object[_0x4e8be2(0xd2)],u=Object[_0x4e8be2(0xbd)],_=(_0x2f3dad,_0xc93ffa,_0x4e4a2e,_0x385cc5)=>{var _0x34ba78=_0x4e8be2;for(var _0x2718b6=_0x385cc5>0x1?void 0x0:_0x385cc5?u(_0xc93ffa,_0x4e4a2e):_0xc93ffa,_0x1928eb=_0x2f3dad[_0x34ba78(0xe8)]-0x1,_0xa52cce;_0x1928eb>=0x0;_0x1928eb--)(_0xa52cce=_0x2f3dad[_0x1928eb])&&(_0x2718b6=(_0x385cc5?_0xa52cce(_0xc93ffa,_0x4e4a2e,_0x2718b6):_0xa52cce(_0x2718b6))||_0x2718b6);return _0x385cc5&&_0x2718b6&&h(_0xc93ffa,_0x4e4a2e,_0x2718b6),_0x2718b6;},s=(_0x498f63,_0x9c0708)=>(_0x41de67,_0x4a40c5)=>_0x9c0708(_0x41de67,_0x4a40c5,_0x498f63);function _0x516f(){var _0x543607=['FUniver','@univerjs-pro/collaboration','loadActiveSheet','_collaborationController','waitForRoom$','members$','Module','2618gLXuSH','2838kCSYer','36JXExEb','pipe','get','length','234bGYmsn','13668vGtlHC','getOwnPropertyDescriptor','getUniverSheet','487872tKlHER','IUniverInstanceService','from','SnapshotService','835620PdkMHz','2671803cIcOre','getCollaboration','CollaborationController','264640dBIPdx','UNIVER_SHEET','Injector','@univerjs/core','getUnit','@univerjs-pro/collaboration-client','Inject','FBase','MemberService','FCollaboration','_injector','defineProperty','1383685iiwaku','_snapshotService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','readyForCollab','values','toStringTag','_univerInstanceService','loadSheet','UniverInstanceType'];_0x516f=function(){return _0x543607;};return _0x516f();}exports[_0x4e8be2(0xd0)]=class extends t[_0x4e8be2(0xce)]{constructor(_0x1443b6,_0x1ac7e5,_0x123a96,_0x123c6f,_0x16fea5){var _0x37230b=_0x4e8be2;super(),this['_handler']=_0x1443b6,this[_0x37230b(0xd1)]=_0x1ac7e5,this[_0x37230b(0xd9)]=_0x123a96,this['_snapshotService']=_0x123c6f,this[_0x37230b(0xdf)]=_0x16fea5;}async[_0x4e8be2(0xde)](){var _0xc526e6=_0x4e8be2;throw new Error(_0xc526e6(0xd5));}async[_0x4e8be2(0xda)](_0x3fb83a){var _0x3e4aeb=_0x4e8be2;return this[_0x3e4aeb(0xd9)][_0x3e4aeb(0xcb)](_0x3fb83a,t[_0x3e4aeb(0xdb)][_0x3e4aeb(0xc8)])||await this[_0x3e4aeb(0xd4)][_0x3e4aeb(0xda)](_0x3fb83a,0x0)?(await this[_0x3e4aeb(0xdf)][_0x3e4aeb(0xd6)](_0x3fb83a),this['_handler'][_0x3e4aeb(0xbe)](_0x3fb83a)):null;}['subscribeCollaborators'](_0x40be1d,_0x4bfc19){var _0x39aa02=_0x4e8be2;const _0x1d84f5=this[_0x39aa02(0xd1)][_0x39aa02(0xe7)](c[_0x39aa02(0xcf)])[_0x39aa02(0xe0)](_0x40be1d)[_0x39aa02(0xe6)](v['switchMap'](_0x17c4e9=>_0x17c4e9[_0x39aa02(0xe1)]))['subscribe'](_0x45963e=>_0x4bfc19(Array[_0x39aa02(0xc1)](_0x45963e[_0x39aa02(0xd7)]())));return t['toDisposable'](_0x1d84f5);}},exports[_0x4e8be2(0xd0)]=_([s(0x1,t[_0x4e8be2(0xcd)](t[_0x4e8be2(0xc9)])),s(0x2,t[_0x4e8be2(0xc0)]),s(0x3,t['Inject'](b[_0x4e8be2(0xc2)])),s(0x4,t[_0x4e8be2(0xcd)](c[_0x4e8be2(0xc6)]))],exports[_0x4e8be2(0xd0)]);class S extends t[_0x4e8be2(0xdc)]{[_0x4e8be2(0xc5)](){var _0x2585db=_0x4e8be2;return this[_0x2585db(0xd1)]['createInstance'](exports[_0x2585db(0xd0)],{'getUniverSheet':_0x4ea896=>this[_0x2585db(0xbe)](_0x4ea896)});}}t[_0x4e8be2(0xdc)]['extend'](S);
1
+ 'use strict';function _0x3350(_0x4243bf,_0x1b5700){var _0x37eda6=_0x37ed();return _0x3350=function(_0x3350e9,_0x51a384){_0x3350e9=_0x3350e9-0x153;var _0x20a874=_0x37eda6[_0x3350e9];return _0x20a874;},_0x3350(_0x4243bf,_0x1b5700);}var _0x4b421d=_0x3350;(function(_0x4d482a,_0x4d0260){var _0x57cbb3=_0x3350,_0x1e0119=_0x4d482a();while(!![]){try{var _0x194062=parseInt(_0x57cbb3(0x156))/0x1*(-parseInt(_0x57cbb3(0x153))/0x2)+-parseInt(_0x57cbb3(0x177))/0x3+-parseInt(_0x57cbb3(0x160))/0x4*(-parseInt(_0x57cbb3(0x174))/0x5)+parseInt(_0x57cbb3(0x15d))/0x6*(-parseInt(_0x57cbb3(0x16e))/0x7)+parseInt(_0x57cbb3(0x162))/0x8*(parseInt(_0x57cbb3(0x173))/0x9)+parseInt(_0x57cbb3(0x180))/0xa*(-parseInt(_0x57cbb3(0x161))/0xb)+-parseInt(_0x57cbb3(0x172))/0xc*(-parseInt(_0x57cbb3(0x17e))/0xd);if(_0x194062===_0x4d0260)break;else _0x1e0119['push'](_0x1e0119['shift']());}catch(_0x2057db){_0x1e0119['push'](_0x1e0119['shift']());}}}(_0x37ed,0x7449c));Object[_0x4b421d(0x179)](exports,Symbol['toStringTag'],{'value':_0x4b421d(0x16d)});const t=require(_0x4b421d(0x171)),b=require(_0x4b421d(0x176)),c=require('@univerjs-pro/collaboration-client'),v=require(_0x4b421d(0x15c));var h=Object[_0x4b421d(0x179)],u=Object[_0x4b421d(0x15e)],_=(_0x3e7d6e,_0x390004,_0x37f45b,_0x7f6d37)=>{var _0x21ee61=_0x4b421d;for(var _0x4c96c7=_0x7f6d37>0x1?void 0x0:_0x7f6d37?u(_0x390004,_0x37f45b):_0x390004,_0x100b6d=_0x3e7d6e[_0x21ee61(0x15a)]-0x1,_0x9566f3;_0x100b6d>=0x0;_0x100b6d--)(_0x9566f3=_0x3e7d6e[_0x100b6d])&&(_0x4c96c7=(_0x7f6d37?_0x9566f3(_0x390004,_0x37f45b,_0x4c96c7):_0x9566f3(_0x4c96c7))||_0x4c96c7);return _0x7f6d37&&_0x4c96c7&&h(_0x390004,_0x37f45b,_0x4c96c7),_0x4c96c7;},s=(_0x123761,_0x360fca)=>(_0x1eb56c,_0x2fc4b6)=>_0x360fca(_0x1eb56c,_0x2fc4b6,_0x123761);function _0x37ed(){var _0x3b805e=['toDisposable','@univerjs/core','168jgIGiI','9EpDwTk','25ScqOlo','getUniverSheet','@univerjs-pro/collaboration','2843085iDelWa','subscribeCollaborators','defineProperty','SnapshotService','_snapshotService','UniverInstanceType','_injector','1932242nfPQrs','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','422030LRUiow','loadSheet','Inject','readyForCollab','128URvyfd','_handler','CollaborationController','8849UtmwVx','from','_collaborationController','extend','length','values','rxjs','9252UBuGyJ','getOwnPropertyDescriptor','members$','181992qjJBqv','33uZBuKQ','2181856dpjHUd','getCollaboration','FBase','switchMap','pipe','_univerInstanceService','FCollaboration','getUnit','FUniver','loadActiveSheet','IUniverInstanceService','Module','2107CJVpvv','Injector'];_0x37ed=function(){return _0x3b805e;};return _0x37ed();}exports[_0x4b421d(0x168)]=class extends t[_0x4b421d(0x164)]{constructor(_0x2ddcd8,_0x2592fb,_0x8e0fba,_0x31c2d5,_0x51b26f){var _0x143148=_0x4b421d;super(),this[_0x143148(0x154)]=_0x2ddcd8,this[_0x143148(0x17d)]=_0x2592fb,this[_0x143148(0x167)]=_0x8e0fba,this[_0x143148(0x17b)]=_0x31c2d5,this[_0x143148(0x158)]=_0x51b26f;}async[_0x4b421d(0x16b)](){var _0x53bd04=_0x4b421d;throw new Error(_0x53bd04(0x17f));}async[_0x4b421d(0x181)](_0x1ac5eb){var _0x150ab2=_0x4b421d;return this[_0x150ab2(0x167)][_0x150ab2(0x169)](_0x1ac5eb,t[_0x150ab2(0x17c)]['UNIVER_SHEET'])||await this[_0x150ab2(0x17b)][_0x150ab2(0x181)](_0x1ac5eb,0x0)?(await this['_collaborationController'][_0x150ab2(0x183)](_0x1ac5eb),this[_0x150ab2(0x154)][_0x150ab2(0x175)](_0x1ac5eb)):null;}[_0x4b421d(0x178)](_0x273d6f,_0x422cfc){var _0x491b53=_0x4b421d;const _0x3d4e0d=this[_0x491b53(0x17d)]['get'](c['MemberService'])['waitForRoom$'](_0x273d6f)[_0x491b53(0x166)](v[_0x491b53(0x165)](_0x5818da=>_0x5818da[_0x491b53(0x15f)]))['subscribe'](_0x3e3e1e=>_0x422cfc(Array[_0x491b53(0x157)](_0x3e3e1e[_0x491b53(0x15b)]())));return t[_0x491b53(0x170)](_0x3d4e0d);}},exports[_0x4b421d(0x168)]=_([s(0x1,t['Inject'](t[_0x4b421d(0x16f)])),s(0x2,t[_0x4b421d(0x16c)]),s(0x3,t[_0x4b421d(0x182)](b[_0x4b421d(0x17a)])),s(0x4,t[_0x4b421d(0x182)](c[_0x4b421d(0x155)]))],exports[_0x4b421d(0x168)]);class S extends t[_0x4b421d(0x16a)]{[_0x4b421d(0x163)](){var _0x54961d=_0x4b421d;return this[_0x54961d(0x17d)]['createInstance'](exports['FCollaboration'],{'getUniverSheet':_0x191919=>this[_0x54961d(0x175)](_0x191919)});}}t[_0x4b421d(0x16a)][_0x4b421d(0x159)](S);