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

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';function _0x5786(_0x193c2f,_0x1a8fbb){const _0x4e668e=_0x4e66();return _0x5786=function(_0x578612,_0xd7ffbe){_0x578612=_0x578612-0x119;let _0x2fc503=_0x4e668e[_0x578612];return _0x2fc503;},_0x5786(_0x193c2f,_0x1a8fbb);}const _0x7f3744=_0x5786;(function(_0x1cd033,_0x228e8e){const _0x4c23bc=_0x5786,_0x70c2c9=_0x1cd033();while(!![]){try{const _0x53def0=-parseInt(_0x4c23bc(0x136))/0x1+-parseInt(_0x4c23bc(0x123))/0x2*(-parseInt(_0x4c23bc(0x127))/0x3)+parseInt(_0x4c23bc(0x13a))/0x4+-parseInt(_0x4c23bc(0x12a))/0x5+-parseInt(_0x4c23bc(0x139))/0x6*(-parseInt(_0x4c23bc(0x11d))/0x7)+-parseInt(_0x4c23bc(0x137))/0x8+parseInt(_0x4c23bc(0x133))/0x9;if(_0x53def0===_0x228e8e)break;else _0x70c2c9['push'](_0x70c2c9['shift']());}catch(_0x400131){_0x70c2c9['push'](_0x70c2c9['shift']());}}}(_0x4e66,0xd9324));const r=require(_0x7f3744(0x135)),i=require(_0x7f3744(0x12d));var o=(_0x174888=>(_0x174888[_0x174888[_0x7f3744(0x11c)]=0x0]=_0x7f3744(0x11c),_0x174888[_0x174888[_0x7f3744(0x12f)]=0x1]=_0x7f3744(0x12f),_0x174888[_0x174888[_0x7f3744(0x125)]=0x2]=_0x7f3744(0x125),_0x174888[_0x174888[_0x7f3744(0x12b)]=0x3]=_0x7f3744(0x12b),_0x174888[_0x174888[_0x7f3744(0x130)]=0x4]=_0x7f3744(0x130),_0x174888[_0x174888['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x174888))(o||{});class c extends i[_0x7f3744(0x12c)]{async[_0x7f3744(0x126)](_0x2f6216){return this['importXLSXToUnitIdAsync'](_0x2f6216);}async['importXLSXToUnitIdAsync'](_0xa38ea0){const _0x568e1d=_0x7f3744,_0x46048a=this['_injector'][_0x568e1d(0x120)](r[_0x568e1d(0x129)]);if(!_0x46048a)throw new Error(_0x568e1d(0x11b));return _0x46048a[_0x568e1d(0x128)](_0xa38ea0,o[_0x568e1d(0x125)]);}async[_0x7f3744(0x12e)](_0x503c61){const _0x4e677e=_0x7f3744;return this[_0x4e677e(0x119)](_0x503c61);}async[_0x7f3744(0x119)](_0x2c78fa){const _0x2bff5b=_0x7f3744,_0xb48d85=this[_0x2bff5b(0x121)]['get'](r[_0x2bff5b(0x129)]);if(!_0xb48d85)throw new Error(_0x2bff5b(0x11b));return _0xb48d85[_0x2bff5b(0x12e)](_0x2c78fa);}async[_0x7f3744(0x11e)](_0x1953e3){return this['exportXLSXByUnitIdAsync'](_0x1953e3);}async[_0x7f3744(0x122)](_0x29d8c9){const _0x22ccf7=_0x7f3744,_0x362d92=this[_0x22ccf7(0x121)]['get'](r[_0x22ccf7(0x129)]);if(!_0x362d92)throw new Error(_0x22ccf7(0x11b));return _0x362d92[_0x22ccf7(0x11e)](_0x29d8c9);}async[_0x7f3744(0x11f)](_0x430cc2){const _0x32d961=_0x7f3744;return this[_0x32d961(0x131)](_0x430cc2);}async['exportXLSXBySnapshotAsync'](_0x595f6d){const _0x2bb20c=_0x7f3744,_0xb87f09=this[_0x2bb20c(0x121)][_0x2bb20c(0x120)](r[_0x2bb20c(0x129)]);if(!_0xb87f09)throw new Error(_0x2bb20c(0x11b));return _0xb87f09['exportXLSXBySnapshot'](_0x595f6d);}async[_0x7f3744(0x134)](_0x77f7b6){return this['importDOCXToUnitIdAsync'](_0x77f7b6);}async[_0x7f3744(0x124)](_0x4165b1){const _0x44300d=_0x7f3744,_0x4892ac=this[_0x44300d(0x121)][_0x44300d(0x120)](r[_0x44300d(0x129)]);if(!_0x4892ac)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4892ac['importFileToUnitId'](_0x4165b1,o['UNIVER_DOC']);}async[_0x7f3744(0x138)](_0x1a0861){const _0x1d6b31=_0x7f3744;return this[_0x1d6b31(0x11a)](_0x1a0861);}async[_0x7f3744(0x11a)](_0x16dcb6){const _0x411785=_0x7f3744,_0x49fcb1=this[_0x411785(0x121)]['get'](r[_0x411785(0x129)]);if(!_0x49fcb1)throw new Error(_0x411785(0x11b));return _0x49fcb1[_0x411785(0x138)](_0x16dcb6);}}function _0x4e66(){const _0xfe1ed=['importXLSXToSnapshotAsync','importDOCXToSnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_UNKNOWN','28nPljFf','exportXLSXByUnitId','exportXLSXBySnapshot','get','_injector','exportXLSXByUnitIdAsync','34zKKaMP','importDOCXToUnitIdAsync','UNIVER_SHEET','importXLSXToUnitId','287775uQjmzw','importFileToUnitId','IExchangeService','4406855gjmcmM','UNIVER_SLIDE','FUniver','@univerjs/core/facade','importXLSXToSnapshot','UNIVER_DOC','UNIVER_PROJECT','exportXLSXBySnapshotAsync','extend','13113999KsBrXn','importDOCXToUnitId','@univerjs-pro/exchange-client','1457920gTUgWK','14160920PkiXSm','importDOCXToSnapshot','1855614ZNlCLJ','2696520oKMYyF'];_0x4e66=function(){return _0xfe1ed;};return _0x4e66();}i[_0x7f3744(0x12c)][_0x7f3744(0x132)](c);
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);