@univerjs-pro/collaboration-client 0.9.2 → 0.9.3-nightly.202507250750

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 (55) 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 -0
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -0
  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 -0
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -0
  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 -0
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -0
  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/types/config/config.d.ts +0 -20
  38. package/lib/types/index.d.ts +1 -13
  39. package/lib/types/locale/ca-ES.d.ts +3 -0
  40. package/lib/types/locale/es-ES.d.ts +3 -0
  41. package/lib/types/services/auth-server/authz-io-http.service.d.ts +0 -6
  42. package/lib/types/services/image-remote/image-io.service.d.ts +0 -4
  43. package/lib/umd/facade.js +1 -1
  44. package/lib/umd/index.js +1 -1
  45. package/lib/umd/locale/ca-ES.js +1 -0
  46. package/lib/umd/locale/en-US.js +1 -1
  47. package/lib/umd/locale/es-ES.js +1 -0
  48. package/lib/umd/locale/fa-IR.js +1 -1
  49. package/lib/umd/locale/fr-FR.js +1 -1
  50. package/lib/umd/locale/ko-KR.js +1 -1
  51. package/lib/umd/locale/ru-RU.js +1 -1
  52. package/lib/umd/locale/vi-VN.js +1 -1
  53. package/lib/umd/locale/zh-CN.js +1 -1
  54. package/lib/umd/locale/zh-TW.js +1 -1
  55. package/package.json +21 -12
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x3ba53e=_0x2491;(function(_0x1e0eca,_0xc82d52){var _0x333b15=_0x2491,_0xaa5366=_0x1e0eca();while(!![]){try{var _0x428244=-parseInt(_0x333b15(0x185))/0x1*(-parseInt(_0x333b15(0x189))/0x2)+-parseInt(_0x333b15(0x18d))/0x3+parseInt(_0x333b15(0x182))/0x4*(parseInt(_0x333b15(0x190))/0x5)+parseInt(_0x333b15(0x187))/0x6*(-parseInt(_0x333b15(0x18f))/0x7)+parseInt(_0x333b15(0x194))/0x8*(-parseInt(_0x333b15(0x188))/0x9)+-parseInt(_0x333b15(0x18a))/0xa+parseInt(_0x333b15(0x192))/0xb;if(_0x428244===_0xc82d52)break;else _0xaa5366['push'](_0xaa5366['shift']());}catch(_0x10b23f){_0xaa5366['push'](_0xaa5366['shift']());}}}(_0xf474,0xcde9c));Object[_0x3ba53e(0x16a)](exports,Symbol[_0x3ba53e(0x163)],{'value':_0x3ba53e(0x178)});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[_0x3ba53e(0x17a)],S=(_0x1f08b9,_0x111cfb,_0x3d920a,_0x2773fe)=>{var _0x559a74=_0x3ba53e;for(var _0x4efe61=_0x2773fe>0x1?void 0x0:_0x2773fe?d(_0x111cfb,_0x3d920a):_0x111cfb,_0x4dd043=_0x1f08b9[_0x559a74(0x186)]-0x1,_0x552bcc;_0x4dd043>=0x0;_0x4dd043--)(_0x552bcc=_0x1f08b9[_0x4dd043])&&(_0x4efe61=_0x552bcc(_0x4efe61)||_0x4efe61);return _0x4efe61;},s=(_0x60ce39,_0x481f0b)=>(_0xee12f3,_0x569bc5)=>_0x481f0b(_0xee12f3,_0x569bc5,_0x60ce39);exports[_0x3ba53e(0x174)]=class extends l[_0x3ba53e(0x168)]{constructor(_0x5dfe7e,_0x48f003,_0x547610,_0x40ec34,_0x473eb3){var _0x25ab52=_0x3ba53e;super(),this[_0x25ab52(0x169)]=_0x5dfe7e,this[_0x25ab52(0x18c)]=_0x48f003,this['_univerInstanceService']=_0x547610,this[_0x25ab52(0x18b)]=_0x40ec34,this[_0x25ab52(0x180)]=_0x473eb3;}async[_0x3ba53e(0x166)](){var _0x42661e=_0x3ba53e;return this[_0x42661e(0x17e)]();}async[_0x3ba53e(0x17e)](){var _0x4194e8=_0x3ba53e;throw new Error(_0x4194e8(0x177));}async['loadSheet'](_0x4d7e33){var _0x4e61ab=_0x3ba53e;return this[_0x4e61ab(0x175)](_0x4d7e33);}async[_0x3ba53e(0x175)](_0x4d7787,_0x22c6b5){var _0x169ac5=_0x3ba53e;return await this[_0x169ac5(0x18b)][_0x169ac5(0x191)](_0x4d7787,0x0,_0x22c6b5)?(await this[_0x169ac5(0x180)]['readyForCollab'](_0x4d7787),this[_0x169ac5(0x169)][_0x169ac5(0x172)](_0x4d7787)):null;}[_0x3ba53e(0x170)](_0xe6a751,_0x4769df){var _0x26b37d=_0x3ba53e;const _0x393570=this[_0x26b37d(0x18c)][_0x26b37d(0x16b)](c[_0x26b37d(0x181)])[_0x26b37d(0x167)](_0xe6a751)[_0x26b37d(0x17c)](b[_0x26b37d(0x165)](_0x5cdf3b=>_0x5cdf3b[_0x26b37d(0x184)]))[_0x26b37d(0x17d)](_0x456635=>_0x4769df(Array[_0x26b37d(0x16d)](_0x456635[_0x26b37d(0x16c)]())));return n[_0x26b37d(0x179)](_0x393570);}},exports[_0x3ba53e(0x174)]=S([s(0x1,n[_0x3ba53e(0x16f)](n['Injector'])),s(0x2,n[_0x3ba53e(0x193)]),s(0x3,n['Inject'](h[_0x3ba53e(0x16e)])),s(0x4,n[_0x3ba53e(0x16f)](c[_0x3ba53e(0x164)]))],exports[_0x3ba53e(0x174)]);class u extends l[_0x3ba53e(0x173)]{['getCollaboration'](){var _0x35b2a4=_0x3ba53e;return this['_injector']['createInstance'](exports[_0x35b2a4(0x174)],{'getUniverSheet':_0x1e149a=>this['getUniverSheet'](_0x1e149a)});}[_0x3ba53e(0x176)](_0x971bdb,_0x49b4c1,_0x4e40af){var _0x5a539c=_0x3ba53e;return this[_0x5a539c(0x18c)][_0x5a539c(0x16b)](c[_0x5a539c(0x183)])[_0x5a539c(0x17b)](_0x971bdb,_0x49b4c1,_0x4e40af);}[_0x3ba53e(0x171)](_0x4b098f,_0x5e326d,_0x865e71){var _0x37bb02=_0x3ba53e;return this['_injector']['get'](c['DataLoaderService'])[_0x37bb02(0x18e)](_0x4b098f,_0x5e326d,_0x865e71);}}l['FUniver'][_0x3ba53e(0x17f)](u);function _0x2491(_0x33fb87,_0x27f925){var _0xf474bb=_0xf474();return _0x2491=function(_0x249119,_0x26358e){_0x249119=_0x249119-0x163;var _0x247391=_0xf474bb[_0x249119];return _0x247391;},_0x2491(_0x33fb87,_0x27f925);}function _0xf474(){var _0x5c7f09=['switchMap','loadActiveSheet','waitForRoom$','FBase','_handler','defineProperty','get','values','from','SnapshotService','Inject','subscribeCollaborators','loadServerUnitOfRevision','getUniverSheet','FUniver','FCollaboration','loadSheetAsync','loadServerUnit','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','Module','toDisposable','getOwnPropertyDescriptor','loadUnit','pipe','subscribe','loadActiveSheetAsync','extend','_collaborationController','MemberService','112rXfUYv','DataLoaderService','members$','1051728cgmXgA','length','1530GIwKcJ','11700kGKasb','2KMVDXO','11141270doNZIK','_snapshotService','_injector','4638228lxPiFS','loadUnitOfRevision','14511MyIsXZ','125525izwaqs','loadSheet','41941570jEdDWT','IUniverInstanceService','9448LQkNhs','toStringTag','CollaborationController'];_0xf474=function(){return _0x5c7f09;};return _0xf474();}
1
+ 'use strict';var _0x340334=_0x1eb5;(function(_0x58f01f,_0x3a794d){var _0x10b44d=_0x1eb5,_0x26cae8=_0x58f01f();while(!![]){try{var _0x11f91e=parseInt(_0x10b44d(0x167))/0x1+-parseInt(_0x10b44d(0x16a))/0x2*(-parseInt(_0x10b44d(0x18a))/0x3)+-parseInt(_0x10b44d(0x18b))/0x4+parseInt(_0x10b44d(0x177))/0x5*(-parseInt(_0x10b44d(0x18c))/0x6)+parseInt(_0x10b44d(0x176))/0x7*(parseInt(_0x10b44d(0x174))/0x8)+-parseInt(_0x10b44d(0x172))/0x9*(-parseInt(_0x10b44d(0x163))/0xa)+-parseInt(_0x10b44d(0x184))/0xb*(parseInt(_0x10b44d(0x17e))/0xc);if(_0x11f91e===_0x3a794d)break;else _0x26cae8['push'](_0x26cae8['shift']());}catch(_0x3210e6){_0x26cae8['push'](_0x26cae8['shift']());}}}(_0x5cf1,0x84996));Object[_0x340334(0x17c)](exports,Symbol[_0x340334(0x17b)],{'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[_0x340334(0x18e)],S=(_0x228f70,_0x7143d1,_0x2c3e17,_0x1be9b6)=>{var _0x132dce=_0x340334;for(var _0x37ded1=_0x1be9b6>0x1?void 0x0:_0x1be9b6?d(_0x7143d1,_0x2c3e17):_0x7143d1,_0x74f11c=_0x228f70[_0x132dce(0x178)]-0x1,_0xd02829;_0x74f11c>=0x0;_0x74f11c--)(_0xd02829=_0x228f70[_0x74f11c])&&(_0x37ded1=_0xd02829(_0x37ded1)||_0x37ded1);return _0x37ded1;},s=(_0x81e45d,_0x2d92f8)=>(_0x48c651,_0x3f9a70)=>_0x2d92f8(_0x48c651,_0x3f9a70,_0x81e45d);function _0x1eb5(_0x560e87,_0x144ea7){var _0x5cf1c0=_0x5cf1();return _0x1eb5=function(_0x1eb5b6,_0x18a508){_0x1eb5b6=_0x1eb5b6-0x163;var _0x369629=_0x5cf1c0[_0x1eb5b6];return _0x369629;},_0x1eb5(_0x560e87,_0x144ea7);}exports['FCollaboration']=class extends l[_0x340334(0x18d)]{constructor(_0x551b9a,_0xabdd4a,_0x37b435,_0x3f469e,_0x225893){var _0xdc5209=_0x340334;super(),this[_0xdc5209(0x169)]=_0x551b9a,this[_0xdc5209(0x17d)]=_0xabdd4a,this[_0xdc5209(0x16c)]=_0x37b435,this[_0xdc5209(0x166)]=_0x3f469e,this[_0xdc5209(0x16b)]=_0x225893;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async['loadActiveSheetAsync'](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x340334(0x189)](_0x210101){var _0x2c2bf9=_0x340334;return this[_0x2c2bf9(0x173)](_0x210101);}async[_0x340334(0x173)](_0x19e146,_0x1a583d){var _0x54c987=_0x340334;return await this['_snapshotService'][_0x54c987(0x189)](_0x19e146,0x0,_0x1a583d)?(await this[_0x54c987(0x16b)]['readyForCollab'](_0x19e146),this[_0x54c987(0x169)]['getUniverSheet'](_0x19e146)):null;}['subscribeCollaborators'](_0x442e24,_0x4e81e4){var _0x46f478=_0x340334;const _0x259877=this['_injector'][_0x46f478(0x188)](c[_0x46f478(0x168)])[_0x46f478(0x185)](_0x442e24)['pipe'](b[_0x46f478(0x18f)](_0x51ae3b=>_0x51ae3b['members$']))[_0x46f478(0x16d)](_0x1b7217=>_0x4e81e4(Array[_0x46f478(0x170)](_0x1b7217[_0x46f478(0x175)]())));return n[_0x46f478(0x187)](_0x259877);}},exports[_0x340334(0x17a)]=S([s(0x1,n[_0x340334(0x186)](n[_0x340334(0x16e)])),s(0x2,n[_0x340334(0x16f)]),s(0x3,n[_0x340334(0x186)](h[_0x340334(0x179)])),s(0x4,n[_0x340334(0x186)](c[_0x340334(0x17f)]))],exports['FCollaboration']);class u extends l[_0x340334(0x180)]{[_0x340334(0x164)](){var _0x142db5=_0x340334;return this['_injector']['createInstance'](exports[_0x142db5(0x17a)],{'getUniverSheet':_0x396637=>this['getUniverSheet'](_0x396637)});}['loadServerUnit'](_0x5648ec,_0x573b7b,_0x47edb0){var _0x55b0ca=_0x340334;return this[_0x55b0ca(0x17d)][_0x55b0ca(0x188)](c['DataLoaderService'])[_0x55b0ca(0x182)](_0x5648ec,_0x573b7b,_0x47edb0);}[_0x340334(0x183)](_0x124c05,_0x538cae,_0x18fe77){var _0x305d62=_0x340334;return this[_0x305d62(0x17d)]['get'](c[_0x305d62(0x181)])[_0x305d62(0x165)](_0x124c05,_0x538cae,_0x18fe77);}}l[_0x340334(0x180)][_0x340334(0x171)](u);function _0x5cf1(){var _0x39b50e=['waitForRoom$','Inject','toDisposable','get','loadSheet','2665149BtuCjL','1521428RFGyuw','20742NyKkVL','FBase','getOwnPropertyDescriptor','switchMap','30HMpIoE','getCollaboration','loadUnitOfRevision','_snapshotService','795509smuNNI','MemberService','_handler','2OHmQvj','_collaborationController','_univerInstanceService','subscribe','Injector','IUniverInstanceService','from','extend','1435914XnjXfo','loadSheetAsync','239776kMxyUp','values','7dQDWwC','950wwkOUV','length','SnapshotService','FCollaboration','toStringTag','defineProperty','_injector','29268VMDpsV','CollaborationController','FUniver','DataLoaderService','loadUnit','loadServerUnitOfRevision','2761cGZhoK'];_0x5cf1=function(){return _0x39b50e;};return _0x5cf1();}