@univerjs-pro/exchange-client 0.10.6-experimental.20250904-9591d16 → 0.10.6-nightly.202509060614

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 (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +2 -2
  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/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +2 -2
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +2 -2
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +2 -2
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +8 -8
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x2f8202=_0x4e99;(function(_0x263bba,_0x1dd293){const _0x2d4920=_0x4e99,_0x442a5a=_0x263bba();while(!![]){try{const _0x457769=parseInt(_0x2d4920(0x1dd))/0x1+-parseInt(_0x2d4920(0x1ca))/0x2+-parseInt(_0x2d4920(0x1cc))/0x3+-parseInt(_0x2d4920(0x1d6))/0x4+-parseInt(_0x2d4920(0x1be))/0x5*(parseInt(_0x2d4920(0x1d5))/0x6)+parseInt(_0x2d4920(0x1d2))/0x7+parseInt(_0x2d4920(0x1cd))/0x8;if(_0x457769===_0x1dd293)break;else _0x442a5a['push'](_0x442a5a['shift']());}catch(_0x4bd639){_0x442a5a['push'](_0x442a5a['shift']());}}}(_0x5b8c,0x455f9));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');function _0x5b8c(){const _0x58c533=['extend','exportXLSXByUnitIdAsync','importFileToUnitId','exportXLSXBySnapshot','exportDOCXByUnitIdAsync','FUniver','10424zoQOVW','importXLSXToSnapshotAsync','1279584XKiSOH','4769064GiTebm','importXLSXToUnitIdAsync','IExchangeService','UNIVER_PROJECT','UNRECOGNIZED','1263311TMyIZi','get','importDOCXToUnitId','4008hegyPB','116300ivPHss','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_UNKNOWN','UNIVER_DOC','importDOCXToSnapshot','UNIVER_SHEET','exportXLSXByUnitId','490738FGaJOL','3910dkldPH','exportXLSXBySnapshotAsync','_injector','importXLSXToSnapshot','UNIVER_SLIDE','importXLSXToUnitId'];_0x5b8c=function(){return _0x58c533;};return _0x5b8c();}var i=(_0x3412b8=>(_0x3412b8[_0x3412b8[_0x2f8202(0x1d8)]=0x0]=_0x2f8202(0x1d8),_0x3412b8[_0x3412b8['UNIVER_DOC']=0x1]=_0x2f8202(0x1d9),_0x3412b8[_0x3412b8[_0x2f8202(0x1db)]=0x2]=_0x2f8202(0x1db),_0x3412b8[_0x3412b8[_0x2f8202(0x1c2)]=0x3]=_0x2f8202(0x1c2),_0x3412b8[_0x3412b8[_0x2f8202(0x1d0)]=0x4]='UNIVER_PROJECT',_0x3412b8[_0x3412b8[_0x2f8202(0x1d1)]=-0x1]=_0x2f8202(0x1d1),_0x3412b8))(i||{});class c extends o[_0x2f8202(0x1c9)]{async[_0x2f8202(0x1c3)](_0x363268){return this['importXLSXToUnitIdAsync'](_0x363268);}async[_0x2f8202(0x1ce)](_0x5de0ce){const _0x5b56a6=_0x2f8202,_0x14b360=this['_injector'][_0x5b56a6(0x1d3)](r[_0x5b56a6(0x1cf)]);if(!_0x14b360)throw new Error(_0x5b56a6(0x1d7));return _0x14b360['importFileToUnitId'](_0x5de0ce,i[_0x5b56a6(0x1db)]);}async[_0x2f8202(0x1c1)](_0x42bbc4){const _0x287dcb=_0x2f8202;return this[_0x287dcb(0x1cb)](_0x42bbc4);}async['importXLSXToSnapshotAsync'](_0x4be07d){const _0x140305=_0x2f8202,_0x545351=this[_0x140305(0x1c0)][_0x140305(0x1d3)](r['IExchangeService']);if(!_0x545351)throw new Error(_0x140305(0x1d7));return _0x545351[_0x140305(0x1c1)](_0x4be07d);}async[_0x2f8202(0x1dc)](_0x38b176){const _0x490bd1=_0x2f8202;return this[_0x490bd1(0x1c5)](_0x38b176);}async[_0x2f8202(0x1c5)](_0x36fd27){const _0x47e9a9=_0x2f8202,_0x475e4e=this[_0x47e9a9(0x1c0)]['get'](r['IExchangeService']);if(!_0x475e4e)throw new Error(_0x47e9a9(0x1d7));return _0x475e4e[_0x47e9a9(0x1dc)](_0x36fd27);}async['exportXLSXBySnapshot'](_0x46a681){const _0x15f5f5=_0x2f8202;return this[_0x15f5f5(0x1bf)](_0x46a681);}async[_0x2f8202(0x1bf)](_0xd1f29a){const _0x273bb7=_0x2f8202,_0x3f0638=this['_injector']['get'](r[_0x273bb7(0x1cf)]);if(!_0x3f0638)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3f0638[_0x273bb7(0x1c7)](_0xd1f29a);}async[_0x2f8202(0x1d4)](_0x9d6a5d){return this['importDOCXToUnitIdAsync'](_0x9d6a5d);}async['importDOCXToUnitIdAsync'](_0x48f3e7){const _0x472e38=_0x2f8202,_0x316163=this['_injector'][_0x472e38(0x1d3)](r[_0x472e38(0x1cf)]);if(!_0x316163)throw new Error(_0x472e38(0x1d7));return _0x316163[_0x472e38(0x1c6)](_0x48f3e7,i[_0x472e38(0x1d9)]);}async[_0x2f8202(0x1da)](_0x3d5675){return this['importDOCXToSnapshotAsync'](_0x3d5675);}async['importDOCXToSnapshotAsync'](_0x1ad174){const _0x84d9e5=_0x2f8202,_0x21fe4a=this[_0x84d9e5(0x1c0)][_0x84d9e5(0x1d3)](r[_0x84d9e5(0x1cf)]);if(!_0x21fe4a)throw new Error(_0x84d9e5(0x1d7));return _0x21fe4a[_0x84d9e5(0x1da)](_0x1ad174);}async['exportDOCXBySnapshotAsync'](_0x47559f){const _0x177573=_0x2f8202,_0x203c6b=this[_0x177573(0x1c0)]['get'](r[_0x177573(0x1cf)]);if(!_0x203c6b)throw new Error(_0x177573(0x1d7));return _0x203c6b['exportDOCXBySnapshot'](_0x47559f);}async[_0x2f8202(0x1c8)](_0x23f165){const _0x528ed7=_0x2f8202,_0x1b1fac=this['_injector'][_0x528ed7(0x1d3)](r['IExchangeService']);if(!_0x1b1fac)throw new Error(_0x528ed7(0x1d7));return _0x1b1fac['exportDOCXByUnitId'](_0x23f165);}}function _0x4e99(_0x3cc607,_0x2d831c){const _0x5b8c1c=_0x5b8c();return _0x4e99=function(_0x4e99f7,_0x2666ac){_0x4e99f7=_0x4e99f7-0x1be;let _0x31c314=_0x5b8c1c[_0x4e99f7];return _0x31c314;},_0x4e99(_0x3cc607,_0x2d831c);}o[_0x2f8202(0x1c9)][_0x2f8202(0x1c4)](c);
1
+ 'use strict';const _0x5a6470=_0x410b;(function(_0x1b63bf,_0xabc7ba){const _0x5800c3=_0x410b,_0xb46ade=_0x1b63bf();while(!![]){try{const _0x3f0519=parseInt(_0x5800c3(0x135))/0x1*(parseInt(_0x5800c3(0x134))/0x2)+-parseInt(_0x5800c3(0x12b))/0x3+-parseInt(_0x5800c3(0x126))/0x4*(-parseInt(_0x5800c3(0x13f))/0x5)+-parseInt(_0x5800c3(0x139))/0x6+-parseInt(_0x5800c3(0x12a))/0x7*(-parseInt(_0x5800c3(0x13b))/0x8)+-parseInt(_0x5800c3(0x142))/0x9+parseInt(_0x5800c3(0x144))/0xa;if(_0x3f0519===_0xabc7ba)break;else _0xb46ade['push'](_0xb46ade['shift']());}catch(_0x430a5b){_0xb46ade['push'](_0xb46ade['shift']());}}}(_0x3469,0xb13f0));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');function _0x410b(_0x3d93ed,_0x267849){const _0x34695a=_0x3469();return _0x410b=function(_0x410bbc,_0x3893d4){_0x410bbc=_0x410bbc-0x124;let _0x39b287=_0x34695a[_0x410bbc];return _0x39b287;},_0x410b(_0x3d93ed,_0x267849);}var i=(_0x65f3b8=>(_0x65f3b8[_0x65f3b8[_0x5a6470(0x12c)]=0x0]=_0x5a6470(0x12c),_0x65f3b8[_0x65f3b8[_0x5a6470(0x140)]=0x1]=_0x5a6470(0x140),_0x65f3b8[_0x65f3b8['UNIVER_SHEET']=0x2]=_0x5a6470(0x13c),_0x65f3b8[_0x65f3b8[_0x5a6470(0x128)]=0x3]='UNIVER_SLIDE',_0x65f3b8[_0x65f3b8['UNIVER_PROJECT']=0x4]=_0x5a6470(0x13a),_0x65f3b8[_0x65f3b8[_0x5a6470(0x148)]=-0x1]='UNRECOGNIZED',_0x65f3b8))(i||{});class c extends o[_0x5a6470(0x149)]{async[_0x5a6470(0x124)](_0x212489){return this['importXLSXToUnitIdAsync'](_0x212489);}async[_0x5a6470(0x138)](_0x12325d){const _0x3e82e4=_0x5a6470,_0x2f363e=this[_0x3e82e4(0x143)][_0x3e82e4(0x14a)](r[_0x3e82e4(0x145)]);if(!_0x2f363e)throw new Error(_0x3e82e4(0x133));return _0x2f363e[_0x3e82e4(0x137)](_0x12325d,i[_0x3e82e4(0x13c)]);}async[_0x5a6470(0x13d)](_0x17bdea){const _0x4869fb=_0x5a6470;return this[_0x4869fb(0x127)](_0x17bdea);}async[_0x5a6470(0x127)](_0x5130e2){const _0xebab94=_0x5a6470,_0x2ad5dd=this[_0xebab94(0x143)][_0xebab94(0x14a)](r['IExchangeService']);if(!_0x2ad5dd)throw new Error(_0xebab94(0x133));return _0x2ad5dd[_0xebab94(0x13d)](_0x5130e2);}async[_0x5a6470(0x13e)](_0xca62af){return this['exportXLSXByUnitIdAsync'](_0xca62af);}async[_0x5a6470(0x141)](_0x295eb9){const _0x169d5d=_0x5a6470,_0x593f4f=this[_0x169d5d(0x143)]['get'](r[_0x169d5d(0x145)]);if(!_0x593f4f)throw new Error(_0x169d5d(0x133));return _0x593f4f[_0x169d5d(0x13e)](_0x295eb9);}async[_0x5a6470(0x125)](_0x12f6cd){const _0x3f5cb3=_0x5a6470;return this[_0x3f5cb3(0x136)](_0x12f6cd);}async['exportXLSXBySnapshotAsync'](_0x39a0e6){const _0x500ef0=_0x5a6470,_0x4866af=this[_0x500ef0(0x143)][_0x500ef0(0x14a)](r[_0x500ef0(0x145)]);if(!_0x4866af)throw new Error(_0x500ef0(0x133));return _0x4866af['exportXLSXBySnapshot'](_0x39a0e6);}async[_0x5a6470(0x147)](_0x4d439f){const _0x5297ff=_0x5a6470;return this[_0x5297ff(0x12e)](_0x4d439f);}async[_0x5a6470(0x12e)](_0x27bbfd){const _0x561c6b=_0x5a6470,_0x483d51=this[_0x561c6b(0x143)]['get'](r[_0x561c6b(0x145)]);if(!_0x483d51)throw new Error(_0x561c6b(0x133));return _0x483d51[_0x561c6b(0x137)](_0x27bbfd,i['UNIVER_DOC']);}async[_0x5a6470(0x132)](_0x294dfc){const _0xe1095c=_0x5a6470;return this[_0xe1095c(0x129)](_0x294dfc);}async['importDOCXToSnapshotAsync'](_0x403d94){const _0x5da06c=_0x5a6470,_0xa1e284=this[_0x5da06c(0x143)][_0x5da06c(0x14a)](r[_0x5da06c(0x145)]);if(!_0xa1e284)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xa1e284['importDOCXToSnapshot'](_0x403d94);}async[_0x5a6470(0x146)](_0x2e340d){const _0x582538=_0x5a6470,_0x4b6ac5=this[_0x582538(0x143)][_0x582538(0x14a)](r[_0x582538(0x145)]);if(!_0x4b6ac5)throw new Error(_0x582538(0x133));return _0x4b6ac5[_0x582538(0x12d)](_0x2e340d);}async[_0x5a6470(0x130)](_0x1cf6d4){const _0x474600=_0x5a6470,_0x53ca87=this[_0x474600(0x143)]['get'](r[_0x474600(0x145)]);if(!_0x53ca87)throw new Error(_0x474600(0x133));return _0x53ca87[_0x474600(0x131)](_0x1cf6d4);}}function _0x3469(){const _0x3dbfed=['UNIVER_SLIDE','importDOCXToSnapshotAsync','1890MCyLPq','3450918qHvjxJ','UNIVER_UNKNOWN','exportDOCXBySnapshot','importDOCXToUnitIdAsync','extend','exportDOCXByUnitIdAsync','exportDOCXByUnitId','importDOCXToSnapshot','The\x20exchange\x20service\x20is\x20not\x20available','735398jeqSJe','1AuJvQl','exportXLSXBySnapshotAsync','importFileToUnitId','importXLSXToUnitIdAsync','6410946qizcPv','UNIVER_PROJECT','28136Odxvrl','UNIVER_SHEET','importXLSXToSnapshot','exportXLSXByUnitId','30FoZvXH','UNIVER_DOC','exportXLSXByUnitIdAsync','428022THgdwl','_injector','8205040jsJpXs','IExchangeService','exportDOCXBySnapshotAsync','importDOCXToUnitId','UNRECOGNIZED','FUniver','get','importXLSXToUnitId','exportXLSXBySnapshot','569708eosIeJ','importXLSXToSnapshotAsync'];_0x3469=function(){return _0x3dbfed;};return _0x3469();}o[_0x5a6470(0x149)][_0x5a6470(0x12f)](c);