@univerjs-pro/exchange-client 0.6.0-nightly.202502101606 → 0.6.0-nightly.202502111606

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 _0x9dbfa=_0x275b;(function(_0x841c88,_0xfd46a9){const _0x53f30a=_0x275b,_0x228b34=_0x841c88();while(!![]){try{const _0x4211a3=-parseInt(_0x53f30a(0x140))/0x1*(-parseInt(_0x53f30a(0x13f))/0x2)+parseInt(_0x53f30a(0x139))/0x3+parseInt(_0x53f30a(0x142))/0x4*(-parseInt(_0x53f30a(0x12b))/0x5)+parseInt(_0x53f30a(0x132))/0x6*(-parseInt(_0x53f30a(0x12c))/0x7)+parseInt(_0x53f30a(0x13e))/0x8*(parseInt(_0x53f30a(0x13d))/0x9)+parseInt(_0x53f30a(0x13c))/0xa+-parseInt(_0x53f30a(0x12a))/0xb*(-parseInt(_0x53f30a(0x12e))/0xc);if(_0x4211a3===_0xfd46a9)break;else _0x228b34['push'](_0x228b34['shift']());}catch(_0x22ca55){_0x228b34['push'](_0x228b34['shift']());}}}(_0x4dee,0xed0d8));const r=require(_0x9dbfa(0x130)),i=require('@univerjs/core');var o=(_0x13e433=>(_0x13e433[_0x13e433[_0x9dbfa(0x143)]=0x0]='UNIVER_UNKNOWN',_0x13e433[_0x13e433[_0x9dbfa(0x148)]=0x1]=_0x9dbfa(0x148),_0x13e433[_0x13e433[_0x9dbfa(0x147)]=0x2]=_0x9dbfa(0x147),_0x13e433[_0x13e433[_0x9dbfa(0x128)]=0x3]=_0x9dbfa(0x128),_0x13e433[_0x13e433[_0x9dbfa(0x134)]=0x4]=_0x9dbfa(0x134),_0x13e433[_0x13e433['UNRECOGNIZED']=-0x1]=_0x9dbfa(0x129),_0x13e433))(o||{});function _0x275b(_0x373ab3,_0x487ffb){const _0x4dee93=_0x4dee();return _0x275b=function(_0x275b04,_0x4c11ee){_0x275b04=_0x275b04-0x126;let _0x3d1456=_0x4dee93[_0x275b04];return _0x3d1456;},_0x275b(_0x373ab3,_0x487ffb);}class c extends i[_0x9dbfa(0x12d)]{async['importXLSXToUnitId'](_0x278def){const _0x82eac3=_0x9dbfa;return this[_0x82eac3(0x144)](_0x278def);}async[_0x9dbfa(0x144)](_0x48b0f3){const _0x40851b=_0x9dbfa,_0x1c78b8=this[_0x40851b(0x131)]['get'](r['IExchangeService']);if(!_0x1c78b8)throw new Error(_0x40851b(0x133));return _0x1c78b8['importFileToUnitId'](_0x48b0f3,o[_0x40851b(0x147)]);}async[_0x9dbfa(0x13a)](_0x41e743){const _0x1c9dda=_0x9dbfa;return this[_0x1c9dda(0x145)](_0x41e743);}async[_0x9dbfa(0x145)](_0x7867cb){const _0x5a2246=_0x9dbfa,_0x1edcd6=this[_0x5a2246(0x131)][_0x5a2246(0x136)](r[_0x5a2246(0x137)]);if(!_0x1edcd6)throw new Error(_0x5a2246(0x133));return _0x1edcd6[_0x5a2246(0x13a)](_0x7867cb);}async[_0x9dbfa(0x135)](_0x5710da){const _0x24dac5=_0x9dbfa;return this[_0x24dac5(0x141)](_0x5710da);}async[_0x9dbfa(0x141)](_0x31e9da){const _0x235297=_0x9dbfa,_0x5074f7=this[_0x235297(0x131)][_0x235297(0x136)](r[_0x235297(0x137)]);if(!_0x5074f7)throw new Error(_0x235297(0x133));return _0x5074f7[_0x235297(0x135)](_0x31e9da);}async[_0x9dbfa(0x126)](_0x2e2daa){return this['exportXLSXBySnapshotAsync'](_0x2e2daa);}async['exportXLSXBySnapshotAsync'](_0x40cecb){const _0x230e22=_0x9dbfa,_0x1a528e=this[_0x230e22(0x131)][_0x230e22(0x136)](r['IExchangeService']);if(!_0x1a528e)throw new Error(_0x230e22(0x133));return _0x1a528e[_0x230e22(0x126)](_0x40cecb);}async['importDOCXToUnitId'](_0x3f5dcb){const _0x366027=_0x9dbfa;return this[_0x366027(0x127)](_0x3f5dcb);}async[_0x9dbfa(0x127)](_0x5631d8){const _0x218f78=_0x9dbfa,_0x2975d1=this[_0x218f78(0x131)]['get'](r[_0x218f78(0x137)]);if(!_0x2975d1)throw new Error(_0x218f78(0x133));return _0x2975d1[_0x218f78(0x13b)](_0x5631d8,o[_0x218f78(0x148)]);}async['importDOCXToSnapshot'](_0x36dcae){const _0x3738f4=_0x9dbfa;return this[_0x3738f4(0x146)](_0x36dcae);}async[_0x9dbfa(0x146)](_0x318730){const _0x136f7a=_0x9dbfa,_0xace2d6=this[_0x136f7a(0x131)]['get'](r[_0x136f7a(0x137)]);if(!_0xace2d6)throw new Error(_0x136f7a(0x133));return _0xace2d6[_0x136f7a(0x12f)](_0x318730);}}i[_0x9dbfa(0x12d)][_0x9dbfa(0x138)](c);function _0x4dee(){const _0x244480=['56CnrXYC','170086vTaxBj','4yjRbid','exportXLSXByUnitIdAsync','4HTGHFO','UNIVER_UNKNOWN','importXLSXToUnitIdAsync','importXLSXToSnapshotAsync','importDOCXToSnapshotAsync','UNIVER_SHEET','UNIVER_DOC','exportXLSXBySnapshot','importDOCXToUnitIdAsync','UNIVER_SLIDE','UNRECOGNIZED','2464vqaHhs','4557370uHVEjj','21CXZNLE','FUniver','60672wWPoVH','importDOCXToSnapshot','@univerjs-pro/exchange-client','_injector','1547268sUobpZ','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_PROJECT','exportXLSXByUnitId','get','IExchangeService','extend','695604WTgqNL','importXLSXToSnapshot','importFileToUnitId','7365430Dtikja','276363RgFgDt'];_0x4dee=function(){return _0x244480;};return _0x4dee();}
1
+ 'use strict';const _0x17ed22=_0x49bd;(function(_0x419839,_0x545a5a){const _0x1072b0=_0x49bd,_0x2ecc1e=_0x419839();while(!![]){try{const _0x4292bc=-parseInt(_0x1072b0(0xd2))/0x1+-parseInt(_0x1072b0(0xd3))/0x2+-parseInt(_0x1072b0(0xd5))/0x3*(parseInt(_0x1072b0(0xdf))/0x4)+parseInt(_0x1072b0(0xd9))/0x5*(-parseInt(_0x1072b0(0xe4))/0x6)+-parseInt(_0x1072b0(0xde))/0x7+parseInt(_0x1072b0(0xdd))/0x8+parseInt(_0x1072b0(0xe5))/0x9;if(_0x4292bc===_0x545a5a)break;else _0x2ecc1e['push'](_0x2ecc1e['shift']());}catch(_0x5852e4){_0x2ecc1e['push'](_0x2ecc1e['shift']());}}}(_0x2884,0x7bedf));function _0x2884(){const _0x367f06=['4zvmqOz','exportXLSXByUnitIdAsync','@univerjs/core','importDOCXToUnitId','exportXLSXBySnapshot','4737990vxLRbk','23547456QGYlaI','importDOCXToSnapshotAsync','exportXLSXByUnitId','_injector','UNIVER_SLIDE','UNIVER_PROJECT','exportXLSXBySnapshotAsync','importXLSXToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToUnitIdAsync','importFileToUnitId','UNRECOGNIZED','UNIVER_UNKNOWN','UNIVER_SHEET','extend','364126XQhioE','652770oIFllU','importDOCXToUnitIdAsync','355479WdLHax','UNIVER_DOC','IExchangeService','importXLSXToSnapshotAsync','5ykvFtS','importXLSXToSnapshot','importDOCXToSnapshot','get','2618152TOsttT','5861583gZILJx'];_0x2884=function(){return _0x367f06;};return _0x2884();}function _0x49bd(_0x3ca309,_0x2e5bd4){const _0x2884a6=_0x2884();return _0x49bd=function(_0x49bd4a,_0x55b6c4){_0x49bd4a=_0x49bd4a-0xc5;let _0x4c27ee=_0x2884a6[_0x49bd4a];return _0x4c27ee;},_0x49bd(_0x3ca309,_0x2e5bd4);}const r=require('@univerjs-pro/exchange-client'),i=require(_0x17ed22(0xe1));var o=(_0x386b58=>(_0x386b58[_0x386b58[_0x17ed22(0xcf)]=0x0]=_0x17ed22(0xcf),_0x386b58[_0x386b58['UNIVER_DOC']=0x1]=_0x17ed22(0xd6),_0x386b58[_0x386b58[_0x17ed22(0xd0)]=0x2]='UNIVER_SHEET',_0x386b58[_0x386b58['UNIVER_SLIDE']=0x3]=_0x17ed22(0xc7),_0x386b58[_0x386b58[_0x17ed22(0xc8)]=0x4]=_0x17ed22(0xc8),_0x386b58[_0x386b58[_0x17ed22(0xce)]=-0x1]=_0x17ed22(0xce),_0x386b58))(o||{});class c extends i['FUniver']{async[_0x17ed22(0xca)](_0x8d2c35){const _0x2dc884=_0x17ed22;return this[_0x2dc884(0xcc)](_0x8d2c35);}async['importXLSXToUnitIdAsync'](_0x14847e){const _0x1a59ad=_0x17ed22,_0x4c2f5e=this['_injector'][_0x1a59ad(0xdc)](r[_0x1a59ad(0xd7)]);if(!_0x4c2f5e)throw new Error(_0x1a59ad(0xcb));return _0x4c2f5e[_0x1a59ad(0xcd)](_0x14847e,o[_0x1a59ad(0xd0)]);}async[_0x17ed22(0xda)](_0x571b30){const _0x18ece1=_0x17ed22;return this[_0x18ece1(0xd8)](_0x571b30);}async[_0x17ed22(0xd8)](_0x1186a5){const _0x173ede=_0x17ed22,_0x69ae24=this[_0x173ede(0xc6)][_0x173ede(0xdc)](r[_0x173ede(0xd7)]);if(!_0x69ae24)throw new Error(_0x173ede(0xcb));return _0x69ae24[_0x173ede(0xda)](_0x1186a5);}async[_0x17ed22(0xc5)](_0x246855){return this['exportXLSXByUnitIdAsync'](_0x246855);}async[_0x17ed22(0xe0)](_0x1807dc){const _0x2b2a79=_0x17ed22,_0x5f550b=this[_0x2b2a79(0xc6)][_0x2b2a79(0xdc)](r[_0x2b2a79(0xd7)]);if(!_0x5f550b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5f550b['exportXLSXByUnitId'](_0x1807dc);}async[_0x17ed22(0xe3)](_0x54eda7){const _0x31d9a9=_0x17ed22;return this[_0x31d9a9(0xc9)](_0x54eda7);}async[_0x17ed22(0xc9)](_0x2f8676){const _0x2d00ad=_0x17ed22,_0x5c73ee=this[_0x2d00ad(0xc6)][_0x2d00ad(0xdc)](r[_0x2d00ad(0xd7)]);if(!_0x5c73ee)throw new Error(_0x2d00ad(0xcb));return _0x5c73ee['exportXLSXBySnapshot'](_0x2f8676);}async[_0x17ed22(0xe2)](_0x56d2c9){return this['importDOCXToUnitIdAsync'](_0x56d2c9);}async[_0x17ed22(0xd4)](_0x2e78e3){const _0x5336c1=_0x17ed22,_0x53c2f5=this[_0x5336c1(0xc6)]['get'](r[_0x5336c1(0xd7)]);if(!_0x53c2f5)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x53c2f5['importFileToUnitId'](_0x2e78e3,o['UNIVER_DOC']);}async[_0x17ed22(0xdb)](_0x27315e){const _0x329e40=_0x17ed22;return this[_0x329e40(0xe6)](_0x27315e);}async[_0x17ed22(0xe6)](_0x32e479){const _0x2008cf=_0x17ed22,_0x35e35c=this['_injector']['get'](r[_0x2008cf(0xd7)]);if(!_0x35e35c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x35e35c['importDOCXToSnapshot'](_0x32e479);}}i['FUniver'][_0x17ed22(0xd1)](c);