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

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 _0x15b027=_0x4b00;(function(_0x2e2905,_0x26f7d2){var _0x24484f=_0x4b00,_0x4204bf=_0x2e2905();while(!![]){try{var _0x1bb6af=parseInt(_0x24484f(0x1fa))/0x1+parseInt(_0x24484f(0x1ed))/0x2*(-parseInt(_0x24484f(0x1f5))/0x3)+-parseInt(_0x24484f(0x1cf))/0x4+-parseInt(_0x24484f(0x1f1))/0x5*(-parseInt(_0x24484f(0x1de))/0x6)+parseInt(_0x24484f(0x1fc))/0x7*(-parseInt(_0x24484f(0x1da))/0x8)+parseInt(_0x24484f(0x1f4))/0x9+-parseInt(_0x24484f(0x1e2))/0xa*(-parseInt(_0x24484f(0x1f9))/0xb);if(_0x1bb6af===_0x26f7d2)break;else _0x4204bf['push'](_0x4204bf['shift']());}catch(_0x491960){_0x4204bf['push'](_0x4204bf['shift']());}}}(_0x1dbe,0xbc61b));function _0x1dbe(){var _0x43c041=['SnapshotService','614qnIFpH','_univerInstanceService','createInstance','rxjs','532010UumKGR','FCollaboration','@univerjs/core','9775458WzqwHX','9573PpSgSF','_injector','Module','defineProperty','797423WvvUdI','325506TbkSrx','getCollaboration','445277wROYAJ','loadSheetAsync','IUniverInstanceService','values','@univerjs-pro/collaboration','get','602016YWlcUC','waitForRoom$','members$','_handler','loadSheet','getOwnPropertyDescriptor','loadActiveSheet','MemberService','@univerjs-pro/collaboration-client','toStringTag','switchMap','136EJzjlE','@univerjs/core/facade','DataLoaderService','subscribe','60wkAyWG','pipe','FUniver','Inject','70VBFbEF','toDisposable','subscribeCollaborators','readyForCollab','loadActiveSheetAsync','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','_snapshotService','from','_collaborationController','loadUnit'];_0x1dbe=function(){return _0x43c041;};return _0x1dbe();}Object[_0x15b027(0x1f8)](exports,Symbol[_0x15b027(0x1d8)],{'value':_0x15b027(0x1f7)});const c=require(_0x15b027(0x1d7)),l=require(_0x15b027(0x1db)),h=require(_0x15b027(0x1cd)),n=require(_0x15b027(0x1f3)),b=require(_0x15b027(0x1f0));function _0x4b00(_0x230256,_0x411c05){var _0x1dbeef=_0x1dbe();return _0x4b00=function(_0x4b00e5,_0x200f17){_0x4b00e5=_0x4b00e5-0x1cb;var _0x1a726e=_0x1dbeef[_0x4b00e5];return _0x1a726e;},_0x4b00(_0x230256,_0x411c05);}var d=Object[_0x15b027(0x1d4)],S=(_0x32b9a2,_0x5ea4fb,_0x1ac073,_0x245206)=>{for(var _0x35bce0=_0x245206>0x1?void 0x0:_0x245206?d(_0x5ea4fb,_0x1ac073):_0x5ea4fb,_0x291383=_0x32b9a2['length']-0x1,_0x636dac;_0x291383>=0x0;_0x291383--)(_0x636dac=_0x32b9a2[_0x291383])&&(_0x35bce0=_0x636dac(_0x35bce0)||_0x35bce0);return _0x35bce0;},s=(_0xf62338,_0x7723f3)=>(_0x5aac9e,_0x5b5cba)=>_0x7723f3(_0x5aac9e,_0x5b5cba,_0xf62338);exports[_0x15b027(0x1f2)]=class extends l['FBase']{constructor(_0x3a2577,_0x5a5d76,_0x52d7da,_0x527c84,_0x408f0d){var _0x3940f8=_0x15b027;super(),this['_handler']=_0x3a2577,this['_injector']=_0x5a5d76,this[_0x3940f8(0x1ee)]=_0x52d7da,this[_0x3940f8(0x1e8)]=_0x527c84,this[_0x3940f8(0x1ea)]=_0x408f0d;}async[_0x15b027(0x1d5)](){var _0x3c40a4=_0x15b027;return this[_0x3c40a4(0x1e6)]();}async[_0x15b027(0x1e6)](){var _0x22969f=_0x15b027;throw new Error(_0x22969f(0x1e7));}async[_0x15b027(0x1d3)](_0x4443aa){var _0x5922b0=_0x15b027;return this[_0x5922b0(0x1fd)](_0x4443aa);}async[_0x15b027(0x1fd)](_0x3a3dae,_0x1f3156){var _0x518094=_0x15b027;return await this[_0x518094(0x1e8)]['loadSheet'](_0x3a3dae,0x0,_0x1f3156)?(await this[_0x518094(0x1ea)][_0x518094(0x1e5)](_0x3a3dae),this[_0x518094(0x1d2)]['getUniverSheet'](_0x3a3dae)):null;}[_0x15b027(0x1e4)](_0x522464,_0x2c0539){var _0x5d9eca=_0x15b027;const _0x37a6da=this[_0x5d9eca(0x1f6)][_0x5d9eca(0x1ce)](c[_0x5d9eca(0x1d6)])[_0x5d9eca(0x1d0)](_0x522464)[_0x5d9eca(0x1df)](b[_0x5d9eca(0x1d9)](_0xcd4377=>_0xcd4377[_0x5d9eca(0x1d1)]))[_0x5d9eca(0x1dd)](_0x209692=>_0x2c0539(Array[_0x5d9eca(0x1e9)](_0x209692[_0x5d9eca(0x1cc)]())));return n[_0x5d9eca(0x1e3)](_0x37a6da);}},exports[_0x15b027(0x1f2)]=S([s(0x1,n[_0x15b027(0x1e1)](n['Injector'])),s(0x2,n[_0x15b027(0x1cb)]),s(0x3,n[_0x15b027(0x1e1)](h[_0x15b027(0x1ec)])),s(0x4,n[_0x15b027(0x1e1)](c['CollaborationController']))],exports[_0x15b027(0x1f2)]);class u extends l['FUniver']{[_0x15b027(0x1fb)](){var _0x59309a=_0x15b027;return this[_0x59309a(0x1f6)][_0x59309a(0x1ef)](exports[_0x59309a(0x1f2)],{'getUniverSheet':_0x558ce4=>this['getUniverSheet'](_0x558ce4)});}['loadServerUnit'](_0x54d287,_0x941753,_0x53c608){var _0x4bca10=_0x15b027;return this[_0x4bca10(0x1f6)][_0x4bca10(0x1ce)](c['DataLoaderService'])[_0x4bca10(0x1eb)](_0x54d287,_0x941753,_0x53c608);}['loadServerUnitOfRevision'](_0x129ef9,_0x5b3aed,_0x78fec5){var _0x5641df=_0x15b027;return this['_injector'][_0x5641df(0x1ce)](c[_0x5641df(0x1dc)])['loadUnitOfRevision'](_0x129ef9,_0x5b3aed,_0x78fec5);}}l[_0x15b027(0x1e0)]['extend'](u);