@univerjs-pro/collaboration-client 0.12.2-nightly.202511241159 → 0.12.2-nightly.202511290905

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 (53) 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/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +11 -11
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x414756=_0xc79a;(function(_0x694595,_0x187dbb){const _0x2b40eb=_0xc79a,_0x500247=_0x694595();while(!![]){try{const _0xd5de3c=parseInt(_0x2b40eb(0x191))/0x1+-parseInt(_0x2b40eb(0x18b))/0x2+parseInt(_0x2b40eb(0x193))/0x3*(-parseInt(_0x2b40eb(0x175))/0x4)+parseInt(_0x2b40eb(0x17f))/0x5+parseInt(_0x2b40eb(0x190))/0x6*(-parseInt(_0x2b40eb(0x18d))/0x7)+-parseInt(_0x2b40eb(0x197))/0x8*(parseInt(_0x2b40eb(0x180))/0x9)+parseInt(_0x2b40eb(0x16b))/0xa;if(_0xd5de3c===_0x187dbb)break;else _0x500247['push'](_0x500247['shift']());}catch(_0x34b889){_0x500247['push'](_0x500247['shift']());}}}(_0xf1f8,0x33acd));Object[_0x414756(0x181)](exports,Symbol[_0x414756(0x174)],{'value':'Module'});const i=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),v=require('@univerjs-pro/collaboration'),s=require('@univerjs/core'),b=require('rxjs');class h extends l[_0x414756(0x17d)]{get[_0x414756(0x196)](){const _0x1201eb=_0x414756;return i[_0x1201eb(0x196)];}}l[_0x414756(0x17d)][_0x414756(0x187)](h);function _0xc79a(_0x6872b8,_0x48f44d){const _0xf1f8a9=_0xf1f8();return _0xc79a=function(_0xc79a3,_0x275343){_0xc79a3=_0xc79a3-0x168;let _0xd5cfa9=_0xf1f8a9[_0xc79a3];return _0xd5cfa9;},_0xc79a(_0x6872b8,_0x48f44d);}var d=Object[_0x414756(0x182)],S=(_0x5a1919,_0x36f162,_0x1b8871,_0x295189)=>{const _0x1043f0=_0x414756;for(var _0x31e559=_0x295189>0x1?void 0x0:_0x295189?d(_0x36f162,_0x1b8871):_0x36f162,_0x4382ae=_0x5a1919[_0x1043f0(0x168)]-0x1,_0x409212;_0x4382ae>=0x0;_0x4382ae--)(_0x409212=_0x5a1919[_0x4382ae])&&(_0x31e559=_0x409212(_0x31e559)||_0x31e559);return _0x31e559;},c=(_0x3655a4,_0x507d68)=>(_0x3a695b,_0x665806)=>_0x507d68(_0x3a695b,_0x665806,_0x3655a4);exports[_0x414756(0x194)]=class extends l[_0x414756(0x188)]{constructor(_0x457d9c,_0x225134,_0x3ff7b9,_0x20ce60,_0x9c6a4a){const _0x238bb7=_0x414756;super(),this[_0x238bb7(0x18f)]=_0x457d9c,this[_0x238bb7(0x185)]=_0x225134,this['_univerInstanceService']=_0x3ff7b9,this[_0x238bb7(0x192)]=_0x20ce60,this['_collaborationController']=_0x9c6a4a;}async[_0x414756(0x189)](){const _0x180df3=_0x414756;return this[_0x180df3(0x186)]();}async[_0x414756(0x186)](){const _0x118a75=_0x414756;throw new Error(_0x118a75(0x183));}async[_0x414756(0x17b)](_0xc6c61a){const _0x272695=_0x414756;return this[_0x272695(0x16f)](_0xc6c61a);}async[_0x414756(0x16f)](_0x418376,_0x13520f){const _0x3c42d0=_0x414756;return await this[_0x3c42d0(0x192)][_0x3c42d0(0x17b)](_0x418376,0x0,_0x13520f)?(await this[_0x3c42d0(0x169)]['readyForCollab'](_0x418376),this[_0x3c42d0(0x18f)][_0x3c42d0(0x178)](_0x418376)):null;}[_0x414756(0x173)](_0x3d3179,_0x561f96){const _0x39be2d=_0x414756,_0x5e0cd6=this['_injector'][_0x39be2d(0x195)](i[_0x39be2d(0x18c)])['waitForRoom$'](_0x3d3179)['pipe'](b[_0x39be2d(0x17e)](_0x1a6946=>_0x1a6946[_0x39be2d(0x179)]))[_0x39be2d(0x16a)](_0x490085=>_0x561f96(Array['from'](_0x490085[_0x39be2d(0x177)]())));return s['toDisposable'](_0x5e0cd6);}[_0x414756(0x198)](){const _0x532fde=_0x414756,_0x215174=this[_0x532fde(0x16e)][_0x532fde(0x17c)]();if(!_0x215174)return i[_0x532fde(0x196)][_0x532fde(0x19a)];const _0x33715f=this[_0x532fde(0x169)]['getCollabEntity'](_0x215174[_0x532fde(0x171)]());return _0x33715f?_0x33715f[_0x532fde(0x17a)][_0x532fde(0x172)]:i[_0x532fde(0x196)][_0x532fde(0x19a)];}},exports[_0x414756(0x194)]=S([c(0x1,s[_0x414756(0x18e)](s[_0x414756(0x176)])),c(0x2,s[_0x414756(0x184)]),c(0x3,s['Inject'](v['SnapshotService'])),c(0x4,s[_0x414756(0x18e)](i['CollaborationController']))],exports['FCollaboration']);class C extends l[_0x414756(0x16c)]{[_0x414756(0x18a)](){const _0x3cabc1=_0x414756;return this[_0x3cabc1(0x185)]['createInstance'](exports['FCollaboration'],{'getUniverSheet':_0x2c2535=>this[_0x3cabc1(0x178)](_0x2c2535)});}['loadServerUnit'](_0x5cba8d,_0x2b6f5b,_0x4ddd67){const _0x4d184f=_0x414756;return this[_0x4d184f(0x185)]['get'](i[_0x4d184f(0x170)])[_0x4d184f(0x199)](_0x5cba8d,_0x2b6f5b,_0x4ddd67);}[_0x414756(0x16d)](_0x2cb9f2,_0x5103a6,_0x2da530){const _0x36caa6=_0x414756;return this[_0x36caa6(0x185)][_0x36caa6(0x195)](i['DataLoaderService'])['loadUnitOfRevision'](_0x2cb9f2,_0x5103a6,_0x2da530);}}l[_0x414756(0x16c)]['extend'](C);function _0xf1f8(){const _0x3ff0be=['extend','FBase','loadActiveSheet','getCollaboration','462638cLqFFW','MemberService','18830mBBPXo','Inject','_handler','318DzIJei','411512Ylcfmm','_snapshotService','999981IwDMhj','FCollaboration','get','CollaborationStatus','24800coCeXs','getCollaborationStatus','loadUnit','NOT_COLLAB','length','_collaborationController','subscribe','4883090CjCOGL','FUniver','loadServerUnitOfRevision','_univerInstanceService','loadSheetAsync','DataLoaderService','getUnitId','status','subscribeCollaborators','toStringTag','4qIuHXv','Injector','values','getUniverSheet','members$','state','loadSheet','getFocusedUnit','FEnum','switchMap','374280qbnmtP','162eDNQsa','defineProperty','getOwnPropertyDescriptor','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','IUniverInstanceService','_injector','loadActiveSheetAsync'];_0xf1f8=function(){return _0x3ff0be;};return _0xf1f8();}
1
+ 'use strict';const _0x332c9b=_0x3c56;(function(_0x42c53a,_0x272ad4){const _0x3870b5=_0x3c56,_0x2dfe8f=_0x42c53a();while(!![]){try{const _0xf44dbe=-parseInt(_0x3870b5(0xad))/0x1+parseInt(_0x3870b5(0xb8))/0x2+parseInt(_0x3870b5(0xa6))/0x3*(-parseInt(_0x3870b5(0xa5))/0x4)+parseInt(_0x3870b5(0xb2))/0x5*(-parseInt(_0x3870b5(0xcd))/0x6)+parseInt(_0x3870b5(0xce))/0x7*(-parseInt(_0x3870b5(0xb5))/0x8)+parseInt(_0x3870b5(0xbe))/0x9*(-parseInt(_0x3870b5(0xac))/0xa)+-parseInt(_0x3870b5(0xca))/0xb*(-parseInt(_0x3870b5(0xa8))/0xc);if(_0xf44dbe===_0x272ad4)break;else _0x2dfe8f['push'](_0x2dfe8f['shift']());}catch(_0x5d3d6c){_0x2dfe8f['push'](_0x2dfe8f['shift']());}}}(_0x29a7,0x6b46a));Object['defineProperty'](exports,Symbol[_0x332c9b(0xb3)],{'value':'Module'});const i=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),v=require('@univerjs-pro/collaboration'),s=require('@univerjs/core'),b=require('rxjs');class h extends l[_0x332c9b(0xbd)]{get[_0x332c9b(0xba)](){const _0x150f36=_0x332c9b;return i[_0x150f36(0xba)];}}function _0x29a7(){const _0x552b29=['CollaborationStatus','_injector','Injector','FEnum','9YhpLxe','loadUnitOfRevision','FBase','loadServerUnitOfRevision','_snapshotService','subscribeCollaborators','FUniver','_univerInstanceService','DataLoaderService','getFocusedUnit','toDisposable','extend','11DxNKzv','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','switchMap','6qBXTfk','7ligFPJ','length','getCollaboration','_handler','createInstance','status','subscribe','SnapshotService','loadActiveSheetAsync','NOT_COLLAB','loadSheetAsync','loadServerUnit','values','4wioHtt','35955veYBpW','from','12657972MqicoI','getUnitId','loadUnit','_collaborationController','12350SVDsAC','256818zxgymf','readyForCollab','getUniverSheet','Inject','CollaborationController','3008235qhRSbL','toStringTag','loadSheet','2439400uQWyDf','FCollaboration','get','1122362fjbofa','MemberService'];_0x29a7=function(){return _0x552b29;};return _0x29a7();}l[_0x332c9b(0xbd)][_0x332c9b(0xc9)](h);var d=Object['getOwnPropertyDescriptor'],S=(_0x4336f7,_0x2352cc,_0x61afa3,_0x363938)=>{const _0x982327=_0x332c9b;for(var _0x47b6ab=_0x363938>0x1?void 0x0:_0x363938?d(_0x2352cc,_0x61afa3):_0x2352cc,_0x39faac=_0x4336f7[_0x982327(0xcf)]-0x1,_0x233431;_0x39faac>=0x0;_0x39faac--)(_0x233431=_0x4336f7[_0x39faac])&&(_0x47b6ab=_0x233431(_0x47b6ab)||_0x47b6ab);return _0x47b6ab;},c=(_0x46e385,_0x1f769b)=>(_0x286296,_0x16a49e)=>_0x1f769b(_0x286296,_0x16a49e,_0x46e385);exports['FCollaboration']=class extends l[_0x332c9b(0xc0)]{constructor(_0x3eb160,_0x3af4f9,_0x14c820,_0x1c8af5,_0x47d592){const _0x44b0a3=_0x332c9b;super(),this[_0x44b0a3(0xd1)]=_0x3eb160,this[_0x44b0a3(0xbb)]=_0x3af4f9,this[_0x44b0a3(0xc5)]=_0x14c820,this[_0x44b0a3(0xc2)]=_0x1c8af5,this[_0x44b0a3(0xab)]=_0x47d592;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async[_0x332c9b(0xa0)](){const _0xeb415e=_0x332c9b;throw new Error(_0xeb415e(0xcb));}async[_0x332c9b(0xb4)](_0x4766bf){const _0x9384f2=_0x332c9b;return this[_0x9384f2(0xa2)](_0x4766bf);}async[_0x332c9b(0xa2)](_0x122ef6,_0xf77e9f){const _0x47f738=_0x332c9b;return await this['_snapshotService']['loadSheet'](_0x122ef6,0x0,_0xf77e9f)?(await this[_0x47f738(0xab)][_0x47f738(0xae)](_0x122ef6),this[_0x47f738(0xd1)][_0x47f738(0xaf)](_0x122ef6)):null;}[_0x332c9b(0xc3)](_0x2a62ab,_0x300b33){const _0x442052=_0x332c9b,_0x4c43b0=this['_injector'][_0x442052(0xb7)](i[_0x442052(0xb9)])['waitForRoom$'](_0x2a62ab)['pipe'](b[_0x442052(0xcc)](_0x33eff0=>_0x33eff0['members$']))[_0x442052(0x9e)](_0x426f58=>_0x300b33(Array[_0x442052(0xa7)](_0x426f58[_0x442052(0xa4)]())));return s[_0x442052(0xc8)](_0x4c43b0);}['getCollaborationStatus'](){const _0x36ac91=_0x332c9b,_0x2902a4=this['_univerInstanceService'][_0x36ac91(0xc7)]();if(!_0x2902a4)return i[_0x36ac91(0xba)]['NOT_COLLAB'];const _0x221aa0=this[_0x36ac91(0xab)]['getCollabEntity'](_0x2902a4[_0x36ac91(0xa9)]());return _0x221aa0?_0x221aa0['state'][_0x36ac91(0xd3)]:i[_0x36ac91(0xba)][_0x36ac91(0xa1)];}},exports['FCollaboration']=S([c(0x1,s['Inject'](s[_0x332c9b(0xbc)])),c(0x2,s['IUniverInstanceService']),c(0x3,s[_0x332c9b(0xb0)](v[_0x332c9b(0x9f)])),c(0x4,s[_0x332c9b(0xb0)](i[_0x332c9b(0xb1)]))],exports[_0x332c9b(0xb6)]);class C extends l[_0x332c9b(0xc4)]{[_0x332c9b(0xd0)](){const _0x14b210=_0x332c9b;return this[_0x14b210(0xbb)][_0x14b210(0xd2)](exports['FCollaboration'],{'getUniverSheet':_0x1efa29=>this[_0x14b210(0xaf)](_0x1efa29)});}[_0x332c9b(0xa3)](_0xe0910a,_0x4e88e7,_0x2c96b6){const _0x2ef6a1=_0x332c9b;return this['_injector'][_0x2ef6a1(0xb7)](i[_0x2ef6a1(0xc6)])[_0x2ef6a1(0xaa)](_0xe0910a,_0x4e88e7,_0x2c96b6);}[_0x332c9b(0xc1)](_0x38880c,_0x5b6dee,_0x1dfd42){const _0x38f7d6=_0x332c9b;return this[_0x38f7d6(0xbb)]['get'](i['DataLoaderService'])[_0x38f7d6(0xbf)](_0x38880c,_0x5b6dee,_0x1dfd42);}}function _0x3c56(_0x45bfba,_0x5556fb){const _0x29a718=_0x29a7();return _0x3c56=function(_0x3c5625,_0x2c3e19){_0x3c5625=_0x3c5625-0x9e;let _0x1fa7a3=_0x29a718[_0x3c5625];return _0x1fa7a3;},_0x3c56(_0x45bfba,_0x5556fb);}l[_0x332c9b(0xc4)][_0x332c9b(0xc9)](C);