@univerjs-pro/collaboration-client 0.6.8 → 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/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x6a9300=_0x50f0;(function(_0x1a4bc5,_0x4d7362){var _0x99835a=_0x50f0,_0x4ec7d9=_0x1a4bc5();while(!![]){try{var _0xb68c62=-parseInt(_0x99835a(0x1a6))/0x1+-parseInt(_0x99835a(0x1a1))/0x2*(-parseInt(_0x99835a(0x17f))/0x3)+parseInt(_0x99835a(0x1ae))/0x4*(parseInt(_0x99835a(0x18d))/0x5)+parseInt(_0x99835a(0x19f))/0x6+-parseInt(_0x99835a(0x1af))/0x7*(-parseInt(_0x99835a(0x199))/0x8)+parseInt(_0x99835a(0x19b))/0x9*(parseInt(_0x99835a(0x185))/0xa)+-parseInt(_0x99835a(0x186))/0xb;if(_0xb68c62===_0x4d7362)break;else _0x4ec7d9['push'](_0x4ec7d9['shift']());}catch(_0x40568e){_0x4ec7d9['push'](_0x4ec7d9['shift']());}}}(_0x4348,0xb4e68));Object[_0x6a9300(0x19a)](exports,Symbol[_0x6a9300(0x19e)],{'value':_0x6a9300(0x19d)});function _0x4348(){var _0x5eba85=['@univerjs/core','readyForCollab','763576oDJwPf','defineProperty','164583aJqYHF','loadSheetAsync','Module','toStringTag','8061888UqVzjU','_injector','2qeKEpS','FBase','Injector','subscribeCollaborators','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','643869smwvWa','members$','DataLoaderService','getUniverSheet','loadServerUnit','SnapshotService','Inject','FUniver','228456zfiZMH','7PkyAZr','IUniverInstanceService','getCollaboration','3917571knhjie','@univerjs/core/facade','FCollaboration','extend','_collaborationController','waitForRoom$','310HFfzFp','23081894UmgUFs','values','createInstance','_handler','MemberService','subscribe','switchMap','15vDkOWh','loadSheet','CollaborationController','getOwnPropertyDescriptor','length','get','@univerjs-pro/collaboration-client','loadActiveSheetAsync','_snapshotService','rxjs'];_0x4348=function(){return _0x5eba85;};return _0x4348();}function _0x50f0(_0x5ad345,_0x1bdb33){var _0x4348bf=_0x4348();return _0x50f0=function(_0x50f06d,_0x3f0b8c){_0x50f06d=_0x50f06d-0x17d;var _0x59b8f5=_0x4348bf[_0x50f06d];return _0x59b8f5;},_0x50f0(_0x5ad345,_0x1bdb33);}const c=require(_0x6a9300(0x193)),l=require(_0x6a9300(0x180)),v=require('@univerjs-pro/collaboration'),i=require(_0x6a9300(0x197)),b=require(_0x6a9300(0x196));var S=Object[_0x6a9300(0x190)],d=(_0x5b6cc9,_0xe41863,_0x4ac195,_0x474c64)=>{var _0x13883e=_0x6a9300;for(var _0x1f3a50=_0x474c64>0x1?void 0x0:_0x474c64?S(_0xe41863,_0x4ac195):_0xe41863,_0x247650=_0x5b6cc9[_0x13883e(0x191)]-0x1,_0x527e5e;_0x247650>=0x0;_0x247650--)(_0x527e5e=_0x5b6cc9[_0x247650])&&(_0x1f3a50=_0x527e5e(_0x1f3a50)||_0x1f3a50);return _0x1f3a50;},s=(_0x533058,_0x19d91c)=>(_0x59a286,_0x3fbf36)=>_0x19d91c(_0x59a286,_0x3fbf36,_0x533058);exports[_0x6a9300(0x181)]=class extends l[_0x6a9300(0x1a2)]{constructor(_0x162cac,_0x12d42a,_0x58d8db,_0x30038b,_0x819c17){var _0x35ea74=_0x6a9300;super(),this['_handler']=_0x162cac,this[_0x35ea74(0x1a0)]=_0x12d42a,this['_univerInstanceService']=_0x58d8db,this['_snapshotService']=_0x30038b,this['_collaborationController']=_0x819c17;}async['loadActiveSheet'](){var _0x305e5a=_0x6a9300;return this[_0x305e5a(0x194)]();}async[_0x6a9300(0x194)](){var _0x40f450=_0x6a9300;throw new Error(_0x40f450(0x1a5));}async[_0x6a9300(0x18e)](_0x19a52a){var _0x9e4c34=_0x6a9300;return this[_0x9e4c34(0x19c)](_0x19a52a);}async[_0x6a9300(0x19c)](_0x182e0f,_0x23b647){var _0x367e81=_0x6a9300;return await this[_0x367e81(0x195)][_0x367e81(0x18e)](_0x182e0f,0x0,_0x23b647)?(await this[_0x367e81(0x183)][_0x367e81(0x198)](_0x182e0f),this[_0x367e81(0x189)][_0x367e81(0x1a9)](_0x182e0f)):null;}[_0x6a9300(0x1a4)](_0x4cfda3,_0x288b07){var _0x54ea36=_0x6a9300;const _0x1bc9e2=this[_0x54ea36(0x1a0)][_0x54ea36(0x192)](c[_0x54ea36(0x18a)])[_0x54ea36(0x184)](_0x4cfda3)['pipe'](b[_0x54ea36(0x18c)](_0x487136=>_0x487136[_0x54ea36(0x1a7)]))[_0x54ea36(0x18b)](_0x4f6711=>_0x288b07(Array['from'](_0x4f6711[_0x54ea36(0x187)]())));return i['toDisposable'](_0x1bc9e2);}},exports[_0x6a9300(0x181)]=d([s(0x1,i[_0x6a9300(0x1ac)](i[_0x6a9300(0x1a3)])),s(0x2,i[_0x6a9300(0x17d)]),s(0x3,i[_0x6a9300(0x1ac)](v[_0x6a9300(0x1ab)])),s(0x4,i['Inject'](c[_0x6a9300(0x18f)]))],exports[_0x6a9300(0x181)]);class u extends l[_0x6a9300(0x1ad)]{[_0x6a9300(0x17e)](){var _0x2613df=_0x6a9300;return this[_0x2613df(0x1a0)]['createInstance'](exports['FCollaboration'],{'getUniverSheet':_0x49b293=>this[_0x2613df(0x1a9)](_0x49b293)});}[_0x6a9300(0x1aa)](_0x5ad54a,_0x101e74,_0x587961){var _0xb8c5dd=_0x6a9300;return this[_0xb8c5dd(0x1a0)][_0xb8c5dd(0x188)](c[_0xb8c5dd(0x1a8)])['loadUnit'](_0x5ad54a,_0x101e74,_0x587961);}}l[_0x6a9300(0x1ad)][_0x6a9300(0x182)](u);
1
+ 'use strict';var _0x54436f=_0xd69e;(function(_0x11bca0,_0x3d9b27){var _0x4f8eba=_0xd69e,_0x32b19e=_0x11bca0();while(!![]){try{var _0x1ac8f5=-parseInt(_0x4f8eba(0x1d4))/0x1*(-parseInt(_0x4f8eba(0x1bc))/0x2)+-parseInt(_0x4f8eba(0x1c7))/0x3*(parseInt(_0x4f8eba(0x1b3))/0x4)+parseInt(_0x4f8eba(0x1c8))/0x5*(parseInt(_0x4f8eba(0x1bb))/0x6)+-parseInt(_0x4f8eba(0x1c6))/0x7*(parseInt(_0x4f8eba(0x1c9))/0x8)+-parseInt(_0x4f8eba(0x1b6))/0x9*(parseInt(_0x4f8eba(0x1e0))/0xa)+parseInt(_0x4f8eba(0x1d9))/0xb+-parseInt(_0x4f8eba(0x1da))/0xc*(-parseInt(_0x4f8eba(0x1b8))/0xd);if(_0x1ac8f5===_0x3d9b27)break;else _0x32b19e['push'](_0x32b19e['shift']());}catch(_0x5d9eca){_0x32b19e['push'](_0x32b19e['shift']());}}}(_0x1cad,0x54c3b));Object['defineProperty'](exports,Symbol[_0x54436f(0x1c4)],{'value':'Module'});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x54436f(0x1df)),v=require('@univerjs-pro/collaboration'),i=require('@univerjs/core'),b=require(_0x54436f(0x1d3));var S=Object['getOwnPropertyDescriptor'],d=(_0x52c47c,_0x2d6543,_0x597547,_0x2b4711)=>{var _0x11306b=_0x54436f;for(var _0x5a1314=_0x2b4711>0x1?void 0x0:_0x2b4711?S(_0x2d6543,_0x597547):_0x2d6543,_0x2a10f5=_0x52c47c[_0x11306b(0x1d0)]-0x1,_0x21fd08;_0x2a10f5>=0x0;_0x2a10f5--)(_0x21fd08=_0x52c47c[_0x2a10f5])&&(_0x5a1314=_0x21fd08(_0x5a1314)||_0x5a1314);return _0x5a1314;},s=(_0x29f78c,_0x4187be)=>(_0x5e1c4b,_0x270b5d)=>_0x4187be(_0x5e1c4b,_0x270b5d,_0x29f78c);function _0x1cad(){var _0x4eed8b=['switchMap','SnapshotService','_snapshotService','values','@univerjs/core/facade','10oQNTSN','FCollaboration','members$','1000kOzwjc','_injector','createInstance','5057649yPRxZI','toDisposable','2795uLzDRC','subscribe','get','96RRcoHY','82rYXxBc','Injector','waitForRoom$','loadSheet','from','readyForCollab','IUniverInstanceService','loadSheetAsync','toStringTag','MemberService','21jtGJNp','5937lQPesc','58870DtpYtH','283472XHmNpD','loadUnit','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','CollaborationController','getCollaboration','FUniver','pipe','length','getUniverSheet','loadServerUnit','rxjs','12746DjLkmt','DataLoaderService','loadActiveSheet','Inject','_collaborationController','1890548GObmtk','35016DLzjid'];_0x1cad=function(){return _0x4eed8b;};return _0x1cad();}function _0xd69e(_0x2590f6,_0x2c349b){var _0x1cadb8=_0x1cad();return _0xd69e=function(_0xd69edb,_0x1b19f2){_0xd69edb=_0xd69edb-0x1b2;var _0x2ecb25=_0x1cadb8[_0xd69edb];return _0x2ecb25;},_0xd69e(_0x2590f6,_0x2c349b);}exports[_0x54436f(0x1e1)]=class extends l['FBase']{constructor(_0x148643,_0x437aa5,_0x464e45,_0x2754fa,_0x1080da){var _0x1ceaa8=_0x54436f;super(),this['_handler']=_0x148643,this[_0x1ceaa8(0x1b4)]=_0x437aa5,this['_univerInstanceService']=_0x464e45,this[_0x1ceaa8(0x1dd)]=_0x2754fa,this['_collaborationController']=_0x1080da;}async[_0x54436f(0x1d6)](){return this['loadActiveSheetAsync']();}async['loadActiveSheetAsync'](){var _0x1d243a=_0x54436f;throw new Error(_0x1d243a(0x1cb));}async[_0x54436f(0x1bf)](_0x57f4fb){var _0x5abcb7=_0x54436f;return this[_0x5abcb7(0x1c3)](_0x57f4fb);}async['loadSheetAsync'](_0x2ea885,_0xd17f1){var _0x4d1255=_0x54436f;return await this[_0x4d1255(0x1dd)][_0x4d1255(0x1bf)](_0x2ea885,0x0,_0xd17f1)?(await this[_0x4d1255(0x1d8)][_0x4d1255(0x1c1)](_0x2ea885),this['_handler'][_0x4d1255(0x1d1)](_0x2ea885)):null;}['subscribeCollaborators'](_0x5d7698,_0x52d103){var _0xd66c9d=_0x54436f;const _0x507a54=this[_0xd66c9d(0x1b4)][_0xd66c9d(0x1ba)](c[_0xd66c9d(0x1c5)])[_0xd66c9d(0x1be)](_0x5d7698)[_0xd66c9d(0x1cf)](b[_0xd66c9d(0x1db)](_0x12f782=>_0x12f782[_0xd66c9d(0x1b2)]))[_0xd66c9d(0x1b9)](_0x493645=>_0x52d103(Array[_0xd66c9d(0x1c0)](_0x493645[_0xd66c9d(0x1de)]())));return i[_0xd66c9d(0x1b7)](_0x507a54);}},exports[_0x54436f(0x1e1)]=d([s(0x1,i[_0x54436f(0x1d7)](i[_0x54436f(0x1bd)])),s(0x2,i[_0x54436f(0x1c2)]),s(0x3,i[_0x54436f(0x1d7)](v[_0x54436f(0x1dc)])),s(0x4,i[_0x54436f(0x1d7)](c[_0x54436f(0x1cc)]))],exports[_0x54436f(0x1e1)]);class u extends l[_0x54436f(0x1ce)]{[_0x54436f(0x1cd)](){var _0x5bbb70=_0x54436f;return this[_0x5bbb70(0x1b4)][_0x5bbb70(0x1b5)](exports[_0x5bbb70(0x1e1)],{'getUniverSheet':_0x5d236d=>this[_0x5bbb70(0x1d1)](_0x5d236d)});}[_0x54436f(0x1d2)](_0x1c8a71,_0x44d456,_0x2f085e){var _0x4e3ecd=_0x54436f;return this[_0x4e3ecd(0x1b4)][_0x4e3ecd(0x1b5)](c[_0x4e3ecd(0x1d5)])[_0x4e3ecd(0x1ca)](_0x1c8a71,_0x44d456,_0x2f085e);}}l[_0x54436f(0x1ce)]['extend'](u);