@univerjs-pro/exchange-client 0.10.7 → 0.10.8

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 +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.js +2 -2
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  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/umd/facade.js +1 -1
  38. package/lib/umd/index.js +2 -2
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.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 +8 -8
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x579c20=_0x4ca3;(function(_0x2ef2e8,_0x180fec){const _0x59928e=_0x4ca3,_0x587297=_0x2ef2e8();while(!![]){try{const _0x5c90b4=-parseInt(_0x59928e(0x106))/0x1*(-parseInt(_0x59928e(0xfc))/0x2)+-parseInt(_0x59928e(0x10b))/0x3+parseInt(_0x59928e(0xf8))/0x4+-parseInt(_0x59928e(0xf9))/0x5*(-parseInt(_0x59928e(0x101))/0x6)+-parseInt(_0x59928e(0x108))/0x7*(parseInt(_0x59928e(0x10f))/0x8)+-parseInt(_0x59928e(0xff))/0x9*(-parseInt(_0x59928e(0x115))/0xa)+parseInt(_0x59928e(0x117))/0xb;if(_0x5c90b4===_0x180fec)break;else _0x587297['push'](_0x587297['shift']());}catch(_0x147014){_0x587297['push'](_0x587297['shift']());}}}(_0xb1c8,0xa6ee1));function _0x4ca3(_0x5a71f9,_0x1646df){const _0xb1c84e=_0xb1c8();return _0x4ca3=function(_0x4ca3aa,_0x3849e6){_0x4ca3aa=_0x4ca3aa-0xf6;let _0x266408=_0xb1c84e[_0x4ca3aa];return _0x266408;},_0x4ca3(_0x5a71f9,_0x1646df);}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');function _0xb1c8(){const _0x5426ec=['FUniver','importXLSXToUnitIdAsync','importXLSXToUnitId','IExchangeService','13mfdUzu','importDOCXToUnitId','21ovszQJ','importXLSXToSnapshotAsync','exportDOCXByUnitIdAsync','2368974xrGqPD','_injector','exportXLSXByUnitIdAsync','importDOCXToSnapshot','3466328XLXqpE','UNIVER_UNKNOWN','exportXLSXBySnapshotAsync','UNIVER_SHEET','importXLSXToSnapshot','exportDOCXBySnapshotAsync','20qaoXvT','importFileToUnitId','7419654BRBzKb','get','importDOCXToUnitIdAsync','2491036gwrIBp','6985UauxAs','UNIVER_PROJECT','exportDOCXBySnapshot','33344GclmPq','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToSnapshotAsync','543204qCHwdj','exportXLSXByUnitId','4890BsidoT'];_0xb1c8=function(){return _0x5426ec;};return _0xb1c8();}var i=(_0x49738=>(_0x49738[_0x49738[_0x579c20(0x110)]=0x0]=_0x579c20(0x110),_0x49738[_0x49738['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x49738[_0x49738[_0x579c20(0x112)]=0x2]=_0x579c20(0x112),_0x49738[_0x49738['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x49738[_0x49738['UNIVER_PROJECT']=0x4]=_0x579c20(0xfa),_0x49738[_0x49738['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x49738))(i||{});class c extends o[_0x579c20(0x102)]{async[_0x579c20(0x104)](_0x20d0e1){const _0x42679a=_0x579c20;return this[_0x42679a(0x103)](_0x20d0e1);}async[_0x579c20(0x103)](_0x5bf6e7){const _0x4be7f4=_0x579c20,_0x940722=this[_0x4be7f4(0x10c)][_0x4be7f4(0xf6)](r[_0x4be7f4(0x105)]);if(!_0x940722)throw new Error(_0x4be7f4(0xfd));return _0x940722[_0x4be7f4(0x116)](_0x5bf6e7,i[_0x4be7f4(0x112)]);}async[_0x579c20(0x113)](_0x2ef8c6){const _0xe4acf9=_0x579c20;return this[_0xe4acf9(0x109)](_0x2ef8c6);}async[_0x579c20(0x109)](_0x552af7){const _0x2f82b5=_0x579c20,_0x269f36=this[_0x2f82b5(0x10c)][_0x2f82b5(0xf6)](r[_0x2f82b5(0x105)]);if(!_0x269f36)throw new Error(_0x2f82b5(0xfd));return _0x269f36[_0x2f82b5(0x113)](_0x552af7);}async[_0x579c20(0x100)](_0x247987){const _0x2b890a=_0x579c20;return this[_0x2b890a(0x10d)](_0x247987);}async['exportXLSXByUnitIdAsync'](_0x5f0a08){const _0x1860de=_0x579c20,_0x323826=this[_0x1860de(0x10c)][_0x1860de(0xf6)](r[_0x1860de(0x105)]);if(!_0x323826)throw new Error(_0x1860de(0xfd));return _0x323826[_0x1860de(0x100)](_0x5f0a08);}async['exportXLSXBySnapshot'](_0xe619a2){const _0x114fe0=_0x579c20;return this[_0x114fe0(0x111)](_0xe619a2);}async[_0x579c20(0x111)](_0x53e93e){const _0x5a7088=_0x579c20,_0x22c238=this[_0x5a7088(0x10c)][_0x5a7088(0xf6)](r[_0x5a7088(0x105)]);if(!_0x22c238)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x22c238['exportXLSXBySnapshot'](_0x53e93e);}async[_0x579c20(0x107)](_0x1f3f7c){return this['importDOCXToUnitIdAsync'](_0x1f3f7c);}async[_0x579c20(0xf7)](_0x3a2ee5){const _0x2fd203=_0x579c20,_0x528bac=this[_0x2fd203(0x10c)][_0x2fd203(0xf6)](r[_0x2fd203(0x105)]);if(!_0x528bac)throw new Error(_0x2fd203(0xfd));return _0x528bac['importFileToUnitId'](_0x3a2ee5,i['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x3ab6d2){const _0x1189ea=_0x579c20;return this[_0x1189ea(0xfe)](_0x3ab6d2);}async[_0x579c20(0xfe)](_0x2a4ac6){const _0x82f0d4=_0x579c20,_0x2a46b1=this[_0x82f0d4(0x10c)]['get'](r[_0x82f0d4(0x105)]);if(!_0x2a46b1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2a46b1[_0x82f0d4(0x10e)](_0x2a4ac6);}async[_0x579c20(0x114)](_0x42587d){const _0x3d6fea=_0x579c20,_0x30b8a2=this[_0x3d6fea(0x10c)][_0x3d6fea(0xf6)](r[_0x3d6fea(0x105)]);if(!_0x30b8a2)throw new Error(_0x3d6fea(0xfd));return _0x30b8a2[_0x3d6fea(0xfb)](_0x42587d);}async[_0x579c20(0x10a)](_0x2702ef){const _0x28b0d7=_0x579c20,_0x13e552=this['_injector']['get'](r[_0x28b0d7(0x105)]);if(!_0x13e552)throw new Error(_0x28b0d7(0xfd));return _0x13e552['exportDOCXByUnitId'](_0x2702ef);}}o['FUniver']['extend'](c);
1
+ 'use strict';const _0x478050=_0x312f;function _0xb304(){const _0x2734bf=['772572KJpmig','14ZsVxuh','IExchangeService','UNIVER_DOC','exportXLSXByUnitId','532449QcauHN','798470kOKfAD','get','UNIVER_SHEET','importXLSXToSnapshot','FUniver','importDOCXToSnapshotAsync','exportXLSXBySnapshot','exportDOCXBySnapshot','UNIVER_SLIDE','UNIVER_UNKNOWN','importXLSXToSnapshotAsync','1500kUdBRs','572931QskTCs','exportDOCXByUnitIdAsync','12183010RnljMz','UNIVER_PROJECT','64sMXcvK','exportXLSXByUnitIdAsync','exportXLSXBySnapshotAsync','importFileToUnitId','1290FWbJKf','importXLSXToUnitId','importXLSXToUnitIdAsync','UNRECOGNIZED','_injector','11BoaYdE','importDOCXToSnapshot','The\x20exchange\x20service\x20is\x20not\x20available','exportDOCXBySnapshotAsync','1321770ZDuUnM'];_0xb304=function(){return _0x2734bf;};return _0xb304();}(function(_0x3bb479,_0x4745e1){const _0x4ed1c2=_0x312f,_0x6db0ac=_0x3bb479();while(!![]){try{const _0x25dc46=-parseInt(_0x4ed1c2(0xc0))/0x1+parseInt(_0x4ed1c2(0xc8))/0x2*(-parseInt(_0x4ed1c2(0xbf))/0x3)+-parseInt(_0x4ed1c2(0xae))/0x4+parseInt(_0x4ed1c2(0xb4))/0x5+parseInt(_0x4ed1c2(0xad))/0x6*(-parseInt(_0x4ed1c2(0xaf))/0x7)+-parseInt(_0x4ed1c2(0xc4))/0x8*(-parseInt(_0x4ed1c2(0xb3))/0x9)+-parseInt(_0x4ed1c2(0xc2))/0xa*(-parseInt(_0x4ed1c2(0xcd))/0xb);if(_0x25dc46===_0x4745e1)break;else _0x6db0ac['push'](_0x6db0ac['shift']());}catch(_0xac858e){_0x6db0ac['push'](_0x6db0ac['shift']());}}}(_0xb304,0x4ea47));function _0x312f(_0x2cd44a,_0x121362){const _0xb3043b=_0xb304();return _0x312f=function(_0x312ff,_0x1970f5){_0x312ff=_0x312ff-0xac;let _0x2fb1a4=_0xb3043b[_0x312ff];return _0x2fb1a4;},_0x312f(_0x2cd44a,_0x121362);}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x121626=>(_0x121626[_0x121626[_0x478050(0xbd)]=0x0]='UNIVER_UNKNOWN',_0x121626[_0x121626[_0x478050(0xb1)]=0x1]=_0x478050(0xb1),_0x121626[_0x121626[_0x478050(0xb6)]=0x2]=_0x478050(0xb6),_0x121626[_0x121626[_0x478050(0xbc)]=0x3]=_0x478050(0xbc),_0x121626[_0x121626['UNIVER_PROJECT']=0x4]=_0x478050(0xc3),_0x121626[_0x121626[_0x478050(0xcb)]=-0x1]=_0x478050(0xcb),_0x121626))(i||{});class c extends o[_0x478050(0xb8)]{async[_0x478050(0xc9)](_0x544ff3){const _0x24c510=_0x478050;return this[_0x24c510(0xca)](_0x544ff3);}async[_0x478050(0xca)](_0x4ade74){const _0x124031=_0x478050,_0x1ec956=this[_0x124031(0xcc)]['get'](r[_0x124031(0xb0)]);if(!_0x1ec956)throw new Error(_0x124031(0xcf));return _0x1ec956[_0x124031(0xc7)](_0x4ade74,i[_0x124031(0xb6)]);}async[_0x478050(0xb7)](_0x2f1402){const _0x19d2ec=_0x478050;return this[_0x19d2ec(0xbe)](_0x2f1402);}async[_0x478050(0xbe)](_0x325a58){const _0x1c6536=_0x478050,_0x24c419=this[_0x1c6536(0xcc)][_0x1c6536(0xb5)](r[_0x1c6536(0xb0)]);if(!_0x24c419)throw new Error(_0x1c6536(0xcf));return _0x24c419['importXLSXToSnapshot'](_0x325a58);}async[_0x478050(0xb2)](_0x5090e1){return this['exportXLSXByUnitIdAsync'](_0x5090e1);}async[_0x478050(0xc5)](_0x49edbc){const _0x42878f=_0x478050,_0x23e19e=this[_0x42878f(0xcc)][_0x42878f(0xb5)](r[_0x42878f(0xb0)]);if(!_0x23e19e)throw new Error(_0x42878f(0xcf));return _0x23e19e[_0x42878f(0xb2)](_0x49edbc);}async['exportXLSXBySnapshot'](_0x512450){const _0x241706=_0x478050;return this[_0x241706(0xc6)](_0x512450);}async[_0x478050(0xc6)](_0x298ccb){const _0x5d2733=_0x478050,_0x44378e=this['_injector'][_0x5d2733(0xb5)](r['IExchangeService']);if(!_0x44378e)throw new Error(_0x5d2733(0xcf));return _0x44378e[_0x5d2733(0xba)](_0x298ccb);}async['importDOCXToUnitId'](_0x3765ba){return this['importDOCXToUnitIdAsync'](_0x3765ba);}async['importDOCXToUnitIdAsync'](_0x50c56e){const _0x12d20b=_0x478050,_0x20f702=this[_0x12d20b(0xcc)][_0x12d20b(0xb5)](r['IExchangeService']);if(!_0x20f702)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x20f702[_0x12d20b(0xc7)](_0x50c56e,i['UNIVER_DOC']);}async[_0x478050(0xce)](_0x553e82){const _0x48ab84=_0x478050;return this[_0x48ab84(0xb9)](_0x553e82);}async[_0x478050(0xb9)](_0x2cc48c){const _0x4ec1f=_0x478050,_0x9f9f07=this[_0x4ec1f(0xcc)][_0x4ec1f(0xb5)](r[_0x4ec1f(0xb0)]);if(!_0x9f9f07)throw new Error(_0x4ec1f(0xcf));return _0x9f9f07[_0x4ec1f(0xce)](_0x2cc48c);}async[_0x478050(0xac)](_0x5a6218){const _0xfcaaeb=_0x478050,_0x271c78=this[_0xfcaaeb(0xcc)]['get'](r[_0xfcaaeb(0xb0)]);if(!_0x271c78)throw new Error(_0xfcaaeb(0xcf));return _0x271c78[_0xfcaaeb(0xbb)](_0x5a6218);}async[_0x478050(0xc1)](_0x959c0f){const _0x76e82=_0x478050,_0x303813=this[_0x76e82(0xcc)][_0x76e82(0xb5)](r[_0x76e82(0xb0)]);if(!_0x303813)throw new Error(_0x76e82(0xcf));return _0x303813['exportDOCXByUnitId'](_0x959c0f);}}o[_0x478050(0xb8)]['extend'](c);