@univerjs-pro/collaboration-client 0.5.4-nightly.202501181605 → 0.5.4-nightly.202501200849

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 _0x2856ee=_0x4b1e;function _0x3486(){var _0x394bc0=['SnapshotService','from','extend','members$','values','1915680KLuQEg','FUniver','Injector','rxjs','_snapshotService','switchMap','length','_injector','5dTmuGl','CollaborationController','4683833GlqfSr','waitForRoom$','8SvxbvP','3033YzMgCb','getCollaboration','pipe','loadSheetAsync','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','4544573CyKfyg','loadActiveSheetAsync','toDisposable','defineProperty','getOwnPropertyDescriptor','subscribeCollaborators','subscribe','MemberService','FCollaboration','32993EmdPlo','loadSheet','Inject','UniverInstanceType','getUniverSheet','10soKsel','1521988DBOtXB','8843319LblSKQ','@univerjs-pro/collaboration-client','toStringTag','createInstance','loadActiveSheet','2116jquUEW','_handler'];_0x3486=function(){return _0x394bc0;};return _0x3486();}(function(_0x295509,_0x5212df){var _0xcb1a40=_0x4b1e,_0x3f834d=_0x295509();while(!![]){try{var _0x189158=parseInt(_0xcb1a40(0x19d))/0x1+parseInt(_0xcb1a40(0x1a3))/0x2+-parseInt(_0xcb1a40(0x18f))/0x3*(-parseInt(_0xcb1a40(0x17b))/0x4)+parseInt(_0xcb1a40(0x18a))/0x5*(parseInt(_0xcb1a40(0x182))/0x6)+parseInt(_0xcb1a40(0x18c))/0x7+-parseInt(_0xcb1a40(0x18e))/0x8*(parseInt(_0xcb1a40(0x1a4))/0x9)+-parseInt(_0xcb1a40(0x1a2))/0xa*(parseInt(_0xcb1a40(0x194))/0xb);if(_0x189158===_0x5212df)break;else _0x3f834d['push'](_0x3f834d['shift']());}catch(_0x315382){_0x3f834d['push'](_0x3f834d['shift']());}}}(_0x3486,0xe0f7f));function _0x4b1e(_0x558426,_0x295657){var _0x348663=_0x3486();return _0x4b1e=function(_0x4b1ef8,_0x33c6ed){_0x4b1ef8=_0x4b1ef8-0x177;var _0x5255f7=_0x348663[_0x4b1ef8];return _0x5255f7;},_0x4b1e(_0x558426,_0x295657);}Object['defineProperty'](exports,Symbol[_0x2856ee(0x178)],{'value':'Module'});const o=require('@univerjs/core'),h=require('@univerjs-pro/collaboration'),c=require(_0x2856ee(0x177)),b=require(_0x2856ee(0x185));var v=Object[_0x2856ee(0x197)],u=Object[_0x2856ee(0x198)],S=(_0x29d383,_0x3c2d34,_0x72324b,_0x48fe92)=>{var _0x31a1a7=_0x2856ee;for(var _0x18b80b=_0x48fe92>0x1?void 0x0:_0x48fe92?u(_0x3c2d34,_0x72324b):_0x3c2d34,_0x42dce2=_0x29d383[_0x31a1a7(0x188)]-0x1,_0x3ca212;_0x42dce2>=0x0;_0x42dce2--)(_0x3ca212=_0x29d383[_0x42dce2])&&(_0x18b80b=(_0x48fe92?_0x3ca212(_0x3c2d34,_0x72324b,_0x18b80b):_0x3ca212(_0x18b80b))||_0x18b80b);return _0x48fe92&&_0x18b80b&&v(_0x3c2d34,_0x72324b,_0x18b80b),_0x18b80b;},s=(_0x17f830,_0x1c4b90)=>(_0x1dab79,_0x2be336)=>_0x1c4b90(_0x1dab79,_0x2be336,_0x17f830);exports[_0x2856ee(0x19c)]=class extends o['FBase']{constructor(_0x381490,_0x466026,_0x5465f6,_0x1eadb5,_0x2a4ec3){var _0x17ea47=_0x2856ee;super(),this[_0x17ea47(0x17c)]=_0x381490,this[_0x17ea47(0x189)]=_0x466026,this['_univerInstanceService']=_0x5465f6,this[_0x17ea47(0x186)]=_0x1eadb5,this['_collaborationController']=_0x2a4ec3;}async[_0x2856ee(0x17a)](){var _0x270382=_0x2856ee;return this[_0x270382(0x195)]();}async[_0x2856ee(0x195)](){var _0x226407=_0x2856ee;throw new Error(_0x226407(0x193));}async[_0x2856ee(0x19e)](_0x1945a7){var _0x3d6cf7=_0x2856ee;return this[_0x3d6cf7(0x192)](_0x1945a7);}async[_0x2856ee(0x192)](_0x37615f){var _0x633d7b=_0x2856ee;return this['_univerInstanceService']['getUnit'](_0x37615f,o[_0x633d7b(0x1a0)]['UNIVER_SHEET'])||await this[_0x633d7b(0x186)]['loadSheet'](_0x37615f,0x0)?(await this['_collaborationController']['readyForCollab'](_0x37615f),this['_handler']['getUniverSheet'](_0x37615f)):null;}[_0x2856ee(0x199)](_0x1642f4,_0x5102a9){var _0x109656=_0x2856ee;const _0x41a537=this['_injector']['get'](c[_0x109656(0x19b)])[_0x109656(0x18d)](_0x1642f4)[_0x109656(0x191)](b[_0x109656(0x187)](_0x52cbef=>_0x52cbef[_0x109656(0x180)]))[_0x109656(0x19a)](_0x4a6f0a=>_0x5102a9(Array[_0x109656(0x17e)](_0x4a6f0a[_0x109656(0x181)]())));return o[_0x109656(0x196)](_0x41a537);}},exports[_0x2856ee(0x19c)]=S([s(0x1,o[_0x2856ee(0x19f)](o[_0x2856ee(0x184)])),s(0x2,o['IUniverInstanceService']),s(0x3,o['Inject'](h[_0x2856ee(0x17d)])),s(0x4,o[_0x2856ee(0x19f)](c[_0x2856ee(0x18b)]))],exports['FCollaboration']);class _ extends o['FUniver']{[_0x2856ee(0x190)](){var _0x26a050=_0x2856ee;return this[_0x26a050(0x189)][_0x26a050(0x179)](exports['FCollaboration'],{'getUniverSheet':_0xb6203c=>this[_0x26a050(0x1a1)](_0xb6203c)});}}o[_0x2856ee(0x183)][_0x2856ee(0x17f)](_);
1
+ 'use strict';var _0x539f22=_0x2f7a;(function(_0x2da160,_0x186c41){var _0x5beb9d=_0x2f7a,_0x56abaa=_0x2da160();while(!![]){try{var _0x1fa51f=-parseInt(_0x5beb9d(0x89))/0x1*(parseInt(_0x5beb9d(0x86))/0x2)+parseInt(_0x5beb9d(0x72))/0x3+parseInt(_0x5beb9d(0x74))/0x4*(-parseInt(_0x5beb9d(0x81))/0x5)+parseInt(_0x5beb9d(0x67))/0x6+parseInt(_0x5beb9d(0x75))/0x7*(-parseInt(_0x5beb9d(0x8e))/0x8)+parseInt(_0x5beb9d(0x76))/0x9*(-parseInt(_0x5beb9d(0x7e))/0xa)+parseInt(_0x5beb9d(0x6b))/0xb;if(_0x1fa51f===_0x186c41)break;else _0x56abaa['push'](_0x56abaa['shift']());}catch(_0x58a286){_0x56abaa['push'](_0x56abaa['shift']());}}}(_0xa787,0x5cd68));Object[_0x539f22(0x7f)](exports,Symbol[_0x539f22(0x73)],{'value':'Module'});function _0x2f7a(_0x1a84cb,_0x1cd2ea){var _0xa78771=_0xa787();return _0x2f7a=function(_0x2f7a2b,_0x2607c9){_0x2f7a2b=_0x2f7a2b-0x65;var _0x104162=_0xa78771[_0x2f7a2b];return _0x104162;},_0x2f7a(_0x1a84cb,_0x1cd2ea);}const o=require(_0x539f22(0x68)),h=require(_0x539f22(0x84)),c=require(_0x539f22(0x8b)),b=require(_0x539f22(0x7d));var v=Object[_0x539f22(0x7f)],u=Object['getOwnPropertyDescriptor'],S=(_0x210a50,_0x286dde,_0x299ae1,_0x2d2f83)=>{var _0x1d1eea=_0x539f22;for(var _0x46215b=_0x2d2f83>0x1?void 0x0:_0x2d2f83?u(_0x286dde,_0x299ae1):_0x286dde,_0x190911=_0x210a50[_0x1d1eea(0x77)]-0x1,_0x585e66;_0x190911>=0x0;_0x190911--)(_0x585e66=_0x210a50[_0x190911])&&(_0x46215b=(_0x2d2f83?_0x585e66(_0x286dde,_0x299ae1,_0x46215b):_0x585e66(_0x46215b))||_0x46215b);return _0x2d2f83&&_0x46215b&&v(_0x286dde,_0x299ae1,_0x46215b),_0x46215b;},s=(_0x572b3f,_0x3819f8)=>(_0x57947a,_0x24b995)=>_0x3819f8(_0x57947a,_0x24b995,_0x572b3f);exports['FCollaboration']=class extends o['FBase']{constructor(_0x4e4d37,_0x5c6300,_0x9dc371,_0x19ac3e,_0x26672a){var _0x169c81=_0x539f22;super(),this[_0x169c81(0x8c)]=_0x4e4d37,this[_0x169c81(0x6e)]=_0x5c6300,this[_0x169c81(0x94)]=_0x9dc371,this[_0x169c81(0x7a)]=_0x19ac3e,this[_0x169c81(0x79)]=_0x26672a;}async[_0x539f22(0x65)](){var _0x2b939f=_0x539f22;return this[_0x2b939f(0x80)]();}async[_0x539f22(0x80)](){var _0x39ed3d=_0x539f22;throw new Error(_0x39ed3d(0x70));}async[_0x539f22(0x6a)](_0x3acb73){return this['loadSheetAsync'](_0x3acb73);}async[_0x539f22(0x78)](_0x271d05){var _0x1e3513=_0x539f22;return this[_0x1e3513(0x94)][_0x1e3513(0x93)](_0x271d05,o[_0x1e3513(0x8a)][_0x1e3513(0x88)])||await this[_0x1e3513(0x7a)][_0x1e3513(0x6a)](_0x271d05,0x0)?(await this['_collaborationController'][_0x1e3513(0x82)](_0x271d05),this[_0x1e3513(0x8c)]['getUniverSheet'](_0x271d05)):null;}['subscribeCollaborators'](_0x45d2c4,_0x5eb370){var _0x5169ba=_0x539f22;const _0x1f3d11=this[_0x5169ba(0x6e)][_0x5169ba(0x90)](c['MemberService'])['waitForRoom$'](_0x45d2c4)[_0x5169ba(0x92)](b[_0x5169ba(0x85)](_0x475107=>_0x475107['members$']))[_0x5169ba(0x83)](_0x3cdd7e=>_0x5eb370(Array['from'](_0x3cdd7e[_0x5169ba(0x69)]())));return o[_0x5169ba(0x71)](_0x1f3d11);}},exports[_0x539f22(0x7b)]=S([s(0x1,o[_0x539f22(0x6c)](o[_0x539f22(0x8f)])),s(0x2,o[_0x539f22(0x91)]),s(0x3,o['Inject'](h[_0x539f22(0x66)])),s(0x4,o[_0x539f22(0x6c)](c[_0x539f22(0x6d)]))],exports[_0x539f22(0x7b)]);function _0xa787(){var _0x318388=['_injector','FUniver','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','toDisposable','1490457uHZaTS','toStringTag','2368580GbbanR','259pZwuwZ','9TfgEDC','length','loadSheetAsync','_collaborationController','_snapshotService','FCollaboration','getCollaboration','rxjs','3060190lSxbDk','defineProperty','loadActiveSheetAsync','5UTUNeb','readyForCollab','subscribe','@univerjs-pro/collaboration','switchMap','1076898DgCFDe','getUniverSheet','UNIVER_SHEET','1MYtvxH','UniverInstanceType','@univerjs-pro/collaboration-client','_handler','extend','23160OsZPDa','Injector','get','IUniverInstanceService','pipe','getUnit','_univerInstanceService','loadActiveSheet','SnapshotService','896394lLfgSp','@univerjs/core','values','loadSheet','14055514agcfiZ','Inject','CollaborationController'];_0xa787=function(){return _0x318388;};return _0xa787();}class _ extends o[_0x539f22(0x6f)]{[_0x539f22(0x7c)](){var _0x528c04=_0x539f22;return this[_0x528c04(0x6e)]['createInstance'](exports[_0x528c04(0x7b)],{'getUniverSheet':_0x3e86c8=>this[_0x528c04(0x87)](_0x3e86c8)});}}o[_0x539f22(0x6f)][_0x539f22(0x8d)](_);