@univerjs-pro/exchange-client 0.6.6-nightly.202503161606 → 0.6.6-nightly.202503181607

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 _0x1d8425=_0x3142;(function(_0x2814aa,_0x4e0d3c){const _0x89f15b=_0x3142,_0x3067c4=_0x2814aa();while(!![]){try{const _0x3aeb75=parseInt(_0x89f15b(0x1a6))/0x1+parseInt(_0x89f15b(0x1a7))/0x2*(-parseInt(_0x89f15b(0x19f))/0x3)+-parseInt(_0x89f15b(0x19b))/0x4+parseInt(_0x89f15b(0x1a9))/0x5*(-parseInt(_0x89f15b(0x1b5))/0x6)+-parseInt(_0x89f15b(0x1b8))/0x7*(parseInt(_0x89f15b(0x1ac))/0x8)+-parseInt(_0x89f15b(0x1b0))/0x9*(-parseInt(_0x89f15b(0x1a2))/0xa)+parseInt(_0x89f15b(0x1a4))/0xb;if(_0x3aeb75===_0x4e0d3c)break;else _0x3067c4['push'](_0x3067c4['shift']());}catch(_0x3b7903){_0x3067c4['push'](_0x3067c4['shift']());}}}(_0x43ee,0x8819b));function _0x43ee(){const _0x2cf9a2=['exportXLSXByUnitIdAsync','importDOCXToSnapshotAsync','get','2074836CvpsIq','UNIVER_DOC','importDOCXToUnitIdAsync','_injector','77538HwyTFy','importFileToUnitId','UNIVER_SHEET','5089080tHdRVt','FUniver','29521052DoueTM','exportXLSXBySnapshotAsync','345637UJHIWN','60AapPYg','IExchangeService','3769805wPTqpG','UNIVER_UNKNOWN','The\x20exchange\x20service\x20is\x20not\x20available','80cwNmnR','importDOCXToSnapshot','UNIVER_PROJECT','UNIVER_SLIDE','9sZmkvB','@univerjs/core/facade','importXLSXToSnapshot','extend','exportXLSXByUnitId','6mbtVBp','importXLSXToSnapshotAsync','importXLSXToUnitIdAsync','652932NNivrI'];_0x43ee=function(){return _0x2cf9a2;};return _0x43ee();}const r=require('@univerjs-pro/exchange-client'),i=require(_0x1d8425(0x1b1));function _0x3142(_0x140bbc,_0x3ef152){const _0x43eeec=_0x43ee();return _0x3142=function(_0x31422b,_0x2a14a6){_0x31422b=_0x31422b-0x19b;let _0x5ae309=_0x43eeec[_0x31422b];return _0x5ae309;},_0x3142(_0x140bbc,_0x3ef152);}var o=(_0x577194=>(_0x577194[_0x577194[_0x1d8425(0x1aa)]=0x0]=_0x1d8425(0x1aa),_0x577194[_0x577194[_0x1d8425(0x19c)]=0x1]=_0x1d8425(0x19c),_0x577194[_0x577194[_0x1d8425(0x1a1)]=0x2]='UNIVER_SHEET',_0x577194[_0x577194[_0x1d8425(0x1af)]=0x3]=_0x1d8425(0x1af),_0x577194[_0x577194[_0x1d8425(0x1ae)]=0x4]=_0x1d8425(0x1ae),_0x577194[_0x577194['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x577194))(o||{});class c extends i[_0x1d8425(0x1a3)]{async['importXLSXToUnitId'](_0x3f4a2e){const _0x2f2f08=_0x1d8425;return this[_0x2f2f08(0x1b7)](_0x3f4a2e);}async[_0x1d8425(0x1b7)](_0x5081ed){const _0x41fbfd=_0x1d8425,_0x13718c=this[_0x41fbfd(0x19e)][_0x41fbfd(0x1bb)](r['IExchangeService']);if(!_0x13718c)throw new Error(_0x41fbfd(0x1ab));return _0x13718c[_0x41fbfd(0x1a0)](_0x5081ed,o['UNIVER_SHEET']);}async[_0x1d8425(0x1b2)](_0x2edeeb){const _0x3ce92a=_0x1d8425;return this[_0x3ce92a(0x1b6)](_0x2edeeb);}async['importXLSXToSnapshotAsync'](_0x112c11){const _0xe9cdf6=_0x1d8425,_0x53ab89=this[_0xe9cdf6(0x19e)][_0xe9cdf6(0x1bb)](r['IExchangeService']);if(!_0x53ab89)throw new Error(_0xe9cdf6(0x1ab));return _0x53ab89[_0xe9cdf6(0x1b2)](_0x112c11);}async[_0x1d8425(0x1b4)](_0x20f23f){const _0x564cb2=_0x1d8425;return this[_0x564cb2(0x1b9)](_0x20f23f);}async[_0x1d8425(0x1b9)](_0x25021d){const _0x57c616=_0x1d8425,_0x287bcf=this[_0x57c616(0x19e)][_0x57c616(0x1bb)](r['IExchangeService']);if(!_0x287bcf)throw new Error(_0x57c616(0x1ab));return _0x287bcf[_0x57c616(0x1b4)](_0x25021d);}async['exportXLSXBySnapshot'](_0x5529b8){const _0x197322=_0x1d8425;return this[_0x197322(0x1a5)](_0x5529b8);}async[_0x1d8425(0x1a5)](_0x116328){const _0x3a330a=_0x1d8425,_0x2433f4=this[_0x3a330a(0x19e)][_0x3a330a(0x1bb)](r[_0x3a330a(0x1a8)]);if(!_0x2433f4)throw new Error(_0x3a330a(0x1ab));return _0x2433f4['exportXLSXBySnapshot'](_0x116328);}async['importDOCXToUnitId'](_0x395123){const _0x312630=_0x1d8425;return this[_0x312630(0x19d)](_0x395123);}async[_0x1d8425(0x19d)](_0x3b818f){const _0x35d3f9=_0x1d8425,_0x265505=this[_0x35d3f9(0x19e)]['get'](r[_0x35d3f9(0x1a8)]);if(!_0x265505)throw new Error(_0x35d3f9(0x1ab));return _0x265505[_0x35d3f9(0x1a0)](_0x3b818f,o[_0x35d3f9(0x19c)]);}async['importDOCXToSnapshot'](_0x2966c0){return this['importDOCXToSnapshotAsync'](_0x2966c0);}async[_0x1d8425(0x1ba)](_0x5d1c98){const _0x3f4707=_0x1d8425,_0x45cbf4=this['_injector']['get'](r[_0x3f4707(0x1a8)]);if(!_0x45cbf4)throw new Error(_0x3f4707(0x1ab));return _0x45cbf4[_0x3f4707(0x1ad)](_0x5d1c98);}}i[_0x1d8425(0x1a3)][_0x1d8425(0x1b3)](c);
1
+ 'use strict';const _0x723d2a=_0xa464;(function(_0x34aed3,_0x3f40b6){const _0x7c2f55=_0xa464,_0x2fa909=_0x34aed3();while(!![]){try{const _0x1bb469=-parseInt(_0x7c2f55(0x1c6))/0x1+-parseInt(_0x7c2f55(0x1b9))/0x2+-parseInt(_0x7c2f55(0x1c7))/0x3+parseInt(_0x7c2f55(0x1d3))/0x4*(parseInt(_0x7c2f55(0x1bc))/0x5)+-parseInt(_0x7c2f55(0x1d0))/0x6*(-parseInt(_0x7c2f55(0x1b8))/0x7)+-parseInt(_0x7c2f55(0x1cb))/0x8+parseInt(_0x7c2f55(0x1b7))/0x9*(parseInt(_0x7c2f55(0x1cd))/0xa);if(_0x1bb469===_0x3f40b6)break;else _0x2fa909['push'](_0x2fa909['shift']());}catch(_0x36677f){_0x2fa909['push'](_0x2fa909['shift']());}}}(_0x4444,0x69a26));const r=require(_0x723d2a(0x1c9)),i=require(_0x723d2a(0x1c0));var o=(_0x4fb029=>(_0x4fb029[_0x4fb029[_0x723d2a(0x1ca)]=0x0]=_0x723d2a(0x1ca),_0x4fb029[_0x4fb029[_0x723d2a(0x1ce)]=0x1]=_0x723d2a(0x1ce),_0x4fb029[_0x4fb029[_0x723d2a(0x1be)]=0x2]=_0x723d2a(0x1be),_0x4fb029[_0x4fb029['UNIVER_SLIDE']=0x3]=_0x723d2a(0x1ba),_0x4fb029[_0x4fb029[_0x723d2a(0x1c3)]=0x4]=_0x723d2a(0x1c3),_0x4fb029[_0x4fb029['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4fb029))(o||{});class c extends i[_0x723d2a(0x1c2)]{async[_0x723d2a(0x1b6)](_0x15cfd6){const _0x47459f=_0x723d2a;return this[_0x47459f(0x1d5)](_0x15cfd6);}async[_0x723d2a(0x1d5)](_0x290cbf){const _0x7dd83d=_0x723d2a,_0x2693f7=this[_0x7dd83d(0x1c4)][_0x7dd83d(0x1c5)](r['IExchangeService']);if(!_0x2693f7)throw new Error(_0x7dd83d(0x1d1));return _0x2693f7[_0x7dd83d(0x1b5)](_0x290cbf,o['UNIVER_SHEET']);}async[_0x723d2a(0x1c8)](_0x4ad4e9){const _0x1bbee8=_0x723d2a;return this[_0x1bbee8(0x1b4)](_0x4ad4e9);}async[_0x723d2a(0x1b4)](_0x19a650){const _0x20cfc7=_0x723d2a,_0x111734=this[_0x20cfc7(0x1c4)][_0x20cfc7(0x1c5)](r[_0x20cfc7(0x1d4)]);if(!_0x111734)throw new Error(_0x20cfc7(0x1d1));return _0x111734[_0x20cfc7(0x1c8)](_0x19a650);}async[_0x723d2a(0x1bd)](_0x33d58e){const _0x4afe36=_0x723d2a;return this[_0x4afe36(0x1d6)](_0x33d58e);}async['exportXLSXByUnitIdAsync'](_0x3c7a44){const _0x324d51=_0x723d2a,_0x441ea8=this[_0x324d51(0x1c4)][_0x324d51(0x1c5)](r[_0x324d51(0x1d4)]);if(!_0x441ea8)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x441ea8[_0x324d51(0x1bd)](_0x3c7a44);}async[_0x723d2a(0x1bb)](_0xda4ebf){const _0x144c24=_0x723d2a;return this[_0x144c24(0x1d2)](_0xda4ebf);}async[_0x723d2a(0x1d2)](_0x57cf36){const _0x1f8c9b=_0x723d2a,_0x2eaa4c=this['_injector'][_0x1f8c9b(0x1c5)](r[_0x1f8c9b(0x1d4)]);if(!_0x2eaa4c)throw new Error(_0x1f8c9b(0x1d1));return _0x2eaa4c[_0x1f8c9b(0x1bb)](_0x57cf36);}async[_0x723d2a(0x1cc)](_0x1f4d3a){return this['importDOCXToUnitIdAsync'](_0x1f4d3a);}async[_0x723d2a(0x1bf)](_0x1d176f){const _0x55d242=_0x723d2a,_0x1e125d=this[_0x55d242(0x1c4)][_0x55d242(0x1c5)](r[_0x55d242(0x1d4)]);if(!_0x1e125d)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1e125d['importFileToUnitId'](_0x1d176f,o[_0x55d242(0x1ce)]);}async['importDOCXToSnapshot'](_0x52a0b3){const _0x3e759d=_0x723d2a;return this[_0x3e759d(0x1c1)](_0x52a0b3);}async[_0x723d2a(0x1c1)](_0x51f653){const _0x504321=_0x723d2a,_0x55260c=this[_0x504321(0x1c4)][_0x504321(0x1c5)](r['IExchangeService']);if(!_0x55260c)throw new Error(_0x504321(0x1d1));return _0x55260c[_0x504321(0x1cf)](_0x51f653);}}function _0x4444(){const _0xe501ae=['484310IDdKpA','UNIVER_SLIDE','exportXLSXBySnapshot','725YOwkxw','exportXLSXByUnitId','UNIVER_SHEET','importDOCXToUnitIdAsync','@univerjs/core/facade','importDOCXToSnapshotAsync','FUniver','UNIVER_PROJECT','_injector','get','575882ocBxew','2208690qIwDih','importXLSXToSnapshot','@univerjs-pro/exchange-client','UNIVER_UNKNOWN','3169664CORTRv','importDOCXToUnitId','1380eiQvSb','UNIVER_DOC','importDOCXToSnapshot','984qBbUtB','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXBySnapshotAsync','1308vGOndN','IExchangeService','importXLSXToUnitIdAsync','exportXLSXByUnitIdAsync','importXLSXToSnapshotAsync','importFileToUnitId','importXLSXToUnitId','104211vmzLDv','31493pfqMbE'];_0x4444=function(){return _0xe501ae;};return _0x4444();}function _0xa464(_0xbf6a5,_0x23d1e4){const _0x44448a=_0x4444();return _0xa464=function(_0xa46439,_0x4d6385){_0xa46439=_0xa46439-0x1b4;let _0x4ebe67=_0x44448a[_0xa46439];return _0x4ebe67;},_0xa464(_0xbf6a5,_0x23d1e4);}i[_0x723d2a(0x1c2)]['extend'](c);