@univerjs-pro/exchange-client 0.10.12 → 0.10.13

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 (50) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +2 -2
  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/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 +2 -2
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  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.css +1 -1
  27. package/lib/index.js +2 -2
  28. package/lib/locale/ca-ES.js +1 -1
  29. package/lib/locale/en-US.js +1 -1
  30. package/lib/locale/es-ES.js +1 -1
  31. package/lib/locale/fa-IR.js +1 -1
  32. package/lib/locale/fr-FR.js +1 -1
  33. package/lib/locale/ko-KR.js +1 -1
  34. package/lib/locale/ru-RU.js +1 -1
  35. package/lib/locale/vi-VN.js +1 -1
  36. package/lib/locale/zh-CN.js +1 -1
  37. package/lib/locale/zh-TW.js +1 -1
  38. package/lib/umd/facade.js +1 -1
  39. package/lib/umd/index.js +2 -2
  40. package/lib/umd/locale/ca-ES.js +1 -1
  41. package/lib/umd/locale/en-US.js +1 -1
  42. package/lib/umd/locale/es-ES.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/ko-KR.js +1 -1
  46. package/lib/umd/locale/ru-RU.js +1 -1
  47. package/lib/umd/locale/vi-VN.js +1 -1
  48. package/lib/umd/locale/zh-CN.js +1 -1
  49. package/lib/umd/locale/zh-TW.js +1 -1
  50. package/package.json +9 -9
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x2180(){const _0x2966e1=['UNIVER_SHEET','importFileToUnitId','1503495FWhSCX','335012lvVlGb','exportXLSXBySnapshotAsync','importDOCXToUnitIdAsync','extend','exportDOCXBySnapshot','_injector','FUniver','2903772QvDOZd','UNRECOGNIZED','importXLSXToSnapshot','1623624xOHPfN','exportDOCXByUnitId','UNIVER_PROJECT','importDOCXToSnapshotAsync','UNIVER_DOC','50PFmURm','UNIVER_SLIDE','get','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshotAsync','5914088XjbCOi','IExchangeService','UNIVER_UNKNOWN','importXLSXToUnitId','importDOCXToUnitId','309100eSttKK','exportXLSXBySnapshot','8241625yCALZT','exportDOCXByUnitIdAsync','exportXLSXByUnitId','importXLSXToUnitIdAsync'];_0x2180=function(){return _0x2966e1;};return _0x2180();}const _0x423a13=_0x5b89;(function(_0x5c27c6,_0x51417c){const _0xb8d539=_0x5b89,_0x514ff8=_0x5c27c6();while(!![]){try{const _0x2f4e6f=parseInt(_0xb8d539(0xa4))/0x1+-parseInt(_0xb8d539(0x92))/0x2+-parseInt(_0xb8d539(0xac))/0x3+-parseInt(_0xb8d539(0x8b))/0x4*(-parseInt(_0xb8d539(0x9a))/0x5)+-parseInt(_0xb8d539(0x95))/0x6+parseInt(_0xb8d539(0xa6))/0x7+parseInt(_0xb8d539(0x9f))/0x8;if(_0x2f4e6f===_0x51417c)break;else _0x514ff8['push'](_0x514ff8['shift']());}catch(_0x132997){_0x514ff8['push'](_0x514ff8['shift']());}}}(_0x2180,0xccfbb));function _0x5b89(_0x1d614d,_0x17b664){const _0x2180f1=_0x2180();return _0x5b89=function(_0x5b89d4,_0x5bbe6b){_0x5b89d4=_0x5b89d4-0x8b;let _0x1f0ddb=_0x2180f1[_0x5b89d4];return _0x1f0ddb;},_0x5b89(_0x1d614d,_0x17b664);}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x410132=>(_0x410132[_0x410132[_0x423a13(0xa1)]=0x0]=_0x423a13(0xa1),_0x410132[_0x410132[_0x423a13(0x99)]=0x1]=_0x423a13(0x99),_0x410132[_0x410132['UNIVER_SHEET']=0x2]=_0x423a13(0xaa),_0x410132[_0x410132['UNIVER_SLIDE']=0x3]=_0x423a13(0x9b),_0x410132[_0x410132['UNIVER_PROJECT']=0x4]=_0x423a13(0x97),_0x410132[_0x410132[_0x423a13(0x93)]=-0x1]=_0x423a13(0x93),_0x410132))(i||{});class c extends o[_0x423a13(0x91)]{async[_0x423a13(0xa2)](_0x44f3b0){const _0x1eb520=_0x423a13;return this[_0x1eb520(0xa9)](_0x44f3b0);}async[_0x423a13(0xa9)](_0x38009b){const _0x599853=_0x423a13,_0x11152c=this['_injector'][_0x599853(0x9c)](r[_0x599853(0xa0)]);if(!_0x11152c)throw new Error(_0x599853(0x9d));return _0x11152c[_0x599853(0xab)](_0x38009b,i[_0x599853(0xaa)]);}async[_0x423a13(0x94)](_0x2126a1){const _0x4d2e40=_0x423a13;return this[_0x4d2e40(0x9e)](_0x2126a1);}async[_0x423a13(0x9e)](_0x23501a){const _0xc56f60=_0x423a13,_0x196860=this['_injector'][_0xc56f60(0x9c)](r['IExchangeService']);if(!_0x196860)throw new Error(_0xc56f60(0x9d));return _0x196860['importXLSXToSnapshot'](_0x23501a);}async[_0x423a13(0xa8)](_0x5c57f2){return this['exportXLSXByUnitIdAsync'](_0x5c57f2);}async['exportXLSXByUnitIdAsync'](_0x1d8acb){const _0x49d54d=_0x423a13,_0x82f98e=this['_injector'][_0x49d54d(0x9c)](r[_0x49d54d(0xa0)]);if(!_0x82f98e)throw new Error(_0x49d54d(0x9d));return _0x82f98e['exportXLSXByUnitId'](_0x1d8acb);}async[_0x423a13(0xa5)](_0xb108a3){return this['exportXLSXBySnapshotAsync'](_0xb108a3);}async[_0x423a13(0x8c)](_0x2a7150){const _0x83efe1=_0x423a13,_0x4fc824=this[_0x83efe1(0x90)][_0x83efe1(0x9c)](r['IExchangeService']);if(!_0x4fc824)throw new Error(_0x83efe1(0x9d));return _0x4fc824[_0x83efe1(0xa5)](_0x2a7150);}async[_0x423a13(0xa3)](_0x477fc1){const _0x4c7a9f=_0x423a13;return this[_0x4c7a9f(0x8d)](_0x477fc1);}async[_0x423a13(0x8d)](_0x2388e5){const _0x3aa081=_0x423a13,_0xb4d450=this['_injector'][_0x3aa081(0x9c)](r[_0x3aa081(0xa0)]);if(!_0xb4d450)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xb4d450['importFileToUnitId'](_0x2388e5,i[_0x3aa081(0x99)]);}async['importDOCXToSnapshot'](_0x33e58f){const _0x2f63cb=_0x423a13;return this[_0x2f63cb(0x98)](_0x33e58f);}async[_0x423a13(0x98)](_0x2680df){const _0x29d743=_0x423a13,_0xe456fc=this[_0x29d743(0x90)][_0x29d743(0x9c)](r[_0x29d743(0xa0)]);if(!_0xe456fc)throw new Error(_0x29d743(0x9d));return _0xe456fc['importDOCXToSnapshot'](_0x2680df);}async['exportDOCXBySnapshotAsync'](_0x327426){const _0x3ed187=_0x423a13,_0x4b79aa=this[_0x3ed187(0x90)][_0x3ed187(0x9c)](r[_0x3ed187(0xa0)]);if(!_0x4b79aa)throw new Error(_0x3ed187(0x9d));return _0x4b79aa[_0x3ed187(0x8f)](_0x327426);}async[_0x423a13(0xa7)](_0x28f86f){const _0x173161=_0x423a13,_0x4e4abe=this[_0x173161(0x90)][_0x173161(0x9c)](r[_0x173161(0xa0)]);if(!_0x4e4abe)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4e4abe[_0x173161(0x96)](_0x28f86f);}}o['FUniver'][_0x423a13(0x8e)](c);
1
+ 'use strict';function _0x45db(){const _0x35a614=['exportDOCXBySnapshot','importXLSXToUnitIdAsync','UNIVER_SLIDE','UNIVER_PROJECT','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitIdAsync','1165vCnLlB','_injector','exportXLSXBySnapshot','UNIVER_DOC','268253THXQXK','UNIVER_UNKNOWN','8272355bcRyAt','exportDOCXBySnapshotAsync','UNIVER_SHEET','get','FUniver','importFileToUnitId','UNRECOGNIZED','exportDOCXByUnitIdAsync','IExchangeService','6qUaBhA','importDOCXToUnitIdAsync','2023647AOTjBB','importXLSXToUnitId','exportXLSXByUnitId','11010483DdGyem','exportXLSXBySnapshotAsync','importXLSXToSnapshot','7337664WKJMFH','1900740xBJZUD','importDOCXToSnapshotAsync','7012ZhzHZR'];_0x45db=function(){return _0x35a614;};return _0x45db();}const _0x4c9074=_0x372a;(function(_0x1136ac,_0x155879){const _0x4747f4=_0x372a,_0x17602e=_0x1136ac();while(!![]){try{const _0x76338=parseInt(_0x4747f4(0x11d))/0x1*(-parseInt(_0x4747f4(0x128))/0x2)+parseInt(_0x4747f4(0x12a))/0x3+parseInt(_0x4747f4(0x112))/0x4*(parseInt(_0x4747f4(0x119))/0x5)+-parseInt(_0x4747f4(0x110))/0x6+parseInt(_0x4747f4(0x11f))/0x7+parseInt(_0x4747f4(0x10f))/0x8+-parseInt(_0x4747f4(0x10c))/0x9;if(_0x76338===_0x155879)break;else _0x17602e['push'](_0x17602e['shift']());}catch(_0x1be0fe){_0x17602e['push'](_0x17602e['shift']());}}}(_0x45db,0xcc5ab));function _0x372a(_0x608855,_0x217231){const _0x45db0a=_0x45db();return _0x372a=function(_0x372ac0,_0x3a87b7){_0x372ac0=_0x372ac0-0x10a;let _0x4111b4=_0x45db0a[_0x372ac0];return _0x4111b4;},_0x372a(_0x608855,_0x217231);}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x127b3d=>(_0x127b3d[_0x127b3d[_0x4c9074(0x11e)]=0x0]=_0x4c9074(0x11e),_0x127b3d[_0x127b3d[_0x4c9074(0x11c)]=0x1]='UNIVER_DOC',_0x127b3d[_0x127b3d[_0x4c9074(0x121)]=0x2]=_0x4c9074(0x121),_0x127b3d[_0x127b3d[_0x4c9074(0x115)]=0x3]=_0x4c9074(0x115),_0x127b3d[_0x127b3d['UNIVER_PROJECT']=0x4]=_0x4c9074(0x116),_0x127b3d[_0x127b3d[_0x4c9074(0x125)]=-0x1]=_0x4c9074(0x125),_0x127b3d))(i||{});class c extends o[_0x4c9074(0x123)]{async[_0x4c9074(0x10a)](_0x163ef2){return this['importXLSXToUnitIdAsync'](_0x163ef2);}async[_0x4c9074(0x114)](_0x1225aa){const _0x406055=_0x4c9074,_0x1b820e=this[_0x406055(0x11a)]['get'](r['IExchangeService']);if(!_0x1b820e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1b820e[_0x406055(0x124)](_0x1225aa,i['UNIVER_SHEET']);}async[_0x4c9074(0x10e)](_0x57edb9){return this['importXLSXToSnapshotAsync'](_0x57edb9);}async['importXLSXToSnapshotAsync'](_0x384ad5){const _0x534b61=_0x4c9074,_0x14de7f=this[_0x534b61(0x11a)]['get'](r[_0x534b61(0x127)]);if(!_0x14de7f)throw new Error(_0x534b61(0x117));return _0x14de7f[_0x534b61(0x10e)](_0x384ad5);}async[_0x4c9074(0x10b)](_0x4c6ae6){const _0x48502a=_0x4c9074;return this[_0x48502a(0x118)](_0x4c6ae6);}async['exportXLSXByUnitIdAsync'](_0x51ff2f){const _0xe954c4=_0x4c9074,_0x5247d6=this[_0xe954c4(0x11a)]['get'](r[_0xe954c4(0x127)]);if(!_0x5247d6)throw new Error(_0xe954c4(0x117));return _0x5247d6['exportXLSXByUnitId'](_0x51ff2f);}async[_0x4c9074(0x11b)](_0x3846f8){const _0x270151=_0x4c9074;return this[_0x270151(0x10d)](_0x3846f8);}async[_0x4c9074(0x10d)](_0x218205){const _0x494783=_0x4c9074,_0xbd168a=this[_0x494783(0x11a)][_0x494783(0x122)](r[_0x494783(0x127)]);if(!_0xbd168a)throw new Error(_0x494783(0x117));return _0xbd168a['exportXLSXBySnapshot'](_0x218205);}async['importDOCXToUnitId'](_0x8c5022){const _0x17f3ab=_0x4c9074;return this[_0x17f3ab(0x129)](_0x8c5022);}async['importDOCXToUnitIdAsync'](_0x41e4b4){const _0x1657c1=_0x4c9074,_0x37b3a2=this['_injector'][_0x1657c1(0x122)](r[_0x1657c1(0x127)]);if(!_0x37b3a2)throw new Error(_0x1657c1(0x117));return _0x37b3a2[_0x1657c1(0x124)](_0x41e4b4,i[_0x1657c1(0x11c)]);}async['importDOCXToSnapshot'](_0x12630f){const _0x41ebc7=_0x4c9074;return this[_0x41ebc7(0x111)](_0x12630f);}async[_0x4c9074(0x111)](_0x45ad32){const _0x8701ca=_0x4c9074,_0x42047a=this[_0x8701ca(0x11a)][_0x8701ca(0x122)](r[_0x8701ca(0x127)]);if(!_0x42047a)throw new Error(_0x8701ca(0x117));return _0x42047a['importDOCXToSnapshot'](_0x45ad32);}async[_0x4c9074(0x120)](_0x3a8c36){const _0x47e724=_0x4c9074,_0x3fceb2=this[_0x47e724(0x11a)][_0x47e724(0x122)](r[_0x47e724(0x127)]);if(!_0x3fceb2)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3fceb2[_0x47e724(0x113)](_0x3a8c36);}async[_0x4c9074(0x126)](_0x5f517e){const _0x2afd7f=_0x4c9074,_0x63d83=this['_injector'][_0x2afd7f(0x122)](r['IExchangeService']);if(!_0x63d83)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x63d83['exportDOCXByUnitId'](_0x5f517e);}}o[_0x4c9074(0x123)]['extend'](c);