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

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 _0x1741eb=_0xe4bd;(function(_0x4f7e17,_0x198f34){const _0x4663af=_0xe4bd,_0x288ef4=_0x4f7e17();while(!![]){try{const _0xb1ca4f=-parseInt(_0x4663af(0xa9))/0x1+-parseInt(_0x4663af(0xac))/0x2+-parseInt(_0x4663af(0xb3))/0x3+-parseInt(_0x4663af(0xc1))/0x4+parseInt(_0x4663af(0xb0))/0x5*(-parseInt(_0x4663af(0xad))/0x6)+-parseInt(_0x4663af(0xbc))/0x7+parseInt(_0x4663af(0xb5))/0x8;if(_0xb1ca4f===_0x198f34)break;else _0x288ef4['push'](_0x288ef4['shift']());}catch(_0x391db7){_0x288ef4['push'](_0x288ef4['shift']());}}}(_0x3f57,0xd7c86));function _0xe4bd(_0x5ed794,_0x4cd375){const _0x3f5770=_0x3f57();return _0xe4bd=function(_0xe4bdf0,_0xa95919){_0xe4bdf0=_0xe4bdf0-0xa3;let _0x7d1d3d=_0x3f5770[_0xe4bdf0];return _0x7d1d3d;},_0xe4bd(_0x5ed794,_0x4cd375);}function _0x3f57(){const _0x48c8d=['42917448ebOSqL','importDOCXToSnapshot','UNIVER_SLIDE','UNIVER_SHEET','IExchangeService','exportXLSXBySnapshot','importDOCXToUnitId','733817FNevnx','@univerjs/core/facade','get','exportXLSXByUnitIdAsync','importDOCXToUnitIdAsync','1165700Jthnwe','importXLSXToUnitId','importFileToUnitId','UNRECOGNIZED','importXLSXToSnapshotAsync','extend','importXLSXToSnapshot','importXLSXToUnitIdAsync','UNIVER_DOC','1104568wqUcve','_injector','importDOCXToSnapshotAsync','2644348gcNAug','20982YUHFij','exportXLSXByUnitId','exportXLSXBySnapshotAsync','395jXErxk','UNIVER_UNKNOWN','The\x20exchange\x20service\x20is\x20not\x20available','4144722ElzDZg','FUniver'];_0x3f57=function(){return _0x48c8d;};return _0x3f57();}const r=require('@univerjs-pro/exchange-client'),i=require(_0x1741eb(0xbd));var o=(_0x417e1c=>(_0x417e1c[_0x417e1c[_0x1741eb(0xb1)]=0x0]=_0x1741eb(0xb1),_0x417e1c[_0x417e1c[_0x1741eb(0xa8)]=0x1]=_0x1741eb(0xa8),_0x417e1c[_0x417e1c[_0x1741eb(0xb8)]=0x2]=_0x1741eb(0xb8),_0x417e1c[_0x417e1c[_0x1741eb(0xb7)]=0x3]=_0x1741eb(0xb7),_0x417e1c[_0x417e1c['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x417e1c[_0x417e1c['UNRECOGNIZED']=-0x1]=_0x1741eb(0xa3),_0x417e1c))(o||{});class c extends i[_0x1741eb(0xb4)]{async[_0x1741eb(0xc2)](_0x63797){const _0x4180fd=_0x1741eb;return this[_0x4180fd(0xa7)](_0x63797);}async[_0x1741eb(0xa7)](_0x498435){const _0x4ebbd9=_0x1741eb,_0x4b615d=this[_0x4ebbd9(0xaa)][_0x4ebbd9(0xbe)](r['IExchangeService']);if(!_0x4b615d)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4b615d['importFileToUnitId'](_0x498435,o[_0x4ebbd9(0xb8)]);}async[_0x1741eb(0xa6)](_0x4264e3){const _0x1abf88=_0x1741eb;return this[_0x1abf88(0xa4)](_0x4264e3);}async[_0x1741eb(0xa4)](_0x42dc67){const _0x56a3d5=_0x1741eb,_0x2d163a=this['_injector'][_0x56a3d5(0xbe)](r[_0x56a3d5(0xb9)]);if(!_0x2d163a)throw new Error(_0x56a3d5(0xb2));return _0x2d163a[_0x56a3d5(0xa6)](_0x42dc67);}async[_0x1741eb(0xae)](_0x136517){const _0x171b69=_0x1741eb;return this[_0x171b69(0xbf)](_0x136517);}async[_0x1741eb(0xbf)](_0xc6df43){const _0x1ca829=_0x1741eb,_0x56068e=this[_0x1ca829(0xaa)][_0x1ca829(0xbe)](r[_0x1ca829(0xb9)]);if(!_0x56068e)throw new Error(_0x1ca829(0xb2));return _0x56068e[_0x1ca829(0xae)](_0xc6df43);}async[_0x1741eb(0xba)](_0x357a6e){const _0x5be548=_0x1741eb;return this[_0x5be548(0xaf)](_0x357a6e);}async[_0x1741eb(0xaf)](_0x458652){const _0x5c7fa0=_0x1741eb,_0x51ccca=this[_0x5c7fa0(0xaa)][_0x5c7fa0(0xbe)](r['IExchangeService']);if(!_0x51ccca)throw new Error(_0x5c7fa0(0xb2));return _0x51ccca[_0x5c7fa0(0xba)](_0x458652);}async[_0x1741eb(0xbb)](_0x2dd2f9){const _0x6f7d16=_0x1741eb;return this[_0x6f7d16(0xc0)](_0x2dd2f9);}async[_0x1741eb(0xc0)](_0x324b27){const _0x47b85e=_0x1741eb,_0x1bd1df=this[_0x47b85e(0xaa)][_0x47b85e(0xbe)](r[_0x47b85e(0xb9)]);if(!_0x1bd1df)throw new Error(_0x47b85e(0xb2));return _0x1bd1df[_0x47b85e(0xc3)](_0x324b27,o[_0x47b85e(0xa8)]);}async['importDOCXToSnapshot'](_0x193e3c){const _0x1cf175=_0x1741eb;return this[_0x1cf175(0xab)](_0x193e3c);}async[_0x1741eb(0xab)](_0x4626de){const _0x1f4f9f=_0x1741eb,_0x2558ae=this[_0x1f4f9f(0xaa)][_0x1f4f9f(0xbe)](r[_0x1f4f9f(0xb9)]);if(!_0x2558ae)throw new Error(_0x1f4f9f(0xb2));return _0x2558ae[_0x1f4f9f(0xb6)](_0x4626de);}}i[_0x1741eb(0xb4)][_0x1741eb(0xa5)](c);