@univerjs-pro/exchange-client 0.8.3 → 0.9.1-nightly.202507041607

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 (42) 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/ko-KR.js +1 -1
  7. package/lib/cjs/locale/ru-RU.js +1 -1
  8. package/lib/cjs/locale/vi-VN.js +1 -1
  9. package/lib/cjs/locale/zh-CN.js +1 -1
  10. package/lib/cjs/locale/zh-TW.js +1 -1
  11. package/lib/es/facade.js +1 -1
  12. package/lib/es/index.js +2 -2
  13. package/lib/es/locale/en-US.js +1 -1
  14. package/lib/es/locale/fa-IR.js +1 -1
  15. package/lib/es/locale/fr-FR.js +1 -1
  16. package/lib/es/locale/ko-KR.js +1 -1
  17. package/lib/es/locale/ru-RU.js +1 -1
  18. package/lib/es/locale/vi-VN.js +1 -1
  19. package/lib/es/locale/zh-CN.js +1 -1
  20. package/lib/es/locale/zh-TW.js +1 -1
  21. package/lib/facade.js +1 -1
  22. package/lib/index.css +1 -1
  23. package/lib/index.js +2 -2
  24. package/lib/locale/en-US.js +1 -1
  25. package/lib/locale/fa-IR.js +1 -1
  26. package/lib/locale/fr-FR.js +1 -1
  27. package/lib/locale/ko-KR.js +1 -1
  28. package/lib/locale/ru-RU.js +1 -1
  29. package/lib/locale/vi-VN.js +1 -1
  30. package/lib/locale/zh-CN.js +1 -1
  31. package/lib/locale/zh-TW.js +1 -1
  32. package/lib/umd/facade.js +1 -1
  33. package/lib/umd/index.js +2 -2
  34. package/lib/umd/locale/en-US.js +1 -1
  35. package/lib/umd/locale/fa-IR.js +1 -1
  36. package/lib/umd/locale/fr-FR.js +1 -1
  37. package/lib/umd/locale/ko-KR.js +1 -1
  38. package/lib/umd/locale/ru-RU.js +1 -1
  39. package/lib/umd/locale/vi-VN.js +1 -1
  40. package/lib/umd/locale/zh-CN.js +1 -1
  41. package/lib/umd/locale/zh-TW.js +1 -1
  42. package/package.json +9 -9
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x3605(_0x309904,_0x26a7ec){const _0x1f06a7=_0x1f06();return _0x3605=function(_0x3605b1,_0x462df4){_0x3605b1=_0x3605b1-0x1cf;let _0x16cde3=_0x1f06a7[_0x3605b1];return _0x16cde3;},_0x3605(_0x309904,_0x26a7ec);}const _0x24390d=_0x3605;(function(_0x3f18c9,_0x3a7ad6){const _0x516878=_0x3605,_0x164a9a=_0x3f18c9();while(!![]){try{const _0xe8bb0a=parseInt(_0x516878(0x1d0))/0x1+parseInt(_0x516878(0x1e2))/0x2+-parseInt(_0x516878(0x1cf))/0x3+-parseInt(_0x516878(0x1ed))/0x4+parseInt(_0x516878(0x1dd))/0x5*(-parseInt(_0x516878(0x1f3))/0x6)+-parseInt(_0x516878(0x1dc))/0x7*(parseInt(_0x516878(0x1d3))/0x8)+parseInt(_0x516878(0x1d4))/0x9*(parseInt(_0x516878(0x1d9))/0xa);if(_0xe8bb0a===_0x3a7ad6)break;else _0x164a9a['push'](_0x164a9a['shift']());}catch(_0x57c44a){_0x164a9a['push'](_0x164a9a['shift']());}}}(_0x1f06,0xa20e9));function _0x1f06(){const _0xa26f1f=['UNIVER_DOC','exportXLSXByUnitIdAsync','extend','IExchangeService','exportXLSXBySnapshot','@univerjs/core/facade','694560rTqdxk','importDOCXToSnapshotAsync','FUniver','UNIVER_SHEET','importXLSXToSnapshotAsync','importDOCXToSnapshot','96ZRUKub','UNIVER_SLIDE','2724324UwaRbR','380221DuieHV','importDOCXToUnitIdAsync','UNIVER_PROJECT','17592hlwDhB','126bOFKVx','exportDOCXByUnitIdAsync','get','exportXLSXByUnitId','importXLSXToUnitIdAsync','1542700YbAbBb','importXLSXToUnitId','exportDOCXBySnapshotAsync','2534nZLwpM','256545EaKKqN','importFileToUnitId','importDOCXToUnitId','exportDOCXBySnapshot','_injector','1645028jYosYP','UNRECOGNIZED','UNIVER_UNKNOWN','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXBySnapshotAsync'];_0x1f06=function(){return _0xa26f1f;};return _0x1f06();}const r=require('@univerjs-pro/exchange-client'),o=require(_0x24390d(0x1ec));var i=(_0x480531=>(_0x480531[_0x480531[_0x24390d(0x1e4)]=0x0]='UNIVER_UNKNOWN',_0x480531[_0x480531[_0x24390d(0x1e7)]=0x1]=_0x24390d(0x1e7),_0x480531[_0x480531['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x480531[_0x480531['UNIVER_SLIDE']=0x3]=_0x24390d(0x1f4),_0x480531[_0x480531[_0x24390d(0x1d2)]=0x4]='UNIVER_PROJECT',_0x480531[_0x480531[_0x24390d(0x1e3)]=-0x1]=_0x24390d(0x1e3),_0x480531))(i||{});class c extends o[_0x24390d(0x1ef)]{async[_0x24390d(0x1da)](_0x43f811){return this['importXLSXToUnitIdAsync'](_0x43f811);}async[_0x24390d(0x1d8)](_0x50e786){const _0x156030=_0x24390d,_0x3fa020=this[_0x156030(0x1e1)][_0x156030(0x1d6)](r[_0x156030(0x1ea)]);if(!_0x3fa020)throw new Error(_0x156030(0x1e5));return _0x3fa020['importFileToUnitId'](_0x50e786,i[_0x156030(0x1f0)]);}async['importXLSXToSnapshot'](_0x130eb4){const _0x1533ae=_0x24390d;return this[_0x1533ae(0x1f1)](_0x130eb4);}async['importXLSXToSnapshotAsync'](_0x124fea){const _0xbf2347=_0x24390d,_0x372b54=this['_injector']['get'](r[_0xbf2347(0x1ea)]);if(!_0x372b54)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x372b54['importXLSXToSnapshot'](_0x124fea);}async[_0x24390d(0x1d7)](_0x1902d0){const _0x3a2e27=_0x24390d;return this[_0x3a2e27(0x1e8)](_0x1902d0);}async['exportXLSXByUnitIdAsync'](_0x5308ae){const _0x15e172=_0x24390d,_0x39a369=this[_0x15e172(0x1e1)][_0x15e172(0x1d6)](r['IExchangeService']);if(!_0x39a369)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x39a369[_0x15e172(0x1d7)](_0x5308ae);}async[_0x24390d(0x1eb)](_0x5e4496){const _0x87f083=_0x24390d;return this[_0x87f083(0x1e6)](_0x5e4496);}async[_0x24390d(0x1e6)](_0x2c2e6c){const _0x438ed9=_0x24390d,_0x57d8a0=this[_0x438ed9(0x1e1)][_0x438ed9(0x1d6)](r[_0x438ed9(0x1ea)]);if(!_0x57d8a0)throw new Error(_0x438ed9(0x1e5));return _0x57d8a0['exportXLSXBySnapshot'](_0x2c2e6c);}async[_0x24390d(0x1df)](_0x206fb0){const _0x2958ec=_0x24390d;return this[_0x2958ec(0x1d1)](_0x206fb0);}async[_0x24390d(0x1d1)](_0x36dc3c){const _0x399ba9=_0x24390d,_0x24de34=this[_0x399ba9(0x1e1)][_0x399ba9(0x1d6)](r['IExchangeService']);if(!_0x24de34)throw new Error(_0x399ba9(0x1e5));return _0x24de34[_0x399ba9(0x1de)](_0x36dc3c,i[_0x399ba9(0x1e7)]);}async[_0x24390d(0x1f2)](_0x1a6d72){const _0x17f16c=_0x24390d;return this[_0x17f16c(0x1ee)](_0x1a6d72);}async[_0x24390d(0x1ee)](_0x1eeb63){const _0x45ae1c=_0x24390d,_0x2f207d=this[_0x45ae1c(0x1e1)][_0x45ae1c(0x1d6)](r[_0x45ae1c(0x1ea)]);if(!_0x2f207d)throw new Error(_0x45ae1c(0x1e5));return _0x2f207d['importDOCXToSnapshot'](_0x1eeb63);}async[_0x24390d(0x1db)](_0x17494e){const _0xfd28f2=_0x24390d,_0x4345e8=this['_injector'][_0xfd28f2(0x1d6)](r[_0xfd28f2(0x1ea)]);if(!_0x4345e8)throw new Error(_0xfd28f2(0x1e5));return _0x4345e8[_0xfd28f2(0x1e0)](_0x17494e);}async[_0x24390d(0x1d5)](_0x1d421c){const _0x160497=_0x24390d,_0x5daace=this[_0x160497(0x1e1)]['get'](r[_0x160497(0x1ea)]);if(!_0x5daace)throw new Error(_0x160497(0x1e5));return _0x5daace['exportDOCXByUnitId'](_0x1d421c);}}o[_0x24390d(0x1ef)][_0x24390d(0x1e9)](c);
1
+ 'use strict';const _0x189aad=_0x328e;(function(_0x1f6dff,_0x2d9a6b){const _0x4cd85d=_0x328e,_0x597275=_0x1f6dff();while(!![]){try{const _0x3c52d0=-parseInt(_0x4cd85d(0x200))/0x1*(parseInt(_0x4cd85d(0x1f4))/0x2)+parseInt(_0x4cd85d(0x1e6))/0x3*(-parseInt(_0x4cd85d(0x1ea))/0x4)+parseInt(_0x4cd85d(0x1de))/0x5+-parseInt(_0x4cd85d(0x1e3))/0x6+parseInt(_0x4cd85d(0x1f1))/0x7+-parseInt(_0x4cd85d(0x1e7))/0x8*(-parseInt(_0x4cd85d(0x201))/0x9)+-parseInt(_0x4cd85d(0x1dd))/0xa*(-parseInt(_0x4cd85d(0x1f8))/0xb);if(_0x3c52d0===_0x2d9a6b)break;else _0x597275['push'](_0x597275['shift']());}catch(_0x2741b9){_0x597275['push'](_0x597275['shift']());}}}(_0x2dda,0x723b1));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x25ab8d=>(_0x25ab8d[_0x25ab8d['UNIVER_UNKNOWN']=0x0]=_0x189aad(0x1fa),_0x25ab8d[_0x25ab8d[_0x189aad(0x1ed)]=0x1]=_0x189aad(0x1ed),_0x25ab8d[_0x25ab8d[_0x189aad(0x1ef)]=0x2]='UNIVER_SHEET',_0x25ab8d[_0x25ab8d[_0x189aad(0x1f2)]=0x3]=_0x189aad(0x1f2),_0x25ab8d[_0x25ab8d[_0x189aad(0x1fd)]=0x4]=_0x189aad(0x1fd),_0x25ab8d[_0x25ab8d[_0x189aad(0x1db)]=-0x1]=_0x189aad(0x1db),_0x25ab8d))(i||{});function _0x2dda(){const _0x1c2de7=['importFileToUnitId','450fgCwhY','exportDOCXByUnitId','exportDOCXBySnapshot','exportXLSXBySnapshotAsync','473UtUygC','importDOCXToSnapshot','UNIVER_UNKNOWN','importXLSXToSnapshotAsync','_injector','UNIVER_PROJECT','importDOCXToUnitIdAsync','exportXLSXByUnitIdAsync','2593xNbCTR','60957gQvKMX','UNRECOGNIZED','importXLSXToSnapshot','103130QvhtgI','3591710rDHLWT','exportDOCXByUnitIdAsync','get','importDOCXToSnapshotAsync','importXLSXToUnitIdAsync','3591462ndZXwC','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToUnitId','496605zpgUjj','376eAQOTj','FUniver','extend','4ynnqUc','IExchangeService','importXLSXToUnitId','UNIVER_DOC','exportXLSXByUnitId','UNIVER_SHEET','exportXLSXBySnapshot','2347058zWHWPZ','UNIVER_SLIDE'];_0x2dda=function(){return _0x1c2de7;};return _0x2dda();}function _0x328e(_0x504cf8,_0x4ed8e4){const _0x2dda75=_0x2dda();return _0x328e=function(_0x328e00,_0x589805){_0x328e00=_0x328e00-0x1db;let _0x4372b8=_0x2dda75[_0x328e00];return _0x4372b8;},_0x328e(_0x504cf8,_0x4ed8e4);}class c extends o[_0x189aad(0x1e8)]{async[_0x189aad(0x1ec)](_0x3ebe42){const _0x4291f6=_0x189aad;return this[_0x4291f6(0x1e2)](_0x3ebe42);}async[_0x189aad(0x1e2)](_0x59a2fd){const _0x4c7549=_0x189aad,_0x4639e3=this[_0x4c7549(0x1fc)]['get'](r[_0x4c7549(0x1eb)]);if(!_0x4639e3)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4639e3[_0x4c7549(0x1f3)](_0x59a2fd,i['UNIVER_SHEET']);}async[_0x189aad(0x1dc)](_0x17a493){const _0x5903d2=_0x189aad;return this[_0x5903d2(0x1fb)](_0x17a493);}async[_0x189aad(0x1fb)](_0x57c0ac){const _0x4d7730=_0x189aad,_0xfb7357=this['_injector'][_0x4d7730(0x1e0)](r[_0x4d7730(0x1eb)]);if(!_0xfb7357)throw new Error(_0x4d7730(0x1e4));return _0xfb7357['importXLSXToSnapshot'](_0x57c0ac);}async[_0x189aad(0x1ee)](_0x1fea85){const _0x10633c=_0x189aad;return this[_0x10633c(0x1ff)](_0x1fea85);}async['exportXLSXByUnitIdAsync'](_0x233597){const _0x4a3dd4=_0x189aad,_0x483a42=this[_0x4a3dd4(0x1fc)][_0x4a3dd4(0x1e0)](r[_0x4a3dd4(0x1eb)]);if(!_0x483a42)throw new Error(_0x4a3dd4(0x1e4));return _0x483a42[_0x4a3dd4(0x1ee)](_0x233597);}async[_0x189aad(0x1f0)](_0x35893b){return this['exportXLSXBySnapshotAsync'](_0x35893b);}async[_0x189aad(0x1f7)](_0xf40b80){const _0x236932=_0x189aad,_0x166f53=this[_0x236932(0x1fc)][_0x236932(0x1e0)](r[_0x236932(0x1eb)]);if(!_0x166f53)throw new Error(_0x236932(0x1e4));return _0x166f53[_0x236932(0x1f0)](_0xf40b80);}async[_0x189aad(0x1e5)](_0x4badbe){const _0x5c195a=_0x189aad;return this[_0x5c195a(0x1fe)](_0x4badbe);}async[_0x189aad(0x1fe)](_0x2e6cff){const _0x50e97a=_0x189aad,_0xcb4ee8=this[_0x50e97a(0x1fc)][_0x50e97a(0x1e0)](r[_0x50e97a(0x1eb)]);if(!_0xcb4ee8)throw new Error(_0x50e97a(0x1e4));return _0xcb4ee8[_0x50e97a(0x1f3)](_0x2e6cff,i[_0x50e97a(0x1ed)]);}async[_0x189aad(0x1f9)](_0x38e6a6){const _0x2cdbd8=_0x189aad;return this[_0x2cdbd8(0x1e1)](_0x38e6a6);}async[_0x189aad(0x1e1)](_0x5af7d4){const _0x23bb10=_0x189aad,_0x40e263=this[_0x23bb10(0x1fc)][_0x23bb10(0x1e0)](r[_0x23bb10(0x1eb)]);if(!_0x40e263)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x40e263[_0x23bb10(0x1f9)](_0x5af7d4);}async['exportDOCXBySnapshotAsync'](_0x50f39d){const _0xb24e00=_0x189aad,_0x22b8a6=this['_injector'][_0xb24e00(0x1e0)](r[_0xb24e00(0x1eb)]);if(!_0x22b8a6)throw new Error(_0xb24e00(0x1e4));return _0x22b8a6[_0xb24e00(0x1f6)](_0x50f39d);}async[_0x189aad(0x1df)](_0x5c0e0f){const _0xd4c7bb=_0x189aad,_0x376d83=this['_injector'][_0xd4c7bb(0x1e0)](r[_0xd4c7bb(0x1eb)]);if(!_0x376d83)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x376d83[_0xd4c7bb(0x1f5)](_0x5c0e0f);}}o['FUniver'][_0x189aad(0x1e9)](c);