@univerjs-pro/exchange-client 0.6.9-experimental.20250407-5251826 → 0.6.9-experimental.20250408-786b00e

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 _0x22e8(){const _0x46a4d2=['12089lxuLgm','3134nemSTO','importXLSXToUnitIdAsync','237750rdadPP','89010FkyBkp','importDOCXToSnapshotAsync','UNIVER_SLIDE','173ZTiDzb','_injector','exportXLSXByUnitId','UNIVER_PROJECT','488WDCkEU','exportXLSXBySnapshot','UNIVER_UNKNOWN','UNRECOGNIZED','81683vSeDKK','importDOCXToUnitId','5568pqHtOC','importXLSXToSnapshot','importDOCXToSnapshot','The\x20exchange\x20service\x20is\x20not\x20available','13518530gPWRQF','extend','get','60XDKwBD','UNIVER_SHEET','9dfVUIy','@univerjs/core/facade','UNIVER_DOC','2574591eoqlSX','importXLSXToSnapshotAsync','IExchangeService','exportXLSXByUnitIdAsync','importXLSXToUnitId','importDOCXToUnitIdAsync','exportXLSXBySnapshotAsync'];_0x22e8=function(){return _0x46a4d2;};return _0x22e8();}function _0x4a10(_0x24c908,_0x42ccd7){const _0x22e8b7=_0x22e8();return _0x4a10=function(_0x4a109a,_0x93912e){_0x4a109a=_0x4a109a-0xad;let _0x17d80b=_0x22e8b7[_0x4a109a];return _0x17d80b;},_0x4a10(_0x24c908,_0x42ccd7);}const _0x77bde6=_0x4a10;(function(_0x59305d,_0x439a52){const _0x157b9e=_0x4a10,_0x2dfe10=_0x59305d();while(!![]){try{const _0x43d540=-parseInt(_0x157b9e(0xc3))/0x1*(parseInt(_0x157b9e(0xbd))/0x2)+-parseInt(_0x157b9e(0xb5))/0x3+parseInt(_0x157b9e(0xb0))/0x4*(parseInt(_0x157b9e(0xbf))/0x5)+parseInt(_0x157b9e(0xc0))/0x6+-parseInt(_0x157b9e(0xcb))/0x7*(parseInt(_0x157b9e(0xc7))/0x8)+-parseInt(_0x157b9e(0xb2))/0x9*(-parseInt(_0x157b9e(0xad))/0xa)+parseInt(_0x157b9e(0xbc))/0xb*(parseInt(_0x157b9e(0xcd))/0xc);if(_0x43d540===_0x439a52)break;else _0x2dfe10['push'](_0x2dfe10['shift']());}catch(_0xb5b71b){_0x2dfe10['push'](_0x2dfe10['shift']());}}}(_0x22e8,0xb6ce9));const r=require('@univerjs-pro/exchange-client'),i=require(_0x77bde6(0xb3));var o=(_0xd12385=>(_0xd12385[_0xd12385[_0x77bde6(0xc9)]=0x0]='UNIVER_UNKNOWN',_0xd12385[_0xd12385[_0x77bde6(0xb4)]=0x1]=_0x77bde6(0xb4),_0xd12385[_0xd12385[_0x77bde6(0xb1)]=0x2]='UNIVER_SHEET',_0xd12385[_0xd12385[_0x77bde6(0xc2)]=0x3]=_0x77bde6(0xc2),_0xd12385[_0xd12385['UNIVER_PROJECT']=0x4]=_0x77bde6(0xc6),_0xd12385[_0xd12385[_0x77bde6(0xca)]=-0x1]=_0x77bde6(0xca),_0xd12385))(o||{});class c extends i['FUniver']{async[_0x77bde6(0xb9)](_0xe85eaf){const _0x45d969=_0x77bde6;return this[_0x45d969(0xbe)](_0xe85eaf);}async[_0x77bde6(0xbe)](_0x43b5e5){const _0x490ffd=_0x77bde6,_0x2dd885=this[_0x490ffd(0xc4)][_0x490ffd(0xaf)](r[_0x490ffd(0xb7)]);if(!_0x2dd885)throw new Error(_0x490ffd(0xd0));return _0x2dd885['importFileToUnitId'](_0x43b5e5,o[_0x490ffd(0xb1)]);}async[_0x77bde6(0xce)](_0x43b5f6){const _0x46b5e5=_0x77bde6;return this[_0x46b5e5(0xb6)](_0x43b5f6);}async[_0x77bde6(0xb6)](_0x31b505){const _0x2dcc3b=_0x77bde6,_0x3c2f96=this['_injector'][_0x2dcc3b(0xaf)](r[_0x2dcc3b(0xb7)]);if(!_0x3c2f96)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3c2f96['importXLSXToSnapshot'](_0x31b505);}async['exportXLSXByUnitId'](_0x189369){const _0x433d72=_0x77bde6;return this[_0x433d72(0xb8)](_0x189369);}async[_0x77bde6(0xb8)](_0x4de893){const _0x396946=_0x77bde6,_0x5b7612=this[_0x396946(0xc4)][_0x396946(0xaf)](r[_0x396946(0xb7)]);if(!_0x5b7612)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5b7612[_0x396946(0xc5)](_0x4de893);}async['exportXLSXBySnapshot'](_0x3d5121){const _0x1a6f61=_0x77bde6;return this[_0x1a6f61(0xbb)](_0x3d5121);}async[_0x77bde6(0xbb)](_0x2cf2f3){const _0x74d799=_0x77bde6,_0x862eb8=this[_0x74d799(0xc4)]['get'](r[_0x74d799(0xb7)]);if(!_0x862eb8)throw new Error(_0x74d799(0xd0));return _0x862eb8[_0x74d799(0xc8)](_0x2cf2f3);}async[_0x77bde6(0xcc)](_0x4aa48d){const _0x2b875a=_0x77bde6;return this[_0x2b875a(0xba)](_0x4aa48d);}async[_0x77bde6(0xba)](_0x5cd839){const _0x1e63cb=_0x77bde6,_0x5e7004=this[_0x1e63cb(0xc4)]['get'](r[_0x1e63cb(0xb7)]);if(!_0x5e7004)throw new Error(_0x1e63cb(0xd0));return _0x5e7004['importFileToUnitId'](_0x5cd839,o[_0x1e63cb(0xb4)]);}async[_0x77bde6(0xcf)](_0x211756){const _0x2ecf48=_0x77bde6;return this[_0x2ecf48(0xc1)](_0x211756);}async[_0x77bde6(0xc1)](_0x4d538e){const _0x3b7365=_0x77bde6,_0x3b00ce=this[_0x3b7365(0xc4)][_0x3b7365(0xaf)](r[_0x3b7365(0xb7)]);if(!_0x3b00ce)throw new Error(_0x3b7365(0xd0));return _0x3b00ce[_0x3b7365(0xcf)](_0x4d538e);}}i['FUniver'][_0x77bde6(0xae)](c);
1
+ 'use strict';const _0x21ea3f=_0x399e;function _0x399e(_0x24de56,_0x200beb){const _0x2c2e25=_0x2c2e();return _0x399e=function(_0x399eae,_0xf6e8f){_0x399eae=_0x399eae-0xe9;let _0x156a0e=_0x2c2e25[_0x399eae];return _0x156a0e;},_0x399e(_0x24de56,_0x200beb);}(function(_0x53dcb9,_0x588351){const _0x5713d9=_0x399e,_0x4d6ccc=_0x53dcb9();while(!![]){try{const _0x118fe1=parseInt(_0x5713d9(0x109))/0x1+-parseInt(_0x5713d9(0xf3))/0x2+-parseInt(_0x5713d9(0xf0))/0x3*(-parseInt(_0x5713d9(0xfa))/0x4)+parseInt(_0x5713d9(0xf2))/0x5*(parseInt(_0x5713d9(0x100))/0x6)+parseInt(_0x5713d9(0xf1))/0x7*(-parseInt(_0x5713d9(0xfb))/0x8)+parseInt(_0x5713d9(0xf9))/0x9*(-parseInt(_0x5713d9(0x10a))/0xa)+parseInt(_0x5713d9(0x107))/0xb*(parseInt(_0x5713d9(0xfe))/0xc);if(_0x118fe1===_0x588351)break;else _0x4d6ccc['push'](_0x4d6ccc['shift']());}catch(_0x3d102c){_0x4d6ccc['push'](_0x4d6ccc['shift']());}}}(_0x2c2e,0x81785));const r=require(_0x21ea3f(0xed)),i=require(_0x21ea3f(0xf4));var o=(_0x31c1c2=>(_0x31c1c2[_0x31c1c2['UNIVER_UNKNOWN']=0x0]=_0x21ea3f(0xf5),_0x31c1c2[_0x31c1c2[_0x21ea3f(0x10b)]=0x1]=_0x21ea3f(0x10b),_0x31c1c2[_0x31c1c2[_0x21ea3f(0x104)]=0x2]=_0x21ea3f(0x104),_0x31c1c2[_0x31c1c2[_0x21ea3f(0xec)]=0x3]='UNIVER_SLIDE',_0x31c1c2[_0x31c1c2[_0x21ea3f(0xf6)]=0x4]=_0x21ea3f(0xf6),_0x31c1c2[_0x31c1c2[_0x21ea3f(0x10d)]=-0x1]=_0x21ea3f(0x10d),_0x31c1c2))(o||{});function _0x2c2e(){const _0x4f5555=['UNIVER_DOC','FUniver','UNRECOGNIZED','importDOCXToUnitId','exportXLSXBySnapshot','exportXLSXByUnitIdAsync','UNIVER_SLIDE','@univerjs-pro/exchange-client','get','importDOCXToUnitIdAsync','12PsObEp','1002218FNRjzZ','333740gSIIsP','1608318hmWmce','@univerjs/core/facade','UNIVER_UNKNOWN','UNIVER_PROJECT','exportXLSXBySnapshotAsync','importXLSXToUnitIdAsync','54VxqPLD','590984lNWzpN','48StrUOE','importXLSXToSnapshotAsync','_injector','108mFEXoF','importXLSXToUnitId','24ZIlEyA','importDOCXToSnapshot','exportXLSXByUnitId','IExchangeService','UNIVER_SHEET','importXLSXToSnapshot','The\x20exchange\x20service\x20is\x20not\x20available','1036211bOdsXZ','importDOCXToSnapshotAsync','1031735EgTeKh','906680ASJYsv'];_0x2c2e=function(){return _0x4f5555;};return _0x2c2e();}class c extends i[_0x21ea3f(0x10c)]{async[_0x21ea3f(0xff)](_0x321a35){const _0x8b1a0e=_0x21ea3f;return this[_0x8b1a0e(0xf8)](_0x321a35);}async[_0x21ea3f(0xf8)](_0x2260ab){const _0x1e1b81=_0x21ea3f,_0x53f5dd=this[_0x1e1b81(0xfd)][_0x1e1b81(0xee)](r[_0x1e1b81(0x103)]);if(!_0x53f5dd)throw new Error(_0x1e1b81(0x106));return _0x53f5dd['importFileToUnitId'](_0x2260ab,o['UNIVER_SHEET']);}async[_0x21ea3f(0x105)](_0x5700bf){return this['importXLSXToSnapshotAsync'](_0x5700bf);}async[_0x21ea3f(0xfc)](_0x4f87e5){const _0x1938a5=_0x21ea3f,_0x4d0308=this[_0x1938a5(0xfd)]['get'](r[_0x1938a5(0x103)]);if(!_0x4d0308)throw new Error(_0x1938a5(0x106));return _0x4d0308[_0x1938a5(0x105)](_0x4f87e5);}async[_0x21ea3f(0x102)](_0xbd15be){const _0x17c0a6=_0x21ea3f;return this[_0x17c0a6(0xeb)](_0xbd15be);}async[_0x21ea3f(0xeb)](_0xd33302){const _0x10c284=_0x21ea3f,_0x1e4dec=this[_0x10c284(0xfd)]['get'](r[_0x10c284(0x103)]);if(!_0x1e4dec)throw new Error(_0x10c284(0x106));return _0x1e4dec[_0x10c284(0x102)](_0xd33302);}async['exportXLSXBySnapshot'](_0x1a7476){return this['exportXLSXBySnapshotAsync'](_0x1a7476);}async[_0x21ea3f(0xf7)](_0x35fedd){const _0x1441ba=_0x21ea3f,_0x2573f7=this[_0x1441ba(0xfd)][_0x1441ba(0xee)](r[_0x1441ba(0x103)]);if(!_0x2573f7)throw new Error(_0x1441ba(0x106));return _0x2573f7[_0x1441ba(0xea)](_0x35fedd);}async[_0x21ea3f(0xe9)](_0x295572){const _0x3045bf=_0x21ea3f;return this[_0x3045bf(0xef)](_0x295572);}async['importDOCXToUnitIdAsync'](_0xdfac2d){const _0x4119cd=_0x21ea3f,_0x3abe5f=this['_injector'][_0x4119cd(0xee)](r[_0x4119cd(0x103)]);if(!_0x3abe5f)throw new Error(_0x4119cd(0x106));return _0x3abe5f['importFileToUnitId'](_0xdfac2d,o[_0x4119cd(0x10b)]);}async[_0x21ea3f(0x101)](_0x1a06fc){const _0x3147e2=_0x21ea3f;return this[_0x3147e2(0x108)](_0x1a06fc);}async[_0x21ea3f(0x108)](_0x229a31){const _0x524e82=_0x21ea3f,_0x1e28b6=this[_0x524e82(0xfd)]['get'](r[_0x524e82(0x103)]);if(!_0x1e28b6)throw new Error(_0x524e82(0x106));return _0x1e28b6[_0x524e82(0x101)](_0x229a31);}}i['FUniver']['extend'](c);