@univerjs-pro/exchange-client 0.5.5-nightly.202501201606 → 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 _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 _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);