@univerjs-pro/collaboration-client 0.6.3 → 0.6.4

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 _0x3e953d=_0x3a5d;(function(_0x4573fe,_0x3622ce){var _0x45eae6=_0x3a5d,_0x2dfd6e=_0x4573fe();while(!![]){try{var _0xfa5656=-parseInt(_0x45eae6(0xba))/0x1*(-parseInt(_0x45eae6(0x9b))/0x2)+-parseInt(_0x45eae6(0xbd))/0x3*(parseInt(_0x45eae6(0x9e))/0x4)+-parseInt(_0x45eae6(0xa9))/0x5*(-parseInt(_0x45eae6(0x9a))/0x6)+parseInt(_0x45eae6(0xb7))/0x7*(parseInt(_0x45eae6(0x95))/0x8)+-parseInt(_0x45eae6(0xa7))/0x9*(-parseInt(_0x45eae6(0x92))/0xa)+parseInt(_0x45eae6(0xb2))/0xb+-parseInt(_0x45eae6(0xa1))/0xc;if(_0xfa5656===_0x3622ce)break;else _0x2dfd6e['push'](_0x2dfd6e['shift']());}catch(_0x2ff74d){_0x2dfd6e['push'](_0x2dfd6e['shift']());}}}(_0x24ba,0x5adf5));Object[_0x3e953d(0xb6)](exports,Symbol['toStringTag'],{'value':_0x3e953d(0xb5)});const l=require(_0x3e953d(0x97)),b=require(_0x3e953d(0xa4)),h=require(_0x3e953d(0xa3)),i=require(_0x3e953d(0xac)),v=require(_0x3e953d(0xb1));function _0x24ba(){var _0x565127=['defineProperty','106869omhdEb','get','createInstance','1907QVIXix','FBase','length','28083hrcncB','_univerInstanceService','FUniver','pipe','extend','30QENrGf','Injector','_handler','328waFZrx','_collaborationController','@univerjs/core/facade','members$','getCollaboration','6GQCmWE','94Zlrzby','loadSheet','waitForRoom$','52ZvOlHe','loadActiveSheetAsync','getUniverSheet','18527784OtrjPb','_injector','@univerjs-pro/collaboration-client','@univerjs-pro/collaboration','subscribe','_snapshotService','859608ZZHTDe','SnapshotService','2719640FQxNQN','loadSheetAsync','toDisposable','@univerjs/core','Inject','getOwnPropertyDescriptor','values','from','rxjs','5410328zOqzrb','FCollaboration','IUniverInstanceService','Module'];_0x24ba=function(){return _0x565127;};return _0x24ba();}var u=Object[_0x3e953d(0xae)],S=(_0x234f2f,_0x58ab7b,_0x449b38,_0x473838)=>{var _0x2eb6b9=_0x3e953d;for(var _0x3cfd5e=_0x473838>0x1?void 0x0:_0x473838?u(_0x58ab7b,_0x449b38):_0x58ab7b,_0x1280c7=_0x234f2f[_0x2eb6b9(0xbc)]-0x1,_0x3d7ec0;_0x1280c7>=0x0;_0x1280c7--)(_0x3d7ec0=_0x234f2f[_0x1280c7])&&(_0x3cfd5e=_0x3d7ec0(_0x3cfd5e)||_0x3cfd5e);return _0x3cfd5e;},s=(_0x5caf3f,_0x34d29a)=>(_0x461a9a,_0x367db9)=>_0x34d29a(_0x461a9a,_0x367db9,_0x5caf3f);exports[_0x3e953d(0xb3)]=class extends l[_0x3e953d(0xbb)]{constructor(_0x205dc2,_0x1aa65a,_0x471f5c,_0x2854a4,_0x485939){var _0x50e301=_0x3e953d;super(),this[_0x50e301(0x94)]=_0x205dc2,this[_0x50e301(0xa2)]=_0x1aa65a,this[_0x50e301(0xbe)]=_0x471f5c,this[_0x50e301(0xa6)]=_0x2854a4,this[_0x50e301(0x96)]=_0x485939;}async['loadActiveSheet'](){var _0x326a37=_0x3e953d;return this[_0x326a37(0x9f)]();}async[_0x3e953d(0x9f)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x3e953d(0x9c)](_0x589e48){var _0x255930=_0x3e953d;return this[_0x255930(0xaa)](_0x589e48);}async[_0x3e953d(0xaa)](_0x20dd6b,_0x4e37f7){var _0x3a93d6=_0x3e953d;return await this['_snapshotService'][_0x3a93d6(0x9c)](_0x20dd6b,0x0,_0x4e37f7)?(await this[_0x3a93d6(0x96)]['readyForCollab'](_0x20dd6b),this[_0x3a93d6(0x94)][_0x3a93d6(0xa0)](_0x20dd6b)):null;}['subscribeCollaborators'](_0xba6cea,_0x13c220){var _0x5956fa=_0x3e953d;const _0x4eecf8=this[_0x5956fa(0xa2)][_0x5956fa(0xb8)](h['MemberService'])[_0x5956fa(0x9d)](_0xba6cea)[_0x5956fa(0x90)](v['switchMap'](_0x2ebfe6=>_0x2ebfe6[_0x5956fa(0x98)]))[_0x5956fa(0xa5)](_0x45054f=>_0x13c220(Array[_0x5956fa(0xb0)](_0x45054f[_0x5956fa(0xaf)]())));return i[_0x5956fa(0xab)](_0x4eecf8);}},exports[_0x3e953d(0xb3)]=S([s(0x1,i[_0x3e953d(0xad)](i[_0x3e953d(0x93)])),s(0x2,i[_0x3e953d(0xb4)]),s(0x3,i[_0x3e953d(0xad)](b[_0x3e953d(0xa8)])),s(0x4,i['Inject'](h['CollaborationController']))],exports['FCollaboration']);class d extends l[_0x3e953d(0xbf)]{[_0x3e953d(0x99)](){var _0x164650=_0x3e953d;return this[_0x164650(0xa2)][_0x164650(0xb9)](exports[_0x164650(0xb3)],{'getUniverSheet':_0x86baac=>this[_0x164650(0xa0)](_0x86baac)});}}function _0x3a5d(_0x3f2105,_0xeb2ddc){var _0x24baf1=_0x24ba();return _0x3a5d=function(_0x3a5d92,_0x555b04){_0x3a5d92=_0x3a5d92-0x90;var _0x3d6b13=_0x24baf1[_0x3a5d92];return _0x3d6b13;},_0x3a5d(_0x3f2105,_0xeb2ddc);}l[_0x3e953d(0xbf)][_0x3e953d(0x91)](d);
1
+ 'use strict';var _0x566332=_0x387a;(function(_0x2f6daa,_0x44ea9d){var _0x3e37c4=_0x387a,_0x2b4dff=_0x2f6daa();while(!![]){try{var _0x1b720e=-parseInt(_0x3e37c4(0xa9))/0x1+parseInt(_0x3e37c4(0xc5))/0x2+-parseInt(_0x3e37c4(0xcd))/0x3+parseInt(_0x3e37c4(0xbf))/0x4+-parseInt(_0x3e37c4(0xaa))/0x5+-parseInt(_0x3e37c4(0xba))/0x6*(-parseInt(_0x3e37c4(0xb3))/0x7)+-parseInt(_0x3e37c4(0xc2))/0x8*(parseInt(_0x3e37c4(0xcc))/0x9);if(_0x1b720e===_0x44ea9d)break;else _0x2b4dff['push'](_0x2b4dff['shift']());}catch(_0x559b2c){_0x2b4dff['push'](_0x2b4dff['shift']());}}}(_0x2062,0x9dc6c));Object[_0x566332(0xc8)](exports,Symbol[_0x566332(0xc0)],{'value':_0x566332(0xa8)});const l=require(_0x566332(0xb1)),b=require(_0x566332(0xca)),h=require(_0x566332(0xbc)),i=require('@univerjs/core'),v=require('rxjs');function _0x387a(_0x37876e,_0x24f092){var _0x206251=_0x2062();return _0x387a=function(_0x387a42,_0x443e13){_0x387a42=_0x387a42-0xa5;var _0x35c7dc=_0x206251[_0x387a42];return _0x35c7dc;},_0x387a(_0x37876e,_0x24f092);}function _0x2062(){var _0x17320f=['_snapshotService','get','extend','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','@univerjs/core/facade','_handler','146874jYDOWG','SnapshotService','getCollaboration','createInstance','getUniverSheet','CollaborationController','subscribe','306QhJZEH','loadActiveSheetAsync','@univerjs-pro/collaboration-client','MemberService','Injector','41644zXdIZA','toStringTag','FBase','8xaCBDf','values','switchMap','2225344BHaooV','loadSheetAsync','loadSheet','defineProperty','_injector','@univerjs-pro/collaboration','length','3896757thspHS','2001435QkoIAY','subscribeCollaborators','Inject','getOwnPropertyDescriptor','FCollaboration','_collaborationController','Module','316047SUChtu','653740RqyTlV','_univerInstanceService','members$'];_0x2062=function(){return _0x17320f;};return _0x2062();}var u=Object[_0x566332(0xa5)],S=(_0x209000,_0x652c17,_0x4c1a90,_0x1685b9)=>{var _0x212704=_0x566332;for(var _0x23fdd9=_0x1685b9>0x1?void 0x0:_0x1685b9?u(_0x652c17,_0x4c1a90):_0x652c17,_0x10822c=_0x209000[_0x212704(0xcb)]-0x1,_0x53a5ea;_0x10822c>=0x0;_0x10822c--)(_0x53a5ea=_0x209000[_0x10822c])&&(_0x23fdd9=_0x53a5ea(_0x23fdd9)||_0x23fdd9);return _0x23fdd9;},s=(_0x2c04df,_0x15de28)=>(_0x5f4aa0,_0x77300c)=>_0x15de28(_0x5f4aa0,_0x77300c,_0x2c04df);exports[_0x566332(0xa6)]=class extends l[_0x566332(0xc1)]{constructor(_0x3bac78,_0x4ec4e9,_0x16629f,_0x327e7c,_0x554f71){var _0x2e237d=_0x566332;super(),this[_0x2e237d(0xb2)]=_0x3bac78,this[_0x2e237d(0xc9)]=_0x4ec4e9,this[_0x2e237d(0xab)]=_0x16629f,this['_snapshotService']=_0x327e7c,this[_0x2e237d(0xa7)]=_0x554f71;}async['loadActiveSheet'](){var _0x5f0eef=_0x566332;return this[_0x5f0eef(0xbb)]();}async[_0x566332(0xbb)](){var _0x5e539b=_0x566332;throw new Error(_0x5e539b(0xb0));}async[_0x566332(0xc7)](_0x44164e){var _0x2305a8=_0x566332;return this[_0x2305a8(0xc6)](_0x44164e);}async['loadSheetAsync'](_0x3079d6,_0x12db34){var _0x1bcea0=_0x566332;return await this[_0x1bcea0(0xad)][_0x1bcea0(0xc7)](_0x3079d6,0x0,_0x12db34)?(await this[_0x1bcea0(0xa7)]['readyForCollab'](_0x3079d6),this[_0x1bcea0(0xb2)][_0x1bcea0(0xb7)](_0x3079d6)):null;}[_0x566332(0xce)](_0x20d381,_0x66ccac){var _0x42e9d3=_0x566332;const _0x57eb7f=this[_0x42e9d3(0xc9)][_0x42e9d3(0xae)](h[_0x42e9d3(0xbd)])['waitForRoom$'](_0x20d381)['pipe'](v[_0x42e9d3(0xc4)](_0x2d1caf=>_0x2d1caf[_0x42e9d3(0xac)]))[_0x42e9d3(0xb9)](_0x39624e=>_0x66ccac(Array['from'](_0x39624e[_0x42e9d3(0xc3)]())));return i['toDisposable'](_0x57eb7f);}},exports[_0x566332(0xa6)]=S([s(0x1,i[_0x566332(0xcf)](i[_0x566332(0xbe)])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x566332(0xcf)](b[_0x566332(0xb4)])),s(0x4,i[_0x566332(0xcf)](h[_0x566332(0xb8)]))],exports[_0x566332(0xa6)]);class d extends l['FUniver']{[_0x566332(0xb5)](){var _0x10fbc3=_0x566332;return this[_0x10fbc3(0xc9)][_0x10fbc3(0xb6)](exports[_0x10fbc3(0xa6)],{'getUniverSheet':_0x331a69=>this[_0x10fbc3(0xb7)](_0x331a69)});}}l['FUniver'][_0x566332(0xaf)](d);