@univerjs-pro/exchange-client 0.7.0-nightly.202505141607 → 0.7.0-nightly.202505161607

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 _0x2becd8=_0xe096;(function(_0x1a5aa1,_0x20a303){const _0x4fb43a=_0xe096,_0x4037e5=_0x1a5aa1();while(!![]){try{const _0x125a14=-parseInt(_0x4fb43a(0xd4))/0x1+parseInt(_0x4fb43a(0xdd))/0x2+-parseInt(_0x4fb43a(0xd9))/0x3+parseInt(_0x4fb43a(0xca))/0x4+parseInt(_0x4fb43a(0xd0))/0x5*(parseInt(_0x4fb43a(0xd3))/0x6)+parseInt(_0x4fb43a(0xe6))/0x7+-parseInt(_0x4fb43a(0xdf))/0x8;if(_0x125a14===_0x20a303)break;else _0x4037e5['push'](_0x4037e5['shift']());}catch(_0x2a00cc){_0x4037e5['push'](_0x4037e5['shift']());}}}(_0x40f1,0xad137));const r=require(_0x2becd8(0xda)),i=require('@univerjs/core/facade');function _0xe096(_0x5f1846,_0x1dfc16){const _0x40f1d4=_0x40f1();return _0xe096=function(_0xe096a0,_0x24a384){_0xe096a0=_0xe096a0-0xc7;let _0x153549=_0x40f1d4[_0xe096a0];return _0x153549;},_0xe096(_0x5f1846,_0x1dfc16);}var o=(_0x1eabae=>(_0x1eabae[_0x1eabae['UNIVER_UNKNOWN']=0x0]=_0x2becd8(0xd8),_0x1eabae[_0x1eabae[_0x2becd8(0xdc)]=0x1]='UNIVER_DOC',_0x1eabae[_0x1eabae[_0x2becd8(0xce)]=0x2]=_0x2becd8(0xce),_0x1eabae[_0x1eabae[_0x2becd8(0xd2)]=0x3]=_0x2becd8(0xd2),_0x1eabae[_0x1eabae[_0x2becd8(0xe5)]=0x4]=_0x2becd8(0xe5),_0x1eabae[_0x1eabae['UNRECOGNIZED']=-0x1]=_0x2becd8(0xde),_0x1eabae))(o||{});class c extends i['FUniver']{async['importXLSXToUnitId'](_0x1e816e){return this['importXLSXToUnitIdAsync'](_0x1e816e);}async[_0x2becd8(0xe4)](_0x161222){const _0x25e615=_0x2becd8,_0x1acd46=this[_0x25e615(0xcc)][_0x25e615(0xe1)](r[_0x25e615(0xcf)]);if(!_0x1acd46)throw new Error(_0x25e615(0xe2));return _0x1acd46[_0x25e615(0xd5)](_0x161222,o[_0x25e615(0xce)]);}async[_0x2becd8(0xc7)](_0x55dd12){const _0x9cf949=_0x2becd8;return this[_0x9cf949(0xd6)](_0x55dd12);}async[_0x2becd8(0xd6)](_0x157f6b){const _0x79bf81=_0x2becd8,_0x83693d=this[_0x79bf81(0xcc)][_0x79bf81(0xe1)](r[_0x79bf81(0xcf)]);if(!_0x83693d)throw new Error(_0x79bf81(0xe2));return _0x83693d['importXLSXToSnapshot'](_0x157f6b);}async[_0x2becd8(0xcb)](_0x22fc1d){const _0x486c41=_0x2becd8;return this[_0x486c41(0xdb)](_0x22fc1d);}async[_0x2becd8(0xdb)](_0x17d97b){const _0x759689=_0x2becd8,_0x27cae0=this['_injector']['get'](r[_0x759689(0xcf)]);if(!_0x27cae0)throw new Error(_0x759689(0xe2));return _0x27cae0[_0x759689(0xcb)](_0x17d97b);}async[_0x2becd8(0xd1)](_0x472b83){return this['exportXLSXBySnapshotAsync'](_0x472b83);}async[_0x2becd8(0xc9)](_0x4d2edd){const _0x3d3f8e=_0x2becd8,_0x6cb223=this[_0x3d3f8e(0xcc)][_0x3d3f8e(0xe1)](r[_0x3d3f8e(0xcf)]);if(!_0x6cb223)throw new Error(_0x3d3f8e(0xe2));return _0x6cb223[_0x3d3f8e(0xd1)](_0x4d2edd);}async[_0x2becd8(0xe0)](_0xfb5761){return this['importDOCXToUnitIdAsync'](_0xfb5761);}async[_0x2becd8(0xc8)](_0x8f1bbe){const _0x2115d8=_0x2becd8,_0x1af118=this[_0x2115d8(0xcc)][_0x2115d8(0xe1)](r[_0x2115d8(0xcf)]);if(!_0x1af118)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1af118[_0x2115d8(0xd5)](_0x8f1bbe,o[_0x2115d8(0xdc)]);}async[_0x2becd8(0xd7)](_0x47a654){const _0x43c041=_0x2becd8;return this[_0x43c041(0xe3)](_0x47a654);}async[_0x2becd8(0xe3)](_0x264b1b){const _0x1463b3=_0x2becd8,_0x34cdfb=this[_0x1463b3(0xcc)][_0x1463b3(0xe1)](r[_0x1463b3(0xcf)]);if(!_0x34cdfb)throw new Error(_0x1463b3(0xe2));return _0x34cdfb[_0x1463b3(0xd7)](_0x264b1b);}}i[_0x2becd8(0xcd)]['extend'](c);function _0x40f1(){const _0x340656=['exportXLSXBySnapshotAsync','1207860TfOGfr','exportXLSXByUnitId','_injector','FUniver','UNIVER_SHEET','IExchangeService','148355OsiPIW','exportXLSXBySnapshot','UNIVER_SLIDE','258wzGylS','43233FMUzoY','importFileToUnitId','importXLSXToSnapshotAsync','importDOCXToSnapshot','UNIVER_UNKNOWN','1743699fiHPVc','@univerjs-pro/exchange-client','exportXLSXByUnitIdAsync','UNIVER_DOC','2212336eGRIoV','UNRECOGNIZED','13668960EbjgLy','importDOCXToUnitId','get','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToSnapshotAsync','importXLSXToUnitIdAsync','UNIVER_PROJECT','2506133KSfSOy','importXLSXToSnapshot','importDOCXToUnitIdAsync'];_0x40f1=function(){return _0x340656;};return _0x40f1();}
1
+ 'use strict';const _0x3d5bc6=_0x3a79;(function(_0x3ea9db,_0x261229){const _0x256f6e=_0x3a79,_0xd3704d=_0x3ea9db();while(!![]){try{const _0x3fc54a=-parseInt(_0x256f6e(0x1be))/0x1*(parseInt(_0x256f6e(0x1a9))/0x2)+-parseInt(_0x256f6e(0x19f))/0x3*(-parseInt(_0x256f6e(0x1a5))/0x4)+-parseInt(_0x256f6e(0x1bb))/0x5*(parseInt(_0x256f6e(0x1b1))/0x6)+parseInt(_0x256f6e(0x1b0))/0x7+-parseInt(_0x256f6e(0x1b8))/0x8+-parseInt(_0x256f6e(0x1ae))/0x9*(parseInt(_0x256f6e(0x1a4))/0xa)+parseInt(_0x256f6e(0x1a2))/0xb;if(_0x3fc54a===_0x261229)break;else _0xd3704d['push'](_0xd3704d['shift']());}catch(_0x6ea265){_0xd3704d['push'](_0xd3704d['shift']());}}}(_0x2839,0xea53b));const r=require('@univerjs-pro/exchange-client'),i=require(_0x3d5bc6(0x1bc));var o=(_0x338096=>(_0x338096[_0x338096['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x338096[_0x338096[_0x3d5bc6(0x1a8)]=0x1]='UNIVER_DOC',_0x338096[_0x338096[_0x3d5bc6(0x1b2)]=0x2]=_0x3d5bc6(0x1b2),_0x338096[_0x338096[_0x3d5bc6(0x1b5)]=0x3]='UNIVER_SLIDE',_0x338096[_0x338096['UNIVER_PROJECT']=0x4]=_0x3d5bc6(0x1a7),_0x338096[_0x338096['UNRECOGNIZED']=-0x1]=_0x3d5bc6(0x1b7),_0x338096))(o||{});class c extends i[_0x3d5bc6(0x1ad)]{async[_0x3d5bc6(0x1ac)](_0x19c597){const _0x14a8e8=_0x3d5bc6;return this[_0x14a8e8(0x1b9)](_0x19c597);}async[_0x3d5bc6(0x1b9)](_0x8cbcf4){const _0x30f34c=_0x3d5bc6,_0x423e7c=this[_0x30f34c(0x1a1)][_0x30f34c(0x1b3)](r[_0x30f34c(0x1a0)]);if(!_0x423e7c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x423e7c[_0x30f34c(0x1bd)](_0x8cbcf4,o['UNIVER_SHEET']);}async[_0x3d5bc6(0x1c0)](_0xa179ec){const _0xff2e40=_0x3d5bc6;return this[_0xff2e40(0x1b6)](_0xa179ec);}async['importXLSXToSnapshotAsync'](_0x7703a8){const _0x36b643=_0x3d5bc6,_0x275012=this[_0x36b643(0x1a1)]['get'](r[_0x36b643(0x1a0)]);if(!_0x275012)throw new Error(_0x36b643(0x1a3));return _0x275012[_0x36b643(0x1c0)](_0x7703a8);}async[_0x3d5bc6(0x1a6)](_0x5b1e72){return this['exportXLSXByUnitIdAsync'](_0x5b1e72);}async['exportXLSXByUnitIdAsync'](_0x4fe583){const _0xa6dd08=_0x3d5bc6,_0x1b3f90=this['_injector'][_0xa6dd08(0x1b3)](r[_0xa6dd08(0x1a0)]);if(!_0x1b3f90)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1b3f90[_0xa6dd08(0x1a6)](_0x4fe583);}async[_0x3d5bc6(0x1ba)](_0x5edc22){return this['exportXLSXBySnapshotAsync'](_0x5edc22);}async[_0x3d5bc6(0x1bf)](_0x4cf7a2){const _0x9d8f4d=_0x3d5bc6,_0x2af226=this[_0x9d8f4d(0x1a1)][_0x9d8f4d(0x1b3)](r['IExchangeService']);if(!_0x2af226)throw new Error(_0x9d8f4d(0x1a3));return _0x2af226[_0x9d8f4d(0x1ba)](_0x4cf7a2);}async[_0x3d5bc6(0x1aa)](_0x431445){return this['importDOCXToUnitIdAsync'](_0x431445);}async['importDOCXToUnitIdAsync'](_0x338c08){const _0x3519e4=_0x3d5bc6,_0x5b225a=this[_0x3519e4(0x1a1)][_0x3519e4(0x1b3)](r[_0x3519e4(0x1a0)]);if(!_0x5b225a)throw new Error(_0x3519e4(0x1a3));return _0x5b225a[_0x3519e4(0x1bd)](_0x338c08,o['UNIVER_DOC']);}async[_0x3d5bc6(0x1b4)](_0x3793f3){const _0x1e52b1=_0x3d5bc6;return this[_0x1e52b1(0x1ab)](_0x3793f3);}async['importDOCXToSnapshotAsync'](_0x509aad){const _0x33d9d4=_0x3d5bc6,_0x593bb1=this[_0x33d9d4(0x1a1)][_0x33d9d4(0x1b3)](r[_0x33d9d4(0x1a0)]);if(!_0x593bb1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x593bb1['importDOCXToSnapshot'](_0x509aad);}}function _0x3a79(_0x4d031b,_0x591450){const _0x2839cf=_0x2839();return _0x3a79=function(_0x3a79af,_0x62d85a){_0x3a79af=_0x3a79af-0x19f;let _0x2b2125=_0x2839cf[_0x3a79af];return _0x2b2125;},_0x3a79(_0x4d031b,_0x591450);}function _0x2839(){const _0x55c9b2=['2090556XiIGKK','extend','810691BOgCVP','5153916FKqAbV','UNIVER_SHEET','get','importDOCXToSnapshot','UNIVER_SLIDE','importXLSXToSnapshotAsync','UNRECOGNIZED','978160KXAEQt','importXLSXToUnitIdAsync','exportXLSXBySnapshot','5yDTjQm','@univerjs/core/facade','importFileToUnitId','439UWiUvz','exportXLSXBySnapshotAsync','importXLSXToSnapshot','3wgeUuC','IExchangeService','_injector','22448767DqYdBu','The\x20exchange\x20service\x20is\x20not\x20available','10OAoQzO','613048fYzfaZ','exportXLSXByUnitId','UNIVER_PROJECT','UNIVER_DOC','622uTgrRx','importDOCXToUnitId','importDOCXToSnapshotAsync','importXLSXToUnitId','FUniver'];_0x2839=function(){return _0x55c9b2;};return _0x2839();}i['FUniver'][_0x3d5bc6(0x1af)](c);