@univerjs-pro/exchange-client 0.5.5-nightly.202501210849 → 0.5.5-nightly.202501210925

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 _0x111dd8=_0x2f88;(function(_0x51198e,_0x40aeb6){const _0x1b4dbc=_0x2f88,_0x5b422b=_0x51198e();while(!![]){try{const _0x3629ac=parseInt(_0x1b4dbc(0x1d3))/0x1+parseInt(_0x1b4dbc(0x1d4))/0x2+parseInt(_0x1b4dbc(0x1cd))/0x3+parseInt(_0x1b4dbc(0x1d2))/0x4+-parseInt(_0x1b4dbc(0x1c8))/0x5*(parseInt(_0x1b4dbc(0x1c9))/0x6)+parseInt(_0x1b4dbc(0x1d9))/0x7+-parseInt(_0x1b4dbc(0x1cb))/0x8*(parseInt(_0x1b4dbc(0x1bd))/0x9);if(_0x3629ac===_0x40aeb6)break;else _0x5b422b['push'](_0x5b422b['shift']());}catch(_0x223d45){_0x5b422b['push'](_0x5b422b['shift']());}}}(_0x16af,0xccfef));const r=require(_0x111dd8(0x1be)),i=require('@univerjs/core');var o=(_0xc23f8a=>(_0xc23f8a[_0xc23f8a[_0x111dd8(0x1bc)]=0x0]=_0x111dd8(0x1bc),_0xc23f8a[_0xc23f8a[_0x111dd8(0x1d7)]=0x1]=_0x111dd8(0x1d7),_0xc23f8a[_0xc23f8a[_0x111dd8(0x1c4)]=0x2]=_0x111dd8(0x1c4),_0xc23f8a[_0xc23f8a['UNIVER_SLIDE']=0x3]=_0x111dd8(0x1d6),_0xc23f8a[_0xc23f8a['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0xc23f8a[_0xc23f8a[_0x111dd8(0x1db)]=-0x1]=_0x111dd8(0x1db),_0xc23f8a))(o||{});class c extends i[_0x111dd8(0x1d1)]{async[_0x111dd8(0x1d0)](_0x34f2bf){return this['importXLSXToUnitIdAsync'](_0x34f2bf);}async[_0x111dd8(0x1c6)](_0x38acca){const _0x272df1=_0x111dd8,_0x390d43=this[_0x272df1(0x1ca)][_0x272df1(0x1c0)](r['IExchangeService']);if(!_0x390d43)throw new Error(_0x272df1(0x1ce));return _0x390d43[_0x272df1(0x1cf)](_0x38acca,o['UNIVER_SHEET']);}async[_0x111dd8(0x1c5)](_0x2057e9){const _0x179b91=_0x111dd8;return this[_0x179b91(0x1c7)](_0x2057e9);}async[_0x111dd8(0x1c7)](_0x5c8541){const _0x31a9ff=_0x111dd8,_0x4ffc74=this['_injector'][_0x31a9ff(0x1c0)](r['IExchangeService']);if(!_0x4ffc74)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4ffc74[_0x31a9ff(0x1c5)](_0x5c8541);}async['exportXLSXByUnitId'](_0x17e564){const _0x17996c=_0x111dd8;return this[_0x17996c(0x1bf)](_0x17e564);}async['exportXLSXByUnitIdAsync'](_0x20dfdd){const _0x3f52b8=_0x111dd8,_0x158e21=this['_injector'][_0x3f52b8(0x1c0)](r[_0x3f52b8(0x1c2)]);if(!_0x158e21)throw new Error(_0x3f52b8(0x1ce));return _0x158e21[_0x3f52b8(0x1dc)](_0x20dfdd);}async[_0x111dd8(0x1d5)](_0x3886d9){return this['exportXLSXBySnapshotAsync'](_0x3886d9);}async[_0x111dd8(0x1d8)](_0xae1e57){const _0xbb1cf=_0x111dd8,_0x404875=this[_0xbb1cf(0x1ca)][_0xbb1cf(0x1c0)](r[_0xbb1cf(0x1c2)]);if(!_0x404875)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x404875['exportXLSXBySnapshot'](_0xae1e57);}async[_0x111dd8(0x1bb)](_0x9adc84){const _0x69d3e2=_0x111dd8;return this[_0x69d3e2(0x1c1)](_0x9adc84);}async[_0x111dd8(0x1c1)](_0xfdde61){const _0x1167e2=_0x111dd8,_0x1962ad=this[_0x1167e2(0x1ca)][_0x1167e2(0x1c0)](r['IExchangeService']);if(!_0x1962ad)throw new Error(_0x1167e2(0x1ce));return _0x1962ad[_0x1167e2(0x1cf)](_0xfdde61,o['UNIVER_DOC']);}async[_0x111dd8(0x1cc)](_0x40faaa){const _0x36f63a=_0x111dd8;return this[_0x36f63a(0x1da)](_0x40faaa);}async['importDOCXToSnapshotAsync'](_0x22ef05){const _0x5e93bc=_0x111dd8,_0x2ca8c5=this[_0x5e93bc(0x1ca)][_0x5e93bc(0x1c0)](r[_0x5e93bc(0x1c2)]);if(!_0x2ca8c5)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2ca8c5[_0x5e93bc(0x1cc)](_0x22ef05);}}function _0x16af(){const _0x17f90d=['importDOCXToUnitIdAsync','IExchangeService','extend','UNIVER_SHEET','importXLSXToSnapshot','importXLSXToUnitIdAsync','importXLSXToSnapshotAsync','1703005LnOOPW','12GyhVOa','_injector','328spdhJT','importDOCXToSnapshot','4372560ldUDah','The\x20exchange\x20service\x20is\x20not\x20available','importFileToUnitId','importXLSXToUnitId','FUniver','4410772osaGrO','921038oUCusH','947106qYeMpo','exportXLSXBySnapshot','UNIVER_SLIDE','UNIVER_DOC','exportXLSXBySnapshotAsync','8313711ArgQRz','importDOCXToSnapshotAsync','UNRECOGNIZED','exportXLSXByUnitId','importDOCXToUnitId','UNIVER_UNKNOWN','794988SIawTC','@univerjs-pro/exchange-client','exportXLSXByUnitIdAsync','get'];_0x16af=function(){return _0x17f90d;};return _0x16af();}function _0x2f88(_0x1cfab1,_0x300a64){const _0x16afd6=_0x16af();return _0x2f88=function(_0x2f8821,_0xd1c21e){_0x2f8821=_0x2f8821-0x1bb;let _0x334d12=_0x16afd6[_0x2f8821];return _0x334d12;},_0x2f88(_0x1cfab1,_0x300a64);}i[_0x111dd8(0x1d1)][_0x111dd8(0x1c3)](c);
1
+ 'use strict';const _0xf6462f=_0x5860;(function(_0x492df9,_0x4d226e){const _0x1f328=_0x5860,_0x1dbf4a=_0x492df9();while(!![]){try{const _0x352100=parseInt(_0x1f328(0x1fc))/0x1+-parseInt(_0x1f328(0x1f7))/0x2+parseInt(_0x1f328(0x204))/0x3*(-parseInt(_0x1f328(0x1fd))/0x4)+parseInt(_0x1f328(0x1ec))/0x5+-parseInt(_0x1f328(0x1f0))/0x6*(-parseInt(_0x1f328(0x1e8))/0x7)+parseInt(_0x1f328(0x1f5))/0x8+-parseInt(_0x1f328(0x1fe))/0x9*(parseInt(_0x1f328(0x1f8))/0xa);if(_0x352100===_0x4d226e)break;else _0x1dbf4a['push'](_0x1dbf4a['shift']());}catch(_0x13cff3){_0x1dbf4a['push'](_0x1dbf4a['shift']());}}}(_0x935a,0xe7c16));function _0x935a(){const _0x41d044=['10942056xdepab','The\x20exchange\x20service\x20is\x20not\x20available','657820ybztgg','104180HCtFqV','UNIVER_PROJECT','exportXLSXByUnitId','UNRECOGNIZED','839910vUbExC','452bVYgOk','2817VbTyUt','IExchangeService','UNIVER_SLIDE','importDOCXToSnapshot','get','exportXLSXBySnapshotAsync','1071sfPQER','importDOCXToUnitId','UNIVER_SHEET','@univerjs/core','UNIVER_UNKNOWN','11409923rBvchS','extend','FUniver','exportXLSXBySnapshot','3708495vZZpxr','_injector','importFileToUnitId','UNIVER_DOC','6qQeGlD','exportXLSXByUnitIdAsync','importDOCXToUnitIdAsync','importXLSXToSnapshotAsync','importXLSXToSnapshot'];_0x935a=function(){return _0x41d044;};return _0x935a();}const r=require('@univerjs-pro/exchange-client'),i=require(_0xf6462f(0x207));var o=(_0x32cd73=>(_0x32cd73[_0x32cd73['UNIVER_UNKNOWN']=0x0]=_0xf6462f(0x1e7),_0x32cd73[_0x32cd73[_0xf6462f(0x1ef)]=0x1]=_0xf6462f(0x1ef),_0x32cd73[_0x32cd73[_0xf6462f(0x206)]=0x2]=_0xf6462f(0x206),_0x32cd73[_0x32cd73[_0xf6462f(0x200)]=0x3]=_0xf6462f(0x200),_0x32cd73[_0x32cd73[_0xf6462f(0x1f9)]=0x4]=_0xf6462f(0x1f9),_0x32cd73[_0x32cd73[_0xf6462f(0x1fb)]=-0x1]=_0xf6462f(0x1fb),_0x32cd73))(o||{});class c extends i[_0xf6462f(0x1ea)]{async['importXLSXToUnitId'](_0x4be4ec){return this['importXLSXToUnitIdAsync'](_0x4be4ec);}async['importXLSXToUnitIdAsync'](_0x177bb7){const _0x2e08fb=_0xf6462f,_0x6032fc=this['_injector'][_0x2e08fb(0x202)](r[_0x2e08fb(0x1ff)]);if(!_0x6032fc)throw new Error(_0x2e08fb(0x1f6));return _0x6032fc[_0x2e08fb(0x1ee)](_0x177bb7,o[_0x2e08fb(0x206)]);}async['importXLSXToSnapshot'](_0x4b075d){const _0x38f0b1=_0xf6462f;return this[_0x38f0b1(0x1f3)](_0x4b075d);}async[_0xf6462f(0x1f3)](_0x475342){const _0x4ff4cc=_0xf6462f,_0x3cad71=this[_0x4ff4cc(0x1ed)][_0x4ff4cc(0x202)](r[_0x4ff4cc(0x1ff)]);if(!_0x3cad71)throw new Error(_0x4ff4cc(0x1f6));return _0x3cad71[_0x4ff4cc(0x1f4)](_0x475342);}async[_0xf6462f(0x1fa)](_0x1c8191){const _0x154853=_0xf6462f;return this[_0x154853(0x1f1)](_0x1c8191);}async[_0xf6462f(0x1f1)](_0xe44627){const _0x4e406c=_0xf6462f,_0x3fe673=this[_0x4e406c(0x1ed)][_0x4e406c(0x202)](r['IExchangeService']);if(!_0x3fe673)throw new Error(_0x4e406c(0x1f6));return _0x3fe673[_0x4e406c(0x1fa)](_0xe44627);}async['exportXLSXBySnapshot'](_0x67ad6d){const _0x357a42=_0xf6462f;return this[_0x357a42(0x203)](_0x67ad6d);}async[_0xf6462f(0x203)](_0x30740f){const _0x150e90=_0xf6462f,_0xd17e49=this[_0x150e90(0x1ed)][_0x150e90(0x202)](r[_0x150e90(0x1ff)]);if(!_0xd17e49)throw new Error(_0x150e90(0x1f6));return _0xd17e49[_0x150e90(0x1eb)](_0x30740f);}async[_0xf6462f(0x205)](_0x4ac083){const _0xea1a1c=_0xf6462f;return this[_0xea1a1c(0x1f2)](_0x4ac083);}async[_0xf6462f(0x1f2)](_0xdb2e03){const _0x512954=_0xf6462f,_0x6797e8=this[_0x512954(0x1ed)][_0x512954(0x202)](r['IExchangeService']);if(!_0x6797e8)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x6797e8[_0x512954(0x1ee)](_0xdb2e03,o[_0x512954(0x1ef)]);}async['importDOCXToSnapshot'](_0x3f4bbd){return this['importDOCXToSnapshotAsync'](_0x3f4bbd);}async['importDOCXToSnapshotAsync'](_0x51324f){const _0x473ddd=_0xf6462f,_0x2fe422=this[_0x473ddd(0x1ed)]['get'](r[_0x473ddd(0x1ff)]);if(!_0x2fe422)throw new Error(_0x473ddd(0x1f6));return _0x2fe422[_0x473ddd(0x201)](_0x51324f);}}function _0x5860(_0x56975f,_0x3d344e){const _0x935a3f=_0x935a();return _0x5860=function(_0x5860f6,_0x186a5e){_0x5860f6=_0x5860f6-0x1e7;let _0x1ae5f8=_0x935a3f[_0x5860f6];return _0x1ae5f8;},_0x5860(_0x56975f,_0x3d344e);}i[_0xf6462f(0x1ea)][_0xf6462f(0x1e9)](c);