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

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 _0x30634c=_0x9e46;function _0x4b4c(){const _0x558f32=['importXLSXToSnapshotAsync','importXLSXToUnitId','exportXLSXBySnapshotAsync','UNIVER_SHEET','UNIVER_PROJECT','exportXLSXByUnitId','66517FhaaWH','4404eAfNeB','6151311SOvudZ','importDOCXToUnitIdAsync','UNIVER_SLIDE','2623856HqwnNt','importDOCXToSnapshotAsync','UNIVER_UNKNOWN','extend','15xXlIAw','13139VQqgDN','exportXLSXBySnapshot','importFileToUnitId','importDOCXToSnapshot','exportDOCXByUnitIdAsync','importXLSXToSnapshot','UNIVER_DOC','exportDOCXBySnapshotAsync','1264154BnpCKN','_injector','30074XvPMjd','exportDOCXByUnitId','The\x20exchange\x20service\x20is\x20not\x20available','10KDREEs','IExchangeService','1520KRczoa','exportDOCXBySnapshot','20aRffFR','importXLSXToUnitIdAsync','get','FUniver','1921986vzAvKi','exportXLSXByUnitIdAsync'];_0x4b4c=function(){return _0x558f32;};return _0x4b4c();}(function(_0x270dec,_0x1e89fb){const _0xff398f=_0x9e46,_0x5aef07=_0x270dec();while(!![]){try{const _0x21511c=parseInt(_0xff398f(0xa4))/0x1+-parseInt(_0xff398f(0xa6))/0x2*(parseInt(_0xff398f(0x9b))/0x3)+parseInt(_0xff398f(0x97))/0x4*(-parseInt(_0xff398f(0xa9))/0x5)+parseInt(_0xff398f(0xb1))/0x6+parseInt(_0xff398f(0x9c))/0x7*(-parseInt(_0xff398f(0xab))/0x8)+parseInt(_0xff398f(0x94))/0x9*(-parseInt(_0xff398f(0xad))/0xa)+parseInt(_0xff398f(0xb9))/0xb*(parseInt(_0xff398f(0xba))/0xc);if(_0x21511c===_0x1e89fb)break;else _0x5aef07['push'](_0x5aef07['shift']());}catch(_0x8aee7c){_0x5aef07['push'](_0x5aef07['shift']());}}}(_0x4b4c,0xa9329));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');function _0x9e46(_0xed60a4,_0x35b49b){const _0x4b4c4b=_0x4b4c();return _0x9e46=function(_0x9e463f,_0x4b7a51){_0x9e463f=_0x9e463f-0x94;let _0x54b577=_0x4b4c4b[_0x9e463f];return _0x54b577;},_0x9e46(_0xed60a4,_0x35b49b);}var i=(_0x5f0fab=>(_0x5f0fab[_0x5f0fab['UNIVER_UNKNOWN']=0x0]=_0x30634c(0x99),_0x5f0fab[_0x5f0fab[_0x30634c(0xa2)]=0x1]='UNIVER_DOC',_0x5f0fab[_0x5f0fab['UNIVER_SHEET']=0x2]=_0x30634c(0xb6),_0x5f0fab[_0x5f0fab[_0x30634c(0x96)]=0x3]=_0x30634c(0x96),_0x5f0fab[_0x5f0fab[_0x30634c(0xb7)]=0x4]='UNIVER_PROJECT',_0x5f0fab[_0x5f0fab['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x5f0fab))(i||{});class c extends o[_0x30634c(0xb0)]{async[_0x30634c(0xb4)](_0x3807ca){const _0x4b5a53=_0x30634c;return this[_0x4b5a53(0xae)](_0x3807ca);}async[_0x30634c(0xae)](_0x5f22e3){const _0x3fc214=_0x30634c,_0x2ef04f=this[_0x3fc214(0xa5)][_0x3fc214(0xaf)](r['IExchangeService']);if(!_0x2ef04f)throw new Error(_0x3fc214(0xa8));return _0x2ef04f[_0x3fc214(0x9e)](_0x5f22e3,i[_0x3fc214(0xb6)]);}async[_0x30634c(0xa1)](_0x191c8f){const _0xea91e=_0x30634c;return this[_0xea91e(0xb3)](_0x191c8f);}async[_0x30634c(0xb3)](_0x385dad){const _0x4632b7=_0x30634c,_0x20b90c=this[_0x4632b7(0xa5)][_0x4632b7(0xaf)](r[_0x4632b7(0xaa)]);if(!_0x20b90c)throw new Error(_0x4632b7(0xa8));return _0x20b90c[_0x4632b7(0xa1)](_0x385dad);}async[_0x30634c(0xb8)](_0x24ffb6){const _0x2610b9=_0x30634c;return this[_0x2610b9(0xb2)](_0x24ffb6);}async['exportXLSXByUnitIdAsync'](_0x25099b){const _0x4d64f0=_0x30634c,_0x4b542f=this[_0x4d64f0(0xa5)][_0x4d64f0(0xaf)](r['IExchangeService']);if(!_0x4b542f)throw new Error(_0x4d64f0(0xa8));return _0x4b542f[_0x4d64f0(0xb8)](_0x25099b);}async[_0x30634c(0x9d)](_0xfd8248){return this['exportXLSXBySnapshotAsync'](_0xfd8248);}async[_0x30634c(0xb5)](_0x1f27ba){const _0x4b04f0=_0x30634c,_0x6052c0=this[_0x4b04f0(0xa5)][_0x4b04f0(0xaf)](r[_0x4b04f0(0xaa)]);if(!_0x6052c0)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x6052c0[_0x4b04f0(0x9d)](_0x1f27ba);}async['importDOCXToUnitId'](_0x44a434){const _0x2ec933=_0x30634c;return this[_0x2ec933(0x95)](_0x44a434);}async[_0x30634c(0x95)](_0x41a254){const _0x38b43e=_0x30634c,_0x5e2f19=this['_injector'][_0x38b43e(0xaf)](r[_0x38b43e(0xaa)]);if(!_0x5e2f19)throw new Error(_0x38b43e(0xa8));return _0x5e2f19['importFileToUnitId'](_0x41a254,i[_0x38b43e(0xa2)]);}async[_0x30634c(0x9f)](_0x244f73){const _0x9c43e9=_0x30634c;return this[_0x9c43e9(0x98)](_0x244f73);}async[_0x30634c(0x98)](_0x471d88){const _0x3fd057=_0x30634c,_0x4625e5=this['_injector']['get'](r[_0x3fd057(0xaa)]);if(!_0x4625e5)throw new Error(_0x3fd057(0xa8));return _0x4625e5[_0x3fd057(0x9f)](_0x471d88);}async[_0x30634c(0xa3)](_0x3e2945){const _0x41031f=_0x30634c,_0x243af0=this[_0x41031f(0xa5)][_0x41031f(0xaf)](r[_0x41031f(0xaa)]);if(!_0x243af0)throw new Error(_0x41031f(0xa8));return _0x243af0[_0x41031f(0xac)](_0x3e2945);}async[_0x30634c(0xa0)](_0xab1928){const _0x255af9=_0x30634c,_0x4844a1=this[_0x255af9(0xa5)]['get'](r['IExchangeService']);if(!_0x4844a1)throw new Error(_0x255af9(0xa8));return _0x4844a1[_0x255af9(0xa7)](_0xab1928);}}o[_0x30634c(0xb0)][_0x30634c(0x9a)](c);
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();}