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

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 _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);
1
+ 'use strict';const _0x1bb0e2=_0x3d07;(function(_0x58d72e,_0x46e2b2){const _0x489bb0=_0x3d07,_0xbadf2e=_0x58d72e();while(!![]){try{const _0x588192=-parseInt(_0x489bb0(0x86))/0x1+-parseInt(_0x489bb0(0x8d))/0x2+parseInt(_0x489bb0(0x89))/0x3*(-parseInt(_0x489bb0(0xa4))/0x4)+-parseInt(_0x489bb0(0x90))/0x5*(-parseInt(_0x489bb0(0x9f))/0x6)+parseInt(_0x489bb0(0x92))/0x7*(-parseInt(_0x489bb0(0x96))/0x8)+parseInt(_0x489bb0(0x93))/0x9+parseInt(_0x489bb0(0x9b))/0xa*(parseInt(_0x489bb0(0xa5))/0xb);if(_0x588192===_0x46e2b2)break;else _0xbadf2e['push'](_0xbadf2e['shift']());}catch(_0x1e0980){_0xbadf2e['push'](_0xbadf2e['shift']());}}}(_0x161b,0x2e440));const r=require(_0x1bb0e2(0x8c)),i=require('@univerjs/core/facade');var o=(_0x1390fb=>(_0x1390fb[_0x1390fb[_0x1bb0e2(0x9d)]=0x0]='UNIVER_UNKNOWN',_0x1390fb[_0x1390fb['UNIVER_DOC']=0x1]=_0x1bb0e2(0x95),_0x1390fb[_0x1390fb[_0x1bb0e2(0x8b)]=0x2]='UNIVER_SHEET',_0x1390fb[_0x1390fb[_0x1bb0e2(0x83)]=0x3]=_0x1bb0e2(0x83),_0x1390fb[_0x1390fb[_0x1bb0e2(0xa1)]=0x4]=_0x1bb0e2(0xa1),_0x1390fb[_0x1390fb[_0x1bb0e2(0x97)]=-0x1]=_0x1bb0e2(0x97),_0x1390fb))(o||{});class c extends i[_0x1bb0e2(0x94)]{async[_0x1bb0e2(0xa2)](_0x41caf0){const _0x1b6492=_0x1bb0e2;return this[_0x1b6492(0x9a)](_0x41caf0);}async['importXLSXToUnitIdAsync'](_0x33971c){const _0x3ab510=_0x1bb0e2,_0x189145=this[_0x3ab510(0x98)]['get'](r[_0x3ab510(0x8e)]);if(!_0x189145)throw new Error(_0x3ab510(0x8f));return _0x189145['importFileToUnitId'](_0x33971c,o[_0x3ab510(0x8b)]);}async[_0x1bb0e2(0x85)](_0x44b381){const _0xa3f8ff=_0x1bb0e2;return this[_0xa3f8ff(0x8a)](_0x44b381);}async[_0x1bb0e2(0x8a)](_0x14f04a){const _0x444bc3=_0x1bb0e2,_0x2d3559=this['_injector'][_0x444bc3(0xa6)](r['IExchangeService']);if(!_0x2d3559)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2d3559[_0x444bc3(0x85)](_0x14f04a);}async[_0x1bb0e2(0x88)](_0x3c909c){const _0x17f39e=_0x1bb0e2;return this[_0x17f39e(0x9e)](_0x3c909c);}async[_0x1bb0e2(0x9e)](_0x53d0d6){const _0x4f705b=_0x1bb0e2,_0x57f401=this[_0x4f705b(0x98)][_0x4f705b(0xa6)](r[_0x4f705b(0x8e)]);if(!_0x57f401)throw new Error(_0x4f705b(0x8f));return _0x57f401['exportXLSXByUnitId'](_0x53d0d6);}async['exportXLSXBySnapshot'](_0x25aa14){const _0x44eb8c=_0x1bb0e2;return this[_0x44eb8c(0xa3)](_0x25aa14);}async[_0x1bb0e2(0xa3)](_0x27d0ef){const _0x47ffad=_0x1bb0e2,_0x4fc84c=this['_injector']['get'](r[_0x47ffad(0x8e)]);if(!_0x4fc84c)throw new Error(_0x47ffad(0x8f));return _0x4fc84c[_0x47ffad(0x87)](_0x27d0ef);}async['importDOCXToUnitId'](_0x1ca76a){const _0x56062c=_0x1bb0e2;return this[_0x56062c(0x9c)](_0x1ca76a);}async[_0x1bb0e2(0x9c)](_0x51a514){const _0x57853f=_0x1bb0e2,_0x417369=this[_0x57853f(0x98)]['get'](r['IExchangeService']);if(!_0x417369)throw new Error(_0x57853f(0x8f));return _0x417369[_0x57853f(0x91)](_0x51a514,o['UNIVER_DOC']);}async[_0x1bb0e2(0x84)](_0x35f302){const _0x5f3ed8=_0x1bb0e2;return this[_0x5f3ed8(0x99)](_0x35f302);}async[_0x1bb0e2(0x99)](_0x117ea8){const _0x401d82=_0x1bb0e2,_0x57b21c=this[_0x401d82(0x98)][_0x401d82(0xa6)](r[_0x401d82(0x8e)]);if(!_0x57b21c)throw new Error(_0x401d82(0x8f));return _0x57b21c[_0x401d82(0x84)](_0x117ea8);}}function _0x3d07(_0x24ea7c,_0x10ca4a){const _0x161b28=_0x161b();return _0x3d07=function(_0x3d07ba,_0x205fcc){_0x3d07ba=_0x3d07ba-0x83;let _0x50ea1e=_0x161b28[_0x3d07ba];return _0x50ea1e;},_0x3d07(_0x24ea7c,_0x10ca4a);}i[_0x1bb0e2(0x94)][_0x1bb0e2(0xa0)](c);function _0x161b(){const _0x397f11=['3396141eVfdxJ','FUniver','UNIVER_DOC','56esiTOt','UNRECOGNIZED','_injector','importDOCXToSnapshotAsync','importXLSXToUnitIdAsync','10uRhLTl','importDOCXToUnitIdAsync','UNIVER_UNKNOWN','exportXLSXByUnitIdAsync','23706eHehan','extend','UNIVER_PROJECT','importXLSXToUnitId','exportXLSXBySnapshotAsync','30788XDRmxv','3567443BwWwNs','get','UNIVER_SLIDE','importDOCXToSnapshot','importXLSXToSnapshot','51288HBoOdl','exportXLSXBySnapshot','exportXLSXByUnitId','15ccofkW','importXLSXToSnapshotAsync','UNIVER_SHEET','@univerjs-pro/exchange-client','649672QytiFI','IExchangeService','The\x20exchange\x20service\x20is\x20not\x20available','110EadBBc','importFileToUnitId','184471CmcnVT'];_0x161b=function(){return _0x397f11;};return _0x161b();}