@univerjs-pro/exchange-client 0.6.7-nightly.202503301606 → 0.6.7-nightly.202504011606

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 _0x56bba0=_0x30d3;(function(_0x1d9a73,_0x27953f){const _0x511df6=_0x30d3,_0xfe271f=_0x1d9a73();while(!![]){try{const _0x4467be=parseInt(_0x511df6(0xee))/0x1*(parseInt(_0x511df6(0xd6))/0x2)+parseInt(_0x511df6(0xe6))/0x3*(-parseInt(_0x511df6(0xe0))/0x4)+parseInt(_0x511df6(0xf1))/0x5+-parseInt(_0x511df6(0xe1))/0x6+parseInt(_0x511df6(0xd8))/0x7*(-parseInt(_0x511df6(0xf0))/0x8)+parseInt(_0x511df6(0xe3))/0x9+parseInt(_0x511df6(0xf8))/0xa;if(_0x4467be===_0x27953f)break;else _0xfe271f['push'](_0xfe271f['shift']());}catch(_0x517052){_0xfe271f['push'](_0xfe271f['shift']());}}}(_0x5023,0xbb885));const r=require(_0x56bba0(0xd5)),i=require(_0x56bba0(0xf9));function _0x5023(){const _0x12a767=['FUniver','exportXLSXBySnapshot','28qGbite','5323608CGybuZ','importDOCXToSnapshotAsync','4470651KehJOh','importXLSXToSnapshotAsync','UNIVER_PROJECT','451353RFsfle','exportXLSXByUnitId','UNIVER_UNKNOWN','importXLSXToUnitId','importDOCXToSnapshot','importDOCXToUnitId','UNIVER_DOC','importFileToUnitId','192WbjYbv','UNIVER_SLIDE','1058712ubTdSf','3142865NGGNkS','exportXLSXByUnitIdAsync','extend','UNRECOGNIZED','importDOCXToUnitIdAsync','_injector','The\x20exchange\x20service\x20is\x20not\x20available','7554950MByYPS','@univerjs/core/facade','@univerjs-pro/exchange-client','12758kfYHPG','importXLSXToUnitIdAsync','21QnaVGT','importXLSXToSnapshot','get','UNIVER_SHEET','IExchangeService','exportXLSXBySnapshotAsync'];_0x5023=function(){return _0x12a767;};return _0x5023();}var o=(_0x16065d=>(_0x16065d[_0x16065d[_0x56bba0(0xe8)]=0x0]=_0x56bba0(0xe8),_0x16065d[_0x16065d['UNIVER_DOC']=0x1]=_0x56bba0(0xec),_0x16065d[_0x16065d[_0x56bba0(0xdb)]=0x2]='UNIVER_SHEET',_0x16065d[_0x16065d[_0x56bba0(0xef)]=0x3]=_0x56bba0(0xef),_0x16065d[_0x16065d[_0x56bba0(0xe5)]=0x4]=_0x56bba0(0xe5),_0x16065d[_0x16065d[_0x56bba0(0xf4)]=-0x1]=_0x56bba0(0xf4),_0x16065d))(o||{});function _0x30d3(_0x55ee42,_0x32166f){const _0x502359=_0x5023();return _0x30d3=function(_0x30d369,_0x4ae797){_0x30d369=_0x30d369-0xd5;let _0x2aa1cd=_0x502359[_0x30d369];return _0x2aa1cd;},_0x30d3(_0x55ee42,_0x32166f);}class c extends i[_0x56bba0(0xde)]{async[_0x56bba0(0xe9)](_0x3b8dd5){const _0x5e5161=_0x56bba0;return this[_0x5e5161(0xd7)](_0x3b8dd5);}async['importXLSXToUnitIdAsync'](_0xeaca34){const _0x1f35a6=_0x56bba0,_0x2574cb=this[_0x1f35a6(0xf6)][_0x1f35a6(0xda)](r[_0x1f35a6(0xdc)]);if(!_0x2574cb)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2574cb[_0x1f35a6(0xed)](_0xeaca34,o[_0x1f35a6(0xdb)]);}async[_0x56bba0(0xd9)](_0x231bf6){const _0x1bbab4=_0x56bba0;return this[_0x1bbab4(0xe4)](_0x231bf6);}async[_0x56bba0(0xe4)](_0x470d5a){const _0x28bf8b=_0x56bba0,_0x163725=this[_0x28bf8b(0xf6)][_0x28bf8b(0xda)](r['IExchangeService']);if(!_0x163725)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x163725['importXLSXToSnapshot'](_0x470d5a);}async[_0x56bba0(0xe7)](_0x511528){const _0xcd5e8b=_0x56bba0;return this[_0xcd5e8b(0xf2)](_0x511528);}async['exportXLSXByUnitIdAsync'](_0x346af0){const _0x3b58c1=_0x56bba0,_0x22c582=this['_injector']['get'](r['IExchangeService']);if(!_0x22c582)throw new Error(_0x3b58c1(0xf7));return _0x22c582[_0x3b58c1(0xe7)](_0x346af0);}async[_0x56bba0(0xdf)](_0x440529){const _0x400849=_0x56bba0;return this[_0x400849(0xdd)](_0x440529);}async[_0x56bba0(0xdd)](_0x2e38a5){const _0x3bcbbf=_0x56bba0,_0x1754a9=this[_0x3bcbbf(0xf6)][_0x3bcbbf(0xda)](r['IExchangeService']);if(!_0x1754a9)throw new Error(_0x3bcbbf(0xf7));return _0x1754a9[_0x3bcbbf(0xdf)](_0x2e38a5);}async[_0x56bba0(0xeb)](_0x11e439){return this['importDOCXToUnitIdAsync'](_0x11e439);}async[_0x56bba0(0xf5)](_0x31e0a1){const _0x23ebc3=_0x56bba0,_0x403b02=this[_0x23ebc3(0xf6)][_0x23ebc3(0xda)](r[_0x23ebc3(0xdc)]);if(!_0x403b02)throw new Error(_0x23ebc3(0xf7));return _0x403b02['importFileToUnitId'](_0x31e0a1,o[_0x23ebc3(0xec)]);}async['importDOCXToSnapshot'](_0x19b6db){const _0x489abf=_0x56bba0;return this[_0x489abf(0xe2)](_0x19b6db);}async[_0x56bba0(0xe2)](_0xc07c91){const _0x33336e=_0x56bba0,_0x1d4716=this[_0x33336e(0xf6)]['get'](r['IExchangeService']);if(!_0x1d4716)throw new Error(_0x33336e(0xf7));return _0x1d4716[_0x33336e(0xea)](_0xc07c91);}}i[_0x56bba0(0xde)][_0x56bba0(0xf3)](c);
1
+ 'use strict';const _0x12288a=_0x171c;(function(_0x39953b,_0x15eccf){const _0xc339d5=_0x171c,_0x4a3d5a=_0x39953b();while(!![]){try{const _0x20ee9a=-parseInt(_0xc339d5(0x1e3))/0x1*(-parseInt(_0xc339d5(0x1d3))/0x2)+parseInt(_0xc339d5(0x1c6))/0x3*(-parseInt(_0xc339d5(0x1e0))/0x4)+-parseInt(_0xc339d5(0x1d4))/0x5+-parseInt(_0xc339d5(0x1d0))/0x6*(-parseInt(_0xc339d5(0x1de))/0x7)+-parseInt(_0xc339d5(0x1e1))/0x8*(parseInt(_0xc339d5(0x1cb))/0x9)+-parseInt(_0xc339d5(0x1db))/0xa+parseInt(_0xc339d5(0x1e5))/0xb*(parseInt(_0xc339d5(0x1ca))/0xc);if(_0x20ee9a===_0x15eccf)break;else _0x4a3d5a['push'](_0x4a3d5a['shift']());}catch(_0x5bc678){_0x4a3d5a['push'](_0x4a3d5a['shift']());}}}(_0x348b,0xf0964));const r=require(_0x12288a(0x1dc)),i=require('@univerjs/core/facade');function _0x171c(_0xe7556e,_0x575548){const _0x348b79=_0x348b();return _0x171c=function(_0x171c72,_0x2aa10d){_0x171c72=_0x171c72-0x1c1;let _0x58bd3b=_0x348b79[_0x171c72];return _0x58bd3b;},_0x171c(_0xe7556e,_0x575548);}function _0x348b(){const _0x1958c0=['importXLSXToSnapshot','importFileToUnitId','1419276IFUzIT','477EMknwV','exportXLSXBySnapshot','UNIVER_DOC','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SHEET','84LrtGLf','FUniver','importXLSXToUnitId','497402QrMJeB','1741560ZfYxZD','IExchangeService','UNIVER_SLIDE','extend','_injector','importDOCXToSnapshot','exportXLSXBySnapshotAsync','11481450jwhHqK','@univerjs-pro/exchange-client','UNRECOGNIZED','464345GokPRs','UNIVER_UNKNOWN','1000EwldYS','85016tYCcOo','importDOCXToSnapshotAsync','5LoxgqX','importXLSXToSnapshotAsync','209sCknUj','get','importDOCXToUnitId','importXLSXToUnitIdAsync','exportXLSXByUnitIdAsync','importDOCXToUnitIdAsync','16491tBFoEi','UNIVER_PROJECT'];_0x348b=function(){return _0x1958c0;};return _0x348b();}var o=(_0x48c3c3=>(_0x48c3c3[_0x48c3c3[_0x12288a(0x1df)]=0x0]=_0x12288a(0x1df),_0x48c3c3[_0x48c3c3[_0x12288a(0x1cd)]=0x1]=_0x12288a(0x1cd),_0x48c3c3[_0x48c3c3[_0x12288a(0x1cf)]=0x2]='UNIVER_SHEET',_0x48c3c3[_0x48c3c3['UNIVER_SLIDE']=0x3]=_0x12288a(0x1d6),_0x48c3c3[_0x48c3c3[_0x12288a(0x1c7)]=0x4]=_0x12288a(0x1c7),_0x48c3c3[_0x48c3c3[_0x12288a(0x1dd)]=-0x1]='UNRECOGNIZED',_0x48c3c3))(o||{});class c extends i['FUniver']{async[_0x12288a(0x1d2)](_0x19b5d5){return this['importXLSXToUnitIdAsync'](_0x19b5d5);}async[_0x12288a(0x1c3)](_0x2a3943){const _0x133f01=_0x12288a,_0x40d4e1=this[_0x133f01(0x1d8)]['get'](r[_0x133f01(0x1d5)]);if(!_0x40d4e1)throw new Error(_0x133f01(0x1ce));return _0x40d4e1[_0x133f01(0x1c9)](_0x2a3943,o[_0x133f01(0x1cf)]);}async[_0x12288a(0x1c8)](_0x244019){const _0x544c89=_0x12288a;return this[_0x544c89(0x1e4)](_0x244019);}async[_0x12288a(0x1e4)](_0x468174){const _0x488bb1=_0x12288a,_0x455749=this[_0x488bb1(0x1d8)][_0x488bb1(0x1c1)](r[_0x488bb1(0x1d5)]);if(!_0x455749)throw new Error(_0x488bb1(0x1ce));return _0x455749[_0x488bb1(0x1c8)](_0x468174);}async['exportXLSXByUnitId'](_0x33e271){const _0x173ab7=_0x12288a;return this[_0x173ab7(0x1c4)](_0x33e271);}async[_0x12288a(0x1c4)](_0x148d75){const _0x35cf27=_0x12288a,_0x144d12=this['_injector'][_0x35cf27(0x1c1)](r['IExchangeService']);if(!_0x144d12)throw new Error(_0x35cf27(0x1ce));return _0x144d12['exportXLSXByUnitId'](_0x148d75);}async[_0x12288a(0x1cc)](_0x4b615a){return this['exportXLSXBySnapshotAsync'](_0x4b615a);}async[_0x12288a(0x1da)](_0x25965e){const _0x1980da=_0x12288a,_0xee1001=this['_injector']['get'](r[_0x1980da(0x1d5)]);if(!_0xee1001)throw new Error(_0x1980da(0x1ce));return _0xee1001['exportXLSXBySnapshot'](_0x25965e);}async[_0x12288a(0x1c2)](_0x5b6cef){const _0x216824=_0x12288a;return this[_0x216824(0x1c5)](_0x5b6cef);}async['importDOCXToUnitIdAsync'](_0x4a3f37){const _0x143b8c=_0x12288a,_0x25bbdf=this[_0x143b8c(0x1d8)][_0x143b8c(0x1c1)](r[_0x143b8c(0x1d5)]);if(!_0x25bbdf)throw new Error(_0x143b8c(0x1ce));return _0x25bbdf['importFileToUnitId'](_0x4a3f37,o[_0x143b8c(0x1cd)]);}async[_0x12288a(0x1d9)](_0x44235f){const _0x436b9b=_0x12288a;return this[_0x436b9b(0x1e2)](_0x44235f);}async[_0x12288a(0x1e2)](_0x6689f6){const _0x37c2c9=_0x12288a,_0x55be9d=this[_0x37c2c9(0x1d8)][_0x37c2c9(0x1c1)](r[_0x37c2c9(0x1d5)]);if(!_0x55be9d)throw new Error(_0x37c2c9(0x1ce));return _0x55be9d[_0x37c2c9(0x1d9)](_0x6689f6);}}i[_0x12288a(0x1d1)][_0x12288a(0x1d7)](c);