@univerjs-pro/exchange-client 0.10.6 → 0.10.7-nightly.202509090319

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 +12 -12
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x6fbc52=_0x44a4;(function(_0xee30fb,_0x50faf6){const _0x3040e5=_0x44a4,_0x5a8e65=_0xee30fb();while(!![]){try{const _0x30f481=-parseInt(_0x3040e5(0x9d))/0x1*(-parseInt(_0x3040e5(0x90))/0x2)+parseInt(_0x3040e5(0xa2))/0x3+-parseInt(_0x3040e5(0x9b))/0x4+-parseInt(_0x3040e5(0x91))/0x5*(-parseInt(_0x3040e5(0xa6))/0x6)+parseInt(_0x3040e5(0xa0))/0x7*(parseInt(_0x3040e5(0x9a))/0x8)+parseInt(_0x3040e5(0xa1))/0x9+-parseInt(_0x3040e5(0x92))/0xa;if(_0x30f481===_0x50faf6)break;else _0x5a8e65['push'](_0x5a8e65['shift']());}catch(_0x392f27){_0x5a8e65['push'](_0x5a8e65['shift']());}}}(_0x4d93,0x8fe16));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x20689b=>(_0x20689b[_0x20689b[_0x6fbc52(0xa8)]=0x0]=_0x6fbc52(0xa8),_0x20689b[_0x20689b['UNIVER_DOC']=0x1]=_0x6fbc52(0xae),_0x20689b[_0x20689b[_0x6fbc52(0xaa)]=0x2]=_0x6fbc52(0xaa),_0x20689b[_0x20689b[_0x6fbc52(0xa7)]=0x3]='UNIVER_SLIDE',_0x20689b[_0x20689b[_0x6fbc52(0xa9)]=0x4]=_0x6fbc52(0xa9),_0x20689b[_0x20689b[_0x6fbc52(0x9e)]=-0x1]=_0x6fbc52(0x9e),_0x20689b))(i||{});function _0x4d93(){const _0x31ef5b=['UNIVER_DOC','importDOCXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','FUniver','importDOCXToSnapshot','importDOCXToUnitId','extend','exportDOCXBySnapshotAsync','7468dfCHQW','5mrxANx','27745350DExNJH','exportDOCXByUnitIdAsync','exportXLSXBySnapshot','get','importXLSXToSnapshot','importXLSXToSnapshotAsync','importXLSXToUnitIdAsync','exportXLSXByUnitId','16Ropzof','1192948SYikhK','exportDOCXBySnapshot','7dGogrM','UNRECOGNIZED','importDOCXToSnapshotAsync','3401370VBfWIP','6251535SamkiK','2843178ZzNlUX','IExchangeService','exportXLSXByUnitIdAsync','_injector','6130842TsSrsi','UNIVER_SLIDE','UNIVER_UNKNOWN','UNIVER_PROJECT','UNIVER_SHEET','importFileToUnitId','exportXLSXBySnapshotAsync','importXLSXToUnitId'];_0x4d93=function(){return _0x31ef5b;};return _0x4d93();}class c extends o['FUniver']{async[_0x6fbc52(0xad)](_0x21c139){const _0x2eec99=_0x6fbc52;return this[_0x2eec99(0x98)](_0x21c139);}async[_0x6fbc52(0x98)](_0xd07b1a){const _0x389ff1=_0x6fbc52,_0x18ebe8=this[_0x389ff1(0xa5)]['get'](r[_0x389ff1(0xa3)]);if(!_0x18ebe8)throw new Error(_0x389ff1(0xb0));return _0x18ebe8['importFileToUnitId'](_0xd07b1a,i['UNIVER_SHEET']);}async[_0x6fbc52(0x96)](_0x5d265d){return this['importXLSXToSnapshotAsync'](_0x5d265d);}async[_0x6fbc52(0x97)](_0x2315dd){const _0x1e8c85=_0x6fbc52,_0x1f107b=this[_0x1e8c85(0xa5)][_0x1e8c85(0x95)](r[_0x1e8c85(0xa3)]);if(!_0x1f107b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1f107b[_0x1e8c85(0x96)](_0x2315dd);}async[_0x6fbc52(0x99)](_0x5ac332){const _0x29af70=_0x6fbc52;return this[_0x29af70(0xa4)](_0x5ac332);}async[_0x6fbc52(0xa4)](_0x12ef1a){const _0x43e525=_0x6fbc52,_0x5a6d23=this[_0x43e525(0xa5)][_0x43e525(0x95)](r[_0x43e525(0xa3)]);if(!_0x5a6d23)throw new Error(_0x43e525(0xb0));return _0x5a6d23['exportXLSXByUnitId'](_0x12ef1a);}async[_0x6fbc52(0x94)](_0x72bcc1){const _0x4c164e=_0x6fbc52;return this[_0x4c164e(0xac)](_0x72bcc1);}async[_0x6fbc52(0xac)](_0x5afd27){const _0x260175=_0x6fbc52,_0x2441a0=this[_0x260175(0xa5)][_0x260175(0x95)](r['IExchangeService']);if(!_0x2441a0)throw new Error(_0x260175(0xb0));return _0x2441a0[_0x260175(0x94)](_0x5afd27);}async[_0x6fbc52(0xb3)](_0x49c411){const _0x3402b7=_0x6fbc52;return this[_0x3402b7(0xaf)](_0x49c411);}async[_0x6fbc52(0xaf)](_0x5668e4){const _0x59ec79=_0x6fbc52,_0x4d4d7b=this[_0x59ec79(0xa5)]['get'](r[_0x59ec79(0xa3)]);if(!_0x4d4d7b)throw new Error(_0x59ec79(0xb0));return _0x4d4d7b[_0x59ec79(0xab)](_0x5668e4,i[_0x59ec79(0xae)]);}async[_0x6fbc52(0xb2)](_0x3f6af9){const _0x3f58dd=_0x6fbc52;return this[_0x3f58dd(0x9f)](_0x3f6af9);}async[_0x6fbc52(0x9f)](_0x9d3447){const _0x3d6c4f=_0x6fbc52,_0x45b794=this[_0x3d6c4f(0xa5)][_0x3d6c4f(0x95)](r[_0x3d6c4f(0xa3)]);if(!_0x45b794)throw new Error(_0x3d6c4f(0xb0));return _0x45b794[_0x3d6c4f(0xb2)](_0x9d3447);}async[_0x6fbc52(0xb5)](_0x147992){const _0x57e74d=_0x6fbc52,_0x4db517=this['_injector'][_0x57e74d(0x95)](r[_0x57e74d(0xa3)]);if(!_0x4db517)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4db517[_0x57e74d(0x9c)](_0x147992);}async[_0x6fbc52(0x93)](_0x21e926){const _0x33fed5=_0x6fbc52,_0x42210b=this[_0x33fed5(0xa5)]['get'](r[_0x33fed5(0xa3)]);if(!_0x42210b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x42210b['exportDOCXByUnitId'](_0x21e926);}}function _0x44a4(_0x58f445,_0x2b5220){const _0x4d93ee=_0x4d93();return _0x44a4=function(_0x44a45a,_0x10dbd7){_0x44a45a=_0x44a45a-0x90;let _0x32eb25=_0x4d93ee[_0x44a45a];return _0x32eb25;},_0x44a4(_0x58f445,_0x2b5220);}o[_0x6fbc52(0xb1)][_0x6fbc52(0xb4)](c);
1
+ 'use strict';function _0xcc44(_0x39a40a,_0x4932c3){const _0x3b18af=_0x3b18();return _0xcc44=function(_0xcc44f2,_0x491818){_0xcc44f2=_0xcc44f2-0x16e;let _0x4e1121=_0x3b18af[_0xcc44f2];return _0x4e1121;},_0xcc44(_0x39a40a,_0x4932c3);}const _0x8629f9=_0xcc44;(function(_0x3ed909,_0x2709d9){const _0x399194=_0xcc44,_0x433b4a=_0x3ed909();while(!![]){try{const _0x503841=-parseInt(_0x399194(0x176))/0x1+parseInt(_0x399194(0x178))/0x2+-parseInt(_0x399194(0x170))/0x3*(parseInt(_0x399194(0x183))/0x4)+parseInt(_0x399194(0x181))/0x5+parseInt(_0x399194(0x175))/0x6*(parseInt(_0x399194(0x18c))/0x7)+parseInt(_0x399194(0x18e))/0x8*(-parseInt(_0x399194(0x185))/0x9)+parseInt(_0x399194(0x17a))/0xa;if(_0x503841===_0x2709d9)break;else _0x433b4a['push'](_0x433b4a['shift']());}catch(_0x3769ad){_0x433b4a['push'](_0x433b4a['shift']());}}}(_0x3b18,0xf2b48));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');function _0x3b18(){const _0x30e903=['UNIVER_SHEET','importDOCXToSnapshotAsync','importDOCXToSnapshot','importXLSXToUnitId','_injector','4716250CzVGkE','IExchangeService','15376sdqddu','exportDOCXBySnapshot','144fhnDNE','importDOCXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXBySnapshot','get','UNIVER_PROJECT','FUniver','5887MAPIYn','UNIVER_SLIDE','839080ykXusF','UNIVER_DOC','exportXLSXByUnitId','UNRECOGNIZED','1122hIfLSL','exportDOCXBySnapshotAsync','importDOCXToUnitId','exportXLSXByUnitIdAsync','importXLSXToSnapshotAsync','11040GvktiP','647626nvZRoG','extend','2067734tvzciu','UNIVER_UNKNOWN','12330050XvYJcA','importXLSXToSnapshot'];_0x3b18=function(){return _0x30e903;};return _0x3b18();}var i=(_0x3ca88e=>(_0x3ca88e[_0x3ca88e[_0x8629f9(0x179)]=0x0]=_0x8629f9(0x179),_0x3ca88e[_0x3ca88e[_0x8629f9(0x18f)]=0x1]=_0x8629f9(0x18f),_0x3ca88e[_0x3ca88e['UNIVER_SHEET']=0x2]=_0x8629f9(0x17c),_0x3ca88e[_0x3ca88e[_0x8629f9(0x18d)]=0x3]='UNIVER_SLIDE',_0x3ca88e[_0x3ca88e['UNIVER_PROJECT']=0x4]=_0x8629f9(0x18a),_0x3ca88e[_0x3ca88e[_0x8629f9(0x16f)]=-0x1]=_0x8629f9(0x16f),_0x3ca88e))(i||{});class c extends o[_0x8629f9(0x18b)]{async[_0x8629f9(0x17f)](_0x4e0f6b){return this['importXLSXToUnitIdAsync'](_0x4e0f6b);}async['importXLSXToUnitIdAsync'](_0x38cf93){const _0x8f5719=_0x8629f9,_0x514fe1=this[_0x8f5719(0x180)]['get'](r[_0x8f5719(0x182)]);if(!_0x514fe1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x514fe1['importFileToUnitId'](_0x38cf93,i[_0x8f5719(0x17c)]);}async[_0x8629f9(0x17b)](_0x1e346f){const _0x3dc08e=_0x8629f9;return this[_0x3dc08e(0x174)](_0x1e346f);}async['importXLSXToSnapshotAsync'](_0x3247c2){const _0x292f95=_0x8629f9,_0x15637f=this[_0x292f95(0x180)]['get'](r[_0x292f95(0x182)]);if(!_0x15637f)throw new Error(_0x292f95(0x187));return _0x15637f[_0x292f95(0x17b)](_0x3247c2);}async[_0x8629f9(0x16e)](_0x346c38){const _0x3892de=_0x8629f9;return this[_0x3892de(0x173)](_0x346c38);}async[_0x8629f9(0x173)](_0x638546){const _0x1b678e=_0x8629f9,_0x5366bc=this[_0x1b678e(0x180)][_0x1b678e(0x189)](r['IExchangeService']);if(!_0x5366bc)throw new Error(_0x1b678e(0x187));return _0x5366bc[_0x1b678e(0x16e)](_0x638546);}async[_0x8629f9(0x188)](_0x44f419){return this['exportXLSXBySnapshotAsync'](_0x44f419);}async['exportXLSXBySnapshotAsync'](_0x2a16c3){const _0x18bd5c=_0x8629f9,_0x5312c1=this[_0x18bd5c(0x180)]['get'](r[_0x18bd5c(0x182)]);if(!_0x5312c1)throw new Error(_0x18bd5c(0x187));return _0x5312c1[_0x18bd5c(0x188)](_0x2a16c3);}async[_0x8629f9(0x172)](_0x144736){const _0x4c6b25=_0x8629f9;return this[_0x4c6b25(0x186)](_0x144736);}async[_0x8629f9(0x186)](_0x1f2e72){const _0x7e61df=_0x8629f9,_0x4dafe3=this[_0x7e61df(0x180)][_0x7e61df(0x189)](r[_0x7e61df(0x182)]);if(!_0x4dafe3)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4dafe3['importFileToUnitId'](_0x1f2e72,i['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x508fa0){const _0x59b1d8=_0x8629f9;return this[_0x59b1d8(0x17d)](_0x508fa0);}async['importDOCXToSnapshotAsync'](_0x28289c){const _0xedad1e=_0x8629f9,_0x89a4e5=this['_injector'][_0xedad1e(0x189)](r['IExchangeService']);if(!_0x89a4e5)throw new Error(_0xedad1e(0x187));return _0x89a4e5[_0xedad1e(0x17e)](_0x28289c);}async[_0x8629f9(0x171)](_0x6bc536){const _0x34c8c4=_0x8629f9,_0x4b3a96=this[_0x34c8c4(0x180)][_0x34c8c4(0x189)](r[_0x34c8c4(0x182)]);if(!_0x4b3a96)throw new Error(_0x34c8c4(0x187));return _0x4b3a96[_0x34c8c4(0x184)](_0x6bc536);}async['exportDOCXByUnitIdAsync'](_0x20c5e5){const _0x34f79f=_0x8629f9,_0x5141bc=this['_injector'][_0x34f79f(0x189)](r[_0x34f79f(0x182)]);if(!_0x5141bc)throw new Error(_0x34f79f(0x187));return _0x5141bc['exportDOCXByUnitId'](_0x20c5e5);}}o[_0x8629f9(0x18b)][_0x8629f9(0x177)](c);