@univerjs-pro/collaboration-client 0.6.7 → 0.6.9-nightly.202504021607

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/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x2e05(_0x365811,_0x4930c1){var _0x1cccdf=_0x1ccc();return _0x2e05=function(_0x2e05f0,_0x32df60){_0x2e05f0=_0x2e05f0-0x1d6;var _0x1a64bb=_0x1cccdf[_0x2e05f0];return _0x1a64bb;},_0x2e05(_0x365811,_0x4930c1);}(function(_0xfb3a70,_0x6c5f09){var _0x3dc62e=_0x2e05,_0x16b77e=_0xfb3a70();while(!![]){try{var _0x23b3a3=-parseInt(_0x3dc62e(0x205))/0x1+-parseInt(_0x3dc62e(0x1f0))/0x2*(-parseInt(_0x3dc62e(0x1ef))/0x3)+-parseInt(_0x3dc62e(0x203))/0x4*(parseInt(_0x3dc62e(0x1f2))/0x5)+parseInt(_0x3dc62e(0x1de))/0x6*(parseInt(_0x3dc62e(0x1ff))/0x7)+parseInt(_0x3dc62e(0x1e2))/0x8*(parseInt(_0x3dc62e(0x1dc))/0x9)+-parseInt(_0x3dc62e(0x1dd))/0xa*(-parseInt(_0x3dc62e(0x1fe))/0xb)+parseInt(_0x3dc62e(0x1eb))/0xc*(-parseInt(_0x3dc62e(0x210))/0xd);if(_0x23b3a3===_0x6c5f09)break;else _0x16b77e['push'](_0x16b77e['shift']());}catch(_0x3cf9c2){_0x16b77e['push'](_0x16b77e['shift']());}}}(_0x1ccc,0xb3e71),function(_0x291fde,_0x5883e7){var _0x3ef50b=_0x2e05;typeof exports==_0x3ef50b(0x1e5)&&typeof module<'u'?_0x5883e7(exports,require(_0x3ef50b(0x1ee)),require('@univerjs/core/facade'),require(_0x3ef50b(0x1da)),require('@univerjs/core'),require(_0x3ef50b(0x208))):typeof define==_0x3ef50b(0x1d6)&&define[_0x3ef50b(0x204)]?define([_0x3ef50b(0x1d8),_0x3ef50b(0x1ee),'@univerjs/core/facade',_0x3ef50b(0x1da),'@univerjs/core',_0x3ef50b(0x208)],_0x5883e7):(_0x291fde=typeof globalThis<'u'?globalThis:_0x291fde||self,_0x5883e7(_0x291fde[_0x3ef50b(0x20c)]={},_0x291fde[_0x3ef50b(0x207)],_0x291fde['UniverCoreFacade'],_0x291fde[_0x3ef50b(0x20e)],_0x291fde[_0x3ef50b(0x1e0)],_0x291fde[_0x3ef50b(0x208)]));}(this,function(_0x45e22a,_0x16abf7,_0x23b10c,_0x22f69f,_0x4d4479,_0x54f1f8){'use strict';var _0x575207=_0x2e05;var _0xc78911=Object[_0x575207(0x1e7)],_0x6a74bc=(_0x13d1cd,_0xfa5b4f,_0x201452,_0x41212c)=>{var _0x3052f5=_0x575207;for(var _0x323553=_0x41212c>0x1?void 0x0:_0x41212c?_0xc78911(_0xfa5b4f,_0x201452):_0xfa5b4f,_0x58bc11=_0x13d1cd[_0x3052f5(0x1fc)]-0x1,_0x402968;_0x58bc11>=0x0;_0x58bc11--)(_0x402968=_0x13d1cd[_0x58bc11])&&(_0x323553=_0x402968(_0x323553)||_0x323553);return _0x323553;},_0x20291b=(_0x4055a9,_0x6a0d3b)=>(_0x8686dd,_0x1ba6c6)=>_0x6a0d3b(_0x8686dd,_0x1ba6c6,_0x4055a9);_0x45e22a[_0x575207(0x1ec)]=class extends _0x23b10c[_0x575207(0x1fd)]{constructor(_0x13fcd3,_0x2357c1,_0x2d79e5,_0x47ef5f,_0x506070){var _0x432e3d=_0x575207;super(),this[_0x432e3d(0x1e9)]=_0x13fcd3,this[_0x432e3d(0x1db)]=_0x2357c1,this[_0x432e3d(0x20a)]=_0x2d79e5,this[_0x432e3d(0x1d9)]=_0x47ef5f,this['_collaborationController']=_0x506070;}async[_0x575207(0x1d7)](){return this['loadActiveSheetAsync']();}async[_0x575207(0x20b)](){var _0x239c43=_0x575207;throw new Error(_0x239c43(0x20f));}async[_0x575207(0x206)](_0x2215ef){var _0x58b34d=_0x575207;return this[_0x58b34d(0x1df)](_0x2215ef);}async[_0x575207(0x1df)](_0x34d569,_0xe097f1){var _0x2cff43=_0x575207;return await this[_0x2cff43(0x1d9)][_0x2cff43(0x206)](_0x34d569,0x0,_0xe097f1)?(await this[_0x2cff43(0x1e4)]['readyForCollab'](_0x34d569),this[_0x2cff43(0x1e9)]['getUniverSheet'](_0x34d569)):null;}[_0x575207(0x1f9)](_0x423f98,_0x293136){var _0x15a582=_0x575207;const _0x4ea7c0=this[_0x15a582(0x1db)][_0x15a582(0x200)](_0x16abf7[_0x15a582(0x209)])['waitForRoom$'](_0x423f98)[_0x15a582(0x1ea)](_0x54f1f8[_0x15a582(0x201)](_0x5967cd=>_0x5967cd['members$']))[_0x15a582(0x1e6)](_0x4c6ffc=>_0x293136(Array['from'](_0x4c6ffc[_0x15a582(0x1f1)]())));return _0x4d4479[_0x15a582(0x20d)](_0x4ea7c0);}},_0x45e22a[_0x575207(0x1ec)]=_0x6a74bc([_0x20291b(0x1,_0x4d4479[_0x575207(0x1f8)](_0x4d4479[_0x575207(0x1e8)])),_0x20291b(0x2,_0x4d4479['IUniverInstanceService']),_0x20291b(0x3,_0x4d4479[_0x575207(0x1f8)](_0x22f69f[_0x575207(0x202)])),_0x20291b(0x4,_0x4d4479['Inject'](_0x16abf7[_0x575207(0x1f5)]))],_0x45e22a[_0x575207(0x1ec)]);class _0x47f77d extends _0x23b10c[_0x575207(0x1e3)]{[_0x575207(0x1f7)](){var _0x36a5b9=_0x575207;return this[_0x36a5b9(0x1db)][_0x36a5b9(0x1fa)](_0x45e22a[_0x36a5b9(0x1ec)],{'getUniverSheet':_0x136827=>this['getUniverSheet'](_0x136827)});}['loadServerUnit'](_0x5857c1,_0x18b5b8,_0x5afda3){var _0x39cca0=_0x575207;return this[_0x39cca0(0x1db)][_0x39cca0(0x1fa)](_0x16abf7[_0x39cca0(0x1e1)])[_0x39cca0(0x1f4)](_0x5857c1,_0x18b5b8,_0x5afda3);}}_0x23b10c[_0x575207(0x1e3)][_0x575207(0x1fb)](_0x47f77d),Object[_0x575207(0x1f6)](_0x45e22a,Symbol[_0x575207(0x1f3)],{'value':_0x575207(0x1ed)});}));function _0x1ccc(){var _0x5a96c9=['loadSheet','UniverProCollaborationClient','rxjs','MemberService','_univerInstanceService','loadActiveSheetAsync','UniverProCollaborationClientFacade','toDisposable','UniverProCollaboration','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','3161561xJXvQP','function','loadActiveSheet','exports','_snapshotService','@univerjs-pro/collaboration','_injector','1422blnXAq','3252540jcdpUG','1878KIMxKc','loadSheetAsync','UniverCore','DataLoaderService','11728aQNWRl','FUniver','_collaborationController','object','subscribe','getOwnPropertyDescriptor','Injector','_handler','pipe','48AQfGdZ','FCollaboration','Module','@univerjs-pro/collaboration-client','9aiScNQ','882000CxrsXS','values','865olRKNz','toStringTag','loadUnit','CollaborationController','defineProperty','getCollaboration','Inject','subscribeCollaborators','createInstance','extend','length','FBase','22RBDnDW','13538NCeIkE','get','switchMap','SnapshotService','7732PYnIIU','amd','766400RXqJWX'];_0x1ccc=function(){return _0x5a96c9;};return _0x1ccc();}
1
+ function _0x363f(){var _0x2e9d94=['DataLoaderService','exports','loadSheetAsync','from','subscribe','loadSheet','7409200SmLAgV','toStringTag','IUniverInstanceService','UniverProCollaborationClient','switchMap','11450997ZXpcys','CollaborationController','rxjs','length','FCollaboration','getOwnPropertyDescriptor','3410076SKheKW','object','loadActiveSheetAsync','_snapshotService','_injector','UniverProCollaboration','Module','506SAGJIQ','@univerjs/core','Inject','MemberService','_collaborationController','@univerjs-pro/collaboration-client','function','2380LviuAD','2799UGUrAY','createInstance','40056wNadZt','FUniver','_handler','967321oIrCIW','@univerjs/core/facade','_univerInstanceService','getUniverSheet','8760805uBUBCE','extend','get','waitForRoom$','toDisposable','loadUnit','getCollaboration','defineProperty','@univerjs-pro/collaboration','UniverCoreFacade'];_0x363f=function(){return _0x2e9d94;};return _0x363f();}function _0x59b7(_0x2d4a03,_0x942cd0){var _0x363f18=_0x363f();return _0x59b7=function(_0x59b737,_0x59c2a6){_0x59b737=_0x59b737-0x168;var _0x193414=_0x363f18[_0x59b737];return _0x193414;},_0x59b7(_0x2d4a03,_0x942cd0);}(function(_0x31a80f,_0x4cf3b1){var _0x30ac76=_0x59b7,_0x4b5ee8=_0x31a80f();while(!![]){try{var _0x3ddd61=parseInt(_0x30ac76(0x179))/0x1+-parseInt(_0x30ac76(0x16c))/0x2*(parseInt(_0x30ac76(0x174))/0x3)+parseInt(_0x30ac76(0x18d))/0x4+-parseInt(_0x30ac76(0x17d))/0x5+parseInt(_0x30ac76(0x198))/0x6+parseInt(_0x30ac76(0x173))/0x7*(-parseInt(_0x30ac76(0x176))/0x8)+parseInt(_0x30ac76(0x192))/0x9;if(_0x3ddd61===_0x4cf3b1)break;else _0x4b5ee8['push'](_0x4b5ee8['shift']());}catch(_0x36c968){_0x4b5ee8['push'](_0x4b5ee8['shift']());}}}(_0x363f,0xecbee),function(_0x449f2d,_0xa8fff3){var _0xd1a7c0=_0x59b7;typeof exports==_0xd1a7c0(0x199)&&typeof module<'u'?_0xa8fff3(exports,require(_0xd1a7c0(0x171)),require(_0xd1a7c0(0x17a)),require(_0xd1a7c0(0x185)),require(_0xd1a7c0(0x16d)),require(_0xd1a7c0(0x194))):typeof define==_0xd1a7c0(0x172)&&define['amd']?define([_0xd1a7c0(0x188),_0xd1a7c0(0x171),'@univerjs/core/facade',_0xd1a7c0(0x185),_0xd1a7c0(0x16d),'rxjs'],_0xa8fff3):(_0x449f2d=typeof globalThis<'u'?globalThis:_0x449f2d||self,_0xa8fff3(_0x449f2d['UniverProCollaborationClientFacade']={},_0x449f2d[_0xd1a7c0(0x190)],_0x449f2d[_0xd1a7c0(0x186)],_0x449f2d[_0xd1a7c0(0x16a)],_0x449f2d['UniverCore'],_0x449f2d[_0xd1a7c0(0x194)]));}(this,function(_0x599c17,_0x552e75,_0x4567a4,_0x28b3e0,_0x5659ff,_0x492cba){'use strict';var _0x428120=_0x59b7;var _0x57bfff=Object[_0x428120(0x197)],_0x27709b=(_0x21c462,_0x675306,_0x1c58e2,_0x23ee6e)=>{var _0x2870e9=_0x428120;for(var _0x2d737a=_0x23ee6e>0x1?void 0x0:_0x23ee6e?_0x57bfff(_0x675306,_0x1c58e2):_0x675306,_0x5a61c8=_0x21c462[_0x2870e9(0x195)]-0x1,_0x56f6bf;_0x5a61c8>=0x0;_0x5a61c8--)(_0x56f6bf=_0x21c462[_0x5a61c8])&&(_0x2d737a=_0x56f6bf(_0x2d737a)||_0x2d737a);return _0x2d737a;},_0x27b9ec=(_0xe475c4,_0x5ebac2)=>(_0x53cf3d,_0x1681b3)=>_0x5ebac2(_0x53cf3d,_0x1681b3,_0xe475c4);_0x599c17[_0x428120(0x196)]=class extends _0x4567a4['FBase']{constructor(_0x4bad59,_0x473c5e,_0x3ef6b6,_0x2a8970,_0x3d24f9){var _0x541bfe=_0x428120;super(),this[_0x541bfe(0x178)]=_0x4bad59,this[_0x541bfe(0x169)]=_0x473c5e,this[_0x541bfe(0x17b)]=_0x3ef6b6,this[_0x541bfe(0x168)]=_0x2a8970,this[_0x541bfe(0x170)]=_0x3d24f9;}async['loadActiveSheet'](){var _0x4cc03a=_0x428120;return this[_0x4cc03a(0x19a)]();}async[_0x428120(0x19a)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x428120(0x18c)](_0x497e46){return this['loadSheetAsync'](_0x497e46);}async[_0x428120(0x189)](_0xe66f72,_0x236e4f){var _0x33564d=_0x428120;return await this[_0x33564d(0x168)][_0x33564d(0x18c)](_0xe66f72,0x0,_0x236e4f)?(await this[_0x33564d(0x170)]['readyForCollab'](_0xe66f72),this[_0x33564d(0x178)][_0x33564d(0x17c)](_0xe66f72)):null;}['subscribeCollaborators'](_0x564f18,_0x2ddb9e){var _0x4ec3f4=_0x428120;const _0x46fd2d=this[_0x4ec3f4(0x169)][_0x4ec3f4(0x17f)](_0x552e75[_0x4ec3f4(0x16f)])[_0x4ec3f4(0x180)](_0x564f18)['pipe'](_0x492cba[_0x4ec3f4(0x191)](_0x5c97b6=>_0x5c97b6['members$']))[_0x4ec3f4(0x18b)](_0x13f5ae=>_0x2ddb9e(Array[_0x4ec3f4(0x18a)](_0x13f5ae['values']())));return _0x5659ff[_0x4ec3f4(0x181)](_0x46fd2d);}},_0x599c17['FCollaboration']=_0x27709b([_0x27b9ec(0x1,_0x5659ff[_0x428120(0x16e)](_0x5659ff['Injector'])),_0x27b9ec(0x2,_0x5659ff[_0x428120(0x18f)]),_0x27b9ec(0x3,_0x5659ff[_0x428120(0x16e)](_0x28b3e0['SnapshotService'])),_0x27b9ec(0x4,_0x5659ff[_0x428120(0x16e)](_0x552e75[_0x428120(0x193)]))],_0x599c17['FCollaboration']);class _0x432126 extends _0x4567a4[_0x428120(0x177)]{[_0x428120(0x183)](){var _0x229a4a=_0x428120;return this[_0x229a4a(0x169)][_0x229a4a(0x175)](_0x599c17['FCollaboration'],{'getUniverSheet':_0x1c2ca8=>this['getUniverSheet'](_0x1c2ca8)});}['loadServerUnit'](_0xd33b17,_0x2c020c,_0x2e9d5a){var _0x40a56b=_0x428120;return this[_0x40a56b(0x169)][_0x40a56b(0x175)](_0x552e75[_0x40a56b(0x187)])[_0x40a56b(0x182)](_0xd33b17,_0x2c020c,_0x2e9d5a);}}_0x4567a4[_0x428120(0x177)][_0x428120(0x17e)](_0x432126),Object[_0x428120(0x184)](_0x599c17,Symbol[_0x428120(0x18e)],{'value':_0x428120(0x16b)});}));