@univerjs-pro/exchange-client 0.5.4-nightly.202501161606 → 0.5.4-nightly.202501170612

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 _0x4e0076=_0x4e03;(function(_0x1657a7,_0x271a78){const _0x4985f9=_0x4e03,_0x46303d=_0x1657a7();while(!![]){try{const _0x3dcaa0=parseInt(_0x4985f9(0x118))/0x1+-parseInt(_0x4985f9(0x10b))/0x2*(parseInt(_0x4985f9(0x121))/0x3)+-parseInt(_0x4985f9(0x107))/0x4+parseInt(_0x4985f9(0x11e))/0x5+-parseInt(_0x4985f9(0x11a))/0x6*(parseInt(_0x4985f9(0x125))/0x7)+-parseInt(_0x4985f9(0x124))/0x8*(-parseInt(_0x4985f9(0x10a))/0x9)+-parseInt(_0x4985f9(0x105))/0xa;if(_0x3dcaa0===_0x271a78)break;else _0x46303d['push'](_0x46303d['shift']());}catch(_0x46a04b){_0x46303d['push'](_0x46303d['shift']());}}}(_0x29e1,0xf0f8a));const r=require(_0x4e0076(0x120)),i=require(_0x4e0076(0x123));var o=(_0x54f89a=>(_0x54f89a[_0x54f89a['UNIVER_UNKNOWN']=0x0]=_0x4e0076(0x110),_0x54f89a[_0x54f89a['UNIVER_DOC']=0x1]=_0x4e0076(0x106),_0x54f89a[_0x54f89a[_0x4e0076(0x109)]=0x2]=_0x4e0076(0x109),_0x54f89a[_0x54f89a[_0x4e0076(0x11f)]=0x3]=_0x4e0076(0x11f),_0x54f89a[_0x54f89a[_0x4e0076(0x113)]=0x4]=_0x4e0076(0x113),_0x54f89a[_0x54f89a[_0x4e0076(0x10c)]=-0x1]=_0x4e0076(0x10c),_0x54f89a))(o||{});function _0x29e1(){const _0x35cefc=['UNIVER_DOC','1617800nuUYTL','importDOCXToSnapshot','UNIVER_SHEET','468QZCJCM','8zlMFiO','UNRECOGNIZED','exportXLSXByUnitId','importDOCXToUnitIdAsync','FUniver','UNIVER_UNKNOWN','importFileToUnitId','exportXLSXBySnapshot','UNIVER_PROJECT','The\x20exchange\x20service\x20is\x20not\x20available','_injector','importXLSXToSnapshot','importXLSXToUnitIdAsync','1651095XixwCq','importDOCXToUnitId','201738XrsCGD','importXLSXToSnapshotAsync','importDOCXToSnapshotAsync','exportXLSXBySnapshotAsync','2209975MWKXvf','UNIVER_SLIDE','@univerjs-pro/exchange-client','482901NDBBVw','extend','@univerjs/core','66904rUZyQx','77AWREDS','importXLSXToUnitId','get','IExchangeService','exportXLSXByUnitIdAsync','1227770yHquAh'];_0x29e1=function(){return _0x35cefc;};return _0x29e1();}function _0x4e03(_0x83ace5,_0x133928){const _0x29e15b=_0x29e1();return _0x4e03=function(_0x4e0334,_0x57e7f7){_0x4e0334=_0x4e0334-0x102;let _0x2dfae5=_0x29e15b[_0x4e0334];return _0x2dfae5;},_0x4e03(_0x83ace5,_0x133928);}class c extends i[_0x4e0076(0x10f)]{async[_0x4e0076(0x126)](_0x7f4184){const _0x54cd33=_0x4e0076;return this[_0x54cd33(0x117)](_0x7f4184);}async[_0x4e0076(0x117)](_0x21ac6b){const _0x30a03b=_0x4e0076,_0x1d1f9e=this[_0x30a03b(0x115)][_0x30a03b(0x102)](r[_0x30a03b(0x103)]);if(!_0x1d1f9e)throw new Error(_0x30a03b(0x114));return _0x1d1f9e[_0x30a03b(0x111)](_0x21ac6b,o[_0x30a03b(0x109)]);}async['importXLSXToSnapshot'](_0xc9a4bd){const _0x175c0f=_0x4e0076;return this[_0x175c0f(0x11b)](_0xc9a4bd);}async[_0x4e0076(0x11b)](_0x2b1e5b){const _0x57f162=_0x4e0076,_0x3236b3=this[_0x57f162(0x115)][_0x57f162(0x102)](r['IExchangeService']);if(!_0x3236b3)throw new Error(_0x57f162(0x114));return _0x3236b3[_0x57f162(0x116)](_0x2b1e5b);}async[_0x4e0076(0x10d)](_0x1316ae){const _0x2560e6=_0x4e0076;return this[_0x2560e6(0x104)](_0x1316ae);}async[_0x4e0076(0x104)](_0x2677e3){const _0x4d3462=_0x4e0076,_0xadab9c=this['_injector'][_0x4d3462(0x102)](r[_0x4d3462(0x103)]);if(!_0xadab9c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xadab9c[_0x4d3462(0x10d)](_0x2677e3);}async[_0x4e0076(0x112)](_0x1be02d){const _0x3f8180=_0x4e0076;return this[_0x3f8180(0x11d)](_0x1be02d);}async['exportXLSXBySnapshotAsync'](_0x33f77e){const _0xd15ae7=_0x4e0076,_0x1fb981=this[_0xd15ae7(0x115)][_0xd15ae7(0x102)](r[_0xd15ae7(0x103)]);if(!_0x1fb981)throw new Error(_0xd15ae7(0x114));return _0x1fb981['exportXLSXBySnapshot'](_0x33f77e);}async[_0x4e0076(0x119)](_0x56c439){return this['importDOCXToUnitIdAsync'](_0x56c439);}async[_0x4e0076(0x10e)](_0xf1d405){const _0x3d4266=_0x4e0076,_0x1ba92f=this[_0x3d4266(0x115)][_0x3d4266(0x102)](r[_0x3d4266(0x103)]);if(!_0x1ba92f)throw new Error(_0x3d4266(0x114));return _0x1ba92f['importFileToUnitId'](_0xf1d405,o['UNIVER_DOC']);}async[_0x4e0076(0x108)](_0x562405){const _0x24083d=_0x4e0076;return this[_0x24083d(0x11c)](_0x562405);}async[_0x4e0076(0x11c)](_0x89d050){const _0x472c5d=_0x4e0076,_0x18ec02=this['_injector'][_0x472c5d(0x102)](r[_0x472c5d(0x103)]);if(!_0x18ec02)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x18ec02['importDOCXToSnapshot'](_0x89d050);}}i[_0x4e0076(0x10f)][_0x4e0076(0x122)](c);
1
+ 'use strict';const _0x367baf=_0x2da4;(function(_0x540646,_0x556cfe){const _0xc910b3=_0x2da4,_0x5ca37c=_0x540646();while(!![]){try{const _0x54f56b=-parseInt(_0xc910b3(0x144))/0x1*(-parseInt(_0xc910b3(0x13c))/0x2)+-parseInt(_0xc910b3(0x149))/0x3*(parseInt(_0xc910b3(0x139))/0x4)+parseInt(_0xc910b3(0x14d))/0x5+parseInt(_0xc910b3(0x153))/0x6*(parseInt(_0xc910b3(0x14f))/0x7)+-parseInt(_0xc910b3(0x13e))/0x8*(parseInt(_0xc910b3(0x137))/0x9)+-parseInt(_0xc910b3(0x150))/0xa+-parseInt(_0xc910b3(0x151))/0xb;if(_0x54f56b===_0x556cfe)break;else _0x5ca37c['push'](_0x5ca37c['shift']());}catch(_0x3c8e4d){_0x5ca37c['push'](_0x5ca37c['shift']());}}}(_0x5b6d,0x7f55f));function _0x2da4(_0x8a7181,_0x550105){const _0x5b6d5a=_0x5b6d();return _0x2da4=function(_0x2da456,_0x35fe4e){_0x2da456=_0x2da456-0x132;let _0x2f4455=_0x5b6d5a[_0x2da456];return _0x2f4455;},_0x2da4(_0x8a7181,_0x550105);}const r=require(_0x367baf(0x142)),i=require(_0x367baf(0x13d));var o=(_0x42dda1=>(_0x42dda1[_0x42dda1[_0x367baf(0x135)]=0x0]='UNIVER_UNKNOWN',_0x42dda1[_0x42dda1['UNIVER_DOC']=0x1]=_0x367baf(0x132),_0x42dda1[_0x42dda1[_0x367baf(0x143)]=0x2]=_0x367baf(0x143),_0x42dda1[_0x42dda1['UNIVER_SLIDE']=0x3]=_0x367baf(0x14b),_0x42dda1[_0x42dda1[_0x367baf(0x152)]=0x4]=_0x367baf(0x152),_0x42dda1[_0x42dda1[_0x367baf(0x145)]=-0x1]=_0x367baf(0x145),_0x42dda1))(o||{});function _0x5b6d(){const _0x54d1f1=['importDOCXToSnapshot','952kLHcqM','@univerjs/core','11896GnpEiG','importDOCXToSnapshotAsync','extend','IExchangeService','@univerjs-pro/exchange-client','UNIVER_SHEET','1864oobCLx','UNRECOGNIZED','exportXLSXBySnapshot','FUniver','importDOCXToUnitId','3evKWlb','exportXLSXByUnitIdAsync','UNIVER_SLIDE','The\x20exchange\x20service\x20is\x20not\x20available','4189780AFhCmg','importFileToUnitId','15421hcTUur','6099700FNydvB','5962957hYTCTI','UNIVER_PROJECT','456RjKHoI','UNIVER_DOC','importDOCXToUnitIdAsync','importXLSXToUnitId','UNIVER_UNKNOWN','exportXLSXBySnapshotAsync','369jeqBGp','_injector','632228mjbEvm','get'];_0x5b6d=function(){return _0x54d1f1;};return _0x5b6d();}class c extends i[_0x367baf(0x147)]{async[_0x367baf(0x134)](_0x3ea38b){return this['importXLSXToUnitIdAsync'](_0x3ea38b);}async['importXLSXToUnitIdAsync'](_0x2c0bbd){const _0x3f247b=_0x367baf,_0x2c0c5a=this['_injector'][_0x3f247b(0x13a)](r[_0x3f247b(0x141)]);if(!_0x2c0c5a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2c0c5a['importFileToUnitId'](_0x2c0bbd,o['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x4696b0){return this['importXLSXToSnapshotAsync'](_0x4696b0);}async['importXLSXToSnapshotAsync'](_0x509ee1){const _0x3422cb=_0x367baf,_0x30c6c7=this[_0x3422cb(0x138)]['get'](r[_0x3422cb(0x141)]);if(!_0x30c6c7)throw new Error(_0x3422cb(0x14c));return _0x30c6c7['importXLSXToSnapshot'](_0x509ee1);}async['exportXLSXByUnitId'](_0xd9e515){return this['exportXLSXByUnitIdAsync'](_0xd9e515);}async[_0x367baf(0x14a)](_0x5e265b){const _0x18e982=_0x367baf,_0x4d6091=this['_injector'][_0x18e982(0x13a)](r[_0x18e982(0x141)]);if(!_0x4d6091)throw new Error(_0x18e982(0x14c));return _0x4d6091['exportXLSXByUnitId'](_0x5e265b);}async[_0x367baf(0x146)](_0x5f4493){const _0x397c48=_0x367baf;return this[_0x397c48(0x136)](_0x5f4493);}async[_0x367baf(0x136)](_0x49bb08){const _0x2bbe90=_0x367baf,_0x1e180d=this[_0x2bbe90(0x138)]['get'](r[_0x2bbe90(0x141)]);if(!_0x1e180d)throw new Error(_0x2bbe90(0x14c));return _0x1e180d['exportXLSXBySnapshot'](_0x49bb08);}async[_0x367baf(0x148)](_0x13aa80){const _0x2e1879=_0x367baf;return this[_0x2e1879(0x133)](_0x13aa80);}async[_0x367baf(0x133)](_0x32243e){const _0x1dc073=_0x367baf,_0x4b2627=this['_injector'][_0x1dc073(0x13a)](r[_0x1dc073(0x141)]);if(!_0x4b2627)throw new Error(_0x1dc073(0x14c));return _0x4b2627[_0x1dc073(0x14e)](_0x32243e,o[_0x1dc073(0x132)]);}async[_0x367baf(0x13b)](_0x14d431){const _0x555cf6=_0x367baf;return this[_0x555cf6(0x13f)](_0x14d431);}async['importDOCXToSnapshotAsync'](_0x40f562){const _0x1df760=_0x367baf,_0x328fc9=this[_0x1df760(0x138)][_0x1df760(0x13a)](r['IExchangeService']);if(!_0x328fc9)throw new Error(_0x1df760(0x14c));return _0x328fc9[_0x1df760(0x13b)](_0x40f562);}}i[_0x367baf(0x147)][_0x367baf(0x140)](c);