@univerjs-pro/exchange-client 0.5.5-nightly.202501210404 → 0.5.5-nightly.202501210604

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 _0x2c9fc4=_0x35f8;(function(_0x4dafed,_0x1663ae){const _0x2682f4=_0x35f8,_0x1019ac=_0x4dafed();while(!![]){try{const _0x59134a=parseInt(_0x2682f4(0x118))/0x1*(parseInt(_0x2682f4(0x11e))/0x2)+parseInt(_0x2682f4(0x112))/0x3*(parseInt(_0x2682f4(0x10a))/0x4)+parseInt(_0x2682f4(0x109))/0x5+parseInt(_0x2682f4(0x111))/0x6*(parseInt(_0x2682f4(0x108))/0x7)+parseInt(_0x2682f4(0x107))/0x8*(parseInt(_0x2682f4(0x100))/0x9)+parseInt(_0x2682f4(0x103))/0xa*(parseInt(_0x2682f4(0x114))/0xb)+parseInt(_0x2682f4(0x11d))/0xc*(-parseInt(_0x2682f4(0x115))/0xd);if(_0x59134a===_0x1663ae)break;else _0x1019ac['push'](_0x1019ac['shift']());}catch(_0x79c48e){_0x1019ac['push'](_0x1019ac['shift']());}}}(_0x411d,0xb8f79));const r=require(_0x2c9fc4(0x119)),i=require('@univerjs/core');var o=(_0x1e958e=>(_0x1e958e[_0x1e958e['UNIVER_UNKNOWN']=0x0]=_0x2c9fc4(0x117),_0x1e958e[_0x1e958e[_0x2c9fc4(0x10f)]=0x1]=_0x2c9fc4(0x10f),_0x1e958e[_0x1e958e['UNIVER_SHEET']=0x2]=_0x2c9fc4(0xfe),_0x1e958e[_0x1e958e['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x1e958e[_0x1e958e[_0x2c9fc4(0x110)]=0x4]='UNIVER_PROJECT',_0x1e958e[_0x1e958e[_0x2c9fc4(0x116)]=-0x1]=_0x2c9fc4(0x116),_0x1e958e))(o||{});function _0x411d(){const _0xe6bbdb=['UNIVER_UNKNOWN','979246mzACsm','@univerjs-pro/exchange-client','importDOCXToUnitIdAsync','importDOCXToSnapshotAsync','importDOCXToSnapshot','12JRnpSS','2VwFGce','get','importXLSXToSnapshot','UNIVER_SHEET','FUniver','35964KKOUKf','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXBySnapshotAsync','10YVwMdl','exportXLSXByUnitIdAsync','importDOCXToUnitId','exportXLSXBySnapshot','2904iHAqsj','6692497jvDBLI','748475AwdCHN','1916OADarq','importXLSXToSnapshotAsync','importXLSXToUnitIdAsync','importXLSXToUnitId','_injector','UNIVER_DOC','UNIVER_PROJECT','6fEYZKc','3759okJdeJ','IExchangeService','1755622KozMJr','45990412cLfexl','UNRECOGNIZED'];_0x411d=function(){return _0xe6bbdb;};return _0x411d();}class c extends i[_0x2c9fc4(0xff)]{async[_0x2c9fc4(0x10d)](_0x9b0c08){const _0x14ea21=_0x2c9fc4;return this[_0x14ea21(0x10c)](_0x9b0c08);}async['importXLSXToUnitIdAsync'](_0x1558ef){const _0x4050e3=_0x2c9fc4,_0x2ab28d=this[_0x4050e3(0x10e)][_0x4050e3(0x11f)](r[_0x4050e3(0x113)]);if(!_0x2ab28d)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2ab28d['importFileToUnitId'](_0x1558ef,o[_0x4050e3(0xfe)]);}async[_0x2c9fc4(0xfd)](_0x314e0e){const _0x118d4d=_0x2c9fc4;return this[_0x118d4d(0x10b)](_0x314e0e);}async[_0x2c9fc4(0x10b)](_0x5f1ce5){const _0x3c0ec1=_0x2c9fc4,_0x44ecda=this['_injector'][_0x3c0ec1(0x11f)](r['IExchangeService']);if(!_0x44ecda)throw new Error(_0x3c0ec1(0x101));return _0x44ecda[_0x3c0ec1(0xfd)](_0x5f1ce5);}async['exportXLSXByUnitId'](_0x23693b){const _0x272b37=_0x2c9fc4;return this[_0x272b37(0x104)](_0x23693b);}async[_0x2c9fc4(0x104)](_0x422640){const _0x1951e5=_0x2c9fc4,_0x26f987=this['_injector'][_0x1951e5(0x11f)](r[_0x1951e5(0x113)]);if(!_0x26f987)throw new Error(_0x1951e5(0x101));return _0x26f987['exportXLSXByUnitId'](_0x422640);}async[_0x2c9fc4(0x106)](_0xa2f7b7){const _0x529fed=_0x2c9fc4;return this[_0x529fed(0x102)](_0xa2f7b7);}async[_0x2c9fc4(0x102)](_0x2f87fd){const _0x2df508=_0x2c9fc4,_0x1f154f=this[_0x2df508(0x10e)][_0x2df508(0x11f)](r[_0x2df508(0x113)]);if(!_0x1f154f)throw new Error(_0x2df508(0x101));return _0x1f154f['exportXLSXBySnapshot'](_0x2f87fd);}async[_0x2c9fc4(0x105)](_0x2976f7){const _0x39b9c2=_0x2c9fc4;return this[_0x39b9c2(0x11a)](_0x2976f7);}async[_0x2c9fc4(0x11a)](_0x19e6cc){const _0xb0c477=_0x2c9fc4,_0x1a6880=this[_0xb0c477(0x10e)][_0xb0c477(0x11f)](r[_0xb0c477(0x113)]);if(!_0x1a6880)throw new Error(_0xb0c477(0x101));return _0x1a6880['importFileToUnitId'](_0x19e6cc,o[_0xb0c477(0x10f)]);}async[_0x2c9fc4(0x11c)](_0x321b1d){const _0x3cf77a=_0x2c9fc4;return this[_0x3cf77a(0x11b)](_0x321b1d);}async[_0x2c9fc4(0x11b)](_0x3a7c88){const _0x3fc6a9=_0x2c9fc4,_0x3adea4=this[_0x3fc6a9(0x10e)][_0x3fc6a9(0x11f)](r[_0x3fc6a9(0x113)]);if(!_0x3adea4)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3adea4[_0x3fc6a9(0x11c)](_0x3a7c88);}}function _0x35f8(_0x42629f,_0x443233){const _0x411d95=_0x411d();return _0x35f8=function(_0x35f821,_0xae2737){_0x35f821=_0x35f821-0xfd;let _0x33a4c3=_0x411d95[_0x35f821];return _0x33a4c3;},_0x35f8(_0x42629f,_0x443233);}i[_0x2c9fc4(0xff)]['extend'](c);
1
+ 'use strict';const _0x5764c8=_0x5645;function _0x5645(_0x2ee1d3,_0x420691){const _0x593a0d=_0x593a();return _0x5645=function(_0x5645ca,_0x44204b){_0x5645ca=_0x5645ca-0x1b8;let _0x45b2d9=_0x593a0d[_0x5645ca];return _0x45b2d9;},_0x5645(_0x2ee1d3,_0x420691);}(function(_0x2e14fe,_0x3bdbdf){const _0x48c834=_0x5645,_0x57f26d=_0x2e14fe();while(!![]){try{const _0x1f2651=-parseInt(_0x48c834(0x1cd))/0x1+-parseInt(_0x48c834(0x1bb))/0x2*(parseInt(_0x48c834(0x1bf))/0x3)+parseInt(_0x48c834(0x1be))/0x4*(-parseInt(_0x48c834(0x1d4))/0x5)+parseInt(_0x48c834(0x1c5))/0x6+parseInt(_0x48c834(0x1c0))/0x7+-parseInt(_0x48c834(0x1c2))/0x8+parseInt(_0x48c834(0x1c1))/0x9*(parseInt(_0x48c834(0x1ba))/0xa);if(_0x1f2651===_0x3bdbdf)break;else _0x57f26d['push'](_0x57f26d['shift']());}catch(_0x3ff07e){_0x57f26d['push'](_0x57f26d['shift']());}}}(_0x593a,0x6f733));function _0x593a(){const _0x476777=['The\x20exchange\x20service\x20is\x20not\x20available','get','importFileToUnitId','importDOCXToSnapshotAsync','UNIVER_PROJECT','466059zWYNWN','UNIVER_SLIDE','@univerjs/core','IExchangeService','_injector','@univerjs-pro/exchange-client','importDOCXToUnitId','27065CIMYQs','importXLSXToSnapshotAsync','importDOCXToSnapshot','exportXLSXByUnitIdAsync','exportXLSXBySnapshot','exportXLSXBySnapshotAsync','importXLSXToSnapshot','importXLSXToUnitIdAsync','710nTbdks','10308MeJSPa','UNRECOGNIZED','importDOCXToUnitIdAsync','12uoYisT','204HBaQxM','292033cWEjgf','149805nDrPUk','278960JMYJdJ','UNIVER_SHEET','FUniver','603750iaifPl','extend','UNIVER_DOC'];_0x593a=function(){return _0x476777;};return _0x593a();}const r=require(_0x5764c8(0x1d2)),i=require(_0x5764c8(0x1cf));var o=(_0x490399=>(_0x490399[_0x490399['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x490399[_0x490399[_0x5764c8(0x1c7)]=0x1]=_0x5764c8(0x1c7),_0x490399[_0x490399['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x490399[_0x490399['UNIVER_SLIDE']=0x3]=_0x5764c8(0x1ce),_0x490399[_0x490399[_0x5764c8(0x1cc)]=0x4]=_0x5764c8(0x1cc),_0x490399[_0x490399[_0x5764c8(0x1bc)]=-0x1]=_0x5764c8(0x1bc),_0x490399))(o||{});class c extends i['FUniver']{async['importXLSXToUnitId'](_0x55c13e){const _0x1d896e=_0x5764c8;return this[_0x1d896e(0x1b9)](_0x55c13e);}async['importXLSXToUnitIdAsync'](_0x1c4c66){const _0x4701dd=_0x5764c8,_0x572fd9=this[_0x4701dd(0x1d1)][_0x4701dd(0x1c9)](r['IExchangeService']);if(!_0x572fd9)throw new Error(_0x4701dd(0x1c8));return _0x572fd9[_0x4701dd(0x1ca)](_0x1c4c66,o[_0x4701dd(0x1c3)]);}async[_0x5764c8(0x1b8)](_0x7cae09){const _0x20b424=_0x5764c8;return this[_0x20b424(0x1d5)](_0x7cae09);}async['importXLSXToSnapshotAsync'](_0xb55418){const _0x3c4de4=_0x5764c8,_0x356013=this[_0x3c4de4(0x1d1)][_0x3c4de4(0x1c9)](r[_0x3c4de4(0x1d0)]);if(!_0x356013)throw new Error(_0x3c4de4(0x1c8));return _0x356013['importXLSXToSnapshot'](_0xb55418);}async['exportXLSXByUnitId'](_0x385ef3){const _0x2f75a7=_0x5764c8;return this[_0x2f75a7(0x1d7)](_0x385ef3);}async[_0x5764c8(0x1d7)](_0x4347be){const _0xde4d2e=_0x5764c8,_0x4fc8d4=this['_injector'][_0xde4d2e(0x1c9)](r['IExchangeService']);if(!_0x4fc8d4)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4fc8d4['exportXLSXByUnitId'](_0x4347be);}async[_0x5764c8(0x1d8)](_0x578e3a){const _0x37c9a0=_0x5764c8;return this[_0x37c9a0(0x1d9)](_0x578e3a);}async[_0x5764c8(0x1d9)](_0x3412a9){const _0x5b774d=_0x5764c8,_0xb292=this['_injector'][_0x5b774d(0x1c9)](r[_0x5b774d(0x1d0)]);if(!_0xb292)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xb292[_0x5b774d(0x1d8)](_0x3412a9);}async[_0x5764c8(0x1d3)](_0x148e16){const _0x12e636=_0x5764c8;return this[_0x12e636(0x1bd)](_0x148e16);}async[_0x5764c8(0x1bd)](_0x21d8dd){const _0x3bf4ed=_0x5764c8,_0x46d5a4=this[_0x3bf4ed(0x1d1)][_0x3bf4ed(0x1c9)](r['IExchangeService']);if(!_0x46d5a4)throw new Error(_0x3bf4ed(0x1c8));return _0x46d5a4['importFileToUnitId'](_0x21d8dd,o['UNIVER_DOC']);}async[_0x5764c8(0x1d6)](_0x1d2d9e){const _0xe6c8ff=_0x5764c8;return this[_0xe6c8ff(0x1cb)](_0x1d2d9e);}async['importDOCXToSnapshotAsync'](_0x72d7ea){const _0x34deef=_0x5764c8,_0x349b3c=this['_injector'][_0x34deef(0x1c9)](r['IExchangeService']);if(!_0x349b3c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x349b3c[_0x34deef(0x1d6)](_0x72d7ea);}}i[_0x5764c8(0x1c4)][_0x5764c8(0x1c6)](c);