@univerjs-pro/exchange-client 0.12.4-insiders.20251213-692494c → 0.13.0

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 _0x3215(_0x153444,_0x43c36e){_0x153444=_0x153444-0xbf;const _0x24fd3f=_0x24fd();let _0x32150e=_0x24fd3f[_0x153444];return _0x32150e;}const _0x21f118=_0x3215;(function(_0x1fca2e,_0x237ac9){const _0x2d3feb=_0x3215,_0x39571e=_0x1fca2e();while(!![]){try{const _0x328bb7=-parseInt(_0x2d3feb(0xdd))/0x1*(-parseInt(_0x2d3feb(0xe5))/0x2)+-parseInt(_0x2d3feb(0xd4))/0x3*(parseInt(_0x2d3feb(0xe2))/0x4)+-parseInt(_0x2d3feb(0xde))/0x5*(-parseInt(_0x2d3feb(0xc8))/0x6)+-parseInt(_0x2d3feb(0xdb))/0x7+parseInt(_0x2d3feb(0xe4))/0x8+parseInt(_0x2d3feb(0xc0))/0x9*(parseInt(_0x2d3feb(0xc5))/0xa)+-parseInt(_0x2d3feb(0xd7))/0xb;if(_0x328bb7===_0x237ac9)break;else _0x39571e['push'](_0x39571e['shift']());}catch(_0x5b63fb){_0x39571e['push'](_0x39571e['shift']());}}}(_0x24fd,0x97eb3));function _0x24fd(){const _0x1ad678=['50NVzCJo','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToUnitId','174pYsUWS','_injector','importXLSXToUnitIdAsync','exportDOCXBySnapshotAsync','UNIVER_SLIDE','exportXLSXByUnitIdAsync','importXLSXToSnapshot','exportDOCXBySnapshot','UNIVER_UNKNOWN','get','exportXLSXBySnapshot','UNIVER_DOC','28626pOOyuP','exportDOCXByUnitId','extend','16725544ChnimV','importDOCXToSnapshot','importDOCXToSnapshotAsync','importDOCXToUnitIdAsync','3132157ztFDjV','exportXLSXBySnapshotAsync','88085uvQoNN','106095VmIJTf','exportXLSXByUnitId','exportDOCXByUnitIdAsync','importXLSXToSnapshotAsync','200ITYiWz','UNIVER_SHEET','9434304TRloNi','22DRbcSA','importFileToUnitId','546732uYBwWH','FUniver','IExchangeService','importDOCXToUnitId','UNRECOGNIZED'];_0x24fd=function(){return _0x1ad678;};return _0x24fd();}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x1ffe75=>(_0x1ffe75[_0x1ffe75[_0x21f118(0xd0)]=0x0]='UNIVER_UNKNOWN',_0x1ffe75[_0x1ffe75[_0x21f118(0xd3)]=0x1]=_0x21f118(0xd3),_0x1ffe75[_0x1ffe75['UNIVER_SHEET']=0x2]=_0x21f118(0xe3),_0x1ffe75[_0x1ffe75[_0x21f118(0xcc)]=0x3]=_0x21f118(0xcc),_0x1ffe75[_0x1ffe75['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x1ffe75[_0x1ffe75['UNRECOGNIZED']=-0x1]=_0x21f118(0xc4),_0x1ffe75))(i||{});class c extends o[_0x21f118(0xc1)]{async[_0x21f118(0xc7)](_0xce8f36){const _0x4d9620=_0x21f118;return this[_0x4d9620(0xca)](_0xce8f36);}async['importXLSXToUnitIdAsync'](_0x18adab){const _0x432e0b=_0x21f118,_0x3a542d=this[_0x432e0b(0xc9)][_0x432e0b(0xd1)](r['IExchangeService']);if(!_0x3a542d)throw new Error(_0x432e0b(0xc6));return _0x3a542d[_0x432e0b(0xbf)](_0x18adab,i['UNIVER_SHEET']);}async[_0x21f118(0xce)](_0x130c72){const _0x1b6b85=_0x21f118;return this[_0x1b6b85(0xe1)](_0x130c72);}async[_0x21f118(0xe1)](_0x43dc92){const _0x3747f8=_0x21f118,_0x59fd6d=this[_0x3747f8(0xc9)][_0x3747f8(0xd1)](r[_0x3747f8(0xc2)]);if(!_0x59fd6d)throw new Error(_0x3747f8(0xc6));return _0x59fd6d[_0x3747f8(0xce)](_0x43dc92);}async[_0x21f118(0xdf)](_0x3cadfb){const _0xf0e2c5=_0x21f118;return this[_0xf0e2c5(0xcd)](_0x3cadfb);}async['exportXLSXByUnitIdAsync'](_0xa8ad50){const _0x1c4c10=_0x21f118,_0x31d080=this['_injector'][_0x1c4c10(0xd1)](r[_0x1c4c10(0xc2)]);if(!_0x31d080)throw new Error(_0x1c4c10(0xc6));return _0x31d080['exportXLSXByUnitId'](_0xa8ad50);}async[_0x21f118(0xd2)](_0x1bfb0e){const _0x563f21=_0x21f118;return this[_0x563f21(0xdc)](_0x1bfb0e);}async['exportXLSXBySnapshotAsync'](_0x394443){const _0x285c85=_0x21f118,_0x633c3e=this['_injector'][_0x285c85(0xd1)](r['IExchangeService']);if(!_0x633c3e)throw new Error(_0x285c85(0xc6));return _0x633c3e['exportXLSXBySnapshot'](_0x394443);}async[_0x21f118(0xc3)](_0x1fd0f6){const _0x161a32=_0x21f118;return this[_0x161a32(0xda)](_0x1fd0f6);}async[_0x21f118(0xda)](_0x471bfb){const _0xaef86e=_0x21f118,_0x51f79=this['_injector'][_0xaef86e(0xd1)](r[_0xaef86e(0xc2)]);if(!_0x51f79)throw new Error(_0xaef86e(0xc6));return _0x51f79['importFileToUnitId'](_0x471bfb,i['UNIVER_DOC']);}async[_0x21f118(0xd8)](_0x197c8f){const _0x4f8511=_0x21f118;return this[_0x4f8511(0xd9)](_0x197c8f);}async[_0x21f118(0xd9)](_0x2e9036){const _0x2ccfad=_0x21f118,_0x890466=this['_injector'][_0x2ccfad(0xd1)](r['IExchangeService']);if(!_0x890466)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x890466[_0x2ccfad(0xd8)](_0x2e9036);}async[_0x21f118(0xcb)](_0x109e6b){const _0x23e389=_0x21f118,_0x830ea9=this[_0x23e389(0xc9)][_0x23e389(0xd1)](r[_0x23e389(0xc2)]);if(!_0x830ea9)throw new Error(_0x23e389(0xc6));return _0x830ea9[_0x23e389(0xcf)](_0x109e6b);}async[_0x21f118(0xe0)](_0x4249d4){const _0x52fd1d=_0x21f118,_0x5bfac3=this[_0x52fd1d(0xc9)][_0x52fd1d(0xd1)](r['IExchangeService']);if(!_0x5bfac3)throw new Error(_0x52fd1d(0xc6));return _0x5bfac3[_0x52fd1d(0xd5)](_0x4249d4);}}o[_0x21f118(0xc1)][_0x21f118(0xd6)](c);
1
+ 'use strict';const _0x37db67=_0x5749;(function(_0x571c47,_0x53b405){const _0x841731=_0x5749,_0x434525=_0x571c47();while(!![]){try{const _0x328774=-parseInt(_0x841731(0x1a3))/0x1+-parseInt(_0x841731(0x1a4))/0x2+parseInt(_0x841731(0x198))/0x3*(-parseInt(_0x841731(0x194))/0x4)+-parseInt(_0x841731(0x192))/0x5*(-parseInt(_0x841731(0x1ae))/0x6)+parseInt(_0x841731(0x191))/0x7+parseInt(_0x841731(0x19d))/0x8+parseInt(_0x841731(0x1b1))/0x9;if(_0x328774===_0x53b405)break;else _0x434525['push'](_0x434525['shift']());}catch(_0x3020d1){_0x434525['push'](_0x434525['shift']());}}}(_0xa2a9,0x53ab4));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x53e483=>(_0x53e483[_0x53e483[_0x37db67(0x1a7)]=0x0]=_0x37db67(0x1a7),_0x53e483[_0x53e483['UNIVER_DOC']=0x1]=_0x37db67(0x1b0),_0x53e483[_0x53e483[_0x37db67(0x19a)]=0x2]='UNIVER_SHEET',_0x53e483[_0x53e483[_0x37db67(0x1a2)]=0x3]=_0x37db67(0x1a2),_0x53e483[_0x53e483['UNIVER_PROJECT']=0x4]=_0x37db67(0x19b),_0x53e483[_0x53e483[_0x37db67(0x1a1)]=-0x1]=_0x37db67(0x1a1),_0x53e483))(i||{});function _0xa2a9(){const _0x543e27=['1377965nnIkYv','importDOCXToSnapshot','54932WFvtGw','exportDOCXByUnitId','importDOCXToSnapshotAsync','importDOCXToUnitId','21zaqOOl','importDOCXToUnitIdAsync','UNIVER_SHEET','UNIVER_PROJECT','The\x20exchange\x20service\x20is\x20not\x20available','1765120zNZhvm','importXLSXToSnapshotAsync','importFileToUnitId','_injector','UNRECOGNIZED','UNIVER_SLIDE','116943XHXuPx','931474SSeUan','IExchangeService','exportXLSXByUnitIdAsync','UNIVER_UNKNOWN','exportXLSXByUnitId','exportXLSXBySnapshot','get','importXLSXToSnapshot','exportXLSXBySnapshotAsync','importXLSXToUnitIdAsync','12qfsIXu','FUniver','UNIVER_DOC','1259775FhbbiJ','768026Pzlefe'];_0xa2a9=function(){return _0x543e27;};return _0xa2a9();}class c extends o[_0x37db67(0x1af)]{async['importXLSXToUnitId'](_0x195231){return this['importXLSXToUnitIdAsync'](_0x195231);}async[_0x37db67(0x1ad)](_0x780938){const _0x18a74c=_0x37db67,_0x3df3ef=this[_0x18a74c(0x1a0)]['get'](r['IExchangeService']);if(!_0x3df3ef)throw new Error(_0x18a74c(0x19c));return _0x3df3ef[_0x18a74c(0x19f)](_0x780938,i[_0x18a74c(0x19a)]);}async[_0x37db67(0x1ab)](_0x1a5385){return this['importXLSXToSnapshotAsync'](_0x1a5385);}async[_0x37db67(0x19e)](_0x15b207){const _0x36c78e=_0x37db67,_0x15753f=this[_0x36c78e(0x1a0)][_0x36c78e(0x1aa)](r['IExchangeService']);if(!_0x15753f)throw new Error(_0x36c78e(0x19c));return _0x15753f[_0x36c78e(0x1ab)](_0x15b207);}async[_0x37db67(0x1a8)](_0x5a834d){const _0x10deac=_0x37db67;return this[_0x10deac(0x1a6)](_0x5a834d);}async[_0x37db67(0x1a6)](_0x2a2524){const _0x5491f4=_0x37db67,_0xd639f8=this['_injector'][_0x5491f4(0x1aa)](r['IExchangeService']);if(!_0xd639f8)throw new Error(_0x5491f4(0x19c));return _0xd639f8[_0x5491f4(0x1a8)](_0x2a2524);}async[_0x37db67(0x1a9)](_0x149289){const _0x3f65c1=_0x37db67;return this[_0x3f65c1(0x1ac)](_0x149289);}async[_0x37db67(0x1ac)](_0x2217ca){const _0x535e46=_0x37db67,_0x3e3b9a=this[_0x535e46(0x1a0)]['get'](r[_0x535e46(0x1a5)]);if(!_0x3e3b9a)throw new Error(_0x535e46(0x19c));return _0x3e3b9a['exportXLSXBySnapshot'](_0x2217ca);}async[_0x37db67(0x197)](_0x45c0b1){return this['importDOCXToUnitIdAsync'](_0x45c0b1);}async[_0x37db67(0x199)](_0x10b5ba){const _0x1ed78d=_0x37db67,_0x1bdc11=this[_0x1ed78d(0x1a0)][_0x1ed78d(0x1aa)](r['IExchangeService']);if(!_0x1bdc11)throw new Error(_0x1ed78d(0x19c));return _0x1bdc11['importFileToUnitId'](_0x10b5ba,i[_0x1ed78d(0x1b0)]);}async[_0x37db67(0x193)](_0x2ea3f0){const _0x39856c=_0x37db67;return this[_0x39856c(0x196)](_0x2ea3f0);}async[_0x37db67(0x196)](_0x138cd6){const _0xfd104c=_0x37db67,_0x1b2dcc=this[_0xfd104c(0x1a0)][_0xfd104c(0x1aa)](r[_0xfd104c(0x1a5)]);if(!_0x1b2dcc)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1b2dcc[_0xfd104c(0x193)](_0x138cd6);}async['exportDOCXBySnapshotAsync'](_0x26a352){const _0x5e2c36=_0x37db67,_0xe68815=this[_0x5e2c36(0x1a0)][_0x5e2c36(0x1aa)](r[_0x5e2c36(0x1a5)]);if(!_0xe68815)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xe68815['exportDOCXBySnapshot'](_0x26a352);}async['exportDOCXByUnitIdAsync'](_0x1b0b6f){const _0x161fe6=_0x37db67,_0x171128=this[_0x161fe6(0x1a0)]['get'](r[_0x161fe6(0x1a5)]);if(!_0x171128)throw new Error(_0x161fe6(0x19c));return _0x171128[_0x161fe6(0x195)](_0x1b0b6f);}}function _0x5749(_0x41ae0f,_0x5c8c3b){_0x41ae0f=_0x41ae0f-0x191;const _0xa2a957=_0xa2a9();let _0x57491f=_0xa2a957[_0x41ae0f];return _0x57491f;}o[_0x37db67(0x1af)]['extend'](c);