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

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';function _0x3718(_0x26eb26,_0x527ad3){const _0x4929df=_0x4929();return _0x3718=function(_0x3718bc,_0x3d1c88){_0x3718bc=_0x3718bc-0xe6;let _0x5e3a8a=_0x4929df[_0x3718bc];return _0x5e3a8a;},_0x3718(_0x26eb26,_0x527ad3);}const _0x30d55a=_0x3718;(function(_0x363d13,_0x3545bc){const _0x3d58ca=_0x3718,_0x567c22=_0x363d13();while(!![]){try{const _0x49ff58=parseInt(_0x3d58ca(0xea))/0x1*(-parseInt(_0x3d58ca(0xec))/0x2)+-parseInt(_0x3d58ca(0x102))/0x3*(parseInt(_0x3d58ca(0x105))/0x4)+-parseInt(_0x3d58ca(0x106))/0x5+parseInt(_0x3d58ca(0x104))/0x6*(parseInt(_0x3d58ca(0xf8))/0x7)+-parseInt(_0x3d58ca(0xf2))/0x8+-parseInt(_0x3d58ca(0xf3))/0x9+-parseInt(_0x3d58ca(0xe9))/0xa*(-parseInt(_0x3d58ca(0xfa))/0xb);if(_0x49ff58===_0x3545bc)break;else _0x567c22['push'](_0x567c22['shift']());}catch(_0x151e3e){_0x567c22['push'](_0x567c22['shift']());}}}(_0x4929,0x2d31b));function _0x4929(){const _0x9e388a=['The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToSnapshotAsync','UNIVER_SLIDE','@univerjs-pro/exchange-client','get','UNRECOGNIZED','33ulAzRE','importXLSXToUnitIdAsync','6DpZLUA','126388BkIKWi','1208340gQEzuv','importXLSXToUnitId','UNIVER_DOC','_injector','IExchangeService','importDOCXToSnapshot','exportXLSXByUnitIdAsync','1333090vcIQMJ','19051AccnCU','importDOCXToUnitIdAsync','2Ozdktt','importXLSXToSnapshot','UNIVER_PROJECT','FUniver','importDOCXToUnitId','exportXLSXBySnapshotAsync','2465432NpAvDt','1731321Bifuzu','UNIVER_SHEET','importXLSXToSnapshotAsync','exportXLSXByUnitId','importFileToUnitId','1592339pzxJYQ','extend','88zHUTuc','exportXLSXBySnapshot'];_0x4929=function(){return _0x9e388a;};return _0x4929();}const r=require(_0x30d55a(0xff)),i=require('@univerjs/core/facade');var o=(_0x4edae6=>(_0x4edae6[_0x4edae6['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x4edae6[_0x4edae6[_0x30d55a(0x108)]=0x1]=_0x30d55a(0x108),_0x4edae6[_0x4edae6[_0x30d55a(0xf4)]=0x2]='UNIVER_SHEET',_0x4edae6[_0x4edae6[_0x30d55a(0xfe)]=0x3]='UNIVER_SLIDE',_0x4edae6[_0x4edae6[_0x30d55a(0xee)]=0x4]=_0x30d55a(0xee),_0x4edae6[_0x4edae6[_0x30d55a(0x101)]=-0x1]=_0x30d55a(0x101),_0x4edae6))(o||{});class c extends i[_0x30d55a(0xef)]{async[_0x30d55a(0x107)](_0x5c3c9e){const _0x3305a7=_0x30d55a;return this[_0x3305a7(0x103)](_0x5c3c9e);}async[_0x30d55a(0x103)](_0x4c63e6){const _0x238c3a=_0x30d55a,_0xf2498d=this[_0x238c3a(0x109)][_0x238c3a(0x100)](r[_0x238c3a(0xe6)]);if(!_0xf2498d)throw new Error(_0x238c3a(0xfc));return _0xf2498d['importFileToUnitId'](_0x4c63e6,o[_0x238c3a(0xf4)]);}async[_0x30d55a(0xed)](_0x32329b){const _0x35e223=_0x30d55a;return this[_0x35e223(0xf5)](_0x32329b);}async['importXLSXToSnapshotAsync'](_0x4e2eca){const _0x362bff=this['_injector']['get'](r['IExchangeService']);if(!_0x362bff)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x362bff['importXLSXToSnapshot'](_0x4e2eca);}async[_0x30d55a(0xf6)](_0x475608){const _0x2f87bb=_0x30d55a;return this[_0x2f87bb(0xe8)](_0x475608);}async[_0x30d55a(0xe8)](_0xbe1808){const _0x4cc041=_0x30d55a,_0x3b889e=this[_0x4cc041(0x109)][_0x4cc041(0x100)](r[_0x4cc041(0xe6)]);if(!_0x3b889e)throw new Error(_0x4cc041(0xfc));return _0x3b889e[_0x4cc041(0xf6)](_0xbe1808);}async['exportXLSXBySnapshot'](_0x509940){return this['exportXLSXBySnapshotAsync'](_0x509940);}async[_0x30d55a(0xf1)](_0x3eeee8){const _0x278e7b=_0x30d55a,_0x6aee85=this['_injector'][_0x278e7b(0x100)](r[_0x278e7b(0xe6)]);if(!_0x6aee85)throw new Error(_0x278e7b(0xfc));return _0x6aee85[_0x278e7b(0xfb)](_0x3eeee8);}async[_0x30d55a(0xf0)](_0x528054){const _0x30ea63=_0x30d55a;return this[_0x30ea63(0xeb)](_0x528054);}async[_0x30d55a(0xeb)](_0x43273c){const _0x5422d2=_0x30d55a,_0x125e7c=this[_0x5422d2(0x109)]['get'](r[_0x5422d2(0xe6)]);if(!_0x125e7c)throw new Error(_0x5422d2(0xfc));return _0x125e7c[_0x5422d2(0xf7)](_0x43273c,o[_0x5422d2(0x108)]);}async[_0x30d55a(0xe7)](_0x5d3025){const _0x3fc2e5=_0x30d55a;return this[_0x3fc2e5(0xfd)](_0x5d3025);}async[_0x30d55a(0xfd)](_0x386281){const _0x99a38d=_0x30d55a,_0x40fffc=this[_0x99a38d(0x109)][_0x99a38d(0x100)](r['IExchangeService']);if(!_0x40fffc)throw new Error(_0x99a38d(0xfc));return _0x40fffc[_0x99a38d(0xe7)](_0x386281);}}i[_0x30d55a(0xef)][_0x30d55a(0xf9)](c);