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

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 _0x1b5ccc=_0x4840;(function(_0xdcb2a1,_0x39665b){const _0x51fdf5=_0x4840,_0x31b200=_0xdcb2a1();while(!![]){try{const _0x2e82a2=-parseInt(_0x51fdf5(0x1e6))/0x1+parseInt(_0x51fdf5(0x1fd))/0x2+parseInt(_0x51fdf5(0x1ec))/0x3*(parseInt(_0x51fdf5(0x1f4))/0x4)+-parseInt(_0x51fdf5(0x1ff))/0x5+-parseInt(_0x51fdf5(0x1e4))/0x6+parseInt(_0x51fdf5(0x1fb))/0x7*(-parseInt(_0x51fdf5(0x1e1))/0x8)+parseInt(_0x51fdf5(0x1f2))/0x9;if(_0x2e82a2===_0x39665b)break;else _0x31b200['push'](_0x31b200['shift']());}catch(_0x4e9e41){_0x31b200['push'](_0x31b200['shift']());}}}(_0x2a41,0x9d834));const r=require(_0x1b5ccc(0x1f5)),i=require(_0x1b5ccc(0x1fe));var o=(_0x59de04=>(_0x59de04[_0x59de04[_0x1b5ccc(0x1e5)]=0x0]=_0x1b5ccc(0x1e5),_0x59de04[_0x59de04[_0x1b5ccc(0x1f6)]=0x1]=_0x1b5ccc(0x1f6),_0x59de04[_0x59de04[_0x1b5ccc(0x1e9)]=0x2]=_0x1b5ccc(0x1e9),_0x59de04[_0x59de04[_0x1b5ccc(0x1f7)]=0x3]='UNIVER_SLIDE',_0x59de04[_0x59de04[_0x1b5ccc(0x1fa)]=0x4]=_0x1b5ccc(0x1fa),_0x59de04[_0x59de04[_0x1b5ccc(0x1f1)]=-0x1]=_0x1b5ccc(0x1f1),_0x59de04))(o||{});function _0x2a41(){const _0x45e3a4=['importDOCXToSnapshot','IExchangeService','UNRECOGNIZED','13838373kdBipq','exportXLSXBySnapshotAsync','212684YWlLUC','@univerjs-pro/exchange-client','UNIVER_DOC','UNIVER_SLIDE','importXLSXToUnitIdAsync','exportXLSXByUnitIdAsync','UNIVER_PROJECT','96803UhwFrn','The\x20exchange\x20service\x20is\x20not\x20available','2323224eBKdHu','@univerjs/core','4557155Kgwnuh','exportXLSXBySnapshot','importDOCXToUnitIdAsync','168oNUWcc','FUniver','importFileToUnitId','2913258ixtdqF','UNIVER_UNKNOWN','898364PpOaed','exportXLSXByUnitId','get','UNIVER_SHEET','importXLSXToSnapshotAsync','importDOCXToSnapshotAsync','30BkUdLn','extend','_injector'];_0x2a41=function(){return _0x45e3a4;};return _0x2a41();}class c extends i[_0x1b5ccc(0x1e2)]{async['importXLSXToUnitId'](_0x27771f){return this['importXLSXToUnitIdAsync'](_0x27771f);}async[_0x1b5ccc(0x1f8)](_0x2b765f){const _0x452d2b=_0x1b5ccc,_0x2b1aab=this[_0x452d2b(0x1ee)][_0x452d2b(0x1e8)](r[_0x452d2b(0x1f0)]);if(!_0x2b1aab)throw new Error(_0x452d2b(0x1fc));return _0x2b1aab['importFileToUnitId'](_0x2b765f,o[_0x452d2b(0x1e9)]);}async['importXLSXToSnapshot'](_0xe67591){return this['importXLSXToSnapshotAsync'](_0xe67591);}async[_0x1b5ccc(0x1ea)](_0x39550c){const _0x543f8a=_0x1b5ccc,_0xa82f21=this['_injector'][_0x543f8a(0x1e8)](r[_0x543f8a(0x1f0)]);if(!_0xa82f21)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xa82f21['importXLSXToSnapshot'](_0x39550c);}async[_0x1b5ccc(0x1e7)](_0x5f56f1){const _0x3c5035=_0x1b5ccc;return this[_0x3c5035(0x1f9)](_0x5f56f1);}async['exportXLSXByUnitIdAsync'](_0x57ee47){const _0xef3bac=_0x1b5ccc,_0x43c355=this[_0xef3bac(0x1ee)][_0xef3bac(0x1e8)](r[_0xef3bac(0x1f0)]);if(!_0x43c355)throw new Error(_0xef3bac(0x1fc));return _0x43c355[_0xef3bac(0x1e7)](_0x57ee47);}async[_0x1b5ccc(0x200)](_0xa93f46){return this['exportXLSXBySnapshotAsync'](_0xa93f46);}async[_0x1b5ccc(0x1f3)](_0x4de614){const _0x4d8b36=_0x1b5ccc,_0x538d18=this['_injector'][_0x4d8b36(0x1e8)](r[_0x4d8b36(0x1f0)]);if(!_0x538d18)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x538d18['exportXLSXBySnapshot'](_0x4de614);}async['importDOCXToUnitId'](_0x1b817c){const _0x24fc5b=_0x1b5ccc;return this[_0x24fc5b(0x201)](_0x1b817c);}async['importDOCXToUnitIdAsync'](_0x1bf5bb){const _0x3d0a6c=_0x1b5ccc,_0x54896f=this[_0x3d0a6c(0x1ee)][_0x3d0a6c(0x1e8)](r[_0x3d0a6c(0x1f0)]);if(!_0x54896f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x54896f[_0x3d0a6c(0x1e3)](_0x1bf5bb,o[_0x3d0a6c(0x1f6)]);}async[_0x1b5ccc(0x1ef)](_0x35cea9){return this['importDOCXToSnapshotAsync'](_0x35cea9);}async[_0x1b5ccc(0x1eb)](_0xf43be7){const _0x232a35=_0x1b5ccc,_0x3caf38=this[_0x232a35(0x1ee)]['get'](r[_0x232a35(0x1f0)]);if(!_0x3caf38)throw new Error(_0x232a35(0x1fc));return _0x3caf38[_0x232a35(0x1ef)](_0xf43be7);}}function _0x4840(_0x5a4de4,_0x3a3ed4){const _0x2a4172=_0x2a41();return _0x4840=function(_0x484041,_0x4d99a8){_0x484041=_0x484041-0x1e1;let _0x1dc5a4=_0x2a4172[_0x484041];return _0x1dc5a4;},_0x4840(_0x5a4de4,_0x3a3ed4);}i['FUniver'][_0x1b5ccc(0x1ed)](c);
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);