@univerjs-pro/exchange-client 0.5.4-nightly.202501141606 → 0.5.4-nightly.202501151252

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 _0x46e4c2=_0x5490;(function(_0x205fab,_0x5e644d){const _0x37dcc2=_0x5490,_0x476f7e=_0x205fab();while(!![]){try{const _0x54b233=parseInt(_0x37dcc2(0x1bb))/0x1+-parseInt(_0x37dcc2(0x1d6))/0x2*(parseInt(_0x37dcc2(0x1d4))/0x3)+-parseInt(_0x37dcc2(0x1b8))/0x4*(-parseInt(_0x37dcc2(0x1b7))/0x5)+-parseInt(_0x37dcc2(0x1ba))/0x6+parseInt(_0x37dcc2(0x1c7))/0x7+parseInt(_0x37dcc2(0x1cd))/0x8*(-parseInt(_0x37dcc2(0x1d2))/0x9)+parseInt(_0x37dcc2(0x1c4))/0xa;if(_0x54b233===_0x5e644d)break;else _0x476f7e['push'](_0x476f7e['shift']());}catch(_0x28204f){_0x476f7e['push'](_0x476f7e['shift']());}}}(_0x3d4b,0xc7e4e));const r=require('@univerjs-pro/exchange-client'),i=require(_0x46e4c2(0x1c2));function _0x5490(_0x4b7909,_0x4f96b2){const _0x3d4b11=_0x3d4b();return _0x5490=function(_0x5490e0,_0x16b696){_0x5490e0=_0x5490e0-0x1b4;let _0x26b622=_0x3d4b11[_0x5490e0];return _0x26b622;},_0x5490(_0x4b7909,_0x4f96b2);}var o=(_0x3c2053=>(_0x3c2053[_0x3c2053[_0x46e4c2(0x1be)]=0x0]=_0x46e4c2(0x1be),_0x3c2053[_0x3c2053[_0x46e4c2(0x1cb)]=0x1]=_0x46e4c2(0x1cb),_0x3c2053[_0x3c2053['UNIVER_SHEET']=0x2]=_0x46e4c2(0x1ca),_0x3c2053[_0x3c2053[_0x46e4c2(0x1ce)]=0x3]=_0x46e4c2(0x1ce),_0x3c2053[_0x3c2053[_0x46e4c2(0x1b4)]=0x4]=_0x46e4c2(0x1b4),_0x3c2053[_0x3c2053[_0x46e4c2(0x1cf)]=-0x1]=_0x46e4c2(0x1cf),_0x3c2053))(o||{});class c extends i['FUniver']{async[_0x46e4c2(0x1d0)](_0x1a118c){const _0x4bb060=_0x46e4c2;return this[_0x4bb060(0x1b5)](_0x1a118c);}async[_0x46e4c2(0x1b5)](_0x50fd4e){const _0x2f930c=_0x46e4c2,_0x219254=this[_0x2f930c(0x1d3)][_0x2f930c(0x1bd)](r['IExchangeService']);if(!_0x219254)throw new Error(_0x2f930c(0x1c8));return _0x219254[_0x2f930c(0x1c1)](_0x50fd4e,o['UNIVER_SHEET']);}async[_0x46e4c2(0x1c9)](_0x2a7335){const _0x373e4c=_0x46e4c2;return this[_0x373e4c(0x1c0)](_0x2a7335);}async[_0x46e4c2(0x1c0)](_0x287d40){const _0x10102e=_0x46e4c2,_0x4dbfe1=this[_0x10102e(0x1d3)]['get'](r[_0x10102e(0x1bf)]);if(!_0x4dbfe1)throw new Error(_0x10102e(0x1c8));return _0x4dbfe1[_0x10102e(0x1c9)](_0x287d40);}async[_0x46e4c2(0x1b6)](_0x4a7b4c){return this['exportXLSXByUnitIdAsync'](_0x4a7b4c);}async[_0x46e4c2(0x1c3)](_0x1da21e){const _0x5e6349=_0x46e4c2,_0x15ae5c=this[_0x5e6349(0x1d3)][_0x5e6349(0x1bd)](r['IExchangeService']);if(!_0x15ae5c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x15ae5c[_0x5e6349(0x1b6)](_0x1da21e);}async[_0x46e4c2(0x1c6)](_0x376795){const _0x5269d9=_0x46e4c2;return this[_0x5269d9(0x1c5)](_0x376795);}async[_0x46e4c2(0x1c5)](_0x1e6a1c){const _0x3b7fb2=_0x46e4c2,_0x56ded6=this[_0x3b7fb2(0x1d3)][_0x3b7fb2(0x1bd)](r[_0x3b7fb2(0x1bf)]);if(!_0x56ded6)throw new Error(_0x3b7fb2(0x1c8));return _0x56ded6[_0x3b7fb2(0x1c6)](_0x1e6a1c);}async['importDOCXToUnitId'](_0x28b148){const _0x406577=_0x46e4c2;return this[_0x406577(0x1d5)](_0x28b148);}async[_0x46e4c2(0x1d5)](_0x47b815){const _0x2b353f=_0x46e4c2,_0xe3981a=this[_0x2b353f(0x1d3)][_0x2b353f(0x1bd)](r[_0x2b353f(0x1bf)]);if(!_0xe3981a)throw new Error(_0x2b353f(0x1c8));return _0xe3981a['importFileToUnitId'](_0x47b815,o[_0x2b353f(0x1cb)]);}async[_0x46e4c2(0x1b9)](_0x3babd9){const _0x3c6170=_0x46e4c2;return this[_0x3c6170(0x1d1)](_0x3babd9);}async[_0x46e4c2(0x1d1)](_0x4d5992){const _0x3aa841=_0x46e4c2,_0x2f7976=this[_0x3aa841(0x1d3)][_0x3aa841(0x1bd)](r[_0x3aa841(0x1bf)]);if(!_0x2f7976)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2f7976['importDOCXToSnapshot'](_0x4d5992);}}i[_0x46e4c2(0x1bc)][_0x46e4c2(0x1cc)](c);function _0x3d4b(){const _0x5a1db2=['exportXLSXByUnitId','190gVEZgo','53140ANKDPr','importDOCXToSnapshot','3787620VHhOiR','1191099iWdxoH','FUniver','get','UNIVER_UNKNOWN','IExchangeService','importXLSXToSnapshotAsync','importFileToUnitId','@univerjs/core','exportXLSXByUnitIdAsync','13793810cZVpGE','exportXLSXBySnapshotAsync','exportXLSXBySnapshot','2708188IlxjCL','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshot','UNIVER_SHEET','UNIVER_DOC','extend','141808HPGsDy','UNIVER_SLIDE','UNRECOGNIZED','importXLSXToUnitId','importDOCXToSnapshotAsync','432UFUyvm','_injector','1741965ycCePm','importDOCXToUnitIdAsync','4ZMIKzI','UNIVER_PROJECT','importXLSXToUnitIdAsync'];_0x3d4b=function(){return _0x5a1db2;};return _0x3d4b();}
1
+ 'use strict';const _0x160690=_0xb151;(function(_0x4184b8,_0x5b8ad3){const _0x55e4d0=_0xb151,_0xbcbe54=_0x4184b8();while(!![]){try{const _0x3c6ed0=-parseInt(_0x55e4d0(0xa0))/0x1+-parseInt(_0x55e4d0(0xa6))/0x2*(parseInt(_0x55e4d0(0xb8))/0x3)+-parseInt(_0x55e4d0(0xb7))/0x4*(parseInt(_0x55e4d0(0x97))/0x5)+parseInt(_0x55e4d0(0xaf))/0x6+parseInt(_0x55e4d0(0xa2))/0x7+-parseInt(_0x55e4d0(0xa7))/0x8*(parseInt(_0x55e4d0(0x96))/0x9)+-parseInt(_0x55e4d0(0xa1))/0xa*(-parseInt(_0x55e4d0(0xa9))/0xb);if(_0x3c6ed0===_0x5b8ad3)break;else _0xbcbe54['push'](_0xbcbe54['shift']());}catch(_0x14c469){_0xbcbe54['push'](_0xbcbe54['shift']());}}}(_0x1a85,0x2531b));function _0x1a85(){const _0x4c8056=['importXLSXToUnitId','FUniver','extend','_injector','exportXLSXBySnapshotAsync','IExchangeService','importDOCXToUnitIdAsync','exportXLSXBySnapshot','96893sXOOeo','700630kKfnfh','379554KcMpzZ','UNIVER_UNKNOWN','UNIVER_DOC','importFileToUnitId','2hazKja','1840dYuewP','importDOCXToUnitId','44PLvOMZ','importXLSXToUnitIdAsync','get','importXLSXToSnapshotAsync','importDOCXToSnapshot','UNIVER_SHEET','1421310hTGmcB','importDOCXToSnapshotAsync','@univerjs-pro/exchange-client','UNIVER_SLIDE','UNIVER_PROJECT','UNRECOGNIZED','@univerjs/core','importXLSXToSnapshot','120364fpjtrw','149514LvkULc','exportXLSXByUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','9477iSLDdC','5cRWQCd'];_0x1a85=function(){return _0x4c8056;};return _0x1a85();}function _0xb151(_0x4d6231,_0x3e59a9){const _0x1a8517=_0x1a85();return _0xb151=function(_0xb151d8,_0xbaa9fb){_0xb151d8=_0xb151d8-0x94;let _0x1447ec=_0x1a8517[_0xb151d8];return _0x1447ec;},_0xb151(_0x4d6231,_0x3e59a9);}const r=require(_0x160690(0xb1)),i=require(_0x160690(0xb5));var o=(_0x42870f=>(_0x42870f[_0x42870f[_0x160690(0xa3)]=0x0]=_0x160690(0xa3),_0x42870f[_0x42870f[_0x160690(0xa4)]=0x1]=_0x160690(0xa4),_0x42870f[_0x42870f[_0x160690(0xae)]=0x2]='UNIVER_SHEET',_0x42870f[_0x42870f[_0x160690(0xb2)]=0x3]=_0x160690(0xb2),_0x42870f[_0x42870f[_0x160690(0xb3)]=0x4]='UNIVER_PROJECT',_0x42870f[_0x42870f['UNRECOGNIZED']=-0x1]=_0x160690(0xb4),_0x42870f))(o||{});class c extends i[_0x160690(0x99)]{async[_0x160690(0x98)](_0x78c527){return this['importXLSXToUnitIdAsync'](_0x78c527);}async[_0x160690(0xaa)](_0x176d98){const _0x5ccbd2=_0x160690,_0xa69c0f=this['_injector'][_0x5ccbd2(0xab)](r[_0x5ccbd2(0x9d)]);if(!_0xa69c0f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xa69c0f[_0x5ccbd2(0xa5)](_0x176d98,o[_0x5ccbd2(0xae)]);}async[_0x160690(0xb6)](_0x208e31){const _0x30ed73=_0x160690;return this[_0x30ed73(0xac)](_0x208e31);}async[_0x160690(0xac)](_0x1eb1fe){const _0x3a1229=_0x160690,_0x175c3d=this['_injector'][_0x3a1229(0xab)](r[_0x3a1229(0x9d)]);if(!_0x175c3d)throw new Error(_0x3a1229(0x95));return _0x175c3d[_0x3a1229(0xb6)](_0x1eb1fe);}async['exportXLSXByUnitId'](_0x3f8694){return this['exportXLSXByUnitIdAsync'](_0x3f8694);}async[_0x160690(0x94)](_0x382b5f){const _0x5eb9b3=_0x160690,_0x2fc4bd=this[_0x5eb9b3(0x9b)][_0x5eb9b3(0xab)](r[_0x5eb9b3(0x9d)]);if(!_0x2fc4bd)throw new Error(_0x5eb9b3(0x95));return _0x2fc4bd['exportXLSXByUnitId'](_0x382b5f);}async[_0x160690(0x9f)](_0x43dc63){const _0xeb6980=_0x160690;return this[_0xeb6980(0x9c)](_0x43dc63);}async[_0x160690(0x9c)](_0x5435c7){const _0x5931c3=_0x160690,_0x52cec8=this['_injector'][_0x5931c3(0xab)](r[_0x5931c3(0x9d)]);if(!_0x52cec8)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x52cec8[_0x5931c3(0x9f)](_0x5435c7);}async[_0x160690(0xa8)](_0xd2e14c){const _0xc109d=_0x160690;return this[_0xc109d(0x9e)](_0xd2e14c);}async[_0x160690(0x9e)](_0x10a480){const _0x258598=_0x160690,_0x279898=this[_0x258598(0x9b)][_0x258598(0xab)](r['IExchangeService']);if(!_0x279898)throw new Error(_0x258598(0x95));return _0x279898[_0x258598(0xa5)](_0x10a480,o['UNIVER_DOC']);}async[_0x160690(0xad)](_0x4f0157){return this['importDOCXToSnapshotAsync'](_0x4f0157);}async[_0x160690(0xb0)](_0x48cd19){const _0xee875c=_0x160690,_0x37bb6a=this[_0xee875c(0x9b)][_0xee875c(0xab)](r['IExchangeService']);if(!_0x37bb6a)throw new Error(_0xee875c(0x95));return _0x37bb6a['importDOCXToSnapshot'](_0x48cd19);}}i['FUniver'][_0x160690(0x9a)](c);