@univerjs-pro/collaboration-client 0.8.3-nightly.202507010644 → 0.8.3-nightly.202507021607

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 _0x5f14a1=_0x316e;(function(_0x4f062c,_0x1fa7b7){var _0x4746e4=_0x316e,_0x3f57a9=_0x4f062c();while(!![]){try{var _0x5ade52=-parseInt(_0x4746e4(0xe9))/0x1*(parseInt(_0x4746e4(0xc4))/0x2)+parseInt(_0x4746e4(0xeb))/0x3*(-parseInt(_0x4746e4(0xdf))/0x4)+parseInt(_0x4746e4(0xcb))/0x5*(-parseInt(_0x4746e4(0xef))/0x6)+parseInt(_0x4746e4(0xc8))/0x7+parseInt(_0x4746e4(0xce))/0x8*(-parseInt(_0x4746e4(0xd8))/0x9)+parseInt(_0x4746e4(0xf2))/0xa*(parseInt(_0x4746e4(0xe8))/0xb)+parseInt(_0x4746e4(0xdc))/0xc*(parseInt(_0x4746e4(0xda))/0xd);if(_0x5ade52===_0x1fa7b7)break;else _0x3f57a9['push'](_0x3f57a9['shift']());}catch(_0x429b60){_0x3f57a9['push'](_0x3f57a9['shift']());}}}(_0x2fac,0xedb1d));Object[_0x5f14a1(0xd0)](exports,Symbol[_0x5f14a1(0xca)],{'value':'Module'});const c=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),h=require('@univerjs-pro/collaboration'),n=require('@univerjs/core'),b=require('rxjs');var d=Object[_0x5f14a1(0xe7)],S=(_0x19bdba,_0x29bdab,_0x50642b,_0x572318)=>{var _0x226d1e=_0x5f14a1;for(var _0xd472c8=_0x572318>0x1?void 0x0:_0x572318?d(_0x29bdab,_0x50642b):_0x29bdab,_0x40576c=_0x19bdba[_0x226d1e(0xd3)]-0x1,_0x5ca538;_0x40576c>=0x0;_0x40576c--)(_0x5ca538=_0x19bdba[_0x40576c])&&(_0xd472c8=_0x5ca538(_0xd472c8)||_0xd472c8);return _0xd472c8;},s=(_0x382596,_0x2313f3)=>(_0x129968,_0x93dbcb)=>_0x2313f3(_0x129968,_0x93dbcb,_0x382596);exports[_0x5f14a1(0xcc)]=class extends l[_0x5f14a1(0xcd)]{constructor(_0x1a686c,_0x24c99c,_0x2672f9,_0x1ea995,_0x1c5dcd){var _0x4ef08a=_0x5f14a1;super(),this[_0x4ef08a(0xf0)]=_0x1a686c,this[_0x4ef08a(0xe3)]=_0x24c99c,this['_univerInstanceService']=_0x2672f9,this[_0x4ef08a(0xf1)]=_0x1ea995,this[_0x4ef08a(0xdd)]=_0x1c5dcd;}async[_0x5f14a1(0xea)](){var _0x12ca4f=_0x5f14a1;return this[_0x12ca4f(0xc5)]();}async[_0x5f14a1(0xc5)](){var _0x5d090b=_0x5f14a1;throw new Error(_0x5d090b(0xe4));}async[_0x5f14a1(0xe6)](_0x37d22f){return this['loadSheetAsync'](_0x37d22f);}async[_0x5f14a1(0xd5)](_0xfb4f41,_0x1ef66e){var _0x193edb=_0x5f14a1;return await this[_0x193edb(0xf1)][_0x193edb(0xe6)](_0xfb4f41,0x0,_0x1ef66e)?(await this[_0x193edb(0xdd)][_0x193edb(0xc7)](_0xfb4f41),this['_handler'][_0x193edb(0xe0)](_0xfb4f41)):null;}['subscribeCollaborators'](_0x12e5e8,_0xc119f9){var _0xedf3dc=_0x5f14a1;const _0xfaa3c4=this[_0xedf3dc(0xe3)][_0xedf3dc(0xd4)](c['MemberService'])[_0xedf3dc(0xe5)](_0x12e5e8)[_0xedf3dc(0xd1)](b[_0xedf3dc(0xc6)](_0x50a00b=>_0x50a00b['members$']))['subscribe'](_0x5b29d5=>_0xc119f9(Array['from'](_0x5b29d5[_0xedf3dc(0xdb)]())));return n[_0xedf3dc(0xed)](_0xfaa3c4);}},exports[_0x5f14a1(0xcc)]=S([s(0x1,n[_0x5f14a1(0xde)](n[_0x5f14a1(0xe1)])),s(0x2,n[_0x5f14a1(0xc9)]),s(0x3,n[_0x5f14a1(0xde)](h['SnapshotService'])),s(0x4,n[_0x5f14a1(0xde)](c[_0x5f14a1(0xd7)]))],exports[_0x5f14a1(0xcc)]);function _0x2fac(){var _0x17601f=['toStringTag','1753030JtocrH','FCollaboration','FBase','209184sZsufe','loadUnitOfRevision','defineProperty','pipe','createInstance','length','get','loadSheetAsync','DataLoaderService','CollaborationController','207oRKBfy','FUniver','20579bfXiTi','values','19632kNjSOL','_collaborationController','Inject','3493624labPUC','getUniverSheet','Injector','extend','_injector','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','waitForRoom$','loadSheet','getOwnPropertyDescriptor','2921677EeyPUQ','2486KVBxln','loadActiveSheet','6DFxbCc','getCollaboration','toDisposable','loadServerUnitOfRevision','24sqwtlc','_handler','_snapshotService','50wkQIwM','loadServerUnit','102ejeuEx','loadActiveSheetAsync','switchMap','readyForCollab','6532400nRcymi','IUniverInstanceService'];_0x2fac=function(){return _0x17601f;};return _0x2fac();}class u extends l[_0x5f14a1(0xd9)]{[_0x5f14a1(0xec)](){var _0x41d339=_0x5f14a1;return this[_0x41d339(0xe3)][_0x41d339(0xd2)](exports['FCollaboration'],{'getUniverSheet':_0x1f4ed4=>this[_0x41d339(0xe0)](_0x1f4ed4)});}[_0x5f14a1(0xc3)](_0x17bab4,_0x141c0b,_0x1c6489){var _0x10b696=_0x5f14a1;return this[_0x10b696(0xe3)][_0x10b696(0xd4)](c['DataLoaderService'])['loadUnit'](_0x17bab4,_0x141c0b,_0x1c6489);}[_0x5f14a1(0xee)](_0x50e34f,_0x45c5bf,_0x1caca9){var _0x17db8c=_0x5f14a1;return this[_0x17db8c(0xe3)][_0x17db8c(0xd4)](c[_0x17db8c(0xd6)])[_0x17db8c(0xcf)](_0x50e34f,_0x45c5bf,_0x1caca9);}}function _0x316e(_0x366283,_0x2e4521){var _0x2fac89=_0x2fac();return _0x316e=function(_0x316ec1,_0x373c60){_0x316ec1=_0x316ec1-0xc3;var _0x5182f6=_0x2fac89[_0x316ec1];return _0x5182f6;},_0x316e(_0x366283,_0x2e4521);}l['FUniver'][_0x5f14a1(0xe2)](u);
1
+ 'use strict';var _0x14675c=_0x206c;function _0x4d99(){var _0x110211=['5aDTnMh','Module','loadSheet','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','_injector','1397600LQUebZ','_univerInstanceService','SnapshotService','8350230ZYtvcf','_snapshotService','get','593250FNeCNK','389415uDjjzr','toStringTag','getUniverSheet','members$','24UXbgCf','loadActiveSheetAsync','subscribe','3077970hdsSRk','1491741VTZYLy','FBase','Inject','getCollaboration','153092xUjfQh','CollaborationController','77oPPmRv','subscribeCollaborators','extend','getOwnPropertyDescriptor','_collaborationController','6IfyLXj','loadSheetAsync','waitForRoom$','from','IUniverInstanceService','values','MemberService','loadUnitOfRevision','FCollaboration'];_0x4d99=function(){return _0x110211;};return _0x4d99();}(function(_0x5bc110,_0x8c7444){var _0x26349d=_0x206c,_0xff5dbd=_0x5bc110();while(!![]){try{var _0x5b65e2=parseInt(_0x26349d(0x9f))/0x1*(-parseInt(_0x26349d(0x8f))/0x2)+-parseInt(_0x26349d(0x96))/0x3*(-parseInt(_0x26349d(0xa4))/0x4)+parseInt(_0x26349d(0xab))/0x5+-parseInt(_0x26349d(0xa7))/0x6+parseInt(_0x26349d(0xaa))/0x7+-parseInt(_0x26349d(0xaf))/0x8*(parseInt(_0x26349d(0xb3))/0x9)+parseInt(_0x26349d(0xb2))/0xa*(parseInt(_0x26349d(0x91))/0xb);if(_0x5b65e2===_0x8c7444)break;else _0xff5dbd['push'](_0xff5dbd['shift']());}catch(_0x47ea47){_0xff5dbd['push'](_0xff5dbd['shift']());}}}(_0x4d99,0xb5b8a));Object['defineProperty'](exports,Symbol[_0x14675c(0xac)],{'value':_0x14675c(0xa0)});const c=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),h=require('@univerjs-pro/collaboration'),n=require('@univerjs/core'),b=require('rxjs');var d=Object[_0x14675c(0x94)],S=(_0x480899,_0x476e3b,_0x84161e,_0xbfa39b)=>{for(var _0x5c7a32=_0xbfa39b>0x1?void 0x0:_0xbfa39b?d(_0x476e3b,_0x84161e):_0x476e3b,_0x8e231e=_0x480899['length']-0x1,_0x55a608;_0x8e231e>=0x0;_0x8e231e--)(_0x55a608=_0x480899[_0x8e231e])&&(_0x5c7a32=_0x55a608(_0x5c7a32)||_0x5c7a32);return _0x5c7a32;},s=(_0x4889bf,_0x7422c5)=>(_0x46f55a,_0x262bb2)=>_0x7422c5(_0x46f55a,_0x262bb2,_0x4889bf);function _0x206c(_0x3f86ee,_0x4267ef){var _0x4d99ed=_0x4d99();return _0x206c=function(_0x206c3e,_0x238e07){_0x206c3e=_0x206c3e-0x8f;var _0x4d68aa=_0x4d99ed[_0x206c3e];return _0x4d68aa;},_0x206c(_0x3f86ee,_0x4267ef);}exports['FCollaboration']=class extends l[_0x14675c(0xb4)]{constructor(_0x5bbb5a,_0x4153ed,_0x1c5528,_0x237ab0,_0x16551b){var _0x490589=_0x14675c;super(),this['_handler']=_0x5bbb5a,this[_0x490589(0xa3)]=_0x4153ed,this[_0x490589(0xa5)]=_0x1c5528,this[_0x490589(0xa8)]=_0x237ab0,this[_0x490589(0x95)]=_0x16551b;}async['loadActiveSheet'](){var _0x199ce6=_0x14675c;return this[_0x199ce6(0xb0)]();}async['loadActiveSheetAsync'](){var _0xfcb8c1=_0x14675c;throw new Error(_0xfcb8c1(0xa2));}async[_0x14675c(0xa1)](_0x1276ac){var _0x96973d=_0x14675c;return this[_0x96973d(0x97)](_0x1276ac);}async['loadSheetAsync'](_0x3f6244,_0x198034){var _0x4c07c0=_0x14675c;return await this['_snapshotService']['loadSheet'](_0x3f6244,0x0,_0x198034)?(await this[_0x4c07c0(0x95)]['readyForCollab'](_0x3f6244),this['_handler'][_0x4c07c0(0xad)](_0x3f6244)):null;}[_0x14675c(0x92)](_0x61942a,_0x5df809){var _0x2f0cf3=_0x14675c;const _0xda26f2=this[_0x2f0cf3(0xa3)][_0x2f0cf3(0xa9)](c[_0x2f0cf3(0x9c)])[_0x2f0cf3(0x98)](_0x61942a)['pipe'](b['switchMap'](_0x4fcea7=>_0x4fcea7[_0x2f0cf3(0xae)]))[_0x2f0cf3(0xb1)](_0xa89d12=>_0x5df809(Array[_0x2f0cf3(0x99)](_0xa89d12[_0x2f0cf3(0x9b)]())));return n['toDisposable'](_0xda26f2);}},exports[_0x14675c(0x9e)]=S([s(0x1,n['Inject'](n['Injector'])),s(0x2,n[_0x14675c(0x9a)]),s(0x3,n[_0x14675c(0xb5)](h[_0x14675c(0xa6)])),s(0x4,n['Inject'](c[_0x14675c(0x90)]))],exports[_0x14675c(0x9e)]);class u extends l['FUniver']{[_0x14675c(0xb6)](){var _0x1e1842=_0x14675c;return this[_0x1e1842(0xa3)]['createInstance'](exports[_0x1e1842(0x9e)],{'getUniverSheet':_0x2f6ada=>this['getUniverSheet'](_0x2f6ada)});}['loadServerUnit'](_0x10cfbb,_0x2639e6,_0x39f577){return this['_injector']['get'](c['DataLoaderService'])['loadUnit'](_0x10cfbb,_0x2639e6,_0x39f577);}['loadServerUnitOfRevision'](_0x303dd6,_0x913c4c,_0x5dfd37){var _0x400175=_0x14675c;return this[_0x400175(0xa3)][_0x400175(0xa9)](c['DataLoaderService'])[_0x400175(0x9d)](_0x303dd6,_0x913c4c,_0x5dfd37);}}l['FUniver'][_0x14675c(0x93)](u);