@univerjs-pro/exchange-client 0.6.10-nightly.202504271606 → 0.6.10-nightly.202504281607

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 _0x52d074=_0x158e;function _0x158e(_0x22adba,_0x5bfd45){const _0x8d06dc=_0x8d06();return _0x158e=function(_0x158e1c,_0x5c774e){_0x158e1c=_0x158e1c-0x192;let _0x1816c5=_0x8d06dc[_0x158e1c];return _0x1816c5;},_0x158e(_0x22adba,_0x5bfd45);}(function(_0x1f9851,_0x4888d6){const _0x150f28=_0x158e,_0x50ecac=_0x1f9851();while(!![]){try{const _0x5357ab=-parseInt(_0x150f28(0x196))/0x1+-parseInt(_0x150f28(0x19d))/0x2+-parseInt(_0x150f28(0x1a1))/0x3*(-parseInt(_0x150f28(0x1ae))/0x4)+parseInt(_0x150f28(0x1a3))/0x5+-parseInt(_0x150f28(0x1a2))/0x6+parseInt(_0x150f28(0x192))/0x7+parseInt(_0x150f28(0x1a7))/0x8*(parseInt(_0x150f28(0x1a9))/0x9);if(_0x5357ab===_0x4888d6)break;else _0x50ecac['push'](_0x50ecac['shift']());}catch(_0x256101){_0x50ecac['push'](_0x50ecac['shift']());}}}(_0x8d06,0x4578a));const r=require(_0x52d074(0x19b)),i=require(_0x52d074(0x1af));function _0x8d06(){const _0x2641a5=['importDOCXToUnitIdAsync','importXLSXToSnapshot','get','UNIVER_DOC','2679474duonaW','FUniver','UNIVER_SLIDE','UNIVER_SHEET','108032CHHyxJ','importXLSXToUnitIdAsync','exportXLSXBySnapshot','extend','UNIVER_PROJECT','@univerjs-pro/exchange-client','_injector','43524AnTVga','importXLSXToUnitId','importDOCXToSnapshotAsync','UNIVER_UNKNOWN','323637iNFwbR','3081144qlMadG','926335VwrerC','importFileToUnitId','exportXLSXBySnapshotAsync','exportXLSXByUnitId','352LhhYez','IExchangeService','51534NcflQT','UNRECOGNIZED','importDOCXToSnapshot','importXLSXToSnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','4fkRJuQ','@univerjs/core/facade'];_0x8d06=function(){return _0x2641a5;};return _0x8d06();}var o=(_0x1a43c0=>(_0x1a43c0[_0x1a43c0[_0x52d074(0x1a0)]=0x0]=_0x52d074(0x1a0),_0x1a43c0[_0x1a43c0['UNIVER_DOC']=0x1]=_0x52d074(0x1b3),_0x1a43c0[_0x1a43c0[_0x52d074(0x195)]=0x2]=_0x52d074(0x195),_0x1a43c0[_0x1a43c0[_0x52d074(0x194)]=0x3]=_0x52d074(0x194),_0x1a43c0[_0x1a43c0[_0x52d074(0x19a)]=0x4]=_0x52d074(0x19a),_0x1a43c0[_0x1a43c0[_0x52d074(0x1aa)]=-0x1]=_0x52d074(0x1aa),_0x1a43c0))(o||{});class c extends i[_0x52d074(0x193)]{async[_0x52d074(0x19e)](_0x3b25da){return this['importXLSXToUnitIdAsync'](_0x3b25da);}async[_0x52d074(0x197)](_0x648329){const _0x1473fc=_0x52d074,_0x4b2b63=this[_0x1473fc(0x19c)][_0x1473fc(0x1b2)](r[_0x1473fc(0x1a8)]);if(!_0x4b2b63)throw new Error(_0x1473fc(0x1ad));return _0x4b2b63[_0x1473fc(0x1a4)](_0x648329,o['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x46e283){const _0x2c3cf1=_0x52d074;return this[_0x2c3cf1(0x1ac)](_0x46e283);}async[_0x52d074(0x1ac)](_0x5e02cc){const _0x43553a=_0x52d074,_0x3eaae1=this[_0x43553a(0x19c)][_0x43553a(0x1b2)](r[_0x43553a(0x1a8)]);if(!_0x3eaae1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3eaae1[_0x43553a(0x1b1)](_0x5e02cc);}async[_0x52d074(0x1a6)](_0x5b8f91){return this['exportXLSXByUnitIdAsync'](_0x5b8f91);}async['exportXLSXByUnitIdAsync'](_0x3862cf){const _0x4d02e1=_0x52d074,_0x16f495=this[_0x4d02e1(0x19c)]['get'](r[_0x4d02e1(0x1a8)]);if(!_0x16f495)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x16f495[_0x4d02e1(0x1a6)](_0x3862cf);}async[_0x52d074(0x198)](_0x214797){const _0x5c4d7d=_0x52d074;return this[_0x5c4d7d(0x1a5)](_0x214797);}async[_0x52d074(0x1a5)](_0x35fb88){const _0x54c34c=_0x52d074,_0x40c77b=this[_0x54c34c(0x19c)][_0x54c34c(0x1b2)](r['IExchangeService']);if(!_0x40c77b)throw new Error(_0x54c34c(0x1ad));return _0x40c77b[_0x54c34c(0x198)](_0x35fb88);}async['importDOCXToUnitId'](_0x1d2faa){const _0x398377=_0x52d074;return this[_0x398377(0x1b0)](_0x1d2faa);}async[_0x52d074(0x1b0)](_0x2cc1d4){const _0x3542e9=_0x52d074,_0xddbdc3=this[_0x3542e9(0x19c)][_0x3542e9(0x1b2)](r['IExchangeService']);if(!_0xddbdc3)throw new Error(_0x3542e9(0x1ad));return _0xddbdc3[_0x3542e9(0x1a4)](_0x2cc1d4,o[_0x3542e9(0x1b3)]);}async[_0x52d074(0x1ab)](_0x4f2b77){const _0x233880=_0x52d074;return this[_0x233880(0x19f)](_0x4f2b77);}async['importDOCXToSnapshotAsync'](_0x538b62){const _0x1a9ab2=_0x52d074,_0x1b8583=this['_injector'][_0x1a9ab2(0x1b2)](r[_0x1a9ab2(0x1a8)]);if(!_0x1b8583)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1b8583[_0x1a9ab2(0x1ab)](_0x538b62);}}i[_0x52d074(0x193)][_0x52d074(0x199)](c);
1
+ 'use strict';const _0x392fd0=_0x2e89;(function(_0x1cf773,_0x12bb1f){const _0x4a07a7=_0x2e89,_0xb0bddd=_0x1cf773();while(!![]){try{const _0x2a2fa1=-parseInt(_0x4a07a7(0x1b9))/0x1+-parseInt(_0x4a07a7(0x1d4))/0x2+-parseInt(_0x4a07a7(0x1da))/0x3+-parseInt(_0x4a07a7(0x1d1))/0x4+-parseInt(_0x4a07a7(0x1c5))/0x5*(-parseInt(_0x4a07a7(0x1bb))/0x6)+-parseInt(_0x4a07a7(0x1bf))/0x7+parseInt(_0x4a07a7(0x1ba))/0x8*(parseInt(_0x4a07a7(0x1c2))/0x9);if(_0x2a2fa1===_0x12bb1f)break;else _0xb0bddd['push'](_0xb0bddd['shift']());}catch(_0x48ed95){_0xb0bddd['push'](_0xb0bddd['shift']());}}}(_0x2e5c,0xa5cf1));function _0x2e89(_0x1856af,_0xec9ee0){const _0x2e5c7b=_0x2e5c();return _0x2e89=function(_0x2e89e0,_0xd6557d){_0x2e89e0=_0x2e89e0-0x1b9;let _0x4bd028=_0x2e5c7b[_0x2e89e0];return _0x4bd028;},_0x2e89(_0x1856af,_0xec9ee0);}const r=require(_0x392fd0(0x1c3)),i=require(_0x392fd0(0x1d6));var o=(_0x998520=>(_0x998520[_0x998520['UNIVER_UNKNOWN']=0x0]=_0x392fd0(0x1bd),_0x998520[_0x998520[_0x392fd0(0x1c4)]=0x1]='UNIVER_DOC',_0x998520[_0x998520['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x998520[_0x998520[_0x392fd0(0x1ca)]=0x3]='UNIVER_SLIDE',_0x998520[_0x998520[_0x392fd0(0x1d5)]=0x4]=_0x392fd0(0x1d5),_0x998520[_0x998520[_0x392fd0(0x1c8)]=-0x1]=_0x392fd0(0x1c8),_0x998520))(o||{});function _0x2e5c(){const _0x4e52b8=['FUniver','774OWTZJX','@univerjs-pro/exchange-client','UNIVER_DOC','111805QlDyca','importXLSXToSnapshot','importDOCXToUnitIdAsync','UNRECOGNIZED','exportXLSXBySnapshotAsync','UNIVER_SLIDE','_injector','importDOCXToUnitId','importXLSXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToSnapshot','extend','2176344CsNtTK','importXLSXToUnitId','exportXLSXBySnapshot','2485418kbwEbJ','UNIVER_PROJECT','@univerjs/core/facade','get','importFileToUnitId','exportXLSXByUnitId','2530554aqoiaZ','UNIVER_SHEET','34829iCRucQ','347624VZokwd','30ITQYOT','importDOCXToSnapshotAsync','UNIVER_UNKNOWN','importXLSXToSnapshotAsync','3531276LCpVHF','IExchangeService'];_0x2e5c=function(){return _0x4e52b8;};return _0x2e5c();}class c extends i[_0x392fd0(0x1c1)]{async[_0x392fd0(0x1d2)](_0x533c4a){const _0x574752=_0x392fd0;return this[_0x574752(0x1cd)](_0x533c4a);}async['importXLSXToUnitIdAsync'](_0x2c11f8){const _0x54f353=_0x392fd0,_0x1c1c0d=this[_0x54f353(0x1cb)][_0x54f353(0x1d7)](r[_0x54f353(0x1c0)]);if(!_0x1c1c0d)throw new Error(_0x54f353(0x1ce));return _0x1c1c0d[_0x54f353(0x1d8)](_0x2c11f8,o[_0x54f353(0x1db)]);}async[_0x392fd0(0x1c6)](_0x566025){return this['importXLSXToSnapshotAsync'](_0x566025);}async[_0x392fd0(0x1be)](_0x1d1072){const _0x4fb478=_0x392fd0,_0x401ce6=this[_0x4fb478(0x1cb)][_0x4fb478(0x1d7)](r[_0x4fb478(0x1c0)]);if(!_0x401ce6)throw new Error(_0x4fb478(0x1ce));return _0x401ce6[_0x4fb478(0x1c6)](_0x1d1072);}async[_0x392fd0(0x1d9)](_0x33c1e1){return this['exportXLSXByUnitIdAsync'](_0x33c1e1);}async['exportXLSXByUnitIdAsync'](_0x541c6a){const _0x5074fb=_0x392fd0,_0x51be51=this[_0x5074fb(0x1cb)][_0x5074fb(0x1d7)](r[_0x5074fb(0x1c0)]);if(!_0x51be51)throw new Error(_0x5074fb(0x1ce));return _0x51be51['exportXLSXByUnitId'](_0x541c6a);}async[_0x392fd0(0x1d3)](_0x225a92){const _0xc5c80b=_0x392fd0;return this[_0xc5c80b(0x1c9)](_0x225a92);}async[_0x392fd0(0x1c9)](_0x5f3785){const _0x22f9fd=_0x392fd0,_0x506ab4=this['_injector']['get'](r[_0x22f9fd(0x1c0)]);if(!_0x506ab4)throw new Error(_0x22f9fd(0x1ce));return _0x506ab4['exportXLSXBySnapshot'](_0x5f3785);}async[_0x392fd0(0x1cc)](_0xb4436d){const _0x277b0e=_0x392fd0;return this[_0x277b0e(0x1c7)](_0xb4436d);}async[_0x392fd0(0x1c7)](_0x38e4a6){const _0x427a95=_0x392fd0,_0x1481f8=this['_injector'][_0x427a95(0x1d7)](r[_0x427a95(0x1c0)]);if(!_0x1481f8)throw new Error(_0x427a95(0x1ce));return _0x1481f8[_0x427a95(0x1d8)](_0x38e4a6,o[_0x427a95(0x1c4)]);}async[_0x392fd0(0x1cf)](_0x20abe9){const _0x4d8b2e=_0x392fd0;return this[_0x4d8b2e(0x1bc)](_0x20abe9);}async['importDOCXToSnapshotAsync'](_0x209b26){const _0x265602=_0x392fd0,_0x44a0d6=this[_0x265602(0x1cb)][_0x265602(0x1d7)](r['IExchangeService']);if(!_0x44a0d6)throw new Error(_0x265602(0x1ce));return _0x44a0d6[_0x265602(0x1cf)](_0x209b26);}}i[_0x392fd0(0x1c1)][_0x392fd0(0x1d0)](c);