@univerjs-pro/collaboration-client 0.6.7-experimental.20250326-6499c07 → 0.6.7-experimental.20250328-3aaa828

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 _0x53128e=_0x351c;(function(_0x95cc30,_0x32924a){var _0x315628=_0x351c,_0x5ce811=_0x95cc30();while(!![]){try{var _0x1f9fe6=-parseInt(_0x315628(0x1d4))/0x1*(-parseInt(_0x315628(0x1ef))/0x2)+-parseInt(_0x315628(0x1cd))/0x3*(-parseInt(_0x315628(0x1f2))/0x4)+-parseInt(_0x315628(0x1cf))/0x5+parseInt(_0x315628(0x1d9))/0x6+-parseInt(_0x315628(0x1dc))/0x7+parseInt(_0x315628(0x1ee))/0x8*(-parseInt(_0x315628(0x1d0))/0x9)+-parseInt(_0x315628(0x1ea))/0xa*(parseInt(_0x315628(0x1db))/0xb);if(_0x1f9fe6===_0x32924a)break;else _0x5ce811['push'](_0x5ce811['shift']());}catch(_0x52293c){_0x5ce811['push'](_0x5ce811['shift']());}}}(_0x357b,0xe22e2));function _0x357b(){var _0x4c6a19=['[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','_univerInstanceService','50juVmaC','createInstance','loadSheetAsync','loadActiveSheetAsync','873192lTOctk','1975398vjcBjT','length','FCollaboration','8kPcoJm','getOwnPropertyDescriptor','getCollaboration','SnapshotService','subscribe','loadUnit','DataLoaderService','get','waitForRoom$','switchMap','1957146jTpFPm','defineProperty','3229880WXjzFu','36EuuZBf','rxjs','_injector','pipe','1aokNEh','Inject','members$','loadSheet','getUniverSheet','6951768zNChke','_collaborationController','453970zYcXye','8650145tqJkAn','_handler','Module','FBase','values','@univerjs/core/facade','loadServerUnit','loadActiveSheet','_snapshotService','@univerjs-pro/collaboration','MemberService','readyForCollab'];_0x357b=function(){return _0x4c6a19;};return _0x357b();}Object[_0x53128e(0x1ce)](exports,Symbol['toStringTag'],{'value':_0x53128e(0x1de)});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x53128e(0x1e1)),v=require(_0x53128e(0x1e5)),i=require('@univerjs/core'),b=require(_0x53128e(0x1d1));var S=Object[_0x53128e(0x1f3)],d=(_0xf40b51,_0x1a733f,_0x14aab2,_0x135bb1)=>{var _0x31597b=_0x53128e;for(var _0x4b1611=_0x135bb1>0x1?void 0x0:_0x135bb1?S(_0x1a733f,_0x14aab2):_0x1a733f,_0x20d722=_0xf40b51[_0x31597b(0x1f0)]-0x1,_0x544d9f;_0x20d722>=0x0;_0x20d722--)(_0x544d9f=_0xf40b51[_0x20d722])&&(_0x4b1611=_0x544d9f(_0x4b1611)||_0x4b1611);return _0x4b1611;},s=(_0x217179,_0x241a33)=>(_0xb9ca2a,_0x3dfc4b)=>_0x241a33(_0xb9ca2a,_0x3dfc4b,_0x217179);exports[_0x53128e(0x1f1)]=class extends l[_0x53128e(0x1df)]{constructor(_0x1ad743,_0x2a76d8,_0x2665e8,_0x1b5736,_0x4ea53b){var _0x485bb4=_0x53128e;super(),this['_handler']=_0x1ad743,this['_injector']=_0x2a76d8,this[_0x485bb4(0x1e9)]=_0x2665e8,this[_0x485bb4(0x1e4)]=_0x1b5736,this[_0x485bb4(0x1da)]=_0x4ea53b;}async[_0x53128e(0x1e3)](){var _0x1fed52=_0x53128e;return this[_0x1fed52(0x1ed)]();}async['loadActiveSheetAsync'](){var _0x2689c3=_0x53128e;throw new Error(_0x2689c3(0x1e8));}async[_0x53128e(0x1d7)](_0x20dc31){return this['loadSheetAsync'](_0x20dc31);}async[_0x53128e(0x1ec)](_0x33f2fd,_0x5487ab){var _0x3fe3bd=_0x53128e;return await this[_0x3fe3bd(0x1e4)][_0x3fe3bd(0x1d7)](_0x33f2fd,0x0,_0x5487ab)?(await this[_0x3fe3bd(0x1da)][_0x3fe3bd(0x1e7)](_0x33f2fd),this[_0x3fe3bd(0x1dd)][_0x3fe3bd(0x1d8)](_0x33f2fd)):null;}['subscribeCollaborators'](_0x39b329,_0x40207d){var _0x98017b=_0x53128e;const _0x3ddd62=this[_0x98017b(0x1d2)][_0x98017b(0x1ca)](c[_0x98017b(0x1e6)])[_0x98017b(0x1cb)](_0x39b329)[_0x98017b(0x1d3)](b[_0x98017b(0x1cc)](_0x551180=>_0x551180[_0x98017b(0x1d6)]))[_0x98017b(0x1f6)](_0x56e8cd=>_0x40207d(Array['from'](_0x56e8cd[_0x98017b(0x1e0)]())));return i['toDisposable'](_0x3ddd62);}},exports['FCollaboration']=d([s(0x1,i[_0x53128e(0x1d5)](i['Injector'])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x53128e(0x1d5)](v[_0x53128e(0x1f5)])),s(0x4,i[_0x53128e(0x1d5)](c['CollaborationController']))],exports['FCollaboration']);function _0x351c(_0x2afd53,_0x5d1464){var _0x357b54=_0x357b();return _0x351c=function(_0x351cd4,_0x22c55c){_0x351cd4=_0x351cd4-0x1c9;var _0x96898c=_0x357b54[_0x351cd4];return _0x96898c;},_0x351c(_0x2afd53,_0x5d1464);}class u extends l['FUniver']{[_0x53128e(0x1f4)](){var _0x138ae6=_0x53128e;return this['_injector'][_0x138ae6(0x1eb)](exports[_0x138ae6(0x1f1)],{'getUniverSheet':_0x48b763=>this[_0x138ae6(0x1d8)](_0x48b763)});}[_0x53128e(0x1e2)](_0x3446f4,_0x543559,_0x518f07){var _0x891a90=_0x53128e;return this[_0x891a90(0x1d2)][_0x891a90(0x1eb)](c[_0x891a90(0x1c9)])[_0x891a90(0x1f7)](_0x3446f4,_0x543559,_0x518f07);}}l['FUniver']['extend'](u);
1
+ 'use strict';function _0x5442(){var _0x4fe38b=['length','rxjs','loadActiveSheetAsync','_snapshotService','Inject','loadServerUnit','FBase','members$','subscribe','createInstance','4APTJjt','_univerInstanceService','getUniverSheet','getOwnPropertyDescriptor','toStringTag','2ApPsPp','11528803EapoyJ','636408vDDyJy','10bQYbxS','readyForCollab','553RNvNBx','loadSheetAsync','DataLoaderService','@univerjs/core','IUniverInstanceService','MemberService','getCollaboration','@univerjs-pro/collaboration','waitForRoom$','loadActiveSheet','defineProperty','_injector','5487222uAgnLx','loadUnit','subscribeCollaborators','Injector','5npjBsT','@univerjs/core/facade','88616ZjSrgE','switchMap','get','from','loadSheet','FCollaboration','515033JCOVWE','Module','CollaborationController','_handler','8842302WeJjTc','3467592TxiXJS','extend','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.'];_0x5442=function(){return _0x4fe38b;};return _0x5442();}var _0x33426f=_0xee01;(function(_0x155baf,_0x5de87e){var _0x226d51=_0xee01,_0x4e0fae=_0x155baf();while(!![]){try{var _0x4c3167=parseInt(_0x226d51(0x9f))/0x1*(-parseInt(_0x226d51(0x82))/0x2)+-parseInt(_0x226d51(0xa4))/0x3*(-parseInt(_0x226d51(0x7d))/0x4)+-parseInt(_0x226d51(0x97))/0x5*(parseInt(_0x226d51(0x93))/0x6)+parseInt(_0x226d51(0x87))/0x7*(parseInt(_0x226d51(0x99))/0x8)+-parseInt(_0x226d51(0xa3))/0x9+-parseInt(_0x226d51(0x85))/0xa*(-parseInt(_0x226d51(0x83))/0xb)+-parseInt(_0x226d51(0x84))/0xc;if(_0x4c3167===_0x5de87e)break;else _0x4e0fae['push'](_0x4e0fae['shift']());}catch(_0x1ba02b){_0x4e0fae['push'](_0x4e0fae['shift']());}}}(_0x5442,0x95e32));Object[_0x33426f(0x91)](exports,Symbol[_0x33426f(0x81)],{'value':_0x33426f(0xa0)});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x33426f(0x98)),v=require(_0x33426f(0x8e)),i=require(_0x33426f(0x8a)),b=require(_0x33426f(0xa8));var S=Object[_0x33426f(0x80)],d=(_0x1dbb56,_0x1d97d7,_0x372087,_0x358550)=>{var _0x5d66da=_0x33426f;for(var _0x18d355=_0x358550>0x1?void 0x0:_0x358550?S(_0x1d97d7,_0x372087):_0x1d97d7,_0x23c967=_0x1dbb56[_0x5d66da(0xa7)]-0x1,_0x11b3c6;_0x23c967>=0x0;_0x23c967--)(_0x11b3c6=_0x1dbb56[_0x23c967])&&(_0x18d355=_0x11b3c6(_0x18d355)||_0x18d355);return _0x18d355;},s=(_0x299c79,_0x2d738f)=>(_0x150eee,_0x55d496)=>_0x2d738f(_0x150eee,_0x55d496,_0x299c79);exports['FCollaboration']=class extends l[_0x33426f(0xad)]{constructor(_0x38e684,_0x156598,_0x4de73b,_0xd9fd0e,_0x1c5d84){var _0x679db8=_0x33426f;super(),this[_0x679db8(0xa2)]=_0x38e684,this[_0x679db8(0x92)]=_0x156598,this[_0x679db8(0x7e)]=_0x4de73b,this[_0x679db8(0xaa)]=_0xd9fd0e,this['_collaborationController']=_0x1c5d84;}async[_0x33426f(0x90)](){var _0x1eafa9=_0x33426f;return this[_0x1eafa9(0xa9)]();}async[_0x33426f(0xa9)](){var _0x3a1653=_0x33426f;throw new Error(_0x3a1653(0xa6));}async[_0x33426f(0x9d)](_0x2e71e1){var _0x5ec80a=_0x33426f;return this[_0x5ec80a(0x88)](_0x2e71e1);}async[_0x33426f(0x88)](_0x349343,_0x4a33b7){var _0x40d4b4=_0x33426f;return await this['_snapshotService'][_0x40d4b4(0x9d)](_0x349343,0x0,_0x4a33b7)?(await this['_collaborationController'][_0x40d4b4(0x86)](_0x349343),this[_0x40d4b4(0xa2)][_0x40d4b4(0x7f)](_0x349343)):null;}[_0x33426f(0x95)](_0x2f77b1,_0x521208){var _0x1c7d3f=_0x33426f;const _0x46584e=this[_0x1c7d3f(0x92)][_0x1c7d3f(0x9b)](c[_0x1c7d3f(0x8c)])[_0x1c7d3f(0x8f)](_0x2f77b1)['pipe'](b[_0x1c7d3f(0x9a)](_0x16535e=>_0x16535e[_0x1c7d3f(0xae)]))[_0x1c7d3f(0xaf)](_0x5326bc=>_0x521208(Array[_0x1c7d3f(0x9c)](_0x5326bc['values']())));return i['toDisposable'](_0x46584e);}},exports['FCollaboration']=d([s(0x1,i[_0x33426f(0xab)](i[_0x33426f(0x96)])),s(0x2,i[_0x33426f(0x8b)]),s(0x3,i[_0x33426f(0xab)](v['SnapshotService'])),s(0x4,i['Inject'](c[_0x33426f(0xa1)]))],exports[_0x33426f(0x9e)]);function _0xee01(_0x2e9468,_0x4125d5){var _0x544222=_0x5442();return _0xee01=function(_0xee0151,_0xb0d0db){_0xee0151=_0xee0151-0x7d;var _0x1134df=_0x544222[_0xee0151];return _0x1134df;},_0xee01(_0x2e9468,_0x4125d5);}class u extends l['FUniver']{[_0x33426f(0x8d)](){var _0x426d33=_0x33426f;return this['_injector'][_0x426d33(0xb0)](exports[_0x426d33(0x9e)],{'getUniverSheet':_0x54c018=>this[_0x426d33(0x7f)](_0x54c018)});}[_0x33426f(0xac)](_0xce6f92,_0x259b1a,_0x4d19f8){var _0x5b5262=_0x33426f;return this[_0x5b5262(0x92)]['createInstance'](c[_0x5b5262(0x89)])[_0x5b5262(0x94)](_0xce6f92,_0x259b1a,_0x4d19f8);}}l['FUniver'][_0x33426f(0xa5)](u);