@univerjs-pro/exchange-client 0.10.9 → 0.10.10

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 _0x2eb1b7=_0x3d0e;(function(_0x983d80,_0x344c8a){const _0x22c61f=_0x3d0e,_0x200251=_0x983d80();while(!![]){try{const _0x66f9df=-parseInt(_0x22c61f(0xc9))/0x1*(parseInt(_0x22c61f(0xc4))/0x2)+-parseInt(_0x22c61f(0xd3))/0x3+parseInt(_0x22c61f(0xc1))/0x4*(-parseInt(_0x22c61f(0xd7))/0x5)+parseInt(_0x22c61f(0xc8))/0x6+parseInt(_0x22c61f(0xd0))/0x7+parseInt(_0x22c61f(0xc6))/0x8+-parseInt(_0x22c61f(0xc0))/0x9;if(_0x66f9df===_0x344c8a)break;else _0x200251['push'](_0x200251['shift']());}catch(_0x57233e){_0x200251['push'](_0x200251['shift']());}}}(_0x1acc,0x5fad9));function _0x3d0e(_0x1d11d6,_0x4bcb29){const _0x1accf0=_0x1acc();return _0x3d0e=function(_0x3d0e15,_0x3e8cc1){_0x3d0e15=_0x3d0e15-0xbf;let _0x3f72ed=_0x1accf0[_0x3d0e15];return _0x3f72ed;},_0x3d0e(_0x1d11d6,_0x4bcb29);}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x1d0e46=>(_0x1d0e46[_0x1d0e46[_0x2eb1b7(0xd2)]=0x0]=_0x2eb1b7(0xd2),_0x1d0e46[_0x1d0e46[_0x2eb1b7(0xdd)]=0x1]=_0x2eb1b7(0xdd),_0x1d0e46[_0x1d0e46['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x1d0e46[_0x1d0e46[_0x2eb1b7(0xd5)]=0x3]=_0x2eb1b7(0xd5),_0x1d0e46[_0x1d0e46[_0x2eb1b7(0xc3)]=0x4]=_0x2eb1b7(0xc3),_0x1d0e46[_0x1d0e46[_0x2eb1b7(0xcf)]=-0x1]='UNRECOGNIZED',_0x1d0e46))(i||{});class c extends o[_0x2eb1b7(0xe0)]{async['importXLSXToUnitId'](_0x100afe){const _0x57569c=_0x2eb1b7;return this[_0x57569c(0xdb)](_0x100afe);}async[_0x2eb1b7(0xdb)](_0x257988){const _0x3f173e=_0x2eb1b7,_0x3105a9=this[_0x3f173e(0xce)][_0x3f173e(0xdc)](r['IExchangeService']);if(!_0x3105a9)throw new Error(_0x3f173e(0xd1));return _0x3105a9[_0x3f173e(0xca)](_0x257988,i['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x449fa5){const _0x551e09=_0x2eb1b7;return this[_0x551e09(0xcc)](_0x449fa5);}async[_0x2eb1b7(0xcc)](_0x37ebee){const _0x33602a=_0x2eb1b7,_0x571784=this[_0x33602a(0xce)][_0x33602a(0xdc)](r['IExchangeService']);if(!_0x571784)throw new Error(_0x33602a(0xd1));return _0x571784[_0x33602a(0xcb)](_0x37ebee);}async[_0x2eb1b7(0xd8)](_0x4bf0f1){return this['exportXLSXByUnitIdAsync'](_0x4bf0f1);}async[_0x2eb1b7(0xc5)](_0x476f4b){const _0x415e7a=_0x2eb1b7,_0x332e75=this[_0x415e7a(0xce)][_0x415e7a(0xdc)](r[_0x415e7a(0xde)]);if(!_0x332e75)throw new Error(_0x415e7a(0xd1));return _0x332e75[_0x415e7a(0xd8)](_0x476f4b);}async[_0x2eb1b7(0xc2)](_0x5d64da){const _0x182761=_0x2eb1b7;return this[_0x182761(0xda)](_0x5d64da);}async[_0x2eb1b7(0xda)](_0x508fb6){const _0x40b1da=_0x2eb1b7,_0x4a9955=this[_0x40b1da(0xce)][_0x40b1da(0xdc)](r[_0x40b1da(0xde)]);if(!_0x4a9955)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4a9955['exportXLSXBySnapshot'](_0x508fb6);}async['importDOCXToUnitId'](_0x17d482){return this['importDOCXToUnitIdAsync'](_0x17d482);}async[_0x2eb1b7(0xcd)](_0x3d68ad){const _0x47d5bb=_0x2eb1b7,_0x2f7eda=this[_0x47d5bb(0xce)][_0x47d5bb(0xdc)](r[_0x47d5bb(0xde)]);if(!_0x2f7eda)throw new Error(_0x47d5bb(0xd1));return _0x2f7eda[_0x47d5bb(0xca)](_0x3d68ad,i[_0x47d5bb(0xdd)]);}async[_0x2eb1b7(0xdf)](_0x58d073){return this['importDOCXToSnapshotAsync'](_0x58d073);}async['importDOCXToSnapshotAsync'](_0x437d6c){const _0x1cc0c0=_0x2eb1b7,_0x2eb104=this[_0x1cc0c0(0xce)][_0x1cc0c0(0xdc)](r[_0x1cc0c0(0xde)]);if(!_0x2eb104)throw new Error(_0x1cc0c0(0xd1));return _0x2eb104['importDOCXToSnapshot'](_0x437d6c);}async[_0x2eb1b7(0xc7)](_0x2f9256){const _0x23e2d6=_0x2eb1b7,_0x2a62f1=this[_0x23e2d6(0xce)]['get'](r[_0x23e2d6(0xde)]);if(!_0x2a62f1)throw new Error(_0x23e2d6(0xd1));return _0x2a62f1[_0x23e2d6(0xd9)](_0x2f9256);}async[_0x2eb1b7(0xbf)](_0x854ad7){const _0x3c8b5a=_0x2eb1b7,_0x30182d=this[_0x3c8b5a(0xce)][_0x3c8b5a(0xdc)](r[_0x3c8b5a(0xde)]);if(!_0x30182d)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x30182d[_0x3c8b5a(0xd6)](_0x854ad7);}}o[_0x2eb1b7(0xe0)][_0x2eb1b7(0xd4)](c);function _0x1acc(){const _0x4d32b6=['importXLSXToUnitIdAsync','get','UNIVER_DOC','IExchangeService','importDOCXToSnapshot','FUniver','exportDOCXByUnitIdAsync','1361043wJFVxx','92PtqZSQ','exportXLSXBySnapshot','UNIVER_PROJECT','42ftGNet','exportXLSXByUnitIdAsync','4658024FzYHvI','exportDOCXBySnapshotAsync','3520686QcTxhB','9575xqPTWu','importFileToUnitId','importXLSXToSnapshot','importXLSXToSnapshotAsync','importDOCXToUnitIdAsync','_injector','UNRECOGNIZED','4271771UfhKCJ','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_UNKNOWN','1865403eqmmRu','extend','UNIVER_SLIDE','exportDOCXByUnitId','89845LqYKNr','exportXLSXByUnitId','exportDOCXBySnapshot','exportXLSXBySnapshotAsync'];_0x1acc=function(){return _0x4d32b6;};return _0x1acc();}
1
+ 'use strict';const _0xf37abc=_0x621e;(function(_0x317e7a,_0xcf37fb){const _0x37c19c=_0x621e,_0x2da354=_0x317e7a();while(!![]){try{const _0x233be8=parseInt(_0x37c19c(0x16e))/0x1+-parseInt(_0x37c19c(0x179))/0x2+-parseInt(_0x37c19c(0x15c))/0x3*(parseInt(_0x37c19c(0x158))/0x4)+parseInt(_0x37c19c(0x178))/0x5*(parseInt(_0x37c19c(0x176))/0x6)+-parseInt(_0x37c19c(0x16f))/0x7*(parseInt(_0x37c19c(0x15f))/0x8)+-parseInt(_0x37c19c(0x16b))/0x9+parseInt(_0x37c19c(0x168))/0xa*(parseInt(_0x37c19c(0x15d))/0xb);if(_0x233be8===_0xcf37fb)break;else _0x2da354['push'](_0x2da354['shift']());}catch(_0x25e510){_0x2da354['push'](_0x2da354['shift']());}}}(_0x10fe,0xf1b46));function _0x621e(_0x5809d0,_0x35247c){const _0x10fe84=_0x10fe();return _0x621e=function(_0x621e2b,_0x38dd37){_0x621e2b=_0x621e2b-0x156;let _0x55f8dc=_0x10fe84[_0x621e2b];return _0x55f8dc;},_0x621e(_0x5809d0,_0x35247c);}function _0x10fe(){const _0x5906cc=['exportXLSXBySnapshotAsync','1288DlMfws','UNIVER_UNKNOWN','UNRECOGNIZED','UNIVER_SHEET','15951nuUZyY','40046732jBWvte','UNIVER_PROJECT','9951544APWjCF','importDOCXToUnitId','exportDOCXBySnapshotAsync','importDOCXToUnitIdAsync','importFileToUnitId','importXLSXToUnitIdAsync','FUniver','UNIVER_SLIDE','UNIVER_DOC','10JsDdVx','importDOCXToSnapshot','extend','4634073gdzJsJ','exportXLSXByUnitIdAsync','exportDOCXByUnitIdAsync','1130778QDNulz','7RETiIB','importXLSXToSnapshotAsync','exportDOCXBySnapshot','get','_injector','exportXLSXByUnitId','IExchangeService','30216xtNDWw','The\x20exchange\x20service\x20is\x20not\x20available','965RCnkTU','2564804JQtHew','importDOCXToSnapshotAsync','exportXLSXBySnapshot','exportDOCXByUnitId'];_0x10fe=function(){return _0x5906cc;};return _0x10fe();}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x1ce2c9=>(_0x1ce2c9[_0x1ce2c9[_0xf37abc(0x159)]=0x0]=_0xf37abc(0x159),_0x1ce2c9[_0x1ce2c9[_0xf37abc(0x167)]=0x1]='UNIVER_DOC',_0x1ce2c9[_0x1ce2c9[_0xf37abc(0x15b)]=0x2]='UNIVER_SHEET',_0x1ce2c9[_0x1ce2c9['UNIVER_SLIDE']=0x3]=_0xf37abc(0x166),_0x1ce2c9[_0x1ce2c9[_0xf37abc(0x15e)]=0x4]=_0xf37abc(0x15e),_0x1ce2c9[_0x1ce2c9[_0xf37abc(0x15a)]=-0x1]=_0xf37abc(0x15a),_0x1ce2c9))(i||{});class c extends o[_0xf37abc(0x165)]{async['importXLSXToUnitId'](_0x15182b){const _0x42fdba=_0xf37abc;return this[_0x42fdba(0x164)](_0x15182b);}async[_0xf37abc(0x164)](_0x4063f0){const _0x4b7c73=_0xf37abc,_0x220138=this['_injector'][_0x4b7c73(0x172)](r[_0x4b7c73(0x175)]);if(!_0x220138)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x220138[_0x4b7c73(0x163)](_0x4063f0,i[_0x4b7c73(0x15b)]);}async['importXLSXToSnapshot'](_0x352753){const _0x12efd5=_0xf37abc;return this[_0x12efd5(0x170)](_0x352753);}async['importXLSXToSnapshotAsync'](_0x2d4412){const _0xd0c7e0=_0xf37abc,_0x45c48c=this[_0xd0c7e0(0x173)]['get'](r[_0xd0c7e0(0x175)]);if(!_0x45c48c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x45c48c['importXLSXToSnapshot'](_0x2d4412);}async[_0xf37abc(0x174)](_0x2414d7){const _0x100bfb=_0xf37abc;return this[_0x100bfb(0x16c)](_0x2414d7);}async[_0xf37abc(0x16c)](_0x11343a){const _0x4a5a3b=_0xf37abc,_0x184897=this['_injector'][_0x4a5a3b(0x172)](r[_0x4a5a3b(0x175)]);if(!_0x184897)throw new Error(_0x4a5a3b(0x177));return _0x184897['exportXLSXByUnitId'](_0x11343a);}async[_0xf37abc(0x17b)](_0x31c85f){return this['exportXLSXBySnapshotAsync'](_0x31c85f);}async[_0xf37abc(0x157)](_0x8c02e7){const _0x30d3ee=_0xf37abc,_0x452c54=this[_0x30d3ee(0x173)][_0x30d3ee(0x172)](r[_0x30d3ee(0x175)]);if(!_0x452c54)throw new Error(_0x30d3ee(0x177));return _0x452c54[_0x30d3ee(0x17b)](_0x8c02e7);}async[_0xf37abc(0x160)](_0x18e3f4){const _0x1b5dac=_0xf37abc;return this[_0x1b5dac(0x162)](_0x18e3f4);}async['importDOCXToUnitIdAsync'](_0xb8f3b2){const _0x117d0f=_0xf37abc,_0x45d1bd=this[_0x117d0f(0x173)][_0x117d0f(0x172)](r['IExchangeService']);if(!_0x45d1bd)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x45d1bd[_0x117d0f(0x163)](_0xb8f3b2,i[_0x117d0f(0x167)]);}async[_0xf37abc(0x169)](_0x4cdb85){const _0xb141f0=_0xf37abc;return this[_0xb141f0(0x17a)](_0x4cdb85);}async[_0xf37abc(0x17a)](_0xb6a61a){const _0x4abcbf=_0xf37abc,_0xc276c5=this['_injector']['get'](r[_0x4abcbf(0x175)]);if(!_0xc276c5)throw new Error(_0x4abcbf(0x177));return _0xc276c5[_0x4abcbf(0x169)](_0xb6a61a);}async[_0xf37abc(0x161)](_0x4e8d2c){const _0x5769b8=_0xf37abc,_0x128140=this[_0x5769b8(0x173)][_0x5769b8(0x172)](r[_0x5769b8(0x175)]);if(!_0x128140)throw new Error(_0x5769b8(0x177));return _0x128140[_0x5769b8(0x171)](_0x4e8d2c);}async[_0xf37abc(0x16d)](_0x8b5a56){const _0x57dee4=_0xf37abc,_0x53efb2=this[_0x57dee4(0x173)]['get'](r[_0x57dee4(0x175)]);if(!_0x53efb2)throw new Error(_0x57dee4(0x177));return _0x53efb2[_0x57dee4(0x156)](_0x8b5a56);}}o[_0xf37abc(0x165)][_0xf37abc(0x16a)](c);