@univerjs-pro/collaboration-client 0.6.10-nightly.202504171607 → 0.6.10-nightly.202504191606

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 _0x138581=_0x5d4d;(function(_0x1ff507,_0x364b98){var _0x5f4726=_0x5d4d,_0xbaefd9=_0x1ff507();while(!![]){try{var _0x2af65f=parseInt(_0x5f4726(0x1eb))/0x1*(-parseInt(_0x5f4726(0x1c7))/0x2)+-parseInt(_0x5f4726(0x1e9))/0x3+-parseInt(_0x5f4726(0x1d9))/0x4*(parseInt(_0x5f4726(0x1e8))/0x5)+-parseInt(_0x5f4726(0x1f6))/0x6*(-parseInt(_0x5f4726(0x1d3))/0x7)+-parseInt(_0x5f4726(0x1de))/0x8*(-parseInt(_0x5f4726(0x1d6))/0x9)+parseInt(_0x5f4726(0x1e1))/0xa*(-parseInt(_0x5f4726(0x1cc))/0xb)+parseInt(_0x5f4726(0x1e2))/0xc*(parseInt(_0x5f4726(0x1e3))/0xd);if(_0x2af65f===_0x364b98)break;else _0xbaefd9['push'](_0xbaefd9['shift']());}catch(_0xe655ce){_0xbaefd9['push'](_0xbaefd9['shift']());}}}(_0x187d,0x3736f));Object[_0x138581(0x1cd)](exports,Symbol[_0x138581(0x1d8)],{'value':'Module'});const c=require(_0x138581(0x1d5)),l=require(_0x138581(0x1e0)),v=require(_0x138581(0x1d0)),i=require(_0x138581(0x1ea)),b=require('rxjs');function _0x5d4d(_0x6b7709,_0x1dd812){var _0x187d51=_0x187d();return _0x5d4d=function(_0x5d4d64,_0x49c8bd){_0x5d4d64=_0x5d4d64-0x1c4;var _0x3db12b=_0x187d51[_0x5d4d64];return _0x3db12b;},_0x5d4d(_0x6b7709,_0x1dd812);}var S=Object[_0x138581(0x1f0)],d=(_0x305797,_0x2e165d,_0xc9f0ba,_0x58c696)=>{var _0x24210d=_0x138581;for(var _0x2a81a4=_0x58c696>0x1?void 0x0:_0x58c696?S(_0x2e165d,_0xc9f0ba):_0x2e165d,_0x473c67=_0x305797[_0x24210d(0x1f3)]-0x1,_0x37113b;_0x473c67>=0x0;_0x473c67--)(_0x37113b=_0x305797[_0x473c67])&&(_0x2a81a4=_0x37113b(_0x2a81a4)||_0x2a81a4);return _0x2a81a4;},s=(_0x13729c,_0x419011)=>(_0x3b0b8a,_0x266b01)=>_0x419011(_0x3b0b8a,_0x266b01,_0x13729c);exports[_0x138581(0x1c6)]=class extends l[_0x138581(0x1f2)]{constructor(_0x3505a2,_0x4a293f,_0x376803,_0x2dfdb1,_0x5dfd80){var _0x1c1af4=_0x138581;super(),this['_handler']=_0x3505a2,this[_0x1c1af4(0x1d7)]=_0x4a293f,this[_0x1c1af4(0x1cf)]=_0x376803,this[_0x1c1af4(0x1ca)]=_0x2dfdb1,this[_0x1c1af4(0x1e4)]=_0x5dfd80;}async[_0x138581(0x1ed)](){var _0x12a970=_0x138581;return this[_0x12a970(0x1ce)]();}async['loadActiveSheetAsync'](){var _0x56ff06=_0x138581;throw new Error(_0x56ff06(0x1cb));}async['loadSheet'](_0x4b4143){return this['loadSheetAsync'](_0x4b4143);}async[_0x138581(0x1f7)](_0x1146af,_0x4bcba2){var _0x157248=_0x138581;return await this[_0x157248(0x1ca)]['loadSheet'](_0x1146af,0x0,_0x4bcba2)?(await this['_collaborationController'][_0x157248(0x1c4)](_0x1146af),this['_handler'][_0x157248(0x1d1)](_0x1146af)):null;}[_0x138581(0x1c8)](_0x8abfdb,_0x289b3e){var _0x3f0912=_0x138581;const _0x597aa8=this[_0x3f0912(0x1d7)][_0x3f0912(0x1f5)](c[_0x3f0912(0x1dd)])[_0x3f0912(0x1d4)](_0x8abfdb)[_0x3f0912(0x1da)](b[_0x3f0912(0x1ee)](_0x4f91e5=>_0x4f91e5[_0x3f0912(0x1e7)]))[_0x3f0912(0x1d2)](_0x50b8d3=>_0x289b3e(Array[_0x3f0912(0x1df)](_0x50b8d3[_0x3f0912(0x1f1)]())));return i[_0x3f0912(0x1c9)](_0x597aa8);}},exports[_0x138581(0x1c6)]=d([s(0x1,i['Inject'](i[_0x138581(0x1ef)])),s(0x2,i[_0x138581(0x1e5)]),s(0x3,i[_0x138581(0x1f4)](v[_0x138581(0x1dc)])),s(0x4,i[_0x138581(0x1f4)](c['CollaborationController']))],exports['FCollaboration']);class u extends l[_0x138581(0x1c5)]{['getCollaboration'](){var _0x43d621=_0x138581;return this[_0x43d621(0x1d7)][_0x43d621(0x1ec)](exports['FCollaboration'],{'getUniverSheet':_0x213956=>this[_0x43d621(0x1d1)](_0x213956)});}['loadServerUnit'](_0x494390,_0x5e19c9,_0x437494){var _0x49485e=_0x138581;return this[_0x49485e(0x1d7)]['createInstance'](c[_0x49485e(0x1db)])['loadUnit'](_0x494390,_0x5e19c9,_0x437494);}}function _0x187d(){var _0x577874=['getUniverSheet','subscribe','2418927uKpSGf','waitForRoom$','@univerjs-pro/collaboration-client','506619kdhHsd','_injector','toStringTag','23804fugTYL','pipe','DataLoaderService','SnapshotService','MemberService','24kATqfg','from','@univerjs/core/facade','2336690genOHI','936tfNswJ','76349TQjiqw','_collaborationController','IUniverInstanceService','extend','members$','215rLFvTA','672228IohMhr','@univerjs/core','71ohUwXU','createInstance','loadActiveSheet','switchMap','Injector','getOwnPropertyDescriptor','values','FBase','length','Inject','get','6IbLMoP','loadSheetAsync','readyForCollab','FUniver','FCollaboration','922BbigIY','subscribeCollaborators','toDisposable','_snapshotService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','11iSeDvy','defineProperty','loadActiveSheetAsync','_univerInstanceService','@univerjs-pro/collaboration'];_0x187d=function(){return _0x577874;};return _0x187d();}l[_0x138581(0x1c5)][_0x138581(0x1e6)](u);
1
+ 'use strict';var _0x378934=_0x9927;(function(_0x5ce26b,_0xad848){var _0x204d8e=_0x9927,_0x5f4575=_0x5ce26b();while(!![]){try{var _0x5b52de=parseInt(_0x204d8e(0x188))/0x1*(-parseInt(_0x204d8e(0x1ad))/0x2)+-parseInt(_0x204d8e(0x184))/0x3+-parseInt(_0x204d8e(0x1af))/0x4*(parseInt(_0x204d8e(0x1b0))/0x5)+parseInt(_0x204d8e(0x19d))/0x6*(parseInt(_0x204d8e(0x1a9))/0x7)+-parseInt(_0x204d8e(0x194))/0x8*(-parseInt(_0x204d8e(0x1a8))/0x9)+-parseInt(_0x204d8e(0x1ac))/0xa+-parseInt(_0x204d8e(0x19a))/0xb*(-parseInt(_0x204d8e(0x1a7))/0xc);if(_0x5b52de===_0xad848)break;else _0x5f4575['push'](_0x5f4575['shift']());}catch(_0x166ee2){_0x5f4575['push'](_0x5f4575['shift']());}}}(_0x4e8e,0x98951));Object[_0x378934(0x186)](exports,Symbol[_0x378934(0x18e)],{'value':_0x378934(0x196)});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x378934(0x1a4)),v=require('@univerjs-pro/collaboration'),i=require('@univerjs/core'),b=require(_0x378934(0x192));var S=Object[_0x378934(0x19e)],d=(_0x1f8dce,_0x3a136b,_0x3f19f2,_0x1d9833)=>{var _0x131539=_0x378934;for(var _0x1bc119=_0x1d9833>0x1?void 0x0:_0x1d9833?S(_0x3a136b,_0x3f19f2):_0x3a136b,_0x658232=_0x1f8dce[_0x131539(0x197)]-0x1,_0x3e6f2c;_0x658232>=0x0;_0x658232--)(_0x3e6f2c=_0x1f8dce[_0x658232])&&(_0x1bc119=_0x3e6f2c(_0x1bc119)||_0x1bc119);return _0x1bc119;},s=(_0x4e72ce,_0x453e68)=>(_0xebc71c,_0x2c1df2)=>_0x453e68(_0xebc71c,_0x2c1df2,_0x4e72ce);function _0x4e8e(){var _0x65512d=['loadSheetAsync','2008854uhimIm','getOwnPropertyDescriptor','get','_handler','_collaborationController','pipe','values','@univerjs/core/facade','createInstance','loadActiveSheet','60RYAmyF','41949hNeYJg','21MbkNMw','switchMap','loadUnit','9484270LIoXnt','152942keeXku','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','1906044MIIslx','10nRWBjE','loadActiveSheetAsync','CollaborationController','toDisposable','extend','Inject','515676OGUeLq','_injector','defineProperty','FCollaboration','13oyiBzs','subscribe','_snapshotService','DataLoaderService','loadSheet','waitForRoom$','toStringTag','subscribeCollaborators','FBase','_univerInstanceService','rxjs','FUniver','1912yDtpuL','getUniverSheet','Module','length','MemberService','Injector','3462877RsiDTK','members$'];_0x4e8e=function(){return _0x65512d;};return _0x4e8e();}exports[_0x378934(0x187)]=class extends l[_0x378934(0x190)]{constructor(_0x5c495a,_0x19910f,_0x2e9c47,_0x336749,_0x278e1d){var _0x21fde5=_0x378934;super(),this[_0x21fde5(0x1a0)]=_0x5c495a,this[_0x21fde5(0x185)]=_0x19910f,this[_0x21fde5(0x191)]=_0x2e9c47,this[_0x21fde5(0x18a)]=_0x336749,this['_collaborationController']=_0x278e1d;}async[_0x378934(0x1a6)](){var _0x379792=_0x378934;return this[_0x379792(0x1b1)]();}async[_0x378934(0x1b1)](){var _0x5f4dfd=_0x378934;throw new Error(_0x5f4dfd(0x1ae));}async[_0x378934(0x18c)](_0x43e6c2){var _0x3bb6ed=_0x378934;return this[_0x3bb6ed(0x19c)](_0x43e6c2);}async[_0x378934(0x19c)](_0x1c0bee,_0xdbd006){var _0x3faa84=_0x378934;return await this['_snapshotService'][_0x3faa84(0x18c)](_0x1c0bee,0x0,_0xdbd006)?(await this[_0x3faa84(0x1a1)]['readyForCollab'](_0x1c0bee),this[_0x3faa84(0x1a0)]['getUniverSheet'](_0x1c0bee)):null;}[_0x378934(0x18f)](_0x22a8a8,_0x2413d9){var _0x38002e=_0x378934;const _0x3a7666=this['_injector'][_0x38002e(0x19f)](c[_0x38002e(0x198)])[_0x38002e(0x18d)](_0x22a8a8)[_0x38002e(0x1a2)](b[_0x38002e(0x1aa)](_0x5ba693=>_0x5ba693[_0x38002e(0x19b)]))[_0x38002e(0x189)](_0x5684d6=>_0x2413d9(Array['from'](_0x5684d6[_0x38002e(0x1a3)]())));return i[_0x38002e(0x1b3)](_0x3a7666);}},exports[_0x378934(0x187)]=d([s(0x1,i[_0x378934(0x183)](i[_0x378934(0x199)])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x378934(0x183)](v['SnapshotService'])),s(0x4,i[_0x378934(0x183)](c[_0x378934(0x1b2)]))],exports[_0x378934(0x187)]);class u extends l[_0x378934(0x193)]{['getCollaboration'](){var _0xa22c95=_0x378934;return this[_0xa22c95(0x185)][_0xa22c95(0x1a5)](exports['FCollaboration'],{'getUniverSheet':_0x2cdb0a=>this[_0xa22c95(0x195)](_0x2cdb0a)});}['loadServerUnit'](_0x15b4f8,_0xa218a9,_0x36d0a1){var _0x32a9e3=_0x378934;return this[_0x32a9e3(0x185)][_0x32a9e3(0x1a5)](c[_0x32a9e3(0x18b)])[_0x32a9e3(0x1ab)](_0x15b4f8,_0xa218a9,_0x36d0a1);}}function _0x9927(_0x39b652,_0x1d912a){var _0x4e8e35=_0x4e8e();return _0x9927=function(_0x99279,_0x4ec3fb){_0x99279=_0x99279-0x183;var _0x193031=_0x4e8e35[_0x99279];return _0x193031;},_0x9927(_0x39b652,_0x1d912a);}l[_0x378934(0x193)][_0x378934(0x1b4)](u);