@univerjs-pro/collaboration-client 0.8.0-nightly.202505301607 → 0.8.0-nightly.202506011606

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 _0x3555f1=_0x42cc;(function(_0x5c79cd,_0x2be54d){var _0x1e9f6d=_0x42cc,_0x5e4bcc=_0x5c79cd();while(!![]){try{var _0x881d0c=parseInt(_0x1e9f6d(0x1da))/0x1+-parseInt(_0x1e9f6d(0x1b9))/0x2+-parseInt(_0x1e9f6d(0x1ca))/0x3+parseInt(_0x1e9f6d(0x1cb))/0x4+-parseInt(_0x1e9f6d(0x1cc))/0x5+-parseInt(_0x1e9f6d(0x1d3))/0x6+parseInt(_0x1e9f6d(0x1b4))/0x7;if(_0x881d0c===_0x2be54d)break;else _0x5e4bcc['push'](_0x5e4bcc['shift']());}catch(_0x38a3f5){_0x5e4bcc['push'](_0x5e4bcc['shift']());}}}(_0x3653,0x608d7));function _0x3653(){var _0x5c4526=['members$','@univerjs/core','16650690WNsdpj','createInstance','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','CollaborationController','getOwnPropertyDescriptor','1155898LjrNsd','SnapshotService','loadUnit','FCollaboration','loadActiveSheet','loadSheet','rxjs','toDisposable','pipe','loadServerUnit','extend','@univerjs-pro/collaboration-client','loadActiveSheetAsync','switchMap','@univerjs-pro/collaboration','_snapshotService','subscribeCollaborators','2356821KIJEue','1826288wMHRbA','2513830iyhStx','IUniverInstanceService','loadServerUnitOfRevision','FBase','get','FUniver','DataLoaderService','4025034zmssbd','MemberService','_collaborationController','toStringTag','readyForCollab','_univerInstanceService','defineProperty','97398sxLfMg','from','loadUnitOfRevision','Inject','_injector','_handler'];_0x3653=function(){return _0x5c4526;};return _0x3653();}Object[_0x3555f1(0x1d9)](exports,Symbol[_0x3555f1(0x1d6)],{'value':'Module'});function _0x42cc(_0x6d46c8,_0x3c917c){var _0x36539e=_0x3653();return _0x42cc=function(_0x42cc0d,_0x4b1c47){_0x42cc0d=_0x42cc0d-0x1b3;var _0x5449dc=_0x36539e[_0x42cc0d];return _0x5449dc;},_0x42cc(_0x6d46c8,_0x3c917c);}const c=require(_0x3555f1(0x1c4)),l=require('@univerjs/core/facade'),h=require(_0x3555f1(0x1c7)),n=require(_0x3555f1(0x1b3)),b=require(_0x3555f1(0x1bf));var d=Object[_0x3555f1(0x1b8)],S=(_0x6ae3c1,_0x67a4e6,_0x499e75,_0x5e85ff)=>{for(var _0x5dbdc7=_0x5e85ff>0x1?void 0x0:_0x5e85ff?d(_0x67a4e6,_0x499e75):_0x67a4e6,_0x59d416=_0x6ae3c1['length']-0x1,_0x2bba70;_0x59d416>=0x0;_0x59d416--)(_0x2bba70=_0x6ae3c1[_0x59d416])&&(_0x5dbdc7=_0x2bba70(_0x5dbdc7)||_0x5dbdc7);return _0x5dbdc7;},s=(_0x5d5099,_0x354fcc)=>(_0x90d4c8,_0xa767a5)=>_0x354fcc(_0x90d4c8,_0xa767a5,_0x5d5099);exports[_0x3555f1(0x1bc)]=class extends l[_0x3555f1(0x1cf)]{constructor(_0x4a499f,_0x3f4b2f,_0x4d282e,_0x16fe52,_0x449697){var _0xb8d546=_0x3555f1;super(),this[_0xb8d546(0x1df)]=_0x4a499f,this['_injector']=_0x3f4b2f,this[_0xb8d546(0x1d8)]=_0x4d282e,this[_0xb8d546(0x1c8)]=_0x16fe52,this[_0xb8d546(0x1d5)]=_0x449697;}async[_0x3555f1(0x1bd)](){var _0x571f97=_0x3555f1;return this[_0x571f97(0x1c5)]();}async['loadActiveSheetAsync'](){var _0xe847d2=_0x3555f1;throw new Error(_0xe847d2(0x1b6));}async[_0x3555f1(0x1be)](_0x2a7be1){return this['loadSheetAsync'](_0x2a7be1);}async['loadSheetAsync'](_0x4d9591,_0x483e3d){var _0x31d42c=_0x3555f1;return await this[_0x31d42c(0x1c8)][_0x31d42c(0x1be)](_0x4d9591,0x0,_0x483e3d)?(await this[_0x31d42c(0x1d5)][_0x31d42c(0x1d7)](_0x4d9591),this[_0x31d42c(0x1df)]['getUniverSheet'](_0x4d9591)):null;}[_0x3555f1(0x1c9)](_0x3bcd15,_0x4a93e8){var _0x3a88a7=_0x3555f1;const _0x259dce=this[_0x3a88a7(0x1de)]['get'](c[_0x3a88a7(0x1d4)])['waitForRoom$'](_0x3bcd15)[_0x3a88a7(0x1c1)](b[_0x3a88a7(0x1c6)](_0x2d16f0=>_0x2d16f0[_0x3a88a7(0x1e0)]))['subscribe'](_0x5eb04f=>_0x4a93e8(Array[_0x3a88a7(0x1db)](_0x5eb04f['values']())));return n[_0x3a88a7(0x1c0)](_0x259dce);}},exports['FCollaboration']=S([s(0x1,n['Inject'](n['Injector'])),s(0x2,n[_0x3555f1(0x1cd)]),s(0x3,n['Inject'](h[_0x3555f1(0x1ba)])),s(0x4,n[_0x3555f1(0x1dd)](c[_0x3555f1(0x1b7)]))],exports[_0x3555f1(0x1bc)]);class u extends l[_0x3555f1(0x1d1)]{['getCollaboration'](){var _0x3935b3=_0x3555f1;return this[_0x3935b3(0x1de)][_0x3935b3(0x1b5)](exports[_0x3935b3(0x1bc)],{'getUniverSheet':_0x4e8d23=>this['getUniverSheet'](_0x4e8d23)});}[_0x3555f1(0x1c2)](_0x1bcab8,_0xbe0967,_0x3e09fc){var _0x1f1c1b=_0x3555f1;return this['_injector'][_0x1f1c1b(0x1d0)](c[_0x1f1c1b(0x1d2)])[_0x1f1c1b(0x1bb)](_0x1bcab8,_0xbe0967,_0x3e09fc);}[_0x3555f1(0x1ce)](_0x2ea1b1,_0x5d2638,_0x10ad4d){var _0x31edc0=_0x3555f1;return this['_injector'][_0x31edc0(0x1d0)](c['DataLoaderService'])[_0x31edc0(0x1dc)](_0x2ea1b1,_0x5d2638,_0x10ad4d);}}l[_0x3555f1(0x1d1)][_0x3555f1(0x1c3)](u);
1
+ 'use strict';var _0x3facf0=_0x3db0;function _0x17ec(){var _0x2a575b=['3802128wZctIN','FBase','_injector','_collaborationController','DataLoaderService','92048TtsWKy','_snapshotService','rxjs','3215214pymGuj','toDisposable','SnapshotService','getOwnPropertyDescriptor','loadServerUnit','@univerjs-pro/collaboration','pipe','loadUnit','4IUBhzW','3421311MczZQD','MemberService','values','1380ftaGjF','getCollaboration','get','FUniver','IUniverInstanceService','CollaborationController','loadSheetAsync','defineProperty','18119zDyiEH','1377250QezFbj','from','FCollaboration','subscribe','loadSheet','getUniverSheet','length','_handler','toStringTag','497INXHnj','Injector','createInstance','76iQcmfd','Module','Inject','@univerjs/core/facade','loadServerUnitOfRevision','loadActiveSheetAsync','loadUnitOfRevision','switchMap','52432AOvLPf','waitForRoom$','extend'];_0x17ec=function(){return _0x2a575b;};return _0x17ec();}(function(_0xf3b758,_0x13e512){var _0x2ffb94=_0x3db0,_0x1bf73f=_0xf3b758();while(!![]){try{var _0x3ff94c=-parseInt(_0x2ffb94(0xf3))/0x1*(-parseInt(_0x2ffb94(0x100))/0x2)+-parseInt(_0x2ffb94(0xe8))/0x3*(-parseInt(_0x2ffb94(0xe7))/0x4)+-parseInt(_0x2ffb94(0xf4))/0x5+-parseInt(_0x2ffb94(0x10b))/0x6+parseInt(_0x2ffb94(0xfd))/0x7*(parseInt(_0x2ffb94(0x108))/0x8)+parseInt(_0x2ffb94(0x113))/0x9+parseInt(_0x2ffb94(0xeb))/0xa*(-parseInt(_0x2ffb94(0x110))/0xb);if(_0x3ff94c===_0x13e512)break;else _0x1bf73f['push'](_0x1bf73f['shift']());}catch(_0x3040b5){_0x1bf73f['push'](_0x1bf73f['shift']());}}}(_0x17ec,0x8f761));function _0x3db0(_0x3db5cc,_0x1fb5a6){var _0x17ec28=_0x17ec();return _0x3db0=function(_0x3db0c0,_0x55f3d2){_0x3db0c0=_0x3db0c0-0xe6;var _0x12e3b3=_0x17ec28[_0x3db0c0];return _0x12e3b3;},_0x3db0(_0x3db5cc,_0x1fb5a6);}Object[_0x3facf0(0xf2)](exports,Symbol[_0x3facf0(0xfc)],{'value':_0x3facf0(0x101)});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x3facf0(0x103)),h=require(_0x3facf0(0x118)),n=require('@univerjs/core'),b=require(_0x3facf0(0x112));var d=Object[_0x3facf0(0x116)],S=(_0x57eb3f,_0x4e255a,_0x27e7e5,_0x1d00b7)=>{var _0xd8a85e=_0x3facf0;for(var _0x2ba67f=_0x1d00b7>0x1?void 0x0:_0x1d00b7?d(_0x4e255a,_0x27e7e5):_0x4e255a,_0x556e23=_0x57eb3f[_0xd8a85e(0xfa)]-0x1,_0x30bf02;_0x556e23>=0x0;_0x556e23--)(_0x30bf02=_0x57eb3f[_0x556e23])&&(_0x2ba67f=_0x30bf02(_0x2ba67f)||_0x2ba67f);return _0x2ba67f;},s=(_0x2c73c2,_0x276e23)=>(_0x527170,_0x1733a3)=>_0x276e23(_0x527170,_0x1733a3,_0x2c73c2);exports['FCollaboration']=class extends l[_0x3facf0(0x10c)]{constructor(_0x55474a,_0x6e9980,_0x5be3c0,_0x2290aa,_0x3eac43){var _0x4c1166=_0x3facf0;super(),this[_0x4c1166(0xfb)]=_0x55474a,this[_0x4c1166(0x10d)]=_0x6e9980,this['_univerInstanceService']=_0x5be3c0,this[_0x4c1166(0x111)]=_0x2290aa,this[_0x4c1166(0x10e)]=_0x3eac43;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async[_0x3facf0(0x105)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x413ef0){var _0x520796=_0x3facf0;return this[_0x520796(0xf1)](_0x413ef0);}async[_0x3facf0(0xf1)](_0x4d3b92,_0x156867){var _0x4d1d69=_0x3facf0;return await this[_0x4d1d69(0x111)][_0x4d1d69(0xf8)](_0x4d3b92,0x0,_0x156867)?(await this['_collaborationController']['readyForCollab'](_0x4d3b92),this[_0x4d1d69(0xfb)]['getUniverSheet'](_0x4d3b92)):null;}['subscribeCollaborators'](_0x5659bc,_0x335b75){var _0x68b281=_0x3facf0;const _0x2d9f82=this[_0x68b281(0x10d)][_0x68b281(0xed)](c[_0x68b281(0xe9)])[_0x68b281(0x109)](_0x5659bc)[_0x68b281(0x119)](b[_0x68b281(0x107)](_0x23937f=>_0x23937f['members$']))[_0x68b281(0xf7)](_0x647ed6=>_0x335b75(Array[_0x68b281(0xf5)](_0x647ed6[_0x68b281(0xea)]())));return n[_0x68b281(0x114)](_0x2d9f82);}},exports[_0x3facf0(0xf6)]=S([s(0x1,n[_0x3facf0(0x102)](n[_0x3facf0(0xfe)])),s(0x2,n[_0x3facf0(0xef)]),s(0x3,n[_0x3facf0(0x102)](h[_0x3facf0(0x115)])),s(0x4,n[_0x3facf0(0x102)](c[_0x3facf0(0xf0)]))],exports[_0x3facf0(0xf6)]);class u extends l[_0x3facf0(0xee)]{[_0x3facf0(0xec)](){var _0x3174ee=_0x3facf0;return this[_0x3174ee(0x10d)][_0x3174ee(0xff)](exports['FCollaboration'],{'getUniverSheet':_0x133d1f=>this[_0x3174ee(0xf9)](_0x133d1f)});}[_0x3facf0(0x117)](_0x2beb88,_0x5c8da6,_0xed1c7f){var _0x36e0fb=_0x3facf0;return this[_0x36e0fb(0x10d)][_0x36e0fb(0xed)](c[_0x36e0fb(0x10f)])[_0x36e0fb(0xe6)](_0x2beb88,_0x5c8da6,_0xed1c7f);}[_0x3facf0(0x104)](_0x45c01e,_0x373b3b,_0x2fed7b){var _0x2b746b=_0x3facf0;return this[_0x2b746b(0x10d)][_0x2b746b(0xed)](c[_0x2b746b(0x10f)])[_0x2b746b(0x106)](_0x45c01e,_0x373b3b,_0x2fed7b);}}l[_0x3facf0(0xee)][_0x3facf0(0x10a)](u);