@univerjs-pro/exchange-client 0.6.7-experimental.20250401-8226dd6 → 0.6.7-experimental.20250401-01b1fd0

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 _0x3490(_0x2f161d,_0x37d4c5){const _0x540235=_0x5402();return _0x3490=function(_0x34908,_0xbe9a4f){_0x34908=_0x34908-0x1f0;let _0x35ad43=_0x540235[_0x34908];return _0x35ad43;},_0x3490(_0x2f161d,_0x37d4c5);}const _0x4e611d=_0x3490;(function(_0x365f36,_0x421580){const _0x4f1643=_0x3490,_0xb697ce=_0x365f36();while(!![]){try{const _0x5511a2=-parseInt(_0x4f1643(0x20e))/0x1*(-parseInt(_0x4f1643(0x1f8))/0x2)+parseInt(_0x4f1643(0x205))/0x3*(-parseInt(_0x4f1643(0x208))/0x4)+parseInt(_0x4f1643(0x1fc))/0x5+-parseInt(_0x4f1643(0x201))/0x6+parseInt(_0x4f1643(0x204))/0x7*(-parseInt(_0x4f1643(0x1fd))/0x8)+parseInt(_0x4f1643(0x200))/0x9+parseInt(_0x4f1643(0x1ff))/0xa;if(_0x5511a2===_0x421580)break;else _0xb697ce['push'](_0xb697ce['shift']());}catch(_0xddb683){_0xb697ce['push'](_0xb697ce['shift']());}}}(_0x5402,0x94622));const r=require(_0x4e611d(0x1f1)),i=require(_0x4e611d(0x20f));var o=(_0x300e52=>(_0x300e52[_0x300e52[_0x4e611d(0x209)]=0x0]=_0x4e611d(0x209),_0x300e52[_0x300e52[_0x4e611d(0x1f3)]=0x1]=_0x4e611d(0x1f3),_0x300e52[_0x300e52[_0x4e611d(0x1f0)]=0x2]=_0x4e611d(0x1f0),_0x300e52[_0x300e52[_0x4e611d(0x203)]=0x3]='UNIVER_SLIDE',_0x300e52[_0x300e52[_0x4e611d(0x1f2)]=0x4]=_0x4e611d(0x1f2),_0x300e52[_0x300e52[_0x4e611d(0x1fe)]=-0x1]=_0x4e611d(0x1fe),_0x300e52))(o||{});class c extends i[_0x4e611d(0x202)]{async['importXLSXToUnitId'](_0x480582){const _0x11cd92=_0x4e611d;return this[_0x11cd92(0x20d)](_0x480582);}async[_0x4e611d(0x20d)](_0x9af549){const _0x3d61f2=_0x4e611d,_0x5226b6=this[_0x3d61f2(0x1f7)][_0x3d61f2(0x20c)](r[_0x3d61f2(0x206)]);if(!_0x5226b6)throw new Error(_0x3d61f2(0x1f6));return _0x5226b6[_0x3d61f2(0x1f4)](_0x9af549,o[_0x3d61f2(0x1f0)]);}async[_0x4e611d(0x1fa)](_0x4be69b){const _0x4d1349=_0x4e611d;return this[_0x4d1349(0x211)](_0x4be69b);}async[_0x4e611d(0x211)](_0x44779b){const _0x30b896=_0x4e611d,_0x13deb3=this['_injector'][_0x30b896(0x20c)](r[_0x30b896(0x206)]);if(!_0x13deb3)throw new Error(_0x30b896(0x1f6));return _0x13deb3[_0x30b896(0x1fa)](_0x44779b);}async[_0x4e611d(0x210)](_0x3b0185){const _0x554714=_0x4e611d;return this[_0x554714(0x1f9)](_0x3b0185);}async[_0x4e611d(0x1f9)](_0x561f5c){const _0x40cefc=_0x4e611d,_0x30e05d=this[_0x40cefc(0x1f7)]['get'](r[_0x40cefc(0x206)]);if(!_0x30e05d)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x30e05d[_0x40cefc(0x210)](_0x561f5c);}async['exportXLSXBySnapshot'](_0x2df699){const _0x519869=_0x4e611d;return this[_0x519869(0x1fb)](_0x2df699);}async[_0x4e611d(0x1fb)](_0x20882b){const _0x4e3d1f=_0x4e611d,_0x3b19e7=this['_injector'][_0x4e3d1f(0x20c)](r[_0x4e3d1f(0x206)]);if(!_0x3b19e7)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3b19e7['exportXLSXBySnapshot'](_0x20882b);}async['importDOCXToUnitId'](_0x3547ba){return this['importDOCXToUnitIdAsync'](_0x3547ba);}async[_0x4e611d(0x1f5)](_0x5378ff){const _0x4bab03=_0x4e611d,_0x1ffbb1=this[_0x4bab03(0x1f7)][_0x4bab03(0x20c)](r['IExchangeService']);if(!_0x1ffbb1)throw new Error(_0x4bab03(0x1f6));return _0x1ffbb1[_0x4bab03(0x1f4)](_0x5378ff,o[_0x4bab03(0x1f3)]);}async[_0x4e611d(0x20b)](_0x7e6064){const _0x4f3795=_0x4e611d;return this[_0x4f3795(0x20a)](_0x7e6064);}async['importDOCXToSnapshotAsync'](_0xc9f2ee){const _0xc0b932=_0x4e611d,_0x1a0ad6=this['_injector'][_0xc0b932(0x20c)](r[_0xc0b932(0x206)]);if(!_0x1a0ad6)throw new Error(_0xc0b932(0x1f6));return _0x1a0ad6[_0xc0b932(0x20b)](_0xc9f2ee);}}i[_0x4e611d(0x202)][_0x4e611d(0x207)](c);function _0x5402(){const _0x327ab9=['exportXLSXBySnapshotAsync','4289060IHkgwE','472qFGfdn','UNRECOGNIZED','579330hKpYCy','7808967lBEdFZ','6921456zYveWB','FUniver','UNIVER_SLIDE','85603ccchxh','3kMHVsX','IExchangeService','extend','1486268WyzWjj','UNIVER_UNKNOWN','importDOCXToSnapshotAsync','importDOCXToSnapshot','get','importXLSXToUnitIdAsync','22313lSEtwC','@univerjs/core/facade','exportXLSXByUnitId','importXLSXToSnapshotAsync','UNIVER_SHEET','@univerjs-pro/exchange-client','UNIVER_PROJECT','UNIVER_DOC','importFileToUnitId','importDOCXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','_injector','96viGqAg','exportXLSXByUnitIdAsync','importXLSXToSnapshot'];_0x5402=function(){return _0x327ab9;};return _0x5402();}