@univerjs-pro/exchange-client 0.6.7-experimental.20250401-8226dd6 → 0.6.7-experimental.20250401-0c0dad8

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 _0x2fbe40=_0x4425;(function(_0x4e7402,_0x5d7d8f){const _0xa3ffd9=_0x4425,_0x340387=_0x4e7402();while(!![]){try{const _0x1fe63e=-parseInt(_0xa3ffd9(0xe0))/0x1*(parseInt(_0xa3ffd9(0xea))/0x2)+parseInt(_0xa3ffd9(0xd7))/0x3+parseInt(_0xa3ffd9(0xce))/0x4*(-parseInt(_0xa3ffd9(0xdf))/0x5)+-parseInt(_0xa3ffd9(0xe2))/0x6+parseInt(_0xa3ffd9(0xec))/0x7*(-parseInt(_0xa3ffd9(0xdd))/0x8)+parseInt(_0xa3ffd9(0xd3))/0x9+parseInt(_0xa3ffd9(0xe5))/0xa*(parseInt(_0xa3ffd9(0xe1))/0xb);if(_0x1fe63e===_0x5d7d8f)break;else _0x340387['push'](_0x340387['shift']());}catch(_0x521a80){_0x340387['push'](_0x340387['shift']());}}}(_0x2e89,0x3a2ce));function _0x4425(_0x4693fb,_0x18fa38){const _0x2e892a=_0x2e89();return _0x4425=function(_0x442597,_0xa21de2){_0x442597=_0x442597-0xce;let _0xa049ff=_0x2e892a[_0x442597];return _0xa049ff;},_0x4425(_0x4693fb,_0x18fa38);}const r=require(_0x2fbe40(0xd8)),i=require(_0x2fbe40(0xed));var o=(_0x5e44ae=>(_0x5e44ae[_0x5e44ae['UNIVER_UNKNOWN']=0x0]=_0x2fbe40(0xe6),_0x5e44ae[_0x5e44ae[_0x2fbe40(0xd4)]=0x1]='UNIVER_DOC',_0x5e44ae[_0x5e44ae[_0x2fbe40(0xee)]=0x2]='UNIVER_SHEET',_0x5e44ae[_0x5e44ae[_0x2fbe40(0xe8)]=0x3]=_0x2fbe40(0xe8),_0x5e44ae[_0x5e44ae[_0x2fbe40(0xd6)]=0x4]='UNIVER_PROJECT',_0x5e44ae[_0x5e44ae['UNRECOGNIZED']=-0x1]=_0x2fbe40(0xef),_0x5e44ae))(o||{});function _0x2e89(){const _0x421061=['932769NcEaVk','@univerjs-pro/exchange-client','The\x20exchange\x20service\x20is\x20not\x20available','_injector','exportXLSXByUnitIdAsync','importXLSXToUnitIdAsync','167752RMMOzx','IExchangeService','10tybint','1382bwiSIg','44ARgcHM','724980UgVBKj','importDOCXToSnapshot','extend','1981470VYWtRM','UNIVER_UNKNOWN','importDOCXToSnapshotAsync','UNIVER_SLIDE','importDOCXToUnitId','530cPcHXP','exportXLSXBySnapshot','112yFRAvG','@univerjs/core/facade','UNIVER_SHEET','UNRECOGNIZED','importXLSXToUnitId','importXLSXToSnapshotAsync','FUniver','exportXLSXByUnitId','353988WjMyRs','importFileToUnitId','get','importXLSXToSnapshot','importDOCXToUnitIdAsync','1208997mlGtsd','UNIVER_DOC','exportXLSXBySnapshotAsync','UNIVER_PROJECT'];_0x2e89=function(){return _0x421061;};return _0x2e89();}class c extends i[_0x2fbe40(0xf2)]{async[_0x2fbe40(0xf0)](_0x2fcf67){return this['importXLSXToUnitIdAsync'](_0x2fcf67);}async[_0x2fbe40(0xdc)](_0x4ec51c){const _0x2bceac=_0x2fbe40,_0x31cfb8=this['_injector']['get'](r[_0x2bceac(0xde)]);if(!_0x31cfb8)throw new Error(_0x2bceac(0xd9));return _0x31cfb8[_0x2bceac(0xcf)](_0x4ec51c,o[_0x2bceac(0xee)]);}async[_0x2fbe40(0xd1)](_0xd3383c){const _0x3191bd=_0x2fbe40;return this[_0x3191bd(0xf1)](_0xd3383c);}async[_0x2fbe40(0xf1)](_0x59abc3){const _0x527ad6=_0x2fbe40,_0x3b24a3=this[_0x527ad6(0xda)][_0x527ad6(0xd0)](r[_0x527ad6(0xde)]);if(!_0x3b24a3)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3b24a3[_0x527ad6(0xd1)](_0x59abc3);}async['exportXLSXByUnitId'](_0x1ed6c4){const _0x2f5efd=_0x2fbe40;return this[_0x2f5efd(0xdb)](_0x1ed6c4);}async[_0x2fbe40(0xdb)](_0x2daa58){const _0x856caf=_0x2fbe40,_0x396e75=this['_injector'][_0x856caf(0xd0)](r[_0x856caf(0xde)]);if(!_0x396e75)throw new Error(_0x856caf(0xd9));return _0x396e75[_0x856caf(0xf3)](_0x2daa58);}async[_0x2fbe40(0xeb)](_0x418649){const _0x52d40e=_0x2fbe40;return this[_0x52d40e(0xd5)](_0x418649);}async[_0x2fbe40(0xd5)](_0x4e81ff){const _0x42437d=_0x2fbe40,_0x3adb18=this[_0x42437d(0xda)]['get'](r['IExchangeService']);if(!_0x3adb18)throw new Error(_0x42437d(0xd9));return _0x3adb18[_0x42437d(0xeb)](_0x4e81ff);}async[_0x2fbe40(0xe9)](_0x538d86){return this['importDOCXToUnitIdAsync'](_0x538d86);}async[_0x2fbe40(0xd2)](_0x12c1c1){const _0x8566fb=_0x2fbe40,_0x315af6=this[_0x8566fb(0xda)][_0x8566fb(0xd0)](r[_0x8566fb(0xde)]);if(!_0x315af6)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x315af6['importFileToUnitId'](_0x12c1c1,o['UNIVER_DOC']);}async[_0x2fbe40(0xe3)](_0x35d234){return this['importDOCXToSnapshotAsync'](_0x35d234);}async[_0x2fbe40(0xe7)](_0x205ea1){const _0x465bd2=_0x2fbe40,_0x4dfb62=this[_0x465bd2(0xda)][_0x465bd2(0xd0)](r[_0x465bd2(0xde)]);if(!_0x4dfb62)throw new Error(_0x465bd2(0xd9));return _0x4dfb62[_0x465bd2(0xe3)](_0x205ea1);}}i[_0x2fbe40(0xf2)][_0x2fbe40(0xe4)](c);
1
+ 'use strict';function _0x5c0a(_0x9226c6,_0x3a1ba3){const _0xe9ad22=_0xe9ad();return _0x5c0a=function(_0x5c0a65,_0x563ba7){_0x5c0a65=_0x5c0a65-0x98;let _0x416142=_0xe9ad22[_0x5c0a65];return _0x416142;},_0x5c0a(_0x9226c6,_0x3a1ba3);}const _0x500ac3=_0x5c0a;function _0xe9ad(){const _0xab71a5=['IExchangeService','179534qEJOsk','exportXLSXBySnapshotAsync','importXLSXToUnitId','exportXLSXBySnapshot','importXLSXToSnapshot','2807124yfDaTI','UNIVER_SLIDE','importFileToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','get','exportXLSXByUnitId','8220hunqDc','UNIVER_DOC','28KbVWgS','129838fUgFxl','UNIVER_SHEET','@univerjs/core/facade','importDOCXToSnapshot','FUniver','1000kyLmYl','_injector','5YERkFD','UNIVER_UNKNOWN','5706432hlIcNH','UNIVER_PROJECT','242992zAxWXP','importDOCXToSnapshotAsync','importXLSXToUnitIdAsync','9WHJkwb','importXLSXToSnapshotAsync','112409PZSzcO'];_0xe9ad=function(){return _0xab71a5;};return _0xe9ad();}(function(_0xde0a50,_0x468324){const _0x2d8a74=_0x5c0a,_0x5a425e=_0xde0a50();while(!![]){try{const _0x5c92eb=-parseInt(_0x2d8a74(0xa8))/0x1+-parseInt(_0x2d8a74(0x9a))/0x2*(parseInt(_0x2d8a74(0xb6))/0x3)+parseInt(_0x2d8a74(0xa5))/0x4+-parseInt(_0x2d8a74(0xaf))/0x5*(-parseInt(_0x2d8a74(0x9f))/0x6)+parseInt(_0x2d8a74(0xa7))/0x7*(-parseInt(_0x2d8a74(0xb3))/0x8)+-parseInt(_0x2d8a74(0xb1))/0x9+parseInt(_0x2d8a74(0xad))/0xa*(parseInt(_0x2d8a74(0x98))/0xb);if(_0x5c92eb===_0x468324)break;else _0x5a425e['push'](_0x5a425e['shift']());}catch(_0x39f91d){_0x5a425e['push'](_0x5a425e['shift']());}}}(_0xe9ad,0x524e6));const r=require('@univerjs-pro/exchange-client'),i=require(_0x500ac3(0xaa));var o=(_0x29d8bb=>(_0x29d8bb[_0x29d8bb[_0x500ac3(0xb0)]=0x0]='UNIVER_UNKNOWN',_0x29d8bb[_0x29d8bb['UNIVER_DOC']=0x1]=_0x500ac3(0xa6),_0x29d8bb[_0x29d8bb[_0x500ac3(0xa9)]=0x2]=_0x500ac3(0xa9),_0x29d8bb[_0x29d8bb['UNIVER_SLIDE']=0x3]=_0x500ac3(0xa0),_0x29d8bb[_0x29d8bb[_0x500ac3(0xb2)]=0x4]=_0x500ac3(0xb2),_0x29d8bb[_0x29d8bb['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x29d8bb))(o||{});class c extends i[_0x500ac3(0xac)]{async[_0x500ac3(0x9c)](_0x3f3741){const _0x3b076c=_0x500ac3;return this[_0x3b076c(0xb5)](_0x3f3741);}async[_0x500ac3(0xb5)](_0x4bc02e){const _0x5134bf=_0x500ac3,_0x48f487=this[_0x5134bf(0xae)]['get'](r[_0x5134bf(0x99)]);if(!_0x48f487)throw new Error(_0x5134bf(0xa2));return _0x48f487[_0x5134bf(0xa1)](_0x4bc02e,o[_0x5134bf(0xa9)]);}async['importXLSXToSnapshot'](_0x1cd863){const _0x2012d7=_0x500ac3;return this[_0x2012d7(0xb7)](_0x1cd863);}async['importXLSXToSnapshotAsync'](_0x2ae32e){const _0x49517a=_0x500ac3,_0x50f030=this['_injector'][_0x49517a(0xa3)](r[_0x49517a(0x99)]);if(!_0x50f030)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x50f030[_0x49517a(0x9e)](_0x2ae32e);}async['exportXLSXByUnitId'](_0x31015b){return this['exportXLSXByUnitIdAsync'](_0x31015b);}async['exportXLSXByUnitIdAsync'](_0x293e46){const _0x282061=_0x500ac3,_0x587482=this[_0x282061(0xae)][_0x282061(0xa3)](r[_0x282061(0x99)]);if(!_0x587482)throw new Error(_0x282061(0xa2));return _0x587482[_0x282061(0xa4)](_0x293e46);}async[_0x500ac3(0x9d)](_0x20712c){const _0x1322ac=_0x500ac3;return this[_0x1322ac(0x9b)](_0x20712c);}async[_0x500ac3(0x9b)](_0x2edf87){const _0x5d3ef6=_0x500ac3,_0x568880=this[_0x5d3ef6(0xae)][_0x5d3ef6(0xa3)](r[_0x5d3ef6(0x99)]);if(!_0x568880)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x568880['exportXLSXBySnapshot'](_0x2edf87);}async['importDOCXToUnitId'](_0x4081cc){return this['importDOCXToUnitIdAsync'](_0x4081cc);}async['importDOCXToUnitIdAsync'](_0x2011cb){const _0x319aef=_0x500ac3,_0x2abab9=this[_0x319aef(0xae)][_0x319aef(0xa3)](r[_0x319aef(0x99)]);if(!_0x2abab9)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2abab9[_0x319aef(0xa1)](_0x2011cb,o[_0x319aef(0xa6)]);}async['importDOCXToSnapshot'](_0x1fea48){const _0x48e6d=_0x500ac3;return this[_0x48e6d(0xb4)](_0x1fea48);}async[_0x500ac3(0xb4)](_0xf69f70){const _0x13fe4c=_0x500ac3,_0x425efc=this[_0x13fe4c(0xae)][_0x13fe4c(0xa3)](r[_0x13fe4c(0x99)]);if(!_0x425efc)throw new Error(_0x13fe4c(0xa2));return _0x425efc[_0x13fe4c(0xab)](_0xf69f70);}}i['FUniver']['extend'](c);