@univerjs-pro/collaboration-client 0.6.6-nightly.202503251606 → 0.6.7-experimental.20250326-6499c07

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 _0x407fcf=_0x14b6;(function(_0x1f8537,_0x2dad1a){var _0x55b309=_0x14b6,_0x3303f6=_0x1f8537();while(!![]){try{var _0x28047b=-parseInt(_0x55b309(0xd4))/0x1*(parseInt(_0x55b309(0xf0))/0x2)+parseInt(_0x55b309(0xd3))/0x3+parseInt(_0x55b309(0xeb))/0x4*(parseInt(_0x55b309(0xe0))/0x5)+parseInt(_0x55b309(0xd7))/0x6+parseInt(_0x55b309(0xe2))/0x7*(-parseInt(_0x55b309(0xef))/0x8)+-parseInt(_0x55b309(0xe3))/0x9*(-parseInt(_0x55b309(0xf3))/0xa)+-parseInt(_0x55b309(0xd1))/0xb;if(_0x28047b===_0x2dad1a)break;else _0x3303f6['push'](_0x3303f6['shift']());}catch(_0xd806b9){_0x3303f6['push'](_0x3303f6['shift']());}}}(_0x2cb9,0x40caa));Object['defineProperty'](exports,Symbol[_0x407fcf(0xf6)],{'value':_0x407fcf(0xde)});const c=require(_0x407fcf(0xe8)),l=require(_0x407fcf(0xd9)),v=require(_0x407fcf(0xee)),i=require(_0x407fcf(0xd2)),b=require(_0x407fcf(0xf1));var S=Object['getOwnPropertyDescriptor'],d=(_0x2a2169,_0x2c4215,_0x138f0e,_0x22ce28)=>{var _0x269ab3=_0x407fcf;for(var _0x108be6=_0x22ce28>0x1?void 0x0:_0x22ce28?S(_0x2c4215,_0x138f0e):_0x2c4215,_0x15d426=_0x2a2169[_0x269ab3(0xd0)]-0x1,_0x420adc;_0x15d426>=0x0;_0x15d426--)(_0x420adc=_0x2a2169[_0x15d426])&&(_0x108be6=_0x420adc(_0x108be6)||_0x108be6);return _0x108be6;},s=(_0x1860fb,_0x5361cc)=>(_0x3cef34,_0x3babe7)=>_0x5361cc(_0x3cef34,_0x3babe7,_0x1860fb);exports[_0x407fcf(0xce)]=class extends l[_0x407fcf(0xec)]{constructor(_0x3304d9,_0x5a4fb8,_0x19fee6,_0xb619fd,_0x199303){var _0x422d98=_0x407fcf;super(),this[_0x422d98(0xdd)]=_0x3304d9,this[_0x422d98(0xe7)]=_0x5a4fb8,this['_univerInstanceService']=_0x19fee6,this[_0x422d98(0xcd)]=_0xb619fd,this['_collaborationController']=_0x199303;}async[_0x407fcf(0xdf)](){var _0x2d5016=_0x407fcf;return this[_0x2d5016(0xe9)]();}async[_0x407fcf(0xe9)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x407fcf(0xf5)](_0x605988){var _0x3d6504=_0x407fcf;return this[_0x3d6504(0xda)](_0x605988);}async[_0x407fcf(0xda)](_0x44fb4f,_0x58dbfa){var _0x43e4fb=_0x407fcf;return await this[_0x43e4fb(0xcd)][_0x43e4fb(0xf5)](_0x44fb4f,0x0,_0x58dbfa)?(await this[_0x43e4fb(0xe6)]['readyForCollab'](_0x44fb4f),this[_0x43e4fb(0xdd)][_0x43e4fb(0xf2)](_0x44fb4f)):null;}['subscribeCollaborators'](_0x44bcc2,_0x5b10c9){var _0x46717d=_0x407fcf;const _0x6e8671=this[_0x46717d(0xe7)]['get'](c[_0x46717d(0xf4)])[_0x46717d(0xd5)](_0x44bcc2)[_0x46717d(0xdb)](b['switchMap'](_0x532a77=>_0x532a77['members$']))['subscribe'](_0x24ab60=>_0x5b10c9(Array[_0x46717d(0xed)](_0x24ab60[_0x46717d(0xcc)]())));return i[_0x46717d(0xcf)](_0x6e8671);}},exports['FCollaboration']=d([s(0x1,i[_0x407fcf(0xf7)](i[_0x407fcf(0xea)])),s(0x2,i[_0x407fcf(0xdc)]),s(0x3,i[_0x407fcf(0xf7)](v[_0x407fcf(0xd6)])),s(0x4,i[_0x407fcf(0xf7)](c['CollaborationController']))],exports['FCollaboration']);function _0x2cb9(){var _0x4566d2=['_handler','Module','loadActiveSheet','310icPqLD','loadServerUnit','123949tvNMMG','27FARvKi','DataLoaderService','loadUnit','_collaborationController','_injector','@univerjs-pro/collaboration-client','loadActiveSheetAsync','Injector','16052injBPw','FBase','from','@univerjs-pro/collaboration','80jsliSi','122BrTBNY','rxjs','getUniverSheet','1233290PPBJiJ','MemberService','loadSheet','toStringTag','Inject','FUniver','createInstance','values','_snapshotService','FCollaboration','toDisposable','length','352825IhDEzN','@univerjs/core','915786PktuHa','7829wLBQok','waitForRoom$','SnapshotService','168270cCKhfy','extend','@univerjs/core/facade','loadSheetAsync','pipe','IUniverInstanceService'];_0x2cb9=function(){return _0x4566d2;};return _0x2cb9();}function _0x14b6(_0xa1f212,_0x227f24){var _0x2cb95b=_0x2cb9();return _0x14b6=function(_0x14b667,_0x473c84){_0x14b667=_0x14b667-0xca;var _0x351237=_0x2cb95b[_0x14b667];return _0x351237;},_0x14b6(_0xa1f212,_0x227f24);}class u extends l[_0x407fcf(0xca)]{['getCollaboration'](){var _0x1212d0=_0x407fcf;return this[_0x1212d0(0xe7)][_0x1212d0(0xcb)](exports[_0x1212d0(0xce)],{'getUniverSheet':_0x3704a0=>this[_0x1212d0(0xf2)](_0x3704a0)});}[_0x407fcf(0xe1)](_0x3579f7,_0x425e3d,_0x2cd753){var _0x4c247b=_0x407fcf;return this[_0x4c247b(0xe7)][_0x4c247b(0xcb)](c[_0x4c247b(0xe4)])[_0x4c247b(0xe5)](_0x3579f7,_0x425e3d,_0x2cd753);}}l[_0x407fcf(0xca)][_0x407fcf(0xd8)](u);
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);