@univerjs-pro/collaboration-client 0.7.0 → 0.8.0-nightly.202505261607

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/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/locale/en-US.d.ts +42 -2
  32. package/lib/types/locale/fa-IR.d.ts +2 -2
  33. package/lib/types/locale/fr-FR.d.ts +2 -2
  34. package/lib/types/locale/ru-RU.d.ts +2 -2
  35. package/lib/types/locale/vi-VN.d.ts +2 -2
  36. package/lib/types/locale/zh-CN.d.ts +3 -43
  37. package/lib/types/locale/zh-TW.d.ts +2 -2
  38. package/lib/types/services/data-loader/data-loader.service.d.ts +1 -2
  39. package/lib/types/services/snapshot-server/snapshot-server.service.d.ts +1 -0
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/en-US.js +1 -1
  43. package/lib/umd/locale/fa-IR.js +1 -1
  44. package/lib/umd/locale/fr-FR.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 +12 -13
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x51c909=_0xa673;(function(_0x243cc4,_0x2b81e0){var _0x26e7cf=_0xa673,_0x128289=_0x243cc4();while(!![]){try{var _0x33135c=parseInt(_0x26e7cf(0x174))/0x1+-parseInt(_0x26e7cf(0x188))/0x2+parseInt(_0x26e7cf(0x172))/0x3*(parseInt(_0x26e7cf(0x18a))/0x4)+-parseInt(_0x26e7cf(0x180))/0x5+-parseInt(_0x26e7cf(0x17c))/0x6+parseInt(_0x26e7cf(0x19a))/0x7+parseInt(_0x26e7cf(0x194))/0x8;if(_0x33135c===_0x2b81e0)break;else _0x128289['push'](_0x128289['shift']());}catch(_0x14de0c){_0x128289['push'](_0x128289['shift']());}}}(_0x126c,0x79f4b));function _0x126c(){var _0x71e9f1=['subscribe','53460DxmMXU','loadServerUnit','getUniverSheet','waitForRoom$','_snapshotService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','getCollaboration','Injector','get','@univerjs-pro/collaboration','8981032egjzPf','toDisposable','FCollaboration','FUniver','loadSheetAsync','loadSheet','4416496iwhIkf','_injector','Inject','@univerjs/core/facade','CollaborationController','@univerjs-pro/collaboration-client','27jPoSSc','switchMap','766035TOYqkm','from','values','loadActiveSheetAsync','readyForCollab','subscribeCollaborators','MemberService','toStringTag','5482980BTilwK','defineProperty','rxjs','_univerInstanceService','2611395OQhQeM','SnapshotService','createInstance','IUniverInstanceService','_collaborationController','loadActiveSheet','DataLoaderService','getOwnPropertyDescriptor','1408474OsoknF'];_0x126c=function(){return _0x71e9f1;};return _0x126c();}function _0xa673(_0xebd5ac,_0x22c537){var _0x126cc8=_0x126c();return _0xa673=function(_0xa67362,_0x41af21){_0xa67362=_0xa67362-0x172;var _0x2cbf23=_0x126cc8[_0xa67362];return _0x2cbf23;},_0xa673(_0xebd5ac,_0x22c537);}Object[_0x51c909(0x17d)](exports,Symbol[_0x51c909(0x17b)],{'value':'Module'});const c=require(_0x51c909(0x19f)),l=require(_0x51c909(0x19d)),v=require(_0x51c909(0x193)),i=require('@univerjs/core'),b=require(_0x51c909(0x17e));var S=Object[_0x51c909(0x187)],d=(_0x2ac57c,_0x4117ef,_0x1223a8,_0x455b68)=>{for(var _0x565f01=_0x455b68>0x1?void 0x0:_0x455b68?S(_0x4117ef,_0x1223a8):_0x4117ef,_0x45746c=_0x2ac57c['length']-0x1,_0x52a109;_0x45746c>=0x0;_0x45746c--)(_0x52a109=_0x2ac57c[_0x45746c])&&(_0x565f01=_0x52a109(_0x565f01)||_0x565f01);return _0x565f01;},s=(_0x361c8c,_0x36a032)=>(_0x12259b,_0x141c28)=>_0x36a032(_0x12259b,_0x141c28,_0x361c8c);exports[_0x51c909(0x196)]=class extends l['FBase']{constructor(_0x3b174d,_0x4f81ec,_0x51d121,_0x47e001,_0x4bfb26){var _0x3e2525=_0x51c909;super(),this['_handler']=_0x3b174d,this[_0x3e2525(0x19b)]=_0x4f81ec,this[_0x3e2525(0x17f)]=_0x51d121,this[_0x3e2525(0x18e)]=_0x47e001,this[_0x3e2525(0x184)]=_0x4bfb26;}async[_0x51c909(0x185)](){var _0x5191f9=_0x51c909;return this[_0x5191f9(0x177)]();}async[_0x51c909(0x177)](){var _0x26af80=_0x51c909;throw new Error(_0x26af80(0x18f));}async[_0x51c909(0x199)](_0x2805c8){return this['loadSheetAsync'](_0x2805c8);}async[_0x51c909(0x198)](_0x4e151e,_0x12a7a0){var _0x415318=_0x51c909;return await this[_0x415318(0x18e)][_0x415318(0x199)](_0x4e151e,0x0,_0x12a7a0)?(await this[_0x415318(0x184)][_0x415318(0x178)](_0x4e151e),this['_handler'][_0x415318(0x18c)](_0x4e151e)):null;}[_0x51c909(0x179)](_0x35dc17,_0xaf868c){var _0x49d21e=_0x51c909;const _0x3d8360=this['_injector'][_0x49d21e(0x192)](c[_0x49d21e(0x17a)])[_0x49d21e(0x18d)](_0x35dc17)['pipe'](b[_0x49d21e(0x173)](_0x153884=>_0x153884['members$']))[_0x49d21e(0x189)](_0x383f76=>_0xaf868c(Array[_0x49d21e(0x175)](_0x383f76[_0x49d21e(0x176)]())));return i[_0x49d21e(0x195)](_0x3d8360);}},exports['FCollaboration']=d([s(0x1,i['Inject'](i[_0x51c909(0x191)])),s(0x2,i[_0x51c909(0x183)]),s(0x3,i[_0x51c909(0x19c)](v[_0x51c909(0x181)])),s(0x4,i[_0x51c909(0x19c)](c[_0x51c909(0x19e)]))],exports['FCollaboration']);class u extends l[_0x51c909(0x197)]{[_0x51c909(0x190)](){var _0x48fb1d=_0x51c909;return this[_0x48fb1d(0x19b)]['createInstance'](exports[_0x48fb1d(0x196)],{'getUniverSheet':_0x92a31a=>this[_0x48fb1d(0x18c)](_0x92a31a)});}[_0x51c909(0x18b)](_0x1f3b02,_0x3a8dd3,_0x41b19d){var _0xaa8a42=_0x51c909;return this[_0xaa8a42(0x19b)][_0xaa8a42(0x182)](c[_0xaa8a42(0x186)])['loadUnit'](_0x1f3b02,_0x3a8dd3,_0x41b19d);}}l[_0x51c909(0x197)]['extend'](u);
1
+ 'use strict';var _0x33a2f4=_0x53a2;(function(_0xf35b1c,_0x4d2bd0){var _0x2d5e92=_0x53a2,_0x4bc023=_0xf35b1c();while(!![]){try{var _0xac0c36=-parseInt(_0x2d5e92(0x1ca))/0x1+-parseInt(_0x2d5e92(0x1ef))/0x2*(parseInt(_0x2d5e92(0x1e4))/0x3)+-parseInt(_0x2d5e92(0x1f3))/0x4+-parseInt(_0x2d5e92(0x1d5))/0x5+-parseInt(_0x2d5e92(0x1e9))/0x6+-parseInt(_0x2d5e92(0x1de))/0x7+parseInt(_0x2d5e92(0x1ee))/0x8*(parseInt(_0x2d5e92(0x1f7))/0x9);if(_0xac0c36===_0x4d2bd0)break;else _0x4bc023['push'](_0x4bc023['shift']());}catch(_0x2df8de){_0x4bc023['push'](_0x4bc023['shift']());}}}(_0x4ac8,0xb98fb));function _0x4ac8(){var _0x534a69=['FUniver','531610LYeuSW','length','loadSheetAsync','@univerjs/core/facade','_snapshotService','subscribe','_handler','FCollaboration','_injector','8055600EcGPik','_univerInstanceService','values','@univerjs/core','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','extend','114573Thkdpb','switchMap','subscribeCollaborators','loadServerUnit','SnapshotService','3245742MvRPVn','defineProperty','members$','getCollaboration','CollaborationController','41451976cDFXaH','78UNeqNY','DataLoaderService','loadUnit','MemberService','2127856nSVOBa','loadActiveSheetAsync','loadSheet','Injector','9LBrOZP','601946iMsAZW','Module','@univerjs-pro/collaboration','Inject','getUniverSheet','loadUnitOfRevision','@univerjs-pro/collaboration-client','_collaborationController','get','getOwnPropertyDescriptor'];_0x4ac8=function(){return _0x534a69;};return _0x4ac8();}function _0x53a2(_0x3301c9,_0x222d16){var _0x4ac8a6=_0x4ac8();return _0x53a2=function(_0x53a250,_0x4a1e0d){_0x53a250=_0x53a250-0x1ca;var _0x60ecfd=_0x4ac8a6[_0x53a250];return _0x60ecfd;},_0x53a2(_0x3301c9,_0x222d16);}Object[_0x33a2f4(0x1ea)](exports,Symbol['toStringTag'],{'value':_0x33a2f4(0x1cb)});const c=require(_0x33a2f4(0x1d0)),l=require(_0x33a2f4(0x1d8)),h=require(_0x33a2f4(0x1cc)),n=require(_0x33a2f4(0x1e1)),b=require('rxjs');var d=Object[_0x33a2f4(0x1d3)],S=(_0x1fc184,_0x577c59,_0x1cddef,_0x4b874f)=>{var _0x314868=_0x33a2f4;for(var _0x51b5e6=_0x4b874f>0x1?void 0x0:_0x4b874f?d(_0x577c59,_0x1cddef):_0x577c59,_0x1b1654=_0x1fc184[_0x314868(0x1d6)]-0x1,_0x16d338;_0x1b1654>=0x0;_0x1b1654--)(_0x16d338=_0x1fc184[_0x1b1654])&&(_0x51b5e6=_0x16d338(_0x51b5e6)||_0x51b5e6);return _0x51b5e6;},s=(_0x2edb75,_0xef834b)=>(_0x2a0bc2,_0x527dac)=>_0xef834b(_0x2a0bc2,_0x527dac,_0x2edb75);exports['FCollaboration']=class extends l['FBase']{constructor(_0x55a1e0,_0x5bb355,_0x31d2c9,_0x93a2a3,_0x46b94b){var _0x545fc3=_0x33a2f4;super(),this[_0x545fc3(0x1db)]=_0x55a1e0,this[_0x545fc3(0x1dd)]=_0x5bb355,this[_0x545fc3(0x1df)]=_0x31d2c9,this[_0x545fc3(0x1d9)]=_0x93a2a3,this[_0x545fc3(0x1d1)]=_0x46b94b;}async['loadActiveSheet'](){var _0x1451be=_0x33a2f4;return this[_0x1451be(0x1f4)]();}async[_0x33a2f4(0x1f4)](){var _0x2c9771=_0x33a2f4;throw new Error(_0x2c9771(0x1e2));}async[_0x33a2f4(0x1f5)](_0x2e06ad){var _0x426c52=_0x33a2f4;return this[_0x426c52(0x1d7)](_0x2e06ad);}async['loadSheetAsync'](_0x4ea1d1,_0x4f9247){var _0x18dac7=_0x33a2f4;return await this[_0x18dac7(0x1d9)][_0x18dac7(0x1f5)](_0x4ea1d1,0x0,_0x4f9247)?(await this[_0x18dac7(0x1d1)]['readyForCollab'](_0x4ea1d1),this[_0x18dac7(0x1db)][_0x18dac7(0x1ce)](_0x4ea1d1)):null;}[_0x33a2f4(0x1e6)](_0x18026c,_0x1a4848){var _0x5e83d8=_0x33a2f4;const _0x5cf566=this[_0x5e83d8(0x1dd)]['get'](c[_0x5e83d8(0x1f2)])['waitForRoom$'](_0x18026c)['pipe'](b[_0x5e83d8(0x1e5)](_0x5a5d85=>_0x5a5d85[_0x5e83d8(0x1eb)]))[_0x5e83d8(0x1da)](_0x42ac70=>_0x1a4848(Array['from'](_0x42ac70[_0x5e83d8(0x1e0)]())));return n['toDisposable'](_0x5cf566);}},exports[_0x33a2f4(0x1dc)]=S([s(0x1,n[_0x33a2f4(0x1cd)](n[_0x33a2f4(0x1f6)])),s(0x2,n['IUniverInstanceService']),s(0x3,n[_0x33a2f4(0x1cd)](h[_0x33a2f4(0x1e8)])),s(0x4,n[_0x33a2f4(0x1cd)](c[_0x33a2f4(0x1ed)]))],exports[_0x33a2f4(0x1dc)]);class u extends l[_0x33a2f4(0x1d4)]{[_0x33a2f4(0x1ec)](){var _0x5ce19f=_0x33a2f4;return this['_injector']['createInstance'](exports[_0x5ce19f(0x1dc)],{'getUniverSheet':_0x16dcc3=>this['getUniverSheet'](_0x16dcc3)});}[_0x33a2f4(0x1e7)](_0x1cd131,_0x3f12e7,_0x41da3d){var _0x26388e=_0x33a2f4;return this[_0x26388e(0x1dd)][_0x26388e(0x1d2)](c[_0x26388e(0x1f0)])[_0x26388e(0x1f1)](_0x1cd131,_0x3f12e7,_0x41da3d);}['loadServerUnitOfRevision'](_0x90e1dc,_0x132ee1,_0xcbc91e){var _0x4fe22f=_0x33a2f4;return this[_0x4fe22f(0x1dd)]['get'](c['DataLoaderService'])[_0x4fe22f(0x1cf)](_0x90e1dc,_0x132ee1,_0xcbc91e);}}l[_0x33a2f4(0x1d4)][_0x33a2f4(0x1e3)](u);