@univerjs-pro/collaboration-client 0.6.0-nightly.202501271606 → 0.6.0-nightly.202501281606

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 _0xc90bdb=_0x3b68;(function(_0x409717,_0x78aa98){var _0x4b6240=_0x3b68,_0x46f0b2=_0x409717();while(!![]){try{var _0x289556=parseInt(_0x4b6240(0x1a2))/0x1+parseInt(_0x4b6240(0x19d))/0x2*(-parseInt(_0x4b6240(0x1ab))/0x3)+-parseInt(_0x4b6240(0x18f))/0x4*(parseInt(_0x4b6240(0x1b4))/0x5)+-parseInt(_0x4b6240(0x19c))/0x6+-parseInt(_0x4b6240(0x1af))/0x7*(parseInt(_0x4b6240(0x197))/0x8)+-parseInt(_0x4b6240(0x1a9))/0x9+-parseInt(_0x4b6240(0x1a8))/0xa*(-parseInt(_0x4b6240(0x1bd))/0xb);if(_0x289556===_0x78aa98)break;else _0x46f0b2['push'](_0x46f0b2['shift']());}catch(_0xa25bbf){_0x46f0b2['push'](_0x46f0b2['shift']());}}}(_0x2dd5,0x91848));Object['defineProperty'](exports,Symbol[_0xc90bdb(0x1b0)],{'value':_0xc90bdb(0x1b8)});const o=require(_0xc90bdb(0x1ba)),h=require(_0xc90bdb(0x1b1)),c=require(_0xc90bdb(0x196)),b=require(_0xc90bdb(0x1b2));var v=Object['defineProperty'],u=Object[_0xc90bdb(0x1a4)],S=(_0x426f20,_0x5cdd87,_0x45a9bc,_0x417603)=>{var _0x329db1=_0xc90bdb;for(var _0x15dec5=_0x417603>0x1?void 0x0:_0x417603?u(_0x5cdd87,_0x45a9bc):_0x5cdd87,_0x47fdea=_0x426f20[_0x329db1(0x198)]-0x1,_0x47bfd2;_0x47fdea>=0x0;_0x47fdea--)(_0x47bfd2=_0x426f20[_0x47fdea])&&(_0x15dec5=(_0x417603?_0x47bfd2(_0x5cdd87,_0x45a9bc,_0x15dec5):_0x47bfd2(_0x15dec5))||_0x15dec5);return _0x417603&&_0x15dec5&&v(_0x5cdd87,_0x45a9bc,_0x15dec5),_0x15dec5;},s=(_0x407ed6,_0x16c431)=>(_0x5ea77e,_0x5b2baf)=>_0x16c431(_0x5ea77e,_0x5b2baf,_0x407ed6);function _0x3b68(_0x115dc4,_0x40317a){var _0x2dd575=_0x2dd5();return _0x3b68=function(_0x3b68c0,_0x126f8a){_0x3b68c0=_0x3b68c0-0x18f;var _0x30f149=_0x2dd575[_0x3b68c0];return _0x30f149;},_0x3b68(_0x115dc4,_0x40317a);}function _0x2dd5(){var _0x428fd5=['getUniverSheet','_injector','loadActiveSheetAsync','155466THqdsN','MemberService','getOwnPropertyDescriptor','createInstance','Injector','switchMap','390yOAmWA','1252611cLFSwd','values','3fjbwPX','FBase','SnapshotService','UNIVER_SHEET','1765176AZdzYN','toStringTag','@univerjs-pro/collaboration','rxjs','CollaborationController','25dIoKqd','loadActiveSheet','IUniverInstanceService','loadSheet','Module','Inject','@univerjs/core','_handler','_univerInstanceService','868516fqVjvy','subscribeCollaborators','extend','subscribe','loadSheetAsync','716436IyczvV','readyForCollab','UniverInstanceType','from','getUnit','getCollaboration','FUniver','@univerjs-pro/collaboration-client','24LDRIYz','length','_collaborationController','_snapshotService','members$','3314910lNQZNa','589994fnbklm','FCollaboration'];_0x2dd5=function(){return _0x428fd5;};return _0x2dd5();}exports[_0xc90bdb(0x19e)]=class extends o[_0xc90bdb(0x1ac)]{constructor(_0x58fd5b,_0x4c9643,_0x5bc0d3,_0x3a8ea3,_0x2ead19){var _0x19f945=_0xc90bdb;super(),this[_0x19f945(0x1bb)]=_0x58fd5b,this[_0x19f945(0x1a0)]=_0x4c9643,this['_univerInstanceService']=_0x5bc0d3,this[_0x19f945(0x19a)]=_0x3a8ea3,this[_0x19f945(0x199)]=_0x2ead19;}async[_0xc90bdb(0x1b5)](){var _0x55dbe4=_0xc90bdb;return this[_0x55dbe4(0x1a1)]();}async[_0xc90bdb(0x1a1)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x388d4e){var _0x173603=_0xc90bdb;return this[_0x173603(0x1c1)](_0x388d4e);}async[_0xc90bdb(0x1c1)](_0x31053b){var _0x22ae16=_0xc90bdb;return this[_0x22ae16(0x1bc)][_0x22ae16(0x193)](_0x31053b,o[_0x22ae16(0x191)][_0x22ae16(0x1ae)])||await this[_0x22ae16(0x19a)][_0x22ae16(0x1b7)](_0x31053b,0x0)?(await this['_collaborationController'][_0x22ae16(0x190)](_0x31053b),this['_handler'][_0x22ae16(0x19f)](_0x31053b)):null;}[_0xc90bdb(0x1be)](_0x4ecbb9,_0x4f2fb7){var _0x3da5ed=_0xc90bdb;const _0x5a9649=this[_0x3da5ed(0x1a0)]['get'](c[_0x3da5ed(0x1a3)])['waitForRoom$'](_0x4ecbb9)['pipe'](b[_0x3da5ed(0x1a7)](_0x16f284=>_0x16f284[_0x3da5ed(0x19b)]))[_0x3da5ed(0x1c0)](_0x42da89=>_0x4f2fb7(Array[_0x3da5ed(0x192)](_0x42da89[_0x3da5ed(0x1aa)]())));return o['toDisposable'](_0x5a9649);}},exports['FCollaboration']=S([s(0x1,o[_0xc90bdb(0x1b9)](o[_0xc90bdb(0x1a6)])),s(0x2,o[_0xc90bdb(0x1b6)]),s(0x3,o[_0xc90bdb(0x1b9)](h[_0xc90bdb(0x1ad)])),s(0x4,o[_0xc90bdb(0x1b9)](c[_0xc90bdb(0x1b3)]))],exports['FCollaboration']);class _ extends o[_0xc90bdb(0x195)]{[_0xc90bdb(0x194)](){var _0xc347a7=_0xc90bdb;return this[_0xc347a7(0x1a0)][_0xc347a7(0x1a5)](exports[_0xc347a7(0x19e)],{'getUniverSheet':_0xcb4625=>this['getUniverSheet'](_0xcb4625)});}}o['FUniver'][_0xc90bdb(0x1bf)](_);
1
+ 'use strict';var _0x38e35f=_0x41a8;(function(_0xc34e16,_0x24b470){var _0x296cdc=_0x41a8,_0x102854=_0xc34e16();while(!![]){try{var _0x47eca4=-parseInt(_0x296cdc(0xfc))/0x1*(-parseInt(_0x296cdc(0xff))/0x2)+-parseInt(_0x296cdc(0x106))/0x3*(parseInt(_0x296cdc(0xf6))/0x4)+parseInt(_0x296cdc(0x109))/0x5*(parseInt(_0x296cdc(0x121))/0x6)+parseInt(_0x296cdc(0xf5))/0x7+-parseInt(_0x296cdc(0x11e))/0x8*(-parseInt(_0x296cdc(0x11c))/0x9)+parseInt(_0x296cdc(0x10a))/0xa+-parseInt(_0x296cdc(0xf9))/0xb*(parseInt(_0x296cdc(0x113))/0xc);if(_0x47eca4===_0x24b470)break;else _0x102854['push'](_0x102854['shift']());}catch(_0x59c173){_0x102854['push'](_0x102854['shift']());}}}(_0x1f0a,0xcb31d));function _0x41a8(_0x39d4ed,_0x28316c){var _0x1f0a79=_0x1f0a();return _0x41a8=function(_0x41a8be,_0x1922f3){_0x41a8be=_0x41a8be-0xf5;var _0x46f500=_0x1f0a79[_0x41a8be];return _0x46f500;},_0x41a8(_0x39d4ed,_0x28316c);}Object[_0x38e35f(0x104)](exports,Symbol[_0x38e35f(0x100)],{'value':_0x38e35f(0x10b)});const o=require('@univerjs/core'),h=require(_0x38e35f(0xfe)),c=require('@univerjs-pro/collaboration-client'),b=require(_0x38e35f(0x108));function _0x1f0a(){var _0x270612=['_univerInstanceService','4422nrzISd','_handler','getOwnPropertyDescriptor','3PtkurM','subscribe','@univerjs-pro/collaboration','272572jhVXtw','toStringTag','MemberService','SnapshotService','FUniver','defineProperty','Injector','3njyLZW','getCollaboration','rxjs','87580StjzBw','10240890liJfvK','Module','FBase','_snapshotService','subscribeCollaborators','Inject','values','get','toDisposable','79476lHnVyM','from','_injector','loadActiveSheetAsync','loadSheetAsync','pipe','length','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadActiveSheet','2943BssTCS','UniverInstanceType','13328OCBRhM','waitForRoom$','FCollaboration','312tYfvTM','createInstance','_collaborationController','loadSheet','4406661tIDuXV','93412kArPDy','getUniverSheet'];_0x1f0a=function(){return _0x270612;};return _0x1f0a();}var v=Object[_0x38e35f(0x104)],u=Object[_0x38e35f(0xfb)],S=(_0x3103e7,_0x5d75c9,_0x504cc8,_0x2751db)=>{var _0x3e0328=_0x38e35f;for(var _0x59405d=_0x2751db>0x1?void 0x0:_0x2751db?u(_0x5d75c9,_0x504cc8):_0x5d75c9,_0x58fb91=_0x3103e7[_0x3e0328(0x119)]-0x1,_0x584d3f;_0x58fb91>=0x0;_0x58fb91--)(_0x584d3f=_0x3103e7[_0x58fb91])&&(_0x59405d=(_0x2751db?_0x584d3f(_0x5d75c9,_0x504cc8,_0x59405d):_0x584d3f(_0x59405d))||_0x59405d);return _0x2751db&&_0x59405d&&v(_0x5d75c9,_0x504cc8,_0x59405d),_0x59405d;},s=(_0xc5f0c7,_0x20a462)=>(_0x5dbaab,_0x1a32d6)=>_0x20a462(_0x5dbaab,_0x1a32d6,_0xc5f0c7);exports['FCollaboration']=class extends o[_0x38e35f(0x10c)]{constructor(_0x4b1fe7,_0x2885ef,_0x5cb430,_0x19d9cb,_0x32a8b2){var _0x238a5e=_0x38e35f;super(),this['_handler']=_0x4b1fe7,this[_0x238a5e(0x115)]=_0x2885ef,this[_0x238a5e(0xf8)]=_0x5cb430,this[_0x238a5e(0x10d)]=_0x19d9cb,this[_0x238a5e(0x123)]=_0x32a8b2;}async[_0x38e35f(0x11b)](){var _0x44176d=_0x38e35f;return this[_0x44176d(0x116)]();}async['loadActiveSheetAsync'](){var _0x59f5af=_0x38e35f;throw new Error(_0x59f5af(0x11a));}async['loadSheet'](_0x4e92fc){var _0xbe712d=_0x38e35f;return this[_0xbe712d(0x117)](_0x4e92fc);}async[_0x38e35f(0x117)](_0x181adc){var _0x4c01e0=_0x38e35f;return this[_0x4c01e0(0xf8)]['getUnit'](_0x181adc,o[_0x4c01e0(0x11d)]['UNIVER_SHEET'])||await this['_snapshotService'][_0x4c01e0(0x124)](_0x181adc,0x0)?(await this[_0x4c01e0(0x123)]['readyForCollab'](_0x181adc),this[_0x4c01e0(0xfa)][_0x4c01e0(0xf7)](_0x181adc)):null;}[_0x38e35f(0x10e)](_0x326cd1,_0x5013bd){var _0x5ca210=_0x38e35f;const _0x4fcd25=this[_0x5ca210(0x115)][_0x5ca210(0x111)](c[_0x5ca210(0x101)])[_0x5ca210(0x11f)](_0x326cd1)[_0x5ca210(0x118)](b['switchMap'](_0x511eb6=>_0x511eb6['members$']))[_0x5ca210(0xfd)](_0x592cf6=>_0x5013bd(Array[_0x5ca210(0x114)](_0x592cf6[_0x5ca210(0x110)]())));return o[_0x5ca210(0x112)](_0x4fcd25);}},exports[_0x38e35f(0x120)]=S([s(0x1,o['Inject'](o[_0x38e35f(0x105)])),s(0x2,o['IUniverInstanceService']),s(0x3,o['Inject'](h[_0x38e35f(0x102)])),s(0x4,o[_0x38e35f(0x10f)](c['CollaborationController']))],exports[_0x38e35f(0x120)]);class _ extends o[_0x38e35f(0x103)]{[_0x38e35f(0x107)](){var _0x32e527=_0x38e35f;return this[_0x32e527(0x115)][_0x32e527(0x122)](exports[_0x32e527(0x120)],{'getUniverSheet':_0x47ca6b=>this[_0x32e527(0xf7)](_0x47ca6b)});}}o[_0x38e35f(0x103)]['extend'](_);