@univerjs-pro/exchange-client 0.6.7-nightly.202503311607 → 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 _0x3481c9=_0x5706;(function(_0x4672d0,_0x31935d){const _0x10f7e6=_0x5706,_0x5971da=_0x4672d0();while(!![]){try{const _0x2d4c29=parseInt(_0x10f7e6(0x202))/0x1+-parseInt(_0x10f7e6(0x209))/0x2+parseInt(_0x10f7e6(0x200))/0x3+parseInt(_0x10f7e6(0x203))/0x4*(-parseInt(_0x10f7e6(0x20d))/0x5)+parseInt(_0x10f7e6(0x20f))/0x6+-parseInt(_0x10f7e6(0x1f0))/0x7+-parseInt(_0x10f7e6(0x1f8))/0x8*(-parseInt(_0x10f7e6(0x1fb))/0x9);if(_0x2d4c29===_0x31935d)break;else _0x5971da['push'](_0x5971da['shift']());}catch(_0x18be73){_0x5971da['push'](_0x5971da['shift']());}}}(_0x1575,0x4d106));function _0x1575(){const _0x555b6e=['IExchangeService','importFileToUnitId','18ZGMSUw','importXLSXToSnapshotAsync','importXLSXToSnapshot','importDOCXToUnitIdAsync','importDOCXToUnitId','3165TwOwwc','importDOCXToSnapshot','171080aibJMt','4xneMoO','UNIVER_DOC','importXLSXToUnitId','UNIVER_SHEET','importDOCXToSnapshotAsync','FUniver','560140sGEyCc','exportXLSXByUnitIdAsync','UNRECOGNIZED','UNIVER_PROJECT','1658125EhOqNI','UNIVER_UNKNOWN','3002238oZdQoB','UNIVER_SLIDE','1785595uBxZer','importXLSXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXBySnapshotAsync','_injector','get','@univerjs-pro/exchange-client','@univerjs/core/facade','2039704LIypKm'];_0x1575=function(){return _0x555b6e;};return _0x1575();}const r=require(_0x3481c9(0x1f6)),i=require(_0x3481c9(0x1f7));var o=(_0x1067a9=>(_0x1067a9[_0x1067a9[_0x3481c9(0x20e)]=0x0]=_0x3481c9(0x20e),_0x1067a9[_0x1067a9[_0x3481c9(0x204)]=0x1]=_0x3481c9(0x204),_0x1067a9[_0x1067a9[_0x3481c9(0x206)]=0x2]=_0x3481c9(0x206),_0x1067a9[_0x1067a9[_0x3481c9(0x1ef)]=0x3]=_0x3481c9(0x1ef),_0x1067a9[_0x1067a9[_0x3481c9(0x20c)]=0x4]=_0x3481c9(0x20c),_0x1067a9[_0x1067a9[_0x3481c9(0x20b)]=-0x1]=_0x3481c9(0x20b),_0x1067a9))(o||{});function _0x5706(_0x5f0cfa,_0x30444f){const _0x157545=_0x1575();return _0x5706=function(_0x570697,_0x1478b6){_0x570697=_0x570697-0x1ef;let _0x3b54d3=_0x157545[_0x570697];return _0x3b54d3;},_0x5706(_0x5f0cfa,_0x30444f);}class c extends i[_0x3481c9(0x208)]{async[_0x3481c9(0x205)](_0x491a41){const _0x5bb465=_0x3481c9;return this[_0x5bb465(0x1f1)](_0x491a41);}async[_0x3481c9(0x1f1)](_0x1c9f97){const _0x980204=_0x3481c9,_0x1739e8=this[_0x980204(0x1f4)][_0x980204(0x1f5)](r[_0x980204(0x1f9)]);if(!_0x1739e8)throw new Error(_0x980204(0x1f2));return _0x1739e8[_0x980204(0x1fa)](_0x1c9f97,o[_0x980204(0x206)]);}async[_0x3481c9(0x1fd)](_0x1dc22e){const _0x2c93f5=_0x3481c9;return this[_0x2c93f5(0x1fc)](_0x1dc22e);}async[_0x3481c9(0x1fc)](_0x479589){const _0xdfc46f=_0x3481c9,_0x2e87c0=this[_0xdfc46f(0x1f4)][_0xdfc46f(0x1f5)](r[_0xdfc46f(0x1f9)]);if(!_0x2e87c0)throw new Error(_0xdfc46f(0x1f2));return _0x2e87c0[_0xdfc46f(0x1fd)](_0x479589);}async['exportXLSXByUnitId'](_0x2c3961){const _0x2d7a7f=_0x3481c9;return this[_0x2d7a7f(0x20a)](_0x2c3961);}async[_0x3481c9(0x20a)](_0x1316b0){const _0x2673bb=_0x3481c9,_0xf9af76=this['_injector'][_0x2673bb(0x1f5)](r[_0x2673bb(0x1f9)]);if(!_0xf9af76)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xf9af76['exportXLSXByUnitId'](_0x1316b0);}async['exportXLSXBySnapshot'](_0x101b82){const _0xb10842=_0x3481c9;return this[_0xb10842(0x1f3)](_0x101b82);}async['exportXLSXBySnapshotAsync'](_0x756f2){const _0x5db06b=_0x3481c9,_0x57cb64=this[_0x5db06b(0x1f4)][_0x5db06b(0x1f5)](r[_0x5db06b(0x1f9)]);if(!_0x57cb64)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x57cb64['exportXLSXBySnapshot'](_0x756f2);}async[_0x3481c9(0x1ff)](_0x191371){return this['importDOCXToUnitIdAsync'](_0x191371);}async[_0x3481c9(0x1fe)](_0x5c56bf){const _0x3f8807=_0x3481c9,_0x32f40d=this['_injector'][_0x3f8807(0x1f5)](r[_0x3f8807(0x1f9)]);if(!_0x32f40d)throw new Error(_0x3f8807(0x1f2));return _0x32f40d[_0x3f8807(0x1fa)](_0x5c56bf,o[_0x3f8807(0x204)]);}async[_0x3481c9(0x201)](_0x1f4faf){return this['importDOCXToSnapshotAsync'](_0x1f4faf);}async[_0x3481c9(0x207)](_0x1047ba){const _0x10613c=_0x3481c9,_0x14db68=this[_0x10613c(0x1f4)][_0x10613c(0x1f5)](r['IExchangeService']);if(!_0x14db68)throw new Error(_0x10613c(0x1f2));return _0x14db68[_0x10613c(0x201)](_0x1047ba);}}i[_0x3481c9(0x208)]['extend'](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);