@univerjs-pro/collaboration-client 0.8.1-nightly.202506151606 → 0.8.1-nightly.202506161607

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 _0x24f063=_0x1f5a;(function(_0x58b954,_0x72dba6){var _0x52b2c4=_0x1f5a,_0xc6c6c1=_0x58b954();while(!![]){try{var _0x4ef479=-parseInt(_0x52b2c4(0x109))/0x1*(-parseInt(_0x52b2c4(0xf8))/0x2)+parseInt(_0x52b2c4(0x10f))/0x3*(-parseInt(_0x52b2c4(0xf7))/0x4)+-parseInt(_0x52b2c4(0x100))/0x5*(-parseInt(_0x52b2c4(0xe8))/0x6)+parseInt(_0x52b2c4(0x101))/0x7*(parseInt(_0x52b2c4(0xfa))/0x8)+-parseInt(_0x52b2c4(0xe9))/0x9*(-parseInt(_0x52b2c4(0x116))/0xa)+-parseInt(_0x52b2c4(0x114))/0xb*(-parseInt(_0x52b2c4(0x111))/0xc)+-parseInt(_0x52b2c4(0xf9))/0xd*(parseInt(_0x52b2c4(0xf4))/0xe);if(_0x4ef479===_0x72dba6)break;else _0xc6c6c1['push'](_0xc6c6c1['shift']());}catch(_0x53b5ef){_0xc6c6c1['push'](_0xc6c6c1['shift']());}}}(_0x5181,0xaaccc));function _0x1f5a(_0x26f171,_0x59f900){var _0x518122=_0x5181();return _0x1f5a=function(_0x1f5a85,_0x58257e){_0x1f5a85=_0x1f5a85-0xe8;var _0xeae95c=_0x518122[_0x1f5a85];return _0xeae95c;},_0x1f5a(_0x26f171,_0x59f900);}function _0x5181(){var _0x2d2e19=['_collaborationController','1262HJBAHH','length','readyForCollab','loadSheet','loadActiveSheetAsync','Inject','1047fMqFZd','loadUnit','76044BluouW','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','@univerjs/core','1529WeZklw','FUniver','2350ofkqoy','Module','waitForRoom$','@univerjs-pro/collaboration-client','createInstance','getOwnPropertyDescriptor','818052qhhBag','3105tsylCt','loadServerUnitOfRevision','_univerInstanceService','subscribe','loadSheetAsync','get','_injector','from','IUniverInstanceService','pipe','FBase','4081966meXHMZ','_handler','@univerjs-pro/collaboration','14372Hnglhd','1998glWDZo','52FKPuUM','164504kLjkEs','loadActiveSheet','_snapshotService','MemberService','SnapshotService','getUniverSheet','5rIVcii','259jpcCDE','DataLoaderService','CollaborationController','FCollaboration','subscribeCollaborators','rxjs','defineProperty'];_0x5181=function(){return _0x2d2e19;};return _0x5181();}Object[_0x24f063(0x107)](exports,Symbol['toStringTag'],{'value':_0x24f063(0x117)});const c=require(_0x24f063(0x119)),l=require('@univerjs/core/facade'),h=require(_0x24f063(0xf6)),n=require(_0x24f063(0x113)),b=require(_0x24f063(0x106));var d=Object[_0x24f063(0x11b)],S=(_0x588980,_0x5af06d,_0x195763,_0x2b1aef)=>{var _0x224347=_0x24f063;for(var _0xe951cf=_0x2b1aef>0x1?void 0x0:_0x2b1aef?d(_0x5af06d,_0x195763):_0x5af06d,_0x4713ea=_0x588980[_0x224347(0x10a)]-0x1,_0x147be5;_0x4713ea>=0x0;_0x4713ea--)(_0x147be5=_0x588980[_0x4713ea])&&(_0xe951cf=_0x147be5(_0xe951cf)||_0xe951cf);return _0xe951cf;},s=(_0x17305b,_0x3581d2)=>(_0x905300,_0x459488)=>_0x3581d2(_0x905300,_0x459488,_0x17305b);exports[_0x24f063(0x104)]=class extends l[_0x24f063(0xf3)]{constructor(_0x13ff03,_0x482840,_0x3788dd,_0x261d2c,_0x19b191){var _0x55f80a=_0x24f063;super(),this[_0x55f80a(0xf5)]=_0x13ff03,this['_injector']=_0x482840,this[_0x55f80a(0xeb)]=_0x3788dd,this[_0x55f80a(0xfc)]=_0x261d2c,this[_0x55f80a(0x108)]=_0x19b191;}async[_0x24f063(0xfb)](){var _0x51d1c4=_0x24f063;return this[_0x51d1c4(0x10d)]();}async[_0x24f063(0x10d)](){var _0x3dadc7=_0x24f063;throw new Error(_0x3dadc7(0x112));}async[_0x24f063(0x10c)](_0x25cc96){var _0x57304b=_0x24f063;return this[_0x57304b(0xed)](_0x25cc96);}async[_0x24f063(0xed)](_0x3ffe98,_0x2b5980){var _0x4dd02f=_0x24f063;return await this[_0x4dd02f(0xfc)]['loadSheet'](_0x3ffe98,0x0,_0x2b5980)?(await this[_0x4dd02f(0x108)][_0x4dd02f(0x10b)](_0x3ffe98),this[_0x4dd02f(0xf5)][_0x4dd02f(0xff)](_0x3ffe98)):null;}[_0x24f063(0x105)](_0x4d5752,_0x2297b5){var _0x2b81a9=_0x24f063;const _0x46f6c8=this[_0x2b81a9(0xef)]['get'](c[_0x2b81a9(0xfd)])[_0x2b81a9(0x118)](_0x4d5752)[_0x2b81a9(0xf2)](b['switchMap'](_0x5ed791=>_0x5ed791['members$']))[_0x2b81a9(0xec)](_0x34cbc1=>_0x2297b5(Array[_0x2b81a9(0xf0)](_0x34cbc1['values']())));return n['toDisposable'](_0x46f6c8);}},exports['FCollaboration']=S([s(0x1,n['Inject'](n['Injector'])),s(0x2,n[_0x24f063(0xf1)]),s(0x3,n[_0x24f063(0x10e)](h[_0x24f063(0xfe)])),s(0x4,n[_0x24f063(0x10e)](c[_0x24f063(0x103)]))],exports[_0x24f063(0x104)]);class u extends l[_0x24f063(0x115)]{['getCollaboration'](){var _0x25cf5e=_0x24f063;return this[_0x25cf5e(0xef)][_0x25cf5e(0x11a)](exports[_0x25cf5e(0x104)],{'getUniverSheet':_0x4f1f0c=>this[_0x25cf5e(0xff)](_0x4f1f0c)});}['loadServerUnit'](_0x4f9dc3,_0x235f79,_0x30196c){var _0x3973f4=_0x24f063;return this[_0x3973f4(0xef)]['get'](c['DataLoaderService'])[_0x3973f4(0x110)](_0x4f9dc3,_0x235f79,_0x30196c);}[_0x24f063(0xea)](_0x458d57,_0x5474d0,_0x3f9d14){var _0x17c686=_0x24f063;return this[_0x17c686(0xef)][_0x17c686(0xee)](c[_0x17c686(0x102)])['loadUnitOfRevision'](_0x458d57,_0x5474d0,_0x3f9d14);}}l[_0x24f063(0x115)]['extend'](u);
1
+ 'use strict';var _0x3691d9=_0x3c7d;(function(_0x119be0,_0x319419){var _0x358962=_0x3c7d,_0xb41848=_0x119be0();while(!![]){try{var _0x106989=-parseInt(_0x358962(0x209))/0x1+parseInt(_0x358962(0x1ef))/0x2+parseInt(_0x358962(0x1f7))/0x3+parseInt(_0x358962(0x1fb))/0x4+-parseInt(_0x358962(0x1f9))/0x5+-parseInt(_0x358962(0x203))/0x6*(-parseInt(_0x358962(0x1f6))/0x7)+parseInt(_0x358962(0x204))/0x8*(-parseInt(_0x358962(0x200))/0x9);if(_0x106989===_0x319419)break;else _0xb41848['push'](_0xb41848['shift']());}catch(_0x541bef){_0xb41848['push'](_0xb41848['shift']());}}}(_0x367b,0x2d909));function _0x367b(){var _0x3a1070=['loadActiveSheet','switchMap','2143647QYnqep','FBase','getUniverSheet','12OdCvrO','8EnNPgo','FCollaboration','MemberService','IUniverInstanceService','loadActiveSheetAsync','132686SfBtgX','@univerjs/core/facade','Module','get','extend','_snapshotService','CollaborationController','@univerjs-pro/collaboration-client','pipe','readyForCollab','DataLoaderService','loadUnit','defineProperty','loadServerUnit','getCollaboration','loadUnitOfRevision','loadSheetAsync','@univerjs/core','Injector','subscribe','@univerjs-pro/collaboration','510262FWzMNP','Inject','_injector','toDisposable','toStringTag','_collaborationController','FUniver','862274hqCKuM','273609ONfWOv','subscribeCollaborators','385175WRDnqi','loadServerUnitOfRevision','167356hAwylt','loadSheet','members$'];_0x367b=function(){return _0x3a1070;};return _0x367b();}function _0x3c7d(_0x295361,_0x417179){var _0x367b37=_0x367b();return _0x3c7d=function(_0x3c7d7a,_0x553e10){_0x3c7d7a=_0x3c7d7a-0x1e7;var _0x3b8e86=_0x367b37[_0x3c7d7a];return _0x3b8e86;},_0x3c7d(_0x295361,_0x417179);}Object[_0x3691d9(0x215)](exports,Symbol[_0x3691d9(0x1f3)],{'value':_0x3691d9(0x20b)});const c=require(_0x3691d9(0x210)),l=require(_0x3691d9(0x20a)),h=require(_0x3691d9(0x1ee)),n=require(_0x3691d9(0x1eb)),b=require('rxjs');var d=Object['getOwnPropertyDescriptor'],S=(_0x23825a,_0x49cb5d,_0x16e138,_0x575cc6)=>{for(var _0xbf4657=_0x575cc6>0x1?void 0x0:_0x575cc6?d(_0x49cb5d,_0x16e138):_0x49cb5d,_0x4fbd9f=_0x23825a['length']-0x1,_0x55976f;_0x4fbd9f>=0x0;_0x4fbd9f--)(_0x55976f=_0x23825a[_0x4fbd9f])&&(_0xbf4657=_0x55976f(_0xbf4657)||_0xbf4657);return _0xbf4657;},s=(_0x2e4292,_0x31422c)=>(_0x3b513c,_0xb6af46)=>_0x31422c(_0x3b513c,_0xb6af46,_0x2e4292);exports[_0x3691d9(0x205)]=class extends l[_0x3691d9(0x201)]{constructor(_0x431edb,_0x1a7df1,_0x5f5030,_0xa8c5d3,_0x156787){var _0x30805c=_0x3691d9;super(),this['_handler']=_0x431edb,this['_injector']=_0x1a7df1,this['_univerInstanceService']=_0x5f5030,this[_0x30805c(0x20e)]=_0xa8c5d3,this[_0x30805c(0x1f4)]=_0x156787;}async[_0x3691d9(0x1fe)](){var _0x27b0c7=_0x3691d9;return this[_0x27b0c7(0x208)]();}async[_0x3691d9(0x208)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x153b79){var _0x260bc7=_0x3691d9;return this[_0x260bc7(0x1ea)](_0x153b79);}async['loadSheetAsync'](_0x5f000d,_0x2d66d0){var _0x3b884e=_0x3691d9;return await this[_0x3b884e(0x20e)][_0x3b884e(0x1fc)](_0x5f000d,0x0,_0x2d66d0)?(await this[_0x3b884e(0x1f4)][_0x3b884e(0x212)](_0x5f000d),this['_handler'][_0x3b884e(0x202)](_0x5f000d)):null;}[_0x3691d9(0x1f8)](_0x57ccf5,_0x128bc6){var _0xd47cf=_0x3691d9;const _0x3e5c5e=this[_0xd47cf(0x1f1)][_0xd47cf(0x20c)](c[_0xd47cf(0x206)])['waitForRoom$'](_0x57ccf5)[_0xd47cf(0x211)](b[_0xd47cf(0x1ff)](_0x1663cd=>_0x1663cd[_0xd47cf(0x1fd)]))[_0xd47cf(0x1ed)](_0x4ba6f4=>_0x128bc6(Array['from'](_0x4ba6f4['values']())));return n[_0xd47cf(0x1f2)](_0x3e5c5e);}},exports['FCollaboration']=S([s(0x1,n[_0x3691d9(0x1f0)](n[_0x3691d9(0x1ec)])),s(0x2,n[_0x3691d9(0x207)]),s(0x3,n['Inject'](h['SnapshotService'])),s(0x4,n['Inject'](c[_0x3691d9(0x20f)]))],exports[_0x3691d9(0x205)]);class u extends l[_0x3691d9(0x1f5)]{[_0x3691d9(0x1e8)](){var _0x29c34e=_0x3691d9;return this['_injector']['createInstance'](exports[_0x29c34e(0x205)],{'getUniverSheet':_0x2191d5=>this[_0x29c34e(0x202)](_0x2191d5)});}[_0x3691d9(0x1e7)](_0x3ccbe6,_0x1dea54,_0x426978){var _0x298048=_0x3691d9;return this[_0x298048(0x1f1)][_0x298048(0x20c)](c[_0x298048(0x213)])[_0x298048(0x214)](_0x3ccbe6,_0x1dea54,_0x426978);}[_0x3691d9(0x1fa)](_0x44dedd,_0x5ca9c2,_0x286436){var _0x44fd2f=_0x3691d9;return this[_0x44fd2f(0x1f1)][_0x44fd2f(0x20c)](c[_0x44fd2f(0x213)])[_0x44fd2f(0x1e9)](_0x44dedd,_0x5ca9c2,_0x286436);}}l[_0x3691d9(0x1f5)][_0x3691d9(0x20d)](u);