@univerjs-pro/exchange-client 0.8.0-nightly.202505261607 → 0.8.0-nightly.202505281606

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.
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x4ef310=_0x1fd4;function _0x1607(){const _0x5afa64=['extend','The\x20exchange\x20service\x20is\x20not\x20available','UNRECOGNIZED','importDOCXToSnapshot','1005402OKOCeS','UNIVER_PROJECT','922008nhCcki','@univerjs-pro/exchange-client','5995808rJVkVu','importDOCXToSnapshotAsync','28002168JfwAKs','exportDOCXByUnitId','exportXLSXBySnapshotAsync','importDOCXToUnitIdAsync','exportXLSXByUnitIdAsync','importFileToUnitId','exportDOCXBySnapshotAsync','exportXLSXByUnitId','importXLSXToSnapshotAsync','FUniver','importXLSXToUnitId','UNIVER_DOC','IExchangeService','importXLSXToUnitIdAsync','1274543DpHSie','11912616VoeaUW','importXLSXToSnapshot','get','21otHzcE','exportDOCXBySnapshot','1055825iRfSgH','@univerjs/core/facade','UNIVER_UNKNOWN','_injector','exportXLSXBySnapshot','exportDOCXByUnitIdAsync','importDOCXToUnitId','6YCjnIJ','UNIVER_SLIDE','UNIVER_SHEET'];_0x1607=function(){return _0x5afa64;};return _0x1607();}(function(_0x45a146,_0x3d67ea){const _0x344b92=_0x1fd4,_0x222c09=_0x45a146();while(!![]){try{const _0x1e0031=-parseInt(_0x344b92(0x84))/0x1+-parseInt(_0x344b92(0x98))/0x2+parseInt(_0x344b92(0x88))/0x3*(parseInt(_0x344b92(0x9a))/0x4)+parseInt(_0x344b92(0x8a))/0x5*(parseInt(_0x344b92(0x91))/0x6)+-parseInt(_0x344b92(0x9c))/0x7+-parseInt(_0x344b92(0x85))/0x8+parseInt(_0x344b92(0x76))/0x9;if(_0x1e0031===_0x3d67ea)break;else _0x222c09['push'](_0x222c09['shift']());}catch(_0x1e5bbd){_0x222c09['push'](_0x222c09['shift']());}}}(_0x1607,0xc686e));const r=require(_0x4ef310(0x9b)),o=require(_0x4ef310(0x8b));var i=(_0x288a28=>(_0x288a28[_0x288a28[_0x4ef310(0x8c)]=0x0]=_0x4ef310(0x8c),_0x288a28[_0x288a28['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x288a28[_0x288a28['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x288a28[_0x288a28['UNIVER_SLIDE']=0x3]=_0x4ef310(0x92),_0x288a28[_0x288a28[_0x4ef310(0x99)]=0x4]=_0x4ef310(0x99),_0x288a28[_0x288a28[_0x4ef310(0x96)]=-0x1]=_0x4ef310(0x96),_0x288a28))(i||{});class c extends o[_0x4ef310(0x7f)]{async[_0x4ef310(0x80)](_0xa435a8){return this['importXLSXToUnitIdAsync'](_0xa435a8);}async[_0x4ef310(0x83)](_0x2e2542){const _0x12930c=_0x4ef310,_0x4e8f11=this[_0x12930c(0x8d)]['get'](r[_0x12930c(0x82)]);if(!_0x4e8f11)throw new Error(_0x12930c(0x95));return _0x4e8f11[_0x12930c(0x7b)](_0x2e2542,i[_0x12930c(0x93)]);}async[_0x4ef310(0x86)](_0x527fbd){const _0x109286=_0x4ef310;return this[_0x109286(0x7e)](_0x527fbd);}async[_0x4ef310(0x7e)](_0x193515){const _0xa537fd=_0x4ef310,_0x7eaba4=this[_0xa537fd(0x8d)]['get'](r[_0xa537fd(0x82)]);if(!_0x7eaba4)throw new Error(_0xa537fd(0x95));return _0x7eaba4[_0xa537fd(0x86)](_0x193515);}async[_0x4ef310(0x7d)](_0x5809ec){const _0xf2a209=_0x4ef310;return this[_0xf2a209(0x7a)](_0x5809ec);}async['exportXLSXByUnitIdAsync'](_0x1e91ec){const _0x672053=_0x4ef310,_0xda3ac2=this[_0x672053(0x8d)][_0x672053(0x87)](r[_0x672053(0x82)]);if(!_0xda3ac2)throw new Error(_0x672053(0x95));return _0xda3ac2['exportXLSXByUnitId'](_0x1e91ec);}async['exportXLSXBySnapshot'](_0xf33f60){const _0x3e6872=_0x4ef310;return this[_0x3e6872(0x78)](_0xf33f60);}async['exportXLSXBySnapshotAsync'](_0x5dda86){const _0x1b3d85=_0x4ef310,_0x2f720f=this[_0x1b3d85(0x8d)]['get'](r[_0x1b3d85(0x82)]);if(!_0x2f720f)throw new Error(_0x1b3d85(0x95));return _0x2f720f[_0x1b3d85(0x8e)](_0x5dda86);}async[_0x4ef310(0x90)](_0x53fd93){return this['importDOCXToUnitIdAsync'](_0x53fd93);}async[_0x4ef310(0x79)](_0x4ade9f){const _0x34cf0d=_0x4ef310,_0x1f14d1=this[_0x34cf0d(0x8d)][_0x34cf0d(0x87)](r['IExchangeService']);if(!_0x1f14d1)throw new Error(_0x34cf0d(0x95));return _0x1f14d1['importFileToUnitId'](_0x4ade9f,i[_0x34cf0d(0x81)]);}async[_0x4ef310(0x97)](_0x5727a4){const _0x1869c2=_0x4ef310;return this[_0x1869c2(0x75)](_0x5727a4);}async[_0x4ef310(0x75)](_0x581073){const _0x5d3fca=_0x4ef310,_0x28b71c=this[_0x5d3fca(0x8d)]['get'](r[_0x5d3fca(0x82)]);if(!_0x28b71c)throw new Error(_0x5d3fca(0x95));return _0x28b71c[_0x5d3fca(0x97)](_0x581073);}async[_0x4ef310(0x7c)](_0x87b41a){const _0x3fcdb7=_0x4ef310,_0x3f3b29=this[_0x3fcdb7(0x8d)][_0x3fcdb7(0x87)](r[_0x3fcdb7(0x82)]);if(!_0x3f3b29)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3f3b29[_0x3fcdb7(0x89)](_0x87b41a);}async[_0x4ef310(0x8f)](_0x5035f0){const _0x24c801=_0x4ef310,_0x25c59b=this['_injector']['get'](r[_0x24c801(0x82)]);if(!_0x25c59b)throw new Error(_0x24c801(0x95));return _0x25c59b[_0x24c801(0x77)](_0x5035f0);}}function _0x1fd4(_0x400100,_0x249d3b){const _0x160768=_0x1607();return _0x1fd4=function(_0x1fd402,_0x5c7b37){_0x1fd402=_0x1fd402-0x75;let _0x2a73aa=_0x160768[_0x1fd402];return _0x2a73aa;},_0x1fd4(_0x400100,_0x249d3b);}o['FUniver'][_0x4ef310(0x94)](c);
1
+ 'use strict';const _0x2f6229=_0x5b4f;function _0x5b4f(_0x4c8e5b,_0x410528){const _0x3dfaf3=_0x3dfa();return _0x5b4f=function(_0x5b4f26,_0x2a4305){_0x5b4f26=_0x5b4f26-0xbc;let _0x38d47f=_0x3dfaf3[_0x5b4f26];return _0x38d47f;},_0x5b4f(_0x4c8e5b,_0x410528);}(function(_0x28f4bd,_0x20d4ec){const _0xb11f59=_0x5b4f,_0x38f20f=_0x28f4bd();while(!![]){try{const _0x296699=parseInt(_0xb11f59(0xdd))/0x1+parseInt(_0xb11f59(0xdf))/0x2+-parseInt(_0xb11f59(0xde))/0x3*(parseInt(_0xb11f59(0xd5))/0x4)+-parseInt(_0xb11f59(0xbe))/0x5+-parseInt(_0xb11f59(0xd7))/0x6*(-parseInt(_0xb11f59(0xc2))/0x7)+parseInt(_0xb11f59(0xbc))/0x8+-parseInt(_0xb11f59(0xcb))/0x9;if(_0x296699===_0x20d4ec)break;else _0x38f20f['push'](_0x38f20f['shift']());}catch(_0x4eddf1){_0x38f20f['push'](_0x38f20f['shift']());}}}(_0x3dfa,0x7c0e9));const r=require(_0x2f6229(0xd4)),o=require(_0x2f6229(0xc8));var i=(_0x460214=>(_0x460214[_0x460214[_0x2f6229(0xc9)]=0x0]=_0x2f6229(0xc9),_0x460214[_0x460214[_0x2f6229(0xcf)]=0x1]=_0x2f6229(0xcf),_0x460214[_0x460214[_0x2f6229(0xdb)]=0x2]=_0x2f6229(0xdb),_0x460214[_0x460214[_0x2f6229(0xd0)]=0x3]=_0x2f6229(0xd0),_0x460214[_0x460214[_0x2f6229(0xc0)]=0x4]=_0x2f6229(0xc0),_0x460214[_0x460214['UNRECOGNIZED']=-0x1]=_0x2f6229(0xc3),_0x460214))(i||{});function _0x3dfa(){const _0x48fb4b=['The\x20exchange\x20service\x20is\x20not\x20available','@univerjs/core/facade','UNIVER_UNKNOWN','importXLSXToSnapshot','8496540vXNiwZ','importXLSXToSnapshotAsync','importXLSXToUnitId','importDOCXToSnapshot','UNIVER_DOC','UNIVER_SLIDE','get','exportDOCXByUnitIdAsync','exportDOCXBySnapshotAsync','@univerjs-pro/exchange-client','953144KbvArG','importDOCXToUnitIdAsync','8754SOpcPc','extend','exportDOCXByUnitId','FUniver','UNIVER_SHEET','exportXLSXByUnitId','548950QNDGQB','9pKuIUQ','1682718apVsTx','importXLSXToUnitIdAsync','exportDOCXBySnapshot','exportXLSXBySnapshot','7453952OkdSiz','exportXLSXBySnapshotAsync','1088675YilrZx','_injector','UNIVER_PROJECT','importFileToUnitId','301aYCaGk','UNRECOGNIZED','exportXLSXByUnitIdAsync','importDOCXToSnapshotAsync','IExchangeService'];_0x3dfa=function(){return _0x48fb4b;};return _0x3dfa();}class c extends o[_0x2f6229(0xda)]{async[_0x2f6229(0xcd)](_0x46f6d7){const _0x22385e=_0x2f6229;return this[_0x22385e(0xe0)](_0x46f6d7);}async[_0x2f6229(0xe0)](_0x1c65d9){const _0x52e66e=_0x2f6229,_0x4c74b4=this[_0x52e66e(0xbf)]['get'](r[_0x52e66e(0xc6)]);if(!_0x4c74b4)throw new Error(_0x52e66e(0xc7));return _0x4c74b4[_0x52e66e(0xc1)](_0x1c65d9,i[_0x52e66e(0xdb)]);}async[_0x2f6229(0xca)](_0x1efb06){const _0x358359=_0x2f6229;return this[_0x358359(0xcc)](_0x1efb06);}async[_0x2f6229(0xcc)](_0x4ccd53){const _0x4e8904=_0x2f6229,_0x3df91a=this[_0x4e8904(0xbf)][_0x4e8904(0xd1)](r['IExchangeService']);if(!_0x3df91a)throw new Error(_0x4e8904(0xc7));return _0x3df91a[_0x4e8904(0xca)](_0x4ccd53);}async[_0x2f6229(0xdc)](_0x46dfae){const _0x12faf3=_0x2f6229;return this[_0x12faf3(0xc4)](_0x46dfae);}async[_0x2f6229(0xc4)](_0x4fabf8){const _0x265076=_0x2f6229,_0x1a0f95=this[_0x265076(0xbf)][_0x265076(0xd1)](r[_0x265076(0xc6)]);if(!_0x1a0f95)throw new Error(_0x265076(0xc7));return _0x1a0f95[_0x265076(0xdc)](_0x4fabf8);}async['exportXLSXBySnapshot'](_0x49bf95){const _0x1edd05=_0x2f6229;return this[_0x1edd05(0xbd)](_0x49bf95);}async['exportXLSXBySnapshotAsync'](_0x162a42){const _0x1ff5ef=_0x2f6229,_0x48431a=this[_0x1ff5ef(0xbf)]['get'](r[_0x1ff5ef(0xc6)]);if(!_0x48431a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x48431a[_0x1ff5ef(0xe2)](_0x162a42);}async['importDOCXToUnitId'](_0x3895e4){return this['importDOCXToUnitIdAsync'](_0x3895e4);}async[_0x2f6229(0xd6)](_0x3fcbbe){const _0x5b86d=_0x2f6229,_0x5210f4=this[_0x5b86d(0xbf)][_0x5b86d(0xd1)](r[_0x5b86d(0xc6)]);if(!_0x5210f4)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5210f4[_0x5b86d(0xc1)](_0x3fcbbe,i[_0x5b86d(0xcf)]);}async[_0x2f6229(0xce)](_0x49a3cc){const _0x4552ce=_0x2f6229;return this[_0x4552ce(0xc5)](_0x49a3cc);}async[_0x2f6229(0xc5)](_0x313620){const _0x13fbf7=_0x2f6229,_0x4edf82=this[_0x13fbf7(0xbf)]['get'](r[_0x13fbf7(0xc6)]);if(!_0x4edf82)throw new Error(_0x13fbf7(0xc7));return _0x4edf82['importDOCXToSnapshot'](_0x313620);}async[_0x2f6229(0xd3)](_0x4ed386){const _0x17d206=_0x2f6229,_0x55a0a8=this[_0x17d206(0xbf)][_0x17d206(0xd1)](r[_0x17d206(0xc6)]);if(!_0x55a0a8)throw new Error(_0x17d206(0xc7));return _0x55a0a8[_0x17d206(0xe1)](_0x4ed386);}async[_0x2f6229(0xd2)](_0x1bd496){const _0x580eef=_0x2f6229,_0x1d469e=this['_injector'][_0x580eef(0xd1)](r[_0x580eef(0xc6)]);if(!_0x1d469e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1d469e[_0x580eef(0xd9)](_0x1bd496);}}o[_0x2f6229(0xda)][_0x2f6229(0xd8)](c);