@univerjs-pro/exchange-client 0.6.7-experimental.20250401-0c0dad8 → 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';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);
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();}