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

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 _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'](_);
1
+ 'use strict';var _0x4f46d9=_0x41aa;function _0x41aa(_0x5c434f,_0x599a3b){var _0x3ae22d=_0x3ae2();return _0x41aa=function(_0x41aac4,_0x115377){_0x41aac4=_0x41aac4-0x1db;var _0x296731=_0x3ae22d[_0x41aac4];return _0x296731;},_0x41aa(_0x5c434f,_0x599a3b);}(function(_0x773ee5,_0x17fea6){var _0x4c7625=_0x41aa,_0x5b211c=_0x773ee5();while(!![]){try{var _0x2c7228=-parseInt(_0x4c7625(0x1e8))/0x1*(-parseInt(_0x4c7625(0x208))/0x2)+parseInt(_0x4c7625(0x205))/0x3*(-parseInt(_0x4c7625(0x1e5))/0x4)+-parseInt(_0x4c7625(0x20a))/0x5*(-parseInt(_0x4c7625(0x1e7))/0x6)+-parseInt(_0x4c7625(0x20c))/0x7+-parseInt(_0x4c7625(0x1ee))/0x8*(parseInt(_0x4c7625(0x1fc))/0x9)+parseInt(_0x4c7625(0x1f8))/0xa+parseInt(_0x4c7625(0x20d))/0xb*(parseInt(_0x4c7625(0x207))/0xc);if(_0x2c7228===_0x17fea6)break;else _0x5b211c['push'](_0x5b211c['shift']());}catch(_0x2fbeea){_0x5b211c['push'](_0x5b211c['shift']());}}}(_0x3ae2,0x5fe5c));Object[_0x4f46d9(0x1e9)](exports,Symbol[_0x4f46d9(0x1f1)],{'value':'Module'});const o=require('@univerjs/core'),h=require(_0x4f46d9(0x1ea)),c=require('@univerjs-pro/collaboration-client'),b=require('rxjs');var v=Object[_0x4f46d9(0x1e9)],u=Object[_0x4f46d9(0x201)],S=(_0x48dda4,_0xa31bd3,_0x1ffef1,_0x45702a)=>{var _0x407085=_0x4f46d9;for(var _0x25c1b3=_0x45702a>0x1?void 0x0:_0x45702a?u(_0xa31bd3,_0x1ffef1):_0xa31bd3,_0x1ca7ff=_0x48dda4[_0x407085(0x1e4)]-0x1,_0x5586d1;_0x1ca7ff>=0x0;_0x1ca7ff--)(_0x5586d1=_0x48dda4[_0x1ca7ff])&&(_0x25c1b3=(_0x45702a?_0x5586d1(_0xa31bd3,_0x1ffef1,_0x25c1b3):_0x5586d1(_0x25c1b3))||_0x25c1b3);return _0x45702a&&_0x25c1b3&&v(_0xa31bd3,_0x1ffef1,_0x25c1b3),_0x25c1b3;},s=(_0x59bbfe,_0x564cf5)=>(_0x3e34a4,_0x5f4449)=>_0x564cf5(_0x3e34a4,_0x5f4449,_0x59bbfe);exports['FCollaboration']=class extends o[_0x4f46d9(0x1ff)]{constructor(_0x33d3eb,_0x1c537d,_0x3d20e1,_0x3903bb,_0x187350){var _0x37680c=_0x4f46d9;super(),this[_0x37680c(0x1f9)]=_0x33d3eb,this[_0x37680c(0x1fd)]=_0x1c537d,this[_0x37680c(0x1f5)]=_0x3d20e1,this['_snapshotService']=_0x3903bb,this[_0x37680c(0x1fe)]=_0x187350;}async[_0x4f46d9(0x1f6)](){return this['loadActiveSheetAsync']();}async[_0x4f46d9(0x1db)](){var _0x25351e=_0x4f46d9;throw new Error(_0x25351e(0x1dd));}async['loadSheet'](_0x5038e2){var _0x103569=_0x4f46d9;return this[_0x103569(0x1fb)](_0x5038e2);}async[_0x4f46d9(0x1fb)](_0x353c51){var _0x299a78=_0x4f46d9;return this[_0x299a78(0x1f5)][_0x299a78(0x1e1)](_0x353c51,o[_0x299a78(0x209)][_0x299a78(0x1e2)])||await this[_0x299a78(0x20e)][_0x299a78(0x1de)](_0x353c51,0x0)?(await this[_0x299a78(0x1fe)][_0x299a78(0x1f4)](_0x353c51),this[_0x299a78(0x1f9)][_0x299a78(0x202)](_0x353c51)):null;}[_0x4f46d9(0x206)](_0x2fb84c,_0xe176a){var _0xae8a04=_0x4f46d9;const _0x4d4bda=this[_0xae8a04(0x1fd)][_0xae8a04(0x1ed)](c[_0xae8a04(0x1f0)])[_0xae8a04(0x1ec)](_0x2fb84c)[_0xae8a04(0x20b)](b[_0xae8a04(0x1ef)](_0x8fff81=>_0x8fff81[_0xae8a04(0x204)]))[_0xae8a04(0x1fa)](_0x5c3eaf=>_0xe176a(Array[_0xae8a04(0x200)](_0x5c3eaf['values']())));return o[_0xae8a04(0x1dc)](_0x4d4bda);}},exports['FCollaboration']=S([s(0x1,o[_0x4f46d9(0x1f7)](o[_0x4f46d9(0x1e0)])),s(0x2,o[_0x4f46d9(0x1e6)]),s(0x3,o[_0x4f46d9(0x1f7)](h[_0x4f46d9(0x1f3)])),s(0x4,o[_0x4f46d9(0x1f7)](c['CollaborationController']))],exports['FCollaboration']);function _0x3ae2(){var _0x44c591=['FBase','from','getOwnPropertyDescriptor','getUniverSheet','FUniver','members$','6VqBcHE','subscribeCollaborators','132aaOYWt','26898iykNAo','UniverInstanceType','145FajeVu','pipe','2277667TLKQVw','1451725BgRYmM','_snapshotService','loadActiveSheetAsync','toDisposable','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadSheet','FCollaboration','Injector','getUnit','UNIVER_SHEET','createInstance','length','1431088qlmagQ','IUniverInstanceService','17670nGzatV','6gSWWSU','defineProperty','@univerjs-pro/collaboration','getCollaboration','waitForRoom$','get','88CsPzTK','switchMap','MemberService','toStringTag','extend','SnapshotService','readyForCollab','_univerInstanceService','loadActiveSheet','Inject','3873470chwjrM','_handler','subscribe','loadSheetAsync','467550bZIAgM','_injector','_collaborationController'];_0x3ae2=function(){return _0x44c591;};return _0x3ae2();}class _ extends o[_0x4f46d9(0x203)]{[_0x4f46d9(0x1eb)](){var _0x30bd6e=_0x4f46d9;return this[_0x30bd6e(0x1fd)][_0x30bd6e(0x1e3)](exports[_0x30bd6e(0x1df)],{'getUniverSheet':_0x3d3cd8=>this[_0x30bd6e(0x202)](_0x3d3cd8)});}}o[_0x4f46d9(0x203)][_0x4f46d9(0x1f2)](_);