@univerjs-pro/exchange-client 0.6.10-experimental.20250411-f5b7b16 → 0.6.10-nightly.202504111607

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 _0x4dd5c6=_0x5205;(function(_0xdd4056,_0x29d1cc){const _0x39f0de=_0x5205,_0x1244a8=_0xdd4056();while(!![]){try{const _0x6dc387=parseInt(_0x39f0de(0x19a))/0x1*(-parseInt(_0x39f0de(0x198))/0x2)+parseInt(_0x39f0de(0x18c))/0x3+parseInt(_0x39f0de(0x18f))/0x4*(-parseInt(_0x39f0de(0x1a2))/0x5)+-parseInt(_0x39f0de(0x1a3))/0x6+-parseInt(_0x39f0de(0x18e))/0x7+parseInt(_0x39f0de(0x187))/0x8+-parseInt(_0x39f0de(0x1a4))/0x9*(-parseInt(_0x39f0de(0x1a1))/0xa);if(_0x6dc387===_0x29d1cc)break;else _0x1244a8['push'](_0x1244a8['shift']());}catch(_0x45a3b4){_0x1244a8['push'](_0x1244a8['shift']());}}}(_0x4a59,0x189ab));const r=require(_0x4dd5c6(0x19f)),i=require('@univerjs/core/facade');var o=(_0x244db8=>(_0x244db8[_0x244db8[_0x4dd5c6(0x195)]=0x0]=_0x4dd5c6(0x195),_0x244db8[_0x244db8[_0x4dd5c6(0x194)]=0x1]=_0x4dd5c6(0x194),_0x244db8[_0x244db8[_0x4dd5c6(0x1a0)]=0x2]=_0x4dd5c6(0x1a0),_0x244db8[_0x244db8['UNIVER_SLIDE']=0x3]=_0x4dd5c6(0x196),_0x244db8[_0x244db8[_0x4dd5c6(0x185)]=0x4]=_0x4dd5c6(0x185),_0x244db8[_0x244db8[_0x4dd5c6(0x18d)]=-0x1]=_0x4dd5c6(0x18d),_0x244db8))(o||{});function _0x5205(_0x14d7b2,_0xa614a4){const _0x4a59af=_0x4a59();return _0x5205=function(_0x52050b,_0xeeda5d){_0x52050b=_0x52050b-0x184;let _0x5b6f72=_0x4a59af[_0x52050b];return _0x5b6f72;},_0x5205(_0x14d7b2,_0xa614a4);}class c extends i[_0x4dd5c6(0x184)]{async[_0x4dd5c6(0x18b)](_0x58b8bb){const _0x10e4a8=_0x4dd5c6;return this[_0x10e4a8(0x19e)](_0x58b8bb);}async[_0x4dd5c6(0x19e)](_0x4f840b){const _0x4f5f28=_0x4dd5c6,_0xaa80b0=this[_0x4f5f28(0x19d)]['get'](r['IExchangeService']);if(!_0xaa80b0)throw new Error(_0x4f5f28(0x19c));return _0xaa80b0[_0x4f5f28(0x191)](_0x4f840b,o['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x1232dd){return this['importXLSXToSnapshotAsync'](_0x1232dd);}async[_0x4dd5c6(0x190)](_0x479f6f){const _0x57d3f5=_0x4dd5c6,_0x5d69e0=this[_0x57d3f5(0x19d)][_0x57d3f5(0x186)](r['IExchangeService']);if(!_0x5d69e0)throw new Error(_0x57d3f5(0x19c));return _0x5d69e0[_0x57d3f5(0x193)](_0x479f6f);}async[_0x4dd5c6(0x1a5)](_0x112d37){const _0x45f18d=_0x4dd5c6;return this[_0x45f18d(0x19b)](_0x112d37);}async[_0x4dd5c6(0x19b)](_0xcc19cd){const _0x362713=_0x4dd5c6,_0x2e6761=this['_injector'][_0x362713(0x186)](r['IExchangeService']);if(!_0x2e6761)throw new Error(_0x362713(0x19c));return _0x2e6761[_0x362713(0x1a5)](_0xcc19cd);}async['exportXLSXBySnapshot'](_0x4c2735){return this['exportXLSXBySnapshotAsync'](_0x4c2735);}async[_0x4dd5c6(0x188)](_0x14143b){const _0xf83eaa=_0x4dd5c6,_0x1d81b1=this[_0xf83eaa(0x19d)][_0xf83eaa(0x186)](r[_0xf83eaa(0x189)]);if(!_0x1d81b1)throw new Error(_0xf83eaa(0x19c));return _0x1d81b1[_0xf83eaa(0x18a)](_0x14143b);}async['importDOCXToUnitId'](_0x4f30cd){const _0x14c225=_0x4dd5c6;return this[_0x14c225(0x199)](_0x4f30cd);}async['importDOCXToUnitIdAsync'](_0x41112a){const _0x2689e=_0x4dd5c6,_0x51bce6=this[_0x2689e(0x19d)]['get'](r['IExchangeService']);if(!_0x51bce6)throw new Error(_0x2689e(0x19c));return _0x51bce6[_0x2689e(0x191)](_0x41112a,o['UNIVER_DOC']);}async[_0x4dd5c6(0x192)](_0x4822a6){const _0x291a28=_0x4dd5c6;return this[_0x291a28(0x197)](_0x4822a6);}async[_0x4dd5c6(0x197)](_0x45933b){const _0x54329c=_0x4dd5c6,_0x45bda1=this[_0x54329c(0x19d)]['get'](r['IExchangeService']);if(!_0x45bda1)throw new Error(_0x54329c(0x19c));return _0x45bda1[_0x54329c(0x192)](_0x45933b);}}function _0x4a59(){const _0xd4c272=['importXLSXToSnapshot','UNIVER_DOC','UNIVER_UNKNOWN','UNIVER_SLIDE','importDOCXToSnapshotAsync','3934zAsUuw','importDOCXToUnitIdAsync','8MzrRyc','exportXLSXByUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','_injector','importXLSXToUnitIdAsync','@univerjs-pro/exchange-client','UNIVER_SHEET','43030bgvYbF','935290uZMFjo','93120jmtkAs','423OzJxhO','exportXLSXByUnitId','FUniver','UNIVER_PROJECT','get','892240XZiaxt','exportXLSXBySnapshotAsync','IExchangeService','exportXLSXBySnapshot','importXLSXToUnitId','254088ToJZHD','UNRECOGNIZED','555618sNTISF','4KeedJY','importXLSXToSnapshotAsync','importFileToUnitId','importDOCXToSnapshot'];_0x4a59=function(){return _0xd4c272;};return _0x4a59();}i[_0x4dd5c6(0x184)]['extend'](c);
1
+ 'use strict';const _0x577e86=_0x105b;(function(_0xdea353,_0x3be2ac){const _0x2826c8=_0x105b,_0x37f8b0=_0xdea353();while(!![]){try{const _0x2f6b88=-parseInt(_0x2826c8(0x133))/0x1+-parseInt(_0x2826c8(0x12e))/0x2*(parseInt(_0x2826c8(0x12a))/0x3)+parseInt(_0x2826c8(0x11f))/0x4*(-parseInt(_0x2826c8(0x123))/0x5)+-parseInt(_0x2826c8(0x118))/0x6*(parseInt(_0x2826c8(0x11c))/0x7)+-parseInt(_0x2826c8(0x12b))/0x8+parseInt(_0x2826c8(0x125))/0x9*(-parseInt(_0x2826c8(0x11a))/0xa)+parseInt(_0x2826c8(0x130))/0xb;if(_0x2f6b88===_0x3be2ac)break;else _0x37f8b0['push'](_0x37f8b0['shift']());}catch(_0x501583){_0x37f8b0['push'](_0x37f8b0['shift']());}}}(_0x58f7,0x23137));const r=require('@univerjs-pro/exchange-client'),i=require(_0x577e86(0x128));function _0x58f7(){const _0x372a95=['UNIVER_DOC','UNIVER_SLIDE','6ChMZTe','UNIVER_PROJECT','10665501NcUdJm','FUniver','exportXLSXBySnapshotAsync','90453PUWxYV','UNRECOGNIZED','exportXLSXBySnapshot','IExchangeService','importFileToUnitId','extend','importXLSXToSnapshotAsync','importXLSXToUnitId','importXLSXToSnapshot','_injector','762bpMsOe','The\x20exchange\x20service\x20is\x20not\x20available','4490XIbLEg','importDOCXToUnitIdAsync','3787tYrRlt','importDOCXToUnitId','importDOCXToSnapshot','1137280joHxXk','exportXLSXByUnitId','importXLSXToUnitIdAsync','get','5DvTPTJ','exportXLSXByUnitIdAsync','2151ptyuas','UNIVER_UNKNOWN','UNIVER_SHEET','@univerjs/core/facade','importDOCXToSnapshotAsync','206277pWyQuE','550816VpzMJm'];_0x58f7=function(){return _0x372a95;};return _0x58f7();}var o=(_0x4f3b5d=>(_0x4f3b5d[_0x4f3b5d['UNIVER_UNKNOWN']=0x0]=_0x577e86(0x126),_0x4f3b5d[_0x4f3b5d['UNIVER_DOC']=0x1]=_0x577e86(0x12c),_0x4f3b5d[_0x4f3b5d[_0x577e86(0x127)]=0x2]=_0x577e86(0x127),_0x4f3b5d[_0x4f3b5d[_0x577e86(0x12d)]=0x3]=_0x577e86(0x12d),_0x4f3b5d[_0x4f3b5d[_0x577e86(0x12f)]=0x4]='UNIVER_PROJECT',_0x4f3b5d[_0x4f3b5d[_0x577e86(0x134)]=-0x1]=_0x577e86(0x134),_0x4f3b5d))(o||{});function _0x105b(_0x2b5d65,_0x8eb4b9){const _0x58f747=_0x58f7();return _0x105b=function(_0x105bf9,_0x29e5b7){_0x105bf9=_0x105bf9-0x110;let _0x213047=_0x58f747[_0x105bf9];return _0x213047;},_0x105b(_0x2b5d65,_0x8eb4b9);}class c extends i[_0x577e86(0x131)]{async[_0x577e86(0x115)](_0x3b5c7b){const _0x11c811=_0x577e86;return this[_0x11c811(0x121)](_0x3b5c7b);}async[_0x577e86(0x121)](_0x1f5da3){const _0x339046=_0x577e86,_0x123cfa=this[_0x339046(0x117)][_0x339046(0x122)](r['IExchangeService']);if(!_0x123cfa)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x123cfa[_0x339046(0x112)](_0x1f5da3,o[_0x339046(0x127)]);}async[_0x577e86(0x116)](_0x562907){return this['importXLSXToSnapshotAsync'](_0x562907);}async[_0x577e86(0x114)](_0x432996){const _0x8a597b=_0x577e86,_0x3e3418=this['_injector'][_0x8a597b(0x122)](r[_0x8a597b(0x111)]);if(!_0x3e3418)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3e3418[_0x8a597b(0x116)](_0x432996);}async[_0x577e86(0x120)](_0x4a499f){const _0xba6e2f=_0x577e86;return this[_0xba6e2f(0x124)](_0x4a499f);}async[_0x577e86(0x124)](_0x7bdeb2){const _0x6aabbe=_0x577e86,_0x504de8=this[_0x6aabbe(0x117)][_0x6aabbe(0x122)](r[_0x6aabbe(0x111)]);if(!_0x504de8)throw new Error(_0x6aabbe(0x119));return _0x504de8[_0x6aabbe(0x120)](_0x7bdeb2);}async[_0x577e86(0x110)](_0x8dc8ab){const _0x2b041d=_0x577e86;return this[_0x2b041d(0x132)](_0x8dc8ab);}async[_0x577e86(0x132)](_0x121a29){const _0x46ea65=_0x577e86,_0x4fa4d0=this[_0x46ea65(0x117)][_0x46ea65(0x122)](r[_0x46ea65(0x111)]);if(!_0x4fa4d0)throw new Error(_0x46ea65(0x119));return _0x4fa4d0['exportXLSXBySnapshot'](_0x121a29);}async[_0x577e86(0x11d)](_0x24b948){const _0xae338b=_0x577e86;return this[_0xae338b(0x11b)](_0x24b948);}async['importDOCXToUnitIdAsync'](_0x350a5d){const _0x1c451c=_0x577e86,_0x4ccb25=this[_0x1c451c(0x117)]['get'](r[_0x1c451c(0x111)]);if(!_0x4ccb25)throw new Error(_0x1c451c(0x119));return _0x4ccb25[_0x1c451c(0x112)](_0x350a5d,o['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x11f6c8){return this['importDOCXToSnapshotAsync'](_0x11f6c8);}async[_0x577e86(0x129)](_0x3eba8f){const _0x330794=_0x577e86,_0x2fc628=this[_0x330794(0x117)][_0x330794(0x122)](r[_0x330794(0x111)]);if(!_0x2fc628)throw new Error(_0x330794(0x119));return _0x2fc628[_0x330794(0x11e)](_0x3eba8f);}}i['FUniver'][_0x577e86(0x113)](c);