@univerjs-pro/collaboration-client 0.6.10-alpha.0 → 0.6.10-experimental.20250410-f79ffef

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 _0xde5350=_0x166f;(function(_0x13b3c5,_0x13606b){var _0x508c1f=_0x166f,_0x3fc5e3=_0x13b3c5();while(!![]){try{var _0x2c6768=-parseInt(_0x508c1f(0x199))/0x1+parseInt(_0x508c1f(0x1b4))/0x2*(-parseInt(_0x508c1f(0x1ab))/0x3)+-parseInt(_0x508c1f(0x1a2))/0x4*(-parseInt(_0x508c1f(0x1a8))/0x5)+-parseInt(_0x508c1f(0x19b))/0x6+parseInt(_0x508c1f(0x1b6))/0x7*(-parseInt(_0x508c1f(0x1b1))/0x8)+parseInt(_0x508c1f(0x1a9))/0x9+parseInt(_0x508c1f(0x1ac))/0xa*(parseInt(_0x508c1f(0x1a6))/0xb);if(_0x2c6768===_0x13606b)break;else _0x3fc5e3['push'](_0x3fc5e3['shift']());}catch(_0x520404){_0x3fc5e3['push'](_0x3fc5e3['shift']());}}}(_0x1eb9,0xe91ab));Object['defineProperty'](exports,Symbol[_0xde5350(0x1b5)],{'value':'Module'});const c=require(_0xde5350(0x1aa)),l=require('@univerjs/core/facade'),v=require('@univerjs-pro/collaboration'),i=require(_0xde5350(0x193)),b=require(_0xde5350(0x1c1));var S=Object[_0xde5350(0x1b0)],d=(_0x27117b,_0x254b33,_0x2894ba,_0x5c352a)=>{var _0x3f4232=_0xde5350;for(var _0x14688d=_0x5c352a>0x1?void 0x0:_0x5c352a?S(_0x254b33,_0x2894ba):_0x254b33,_0x22d590=_0x27117b[_0x3f4232(0x19a)]-0x1,_0x1e8aac;_0x22d590>=0x0;_0x22d590--)(_0x1e8aac=_0x27117b[_0x22d590])&&(_0x14688d=_0x1e8aac(_0x14688d)||_0x14688d);return _0x14688d;},s=(_0x2e59f7,_0x340bad)=>(_0x29427f,_0x5ef446)=>_0x340bad(_0x29427f,_0x5ef446,_0x2e59f7);function _0x1eb9(){var _0x57fa6c=['getCollaboration','rxjs','@univerjs/core','_univerInstanceService','values','FCollaboration','pipe','createInstance','1838513HEOqDD','length','968262xrHRBp','switchMap','MemberService','get','IUniverInstanceService','FBase','loadUnit','20nzpWSf','FUniver','loadSheet','loadActiveSheet','624206qrmRzj','_injector','944140bqlxeq','9321606uVYeks','@univerjs-pro/collaboration-client','7443XYEgJL','470MsfUuD','from','waitForRoom$','_snapshotService','getOwnPropertyDescriptor','1424512tZNEIs','getUniverSheet','Inject','790OCCdgK','toStringTag','28noQsqW','loadActiveSheetAsync','_handler','_collaborationController','loadSheetAsync','toDisposable','loadServerUnit','members$','Injector','DataLoaderService'];_0x1eb9=function(){return _0x57fa6c;};return _0x1eb9();}function _0x166f(_0x2c0927,_0xcf353b){var _0x1eb9e2=_0x1eb9();return _0x166f=function(_0x166f6f,_0x969471){_0x166f6f=_0x166f6f-0x193;var _0x1ff49f=_0x1eb9e2[_0x166f6f];return _0x1ff49f;},_0x166f(_0x2c0927,_0xcf353b);}exports[_0xde5350(0x196)]=class extends l[_0xde5350(0x1a0)]{constructor(_0x21a870,_0x22d5b5,_0x2f3d45,_0x204892,_0xe62526){var _0x3e0c68=_0xde5350;super(),this[_0x3e0c68(0x1b8)]=_0x21a870,this[_0x3e0c68(0x1a7)]=_0x22d5b5,this[_0x3e0c68(0x194)]=_0x2f3d45,this[_0x3e0c68(0x1af)]=_0x204892,this[_0x3e0c68(0x1b9)]=_0xe62526;}async[_0xde5350(0x1a5)](){var _0x4e7593=_0xde5350;return this[_0x4e7593(0x1b7)]();}async[_0xde5350(0x1b7)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x22c204){var _0x2af893=_0xde5350;return this[_0x2af893(0x1ba)](_0x22c204);}async[_0xde5350(0x1ba)](_0x4ef30d,_0x413e36){var _0x34f3d9=_0xde5350;return await this['_snapshotService'][_0x34f3d9(0x1a4)](_0x4ef30d,0x0,_0x413e36)?(await this[_0x34f3d9(0x1b9)]['readyForCollab'](_0x4ef30d),this[_0x34f3d9(0x1b8)][_0x34f3d9(0x1b2)](_0x4ef30d)):null;}['subscribeCollaborators'](_0x1cdb96,_0x219391){var _0x18f25b=_0xde5350;const _0x3d2033=this[_0x18f25b(0x1a7)][_0x18f25b(0x19e)](c[_0x18f25b(0x19d)])[_0x18f25b(0x1ae)](_0x1cdb96)[_0x18f25b(0x197)](b[_0x18f25b(0x19c)](_0x221f3a=>_0x221f3a[_0x18f25b(0x1bd)]))['subscribe'](_0x1cdf64=>_0x219391(Array[_0x18f25b(0x1ad)](_0x1cdf64[_0x18f25b(0x195)]())));return i[_0x18f25b(0x1bb)](_0x3d2033);}},exports[_0xde5350(0x196)]=d([s(0x1,i[_0xde5350(0x1b3)](i[_0xde5350(0x1be)])),s(0x2,i[_0xde5350(0x19f)]),s(0x3,i['Inject'](v['SnapshotService'])),s(0x4,i[_0xde5350(0x1b3)](c['CollaborationController']))],exports[_0xde5350(0x196)]);class u extends l[_0xde5350(0x1a3)]{[_0xde5350(0x1c0)](){var _0x398a96=_0xde5350;return this['_injector'][_0x398a96(0x198)](exports[_0x398a96(0x196)],{'getUniverSheet':_0x2591d8=>this[_0x398a96(0x1b2)](_0x2591d8)});}[_0xde5350(0x1bc)](_0x5c5687,_0x538fb4,_0x461ade){var _0x4b34eb=_0xde5350;return this[_0x4b34eb(0x1a7)]['createInstance'](c[_0x4b34eb(0x1bf)])[_0x4b34eb(0x1a1)](_0x5c5687,_0x538fb4,_0x461ade);}}l[_0xde5350(0x1a3)]['extend'](u);
1
+ 'use strict';var _0x229d62=_0x5358;(function(_0x2dccc4,_0xf5b2a8){var _0x209ca5=_0x5358,_0x2ef0c0=_0x2dccc4();while(!![]){try{var _0x463ec3=-parseInt(_0x209ca5(0x1b0))/0x1+-parseInt(_0x209ca5(0x1b5))/0x2*(parseInt(_0x209ca5(0x1b1))/0x3)+parseInt(_0x209ca5(0x191))/0x4+parseInt(_0x209ca5(0x1ae))/0x5+parseInt(_0x209ca5(0x1b3))/0x6+parseInt(_0x209ca5(0x1a6))/0x7+-parseInt(_0x209ca5(0x197))/0x8;if(_0x463ec3===_0xf5b2a8)break;else _0x2ef0c0['push'](_0x2ef0c0['shift']());}catch(_0x50bee4){_0x2ef0c0['push'](_0x2ef0c0['shift']());}}}(_0x20e5,0x5a4f6));function _0x5358(_0x5bb1fa,_0x369525){var _0x20e50c=_0x20e5();return _0x5358=function(_0x5358a7,_0xb00257){_0x5358a7=_0x5358a7-0x18a;var _0x3580de=_0x20e50c[_0x5358a7];return _0x3580de;},_0x5358(_0x5bb1fa,_0x369525);}Object[_0x229d62(0x1a5)](exports,Symbol[_0x229d62(0x192)],{'value':'Module'});const c=require(_0x229d62(0x1aa)),l=require(_0x229d62(0x18b)),v=require(_0x229d62(0x19d)),i=require(_0x229d62(0x1ba)),b=require(_0x229d62(0x1a2));var S=Object[_0x229d62(0x1b8)],d=(_0x43c175,_0x119c3e,_0x16491a,_0x52fee4)=>{var _0xa8c23a=_0x229d62;for(var _0x471163=_0x52fee4>0x1?void 0x0:_0x52fee4?S(_0x119c3e,_0x16491a):_0x119c3e,_0x8f3581=_0x43c175[_0xa8c23a(0x1af)]-0x1,_0x5d580a;_0x8f3581>=0x0;_0x8f3581--)(_0x5d580a=_0x43c175[_0x8f3581])&&(_0x471163=_0x5d580a(_0x471163)||_0x471163);return _0x471163;},s=(_0x52411b,_0x50255f)=>(_0x555291,_0x12c71d)=>_0x50255f(_0x555291,_0x12c71d,_0x52411b);exports[_0x229d62(0x198)]=class extends l[_0x229d62(0x19a)]{constructor(_0x11e3a7,_0x2b3571,_0x4d796e,_0x12f793,_0x46660e){var _0x2c3e2e=_0x229d62;super(),this[_0x2c3e2e(0x1a1)]=_0x11e3a7,this[_0x2c3e2e(0x1b4)]=_0x2b3571,this[_0x2c3e2e(0x19c)]=_0x4d796e,this[_0x2c3e2e(0x1a3)]=_0x12f793,this[_0x2c3e2e(0x1b2)]=_0x46660e;}async[_0x229d62(0x194)](){var _0x12f26c=_0x229d62;return this[_0x12f26c(0x1b7)]();}async['loadActiveSheetAsync'](){var _0x5580e0=_0x229d62;throw new Error(_0x5580e0(0x1bc));}async['loadSheet'](_0x1bf8b3){var _0x1e6be7=_0x229d62;return this[_0x1e6be7(0x18c)](_0x1bf8b3);}async[_0x229d62(0x18c)](_0x55b1a3,_0x330939){var _0xdd7569=_0x229d62;return await this[_0xdd7569(0x1a3)][_0xdd7569(0x1ad)](_0x55b1a3,0x0,_0x330939)?(await this[_0xdd7569(0x1b2)]['readyForCollab'](_0x55b1a3),this['_handler'][_0xdd7569(0x1bb)](_0x55b1a3)):null;}['subscribeCollaborators'](_0x2eb87d,_0x1cf403){var _0x1f8e4f=_0x229d62;const _0x430cc5=this['_injector'][_0x1f8e4f(0x18f)](c[_0x1f8e4f(0x1a4)])[_0x1f8e4f(0x196)](_0x2eb87d)[_0x1f8e4f(0x199)](b[_0x1f8e4f(0x1a8)](_0x54decd=>_0x54decd[_0x1f8e4f(0x190)]))[_0x1f8e4f(0x18d)](_0xf7192a=>_0x1cf403(Array[_0x1f8e4f(0x1a0)](_0xf7192a[_0x1f8e4f(0x193)]())));return i[_0x1f8e4f(0x1ac)](_0x430cc5);}},exports[_0x229d62(0x198)]=d([s(0x1,i[_0x229d62(0x19f)](i[_0x229d62(0x1a7)])),s(0x2,i[_0x229d62(0x19e)]),s(0x3,i[_0x229d62(0x19f)](v[_0x229d62(0x18e)])),s(0x4,i[_0x229d62(0x19f)](c['CollaborationController']))],exports[_0x229d62(0x198)]);class u extends l[_0x229d62(0x18a)]{[_0x229d62(0x1a9)](){var _0x599011=_0x229d62;return this['_injector'][_0x599011(0x1ab)](exports[_0x599011(0x198)],{'getUniverSheet':_0x31ad4b=>this['getUniverSheet'](_0x31ad4b)});}[_0x229d62(0x195)](_0x4b80b6,_0x28c94b,_0x57a4fc){var _0x35fab4=_0x229d62;return this[_0x35fab4(0x1b4)][_0x35fab4(0x1ab)](c[_0x35fab4(0x1b6)])[_0x35fab4(0x1b9)](_0x4b80b6,_0x28c94b,_0x57a4fc);}}function _0x20e5(){var _0x50001d=['loadServerUnit','waitForRoom$','4222680RAseiZ','FCollaboration','pipe','FBase','extend','_univerInstanceService','@univerjs-pro/collaboration','IUniverInstanceService','Inject','from','_handler','rxjs','_snapshotService','MemberService','defineProperty','2677577XrMzAy','Injector','switchMap','getCollaboration','@univerjs-pro/collaboration-client','createInstance','toDisposable','loadSheet','1362150lGPzkM','length','492394nfGptC','3QDPNEE','_collaborationController','2027412kAGOER','_injector','436214aSdZxV','DataLoaderService','loadActiveSheetAsync','getOwnPropertyDescriptor','loadUnit','@univerjs/core','getUniverSheet','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','FUniver','@univerjs/core/facade','loadSheetAsync','subscribe','SnapshotService','get','members$','2461612OEsTGy','toStringTag','values','loadActiveSheet'];_0x20e5=function(){return _0x50001d;};return _0x20e5();}l[_0x229d62(0x18a)][_0x229d62(0x19b)](u);