@univerjs-pro/exchange-client 0.8.3-nightly.202507031607 → 0.8.3

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 _0xf69bf5=_0x2285;(function(_0xcb3352,_0x54f3f3){const _0xea42c4=_0x2285,_0x127a27=_0xcb3352();while(!![]){try{const _0x5459ee=parseInt(_0xea42c4(0xe1))/0x1*(-parseInt(_0xea42c4(0xe6))/0x2)+-parseInt(_0xea42c4(0xea))/0x3+-parseInt(_0xea42c4(0xce))/0x4*(-parseInt(_0xea42c4(0xd5))/0x5)+parseInt(_0xea42c4(0xdb))/0x6*(-parseInt(_0xea42c4(0xe5))/0x7)+parseInt(_0xea42c4(0xcc))/0x8+-parseInt(_0xea42c4(0xd4))/0x9+parseInt(_0xea42c4(0xda))/0xa;if(_0x5459ee===_0x54f3f3)break;else _0x127a27['push'](_0x127a27['shift']());}catch(_0x1d1557){_0x127a27['push'](_0x127a27['shift']());}}}(_0x436e,0xb99ea));function _0x2285(_0x1489d0,_0x2168ca){const _0x436e90=_0x436e();return _0x2285=function(_0x2285ef,_0x49a8c1){_0x2285ef=_0x2285ef-0xcc;let _0xd9cce6=_0x436e90[_0x2285ef];return _0xd9cce6;},_0x2285(_0x1489d0,_0x2168ca);}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0xbf2a48=>(_0xbf2a48[_0xbf2a48[_0xf69bf5(0xe4)]=0x0]=_0xf69bf5(0xe4),_0xbf2a48[_0xbf2a48[_0xf69bf5(0xe8)]=0x1]=_0xf69bf5(0xe8),_0xbf2a48[_0xbf2a48[_0xf69bf5(0xd2)]=0x2]=_0xf69bf5(0xd2),_0xbf2a48[_0xbf2a48['UNIVER_SLIDE']=0x3]=_0xf69bf5(0xe7),_0xbf2a48[_0xbf2a48[_0xf69bf5(0xee)]=0x4]=_0xf69bf5(0xee),_0xbf2a48[_0xbf2a48[_0xf69bf5(0xe2)]=-0x1]=_0xf69bf5(0xe2),_0xbf2a48))(i||{});class c extends o['FUniver']{async['importXLSXToUnitId'](_0x5b4d28){const _0x560c64=_0xf69bf5;return this[_0x560c64(0xec)](_0x5b4d28);}async[_0xf69bf5(0xec)](_0x20dc75){const _0xdd1d99=_0xf69bf5,_0x4025fc=this['_injector'][_0xdd1d99(0xe9)](r[_0xdd1d99(0xdd)]);if(!_0x4025fc)throw new Error(_0xdd1d99(0xd6));return _0x4025fc[_0xdd1d99(0xe0)](_0x20dc75,i[_0xdd1d99(0xd2)]);}async['importXLSXToSnapshot'](_0x19b8b6){return this['importXLSXToSnapshotAsync'](_0x19b8b6);}async[_0xf69bf5(0xd3)](_0x468a5a){const _0x3a9763=_0xf69bf5,_0x5f0645=this[_0x3a9763(0xcf)]['get'](r['IExchangeService']);if(!_0x5f0645)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5f0645[_0x3a9763(0xd0)](_0x468a5a);}async[_0xf69bf5(0xd7)](_0x5b7828){const _0x277297=_0xf69bf5;return this[_0x277297(0xed)](_0x5b7828);}async['exportXLSXByUnitIdAsync'](_0x5353aa){const _0x1588db=_0xf69bf5,_0x239db4=this['_injector'][_0x1588db(0xe9)](r[_0x1588db(0xdd)]);if(!_0x239db4)throw new Error(_0x1588db(0xd6));return _0x239db4[_0x1588db(0xd7)](_0x5353aa);}async[_0xf69bf5(0xdc)](_0x334fdc){return this['exportXLSXBySnapshotAsync'](_0x334fdc);}async['exportXLSXBySnapshotAsync'](_0x54c4ee){const _0x282fc8=_0xf69bf5,_0x1a191c=this['_injector'][_0x282fc8(0xe9)](r[_0x282fc8(0xdd)]);if(!_0x1a191c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1a191c[_0x282fc8(0xdc)](_0x54c4ee);}async[_0xf69bf5(0xd9)](_0x1ce841){const _0x152a37=_0xf69bf5;return this[_0x152a37(0xcd)](_0x1ce841);}async[_0xf69bf5(0xcd)](_0x1d9b69){const _0x4115df=_0xf69bf5,_0x1e8c5e=this[_0x4115df(0xcf)]['get'](r[_0x4115df(0xdd)]);if(!_0x1e8c5e)throw new Error(_0x4115df(0xd6));return _0x1e8c5e['importFileToUnitId'](_0x1d9b69,i['UNIVER_DOC']);}async[_0xf69bf5(0xeb)](_0x4304c9){const _0x4dec18=_0xf69bf5;return this[_0x4dec18(0xd1)](_0x4304c9);}async[_0xf69bf5(0xd1)](_0x1280c3){const _0xb88eee=_0xf69bf5,_0x207688=this[_0xb88eee(0xcf)][_0xb88eee(0xe9)](r[_0xb88eee(0xdd)]);if(!_0x207688)throw new Error(_0xb88eee(0xd6));return _0x207688[_0xb88eee(0xeb)](_0x1280c3);}async[_0xf69bf5(0xdf)](_0x865102){const _0x5c988b=_0xf69bf5,_0x2a85e4=this[_0x5c988b(0xcf)][_0x5c988b(0xe9)](r[_0x5c988b(0xdd)]);if(!_0x2a85e4)throw new Error(_0x5c988b(0xd6));return _0x2a85e4[_0x5c988b(0xd8)](_0x865102);}async['exportDOCXByUnitIdAsync'](_0x3a61b2){const _0x2100b6=_0xf69bf5,_0x662ce8=this['_injector'][_0x2100b6(0xe9)](r['IExchangeService']);if(!_0x662ce8)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x662ce8[_0x2100b6(0xde)](_0x3a61b2);}}o[_0xf69bf5(0xe3)]['extend'](c);function _0x436e(){const _0x3aa104=['exportDOCXBySnapshot','importDOCXToUnitId','32220780GgTKMw','3083622fgUrRg','exportXLSXBySnapshot','IExchangeService','exportDOCXByUnitId','exportDOCXBySnapshotAsync','importFileToUnitId','1460311wXTBHM','UNRECOGNIZED','FUniver','UNIVER_UNKNOWN','7qSZXwe','2ZazOls','UNIVER_SLIDE','UNIVER_DOC','get','1099134bBCtBM','importDOCXToSnapshot','importXLSXToUnitIdAsync','exportXLSXByUnitIdAsync','UNIVER_PROJECT','9183504eBYJrm','importDOCXToUnitIdAsync','416SaFBbO','_injector','importXLSXToSnapshot','importDOCXToSnapshotAsync','UNIVER_SHEET','importXLSXToSnapshotAsync','13019580aTmrXE','8535noXwXw','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId'];_0x436e=function(){return _0x3aa104;};return _0x436e();}
1
+ 'use strict';function _0x3605(_0x309904,_0x26a7ec){const _0x1f06a7=_0x1f06();return _0x3605=function(_0x3605b1,_0x462df4){_0x3605b1=_0x3605b1-0x1cf;let _0x16cde3=_0x1f06a7[_0x3605b1];return _0x16cde3;},_0x3605(_0x309904,_0x26a7ec);}const _0x24390d=_0x3605;(function(_0x3f18c9,_0x3a7ad6){const _0x516878=_0x3605,_0x164a9a=_0x3f18c9();while(!![]){try{const _0xe8bb0a=parseInt(_0x516878(0x1d0))/0x1+parseInt(_0x516878(0x1e2))/0x2+-parseInt(_0x516878(0x1cf))/0x3+-parseInt(_0x516878(0x1ed))/0x4+parseInt(_0x516878(0x1dd))/0x5*(-parseInt(_0x516878(0x1f3))/0x6)+-parseInt(_0x516878(0x1dc))/0x7*(parseInt(_0x516878(0x1d3))/0x8)+parseInt(_0x516878(0x1d4))/0x9*(parseInt(_0x516878(0x1d9))/0xa);if(_0xe8bb0a===_0x3a7ad6)break;else _0x164a9a['push'](_0x164a9a['shift']());}catch(_0x57c44a){_0x164a9a['push'](_0x164a9a['shift']());}}}(_0x1f06,0xa20e9));function _0x1f06(){const _0xa26f1f=['UNIVER_DOC','exportXLSXByUnitIdAsync','extend','IExchangeService','exportXLSXBySnapshot','@univerjs/core/facade','694560rTqdxk','importDOCXToSnapshotAsync','FUniver','UNIVER_SHEET','importXLSXToSnapshotAsync','importDOCXToSnapshot','96ZRUKub','UNIVER_SLIDE','2724324UwaRbR','380221DuieHV','importDOCXToUnitIdAsync','UNIVER_PROJECT','17592hlwDhB','126bOFKVx','exportDOCXByUnitIdAsync','get','exportXLSXByUnitId','importXLSXToUnitIdAsync','1542700YbAbBb','importXLSXToUnitId','exportDOCXBySnapshotAsync','2534nZLwpM','256545EaKKqN','importFileToUnitId','importDOCXToUnitId','exportDOCXBySnapshot','_injector','1645028jYosYP','UNRECOGNIZED','UNIVER_UNKNOWN','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXBySnapshotAsync'];_0x1f06=function(){return _0xa26f1f;};return _0x1f06();}const r=require('@univerjs-pro/exchange-client'),o=require(_0x24390d(0x1ec));var i=(_0x480531=>(_0x480531[_0x480531[_0x24390d(0x1e4)]=0x0]='UNIVER_UNKNOWN',_0x480531[_0x480531[_0x24390d(0x1e7)]=0x1]=_0x24390d(0x1e7),_0x480531[_0x480531['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x480531[_0x480531['UNIVER_SLIDE']=0x3]=_0x24390d(0x1f4),_0x480531[_0x480531[_0x24390d(0x1d2)]=0x4]='UNIVER_PROJECT',_0x480531[_0x480531[_0x24390d(0x1e3)]=-0x1]=_0x24390d(0x1e3),_0x480531))(i||{});class c extends o[_0x24390d(0x1ef)]{async[_0x24390d(0x1da)](_0x43f811){return this['importXLSXToUnitIdAsync'](_0x43f811);}async[_0x24390d(0x1d8)](_0x50e786){const _0x156030=_0x24390d,_0x3fa020=this[_0x156030(0x1e1)][_0x156030(0x1d6)](r[_0x156030(0x1ea)]);if(!_0x3fa020)throw new Error(_0x156030(0x1e5));return _0x3fa020['importFileToUnitId'](_0x50e786,i[_0x156030(0x1f0)]);}async['importXLSXToSnapshot'](_0x130eb4){const _0x1533ae=_0x24390d;return this[_0x1533ae(0x1f1)](_0x130eb4);}async['importXLSXToSnapshotAsync'](_0x124fea){const _0xbf2347=_0x24390d,_0x372b54=this['_injector']['get'](r[_0xbf2347(0x1ea)]);if(!_0x372b54)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x372b54['importXLSXToSnapshot'](_0x124fea);}async[_0x24390d(0x1d7)](_0x1902d0){const _0x3a2e27=_0x24390d;return this[_0x3a2e27(0x1e8)](_0x1902d0);}async['exportXLSXByUnitIdAsync'](_0x5308ae){const _0x15e172=_0x24390d,_0x39a369=this[_0x15e172(0x1e1)][_0x15e172(0x1d6)](r['IExchangeService']);if(!_0x39a369)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x39a369[_0x15e172(0x1d7)](_0x5308ae);}async[_0x24390d(0x1eb)](_0x5e4496){const _0x87f083=_0x24390d;return this[_0x87f083(0x1e6)](_0x5e4496);}async[_0x24390d(0x1e6)](_0x2c2e6c){const _0x438ed9=_0x24390d,_0x57d8a0=this[_0x438ed9(0x1e1)][_0x438ed9(0x1d6)](r[_0x438ed9(0x1ea)]);if(!_0x57d8a0)throw new Error(_0x438ed9(0x1e5));return _0x57d8a0['exportXLSXBySnapshot'](_0x2c2e6c);}async[_0x24390d(0x1df)](_0x206fb0){const _0x2958ec=_0x24390d;return this[_0x2958ec(0x1d1)](_0x206fb0);}async[_0x24390d(0x1d1)](_0x36dc3c){const _0x399ba9=_0x24390d,_0x24de34=this[_0x399ba9(0x1e1)][_0x399ba9(0x1d6)](r['IExchangeService']);if(!_0x24de34)throw new Error(_0x399ba9(0x1e5));return _0x24de34[_0x399ba9(0x1de)](_0x36dc3c,i[_0x399ba9(0x1e7)]);}async[_0x24390d(0x1f2)](_0x1a6d72){const _0x17f16c=_0x24390d;return this[_0x17f16c(0x1ee)](_0x1a6d72);}async[_0x24390d(0x1ee)](_0x1eeb63){const _0x45ae1c=_0x24390d,_0x2f207d=this[_0x45ae1c(0x1e1)][_0x45ae1c(0x1d6)](r[_0x45ae1c(0x1ea)]);if(!_0x2f207d)throw new Error(_0x45ae1c(0x1e5));return _0x2f207d['importDOCXToSnapshot'](_0x1eeb63);}async[_0x24390d(0x1db)](_0x17494e){const _0xfd28f2=_0x24390d,_0x4345e8=this['_injector'][_0xfd28f2(0x1d6)](r[_0xfd28f2(0x1ea)]);if(!_0x4345e8)throw new Error(_0xfd28f2(0x1e5));return _0x4345e8[_0xfd28f2(0x1e0)](_0x17494e);}async[_0x24390d(0x1d5)](_0x1d421c){const _0x160497=_0x24390d,_0x5daace=this[_0x160497(0x1e1)]['get'](r[_0x160497(0x1ea)]);if(!_0x5daace)throw new Error(_0x160497(0x1e5));return _0x5daace['exportDOCXByUnitId'](_0x1d421c);}}o[_0x24390d(0x1ef)][_0x24390d(0x1e9)](c);