@univerjs-pro/exchange-client 0.15.1 → 0.15.2-insiders.20260122-b1556b1

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 _0x43af(){const _0x393ce6=['exportDOCXBySnapshotAsync','importDOCXToSnapshot','exportXLSXByUnitIdAsync','exportDOCXByUnitIdAsync','exportXLSXBySnapshot','UNIVER_DOC','exportXLSXByUnitId','importXLSXToSnapshot','importFileToUnitId','UNIVER_SHEET','19488375EyJldo','importXLSXToUnitId','61233aThFzS','importDOCXToUnitIdAsync','UNIVER_SLIDE','67278Peyzhj','importDOCXToSnapshotAsync','extend','exportDOCXByUnitId','importXLSXToSnapshotAsync','92tMVnrx','446312qMeUGL','exportDOCXBySnapshot','525NjiMrR','FUniver','3026016XjHHDJ','UNRECOGNIZED','31662eAlcjp','_injector','597664PYXoLX','IExchangeService','exportXLSXBySnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_PROJECT','get','importDOCXToUnitId'];_0x43af=function(){return _0x393ce6;};return _0x43af();}const _0x59756d=_0x1643;(function(_0x2335c4,_0x1caf3d){const _0x1074ec=_0x1643,_0x422b6a=_0x2335c4();while(!![]){try{const _0x367307=-parseInt(_0x1074ec(0x114))/0x1+-parseInt(_0x1074ec(0x116))/0x2+-parseInt(_0x1074ec(0x129))/0x3*(-parseInt(_0x1074ec(0x131))/0x4)+parseInt(_0x1074ec(0x110))/0x5*(-parseInt(_0x1074ec(0x12c))/0x6)+-parseInt(_0x1074ec(0x112))/0x7+-parseInt(_0x1074ec(0x132))/0x8+parseInt(_0x1074ec(0x127))/0x9;if(_0x367307===_0x1caf3d)break;else _0x422b6a['push'](_0x422b6a['shift']());}catch(_0xb63752){_0x422b6a['push'](_0x422b6a['shift']());}}}(_0x43af,0x9bfac));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x335de5=>(_0x335de5[_0x335de5['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x335de5[_0x335de5['UNIVER_DOC']=0x1]=_0x59756d(0x122),_0x335de5[_0x335de5[_0x59756d(0x126)]=0x2]=_0x59756d(0x126),_0x335de5[_0x335de5[_0x59756d(0x12b)]=0x3]=_0x59756d(0x12b),_0x335de5[_0x335de5[_0x59756d(0x11a)]=0x4]='UNIVER_PROJECT',_0x335de5[_0x335de5['UNRECOGNIZED']=-0x1]=_0x59756d(0x113),_0x335de5))(i||{});class c extends o[_0x59756d(0x111)]{async[_0x59756d(0x128)](_0x1ff1ff){return this['importXLSXToUnitIdAsync'](_0x1ff1ff);}async['importXLSXToUnitIdAsync'](_0x2da9dd){const _0x2bcda0=_0x59756d,_0x24a7a9=this[_0x2bcda0(0x115)][_0x2bcda0(0x11b)](r[_0x2bcda0(0x117)]);if(!_0x24a7a9)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x24a7a9[_0x2bcda0(0x125)](_0x2da9dd,i[_0x2bcda0(0x126)]);}async[_0x59756d(0x124)](_0x40de4e){const _0x2409fa=_0x59756d;return this[_0x2409fa(0x130)](_0x40de4e);}async[_0x59756d(0x130)](_0x373bc9){const _0x124170=_0x59756d,_0x20f1c5=this[_0x124170(0x115)]['get'](r[_0x124170(0x117)]);if(!_0x20f1c5)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x20f1c5[_0x124170(0x124)](_0x373bc9);}async[_0x59756d(0x123)](_0xaa8e2b){const _0x32da15=_0x59756d;return this[_0x32da15(0x11f)](_0xaa8e2b);}async[_0x59756d(0x11f)](_0x29c4c6){const _0x4157a3=_0x59756d,_0xb30b2=this[_0x4157a3(0x115)]['get'](r[_0x4157a3(0x117)]);if(!_0xb30b2)throw new Error(_0x4157a3(0x119));return _0xb30b2[_0x4157a3(0x123)](_0x29c4c6);}async[_0x59756d(0x121)](_0x137e9f){return this['exportXLSXBySnapshotAsync'](_0x137e9f);}async[_0x59756d(0x118)](_0x1e6a8b){const _0x403c6f=_0x59756d,_0xeba6b9=this[_0x403c6f(0x115)][_0x403c6f(0x11b)](r[_0x403c6f(0x117)]);if(!_0xeba6b9)throw new Error(_0x403c6f(0x119));return _0xeba6b9['exportXLSXBySnapshot'](_0x1e6a8b);}async[_0x59756d(0x11c)](_0x10645d){const _0x2e56f9=_0x59756d;return this[_0x2e56f9(0x12a)](_0x10645d);}async['importDOCXToUnitIdAsync'](_0x471ce0){const _0x32a689=_0x59756d,_0x206a1a=this[_0x32a689(0x115)]['get'](r[_0x32a689(0x117)]);if(!_0x206a1a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x206a1a[_0x32a689(0x125)](_0x471ce0,i[_0x32a689(0x122)]);}async[_0x59756d(0x11e)](_0x3f35db){const _0x11acc4=_0x59756d;return this[_0x11acc4(0x12d)](_0x3f35db);}async[_0x59756d(0x12d)](_0x31942d){const _0x3beff1=_0x59756d,_0x3f77d8=this['_injector'][_0x3beff1(0x11b)](r['IExchangeService']);if(!_0x3f77d8)throw new Error(_0x3beff1(0x119));return _0x3f77d8[_0x3beff1(0x11e)](_0x31942d);}async[_0x59756d(0x11d)](_0xc96e8c){const _0x3aefc1=_0x59756d,_0x771570=this[_0x3aefc1(0x115)][_0x3aefc1(0x11b)](r[_0x3aefc1(0x117)]);if(!_0x771570)throw new Error(_0x3aefc1(0x119));return _0x771570[_0x3aefc1(0x133)](_0xc96e8c);}async[_0x59756d(0x120)](_0x356355){const _0xea2889=_0x59756d,_0x4785b6=this[_0xea2889(0x115)]['get'](r[_0xea2889(0x117)]);if(!_0x4785b6)throw new Error(_0xea2889(0x119));return _0x4785b6[_0xea2889(0x12f)](_0x356355);}}function _0x1643(_0x6d44ab,_0x4ee02c){_0x6d44ab=_0x6d44ab-0x110;const _0x43af2a=_0x43af();let _0x16431c=_0x43af2a[_0x6d44ab];return _0x16431c;}o[_0x59756d(0x111)][_0x59756d(0x12e)](c);
1
+ 'use strict';const _0x41b44=_0x1033;(function(_0xaa28d3,_0x5d4626){const _0x21b339=_0x1033,_0x502e3c=_0xaa28d3();while(!![]){try{const _0x583a91=-parseInt(_0x21b339(0x183))/0x1+parseInt(_0x21b339(0x192))/0x2+parseInt(_0x21b339(0x196))/0x3*(-parseInt(_0x21b339(0x17d))/0x4)+-parseInt(_0x21b339(0x177))/0x5*(parseInt(_0x21b339(0x181))/0x6)+-parseInt(_0x21b339(0x176))/0x7*(parseInt(_0x21b339(0x185))/0x8)+-parseInt(_0x21b339(0x178))/0x9+parseInt(_0x21b339(0x17f))/0xa*(parseInt(_0x21b339(0x188))/0xb);if(_0x583a91===_0x5d4626)break;else _0x502e3c['push'](_0x502e3c['shift']());}catch(_0x39f0bb){_0x502e3c['push'](_0x502e3c['shift']());}}}(_0x4fa2,0x447bc));function _0x4fa2(){const _0x388b7d=['extend','620brVfhv','exportXLSXByUnitIdAsync','2120316oDUeKg','UNIVER_UNKNOWN','9918sKiVuF','exportXLSXBySnapshot','88FdhYFb','IExchangeService','importDOCXToUnitId','132429kitEFN','UNIVER_SLIDE','_injector','exportDOCXBySnapshot','get','importDOCXToUnitIdAsync','importXLSXToSnapshotAsync','exportXLSXByUnitId','exportDOCXBySnapshotAsync','importXLSXToUnitIdAsync','453504tNMFCb','FUniver','UNIVER_PROJECT','importFileToUnitId','57jKseKj','UNIVER_SHEET','UNRECOGNIZED','The\x20exchange\x20service\x20is\x20not\x20available','141274gNKOaC','5ASxKpI','597870RWaQlU','importXLSXToSnapshot','exportXLSXBySnapshotAsync','UNIVER_DOC','importDOCXToSnapshot','8616xULckw'];_0x4fa2=function(){return _0x388b7d;};return _0x4fa2();}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0xd929ed=>(_0xd929ed[_0xd929ed['UNIVER_UNKNOWN']=0x0]=_0x41b44(0x182),_0xd929ed[_0xd929ed[_0x41b44(0x17b)]=0x1]=_0x41b44(0x17b),_0xd929ed[_0xd929ed[_0x41b44(0x197)]=0x2]='UNIVER_SHEET',_0xd929ed[_0xd929ed[_0x41b44(0x189)]=0x3]=_0x41b44(0x189),_0xd929ed[_0xd929ed[_0x41b44(0x194)]=0x4]=_0x41b44(0x194),_0xd929ed[_0xd929ed[_0x41b44(0x174)]=-0x1]=_0x41b44(0x174),_0xd929ed))(i||{});function _0x1033(_0x39087b,_0x258c7a){_0x39087b=_0x39087b-0x174;const _0x4fa274=_0x4fa2();let _0x1033ce=_0x4fa274[_0x39087b];return _0x1033ce;}class c extends o[_0x41b44(0x193)]{async['importXLSXToUnitId'](_0x331027){const _0xd2357c=_0x41b44;return this[_0xd2357c(0x191)](_0x331027);}async['importXLSXToUnitIdAsync'](_0x5cb6a3){const _0x59cd76=_0x41b44,_0x963f2c=this[_0x59cd76(0x18a)][_0x59cd76(0x18c)](r['IExchangeService']);if(!_0x963f2c)throw new Error(_0x59cd76(0x175));return _0x963f2c['importFileToUnitId'](_0x5cb6a3,i[_0x59cd76(0x197)]);}async[_0x41b44(0x179)](_0x215fc1){const _0x374278=_0x41b44;return this[_0x374278(0x18e)](_0x215fc1);}async[_0x41b44(0x18e)](_0x5c33e9){const _0x382759=_0x41b44,_0x433d2d=this[_0x382759(0x18a)]['get'](r[_0x382759(0x186)]);if(!_0x433d2d)throw new Error(_0x382759(0x175));return _0x433d2d[_0x382759(0x179)](_0x5c33e9);}async[_0x41b44(0x18f)](_0x13b517){const _0x1e6285=_0x41b44;return this[_0x1e6285(0x180)](_0x13b517);}async[_0x41b44(0x180)](_0x496b76){const _0x5839fd=_0x41b44,_0x379b33=this[_0x5839fd(0x18a)][_0x5839fd(0x18c)](r['IExchangeService']);if(!_0x379b33)throw new Error(_0x5839fd(0x175));return _0x379b33[_0x5839fd(0x18f)](_0x496b76);}async[_0x41b44(0x184)](_0x395816){return this['exportXLSXBySnapshotAsync'](_0x395816);}async[_0x41b44(0x17a)](_0x40fe56){const _0x3f975a=_0x41b44,_0x529c2d=this[_0x3f975a(0x18a)][_0x3f975a(0x18c)](r[_0x3f975a(0x186)]);if(!_0x529c2d)throw new Error(_0x3f975a(0x175));return _0x529c2d['exportXLSXBySnapshot'](_0x40fe56);}async[_0x41b44(0x187)](_0x4d191d){return this['importDOCXToUnitIdAsync'](_0x4d191d);}async[_0x41b44(0x18d)](_0x2bf77c){const _0x119fa9=_0x41b44,_0x40f354=this[_0x119fa9(0x18a)][_0x119fa9(0x18c)](r['IExchangeService']);if(!_0x40f354)throw new Error(_0x119fa9(0x175));return _0x40f354[_0x119fa9(0x195)](_0x2bf77c,i[_0x119fa9(0x17b)]);}async[_0x41b44(0x17c)](_0x11accf){return this['importDOCXToSnapshotAsync'](_0x11accf);}async['importDOCXToSnapshotAsync'](_0x6d2fa5){const _0x5ed25d=_0x41b44,_0x132f39=this[_0x5ed25d(0x18a)][_0x5ed25d(0x18c)](r[_0x5ed25d(0x186)]);if(!_0x132f39)throw new Error(_0x5ed25d(0x175));return _0x132f39[_0x5ed25d(0x17c)](_0x6d2fa5);}async[_0x41b44(0x190)](_0x14b20f){const _0x58c2b2=_0x41b44,_0x149d93=this[_0x58c2b2(0x18a)][_0x58c2b2(0x18c)](r[_0x58c2b2(0x186)]);if(!_0x149d93)throw new Error(_0x58c2b2(0x175));return _0x149d93[_0x58c2b2(0x18b)](_0x14b20f);}async['exportDOCXByUnitIdAsync'](_0x2f548a){const _0x4d67ea=_0x41b44,_0xa46110=this[_0x4d67ea(0x18a)][_0x4d67ea(0x18c)](r[_0x4d67ea(0x186)]);if(!_0xa46110)throw new Error(_0x4d67ea(0x175));return _0xa46110['exportDOCXByUnitId'](_0x2f548a);}}o[_0x41b44(0x193)][_0x41b44(0x17e)](c);