@univerjs-pro/exchange-client 0.8.1 → 0.8.2-nightly.202506211606

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 _0x51e239=_0x4619;(function(_0x2d81cb,_0x30d207){const _0x1d05d8=_0x4619,_0x592d0e=_0x2d81cb();while(!![]){try{const _0x348f95=-parseInt(_0x1d05d8(0xca))/0x1*(-parseInt(_0x1d05d8(0xbc))/0x2)+-parseInt(_0x1d05d8(0xd1))/0x3+-parseInt(_0x1d05d8(0xcc))/0x4+parseInt(_0x1d05d8(0xc8))/0x5+parseInt(_0x1d05d8(0xcf))/0x6+parseInt(_0x1d05d8(0xc4))/0x7+-parseInt(_0x1d05d8(0xdb))/0x8;if(_0x348f95===_0x30d207)break;else _0x592d0e['push'](_0x592d0e['shift']());}catch(_0x27f438){_0x592d0e['push'](_0x592d0e['shift']());}}}(_0xcf28,0xe5175));function _0x4619(_0x8f459f,_0x18cd8d){const _0xcf28b7=_0xcf28();return _0x4619=function(_0x46191d,_0x4a2072){_0x46191d=_0x46191d-0xbb;let _0x2f2a1a=_0xcf28b7[_0x46191d];return _0x2f2a1a;},_0x4619(_0x8f459f,_0x18cd8d);}const r=require(_0x51e239(0xcd)),o=require('@univerjs/core/facade');var i=(_0x2b17d0=>(_0x2b17d0[_0x2b17d0[_0x51e239(0xd8)]=0x0]=_0x51e239(0xd8),_0x2b17d0[_0x2b17d0[_0x51e239(0xc3)]=0x1]=_0x51e239(0xc3),_0x2b17d0[_0x2b17d0[_0x51e239(0xc6)]=0x2]=_0x51e239(0xc6),_0x2b17d0[_0x2b17d0[_0x51e239(0xbd)]=0x3]=_0x51e239(0xbd),_0x2b17d0[_0x2b17d0[_0x51e239(0xc1)]=0x4]=_0x51e239(0xc1),_0x2b17d0[_0x2b17d0[_0x51e239(0xcb)]=-0x1]=_0x51e239(0xcb),_0x2b17d0))(i||{});class c extends o[_0x51e239(0xdc)]{async[_0x51e239(0xbf)](_0x1c8f6d){const _0x365c27=_0x51e239;return this[_0x365c27(0xc9)](_0x1c8f6d);}async[_0x51e239(0xc9)](_0x61d0b){const _0x25c5e4=_0x51e239,_0x4f1818=this[_0x25c5e4(0xda)][_0x25c5e4(0xbe)](r[_0x25c5e4(0xd4)]);if(!_0x4f1818)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4f1818[_0x25c5e4(0xc0)](_0x61d0b,i[_0x25c5e4(0xc6)]);}async[_0x51e239(0xbb)](_0x1fe83f){const _0x4bf327=_0x51e239;return this[_0x4bf327(0xde)](_0x1fe83f);}async[_0x51e239(0xde)](_0x498154){const _0x32c21d=_0x51e239,_0x453e48=this['_injector'][_0x32c21d(0xbe)](r[_0x32c21d(0xd4)]);if(!_0x453e48)throw new Error(_0x32c21d(0xc5));return _0x453e48[_0x32c21d(0xbb)](_0x498154);}async['exportXLSXByUnitId'](_0x1c9cba){const _0x57d3f1=_0x51e239;return this[_0x57d3f1(0xd5)](_0x1c9cba);}async[_0x51e239(0xd5)](_0x1db0c3){const _0xb74a46=_0x51e239,_0x495ce4=this[_0xb74a46(0xda)]['get'](r[_0xb74a46(0xd4)]);if(!_0x495ce4)throw new Error(_0xb74a46(0xc5));return _0x495ce4[_0xb74a46(0xd6)](_0x1db0c3);}async[_0x51e239(0xdd)](_0x7b8ddf){return this['exportXLSXBySnapshotAsync'](_0x7b8ddf);}async[_0x51e239(0xc7)](_0x9c7ecc){const _0x373e9a=_0x51e239,_0xcc5edf=this[_0x373e9a(0xda)][_0x373e9a(0xbe)](r[_0x373e9a(0xd4)]);if(!_0xcc5edf)throw new Error(_0x373e9a(0xc5));return _0xcc5edf[_0x373e9a(0xdd)](_0x9c7ecc);}async[_0x51e239(0xd0)](_0x322d84){const _0x559926=_0x51e239;return this[_0x559926(0xd7)](_0x322d84);}async[_0x51e239(0xd7)](_0x308bbd){const _0x2f36e6=_0x51e239,_0x348109=this[_0x2f36e6(0xda)][_0x2f36e6(0xbe)](r['IExchangeService']);if(!_0x348109)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x348109[_0x2f36e6(0xc0)](_0x308bbd,i[_0x2f36e6(0xc3)]);}async[_0x51e239(0xd3)](_0xd2ed0){const _0x5b8731=_0x51e239;return this[_0x5b8731(0xd9)](_0xd2ed0);}async[_0x51e239(0xd9)](_0x4186c6){const _0x200920=_0x51e239,_0x1e5c86=this['_injector'][_0x200920(0xbe)](r['IExchangeService']);if(!_0x1e5c86)throw new Error(_0x200920(0xc5));return _0x1e5c86[_0x200920(0xd3)](_0x4186c6);}async[_0x51e239(0xd2)](_0x2f1af2){const _0x3d7601=_0x51e239,_0x303527=this[_0x3d7601(0xda)]['get'](r[_0x3d7601(0xd4)]);if(!_0x303527)throw new Error(_0x3d7601(0xc5));return _0x303527[_0x3d7601(0xce)](_0x2f1af2);}async['exportDOCXByUnitIdAsync'](_0x16dcb8){const _0x434115=_0x51e239,_0x35c918=this[_0x434115(0xda)]['get'](r['IExchangeService']);if(!_0x35c918)throw new Error(_0x434115(0xc5));return _0x35c918[_0x434115(0xc2)](_0x16dcb8);}}o[_0x51e239(0xdc)]['extend'](c);function _0xcf28(){const _0x4945e5=['UNIVER_UNKNOWN','importDOCXToSnapshotAsync','_injector','13701000QitqkU','FUniver','exportXLSXBySnapshot','importXLSXToSnapshotAsync','importXLSXToSnapshot','27458NgLKKK','UNIVER_SLIDE','get','importXLSXToUnitId','importFileToUnitId','UNIVER_PROJECT','exportDOCXByUnitId','UNIVER_DOC','11219397jpZcdK','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SHEET','exportXLSXBySnapshotAsync','2790250KJdfJz','importXLSXToUnitIdAsync','107GHsbfv','UNRECOGNIZED','4366412NYliXX','@univerjs-pro/exchange-client','exportDOCXBySnapshot','5984964HJvJZu','importDOCXToUnitId','2654199zyWfjh','exportDOCXBySnapshotAsync','importDOCXToSnapshot','IExchangeService','exportXLSXByUnitIdAsync','exportXLSXByUnitId','importDOCXToUnitIdAsync'];_0xcf28=function(){return _0x4945e5;};return _0xcf28();}
1
+ 'use strict';const _0x10a21e=_0x5999;(function(_0x5602c1,_0x1bd37d){const _0x45ae36=_0x5999,_0x2cafd6=_0x5602c1();while(!![]){try{const _0x405412=-parseInt(_0x45ae36(0x10f))/0x1+parseInt(_0x45ae36(0x101))/0x2*(parseInt(_0x45ae36(0xf0))/0x3)+parseInt(_0x45ae36(0xf1))/0x4+-parseInt(_0x45ae36(0x109))/0x5*(parseInt(_0x45ae36(0x107))/0x6)+parseInt(_0x45ae36(0xef))/0x7+parseInt(_0x45ae36(0x105))/0x8+parseInt(_0x45ae36(0x106))/0x9;if(_0x405412===_0x1bd37d)break;else _0x2cafd6['push'](_0x2cafd6['shift']());}catch(_0x1584e0){_0x2cafd6['push'](_0x2cafd6['shift']());}}}(_0xfbc3,0x357aa));function _0x5999(_0x5e262e,_0x3509ef){const _0xfbc391=_0xfbc3();return _0x5999=function(_0x5999f8,_0x144488){_0x5999f8=_0x5999f8-0xee;let _0x15a6d4=_0xfbc391[_0x5999f8];return _0x15a6d4;},_0x5999(_0x5e262e,_0x3509ef);}const r=require('@univerjs-pro/exchange-client'),o=require(_0x10a21e(0xfc));var i=(_0x443d7b=>(_0x443d7b[_0x443d7b[_0x10a21e(0x103)]=0x0]=_0x10a21e(0x103),_0x443d7b[_0x443d7b['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x443d7b[_0x443d7b['UNIVER_SHEET']=0x2]=_0x10a21e(0x110),_0x443d7b[_0x443d7b[_0x10a21e(0x112)]=0x3]='UNIVER_SLIDE',_0x443d7b[_0x443d7b[_0x10a21e(0xfa)]=0x4]=_0x10a21e(0xfa),_0x443d7b[_0x443d7b['UNRECOGNIZED']=-0x1]=_0x10a21e(0xf8),_0x443d7b))(i||{});class c extends o[_0x10a21e(0x102)]{async[_0x10a21e(0xfd)](_0x3ce1d3){const _0x2fd637=_0x10a21e;return this[_0x2fd637(0x10b)](_0x3ce1d3);}async[_0x10a21e(0x10b)](_0x5095f4){const _0x40d711=_0x10a21e,_0x25d13f=this[_0x40d711(0x113)][_0x40d711(0xf4)](r[_0x40d711(0xfb)]);if(!_0x25d13f)throw new Error(_0x40d711(0x111));return _0x25d13f[_0x40d711(0x10a)](_0x5095f4,i[_0x40d711(0x110)]);}async['importXLSXToSnapshot'](_0x1f3557){const _0x3dcc90=_0x10a21e;return this[_0x3dcc90(0xf2)](_0x1f3557);}async[_0x10a21e(0xf2)](_0x2c064a){const _0x1fedae=_0x10a21e,_0x7b922c=this['_injector']['get'](r[_0x1fedae(0xfb)]);if(!_0x7b922c)throw new Error(_0x1fedae(0x111));return _0x7b922c[_0x1fedae(0x100)](_0x2c064a);}async[_0x10a21e(0xf9)](_0x1ea3d3){const _0xcb4602=_0x10a21e;return this[_0xcb4602(0xfe)](_0x1ea3d3);}async[_0x10a21e(0xfe)](_0x3d3614){const _0x2fee54=_0x10a21e,_0x5a5229=this['_injector']['get'](r[_0x2fee54(0xfb)]);if(!_0x5a5229)throw new Error(_0x2fee54(0x111));return _0x5a5229[_0x2fee54(0xf9)](_0x3d3614);}async['exportXLSXBySnapshot'](_0x2c4709){return this['exportXLSXBySnapshotAsync'](_0x2c4709);}async[_0x10a21e(0x108)](_0x559cf3){const _0x41e185=_0x10a21e,_0x3ca8d0=this['_injector'][_0x41e185(0xf4)](r['IExchangeService']);if(!_0x3ca8d0)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3ca8d0[_0x41e185(0xf6)](_0x559cf3);}async[_0x10a21e(0x10e)](_0x458ed0){const _0x2a3025=_0x10a21e;return this[_0x2a3025(0x104)](_0x458ed0);}async[_0x10a21e(0x104)](_0x43384e){const _0x3a3d1d=_0x10a21e,_0xb5f8f4=this[_0x3a3d1d(0x113)]['get'](r[_0x3a3d1d(0xfb)]);if(!_0xb5f8f4)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xb5f8f4[_0x3a3d1d(0x10a)](_0x43384e,i[_0x3a3d1d(0x10c)]);}async[_0x10a21e(0xf3)](_0x1aeb5a){const _0x329aa3=_0x10a21e;return this[_0x329aa3(0xee)](_0x1aeb5a);}async[_0x10a21e(0xee)](_0x277b39){const _0x2d9e3d=_0x10a21e,_0x229de1=this[_0x2d9e3d(0x113)]['get'](r[_0x2d9e3d(0xfb)]);if(!_0x229de1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x229de1[_0x2d9e3d(0xf3)](_0x277b39);}async['exportDOCXBySnapshotAsync'](_0x153155){const _0x2c19a8=_0x10a21e,_0x103572=this[_0x2c19a8(0x113)][_0x2c19a8(0xf4)](r['IExchangeService']);if(!_0x103572)throw new Error(_0x2c19a8(0x111));return _0x103572[_0x2c19a8(0x10d)](_0x153155);}async[_0x10a21e(0xf7)](_0x1cfa1a){const _0x1620f1=_0x10a21e,_0x527448=this[_0x1620f1(0x113)][_0x1620f1(0xf4)](r[_0x1620f1(0xfb)]);if(!_0x527448)throw new Error(_0x1620f1(0x111));return _0x527448[_0x1620f1(0xf5)](_0x1cfa1a);}}o[_0x10a21e(0x102)][_0x10a21e(0xff)](c);function _0xfbc3(){const _0x107c51=['UNIVER_PROJECT','IExchangeService','@univerjs/core/facade','importXLSXToUnitId','exportXLSXByUnitIdAsync','extend','importXLSXToSnapshot','46tgHzbe','FUniver','UNIVER_UNKNOWN','importDOCXToUnitIdAsync','19056TKsrLZ','2229633fVQiuo','6WRrGxH','exportXLSXBySnapshotAsync','680590OTYrmG','importFileToUnitId','importXLSXToUnitIdAsync','UNIVER_DOC','exportDOCXBySnapshot','importDOCXToUnitId','403257echXjm','UNIVER_SHEET','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SLIDE','_injector','importDOCXToSnapshotAsync','1414973vSSqcW','8823IPXcLQ','954096KEzHhs','importXLSXToSnapshotAsync','importDOCXToSnapshot','get','exportDOCXByUnitId','exportXLSXBySnapshot','exportDOCXByUnitIdAsync','UNRECOGNIZED','exportXLSXByUnitId'];_0xfbc3=function(){return _0x107c51;};return _0xfbc3();}