@univerjs-pro/collaboration-client 0.6.7-experimental.20250331-aa3ee78 → 0.6.7-experimental.20250331-d1f1879

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';function _0x1d30(){var _0x30c469=['loadSheet','118420RuAkMe','48lwbcZF','_snapshotService','_handler','Inject','3075308pyqNcG','values','getUniverSheet','pipe','@univerjs/core','SnapshotService','loadSheetAsync','12826cnREMl','toStringTag','loadServerUnit','defineProperty','FCollaboration','35465pQkfXO','7BtlAFm','members$','loadUnit','_univerInstanceService','subscribe','_collaborationController','rxjs','@univerjs-pro/collaboration','84tOrULA','getOwnPropertyDescriptor','loadActiveSheetAsync','6426608RDnAMV','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','_injector','getCollaboration','CollaborationController','createInstance','FBase','766035pOOAKG','switchMap','246onavxH','IUniverInstanceService','FUniver','loadActiveSheet','Injector','subscribeCollaborators','207socCjG','@univerjs-pro/collaboration-client','2630870rnMVLq','toDisposable','waitForRoom$','from','Module'];_0x1d30=function(){return _0x30c469;};return _0x1d30();}var _0x34e71d=_0xf936;(function(_0x44b67c,_0x38ac62){var _0x6b1b8a=_0xf936,_0x5c3a1f=_0x44b67c();while(!![]){try{var _0x44ea4c=parseInt(_0x6b1b8a(0xf4))/0x1*(-parseInt(_0x6b1b8a(0xe9))/0x2)+parseInt(_0x6b1b8a(0xd8))/0x3+parseInt(_0x6b1b8a(0xed))/0x4+-parseInt(_0x6b1b8a(0xc5))/0x5*(-parseInt(_0x6b1b8a(0xda))/0x6)+parseInt(_0x6b1b8a(0xc6))/0x7*(parseInt(_0x6b1b8a(0xd1))/0x8)+parseInt(_0x6b1b8a(0xe0))/0x9*(parseInt(_0x6b1b8a(0xe8))/0xa)+-parseInt(_0x6b1b8a(0xe2))/0xb*(parseInt(_0x6b1b8a(0xce))/0xc);if(_0x44ea4c===_0x38ac62)break;else _0x5c3a1f['push'](_0x5c3a1f['shift']());}catch(_0x49da07){_0x5c3a1f['push'](_0x5c3a1f['shift']());}}}(_0x1d30,0x63c57));Object[_0x34e71d(0xf7)](exports,Symbol[_0x34e71d(0xf5)],{'value':_0x34e71d(0xe6)});const c=require(_0x34e71d(0xe1)),l=require('@univerjs/core/facade'),v=require(_0x34e71d(0xcd)),i=require(_0x34e71d(0xf1)),b=require(_0x34e71d(0xcc));function _0xf936(_0x3765ff,_0x45a5ee){var _0x1d305c=_0x1d30();return _0xf936=function(_0xf93608,_0x288cea){_0xf93608=_0xf93608-0xc5;var _0x152833=_0x1d305c[_0xf93608];return _0x152833;},_0xf936(_0x3765ff,_0x45a5ee);}var S=Object[_0x34e71d(0xcf)],d=(_0x3a42b1,_0x2b7c01,_0x30c5a2,_0x527542)=>{for(var _0x5cfee6=_0x527542>0x1?void 0x0:_0x527542?S(_0x2b7c01,_0x30c5a2):_0x2b7c01,_0x5f31f2=_0x3a42b1['length']-0x1,_0x5626a4;_0x5f31f2>=0x0;_0x5f31f2--)(_0x5626a4=_0x3a42b1[_0x5f31f2])&&(_0x5cfee6=_0x5626a4(_0x5cfee6)||_0x5cfee6);return _0x5cfee6;},s=(_0x12c1d0,_0x1f4f61)=>(_0x293818,_0x2ad47e)=>_0x1f4f61(_0x293818,_0x2ad47e,_0x12c1d0);exports[_0x34e71d(0xf8)]=class extends l[_0x34e71d(0xd7)]{constructor(_0x1737ca,_0x2209b0,_0x42c402,_0x3602fa,_0x51bd79){var _0x300f30=_0x34e71d;super(),this[_0x300f30(0xeb)]=_0x1737ca,this[_0x300f30(0xd3)]=_0x2209b0,this[_0x300f30(0xc9)]=_0x42c402,this[_0x300f30(0xea)]=_0x3602fa,this[_0x300f30(0xcb)]=_0x51bd79;}async[_0x34e71d(0xdd)](){var _0x53a4de=_0x34e71d;return this[_0x53a4de(0xd0)]();}async[_0x34e71d(0xd0)](){var _0x420767=_0x34e71d;throw new Error(_0x420767(0xd2));}async[_0x34e71d(0xe7)](_0x1bda38){return this['loadSheetAsync'](_0x1bda38);}async[_0x34e71d(0xf3)](_0x20502b,_0x3b36c4){var _0x5c684c=_0x34e71d;return await this[_0x5c684c(0xea)]['loadSheet'](_0x20502b,0x0,_0x3b36c4)?(await this[_0x5c684c(0xcb)]['readyForCollab'](_0x20502b),this[_0x5c684c(0xeb)][_0x5c684c(0xef)](_0x20502b)):null;}[_0x34e71d(0xdf)](_0x1a8ef8,_0x14a73c){var _0x347587=_0x34e71d;const _0x31ef02=this[_0x347587(0xd3)]['get'](c['MemberService'])[_0x347587(0xe4)](_0x1a8ef8)[_0x347587(0xf0)](b[_0x347587(0xd9)](_0x3bfa06=>_0x3bfa06[_0x347587(0xc7)]))[_0x347587(0xca)](_0x217cca=>_0x14a73c(Array[_0x347587(0xe5)](_0x217cca[_0x347587(0xee)]())));return i[_0x347587(0xe3)](_0x31ef02);}},exports[_0x34e71d(0xf8)]=d([s(0x1,i[_0x34e71d(0xec)](i[_0x34e71d(0xde)])),s(0x2,i[_0x34e71d(0xdb)]),s(0x3,i[_0x34e71d(0xec)](v[_0x34e71d(0xf2)])),s(0x4,i[_0x34e71d(0xec)](c[_0x34e71d(0xd5)]))],exports[_0x34e71d(0xf8)]);class u extends l[_0x34e71d(0xdc)]{[_0x34e71d(0xd4)](){var _0x21338c=_0x34e71d;return this['_injector'][_0x21338c(0xd6)](exports['FCollaboration'],{'getUniverSheet':_0xe6015b=>this[_0x21338c(0xef)](_0xe6015b)});}[_0x34e71d(0xf6)](_0x50f045,_0x237702,_0x43addc){var _0x1731c6=_0x34e71d;return this['_injector']['createInstance'](c['DataLoaderService'])[_0x1731c6(0xc8)](_0x50f045,_0x237702,_0x43addc);}}l[_0x34e71d(0xdc)]['extend'](u);
1
+ 'use strict';function _0x4013(){var _0xc2e873=['SnapshotService','86169ANSgKQ','toStringTag','FCollaboration','857268ywUPyO','1677018locnvT','get','waitForRoom$','loadActiveSheetAsync','_handler','readyForCollab','getUniverSheet','rxjs','_univerInstanceService','_snapshotService','loadSheet','getOwnPropertyDescriptor','72oDjEGO','_injector','CollaborationController','FUniver','Inject','members$','518078VgWrPV','410319trCJyp','17704fCNIZP','loadUnit','IUniverInstanceService','loadSheetAsync','1067455AirJZL','DataLoaderService','from','values','_collaborationController','39dKFeBM','length','subscribeCollaborators','switchMap','MemberService','@univerjs-pro/collaboration','@univerjs/core','loadServerUnit','Injector','toDisposable','loadActiveSheet','@univerjs-pro/collaboration-client'];_0x4013=function(){return _0xc2e873;};return _0x4013();}var _0x52900b=_0x1c0d;(function(_0x5a9e5b,_0x4e27ec){var _0x14a370=_0x1c0d,_0x4ee534=_0x5a9e5b();while(!![]){try{var _0x585e7a=-parseInt(_0x14a370(0x19a))/0x1+-parseInt(_0x14a370(0x1b0))/0x2+parseInt(_0x14a370(0x1bb))/0x3*(-parseInt(_0x14a370(0x1b2))/0x4)+-parseInt(_0x14a370(0x1b6))/0x5+parseInt(_0x14a370(0x19d))/0x6+parseInt(_0x14a370(0x19e))/0x7+-parseInt(_0x14a370(0x1aa))/0x8*(-parseInt(_0x14a370(0x1b1))/0x9);if(_0x585e7a===_0x4e27ec)break;else _0x4ee534['push'](_0x4ee534['shift']());}catch(_0x43c0c8){_0x4ee534['push'](_0x4ee534['shift']());}}}(_0x4013,0x2b196));Object['defineProperty'](exports,Symbol[_0x52900b(0x19b)],{'value':'Module'});const c=require(_0x52900b(0x198)),l=require('@univerjs/core/facade'),v=require(_0x52900b(0x192)),i=require(_0x52900b(0x193)),b=require(_0x52900b(0x1a5));function _0x1c0d(_0x3419f3,_0x6f0289){var _0x4013de=_0x4013();return _0x1c0d=function(_0x1c0d9b,_0x32cecc){_0x1c0d9b=_0x1c0d9b-0x192;var _0x23b966=_0x4013de[_0x1c0d9b];return _0x23b966;},_0x1c0d(_0x3419f3,_0x6f0289);}var S=Object[_0x52900b(0x1a9)],d=(_0x15140b,_0x5d916f,_0x149502,_0x48de54)=>{var _0x23d96c=_0x52900b;for(var _0x3f9674=_0x48de54>0x1?void 0x0:_0x48de54?S(_0x5d916f,_0x149502):_0x5d916f,_0x5e8351=_0x15140b[_0x23d96c(0x1bc)]-0x1,_0x38f899;_0x5e8351>=0x0;_0x5e8351--)(_0x38f899=_0x15140b[_0x5e8351])&&(_0x3f9674=_0x38f899(_0x3f9674)||_0x3f9674);return _0x3f9674;},s=(_0x19b35c,_0x1ff5bf)=>(_0x3485d9,_0x148219)=>_0x1ff5bf(_0x3485d9,_0x148219,_0x19b35c);exports[_0x52900b(0x19c)]=class extends l['FBase']{constructor(_0x1d1bfe,_0x3a27f2,_0x8c2fb5,_0x365765,_0x3b9d55){var _0x352a4c=_0x52900b;super(),this[_0x352a4c(0x1a2)]=_0x1d1bfe,this['_injector']=_0x3a27f2,this[_0x352a4c(0x1a6)]=_0x8c2fb5,this[_0x352a4c(0x1a7)]=_0x365765,this[_0x352a4c(0x1ba)]=_0x3b9d55;}async[_0x52900b(0x197)](){return this['loadActiveSheetAsync']();}async[_0x52900b(0x1a1)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x52900b(0x1a8)](_0x1945e7){var _0x4f468a=_0x52900b;return this[_0x4f468a(0x1b5)](_0x1945e7);}async[_0x52900b(0x1b5)](_0x11350d,_0x2d6d0c){var _0x5614a9=_0x52900b;return await this['_snapshotService'][_0x5614a9(0x1a8)](_0x11350d,0x0,_0x2d6d0c)?(await this['_collaborationController'][_0x5614a9(0x1a3)](_0x11350d),this[_0x5614a9(0x1a2)][_0x5614a9(0x1a4)](_0x11350d)):null;}[_0x52900b(0x1bd)](_0x334f9e,_0xbf2e72){var _0xeb6ee8=_0x52900b;const _0x2f9e71=this[_0xeb6ee8(0x1ab)][_0xeb6ee8(0x19f)](c[_0xeb6ee8(0x1bf)])[_0xeb6ee8(0x1a0)](_0x334f9e)['pipe'](b[_0xeb6ee8(0x1be)](_0x4bf23e=>_0x4bf23e[_0xeb6ee8(0x1af)]))['subscribe'](_0x4e36a2=>_0xbf2e72(Array[_0xeb6ee8(0x1b8)](_0x4e36a2[_0xeb6ee8(0x1b9)]())));return i[_0xeb6ee8(0x196)](_0x2f9e71);}},exports[_0x52900b(0x19c)]=d([s(0x1,i[_0x52900b(0x1ae)](i[_0x52900b(0x195)])),s(0x2,i[_0x52900b(0x1b4)]),s(0x3,i['Inject'](v[_0x52900b(0x199)])),s(0x4,i[_0x52900b(0x1ae)](c[_0x52900b(0x1ac)]))],exports[_0x52900b(0x19c)]);class u extends l[_0x52900b(0x1ad)]{['getCollaboration'](){var _0x5ea40e=_0x52900b;return this[_0x5ea40e(0x1ab)]['createInstance'](exports['FCollaboration'],{'getUniverSheet':_0x59a6d2=>this[_0x5ea40e(0x1a4)](_0x59a6d2)});}[_0x52900b(0x194)](_0x5c083a,_0x4042d4,_0x225fa7){var _0x10de52=_0x52900b;return this[_0x10de52(0x1ab)]['createInstance'](c[_0x10de52(0x1b7)])[_0x10de52(0x1b3)](_0x5c083a,_0x4042d4,_0x225fa7);}}l[_0x52900b(0x1ad)]['extend'](u);