@univerjs-pro/collaboration-client 0.5.4-nightly.202501151339 → 0.5.4-nightly.202501151606

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 _0x49ac8d=_0x25f6;(function(_0x5d15b7,_0x2cb7f6){var _0x3f61e9=_0x25f6,_0x1813c7=_0x5d15b7();while(!![]){try{var _0xe97ce7=parseInt(_0x3f61e9(0x1f5))/0x1+parseInt(_0x3f61e9(0x1e6))/0x2*(-parseInt(_0x3f61e9(0x1f1))/0x3)+parseInt(_0x3f61e9(0x203))/0x4+-parseInt(_0x3f61e9(0x20e))/0x5+-parseInt(_0x3f61e9(0x1ea))/0x6+parseInt(_0x3f61e9(0x1f6))/0x7*(parseInt(_0x3f61e9(0x1ed))/0x8)+parseInt(_0x3f61e9(0x1fb))/0x9*(-parseInt(_0x3f61e9(0x202))/0xa);if(_0xe97ce7===_0x2cb7f6)break;else _0x1813c7['push'](_0x1813c7['shift']());}catch(_0x48023f){_0x1813c7['push'](_0x1813c7['shift']());}}}(_0x94b5,0xde579));function _0x25f6(_0x5d186d,_0x1b0f32){var _0x94b5c=_0x94b5();return _0x25f6=function(_0x25f630,_0x2b3a1e){_0x25f630=_0x25f630-0x1e6;var _0x27e9fd=_0x94b5c[_0x25f630];return _0x27e9fd;},_0x25f6(_0x5d186d,_0x1b0f32);}Object[_0x49ac8d(0x208)](exports,Symbol['toStringTag'],{'value':_0x49ac8d(0x207)});const o=require(_0x49ac8d(0x204)),h=require(_0x49ac8d(0x209)),c=require(_0x49ac8d(0x1fd)),b=require(_0x49ac8d(0x20f));var v=Object['defineProperty'],u=Object['getOwnPropertyDescriptor'],S=(_0x5f44bb,_0x5760b5,_0x3cf813,_0xb96fbf)=>{var _0x2f4600=_0x49ac8d;for(var _0x8fa8db=_0xb96fbf>0x1?void 0x0:_0xb96fbf?u(_0x5760b5,_0x3cf813):_0x5760b5,_0x15088b=_0x5f44bb[_0x2f4600(0x20b)]-0x1,_0x33eec0;_0x15088b>=0x0;_0x15088b--)(_0x33eec0=_0x5f44bb[_0x15088b])&&(_0x8fa8db=(_0xb96fbf?_0x33eec0(_0x5760b5,_0x3cf813,_0x8fa8db):_0x33eec0(_0x8fa8db))||_0x8fa8db);return _0xb96fbf&&_0x8fa8db&&v(_0x5760b5,_0x3cf813,_0x8fa8db),_0x8fa8db;},s=(_0x78933e,_0x5a8f1c)=>(_0x4abd79,_0x4ef298)=>_0x5a8f1c(_0x4abd79,_0x4ef298,_0x78933e);exports[_0x49ac8d(0x1e9)]=class extends o[_0x49ac8d(0x211)]{constructor(_0x54aeba,_0x27cbda,_0xd8102,_0x38724a,_0x1bee6f){var _0xda108d=_0x49ac8d;super(),this['_handler']=_0x54aeba,this[_0xda108d(0x1eb)]=_0x27cbda,this[_0xda108d(0x1ef)]=_0xd8102,this[_0xda108d(0x212)]=_0x38724a,this[_0xda108d(0x1f9)]=_0x1bee6f;}async[_0x49ac8d(0x1f2)](){var _0x338e47=_0x49ac8d;return this[_0x338e47(0x210)]();}async[_0x49ac8d(0x210)](){var _0x5b7824=_0x49ac8d;throw new Error(_0x5b7824(0x1f4));}async[_0x49ac8d(0x20c)](_0x1d941e){var _0x2ac3a8=_0x49ac8d;return this[_0x2ac3a8(0x1ff)](_0x1d941e);}async[_0x49ac8d(0x1ff)](_0xa9d7de){var _0x418819=_0x49ac8d;return this[_0x418819(0x1ef)]['getUnit'](_0xa9d7de,o['UniverInstanceType']['UNIVER_SHEET'])||await this[_0x418819(0x212)][_0x418819(0x20c)](_0xa9d7de,0x0)?(await this['_collaborationController'][_0x418819(0x1fc)](_0xa9d7de),this['_handler']['getUniverSheet'](_0xa9d7de)):null;}[_0x49ac8d(0x1f3)](_0x5835f1,_0x1d503b){var _0x5dcac3=_0x49ac8d;const _0x344c8b=this[_0x5dcac3(0x1eb)][_0x5dcac3(0x1f0)](c['MemberService'])['waitForRoom$'](_0x5835f1)[_0x5dcac3(0x1e7)](b[_0x5dcac3(0x206)](_0x3bef56=>_0x3bef56[_0x5dcac3(0x1ee)]))[_0x5dcac3(0x200)](_0x21bbc5=>_0x1d503b(Array[_0x5dcac3(0x1f7)](_0x21bbc5[_0x5dcac3(0x20d)]())));return o['toDisposable'](_0x344c8b);}},exports[_0x49ac8d(0x1e9)]=S([s(0x1,o['Inject'](o[_0x49ac8d(0x1fe)])),s(0x2,o[_0x49ac8d(0x1ec)]),s(0x3,o[_0x49ac8d(0x1e8)](h[_0x49ac8d(0x20a)])),s(0x4,o[_0x49ac8d(0x1e8)](c[_0x49ac8d(0x1f8)]))],exports[_0x49ac8d(0x1e9)]);function _0x94b5(){var _0x41b394=['594192mzHSeU','@univerjs/core','extend','switchMap','Module','defineProperty','@univerjs-pro/collaboration','SnapshotService','length','loadSheet','values','2601655PTeuTM','rxjs','loadActiveSheetAsync','FBase','_snapshotService','FUniver','2481494zVQcbp','pipe','Inject','FCollaboration','1655874oqysCk','_injector','IUniverInstanceService','9992bHcHjV','members$','_univerInstanceService','get','3qFdAbD','loadActiveSheet','subscribeCollaborators','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','1509240fAQLVa','7756Omxzzp','from','CollaborationController','_collaborationController','createInstance','845190oMtqUV','readyForCollab','@univerjs-pro/collaboration-client','Injector','loadSheetAsync','subscribe','getUniverSheet','10XYgXlk'];_0x94b5=function(){return _0x41b394;};return _0x94b5();}class _ extends o[_0x49ac8d(0x213)]{['getCollaboration'](){var _0x1e98e3=_0x49ac8d;return this[_0x1e98e3(0x1eb)][_0x1e98e3(0x1fa)](exports[_0x1e98e3(0x1e9)],{'getUniverSheet':_0x263619=>this[_0x1e98e3(0x201)](_0x263619)});}}o[_0x49ac8d(0x213)][_0x49ac8d(0x205)](_);
1
+ 'use strict';var _0x519469=_0x44d7;(function(_0x5ec3ad,_0x2b290e){var _0x244839=_0x44d7,_0x4252c5=_0x5ec3ad();while(!![]){try{var _0x2b61dd=-parseInt(_0x244839(0xb0))/0x1*(parseInt(_0x244839(0x91))/0x2)+parseInt(_0x244839(0xbf))/0x3+parseInt(_0x244839(0xba))/0x4*(parseInt(_0x244839(0x98))/0x5)+-parseInt(_0x244839(0xbd))/0x6+parseInt(_0x244839(0xa2))/0x7*(-parseInt(_0x244839(0xb3))/0x8)+parseInt(_0x244839(0xb4))/0x9*(-parseInt(_0x244839(0x95))/0xa)+-parseInt(_0x244839(0x93))/0xb*(-parseInt(_0x244839(0xa4))/0xc);if(_0x2b61dd===_0x2b290e)break;else _0x4252c5['push'](_0x4252c5['shift']());}catch(_0x18ab91){_0x4252c5['push'](_0x4252c5['shift']());}}}(_0x4533,0x2adf7));function _0x4533(){var _0x3e59a2=['FBase','defineProperty','loadSheet','waitForRoom$','switchMap','loadSheetAsync','_collaborationController','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','length','_injector','11523daooea','subscribe','SnapshotService','867448KkTrLp','1193877cNFlwz','getOwnPropertyDescriptor','CollaborationController','pipe','@univerjs-pro/collaboration','subscribeCollaborators','88xFjwuy','MemberService','loadActiveSheet','1903914cUleyZ','Inject','668508EmHgPj','FCollaboration','values','getUniverSheet','getCollaboration','54bahWwR','extend','4917oApobH','from','10jMKMmh','Module','loadActiveSheetAsync','15415MOXdLX','getUnit','readyForCollab','members$','FUniver','_snapshotService','Injector','createInstance','_handler','_univerInstanceService','21cwZXhm','UNIVER_SHEET','26076DZSszk','toStringTag'];_0x4533=function(){return _0x3e59a2;};return _0x4533();}Object['defineProperty'](exports,Symbol[_0x519469(0xa5)],{'value':_0x519469(0x96)});const o=require('@univerjs/core'),h=require(_0x519469(0xb8)),c=require('@univerjs-pro/collaboration-client'),b=require('rxjs');var v=Object[_0x519469(0xa7)],u=Object[_0x519469(0xb5)],S=(_0x23d6a1,_0x577dcc,_0x19c4b8,_0x52c172)=>{var _0x16e0fa=_0x519469;for(var _0x562556=_0x52c172>0x1?void 0x0:_0x52c172?u(_0x577dcc,_0x19c4b8):_0x577dcc,_0x23f07a=_0x23d6a1[_0x16e0fa(0xae)]-0x1,_0x1f0d96;_0x23f07a>=0x0;_0x23f07a--)(_0x1f0d96=_0x23d6a1[_0x23f07a])&&(_0x562556=(_0x52c172?_0x1f0d96(_0x577dcc,_0x19c4b8,_0x562556):_0x1f0d96(_0x562556))||_0x562556);return _0x52c172&&_0x562556&&v(_0x577dcc,_0x19c4b8,_0x562556),_0x562556;},s=(_0x27a886,_0x2b8b1c)=>(_0xabca28,_0x23ba57)=>_0x2b8b1c(_0xabca28,_0x23ba57,_0x27a886);exports[_0x519469(0xc0)]=class extends o[_0x519469(0xa6)]{constructor(_0x1e8b8f,_0xe7583b,_0x15d222,_0x56f731,_0x57a04a){var _0xf55fc6=_0x519469;super(),this['_handler']=_0x1e8b8f,this[_0xf55fc6(0xaf)]=_0xe7583b,this['_univerInstanceService']=_0x15d222,this[_0xf55fc6(0x9d)]=_0x56f731,this[_0xf55fc6(0xac)]=_0x57a04a;}async[_0x519469(0xbc)](){var _0x374a82=_0x519469;return this[_0x374a82(0x97)]();}async[_0x519469(0x97)](){var _0x49fb9f=_0x519469;throw new Error(_0x49fb9f(0xad));}async[_0x519469(0xa8)](_0x4896f6){var _0x52c6e5=_0x519469;return this[_0x52c6e5(0xab)](_0x4896f6);}async[_0x519469(0xab)](_0x1278da){var _0x58c580=_0x519469;return this[_0x58c580(0xa1)][_0x58c580(0x99)](_0x1278da,o['UniverInstanceType'][_0x58c580(0xa3)])||await this['_snapshotService'][_0x58c580(0xa8)](_0x1278da,0x0)?(await this['_collaborationController'][_0x58c580(0x9a)](_0x1278da),this[_0x58c580(0xa0)][_0x58c580(0xc2)](_0x1278da)):null;}[_0x519469(0xb9)](_0xd6b6ad,_0x522aac){var _0x47e313=_0x519469;const _0x2a7858=this[_0x47e313(0xaf)]['get'](c[_0x47e313(0xbb)])[_0x47e313(0xa9)](_0xd6b6ad)[_0x47e313(0xb7)](b[_0x47e313(0xaa)](_0x2fc8b8=>_0x2fc8b8[_0x47e313(0x9b)]))[_0x47e313(0xb1)](_0x299d0f=>_0x522aac(Array[_0x47e313(0x94)](_0x299d0f[_0x47e313(0xc1)]())));return o['toDisposable'](_0x2a7858);}},exports[_0x519469(0xc0)]=S([s(0x1,o['Inject'](o[_0x519469(0x9e)])),s(0x2,o['IUniverInstanceService']),s(0x3,o[_0x519469(0xbe)](h[_0x519469(0xb2)])),s(0x4,o[_0x519469(0xbe)](c[_0x519469(0xb6)]))],exports['FCollaboration']);class _ extends o['FUniver']{[_0x519469(0x90)](){var _0x4aa94c=_0x519469;return this['_injector'][_0x4aa94c(0x9f)](exports[_0x4aa94c(0xc0)],{'getUniverSheet':_0x5786f6=>this[_0x4aa94c(0xc2)](_0x5786f6)});}}function _0x44d7(_0x232a38,_0x250228){var _0x4533a7=_0x4533();return _0x44d7=function(_0x44d71b,_0x4b7030){_0x44d71b=_0x44d71b-0x90;var _0xe15e41=_0x4533a7[_0x44d71b];return _0xe15e41;},_0x44d7(_0x232a38,_0x250228);}o[_0x519469(0x9c)][_0x519469(0x92)](_);