@univerjs-pro/exchange-client 0.6.7-experimental.20250330-62d4d34 → 0.6.7-experimental.20250331-aa3ee78

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 _0x5b0b38=_0x5afc;(function(_0x638df,_0x12f098){const _0x10b949=_0x5afc,_0xe2989e=_0x638df();while(!![]){try{const _0x510baa=parseInt(_0x10b949(0x20d))/0x1+parseInt(_0x10b949(0x1fe))/0x2*(parseInt(_0x10b949(0x1f4))/0x3)+parseInt(_0x10b949(0x1fb))/0x4*(parseInt(_0x10b949(0x1f3))/0x5)+-parseInt(_0x10b949(0x203))/0x6+parseInt(_0x10b949(0x200))/0x7*(-parseInt(_0x10b949(0x210))/0x8)+-parseInt(_0x10b949(0x20f))/0x9*(parseInt(_0x10b949(0x1ed))/0xa)+-parseInt(_0x10b949(0x207))/0xb*(-parseInt(_0x10b949(0x20c))/0xc);if(_0x510baa===_0x12f098)break;else _0xe2989e['push'](_0xe2989e['shift']());}catch(_0x5a6da6){_0xe2989e['push'](_0xe2989e['shift']());}}}(_0x347a,0x2835f));function _0x5afc(_0x48742b,_0x2680ed){const _0x347a12=_0x347a();return _0x5afc=function(_0x5afc57,_0x85b62a){_0x5afc57=_0x5afc57-0x1ec;let _0x1a1ba4=_0x347a12[_0x5afc57];return _0x1a1ba4;},_0x5afc(_0x48742b,_0x2680ed);}const r=require(_0x5b0b38(0x1ee)),i=require('@univerjs/core/facade');var o=(_0x2b9437=>(_0x2b9437[_0x2b9437['UNIVER_UNKNOWN']=0x0]=_0x5b0b38(0x1ff),_0x2b9437[_0x2b9437[_0x5b0b38(0x20e)]=0x1]=_0x5b0b38(0x20e),_0x2b9437[_0x2b9437['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x2b9437[_0x2b9437[_0x5b0b38(0x1ec)]=0x3]=_0x5b0b38(0x1ec),_0x2b9437[_0x2b9437[_0x5b0b38(0x1f5)]=0x4]=_0x5b0b38(0x1f5),_0x2b9437[_0x2b9437[_0x5b0b38(0x1f1)]=-0x1]=_0x5b0b38(0x1f1),_0x2b9437))(o||{});function _0x347a(){const _0x52fa45=['importXLSXToUnitId','IExchangeService','37358PxGarr','UNIVER_UNKNOWN','7jbBPIX','extend','_injector','431700jbwUIc','FUniver','get','importDOCXToUnitId','1316733gQReIX','importXLSXToUnitIdAsync','exportXLSXBySnapshot','exportXLSXByUnitIdAsync','UNIVER_SHEET','12SildSR','169952dknlNJ','UNIVER_DOC','10710ZUUqMz','689824bLAXZM','UNIVER_SLIDE','1630iPtLIR','@univerjs-pro/exchange-client','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToUnitIdAsync','UNRECOGNIZED','exportXLSXBySnapshotAsync','14505MvdfVK','9LaFMfY','UNIVER_PROJECT','importXLSXToSnapshot','exportXLSXByUnitId','importXLSXToSnapshotAsync','importDOCXToSnapshotAsync','importDOCXToSnapshot','236FRlbae'];_0x347a=function(){return _0x52fa45;};return _0x347a();}class c extends i[_0x5b0b38(0x204)]{async[_0x5b0b38(0x1fc)](_0xd059c3){const _0x4c9b94=_0x5b0b38;return this[_0x4c9b94(0x208)](_0xd059c3);}async['importXLSXToUnitIdAsync'](_0x1c6400){const _0x1f4431=_0x5b0b38,_0x1a69c0=this['_injector'][_0x1f4431(0x205)](r[_0x1f4431(0x1fd)]);if(!_0x1a69c0)throw new Error(_0x1f4431(0x1ef));return _0x1a69c0['importFileToUnitId'](_0x1c6400,o[_0x1f4431(0x20b)]);}async['importXLSXToSnapshot'](_0x4a3e71){const _0x3c5ae3=_0x5b0b38;return this[_0x3c5ae3(0x1f8)](_0x4a3e71);}async[_0x5b0b38(0x1f8)](_0x9a1ff1){const _0x3344ea=_0x5b0b38,_0x215b5a=this[_0x3344ea(0x202)][_0x3344ea(0x205)](r[_0x3344ea(0x1fd)]);if(!_0x215b5a)throw new Error(_0x3344ea(0x1ef));return _0x215b5a[_0x3344ea(0x1f6)](_0x9a1ff1);}async[_0x5b0b38(0x1f7)](_0x3868b5){return this['exportXLSXByUnitIdAsync'](_0x3868b5);}async[_0x5b0b38(0x20a)](_0x329532){const _0x2a2dc5=_0x5b0b38,_0xcb1e44=this['_injector'][_0x2a2dc5(0x205)](r[_0x2a2dc5(0x1fd)]);if(!_0xcb1e44)throw new Error(_0x2a2dc5(0x1ef));return _0xcb1e44['exportXLSXByUnitId'](_0x329532);}async[_0x5b0b38(0x209)](_0x40bc1e){const _0x328a07=_0x5b0b38;return this[_0x328a07(0x1f2)](_0x40bc1e);}async['exportXLSXBySnapshotAsync'](_0x79c7f5){const _0x2f5ed8=_0x5b0b38,_0x241e95=this[_0x2f5ed8(0x202)][_0x2f5ed8(0x205)](r[_0x2f5ed8(0x1fd)]);if(!_0x241e95)throw new Error(_0x2f5ed8(0x1ef));return _0x241e95[_0x2f5ed8(0x209)](_0x79c7f5);}async[_0x5b0b38(0x206)](_0x4c345f){const _0x378280=_0x5b0b38;return this[_0x378280(0x1f0)](_0x4c345f);}async[_0x5b0b38(0x1f0)](_0x5a93d8){const _0x4d3fe5=_0x5b0b38,_0x3f7958=this['_injector'][_0x4d3fe5(0x205)](r[_0x4d3fe5(0x1fd)]);if(!_0x3f7958)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3f7958['importFileToUnitId'](_0x5a93d8,o[_0x4d3fe5(0x20e)]);}async[_0x5b0b38(0x1fa)](_0x7da332){const _0x5ab536=_0x5b0b38;return this[_0x5ab536(0x1f9)](_0x7da332);}async[_0x5b0b38(0x1f9)](_0x3450df){const _0x2e13cf=_0x5b0b38,_0x1805b7=this[_0x2e13cf(0x202)][_0x2e13cf(0x205)](r[_0x2e13cf(0x1fd)]);if(!_0x1805b7)throw new Error(_0x2e13cf(0x1ef));return _0x1805b7['importDOCXToSnapshot'](_0x3450df);}}i['FUniver'][_0x5b0b38(0x201)](c);
1
+ 'use strict';const _0x56887d=_0x76b6;(function(_0x54b2c0,_0x42a26b){const _0x448b90=_0x76b6,_0x52c93e=_0x54b2c0();while(!![]){try{const _0x35dd99=-parseInt(_0x448b90(0x1b4))/0x1+parseInt(_0x448b90(0x1af))/0x2+-parseInt(_0x448b90(0x1bd))/0x3+-parseInt(_0x448b90(0x1bb))/0x4*(parseInt(_0x448b90(0x1ae))/0x5)+-parseInt(_0x448b90(0x1a8))/0x6+parseInt(_0x448b90(0x1b0))/0x7+-parseInt(_0x448b90(0x1ab))/0x8*(-parseInt(_0x448b90(0x1bc))/0x9);if(_0x35dd99===_0x42a26b)break;else _0x52c93e['push'](_0x52c93e['shift']());}catch(_0x40f1ed){_0x52c93e['push'](_0x52c93e['shift']());}}}(_0x4bb1,0xdff9c));const r=require(_0x56887d(0x1c3)),i=require(_0x56887d(0x1b3));function _0x4bb1(){const _0x2cdc62=['30901644wUCBcv','3361002CKbONR','exportXLSXByUnitId','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SLIDE','extend','IExchangeService','@univerjs-pro/exchange-client','exportXLSXBySnapshotAsync','UNIVER_UNKNOWN','importDOCXToSnapshotAsync','exportXLSXByUnitIdAsync','importXLSXToSnapshotAsync','UNIVER_PROJECT','FUniver','4460112NMxaSH','importXLSXToUnitId','_injector','8gkyZLF','importDOCXToSnapshot','importXLSXToSnapshot','1931970yTMGEk','280312IRxLcs','433104hnZwFo','importDOCXToUnitIdAsync','UNIVER_DOC','@univerjs/core/facade','468060brmfUL','importFileToUnitId','get','exportXLSXBySnapshot','UNIVER_SHEET','importDOCXToUnitId','UNRECOGNIZED','4XhYTRW'];_0x4bb1=function(){return _0x2cdc62;};return _0x4bb1();}function _0x76b6(_0x192d99,_0x1a28ee){const _0x4bb1c2=_0x4bb1();return _0x76b6=function(_0x76b65d,_0x4ab94d){_0x76b65d=_0x76b65d-0x1a4;let _0x42afa7=_0x4bb1c2[_0x76b65d];return _0x42afa7;},_0x76b6(_0x192d99,_0x1a28ee);}var o=(_0x2a944b=>(_0x2a944b[_0x2a944b[_0x56887d(0x1c5)]=0x0]=_0x56887d(0x1c5),_0x2a944b[_0x2a944b[_0x56887d(0x1b2)]=0x1]=_0x56887d(0x1b2),_0x2a944b[_0x2a944b[_0x56887d(0x1b8)]=0x2]=_0x56887d(0x1b8),_0x2a944b[_0x2a944b[_0x56887d(0x1c0)]=0x3]=_0x56887d(0x1c0),_0x2a944b[_0x2a944b[_0x56887d(0x1a6)]=0x4]=_0x56887d(0x1a6),_0x2a944b[_0x2a944b[_0x56887d(0x1ba)]=-0x1]='UNRECOGNIZED',_0x2a944b))(o||{});class c extends i[_0x56887d(0x1a7)]{async[_0x56887d(0x1a9)](_0x1b0337){return this['importXLSXToUnitIdAsync'](_0x1b0337);}async['importXLSXToUnitIdAsync'](_0x34914f){const _0x50396b=_0x56887d,_0x45350a=this['_injector'][_0x50396b(0x1b6)](r[_0x50396b(0x1c2)]);if(!_0x45350a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x45350a[_0x50396b(0x1b5)](_0x34914f,o[_0x50396b(0x1b8)]);}async[_0x56887d(0x1ad)](_0x1cbb91){const _0x200eab=_0x56887d;return this[_0x200eab(0x1a5)](_0x1cbb91);}async['importXLSXToSnapshotAsync'](_0x5688d3){const _0x1d5fe7=_0x56887d,_0x3686f9=this[_0x1d5fe7(0x1aa)][_0x1d5fe7(0x1b6)](r['IExchangeService']);if(!_0x3686f9)throw new Error(_0x1d5fe7(0x1bf));return _0x3686f9[_0x1d5fe7(0x1ad)](_0x5688d3);}async['exportXLSXByUnitId'](_0x5967e5){const _0x562066=_0x56887d;return this[_0x562066(0x1a4)](_0x5967e5);}async[_0x56887d(0x1a4)](_0x45e193){const _0x170209=_0x56887d,_0x2daa46=this[_0x170209(0x1aa)][_0x170209(0x1b6)](r[_0x170209(0x1c2)]);if(!_0x2daa46)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2daa46[_0x170209(0x1be)](_0x45e193);}async['exportXLSXBySnapshot'](_0x15cfa7){return this['exportXLSXBySnapshotAsync'](_0x15cfa7);}async[_0x56887d(0x1c4)](_0x25e7ad){const _0xab7b77=_0x56887d,_0x45cbb8=this['_injector'][_0xab7b77(0x1b6)](r[_0xab7b77(0x1c2)]);if(!_0x45cbb8)throw new Error(_0xab7b77(0x1bf));return _0x45cbb8[_0xab7b77(0x1b7)](_0x25e7ad);}async[_0x56887d(0x1b9)](_0x5c667e){return this['importDOCXToUnitIdAsync'](_0x5c667e);}async[_0x56887d(0x1b1)](_0x514576){const _0x1c77ec=_0x56887d,_0x4889a9=this[_0x1c77ec(0x1aa)][_0x1c77ec(0x1b6)](r[_0x1c77ec(0x1c2)]);if(!_0x4889a9)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4889a9[_0x1c77ec(0x1b5)](_0x514576,o[_0x1c77ec(0x1b2)]);}async['importDOCXToSnapshot'](_0x34f882){const _0x3c0b3c=_0x56887d;return this[_0x3c0b3c(0x1c6)](_0x34f882);}async['importDOCXToSnapshotAsync'](_0x20e24f){const _0x522481=_0x56887d,_0x1102a3=this[_0x522481(0x1aa)][_0x522481(0x1b6)](r[_0x522481(0x1c2)]);if(!_0x1102a3)throw new Error(_0x522481(0x1bf));return _0x1102a3[_0x522481(0x1ac)](_0x20e24f);}}i[_0x56887d(0x1a7)][_0x56887d(0x1c1)](c);