@univerjs-pro/collaboration-client 0.7.0-nightly.202505231607 → 0.7.0-nightly.202505251606

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 (42) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/fa-IR.js +1 -1
  5. package/lib/cjs/locale/fr-FR.js +1 -1
  6. package/lib/cjs/locale/ru-RU.js +1 -1
  7. package/lib/cjs/locale/vi-VN.js +1 -1
  8. package/lib/cjs/locale/zh-CN.js +1 -1
  9. package/lib/cjs/locale/zh-TW.js +1 -1
  10. package/lib/es/facade.js +1 -1
  11. package/lib/es/index.js +1 -1
  12. package/lib/es/locale/en-US.js +1 -1
  13. package/lib/es/locale/fa-IR.js +1 -1
  14. package/lib/es/locale/fr-FR.js +1 -1
  15. package/lib/es/locale/ru-RU.js +1 -1
  16. package/lib/es/locale/vi-VN.js +1 -1
  17. package/lib/es/locale/zh-CN.js +1 -1
  18. package/lib/es/locale/zh-TW.js +1 -1
  19. package/lib/facade.js +1 -1
  20. package/lib/index.js +1 -1
  21. package/lib/locale/en-US.js +1 -1
  22. package/lib/locale/fa-IR.js +1 -1
  23. package/lib/locale/fr-FR.js +1 -1
  24. package/lib/locale/ru-RU.js +1 -1
  25. package/lib/locale/vi-VN.js +1 -1
  26. package/lib/locale/zh-CN.js +1 -1
  27. package/lib/locale/zh-TW.js +1 -1
  28. package/lib/types/controllers/collaboration/collaboration.controller.d.ts +3 -2
  29. package/lib/types/controllers/config.schema.d.ts +15 -0
  30. package/lib/types/facade/f-univer.d.ts +15 -0
  31. package/lib/types/services/data-loader/data-loader.service.d.ts +1 -2
  32. package/lib/types/services/snapshot-server/snapshot-server.service.d.ts +1 -0
  33. package/lib/umd/facade.js +1 -1
  34. package/lib/umd/index.js +1 -1
  35. package/lib/umd/locale/en-US.js +1 -1
  36. package/lib/umd/locale/fa-IR.js +1 -1
  37. package/lib/umd/locale/fr-FR.js +1 -1
  38. package/lib/umd/locale/ru-RU.js +1 -1
  39. package/lib/umd/locale/vi-VN.js +1 -1
  40. package/lib/umd/locale/zh-CN.js +1 -1
  41. package/lib/umd/locale/zh-TW.js +1 -1
  42. package/package.json +10 -11
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x34b8cf=_0x1039;(function(_0x2c5b40,_0x479124){var _0x543c7c=_0x1039,_0x30e027=_0x2c5b40();while(!![]){try{var _0x3c39c0=-parseInt(_0x543c7c(0x15d))/0x1*(parseInt(_0x543c7c(0x145))/0x2)+parseInt(_0x543c7c(0x138))/0x3+parseInt(_0x543c7c(0x133))/0x4*(-parseInt(_0x543c7c(0x14c))/0x5)+-parseInt(_0x543c7c(0x134))/0x6+-parseInt(_0x543c7c(0x132))/0x7*(-parseInt(_0x543c7c(0x137))/0x8)+-parseInt(_0x543c7c(0x163))/0x9*(-parseInt(_0x543c7c(0x158))/0xa)+parseInt(_0x543c7c(0x160))/0xb*(parseInt(_0x543c7c(0x14d))/0xc);if(_0x3c39c0===_0x479124)break;else _0x30e027['push'](_0x30e027['shift']());}catch(_0x1f62b3){_0x30e027['push'](_0x30e027['shift']());}}}(_0x4435,0x5157e));function _0x1039(_0x2f80d3,_0x268003){var _0x4435ac=_0x4435();return _0x1039=function(_0x103956,_0x285af9){_0x103956=_0x103956-0x12f;var _0x11702e=_0x4435ac[_0x103956];return _0x11702e;},_0x1039(_0x2f80d3,_0x268003);}function _0x4435(){var _0x2c711d=['36558zuilXp','length','subscribeCollaborators','@univerjs/core','669543RHXzSK','1961016aCMSxw','3098112kzLYMt','_snapshotService','members$','8xKfeol','1805925ogXvgT','getUniverSheet','readyForCollab','_injector','FUniver','@univerjs-pro/collaboration-client','@univerjs-pro/collaboration','from','defineProperty','waitForRoom$','switchMap','getOwnPropertyDescriptor','get','617748rlZyKY','loadActiveSheetAsync','loadServerUnit','pipe','Inject','SnapshotService','extend','5TdlHBp','3902700yuZtxE','createInstance','@univerjs/core/facade','CollaborationController','Module','getCollaboration','loadUnit','toDisposable','Injector','MemberService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','740FlYGFg','_collaborationController','values','loadSheet','loadSheetAsync','1zSpZdq','toStringTag','IUniverInstanceService','22zriOGN','_handler','FCollaboration'];_0x4435=function(){return _0x2c711d;};return _0x4435();}Object[_0x34b8cf(0x140)](exports,Symbol[_0x34b8cf(0x15e)],{'value':_0x34b8cf(0x151)});const c=require(_0x34b8cf(0x13d)),l=require(_0x34b8cf(0x14f)),v=require(_0x34b8cf(0x13e)),i=require(_0x34b8cf(0x131)),b=require('rxjs');var S=Object[_0x34b8cf(0x143)],d=(_0x202f21,_0x3d9c4f,_0x26abe8,_0x15924c)=>{var _0x5bb920=_0x34b8cf;for(var _0x11328b=_0x15924c>0x1?void 0x0:_0x15924c?S(_0x3d9c4f,_0x26abe8):_0x3d9c4f,_0x5ca742=_0x202f21[_0x5bb920(0x12f)]-0x1,_0x4a77d8;_0x5ca742>=0x0;_0x5ca742--)(_0x4a77d8=_0x202f21[_0x5ca742])&&(_0x11328b=_0x4a77d8(_0x11328b)||_0x11328b);return _0x11328b;},s=(_0x54cfe6,_0x3c308c)=>(_0x25b0e8,_0x5702e3)=>_0x3c308c(_0x25b0e8,_0x5702e3,_0x54cfe6);exports[_0x34b8cf(0x162)]=class extends l['FBase']{constructor(_0x9b86b2,_0x330b53,_0x37e758,_0x4fc8b4,_0x9b943f){var _0x3318b6=_0x34b8cf;super(),this[_0x3318b6(0x161)]=_0x9b86b2,this[_0x3318b6(0x13b)]=_0x330b53,this['_univerInstanceService']=_0x37e758,this[_0x3318b6(0x135)]=_0x4fc8b4,this[_0x3318b6(0x159)]=_0x9b943f;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async[_0x34b8cf(0x146)](){var _0x5e58b9=_0x34b8cf;throw new Error(_0x5e58b9(0x157));}async[_0x34b8cf(0x15b)](_0x4b679b){var _0x1d4e0f=_0x34b8cf;return this[_0x1d4e0f(0x15c)](_0x4b679b);}async[_0x34b8cf(0x15c)](_0x49dcb1,_0x401e5c){var _0x1f5b4d=_0x34b8cf;return await this[_0x1f5b4d(0x135)][_0x1f5b4d(0x15b)](_0x49dcb1,0x0,_0x401e5c)?(await this[_0x1f5b4d(0x159)][_0x1f5b4d(0x13a)](_0x49dcb1),this[_0x1f5b4d(0x161)][_0x1f5b4d(0x139)](_0x49dcb1)):null;}[_0x34b8cf(0x130)](_0xd3b733,_0x5e13ed){var _0xba531a=_0x34b8cf;const _0x5df039=this[_0xba531a(0x13b)][_0xba531a(0x144)](c[_0xba531a(0x156)])[_0xba531a(0x141)](_0xd3b733)[_0xba531a(0x148)](b[_0xba531a(0x142)](_0x5345d0=>_0x5345d0[_0xba531a(0x136)]))['subscribe'](_0x53a994=>_0x5e13ed(Array[_0xba531a(0x13f)](_0x53a994[_0xba531a(0x15a)]())));return i[_0xba531a(0x154)](_0x5df039);}},exports['FCollaboration']=d([s(0x1,i[_0x34b8cf(0x149)](i[_0x34b8cf(0x155)])),s(0x2,i[_0x34b8cf(0x15f)]),s(0x3,i[_0x34b8cf(0x149)](v[_0x34b8cf(0x14a)])),s(0x4,i[_0x34b8cf(0x149)](c[_0x34b8cf(0x150)]))],exports[_0x34b8cf(0x162)]);class u extends l[_0x34b8cf(0x13c)]{[_0x34b8cf(0x152)](){var _0x2a6477=_0x34b8cf;return this[_0x2a6477(0x13b)][_0x2a6477(0x14e)](exports['FCollaboration'],{'getUniverSheet':_0x2da4c2=>this[_0x2a6477(0x139)](_0x2da4c2)});}[_0x34b8cf(0x147)](_0x8d5c90,_0x3360e7,_0x55e063){var _0x515e13=_0x34b8cf;return this[_0x515e13(0x13b)][_0x515e13(0x14e)](c['DataLoaderService'])[_0x515e13(0x153)](_0x8d5c90,_0x3360e7,_0x55e063);}}l[_0x34b8cf(0x13c)][_0x34b8cf(0x14b)](u);
1
+ 'use strict';var _0x479fe6=_0x13ed;(function(_0x5a6fbd,_0x5033c4){var _0x3b723a=_0x13ed,_0x18d918=_0x5a6fbd();while(!![]){try{var _0x17d856=-parseInt(_0x3b723a(0x171))/0x1+-parseInt(_0x3b723a(0x160))/0x2*(parseInt(_0x3b723a(0x172))/0x3)+-parseInt(_0x3b723a(0x157))/0x4+-parseInt(_0x3b723a(0x153))/0x5*(parseInt(_0x3b723a(0x163))/0x6)+-parseInt(_0x3b723a(0x159))/0x7*(-parseInt(_0x3b723a(0x17e))/0x8)+parseInt(_0x3b723a(0x156))/0x9*(-parseInt(_0x3b723a(0x15b))/0xa)+parseInt(_0x3b723a(0x174))/0xb;if(_0x17d856===_0x5033c4)break;else _0x18d918['push'](_0x18d918['shift']());}catch(_0x198f69){_0x18d918['push'](_0x18d918['shift']());}}}(_0x180a,0x1ce8a));function _0x180a(){var _0x4a8180=['loadActiveSheet','18rzLaYG','363408AsGljS','from','7HtHwTs','defineProperty','696450eYkISL','get','loadActiveSheetAsync','loadSheetAsync','loadServerUnitOfRevision','74ZudosP','members$','getCollaboration','15618UXHdEq','_handler','loadSheet','pipe','@univerjs/core/facade','loadUnitOfRevision','length','createInstance','loadUnit','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','getUniverSheet','CollaborationController','subscribe','getOwnPropertyDescriptor','39145aAoJeC','939WGyLtA','toStringTag','4076908pqqXYv','_univerInstanceService','MemberService','_injector','Inject','DataLoaderService','FCollaboration','IUniverInstanceService','FUniver','loadServerUnit','1207928zLFUnP','_snapshotService','@univerjs-pro/collaboration','waitForRoom$','rxjs','toDisposable','extend','_collaborationController','235TEwvpJ','switchMap'];_0x180a=function(){return _0x4a8180;};return _0x180a();}function _0x13ed(_0x3d5c06,_0x36422b){var _0x180aae=_0x180a();return _0x13ed=function(_0x13ed11,_0x33f96d){_0x13ed11=_0x13ed11-0x14e;var _0x2242c5=_0x180aae[_0x13ed11];return _0x2242c5;},_0x13ed(_0x3d5c06,_0x36422b);}Object[_0x479fe6(0x15a)](exports,Symbol[_0x479fe6(0x173)],{'value':'Module'});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x479fe6(0x167)),h=require(_0x479fe6(0x180)),n=require('@univerjs/core'),b=require(_0x479fe6(0x14f));var d=Object[_0x479fe6(0x170)],S=(_0x6f16a2,_0x2756c1,_0x2caee0,_0x206c69)=>{var _0xf77236=_0x479fe6;for(var _0x5c24a2=_0x206c69>0x1?void 0x0:_0x206c69?d(_0x2756c1,_0x2caee0):_0x2756c1,_0x3a6b3a=_0x6f16a2[_0xf77236(0x169)]-0x1,_0x5e7b6c;_0x3a6b3a>=0x0;_0x3a6b3a--)(_0x5e7b6c=_0x6f16a2[_0x3a6b3a])&&(_0x5c24a2=_0x5e7b6c(_0x5c24a2)||_0x5c24a2);return _0x5c24a2;},s=(_0x38f2a9,_0x2e022f)=>(_0x15bf23,_0x34dd53)=>_0x2e022f(_0x15bf23,_0x34dd53,_0x38f2a9);exports[_0x479fe6(0x17a)]=class extends l['FBase']{constructor(_0x37c477,_0x5db704,_0x17a8d9,_0x11f9ac,_0x9f07a2){var _0x1c0d87=_0x479fe6;super(),this['_handler']=_0x37c477,this[_0x1c0d87(0x177)]=_0x5db704,this[_0x1c0d87(0x175)]=_0x17a8d9,this['_snapshotService']=_0x11f9ac,this[_0x1c0d87(0x152)]=_0x9f07a2;}async[_0x479fe6(0x155)](){var _0x1dcdb8=_0x479fe6;return this[_0x1dcdb8(0x15d)]();}async[_0x479fe6(0x15d)](){var _0x174518=_0x479fe6;throw new Error(_0x174518(0x16c));}async[_0x479fe6(0x165)](_0x414db1){var _0x36aa19=_0x479fe6;return this[_0x36aa19(0x15e)](_0x414db1);}async[_0x479fe6(0x15e)](_0x5de70a,_0x5145ba){var _0x255d0f=_0x479fe6;return await this[_0x255d0f(0x17f)][_0x255d0f(0x165)](_0x5de70a,0x0,_0x5145ba)?(await this['_collaborationController']['readyForCollab'](_0x5de70a),this[_0x255d0f(0x164)][_0x255d0f(0x16d)](_0x5de70a)):null;}['subscribeCollaborators'](_0x3d477c,_0x17cc6f){var _0x45f909=_0x479fe6;const _0x5c4e1c=this[_0x45f909(0x177)]['get'](c[_0x45f909(0x176)])[_0x45f909(0x14e)](_0x3d477c)[_0x45f909(0x166)](b[_0x45f909(0x154)](_0xe7abca=>_0xe7abca[_0x45f909(0x161)]))[_0x45f909(0x16f)](_0x392dbf=>_0x17cc6f(Array[_0x45f909(0x158)](_0x392dbf['values']())));return n[_0x45f909(0x150)](_0x5c4e1c);}},exports[_0x479fe6(0x17a)]=S([s(0x1,n['Inject'](n['Injector'])),s(0x2,n[_0x479fe6(0x17b)]),s(0x3,n[_0x479fe6(0x178)](h['SnapshotService'])),s(0x4,n[_0x479fe6(0x178)](c[_0x479fe6(0x16e)]))],exports['FCollaboration']);class u extends l[_0x479fe6(0x17c)]{[_0x479fe6(0x162)](){var _0x69a0c9=_0x479fe6;return this[_0x69a0c9(0x177)][_0x69a0c9(0x16a)](exports[_0x69a0c9(0x17a)],{'getUniverSheet':_0x369908=>this[_0x69a0c9(0x16d)](_0x369908)});}[_0x479fe6(0x17d)](_0x3a5f11,_0x347e21,_0x41ebc3){var _0x49800f=_0x479fe6;return this[_0x49800f(0x177)]['get'](c[_0x49800f(0x179)])[_0x49800f(0x16b)](_0x3a5f11,_0x347e21,_0x41ebc3);}[_0x479fe6(0x15f)](_0x1002a2,_0x170823,_0x16727e){var _0x52ab10=_0x479fe6;return this[_0x52ab10(0x177)][_0x52ab10(0x15c)](c[_0x52ab10(0x179)])[_0x52ab10(0x168)](_0x1002a2,_0x170823,_0x16727e);}}l[_0x479fe6(0x17c)][_0x479fe6(0x151)](u);