@univerjs-pro/collaboration-client 0.6.4 → 0.6.5-nightly.202503131607

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 _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);
1
+ 'use strict';var _0x2a4c30=_0x2f72;(function(_0x51a2b8,_0x2f6c79){var _0x387f0f=_0x2f72,_0x24e629=_0x51a2b8();while(!![]){try{var _0x5d3ae4=parseInt(_0x387f0f(0xab))/0x1*(-parseInt(_0x387f0f(0x99))/0x2)+parseInt(_0x387f0f(0x8a))/0x3*(parseInt(_0x387f0f(0xa5))/0x4)+-parseInt(_0x387f0f(0x97))/0x5+-parseInt(_0x387f0f(0xa1))/0x6*(-parseInt(_0x387f0f(0xaa))/0x7)+-parseInt(_0x387f0f(0x8f))/0x8*(-parseInt(_0x387f0f(0x89))/0x9)+-parseInt(_0x387f0f(0x8c))/0xa*(parseInt(_0x387f0f(0xb5))/0xb)+-parseInt(_0x387f0f(0x98))/0xc;if(_0x5d3ae4===_0x2f6c79)break;else _0x24e629['push'](_0x24e629['shift']());}catch(_0x3bfa84){_0x24e629['push'](_0x24e629['shift']());}}}(_0x32e5,0x9ac68));function _0x32e5(){var _0x4e9981=['createInstance','@univerjs-pro/collaboration-client','19662UePwxI','Injector','extend','CollaborationController','24CwbfTd','SnapshotService','_handler','subscribeCollaborators','Module','1183nGspvX','20MgVKUB','loadActiveSheetAsync','@univerjs/core','FBase','getCollaboration','_collaborationController','_univerInstanceService','waitForRoom$','subscribe','Inject','570097AgmqPh','loadActiveSheet','values','1767069qaPDFS','601149sLgTfx','loadSheetAsync','70wPlAjk','members$','switchMap','24kOLvFy','_snapshotService','getUniverSheet','FCollaboration','toStringTag','get','MemberService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','326490odThxJ','14002884rqlJRX','11618uhgfYU','loadSheet','length','_injector','FUniver','toDisposable'];_0x32e5=function(){return _0x4e9981;};return _0x32e5();}Object['defineProperty'](exports,Symbol[_0x2a4c30(0x93)],{'value':_0x2a4c30(0xa9)});const l=require('@univerjs/core/facade'),b=require('@univerjs-pro/collaboration'),h=require(_0x2a4c30(0xa0)),i=require(_0x2a4c30(0xad)),v=require('rxjs');var u=Object['getOwnPropertyDescriptor'],S=(_0x4982bc,_0x551a88,_0x3af579,_0x2960a7)=>{var _0x1b16b4=_0x2a4c30;for(var _0x499d31=_0x2960a7>0x1?void 0x0:_0x2960a7?u(_0x551a88,_0x3af579):_0x551a88,_0x5f567a=_0x4982bc[_0x1b16b4(0x9b)]-0x1,_0x23a9d7;_0x5f567a>=0x0;_0x5f567a--)(_0x23a9d7=_0x4982bc[_0x5f567a])&&(_0x499d31=_0x23a9d7(_0x499d31)||_0x499d31);return _0x499d31;},s=(_0x1cc702,_0x1a68b0)=>(_0x26a7ec,_0x1490d8)=>_0x1a68b0(_0x26a7ec,_0x1490d8,_0x1cc702);exports[_0x2a4c30(0x92)]=class extends l[_0x2a4c30(0xae)]{constructor(_0x400db9,_0x553b9c,_0x1a4986,_0x4a8c91,_0x537178){var _0x4de891=_0x2a4c30;super(),this[_0x4de891(0xa7)]=_0x400db9,this[_0x4de891(0x9c)]=_0x553b9c,this[_0x4de891(0xb1)]=_0x1a4986,this[_0x4de891(0x90)]=_0x4a8c91,this[_0x4de891(0xb0)]=_0x537178;}async[_0x2a4c30(0x87)](){var _0x9d9274=_0x2a4c30;return this[_0x9d9274(0xac)]();}async[_0x2a4c30(0xac)](){var _0x22df05=_0x2a4c30;throw new Error(_0x22df05(0x96));}async[_0x2a4c30(0x9a)](_0x4923e7){var _0x359213=_0x2a4c30;return this[_0x359213(0x8b)](_0x4923e7);}async['loadSheetAsync'](_0x17e0ba,_0x56fa07){var _0x6bac1c=_0x2a4c30;return await this[_0x6bac1c(0x90)][_0x6bac1c(0x9a)](_0x17e0ba,0x0,_0x56fa07)?(await this[_0x6bac1c(0xb0)]['readyForCollab'](_0x17e0ba),this[_0x6bac1c(0xa7)][_0x6bac1c(0x91)](_0x17e0ba)):null;}[_0x2a4c30(0xa8)](_0x1f441a,_0x34102e){var _0x247821=_0x2a4c30;const _0x3493b9=this[_0x247821(0x9c)][_0x247821(0x94)](h[_0x247821(0x95)])[_0x247821(0xb2)](_0x1f441a)['pipe'](v[_0x247821(0x8e)](_0x369497=>_0x369497[_0x247821(0x8d)]))[_0x247821(0xb3)](_0x2be817=>_0x34102e(Array['from'](_0x2be817[_0x247821(0x88)]())));return i[_0x247821(0x9e)](_0x3493b9);}},exports['FCollaboration']=S([s(0x1,i[_0x2a4c30(0xb4)](i[_0x2a4c30(0xa2)])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x2a4c30(0xb4)](b[_0x2a4c30(0xa6)])),s(0x4,i[_0x2a4c30(0xb4)](h[_0x2a4c30(0xa4)]))],exports[_0x2a4c30(0x92)]);class d extends l[_0x2a4c30(0x9d)]{[_0x2a4c30(0xaf)](){var _0x44b4a7=_0x2a4c30;return this['_injector'][_0x44b4a7(0x9f)](exports[_0x44b4a7(0x92)],{'getUniverSheet':_0x59b9bc=>this[_0x44b4a7(0x91)](_0x59b9bc)});}}function _0x2f72(_0x43cadf,_0x503075){var _0x32e52a=_0x32e5();return _0x2f72=function(_0x2f7271,_0x52cee5){_0x2f7271=_0x2f7271-0x87;var _0x153315=_0x32e52a[_0x2f7271];return _0x153315;},_0x2f72(_0x43cadf,_0x503075);}l[_0x2a4c30(0x9d)][_0x2a4c30(0xa3)](d);