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

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 _0x584cbe=_0x205a;(function(_0x3d6ef2,_0x47eb50){const _0x59415d=_0x205a,_0x37a8b7=_0x3d6ef2();while(!![]){try{const _0x2d1242=-parseInt(_0x59415d(0x1b3))/0x1*(parseInt(_0x59415d(0x1b1))/0x2)+-parseInt(_0x59415d(0x1bc))/0x3*(parseInt(_0x59415d(0x1b8))/0x4)+-parseInt(_0x59415d(0x1c3))/0x5*(parseInt(_0x59415d(0x1af))/0x6)+parseInt(_0x59415d(0x1cb))/0x7+-parseInt(_0x59415d(0x1c7))/0x8+parseInt(_0x59415d(0x1c8))/0x9*(-parseInt(_0x59415d(0x1b7))/0xa)+parseInt(_0x59415d(0x1ad))/0xb*(parseInt(_0x59415d(0x1ac))/0xc);if(_0x2d1242===_0x47eb50)break;else _0x37a8b7['push'](_0x37a8b7['shift']());}catch(_0xdea797){_0x37a8b7['push'](_0x37a8b7['shift']());}}}(_0x31a1,0x3f245));function _0x31a1(){const _0x3b84e1=['IExchangeService','3245200yhNfmH','3859452msYntS','The\x20exchange\x20service\x20is\x20not\x20available','importFileToUnitId','1148637hOqUwc','@univerjs/core','UNIVER_SLIDE','extend','importXLSXToUnitIdAsync','importDOCXToUnitId','6540ACBgUx','33605LTXVym','@univerjs-pro/exchange-client','866532wyIChZ','UNRECOGNIZED','166lOAZes','exportXLSXBySnapshotAsync','3731fQxRoO','exportXLSXByUnitId','_injector','UNIVER_SHEET','10QSKrsA','102496rXyGDC','importXLSXToUnitId','get','importXLSXToSnapshot','33GNPpUG','UNIVER_PROJECT','importDOCXToUnitIdAsync','UNIVER_UNKNOWN','importDOCXToSnapshot','exportXLSXBySnapshot','UNIVER_DOC','5xHCoqK','exportXLSXByUnitIdAsync','importDOCXToSnapshotAsync'];_0x31a1=function(){return _0x3b84e1;};return _0x31a1();}function _0x205a(_0x583f5d,_0x3f3a7a){const _0x31a121=_0x31a1();return _0x205a=function(_0x205ab8,_0x211cdd){_0x205ab8=_0x205ab8-0x1ab;let _0xc06766=_0x31a121[_0x205ab8];return _0xc06766;},_0x205a(_0x583f5d,_0x3f3a7a);}const r=require(_0x584cbe(0x1ae)),i=require(_0x584cbe(0x1cc));var o=(_0x280647=>(_0x280647[_0x280647[_0x584cbe(0x1bf)]=0x0]='UNIVER_UNKNOWN',_0x280647[_0x280647[_0x584cbe(0x1c2)]=0x1]=_0x584cbe(0x1c2),_0x280647[_0x280647[_0x584cbe(0x1b6)]=0x2]=_0x584cbe(0x1b6),_0x280647[_0x280647[_0x584cbe(0x1cd)]=0x3]=_0x584cbe(0x1cd),_0x280647[_0x280647[_0x584cbe(0x1bd)]=0x4]=_0x584cbe(0x1bd),_0x280647[_0x280647[_0x584cbe(0x1b0)]=-0x1]=_0x584cbe(0x1b0),_0x280647))(o||{});class c extends i['FUniver']{async[_0x584cbe(0x1b9)](_0x71ea49){const _0x3e22df=_0x584cbe;return this[_0x3e22df(0x1cf)](_0x71ea49);}async[_0x584cbe(0x1cf)](_0x2ab458){const _0x595283=_0x584cbe,_0x309a5c=this[_0x595283(0x1b5)][_0x595283(0x1ba)](r['IExchangeService']);if(!_0x309a5c)throw new Error(_0x595283(0x1c9));return _0x309a5c['importFileToUnitId'](_0x2ab458,o['UNIVER_SHEET']);}async[_0x584cbe(0x1bb)](_0x5722f9){return this['importXLSXToSnapshotAsync'](_0x5722f9);}async['importXLSXToSnapshotAsync'](_0xb04227){const _0x4b4196=_0x584cbe,_0xaa990a=this[_0x4b4196(0x1b5)][_0x4b4196(0x1ba)](r[_0x4b4196(0x1c6)]);if(!_0xaa990a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xaa990a['importXLSXToSnapshot'](_0xb04227);}async[_0x584cbe(0x1b4)](_0x49c1b9){return this['exportXLSXByUnitIdAsync'](_0x49c1b9);}async[_0x584cbe(0x1c4)](_0x275a31){const _0x4fa877=_0x584cbe,_0x3e4a1b=this[_0x4fa877(0x1b5)]['get'](r[_0x4fa877(0x1c6)]);if(!_0x3e4a1b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3e4a1b['exportXLSXByUnitId'](_0x275a31);}async[_0x584cbe(0x1c1)](_0x22441e){const _0x4425c7=_0x584cbe;return this[_0x4425c7(0x1b2)](_0x22441e);}async[_0x584cbe(0x1b2)](_0x13e479){const _0x1cac4b=_0x584cbe,_0x609d4e=this[_0x1cac4b(0x1b5)][_0x1cac4b(0x1ba)](r[_0x1cac4b(0x1c6)]);if(!_0x609d4e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x609d4e[_0x1cac4b(0x1c1)](_0x13e479);}async[_0x584cbe(0x1ab)](_0x2c8f4c){const _0x7f2d9a=_0x584cbe;return this[_0x7f2d9a(0x1be)](_0x2c8f4c);}async[_0x584cbe(0x1be)](_0x582c33){const _0x53fdc0=_0x584cbe,_0x5445bc=this[_0x53fdc0(0x1b5)][_0x53fdc0(0x1ba)](r[_0x53fdc0(0x1c6)]);if(!_0x5445bc)throw new Error(_0x53fdc0(0x1c9));return _0x5445bc[_0x53fdc0(0x1ca)](_0x582c33,o[_0x53fdc0(0x1c2)]);}async['importDOCXToSnapshot'](_0x3b4e43){const _0x1ccafc=_0x584cbe;return this[_0x1ccafc(0x1c5)](_0x3b4e43);}async['importDOCXToSnapshotAsync'](_0x19cd8c){const _0x267afb=_0x584cbe,_0x2d95fe=this['_injector'][_0x267afb(0x1ba)](r[_0x267afb(0x1c6)]);if(!_0x2d95fe)throw new Error(_0x267afb(0x1c9));return _0x2d95fe[_0x267afb(0x1c0)](_0x19cd8c);}}i['FUniver'][_0x584cbe(0x1ce)](c);
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);