@univerjs-pro/exchange-client 0.11.0-nightly.202511151013 → 0.12.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';const _0x563ef9=_0x4134;(function(_0x3743f5,_0x1faed5){const _0x7fb30d=_0x4134,_0x98a2e1=_0x3743f5();while(!![]){try{const _0x1665a8=-parseInt(_0x7fb30d(0x1e1))/0x1+-parseInt(_0x7fb30d(0x1d3))/0x2*(parseInt(_0x7fb30d(0x1eb))/0x3)+-parseInt(_0x7fb30d(0x1f3))/0x4+parseInt(_0x7fb30d(0x1ea))/0x5*(-parseInt(_0x7fb30d(0x1d8))/0x6)+parseInt(_0x7fb30d(0x1de))/0x7*(parseInt(_0x7fb30d(0x1ed))/0x8)+-parseInt(_0x7fb30d(0x1d5))/0x9*(parseInt(_0x7fb30d(0x1df))/0xa)+parseInt(_0x7fb30d(0x1e0))/0xb*(parseInt(_0x7fb30d(0x1d2))/0xc);if(_0x1665a8===_0x1faed5)break;else _0x98a2e1['push'](_0x98a2e1['shift']());}catch(_0x4ad937){_0x98a2e1['push'](_0x98a2e1['shift']());}}}(_0x2eb4,0x4bcca));function _0x4134(_0x37fa8e,_0x4920bd){const _0x2eb464=_0x2eb4();return _0x4134=function(_0x413460,_0x4d6ce3){_0x413460=_0x413460-0x1d2;let _0x142dfc=_0x2eb464[_0x413460];return _0x142dfc;},_0x4134(_0x37fa8e,_0x4920bd);}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x2536d6=>(_0x2536d6[_0x2536d6[_0x563ef9(0x1e6)]=0x0]=_0x563ef9(0x1e6),_0x2536d6[_0x2536d6[_0x563ef9(0x1f7)]=0x1]=_0x563ef9(0x1f7),_0x2536d6[_0x2536d6[_0x563ef9(0x1d7)]=0x2]=_0x563ef9(0x1d7),_0x2536d6[_0x2536d6[_0x563ef9(0x1f9)]=0x3]='UNIVER_SLIDE',_0x2536d6[_0x2536d6[_0x563ef9(0x1ee)]=0x4]=_0x563ef9(0x1ee),_0x2536d6[_0x2536d6[_0x563ef9(0x1e8)]=-0x1]=_0x563ef9(0x1e8),_0x2536d6))(i||{});class c extends o[_0x563ef9(0x1ec)]{async[_0x563ef9(0x1ef)](_0x38d87f){const _0x5e656e=_0x563ef9;return this[_0x5e656e(0x1f0)](_0x38d87f);}async[_0x563ef9(0x1f0)](_0x1a0947){const _0x21fd95=_0x563ef9,_0x2887e1=this[_0x21fd95(0x1e9)][_0x21fd95(0x1f6)](r['IExchangeService']);if(!_0x2887e1)throw new Error(_0x21fd95(0x1e3));return _0x2887e1[_0x21fd95(0x1db)](_0x1a0947,i[_0x21fd95(0x1d7)]);}async['importXLSXToSnapshot'](_0x4598ef){const _0x54dc7d=_0x563ef9;return this[_0x54dc7d(0x1e4)](_0x4598ef);}async[_0x563ef9(0x1e4)](_0x3b1155){const _0x566b42=_0x563ef9,_0x166ca9=this[_0x566b42(0x1e9)][_0x566b42(0x1f6)](r[_0x566b42(0x1da)]);if(!_0x166ca9)throw new Error(_0x566b42(0x1e3));return _0x166ca9[_0x566b42(0x1e2)](_0x3b1155);}async[_0x563ef9(0x1f5)](_0xf4b5a7){return this['exportXLSXByUnitIdAsync'](_0xf4b5a7);}async[_0x563ef9(0x1f1)](_0x12f859){const _0x17276c=_0x563ef9,_0x1c2867=this[_0x17276c(0x1e9)]['get'](r[_0x17276c(0x1da)]);if(!_0x1c2867)throw new Error(_0x17276c(0x1e3));return _0x1c2867['exportXLSXByUnitId'](_0x12f859);}async[_0x563ef9(0x1dd)](_0x1b0493){const _0x3cf0bb=_0x563ef9;return this[_0x3cf0bb(0x1d6)](_0x1b0493);}async[_0x563ef9(0x1d6)](_0x42d95e){const _0x3b3680=_0x563ef9,_0x34ac68=this[_0x3b3680(0x1e9)][_0x3b3680(0x1f6)](r[_0x3b3680(0x1da)]);if(!_0x34ac68)throw new Error(_0x3b3680(0x1e3));return _0x34ac68[_0x3b3680(0x1dd)](_0x42d95e);}async['importDOCXToUnitId'](_0x49c843){const _0x27e599=_0x563ef9;return this[_0x27e599(0x1e5)](_0x49c843);}async['importDOCXToUnitIdAsync'](_0xb2fc7d){const _0x2311f3=_0x563ef9,_0x53a7fd=this['_injector'][_0x2311f3(0x1f6)](r[_0x2311f3(0x1da)]);if(!_0x53a7fd)throw new Error(_0x2311f3(0x1e3));return _0x53a7fd[_0x2311f3(0x1db)](_0xb2fc7d,i[_0x2311f3(0x1f7)]);}async[_0x563ef9(0x1f2)](_0x627e01){const _0x2a38ec=_0x563ef9;return this[_0x2a38ec(0x1d4)](_0x627e01);}async[_0x563ef9(0x1d4)](_0x502e18){const _0x55059e=_0x563ef9,_0x2e0c19=this[_0x55059e(0x1e9)][_0x55059e(0x1f6)](r[_0x55059e(0x1da)]);if(!_0x2e0c19)throw new Error(_0x55059e(0x1e3));return _0x2e0c19[_0x55059e(0x1f2)](_0x502e18);}async[_0x563ef9(0x1d9)](_0x312c21){const _0x1d1f17=_0x563ef9,_0x957e74=this['_injector'][_0x1d1f17(0x1f6)](r[_0x1d1f17(0x1da)]);if(!_0x957e74)throw new Error(_0x1d1f17(0x1e3));return _0x957e74[_0x1d1f17(0x1dc)](_0x312c21);}async[_0x563ef9(0x1f4)](_0x59a4a7){const _0x51d253=_0x563ef9,_0x164edc=this['_injector'][_0x51d253(0x1f6)](r[_0x51d253(0x1da)]);if(!_0x164edc)throw new Error(_0x51d253(0x1e3));return _0x164edc[_0x51d253(0x1f8)](_0x59a4a7);}}o['FUniver'][_0x563ef9(0x1e7)](c);function _0x2eb4(){const _0x34e715=['60FBsKZg','FUniver','8aHeXhi','UNIVER_PROJECT','importXLSXToUnitId','importXLSXToUnitIdAsync','exportXLSXByUnitIdAsync','importDOCXToSnapshot','2023212TDgFdC','exportDOCXByUnitIdAsync','exportXLSXByUnitId','get','UNIVER_DOC','exportDOCXByUnitId','UNIVER_SLIDE','28985724PunPrN','10172GISDPc','importDOCXToSnapshotAsync','1227573ReJINc','exportXLSXBySnapshotAsync','UNIVER_SHEET','18szfzuV','exportDOCXBySnapshotAsync','IExchangeService','importFileToUnitId','exportDOCXBySnapshot','exportXLSXBySnapshot','62195MBImWJ','30JtswlT','11qrAPUI','508313vFNnNB','importXLSXToSnapshot','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshotAsync','importDOCXToUnitIdAsync','UNIVER_UNKNOWN','extend','UNRECOGNIZED','_injector','981435TImyJf'];_0x2eb4=function(){return _0x34e715;};return _0x2eb4();}
1
+ 'use strict';const _0xcd9183=_0x4082;(function(_0x2ce41e,_0x16f07f){const _0x4c2f9d=_0x4082,_0x22bd38=_0x2ce41e();while(!![]){try{const _0x52c37a=parseInt(_0x4c2f9d(0x157))/0x1+-parseInt(_0x4c2f9d(0x158))/0x2+-parseInt(_0x4c2f9d(0x15b))/0x3+-parseInt(_0x4c2f9d(0x159))/0x4+parseInt(_0x4c2f9d(0x14e))/0x5+parseInt(_0x4c2f9d(0x162))/0x6+-parseInt(_0x4c2f9d(0x16c))/0x7;if(_0x52c37a===_0x16f07f)break;else _0x22bd38['push'](_0x22bd38['shift']());}catch(_0x5bc3a7){_0x22bd38['push'](_0x22bd38['shift']());}}}(_0x4a1d,0xe8f56));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x62f315=>(_0x62f315[_0x62f315[_0xcd9183(0x151)]=0x0]='UNIVER_UNKNOWN',_0x62f315[_0x62f315['UNIVER_DOC']=0x1]=_0xcd9183(0x152),_0x62f315[_0x62f315['UNIVER_SHEET']=0x2]=_0xcd9183(0x153),_0x62f315[_0x62f315[_0xcd9183(0x15d)]=0x3]=_0xcd9183(0x15d),_0x62f315[_0x62f315[_0xcd9183(0x168)]=0x4]=_0xcd9183(0x168),_0x62f315[_0x62f315[_0xcd9183(0x169)]=-0x1]=_0xcd9183(0x169),_0x62f315))(i||{});class c extends o['FUniver']{async['importXLSXToUnitId'](_0x3b918a){return this['importXLSXToUnitIdAsync'](_0x3b918a);}async['importXLSXToUnitIdAsync'](_0x4a03df){const _0x50b0e1=_0xcd9183,_0x18fab0=this['_injector']['get'](r[_0x50b0e1(0x165)]);if(!_0x18fab0)throw new Error(_0x50b0e1(0x160));return _0x18fab0[_0x50b0e1(0x14f)](_0x4a03df,i['UNIVER_SHEET']);}async[_0xcd9183(0x16a)](_0x220264){return this['importXLSXToSnapshotAsync'](_0x220264);}async[_0xcd9183(0x16e)](_0x41e98d){const _0x4ac16d=_0xcd9183,_0x234e8a=this[_0x4ac16d(0x166)][_0x4ac16d(0x15c)](r[_0x4ac16d(0x165)]);if(!_0x234e8a)throw new Error(_0x4ac16d(0x160));return _0x234e8a[_0x4ac16d(0x16a)](_0x41e98d);}async['exportXLSXByUnitId'](_0x8f93af){const _0x2ddb4b=_0xcd9183;return this[_0x2ddb4b(0x161)](_0x8f93af);}async[_0xcd9183(0x161)](_0x502388){const _0x24a5c7=_0xcd9183,_0xb18fa5=this[_0x24a5c7(0x166)][_0x24a5c7(0x15c)](r['IExchangeService']);if(!_0xb18fa5)throw new Error(_0x24a5c7(0x160));return _0xb18fa5[_0x24a5c7(0x15f)](_0x502388);}async[_0xcd9183(0x164)](_0x2dca89){return this['exportXLSXBySnapshotAsync'](_0x2dca89);}async[_0xcd9183(0x14d)](_0x5d3501){const _0x21ba84=_0xcd9183,_0x5eebf5=this[_0x21ba84(0x166)]['get'](r[_0x21ba84(0x165)]);if(!_0x5eebf5)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5eebf5[_0x21ba84(0x164)](_0x5d3501);}async[_0xcd9183(0x167)](_0x1c328b){const _0x5e9df6=_0xcd9183;return this[_0x5e9df6(0x16b)](_0x1c328b);}async[_0xcd9183(0x16b)](_0x2537d6){const _0x2f1182=_0xcd9183,_0x5283a8=this[_0x2f1182(0x166)][_0x2f1182(0x15c)](r['IExchangeService']);if(!_0x5283a8)throw new Error(_0x2f1182(0x160));return _0x5283a8['importFileToUnitId'](_0x2537d6,i[_0x2f1182(0x152)]);}async['importDOCXToSnapshot'](_0x4386e0){const _0x2db14c=_0xcd9183;return this[_0x2db14c(0x15e)](_0x4386e0);}async[_0xcd9183(0x15e)](_0xa04533){const _0x111b48=_0xcd9183,_0x5363a0=this[_0x111b48(0x166)][_0x111b48(0x15c)](r[_0x111b48(0x165)]);if(!_0x5363a0)throw new Error(_0x111b48(0x160));return _0x5363a0[_0x111b48(0x156)](_0xa04533);}async[_0xcd9183(0x155)](_0x297269){const _0x2001c0=_0xcd9183,_0x21d7e8=this[_0x2001c0(0x166)][_0x2001c0(0x15c)](r[_0x2001c0(0x165)]);if(!_0x21d7e8)throw new Error(_0x2001c0(0x160));return _0x21d7e8[_0x2001c0(0x163)](_0x297269);}async[_0xcd9183(0x15a)](_0x933003){const _0x15332c=_0xcd9183,_0x2ff8ac=this[_0x15332c(0x166)][_0x15332c(0x15c)](r[_0x15332c(0x165)]);if(!_0x2ff8ac)throw new Error(_0x15332c(0x160));return _0x2ff8ac[_0x15332c(0x154)](_0x933003);}}function _0x4082(_0x3be303,_0x39261c){const _0x4a1dbf=_0x4a1d();return _0x4082=function(_0x4082e9,_0x5e9175){_0x4082e9=_0x4082e9-0x14d;let _0x141f2b=_0x4a1dbf[_0x4082e9];return _0x141f2b;},_0x4082(_0x3be303,_0x39261c);}function _0x4a1d(){const _0x1229e4=['UNIVER_DOC','UNIVER_SHEET','exportDOCXByUnitId','exportDOCXBySnapshotAsync','importDOCXToSnapshot','1291278xhagMU','2058992fYkuAu','1496216ITlynG','exportDOCXByUnitIdAsync','1861455PzqmxH','get','UNIVER_SLIDE','importDOCXToSnapshotAsync','exportXLSXByUnitId','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitIdAsync','9157026WqsVPi','exportDOCXBySnapshot','exportXLSXBySnapshot','IExchangeService','_injector','importDOCXToUnitId','UNIVER_PROJECT','UNRECOGNIZED','importXLSXToSnapshot','importDOCXToUnitIdAsync','90454HPKpPR','FUniver','importXLSXToSnapshotAsync','exportXLSXBySnapshotAsync','868530jmAUog','importFileToUnitId','extend','UNIVER_UNKNOWN'];_0x4a1d=function(){return _0x1229e4;};return _0x4a1d();}o[_0xcd9183(0x16d)][_0xcd9183(0x150)](c);