@univerjs-pro/exchange-client 0.6.1-nightly.202502211606 → 0.6.1-nightly.202502231605

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 _0x1c41b4=_0x36fc;(function(_0xac2f2,_0x31a1e1){const _0x3dad55=_0x36fc,_0x5e27b4=_0xac2f2();while(!![]){try{const _0x5a3b10=parseInt(_0x3dad55(0x196))/0x1+parseInt(_0x3dad55(0x1a4))/0x2+-parseInt(_0x3dad55(0x191))/0x3*(-parseInt(_0x3dad55(0x1a7))/0x4)+-parseInt(_0x3dad55(0x18a))/0x5+parseInt(_0x3dad55(0x198))/0x6+-parseInt(_0x3dad55(0x199))/0x7+parseInt(_0x3dad55(0x18e))/0x8*(-parseInt(_0x3dad55(0x19f))/0x9);if(_0x5a3b10===_0x31a1e1)break;else _0x5e27b4['push'](_0x5e27b4['shift']());}catch(_0x4a20d4){_0x5e27b4['push'](_0x5e27b4['shift']());}}}(_0x229c,0x5ac7d));const r=require(_0x1c41b4(0x1aa)),i=require(_0x1c41b4(0x1a1));var o=(_0x54d93e=>(_0x54d93e[_0x54d93e[_0x1c41b4(0x18c)]=0x0]='UNIVER_UNKNOWN',_0x54d93e[_0x54d93e[_0x1c41b4(0x19e)]=0x1]=_0x1c41b4(0x19e),_0x54d93e[_0x54d93e[_0x1c41b4(0x193)]=0x2]=_0x1c41b4(0x193),_0x54d93e[_0x54d93e[_0x1c41b4(0x1ab)]=0x3]='UNIVER_SLIDE',_0x54d93e[_0x54d93e[_0x1c41b4(0x19c)]=0x4]=_0x1c41b4(0x19c),_0x54d93e[_0x54d93e['UNRECOGNIZED']=-0x1]=_0x1c41b4(0x192),_0x54d93e))(o||{});function _0x229c(){const _0x32eb4e=['importFileToUnitId','_injector','261fgRuyA','UNRECOGNIZED','UNIVER_SHEET','exportXLSXBySnapshot','importXLSXToUnitIdAsync','135117MrPHQv','get','1171188TyajtZ','2424996kCnuQq','FUniver','importDOCXToUnitId','UNIVER_PROJECT','importDOCXToUnitIdAsync','UNIVER_DOC','779886xVBYCe','importDOCXToSnapshot','@univerjs/core/facade','importXLSXToUnitId','exportXLSXBySnapshotAsync','1173736OXKRxj','extend','importXLSXToSnapshot','29868xoWjyk','importDOCXToSnapshotAsync','IExchangeService','@univerjs-pro/exchange-client','UNIVER_SLIDE','3376195rBZlmJ','importXLSXToSnapshotAsync','UNIVER_UNKNOWN','The\x20exchange\x20service\x20is\x20not\x20available','16tJvkDe'];_0x229c=function(){return _0x32eb4e;};return _0x229c();}class c extends i[_0x1c41b4(0x19a)]{async[_0x1c41b4(0x1a2)](_0x3f95f6){const _0x27a75e=_0x1c41b4;return this[_0x27a75e(0x195)](_0x3f95f6);}async[_0x1c41b4(0x195)](_0x247bbb){const _0x47bf2d=_0x1c41b4,_0x3dc0c5=this[_0x47bf2d(0x190)][_0x47bf2d(0x197)](r[_0x47bf2d(0x1a9)]);if(!_0x3dc0c5)throw new Error(_0x47bf2d(0x18d));return _0x3dc0c5[_0x47bf2d(0x18f)](_0x247bbb,o[_0x47bf2d(0x193)]);}async[_0x1c41b4(0x1a6)](_0xfb9157){const _0x329e7a=_0x1c41b4;return this[_0x329e7a(0x18b)](_0xfb9157);}async[_0x1c41b4(0x18b)](_0x42447){const _0x540e08=_0x1c41b4,_0x20567f=this['_injector']['get'](r['IExchangeService']);if(!_0x20567f)throw new Error(_0x540e08(0x18d));return _0x20567f['importXLSXToSnapshot'](_0x42447);}async['exportXLSXByUnitId'](_0x17f9de){return this['exportXLSXByUnitIdAsync'](_0x17f9de);}async['exportXLSXByUnitIdAsync'](_0x1d4685){const _0x5b6e0f=_0x1c41b4,_0x2a2dc2=this['_injector'][_0x5b6e0f(0x197)](r[_0x5b6e0f(0x1a9)]);if(!_0x2a2dc2)throw new Error(_0x5b6e0f(0x18d));return _0x2a2dc2['exportXLSXByUnitId'](_0x1d4685);}async[_0x1c41b4(0x194)](_0x57e5db){const _0x4a98dd=_0x1c41b4;return this[_0x4a98dd(0x1a3)](_0x57e5db);}async[_0x1c41b4(0x1a3)](_0x4ee273){const _0x5f5174=_0x1c41b4,_0xb79508=this['_injector']['get'](r['IExchangeService']);if(!_0xb79508)throw new Error(_0x5f5174(0x18d));return _0xb79508[_0x5f5174(0x194)](_0x4ee273);}async[_0x1c41b4(0x19b)](_0x5ac6dd){const _0x305514=_0x1c41b4;return this[_0x305514(0x19d)](_0x5ac6dd);}async[_0x1c41b4(0x19d)](_0x345b39){const _0x54ecf4=_0x1c41b4,_0x313d8b=this['_injector'][_0x54ecf4(0x197)](r[_0x54ecf4(0x1a9)]);if(!_0x313d8b)throw new Error(_0x54ecf4(0x18d));return _0x313d8b[_0x54ecf4(0x18f)](_0x345b39,o['UNIVER_DOC']);}async[_0x1c41b4(0x1a0)](_0x1d610e){const _0x3a0092=_0x1c41b4;return this[_0x3a0092(0x1a8)](_0x1d610e);}async[_0x1c41b4(0x1a8)](_0x483c01){const _0x156e8c=_0x1c41b4,_0x1f55ee=this['_injector'][_0x156e8c(0x197)](r[_0x156e8c(0x1a9)]);if(!_0x1f55ee)throw new Error(_0x156e8c(0x18d));return _0x1f55ee[_0x156e8c(0x1a0)](_0x483c01);}}function _0x36fc(_0x505f9f,_0x30318e){const _0x229cbc=_0x229c();return _0x36fc=function(_0x36fc85,_0x397f07){_0x36fc85=_0x36fc85-0x18a;let _0x110953=_0x229cbc[_0x36fc85];return _0x110953;},_0x36fc(_0x505f9f,_0x30318e);}i[_0x1c41b4(0x19a)][_0x1c41b4(0x1a5)](c);
1
+ 'use strict';const _0x10efba=_0x335d;(function(_0x448c8b,_0x39982f){const _0x2aa975=_0x335d,_0xdc4a7a=_0x448c8b();while(!![]){try{const _0x1ac6c3=-parseInt(_0x2aa975(0x1c2))/0x1*(parseInt(_0x2aa975(0x1aa))/0x2)+parseInt(_0x2aa975(0x1bf))/0x3*(parseInt(_0x2aa975(0x1a4))/0x4)+parseInt(_0x2aa975(0x1b7))/0x5*(-parseInt(_0x2aa975(0x1a9))/0x6)+parseInt(_0x2aa975(0x1b1))/0x7*(parseInt(_0x2aa975(0x1b9))/0x8)+-parseInt(_0x2aa975(0x1b2))/0x9+parseInt(_0x2aa975(0x1c4))/0xa*(-parseInt(_0x2aa975(0x1c5))/0xb)+parseInt(_0x2aa975(0x1a8))/0xc;if(_0x1ac6c3===_0x39982f)break;else _0xdc4a7a['push'](_0xdc4a7a['shift']());}catch(_0x1f44ec){_0xdc4a7a['push'](_0xdc4a7a['shift']());}}}(_0x5536,0x887fb));function _0x335d(_0x531975,_0xd8899e){const _0x5536df=_0x5536();return _0x335d=function(_0x335dd2,_0x5092af){_0x335dd2=_0x335dd2-0x1a3;let _0x1b9409=_0x5536df[_0x335dd2];return _0x1b9409;},_0x335d(_0x531975,_0xd8899e);}const r=require(_0x10efba(0x1a3)),i=require(_0x10efba(0x1c0));var o=(_0x33c856=>(_0x33c856[_0x33c856[_0x10efba(0x1c6)]=0x0]='UNIVER_UNKNOWN',_0x33c856[_0x33c856[_0x10efba(0x1b5)]=0x1]='UNIVER_DOC',_0x33c856[_0x33c856[_0x10efba(0x1ac)]=0x2]=_0x10efba(0x1ac),_0x33c856[_0x33c856[_0x10efba(0x1bc)]=0x3]='UNIVER_SLIDE',_0x33c856[_0x33c856[_0x10efba(0x1a6)]=0x4]=_0x10efba(0x1a6),_0x33c856[_0x33c856[_0x10efba(0x1bb)]=-0x1]=_0x10efba(0x1bb),_0x33c856))(o||{});class c extends i[_0x10efba(0x1ba)]{async[_0x10efba(0x1c3)](_0x2b3306){return this['importXLSXToUnitIdAsync'](_0x2b3306);}async['importXLSXToUnitIdAsync'](_0xc58a9a){const _0x2152eb=_0x10efba,_0x2544f7=this[_0x2152eb(0x1ad)][_0x2152eb(0x1ae)](r['IExchangeService']);if(!_0x2544f7)throw new Error(_0x2152eb(0x1c7));return _0x2544f7[_0x2152eb(0x1c8)](_0xc58a9a,o[_0x2152eb(0x1ac)]);}async[_0x10efba(0x1ab)](_0x47d368){const _0xd0d023=_0x10efba;return this[_0xd0d023(0x1b8)](_0x47d368);}async[_0x10efba(0x1b8)](_0x4e7b10){const _0x1e6860=_0x10efba,_0x1b5fca=this[_0x1e6860(0x1ad)]['get'](r[_0x1e6860(0x1a7)]);if(!_0x1b5fca)throw new Error(_0x1e6860(0x1c7));return _0x1b5fca[_0x1e6860(0x1ab)](_0x4e7b10);}async[_0x10efba(0x1b0)](_0x42b8a3){const _0x1d2936=_0x10efba;return this[_0x1d2936(0x1c1)](_0x42b8a3);}async['exportXLSXByUnitIdAsync'](_0x3d89f3){const _0x2e48d8=_0x10efba,_0x5ed714=this[_0x2e48d8(0x1ad)][_0x2e48d8(0x1ae)](r[_0x2e48d8(0x1a7)]);if(!_0x5ed714)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5ed714[_0x2e48d8(0x1b0)](_0x3d89f3);}async[_0x10efba(0x1bd)](_0xf6fa92){const _0x2bfb69=_0x10efba;return this[_0x2bfb69(0x1b6)](_0xf6fa92);}async[_0x10efba(0x1b6)](_0x38aded){const _0x5820b9=_0x10efba,_0x8a5107=this[_0x5820b9(0x1ad)]['get'](r['IExchangeService']);if(!_0x8a5107)throw new Error(_0x5820b9(0x1c7));return _0x8a5107['exportXLSXBySnapshot'](_0x38aded);}async[_0x10efba(0x1be)](_0x5bf8b2){const _0x447ecd=_0x10efba;return this[_0x447ecd(0x1b4)](_0x5bf8b2);}async['importDOCXToUnitIdAsync'](_0x3b1f52){const _0x590a64=_0x10efba,_0x77f5bd=this['_injector'][_0x590a64(0x1ae)](r[_0x590a64(0x1a7)]);if(!_0x77f5bd)throw new Error(_0x590a64(0x1c7));return _0x77f5bd[_0x590a64(0x1c8)](_0x3b1f52,o[_0x590a64(0x1b5)]);}async[_0x10efba(0x1af)](_0x38f321){const _0x5a313a=_0x10efba;return this[_0x5a313a(0x1b3)](_0x38f321);}async[_0x10efba(0x1b3)](_0x459f9e){const _0x2a8299=_0x10efba,_0x257e75=this[_0x2a8299(0x1ad)][_0x2a8299(0x1ae)](r[_0x2a8299(0x1a7)]);if(!_0x257e75)throw new Error(_0x2a8299(0x1c7));return _0x257e75[_0x2a8299(0x1af)](_0x459f9e);}}i['FUniver'][_0x10efba(0x1a5)](c);function _0x5536(){const _0x276df9=['importDOCXToSnapshot','exportXLSXByUnitId','448ggQpgm','2600784Ibkmgy','importDOCXToSnapshotAsync','importDOCXToUnitIdAsync','UNIVER_DOC','exportXLSXBySnapshotAsync','9585LyHbGp','importXLSXToSnapshotAsync','108864dyYndG','FUniver','UNRECOGNIZED','UNIVER_SLIDE','exportXLSXBySnapshot','importDOCXToUnitId','3831zxsoiG','@univerjs/core/facade','exportXLSXByUnitIdAsync','161131GdGKRq','importXLSXToUnitId','1988790WGsqea','11QwJEir','UNIVER_UNKNOWN','The\x20exchange\x20service\x20is\x20not\x20available','importFileToUnitId','@univerjs-pro/exchange-client','2576NKMnqZ','extend','UNIVER_PROJECT','IExchangeService','2622360mXvSVJ','1194WHQmhP','6OKqnDK','importXLSXToSnapshot','UNIVER_SHEET','_injector','get'];_0x5536=function(){return _0x276df9;};return _0x5536();}