@univerjs-pro/exchange-client 0.8.0-nightly.202506051607 → 0.8.0-nightly.202506071606

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 _0x38fee1=_0x1004;function _0x1004(_0x102c75,_0xd0b0b5){const _0x492c9a=_0x492c();return _0x1004=function(_0x10047f,_0xec1714){_0x10047f=_0x10047f-0xdf;let _0x4d30d7=_0x492c9a[_0x10047f];return _0x4d30d7;},_0x1004(_0x102c75,_0xd0b0b5);}(function(_0x226c0f,_0x44cc16){const _0x107e65=_0x1004,_0x3d4667=_0x226c0f();while(!![]){try{const _0x4e015e=parseInt(_0x107e65(0xf7))/0x1*(parseInt(_0x107e65(0x100))/0x2)+-parseInt(_0x107e65(0x101))/0x3+parseInt(_0x107e65(0xe0))/0x4*(-parseInt(_0x107e65(0xfa))/0x5)+-parseInt(_0x107e65(0xfc))/0x6*(-parseInt(_0x107e65(0xe7))/0x7)+-parseInt(_0x107e65(0xea))/0x8*(-parseInt(_0x107e65(0xee))/0x9)+-parseInt(_0x107e65(0xe6))/0xa*(parseInt(_0x107e65(0xfe))/0xb)+parseInt(_0x107e65(0xff))/0xc*(parseInt(_0x107e65(0xf2))/0xd);if(_0x4e015e===_0x44cc16)break;else _0x3d4667['push'](_0x3d4667['shift']());}catch(_0x6a441){_0x3d4667['push'](_0x3d4667['shift']());}}}(_0x492c,0xf39b8));const r=require(_0x38fee1(0xdf)),o=require('@univerjs/core/facade');function _0x492c(){const _0x5787cf=['The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SLIDE','174112dXVEzG','exportDOCXBySnapshot','importXLSXToUnitIdAsync','importDOCXToSnapshot','279cKEBHA','FUniver','importFileToUnitId','importDOCXToUnitIdAsync','14542853gJjVsG','exportDOCXBySnapshotAsync','exportXLSXByUnitIdAsync','importXLSXToSnapshotAsync','importDOCXToUnitId','41kfVwXm','IExchangeService','importXLSXToSnapshot','3375460xEiEFv','importDOCXToSnapshotAsync','173916enlbdW','extend','143hAPDeX','24ZmlCqD','26218iBRlFQ','4078842UPyFop','exportXLSXBySnapshot','UNIVER_PROJECT','exportXLSXBySnapshotAsync','_injector','UNIVER_UNKNOWN','UNIVER_DOC','@univerjs-pro/exchange-client','4kYrwxK','get','UNIVER_SHEET','exportDOCXByUnitIdAsync','UNRECOGNIZED','exportXLSXByUnitId','855890OKkvlp','168hbVnwf'];_0x492c=function(){return _0x5787cf;};return _0x492c();}var i=(_0x5c40a2=>(_0x5c40a2[_0x5c40a2[_0x38fee1(0x106)]=0x0]='UNIVER_UNKNOWN',_0x5c40a2[_0x5c40a2[_0x38fee1(0x107)]=0x1]=_0x38fee1(0x107),_0x5c40a2[_0x5c40a2[_0x38fee1(0xe2)]=0x2]=_0x38fee1(0xe2),_0x5c40a2[_0x5c40a2[_0x38fee1(0xe9)]=0x3]=_0x38fee1(0xe9),_0x5c40a2[_0x5c40a2[_0x38fee1(0x103)]=0x4]=_0x38fee1(0x103),_0x5c40a2[_0x5c40a2[_0x38fee1(0xe4)]=-0x1]='UNRECOGNIZED',_0x5c40a2))(i||{});class c extends o[_0x38fee1(0xef)]{async['importXLSXToUnitId'](_0x223d2f){const _0x23e30e=_0x38fee1;return this[_0x23e30e(0xec)](_0x223d2f);}async[_0x38fee1(0xec)](_0x453511){const _0x59d4d3=_0x38fee1,_0x2442b1=this[_0x59d4d3(0x105)]['get'](r[_0x59d4d3(0xf8)]);if(!_0x2442b1)throw new Error(_0x59d4d3(0xe8));return _0x2442b1[_0x59d4d3(0xf0)](_0x453511,i[_0x59d4d3(0xe2)]);}async['importXLSXToSnapshot'](_0xd9ca90){const _0x26f38c=_0x38fee1;return this[_0x26f38c(0xf5)](_0xd9ca90);}async[_0x38fee1(0xf5)](_0x5d75d0){const _0x3e119f=_0x38fee1,_0x1a5458=this[_0x3e119f(0x105)]['get'](r[_0x3e119f(0xf8)]);if(!_0x1a5458)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1a5458[_0x3e119f(0xf9)](_0x5d75d0);}async[_0x38fee1(0xe5)](_0x303f49){const _0x13f5b7=_0x38fee1;return this[_0x13f5b7(0xf4)](_0x303f49);}async[_0x38fee1(0xf4)](_0x5e2c25){const _0x108004=_0x38fee1,_0x18b5a1=this['_injector'][_0x108004(0xe1)](r[_0x108004(0xf8)]);if(!_0x18b5a1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x18b5a1['exportXLSXByUnitId'](_0x5e2c25);}async[_0x38fee1(0x102)](_0x42a59e){const _0x613df0=_0x38fee1;return this[_0x613df0(0x104)](_0x42a59e);}async[_0x38fee1(0x104)](_0x1eac40){const _0x380233=_0x38fee1,_0x59fc19=this[_0x380233(0x105)][_0x380233(0xe1)](r[_0x380233(0xf8)]);if(!_0x59fc19)throw new Error(_0x380233(0xe8));return _0x59fc19['exportXLSXBySnapshot'](_0x1eac40);}async[_0x38fee1(0xf6)](_0x31df73){const _0x527808=_0x38fee1;return this[_0x527808(0xf1)](_0x31df73);}async[_0x38fee1(0xf1)](_0x59f806){const _0x466e6a=_0x38fee1,_0x313f23=this['_injector'][_0x466e6a(0xe1)](r[_0x466e6a(0xf8)]);if(!_0x313f23)throw new Error(_0x466e6a(0xe8));return _0x313f23[_0x466e6a(0xf0)](_0x59f806,i['UNIVER_DOC']);}async[_0x38fee1(0xed)](_0x563998){const _0x34f4e8=_0x38fee1;return this[_0x34f4e8(0xfb)](_0x563998);}async[_0x38fee1(0xfb)](_0xe7c814){const _0x5bd4b3=_0x38fee1,_0x5b8d79=this[_0x5bd4b3(0x105)][_0x5bd4b3(0xe1)](r[_0x5bd4b3(0xf8)]);if(!_0x5b8d79)throw new Error(_0x5bd4b3(0xe8));return _0x5b8d79['importDOCXToSnapshot'](_0xe7c814);}async[_0x38fee1(0xf3)](_0x4a3cab){const _0x1a368c=_0x38fee1,_0x5d0153=this[_0x1a368c(0x105)]['get'](r[_0x1a368c(0xf8)]);if(!_0x5d0153)throw new Error(_0x1a368c(0xe8));return _0x5d0153[_0x1a368c(0xeb)](_0x4a3cab);}async[_0x38fee1(0xe3)](_0x2178a7){const _0x34fb32=_0x38fee1,_0x4210a4=this[_0x34fb32(0x105)][_0x34fb32(0xe1)](r[_0x34fb32(0xf8)]);if(!_0x4210a4)throw new Error(_0x34fb32(0xe8));return _0x4210a4['exportDOCXByUnitId'](_0x2178a7);}}o[_0x38fee1(0xef)][_0x38fee1(0xfd)](c);
1
+ 'use strict';const _0x7de348=_0x36dc;(function(_0x12f105,_0x44a0ba){const _0x3d4b6e=_0x36dc,_0x4c8885=_0x12f105();while(!![]){try{const _0x1002cf=parseInt(_0x3d4b6e(0x101))/0x1+-parseInt(_0x3d4b6e(0xfc))/0x2+-parseInt(_0x3d4b6e(0xfb))/0x3*(-parseInt(_0x3d4b6e(0xdc))/0x4)+-parseInt(_0x3d4b6e(0xfa))/0x5*(-parseInt(_0x3d4b6e(0xec))/0x6)+parseInt(_0x3d4b6e(0xf7))/0x7+-parseInt(_0x3d4b6e(0xeb))/0x8*(-parseInt(_0x3d4b6e(0xe6))/0x9)+-parseInt(_0x3d4b6e(0xe7))/0xa;if(_0x1002cf===_0x44a0ba)break;else _0x4c8885['push'](_0x4c8885['shift']());}catch(_0x397f98){_0x4c8885['push'](_0x4c8885['shift']());}}}(_0x465f,0x44a81));const r=require(_0x7de348(0xf3)),o=require(_0x7de348(0xe1));var i=(_0x346dbe=>(_0x346dbe[_0x346dbe[_0x7de348(0xe2)]=0x0]=_0x7de348(0xe2),_0x346dbe[_0x346dbe[_0x7de348(0xf0)]=0x1]='UNIVER_DOC',_0x346dbe[_0x346dbe[_0x7de348(0xee)]=0x2]='UNIVER_SHEET',_0x346dbe[_0x346dbe['UNIVER_SLIDE']=0x3]=_0x7de348(0xfd),_0x346dbe[_0x346dbe[_0x7de348(0xe3)]=0x4]='UNIVER_PROJECT',_0x346dbe[_0x346dbe[_0x7de348(0xde)]=-0x1]=_0x7de348(0xde),_0x346dbe))(i||{});class c extends o[_0x7de348(0xfe)]{async[_0x7de348(0xe5)](_0x1b2059){const _0x113dfe=_0x7de348;return this[_0x113dfe(0xe0)](_0x1b2059);}async[_0x7de348(0xe0)](_0x7bfbc){const _0xa0aa68=_0x7de348,_0x21275d=this[_0xa0aa68(0xf8)][_0xa0aa68(0xed)](r[_0xa0aa68(0xf1)]);if(!_0x21275d)throw new Error(_0xa0aa68(0xf9));return _0x21275d[_0xa0aa68(0xdf)](_0x7bfbc,i['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x4cf4de){return this['importXLSXToSnapshotAsync'](_0x4cf4de);}async['importXLSXToSnapshotAsync'](_0x56f8e2){const _0x2b65fe=_0x7de348,_0x576151=this[_0x2b65fe(0xf8)][_0x2b65fe(0xed)](r[_0x2b65fe(0xf1)]);if(!_0x576151)throw new Error(_0x2b65fe(0xf9));return _0x576151[_0x2b65fe(0xf6)](_0x56f8e2);}async[_0x7de348(0xe8)](_0x1d6a3b){const _0x42f01e=_0x7de348;return this[_0x42f01e(0xdd)](_0x1d6a3b);}async[_0x7de348(0xdd)](_0x3100c0){const _0x2bfbfe=_0x7de348,_0x47a972=this[_0x2bfbfe(0xf8)][_0x2bfbfe(0xed)](r['IExchangeService']);if(!_0x47a972)throw new Error(_0x2bfbfe(0xf9));return _0x47a972[_0x2bfbfe(0xe8)](_0x3100c0);}async[_0x7de348(0xf5)](_0x19f4b4){const _0x2dd50c=_0x7de348;return this[_0x2dd50c(0xf4)](_0x19f4b4);}async['exportXLSXBySnapshotAsync'](_0x2e9f57){const _0x485869=_0x7de348,_0x1f38bb=this[_0x485869(0xf8)]['get'](r['IExchangeService']);if(!_0x1f38bb)throw new Error(_0x485869(0xf9));return _0x1f38bb[_0x485869(0xf5)](_0x2e9f57);}async['importDOCXToUnitId'](_0x3811b1){const _0x29ed5a=_0x7de348;return this[_0x29ed5a(0xe9)](_0x3811b1);}async['importDOCXToUnitIdAsync'](_0x1b7484){const _0x1dda1b=_0x7de348,_0x288047=this[_0x1dda1b(0xf8)][_0x1dda1b(0xed)](r[_0x1dda1b(0xf1)]);if(!_0x288047)throw new Error(_0x1dda1b(0xf9));return _0x288047[_0x1dda1b(0xdf)](_0x1b7484,i[_0x1dda1b(0xf0)]);}async[_0x7de348(0x100)](_0x1d13ee){const _0x46bf06=_0x7de348;return this[_0x46bf06(0xef)](_0x1d13ee);}async['importDOCXToSnapshotAsync'](_0x39eb03){const _0x2d0e7e=_0x7de348,_0x4632e0=this[_0x2d0e7e(0xf8)][_0x2d0e7e(0xed)](r[_0x2d0e7e(0xf1)]);if(!_0x4632e0)throw new Error(_0x2d0e7e(0xf9));return _0x4632e0[_0x2d0e7e(0x100)](_0x39eb03);}async[_0x7de348(0xff)](_0x5e449c){const _0x32f15f=_0x7de348,_0x426ad0=this[_0x32f15f(0xf8)][_0x32f15f(0xed)](r[_0x32f15f(0xf1)]);if(!_0x426ad0)throw new Error(_0x32f15f(0xf9));return _0x426ad0[_0x32f15f(0xe4)](_0x5e449c);}async['exportDOCXByUnitIdAsync'](_0x57cbaf){const _0xa84f51=_0x7de348,_0x5c44d6=this[_0xa84f51(0xf8)][_0xa84f51(0xed)](r[_0xa84f51(0xf1)]);if(!_0x5c44d6)throw new Error(_0xa84f51(0xf9));return _0x5c44d6[_0xa84f51(0xf2)](_0x57cbaf);}}function _0x465f(){const _0x2bd0e8=['20583FlsVAs','12499530iTGYVg','exportXLSXByUnitId','importDOCXToUnitIdAsync','extend','1136SKBTnx','6XeWRSO','get','UNIVER_SHEET','importDOCXToSnapshotAsync','UNIVER_DOC','IExchangeService','exportDOCXByUnitId','@univerjs-pro/exchange-client','exportXLSXBySnapshotAsync','exportXLSXBySnapshot','importXLSXToSnapshot','2305317Gcowmx','_injector','The\x20exchange\x20service\x20is\x20not\x20available','2168885jkNgQG','15rmbHeA','392284uTiwey','UNIVER_SLIDE','FUniver','exportDOCXBySnapshotAsync','importDOCXToSnapshot','433060MfICha','165112shckNf','exportXLSXByUnitIdAsync','UNRECOGNIZED','importFileToUnitId','importXLSXToUnitIdAsync','@univerjs/core/facade','UNIVER_UNKNOWN','UNIVER_PROJECT','exportDOCXBySnapshot','importXLSXToUnitId'];_0x465f=function(){return _0x2bd0e8;};return _0x465f();}function _0x36dc(_0x59ac70,_0x1c2270){const _0x465f5d=_0x465f();return _0x36dc=function(_0x36dce2,_0x395723){_0x36dce2=_0x36dce2-0xdc;let _0x4730ce=_0x465f5d[_0x36dce2];return _0x4730ce;},_0x36dc(_0x59ac70,_0x1c2270);}o[_0x7de348(0xfe)][_0x7de348(0xea)](c);