@univerjs-pro/exchange-client 0.7.0-nightly.202505111606 → 0.7.0-nightly.202505121607

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 _0x35b3af=_0xf83e;function _0x28b7(){const _0x3a851c=['importDOCXToSnapshotAsync','4454262wfwmyO','24633684nHlbzf','exportXLSXByUnitIdAsync','818751jxEuXJ','exportXLSXBySnapshot','UNIVER_SHEET','The\x20exchange\x20service\x20is\x20not\x20available','get','2RGIRcJ','exportXLSXBySnapshotAsync','importDOCXToSnapshot','importXLSXToSnapshot','4219760KrpJFn','importDOCXToUnitId','@univerjs-pro/exchange-client','UNIVER_UNKNOWN','FUniver','3682415FwuMuh','UNRECOGNIZED','_injector','5200908ZerYrJ','UNIVER_DOC','extend','IExchangeService','importFileToUnitId','UNIVER_SLIDE','importXLSXToUnitIdAsync','exportXLSXByUnitId','importXLSXToUnitId','UNIVER_PROJECT','2077680fmdEyX','7IEJRHf','importXLSXToSnapshotAsync'];_0x28b7=function(){return _0x3a851c;};return _0x28b7();}(function(_0x4f88d4,_0x7f706b){const _0x4d0f6f=_0xf83e,_0x5ad9a4=_0x4f88d4();while(!![]){try{const _0x33feb0=-parseInt(_0x4d0f6f(0xa8))/0x1*(parseInt(_0x4d0f6f(0xad))/0x2)+-parseInt(_0x4d0f6f(0xb9))/0x3+parseInt(_0x4d0f6f(0xb1))/0x4+-parseInt(_0x4d0f6f(0xb6))/0x5+parseInt(_0x4d0f6f(0xa5))/0x6*(parseInt(_0x4d0f6f(0xa2))/0x7)+-parseInt(_0x4d0f6f(0xa1))/0x8+parseInt(_0x4d0f6f(0xa6))/0x9;if(_0x33feb0===_0x7f706b)break;else _0x5ad9a4['push'](_0x5ad9a4['shift']());}catch(_0x5bb128){_0x5ad9a4['push'](_0x5ad9a4['shift']());}}}(_0x28b7,0xf0ad5));function _0xf83e(_0xb62d59,_0x102fe9){const _0x28b7cf=_0x28b7();return _0xf83e=function(_0xf83ec8,_0x384281){_0xf83ec8=_0xf83ec8-0x99;let _0x462ad7=_0x28b7cf[_0xf83ec8];return _0x462ad7;},_0xf83e(_0xb62d59,_0x102fe9);}const r=require(_0x35b3af(0xb3)),i=require('@univerjs/core/facade');var o=(_0x255dfe=>(_0x255dfe[_0x255dfe[_0x35b3af(0xb4)]=0x0]=_0x35b3af(0xb4),_0x255dfe[_0x255dfe[_0x35b3af(0xba)]=0x1]=_0x35b3af(0xba),_0x255dfe[_0x255dfe[_0x35b3af(0xaa)]=0x2]=_0x35b3af(0xaa),_0x255dfe[_0x255dfe['UNIVER_SLIDE']=0x3]=_0x35b3af(0x9c),_0x255dfe[_0x255dfe[_0x35b3af(0xa0)]=0x4]=_0x35b3af(0xa0),_0x255dfe[_0x255dfe[_0x35b3af(0xb7)]=-0x1]='UNRECOGNIZED',_0x255dfe))(o||{});class c extends i[_0x35b3af(0xb5)]{async[_0x35b3af(0x9f)](_0x54182f){return this['importXLSXToUnitIdAsync'](_0x54182f);}async[_0x35b3af(0x9d)](_0x388369){const _0x47e477=_0x35b3af,_0x81cfc3=this[_0x47e477(0xb8)][_0x47e477(0xac)](r[_0x47e477(0x9a)]);if(!_0x81cfc3)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x81cfc3['importFileToUnitId'](_0x388369,o[_0x47e477(0xaa)]);}async[_0x35b3af(0xb0)](_0x312cfe){return this['importXLSXToSnapshotAsync'](_0x312cfe);}async[_0x35b3af(0xa3)](_0x54c20c){const _0x43b2d1=_0x35b3af,_0xd34739=this[_0x43b2d1(0xb8)][_0x43b2d1(0xac)](r[_0x43b2d1(0x9a)]);if(!_0xd34739)throw new Error(_0x43b2d1(0xab));return _0xd34739[_0x43b2d1(0xb0)](_0x54c20c);}async['exportXLSXByUnitId'](_0x3c3349){const _0x51db8c=_0x35b3af;return this[_0x51db8c(0xa7)](_0x3c3349);}async[_0x35b3af(0xa7)](_0x47298d){const _0x122498=_0x35b3af,_0x162db3=this[_0x122498(0xb8)][_0x122498(0xac)](r['IExchangeService']);if(!_0x162db3)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x162db3[_0x122498(0x9e)](_0x47298d);}async[_0x35b3af(0xa9)](_0x4f5297){const _0x2c5bbd=_0x35b3af;return this[_0x2c5bbd(0xae)](_0x4f5297);}async[_0x35b3af(0xae)](_0x28af7e){const _0x5aa98e=_0x35b3af,_0x300eb5=this['_injector'][_0x5aa98e(0xac)](r['IExchangeService']);if(!_0x300eb5)throw new Error(_0x5aa98e(0xab));return _0x300eb5[_0x5aa98e(0xa9)](_0x28af7e);}async[_0x35b3af(0xb2)](_0x5059ce){return this['importDOCXToUnitIdAsync'](_0x5059ce);}async['importDOCXToUnitIdAsync'](_0x19f183){const _0x298781=_0x35b3af,_0x52408c=this[_0x298781(0xb8)][_0x298781(0xac)](r[_0x298781(0x9a)]);if(!_0x52408c)throw new Error(_0x298781(0xab));return _0x52408c[_0x298781(0x9b)](_0x19f183,o['UNIVER_DOC']);}async[_0x35b3af(0xaf)](_0x168a8f){const _0x517d0f=_0x35b3af;return this[_0x517d0f(0xa4)](_0x168a8f);}async[_0x35b3af(0xa4)](_0x59079a){const _0x5029a9=_0x35b3af,_0x35aef5=this[_0x5029a9(0xb8)]['get'](r[_0x5029a9(0x9a)]);if(!_0x35aef5)throw new Error(_0x5029a9(0xab));return _0x35aef5[_0x5029a9(0xaf)](_0x59079a);}}i[_0x35b3af(0xb5)][_0x35b3af(0x99)](c);
1
+ 'use strict';function _0x115b(_0x3a812c,_0x475b42){const _0x3e749c=_0x3e74();return _0x115b=function(_0x115b3a,_0x44ff6a){_0x115b3a=_0x115b3a-0x130;let _0x1609dd=_0x3e749c[_0x115b3a];return _0x1609dd;},_0x115b(_0x3a812c,_0x475b42);}const _0x1d56ae=_0x115b;(function(_0x18a5c9,_0x55232f){const _0x191b18=_0x115b,_0x2f7ae2=_0x18a5c9();while(!![]){try{const _0x2b68c0=parseInt(_0x191b18(0x141))/0x1+parseInt(_0x191b18(0x142))/0x2*(-parseInt(_0x191b18(0x14e))/0x3)+-parseInt(_0x191b18(0x133))/0x4+parseInt(_0x191b18(0x134))/0x5*(parseInt(_0x191b18(0x144))/0x6)+parseInt(_0x191b18(0x138))/0x7+parseInt(_0x191b18(0x149))/0x8*(parseInt(_0x191b18(0x130))/0x9)+-parseInt(_0x191b18(0x13d))/0xa;if(_0x2b68c0===_0x55232f)break;else _0x2f7ae2['push'](_0x2f7ae2['shift']());}catch(_0x12bb69){_0x2f7ae2['push'](_0x2f7ae2['shift']());}}}(_0x3e74,0xe67a6));function _0x3e74(){const _0x551e1a=['importDOCXToUnitIdAsync','150ePKdoo','exportXLSXByUnitIdAsync','importDOCXToSnapshotAsync','UNIVER_UNKNOWN','importDOCXToSnapshot','72mOCwxS','_injector','FUniver','UNRECOGNIZED','@univerjs/core/facade','3iqcJpg','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_DOC','1753119dvgynF','importDOCXToUnitId','importXLSXToUnitId','5704548icDnug','209265RyDYvv','get','extend','exportXLSXBySnapshotAsync','147014gpVkmQ','IExchangeService','UNIVER_SHEET','exportXLSXBySnapshot','UNIVER_PROJECT','8163260wQgezY','exportXLSXByUnitId','@univerjs-pro/exchange-client','UNIVER_SLIDE','1521608xxAZHT','2311106KeucbO'];_0x3e74=function(){return _0x551e1a;};return _0x3e74();}const r=require(_0x1d56ae(0x13f)),i=require(_0x1d56ae(0x14d));var o=(_0x2e41f8=>(_0x2e41f8[_0x2e41f8[_0x1d56ae(0x147)]=0x0]='UNIVER_UNKNOWN',_0x2e41f8[_0x2e41f8[_0x1d56ae(0x150)]=0x1]=_0x1d56ae(0x150),_0x2e41f8[_0x2e41f8[_0x1d56ae(0x13a)]=0x2]=_0x1d56ae(0x13a),_0x2e41f8[_0x2e41f8[_0x1d56ae(0x140)]=0x3]=_0x1d56ae(0x140),_0x2e41f8[_0x2e41f8[_0x1d56ae(0x13c)]=0x4]=_0x1d56ae(0x13c),_0x2e41f8[_0x2e41f8[_0x1d56ae(0x14c)]=-0x1]=_0x1d56ae(0x14c),_0x2e41f8))(o||{});class c extends i['FUniver']{async[_0x1d56ae(0x132)](_0x43409a){return this['importXLSXToUnitIdAsync'](_0x43409a);}async['importXLSXToUnitIdAsync'](_0x5bb189){const _0x45b512=_0x1d56ae,_0x478ea1=this[_0x45b512(0x14a)][_0x45b512(0x135)](r[_0x45b512(0x139)]);if(!_0x478ea1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x478ea1['importFileToUnitId'](_0x5bb189,o[_0x45b512(0x13a)]);}async['importXLSXToSnapshot'](_0x29767f){return this['importXLSXToSnapshotAsync'](_0x29767f);}async['importXLSXToSnapshotAsync'](_0x48ddfa){const _0x1e4b8a=_0x1d56ae,_0x400e83=this['_injector'][_0x1e4b8a(0x135)](r[_0x1e4b8a(0x139)]);if(!_0x400e83)throw new Error(_0x1e4b8a(0x14f));return _0x400e83['importXLSXToSnapshot'](_0x48ddfa);}async[_0x1d56ae(0x13e)](_0x387ccd){const _0x59dcce=_0x1d56ae;return this[_0x59dcce(0x145)](_0x387ccd);}async[_0x1d56ae(0x145)](_0xd89cda){const _0x1bce96=_0x1d56ae,_0x125ee1=this['_injector'][_0x1bce96(0x135)](r[_0x1bce96(0x139)]);if(!_0x125ee1)throw new Error(_0x1bce96(0x14f));return _0x125ee1['exportXLSXByUnitId'](_0xd89cda);}async[_0x1d56ae(0x13b)](_0xef3102){const _0x3b5959=_0x1d56ae;return this[_0x3b5959(0x137)](_0xef3102);}async[_0x1d56ae(0x137)](_0x40cde5){const _0x1d267b=_0x1d56ae,_0x553289=this[_0x1d267b(0x14a)][_0x1d267b(0x135)](r['IExchangeService']);if(!_0x553289)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x553289[_0x1d267b(0x13b)](_0x40cde5);}async[_0x1d56ae(0x131)](_0x5177d4){return this['importDOCXToUnitIdAsync'](_0x5177d4);}async[_0x1d56ae(0x143)](_0x4074a1){const _0x48abc2=_0x1d56ae,_0x2265a9=this['_injector'][_0x48abc2(0x135)](r[_0x48abc2(0x139)]);if(!_0x2265a9)throw new Error(_0x48abc2(0x14f));return _0x2265a9['importFileToUnitId'](_0x4074a1,o[_0x48abc2(0x150)]);}async[_0x1d56ae(0x148)](_0x6d52c){const _0x43a268=_0x1d56ae;return this[_0x43a268(0x146)](_0x6d52c);}async['importDOCXToSnapshotAsync'](_0x5400dc){const _0x1dabfa=_0x1d56ae,_0x282140=this[_0x1dabfa(0x14a)][_0x1dabfa(0x135)](r[_0x1dabfa(0x139)]);if(!_0x282140)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x282140[_0x1dabfa(0x148)](_0x5400dc);}}i[_0x1d56ae(0x14b)][_0x1d56ae(0x136)](c);