@univerjs-pro/exchange-client 0.6.10-nightly.202504281607 → 0.7.0-beta.0

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 _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);
1
+ 'use strict';const _0x1b9fc5=_0x13bb;function _0x3ba1(){const _0x223ff2=['7715025iROGDF','1924626DecdgZ','importXLSXToUnitId','7937768mLrDJH','IExchangeService','exportXLSXBySnapshot','importDOCXToUnitId','importDOCXToUnitIdAsync','exportXLSXBySnapshotAsync','UNIVER_SHEET','UNIVER_PROJECT','357UANDUB','get','importXLSXToUnitIdAsync','368hiSEod','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId','@univerjs/core/facade','exportXLSXByUnitIdAsync','24972GXzZrB','importDOCXToSnapshotAsync','extend','_injector','17970jYwfZi','UNIVER_DOC','UNIVER_UNKNOWN','FUniver','135WqcwVt','importDOCXToSnapshot','importFileToUnitId','UNIVER_SLIDE','importXLSXToSnapshotAsync','importXLSXToSnapshot','6476sXzUgS','7740780NuAduo'];_0x3ba1=function(){return _0x223ff2;};return _0x3ba1();}(function(_0xd162b7,_0x4b5868){const _0x2d7e62=_0x13bb,_0xdc6608=_0xd162b7();while(!![]){try{const _0x37d69e=-parseInt(_0x2d7e62(0x9b))/0x1*(-parseInt(_0x2d7e62(0x8b))/0x2)+parseInt(_0x2d7e62(0x8e))/0x3+-parseInt(_0x2d7e62(0xa0))/0x4*(parseInt(_0x2d7e62(0xa8))/0x5)+-parseInt(_0x2d7e62(0xa4))/0x6*(parseInt(_0x2d7e62(0x98))/0x7)+parseInt(_0x2d7e62(0x90))/0x8+-parseInt(_0x2d7e62(0x8d))/0x9+-parseInt(_0x2d7e62(0x8c))/0xa;if(_0x37d69e===_0x4b5868)break;else _0xdc6608['push'](_0xdc6608['shift']());}catch(_0x43e51c){_0xdc6608['push'](_0xdc6608['shift']());}}}(_0x3ba1,0xd5122));const r=require('@univerjs-pro/exchange-client'),i=require(_0x1b9fc5(0x9e));var o=(_0x406b30=>(_0x406b30[_0x406b30[_0x1b9fc5(0xa6)]=0x0]='UNIVER_UNKNOWN',_0x406b30[_0x406b30[_0x1b9fc5(0xa5)]=0x1]=_0x1b9fc5(0xa5),_0x406b30[_0x406b30[_0x1b9fc5(0x96)]=0x2]=_0x1b9fc5(0x96),_0x406b30[_0x406b30[_0x1b9fc5(0x88)]=0x3]=_0x1b9fc5(0x88),_0x406b30[_0x406b30['UNIVER_PROJECT']=0x4]=_0x1b9fc5(0x97),_0x406b30[_0x406b30['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x406b30))(o||{});function _0x13bb(_0x2ebf88,_0xa09570){const _0x3ba188=_0x3ba1();return _0x13bb=function(_0x13bbea,_0x19baeb){_0x13bbea=_0x13bbea-0x87;let _0x2ab31a=_0x3ba188[_0x13bbea];return _0x2ab31a;},_0x13bb(_0x2ebf88,_0xa09570);}class c extends i[_0x1b9fc5(0xa7)]{async[_0x1b9fc5(0x8f)](_0x1a9656){const _0xe8aff9=_0x1b9fc5;return this[_0xe8aff9(0x9a)](_0x1a9656);}async[_0x1b9fc5(0x9a)](_0x413417){const _0x27bfeb=_0x1b9fc5,_0x6629c2=this[_0x27bfeb(0xa3)][_0x27bfeb(0x99)](r[_0x27bfeb(0x91)]);if(!_0x6629c2)throw new Error(_0x27bfeb(0x9c));return _0x6629c2[_0x27bfeb(0x87)](_0x413417,o[_0x27bfeb(0x96)]);}async[_0x1b9fc5(0x8a)](_0x60394){const _0x71ef6c=_0x1b9fc5;return this[_0x71ef6c(0x89)](_0x60394);}async[_0x1b9fc5(0x89)](_0x677032){const _0x4a7489=_0x1b9fc5,_0x40d6e5=this[_0x4a7489(0xa3)][_0x4a7489(0x99)](r[_0x4a7489(0x91)]);if(!_0x40d6e5)throw new Error(_0x4a7489(0x9c));return _0x40d6e5[_0x4a7489(0x8a)](_0x677032);}async[_0x1b9fc5(0x9d)](_0x4bb729){const _0x3d3196=_0x1b9fc5;return this[_0x3d3196(0x9f)](_0x4bb729);}async[_0x1b9fc5(0x9f)](_0x323e91){const _0x7aa725=_0x1b9fc5,_0x51e9d8=this[_0x7aa725(0xa3)][_0x7aa725(0x99)](r[_0x7aa725(0x91)]);if(!_0x51e9d8)throw new Error(_0x7aa725(0x9c));return _0x51e9d8['exportXLSXByUnitId'](_0x323e91);}async[_0x1b9fc5(0x92)](_0x3bbe23){const _0x5eb2e2=_0x1b9fc5;return this[_0x5eb2e2(0x95)](_0x3bbe23);}async[_0x1b9fc5(0x95)](_0x380995){const _0x4590ac=_0x1b9fc5,_0x5d00af=this[_0x4590ac(0xa3)][_0x4590ac(0x99)](r[_0x4590ac(0x91)]);if(!_0x5d00af)throw new Error(_0x4590ac(0x9c));return _0x5d00af[_0x4590ac(0x92)](_0x380995);}async[_0x1b9fc5(0x93)](_0x3d4cc6){return this['importDOCXToUnitIdAsync'](_0x3d4cc6);}async[_0x1b9fc5(0x94)](_0xa9d407){const _0x4945ab=_0x1b9fc5,_0x562987=this[_0x4945ab(0xa3)][_0x4945ab(0x99)](r[_0x4945ab(0x91)]);if(!_0x562987)throw new Error(_0x4945ab(0x9c));return _0x562987[_0x4945ab(0x87)](_0xa9d407,o[_0x4945ab(0xa5)]);}async['importDOCXToSnapshot'](_0x247fe1){return this['importDOCXToSnapshotAsync'](_0x247fe1);}async[_0x1b9fc5(0xa1)](_0x41c317){const _0x366857=_0x1b9fc5,_0x4bc9dd=this['_injector'][_0x366857(0x99)](r[_0x366857(0x91)]);if(!_0x4bc9dd)throw new Error(_0x366857(0x9c));return _0x4bc9dd[_0x366857(0xa9)](_0x41c317);}}i[_0x1b9fc5(0xa7)][_0x1b9fc5(0xa2)](c);