@univerjs-pro/exchange-client 0.6.10-experimental.20250428-63779a3 → 0.6.10-experimental.20250428-8c74c87

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';function _0x16f4(_0x3906aa,_0x2cbf19){const _0x386933=_0x3869();return _0x16f4=function(_0x16f4af,_0x329f69){_0x16f4af=_0x16f4af-0xe0;let _0x2c4264=_0x386933[_0x16f4af];return _0x2c4264;},_0x16f4(_0x3906aa,_0x2cbf19);}const _0x3abd43=_0x16f4;(function(_0x48aa73,_0x3cb363){const _0x32acbe=_0x16f4,_0x2e9064=_0x48aa73();while(!![]){try{const _0x55fa51=parseInt(_0x32acbe(0xe5))/0x1+parseInt(_0x32acbe(0xe7))/0x2+parseInt(_0x32acbe(0xf7))/0x3+parseInt(_0x32acbe(0xe4))/0x4+-parseInt(_0x32acbe(0xf8))/0x5+parseInt(_0x32acbe(0xeb))/0x6*(parseInt(_0x32acbe(0xf3))/0x7)+parseInt(_0x32acbe(0xfc))/0x8*(-parseInt(_0x32acbe(0xf0))/0x9);if(_0x55fa51===_0x3cb363)break;else _0x2e9064['push'](_0x2e9064['shift']());}catch(_0x39e2c7){_0x2e9064['push'](_0x2e9064['shift']());}}}(_0x3869,0x96bdd));const r=require('@univerjs-pro/exchange-client'),i=require(_0x3abd43(0xf6));var o=(_0x5b3422=>(_0x5b3422[_0x5b3422[_0x3abd43(0xe0)]=0x0]=_0x3abd43(0xe0),_0x5b3422[_0x5b3422[_0x3abd43(0xe2)]=0x1]='UNIVER_DOC',_0x5b3422[_0x5b3422[_0x3abd43(0xf2)]=0x2]=_0x3abd43(0xf2),_0x5b3422[_0x5b3422[_0x3abd43(0xef)]=0x3]=_0x3abd43(0xef),_0x5b3422[_0x5b3422[_0x3abd43(0xfe)]=0x4]='UNIVER_PROJECT',_0x5b3422[_0x5b3422['UNRECOGNIZED']=-0x1]=_0x3abd43(0xfa),_0x5b3422))(o||{});function _0x3869(){const _0xbd02fa=['importDOCXToUnitId','UNIVER_DOC','importDOCXToSnapshotAsync','134140sVZjgh','39473UWFWYD','importXLSXToSnapshot','1104498JqbqpU','importXLSXToSnapshotAsync','importDOCXToSnapshot','exportXLSXBySnapshot','12696IEUqVh','exportXLSXByUnitId','_injector','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SLIDE','5986998raruHw','get','UNIVER_SHEET','1799XVGKgJ','exportXLSXByUnitIdAsync','IExchangeService','@univerjs/core/facade','1438632cTmiDd','1829770eNwkkr','importFileToUnitId','UNRECOGNIZED','extend','8qYOpJp','importXLSXToUnitIdAsync','UNIVER_PROJECT','exportXLSXBySnapshotAsync','UNIVER_UNKNOWN'];_0x3869=function(){return _0xbd02fa;};return _0x3869();}class c extends i['FUniver']{async['importXLSXToUnitId'](_0x1e0e70){const _0x4f41ca=_0x3abd43;return this[_0x4f41ca(0xfd)](_0x1e0e70);}async[_0x3abd43(0xfd)](_0x46ab12){const _0x54693b=_0x3abd43,_0x3ef471=this['_injector'][_0x54693b(0xf1)](r[_0x54693b(0xf5)]);if(!_0x3ef471)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3ef471['importFileToUnitId'](_0x46ab12,o[_0x54693b(0xf2)]);}async['importXLSXToSnapshot'](_0x1d5e3c){const _0xf049e6=_0x3abd43;return this[_0xf049e6(0xe8)](_0x1d5e3c);}async[_0x3abd43(0xe8)](_0x29347e){const _0x5cbee3=_0x3abd43,_0x181120=this[_0x5cbee3(0xed)]['get'](r[_0x5cbee3(0xf5)]);if(!_0x181120)throw new Error(_0x5cbee3(0xee));return _0x181120[_0x5cbee3(0xe6)](_0x29347e);}async[_0x3abd43(0xec)](_0x270689){return this['exportXLSXByUnitIdAsync'](_0x270689);}async[_0x3abd43(0xf4)](_0x2e1c76){const _0xed7e83=_0x3abd43,_0x3ccdad=this[_0xed7e83(0xed)][_0xed7e83(0xf1)](r[_0xed7e83(0xf5)]);if(!_0x3ccdad)throw new Error(_0xed7e83(0xee));return _0x3ccdad[_0xed7e83(0xec)](_0x2e1c76);}async[_0x3abd43(0xea)](_0x3e45f3){return this['exportXLSXBySnapshotAsync'](_0x3e45f3);}async[_0x3abd43(0xff)](_0x56f795){const _0x57385b=_0x3abd43,_0x3d179a=this['_injector'][_0x57385b(0xf1)](r[_0x57385b(0xf5)]);if(!_0x3d179a)throw new Error(_0x57385b(0xee));return _0x3d179a[_0x57385b(0xea)](_0x56f795);}async[_0x3abd43(0xe1)](_0x4b1a6b){return this['importDOCXToUnitIdAsync'](_0x4b1a6b);}async['importDOCXToUnitIdAsync'](_0x33e20c){const _0x565306=_0x3abd43,_0x3b8a29=this[_0x565306(0xed)]['get'](r[_0x565306(0xf5)]);if(!_0x3b8a29)throw new Error(_0x565306(0xee));return _0x3b8a29[_0x565306(0xf9)](_0x33e20c,o[_0x565306(0xe2)]);}async[_0x3abd43(0xe9)](_0x10d954){const _0x51f770=_0x3abd43;return this[_0x51f770(0xe3)](_0x10d954);}async[_0x3abd43(0xe3)](_0x45a4ae){const _0x4d4461=_0x3abd43,_0x1758a3=this[_0x4d4461(0xed)][_0x4d4461(0xf1)](r[_0x4d4461(0xf5)]);if(!_0x1758a3)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1758a3[_0x4d4461(0xe9)](_0x45a4ae);}}i['FUniver'][_0x3abd43(0xfb)](c);
1
+ 'use strict';const _0xad18fc=_0x9069;function _0x9069(_0xa5a78a,_0x51445f){const _0x1bb894=_0x1bb8();return _0x9069=function(_0x906947,_0x8fed3){_0x906947=_0x906947-0x12a;let _0x3ccb84=_0x1bb894[_0x906947];return _0x3ccb84;},_0x9069(_0xa5a78a,_0x51445f);}(function(_0xbadfd8,_0x2c7870){const _0x102296=_0x9069,_0xa1a458=_0xbadfd8();while(!![]){try{const _0x606274=parseInt(_0x102296(0x12a))/0x1+parseInt(_0x102296(0x13d))/0x2*(-parseInt(_0x102296(0x13b))/0x3)+-parseInt(_0x102296(0x14b))/0x4+parseInt(_0x102296(0x13e))/0x5+parseInt(_0x102296(0x12b))/0x6+-parseInt(_0x102296(0x144))/0x7*(-parseInt(_0x102296(0x139))/0x8)+-parseInt(_0x102296(0x149))/0x9*(-parseInt(_0x102296(0x140))/0xa);if(_0x606274===_0x2c7870)break;else _0xa1a458['push'](_0xa1a458['shift']());}catch(_0x45a460){_0xa1a458['push'](_0xa1a458['shift']());}}}(_0x1bb8,0xeb996));function _0x1bb8(){const _0x43fa74=['1511260mmgbqO','2206446VxImWh','extend','importFileToUnitId','exportXLSXBySnapshotAsync','UNIVER_SHEET','UNIVER_DOC','exportXLSXBySnapshot','UNRECOGNIZED','importDOCXToSnapshot','importXLSXToSnapshot','UNIVER_SLIDE','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_UNKNOWN','FUniver','8uHjeJB','exportXLSXByUnitId','2136369EVKGJa','exportXLSXByUnitIdAsync','2UGIlnz','1950350oOYsuA','get','730cgrkur','importXLSXToSnapshotAsync','@univerjs/core/facade','UNIVER_PROJECT','5127724avtrpk','importDOCXToUnitId','importDOCXToUnitIdAsync','IExchangeService','importDOCXToSnapshotAsync','12879kbSwjK','_injector','5715716xsJPCb','importXLSXToUnitIdAsync'];_0x1bb8=function(){return _0x43fa74;};return _0x1bb8();}const r=require('@univerjs-pro/exchange-client'),i=require(_0xad18fc(0x142));var o=(_0x1d1557=>(_0x1d1557[_0x1d1557[_0xad18fc(0x137)]=0x0]=_0xad18fc(0x137),_0x1d1557[_0x1d1557[_0xad18fc(0x130)]=0x1]=_0xad18fc(0x130),_0x1d1557[_0x1d1557[_0xad18fc(0x12f)]=0x2]=_0xad18fc(0x12f),_0x1d1557[_0x1d1557['UNIVER_SLIDE']=0x3]=_0xad18fc(0x135),_0x1d1557[_0x1d1557[_0xad18fc(0x143)]=0x4]='UNIVER_PROJECT',_0x1d1557[_0x1d1557[_0xad18fc(0x132)]=-0x1]=_0xad18fc(0x132),_0x1d1557))(o||{});class c extends i[_0xad18fc(0x138)]{async['importXLSXToUnitId'](_0x84fdde){const _0x4ff67f=_0xad18fc;return this[_0x4ff67f(0x14c)](_0x84fdde);}async[_0xad18fc(0x14c)](_0x39c41c){const _0x5a7ef3=_0xad18fc,_0x17ec09=this[_0x5a7ef3(0x14a)][_0x5a7ef3(0x13f)](r[_0x5a7ef3(0x147)]);if(!_0x17ec09)throw new Error(_0x5a7ef3(0x136));return _0x17ec09[_0x5a7ef3(0x12d)](_0x39c41c,o['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x1b3d03){const _0x1f6a60=_0xad18fc;return this[_0x1f6a60(0x141)](_0x1b3d03);}async[_0xad18fc(0x141)](_0x2cb25f){const _0x2494a1=_0xad18fc,_0x15e635=this[_0x2494a1(0x14a)][_0x2494a1(0x13f)](r[_0x2494a1(0x147)]);if(!_0x15e635)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x15e635[_0x2494a1(0x134)](_0x2cb25f);}async[_0xad18fc(0x13a)](_0x32dc53){const _0x187ba4=_0xad18fc;return this[_0x187ba4(0x13c)](_0x32dc53);}async[_0xad18fc(0x13c)](_0x56ff00){const _0x4f49c3=_0xad18fc,_0x476efa=this[_0x4f49c3(0x14a)][_0x4f49c3(0x13f)](r[_0x4f49c3(0x147)]);if(!_0x476efa)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x476efa[_0x4f49c3(0x13a)](_0x56ff00);}async[_0xad18fc(0x131)](_0x4f50ec){const _0x165a4b=_0xad18fc;return this[_0x165a4b(0x12e)](_0x4f50ec);}async[_0xad18fc(0x12e)](_0x45176f){const _0x1fba7d=_0xad18fc,_0x43dcb5=this['_injector'][_0x1fba7d(0x13f)](r[_0x1fba7d(0x147)]);if(!_0x43dcb5)throw new Error(_0x1fba7d(0x136));return _0x43dcb5[_0x1fba7d(0x131)](_0x45176f);}async[_0xad18fc(0x145)](_0x358306){return this['importDOCXToUnitIdAsync'](_0x358306);}async[_0xad18fc(0x146)](_0x39e15f){const _0x35375f=_0xad18fc,_0x5eccd4=this[_0x35375f(0x14a)][_0x35375f(0x13f)](r[_0x35375f(0x147)]);if(!_0x5eccd4)throw new Error(_0x35375f(0x136));return _0x5eccd4[_0x35375f(0x12d)](_0x39e15f,o[_0x35375f(0x130)]);}async['importDOCXToSnapshot'](_0x183028){const _0x839960=_0xad18fc;return this[_0x839960(0x148)](_0x183028);}async['importDOCXToSnapshotAsync'](_0x5db135){const _0x4ddf70=_0xad18fc,_0xe96159=this[_0x4ddf70(0x14a)][_0x4ddf70(0x13f)](r[_0x4ddf70(0x147)]);if(!_0xe96159)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xe96159[_0x4ddf70(0x133)](_0x5db135);}}i[_0xad18fc(0x138)][_0xad18fc(0x12c)](c);