@univerjs-pro/exchange-client 0.6.10-experimental.20250419-1304630 → 0.6.10-experimental.20250419-8f302dd

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 _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);
1
+ 'use strict';function _0x2182(_0x4536b8,_0x59c89a){const _0x43bd1f=_0x43bd();return _0x2182=function(_0x218242,_0xff1792){_0x218242=_0x218242-0xfc;let _0x59d082=_0x43bd1f[_0x218242];return _0x59d082;},_0x2182(_0x4536b8,_0x59c89a);}const _0x36f4f5=_0x2182;function _0x43bd(){const _0x494472=['UNIVER_PROJECT','importXLSXToSnapshot','270QOvQyD','132772KdcbLO','exportXLSXBySnapshot','UNIVER_UNKNOWN','696745OlzPzx','importDOCXToUnitId','65425asFbnX','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshotAsync','IExchangeService','importDOCXToUnitIdAsync','UNIVER_SHEET','exportXLSXByUnitId','3lrkrwM','2509192weUWTB','@univerjs/core/facade','exportXLSXBySnapshotAsync','importDOCXToSnapshot','114lDqzjJ','33310uaSpwv','255070zEEQca','exportXLSXByUnitIdAsync','importDOCXToSnapshotAsync','UNIVER_DOC','importXLSXToUnitIdAsync','UNIVER_SLIDE','importFileToUnitId','682820NMcVDe','FUniver','get','_injector'];_0x43bd=function(){return _0x494472;};return _0x43bd();}(function(_0x5aaaab,_0xeeb04b){const _0x1f2823=_0x2182,_0x437f2c=_0x5aaaab();while(!![]){try{const _0xb51bfc=parseInt(_0x1f2823(0x108))/0x1+parseInt(_0x1f2823(0x11b))/0x2+parseInt(_0x1f2823(0x114))/0x3*(parseInt(_0x1f2823(0x101))/0x4)+-parseInt(_0x1f2823(0x10d))/0x5*(-parseInt(_0x1f2823(0x119))/0x6)+-parseInt(_0x1f2823(0x10b))/0x7+-parseInt(_0x1f2823(0x115))/0x8+parseInt(_0x1f2823(0x107))/0x9*(-parseInt(_0x1f2823(0x11a))/0xa);if(_0xb51bfc===_0xeeb04b)break;else _0x437f2c['push'](_0x437f2c['shift']());}catch(_0x299059){_0x437f2c['push'](_0x437f2c['shift']());}}}(_0x43bd,0x28a71));const r=require('@univerjs-pro/exchange-client'),i=require(_0x36f4f5(0x116));var o=(_0x809cae=>(_0x809cae[_0x809cae[_0x36f4f5(0x10a)]=0x0]=_0x36f4f5(0x10a),_0x809cae[_0x809cae[_0x36f4f5(0xfd)]=0x1]='UNIVER_DOC',_0x809cae[_0x809cae['UNIVER_SHEET']=0x2]=_0x36f4f5(0x112),_0x809cae[_0x809cae[_0x36f4f5(0xff)]=0x3]=_0x36f4f5(0xff),_0x809cae[_0x809cae[_0x36f4f5(0x105)]=0x4]=_0x36f4f5(0x105),_0x809cae[_0x809cae['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x809cae))(o||{});class c extends i[_0x36f4f5(0x102)]{async['importXLSXToUnitId'](_0x4b3a8d){const _0x4638e3=_0x36f4f5;return this[_0x4638e3(0xfe)](_0x4b3a8d);}async[_0x36f4f5(0xfe)](_0x2e3bb8){const _0x5af157=_0x36f4f5,_0x41802b=this[_0x5af157(0x104)]['get'](r[_0x5af157(0x110)]);if(!_0x41802b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x41802b[_0x5af157(0x100)](_0x2e3bb8,o[_0x5af157(0x112)]);}async[_0x36f4f5(0x106)](_0x2d0c93){const _0x3684bd=_0x36f4f5;return this[_0x3684bd(0x10f)](_0x2d0c93);}async['importXLSXToSnapshotAsync'](_0x46499a){const _0x165e9a=_0x36f4f5,_0x59fa37=this[_0x165e9a(0x104)]['get'](r[_0x165e9a(0x110)]);if(!_0x59fa37)throw new Error(_0x165e9a(0x10e));return _0x59fa37[_0x165e9a(0x106)](_0x46499a);}async[_0x36f4f5(0x113)](_0x2e979d){const _0xcdcd35=_0x36f4f5;return this[_0xcdcd35(0x11c)](_0x2e979d);}async['exportXLSXByUnitIdAsync'](_0x145e4c){const _0x2dd5ff=_0x36f4f5,_0x182792=this['_injector']['get'](r[_0x2dd5ff(0x110)]);if(!_0x182792)throw new Error(_0x2dd5ff(0x10e));return _0x182792[_0x2dd5ff(0x113)](_0x145e4c);}async[_0x36f4f5(0x109)](_0x17dbe8){return this['exportXLSXBySnapshotAsync'](_0x17dbe8);}async[_0x36f4f5(0x117)](_0x21b20e){const _0x3066dc=_0x36f4f5,_0x2adbb1=this['_injector']['get'](r[_0x3066dc(0x110)]);if(!_0x2adbb1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2adbb1['exportXLSXBySnapshot'](_0x21b20e);}async[_0x36f4f5(0x10c)](_0x57cb9f){const _0x3587d4=_0x36f4f5;return this[_0x3587d4(0x111)](_0x57cb9f);}async[_0x36f4f5(0x111)](_0x1d267d){const _0x1fb9a2=_0x36f4f5,_0xc74299=this['_injector'][_0x1fb9a2(0x103)](r[_0x1fb9a2(0x110)]);if(!_0xc74299)throw new Error(_0x1fb9a2(0x10e));return _0xc74299[_0x1fb9a2(0x100)](_0x1d267d,o[_0x1fb9a2(0xfd)]);}async[_0x36f4f5(0x118)](_0x2f4ac4){const _0x546b1a=_0x36f4f5;return this[_0x546b1a(0xfc)](_0x2f4ac4);}async[_0x36f4f5(0xfc)](_0x513da6){const _0x117d9d=_0x36f4f5,_0x4f5940=this[_0x117d9d(0x104)]['get'](r['IExchangeService']);if(!_0x4f5940)throw new Error(_0x117d9d(0x10e));return _0x4f5940[_0x117d9d(0x118)](_0x513da6);}}i[_0x36f4f5(0x102)]['extend'](c);