@univerjs-pro/collaboration-client 0.7.0 → 0.8.0-beta.0

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';function _0xf06f(){var _0x392773=['FBase','loadActiveSheet','@univerjs-pro/collaboration-client','_snapshotService','504679RNvaFn','FCollaboration','@univerjs/core','members$','loadUnit','Inject','readyForCollab','7874750MprWiw','loadActiveSheetAsync','get','switchMap','loadSheet','toStringTag','899412XOYnwr','1502170sSOsKQ','loadSheetAsync','loadServerUnit','getUniverSheet','getCollaboration','FUniver','DataLoaderService','8665DjVNwj','1944774uWOcAF','MemberService','_handler','subscribe','3snRDFE','4496920ufbNyF','toDisposable','extend','subscribeCollaborators','1074jKIgCn','24PHUfzA','_injector','pipe','@univerjs/core/facade','defineProperty','loadServerUnitOfRevision','rxjs','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','_univerInstanceService','@univerjs-pro/collaboration','createInstance','_collaborationController','Injector'];_0xf06f=function(){return _0x392773;};return _0xf06f();}var _0x348975=_0x1bab;(function(_0x53968e,_0x279005){var _0x4ee67c=_0x1bab,_0x1fc351=_0x53968e();while(!![]){try{var _0x30381a=parseInt(_0x4ee67c(0x1f1))/0x1+-parseInt(_0x4ee67c(0x1f0))/0x2*(-parseInt(_0x4ee67c(0x1fd))/0x3)+-parseInt(_0x4ee67c(0x1cd))/0x4+-parseInt(_0x4ee67c(0x1f8))/0x5*(-parseInt(_0x4ee67c(0x1d1))/0x6)+parseInt(_0x4ee67c(0x1e3))/0x7*(parseInt(_0x4ee67c(0x1d2))/0x8)+parseInt(_0x4ee67c(0x1f9))/0x9+-parseInt(_0x4ee67c(0x1ea))/0xa;if(_0x30381a===_0x279005)break;else _0x1fc351['push'](_0x1fc351['shift']());}catch(_0x333b8b){_0x1fc351['push'](_0x1fc351['shift']());}}}(_0xf06f,0xbf1a3));Object[_0x348975(0x1d6)](exports,Symbol[_0x348975(0x1ef)],{'value':'Module'});function _0x1bab(_0x5196cd,_0x497c76){var _0xf06f14=_0xf06f();return _0x1bab=function(_0x1babc4,_0x13890a){_0x1babc4=_0x1babc4-0x1cd;var _0x3c5216=_0xf06f14[_0x1babc4];return _0x3c5216;},_0x1bab(_0x5196cd,_0x497c76);}const c=require(_0x348975(0x1e1)),l=require(_0x348975(0x1d5)),h=require(_0x348975(0x1db)),n=require(_0x348975(0x1e5)),b=require(_0x348975(0x1d8));var d=Object['getOwnPropertyDescriptor'],S=(_0x5991eb,_0x277f7a,_0x2d1d84,_0x46113f)=>{for(var _0x5ba370=_0x46113f>0x1?void 0x0:_0x46113f?d(_0x277f7a,_0x2d1d84):_0x277f7a,_0x24639d=_0x5991eb['length']-0x1,_0x3eaae2;_0x24639d>=0x0;_0x24639d--)(_0x3eaae2=_0x5991eb[_0x24639d])&&(_0x5ba370=_0x3eaae2(_0x5ba370)||_0x5ba370);return _0x5ba370;},s=(_0x187ccb,_0x3c8c30)=>(_0x443664,_0x4d2a14)=>_0x3c8c30(_0x443664,_0x4d2a14,_0x187ccb);exports[_0x348975(0x1e4)]=class extends l[_0x348975(0x1df)]{constructor(_0x2f4336,_0x47321f,_0x450e75,_0x128c06,_0x4ef454){var _0x4f6a48=_0x348975;super(),this[_0x4f6a48(0x1fb)]=_0x2f4336,this[_0x4f6a48(0x1d3)]=_0x47321f,this[_0x4f6a48(0x1da)]=_0x450e75,this[_0x4f6a48(0x1e2)]=_0x128c06,this[_0x4f6a48(0x1dd)]=_0x4ef454;}async[_0x348975(0x1e0)](){var _0x5d3b79=_0x348975;return this[_0x5d3b79(0x1eb)]();}async[_0x348975(0x1eb)](){var _0x13b32c=_0x348975;throw new Error(_0x13b32c(0x1d9));}async[_0x348975(0x1ee)](_0x2c85dd){var _0x33302c=_0x348975;return this[_0x33302c(0x1f2)](_0x2c85dd);}async[_0x348975(0x1f2)](_0x2efc2a,_0xacd767){var _0x59ed68=_0x348975;return await this[_0x59ed68(0x1e2)][_0x59ed68(0x1ee)](_0x2efc2a,0x0,_0xacd767)?(await this[_0x59ed68(0x1dd)][_0x59ed68(0x1e9)](_0x2efc2a),this[_0x59ed68(0x1fb)][_0x59ed68(0x1f4)](_0x2efc2a)):null;}[_0x348975(0x1d0)](_0x2cd52a,_0x5170a8){var _0x300baf=_0x348975;const _0x244dcf=this[_0x300baf(0x1d3)]['get'](c[_0x300baf(0x1fa)])['waitForRoom$'](_0x2cd52a)[_0x300baf(0x1d4)](b[_0x300baf(0x1ed)](_0x2ed316=>_0x2ed316[_0x300baf(0x1e6)]))[_0x300baf(0x1fc)](_0x1873fe=>_0x5170a8(Array['from'](_0x1873fe['values']())));return n[_0x300baf(0x1ce)](_0x244dcf);}},exports[_0x348975(0x1e4)]=S([s(0x1,n['Inject'](n[_0x348975(0x1de)])),s(0x2,n['IUniverInstanceService']),s(0x3,n[_0x348975(0x1e8)](h['SnapshotService'])),s(0x4,n[_0x348975(0x1e8)](c['CollaborationController']))],exports['FCollaboration']);class u extends l[_0x348975(0x1f6)]{[_0x348975(0x1f5)](){var _0x12f7ce=_0x348975;return this[_0x12f7ce(0x1d3)][_0x12f7ce(0x1dc)](exports[_0x12f7ce(0x1e4)],{'getUniverSheet':_0x3eb984=>this[_0x12f7ce(0x1f4)](_0x3eb984)});}[_0x348975(0x1f3)](_0x50e66,_0x123b4a,_0x28962c){var _0x2d312e=_0x348975;return this[_0x2d312e(0x1d3)][_0x2d312e(0x1ec)](c[_0x2d312e(0x1f7)])[_0x2d312e(0x1e7)](_0x50e66,_0x123b4a,_0x28962c);}[_0x348975(0x1d7)](_0xf3fd5b,_0x473aad,_0x32fe59){var _0x524232=_0x348975;return this['_injector'][_0x524232(0x1ec)](c[_0x524232(0x1f7)])['loadUnitOfRevision'](_0xf3fd5b,_0x473aad,_0x32fe59);}}l[_0x348975(0x1f6)][_0x348975(0x1cf)](u);