@univerjs-pro/collaboration-client 0.8.0-beta.0 → 0.8.0-beta.1

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';function _0xf06f(){var _0x392773=['FBase','loadActiveSheet','@univerjs-pro/collaboration-client','_snapshotService','504679RNvaFn','FCollaboration','@univerjs/core','members$','loadUnit','Inject','readyForCollab','7874750MprWiw','loadActiveSheetAsync','get','switchMap','loadSheet','toStringTag','899412XOYnwr','1502170sSOsKQ','loadSheetAsync','loadServerUnit','getUniverSheet','getCollaboration','FUniver','DataLoaderService','8665DjVNwj','1944774uWOcAF','MemberService','_handler','subscribe','3snRDFE','4496920ufbNyF','toDisposable','extend','subscribeCollaborators','1074jKIgCn','24PHUfzA','_injector','pipe','@univerjs/core/facade','defineProperty','loadServerUnitOfRevision','rxjs','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','_univerInstanceService','@univerjs-pro/collaboration','createInstance','_collaborationController','Injector'];_0xf06f=function(){return _0x392773;};return _0xf06f();}var _0x348975=_0x1bab;(function(_0x53968e,_0x279005){var _0x4ee67c=_0x1bab,_0x1fc351=_0x53968e();while(!![]){try{var _0x30381a=parseInt(_0x4ee67c(0x1f1))/0x1+-parseInt(_0x4ee67c(0x1f0))/0x2*(-parseInt(_0x4ee67c(0x1fd))/0x3)+-parseInt(_0x4ee67c(0x1cd))/0x4+-parseInt(_0x4ee67c(0x1f8))/0x5*(-parseInt(_0x4ee67c(0x1d1))/0x6)+parseInt(_0x4ee67c(0x1e3))/0x7*(parseInt(_0x4ee67c(0x1d2))/0x8)+parseInt(_0x4ee67c(0x1f9))/0x9+-parseInt(_0x4ee67c(0x1ea))/0xa;if(_0x30381a===_0x279005)break;else _0x1fc351['push'](_0x1fc351['shift']());}catch(_0x333b8b){_0x1fc351['push'](_0x1fc351['shift']());}}}(_0xf06f,0xbf1a3));Object[_0x348975(0x1d6)](exports,Symbol[_0x348975(0x1ef)],{'value':'Module'});function _0x1bab(_0x5196cd,_0x497c76){var _0xf06f14=_0xf06f();return _0x1bab=function(_0x1babc4,_0x13890a){_0x1babc4=_0x1babc4-0x1cd;var _0x3c5216=_0xf06f14[_0x1babc4];return _0x3c5216;},_0x1bab(_0x5196cd,_0x497c76);}const c=require(_0x348975(0x1e1)),l=require(_0x348975(0x1d5)),h=require(_0x348975(0x1db)),n=require(_0x348975(0x1e5)),b=require(_0x348975(0x1d8));var d=Object['getOwnPropertyDescriptor'],S=(_0x5991eb,_0x277f7a,_0x2d1d84,_0x46113f)=>{for(var _0x5ba370=_0x46113f>0x1?void 0x0:_0x46113f?d(_0x277f7a,_0x2d1d84):_0x277f7a,_0x24639d=_0x5991eb['length']-0x1,_0x3eaae2;_0x24639d>=0x0;_0x24639d--)(_0x3eaae2=_0x5991eb[_0x24639d])&&(_0x5ba370=_0x3eaae2(_0x5ba370)||_0x5ba370);return _0x5ba370;},s=(_0x187ccb,_0x3c8c30)=>(_0x443664,_0x4d2a14)=>_0x3c8c30(_0x443664,_0x4d2a14,_0x187ccb);exports[_0x348975(0x1e4)]=class extends l[_0x348975(0x1df)]{constructor(_0x2f4336,_0x47321f,_0x450e75,_0x128c06,_0x4ef454){var _0x4f6a48=_0x348975;super(),this[_0x4f6a48(0x1fb)]=_0x2f4336,this[_0x4f6a48(0x1d3)]=_0x47321f,this[_0x4f6a48(0x1da)]=_0x450e75,this[_0x4f6a48(0x1e2)]=_0x128c06,this[_0x4f6a48(0x1dd)]=_0x4ef454;}async[_0x348975(0x1e0)](){var _0x5d3b79=_0x348975;return this[_0x5d3b79(0x1eb)]();}async[_0x348975(0x1eb)](){var _0x13b32c=_0x348975;throw new Error(_0x13b32c(0x1d9));}async[_0x348975(0x1ee)](_0x2c85dd){var _0x33302c=_0x348975;return this[_0x33302c(0x1f2)](_0x2c85dd);}async[_0x348975(0x1f2)](_0x2efc2a,_0xacd767){var _0x59ed68=_0x348975;return await this[_0x59ed68(0x1e2)][_0x59ed68(0x1ee)](_0x2efc2a,0x0,_0xacd767)?(await this[_0x59ed68(0x1dd)][_0x59ed68(0x1e9)](_0x2efc2a),this[_0x59ed68(0x1fb)][_0x59ed68(0x1f4)](_0x2efc2a)):null;}[_0x348975(0x1d0)](_0x2cd52a,_0x5170a8){var _0x300baf=_0x348975;const _0x244dcf=this[_0x300baf(0x1d3)]['get'](c[_0x300baf(0x1fa)])['waitForRoom$'](_0x2cd52a)[_0x300baf(0x1d4)](b[_0x300baf(0x1ed)](_0x2ed316=>_0x2ed316[_0x300baf(0x1e6)]))[_0x300baf(0x1fc)](_0x1873fe=>_0x5170a8(Array['from'](_0x1873fe['values']())));return n[_0x300baf(0x1ce)](_0x244dcf);}},exports[_0x348975(0x1e4)]=S([s(0x1,n['Inject'](n[_0x348975(0x1de)])),s(0x2,n['IUniverInstanceService']),s(0x3,n[_0x348975(0x1e8)](h['SnapshotService'])),s(0x4,n[_0x348975(0x1e8)](c['CollaborationController']))],exports['FCollaboration']);class u extends l[_0x348975(0x1f6)]{[_0x348975(0x1f5)](){var _0x12f7ce=_0x348975;return this[_0x12f7ce(0x1d3)][_0x12f7ce(0x1dc)](exports[_0x12f7ce(0x1e4)],{'getUniverSheet':_0x3eb984=>this[_0x12f7ce(0x1f4)](_0x3eb984)});}[_0x348975(0x1f3)](_0x50e66,_0x123b4a,_0x28962c){var _0x2d312e=_0x348975;return this[_0x2d312e(0x1d3)][_0x2d312e(0x1ec)](c[_0x2d312e(0x1f7)])[_0x2d312e(0x1e7)](_0x50e66,_0x123b4a,_0x28962c);}[_0x348975(0x1d7)](_0xf3fd5b,_0x473aad,_0x32fe59){var _0x524232=_0x348975;return this['_injector'][_0x524232(0x1ec)](c[_0x524232(0x1f7)])['loadUnitOfRevision'](_0xf3fd5b,_0x473aad,_0x32fe59);}}l[_0x348975(0x1f6)][_0x348975(0x1cf)](u);
1
+ 'use strict';var _0x15b027=_0x4b00;(function(_0x2e2905,_0x26f7d2){var _0x24484f=_0x4b00,_0x4204bf=_0x2e2905();while(!![]){try{var _0x1bb6af=parseInt(_0x24484f(0x1fa))/0x1+parseInt(_0x24484f(0x1ed))/0x2*(-parseInt(_0x24484f(0x1f5))/0x3)+-parseInt(_0x24484f(0x1cf))/0x4+-parseInt(_0x24484f(0x1f1))/0x5*(-parseInt(_0x24484f(0x1de))/0x6)+parseInt(_0x24484f(0x1fc))/0x7*(-parseInt(_0x24484f(0x1da))/0x8)+parseInt(_0x24484f(0x1f4))/0x9+-parseInt(_0x24484f(0x1e2))/0xa*(-parseInt(_0x24484f(0x1f9))/0xb);if(_0x1bb6af===_0x26f7d2)break;else _0x4204bf['push'](_0x4204bf['shift']());}catch(_0x491960){_0x4204bf['push'](_0x4204bf['shift']());}}}(_0x1dbe,0xbc61b));function _0x1dbe(){var _0x43c041=['SnapshotService','614qnIFpH','_univerInstanceService','createInstance','rxjs','532010UumKGR','FCollaboration','@univerjs/core','9775458WzqwHX','9573PpSgSF','_injector','Module','defineProperty','797423WvvUdI','325506TbkSrx','getCollaboration','445277wROYAJ','loadSheetAsync','IUniverInstanceService','values','@univerjs-pro/collaboration','get','602016YWlcUC','waitForRoom$','members$','_handler','loadSheet','getOwnPropertyDescriptor','loadActiveSheet','MemberService','@univerjs-pro/collaboration-client','toStringTag','switchMap','136EJzjlE','@univerjs/core/facade','DataLoaderService','subscribe','60wkAyWG','pipe','FUniver','Inject','70VBFbEF','toDisposable','subscribeCollaborators','readyForCollab','loadActiveSheetAsync','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','_snapshotService','from','_collaborationController','loadUnit'];_0x1dbe=function(){return _0x43c041;};return _0x1dbe();}Object[_0x15b027(0x1f8)](exports,Symbol[_0x15b027(0x1d8)],{'value':_0x15b027(0x1f7)});const c=require(_0x15b027(0x1d7)),l=require(_0x15b027(0x1db)),h=require(_0x15b027(0x1cd)),n=require(_0x15b027(0x1f3)),b=require(_0x15b027(0x1f0));function _0x4b00(_0x230256,_0x411c05){var _0x1dbeef=_0x1dbe();return _0x4b00=function(_0x4b00e5,_0x200f17){_0x4b00e5=_0x4b00e5-0x1cb;var _0x1a726e=_0x1dbeef[_0x4b00e5];return _0x1a726e;},_0x4b00(_0x230256,_0x411c05);}var d=Object[_0x15b027(0x1d4)],S=(_0x32b9a2,_0x5ea4fb,_0x1ac073,_0x245206)=>{for(var _0x35bce0=_0x245206>0x1?void 0x0:_0x245206?d(_0x5ea4fb,_0x1ac073):_0x5ea4fb,_0x291383=_0x32b9a2['length']-0x1,_0x636dac;_0x291383>=0x0;_0x291383--)(_0x636dac=_0x32b9a2[_0x291383])&&(_0x35bce0=_0x636dac(_0x35bce0)||_0x35bce0);return _0x35bce0;},s=(_0xf62338,_0x7723f3)=>(_0x5aac9e,_0x5b5cba)=>_0x7723f3(_0x5aac9e,_0x5b5cba,_0xf62338);exports[_0x15b027(0x1f2)]=class extends l['FBase']{constructor(_0x3a2577,_0x5a5d76,_0x52d7da,_0x527c84,_0x408f0d){var _0x3940f8=_0x15b027;super(),this['_handler']=_0x3a2577,this['_injector']=_0x5a5d76,this[_0x3940f8(0x1ee)]=_0x52d7da,this[_0x3940f8(0x1e8)]=_0x527c84,this[_0x3940f8(0x1ea)]=_0x408f0d;}async[_0x15b027(0x1d5)](){var _0x3c40a4=_0x15b027;return this[_0x3c40a4(0x1e6)]();}async[_0x15b027(0x1e6)](){var _0x22969f=_0x15b027;throw new Error(_0x22969f(0x1e7));}async[_0x15b027(0x1d3)](_0x4443aa){var _0x5922b0=_0x15b027;return this[_0x5922b0(0x1fd)](_0x4443aa);}async[_0x15b027(0x1fd)](_0x3a3dae,_0x1f3156){var _0x518094=_0x15b027;return await this[_0x518094(0x1e8)]['loadSheet'](_0x3a3dae,0x0,_0x1f3156)?(await this[_0x518094(0x1ea)][_0x518094(0x1e5)](_0x3a3dae),this[_0x518094(0x1d2)]['getUniverSheet'](_0x3a3dae)):null;}[_0x15b027(0x1e4)](_0x522464,_0x2c0539){var _0x5d9eca=_0x15b027;const _0x37a6da=this[_0x5d9eca(0x1f6)][_0x5d9eca(0x1ce)](c[_0x5d9eca(0x1d6)])[_0x5d9eca(0x1d0)](_0x522464)[_0x5d9eca(0x1df)](b[_0x5d9eca(0x1d9)](_0xcd4377=>_0xcd4377[_0x5d9eca(0x1d1)]))[_0x5d9eca(0x1dd)](_0x209692=>_0x2c0539(Array[_0x5d9eca(0x1e9)](_0x209692[_0x5d9eca(0x1cc)]())));return n[_0x5d9eca(0x1e3)](_0x37a6da);}},exports[_0x15b027(0x1f2)]=S([s(0x1,n[_0x15b027(0x1e1)](n['Injector'])),s(0x2,n[_0x15b027(0x1cb)]),s(0x3,n[_0x15b027(0x1e1)](h[_0x15b027(0x1ec)])),s(0x4,n[_0x15b027(0x1e1)](c['CollaborationController']))],exports[_0x15b027(0x1f2)]);class u extends l['FUniver']{[_0x15b027(0x1fb)](){var _0x59309a=_0x15b027;return this[_0x59309a(0x1f6)][_0x59309a(0x1ef)](exports[_0x59309a(0x1f2)],{'getUniverSheet':_0x558ce4=>this['getUniverSheet'](_0x558ce4)});}['loadServerUnit'](_0x54d287,_0x941753,_0x53c608){var _0x4bca10=_0x15b027;return this[_0x4bca10(0x1f6)][_0x4bca10(0x1ce)](c['DataLoaderService'])[_0x4bca10(0x1eb)](_0x54d287,_0x941753,_0x53c608);}['loadServerUnitOfRevision'](_0x129ef9,_0x5b3aed,_0x78fec5){var _0x5641df=_0x15b027;return this['_injector'][_0x5641df(0x1ce)](c[_0x5641df(0x1dc)])['loadUnitOfRevision'](_0x129ef9,_0x5b3aed,_0x78fec5);}}l[_0x15b027(0x1e0)]['extend'](u);