@univerjs-pro/exchange-client 0.13.0 → 0.14.0-insiders.20251222-4efcfbb

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 +9 -9
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
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);
1
+ 'use strict';const _0x3e6ba1=_0x57ca;function _0x4144(){const _0x1aae6b=['importDOCXToSnapshot','947448zrbbEs','UNIVER_DOC','exportXLSXBySnapshot','_injector','UNIVER_PROJECT','1004088OsNNgX','importFileToUnitId','importXLSXToUnitIdAsync','importDOCXToUnitId','2KcoLyZ','exportDOCXBySnapshot','importXLSXToSnapshotAsync','UNIVER_SLIDE','171QQOKaW','951736EeDonN','10200589KiSBhI','exportDOCXByUnitId','7170575HRoevp','importDOCXToUnitIdAsync','importXLSXToUnitId','exportXLSXBySnapshotAsync','3906102QuZZUY','IExchangeService','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitIdAsync','get','UNRECOGNIZED','importDOCXToSnapshotAsync','importXLSXToSnapshot','FUniver','UNIVER_SHEET','extend','5138120jNorKL','UNIVER_UNKNOWN'];_0x4144=function(){return _0x1aae6b;};return _0x4144();}(function(_0x35aaf,_0x3284fd){const _0x1a898e=_0x57ca,_0x3bf63a=_0x35aaf();while(!![]){try{const _0xa99466=parseInt(_0x1a898e(0x118))/0x1+parseInt(_0x1a898e(0x11c))/0x2*(-parseInt(_0x1a898e(0x128))/0x3)+-parseInt(_0x1a898e(0x133))/0x4+-parseInt(_0x1a898e(0x124))/0x5+parseInt(_0x1a898e(0x136))/0x6+parseInt(_0x1a898e(0x122))/0x7+parseInt(_0x1a898e(0x121))/0x8*(parseInt(_0x1a898e(0x120))/0x9);if(_0xa99466===_0x3284fd)break;else _0x3bf63a['push'](_0x3bf63a['shift']());}catch(_0x2b41fe){_0x3bf63a['push'](_0x3bf63a['shift']());}}}(_0x4144,0xd1b25));function _0x57ca(_0x34f348,_0xfde03){_0x34f348=_0x34f348-0x118;const _0x4144c1=_0x4144();let _0x57ca4a=_0x4144c1[_0x34f348];return _0x57ca4a;}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x5647c6=>(_0x5647c6[_0x5647c6[_0x3e6ba1(0x134)]=0x0]=_0x3e6ba1(0x134),_0x5647c6[_0x5647c6[_0x3e6ba1(0x137)]=0x1]='UNIVER_DOC',_0x5647c6[_0x5647c6[_0x3e6ba1(0x131)]=0x2]='UNIVER_SHEET',_0x5647c6[_0x5647c6[_0x3e6ba1(0x11f)]=0x3]='UNIVER_SLIDE',_0x5647c6[_0x5647c6[_0x3e6ba1(0x13a)]=0x4]='UNIVER_PROJECT',_0x5647c6[_0x5647c6[_0x3e6ba1(0x12d)]=-0x1]=_0x3e6ba1(0x12d),_0x5647c6))(i||{});class c extends o['FUniver']{async[_0x3e6ba1(0x126)](_0x4923bc){const _0x1bbb41=_0x3e6ba1;return this[_0x1bbb41(0x11a)](_0x4923bc);}async[_0x3e6ba1(0x11a)](_0x343057){const _0x44b56e=_0x3e6ba1,_0x30efa8=this[_0x44b56e(0x139)][_0x44b56e(0x12c)](r[_0x44b56e(0x129)]);if(!_0x30efa8)throw new Error(_0x44b56e(0x12a));return _0x30efa8[_0x44b56e(0x119)](_0x343057,i[_0x44b56e(0x131)]);}async[_0x3e6ba1(0x12f)](_0x41b99a){return this['importXLSXToSnapshotAsync'](_0x41b99a);}async[_0x3e6ba1(0x11e)](_0x50ac1e){const _0x108422=_0x3e6ba1,_0x1de596=this['_injector'][_0x108422(0x12c)](r[_0x108422(0x129)]);if(!_0x1de596)throw new Error(_0x108422(0x12a));return _0x1de596[_0x108422(0x12f)](_0x50ac1e);}async['exportXLSXByUnitId'](_0x4d623c){const _0xa0b7c8=_0x3e6ba1;return this[_0xa0b7c8(0x12b)](_0x4d623c);}async['exportXLSXByUnitIdAsync'](_0x351ee7){const _0x4cae66=_0x3e6ba1,_0x4665a4=this[_0x4cae66(0x139)][_0x4cae66(0x12c)](r[_0x4cae66(0x129)]);if(!_0x4665a4)throw new Error(_0x4cae66(0x12a));return _0x4665a4['exportXLSXByUnitId'](_0x351ee7);}async[_0x3e6ba1(0x138)](_0x4a1665){const _0x227aa7=_0x3e6ba1;return this[_0x227aa7(0x127)](_0x4a1665);}async[_0x3e6ba1(0x127)](_0x362544){const _0x169f15=_0x3e6ba1,_0x21c625=this[_0x169f15(0x139)]['get'](r['IExchangeService']);if(!_0x21c625)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x21c625[_0x169f15(0x138)](_0x362544);}async[_0x3e6ba1(0x11b)](_0x2b8dc1){const _0x1c221d=_0x3e6ba1;return this[_0x1c221d(0x125)](_0x2b8dc1);}async[_0x3e6ba1(0x125)](_0xc1b64a){const _0x2bf2fe=_0x3e6ba1,_0x18a0ed=this[_0x2bf2fe(0x139)][_0x2bf2fe(0x12c)](r[_0x2bf2fe(0x129)]);if(!_0x18a0ed)throw new Error(_0x2bf2fe(0x12a));return _0x18a0ed[_0x2bf2fe(0x119)](_0xc1b64a,i['UNIVER_DOC']);}async[_0x3e6ba1(0x135)](_0x3df605){const _0x1e2799=_0x3e6ba1;return this[_0x1e2799(0x12e)](_0x3df605);}async[_0x3e6ba1(0x12e)](_0x520514){const _0x5a094a=_0x3e6ba1,_0x3f2882=this[_0x5a094a(0x139)]['get'](r['IExchangeService']);if(!_0x3f2882)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3f2882[_0x5a094a(0x135)](_0x520514);}async['exportDOCXBySnapshotAsync'](_0xb4383f){const _0x4d38c3=_0x3e6ba1,_0x24dfa4=this['_injector'][_0x4d38c3(0x12c)](r[_0x4d38c3(0x129)]);if(!_0x24dfa4)throw new Error(_0x4d38c3(0x12a));return _0x24dfa4[_0x4d38c3(0x11d)](_0xb4383f);}async['exportDOCXByUnitIdAsync'](_0x4a5922){const _0x17a765=_0x3e6ba1,_0x1c49a0=this['_injector']['get'](r[_0x17a765(0x129)]);if(!_0x1c49a0)throw new Error(_0x17a765(0x12a));return _0x1c49a0[_0x17a765(0x123)](_0x4a5922);}}o[_0x3e6ba1(0x130)][_0x3e6ba1(0x132)](c);