@univerjs-pro/exchange-client 0.9.4-nightly.202507290713 → 0.9.4-nightly.202507290757

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';function _0x39fe(_0x58034d,_0x3944a2){const _0x52bcda=_0x52bc();return _0x39fe=function(_0x39fe13,_0x3365ce){_0x39fe13=_0x39fe13-0x17f;let _0x257df7=_0x52bcda[_0x39fe13];return _0x257df7;},_0x39fe(_0x58034d,_0x3944a2);}const _0x1a0479=_0x39fe;function _0x52bc(){const _0x5481ac=['1978221lcdglB','extend','UNIVER_UNKNOWN','exportXLSXBySnapshot','5735160CAtgIX','importDOCXToUnitIdAsync','exportDOCXByUnitIdAsync','1843944tWqnSA','importDOCXToSnapshotAsync','7237265ZpxTSs','UNIVER_DOC','exportDOCXByUnitId','importXLSXToUnitIdAsync','432yIyYPa','5340196qcBArE','importXLSXToSnapshotAsync','exportXLSXByUnitIdAsync','UNIVER_SLIDE','importDOCXToSnapshot','514927WzKFhf','get','FUniver','_injector','UNRECOGNIZED','IExchangeService','exportDOCXBySnapshotAsync','importDOCXToUnitId','UNIVER_SHEET','1531516RtkUwL','exportXLSXBySnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshot','exportXLSXByUnitId'];_0x52bc=function(){return _0x5481ac;};return _0x52bc();}(function(_0x2025e8,_0x1fa7b2){const _0x30f4fc=_0x39fe,_0x120288=_0x2025e8();while(!![]){try{const _0x28eb46=-parseInt(_0x30f4fc(0x189))/0x1+-parseInt(_0x30f4fc(0x19e))/0x2+parseInt(_0x30f4fc(0x182))/0x3+parseInt(_0x30f4fc(0x190))/0x4+-parseInt(_0x30f4fc(0x18b))/0x5+-parseInt(_0x30f4fc(0x186))/0x6+parseInt(_0x30f4fc(0x195))/0x7*(parseInt(_0x30f4fc(0x18f))/0x8);if(_0x28eb46===_0x1fa7b2)break;else _0x120288['push'](_0x120288['shift']());}catch(_0x3700f9){_0x120288['push'](_0x120288['shift']());}}}(_0x52bc,0xe8d87));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x1850fb=>(_0x1850fb[_0x1850fb['UNIVER_UNKNOWN']=0x0]=_0x1a0479(0x184),_0x1850fb[_0x1850fb[_0x1a0479(0x18c)]=0x1]=_0x1a0479(0x18c),_0x1850fb[_0x1850fb[_0x1a0479(0x19d)]=0x2]=_0x1a0479(0x19d),_0x1850fb[_0x1850fb[_0x1a0479(0x193)]=0x3]=_0x1a0479(0x193),_0x1850fb[_0x1850fb['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x1850fb[_0x1850fb[_0x1a0479(0x199)]=-0x1]='UNRECOGNIZED',_0x1850fb))(i||{});class c extends o[_0x1a0479(0x197)]{async['importXLSXToUnitId'](_0x4dbf52){const _0x304a8e=_0x1a0479;return this[_0x304a8e(0x18e)](_0x4dbf52);}async['importXLSXToUnitIdAsync'](_0x398a92){const _0x52cd0b=_0x1a0479,_0x1acde1=this[_0x52cd0b(0x198)][_0x52cd0b(0x196)](r[_0x52cd0b(0x19a)]);if(!_0x1acde1)throw new Error(_0x52cd0b(0x17f));return _0x1acde1['importFileToUnitId'](_0x398a92,i[_0x52cd0b(0x19d)]);}async[_0x1a0479(0x180)](_0x394a35){return this['importXLSXToSnapshotAsync'](_0x394a35);}async[_0x1a0479(0x191)](_0x50b15d){const _0x3ef9be=_0x1a0479,_0x951bc2=this['_injector'][_0x3ef9be(0x196)](r['IExchangeService']);if(!_0x951bc2)throw new Error(_0x3ef9be(0x17f));return _0x951bc2[_0x3ef9be(0x180)](_0x50b15d);}async['exportXLSXByUnitId'](_0x2ec992){const _0x1c0711=_0x1a0479;return this[_0x1c0711(0x192)](_0x2ec992);}async[_0x1a0479(0x192)](_0x4bb81f){const _0x1808bf=_0x1a0479,_0x288215=this[_0x1808bf(0x198)][_0x1808bf(0x196)](r[_0x1808bf(0x19a)]);if(!_0x288215)throw new Error(_0x1808bf(0x17f));return _0x288215[_0x1808bf(0x181)](_0x4bb81f);}async[_0x1a0479(0x185)](_0x2d2c27){const _0x53ed99=_0x1a0479;return this[_0x53ed99(0x19f)](_0x2d2c27);}async[_0x1a0479(0x19f)](_0x164177){const _0x48c319=_0x1a0479,_0x20a653=this['_injector'][_0x48c319(0x196)](r[_0x48c319(0x19a)]);if(!_0x20a653)throw new Error(_0x48c319(0x17f));return _0x20a653[_0x48c319(0x185)](_0x164177);}async[_0x1a0479(0x19c)](_0x4b22da){const _0x15ac6c=_0x1a0479;return this[_0x15ac6c(0x187)](_0x4b22da);}async[_0x1a0479(0x187)](_0x440c68){const _0x285610=_0x1a0479,_0x34e8cd=this[_0x285610(0x198)]['get'](r[_0x285610(0x19a)]);if(!_0x34e8cd)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x34e8cd['importFileToUnitId'](_0x440c68,i['UNIVER_DOC']);}async[_0x1a0479(0x194)](_0xd8b244){const _0x432d77=_0x1a0479;return this[_0x432d77(0x18a)](_0xd8b244);}async[_0x1a0479(0x18a)](_0x5cf594){const _0x340e3f=_0x1a0479,_0x10b480=this[_0x340e3f(0x198)][_0x340e3f(0x196)](r[_0x340e3f(0x19a)]);if(!_0x10b480)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x10b480[_0x340e3f(0x194)](_0x5cf594);}async[_0x1a0479(0x19b)](_0x4b3c5a){const _0x4449da=_0x1a0479,_0x2f1bfc=this[_0x4449da(0x198)][_0x4449da(0x196)](r[_0x4449da(0x19a)]);if(!_0x2f1bfc)throw new Error(_0x4449da(0x17f));return _0x2f1bfc['exportDOCXBySnapshot'](_0x4b3c5a);}async[_0x1a0479(0x188)](_0x326e29){const _0x29aee6=_0x1a0479,_0x44885f=this['_injector']['get'](r[_0x29aee6(0x19a)]);if(!_0x44885f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x44885f[_0x29aee6(0x18d)](_0x326e29);}}o['FUniver'][_0x1a0479(0x183)](c);
1
+ 'use strict';const _0x35520a=_0x2908;(function(_0x1e40a0,_0x2c4d46){const _0x3b2c77=_0x2908,_0x31986a=_0x1e40a0();while(!![]){try{const _0x35d44a=-parseInt(_0x3b2c77(0x155))/0x1*(-parseInt(_0x3b2c77(0x159))/0x2)+parseInt(_0x3b2c77(0x163))/0x3+-parseInt(_0x3b2c77(0x158))/0x4*(parseInt(_0x3b2c77(0x14f))/0x5)+parseInt(_0x3b2c77(0x160))/0x6+-parseInt(_0x3b2c77(0x170))/0x7*(-parseInt(_0x3b2c77(0x15d))/0x8)+-parseInt(_0x3b2c77(0x153))/0x9+-parseInt(_0x3b2c77(0x169))/0xa*(parseInt(_0x3b2c77(0x162))/0xb);if(_0x35d44a===_0x2c4d46)break;else _0x31986a['push'](_0x31986a['shift']());}catch(_0x41a1f3){_0x31986a['push'](_0x31986a['shift']());}}}(_0x14b4,0x1c04e));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');function _0x14b4(){const _0xb992=['UNRECOGNIZED','importDOCXToSnapshot','importDOCXToUnitId','_injector','importXLSXToUnitIdAsync','1869HsWHch','IExchangeService','5295RpGITW','importXLSXToSnapshot','importDOCXToSnapshotAsync','exportDOCXBySnapshotAsync','751437RIdgFg','UNIVER_DOC','156797NufQGM','UNIVER_SHEET','The\x20exchange\x20service\x20is\x20not\x20available','548GhlsZk','2exdeCo','get','exportXLSXBySnapshotAsync','importXLSXToSnapshotAsync','1304HIHBzD','exportXLSXByUnitIdAsync','importDOCXToUnitIdAsync','1262952VwDlqL','exportXLSXByUnitId','22rOhPvi','326436xPElfx','exportDOCXByUnitIdAsync','importXLSXToUnitId','exportXLSXBySnapshot','importFileToUnitId','UNIVER_UNKNOWN','881400jwlLwV','exportDOCXByUnitId'];_0x14b4=function(){return _0xb992;};return _0x14b4();}var i=(_0x558ef0=>(_0x558ef0[_0x558ef0['UNIVER_UNKNOWN']=0x0]=_0x35520a(0x168),_0x558ef0[_0x558ef0[_0x35520a(0x154)]=0x1]=_0x35520a(0x154),_0x558ef0[_0x558ef0[_0x35520a(0x156)]=0x2]=_0x35520a(0x156),_0x558ef0[_0x558ef0['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x558ef0[_0x558ef0['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x558ef0[_0x558ef0[_0x35520a(0x16b)]=-0x1]=_0x35520a(0x16b),_0x558ef0))(i||{});class c extends o['FUniver']{async[_0x35520a(0x165)](_0x78e225){const _0x5396a0=_0x35520a;return this[_0x5396a0(0x16f)](_0x78e225);}async[_0x35520a(0x16f)](_0x406e63){const _0x2ac602=_0x35520a,_0x18a614=this[_0x2ac602(0x16e)]['get'](r[_0x2ac602(0x14e)]);if(!_0x18a614)throw new Error(_0x2ac602(0x157));return _0x18a614[_0x2ac602(0x167)](_0x406e63,i[_0x2ac602(0x156)]);}async[_0x35520a(0x150)](_0x4bc58b){const _0x2ffe6f=_0x35520a;return this[_0x2ffe6f(0x15c)](_0x4bc58b);}async['importXLSXToSnapshotAsync'](_0x48a82a){const _0x547e0e=_0x35520a,_0x2985c2=this['_injector']['get'](r['IExchangeService']);if(!_0x2985c2)throw new Error(_0x547e0e(0x157));return _0x2985c2[_0x547e0e(0x150)](_0x48a82a);}async[_0x35520a(0x161)](_0x411886){const _0x46e227=_0x35520a;return this[_0x46e227(0x15e)](_0x411886);}async[_0x35520a(0x15e)](_0x3a14e0){const _0x469de4=_0x35520a,_0x345b10=this[_0x469de4(0x16e)][_0x469de4(0x15a)](r[_0x469de4(0x14e)]);if(!_0x345b10)throw new Error(_0x469de4(0x157));return _0x345b10[_0x469de4(0x161)](_0x3a14e0);}async[_0x35520a(0x166)](_0x326258){const _0x5343a7=_0x35520a;return this[_0x5343a7(0x15b)](_0x326258);}async['exportXLSXBySnapshotAsync'](_0x55a91a){const _0x170526=_0x35520a,_0xbced26=this[_0x170526(0x16e)][_0x170526(0x15a)](r[_0x170526(0x14e)]);if(!_0xbced26)throw new Error(_0x170526(0x157));return _0xbced26[_0x170526(0x166)](_0x55a91a);}async[_0x35520a(0x16d)](_0x26424c){const _0x17f3b1=_0x35520a;return this[_0x17f3b1(0x15f)](_0x26424c);}async[_0x35520a(0x15f)](_0x447af3){const _0x5d9c8d=_0x35520a,_0x5772ef=this[_0x5d9c8d(0x16e)][_0x5d9c8d(0x15a)](r[_0x5d9c8d(0x14e)]);if(!_0x5772ef)throw new Error(_0x5d9c8d(0x157));return _0x5772ef[_0x5d9c8d(0x167)](_0x447af3,i[_0x5d9c8d(0x154)]);}async[_0x35520a(0x16c)](_0x19bf0b){const _0x59e941=_0x35520a;return this[_0x59e941(0x151)](_0x19bf0b);}async[_0x35520a(0x151)](_0x64b0cf){const _0x1db1c4=_0x35520a,_0x1b0ddf=this[_0x1db1c4(0x16e)][_0x1db1c4(0x15a)](r[_0x1db1c4(0x14e)]);if(!_0x1b0ddf)throw new Error(_0x1db1c4(0x157));return _0x1b0ddf[_0x1db1c4(0x16c)](_0x64b0cf);}async[_0x35520a(0x152)](_0x5cb43c){const _0x5c7d66=_0x35520a,_0x2f3d15=this[_0x5c7d66(0x16e)][_0x5c7d66(0x15a)](r[_0x5c7d66(0x14e)]);if(!_0x2f3d15)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2f3d15['exportDOCXBySnapshot'](_0x5cb43c);}async[_0x35520a(0x164)](_0x453060){const _0x407a76=_0x35520a,_0x69dedc=this[_0x407a76(0x16e)]['get'](r[_0x407a76(0x14e)]);if(!_0x69dedc)throw new Error(_0x407a76(0x157));return _0x69dedc[_0x407a76(0x16a)](_0x453060);}}function _0x2908(_0x5a4560,_0x449869){const _0x14b415=_0x14b4();return _0x2908=function(_0x2908e8,_0x5d0531){_0x2908e8=_0x2908e8-0x14e;let _0x557218=_0x14b415[_0x2908e8];return _0x557218;},_0x2908(_0x5a4560,_0x449869);}o['FUniver']['extend'](c);