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

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 _0x1889b1=_0x1a4e;(function(_0x4c8815,_0x22dc2f){var _0x591dac=_0x1a4e,_0x231b68=_0x4c8815();while(!![]){try{var _0x4263d1=-parseInt(_0x591dac(0x123))/0x1*(-parseInt(_0x591dac(0x117))/0x2)+parseInt(_0x591dac(0x120))/0x3+-parseInt(_0x591dac(0x128))/0x4+-parseInt(_0x591dac(0x13a))/0x5*(parseInt(_0x591dac(0x145))/0x6)+parseInt(_0x591dac(0x144))/0x7*(-parseInt(_0x591dac(0x118))/0x8)+-parseInt(_0x591dac(0x142))/0x9*(-parseInt(_0x591dac(0x131))/0xa)+parseInt(_0x591dac(0x11e))/0xb*(parseInt(_0x591dac(0x121))/0xc);if(_0x4263d1===_0x22dc2f)break;else _0x231b68['push'](_0x231b68['shift']());}catch(_0x166b3f){_0x231b68['push'](_0x231b68['shift']());}}}(_0x3e22,0xdf872));Object[_0x1889b1(0x137)](exports,Symbol[_0x1889b1(0x135)],{'value':'Module'});const c=require(_0x1889b1(0x13b)),l=require(_0x1889b1(0x139)),h=require(_0x1889b1(0x125)),n=require(_0x1889b1(0x12a)),b=require('rxjs');function _0x1a4e(_0x76dbf,_0x2d768b){var _0x3e2256=_0x3e22();return _0x1a4e=function(_0x1a4ea2,_0x3502e0){_0x1a4ea2=_0x1a4ea2-0x113;var _0x2abb4f=_0x3e2256[_0x1a4ea2];return _0x2abb4f;},_0x1a4e(_0x76dbf,_0x2d768b);}var d=Object['getOwnPropertyDescriptor'],S=(_0x56b899,_0x63cb63,_0x599f5d,_0x17a69b)=>{var _0x3c9267=_0x1889b1;for(var _0x33fb21=_0x17a69b>0x1?void 0x0:_0x17a69b?d(_0x63cb63,_0x599f5d):_0x63cb63,_0x196f38=_0x56b899[_0x3c9267(0x11f)]-0x1,_0xe9327e;_0x196f38>=0x0;_0x196f38--)(_0xe9327e=_0x56b899[_0x196f38])&&(_0x33fb21=_0xe9327e(_0x33fb21)||_0x33fb21);return _0x33fb21;},s=(_0x4df1a1,_0x59446e)=>(_0x39726c,_0x2a0bcd)=>_0x59446e(_0x39726c,_0x2a0bcd,_0x4df1a1);function _0x3e22(){var _0x152270=['SnapshotService','loadUnitOfRevision','loadServerUnitOfRevision','values','CollaborationController','extend','36gJiGrr','_injector','714reavlF','10183896EjQeaU','waitForRoom$','FCollaboration','loadSheetAsync','Injector','974pWnCbk','35912sgOdjD','FUniver','MemberService','Inject','loadUnit','_collaborationController','55QSiiDa','length','1354644YOatgO','7708308xTYNec','subscribeCollaborators','1933MHiadk','getUniverSheet','@univerjs-pro/collaboration','_univerInstanceService','switchMap','7248648XLvCHj','loadSheet','@univerjs/core','_snapshotService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','toDisposable','get','pipe','IUniverInstanceService','695530rCupEx','loadActiveSheetAsync','_handler','DataLoaderService','toStringTag','from','defineProperty','members$','@univerjs/core/facade','5Iufzgd','@univerjs-pro/collaboration-client'];_0x3e22=function(){return _0x152270;};return _0x3e22();}exports[_0x1889b1(0x114)]=class extends l['FBase']{constructor(_0x1a75b7,_0x29e5d7,_0x53ae38,_0x2167ff,_0x1b9a14){var _0x142257=_0x1889b1;super(),this['_handler']=_0x1a75b7,this[_0x142257(0x143)]=_0x29e5d7,this[_0x142257(0x126)]=_0x53ae38,this[_0x142257(0x12b)]=_0x2167ff,this[_0x142257(0x11d)]=_0x1b9a14;}async['loadActiveSheet'](){var _0x32f868=_0x1889b1;return this[_0x32f868(0x132)]();}async[_0x1889b1(0x132)](){var _0x405cf6=_0x1889b1;throw new Error(_0x405cf6(0x12c));}async[_0x1889b1(0x129)](_0x29d5e7){return this['loadSheetAsync'](_0x29d5e7);}async[_0x1889b1(0x115)](_0x53c5b0,_0x333a99){var _0x5410a4=_0x1889b1;return await this[_0x5410a4(0x12b)][_0x5410a4(0x129)](_0x53c5b0,0x0,_0x333a99)?(await this[_0x5410a4(0x11d)]['readyForCollab'](_0x53c5b0),this[_0x5410a4(0x133)]['getUniverSheet'](_0x53c5b0)):null;}[_0x1889b1(0x122)](_0x62d6b9,_0x200b73){var _0x2af585=_0x1889b1;const _0x2d767f=this[_0x2af585(0x143)]['get'](c[_0x2af585(0x11a)])[_0x2af585(0x113)](_0x62d6b9)[_0x2af585(0x12f)](b[_0x2af585(0x127)](_0x19940b=>_0x19940b[_0x2af585(0x138)]))['subscribe'](_0x956ba5=>_0x200b73(Array[_0x2af585(0x136)](_0x956ba5[_0x2af585(0x13f)]())));return n[_0x2af585(0x12d)](_0x2d767f);}},exports[_0x1889b1(0x114)]=S([s(0x1,n['Inject'](n[_0x1889b1(0x116)])),s(0x2,n[_0x1889b1(0x130)]),s(0x3,n[_0x1889b1(0x11b)](h[_0x1889b1(0x13c)])),s(0x4,n[_0x1889b1(0x11b)](c[_0x1889b1(0x140)]))],exports[_0x1889b1(0x114)]);class u extends l[_0x1889b1(0x119)]{['getCollaboration'](){var _0x246969=_0x1889b1;return this[_0x246969(0x143)]['createInstance'](exports[_0x246969(0x114)],{'getUniverSheet':_0x107bed=>this[_0x246969(0x124)](_0x107bed)});}['loadServerUnit'](_0xa6bd3c,_0x3bd8f2,_0x26a000){var _0x1fea1e=_0x1889b1;return this[_0x1fea1e(0x143)][_0x1fea1e(0x12e)](c[_0x1fea1e(0x134)])[_0x1fea1e(0x11c)](_0xa6bd3c,_0x3bd8f2,_0x26a000);}[_0x1889b1(0x13e)](_0x318854,_0xa38c86,_0x599b5e){var _0x49c53c=_0x1889b1;return this['_injector'][_0x49c53c(0x12e)](c[_0x49c53c(0x134)])[_0x49c53c(0x13d)](_0x318854,_0xa38c86,_0x599b5e);}}l[_0x1889b1(0x119)][_0x1889b1(0x141)](u);