@univerjs-pro/collaboration-client 0.5.1-nightly.202412241606 → 0.5.1-nightly.202412261606

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 _0x25b799=_0x253d;(function(_0x47cc86,_0x4ccdcf){var _0x63e407=_0x253d,_0x304190=_0x47cc86();while(!![]){try{var _0x1993f3=parseInt(_0x63e407(0x192))/0x1+parseInt(_0x63e407(0x1b0))/0x2+-parseInt(_0x63e407(0x1b7))/0x3+parseInt(_0x63e407(0x1b6))/0x4+parseInt(_0x63e407(0x1af))/0x5+-parseInt(_0x63e407(0x1a2))/0x6+-parseInt(_0x63e407(0x1ae))/0x7;if(_0x1993f3===_0x4ccdcf)break;else _0x304190['push'](_0x304190['shift']());}catch(_0x480e4){_0x304190['push'](_0x304190['shift']());}}}(_0x9993,0x599b7));Object[_0x25b799(0x1a5)](exports,Symbol[_0x25b799(0x19c)],{'value':_0x25b799(0x19f)});const t=require('@univerjs/core'),b=require(_0x25b799(0x198)),c=require(_0x25b799(0x1a7)),v=require('rxjs');var h=Object[_0x25b799(0x1a5)],u=Object['getOwnPropertyDescriptor'],_=(_0x5c583d,_0x80415d,_0xb287d3,_0x5a8798)=>{var _0x27f166=_0x25b799;for(var _0x27ee34=_0x5a8798>0x1?void 0x0:_0x5a8798?u(_0x80415d,_0xb287d3):_0x80415d,_0x3cde6f=_0x5c583d[_0x27f166(0x191)]-0x1,_0x3f53cc;_0x3cde6f>=0x0;_0x3cde6f--)(_0x3f53cc=_0x5c583d[_0x3cde6f])&&(_0x27ee34=(_0x5a8798?_0x3f53cc(_0x80415d,_0xb287d3,_0x27ee34):_0x3f53cc(_0x27ee34))||_0x27ee34);return _0x5a8798&&_0x27ee34&&h(_0x80415d,_0xb287d3,_0x27ee34),_0x27ee34;},s=(_0x4c393f,_0x4346e4)=>(_0x157acd,_0x154cf6)=>_0x4346e4(_0x157acd,_0x154cf6,_0x4c393f);exports[_0x25b799(0x1ad)]=class extends t['FBase']{constructor(_0x199b91,_0x45f42b,_0x17c433,_0x31dde5,_0xc6dddb){var _0x57509b=_0x25b799;super(),this[_0x57509b(0x1a0)]=_0x199b91,this['_injector']=_0x45f42b,this[_0x57509b(0x1b4)]=_0x17c433,this[_0x57509b(0x1a9)]=_0x31dde5,this[_0x57509b(0x194)]=_0xc6dddb;}async[_0x25b799(0x1ab)](){var _0xf956d8=_0x25b799;throw new Error(_0xf956d8(0x1a4));}async[_0x25b799(0x19a)](_0x2cb614){var _0x1c8038=_0x25b799;return this[_0x1c8038(0x1b4)][_0x1c8038(0x199)](_0x2cb614,t[_0x1c8038(0x19d)][_0x1c8038(0x1b2)])||await this[_0x1c8038(0x1a9)][_0x1c8038(0x19a)](_0x2cb614,0x0)?(await this[_0x1c8038(0x194)]['readyForCollab'](_0x2cb614),this['_handler'][_0x1c8038(0x1a1)](_0x2cb614)):null;}[_0x25b799(0x1a8)](_0x771f3f,_0x5691d8){var _0x300c9a=_0x25b799;const _0x1a9bfa=this['_injector']['get'](c[_0x300c9a(0x1aa)])[_0x300c9a(0x19b)](_0x771f3f)['pipe'](v[_0x300c9a(0x1b3)](_0x9fe5af=>_0x9fe5af['members$']))[_0x300c9a(0x19e)](_0x3f32f9=>_0x5691d8(Array[_0x300c9a(0x195)](_0x3f32f9[_0x300c9a(0x1b1)]())));return t['toDisposable'](_0x1a9bfa);}},exports['FCollaboration']=_([s(0x1,t['Inject'](t[_0x25b799(0x193)])),s(0x2,t[_0x25b799(0x190)]),s(0x3,t[_0x25b799(0x1a6)](b[_0x25b799(0x196)])),s(0x4,t[_0x25b799(0x1a6)](c[_0x25b799(0x1ac)]))],exports[_0x25b799(0x1ad)]);class S extends t[_0x25b799(0x18f)]{[_0x25b799(0x1a3)](){var _0x32f4d6=_0x25b799;return this['_injector'][_0x32f4d6(0x1b5)](exports[_0x32f4d6(0x1ad)],{'getUniverSheet':_0x48807c=>this[_0x32f4d6(0x1a1)](_0x48807c)});}}t['FUniver'][_0x25b799(0x197)](S);function _0x253d(_0x1e9d7f,_0x38feba){var _0x999356=_0x9993();return _0x253d=function(_0x253d71,_0x10f1d3){_0x253d71=_0x253d71-0x18f;var _0x36f6cd=_0x999356[_0x253d71];return _0x36f6cd;},_0x253d(_0x1e9d7f,_0x38feba);}function _0x9993(){var _0x3f10ef=['length','677001hhgXKk','Injector','_collaborationController','from','SnapshotService','extend','@univerjs-pro/collaboration','getUnit','loadSheet','waitForRoom$','toStringTag','UniverInstanceType','subscribe','Module','_handler','getUniverSheet','871218VManev','getCollaboration','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','defineProperty','Inject','@univerjs-pro/collaboration-client','subscribeCollaborators','_snapshotService','MemberService','loadActiveSheet','CollaborationController','FCollaboration','10041745qKdlfh','3142495QtiMOM','1393494PCzWpF','values','UNIVER_SHEET','switchMap','_univerInstanceService','createInstance','2704968yGKyaG','2195160PdVcnQ','FUniver','IUniverInstanceService'];_0x9993=function(){return _0x3f10ef;};return _0x9993();}
1
+ 'use strict';function _0x4c5e(_0x4df4da,_0x346513){var _0x5cb106=_0x5cb1();return _0x4c5e=function(_0x4c5e26,_0x140195){_0x4c5e26=_0x4c5e26-0xdc;var _0x1779d7=_0x5cb106[_0x4c5e26];return _0x1779d7;},_0x4c5e(_0x4df4da,_0x346513);}var _0x57faaa=_0x4c5e;(function(_0x46d7e5,_0x1ac259){var _0x5da55f=_0x4c5e,_0x15a9b9=_0x46d7e5();while(!![]){try{var _0xb0213e=parseInt(_0x5da55f(0xe9))/0x1*(-parseInt(_0x5da55f(0xef))/0x2)+-parseInt(_0x5da55f(0xf3))/0x3*(parseInt(_0x5da55f(0xfb))/0x4)+-parseInt(_0x5da55f(0xec))/0x5*(-parseInt(_0x5da55f(0x101))/0x6)+parseInt(_0x5da55f(0x107))/0x7*(-parseInt(_0x5da55f(0xde))/0x8)+parseInt(_0x5da55f(0xf9))/0x9*(-parseInt(_0x5da55f(0xe4))/0xa)+-parseInt(_0x5da55f(0xf2))/0xb+parseInt(_0x5da55f(0xe7))/0xc;if(_0xb0213e===_0x1ac259)break;else _0x15a9b9['push'](_0x15a9b9['shift']());}catch(_0x313892){_0x15a9b9['push'](_0x15a9b9['shift']());}}}(_0x5cb1,0xe9036));Object[_0x57faaa(0xf7)](exports,Symbol[_0x57faaa(0x103)],{'value':_0x57faaa(0xea)});const t=require(_0x57faaa(0x102)),b=require('@univerjs-pro/collaboration'),c=require(_0x57faaa(0x100)),v=require('rxjs');var h=Object['defineProperty'],u=Object[_0x57faaa(0xe6)],_=(_0x5d3f53,_0x55f24e,_0x112d3d,_0x60cd31)=>{var _0x2152f0=_0x57faaa;for(var _0x4ec4b4=_0x60cd31>0x1?void 0x0:_0x60cd31?u(_0x55f24e,_0x112d3d):_0x55f24e,_0x5b16c4=_0x5d3f53[_0x2152f0(0xf0)]-0x1,_0x1c73bd;_0x5b16c4>=0x0;_0x5b16c4--)(_0x1c73bd=_0x5d3f53[_0x5b16c4])&&(_0x4ec4b4=(_0x60cd31?_0x1c73bd(_0x55f24e,_0x112d3d,_0x4ec4b4):_0x1c73bd(_0x4ec4b4))||_0x4ec4b4);return _0x60cd31&&_0x4ec4b4&&h(_0x55f24e,_0x112d3d,_0x4ec4b4),_0x4ec4b4;},s=(_0xf1d009,_0x5f5b3d)=>(_0x23dc80,_0x462e8f)=>_0x5f5b3d(_0x23dc80,_0x462e8f,_0xf1d009);exports['FCollaboration']=class extends t[_0x57faaa(0xeb)]{constructor(_0x2f511e,_0x25e0fd,_0x3fac6f,_0x3a7046,_0xb73608){var _0x2d6517=_0x57faaa;super(),this[_0x2d6517(0xed)]=_0x2f511e,this['_injector']=_0x25e0fd,this[_0x2d6517(0x105)]=_0x3fac6f,this[_0x2d6517(0xdf)]=_0x3a7046,this[_0x2d6517(0xf4)]=_0xb73608;}async[_0x57faaa(0xfe)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x57faaa(0x104)](_0x248361){var _0x1a2b79=_0x57faaa;return this[_0x1a2b79(0x105)][_0x1a2b79(0xe3)](_0x248361,t['UniverInstanceType'][_0x1a2b79(0xfa)])||await this['_snapshotService'][_0x1a2b79(0x104)](_0x248361,0x0)?(await this[_0x1a2b79(0xf4)][_0x1a2b79(0xe8)](_0x248361),this[_0x1a2b79(0xed)][_0x1a2b79(0xdc)](_0x248361)):null;}[_0x57faaa(0xf8)](_0x3778d0,_0x5f4fb6){var _0x53288a=_0x57faaa;const _0x44a281=this[_0x53288a(0xfc)]['get'](c[_0x53288a(0xdd)])['waitForRoom$'](_0x3778d0)[_0x53288a(0xf1)](v[_0x53288a(0x108)](_0x5a99e3=>_0x5a99e3[_0x53288a(0xf5)]))[_0x53288a(0xf6)](_0xeb29c=>_0x5f4fb6(Array['from'](_0xeb29c['values']())));return t[_0x53288a(0xe2)](_0x44a281);}},exports[_0x57faaa(0xee)]=_([s(0x1,t[_0x57faaa(0xfd)](t['Injector'])),s(0x2,t[_0x57faaa(0x106)]),s(0x3,t['Inject'](b[_0x57faaa(0xe1)])),s(0x4,t['Inject'](c['CollaborationController']))],exports[_0x57faaa(0xee)]);class S extends t['FUniver']{[_0x57faaa(0xff)](){var _0x1ca137=_0x57faaa;return this[_0x1ca137(0xfc)][_0x1ca137(0xe0)](exports[_0x1ca137(0xee)],{'getUniverSheet':_0x3d5280=>this[_0x1ca137(0xdc)](_0x3d5280)});}}t[_0x57faaa(0xe5)]['extend'](S);function _0x5cb1(){var _0x579c00=['pipe','119658RrBBVB','113703jXueLA','_collaborationController','members$','subscribe','defineProperty','subscribeCollaborators','22914xdCsHz','UNIVER_SHEET','192UWrxkp','_injector','Inject','loadActiveSheet','getCollaboration','@univerjs-pro/collaboration-client','75642wgcNql','@univerjs/core','toStringTag','loadSheet','_univerInstanceService','IUniverInstanceService','122381xjyyMu','switchMap','getUniverSheet','MemberService','216AGvhIs','_snapshotService','createInstance','SnapshotService','toDisposable','getUnit','1600yBmlFl','FUniver','getOwnPropertyDescriptor','36669372FxVJJi','readyForCollab','84685ygzVot','Module','FBase','745dWzZJi','_handler','FCollaboration','30XYNYst','length'];_0x5cb1=function(){return _0x579c00;};return _0x5cb1();}