@univerjs-pro/exchange-client 0.8.0-nightly.202506071606 → 0.8.0-nightly.202506091607

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 (43) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +2 -2
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/fa-IR.js +1 -1
  5. package/lib/cjs/locale/fr-FR.js +1 -1
  6. package/lib/cjs/locale/ru-RU.js +1 -1
  7. package/lib/cjs/locale/vi-VN.js +1 -1
  8. package/lib/cjs/locale/zh-CN.js +1 -1
  9. package/lib/cjs/locale/zh-TW.js +1 -1
  10. package/lib/es/facade.js +1 -1
  11. package/lib/es/index.js +2 -2
  12. package/lib/es/locale/en-US.js +1 -1
  13. package/lib/es/locale/fa-IR.js +1 -1
  14. package/lib/es/locale/fr-FR.js +1 -1
  15. package/lib/es/locale/ru-RU.js +1 -1
  16. package/lib/es/locale/vi-VN.js +1 -1
  17. package/lib/es/locale/zh-CN.js +1 -1
  18. package/lib/es/locale/zh-TW.js +1 -1
  19. package/lib/facade.js +1 -1
  20. package/lib/index.js +2 -2
  21. package/lib/locale/en-US.js +1 -1
  22. package/lib/locale/fa-IR.js +1 -1
  23. package/lib/locale/fr-FR.js +1 -1
  24. package/lib/locale/ru-RU.js +1 -1
  25. package/lib/locale/vi-VN.js +1 -1
  26. package/lib/locale/zh-CN.js +1 -1
  27. package/lib/locale/zh-TW.js +1 -1
  28. package/lib/types/facade/f-univer.d.ts +13 -4
  29. package/lib/types/index.d.ts +1 -1
  30. package/lib/types/locale/en-US.d.ts +1 -0
  31. package/lib/types/services/exchange.service.d.ts +8 -5
  32. package/lib/types/services/operate.service.d.ts +5 -5
  33. package/lib/types/services/request.service.d.ts +2 -0
  34. package/lib/umd/facade.js +1 -1
  35. package/lib/umd/index.js +2 -2
  36. package/lib/umd/locale/en-US.js +1 -1
  37. package/lib/umd/locale/fa-IR.js +1 -1
  38. package/lib/umd/locale/fr-FR.js +1 -1
  39. package/lib/umd/locale/ru-RU.js +1 -1
  40. package/lib/umd/locale/vi-VN.js +1 -1
  41. package/lib/umd/locale/zh-CN.js +1 -1
  42. package/lib/umd/locale/zh-TW.js +1 -1
  43. package/package.json +7 -7
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x7de348=_0x36dc;(function(_0x12f105,_0x44a0ba){const _0x3d4b6e=_0x36dc,_0x4c8885=_0x12f105();while(!![]){try{const _0x1002cf=parseInt(_0x3d4b6e(0x101))/0x1+-parseInt(_0x3d4b6e(0xfc))/0x2+-parseInt(_0x3d4b6e(0xfb))/0x3*(-parseInt(_0x3d4b6e(0xdc))/0x4)+-parseInt(_0x3d4b6e(0xfa))/0x5*(-parseInt(_0x3d4b6e(0xec))/0x6)+parseInt(_0x3d4b6e(0xf7))/0x7+-parseInt(_0x3d4b6e(0xeb))/0x8*(-parseInt(_0x3d4b6e(0xe6))/0x9)+-parseInt(_0x3d4b6e(0xe7))/0xa;if(_0x1002cf===_0x44a0ba)break;else _0x4c8885['push'](_0x4c8885['shift']());}catch(_0x397f98){_0x4c8885['push'](_0x4c8885['shift']());}}}(_0x465f,0x44a81));const r=require(_0x7de348(0xf3)),o=require(_0x7de348(0xe1));var i=(_0x346dbe=>(_0x346dbe[_0x346dbe[_0x7de348(0xe2)]=0x0]=_0x7de348(0xe2),_0x346dbe[_0x346dbe[_0x7de348(0xf0)]=0x1]='UNIVER_DOC',_0x346dbe[_0x346dbe[_0x7de348(0xee)]=0x2]='UNIVER_SHEET',_0x346dbe[_0x346dbe['UNIVER_SLIDE']=0x3]=_0x7de348(0xfd),_0x346dbe[_0x346dbe[_0x7de348(0xe3)]=0x4]='UNIVER_PROJECT',_0x346dbe[_0x346dbe[_0x7de348(0xde)]=-0x1]=_0x7de348(0xde),_0x346dbe))(i||{});class c extends o[_0x7de348(0xfe)]{async[_0x7de348(0xe5)](_0x1b2059){const _0x113dfe=_0x7de348;return this[_0x113dfe(0xe0)](_0x1b2059);}async[_0x7de348(0xe0)](_0x7bfbc){const _0xa0aa68=_0x7de348,_0x21275d=this[_0xa0aa68(0xf8)][_0xa0aa68(0xed)](r[_0xa0aa68(0xf1)]);if(!_0x21275d)throw new Error(_0xa0aa68(0xf9));return _0x21275d[_0xa0aa68(0xdf)](_0x7bfbc,i['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x4cf4de){return this['importXLSXToSnapshotAsync'](_0x4cf4de);}async['importXLSXToSnapshotAsync'](_0x56f8e2){const _0x2b65fe=_0x7de348,_0x576151=this[_0x2b65fe(0xf8)][_0x2b65fe(0xed)](r[_0x2b65fe(0xf1)]);if(!_0x576151)throw new Error(_0x2b65fe(0xf9));return _0x576151[_0x2b65fe(0xf6)](_0x56f8e2);}async[_0x7de348(0xe8)](_0x1d6a3b){const _0x42f01e=_0x7de348;return this[_0x42f01e(0xdd)](_0x1d6a3b);}async[_0x7de348(0xdd)](_0x3100c0){const _0x2bfbfe=_0x7de348,_0x47a972=this[_0x2bfbfe(0xf8)][_0x2bfbfe(0xed)](r['IExchangeService']);if(!_0x47a972)throw new Error(_0x2bfbfe(0xf9));return _0x47a972[_0x2bfbfe(0xe8)](_0x3100c0);}async[_0x7de348(0xf5)](_0x19f4b4){const _0x2dd50c=_0x7de348;return this[_0x2dd50c(0xf4)](_0x19f4b4);}async['exportXLSXBySnapshotAsync'](_0x2e9f57){const _0x485869=_0x7de348,_0x1f38bb=this[_0x485869(0xf8)]['get'](r['IExchangeService']);if(!_0x1f38bb)throw new Error(_0x485869(0xf9));return _0x1f38bb[_0x485869(0xf5)](_0x2e9f57);}async['importDOCXToUnitId'](_0x3811b1){const _0x29ed5a=_0x7de348;return this[_0x29ed5a(0xe9)](_0x3811b1);}async['importDOCXToUnitIdAsync'](_0x1b7484){const _0x1dda1b=_0x7de348,_0x288047=this[_0x1dda1b(0xf8)][_0x1dda1b(0xed)](r[_0x1dda1b(0xf1)]);if(!_0x288047)throw new Error(_0x1dda1b(0xf9));return _0x288047[_0x1dda1b(0xdf)](_0x1b7484,i[_0x1dda1b(0xf0)]);}async[_0x7de348(0x100)](_0x1d13ee){const _0x46bf06=_0x7de348;return this[_0x46bf06(0xef)](_0x1d13ee);}async['importDOCXToSnapshotAsync'](_0x39eb03){const _0x2d0e7e=_0x7de348,_0x4632e0=this[_0x2d0e7e(0xf8)][_0x2d0e7e(0xed)](r[_0x2d0e7e(0xf1)]);if(!_0x4632e0)throw new Error(_0x2d0e7e(0xf9));return _0x4632e0[_0x2d0e7e(0x100)](_0x39eb03);}async[_0x7de348(0xff)](_0x5e449c){const _0x32f15f=_0x7de348,_0x426ad0=this[_0x32f15f(0xf8)][_0x32f15f(0xed)](r[_0x32f15f(0xf1)]);if(!_0x426ad0)throw new Error(_0x32f15f(0xf9));return _0x426ad0[_0x32f15f(0xe4)](_0x5e449c);}async['exportDOCXByUnitIdAsync'](_0x57cbaf){const _0xa84f51=_0x7de348,_0x5c44d6=this[_0xa84f51(0xf8)][_0xa84f51(0xed)](r[_0xa84f51(0xf1)]);if(!_0x5c44d6)throw new Error(_0xa84f51(0xf9));return _0x5c44d6[_0xa84f51(0xf2)](_0x57cbaf);}}function _0x465f(){const _0x2bd0e8=['20583FlsVAs','12499530iTGYVg','exportXLSXByUnitId','importDOCXToUnitIdAsync','extend','1136SKBTnx','6XeWRSO','get','UNIVER_SHEET','importDOCXToSnapshotAsync','UNIVER_DOC','IExchangeService','exportDOCXByUnitId','@univerjs-pro/exchange-client','exportXLSXBySnapshotAsync','exportXLSXBySnapshot','importXLSXToSnapshot','2305317Gcowmx','_injector','The\x20exchange\x20service\x20is\x20not\x20available','2168885jkNgQG','15rmbHeA','392284uTiwey','UNIVER_SLIDE','FUniver','exportDOCXBySnapshotAsync','importDOCXToSnapshot','433060MfICha','165112shckNf','exportXLSXByUnitIdAsync','UNRECOGNIZED','importFileToUnitId','importXLSXToUnitIdAsync','@univerjs/core/facade','UNIVER_UNKNOWN','UNIVER_PROJECT','exportDOCXBySnapshot','importXLSXToUnitId'];_0x465f=function(){return _0x2bd0e8;};return _0x465f();}function _0x36dc(_0x59ac70,_0x1c2270){const _0x465f5d=_0x465f();return _0x36dc=function(_0x36dce2,_0x395723){_0x36dce2=_0x36dce2-0xdc;let _0x4730ce=_0x465f5d[_0x36dce2];return _0x4730ce;},_0x36dc(_0x59ac70,_0x1c2270);}o[_0x7de348(0xfe)][_0x7de348(0xea)](c);
1
+ 'use strict';const _0x280dc5=_0x1c38;(function(_0x20127d,_0x1f3672){const _0x262a7d=_0x1c38,_0x940863=_0x20127d();while(!![]){try{const _0x4cc457=parseInt(_0x262a7d(0x12f))/0x1+parseInt(_0x262a7d(0x11d))/0x2*(-parseInt(_0x262a7d(0x11f))/0x3)+-parseInt(_0x262a7d(0x113))/0x4*(-parseInt(_0x262a7d(0x120))/0x5)+parseInt(_0x262a7d(0x128))/0x6*(-parseInt(_0x262a7d(0x118))/0x7)+-parseInt(_0x262a7d(0x132))/0x8*(parseInt(_0x262a7d(0x127))/0x9)+-parseInt(_0x262a7d(0x124))/0xa*(parseInt(_0x262a7d(0x126))/0xb)+parseInt(_0x262a7d(0x138))/0xc;if(_0x4cc457===_0x1f3672)break;else _0x940863['push'](_0x940863['shift']());}catch(_0x22b0b){_0x940863['push'](_0x940863['shift']());}}}(_0x4ea7,0x9df7a));const r=require(_0x280dc5(0x119)),c=require('@univerjs/core/facade');function _0x1c38(_0x5e37c9,_0x3302cc){const _0x4ea71e=_0x4ea7();return _0x1c38=function(_0x1c38ee,_0x37f195){_0x1c38ee=_0x1c38ee-0x113;let _0x1fb158=_0x4ea71e[_0x1c38ee];return _0x1fb158;},_0x1c38(_0x5e37c9,_0x3302cc);}var o=(_0x30c407=>(_0x30c407[_0x30c407['UNIVER_UNKNOWN']=0x0]=_0x280dc5(0x133),_0x30c407[_0x30c407[_0x280dc5(0x136)]=0x1]=_0x280dc5(0x136),_0x30c407[_0x30c407[_0x280dc5(0x135)]=0x2]='UNIVER_SHEET',_0x30c407[_0x30c407[_0x280dc5(0x11e)]=0x3]='UNIVER_SLIDE',_0x30c407[_0x30c407[_0x280dc5(0x115)]=0x4]=_0x280dc5(0x115),_0x30c407[_0x30c407[_0x280dc5(0x114)]=-0x1]=_0x280dc5(0x114),_0x30c407))(o||{});class s extends c['FUniver']{async[_0x280dc5(0x11a)](_0x3fb844){const _0x187ce6=_0x280dc5;return this[_0x187ce6(0x121)](_0x3fb844);}async['importXLSXToUnitIdAsync'](_0x150503){const _0x22c710=_0x280dc5,_0x43abb8=this['_injector'][_0x22c710(0x137)](r[_0x22c710(0x125)]);if(!_0x43abb8)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x43abb8[_0x22c710(0x11c)](_0x150503,o[_0x22c710(0x135)]);}async[_0x280dc5(0x139)](_0x22d177){const _0x4d5771=_0x280dc5;return this[_0x4d5771(0x12b)](_0x22d177);}async['importXLSXToSnapshotAsync'](_0x545b71){const _0x1f36f4=_0x280dc5,_0x210db4=this[_0x1f36f4(0x116)][_0x1f36f4(0x137)](r[_0x1f36f4(0x125)]);if(!_0x210db4)throw new Error(_0x1f36f4(0x134));return _0x210db4['importXLSXToSnapshot'](_0x545b71);}async[_0x280dc5(0x123)](_0x485a9b){const _0x538e39=_0x280dc5;return this[_0x538e39(0x12d)](_0x485a9b);}async['exportXLSXByUnitIdAsync'](_0x4f4a41,_0x2f6751){const _0x3f2d00=_0x280dc5,_0x15cb4c=this['_injector'][_0x3f2d00(0x137)](r[_0x3f2d00(0x125)]);if(!_0x15cb4c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x15cb4c['exportXLSXByUnitId'](_0x4f4a41,_0x2f6751);}async[_0x280dc5(0x12e)](_0x43a973){const _0x5a7d8b=_0x280dc5;return this[_0x5a7d8b(0x117)](_0x43a973);}async['exportXLSXBySnapshotAsync'](_0x457443,_0x551ce1){const _0x2e64b6=_0x280dc5,_0x6701da=this[_0x2e64b6(0x116)][_0x2e64b6(0x137)](r['IExchangeService']);if(!_0x6701da)throw new Error(_0x2e64b6(0x134));return _0x6701da[_0x2e64b6(0x12e)](_0x457443,_0x551ce1);}async['importDOCXToUnitId'](_0x44011f){return this['importDOCXToUnitIdAsync'](_0x44011f);}async[_0x280dc5(0x131)](_0x43f5bf){const _0x5675d5=_0x280dc5,_0x23ec5b=this['_injector'][_0x5675d5(0x137)](r[_0x5675d5(0x125)]);if(!_0x23ec5b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x23ec5b[_0x5675d5(0x11c)](_0x43f5bf,o['UNIVER_DOC']);}async[_0x280dc5(0x129)](_0x448bcb){const _0x2651bf=_0x280dc5;return this[_0x2651bf(0x130)](_0x448bcb);}async[_0x280dc5(0x130)](_0x2f1edf){const _0x5e8ce1=_0x280dc5,_0x592480=this['_injector']['get'](r['IExchangeService']);if(!_0x592480)throw new Error(_0x5e8ce1(0x134));return _0x592480['importDOCXToSnapshot'](_0x2f1edf);}async[_0x280dc5(0x13a)](_0x528191){const _0xe6fed2=_0x280dc5,_0x1e6dae=this['_injector'][_0xe6fed2(0x137)](r[_0xe6fed2(0x125)]);if(!_0x1e6dae)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1e6dae[_0xe6fed2(0x12a)](_0x528191);}async[_0x280dc5(0x11b)](_0x14eb2c){const _0x4707d5=_0x280dc5,_0x797849=this['_injector'][_0x4707d5(0x137)](r[_0x4707d5(0x125)]);if(!_0x797849)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x797849['exportDOCXByUnitId'](_0x14eb2c);}}c[_0x280dc5(0x122)][_0x280dc5(0x12c)](s);function _0x4ea7(){const _0x59b2ab=['_injector','exportXLSXBySnapshotAsync','2165009FfPNOs','@univerjs-pro/exchange-client','importXLSXToUnitId','exportDOCXByUnitIdAsync','importFileToUnitId','554FLwSrC','UNIVER_SLIDE','1182PAwGpz','815wOZCYr','importXLSXToUnitIdAsync','FUniver','exportXLSXByUnitId','20yVgcnm','IExchangeService','7016306WUVzIK','3795300JJWcoL','6KXzRrG','importDOCXToSnapshot','exportDOCXBySnapshot','importXLSXToSnapshotAsync','extend','exportXLSXByUnitIdAsync','exportXLSXBySnapshot','435493AsAyav','importDOCXToSnapshotAsync','importDOCXToUnitIdAsync','8NDnUBF','UNIVER_UNKNOWN','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SHEET','UNIVER_DOC','get','27280860mTCRxh','importXLSXToSnapshot','exportDOCXBySnapshotAsync','1324dvSfMr','UNRECOGNIZED','UNIVER_PROJECT'];_0x4ea7=function(){return _0x59b2ab;};return _0x4ea7();}