@univerjs-pro/collaboration-client 0.9.2 → 0.9.3

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 (51) 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/locale/ca-ES.d.ts +3 -0
  38. package/lib/types/locale/es-ES.d.ts +3 -0
  39. package/lib/umd/facade.js +1 -1
  40. package/lib/umd/index.js +1 -1
  41. package/lib/umd/locale/ca-ES.js +1 -0
  42. package/lib/umd/locale/en-US.js +1 -1
  43. package/lib/umd/locale/es-ES.js +1 -0
  44. package/lib/umd/locale/fa-IR.js +1 -1
  45. package/lib/umd/locale/fr-FR.js +1 -1
  46. package/lib/umd/locale/ko-KR.js +1 -1
  47. package/lib/umd/locale/ru-RU.js +1 -1
  48. package/lib/umd/locale/vi-VN.js +1 -1
  49. package/lib/umd/locale/zh-CN.js +1 -1
  50. package/lib/umd/locale/zh-TW.js +1 -1
  51. package/package.json +11 -11
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 _0x494271=_0x4855;function _0x1895(){var _0x4490bf=['loadUnit','CollaborationController','loadUnitOfRevision','2831040WmmBfJ','2086BhjvPH','get','IUniverInstanceService','11964420inipah','extend','members$','Inject','34374PybWXN','3402740NlJMlN','getUniverSheet','length','DataLoaderService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','318390RfYwcg','Module','waitForRoom$','1260204RJWBHm','loadServerUnitOfRevision','loadServerUnit','subscribe','SnapshotService','loadSheetAsync','1042626fElVZL','from','_injector','FUniver','_snapshotService','3WYGMbC','loadSheet','FCollaboration','getOwnPropertyDescriptor','loadActiveSheetAsync','loadActiveSheet','_univerInstanceService','_handler','getCollaboration','defineProperty','_collaborationController','switchMap','toDisposable','MemberService'];_0x1895=function(){return _0x4490bf;};return _0x1895();}(function(_0x147616,_0x19e0db){var _0x4efb1e=_0x4855,_0x207a25=_0x147616();while(!![]){try{var _0x4c778b=parseInt(_0x4efb1e(0xa2))/0x1+-parseInt(_0x4efb1e(0xa8))/0x2*(parseInt(_0x4efb1e(0xad))/0x3)+parseInt(_0x4efb1e(0x9a))/0x4+parseInt(_0x4efb1e(0x9f))/0x5+parseInt(_0x4efb1e(0x99))/0x6*(-parseInt(_0x4efb1e(0x92))/0x7)+-parseInt(_0x4efb1e(0x91))/0x8+parseInt(_0x4efb1e(0x95))/0x9;if(_0x4c778b===_0x19e0db)break;else _0x207a25['push'](_0x207a25['shift']());}catch(_0x1829ab){_0x207a25['push'](_0x207a25['shift']());}}}(_0x1895,0xe0fa8));function _0x4855(_0x3b5dbf,_0x4d5d0d){var _0x189535=_0x1895();return _0x4855=function(_0x485544,_0x248d21){_0x485544=_0x485544-0x90;var _0x8a000a=_0x189535[_0x485544];return _0x8a000a;},_0x4855(_0x3b5dbf,_0x4d5d0d);}Object[_0x494271(0xb6)](exports,Symbol['toStringTag'],{'value':_0x494271(0xa0)});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[_0x494271(0xb0)],S=(_0x26ccbc,_0xdeb0b5,_0x36fd7e,_0x1d8b66)=>{var _0x200166=_0x494271;for(var _0x3e808a=_0x1d8b66>0x1?void 0x0:_0x1d8b66?d(_0xdeb0b5,_0x36fd7e):_0xdeb0b5,_0x117061=_0x26ccbc[_0x200166(0x9c)]-0x1,_0x5cf74e;_0x117061>=0x0;_0x117061--)(_0x5cf74e=_0x26ccbc[_0x117061])&&(_0x3e808a=_0x5cf74e(_0x3e808a)||_0x3e808a);return _0x3e808a;},s=(_0x1d955e,_0x2e58eb)=>(_0x2b8e0f,_0x11e50a)=>_0x2e58eb(_0x2b8e0f,_0x11e50a,_0x1d955e);exports['FCollaboration']=class extends l['FBase']{constructor(_0x27f40d,_0x428c63,_0x1dcaf2,_0x22e013,_0x39f4ae){var _0x59abd1=_0x494271;super(),this['_handler']=_0x27f40d,this['_injector']=_0x428c63,this[_0x59abd1(0xb3)]=_0x1dcaf2,this[_0x59abd1(0xac)]=_0x22e013,this[_0x59abd1(0xb7)]=_0x39f4ae;}async[_0x494271(0xb2)](){var _0x2b939a=_0x494271;return this[_0x2b939a(0xb1)]();}async[_0x494271(0xb1)](){var _0xe8443b=_0x494271;throw new Error(_0xe8443b(0x9e));}async[_0x494271(0xae)](_0x523c6d){var _0x1c5c96=_0x494271;return this[_0x1c5c96(0xa7)](_0x523c6d);}async['loadSheetAsync'](_0x537b0,_0x337019){var _0x51bd48=_0x494271;return await this[_0x51bd48(0xac)]['loadSheet'](_0x537b0,0x0,_0x337019)?(await this[_0x51bd48(0xb7)]['readyForCollab'](_0x537b0),this[_0x51bd48(0xb4)][_0x51bd48(0x9b)](_0x537b0)):null;}['subscribeCollaborators'](_0x18eeab,_0x27692d){var _0x330201=_0x494271;const _0x26a7b7=this[_0x330201(0xaa)]['get'](c[_0x330201(0xba)])[_0x330201(0xa1)](_0x18eeab)['pipe'](b[_0x330201(0xb8)](_0xfce5c5=>_0xfce5c5[_0x330201(0x97)]))[_0x330201(0xa5)](_0x39e7c2=>_0x27692d(Array[_0x330201(0xa9)](_0x39e7c2['values']())));return n[_0x330201(0xb9)](_0x26a7b7);}},exports[_0x494271(0xaf)]=S([s(0x1,n[_0x494271(0x98)](n['Injector'])),s(0x2,n[_0x494271(0x94)]),s(0x3,n[_0x494271(0x98)](h[_0x494271(0xa6)])),s(0x4,n[_0x494271(0x98)](c[_0x494271(0xbc)]))],exports[_0x494271(0xaf)]);class u extends l[_0x494271(0xab)]{[_0x494271(0xb5)](){var _0x2d9d79=_0x494271;return this[_0x2d9d79(0xaa)]['createInstance'](exports[_0x2d9d79(0xaf)],{'getUniverSheet':_0x4caf97=>this['getUniverSheet'](_0x4caf97)});}[_0x494271(0xa4)](_0x5abb1c,_0x382644,_0xfcac6a){var _0x53e3ef=_0x494271;return this['_injector'][_0x53e3ef(0x93)](c[_0x53e3ef(0x9d)])[_0x53e3ef(0xbb)](_0x5abb1c,_0x382644,_0xfcac6a);}[_0x494271(0xa3)](_0x4b77e9,_0x21e2b8,_0x4aa3dd){var _0x375d45=_0x494271;return this[_0x375d45(0xaa)]['get'](c[_0x375d45(0x9d)])[_0x375d45(0x90)](_0x4b77e9,_0x21e2b8,_0x4aa3dd);}}l[_0x494271(0xab)][_0x494271(0x96)](u);