@univerjs-pro/exchange-client 0.6.10-experimental.20250419-8830bd4 → 0.6.10-experimental.20250419-1304630

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 _0x209d6f=_0x258d;(function(_0x48101e,_0x42594f){const _0x4dcc66=_0x258d,_0x27346f=_0x48101e();while(!![]){try{const _0x8d752b=-parseInt(_0x4dcc66(0xfa))/0x1*(-parseInt(_0x4dcc66(0xee))/0x2)+parseInt(_0x4dcc66(0xeb))/0x3*(parseInt(_0x4dcc66(0xfe))/0x4)+parseInt(_0x4dcc66(0xe9))/0x5*(-parseInt(_0x4dcc66(0xfc))/0x6)+parseInt(_0x4dcc66(0xe8))/0x7+parseInt(_0x4dcc66(0xe7))/0x8+parseInt(_0x4dcc66(0x102))/0x9+parseInt(_0x4dcc66(0xe6))/0xa*(-parseInt(_0x4dcc66(0xef))/0xb);if(_0x8d752b===_0x42594f)break;else _0x27346f['push'](_0x27346f['shift']());}catch(_0xaf7b41){_0x27346f['push'](_0x27346f['shift']());}}}(_0x19fd,0xd35b5));const r=require('@univerjs-pro/exchange-client'),i=require('@univerjs/core/facade');var o=(_0x1e6205=>(_0x1e6205[_0x1e6205[_0x209d6f(0xfb)]=0x0]=_0x209d6f(0xfb),_0x1e6205[_0x1e6205[_0x209d6f(0xf9)]=0x1]=_0x209d6f(0xf9),_0x1e6205[_0x1e6205[_0x209d6f(0x104)]=0x2]=_0x209d6f(0x104),_0x1e6205[_0x1e6205[_0x209d6f(0x100)]=0x3]=_0x209d6f(0x100),_0x1e6205[_0x1e6205['UNIVER_PROJECT']=0x4]=_0x209d6f(0xed),_0x1e6205[_0x1e6205[_0x209d6f(0x106)]=-0x1]=_0x209d6f(0x106),_0x1e6205))(o||{});class c extends i[_0x209d6f(0xf1)]{async['importXLSXToUnitId'](_0x51ed94){const _0xe108fb=_0x209d6f;return this[_0xe108fb(0x105)](_0x51ed94);}async['importXLSXToUnitIdAsync'](_0x2db64b){const _0x429622=_0x209d6f,_0xd1bdae=this[_0x429622(0xf4)][_0x429622(0xf3)](r[_0x429622(0xe5)]);if(!_0xd1bdae)throw new Error(_0x429622(0xea));return _0xd1bdae[_0x429622(0xf0)](_0x2db64b,o['UNIVER_SHEET']);}async[_0x209d6f(0x101)](_0x5e1529){return this['importXLSXToSnapshotAsync'](_0x5e1529);}async['importXLSXToSnapshotAsync'](_0x433398){const _0x137b3c=_0x209d6f,_0x56cb4c=this[_0x137b3c(0xf4)]['get'](r[_0x137b3c(0xe5)]);if(!_0x56cb4c)throw new Error(_0x137b3c(0xea));return _0x56cb4c[_0x137b3c(0x101)](_0x433398);}async[_0x209d6f(0xf2)](_0x366e22){return this['exportXLSXByUnitIdAsync'](_0x366e22);}async[_0x209d6f(0xf8)](_0x2fb7b3){const _0x564677=_0x209d6f,_0x17bd78=this[_0x564677(0xf4)]['get'](r[_0x564677(0xe5)]);if(!_0x17bd78)throw new Error(_0x564677(0xea));return _0x17bd78[_0x564677(0xf2)](_0x2fb7b3);}async[_0x209d6f(0x103)](_0x1a784a){const _0x4e230d=_0x209d6f;return this[_0x4e230d(0xf7)](_0x1a784a);}async['exportXLSXBySnapshotAsync'](_0x57e035){const _0x356036=_0x209d6f,_0x510e63=this['_injector'][_0x356036(0xf3)](r[_0x356036(0xe5)]);if(!_0x510e63)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x510e63[_0x356036(0x103)](_0x57e035);}async[_0x209d6f(0xf6)](_0x166fcc){const _0xcc0ce0=_0x209d6f;return this[_0xcc0ce0(0xff)](_0x166fcc);}async[_0x209d6f(0xff)](_0x1a32be){const _0x330658=_0x209d6f,_0x119257=this['_injector']['get'](r[_0x330658(0xe5)]);if(!_0x119257)throw new Error(_0x330658(0xea));return _0x119257[_0x330658(0xf0)](_0x1a32be,o[_0x330658(0xf9)]);}async[_0x209d6f(0xf5)](_0x449b9b){const _0x3f72cc=_0x209d6f;return this[_0x3f72cc(0xec)](_0x449b9b);}async[_0x209d6f(0xec)](_0x51b714){const _0x4b5918=_0x209d6f,_0x179876=this[_0x4b5918(0xf4)][_0x4b5918(0xf3)](r['IExchangeService']);if(!_0x179876)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x179876[_0x4b5918(0xf5)](_0x51b714);}}function _0x19fd(){const _0x5c12de=['FUniver','exportXLSXByUnitId','get','_injector','importDOCXToSnapshot','importDOCXToUnitId','exportXLSXBySnapshotAsync','exportXLSXByUnitIdAsync','UNIVER_DOC','586163FOdqcx','UNIVER_UNKNOWN','65598gjhwje','extend','54844gXwhCD','importDOCXToUnitIdAsync','UNIVER_SLIDE','importXLSXToSnapshot','11898261jBPlZe','exportXLSXBySnapshot','UNIVER_SHEET','importXLSXToUnitIdAsync','UNRECOGNIZED','IExchangeService','550OIotCy','7636256OKLTUl','5178467gSBKph','5toBLJj','The\x20exchange\x20service\x20is\x20not\x20available','201EEUtsE','importDOCXToSnapshotAsync','UNIVER_PROJECT','4JpWxdh','846131uxLoWA','importFileToUnitId'];_0x19fd=function(){return _0x5c12de;};return _0x19fd();}function _0x258d(_0x1d4bc6,_0x27e270){const _0x19fdaa=_0x19fd();return _0x258d=function(_0x258db7,_0x224af9){_0x258db7=_0x258db7-0xe5;let _0x2e3134=_0x19fdaa[_0x258db7];return _0x2e3134;},_0x258d(_0x1d4bc6,_0x27e270);}i['FUniver'][_0x209d6f(0xfd)](c);
1
+ 'use strict';const _0x5382e0=_0x47a0;(function(_0x24251d,_0x36e265){const _0x2ce86f=_0x47a0,_0x2d12f8=_0x24251d();while(!![]){try{const _0x36b672=-parseInt(_0x2ce86f(0x149))/0x1*(-parseInt(_0x2ce86f(0x139))/0x2)+parseInt(_0x2ce86f(0x141))/0x3*(parseInt(_0x2ce86f(0x13c))/0x4)+parseInt(_0x2ce86f(0x12b))/0x5*(parseInt(_0x2ce86f(0x144))/0x6)+-parseInt(_0x2ce86f(0x13d))/0x7*(-parseInt(_0x2ce86f(0x142))/0x8)+-parseInt(_0x2ce86f(0x131))/0x9*(parseInt(_0x2ce86f(0x137))/0xa)+-parseInt(_0x2ce86f(0x146))/0xb+parseInt(_0x2ce86f(0x12e))/0xc*(parseInt(_0x2ce86f(0x14f))/0xd);if(_0x36b672===_0x36e265)break;else _0x2d12f8['push'](_0x2d12f8['shift']());}catch(_0x33e876){_0x2d12f8['push'](_0x2d12f8['shift']());}}}(_0x1f6b,0x27102));function _0x1f6b(){const _0xfb0ac5=['UNIVER_UNKNOWN','UNRECOGNIZED','741sxPZhF','importDOCXToSnapshotAsync','UNIVER_PROJECT','49865ilQhkt','importFileToUnitId','UNIVER_SLIDE','708eOMLCo','exportXLSXBySnapshotAsync','exportXLSXByUnitId','126NNjOQI','UNIVER_DOC','UNIVER_SHEET','importXLSXToUnitId','importDOCXToUnitIdAsync','extend','206480NCfYPh','The\x20exchange\x20service\x20is\x20not\x20available','2570XQBejI','importDOCXToSnapshot','importXLSXToSnapshotAsync','908jfmjIv','4228PKeSli','FUniver','@univerjs-pro/exchange-client','IExchangeService','141gbGfxS','1336fbrEsq','importXLSXToUnitIdAsync','108BZYCxb','importXLSXToSnapshot','546205PyQpat','_injector','exportXLSXByUnitIdAsync','159AniYEg','get','exportXLSXBySnapshot','importDOCXToUnitId'];_0x1f6b=function(){return _0xfb0ac5;};return _0x1f6b();}function _0x47a0(_0x2ee007,_0x1e4040){const _0x1f6b6e=_0x1f6b();return _0x47a0=function(_0x47a00a,_0x10915a){_0x47a00a=_0x47a00a-0x129;let _0x3de32a=_0x1f6b6e[_0x47a00a];return _0x3de32a;},_0x47a0(_0x2ee007,_0x1e4040);}const r=require(_0x5382e0(0x13f)),i=require('@univerjs/core/facade');var o=(_0x5662a1=>(_0x5662a1[_0x5662a1[_0x5382e0(0x14d)]=0x0]=_0x5382e0(0x14d),_0x5662a1[_0x5662a1['UNIVER_DOC']=0x1]=_0x5382e0(0x132),_0x5662a1[_0x5662a1[_0x5382e0(0x133)]=0x2]='UNIVER_SHEET',_0x5662a1[_0x5662a1[_0x5382e0(0x12d)]=0x3]=_0x5382e0(0x12d),_0x5662a1[_0x5662a1['UNIVER_PROJECT']=0x4]=_0x5382e0(0x12a),_0x5662a1[_0x5662a1[_0x5382e0(0x14e)]=-0x1]=_0x5382e0(0x14e),_0x5662a1))(o||{});class c extends i[_0x5382e0(0x13e)]{async[_0x5382e0(0x134)](_0x4761e7){const _0x312754=_0x5382e0;return this[_0x312754(0x143)](_0x4761e7);}async['importXLSXToUnitIdAsync'](_0x485b4f){const _0x5a4f65=_0x5382e0,_0x294e99=this[_0x5a4f65(0x147)]['get'](r[_0x5a4f65(0x140)]);if(!_0x294e99)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x294e99['importFileToUnitId'](_0x485b4f,o[_0x5a4f65(0x133)]);}async['importXLSXToSnapshot'](_0x480320){const _0x794112=_0x5382e0;return this[_0x794112(0x13b)](_0x480320);}async['importXLSXToSnapshotAsync'](_0x1bf2de){const _0x1276fe=_0x5382e0,_0x2cac0c=this[_0x1276fe(0x147)][_0x1276fe(0x14a)](r[_0x1276fe(0x140)]);if(!_0x2cac0c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2cac0c[_0x1276fe(0x145)](_0x1bf2de);}async[_0x5382e0(0x130)](_0x462584){return this['exportXLSXByUnitIdAsync'](_0x462584);}async[_0x5382e0(0x148)](_0x41a1c0){const _0x5d1fec=_0x5382e0,_0x237d4e=this[_0x5d1fec(0x147)]['get'](r['IExchangeService']);if(!_0x237d4e)throw new Error(_0x5d1fec(0x138));return _0x237d4e[_0x5d1fec(0x130)](_0x41a1c0);}async[_0x5382e0(0x14b)](_0x1dc90d){const _0x55f08b=_0x5382e0;return this[_0x55f08b(0x12f)](_0x1dc90d);}async[_0x5382e0(0x12f)](_0x1cea5d){const _0x4413d4=_0x5382e0,_0x39a3a5=this[_0x4413d4(0x147)][_0x4413d4(0x14a)](r[_0x4413d4(0x140)]);if(!_0x39a3a5)throw new Error(_0x4413d4(0x138));return _0x39a3a5[_0x4413d4(0x14b)](_0x1cea5d);}async[_0x5382e0(0x14c)](_0x510f9e){const _0x18ea13=_0x5382e0;return this[_0x18ea13(0x135)](_0x510f9e);}async[_0x5382e0(0x135)](_0xb5a546){const _0xf6880a=_0x5382e0,_0x44ecb3=this[_0xf6880a(0x147)][_0xf6880a(0x14a)](r[_0xf6880a(0x140)]);if(!_0x44ecb3)throw new Error(_0xf6880a(0x138));return _0x44ecb3[_0xf6880a(0x12c)](_0xb5a546,o['UNIVER_DOC']);}async[_0x5382e0(0x13a)](_0x544faa){const _0x2f36db=_0x5382e0;return this[_0x2f36db(0x129)](_0x544faa);}async[_0x5382e0(0x129)](_0x515a28){const _0x327e96=_0x5382e0,_0x594afd=this[_0x327e96(0x147)][_0x327e96(0x14a)](r[_0x327e96(0x140)]);if(!_0x594afd)throw new Error(_0x327e96(0x138));return _0x594afd[_0x327e96(0x13a)](_0x515a28);}}i[_0x5382e0(0x13e)][_0x5382e0(0x136)](c);