@univerjs-pro/exchange-client 0.6.7-experimental.20250329-419d2d7 → 0.6.7-experimental.20250330-62d4d34

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 _0x558f48=_0x1626;function _0x1626(_0x124265,_0x125917){const _0x369f90=_0x369f();return _0x1626=function(_0x16268d,_0x57dcd1){_0x16268d=_0x16268d-0xcd;let _0x484b8b=_0x369f90[_0x16268d];return _0x484b8b;},_0x1626(_0x124265,_0x125917);}(function(_0x568d8e,_0x3f169d){const _0x653f72=_0x1626,_0x2a503d=_0x568d8e();while(!![]){try{const _0x303dee=-parseInt(_0x653f72(0xe7))/0x1+-parseInt(_0x653f72(0xe5))/0x2*(-parseInt(_0x653f72(0xea))/0x3)+parseInt(_0x653f72(0xee))/0x4+parseInt(_0x653f72(0xec))/0x5+parseInt(_0x653f72(0xd3))/0x6+-parseInt(_0x653f72(0xe6))/0x7*(parseInt(_0x653f72(0xd2))/0x8)+parseInt(_0x653f72(0xd8))/0x9*(-parseInt(_0x653f72(0xce))/0xa);if(_0x303dee===_0x3f169d)break;else _0x2a503d['push'](_0x2a503d['shift']());}catch(_0x2fd300){_0x2a503d['push'](_0x2a503d['shift']());}}}(_0x369f,0x61957));const r=require('@univerjs-pro/exchange-client'),i=require(_0x558f48(0xe3));var o=(_0xf13fc0=>(_0xf13fc0[_0xf13fc0['UNIVER_UNKNOWN']=0x0]=_0x558f48(0xef),_0xf13fc0[_0xf13fc0['UNIVER_DOC']=0x1]=_0x558f48(0xd4),_0xf13fc0[_0xf13fc0['UNIVER_SHEET']=0x2]=_0x558f48(0xed),_0xf13fc0[_0xf13fc0[_0x558f48(0xeb)]=0x3]='UNIVER_SLIDE',_0xf13fc0[_0xf13fc0[_0x558f48(0xdf)]=0x4]='UNIVER_PROJECT',_0xf13fc0[_0xf13fc0[_0x558f48(0xd9)]=-0x1]=_0x558f48(0xd9),_0xf13fc0))(o||{});class c extends i[_0x558f48(0xe2)]{async[_0x558f48(0xd5)](_0x955811){const _0x2759fb=_0x558f48;return this[_0x2759fb(0xe4)](_0x955811);}async[_0x558f48(0xe4)](_0x12fa13){const _0x3a1188=_0x558f48,_0x122b14=this[_0x3a1188(0xde)]['get'](r[_0x3a1188(0xe8)]);if(!_0x122b14)throw new Error(_0x3a1188(0xd0));return _0x122b14[_0x3a1188(0xdb)](_0x12fa13,o[_0x3a1188(0xed)]);}async[_0x558f48(0xcd)](_0x41ddbb){const _0xed8729=_0x558f48;return this[_0xed8729(0xe1)](_0x41ddbb);}async['importXLSXToSnapshotAsync'](_0x1572d6){const _0x11f262=_0x558f48,_0x2e2a51=this[_0x11f262(0xde)][_0x11f262(0xdd)](r[_0x11f262(0xe8)]);if(!_0x2e2a51)throw new Error(_0x11f262(0xd0));return _0x2e2a51[_0x11f262(0xcd)](_0x1572d6);}async['exportXLSXByUnitId'](_0x166261){return this['exportXLSXByUnitIdAsync'](_0x166261);}async[_0x558f48(0xda)](_0x34d23e){const _0x41d562=_0x558f48,_0x57e73b=this[_0x41d562(0xde)][_0x41d562(0xdd)](r[_0x41d562(0xe8)]);if(!_0x57e73b)throw new Error(_0x41d562(0xd0));return _0x57e73b[_0x41d562(0xd6)](_0x34d23e);}async[_0x558f48(0xe9)](_0x407c70){const _0x1c532c=_0x558f48;return this[_0x1c532c(0xe0)](_0x407c70);}async['exportXLSXBySnapshotAsync'](_0x12bcac){const _0x52b52f=_0x558f48,_0x49b4a0=this[_0x52b52f(0xde)][_0x52b52f(0xdd)](r[_0x52b52f(0xe8)]);if(!_0x49b4a0)throw new Error(_0x52b52f(0xd0));return _0x49b4a0[_0x52b52f(0xe9)](_0x12bcac);}async['importDOCXToUnitId'](_0x5d4a5a){const _0x30e61b=_0x558f48;return this[_0x30e61b(0xdc)](_0x5d4a5a);}async[_0x558f48(0xdc)](_0x415c93){const _0x97c93=_0x558f48,_0x1191fd=this[_0x97c93(0xde)]['get'](r[_0x97c93(0xe8)]);if(!_0x1191fd)throw new Error(_0x97c93(0xd0));return _0x1191fd['importFileToUnitId'](_0x415c93,o[_0x97c93(0xd4)]);}async['importDOCXToSnapshot'](_0x4c68aa){return this['importDOCXToSnapshotAsync'](_0x4c68aa);}async[_0x558f48(0xcf)](_0x4cac9b){const _0x47a48e=_0x558f48,_0x3a7e2e=this[_0x47a48e(0xde)]['get'](r[_0x47a48e(0xe8)]);if(!_0x3a7e2e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3a7e2e[_0x47a48e(0xd7)](_0x4cac9b);}}i[_0x558f48(0xe2)][_0x558f48(0xd1)](c);function _0x369f(){const _0x49202e=['importXLSXToUnitId','exportXLSXByUnitId','importDOCXToSnapshot','3249Iseiuc','UNRECOGNIZED','exportXLSXByUnitIdAsync','importFileToUnitId','importDOCXToUnitIdAsync','get','_injector','UNIVER_PROJECT','exportXLSXBySnapshotAsync','importXLSXToSnapshotAsync','FUniver','@univerjs/core/facade','importXLSXToUnitIdAsync','1468VxRIFn','280882GeGqVj','25646XRYvgg','IExchangeService','exportXLSXBySnapshot','2418RUurpk','UNIVER_SLIDE','765485FrQXVF','UNIVER_SHEET','1880752sDIYuc','UNIVER_UNKNOWN','importXLSXToSnapshot','21890lRSmmE','importDOCXToSnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','extend','64muQDWj','1930182kDdwWH','UNIVER_DOC'];_0x369f=function(){return _0x49202e;};return _0x369f();}
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);