@univerjs-pro/exchange-client 0.6.7-experimental.20250401-01b1fd0 → 0.6.7-experimental.20250401-3d35205

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 _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();}
1
+ 'use strict';function _0x1a39(){const _0x28c40e=['The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshotAsync','@univerjs-pro/exchange-client','FUniver','UNIVER_PROJECT','33723iQeySy','UNRECOGNIZED','133rBgAmG','248270lfOxbY','importXLSXToSnapshot','exportXLSXByUnitId','importFileToUnitId','importXLSXToUnitIdAsync','897276TRrbDi','importDOCXToUnitIdAsync','exportXLSXBySnapshotAsync','importDOCXToUnitId','UNIVER_SLIDE','extend','220893WTqGys','35736fYUccD','importDOCXToSnapshot','@univerjs/core/facade','importDOCXToSnapshotAsync','1402635aPFEqT','UNIVER_UNKNOWN','IExchangeService','exportXLSXByUnitIdAsync','_injector','UNIVER_SHEET','importXLSXToUnitId','UNIVER_DOC','exportXLSXBySnapshot','get','275112YtyKSB'];_0x1a39=function(){return _0x28c40e;};return _0x1a39();}const _0x51c89a=_0x2062;(function(_0x33d9f0,_0x1cca56){const _0x529447=_0x2062,_0x58b28a=_0x33d9f0();while(!![]){try{const _0x28008=parseInt(_0x529447(0x1aa))/0x1+parseInt(_0x529447(0x1ad))/0x2+-parseInt(_0x529447(0x1b8))/0x3+parseInt(_0x529447(0x1b2))/0x4+-parseInt(_0x529447(0x1bd))/0x5+-parseInt(_0x529447(0x1b9))/0x6*(-parseInt(_0x529447(0x1ac))/0x7)+parseInt(_0x529447(0x1c7))/0x8;if(_0x28008===_0x1cca56)break;else _0x58b28a['push'](_0x58b28a['shift']());}catch(_0x4fb61b){_0x58b28a['push'](_0x58b28a['shift']());}}}(_0x1a39,0x2add4));function _0x2062(_0x4dfd5e,_0x4cfd57){const _0x1a397c=_0x1a39();return _0x2062=function(_0x2062f9,_0x666ef4){_0x2062f9=_0x2062f9-0x1a9;let _0x27c22=_0x1a397c[_0x2062f9];return _0x27c22;},_0x2062(_0x4dfd5e,_0x4cfd57);}const r=require(_0x51c89a(0x1ca)),i=require(_0x51c89a(0x1bb));var o=(_0x514dd7=>(_0x514dd7[_0x514dd7[_0x51c89a(0x1be)]=0x0]=_0x51c89a(0x1be),_0x514dd7[_0x514dd7['UNIVER_DOC']=0x1]=_0x51c89a(0x1c4),_0x514dd7[_0x514dd7[_0x51c89a(0x1c2)]=0x2]=_0x51c89a(0x1c2),_0x514dd7[_0x514dd7[_0x51c89a(0x1b6)]=0x3]=_0x51c89a(0x1b6),_0x514dd7[_0x514dd7[_0x51c89a(0x1a9)]=0x4]=_0x51c89a(0x1a9),_0x514dd7[_0x514dd7[_0x51c89a(0x1ab)]=-0x1]=_0x51c89a(0x1ab),_0x514dd7))(o||{});class c extends i['FUniver']{async[_0x51c89a(0x1c3)](_0x4facb4){return this['importXLSXToUnitIdAsync'](_0x4facb4);}async[_0x51c89a(0x1b1)](_0x21b82f){const _0x167b7b=_0x51c89a,_0x1663bb=this[_0x167b7b(0x1c1)][_0x167b7b(0x1c6)](r['IExchangeService']);if(!_0x1663bb)throw new Error(_0x167b7b(0x1c8));return _0x1663bb['importFileToUnitId'](_0x21b82f,o['UNIVER_SHEET']);}async[_0x51c89a(0x1ae)](_0x14bad5){const _0x159e9f=_0x51c89a;return this[_0x159e9f(0x1c9)](_0x14bad5);}async[_0x51c89a(0x1c9)](_0x14d947){const _0x58e686=_0x51c89a,_0x5add4c=this['_injector'][_0x58e686(0x1c6)](r[_0x58e686(0x1bf)]);if(!_0x5add4c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5add4c[_0x58e686(0x1ae)](_0x14d947);}async[_0x51c89a(0x1af)](_0x5491cd){const _0x32880f=_0x51c89a;return this[_0x32880f(0x1c0)](_0x5491cd);}async[_0x51c89a(0x1c0)](_0x591420){const _0x50566f=_0x51c89a,_0x117d3f=this[_0x50566f(0x1c1)][_0x50566f(0x1c6)](r['IExchangeService']);if(!_0x117d3f)throw new Error(_0x50566f(0x1c8));return _0x117d3f[_0x50566f(0x1af)](_0x591420);}async['exportXLSXBySnapshot'](_0x3e5c80){const _0x424d47=_0x51c89a;return this[_0x424d47(0x1b4)](_0x3e5c80);}async['exportXLSXBySnapshotAsync'](_0x478e26){const _0x35bb1a=_0x51c89a,_0x58eac2=this[_0x35bb1a(0x1c1)][_0x35bb1a(0x1c6)](r[_0x35bb1a(0x1bf)]);if(!_0x58eac2)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x58eac2[_0x35bb1a(0x1c5)](_0x478e26);}async[_0x51c89a(0x1b5)](_0x13013f){const _0x488c83=_0x51c89a;return this[_0x488c83(0x1b3)](_0x13013f);}async[_0x51c89a(0x1b3)](_0x4204df){const _0x3e7c38=_0x51c89a,_0x2ade55=this[_0x3e7c38(0x1c1)][_0x3e7c38(0x1c6)](r[_0x3e7c38(0x1bf)]);if(!_0x2ade55)throw new Error(_0x3e7c38(0x1c8));return _0x2ade55[_0x3e7c38(0x1b0)](_0x4204df,o[_0x3e7c38(0x1c4)]);}async['importDOCXToSnapshot'](_0x36282e){const _0x225d0e=_0x51c89a;return this[_0x225d0e(0x1bc)](_0x36282e);}async[_0x51c89a(0x1bc)](_0x87a9e3){const _0x58e43f=_0x51c89a,_0x38b34b=this[_0x58e43f(0x1c1)][_0x58e43f(0x1c6)](r['IExchangeService']);if(!_0x38b34b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x38b34b[_0x58e43f(0x1ba)](_0x87a9e3);}}i[_0x51c89a(0x1cb)][_0x51c89a(0x1b7)](c);