@univerjs-pro/collaboration-client 0.5.3-nightly.202501121605 → 0.5.4-experimental.20250114-7c09c35

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 _0x1c7f97=_0x95f3;(function(_0x447468,_0xfeef33){var _0x518a1f=_0x95f3,_0x15be49=_0x447468();while(!![]){try{var _0x8f1018=parseInt(_0x518a1f(0x1b7))/0x1*(-parseInt(_0x518a1f(0x1dc))/0x2)+parseInt(_0x518a1f(0x1be))/0x3*(parseInt(_0x518a1f(0x1b4))/0x4)+-parseInt(_0x518a1f(0x1bc))/0x5*(-parseInt(_0x518a1f(0x1c6))/0x6)+-parseInt(_0x518a1f(0x1d8))/0x7+parseInt(_0x518a1f(0x1b3))/0x8+-parseInt(_0x518a1f(0x1d1))/0x9*(parseInt(_0x518a1f(0x1d4))/0xa)+parseInt(_0x518a1f(0x1c1))/0xb;if(_0x8f1018===_0xfeef33)break;else _0x15be49['push'](_0x15be49['shift']());}catch(_0x33074b){_0x15be49['push'](_0x15be49['shift']());}}}(_0x3c89,0x2b7cf));Object['defineProperty'](exports,Symbol[_0x1c7f97(0x1da)],{'value':_0x1c7f97(0x1b5)});const o=require(_0x1c7f97(0x1b0)),h=require(_0x1c7f97(0x1db)),c=require('@univerjs-pro/collaboration-client'),b=require(_0x1c7f97(0x1af));var v=Object[_0x1c7f97(0x1cf)],u=Object['getOwnPropertyDescriptor'],S=(_0x64384,_0x158b1e,_0x45e37d,_0x4043f2)=>{var _0x1e3de4=_0x1c7f97;for(var _0x9366b4=_0x4043f2>0x1?void 0x0:_0x4043f2?u(_0x158b1e,_0x45e37d):_0x158b1e,_0x28f9dc=_0x64384[_0x1e3de4(0x1de)]-0x1,_0x571e40;_0x28f9dc>=0x0;_0x28f9dc--)(_0x571e40=_0x64384[_0x28f9dc])&&(_0x9366b4=(_0x4043f2?_0x571e40(_0x158b1e,_0x45e37d,_0x9366b4):_0x571e40(_0x9366b4))||_0x9366b4);return _0x4043f2&&_0x9366b4&&v(_0x158b1e,_0x45e37d,_0x9366b4),_0x9366b4;},s=(_0xb7eb28,_0x5f0d15)=>(_0x360666,_0x36054d)=>_0x5f0d15(_0x360666,_0x36054d,_0xb7eb28);function _0x95f3(_0x5d978d,_0x10ffb4){var _0x3c895d=_0x3c89();return _0x95f3=function(_0x95f328,_0x1bda84){_0x95f328=_0x95f328-0x1ae;var _0x158b7e=_0x3c895d[_0x95f328];return _0x158b7e;},_0x95f3(_0x5d978d,_0x10ffb4);}exports[_0x1c7f97(0x1d3)]=class extends o[_0x1c7f97(0x1c7)]{constructor(_0x4759b9,_0x237f99,_0x4fe310,_0xa11d44,_0x360e03){var _0x317ac4=_0x1c7f97;super(),this[_0x317ac4(0x1cc)]=_0x4759b9,this['_injector']=_0x237f99,this[_0x317ac4(0x1d2)]=_0x4fe310,this[_0x317ac4(0x1bd)]=_0xa11d44,this['_collaborationController']=_0x360e03;}async[_0x1c7f97(0x1dd)](){var _0x3347fa=_0x1c7f97;return this[_0x3347fa(0x1c8)]();}async[_0x1c7f97(0x1c8)](){var _0x316299=_0x1c7f97;throw new Error(_0x316299(0x1b6));}async['loadSheet'](_0x10a600){var _0x3b2267=_0x1c7f97;return this[_0x3b2267(0x1bf)](_0x10a600);}async[_0x1c7f97(0x1bf)](_0x1a1c87){var _0x56c872=_0x1c7f97;return this[_0x56c872(0x1d2)][_0x56c872(0x1b8)](_0x1a1c87,o[_0x56c872(0x1d0)][_0x56c872(0x1c4)])||await this[_0x56c872(0x1bd)][_0x56c872(0x1ce)](_0x1a1c87,0x0)?(await this[_0x56c872(0x1d9)][_0x56c872(0x1b2)](_0x1a1c87),this[_0x56c872(0x1cc)][_0x56c872(0x1bb)](_0x1a1c87)):null;}['subscribeCollaborators'](_0x334a22,_0x3918c7){var _0x493e12=_0x1c7f97;const _0x467752=this[_0x493e12(0x1c0)][_0x493e12(0x1ca)](c[_0x493e12(0x1d7)])['waitForRoom$'](_0x334a22)[_0x493e12(0x1cd)](b[_0x493e12(0x1c2)](_0xdd1dd0=>_0xdd1dd0[_0x493e12(0x1cb)]))[_0x493e12(0x1ba)](_0x2fb3fd=>_0x3918c7(Array['from'](_0x2fb3fd[_0x493e12(0x1d5)]())));return o['toDisposable'](_0x467752);}},exports[_0x1c7f97(0x1d3)]=S([s(0x1,o['Inject'](o['Injector'])),s(0x2,o['IUniverInstanceService']),s(0x3,o['Inject'](h[_0x1c7f97(0x1b1)])),s(0x4,o[_0x1c7f97(0x1b9)](c[_0x1c7f97(0x1ae)]))],exports[_0x1c7f97(0x1d3)]);function _0x3c89(){var _0x2014e8=['loadSheetAsync','_injector','4344615AfXseb','switchMap','createInstance','UNIVER_SHEET','getCollaboration','52074QOIMDO','FBase','loadActiveSheetAsync','FUniver','get','members$','_handler','pipe','loadSheet','defineProperty','UniverInstanceType','9KXGGuJ','_univerInstanceService','FCollaboration','2937380yLDmSh','values','extend','MemberService','1200486EAGvRN','_collaborationController','toStringTag','@univerjs-pro/collaboration','690062KouaQl','loadActiveSheet','length','CollaborationController','rxjs','@univerjs/core','SnapshotService','readyForCollab','2242616nIlbnb','4HCpQMK','Module','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','1moJpBR','getUnit','Inject','subscribe','getUniverSheet','85QOzCIA','_snapshotService','496677fmomxr'];_0x3c89=function(){return _0x2014e8;};return _0x3c89();}class _ extends o['FUniver']{[_0x1c7f97(0x1c5)](){var _0x264436=_0x1c7f97;return this[_0x264436(0x1c0)][_0x264436(0x1c3)](exports[_0x264436(0x1d3)],{'getUniverSheet':_0x1e7296=>this[_0x264436(0x1bb)](_0x1e7296)});}}o[_0x1c7f97(0x1c9)][_0x1c7f97(0x1d6)](_);
1
+ 'use strict';var _0x1ac3ad=_0x1c32;(function(_0x47ff1b,_0x257b54){var _0x10cd46=_0x1c32,_0x5489a4=_0x47ff1b();while(!![]){try{var _0x355aa0=-parseInt(_0x10cd46(0x1e5))/0x1+parseInt(_0x10cd46(0x1ea))/0x2*(parseInt(_0x10cd46(0x1d9))/0x3)+parseInt(_0x10cd46(0x1e4))/0x4*(-parseInt(_0x10cd46(0x1e8))/0x5)+parseInt(_0x10cd46(0x1fd))/0x6+parseInt(_0x10cd46(0x1f9))/0x7*(parseInt(_0x10cd46(0x1fc))/0x8)+-parseInt(_0x10cd46(0x1fb))/0x9+-parseInt(_0x10cd46(0x1d3))/0xa*(-parseInt(_0x10cd46(0x1d8))/0xb);if(_0x355aa0===_0x257b54)break;else _0x5489a4['push'](_0x5489a4['shift']());}catch(_0x255fb3){_0x5489a4['push'](_0x5489a4['shift']());}}}(_0x48fc,0xc07d7));function _0x48fc(){var _0x236748=['toStringTag','2412592XwcXem','getUnit','3318147pzLqWc','16SrNPUq','2248632bDjBOn','Injector','_snapshotService','pipe','76430SGYjWc','loadSheet','from','createInstance','readyForCollab','451BCVPUf','3483357aozcME','values','Inject','FCollaboration','loadActiveSheet','@univerjs-pro/collaboration-client','_injector','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','rxjs','loadActiveSheetAsync','_collaborationController','4tgvhwj','1235064tPSHlr','waitForRoom$','loadSheetAsync','731900qThcMp','UniverInstanceType','2rbAxTv','defineProperty','MemberService','extend','toDisposable','subscribe','UNIVER_SHEET','subscribeCollaborators','@univerjs/core','_univerInstanceService','CollaborationController','getUniverSheet','FUniver','IUniverInstanceService'];_0x48fc=function(){return _0x236748;};return _0x48fc();}Object['defineProperty'](exports,Symbol[_0x1ac3ad(0x1f8)],{'value':'Module'});function _0x1c32(_0xca2075,_0x2a68bc){var _0x48fc42=_0x48fc();return _0x1c32=function(_0x1c3203,_0x4110b3){_0x1c3203=_0x1c3203-0x1d0;var _0x8c390d=_0x48fc42[_0x1c3203];return _0x8c390d;},_0x1c32(_0xca2075,_0x2a68bc);}const o=require(_0x1ac3ad(0x1f2)),h=require('@univerjs-pro/collaboration'),c=require(_0x1ac3ad(0x1de)),b=require(_0x1ac3ad(0x1e1));var v=Object[_0x1ac3ad(0x1eb)],u=Object['getOwnPropertyDescriptor'],S=(_0x53f6dd,_0xdf59dd,_0x5bd13e,_0x5b4f67)=>{for(var _0x4889fc=_0x5b4f67>0x1?void 0x0:_0x5b4f67?u(_0xdf59dd,_0x5bd13e):_0xdf59dd,_0xbd0d60=_0x53f6dd['length']-0x1,_0x50a645;_0xbd0d60>=0x0;_0xbd0d60--)(_0x50a645=_0x53f6dd[_0xbd0d60])&&(_0x4889fc=(_0x5b4f67?_0x50a645(_0xdf59dd,_0x5bd13e,_0x4889fc):_0x50a645(_0x4889fc))||_0x4889fc);return _0x5b4f67&&_0x4889fc&&v(_0xdf59dd,_0x5bd13e,_0x4889fc),_0x4889fc;},s=(_0x2e7c81,_0x2ed3cd)=>(_0xc2b5d8,_0x419298)=>_0x2ed3cd(_0xc2b5d8,_0x419298,_0x2e7c81);exports[_0x1ac3ad(0x1dc)]=class extends o['FBase']{constructor(_0x88a323,_0x43d116,_0x123f5c,_0x5eed5a,_0x50238c){var _0x279bd7=_0x1ac3ad;super(),this['_handler']=_0x88a323,this[_0x279bd7(0x1df)]=_0x43d116,this[_0x279bd7(0x1f3)]=_0x123f5c,this[_0x279bd7(0x1d1)]=_0x5eed5a,this[_0x279bd7(0x1e3)]=_0x50238c;}async[_0x1ac3ad(0x1dd)](){var _0x989605=_0x1ac3ad;return this[_0x989605(0x1e2)]();}async[_0x1ac3ad(0x1e2)](){var _0x246450=_0x1ac3ad;throw new Error(_0x246450(0x1e0));}async['loadSheet'](_0x1bab1d){var _0x1ef62c=_0x1ac3ad;return this[_0x1ef62c(0x1e7)](_0x1bab1d);}async['loadSheetAsync'](_0x2f2f2f){var _0x2e485f=_0x1ac3ad;return this[_0x2e485f(0x1f3)][_0x2e485f(0x1fa)](_0x2f2f2f,o[_0x2e485f(0x1e9)][_0x2e485f(0x1f0)])||await this['_snapshotService'][_0x2e485f(0x1d4)](_0x2f2f2f,0x0)?(await this[_0x2e485f(0x1e3)][_0x2e485f(0x1d7)](_0x2f2f2f),this['_handler'][_0x2e485f(0x1f5)](_0x2f2f2f)):null;}[_0x1ac3ad(0x1f1)](_0x30a183,_0x59f260){var _0x200935=_0x1ac3ad;const _0x355f25=this[_0x200935(0x1df)]['get'](c[_0x200935(0x1ec)])[_0x200935(0x1e6)](_0x30a183)[_0x200935(0x1d2)](b['switchMap'](_0x2ec5e2=>_0x2ec5e2['members$']))[_0x200935(0x1ef)](_0x7192f0=>_0x59f260(Array[_0x200935(0x1d5)](_0x7192f0[_0x200935(0x1da)]())));return o[_0x200935(0x1ee)](_0x355f25);}},exports[_0x1ac3ad(0x1dc)]=S([s(0x1,o[_0x1ac3ad(0x1db)](o[_0x1ac3ad(0x1d0)])),s(0x2,o[_0x1ac3ad(0x1f7)]),s(0x3,o[_0x1ac3ad(0x1db)](h['SnapshotService'])),s(0x4,o[_0x1ac3ad(0x1db)](c[_0x1ac3ad(0x1f4)]))],exports[_0x1ac3ad(0x1dc)]);class _ extends o['FUniver']{['getCollaboration'](){var _0x146893=_0x1ac3ad;return this[_0x146893(0x1df)][_0x146893(0x1d6)](exports['FCollaboration'],{'getUniverSheet':_0x14576c=>this['getUniverSheet'](_0x14576c)});}}o[_0x1ac3ad(0x1f6)][_0x1ac3ad(0x1ed)](_);