@univerjs-pro/exchange-client 0.12.3-nightly.202512060617 → 0.12.4

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 (53) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  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/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +8 -8
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x2fe3(_0x7c33b3,_0x1e975c){_0x7c33b3=_0x7c33b3-0x141;const _0x36ddd3=_0x36dd();let _0x2fe3de=_0x36ddd3[_0x7c33b3];return _0x2fe3de;}const _0x5b4161=_0x2fe3;(function(_0x347a19,_0x4ef2b9){const _0x392147=_0x2fe3,_0x3141de=_0x347a19();while(!![]){try{const _0x12082a=-parseInt(_0x392147(0x14b))/0x1+-parseInt(_0x392147(0x167))/0x2*(-parseInt(_0x392147(0x159))/0x3)+parseInt(_0x392147(0x154))/0x4*(-parseInt(_0x392147(0x144))/0x5)+parseInt(_0x392147(0x160))/0x6*(-parseInt(_0x392147(0x165))/0x7)+parseInt(_0x392147(0x150))/0x8+parseInt(_0x392147(0x15a))/0x9*(parseInt(_0x392147(0x166))/0xa)+parseInt(_0x392147(0x14c))/0xb;if(_0x12082a===_0x4ef2b9)break;else _0x3141de['push'](_0x3141de['shift']());}catch(_0x849fb5){_0x3141de['push'](_0x3141de['shift']());}}}(_0x36dd,0x4a427));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x1ed49f=>(_0x1ed49f[_0x1ed49f[_0x5b4161(0x158)]=0x0]=_0x5b4161(0x158),_0x1ed49f[_0x1ed49f[_0x5b4161(0x14d)]=0x1]='UNIVER_DOC',_0x1ed49f[_0x1ed49f[_0x5b4161(0x162)]=0x2]=_0x5b4161(0x162),_0x1ed49f[_0x1ed49f[_0x5b4161(0x15e)]=0x3]=_0x5b4161(0x15e),_0x1ed49f[_0x1ed49f['UNIVER_PROJECT']=0x4]=_0x5b4161(0x15d),_0x1ed49f[_0x1ed49f[_0x5b4161(0x153)]=-0x1]=_0x5b4161(0x153),_0x1ed49f))(i||{});function _0x36dd(){const _0xb57c62=['UNIVER_DOC','importFileToUnitId','exportDOCXByUnitIdAsync','236120xOBpiC','exportXLSXByUnitId','exportXLSXBySnapshot','UNRECOGNIZED','59132gPOGBk','extend','importDOCXToSnapshot','IExchangeService','UNIVER_UNKNOWN','1021074ImxwPs','2641131PebOIH','exportDOCXByUnitId','exportDOCXBySnapshotAsync','UNIVER_PROJECT','UNIVER_SLIDE','importDOCXToSnapshotAsync','9174JYOqMS','get','UNIVER_SHEET','importDOCXToUnitId','importXLSXToUnitId','707brpqPM','10FLPTOK','2sQEGAx','importXLSXToSnapshotAsync','importXLSXToUnitIdAsync','FUniver','exportXLSXByUnitIdAsync','145UJIPps','exportXLSXBySnapshotAsync','_injector','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshot','importDOCXToUnitIdAsync','exportDOCXBySnapshot','29300BHeDci','2785981Cvluvx'];_0x36dd=function(){return _0xb57c62;};return _0x36dd();}class c extends o[_0x5b4161(0x142)]{async[_0x5b4161(0x164)](_0x17e6a1){const _0x233961=_0x5b4161;return this[_0x233961(0x141)](_0x17e6a1);}async[_0x5b4161(0x141)](_0x2b2c43){const _0x1d45f7=_0x5b4161,_0x8e46c0=this[_0x1d45f7(0x146)][_0x1d45f7(0x161)](r['IExchangeService']);if(!_0x8e46c0)throw new Error(_0x1d45f7(0x147));return _0x8e46c0[_0x1d45f7(0x14e)](_0x2b2c43,i['UNIVER_SHEET']);}async[_0x5b4161(0x148)](_0x55561d){const _0x5d4bd7=_0x5b4161;return this[_0x5d4bd7(0x168)](_0x55561d);}async['importXLSXToSnapshotAsync'](_0x41ce99){const _0x1f5559=_0x5b4161,_0x558903=this[_0x1f5559(0x146)][_0x1f5559(0x161)](r[_0x1f5559(0x157)]);if(!_0x558903)throw new Error(_0x1f5559(0x147));return _0x558903[_0x1f5559(0x148)](_0x41ce99);}async[_0x5b4161(0x151)](_0x4fc369){const _0x1360bf=_0x5b4161;return this[_0x1360bf(0x143)](_0x4fc369);}async[_0x5b4161(0x143)](_0x118577){const _0x155c31=_0x5b4161,_0x5ef04c=this[_0x155c31(0x146)]['get'](r[_0x155c31(0x157)]);if(!_0x5ef04c)throw new Error(_0x155c31(0x147));return _0x5ef04c[_0x155c31(0x151)](_0x118577);}async[_0x5b4161(0x152)](_0x3e16de){const _0x17300b=_0x5b4161;return this[_0x17300b(0x145)](_0x3e16de);}async[_0x5b4161(0x145)](_0x3a56dc){const _0x7bd518=_0x5b4161,_0x569900=this[_0x7bd518(0x146)][_0x7bd518(0x161)](r[_0x7bd518(0x157)]);if(!_0x569900)throw new Error(_0x7bd518(0x147));return _0x569900[_0x7bd518(0x152)](_0x3a56dc);}async[_0x5b4161(0x163)](_0x56ccce){const _0x2b3efb=_0x5b4161;return this[_0x2b3efb(0x149)](_0x56ccce);}async[_0x5b4161(0x149)](_0x4c4d01){const _0x4ccd21=_0x5b4161,_0x543e9b=this['_injector'][_0x4ccd21(0x161)](r[_0x4ccd21(0x157)]);if(!_0x543e9b)throw new Error(_0x4ccd21(0x147));return _0x543e9b[_0x4ccd21(0x14e)](_0x4c4d01,i[_0x4ccd21(0x14d)]);}async['importDOCXToSnapshot'](_0x213078){const _0x191036=_0x5b4161;return this[_0x191036(0x15f)](_0x213078);}async[_0x5b4161(0x15f)](_0xb001e){const _0x439e0e=_0x5b4161,_0x43485f=this[_0x439e0e(0x146)]['get'](r['IExchangeService']);if(!_0x43485f)throw new Error(_0x439e0e(0x147));return _0x43485f[_0x439e0e(0x156)](_0xb001e);}async[_0x5b4161(0x15c)](_0x1de783){const _0x4aef3d=_0x5b4161,_0x1cfa57=this[_0x4aef3d(0x146)][_0x4aef3d(0x161)](r[_0x4aef3d(0x157)]);if(!_0x1cfa57)throw new Error(_0x4aef3d(0x147));return _0x1cfa57[_0x4aef3d(0x14a)](_0x1de783);}async[_0x5b4161(0x14f)](_0x54e099){const _0x3bdb01=_0x5b4161,_0x3a6ced=this[_0x3bdb01(0x146)]['get'](r['IExchangeService']);if(!_0x3a6ced)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3a6ced[_0x3bdb01(0x15b)](_0x54e099);}}o['FUniver'][_0x5b4161(0x155)](c);
1
+ 'use strict';const _0x69f921=_0x3e28;(function(_0x57b09b,_0x2a606b){const _0x22a51d=_0x3e28,_0x308f90=_0x57b09b();while(!![]){try{const _0x1bcf08=-parseInt(_0x22a51d(0x1c5))/0x1+-parseInt(_0x22a51d(0x1dd))/0x2+parseInt(_0x22a51d(0x1c6))/0x3+-parseInt(_0x22a51d(0x1d5))/0x4+parseInt(_0x22a51d(0x1e0))/0x5+parseInt(_0x22a51d(0x1c4))/0x6+parseInt(_0x22a51d(0x1cf))/0x7*(-parseInt(_0x22a51d(0x1c2))/0x8);if(_0x1bcf08===_0x2a606b)break;else _0x308f90['push'](_0x308f90['shift']());}catch(_0x1b2750){_0x308f90['push'](_0x308f90['shift']());}}}(_0x38cb,0xef07b));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');function _0x38cb(){const _0x540afb=['7223805WdeoWT','UNRECOGNIZED','244656nHLMbB','importFileToUnitId','10870566yThxzg','401887tSqAgx','5250231gwmjVZ','_injector','importDOCXToUnitIdAsync','exportXLSXBySnapshot','UNIVER_PROJECT','importXLSXToSnapshotAsync','UNIVER_DOC','UNIVER_SHEET','importDOCXToSnapshotAsync','70nJDbwB','exportXLSXByUnitId','importXLSXToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SLIDE','IExchangeService','7803180jgLpVg','importDOCXToUnitId','exportXLSXBySnapshotAsync','exportXLSXByUnitIdAsync','exportDOCXBySnapshot','exportDOCXBySnapshotAsync','get','UNIVER_UNKNOWN','2738060eEujDb','importDOCXToSnapshot','exportDOCXByUnitIdAsync'];_0x38cb=function(){return _0x540afb;};return _0x38cb();}function _0x3e28(_0x2be4dc,_0x248281){_0x2be4dc=_0x2be4dc-0x1c1;const _0x38cbb3=_0x38cb();let _0x3e2828=_0x38cbb3[_0x2be4dc];return _0x3e2828;}var i=(_0x5070ad=>(_0x5070ad[_0x5070ad[_0x69f921(0x1dc)]=0x0]=_0x69f921(0x1dc),_0x5070ad[_0x5070ad[_0x69f921(0x1cc)]=0x1]=_0x69f921(0x1cc),_0x5070ad[_0x5070ad['UNIVER_SHEET']=0x2]=_0x69f921(0x1cd),_0x5070ad[_0x5070ad[_0x69f921(0x1d3)]=0x3]=_0x69f921(0x1d3),_0x5070ad[_0x5070ad['UNIVER_PROJECT']=0x4]=_0x69f921(0x1ca),_0x5070ad[_0x5070ad[_0x69f921(0x1c1)]=-0x1]=_0x69f921(0x1c1),_0x5070ad))(i||{});class c extends o['FUniver']{async[_0x69f921(0x1d1)](_0x59057e){return this['importXLSXToUnitIdAsync'](_0x59057e);}async['importXLSXToUnitIdAsync'](_0x53c769){const _0x465b28=_0x69f921,_0x4e61ad=this['_injector'][_0x465b28(0x1db)](r[_0x465b28(0x1d4)]);if(!_0x4e61ad)throw new Error(_0x465b28(0x1d2));return _0x4e61ad[_0x465b28(0x1c3)](_0x53c769,i['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x2226d2){const _0x5df4f3=_0x69f921;return this[_0x5df4f3(0x1cb)](_0x2226d2);}async[_0x69f921(0x1cb)](_0x26dbac){const _0x3c8247=_0x69f921,_0x64d92c=this['_injector'][_0x3c8247(0x1db)](r[_0x3c8247(0x1d4)]);if(!_0x64d92c)throw new Error(_0x3c8247(0x1d2));return _0x64d92c['importXLSXToSnapshot'](_0x26dbac);}async[_0x69f921(0x1d0)](_0x120248){const _0x12c144=_0x69f921;return this[_0x12c144(0x1d8)](_0x120248);}async[_0x69f921(0x1d8)](_0x4559d3){const _0x187f70=_0x69f921,_0xe265f4=this[_0x187f70(0x1c7)][_0x187f70(0x1db)](r['IExchangeService']);if(!_0xe265f4)throw new Error(_0x187f70(0x1d2));return _0xe265f4[_0x187f70(0x1d0)](_0x4559d3);}async['exportXLSXBySnapshot'](_0xee202e){return this['exportXLSXBySnapshotAsync'](_0xee202e);}async[_0x69f921(0x1d7)](_0x37c837){const _0x5e5e55=_0x69f921,_0x34d6b0=this[_0x5e5e55(0x1c7)]['get'](r[_0x5e5e55(0x1d4)]);if(!_0x34d6b0)throw new Error(_0x5e5e55(0x1d2));return _0x34d6b0[_0x5e5e55(0x1c9)](_0x37c837);}async[_0x69f921(0x1d6)](_0x1da891){const _0x4ec3de=_0x69f921;return this[_0x4ec3de(0x1c8)](_0x1da891);}async['importDOCXToUnitIdAsync'](_0x5927ef){const _0x3d7b81=_0x69f921,_0x4b72f8=this[_0x3d7b81(0x1c7)][_0x3d7b81(0x1db)](r[_0x3d7b81(0x1d4)]);if(!_0x4b72f8)throw new Error(_0x3d7b81(0x1d2));return _0x4b72f8['importFileToUnitId'](_0x5927ef,i[_0x3d7b81(0x1cc)]);}async[_0x69f921(0x1de)](_0x513109){const _0x3c0365=_0x69f921;return this[_0x3c0365(0x1ce)](_0x513109);}async[_0x69f921(0x1ce)](_0x57b6a9){const _0x2a1c38=_0x69f921,_0x157a5f=this[_0x2a1c38(0x1c7)][_0x2a1c38(0x1db)](r[_0x2a1c38(0x1d4)]);if(!_0x157a5f)throw new Error(_0x2a1c38(0x1d2));return _0x157a5f['importDOCXToSnapshot'](_0x57b6a9);}async[_0x69f921(0x1da)](_0x2e18a8){const _0x4efd31=_0x69f921,_0x25eef1=this[_0x4efd31(0x1c7)][_0x4efd31(0x1db)](r[_0x4efd31(0x1d4)]);if(!_0x25eef1)throw new Error(_0x4efd31(0x1d2));return _0x25eef1[_0x4efd31(0x1d9)](_0x2e18a8);}async[_0x69f921(0x1df)](_0x2868cd){const _0x28dfae=_0x69f921,_0x249ff8=this[_0x28dfae(0x1c7)]['get'](r[_0x28dfae(0x1d4)]);if(!_0x249ff8)throw new Error(_0x28dfae(0x1d2));return _0x249ff8['exportDOCXByUnitId'](_0x2868cd);}}o['FUniver']['extend'](c);