@univerjs-pro/collaboration-client 0.6.0-nightly.202501271606 → 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 _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 _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)](_);