@univerjs-pro/collaboration-client 0.6.7-experimental.20250330-62d4d34 → 0.6.7-experimental.20250331-aa3ee78

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 _0x1e03b2=_0x2630;function _0x2630(_0x4be7a8,_0xbfcf1b){var _0xd24698=_0xd246();return _0x2630=function(_0x263001,_0x4a92d0){_0x263001=_0x263001-0xee;var _0x42a60e=_0xd24698[_0x263001];return _0x42a60e;},_0x2630(_0x4be7a8,_0xbfcf1b);}(function(_0x278d79,_0x428875){var _0x3b4995=_0x2630,_0x360b54=_0x278d79();while(!![]){try{var _0x2c9d41=-parseInt(_0x3b4995(0x119))/0x1+parseInt(_0x3b4995(0x11a))/0x2*(-parseInt(_0x3b4995(0x110))/0x3)+-parseInt(_0x3b4995(0x118))/0x4+parseInt(_0x3b4995(0xf6))/0x5+-parseInt(_0x3b4995(0xf3))/0x6+parseInt(_0x3b4995(0xf5))/0x7*(parseInt(_0x3b4995(0x10c))/0x8)+parseInt(_0x3b4995(0x11b))/0x9;if(_0x2c9d41===_0x428875)break;else _0x360b54['push'](_0x360b54['shift']());}catch(_0x9c6cfc){_0x360b54['push'](_0x360b54['shift']());}}}(_0xd246,0xbdaa3));function _0xd246(){var _0x2ac124=['_univerInstanceService','values','3ZPXrAX','readyForCollab','Injector','_snapshotService','from','_collaborationController','@univerjs-pro/collaboration','loadActiveSheet','5682308yySxDh','551766YZYrQr','1619402MqXkHW','33037173LPZwdZ','loadUnit','subscribeCollaborators','IUniverInstanceService','defineProperty','@univerjs/core/facade','switchMap','loadActiveSheetAsync','9149166YKaZox','loadSheetAsync','7zZwTiJ','5902385apSGbp','@univerjs/core','FBase','_handler','Inject','_injector','loadSheet','members$','FUniver','SnapshotService','getUniverSheet','FCollaboration','toStringTag','createInstance','loadServerUnit','extend','toDisposable','subscribe','@univerjs-pro/collaboration-client','rxjs','CollaborationController','get','1859984HEAJgb','MemberService'];_0xd246=function(){return _0x2ac124;};return _0xd246();}Object[_0x1e03b2(0xef)](exports,Symbol[_0x1e03b2(0x102)],{'value':'Module'});const c=require(_0x1e03b2(0x108)),l=require(_0x1e03b2(0xf0)),v=require(_0x1e03b2(0x116)),i=require(_0x1e03b2(0xf7)),b=require(_0x1e03b2(0x109));var S=Object['getOwnPropertyDescriptor'],d=(_0x513dd2,_0x242c77,_0x248c7b,_0x46134c)=>{for(var _0x21bf2d=_0x46134c>0x1?void 0x0:_0x46134c?S(_0x242c77,_0x248c7b):_0x242c77,_0x5dadb3=_0x513dd2['length']-0x1,_0x55e3d7;_0x5dadb3>=0x0;_0x5dadb3--)(_0x55e3d7=_0x513dd2[_0x5dadb3])&&(_0x21bf2d=_0x55e3d7(_0x21bf2d)||_0x21bf2d);return _0x21bf2d;},s=(_0x4249ae,_0x4385a6)=>(_0x36381e,_0x40a2b7)=>_0x4385a6(_0x36381e,_0x40a2b7,_0x4249ae);exports['FCollaboration']=class extends l[_0x1e03b2(0xf8)]{constructor(_0x255613,_0x26c3bb,_0x23773d,_0x1345d0,_0x486cbd){var _0x40a4d1=_0x1e03b2;super(),this[_0x40a4d1(0xf9)]=_0x255613,this['_injector']=_0x26c3bb,this[_0x40a4d1(0x10e)]=_0x23773d,this[_0x40a4d1(0x113)]=_0x1345d0,this[_0x40a4d1(0x115)]=_0x486cbd;}async[_0x1e03b2(0x117)](){return this['loadActiveSheetAsync']();}async[_0x1e03b2(0xf2)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x1e03b2(0xfc)](_0x1c4184){var _0x101dea=_0x1e03b2;return this[_0x101dea(0xf4)](_0x1c4184);}async[_0x1e03b2(0xf4)](_0x199fb8,_0x4dbc57){var _0x440b1d=_0x1e03b2;return await this['_snapshotService'][_0x440b1d(0xfc)](_0x199fb8,0x0,_0x4dbc57)?(await this[_0x440b1d(0x115)][_0x440b1d(0x111)](_0x199fb8),this[_0x440b1d(0xf9)][_0x440b1d(0x100)](_0x199fb8)):null;}[_0x1e03b2(0x11d)](_0x408ec6,_0x4f801a){var _0x58b085=_0x1e03b2;const _0x285916=this[_0x58b085(0xfb)][_0x58b085(0x10b)](c[_0x58b085(0x10d)])['waitForRoom$'](_0x408ec6)['pipe'](b[_0x58b085(0xf1)](_0x242c57=>_0x242c57[_0x58b085(0xfd)]))[_0x58b085(0x107)](_0x231b79=>_0x4f801a(Array[_0x58b085(0x114)](_0x231b79[_0x58b085(0x10f)]())));return i[_0x58b085(0x106)](_0x285916);}},exports[_0x1e03b2(0x101)]=d([s(0x1,i[_0x1e03b2(0xfa)](i[_0x1e03b2(0x112)])),s(0x2,i[_0x1e03b2(0xee)]),s(0x3,i[_0x1e03b2(0xfa)](v[_0x1e03b2(0xff)])),s(0x4,i['Inject'](c[_0x1e03b2(0x10a)]))],exports[_0x1e03b2(0x101)]);class u extends l[_0x1e03b2(0xfe)]{['getCollaboration'](){var _0x47b9c4=_0x1e03b2;return this[_0x47b9c4(0xfb)][_0x47b9c4(0x103)](exports[_0x47b9c4(0x101)],{'getUniverSheet':_0x1f416e=>this['getUniverSheet'](_0x1f416e)});}[_0x1e03b2(0x104)](_0x44f9f0,_0x2d518a,_0x46600f){var _0xecdb7=_0x1e03b2;return this[_0xecdb7(0xfb)]['createInstance'](c['DataLoaderService'])[_0xecdb7(0x11c)](_0x44f9f0,_0x2d518a,_0x46600f);}}l[_0x1e03b2(0xfe)][_0x1e03b2(0x105)](u);
1
+ 'use strict';function _0x1d30(){var _0x30c469=['loadSheet','118420RuAkMe','48lwbcZF','_snapshotService','_handler','Inject','3075308pyqNcG','values','getUniverSheet','pipe','@univerjs/core','SnapshotService','loadSheetAsync','12826cnREMl','toStringTag','loadServerUnit','defineProperty','FCollaboration','35465pQkfXO','7BtlAFm','members$','loadUnit','_univerInstanceService','subscribe','_collaborationController','rxjs','@univerjs-pro/collaboration','84tOrULA','getOwnPropertyDescriptor','loadActiveSheetAsync','6426608RDnAMV','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','_injector','getCollaboration','CollaborationController','createInstance','FBase','766035pOOAKG','switchMap','246onavxH','IUniverInstanceService','FUniver','loadActiveSheet','Injector','subscribeCollaborators','207socCjG','@univerjs-pro/collaboration-client','2630870rnMVLq','toDisposable','waitForRoom$','from','Module'];_0x1d30=function(){return _0x30c469;};return _0x1d30();}var _0x34e71d=_0xf936;(function(_0x44b67c,_0x38ac62){var _0x6b1b8a=_0xf936,_0x5c3a1f=_0x44b67c();while(!![]){try{var _0x44ea4c=parseInt(_0x6b1b8a(0xf4))/0x1*(-parseInt(_0x6b1b8a(0xe9))/0x2)+parseInt(_0x6b1b8a(0xd8))/0x3+parseInt(_0x6b1b8a(0xed))/0x4+-parseInt(_0x6b1b8a(0xc5))/0x5*(-parseInt(_0x6b1b8a(0xda))/0x6)+parseInt(_0x6b1b8a(0xc6))/0x7*(parseInt(_0x6b1b8a(0xd1))/0x8)+parseInt(_0x6b1b8a(0xe0))/0x9*(parseInt(_0x6b1b8a(0xe8))/0xa)+-parseInt(_0x6b1b8a(0xe2))/0xb*(parseInt(_0x6b1b8a(0xce))/0xc);if(_0x44ea4c===_0x38ac62)break;else _0x5c3a1f['push'](_0x5c3a1f['shift']());}catch(_0x49da07){_0x5c3a1f['push'](_0x5c3a1f['shift']());}}}(_0x1d30,0x63c57));Object[_0x34e71d(0xf7)](exports,Symbol[_0x34e71d(0xf5)],{'value':_0x34e71d(0xe6)});const c=require(_0x34e71d(0xe1)),l=require('@univerjs/core/facade'),v=require(_0x34e71d(0xcd)),i=require(_0x34e71d(0xf1)),b=require(_0x34e71d(0xcc));function _0xf936(_0x3765ff,_0x45a5ee){var _0x1d305c=_0x1d30();return _0xf936=function(_0xf93608,_0x288cea){_0xf93608=_0xf93608-0xc5;var _0x152833=_0x1d305c[_0xf93608];return _0x152833;},_0xf936(_0x3765ff,_0x45a5ee);}var S=Object[_0x34e71d(0xcf)],d=(_0x3a42b1,_0x2b7c01,_0x30c5a2,_0x527542)=>{for(var _0x5cfee6=_0x527542>0x1?void 0x0:_0x527542?S(_0x2b7c01,_0x30c5a2):_0x2b7c01,_0x5f31f2=_0x3a42b1['length']-0x1,_0x5626a4;_0x5f31f2>=0x0;_0x5f31f2--)(_0x5626a4=_0x3a42b1[_0x5f31f2])&&(_0x5cfee6=_0x5626a4(_0x5cfee6)||_0x5cfee6);return _0x5cfee6;},s=(_0x12c1d0,_0x1f4f61)=>(_0x293818,_0x2ad47e)=>_0x1f4f61(_0x293818,_0x2ad47e,_0x12c1d0);exports[_0x34e71d(0xf8)]=class extends l[_0x34e71d(0xd7)]{constructor(_0x1737ca,_0x2209b0,_0x42c402,_0x3602fa,_0x51bd79){var _0x300f30=_0x34e71d;super(),this[_0x300f30(0xeb)]=_0x1737ca,this[_0x300f30(0xd3)]=_0x2209b0,this[_0x300f30(0xc9)]=_0x42c402,this[_0x300f30(0xea)]=_0x3602fa,this[_0x300f30(0xcb)]=_0x51bd79;}async[_0x34e71d(0xdd)](){var _0x53a4de=_0x34e71d;return this[_0x53a4de(0xd0)]();}async[_0x34e71d(0xd0)](){var _0x420767=_0x34e71d;throw new Error(_0x420767(0xd2));}async[_0x34e71d(0xe7)](_0x1bda38){return this['loadSheetAsync'](_0x1bda38);}async[_0x34e71d(0xf3)](_0x20502b,_0x3b36c4){var _0x5c684c=_0x34e71d;return await this[_0x5c684c(0xea)]['loadSheet'](_0x20502b,0x0,_0x3b36c4)?(await this[_0x5c684c(0xcb)]['readyForCollab'](_0x20502b),this[_0x5c684c(0xeb)][_0x5c684c(0xef)](_0x20502b)):null;}[_0x34e71d(0xdf)](_0x1a8ef8,_0x14a73c){var _0x347587=_0x34e71d;const _0x31ef02=this[_0x347587(0xd3)]['get'](c['MemberService'])[_0x347587(0xe4)](_0x1a8ef8)[_0x347587(0xf0)](b[_0x347587(0xd9)](_0x3bfa06=>_0x3bfa06[_0x347587(0xc7)]))[_0x347587(0xca)](_0x217cca=>_0x14a73c(Array[_0x347587(0xe5)](_0x217cca[_0x347587(0xee)]())));return i[_0x347587(0xe3)](_0x31ef02);}},exports[_0x34e71d(0xf8)]=d([s(0x1,i[_0x34e71d(0xec)](i[_0x34e71d(0xde)])),s(0x2,i[_0x34e71d(0xdb)]),s(0x3,i[_0x34e71d(0xec)](v[_0x34e71d(0xf2)])),s(0x4,i[_0x34e71d(0xec)](c[_0x34e71d(0xd5)]))],exports[_0x34e71d(0xf8)]);class u extends l[_0x34e71d(0xdc)]{[_0x34e71d(0xd4)](){var _0x21338c=_0x34e71d;return this['_injector'][_0x21338c(0xd6)](exports['FCollaboration'],{'getUniverSheet':_0xe6015b=>this[_0x21338c(0xef)](_0xe6015b)});}[_0x34e71d(0xf6)](_0x50f045,_0x237702,_0x43addc){var _0x1731c6=_0x34e71d;return this['_injector']['createInstance'](c['DataLoaderService'])[_0x1731c6(0xc8)](_0x50f045,_0x237702,_0x43addc);}}l[_0x34e71d(0xdc)]['extend'](u);