@univerjs-pro/collaboration-client 0.6.0-alpha.0 → 0.6.0-nightly.202501251605

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';function _0xd849(){var _0x470767=['from','waitForRoom$','SnapshotService','IUniverInstanceService','toStringTag','145504bbSYtm','Inject','extend','CollaborationController','readyForCollab','50lOOqmt','rxjs','length','getUniverSheet','subscribeCollaborators','4013586aCiOjL','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','_injector','@univerjs-pro/collaboration','297EQdUza','loadActiveSheetAsync','UniverInstanceType','loadSheetAsync','FUniver','5121000akNScc','getCollaboration','969925PBjfRP','defineProperty','_collaborationController','loadSheet','pipe','_handler','89svaRQm','values','members$','_snapshotService','_univerInstanceService','16402kVGMzi','46628jssVdE','subscribe','117BGmEdI','FCollaboration','5413912xFoAwV','UNIVER_SHEET','loadActiveSheet','Injector','toDisposable','FBase','getOwnPropertyDescriptor','Module'];_0xd849=function(){return _0x470767;};return _0xd849();}function _0x1857(_0x1d2e41,_0x703be0){var _0xd849ae=_0xd849();return _0x1857=function(_0x18576a,_0xb006d0){_0x18576a=_0x18576a-0x85;var _0x1ff68=_0xd849ae[_0x18576a];return _0x1ff68;},_0x1857(_0x1d2e41,_0x703be0);}var _0x5a9ebf=_0x1857;(function(_0x31ee39,_0x245589){var _0x52568f=_0x1857,_0x37be2a=_0x31ee39();while(!![]){try{var _0x2bc774=-parseInt(_0x52568f(0x92))/0x1*(-parseInt(_0x52568f(0x97))/0x2)+parseInt(_0x52568f(0x9a))/0x3*(-parseInt(_0x52568f(0x98))/0x4)+-parseInt(_0x52568f(0x8a))/0x5+parseInt(_0x52568f(0xb3))/0x6+parseInt(_0x52568f(0x9c))/0x7+-parseInt(_0x52568f(0xa9))/0x8*(parseInt(_0x52568f(0x85))/0x9)+parseInt(_0x52568f(0xae))/0xa*(parseInt(_0x52568f(0x8c))/0xb);if(_0x2bc774===_0x245589)break;else _0x37be2a['push'](_0x37be2a['shift']());}catch(_0x7150d2){_0x37be2a['push'](_0x37be2a['shift']());}}}(_0xd849,0x82644));Object[_0x5a9ebf(0x8d)](exports,Symbol[_0x5a9ebf(0xa8)],{'value':_0x5a9ebf(0xa3)});const o=require('@univerjs/core'),h=require(_0x5a9ebf(0xb6)),c=require('@univerjs-pro/collaboration-client'),b=require(_0x5a9ebf(0xaf));var v=Object['defineProperty'],u=Object[_0x5a9ebf(0xa2)],S=(_0x3c0991,_0x4a6745,_0x3003ef,_0x1e037f)=>{var _0x14fca7=_0x5a9ebf;for(var _0x3edc26=_0x1e037f>0x1?void 0x0:_0x1e037f?u(_0x4a6745,_0x3003ef):_0x4a6745,_0x4fcf04=_0x3c0991[_0x14fca7(0xb0)]-0x1,_0x235a5b;_0x4fcf04>=0x0;_0x4fcf04--)(_0x235a5b=_0x3c0991[_0x4fcf04])&&(_0x3edc26=(_0x1e037f?_0x235a5b(_0x4a6745,_0x3003ef,_0x3edc26):_0x235a5b(_0x3edc26))||_0x3edc26);return _0x1e037f&&_0x3edc26&&v(_0x4a6745,_0x3003ef,_0x3edc26),_0x3edc26;},s=(_0x187324,_0x194db0)=>(_0x28d665,_0x14ae5c)=>_0x194db0(_0x28d665,_0x14ae5c,_0x187324);exports[_0x5a9ebf(0x9b)]=class extends o[_0x5a9ebf(0xa1)]{constructor(_0x525bb2,_0x2a4b16,_0x367dd0,_0x1cc09f,_0x59df68){var _0x3f65df=_0x5a9ebf;super(),this['_handler']=_0x525bb2,this['_injector']=_0x2a4b16,this[_0x3f65df(0x96)]=_0x367dd0,this['_snapshotService']=_0x1cc09f,this[_0x3f65df(0x8e)]=_0x59df68;}async[_0x5a9ebf(0x9e)](){var _0x345163=_0x5a9ebf;return this[_0x345163(0x86)]();}async[_0x5a9ebf(0x86)](){var _0x3b01cb=_0x5a9ebf;throw new Error(_0x3b01cb(0xb4));}async[_0x5a9ebf(0x8f)](_0x362820){var _0x2a891e=_0x5a9ebf;return this[_0x2a891e(0x88)](_0x362820);}async[_0x5a9ebf(0x88)](_0x3de8b1){var _0x1d12cc=_0x5a9ebf;return this[_0x1d12cc(0x96)]['getUnit'](_0x3de8b1,o[_0x1d12cc(0x87)][_0x1d12cc(0x9d)])||await this[_0x1d12cc(0x95)][_0x1d12cc(0x8f)](_0x3de8b1,0x0)?(await this[_0x1d12cc(0x8e)][_0x1d12cc(0xad)](_0x3de8b1),this[_0x1d12cc(0x91)][_0x1d12cc(0xb1)](_0x3de8b1)):null;}[_0x5a9ebf(0xb2)](_0x16438d,_0x434680){var _0x5df7b0=_0x5a9ebf;const _0x1dfe1c=this[_0x5df7b0(0xb5)]['get'](c['MemberService'])[_0x5df7b0(0xa5)](_0x16438d)[_0x5df7b0(0x90)](b['switchMap'](_0x4f73b1=>_0x4f73b1[_0x5df7b0(0x94)]))[_0x5df7b0(0x99)](_0x1473de=>_0x434680(Array[_0x5df7b0(0xa4)](_0x1473de[_0x5df7b0(0x93)]())));return o[_0x5df7b0(0xa0)](_0x1dfe1c);}},exports[_0x5a9ebf(0x9b)]=S([s(0x1,o[_0x5a9ebf(0xaa)](o[_0x5a9ebf(0x9f)])),s(0x2,o[_0x5a9ebf(0xa7)]),s(0x3,o[_0x5a9ebf(0xaa)](h[_0x5a9ebf(0xa6)])),s(0x4,o[_0x5a9ebf(0xaa)](c[_0x5a9ebf(0xac)]))],exports[_0x5a9ebf(0x9b)]);class _ extends o['FUniver']{[_0x5a9ebf(0x8b)](){var _0x483646=_0x5a9ebf;return this[_0x483646(0xb5)]['createInstance'](exports[_0x483646(0x9b)],{'getUniverSheet':_0x45442d=>this['getUniverSheet'](_0x45442d)});}}o[_0x5a9ebf(0x89)][_0x5a9ebf(0xab)](_);
1
+ 'use strict';function _0x1bfe(){var _0x1fb306=['3541128GaSwBu','loadActiveSheetAsync','_snapshotService','12MGtDNW','length','_injector','loadSheet','_univerInstanceService','Module','5534hxjgkw','from','CollaborationController','subscribeCollaborators','waitForRoom$','members$','FBase','FCollaboration','@univerjs/core','extend','Inject','317250qxxiPr','pipe','MemberService','getCollaboration','@univerjs-pro/collaboration-client','_handler','getUniverSheet','rxjs','defineProperty','UniverInstanceType','switchMap','IUniverInstanceService','4szxFXL','FUniver','createInstance','17495ITngpS','toDisposable','values','getOwnPropertyDescriptor','Injector','219670mVqGAz','@univerjs-pro/collaboration','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','366VWPpZs','3149181TXOGZx','toStringTag','_collaborationController','getUnit','15253fDuatH','subscribe'];_0x1bfe=function(){return _0x1fb306;};return _0x1bfe();}var _0x404c58=_0x3c75;(function(_0x4376ad,_0x3a9ace){var _0x38c172=_0x3c75,_0x4430e4=_0x4376ad();while(!![]){try{var _0xca876c=-parseInt(_0x38c172(0x1a2))/0x1+-parseInt(_0x38c172(0x1b5))/0x2*(-parseInt(_0x38c172(0x1af))/0x3)+-parseInt(_0x38c172(0x1cc))/0x4*(parseInt(_0x38c172(0x19d))/0x5)+-parseInt(_0x38c172(0x1a5))/0x6*(parseInt(_0x38c172(0x1aa))/0x7)+parseInt(_0x38c172(0x1ac))/0x8+parseInt(_0x38c172(0x1a6))/0x9+parseInt(_0x38c172(0x1c0))/0xa;if(_0xca876c===_0x3a9ace)break;else _0x4430e4['push'](_0x4430e4['shift']());}catch(_0x26266f){_0x4430e4['push'](_0x4430e4['shift']());}}}(_0x1bfe,0x75017));Object[_0x404c58(0x1c8)](exports,Symbol[_0x404c58(0x1a7)],{'value':_0x404c58(0x1b4)});const o=require(_0x404c58(0x1bd)),h=require(_0x404c58(0x1a3)),c=require(_0x404c58(0x1c4)),b=require(_0x404c58(0x1c7));function _0x3c75(_0x284c24,_0x174c10){var _0x1bfee5=_0x1bfe();return _0x3c75=function(_0x3c752b,_0x31d401){_0x3c752b=_0x3c752b-0x19c;var _0x557cf2=_0x1bfee5[_0x3c752b];return _0x557cf2;},_0x3c75(_0x284c24,_0x174c10);}var v=Object['defineProperty'],u=Object[_0x404c58(0x1a0)],S=(_0x13787b,_0x383a07,_0x4d43bc,_0x5e7bdf)=>{var _0x2dce79=_0x404c58;for(var _0x37b8e9=_0x5e7bdf>0x1?void 0x0:_0x5e7bdf?u(_0x383a07,_0x4d43bc):_0x383a07,_0x1d1082=_0x13787b[_0x2dce79(0x1b0)]-0x1,_0x63d2ec;_0x1d1082>=0x0;_0x1d1082--)(_0x63d2ec=_0x13787b[_0x1d1082])&&(_0x37b8e9=(_0x5e7bdf?_0x63d2ec(_0x383a07,_0x4d43bc,_0x37b8e9):_0x63d2ec(_0x37b8e9))||_0x37b8e9);return _0x5e7bdf&&_0x37b8e9&&v(_0x383a07,_0x4d43bc,_0x37b8e9),_0x37b8e9;},s=(_0x3d6a92,_0x5e41b2)=>(_0xf9cf98,_0x1e1599)=>_0x5e41b2(_0xf9cf98,_0x1e1599,_0x3d6a92);exports[_0x404c58(0x1bc)]=class extends o[_0x404c58(0x1bb)]{constructor(_0x41fc29,_0x31da10,_0x42a92a,_0x387821,_0x50fce8){var _0x3ce357=_0x404c58;super(),this[_0x3ce357(0x1c5)]=_0x41fc29,this[_0x3ce357(0x1b1)]=_0x31da10,this[_0x3ce357(0x1b3)]=_0x42a92a,this['_snapshotService']=_0x387821,this['_collaborationController']=_0x50fce8;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async[_0x404c58(0x1ad)](){var _0x1b7386=_0x404c58;throw new Error(_0x1b7386(0x1a4));}async[_0x404c58(0x1b2)](_0x4f90b1){return this['loadSheetAsync'](_0x4f90b1);}async['loadSheetAsync'](_0xdb3a62){var _0x1a4b59=_0x404c58;return this[_0x1a4b59(0x1b3)][_0x1a4b59(0x1a9)](_0xdb3a62,o[_0x1a4b59(0x1c9)]['UNIVER_SHEET'])||await this[_0x1a4b59(0x1ae)][_0x1a4b59(0x1b2)](_0xdb3a62,0x0)?(await this[_0x1a4b59(0x1a8)]['readyForCollab'](_0xdb3a62),this[_0x1a4b59(0x1c5)][_0x1a4b59(0x1c6)](_0xdb3a62)):null;}[_0x404c58(0x1b8)](_0x50194f,_0xeb667d){var _0x5e6d54=_0x404c58;const _0x349416=this[_0x5e6d54(0x1b1)]['get'](c[_0x5e6d54(0x1c2)])[_0x5e6d54(0x1b9)](_0x50194f)[_0x5e6d54(0x1c1)](b[_0x5e6d54(0x1ca)](_0x52c6cb=>_0x52c6cb[_0x5e6d54(0x1ba)]))[_0x5e6d54(0x1ab)](_0x260896=>_0xeb667d(Array[_0x5e6d54(0x1b6)](_0x260896[_0x5e6d54(0x19f)]())));return o[_0x5e6d54(0x19e)](_0x349416);}},exports[_0x404c58(0x1bc)]=S([s(0x1,o[_0x404c58(0x1bf)](o[_0x404c58(0x1a1)])),s(0x2,o[_0x404c58(0x1cb)]),s(0x3,o[_0x404c58(0x1bf)](h['SnapshotService'])),s(0x4,o[_0x404c58(0x1bf)](c[_0x404c58(0x1b7)]))],exports[_0x404c58(0x1bc)]);class _ extends o[_0x404c58(0x1cd)]{[_0x404c58(0x1c3)](){var _0x4ee947=_0x404c58;return this[_0x4ee947(0x1b1)][_0x4ee947(0x19c)](exports['FCollaboration'],{'getUniverSheet':_0xe6d863=>this[_0x4ee947(0x1c6)](_0xe6d863)});}}o[_0x404c58(0x1cd)][_0x404c58(0x1be)](_);