@univerjs-pro/exchange-client 0.7.0-nightly.202505161607 → 0.7.0-nightly.202505181606

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 _0x3d5bc6=_0x3a79;(function(_0x3ea9db,_0x261229){const _0x256f6e=_0x3a79,_0xd3704d=_0x3ea9db();while(!![]){try{const _0x3fc54a=-parseInt(_0x256f6e(0x1be))/0x1*(parseInt(_0x256f6e(0x1a9))/0x2)+-parseInt(_0x256f6e(0x19f))/0x3*(-parseInt(_0x256f6e(0x1a5))/0x4)+-parseInt(_0x256f6e(0x1bb))/0x5*(parseInt(_0x256f6e(0x1b1))/0x6)+parseInt(_0x256f6e(0x1b0))/0x7+-parseInt(_0x256f6e(0x1b8))/0x8+-parseInt(_0x256f6e(0x1ae))/0x9*(parseInt(_0x256f6e(0x1a4))/0xa)+parseInt(_0x256f6e(0x1a2))/0xb;if(_0x3fc54a===_0x261229)break;else _0xd3704d['push'](_0xd3704d['shift']());}catch(_0x6ea265){_0xd3704d['push'](_0xd3704d['shift']());}}}(_0x2839,0xea53b));const r=require('@univerjs-pro/exchange-client'),i=require(_0x3d5bc6(0x1bc));var o=(_0x338096=>(_0x338096[_0x338096['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x338096[_0x338096[_0x3d5bc6(0x1a8)]=0x1]='UNIVER_DOC',_0x338096[_0x338096[_0x3d5bc6(0x1b2)]=0x2]=_0x3d5bc6(0x1b2),_0x338096[_0x338096[_0x3d5bc6(0x1b5)]=0x3]='UNIVER_SLIDE',_0x338096[_0x338096['UNIVER_PROJECT']=0x4]=_0x3d5bc6(0x1a7),_0x338096[_0x338096['UNRECOGNIZED']=-0x1]=_0x3d5bc6(0x1b7),_0x338096))(o||{});class c extends i[_0x3d5bc6(0x1ad)]{async[_0x3d5bc6(0x1ac)](_0x19c597){const _0x14a8e8=_0x3d5bc6;return this[_0x14a8e8(0x1b9)](_0x19c597);}async[_0x3d5bc6(0x1b9)](_0x8cbcf4){const _0x30f34c=_0x3d5bc6,_0x423e7c=this[_0x30f34c(0x1a1)][_0x30f34c(0x1b3)](r[_0x30f34c(0x1a0)]);if(!_0x423e7c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x423e7c[_0x30f34c(0x1bd)](_0x8cbcf4,o['UNIVER_SHEET']);}async[_0x3d5bc6(0x1c0)](_0xa179ec){const _0xff2e40=_0x3d5bc6;return this[_0xff2e40(0x1b6)](_0xa179ec);}async['importXLSXToSnapshotAsync'](_0x7703a8){const _0x36b643=_0x3d5bc6,_0x275012=this[_0x36b643(0x1a1)]['get'](r[_0x36b643(0x1a0)]);if(!_0x275012)throw new Error(_0x36b643(0x1a3));return _0x275012[_0x36b643(0x1c0)](_0x7703a8);}async[_0x3d5bc6(0x1a6)](_0x5b1e72){return this['exportXLSXByUnitIdAsync'](_0x5b1e72);}async['exportXLSXByUnitIdAsync'](_0x4fe583){const _0xa6dd08=_0x3d5bc6,_0x1b3f90=this['_injector'][_0xa6dd08(0x1b3)](r[_0xa6dd08(0x1a0)]);if(!_0x1b3f90)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1b3f90[_0xa6dd08(0x1a6)](_0x4fe583);}async[_0x3d5bc6(0x1ba)](_0x5edc22){return this['exportXLSXBySnapshotAsync'](_0x5edc22);}async[_0x3d5bc6(0x1bf)](_0x4cf7a2){const _0x9d8f4d=_0x3d5bc6,_0x2af226=this[_0x9d8f4d(0x1a1)][_0x9d8f4d(0x1b3)](r['IExchangeService']);if(!_0x2af226)throw new Error(_0x9d8f4d(0x1a3));return _0x2af226[_0x9d8f4d(0x1ba)](_0x4cf7a2);}async[_0x3d5bc6(0x1aa)](_0x431445){return this['importDOCXToUnitIdAsync'](_0x431445);}async['importDOCXToUnitIdAsync'](_0x338c08){const _0x3519e4=_0x3d5bc6,_0x5b225a=this[_0x3519e4(0x1a1)][_0x3519e4(0x1b3)](r[_0x3519e4(0x1a0)]);if(!_0x5b225a)throw new Error(_0x3519e4(0x1a3));return _0x5b225a[_0x3519e4(0x1bd)](_0x338c08,o['UNIVER_DOC']);}async[_0x3d5bc6(0x1b4)](_0x3793f3){const _0x1e52b1=_0x3d5bc6;return this[_0x1e52b1(0x1ab)](_0x3793f3);}async['importDOCXToSnapshotAsync'](_0x509aad){const _0x33d9d4=_0x3d5bc6,_0x593bb1=this[_0x33d9d4(0x1a1)][_0x33d9d4(0x1b3)](r[_0x33d9d4(0x1a0)]);if(!_0x593bb1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x593bb1['importDOCXToSnapshot'](_0x509aad);}}function _0x3a79(_0x4d031b,_0x591450){const _0x2839cf=_0x2839();return _0x3a79=function(_0x3a79af,_0x62d85a){_0x3a79af=_0x3a79af-0x19f;let _0x2b2125=_0x2839cf[_0x3a79af];return _0x2b2125;},_0x3a79(_0x4d031b,_0x591450);}function _0x2839(){const _0x55c9b2=['2090556XiIGKK','extend','810691BOgCVP','5153916FKqAbV','UNIVER_SHEET','get','importDOCXToSnapshot','UNIVER_SLIDE','importXLSXToSnapshotAsync','UNRECOGNIZED','978160KXAEQt','importXLSXToUnitIdAsync','exportXLSXBySnapshot','5yDTjQm','@univerjs/core/facade','importFileToUnitId','439UWiUvz','exportXLSXBySnapshotAsync','importXLSXToSnapshot','3wgeUuC','IExchangeService','_injector','22448767DqYdBu','The\x20exchange\x20service\x20is\x20not\x20available','10OAoQzO','613048fYzfaZ','exportXLSXByUnitId','UNIVER_PROJECT','UNIVER_DOC','622uTgrRx','importDOCXToUnitId','importDOCXToSnapshotAsync','importXLSXToUnitId','FUniver'];_0x2839=function(){return _0x55c9b2;};return _0x2839();}i['FUniver'][_0x3d5bc6(0x1af)](c);
1
+ 'use strict';const _0x129eab=_0x3328;(function(_0x290a3a,_0x4e61ef){const _0x1fd95f=_0x3328,_0xfca493=_0x290a3a();while(!![]){try{const _0xe43146=parseInt(_0x1fd95f(0x1aa))/0x1*(parseInt(_0x1fd95f(0x1ac))/0x2)+parseInt(_0x1fd95f(0x1b5))/0x3*(-parseInt(_0x1fd95f(0x1a9))/0x4)+parseInt(_0x1fd95f(0x1b4))/0x5*(parseInt(_0x1fd95f(0x1b7))/0x6)+-parseInt(_0x1fd95f(0x1b6))/0x7*(parseInt(_0x1fd95f(0x1a5))/0x8)+-parseInt(_0x1fd95f(0x1a1))/0x9*(parseInt(_0x1fd95f(0x1b2))/0xa)+parseInt(_0x1fd95f(0x1b8))/0xb+parseInt(_0x1fd95f(0x1ba))/0xc;if(_0xe43146===_0x4e61ef)break;else _0xfca493['push'](_0xfca493['shift']());}catch(_0x1a392a){_0xfca493['push'](_0xfca493['shift']());}}}(_0x55b1,0x70675));function _0x3328(_0x27c792,_0x5933ac){const _0x55b158=_0x55b1();return _0x3328=function(_0x332827,_0xc2c41c){_0x332827=_0x332827-0x19b;let _0x2b417e=_0x55b158[_0x332827];return _0x2b417e;},_0x3328(_0x27c792,_0x5933ac);}function _0x55b1(){const _0x37f5c4=['@univerjs/core/facade','get','3508810jtIEzL','importDOCXToSnapshotAsync','25iMVGoH','15nfmfVG','290318MxzVAG','219906LbYofS','9525417CbbuXo','IExchangeService','10012608gOLUoX','importDOCXToUnitIdAsync','importFileToUnitId','FUniver','UNIVER_UNKNOWN','UNRECOGNIZED','UNIVER_DOC','importXLSXToUnitIdAsync','importDOCXToSnapshot','9Wusasb','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId','importXLSXToUnitId','168FyrWGp','UNIVER_PROJECT','importXLSXToSnapshot','importXLSXToSnapshotAsync','676564rybfgA','1LKNlSj','exportXLSXByUnitIdAsync','1288718KQzIyD','exportXLSXBySnapshotAsync','_injector','UNIVER_SLIDE'];_0x55b1=function(){return _0x37f5c4;};return _0x55b1();}const r=require('@univerjs-pro/exchange-client'),i=require(_0x129eab(0x1b0));var o=(_0x51fa3a=>(_0x51fa3a[_0x51fa3a['UNIVER_UNKNOWN']=0x0]=_0x129eab(0x19c),_0x51fa3a[_0x51fa3a[_0x129eab(0x19e)]=0x1]=_0x129eab(0x19e),_0x51fa3a[_0x51fa3a['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x51fa3a[_0x51fa3a[_0x129eab(0x1af)]=0x3]='UNIVER_SLIDE',_0x51fa3a[_0x51fa3a[_0x129eab(0x1a6)]=0x4]=_0x129eab(0x1a6),_0x51fa3a[_0x51fa3a[_0x129eab(0x19d)]=-0x1]='UNRECOGNIZED',_0x51fa3a))(o||{});class c extends i[_0x129eab(0x19b)]{async[_0x129eab(0x1a4)](_0x27d376){const _0x4bf9b3=_0x129eab;return this[_0x4bf9b3(0x19f)](_0x27d376);}async[_0x129eab(0x19f)](_0x1737cb){const _0x17412f=_0x129eab,_0x2d3768=this[_0x17412f(0x1ae)][_0x17412f(0x1b1)](r[_0x17412f(0x1b9)]);if(!_0x2d3768)throw new Error(_0x17412f(0x1a2));return _0x2d3768[_0x17412f(0x1bc)](_0x1737cb,o['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x90d4b0){return this['importXLSXToSnapshotAsync'](_0x90d4b0);}async[_0x129eab(0x1a8)](_0x499fe7){const _0x3834c8=_0x129eab,_0x3b3c29=this[_0x3834c8(0x1ae)][_0x3834c8(0x1b1)](r[_0x3834c8(0x1b9)]);if(!_0x3b3c29)throw new Error(_0x3834c8(0x1a2));return _0x3b3c29[_0x3834c8(0x1a7)](_0x499fe7);}async[_0x129eab(0x1a3)](_0xe03f37){return this['exportXLSXByUnitIdAsync'](_0xe03f37);}async[_0x129eab(0x1ab)](_0x2c4ad2){const _0x3dfdf7=_0x129eab,_0x11b59a=this['_injector'][_0x3dfdf7(0x1b1)](r[_0x3dfdf7(0x1b9)]);if(!_0x11b59a)throw new Error(_0x3dfdf7(0x1a2));return _0x11b59a['exportXLSXByUnitId'](_0x2c4ad2);}async['exportXLSXBySnapshot'](_0xf3cf7b){const _0x1ae0fa=_0x129eab;return this[_0x1ae0fa(0x1ad)](_0xf3cf7b);}async[_0x129eab(0x1ad)](_0x16e3cc){const _0x464634=_0x129eab,_0x22e327=this[_0x464634(0x1ae)][_0x464634(0x1b1)](r[_0x464634(0x1b9)]);if(!_0x22e327)throw new Error(_0x464634(0x1a2));return _0x22e327['exportXLSXBySnapshot'](_0x16e3cc);}async['importDOCXToUnitId'](_0x1839f2){const _0x3400cb=_0x129eab;return this[_0x3400cb(0x1bb)](_0x1839f2);}async[_0x129eab(0x1bb)](_0x37cac6){const _0x47b1c6=_0x129eab,_0xbc12a1=this[_0x47b1c6(0x1ae)][_0x47b1c6(0x1b1)](r['IExchangeService']);if(!_0xbc12a1)throw new Error(_0x47b1c6(0x1a2));return _0xbc12a1[_0x47b1c6(0x1bc)](_0x37cac6,o[_0x47b1c6(0x19e)]);}async[_0x129eab(0x1a0)](_0x1c2cf0){const _0x5e651b=_0x129eab;return this[_0x5e651b(0x1b3)](_0x1c2cf0);}async[_0x129eab(0x1b3)](_0x4c68e0){const _0xc451ee=_0x129eab,_0x336142=this['_injector'][_0xc451ee(0x1b1)](r[_0xc451ee(0x1b9)]);if(!_0x336142)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x336142[_0xc451ee(0x1a0)](_0x4c68e0);}}i[_0x129eab(0x19b)]['extend'](c);