@univerjs-pro/exchange-client 0.10.12 → 0.10.13-nightly.202510290902

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 +11 -11
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';const _0x158385=_0xa41d;function _0xa41d(_0x478e88,_0x2079bb){const _0x8da648=_0x8da6();return _0xa41d=function(_0xa41d54,_0x40c812){_0xa41d54=_0xa41d54-0x17d;let _0x10df47=_0x8da648[_0xa41d54];return _0x10df47;},_0xa41d(_0x478e88,_0x2079bb);}(function(_0x218382,_0x6b671a){const _0x226b99=_0xa41d,_0x3f4551=_0x218382();while(!![]){try{const _0x4e61b1=-parseInt(_0x226b99(0x18c))/0x1*(parseInt(_0x226b99(0x17e))/0x2)+parseInt(_0x226b99(0x18b))/0x3+-parseInt(_0x226b99(0x17f))/0x4+-parseInt(_0x226b99(0x17d))/0x5*(-parseInt(_0x226b99(0x19d))/0x6)+parseInt(_0x226b99(0x191))/0x7+parseInt(_0x226b99(0x187))/0x8*(-parseInt(_0x226b99(0x181))/0x9)+parseInt(_0x226b99(0x18f))/0xa;if(_0x4e61b1===_0x6b671a)break;else _0x3f4551['push'](_0x3f4551['shift']());}catch(_0x36e76f){_0x3f4551['push'](_0x3f4551['shift']());}}}(_0x8da6,0xa907a));function _0x8da6(){const _0x785e6d=['UNIVER_PROJECT','importDOCXToUnitId','13919990mVVNwd','exportXLSXBySnapshotAsync','7919562DYNuRr','IExchangeService','importDOCXToSnapshotAsync','exportXLSXByUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_UNKNOWN','exportDOCXBySnapshotAsync','importXLSXToUnitIdAsync','extend','UNIVER_SLIDE','importDOCXToSnapshot','UNRECOGNIZED','6sFcVWB','_injector','UNIVER_DOC','importDOCXToUnitIdAsync','185305UsoUDN','46886qQhhmm','5437096dpbWft','importXLSXToSnapshotAsync','2566017jNkDQT','exportXLSXBySnapshot','importFileToUnitId','exportDOCXByUnitIdAsync','UNIVER_SHEET','get','24VJQtPh','exportXLSXByUnitId','importXLSXToSnapshot','exportDOCXByUnitId','1531902BiEIUU','7iMEvEa'];_0x8da6=function(){return _0x785e6d;};return _0x8da6();}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x36c9ab=>(_0x36c9ab[_0x36c9ab[_0x158385(0x196)]=0x0]=_0x158385(0x196),_0x36c9ab[_0x36c9ab[_0x158385(0x19f)]=0x1]=_0x158385(0x19f),_0x36c9ab[_0x36c9ab[_0x158385(0x185)]=0x2]=_0x158385(0x185),_0x36c9ab[_0x36c9ab['UNIVER_SLIDE']=0x3]=_0x158385(0x19a),_0x36c9ab[_0x36c9ab[_0x158385(0x18d)]=0x4]=_0x158385(0x18d),_0x36c9ab[_0x36c9ab[_0x158385(0x19c)]=-0x1]=_0x158385(0x19c),_0x36c9ab))(i||{});class c extends o['FUniver']{async['importXLSXToUnitId'](_0x2923cc){const _0x2a2966=_0x158385;return this[_0x2a2966(0x198)](_0x2923cc);}async[_0x158385(0x198)](_0xc4a7a9){const _0x541c5d=_0x158385,_0x15f54e=this['_injector'][_0x541c5d(0x186)](r[_0x541c5d(0x192)]);if(!_0x15f54e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x15f54e[_0x541c5d(0x183)](_0xc4a7a9,i['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x1e6883){return this['importXLSXToSnapshotAsync'](_0x1e6883);}async[_0x158385(0x180)](_0x4cde1c){const _0x385e59=_0x158385,_0x4a2864=this[_0x385e59(0x19e)][_0x385e59(0x186)](r[_0x385e59(0x192)]);if(!_0x4a2864)throw new Error(_0x385e59(0x195));return _0x4a2864[_0x385e59(0x189)](_0x4cde1c);}async[_0x158385(0x188)](_0x50a1a4){const _0x31ae7d=_0x158385;return this[_0x31ae7d(0x194)](_0x50a1a4);}async[_0x158385(0x194)](_0x5c6bec){const _0x400272=_0x158385,_0x17871a=this[_0x400272(0x19e)][_0x400272(0x186)](r[_0x400272(0x192)]);if(!_0x17871a)throw new Error(_0x400272(0x195));return _0x17871a[_0x400272(0x188)](_0x5c6bec);}async[_0x158385(0x182)](_0x1ff2d1){const _0x593cba=_0x158385;return this[_0x593cba(0x190)](_0x1ff2d1);}async[_0x158385(0x190)](_0x131277){const _0x339107=_0x158385,_0x1483ac=this[_0x339107(0x19e)][_0x339107(0x186)](r[_0x339107(0x192)]);if(!_0x1483ac)throw new Error(_0x339107(0x195));return _0x1483ac['exportXLSXBySnapshot'](_0x131277);}async[_0x158385(0x18e)](_0x12e30f){const _0x170cd9=_0x158385;return this[_0x170cd9(0x1a0)](_0x12e30f);}async['importDOCXToUnitIdAsync'](_0x5c2537){const _0x37b999=_0x158385,_0xd17bf9=this[_0x37b999(0x19e)][_0x37b999(0x186)](r['IExchangeService']);if(!_0xd17bf9)throw new Error(_0x37b999(0x195));return _0xd17bf9['importFileToUnitId'](_0x5c2537,i['UNIVER_DOC']);}async[_0x158385(0x19b)](_0x5acd5f){return this['importDOCXToSnapshotAsync'](_0x5acd5f);}async[_0x158385(0x193)](_0x385c18){const _0x1032ee=_0x158385,_0x2198a6=this[_0x1032ee(0x19e)][_0x1032ee(0x186)](r[_0x1032ee(0x192)]);if(!_0x2198a6)throw new Error(_0x1032ee(0x195));return _0x2198a6['importDOCXToSnapshot'](_0x385c18);}async[_0x158385(0x197)](_0x222629){const _0x2658a6=_0x158385,_0x2569b4=this[_0x2658a6(0x19e)][_0x2658a6(0x186)](r[_0x2658a6(0x192)]);if(!_0x2569b4)throw new Error(_0x2658a6(0x195));return _0x2569b4['exportDOCXBySnapshot'](_0x222629);}async[_0x158385(0x184)](_0x241399){const _0x1e174d=_0x158385,_0x3819bf=this[_0x1e174d(0x19e)]['get'](r[_0x1e174d(0x192)]);if(!_0x3819bf)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3819bf[_0x1e174d(0x18a)](_0x241399);}}o['FUniver'][_0x158385(0x199)](c);