@univerjs-pro/collaboration-client 0.9.4-nightly.202507290757 → 0.10.0

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.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +10 -10
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x19a694=_0x1de1;(function(_0x2a638c,_0x2fb3c0){var _0x5dc7f2=_0x1de1,_0x13c3ab=_0x2a638c();while(!![]){try{var _0x130a51=-parseInt(_0x5dc7f2(0x110))/0x1*(parseInt(_0x5dc7f2(0x106))/0x2)+parseInt(_0x5dc7f2(0x11a))/0x3+-parseInt(_0x5dc7f2(0x10b))/0x4+-parseInt(_0x5dc7f2(0x11c))/0x5+parseInt(_0x5dc7f2(0x117))/0x6+parseInt(_0x5dc7f2(0x12d))/0x7+-parseInt(_0x5dc7f2(0x125))/0x8*(-parseInt(_0x5dc7f2(0x112))/0x9);if(_0x130a51===_0x2fb3c0)break;else _0x13c3ab['push'](_0x13c3ab['shift']());}catch(_0x960491){_0x13c3ab['push'](_0x13c3ab['shift']());}}}(_0x1418,0x82fc8));function _0x1de1(_0x19066a,_0x326ba5){var _0x14184b=_0x1418();return _0x1de1=function(_0x1de1af,_0x23d1a7){_0x1de1af=_0x1de1af-0x105;var _0x133ac9=_0x14184b[_0x1de1af];return _0x133ac9;},_0x1de1(_0x19066a,_0x326ba5);}Object[_0x19a694(0x123)](exports,Symbol[_0x19a694(0x12b)],{'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[_0x19a694(0x10d)],S=(_0x204a44,_0xe3e001,_0x428e69,_0x4c4883)=>{var _0x3d5a8c=_0x19a694;for(var _0x3b49d9=_0x4c4883>0x1?void 0x0:_0x4c4883?d(_0xe3e001,_0x428e69):_0xe3e001,_0x59ca1a=_0x204a44[_0x3d5a8c(0x120)]-0x1,_0x4a8747;_0x59ca1a>=0x0;_0x59ca1a--)(_0x4a8747=_0x204a44[_0x59ca1a])&&(_0x3b49d9=_0x4a8747(_0x3b49d9)||_0x3b49d9);return _0x3b49d9;},s=(_0x40d9fc,_0x2e07f6)=>(_0x30d011,_0x33ac3e)=>_0x2e07f6(_0x30d011,_0x33ac3e,_0x40d9fc);exports[_0x19a694(0x109)]=class extends l['FBase']{constructor(_0x48088f,_0x332541,_0x2114ce,_0x4afa98,_0x9974dc){var _0x42ce7d=_0x19a694;super(),this[_0x42ce7d(0x124)]=_0x48088f,this['_injector']=_0x332541,this[_0x42ce7d(0x130)]=_0x2114ce,this[_0x42ce7d(0x114)]=_0x4afa98,this[_0x42ce7d(0x107)]=_0x9974dc;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async[_0x19a694(0x129)](){var _0x40ace3=_0x19a694;throw new Error(_0x40ace3(0x121));}async[_0x19a694(0x118)](_0x10d2f9){var _0xebc829=_0x19a694;return this[_0xebc829(0x108)](_0x10d2f9);}async[_0x19a694(0x108)](_0x4e9ae5,_0x392022){var _0x1fb1ec=_0x19a694;return await this[_0x1fb1ec(0x114)][_0x1fb1ec(0x118)](_0x4e9ae5,0x0,_0x392022)?(await this['_collaborationController'][_0x1fb1ec(0x126)](_0x4e9ae5),this[_0x1fb1ec(0x124)]['getUniverSheet'](_0x4e9ae5)):null;}['subscribeCollaborators'](_0x58ad88,_0x162ec2){var _0x3140c8=_0x19a694;const _0x1d9546=this[_0x3140c8(0x128)][_0x3140c8(0x105)](c[_0x3140c8(0x127)])[_0x3140c8(0x119)](_0x58ad88)['pipe'](b['switchMap'](_0x214f47=>_0x214f47[_0x3140c8(0x122)]))[_0x3140c8(0x11d)](_0x3885c4=>_0x162ec2(Array[_0x3140c8(0x116)](_0x3885c4[_0x3140c8(0x11e)]())));return n['toDisposable'](_0x1d9546);}},exports[_0x19a694(0x109)]=S([s(0x1,n[_0x19a694(0x10f)](n[_0x19a694(0x10e)])),s(0x2,n['IUniverInstanceService']),s(0x3,n[_0x19a694(0x10f)](h[_0x19a694(0x11f)])),s(0x4,n[_0x19a694(0x10f)](c[_0x19a694(0x115)]))],exports[_0x19a694(0x109)]);class u extends l['FUniver']{[_0x19a694(0x11b)](){var _0xaceff4=_0x19a694;return this['_injector'][_0xaceff4(0x12c)](exports[_0xaceff4(0x109)],{'getUniverSheet':_0x2419a2=>this[_0xaceff4(0x12f)](_0x2419a2)});}['loadServerUnit'](_0x2799b5,_0x5c4422,_0x9be15c){var _0x444fbc=_0x19a694;return this[_0x444fbc(0x128)]['get'](c[_0x444fbc(0x111)])[_0x444fbc(0x113)](_0x2799b5,_0x5c4422,_0x9be15c);}[_0x19a694(0x12e)](_0x2ea491,_0x1516e7,_0x3198aa){var _0x4fe08b=_0x19a694;return this['_injector'][_0x4fe08b(0x105)](c[_0x4fe08b(0x111)])[_0x4fe08b(0x10c)](_0x2ea491,_0x1516e7,_0x3198aa);}}l[_0x19a694(0x12a)][_0x19a694(0x10a)](u);function _0x1418(){var _0x2bdabf=['loadUnitOfRevision','getOwnPropertyDescriptor','Injector','Inject','14ZcyVjN','DataLoaderService','4707vRErgn','loadUnit','_snapshotService','CollaborationController','from','495192WxfLin','loadSheet','waitForRoom$','2531166uvbbmU','getCollaboration','958890HLnLKF','subscribe','values','SnapshotService','length','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','members$','defineProperty','_handler','8488UyFdtK','readyForCollab','MemberService','_injector','loadActiveSheetAsync','FUniver','toStringTag','createInstance','573888sAEWAx','loadServerUnitOfRevision','getUniverSheet','_univerInstanceService','get','60446GXwLRK','_collaborationController','loadSheetAsync','FCollaboration','extend','1646884cPuIaU'];_0x1418=function(){return _0x2bdabf;};return _0x1418();}
1
+ 'use strict';var _0x3719f9=_0x3f17;(function(_0x44cc45,_0x2e6dd1){var _0x53b3dc=_0x3f17,_0x39a823=_0x44cc45();while(!![]){try{var _0x476ffd=parseInt(_0x53b3dc(0x19c))/0x1+-parseInt(_0x53b3dc(0x195))/0x2*(parseInt(_0x53b3dc(0x18f))/0x3)+-parseInt(_0x53b3dc(0x182))/0x4*(parseInt(_0x53b3dc(0x179))/0x5)+-parseInt(_0x53b3dc(0x193))/0x6*(parseInt(_0x53b3dc(0x199))/0x7)+-parseInt(_0x53b3dc(0x17d))/0x8+-parseInt(_0x53b3dc(0x170))/0x9*(-parseInt(_0x53b3dc(0x190))/0xa)+parseInt(_0x53b3dc(0x19a))/0xb;if(_0x476ffd===_0x2e6dd1)break;else _0x39a823['push'](_0x39a823['shift']());}catch(_0x2b18ed){_0x39a823['push'](_0x39a823['shift']());}}}(_0x33fe,0xa773c));Object[_0x3719f9(0x19b)](exports,Symbol['toStringTag'],{'value':_0x3719f9(0x177)});const c=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),h=require('@univerjs-pro/collaboration'),n=require('@univerjs/core'),b=require('rxjs');function _0x33fe(){var _0x16274d=['values','_snapshotService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadSheet','559628vVUuHz','MemberService','members$','_collaborationController','CollaborationController','subscribeCollaborators','toDisposable','getOwnPropertyDescriptor','get','loadActiveSheet','from','Injector','length','3928686qFSSBb','10ieWSmU','DataLoaderService','loadActiveSheetAsync','5261742QSLavH','subscribe','2mIEdWG','FUniver','getUniverSheet','FCollaboration','7WNKoVQ','27784900uaopmE','defineProperty','1362442UvPXlb','3166803dTbtUA','pipe','IUniverInstanceService','loadUnit','getCollaboration','Inject','_injector','Module','loadServerUnitOfRevision','15BDrcva','_handler','SnapshotService','loadSheetAsync','7584680lZEfcH'];_0x33fe=function(){return _0x16274d;};return _0x33fe();}var d=Object[_0x3719f9(0x189)],S=(_0x1b3e24,_0x5149a2,_0x556d1e,_0x149010)=>{var _0xfacb14=_0x3719f9;for(var _0x4c4b99=_0x149010>0x1?void 0x0:_0x149010?d(_0x5149a2,_0x556d1e):_0x5149a2,_0x471efd=_0x1b3e24[_0xfacb14(0x18e)]-0x1,_0x5867e9;_0x471efd>=0x0;_0x471efd--)(_0x5867e9=_0x1b3e24[_0x471efd])&&(_0x4c4b99=_0x5867e9(_0x4c4b99)||_0x4c4b99);return _0x4c4b99;},s=(_0x559376,_0x10cff8)=>(_0x4c1a20,_0x47a155)=>_0x10cff8(_0x4c1a20,_0x47a155,_0x559376);exports['FCollaboration']=class extends l['FBase']{constructor(_0x3f474f,_0x318538,_0xbdcdf8,_0x39b268,_0x3c4e7d){var _0x1b8d73=_0x3719f9;super(),this['_handler']=_0x3f474f,this[_0x1b8d73(0x176)]=_0x318538,this['_univerInstanceService']=_0xbdcdf8,this['_snapshotService']=_0x39b268,this[_0x1b8d73(0x185)]=_0x3c4e7d;}async[_0x3719f9(0x18b)](){var _0x1a5f24=_0x3719f9;return this[_0x1a5f24(0x192)]();}async[_0x3719f9(0x192)](){var _0x49bdc9=_0x3719f9;throw new Error(_0x49bdc9(0x180));}async[_0x3719f9(0x181)](_0x2baa4d){var _0x42501=_0x3719f9;return this[_0x42501(0x17c)](_0x2baa4d);}async[_0x3719f9(0x17c)](_0x592b4b,_0x4190ea){var _0x5c0bb8=_0x3719f9;return await this[_0x5c0bb8(0x17f)][_0x5c0bb8(0x181)](_0x592b4b,0x0,_0x4190ea)?(await this['_collaborationController']['readyForCollab'](_0x592b4b),this[_0x5c0bb8(0x17a)]['getUniverSheet'](_0x592b4b)):null;}[_0x3719f9(0x187)](_0x4cc312,_0x1575c9){var _0x3c0d8b=_0x3719f9;const _0x7eb41e=this['_injector'][_0x3c0d8b(0x18a)](c[_0x3c0d8b(0x183)])['waitForRoom$'](_0x4cc312)[_0x3c0d8b(0x171)](b['switchMap'](_0x443010=>_0x443010[_0x3c0d8b(0x184)]))[_0x3c0d8b(0x194)](_0x4a9c71=>_0x1575c9(Array[_0x3c0d8b(0x18c)](_0x4a9c71[_0x3c0d8b(0x17e)]())));return n[_0x3c0d8b(0x188)](_0x7eb41e);}},exports[_0x3719f9(0x198)]=S([s(0x1,n[_0x3719f9(0x175)](n[_0x3719f9(0x18d)])),s(0x2,n[_0x3719f9(0x172)]),s(0x3,n[_0x3719f9(0x175)](h[_0x3719f9(0x17b)])),s(0x4,n[_0x3719f9(0x175)](c[_0x3719f9(0x186)]))],exports[_0x3719f9(0x198)]);class u extends l[_0x3719f9(0x196)]{[_0x3719f9(0x174)](){var _0x24c04c=_0x3719f9;return this[_0x24c04c(0x176)]['createInstance'](exports[_0x24c04c(0x198)],{'getUniverSheet':_0x550dc4=>this[_0x24c04c(0x197)](_0x550dc4)});}['loadServerUnit'](_0xe71486,_0x4bb525,_0x434ace){var _0x3dde8f=_0x3719f9;return this[_0x3dde8f(0x176)][_0x3dde8f(0x18a)](c[_0x3dde8f(0x191)])[_0x3dde8f(0x173)](_0xe71486,_0x4bb525,_0x434ace);}[_0x3719f9(0x178)](_0x2942ef,_0x140f2e,_0x443440){var _0x273913=_0x3719f9;return this[_0x273913(0x176)][_0x273913(0x18a)](c['DataLoaderService'])['loadUnitOfRevision'](_0x2942ef,_0x140f2e,_0x443440);}}function _0x3f17(_0x188b9a,_0x187fb3){var _0x33fe3a=_0x33fe();return _0x3f17=function(_0x3f17db,_0x21bab2){_0x3f17db=_0x3f17db-0x170;var _0x131768=_0x33fe3a[_0x3f17db];return _0x131768;},_0x3f17(_0x188b9a,_0x187fb3);}l[_0x3719f9(0x196)]['extend'](u);