@univerjs-pro/exchange-client 0.6.10-nightly.202504231607 → 0.6.10-nightly.202504241607

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';function _0x4690(_0x1ee326,_0x38d286){const _0x4003cb=_0x4003();return _0x4690=function(_0x46901b,_0xe1f541){_0x46901b=_0x46901b-0x1df;let _0x19b5a5=_0x4003cb[_0x46901b];return _0x19b5a5;},_0x4690(_0x1ee326,_0x38d286);}const _0x7c9cb2=_0x4690;(function(_0x28c9d0,_0x281183){const _0x39d2f5=_0x4690,_0x1e67ae=_0x28c9d0();while(!![]){try{const _0x23d707=parseInt(_0x39d2f5(0x200))/0x1+parseInt(_0x39d2f5(0x1f5))/0x2*(-parseInt(_0x39d2f5(0x1fd))/0x3)+parseInt(_0x39d2f5(0x1f0))/0x4*(parseInt(_0x39d2f5(0x1e8))/0x5)+-parseInt(_0x39d2f5(0x1f7))/0x6*(parseInt(_0x39d2f5(0x1e0))/0x7)+parseInt(_0x39d2f5(0x1ff))/0x8+-parseInt(_0x39d2f5(0x1fe))/0x9*(parseInt(_0x39d2f5(0x1ec))/0xa)+-parseInt(_0x39d2f5(0x1e4))/0xb*(parseInt(_0x39d2f5(0x1f2))/0xc);if(_0x23d707===_0x281183)break;else _0x1e67ae['push'](_0x1e67ae['shift']());}catch(_0x148eb8){_0x1e67ae['push'](_0x1e67ae['shift']());}}}(_0x4003,0xde0fc));const r=require('@univerjs-pro/exchange-client'),i=require(_0x7c9cb2(0x1ed));var o=(_0x1b1eef=>(_0x1b1eef[_0x1b1eef['UNIVER_UNKNOWN']=0x0]=_0x7c9cb2(0x1e2),_0x1b1eef[_0x1b1eef[_0x7c9cb2(0x1e9)]=0x1]='UNIVER_DOC',_0x1b1eef[_0x1b1eef[_0x7c9cb2(0x1e1)]=0x2]=_0x7c9cb2(0x1e1),_0x1b1eef[_0x1b1eef['UNIVER_SLIDE']=0x3]=_0x7c9cb2(0x1e3),_0x1b1eef[_0x1b1eef[_0x7c9cb2(0x1f9)]=0x4]=_0x7c9cb2(0x1f9),_0x1b1eef[_0x1b1eef[_0x7c9cb2(0x1fa)]=-0x1]='UNRECOGNIZED',_0x1b1eef))(o||{});function _0x4003(){const _0x57e884=['exportXLSXBySnapshot','importXLSXToSnapshot','938olUjdR','UNIVER_SHEET','UNIVER_UNKNOWN','UNIVER_SLIDE','38401qysTjm','exportXLSXByUnitId','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToUnitId','728285rMerfI','UNIVER_DOC','exportXLSXByUnitIdAsync','FUniver','462110pDDxHd','@univerjs/core/facade','IExchangeService','importFileToUnitId','24fjWavx','get','492XgAuRl','extend','importDOCXToSnapshotAsync','8gsiMTc','_injector','21708bOoIRn','importDOCXToUnitIdAsync','UNIVER_PROJECT','UNRECOGNIZED','importXLSXToUnitIdAsync','importDOCXToSnapshot','516162uLstQl','261VQqrPb','11162296UPLOkB','1296613tcjoax'];_0x4003=function(){return _0x57e884;};return _0x4003();}class c extends i[_0x7c9cb2(0x1eb)]{async[_0x7c9cb2(0x1e7)](_0x242bc4){const _0xa69567=_0x7c9cb2;return this[_0xa69567(0x1fb)](_0x242bc4);}async[_0x7c9cb2(0x1fb)](_0x316daa){const _0x322e09=_0x7c9cb2,_0x3e3e9c=this[_0x322e09(0x1f6)][_0x322e09(0x1f1)](r[_0x322e09(0x1ee)]);if(!_0x3e3e9c)throw new Error(_0x322e09(0x1e6));return _0x3e3e9c[_0x322e09(0x1ef)](_0x316daa,o[_0x322e09(0x1e1)]);}async[_0x7c9cb2(0x1df)](_0x45c023){return this['importXLSXToSnapshotAsync'](_0x45c023);}async['importXLSXToSnapshotAsync'](_0x38f76c){const _0x1b9bc8=_0x7c9cb2,_0x147e5d=this[_0x1b9bc8(0x1f6)][_0x1b9bc8(0x1f1)](r['IExchangeService']);if(!_0x147e5d)throw new Error(_0x1b9bc8(0x1e6));return _0x147e5d[_0x1b9bc8(0x1df)](_0x38f76c);}async[_0x7c9cb2(0x1e5)](_0x11f97e){return this['exportXLSXByUnitIdAsync'](_0x11f97e);}async[_0x7c9cb2(0x1ea)](_0x37e0e9){const _0x399fe6=_0x7c9cb2,_0x15e304=this['_injector'][_0x399fe6(0x1f1)](r[_0x399fe6(0x1ee)]);if(!_0x15e304)throw new Error(_0x399fe6(0x1e6));return _0x15e304[_0x399fe6(0x1e5)](_0x37e0e9);}async[_0x7c9cb2(0x201)](_0x50a35f){return this['exportXLSXBySnapshotAsync'](_0x50a35f);}async['exportXLSXBySnapshotAsync'](_0xfd8137){const _0x5002c5=_0x7c9cb2,_0x392678=this[_0x5002c5(0x1f6)]['get'](r['IExchangeService']);if(!_0x392678)throw new Error(_0x5002c5(0x1e6));return _0x392678[_0x5002c5(0x201)](_0xfd8137);}async['importDOCXToUnitId'](_0x1eefda){const _0x1fd123=_0x7c9cb2;return this[_0x1fd123(0x1f8)](_0x1eefda);}async[_0x7c9cb2(0x1f8)](_0x3882ea){const _0x4a9fe4=_0x7c9cb2,_0x178ba2=this[_0x4a9fe4(0x1f6)]['get'](r[_0x4a9fe4(0x1ee)]);if(!_0x178ba2)throw new Error(_0x4a9fe4(0x1e6));return _0x178ba2[_0x4a9fe4(0x1ef)](_0x3882ea,o[_0x4a9fe4(0x1e9)]);}async[_0x7c9cb2(0x1fc)](_0x1998f6){const _0x17cbbf=_0x7c9cb2;return this[_0x17cbbf(0x1f4)](_0x1998f6);}async[_0x7c9cb2(0x1f4)](_0x3a8e6a){const _0x4a6661=_0x7c9cb2,_0x4d0241=this[_0x4a6661(0x1f6)][_0x4a6661(0x1f1)](r[_0x4a6661(0x1ee)]);if(!_0x4d0241)throw new Error(_0x4a6661(0x1e6));return _0x4d0241['importDOCXToSnapshot'](_0x3a8e6a);}}i[_0x7c9cb2(0x1eb)][_0x7c9cb2(0x1f3)](c);
1
+ 'use strict';const _0x51cdc7=_0x3ddb;function _0x3ddb(_0xac1cad,_0x550c72){const _0x3a2926=_0x3a29();return _0x3ddb=function(_0x3ddb4c,_0x475103){_0x3ddb4c=_0x3ddb4c-0x171;let _0x315649=_0x3a2926[_0x3ddb4c];return _0x315649;},_0x3ddb(_0xac1cad,_0x550c72);}(function(_0x1bdef6,_0x222d5f){const _0x4b57cf=_0x3ddb,_0x3632a0=_0x1bdef6();while(!![]){try{const _0x267fea=-parseInt(_0x4b57cf(0x192))/0x1+parseInt(_0x4b57cf(0x17c))/0x2*(parseInt(_0x4b57cf(0x17e))/0x3)+-parseInt(_0x4b57cf(0x17b))/0x4+parseInt(_0x4b57cf(0x176))/0x5*(parseInt(_0x4b57cf(0x18e))/0x6)+parseInt(_0x4b57cf(0x174))/0x7+-parseInt(_0x4b57cf(0x189))/0x8+parseInt(_0x4b57cf(0x172))/0x9*(parseInt(_0x4b57cf(0x179))/0xa);if(_0x267fea===_0x222d5f)break;else _0x3632a0['push'](_0x3632a0['shift']());}catch(_0x2297d0){_0x3632a0['push'](_0x3632a0['shift']());}}}(_0x3a29,0x7588b));function _0x3a29(){const _0x5b61b4=['6ddXdXZ','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshotAsync','importFileToUnitId','345362szkxQK','UNIVER_UNKNOWN','FUniver','27zazSKT','IExchangeService','19152xvjfky','importDOCXToUnitId','1232395ZNxVGm','UNIVER_PROJECT','UNIVER_DOC','3194370pgKXAG','UNRECOGNIZED','2616548UfSXBI','1441526AFcvxI','_injector','3hCGFCf','exportXLSXByUnitId','exportXLSXByUnitIdAsync','importXLSXToUnitIdAsync','UNIVER_SHEET','importXLSXToUnitId','@univerjs-pro/exchange-client','importDOCXToSnapshot','exportXLSXBySnapshot','importDOCXToUnitIdAsync','exportXLSXBySnapshotAsync','3578968HsGgBT','get','importXLSXToSnapshot','UNIVER_SLIDE','importDOCXToSnapshotAsync'];_0x3a29=function(){return _0x5b61b4;};return _0x3a29();}const r=require(_0x51cdc7(0x184)),i=require('@univerjs/core/facade');var o=(_0x1b60d3=>(_0x1b60d3[_0x1b60d3[_0x51cdc7(0x193)]=0x0]='UNIVER_UNKNOWN',_0x1b60d3[_0x1b60d3[_0x51cdc7(0x178)]=0x1]=_0x51cdc7(0x178),_0x1b60d3[_0x1b60d3['UNIVER_SHEET']=0x2]=_0x51cdc7(0x182),_0x1b60d3[_0x1b60d3['UNIVER_SLIDE']=0x3]=_0x51cdc7(0x18c),_0x1b60d3[_0x1b60d3[_0x51cdc7(0x177)]=0x4]=_0x51cdc7(0x177),_0x1b60d3[_0x1b60d3[_0x51cdc7(0x17a)]=-0x1]=_0x51cdc7(0x17a),_0x1b60d3))(o||{});class c extends i[_0x51cdc7(0x171)]{async[_0x51cdc7(0x183)](_0x4dac7a){const _0x449ea7=_0x51cdc7;return this[_0x449ea7(0x181)](_0x4dac7a);}async[_0x51cdc7(0x181)](_0x5c7fda){const _0x58ab4b=_0x51cdc7,_0x2779fe=this['_injector'][_0x58ab4b(0x18a)](r[_0x58ab4b(0x173)]);if(!_0x2779fe)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2779fe['importFileToUnitId'](_0x5c7fda,o[_0x58ab4b(0x182)]);}async[_0x51cdc7(0x18b)](_0x3168eb){const _0x356c2a=_0x51cdc7;return this[_0x356c2a(0x190)](_0x3168eb);}async[_0x51cdc7(0x190)](_0xfbe2a9){const _0x1eb700=_0x51cdc7,_0x2ba49f=this['_injector'][_0x1eb700(0x18a)](r['IExchangeService']);if(!_0x2ba49f)throw new Error(_0x1eb700(0x18f));return _0x2ba49f[_0x1eb700(0x18b)](_0xfbe2a9);}async[_0x51cdc7(0x17f)](_0x5a8598){const _0x3ae48d=_0x51cdc7;return this[_0x3ae48d(0x180)](_0x5a8598);}async['exportXLSXByUnitIdAsync'](_0x45b8be){const _0xe27127=_0x51cdc7,_0xf39090=this[_0xe27127(0x17d)][_0xe27127(0x18a)](r[_0xe27127(0x173)]);if(!_0xf39090)throw new Error(_0xe27127(0x18f));return _0xf39090[_0xe27127(0x17f)](_0x45b8be);}async['exportXLSXBySnapshot'](_0x196255){const _0x5abe79=_0x51cdc7;return this[_0x5abe79(0x188)](_0x196255);}async[_0x51cdc7(0x188)](_0x4c1c19){const _0x48f21c=_0x51cdc7,_0x2e53fa=this[_0x48f21c(0x17d)]['get'](r[_0x48f21c(0x173)]);if(!_0x2e53fa)throw new Error(_0x48f21c(0x18f));return _0x2e53fa[_0x48f21c(0x186)](_0x4c1c19);}async[_0x51cdc7(0x175)](_0x692810){return this['importDOCXToUnitIdAsync'](_0x692810);}async[_0x51cdc7(0x187)](_0x1e6d42){const _0x5b1b2c=_0x51cdc7,_0x2ccee6=this[_0x5b1b2c(0x17d)]['get'](r[_0x5b1b2c(0x173)]);if(!_0x2ccee6)throw new Error(_0x5b1b2c(0x18f));return _0x2ccee6[_0x5b1b2c(0x191)](_0x1e6d42,o[_0x5b1b2c(0x178)]);}async[_0x51cdc7(0x185)](_0x4fa7ed){const _0x49bf00=_0x51cdc7;return this[_0x49bf00(0x18d)](_0x4fa7ed);}async['importDOCXToSnapshotAsync'](_0x2c13f7){const _0x3aecc6=_0x51cdc7,_0x5c48a3=this['_injector'][_0x3aecc6(0x18a)](r['IExchangeService']);if(!_0x5c48a3)throw new Error(_0x3aecc6(0x18f));return _0x5c48a3[_0x3aecc6(0x185)](_0x2c13f7);}}i[_0x51cdc7(0x171)]['extend'](c);