@univerjs-pro/exchange-client 0.7.0-nightly.202505071607 → 0.7.0-nightly.202505091607

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 _0x1c5e(_0x5ca2bc,_0x35fbc9){const _0x23a305=_0x23a3();return _0x1c5e=function(_0x1c5e4c,_0x494271){_0x1c5e4c=_0x1c5e4c-0x14a;let _0x7e3347=_0x23a305[_0x1c5e4c];return _0x7e3347;},_0x1c5e(_0x5ca2bc,_0x35fbc9);}const _0x2244dc=_0x1c5e;(function(_0x2fdd60,_0x589657){const _0x225553=_0x1c5e,_0x11b446=_0x2fdd60();while(!![]){try{const _0x3e8eeb=-parseInt(_0x225553(0x156))/0x1+parseInt(_0x225553(0x165))/0x2*(-parseInt(_0x225553(0x151))/0x3)+-parseInt(_0x225553(0x16c))/0x4*(-parseInt(_0x225553(0x168))/0x5)+parseInt(_0x225553(0x150))/0x6*(parseInt(_0x225553(0x14f))/0x7)+parseInt(_0x225553(0x161))/0x8+-parseInt(_0x225553(0x15f))/0x9*(-parseInt(_0x225553(0x162))/0xa)+-parseInt(_0x225553(0x15d))/0xb;if(_0x3e8eeb===_0x589657)break;else _0x11b446['push'](_0x11b446['shift']());}catch(_0x474438){_0x11b446['push'](_0x11b446['shift']());}}}(_0x23a3,0x9ea8f));const r=require('@univerjs-pro/exchange-client'),i=require(_0x2244dc(0x159));var o=(_0x475f83=>(_0x475f83[_0x475f83['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x475f83[_0x475f83['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x475f83[_0x475f83[_0x2244dc(0x154)]=0x2]=_0x2244dc(0x154),_0x475f83[_0x475f83[_0x2244dc(0x14e)]=0x3]=_0x2244dc(0x14e),_0x475f83[_0x475f83[_0x2244dc(0x15a)]=0x4]='UNIVER_PROJECT',_0x475f83[_0x475f83[_0x2244dc(0x14d)]=-0x1]='UNRECOGNIZED',_0x475f83))(o||{});class c extends i[_0x2244dc(0x16b)]{async[_0x2244dc(0x153)](_0x22f469){const _0x469f6b=_0x2244dc;return this[_0x469f6b(0x155)](_0x22f469);}async['importXLSXToUnitIdAsync'](_0x35967f){const _0x196451=_0x2244dc,_0x3d3e24=this[_0x196451(0x152)]['get'](r[_0x196451(0x157)]);if(!_0x3d3e24)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3d3e24[_0x196451(0x164)](_0x35967f,o['UNIVER_SHEET']);}async[_0x2244dc(0x14c)](_0x358ab2){return this['importXLSXToSnapshotAsync'](_0x358ab2);}async[_0x2244dc(0x167)](_0x32d216){const _0x2c0347=_0x2244dc,_0x21374b=this['_injector'][_0x2c0347(0x169)](r[_0x2c0347(0x157)]);if(!_0x21374b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x21374b[_0x2c0347(0x14c)](_0x32d216);}async['exportXLSXByUnitId'](_0x4ba9e7){const _0x4c51d3=_0x2244dc;return this[_0x4c51d3(0x158)](_0x4ba9e7);}async[_0x2244dc(0x158)](_0x3bb19b){const _0x599fb7=_0x2244dc,_0x1ad2cd=this[_0x599fb7(0x152)][_0x599fb7(0x169)](r['IExchangeService']);if(!_0x1ad2cd)throw new Error(_0x599fb7(0x166));return _0x1ad2cd[_0x599fb7(0x15b)](_0x3bb19b);}async[_0x2244dc(0x14a)](_0x34080d){return this['exportXLSXBySnapshotAsync'](_0x34080d);}async[_0x2244dc(0x15e)](_0x29db23){const _0x2a2b50=_0x2244dc,_0x485b15=this[_0x2a2b50(0x152)][_0x2a2b50(0x169)](r[_0x2a2b50(0x157)]);if(!_0x485b15)throw new Error(_0x2a2b50(0x166));return _0x485b15[_0x2a2b50(0x14a)](_0x29db23);}async[_0x2244dc(0x16a)](_0x107b07){return this['importDOCXToUnitIdAsync'](_0x107b07);}async['importDOCXToUnitIdAsync'](_0x3ab323){const _0x4ab397=_0x2244dc,_0x47de75=this[_0x4ab397(0x152)][_0x4ab397(0x169)](r[_0x4ab397(0x157)]);if(!_0x47de75)throw new Error(_0x4ab397(0x166));return _0x47de75[_0x4ab397(0x164)](_0x3ab323,o[_0x4ab397(0x14b)]);}async[_0x2244dc(0x15c)](_0x5b57e1){const _0x2bfa0a=_0x2244dc;return this[_0x2bfa0a(0x160)](_0x5b57e1);}async['importDOCXToSnapshotAsync'](_0x3c7feb){const _0xcd9007=_0x2244dc,_0x9a94a4=this['_injector'][_0xcd9007(0x169)](r[_0xcd9007(0x157)]);if(!_0x9a94a4)throw new Error(_0xcd9007(0x166));return _0x9a94a4['importDOCXToSnapshot'](_0x3c7feb);}}i[_0x2244dc(0x16b)][_0x2244dc(0x163)](c);function _0x23a3(){const _0xb620c2=['5358104zElkcw','1470yyfiKI','extend','importFileToUnitId','3388RgXbqd','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshotAsync','3916930ihWtpN','get','importDOCXToUnitId','FUniver','4mZpvxP','exportXLSXBySnapshot','UNIVER_DOC','importXLSXToSnapshot','UNRECOGNIZED','UNIVER_SLIDE','7BQLkbh','6705996wzWPjB','543QoQrAH','_injector','importXLSXToUnitId','UNIVER_SHEET','importXLSXToUnitIdAsync','204441yEzFIO','IExchangeService','exportXLSXByUnitIdAsync','@univerjs/core/facade','UNIVER_PROJECT','exportXLSXByUnitId','importDOCXToSnapshot','16322130Djeytq','exportXLSXBySnapshotAsync','4527hEEGsh','importDOCXToSnapshotAsync'];_0x23a3=function(){return _0xb620c2;};return _0x23a3();}
1
+ 'use strict';const _0x18054e=_0x265a;(function(_0x240dd0,_0x3f7cb1){const _0x1cf5f7=_0x265a,_0x38ff09=_0x240dd0();while(!![]){try{const _0x5b4986=-parseInt(_0x1cf5f7(0x13f))/0x1+parseInt(_0x1cf5f7(0x151))/0x2+parseInt(_0x1cf5f7(0x149))/0x3+-parseInt(_0x1cf5f7(0x13b))/0x4+parseInt(_0x1cf5f7(0x14f))/0x5*(parseInt(_0x1cf5f7(0x14c))/0x6)+-parseInt(_0x1cf5f7(0x13d))/0x7*(-parseInt(_0x1cf5f7(0x155))/0x8)+parseInt(_0x1cf5f7(0x141))/0x9;if(_0x5b4986===_0x3f7cb1)break;else _0x38ff09['push'](_0x38ff09['shift']());}catch(_0x4778f7){_0x38ff09['push'](_0x38ff09['shift']());}}}(_0x344b,0xbbe8e));function _0x344b(){const _0x324f20=['importDOCXToSnapshot','UNIVER_DOC','_injector','extend','UNIVER_UNKNOWN','importDOCXToUnitId','2039283ahVDjL','UNIVER_SHEET','@univerjs-pro/exchange-client','12pAMCnq','get','importXLSXToSnapshotAsync','717770KqudSa','importDOCXToSnapshotAsync','364094ZmQUuJ','exportXLSXByUnitIdAsync','importXLSXToSnapshot','UNIVER_PROJECT','79312Fynsgw','UNIVER_SLIDE','exportXLSXByUnitId','exportXLSXBySnapshot','IExchangeService','UNRECOGNIZED','importDOCXToUnitIdAsync','975828ZVchcg','FUniver','497ZZwQaj','The\x20exchange\x20service\x20is\x20not\x20available','1247275PckEiG','importXLSXToUnitIdAsync','3672900tfBILp','exportXLSXBySnapshotAsync'];_0x344b=function(){return _0x324f20;};return _0x344b();}const r=require(_0x18054e(0x14b)),i=require('@univerjs/core/facade');function _0x265a(_0x4f061c,_0x5ad723){const _0x344bd2=_0x344b();return _0x265a=function(_0x265acd,_0x3900d0){_0x265acd=_0x265acd-0x13a;let _0x19df91=_0x344bd2[_0x265acd];return _0x19df91;},_0x265a(_0x4f061c,_0x5ad723);}var o=(_0x34e83e=>(_0x34e83e[_0x34e83e['UNIVER_UNKNOWN']=0x0]=_0x18054e(0x147),_0x34e83e[_0x34e83e[_0x18054e(0x144)]=0x1]='UNIVER_DOC',_0x34e83e[_0x34e83e[_0x18054e(0x14a)]=0x2]=_0x18054e(0x14a),_0x34e83e[_0x34e83e[_0x18054e(0x156)]=0x3]=_0x18054e(0x156),_0x34e83e[_0x34e83e[_0x18054e(0x154)]=0x4]=_0x18054e(0x154),_0x34e83e[_0x34e83e[_0x18054e(0x15a)]=-0x1]=_0x18054e(0x15a),_0x34e83e))(o||{});class c extends i[_0x18054e(0x13c)]{async['importXLSXToUnitId'](_0x3c9d5d){const _0x5c726c=_0x18054e;return this[_0x5c726c(0x140)](_0x3c9d5d);}async[_0x18054e(0x140)](_0x32a453){const _0xe5d70a=_0x18054e,_0x4f8143=this[_0xe5d70a(0x145)]['get'](r['IExchangeService']);if(!_0x4f8143)throw new Error(_0xe5d70a(0x13e));return _0x4f8143['importFileToUnitId'](_0x32a453,o[_0xe5d70a(0x14a)]);}async['importXLSXToSnapshot'](_0x10c6e2){return this['importXLSXToSnapshotAsync'](_0x10c6e2);}async[_0x18054e(0x14e)](_0x3dfd17){const _0x4291f9=_0x18054e,_0x566a65=this[_0x4291f9(0x145)]['get'](r[_0x4291f9(0x159)]);if(!_0x566a65)throw new Error(_0x4291f9(0x13e));return _0x566a65[_0x4291f9(0x153)](_0x3dfd17);}async[_0x18054e(0x157)](_0x4962a6){const _0x431fd7=_0x18054e;return this[_0x431fd7(0x152)](_0x4962a6);}async['exportXLSXByUnitIdAsync'](_0x1adf32){const _0x555bb9=_0x18054e,_0x5eda44=this[_0x555bb9(0x145)]['get'](r[_0x555bb9(0x159)]);if(!_0x5eda44)throw new Error(_0x555bb9(0x13e));return _0x5eda44[_0x555bb9(0x157)](_0x1adf32);}async[_0x18054e(0x158)](_0x46e30b){const _0x59547b=_0x18054e;return this[_0x59547b(0x142)](_0x46e30b);}async[_0x18054e(0x142)](_0x351007){const _0x40cd3e=_0x18054e,_0x5c2c60=this[_0x40cd3e(0x145)][_0x40cd3e(0x14d)](r[_0x40cd3e(0x159)]);if(!_0x5c2c60)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5c2c60[_0x40cd3e(0x158)](_0x351007);}async[_0x18054e(0x148)](_0x2f2c4a){const _0xb650ab=_0x18054e;return this[_0xb650ab(0x13a)](_0x2f2c4a);}async[_0x18054e(0x13a)](_0x5c8c90){const _0x40f10b=_0x18054e,_0x105bcb=this[_0x40f10b(0x145)][_0x40f10b(0x14d)](r[_0x40f10b(0x159)]);if(!_0x105bcb)throw new Error(_0x40f10b(0x13e));return _0x105bcb['importFileToUnitId'](_0x5c8c90,o[_0x40f10b(0x144)]);}async['importDOCXToSnapshot'](_0x4e5c07){const _0x1b6c47=_0x18054e;return this[_0x1b6c47(0x150)](_0x4e5c07);}async[_0x18054e(0x150)](_0x344ff2){const _0x43fe72=_0x18054e,_0x113db4=this['_injector'][_0x43fe72(0x14d)](r[_0x43fe72(0x159)]);if(!_0x113db4)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x113db4[_0x43fe72(0x143)](_0x344ff2);}}i[_0x18054e(0x13c)][_0x18054e(0x146)](c);